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 4y ago · link · parent

> Blank files are scary yo

They are. But the more programs you write, the better you get at it.

It also helps to devise a personal architecture or two for different projects. I have some that I lean on, and that means I can bootstrap myself fairly quickly. It took a while to get there though.

comment 4y ago · link · parent

Self-plug: I wrote this Node / TypeScript port of "clean architecture" to typed, functional JavaScript two years ago - and it's served me well on every production project ever since

https://github.com/jbreckmckye/node-typescript-architecture

comment 4y ago · link · parent

Dart created a lot of interest at the time. The main reason it didn't take off was that Google couldn't convince MS or Mozilla to embed the DartVM in the browser.

Golang obviously didn't have that constraint, it didn't depend on any external runtime.

After the browser rebuff Google had a meandering approach to figuring out where Dart could fit in instead. Whereas Go slotted quite easily into one specific niche, building microservices at Google.

I think the lesson is that clear positioning is crucial

comment 4y ago · link · parent

I think one tool to rule them all is a bit ambitious. There are a lot of languages to cover.

I think a non-code formatter could be a good idea though. Particularly normalising over the various dialects of Markdown.

If it doesn't exist, perhaps you should build it yourself? The easiest way to build a CLI tool as a static binary is probably with Go, although I'm not a big fan of the language. Perhaps this could be a chance to try your hand at Rust.

comment 4y ago · link · parent

The challenge is that there are different ways of "mapping" software.

You could map the way programs fit into machines, and the networks between them. This would be the topology.

You can map the way services call upon one another with requests. This is the service graph.

You can map how systems interact over events or shared resources. You could say this is the logical graph.

The problem happens when you try and graph them all at once. It's the same as trying to draw a real map, with all the services, bus routes, railways, shops and administrative regions superimposed on one image. It's very busy.

So I use separate maps.

Tools are another matter. Personally I use Mermaid for graphs. I also have my own tools that create SVG visualisations using DAGre. This can be helpful for interactive visualisations where you can click into different nodes and explore more detail.

My system uses CloudFormation templates and our in house deployment DSLs to figure out the "topology", then let the users see the different superimposed "graphs" as they see fit

comment 4y ago · link · parent

Could it be your artwork? There is a general backlash against "corporate Memphis", with its cartoonish style and self-assured optimism:

https://t-artmagazine.com/what-is-corporate-memphis-and-why-...

> Illustrations in the style, with its aggressively friendly expressions, portray a world that is uncannily utopian.

667.

Could the greatest works of literature be undiscovered?(theguardian.com ↗)

2 points · by zero_shift · 4y ago · 3 comments

comment 4y ago · link · parent

I'm the author of this piece. I no longer think front-end suffers the instability people accuse it of.

I think there are a lot of _vendors_ trying to usher in a revolution around their particular products - there's a lot of VC funding in JavaScript tooling nowadays - but that's a different problem.

comment 4y ago · link · parent

I'm the author and I agree. Things have slowed down and matured. The "JS moves too fast" meme is well out of date, and in fact I wrote a comment here a few hours ago bemoaning it

comment 4y ago · link · parent

Knockout was an abject disaster. We almost immediately ran into performance problems. Coupled with its own limited ecosystem we had the same problems as you experienced with React, but ended up in a far worse place.

I have reflected on what happened quite a bit and I can't think of any redeeming aspect of that technology choice. It really was the worst possible move and it was entirely motivated by the "boring is better" argument.

comment 4y ago · link · parent

I personally find that folk online who accuse "web developers" of neophilia over-estimate the amount of change in webdev and show little interest in the motives behind new practices.

For instance, calling React "yet another new framework" when it's eight years old. Or loudly opining "why does everyone want to stop writing traditional CSS? These JS programmers are idiots" rather than pausing to reflect that, actually, CSS might actually have a bad reputation for a reason.

comment 4y ago · link · parent

Not in late 2015, if you came from a Java background

comment 4y ago · link · parent

> developers like shiny new toys that are cool because other developers are all talking about them.

I refer you to my other comment about the profound misanthropy behind "I don't understand why people want more productivity so I will compare them to children / animals"

comment 4y ago · link · parent

I actually think the bias can go either way. Sometimes, technologists are suspicious of new practices and assume the motive is neophilia

You can see this in McKindley's talk. Developers who want productivity improvements are just after "shiny things". Because they're stupid, like kids or animals, get it?

comment 4y ago · link · parent

So why use any novel technologies, then? Why don't we use tech from the 1990s? Is it just neophilia?

Or is it that tech companies, by their nature, are about automating new things by applying, building, leveraging new technology? And that they are invested in because people want to make a bet on those productivity multipliers?

comment 4y ago · link · parent

This again...

The problems with boring technology are twofold. One, it's about rejecting newer tech on a bet you don't need their features. And two, it's about choosing older tech because you assume it's good enough for the one year, two year, five year plan. And there are a few places that falls down.

The first is when the new tech features are really strategically relevant to where your company is right now. If you need rapid deployment of new infra as you roll out installations for new customers, choosing manual CloudFormation config over Terraform could be a bad call. If you don't know your target platform at this point, writing native code over something cross-platform like React Native or Electron could be an expensive mistake.

