hairyballs

@hairyballs@programming.dev
0 Post – 28 Comments
Joined 1 years ago

Why the fuck would they prevent private browsing? I use that a lot to be sure the session is closed correctly.

5 more...

I was so lucky in the interview for my current job: I'm working on a product with a big networking component, and I was asked to write an echo server with low level components. That was maybe the second time I had a test related to the job.

And here you're only talking about a subset of memory leaks, by inaccessible memory. You can also leak memory by pushing new elements in a channel while never reading them for example.

The first article is funny, because I moved from my native country to the one right next to it, and everybody is confused by my name. They have one given name and 2 family names, while I have 4 first names, and a compound last name.

No need to travel to the other side of the planet to meet a different culture of naming.

I think they just don't like cringe

Yeah, I changed my career direction (industry, tech stack…) but before that, my CV only was enough for me to get hired. They would just verify the information, and sometimes, there weren't even a single tech interview.

Lmao, what the heck. I've heard about that, but I still cannot believe it's true.

Uh, they're different, though. There is no C++ tool (AFAIK) providing an exhaustive check of ALL the data lifetimes. I even think it's impossible, because their semantics are really different. Rust is move by default, C++ copy by default; Rust has no inheritance with its constructors, etc.

This is especially true for steam... what a crappy app

Uh, not really? It's quite average compared to a complete inference like in Haskell and the likes.

Nope, my webpages are not just nested divs. I use nav, main, form, select, etc to name a few. I actually use very few JS. It's mainly for communication with the server when I need AJAX to retrieve data.

Firefox is really badly integrated in MacOS. The fn + arrow shortcut doesn't work, for example, it's not integrated in the menu system (the menu shortcuts don't work) etc. But there is Sideberry, so...

I don't like/use the class keyword in JS, because I quite like the paradigm with prototypes & stuff, and that keyword tries to make it fit into a totally different paradigm, which doesn't really work IMHO.

With TS, I find it even more useless, because I can use TS as a functional language, with POD, functions and interfaces only. I've written entire projects without ever using and needing this keyword, which is a proof IMHO that it's an unnecessary addition. Not sure how unpopular is my opinion tho 😅

BTW, I've developped a few strats to have my own style in TS that I like quite a lot. I can tell more if you're interested.

1 more...

In most countries, a license for a year is worth less than a day of service...

2 more...

What is "funny" is that I had the maximum password size thing on several bank websites (and a low one, at that). Fortunately, with 2FA, it doesn't really matter I guess.

It's much easier to work with streams of untyped data in a weakly typed language.

My coworkers do document the code:

/// Returns a list of foos, given a bar. 
fn get_foos_from_bar(bar: Bar)

WTF I didn't understand, thanks for the explanation. The fact that it's used all around the world in big companies doesn't matter I guess.

We can go further, I think it's impossible to prevent memory leaks in a general purpose language

It's like someone has pooped on my screen.

The desktop website is so bad... I ask for a light theme in my settings, they don't care (it's white on black) because it's HARD to add a few CSS rules. Then there is a flash of light which could give a seizure to someone with a condition. It's shitty design at its peak. That doesn't really inspire confidence...

When senior devs get older, they're tired to look cool and take care of their eyes with light themes.

Funny, I think C++ is literally the worst language to learn programming. I would go with JS or OCaml at first, then Rust if they need manual memory management.

What the actual fuck. It's a made up story I'm sure.

Fair point. I've experienced that in big corps, so I now you're right. For example, we would lose a bunch of time because the PCs didn't have enough memory, but they couldn't get us more RAM sticks, because of the bureaucracy, it could take 2 years or so.

Htmx is a godsend for that. You actually write HTML while having AJAX easily.

The Elm compiler

This: comparing something you buy once, with a license does not make a lot of sense. In SaaS, you get update, support, etc. For something critical, I'd rather get that than something that I buy once and may be buggued in the future.