4,017 karma · joined Mar 10, 2017 (9y ago) · 930 submissions
comment 10mo ago · link · parent
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 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
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
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
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
--- 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
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
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
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 12mo ago · link · parent
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.