Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
necovek
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
481.
▲
by
necovek
7mo ago
I am a bit perplexed at your claim that end-to-end tests are not fragile in general (my claim) with a counter how you spent a decade on not making them fragile in one particular case? I am not disagreeing most projects evolve test suite
482.
▲
by
necovek
7mo ago
Waymo uses new cars which probably have 100km/h (62mph) to zero stopping distance around 36m (120ft) — that's what my 2020 car quotes and tests at. As stopping distance grows quadratically, from 50km/h it would have stopped i
483.
▲
by
necovek
7mo ago
You are right that I did not read it the same way, and yes, the unwritten rules are matching in Serbia. FWIW, I've mostly switched to using left-turn signal to indicate "I'd like to overtake", which I've seen done o
484.
▲
by
necovek
7mo ago
The poster who claimed they are super careful also followed that with: So the Waymo safety record is actually not their own achievement. The fact that someone adapts their behaviour (regardless in what direction) still supports that
485.
▲
by
necovek
7mo ago
You seem to confirm the point that you adapt your behavior in presence of Waymos, even if you believe it is in the other direction.
486.
▲
by
necovek
7mo ago
You seem to be thinking this is compared to median driver, and not average one: if most accidents are caused by small number of bad drivers, your average will be bad, but even median might still be good. And this does not even compare the d
487.
▲
by
necovek
7mo ago
At highway speeds, engine, road and wind noise usually make horns inaudible. In Serbia, on top of get-out-of-my-way, it's also used to signal go-ahead, but also "police with speed radars ahead" to incoming traffic.
488.
▲
by
necovek
7mo ago
A new version rolling out fast and starting to crash will likely kill the program altogether (like it did for some competitors). 10 years down the line, they won't have that risk.
489.
▲
by
necovek
7mo ago
Depends on how you define "average driver": what if 95% of the crashes are caused by 5% of the drivers? My reading of all the human crash stats has been that majority of them happen when human drivers are impaired (drunk, drugged
490.
▲
by
necovek
7mo ago
If instant (<50ms) reaction would have lowered the speed only to 40km/h in 10m, Waymo was going too fast for the intersection IMO. My experience is that for a human driver to react quickly in city driving conditions, style and prep
491.
▲
by
necovek
7mo ago
Since we are a bit nitpicking here, I'd also say don't reward skill, but actual value instead. You can have someone very skilled who is all smarty-pants and derails anyone wanting to actually, you know, do something. Thus I'
492.
▲
by
necovek
7mo ago
Taken to its logical conclusion, what you are saying is do not write (or commit? but in practice, why write them if not to run in CI) any tests except for end-to-end tests covering actual use cases. In theory, even make them generic enough
493.
▲
by
necovek
7mo ago
While you are right that you need to be encoding the right details, I disagree on the tests enforcing a design point. As part of the proper testing strategy, you will have tests that cover individual behavior of a small block/function
494.
▲
by
necovek
7mo ago
Problem intrinsic to gambling is that people appropriate expected winnings instead of what they really put in, thus making the feeling of loss even greater than what it objectively is.
495.
▲
by
necovek
8mo ago
I would say that most of the video file formats today are a bit like that too: they allow different stream data encoding schemes with metadata being the definition of a particular format (mostly to bring up a more familiar example that is n
496.
▲
by
necovek
8mo ago
I wonder what the combined speed would be for small to mid-sized text files if they were fully loaded into memory first? That swaps multiple random-accesses for single sequential read (even if sequential is not really with flash memory, it
497.
▲
by
necovek
8mo ago
Instead of trying to get at the same origin point, I usually just keep the selection active and then go to "Selection" menu and choose either "Shrink" or "Expand" options (or similar language: I use a localized
498.
▲
by
necovek
8mo ago
It used to be even simpler, though I am sure it caused all sorts of problems: for any Gtk+ program, if you hovered over a menu and pressed a new key combination, it would reassign the shortcut for that menu to what you just pressed. You st
499.
▲
by
necovek
8mo ago
Nope, not cheap in my comment means expensive to implement: defining the XML schema, which has been done by someone else, and then using that schema properly, is what makes use of XML expensive (it is a lot of things to learn for more than
500.
▲
by
necovek
8mo ago
As discussed in the thread, the author has not dove deep into schema validation, but the org does use it. Ignoring that part of schema definition and subsequent validation is exactly why it seems "cheap" on the surface. So, TWE is
501.
▲
by
necovek
8mo ago
Funnily enough, XML was an attempt to simplify SGML so it is easier to parse (as SGML only ever had one compliant parser, nsgml).
502.
▲
by
necovek
8mo ago
You are right that your other examples (like s-expressions) are actually better than going with a fully custom language. But as you note elsewhere, you were benefiting from the schema (DTD or XSD) being done elsewhere, which provided at lea
503.
▲
by
necovek
8mo ago
If you do not go with DTD or XSD, you are only doing XML lookalike language, as these are XML mechanisms to really define the XML schema: a compliant parser won't be able to validate it, or maybe even to parse it. Thus people go with c
504.
▲
by
necovek
8mo ago
FWIW, this is also one of the reasons MathML has never become the "input" language for mathematics, and the layout-focused (La)TeX remains the de-facto standard. Ergonomics of input are important because they increase chances of i
505.
▲
by
necovek
8mo ago
XML is notoriously expensive to properly parse in many languages. Basically, the entire world centers around 3 open source implementations (libxml2, expat and Xerces), if you want to get anywhere close to actual compliance. Even with them
506.
▲
by
necovek
8mo ago
The fact that they are easily spoofed is of no consequence for this use-case: entering an invalid 2FA code will simply fail to log you in into your banking. You should obviously not follow a link from an email that is not obviously coming
507.
▲
by
necovek
8mo ago
As someone who did Python professionally from a software engineering perspective, I've actually found Python to be pretty crappy really: unaware of _good_ idioms living outside tutorials and likely 90% of Python code out there that was
508.
▲
by
necovek
8mo ago
Exactly, 8 years ago last summer. Today it still happily recommends me take the "fastest" route through a street that's under construction for 2 months now in the biggest city in Serbia. A week ago it happily tried to take m
509.
▲
by
necovek
8mo ago
Agreed: the opportunity to be taken to a rocky dirt road through swamp grounds on the outskirts of a small town in Greece is something I'd never get if not for Google Maps :) (and many similar stories) I only use Google Maps for their
510.
▲
by
necovek
8mo ago
Depends on how you define "learn": usually, a company wanting to rebuild and publish something under a different license prohibits their developers from having ever looked at original code, to avoid the risk of copying over exact
More ›