Better HN
topnewbestaskshowjobs
Log inSign up

zero_shift

4,017 karma · joined Mar 10, 2017 (9y ago) · 930 submissions

I really like computers!
Submissions

comment 10mo ago · link · parent

I think a lot of programming - the more business focused, application minded stuff - is a kind of analytical philosophy. You spend a lot of time as a dev working on "domain logic" which requires you to be very exacting in your terminology and carefully distinguish between ideas.

You can go too far with this, and waste time on taxonomy, but for the most part it's a good idea to subject your classes, variables, components to some kind of philosophical scrutiny.

(My degree was in English Literature though, which doesn't help as much, though I think I'm pretty good at naming variables. £40,000 well spent!)

comment 10mo ago · link · parent

I don't think that's like DevOps, though. A closer analogy would be a business that only hired EngDocs, doctors who had to be accredited engineers as well as vascular surgeons.

I don't think anyone thinks siloes are themselves a good thing, but they might be a necessary consequence of having specialists. Shift-left is mostly designed to reduce conversations between groups, by having individuals straddle across tasks. It's actually kind of anti-collaboration, or at least pessimistic that collaboration can happen

comment 10mo ago · link · parent

I don't have a very thorough understanding of the international money markets.

If Europe "dumps the dollar" - what does that mean in practice?

This article suggests that Europe could also call in US debt. Presumably the US could grandstand and not pay it. What are the consequences of that?

comment 10mo ago · link · parent

Because the idea you can have all aspects of maintaining a complex piece of technology, maintained by a single cross-skilled team of interchangeable cogs, is utopian and unworkable past any reasonable level of scale

DevOps, shift left, full stack dev, all reminds me of the Futurama episode where Hermes Conrad successfully reorgs the slave camp he's sent to, so that all physical labour is done by a single Australian man

Speaking darker, there is a kind of - well, perhaps not misanthropy, but certainly a not-so-well-meaning dismissiveness, to the "silo breaking" philosophy that looks at complex fields and says "well these should all just be lumped together as one thing, the important stuff is simple, I don't know why you're making all these siloes, man" - assuming that ops specialists, sysadmins, programmers, DBAs, frontend devs, mobile devs, data engineers and testers have just invented the breadth and depth and subtleties of their entire fields, only as a way of keeping everybody else out

But modern systems are complex, they are only getting more so, and the further you buy into the shift-left everyone-is-everything computer-jobs-are-all-the-same philosophy the harder and harder it will get to find employees who can straddle the exhausting range of knowledge to master

comment 10mo ago · link · parent

I wasn't sure for a while, but this must be satirical - mustn't it?

comment 10mo ago · link · parent

Thanks Ashwin - very helpful!

comment 10mo ago · link · parent

I'm not aiming this at GP specifically, but there seems to be a culture around gen AI that the burden of proof is on sceptics, not the people claiming we're about to invent God

comment 10mo ago · link · parent

The thing is, the internet was supposed to democratise, but it's ended up centralising (and therefore distorting) discourse

A good example is publishing: until relatively recently, books were how most knowledge was distributed, and publishers were able to gatekeep it

Back in the 1990s, one of the promises of the internet, was that it could break this stranglehold. The argument was that instead of 10-ish major publishers, we could have ten billion

What we've ended up with is 5 or so major platforms. Their algorithms now distort, not only the distribution of information, but the production of knowledge itself (click chasing)

An argument I'm sympathetic to, is that the internet hasn't just been a neutral medium, but has actually accelerated this centralisation

The other aspect is the shrinking role of non commercial institutions, like public sector broadcasters, universities, scientific orgs. These entities had their own biases and groupthink. But they added diversity to the media landscape and helped set useful norms

comment 10mo ago · link · parent

Are you thinking more, of LLM based "AI" or "director" logic? Like an LLM tailoring the challenges and randomness the player experiences?

comment 10mo ago · link · parent

Nothing as impressive as others here... but I have a few little things

--- Todo or else ---

The main thing is a new Go CLI called "todo or else". It scans your project for TODO comments and checks that they have deadlines

This allows you to hold yourself accountable for completing them

You can verify other things like whether TODOs have owners

I'm using Tree Sitter which means it can handle most programming languages (although, I'm shipping with a subset, as the grammars can get quite big)

I'm hoping to release this cross platform in a couple of weeks

--- Video: How PSX games were developed ---

A ten minute YouTube video about how PlayStation 1 games were developed

The tools, languages, and practices that were common in this era

Also the computers, software, programs used for creating assets (eg Irix Framethrower for SGI)

I'm hoping to produce a 10 minute video on my YT channel (jbreckmckye). Currently in the writing stage

--- Black Noise ---

A small, command line program for playing white noise

I think it would be a nice utility to have for focus sessions... maybe to double as a sort of pomodoro timer

comment 10mo ago · link · parent