On the second, every time I've seen someone quote this essay at work, it has always been for a bet that has ended up problematic or at least mixed result. The first time I saw it was in a mildly heated debate about whether we should use React. I lost the argument and that org chose Knockout.js with JSPs instead. You can guess how expensive that "pragmatic" decision turned out.

The second time was at a startup where the "boring technology" was - ironically - MongoDB. Everyone there had worked with Mongo and our only prior RDBMS experience had been with Oracle and PL/SQL. The result was a mess because noSQL stores only work when you have inflexible query patterns, which is the opposite of product iteration at a startup.

So I am sceptical. If you know where your business should differentiate itself, and what pressures it will be under, choosing a technology should be - if not obvious, at least a process you can follow. Relying on proxies like "innovation tokens" feels to me like a mistake because it is, fundamentally, trying to replace strategic thinking with a points system.

comment 4y ago · link · parent

No, but I think it's a big contributor to the network effect advantage Java has.

I'm not bashing the language - it certainly has its defenders. Some people regard simplicity as a virtue (although I'd question how simple Java is nowadays). But I think even ardent Java fans will concede, Java has some deficiencies as a language. The main reason people use Java, is that people know Java. And the main reason they know Java, is because it is used.

It takes a long time to kill a network effect.

comment 4y ago · link · parent

I see this post is getting some downvotes; I'm not sure I agree with all of it myself. But I would ask those, who reject the premise here outright, to think back really hard to how things were in the 1990s. The Java brand was everywhere. It was a truly massive endeavour and one of the first languages to really go "viral" as the Solution For Everything.

People laugh at the cute "Java runs on four billion devices!" tagline but back in 1995 if you weren't doing Java, you were a last-century coder. It was so pervasive Brendan Eich even renamed his strange scheme-smalltalk mashup "JavaScript".

comment 4y ago · link · parent

I'm sorry, I'm going to have to chew you out here.

Firstly: when was the last time your on call rotation comprised exclusively programs that you had written? How many systems does your team look after that it "inherited" from elsewhere?

Secondly, how many organisations allow developers to prioritise solving pages over other forms of revenue generating work? How many teams demand negotiation with a "product owner" before a piece of work can be added to the board?

Thirdly, how many pages are truly easy or tractable to fix? I have worked in teams where we were constantly paged due to external API failures, but intra team disagreements meant we could neither punt the responsibility elsewhere nor resolve the problem. The problem wasn't technical, it was social, but there's no PagerDuty for absentee Engineering Managers.

Fourthly, how often is the Real Problem™ for the reliability and uptime of a given system, actually at the program level, and not at architecture or system level? How many programs are hamstrung by internals alone? Once you get past the basics, most of the _really_ significant decisions affecting reliability are at a system design level that Johnny or Jane Developer isn't going to be empowered to fix in a Scrum "sprint".

Really, this "shitty on call incentivises robust systems" argument is facile. It's paper thin. Put it out in the sunlight for a second and it crumbles. It only makes any sense, tentatively, under idealised conditions where developers alone are responsible for non functional requirements and the usual relationship of employer / employee is suspended.

Think about it for a second. It's just rot.

comment 4y ago · link · parent

I disagree. Even in 2015, pretending ASCII was a workable universal format involved either pretending non-occidental languages didn't exist, or, as I darkly suspect is the case with many US-based computer scientists, forgetting their existence entirely.

comment 4y ago · link · parent

Grischuk has already made public statements against the war. What else do you want him to do, blow up the Duma?

comment 4y ago · link · parent

> It does not make code any harder to understand or to write,

Well, what can you tell me about TypeScript type inference for this custom DSL?

comment 4y ago · link · parent

Likewise I simply don't empathise with the author's complaints. Hooks make sense if you think in closures. Hooks are isolated so you can think about them in isolation.

What I like about the React monoculture is that it's one less thing I have to care about. I can focus on the other aspects of my programs, beyond turning JSON into HTML.

I haven't used SolidJS so I'm not going to put it on blast. However, hearing people compare its reactivity model to Knockout JS gives me the heebie-jeebies, because Knockout projects were horrific to reason about (and test) beyond a certain scale.

comment 4y ago · link · parent

The terms are interchangeable.

Now and then I like to use "programmer" in informal conversation, because it feels refreshingly direct, and sometimes I think we forget that whilst developers need non technical skills, the technical stuff is still the critical part!

But for hiring, etc., they're all just synonyms.

comment 4y ago · link · parent

I had a job writing Haskell. Then when COVID rolled in we were all put on furlough as the startup had iffy funding. Now I work at a larger company slinging JavaScript.

Am I happier? Well, I'd say the technology I work on is a lot less interesting. But I wouldn't trade in stability and benefits for another early age startup, just to write monads again.

comment 4y ago · link · parent

Project appears to be semi-dead, and was early stages when it was alive.

Incidentally, Elsa is already the name of a C++ parser: https://scottmcpeak.com/elkhound/sources/elsa/

1
222324
31