I like kotlin SpringBoot apps deployed to k8s. Go apps for custom k8s operators/controllers.

  • 0 Posts
  • 15 Comments
Joined 1Y ago
cake
Cake day: Jun 17, 2023

help-circle
rss

I find it very difficult to recommend generative ai as a learning tool (specifically for juniors) as it often spits out terrible code (or even straight up not working) which could be mistaken as “good” code. I think the more experienced a dev is, the better it is to use more like a pair programmer.

The problem is it cannot go back and correct/improve already generated output unless prompted to. It is getting better and better, but it is still an overly glorified template generator, for the most part, that often includes import statements from packages that don’t exist, one off functions that could have been inline (cannot go back and correct itself), and numerous garbage variables that are referenced only once and take up heap space for no seemingly no good reason.

Mainly speaking on GPT4, CoPilot is better, both have licensing concerns (of where did it get this code from) if you are creating something real and not for fun.


December 8th, 2009 - Motorola Droid successfully rooted … [granting] root access on the phone using a terminal emulator. This is how I learned bash which inevitably pushed me into pursuing proper Computer Science.

wiki ref


December 8th, 2009 - Motorola Droid successfully rooted … [granting] root access on the phone using a terminal emulator. This is how I learned bash which inevitably pushed me into pursuing proper Computer Science.

wiki ref


Just make sure to test the regex instead of blindly slapping it in assuming it works 🙂


It covers each and every line of the source code, each and every conditional statement in the program and every loop otherwise known as iteration in the program.

I think it is important to note 100% code coverage (“covers each and every line”) does not mean the tests are good tests.

The myth of 100% code coverage


Yes, I write SpringBoot microservices and IntelliJ plugins using Kotlin. Any new code is Kotlin, but there is still a ton of Java, which I don’t consider “legacy”, since it works, and if I can sanely add Kotlin when necessary, I don’t see the need for “full rewrite”.

You may get more traction by asking the Kotlin community


The most simple way of explaining the cloud computing is storing, accessing, and processing data over the internet instead of using a traditional client server architecture.

Just because your compute is “in the cloud” doesn’t mean it isn’t a server, and it definitely can still be client/server architecture

Cloud provider hosted server accessed by client = client/server architecture



You may get more traction asking in the communities that exist for those tools: IntelliJ and Docker

8GB for two separate IntelliJ projects sounds low. You could try importing both into one instance as separate “modules” so that there is only one IntelliJ instance/window.

Depending on how you are running the VM, the host may be choking it through the host OS and leading to OOM. Especially with a tool like docker.

Edit: I see you commented usage of windows, you may need to look into wslconfig


Although I despise their software, I do enjoy their engineering blogs, thanks for sharing.


The original Roller Coaster Tycoon is famously written in assembly.

Sawyer wrote 99% of the code for RollerCoaster Tycoon in assembly code for the Microsoft Macro Assembler, with the remaining one percent written in C.

wikipedia

This always blew my mind, especially when struggling around with things like cmu bomblab back in the day.

I haven’t thought about assembly in a long time, and not sure if I want to ;P

Looks like a nice detailed walkthrough though!


IDEs for this purpose (android dev) are not small little text editors that work well with limited resources. Keep that in mind. You will also need to consider things like compilation and phone emulation, which can also be resource intensive.

I highly recommend looking for something that is built with a Linux distro by default. This will make your life easier in the long run, although it may not be a simple task up front if you are not familiar with Linux.

I don’t actually have a Linux laptop, it is a desktop, but I use my Steam deck as a Linux laptop, and can almost do everything I want to, although steamos will require some weirdness similar to Windows. I use IntelliJ Ultimate on my steam deck and can successfully work on smaller scale Go and Kotlin projects while running IntelliJ low power mode.

Most larger dev shops (in the JVM world) will just hand out whatever is the current top ~$3000 MacBook pro (for reasons). This leads to a lot of devs using OSx at work and Linux (at home) for personal projects. An apple computer of any type can help prepare for this inevitability, if Linux is out of the options. I personally dislike this, as I am not an Apple fan, but this is what I have experienced.

Although I use Windows for some personal development, there are so many hoops that one has to jump through to get Windows working properly for advanced things, it almost isn’t worth it and requires heavy windows development knowledge, and is probably best to just get a MacBook (of whatever type).


I have found it quite effective while pair programming (senior to junior mentorship) to say OUT LOUD exactly what I’m changing and why I’m changing that. This allows others to more easily follow your train of thought and can lead to good discussions rather than turning PRs into essays.

However, as other comments have mentioned, this can get exhausting.


Absolutely, which is why I never linked to Reddit. So I’m already loving and prefferring lemmy over Reddit 100%!


I won’t parrot the reasons, I think other comments captured that.

However, I would MUCH rather share links in professional circles to something called programming.dev that is specifically an instance about programming rather than “choose your random generic instance” that has porn, memes, shit posts, etc. and oh look, a programming community too.