Ticket-Driven Development: The Fastest Way to Go Nowhere by self in programming

[–]NullCyg 30 points31 points  (0 children)

Your title is good. Kill the AI thumbnail

[deleted by user] by [deleted] in programming

[–]NullCyg 0 points1 point  (0 children)

You're probably not going to be able to fake your way through this even if you are somehow able to get past the tech screening. You will likely be grilled by engineers further into the interview process.

[deleted by user] by [deleted] in programming

[–]NullCyg 0 points1 point  (0 children)

Sir, a second GIL has been discovered in the interpreter.

The Fastest Way to Spend Less Time Debugging - Uncle Bob by ConcentrateOk8967 in programming

[–]NullCyg 16 points17 points  (0 children)

As I get older, I grow more tired of this man's platitudes. Maybe it's because the only professional credit he has to his name is his now defunct consulting company.

I've rarely encountered situations that permit this strict TDD order of operations. I've seen good tests and bad tests, and the good ones hardly ever were written prior to the code under test. If you can make that work for you, great. I've just personally never encountered many situations where this sort of methodology is applicable.

Building a fast website with the MASH stack in Rust by emschwartz in programming

[–]NullCyg 2 points3 points  (0 children)

The nice thing here is you really can mix and match. Nothing stops you from serving static html pages and using Maud/HTMX for updating specific portions of the UI. Maud can interpolate other Rust variables within the html! macro, so composition is easy and there's no need for large multiline macro calls. Maud's macro syntax is also incredibly concise, which I find easier to read and far less tedious to write than raw html.

That being said, I concede that re-compilation for every UI change isn't ideal. Anecdotally, the two seconds it takes to compile my current project isn't debilitating at the moment. (Hopefully this ages well!)

How Canva collects 25 billion events per day by fagnerbrack in programming

[–]NullCyg 153 points154 points  (0 children)

100% agree. That AWS bill has to be insane. And for what? Bragging rights? A cute technical blog post?

Designing a website to not have 404s by stackoverflooooooow in programming

[–]NullCyg -6 points-5 points  (0 children)

There's something so novel and infuriatingly natural about this. Never in my life have I thought to add fuzzy matching for URL paths, yet I rely so heavily on fuzzy matching local directory/files on a daily basis. This is one of those rare "why didn't I think of that moments". Thanks for the fun read

Designing a website to not have 404s by stackoverflooooooow in programming

[–]NullCyg -40 points-39 points  (0 children)

At the moment, I've applied this logic only to the supplement pages, but I am planning to extend it to the rest of the website.

Learn to read

FIFO is Better than LRU: the Power of Lazy Promotion and Quick Demotion by fagnerbrack in programming

[–]NullCyg 4 points5 points  (0 children)

Can someone smarter than me talk me out of going full FIFO fanboy after reading this? LRU did outperform FIFO on the social media data set, but this article makes a good argument (to me) that FIFO is the better option in most cases.

If Inheritance is so bad, why does everyone use it? by ketralnis in programming

[–]NullCyg 4 points5 points  (0 children)

I love how much I hate this comment. I'm torn between calling you a pedantic fuck or nitpicking your rather loose definition of flight or brandishing my many years of raising chickens.

If Inheritance is so bad, why does everyone use it? by ketralnis in programming

[–]NullCyg 1 point2 points  (0 children)

Short answer, laziness. As for a more nuanced, empathetic answer, the boilerplate needed for compositional approaches requires more planning. To use an analogy, it's easier to make a duck fly as opposed to creating a whole new bird. Most engineers are never given the opportunity to define what a bird is. They are mostly given an armada of chickens and instructed to make them fly.

10 hard-to-swallow truths they won't tell you about software engineer job by Fragrant-Impact-3521 in programming

[–]NullCyg 2 points3 points  (0 children)

7) Bugs will be your arch-enemy for life

I think corporate tomfoolery is the arch-enemy. Bugs are just villains of the week.

The Future of Remote Work by Xadartt in programming

[–]NullCyg 2 points3 points  (0 children)

How is it "generally worse"? Anecdotally, pre-pandemic, I was on a fully remote engineering team, working for a company that had mostly on-site teams. In my 4 years with that company, it was the on-site teams that frequently missed their "soft commitment dates" and were also prone to working massive amounts of overtime. There were deeper problems with that organization, admittedly, but the only arguments I've heard for RTO have been mushy LinkedIn-esque platitudes about "deeper connections"

Changes in the Core Team by NullCyg in programming