> The parts of it that aren't high level product management and systems architecture are quickly becoming irrelevant

Embedded in this, is the assumption that many SWEs can actually do those roles better than existing specialists.

If they can't - end of the line

comment 10mo ago · link · parent

What's wrong with Brew?

comment 10mo ago · link · parent

Interesting, looks like k9s... but for AWS

comment 10mo ago · link · parent

They used a buffer overflow on the EULA message as a patch mechanism?!

comment 10mo ago · link · parent

The strange thing is, whilst I found the pandemic itself very difficult, I came out a much more confident, extraverted person. Actually quite the opposite from my pre COVID personality.

comment 10mo ago · link · parent

I can't get it to work, at least on mobile. For most inputs, the form submission doesn't do anything.

comment 10mo ago · link · parent

There's probably a better example. The point is sometimes the What needs explanation, and finding a better What isn't practical.

I have slightly unorthodox opinions about short variables. I used to hate them. Then I posted a question on one of the PL design forums - it might have been Reddit r/programminglanguages - why is there are history of single letter names for type variables? ie T, U, etc for generics. The answer I got back, was, sometimes you want code to focus on structure rather than identities. That stuck with me, because it helped me understand why so much C code (including Linux) code uses similar naming practices. Names can lie, and sometimes expressing the structure is the absolute critical thing.

comment 10mo ago · link · parent

Yes, but some people have a Jihad against "what" comments - believing these should be elevated into the structure of the code itself, eg veryVerbosePainfullySpelledOutVariableNames or thisFunctionNameExplainsAWholeDomainConcept()

comment 10mo ago · link · parent

Sometimes I want to use comments because I'm doing something vaguely algorithmic, and I know some readers won't follow the code.

I'm trying to think of a good example, maybe something like a pointer window based function (off the top of my head)

(This isn't real code. Don't get hung up on it)

    func DedupeStrings(ss []string) []string {
      if len(ss) < 2 {
        return ss
      }
      ss = strings.Sort(ss)

      u := 1 // index of end of "uniques" set
      for i := 1; i < len(ss); i++ {
        // Consume until new value
        if ss[i] == ss[i-1] {
          continue
        }
        // Put new value in 'uniques' set
        ss[u] = sorted[i]
        u++
      }
      // Final state: all unique items are positioned 
      // left of 'u' index
      return ss[:u]
    }
People will quibble, but

- I'm not convinced you could change the variable names without harming clarity. Would a name like uniquesEndIndex really be any clearer? It adds noise to the code and still doesn't satisfy a confused reader

- I don't want to use function calls for documentation, eg putInUniques(). I'm doing it this way because I want it to run really quick.

comment 10mo ago · link · parent

Oh I love that game! (At least I think it's a game)

You ask how to do X.

Member M asks why you want to do X.

Because you want to do Y.

Well!? why do you want to do Y??

Because Y is on T and you can't do K so you need a Z

Well! Well! Why do you even use Z?? Clearly J is the way it is now recommended!

Because Z doesn't work on a FIPS environment.

...

Can you help me?

...

I just spent 15 minutes explaining X, Y and Z. Do you have any help?

...(crickets)

comment 10mo ago · link · parent

A problem I would like to see solved, is how I can post something on my site first, but still use BlueSky as a commenting platform.

I guess it could just be done as a multi phase post, as janky as that is.

comment 10mo ago · link · parent

Sure, it happens all the time. Speaking personally, for example, I walked out of an interview when I realised it was for The Sun's betting site (Sun Bet)

comment 10mo ago · link · parent

It doesn't, but at some point a mature industry + society decides to make that tradeoff.

We can't have it both ways: be essential digital infrastructure, AND move at "the speed of light".

comment 11mo ago · link · parent

A CLI tool called "Todo or Else". It can enforce deadlines and standards on code TODO / FIXME comments.

I'm also sketching out a concept for a YouTube video explaining how retro game upscaling actually works on a technical level.

comment 12mo ago · link · parent

> David was successfully treated in this way: his motivation levels went back up after taking a drug that stimulates dopamine receptors in the brain. Because of this, he was able to get a new job, become independent and even find a partner

I've always wanted to hear the stories of patients like David. What happens when you can tell your family and friends - I'm not a screwup, this has a physical cause? How do people interact with you who've previously only seen you in your decline?

A long time ago I read an account by a financial journalist who'd had some kind of brain injury and temporary lost his faculties. It damaged his professional relationships and the implication was, most of his former colleagues remained unduly sceptical - even after years of normal functioning.

comment 12mo ago · link · parent

You are right. An observation, even before the rise of LLMs, was that computers were becoming more human-like and humans were acting more like machines

The sculpting force of algorithms is bite sized zingers, hot takes, ragebait, and playing to the analytics

comment 12mo ago · link · parent

As explained in other comments, I only used Gist because publishing to my own site failed. So GH is my redundancy :-)
1
678
31