Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Mawr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
56 ms
·
901.
▲
by
Mawr
3y ago
According to the article, Rust does the same thing - "<emoji>".len() == 17.
902.
▲
by
Mawr
3y ago
I've no clue what you just said :) Modeling the business domain with types that match it is table stakes. Otherwise you end up with a "stringly-typed" codebase in which everything is just a primitive type. This and the issues
903.
▲
by
Mawr
3y ago
None of that qualifies as magic. Indicators of magic features are implicitness, action-at-a-distance, high complexity.
904.
▲
by
Mawr
3y ago
From what I've heard, most crash testing focuses on car-on-car crashes, instead of car-on-pedestrian. The inevitable result is big and fast cars efficient at killing pedestrians.
905.
▲
by
Mawr
3y ago
- "Tesla was both the least reliable but most popular EV brand in a survey of owners that found one in three of all EVs had major issues in the past year" [1] - "Electric vehicles are less reliable than gas cars, according to
906.
▲
by
Mawr
3y ago
It's the stroads: https://www.youtube.com/watch?v=ORzNZUeUHAM ("Stroads are Ugly, Expensive, and Dangerous (and they're everywhere) [ST05]") Turns out when you design a road for high-speed driving, peopl
907.
▲
by
Mawr
3y ago
Right, but the problem is, it's unsafe to rely on sound in this manner to begin with, regardless of car noise levels. Sound can only be used for positive identification - if you can hear a car, it's there. It cannot be used for
908.
▲
by
Mawr
3y ago
There's a key relationship you're missing here. The closer a car is to humans, the slower it will drive. The slower it drives, the more important engine noise is. A car going 50km/h+ is on some sort of a highway, where noise
909.
▲
by
Mawr
3y ago
That is true in the pragmatic sense, those who only use C for its objective qualities would find Rust a good replacement. However, those who use C because they like the language would not enjoy Rust one bit and would much prefer Zig over it
910.
▲
by
Mawr
3y ago
> These design decisions often reflect the design of the language itself, which is to say that some languages are more amenable to fast compilation than others and I suspect that Zig is at best average or slightly above average for langu
911.
▲
by
Mawr
3y ago
It's somewhat amusing that the best exercise is just "repeatedly lift heavy rock off ground".
912.
▲
by
Mawr
3y ago
Stress is caused by lack of control, in this case due to the inability to predict, and therefore affect, an outcome. A good example is driving, controlling a vehicle at speed necessitates constantly making accurate predictions. People get c
913.
▲
by
Mawr
3y ago
Every article on this subject is the same: 1. Deny there's hype 2. Start engaging in hype LLMs are a just a tool. Yes, "just". They're good at certain tasks. Mainly ones that have a lot of training data available and don
914.
▲
by
Mawr
3y ago
They gain a lot thanks to network effects. Non-paying customers contribute to viewing numbers and engagement (likes + comments + subscriptions). But most importantly, they bring others to the platform by sharing links to videos and discus
915.
▲
by
Mawr
3y ago
It's not a lottery, there's a direct relationship between the quality of a video and its viewership. Luck is involved, but to a much lesser degree than in fields like music, acting, or startups.
916.
▲
by
Mawr
3y ago
(self-reply) Addendum: EWD 340 (Prof. Edsgar Wybe Dijkstra) [1]: "The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other thi
917.
▲
by
Mawr
3y ago
Don't get your hopes up, Crystal is doomed to never become mainstream. We can divide programmers into two camps, those that enjoy programming itself and those who use it as a means to an end. The latter greatly outnumber the former, le
918.
▲
by
Mawr
4y ago
talking to users != blindly implementing what they say Users are amazing at indentifying issues, but poor at coming up with solutions to them. User feedback often needs converting to be usable. "I'd like my horse to be faster"
919.
▲
by
Mawr
4y ago
I've noticed this effect when learning to play a game. In order to improve, one must practice a skill, but one cannot do so if they don't have an idea of what a better way to execute that skill is. Therefore, a certain amount of t
920.
▲
by
Mawr
4y ago
You'd think so, but from what I've seen, the overlap between enjoyers of Go and Java is tiny. The languages may occupy the same niche, but their design philosophies are at opposite ends of the spectrum.
921.
▲
by
Mawr
4y ago
> I prefer systems languages where typical failures cannot easily be ignored and yet you are not burdened with constantly thinking about it This is self-contradictory. In particular, the only way you can have reliable error handling is i
922.
▲
by
Mawr
4y ago
> However, microservices and other modern application architectures introduced new complexities into application design: Developers needed to manage data across different services and ensure consistency between them, which forced them to
923.
▲
by
Mawr
4y ago
> Why should society condone the distribution of substances that ruin lives? You mean substances like alcohol and cigarettes?
924.
▲
by
Mawr
4y ago
Sure, as long as there are no tradeoffs involved. But there are. Opportunity cost for one. Your saved energy calculation is the absolute upper bound possible, the real value is likely close to 0 or even negative (crypto). Even the upper bou
925.
▲
by
Mawr
4y ago
This is missing the forest for the trees. Languages are very complex, you will not get a good picture of their overall strengths and weaknesses if you limit yourself to a very zoomed-in view, like comparing a few features of the languages t
926.
▲
by
Mawr
4y ago
It goes to show the impact of optimizing from top-down instead of bottom-up can have. Go was designed with performance in mind ("mechanical sympathy") as opposed to most other GC languages for which performance was an afterthought
927.
▲
by
Mawr
4y ago
It doesn't matter. What does is Go 1.0 shipped without generics. That single decision immutably affected the entire language. Now that generics have been retrofitted, the issues are clear as day: - Awkward transition period between a s
928.
▲
by
Mawr
4y ago
Yes, unfortunately there are/have been issues around the $GOPATH -> modules transition. Check out [1] for a guide on the new(-ish) module system. [1]: https://go.dev/blog/using-go-modules
929.
▲
by
Mawr
4y ago
> This same criticism applies to go and their $GOPATH. FYI, $GOPATH hasn't been a thing in years. Nowadays, the experience around coming back to old projects should be on par with what you've described for Typescript.
930.
▲
by
Mawr
4y ago
"I love the promise of Graal native binaries. At the moment I'm unable to get it to work with my codebase." [2] "Building is a resource hog. I set up a VM with 2 CPUs, 100GB of disk space, and 8GB of memory, and even a r
More ›