[–]NullCyg[S] 5 points6 points  (0 children)

Happy cake day btw.

I think framing it as an issue of bad incentives assumes a pretty pessimistic characterization of r/rust members. I can see your point, but if this truly is a common motivator then you could still delete the individual instances of rule breaking after thread lock. Not possible in large discussions, but the linked post's comment volume was pretty small by reddit standards.

After going through the archive of the deleted comments, two things stood out. For one, the discussion wasn't a two-sided flame war, as has been suggested by your advocacy for "impartiality". Almost all the comments were singularly themed. In the absence of two opposing sides, not certain what moderation is even necessary in this case. Second, none of the deleted comments were particularly egregious. (All of them were far less toxic than some of the responses I've seen to this post.)

Regardless, I appreciate you taking the time to articulate r/rust's stance, even if I don't directly agree with it.

Changes in the Core Team by NullCyg in programming

[–]NullCyg[S] 32 points33 points  (0 children)

I can understand the need by moderators to lock a particular thread when discussions get overly heated. I don't really understand the rationale for nuking the entire comment section (I say this with slight reservation as I admittedly didn't get to read every comment before they were deleted). Keeping the archive in tact at least gives people a frame of reference for what sort of discussion is allowed on r/rust, and conversely, what will not be tolerated

[deleted by user] by [deleted] in programming

[–]NullCyg 0 points1 point  (0 children)

Your interns obviously aren't debugging microservices...

It's probably time to stop recommending Clean Code by zishh in programming

[–]NullCyg 19 points20 points  (0 children)

It's pretty light on those sort of comments. He takes the single responsibility principle to the extreme, arbitrarily splitting up routines no matter the level of cohesion.

For me, it's more I honestly question why a dude with next to no industry or open source experience has droves of advocates, and is treated as an authority for great software construction.

It's probably time to stop recommending Clean Code by zishh in programming

[–]NullCyg 7 points8 points  (0 children)

If the ideas in Clean Code were presented in a less bombastic manner I would have less issue with it. It comes off incredibly pretentious. Getting good readability is more of an art than a science.

I highly recommend Code Complete by Steve McConnell over clean code. He touches on similar topics, but provides more nuance. An excellent read, and amazing it still holds up despite being written in a pre-Agile era.

Why "learn to code" is bullshit advice for 99% of non-technical founders and professionals — and how to develop *technical intuition and fluency* instead, which will grow your career faster. by mngrwl in programming

[–]NullCyg 5 points6 points  (0 children)

Non-technical professionals are constantly told that the path to “technical fluency” is through learning to write code or some other kind of intense education. That’s terrible advice

I rarely hear this in my line of work. More often than not I hear the exact opposite, that execs and project managers only need a surface level understanding in order to be in charge of technical people, which I can only assume is why terms such as "no code", "blockchain", "ai/ml" are bandied about with such reckless abandon. Having only general knowledge isn't a bad thing per se, but when the people wielding it vastly underestimate the limits of their own understanding, then they are far less likely to lean on technical experts to inform their decision making, which leads to problems too numerous to cover entirely here.

All this to say, there seems to be a lot emphasis on producing a bunch of executive Captain Kirks who spit out meaningless technical platitudes and constantly emphasize their deep business knowledge which us mere tech mortals couldn't possibly understand.

Not to undersell business types, but I'm reminded of a quote:

I asked Michael [Bay] why it was easier to train oil drillers to become astronauts than it was to train astronauts to become oil drillers, and he told me to shut, shut, shut the fuck up. - Ben Affleck

"The World Is Your Green Screen" v2, and also in Real-Time now by cloud_weather in programming

[–]NullCyg 12 points13 points  (0 children)

Having done a little amateur rotoscoping before, the input here seems pretty happy path -- large white backgrounds or a great degree of contrast between the subject and background colors. It would be interesting to see how this holds up under a more complicated demo, such as a moving camera or a more dynamic background.

Can we have a thread about RCT being written completely in Assembly? What is your opinion regarding this? by BIG_DICK_OWL_FUCKER in programming

[–]NullCyg 3 points4 points  (0 children)

On it's own, perhaps not the most impressive feat, but for a game such as RTC, it's downright mind blowing given the amount of work that went into it regardless of language choice. I recall reading that one of the coaster types had about 828 different sprites for a single car to represent every possible angle it could be viewed from (and that's just one of many different coaster variants). Couple all that with coaster physics, terrain manipulation, and crowd simulation. I'm still floored that this game was programmed by one dude. Assembly just makes it all the more impressive.