Programming thread

  • 🔧 At about Midnight EST I am going to completely fuck up the site trying to fix something.
Any opinions on whether I should learn React over Flutter? I mostly work on mobile but want to expand my UI programming chops on web.
If you're looking to expand into web, you will want to look at React and other connected libraries, rather than tying yourself up in Google's SDK ecosystem. Flutter is a full-fat, cross-platform development framework; React (and also React Native, to an extent) is just a user-interface library that often forms part of a framework, but isn't one by itself.

It would also be a good to learn the basics of DOM manipulation from the ground up, with vanilla JS. That way, you won't fall into the trap of blindly throwing modules at a problem until something works.
 
I’ve hit a breaking point at my job. I have come to hate contractors, specifically foreign(Indian) contractor companies, with a burning passion.

In the two jobs I’ve had so far contractors were employed and both times they were grating to work with.
So fellow kiwis, how do I avoid companies that will employ contractors? My strategy right now is learning clojure, I’m hoping a language with a higher bar of entry will repel the retards.

Tl;dr TOTAL CONTRACTOR DEATH
 
I’ve hit a breaking point at my job. I have come to hate contractors, specifically foreign(Indian) contractor companies, with a burning passion.

In the two jobs I’ve had so far contractors were employed and both times they were grating to work with.
So fellow kiwis, how do I avoid companies that will employ contractors? My strategy right now is learning clojure, I’m hoping a language with a higher bar of entry will repel the retards.

Tl;dr TOTAL CONTRACTOR DEATH
Become the contractor.
Or consultant.
Or other highly prized hired gun.
 
I’ve hit a breaking point at my job. I have come to hate contractors, specifically foreign(Indian) contractor companies, with a burning passion.

In the two jobs I’ve had so far contractors were employed and both times they were grating to work with.
So fellow kiwis, how do I avoid companies that will employ contractors? My strategy right now is learning clojure, I’m hoping a language with a higher bar of entry will repel the retards.

Tl;dr TOTAL CONTRACTOR DEATH
Get a Rust job. Dealing with trannies is better than dealing with pajeets, right? Right?
 
I have learned that sycl makes it pretty easy to adopt an acyclic subgraph model of execution.

Basically every object you care about should have an event associated with its creation. It should all waits on any inputs it has to create it. This results in highly asynchronous execution while still maintaining safety and avoiding races.

I'm still digesting it.
 
I’ve hit a breaking point at my job. I have come to hate contractors, specifically foreign(Indian) contractor companies, with a burning passion.

In the two jobs I’ve had so far contractors were employed and both times they were grating to work with.
So fellow kiwis, how do I avoid companies that will employ contractors? My strategy right now is learning clojure, I’m hoping a language with a higher bar of entry will repel the retards.

Tl;dr TOTAL CONTRACTOR DEATH
Why did it happen?

I'm assuming there were no contractors when you first joined, and at some point leadership decided to offshore.

At one of my previous companies, it happened because the CEO made so e retarded choices, wasted a lot of their capital and the board forced them to hire a pajeet that specialized in outsourcing in India.

I guess the best you can do is to join a company where engineering is a core part of the company, and with leaders that make good decisions.
 
I’ve hit a breaking point at my job. I have come to hate contractors, specifically foreign(Indian) contractor companies, with a burning passion.

In the two jobs I’ve had so far contractors were employed and both times they were grating to work with.
So fellow kiwis, how do I avoid companies that will employ contractors? My strategy right now is learning clojure, I’m hoping a language with a higher bar of entry will repel the retards.

Tl;dr TOTAL CONTRACTOR DEATH
Work for the government or a government contractor. They can't employ foreigners as easily.
 
Is Java hate a meme or do people like the language?

I have used like 2 or 3 Java applications (excluding video games) and I can barely create anything good on Java, creating a GUI on it just feels like walking in circles.
 
