Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ljm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
571.
▲
by
ljm
2y ago
I'm only partly convinced that bringing functional abstractions to various kinds of collections/iterators/enumerators, etc. adds value to Go, both in terms of reading code and writing it. That's pretty much as far as &#x
572.
▲
by
ljm
2y ago
I don't think this is functional programming as much as it is just a DSL for behaviour driven testing. It doesn't feel like Go, really, but there is still a place for high level testing like that. Personally, I prefer it for integ
573.
▲
by
ljm
2y ago
Elections are basically controlled by the media. They publish the news you consume, filtered through their editorial stance. They control the narrative. It’s all headlines, clickbait and eyeballs, only in this century it’s done algorithmica
574.
▲
by
ljm
2y ago
I'd prefer a candidate to check the docs or look something up if they were unsure, because that would also provide useful information to me as an interviewer. Although I'd also want that benefit of the doubt for myself. I'm q
575.
▲
by
ljm
2y ago
A lot of time and money goes into AAA games and I think there’s an inverse relationship at play where the higher the budget is, the more risk averse the studio is. So you end up with a whole suite of AAA releases that all play it safe and j
576.
▲
by
ljm
2y ago
I would want answers to all of these questions before touching an integration like this. The underlying library it depends on is open source, but this app isn't. Presumably it's holding the codebase in state. No website to speak o
577.
▲
by
ljm
2y ago
This guy never left the US.
578.
▲
by
ljm
2y ago
You're right, but would you want a 100% strict society with zero mercy? Iron fist?
579.
▲
by
ljm
2y ago
It's written to be understood by humans but humans found so many ways to nitpick the language and find loopholes that the legal language has evolved to be insanely verbose and specific.
580.
▲
by
ljm
2y ago
Law isn't code, it's meant to be understood by humans and not computers. Also, companies are allowed to have spaces and hyphens and other punctuation in their name, in fact the only requirement as I understand it is that private c
581.
▲
by
ljm
2y ago
It's Postel's Law, on steroids. Be liberal in what you accept (with LLMs, that means 'literally anything'), but strict in what you return (which in an LLM is still 'literally anything' but you can constrain tha
582.
▲
by
ljm
2y ago
My understanding of a leaky abstraction is that the abstraction itself leaks out details of its design or underlying implementation and requires you to understand them. What you seem to describe is a bug, edge case, or maybe undefined behav
583.
▲
by
ljm
2y ago
There’s plenty like it, but you won’t find it if you’re looking only for body shops. Of course, startups have similar problems of their own and you have to put some work into finding the right team and right product niche for you (e.g for m
584.
▲
by
ljm
2y ago
Don’t even need that trust when your org probably has some intensely bureaucratic procurement setup where past performance has zero influence on a new tender, so long as they can undercut the competition. Their reputation doesn’t come from
585.
▲
by
ljm
2y ago
I had a hard time working for an ex-McKinsey/Deloitte/MBA type a while ago for similar reasons: it was always favourable to push a quick hack to resolve an immediate issue, and literally nothing else mattered. If you had to figh
586.
▲
by
ljm
2y ago
I can't say I'm convinced that the technology and resources to deploy Person of Interest's Samaritan in the wild is both achievable and imminent. It is, however, a fantastic way to fall down the rabbit hole of paranoia and ti
587.
▲
by
ljm
2y ago
In instances like that I tend to push back on the requirement, for example with this classic DB + Elasticsearch case: 1. How often is a user going to perform an update and then search for the exact same thing immediately after? 2. Suppose t
588.
▲
by
ljm
2y ago
Ironically that could describe a lot of talk-show podcasts these days.
589.
▲
by
ljm
2y ago
A post-knowledge world where everybody survives by living in the moment, because nothing else can be trusted. Buddha may have described the concept of enlightenment but not specifically how to get there.
590.
▲
by
ljm
2y ago
I think the question is if you need the entire system to be strongly consistent, or just the core of it? To use ElasticSearch as an example: do you need to add the complexity of keeping the index up to date in realtime, or can you live with
591.
▲
by
ljm
2y ago
I get the impression that OpenAI’s growth has made it harder to move at the pace of the market, both with competitors and in open source, to speak nothing of the internal drama with Altman’s leadership. They’re not exactly short of funding,
592.
▲
by
ljm
2y ago
There's a world where browser UIs are programmed in Smalltalk instead, which I think is what the authors of the DOM may have intended when building it out OOP-style. It would bear almost no resemblance to the web we have today, but mes
593.
▲
by
ljm
2y ago
Go these days has had a good few stdlib improvements that reduce your reliance on third party libraries even further. The http router now handles path parameters and methods, so you might just pull in a library to run a middleware stack. Th
594.
▲
by
ljm
2y ago
The bit about iterating over a directory struck me as a bit of a misunderstanding and therefore the rant following it seemed a bit misplaced. The code example makes no sense at all, so you can’t really make sense of the argument being made.
595.
▲
by
ljm
2y ago
You kind of get it out of the box with plain old HTML though. Once you get into SPA territory you’re reinventing a lot of wheels to get back to parity, or replacing native functionality with JS alternatives. Consider multi-page forms: how m
596.
▲
by
ljm
2y ago
I don’t think you do - every few years there are articles of pubs shutting down and it being a crisis. Happened as long as I’ve lived. You don’t have to go far precisely because your local craft beer haunt, gastropub, sports bar and boozer
597.
▲
by
ljm
2y ago
> Quite shortly the English pub will be extinct, part of history. Plus ça change, plus c’est la même chose Many of the described style of pubs are alive and well, often in the form of a Sam Smith’s.
598.
▲
by
ljm
2y ago
MS is such a behemoth it doesn't really need to try. They know a captive audience of Windows and Office users are just going to use whatever they build because it's there, not because it's better than the competition. Why pay
599.
▲
by
ljm
2y ago
I keep mixing them up now too. Realised that writing a consistent API was more effort than it was worth compared to the one-shot setup cost of creating a set of basic components and re-using them to generate interfaces. Most of the API laye
600.
▲
by
ljm
2y ago
The output will only really be as good as what you describe, really, and if you’re only using it for yourself it might feel like overkill, particularly if you want the spec as the source of truth and have to rewrite your API to fit a genera
More ›