#Kotlin
Explore tagged Tumblr posts
Text
ohhhhh fuck just realized I'm gonna have to write websocket code in fucking kotlin (or I could use java, but I think that's worse) eventually. websockets in rust were gross enough, I don't even wanna think about how awful they're going to be in kotlin
7 notes
·
View notes
Text



Running my first emulator and practising Android development.
#dark academia#studygram#study space#spilled thoughts#lovepoems poetry#studyspo#study aesthetic#studyblr#stem studyblr#studywithme#computer scientist#computer science#android#webdevelopment#kotlin#emulator
61 notes
·
View notes
Text
🚨 Attention Devs! 🚨
STOP trying to convert legacy Java codebases to Kotlin, just STOP.
It's always half-baked and causes issues for everything else. and NO, KOTLIN is NOT 100% JAVA COMPATIBLE. It works most of the time UNTIL IT DOESN'T.
btw it also doubles my build time which is super annoying
8 notes
·
View notes
Text
damn
15 notes
·
View notes
Text
Pain and boredom
During the past couple weeks, I've dealt with painful injuries to my left hip and left hand. I've pondered the benefits of pain: how it informs (and reminds) us of damage to our bodies, motivating us to slow down and care for ourselves physically. When taking pain medication, I worry I'll forget my injury and carelessly aggravate it.
I'm rarely bored, but it seems to me boredom has similar benefits: it tells us when we're in a rut and motivates us to change our routine, seek out new experiences, and expand our skills. Boredom was what led me to study Vulkan and Kotlin, for instance. Boredom seems to me healthier than other motivators such as money, snobbishness, or desire for approval. Boredom, properly addressed, might well be the key to self-improvement!
Similarly, anger reflects awareness that the world around us isn't as it should be and energizes us to make it better. Hunger motivates us to acquire and consume sustenance. And so on.
Hooray for pain, boredom, anger, and hunger!
3 notes
·
View notes
Text
So I made an app for PROTO. Written in Kotlin and runs on Android.
Next, I want to upgrade it with a controller mode. It should work so so I simply plug a wired xbox controller into my phone with a USB OTG adaptor… and bam, the phone does all the complex wireless communication and is a battery. Meaning that besides the controller, you only need the app and… any phone. Which anyone is rather likely to have Done.
Now THAT is convenient!
( Warning, the rest of the post turned into... a few rants. ) Why Android? Well I dislike Android less than IOS
So it is it better to be crawling in front of the alter of "We are making the apocalypse happen" Google than "5 Chinese child workers died while you read this" Apple?
Not much…
I really should which over to a better open source Linux distribution… But I do not have the willpower to research which one... So on Android I stay.
Kotlin is meant to be "Java, but better/more modern/More functional programming style" (Everyone realized a few years back that the 100% Object oriented programming paradigme is stupid as hell. And we already knew that about the functional programming paradigme. The best is a mix of everything, each used when it is the best option.) And for the most part, it succeeds. Java/Kotlin compiles its code down to "bytecode", which is essentially assembler but for the Java virtual machine. The virtual machine then runs the program. Like how javascript have the browser run it instead of compiling it to the specific machine your want it to run on… It makes them easy to port…
Except in the case of Kotlin on Android... there is not a snowflakes chance in hell that you can take your entire codebase and just run it on another linux distribution, Windows or IOS…
So... you do it for the performance right? The upside of compiling directly to the machine is that it does not waste power on middle management layers… This is why C and C++ are so fast!
Except… Android is… Clunky… It relies on design ideas that require EVERY SINGLE PROGRAM AND APP ON YOUR PHONE to behave nicely (Lots of "This system only works if every single app uses it sparingly and do not screw each-other over" paradigms .). And many distributions from Motorola like mine for example comes with software YOUR ARE NOT ALLOWED TO UNINSTALL... meaning that software on your phone is ALWAYS behaving badly. Because not a single person actually owns an Android phone. You own a brick of electronics that is worthless without its OS, and google does not sell that to you or even gift it to you. You are renting it for free, forever. Same with Motorola which added a few extra modifications onto Googles Android and then gave it to me.
That way, google does not have to give any rights to its costumers. So I cannot completely control what my phone does. Because it is not my phone. It is Googles phone.
That I am allowed to use. By the good graces of our corporate god emperors
"Moose stares blankly into space trying to stop being permanently angry at hoe everyone is choosing to run the world"
… Ok that turned dark… Anywho. TLDR There is a better option for 95% of apps (Which is "A GUI that interfaces with a database") "Just write a single HTML document with internal CSS and Javascript" Usually simpler, MUCH easier and smaller… And now your app works on any computer with a browser. Meaning all of them…
I made a GUI for my parents recently that works exactly like that. Soo this post:
It was frankly a mistake of me to learn Kotlin… Even more so since It is a… awful language… Clearly good ideas then ruined by marketing department people yelling "SUPPORT EVERYTHING! AND USE ALL THE BUZZWORD TECHNOLOGY! Like… If your language FORCES you to use exceptions for normal runtime behavior "Stares at CancellationException"... dear god that is horrible...
Made EVEN WORSE by being a really complicated way to re-invent the GOTO expression… You know... The thing every programmer is taught will eat your feet if you ever think about using it because it is SO dangerous, and SO bad form to use it? Yeah. It is that, hidden is a COMPLEATLY WRONG WAY to use exceptions…
goodie… I swear to Christ, every page or two of my Kotlin notes have me ranting how I learned how something works, and that it is terrible... Blaaa. But anyway now that I know it, I try to keep it fresh in my mind and use it from time to time. Might as well. It IS possible to run certain things more effective than a web page, and you can work much more directly with the file system. It is... hard-ish to get a webpage to "load" a file automatically... But believe me, it is good that this is the case.
Anywho. How does the app work and what is the next version going to do?
PROTO is meant to be a platform I test OTHER systems on, so he is optimized for simplicity. So how you control him is sending a HTTP 1.1 message of type Text/Plain… (This is a VERY fancy sounding way of saying "A string" in network speak). The string is 6 comma separated numbers. Linear movement XYZ and angular movement XYZ.
The app is simply 5 buttons that each sends a HTTP PUT request with fixed values. Specifically 0.5/-0.5 meter/second linear (Drive back or forward) 0.2/-0.2 radians/second angular (Turn right or turn left) Or all 0 for stop
(Yes, I just formatted normal text as code to make it more readable... I think I might be more infected by programming so much than I thought...)
Aaaaaanywho. That must be enough ranting. Time to make the app
31 notes
·
View notes
Text
I need help making an app on android studioooo
I barely know kotlin and it's so confusing to get anything to work and I don't have the mental energy to actually follow through a tutorial because I expect myself to immediately know how to
fuck
5 notes
·
View notes
Text