Is Java hate a meme or do people like the language?
I don't know about others but I hate on Java seriously. I've made quite a few things in Java and while it's not intolerable, it can be an annoying pain in the ass sometimes. God forbid you want to make a Jar that actually works multiplatform (especially if you want to utilize JavaFX).
 
Is Java hate a meme or do people like the language?
This sort of code is what comes to mind for most people when you mention Java. All the worst excesses of OOP, bundled together by Pajeets into a write-only mess.
It's possible to do things in it, but that's true of every language, and Java isn't really intended to make the experience pleasant.
 
Is Java hate a meme or do people like the language?

I have used like 2 or 3 Java applications (excluding video games) and I can barely create anything good on Java, creating a GUI on it just feels like walking in circles.
One java app i have used (forged alliance forever) is complete pain in the ass. Getting it to work properly at all was pain. So yeah don't be nigger despite me not being a programmer
 
Is Java hate a meme or do people like the language?

I have used like 2 or 3 Java applications (excluding video games) and I can barely create anything good on Java, creating a GUI on it just feels like walking in circles.
I'm indifferent about it. It's like an even clunkier clone of C++ that happens to run on anything. Like the similarly named Javascript, it is used for all sorts of unholy applications but it's not a terrible language. I think Kotlin is the future of the JVM.
 
  • Agree
  • Like
Reactions: 419 and std::string
Java isn't really intended to make the experience pleasant.
As far as I know the only real intention of Java was that it would be able to run on anything that had a JVM. Started off being a language for embedded devices and then for web content. So in order to do that you have to get away from low-level things like pointers because any sort of direct hardware access would inhibit portability and would be unsafe in web applets.

Somehow that led to Java becoming "C++ but safe for Pajeets" and now Pajeet-fueled nightmare code is everywhere in the enterprise world. I don't think it was ever intended to be that, but it's what happened.
 
As far as I know the only real intention of Java was that it would be able to run on anything that had a JVM. Started off being a language for embedded devices and then for web content. So in order to do that you have to get away from low-level things like pointers because any sort of direct hardware access would inhibit portability and would be unsafe in web applets.

Somehow that led to Java becoming "C++ but safe for Pajeets" and now Pajeet-fueled nightmare code is everywhere in the enterprise world. I don't think it was ever intended to be that, but it's what happened.
Java: Write once, run slowly anywhere.
 
@y a t s Since you have some programming experience, I wanted to ask you do you have any recommended resources or links for real-world projects? Because I'm tired of doing the same recommended beginner projects (guess the number, rock-paper-scissors, password generator etc.). Also, do you have some advice on how to handle days where someone doesn't feel motivated to code?
 
  • Like
Reactions: y a t s
Since you have some programming experience, I wanted to ask you do you have any recommended resources or links for real-world projects?
This is one of THE issues. What should I code to grow? And it's hard to answer this without self-doxing. But I'll give a couple examples.

I hate the UI of most audio player software. So I wrote my own. You can develop a working prototype in an afternoon these days, but depending on the featureset you want, they're wildly different. If you simply target some weird platform that doesn't have anything developed already, you might even get users. It can be something as dumb as "I'm going to write an audio player with a
  1. Qt UI,
  2. in Zig,
  3. targeting PipeWire output,
  4. using GStreamer to decode
This is a terrible example that no one should do, really, and I don't know how well the parts connect, but you can vary any of the four parts to make something new. If your program works well, consider changing one or more of the 4 dimensions. I've written the core to my player half a dozen times in nearly as many languages.

Also, do you have some advice on how to handle days where someone doesn't feel motivated to code?
There's no real solution to this. It's best to manage your life with other fulfilling stuff so that when you have a chance to code, you go do that.

"Instead of browing KF, I'm going to spend 20 minutes doing [specific task X that ought to take 20 minutes].

Another free example is: "I'm going to implement [card game]." This is another thing I've done, implementing a card game I play with a friend. There are all kinds of high-level APIs that make card games in particular easy, but most card game implementations handle few games.
 
Back