hairyballs

@hairyballs@programming.dev

This profile is from a federated server and may be incomplete. Browse more on the original instance.

hairyballs,

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

hairyballs,

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 only thing doing tech tests has taught me is that I'm too stupid to do the job I've been doing professionally for the better part of 2 decades.

Can’t just be me, can it? Currently 0 for 3 on interviews because I can’t seem to get past the technical interview/test. Usually because of some crazy complicated algorithm question that’s never been relevant to anything I’ve ever had to do on the job in all my years coding....

hairyballs,

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.

hairyballs,

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.

hairyballs,

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

hairyballs,

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.

hairyballs,

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

hairyballs,

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.

hairyballs,

There are still obvious things the BC cannot get. For example:


<span style="color:#323232;">struct Foo;
</span><span style="color:#323232;">
</span><span style="color:#323232;">impl Foo {
</span><span style="color:#323232;">    fn num(&amp;mut self) -> usize { 0 }
</span><span style="color:#323232;">    fn index(&amp;mut self, _i: usize) { }
</span><span style="color:#323232;">}
</span><span style="color:#323232;">
</span><span style="color:#323232;">let foo = Foo;
</span><span style="color:#323232;">foo.index(foo.num()); //error
</span>
hairyballs,

It’s a toy example. In that case, the solution is to assign the expression to a variable to compute its result upfront.

hairyballs,

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

hairyballs,

It’s like someone has pooped on my screen.

hairyballs,

Genuine question: what’s wrong with templating engines?

What is it like freelancing? Is it a viable option to earn income?

I know some basic HTML, CSS. JS, and very little React – I’m learning it currently. One of the things I see mentioned online is freelancing as a way to earn income. Now, I’ve tried this before in the past on UpWork, and it was nearly impossible to get anything out of it, I rarely received a response and that required...

hairyballs,

I have a degree in philosophy (and no other diploma) and I make $200k/year as a senior developer. The degree does not really matter.

hairyballs,

I really like this instance, so of course I’m 100% for the move

hairyballs,

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.

hairyballs,

In my company, we use zenhub on top of github, but I’m not sure it’s worth it.

hairyballs,

I think you’re right. I’m not an Apple fanboy (by far), but I’m very excited about that product for nomadic work purpose. I like to move a lot, and being able to work without having a desk or similar is incredible. I’m just a bit skeptical about a few points rn: that it isn’t comfortable when the weather is hot, that the battery is bulky or doesn’t last a day… but so far I’ve read everywhere that the tech is incredible.

hairyballs,

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.

hairyballs,

While you’re at it, with sum types, you can replace this stupid nil with an optional type. Also, you can replace the stupid error handling with an either/result type. Then you can add a keyword to return early if it’s left/err. Then you have Swift or Rust.

hairyballs,

I’ve had the same experience with TS + deno. I always use that for prototyping, scrapping, etc. Great read.

hairyballs,

You import from whatever packages you want, then you type your code. No need to create a whole project with a ton of shenanigans, a single file just works.

What qualifications/qualities are sought after for senior positions?

I know this is a very generalized question, as it depends on the company, product, position, etc. But in general, what sets someone apart as ready for a senior position over an intermediate or junior position? Experience I would think would be a big one, but say you have a candidate that shows problem solving abilities to solve...

hairyballs,

For an IC, I think it’s mainly about autonomy. The management don’t want to be behind you. You get assigned a task, you ought to know how to handle it (including asking to the right persons) and to deliver it on time.

hairyballs,

I’d argue the macros are quite bad:

  • Declarative macros are hard to read, same level as regex
  • Procedural macros require to write a new crate with a ton of boilerplate, sometimes for stuff conceptually really simple (like hash is: apply the same function to every field, then compose the results)

I agree, though, that it’s better there’re here than nothing. It’s just that there is to be a better solution.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines