4,017 karma · joined Mar 10, 2017 (9y ago) · 930 submissions
comment 4y ago · link · parent
It entered usage because we needed a lower case S when Carolingian monks first developed cased letters in the eighth century, and the Romans already had a similar shape (the "medial S"). For a long time "S" was only used in the capital form; small "s" came later.
Here's what Carolingian miniscule looked like, note the r-like s: https://en.m.wikipedia.org/wiki/File:Carolineminuscel.jpg
And here's Old Roman cursive for comparison: https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/Cu...
Small-s starts taking off around the 12th century or so, coexists with long-s for a while, before eventually replacing it.
comment 4y ago · link · parent
Firstly, neither its parser and its visualiser can be extracted from the library. You can't process a grammar on a backend and then render out an SVG. You can't generate an SVG as part of a CLI tool - not without spinning up a web browser in automation mode.
Secondly, the grammar is messy. Really really awkward. Flowcharts are OK because they were the first Mermaid usecase, but other grammars are quite weirdly written, brittle, and try to be a mismash of other DSLs. Which in turn leads to very awkward token choices to avoid stepping on the toes of parts that are UML-like, parts that are DOT-like, etc etc
My impression reading Mermaid's issues is that it was built from scratch by a JS developer who hadn't any previous experience with DSLs, parsers, or language design, and largely learned as he went along. That's acceptable for a proof of concept. But as a finished product Mermaid is a lumbering mess
comment 4y ago · link · parent
It's true that after five years in a startup, you'll have seen lots of systems. But being a senior practitioner requires deep experience as well as breadth, and enough time in the industry to recognise larger trends.
There is no magic mark for this, and it's quite possible to reach ten years and still be a weak practitioner, because you were exposed to a narrow range of problems and were never around to see your bad decisions bear bad fruit.
However, the opposite does not hold. It doesn't matter how intelligent you are, you can't short circuit repeated experience and the mix of breadth and depth required. People want to. I wanted to. But I didn't: all I became was an overbearing mid who had the rhetoric (and the OSS contributions!) to convince others I knew what I was doing. There is absolutely no comparison between myself in 2017 and myself in 2022, but we both have a job title of "Senior Engineer".
In fact, I think that in the long term the trend is for the senior bar to get _higher_. This is pushed by two things: firstly, that the technical domain gets harder, software becomes more abstract, our expectation of engineers increases particularly in "left shifted" environments where every IC must do everything from frontend to microservices to infra to security to testing.
The second force is demographic: as IC salaries have increased, there has been less pressure for senior engineers to exit in favour of the management track. That means more experienced engineers on average. Industry needs a way to describe these practitioners, beyond "very senior", and overall the range of skills of ICs will widen. Under those conditions the definition of senior engineer gets more exclusive, not less.
comment 4y ago · link · parent
https://jvns.ca/ is a treasure trove
comment 4y ago · link · parent
I’m writing a HTTP client based on composition. The exact details aren’t important, but one of the goals is to have a strong type system for describing a valid pipeline of things like response parsers. Imagine something like
Doing “type tests” alone isn’t too hard - we can just use conditional types and the extends keyword. If the code compiles, fine.
But the harder part is negative type tests. “Given this code, the developer should get this error from TSC”. But this is just as important a part of the API; your types are there to convince the consumer that they can call a type-checked API with confidence.
In theory it should be plausible to run TSC programmatically. The issue is that TypeScript’s ScriptProcessor API really wants to be called with files on the filesystem rather than source text. So I am having to do some bodging. If I can get something sorted I may write a repo to demo it, I think it is a common problem.
comment 4y ago · link · parent
I'm happy to work from home and it's a big benefit to me, but I won't deny it sometimes has its drawbacks. I just think the balance lies more in favour of remote work than colocation.
Hopefully there's a way to express that, yes, junior employees might benefit from some face to face support, but in such a way that doesn't imply everyone else must be chained to a desk forty hours a week.
comment 4y ago · link · parent
> management has worked to isolate pro-union workers and threatened to relocate the warehouses if unionization succeeds.
> One worker said his life has become miserable since he uttered the word “union” at work. “Every coworker who talks to me, after a few seconds, they are interrogated by the manager. When they do that, people don’t want to talk to you anymore. I’m being isolated,” he said.
comment 4y ago · link · parent
I find I can only trust them with fairly basic items, things with simple manufacture. Or, obviously, books.
I used to rely on them for clothes, but this month I've tried buying and returning the same pair of shoes no less than four times. Each time they got something wrong. This included both first party and third party distribution.
In 2020 I spent a bunch of money on a webcam that simply didn't work. It seemed like the vendor had swapped the item being sold on the same listing, but had kept the earlier reviews. When I remonstrated I was offered a gift voucher to provide a five star review.
There's a whole cottage industry devoted to making money on Amazon through dodgy tactics - brushing scams, sending faulty equipment, or just plain old counterfeits.
From the perspective of this consumer at least, Amazon just aren't a trusted brand. The shoe thing was the last straw. I have no faith in any listings; it's just full of tat from China
comment 4y ago · link · parent
The most obvious counterpoint: many systems of record need to scale command operations (writes) and query operations (reads) separately.
So you absolutely would have separate programs, ASGs etc for those two roles
comment 4y ago · link · parent
There are tools out there, but they're not free and they involve some level of vendor lock in. I've worked on some monorepo build scripting myself.
649.
Show HN: Trkl, a tiny observables library, 383 bytes(github.com ↗)
2 points · by zero_shift · 4y ago · discuss
comment 4y ago · link · parent
https://github.com/jbreckmckye/trkl
I've used this for production sites where bytes down the wire is a hard constraint.
comment 4y ago · link · parent
Good PMs are a bit of a paradox. They are immensely impactful and bring value to every project they touch. Yet they are also far overqualified for what is often a thankless job.
I also have come to the view that even good PMs will rarely allocate the work that is truly impactful. Some of the best work of my career has been when I've gone off piste and prototyped something that has surprised my managers or disrupted the way a team thought they had to work.
You can't go rogue often, and you have to expend your political capital carefully. But you will never do the best work of your career waiting for someone to assign you it in JIRA.
comment 4y ago · link · parent
PMs aren't usually accountable when their shortcuts come and bite the team further down the line. Developers feel the pain instead.
PMs won't be honest with the business that they sold an undercooked product. Need to suddenly scale up that "pragmatically" designed database? I know in my heart that too many PMs will _never_ manage expectations with their superiors if they can harangue developers into overtime, out-of-hours alerts or death marches. It’s asymmetric risk.
Don't take that personally. I’m sure you, individually, do the right thing. But my experience is that PMs / POs / team leads as a group can be bad actors. It's just the way incentives are structured for middle managers. By the time the problems of your "pragmatic" architecture have emerged, your typical PM / EM / team lead will either be working on another team, doing another job, or talking about "tech debt" as "just one of these things", a mysterious natural force, visiting your team stochastically like a freak summer snowstorm or an outbreak of measles.
_That_ is why developers are cautious. Do you _seriously_ think that you are the only person in your team who understands "commercials" or "cost benefit analyses"?
Experienced developers do, which is why we've learned the best strategy in the long run is to avoid offering too many concessions to people without skin in the game.
comment 4y ago · link · parent
That usually involves either
1. Coming up with a better pricing / risk model that lets them underwrite certain risks for less than their competitors
2. Coming up with a better way to provide / sell insurance to people, including better forms of brokerage (such as comparison services)
3. Selling things that do (1) or (2) to other businesses. Think of how post-Monzo a bunch of companies offer "challenger banks in a box".
When I worked in insurtech, we were doing all three.