Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Mawr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
811.
▲
by
Mawr
3y ago
Do you think you'd feel comfortable cycling, given proper infrastructure [1]? [1]: https://youtu.be/bMJaMy-0ChA?t=248
812.
▲
by
Mawr
3y ago
Buyers buy what's available and automakers comply with regulations. It's the regulations that need changing. Apparently in the US, it's easier for automakers to meet the efficiency requirements by increasing the weight of the
813.
▲
by
Mawr
3y ago
Okay, are you talking about protected (physical separation) or unprotected (paint on the road) bike lanes? The latter are unsafe [1][2][3][4][5] and therefore unused. It's usually safer for a cyclist to ride in the middle of the lane (
814.
▲
by
Mawr
3y ago
The best example is that even your curious question comes with a car-minded implicit assumption that it's the pedestrian who is crossing, not the car. In a pedestrian-centric design, cars are the ones who cross. See https://
815.
▲
by
Mawr
3y ago
Additionally, cyclists in the UK are not required to use dedicated bike paths.
816.
▲
by
Mawr
3y ago
With great power comes great responsibility. The responsibility for operating a dangerous vehicle lies on its operator, not on everyone else.
817.
▲
by
Mawr
3y ago
Perhaps the sedentary lifestyle is partially caused by the high car usage, so switching over to cycling would be beneficial.
818.
▲
by
Mawr
3y ago
Put up black-out curtains on your windows.
819.
▲
by
Mawr
3y ago
No mode of transportation is truly inherently better since they all have unique strong and weak points, but... Cars as the main method of transportation are obviously not good. They're too inefficient, no matter how you look at them.
820.
▲
by
Mawr
3y ago
How it works is well beyond my ability to answer, but I can attempt a guess on what the result looks like. Humans build complex mental models. As far as I can tell, LLMs don't. An LLM playing chess is only able to do so because it esse
821.
▲
by
Mawr
3y ago
Seems to me they've rightly figured that exceptions were a mistake and C had the right overall idea about error handling all along. Go essentially took C's error handling, such at is is, and improved it one step further, taking it
822.
▲
by
Mawr
3y ago
"With the currency being the same, I keep thinking a salary of $50k/year is the same as that of $500k/year. Are there any other actual differences?" Just as with performance improvements [1][2][3][4], the actual impact o
823.
▲
by
Mawr
3y ago
Yes, guns are dangerously unsafe, they're designed to cause harm. It's hard to reconcile that goal with the need for safety. That said, guns do have safeties - guarded trigger, safety switch, drop safety, etc. [1]. The general pri
824.
▲
by
Mawr
3y ago
It's not usually that hard because the higher level the decision, the more impactful it is on performance and the less a compiler will be able to bail you out. That's why you should start optimizing from the highest level and work
825.
▲
by
Mawr
3y ago
Only if the compilation speed difference is worth the loss of performance. That seems unlikely for most use cases because the speed gain is small while the performance loss is severe.
826.
▲
by
Mawr
3y ago
Not at all. The main way is to reduce pressure on the GC by reducing allocations, which is a fairly straightforward process thanks to good support from the tooling. Past that, you either call out to C via FFI or give up and rewrite in C
827.
▲
by
Mawr
3y ago
> Of course, there is massive overhead in doing so. Some concrete numbers for Go: • Calling C from Go: ~40-50ns [1] [2] • Calling Go from C: ~100-200ns [3] [1] "Cgo calls take about 40ns, about the same time encoding/json takes
828.
▲
by
Mawr
3y ago
Writing is very similar to programming indeed: "There is however a way to cheat our way into getting it right the first time: instead of designing a (piece of) program once, we can design it two or three times over, compare, and keep t
829.
▲
by
Mawr
3y ago
Concrete numbers you could expect (30-40W): https://youtu.be/usqSJ7zbTLQ?t=513
830.
▲
by
Mawr
3y ago
> The "criticism" never died down, Well, that's because the reason behind the criticism was never really the language. It was the attitude of its author and proponents. Sadly, this very thread proves that that attitude has
831.
▲
by
Mawr
3y ago
More like "Python got Pinterest to the point of being able to afford to spend extra $2M/year".
832.
▲
by
Mawr
3y ago
> This is a pretty realistic balanced real-world benchmark of web frameworks (and languages): https://www.techempower.com/benchmarks/ I can't take seriously a benchmark that doesn't even show memory usage.
833.
▲
by
Mawr
3y ago
Javascript got popular because it was the only option to program for the web. That's it. Python and other dynamic languages don't "automatically manage types", they just let you not write the types down in the code. The
834.
▲
by
Mawr
3y ago
The original question is "why python won". That in 2023 Ruby is 1% faster than Python is irrelevant. Historically, Python has always been faster than Ruby. That certainly didn't help Ruby gain ground over Python.
835.
▲
by
Mawr
3y ago
Yes, it's essentially UI/UX principles as applied to language design, with developers being the users. You want your users to be able to build reliable mental models of your interface [1]. The optional parentheses example is a goo
836.
▲
by
Mawr
3y ago
You don't, because the witness testimony is irrelevant on its own. Without knowing the alibi, there's no reason to think the OP being in SF is an issue at all. See https://youtu.be/d-7o9xYp7eE?t=1255
837.
▲
by
Mawr
3y ago
At least two more episodes: S03E04 & S0403. Probably a good way to find more: https://house.fandom.com/wiki/List_of_medical_diagnoses
838.
▲
by
Mawr
3y ago
How is that bias weird? It has a straightforward explanation - the visual system has an effect on reasoning. This, as well as other human biases, can be analyzed to understand their underlying causes, and consequently mitigated. LLM output
839.
▲
by
Mawr
3y ago
Binary size, yes, since that's just sequentially reading bytes from an SSD. What sucks about modern software is input latency and overall responsiveness.
840.
▲
by
Mawr
3y ago
> Even with vsync there’s up to one frame to recognize inputs, then another frame to produce new game state & submit the render, then 1 or 2 more for double or triple buffering, then maybe supersampling and/or denoising, then wh
More ›