Details
-
AboutJust another dev...
-
SkillsJava, Android, Kotlin, Python
-
LocationPrague, Czech Republic
Joined devRant on 10/24/2018
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Thanks, guys... In my frustration I somehow failed to think about checking the logs and dev menu...
@Midnight-shcode Well, looks like I'm a demigod - noticed it, just didn't have enough time to read it. Also, it appeared half a screen away from the relevant code. Anyway, there is a workaround, so... As I said, minor nuisance - could be worse - for example, it could be as slow as Android Studio. Thank god I got away from Android... -
Might be a plugin, but still... How to debug VSCode itself, by the way? Say, to find out which plugin causes this... It's just a minor nuisance, Alt+F12 (peek definition) works.
-
@eeee Oh, thanks! I've never done anything Apple-related and probably never will... Don't have a mac and don't intend to get one.
Good to know it's not just for iOS/Android. Will give it a try for something cross-platform (as in PC/Android). Though I'm somewhat skeptical about it being more practical that just putting the shared stuff in a library and using said library in separate PC/Android projects... Android is wildly different from dektop...
But then again, the Kivy framework for Python shows using the same UI code for both platforms is viable (never had screen density trouble with that, unlike native Android Java... Though that was thanks to the rapid changes in the SDK and lack of experience with it, probably. And on older phones when Android was around version 4.0, it was actually faster than native UI, due to being 100% OpenGL, I guess). -
@HampusMa That's... Shady, to say the least. After finding this out, I wouldn't use that even if I weren't in Europe...
-
I recently noticed that IntelliJ IDEA offers multi-platform iOS/Android projects for Kotlin in the new project menu... Haven't checked it out yet, though.
-
@rusty-hacker Point is: They DO NOT USE REFLECTION... Who knows what magic they used, source clearly shows them calling the protected method from outside directly.
Looks like I'll have to use reflection, though...
It's a Gradle dependency (AndroidPlot), so that might somehow play a role in it... -
Never mind, I'm lazy af.
I'll just try it. -
@rostopira My situation exactly... I'm starting to think something like this might be the cause of my problems... Testing my app for days on end, no problems. Management wants to give it a try, "nothing works" - they start reporting tons of errors I've never even seen, nor managed to reproduce (how do you reproduce "It doesn't work", when it does? EXPLAIN THE BUG!!!)...HOW does it not work, and more importantly, how do you WANT it to work...? Who knows what smart "features" they have turned on... Not that their testing is particularly objective, they test via feelings - it doesn't feel right, report a bug... I'm displaying sensor data, can't tell if the error is on my side or the sensor's when they use unrepeatable data sources...
-
Well, I've heard of actual teachers at "CS courses" claiming Java == JavaScript... Told the guy telling me this to run for his life (and rather not learn from that "teacher").
In my country, public colleges/universities get money according to the number of students, so this won't change, it will just get worse exponentially. -
Anyone selling rooted developer phones around the Czech Republic? Looks like forcing the company to buy me one is my only option...
But then again, since the stuff I need those logs for happens on Android 8.1 Samsungs, that will probably be useless...
No time to fuck around with compiling Heimdall myself, though if that's my only option... -
@SanitizedOutput I've got version 1.4.0 of Heimdall and couldn't find a newer one... That answer doesn't work with 1.4.0.
Still better than Windows, though - tried it there and not even Samsung's USB driver works, so I guess I should be glad Linux at least detects the phone... -
<facepalm> Don't trust frontends... Should've went with command-line from the get-go. Thanks... I'm having trouble finding the simplest answer using search engines lately...
-
Clarification: Heimdall is the multi-platform recovery/new os flasher for Samsung phones. It uses the same image formats (special snowflake, can't read .img) as Odin, which is a leaked tool for Windows only.
There is allegedly a script that converts .img to Odin's format, but it works only on Windows... My question is this: is there such a script/app for Linux and what is even the point of making Heimdall if it uses the same format that can be only generated on Windows... Oh, right, Heimdall is open source. Linux version is still pointless, though, considering I need Windows anyway to convert the image file. -
Well, considering how (probably intentionally) hyper-complicated laws are... I'm not even sure Net Neutrality actually meant what everyone thinks it meant... There are always loopholes, additions... In my country it's quite normal, when the government has in mind a law that wouldn't pass, to just append it to some other completely irrelevant law to make it pass via "lesser evil" decision making ("but if we refuse this addition, it will nuke the base"). Most people don't even realize this is happening before it's too late...
Anyway, the government is no one's friend. Adding more laws won't fix the already existing jungle, but that won't stop them from growing in numbers exponentially (and not n^x or x^n, but x^x). I'm just waiting for a law dictating the exact speed and trajectory you must use to sit down on your toilet, of course "for safety"...
Sometimes I feel we are actually becoming non-sentient as a species... -
It's also fun when some smartass commits/pushes the IDE's local configuration files... Had to make a branch from before that happened, as I somehow wasn't able to merge my branch (he pushed the configs to master while I was working on my branch, when the time came to merge my branch into master, boom).
-
@irene Thanks, looks good. On Windows, I use TortoiseGit, but I needed something similar for Linux.
Does it, by chance, integrate with Sublime Text? -
Apple's main selling point: it's much more expensive than the competition...
-
@irene I know that... I meant a GUI for it, like the aforementioned GitKraken. I just don't get why you have to login on app start...
-
I personally wouldn't care about it being open source when it does not work...
Reminds me of the old days and why I decided to never touch AMD again... -
Is there an offline git client like GitKraken? I have no intention to manage yet another login for something I'll be using offline/on LAN...
Fucking spyware everywhere... -
I went with Debian as I have an exFAT solid state flash drive and I couldn't get it to work with Ubuntu... Even after installing the drivers, plugging it in caused the keyboard and mouse to stop working (the flash drive didn't work either, not that I could confirm without keyboard/mouse). Other than details like this, Ubuntu seems ok to me (well, kubuntu, as I don't like GNOME and Unity).
Debian always worked out-of-the-box for me.
In the end, it's about personal preference... I don't really care about design/UI if it works, though. -
ls -all works for me...
-
@codes4food Thanks and sorry, was too lazy to search properly ;). Thinking about buying it - it's a great IDE and although Community is sufficient for my current needs, there are a few interesting things in Ultimate that could make my life easier.
Anyway, I'm glad Google moved away from Eclipse, I hated that shit with all my heart (I know, don't blame your tools, but... There wasn't a day Eclipse wouldn't do something weird - like refusing to compile because the class at whose definition I was looking was allegedly not defined). -
Thanks! Dowloaded it all using @AdrianScrub's command...
-
Back when I was starting with Android a couple of years ago (Android 4.0 was the shiny brand new version then, barely available on phones, I think) I had to use reflection to connect to Bluetooth devices, as the SDP (service discovery protocol) failed on the shitty phones we were using for development and the method to connect to a channel not by UUID was private... Sucked ass, as it failed quite often anyway, but it was the only way it actually connected (figuring the right channel number was trial/error, though, and when it failed, it failed hard - no exceptions or anything, had to kill it from another thread). Since then, not really. If I wanted dynamic typing, I'd just use a dynamically typed language...
-
@codes4food That goes for Community too, IMO... Never tried Ultimate, though - what does it bring extra with regards to Android development? Would probably have to be a significant improvement to make me shell out my own money for it...
-
@Stuxnet I do this despite having auto-save turned on in Android Studio...
-
Yay! Being able to tell which parts of the screen do something and which are just labels/decorations again would be nice... Apple's way is going too far, though.
-
@irene Got the feeling we might be getting on some watchlists...
-
@irene Yes, and that is exactly the problem... It's like with revolutions - after you're done, it's gonna be you who needs to instate a new government... What will you do with all the fanatics once the mission is accomplished? And more importantly, who will they turn against next?