coloredgrayscale

joined 1 year ago
[–] coloredgrayscale@programming.dev 1 points 5 months ago (1 children)

Keeping the clean version around seems dangerous advice.

You know it won't get maintained if there are changes / fixes. So by the time someone may needs to rewrite the part, or application many years later (think migration to different language) it will be more confusing than helping.

[–] coloredgrayscale@programming.dev 3 points 6 months ago (1 children)

That was a decade or two ago. Now you need a react SPA webapp using angular and Rust and utilize the bandwidth of the Cloud with machine learning. To find the IP.

You couldn't find a gui designer for intellij, so you consider rewriting the whole application? in C++?!

Would seem easier to learn that ui framework.

For UI maybe look into javafx as an alternative. I haven't used it, so can't tell how the design process goes. But it seems to be the only current ui framework for Java.

[–] coloredgrayscale@programming.dev 3 points 7 months ago (1 children)

Just because you got served bad food it does not mean you know how to make good food.

[–] coloredgrayscale@programming.dev 11 points 7 months ago (1 children)

Why are you in programming related communities if you don't enjoy it?

[–] coloredgrayscale@programming.dev 4 points 8 months ago (1 children)

You wrote you want a full keyboard with F keys, arrow, and numpad - but it can be compact too.

What would be an example of that combination?

Try a backlit keyboard, especially for late night coding sessions. But that will likely conflict with the Bluetooth requirement. Does not have to be per key rgb; a fixed single color will be good enough.

[–] coloredgrayscale@programming.dev 1 points 8 months ago (1 children)

Your first paragraph likely also applies to many senior software developers, especially if they primarily worked in small companies / freelance.

I'm aware, the halting problem is semi decideable - only positive instances of the problem can be decided.

[–] coloredgrayscale@programming.dev 1 points 8 months ago* (last edited 8 months ago) (2 children)

Process.start(program, arguments)
Print("it finished")

It should not do that. Have you tried restarting it?

Oh it no longer starts? That's an hardware issue. Let's build another and see if the same error occurs.

Windows Vista on a laptop with 2gb ram :)

Great suggestion by a fellow IT student to try arch, so I learn the system from the ground up.

[–] coloredgrayscale@programming.dev 8 points 9 months ago* (last edited 9 months ago)

Easy access to small snippets of code you often need, but putting them in their own library would be crazy.

  • Opening a file / db connection
  • parsing xml/json/... ,
  • template for unit tests,
  • import and initialization of framework at work.

Depending on the IDE snippets can also move parts of the code around: (intellij live templates)

  • variable.notnull -> if (variable != null) {... }
  • "text %s".format -> String.format("text %s",...)
view more: next ›