Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Mawr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
331.
▲
by
Mawr
1y ago
To that I would say that the relationship between vehicle speeds and deaths is not linear. Lowering speeds (via infrastructure, not limits) in cities to 20mph / 30km/h would probably cut deaths by 80% without affecting average tra
332.
▲
by
Mawr
1y ago
And why exactly do police need to have guns on them at all times? Right, because each citizen they meet has a high chance of having one. In contrast, UK police don't carry guns. Let that fact sink in.
333.
▲
by
Mawr
1y ago
Thinking you're above getting pwned is often step one :) It's not easy to be 100% vigilant 100% of the time against attacks deliberatly crafted to fall for them. All it takes is a single well crafted attack that strikes when you&#
334.
▲
by
Mawr
1y ago
"LLM bad" Very insightful.
335.
▲
by
Mawr
1y ago
Since you insist on digging deeper, I'll point out some of your tricks. > Many Golang programmers have heavily criticized or complained about their language Meaningless statement, because it's true for every language. > My c
336.
▲
by
Mawr
1y ago
I'm surprised the API doesn't follow the well known by now "1 write connection, n read connections" model, at least by default. See https://kerkour.com/sqlite-for-servers for that and more ideas.
337.
▲
by
Mawr
1y ago
If you don't care about power efficiency, sure ;)
338.
▲
by
Mawr
1y ago
So I get to hip-fire studies at you with 0 effort on my part and you'll spend hours verifying them?
339.
▲
by
Mawr
1y ago
You know, I'm beginning to understand why people complain about the "Rust Evangelism Strike Force". Can we discuss a language without the constant "But why not Rust instead?!", pretty please?
340.
▲
by
Mawr
1y ago
> Because motorists don’t fund all road upkeep, cyclists who consume those very same roads are entitled to pay none of it? I don't think you understood what you wrote. Non-motorists subsidize motorists. Feel free to look up the % of
341.
▲
by
Mawr
1y ago
> Cyclists contribute to congestion How many cyclists can fit in a space of one car? Or, would you rather that every cyclist was in a car instead? Would that increase or decrease congestion? > occupy road space that was created throug
342.
▲
by
Mawr
1y ago
No problem, in exchange I just ask that you pass safely (1.5m distance). Since that's not going to happen until hell freezes over, we're gonna have to settle on the current situation.
343.
▲
by
Mawr
1y ago
> its major step up in convenience rather than major step up in evolution programming language itself The distinction you're making here does not exist IMO. Convenience is the entire point of design.
344.
▲
by
Mawr
1y ago
> Not enough type safety Sure? Depends on use case. > too much verbosity Doesn't meaningfully affect anything. > Too much fucking "if err != nil". A surface level concern. > The language sits in an awkward space b
345.
▲
by
Mawr
1y ago
How often do you pass literals into your functions? f(728347) // There's no such status. Whateverz, no compile error. a := 728347 f(a) // Compile error.
346.
▲
by
Mawr
1y ago
> I feel like they were being a little dramatic about it, but it is startling to me that its 2025 and the team still has not fixed it. You were right, it's a niche and therefore pretty much irrelevant issue. They may as well have re
347.
▲
by
Mawr
1y ago
Sure have: https://youtu.be/wf-BqAjZb8M?t=831
348.
▲
by
Mawr
1y ago
Yep, most of what the author complains about are trivial issues you could find in any language. For contrast, some real, deep-rooted language design problems with Go are: - Zero values, lack of support for constructors - Poor handling of nu
349.
▲
by
Mawr
1y ago
For JSON I just marshall to/from: { "value": "value", "exists: true, } For nil, that's interesting. I've never ran into issues there, so I never considered it.
350.
▲
by
Mawr
1y ago
> Would love to see a coffeescript for golang. It's not viable to use, but: https://github.com/borgo-lang/borgo
351.
▲
by
Mawr
1y ago
> One component of that project is required to use as little memory as possible, and so much of my life has been spent hitting rough edges with Go on that front. You made a poor choice of language for the problem. It'd be a good fit
352.
▲
by
Mawr
1y ago
> I can reasonably likely run a 30 years old compiled, .jar file on the latest Java version. Great, pretty much every language ever can do the equivalent. Not what anyone is talking about. > Java is the epitome of backwards and forwar
353.
▲
by
Mawr
1y ago
> Set, Tree, etc types. Those are fundamental CS building blocks And if you're engaging in CS then Go is probably the last language you should be using. If however, what you're interested in doing is programming , the fundame
354.
▲
by
Mawr
1y ago
You're not being very precise about your exact issues. `nil` isn't anywhere as much of an issue in Go as it is in Java because not everything is a reference to an object. A struct cannot be nil, etc. In Java you can literally just
355.
▲
by
Mawr
1y ago
What do you mean by saying Java compiles just as fast? Do you mean to say that the Java->bytecode conversion is fast? Duh, it barely does anything. Go compilation generates machine code, you can't compare it to bytecode generation.
356.
▲
by
Mawr
1y ago
> I find myself wishing for Optional[T] quite often. Well, so long as you don't care about compatibility with the broad ecosystem, you can write a perfectly fine Optional yourself: type Optional[Value any] struct { value
357.
▲
by
Mawr
1y ago
Congratulations, you have found a few pain points in a language. Now as a scientific exercise apply the same reasoning to a few others. Will the number of issues you find multiplied by their importance be greater or lower than the score for
358.
▲
by
Mawr
1y ago
Nit: "For benchmarks I used the following libraries: <snip>". This is begging to be a table.
359.
▲
by
Mawr
1y ago
Suggestion to the blog author - put: > Here it is recording the build of a macOS app: > <gif> At the top of the page, it should be right under the header. You made a thing, so show the thing. You can waffle on about it later. J
360.
▲
by
Mawr
1y ago
Irrelevant. The actual key here is training the exact skills you need to do the job. No classroom instruction can ever replicate that. The best way to learn how to do something is to do it. There's no substitute.
More ›