🎭 "My Kotlin code tonight: a beautiful, tragic ballet of null pointer exceptions. Each `?` a teardrop in the vast, unforgiving void of potential runtime errors. 🌌 It's a modern *Inferno*; instead of demons, I'm battling the ghosts of `null`. 👻 Send help (and maybe a bottle of something strong; I need a break). 🍷 Share your own #nullsafety tales!
2 notes
·
View notes
Text
#androiddevelopment #IOSdevelopment #swift #kotlin #Java
2 notes
·
View notes
Text
Research_Day002
Overview/Goals:
Get the project to actually run on AndroidStudio
Weekly meeting with lead developer and PhD student. Plan on asking them if there are any configurations they have that allow them to run the project.
Create a skeleton keylogger for taking android app passwords (based on last meetings notes)
In Depth Analysis:
Ok, I may have overshot what I can do in a day. Meeting went smoothly, although lead developer didn't show up and decided to meet with the PhD student virtually. I also set up a virtual meeting with them later this weekend to discuss some program specific questions. Hopefully, by the end of Sunday, I will understand how they organized the files, because they are not up to standard. Found out the reason I can't get the program to run is because Lead accidentally put malfunctioning code on the main branch which is annoying but, been there so its all fine.
Researched some ways to get the keylogger working but, I think I am just going to have to raw dog it and figure it out from messing around with it.
Overall, pretty good day.
4 notes
·
View notes
Text
Kotlin Collections: A Developer’s Guide for Android developers
Kotlin has gradually replaced Java as the lingua franca of Android programming. It’s a more concise language than Java, meaning your code works harder and you can build leaner applications. To read about more click the link Kotlin Collections .
These collections play a fundamental role in our work as programmers by simplifying the organization and management of data. Whether it’s a list, set, map or other data structure, they allow us to categorize and store data logically. So we can save, retrieve and manipulate information, and manage a range of tasks from simple data presentation to complex algorithm implementation.
#android#kotlin#android studio#kotlin collection#android app development#kotlin list#kotlin maps#kotlin sets
3 notes
·
View notes
Text
Unknown Unknowns
The problem with being self-taught is that I don't know what I don't know. It's difficult to find out what I should be learning. I keep running into issues, and thinking "I don't even know what questions to ask to resolve this" #kotlin #android #code
4 notes
·
View notes
Text



Coffee, work and old Hindi songs for my soul💕💕
#dark academia#spilled thoughts#lovepoems poetry#study space#studygram#studyspo#study aesthetic#studyblr#stem studyblr#studywithme#cloud computing#computer scientist#html website#kotlin#flowers#coffee#coffetime#coffee is my love language#android#desi academia#academia aesthetic
12 notes
·
View notes
Text
📱🚀 Crafting App-tastic Adventures: Mastering Swift & Kotlin for Mobile App Magic! 🌟📲 Unlock the power to turn your dreams into dynamic apps. 💡💪
3 notes
·
View notes
Text

@appcrunk offers the best React Native development services, providing businesses with high-quality mobile applications that are responsive, fast, and scalable. Our team of experienced developers uses the latest technology and best practices to create apps that meet the unique needs of each client. We work closely with our clients to ensure that we deliver exceptional results, on time and within budget. Our focus on quality and customer satisfaction has helped us establish ourselves as a leading provider of React Native development services. Contact us today to learn more about how we can help your business with our top-notch React Native development services.
#appdevelopmentmasters#CodeCrafting#innovativeapps#kotlin#dartlang#fluttercommunity#flutterdevlife#codeninja#FlutterFriday
2 notes
·
View notes
Text
Hello, Kotlin!
I'm teaching myself a new programming language, sort of.
It's called Kotlin, and you can read about it here and here.
I've used dozens of programming languages in my life. Lately I've been using Java for about 90% of my work, with the other 10% split between C++ and various scripting languages. It feels like I'm out-of-practice with more languages than I ever learned!
I actually need to learn only enough Kotlin to write Gradle build scripts. I've been using Gradle's Groovy DSL (=domain-specific language) for many years, and Gradle recently announced that, going forward, their Kotlin DSL would be the default. But since Kotlin is a GPL (=general-purpose language), I may try writing apps in it as well.
Because Kotlin is very similar to both Java and Groovy, it doesn't quite feel like a new language to me.
#coding#programming languages#java#groovy#c++ language#kotlin#gradle#scripting#self education#self study#software#gpl#familiar
5 notes
·
View notes