AboutI am not professional programmer. Still learning new skills.
Joined devRant on 6/25/2017
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Made a root only app: enable/disable GPS, mobile data, airplane mode and etc. work on not rooted device(yes all these functions work too).
How: Desktop app which downloads cross-platform ADB drivers, unzips them, executes a few commands, deletes the drivers and voala.
P.S: I use local ADB TCP connection(yeah I ported a part of the drivers for java android) and write_secure_settings granted with 'pm grant'.
And everything is user-friendly with screenshots explaining how to enable ADB and how to click a 2 buttons.3
Ported proprietary Chinese dll for specific device hid control and my windows program around it to macOS using swift.
Yeah that's pretty much how I feel.
Switched to LG G5 from iPhone 7 Plus.
Lg's screen has burn in and took me about 10 hours to completely fuck it up, restore it, flash crDroid(Lineage os based, the only custom rom working fine so far) and workaround the faulty wifi chip giving null mac address by faking it.
Still love my new(old) phone more than the iPhone.2
For all the cheap-ass sys admins:
I wouldn’t pay 100$ a year to apple just to have push notifications when my server fucks up or an user fill my support form but I want to know that in real time but I have iPhone(forget about FCM).
So I downloaded pushbullet to my phone and integrated its API in my server and when something important happen I get completely free notification which (thanks to url schemes in ios) redirect me to my server administration app.
Note: I used xamarin for my management app to be ready for the moment when I switch back to android.2
Android flow I’ve found(fixed in android 8, working on 7.1.1):
To make app uninstallable by the normal user make the app device administrator, add “android.permission.SYSTEM_ALERT_WINDOW” to the manifest and make sure it’s not granted by the user.
Now when you try to uninstall the app, it tells you to disable it from device administrators but the device administrator disable dialog is System Window handled by the app itself and if the app has this permission but not granted, settings will crash with SecurityException leaving the app untouched.4
Installed Manjaro KDE, updated macOS, updated Windows and fixed the mess in the EFI made by those actions.
And now it’s time for screenshots: https://imgur.com/a/KviNx
(high-res imgur link)6
Soon every hacker can move to Toronto and play real-life Watch Dogs.
To all germans out here: I am 15 and want to compete in Jugend Forscht and I have almost ready project but I don’t understand completely how to register and the rules for foreigners are very unclear.
Can someone please help me?
P.S: I wrote this in english hoping that people in same situation will understand this fully but you can answer me in german too.15
At school I was excited when our teacher said he will teach us programming with VS.
I was expecting C# to show my skills but the he showed us a big book about Visual Basic with VS Express 2010.
I was literally dying.5
Google suggested me some article about how to preorder iPhone 8 and 8 plus.
To all devs who want to know my trick:
just buy second hand iPhone 7 or 7 plus and say it’s iPhone 8.
This is written by an iPhone 7 plus user and I suggest you if you want good look and functionality - buy OnePlus 5.2
So you know those movies where the girl fells in love with the bad gay(kidnapper, thief...) and she doesn’t want to be saved.
Same relationship with me and JavaFX.1
Working on FCM today and actually this is not rant. 😃 🎉
Google documented everything correctly and everything is understandable.
I have my best moments but the first time I felt badass about computers was when I was at kindergarten.
There was one computer with one cool game with skateboard. I wanted to play but the other kids didn’t let me.
I thought that if it look like I fix the computer they will let me. I took me month or little more but I made shutdown bat(I didn’t really understood fully) and I added it to the game shortcut from usb.
One of the other kids started the game and the computer turned itself off. Hi tried a few times and then I offered to fix it, I created new shortcut replacing the “hacked” one and the game ran.
From that moment the computer and the game were always free for me.7
Opened up my laptop to install faster wifi card with macOS support and it turns out that I have m.2 type connection ready for ssd.
These fucking idiots in Toshiba have never said anywhere in this laptop’s specs that it supports m.2.
I bought 128gb ssd and installed it.
Fast af boie and no problems booting from it.2
I am good to the programs I use.
I give the all the needed ram.
Except Android Studio, I don’t have a fucking server.7
What do you think about swift?
Does it have future?
It went open-source and is very fast and easy.
I found this project which brings swift to the server side in linux and mac: https://www.perfect.org/ and it seems promising.11
Feature request: Markdown and Ideone(https://github.com/jschaf/...) support.
Sorry for summoning you @dfox3
When something worked perfectly yesterday and now it’s just fucked up without touching anything:
That was yesterday
Yesterday is over
It's a different day
(Love The Way You Lie - Eminem)1
Started learning Python from Java, C#, Objective-C, Swift.
It’s like Rocket Engineer who have to build a car. It’s easy but you have to learn almost everything from the beginning.6
At the Samsung store:
Woman looking for a phone: Can you recommend me a phone by a picture of me?
Seller: Why not, show me the picture.
The woman shows https://devrant.io/rants/728524/... and the seller starts looking for something.
The woman asks: What are you looking for?
Seller: Note 7.1