Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jjnoakes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
481.
▲
by
jjnoakes
6y ago
One thing I like about textual diagramming tools (in code like this project or in a markup dsl) is I can version control and diff changes.
482.
▲
by
jjnoakes
6y ago
I don't think we are claiming what you say we are claiming. I know I'm only responding because of your claim that you can know what your code does even in the face of undefined behavior. I think this more accurately describes my p
483.
▲
by
jjnoakes
6y ago
The point is not to fear undefined behavior (though if my software was used in safety systems, I would fear undefined behavior). The point is to eliminate it because it can cause problems in even the most well-tested code, either when the c
484.
▲
by
jjnoakes
6y ago
There is a ton of software out there that is riddled with bugs. Much of it is run behind closed doors, isn't exposed to attack vectors like the internet, and happily churns along because no one is trying to attack it. Lots of other sof
485.
▲
by
jjnoakes
6y ago
We will have to agree to disagree. Fully understanding what a program might do if there is undefined behavior is not trivial. It requires basically reviewing and fully understanding the output assembler for every single build. Any change in
486.
▲
by
jjnoakes
6y ago
> If your software runs always on the same platform then you can know what the behavior would be. This is not necessarily true, and I consider it to be a harmful misconception. I think people under-react to "undefined behavior"
487.
▲
by
jjnoakes
6y ago
I'm not sure I'm convinced, though the idea is interesting. I feel like if I was refactoring a function and that refactor had a small ripple effect - say I didn't have to change any data structures outside the function and di
488.
▲
by
jjnoakes
6y ago
> When prototyping with Go, I constantly have to move back and forth between the type definition and the places I'm using the type. I do the same but I don't feel slower doing it. I mean I have to move around between function b
489.
▲
by
jjnoakes
6y ago
I never really understood this. You still program with types when hacking out a small project with NodeJS. How does moving type errors from compile time to run time help you move faster? It always made me move slower. Honest question.
490.
▲
by
jjnoakes
6y ago
The code gets bug fixes occasionally because things change (scaling past previous limits, changes in the environment, etc) and of course new features are required once in a while. So the debt usually can't be swept under any carpets. A
491.
▲
by
jjnoakes
6y ago
And on the third hand companies I've worked with had 25-year-old C code bases that seemed to compile and mostly work, but mostly only with -O1 or lower, because they've had UB since the beginning of time but only more recent compi
492.
▲
by
jjnoakes
6y ago
^W is delete-word
493.
▲
by
jjnoakes
6y ago
I fully agree. I support the right to repair, I just disagreed with the specific analogy.
494.
▲
by
jjnoakes
6y ago
The injuries usually have different causes though. For car accidents there is usually human action or inaction at fault. It is possible for parts to be at fault but that's the minority of cases. For phone injuries it is usually a fault
495.
▲
by
jjnoakes
6y ago
Not op but it sounded like it was scheduled downtime so perhaps it was meant as a per-system number and either redundancy kept the availability higher or the service wasn't needed when downtime was scheduled (overnight, weekends, etc)
496.
▲
by
jjnoakes
6y ago
That's one of the non-technical reasons for sure.
497.
▲
by
jjnoakes
6y ago
Only if you need to use Facebook login. I think the point is that lots of non-facebook apps could implement non-facebook login and avoid Facebook all together but they don't for various non-technical reasons.
498.
▲
by
jjnoakes
6y ago
Moving along the x axis is the same as time though.
499.
▲
by
jjnoakes
6y ago
Say you write a library which opens a file.
500.
▲
by
jjnoakes
6y ago
Is that really idiomatic? I don't write much erlang but it seems like that wouldn't work for any code shared between two processes, one transient and one permanent.
501.
▲
by
jjnoakes
6y ago
Only if the targeted shootings happen in random places. I haven't checked but I'm skeptical that that is the case.
502.
▲
by
jjnoakes
6y ago
The DC shootings were mostly random; are most Chicago shootings random? If not then I don't think it is a fair comparison. I'm not arguing for or against your reasoning, but I know I would be more worried about infrequent random s
503.
▲
by
jjnoakes
6y ago
I'm not advocating for or against, but one big difference is that with a mnemonic you don't need access to your password manager to be able to log in somewhere.
504.
▲
by
jjnoakes
6y ago
It doesn't have to be properly known; to me it doesn't matter how rare it is. A single instance of the latter case is enough for me to find an alternative if one is available.
505.
▲
by
jjnoakes
6y ago
What matters to me is how the screw ups are handled. If I can make a few phone calls, verify some ai-flagged transaction is legit, and clear things up in a few days max, then the occasional screw up is just a fact of life. If I have to talk
506.
▲
by
jjnoakes
6y ago
No argument here, but you've changed from "percent women who develop early stage breast cancer per month * number of months closed per year" (which I responded to) to "percent early stage breast cancer cases caught per m
507.
▲
by
jjnoakes
6y ago
My friends and I do this a lot on board game arena - it's nice because you can only make legal moves there (and trying to make an illegal move usually faces you with some context as to why it is illegal), so it's easy to explore p
508.
▲
by
jjnoakes
6y ago
That only makes sense if a woman gets screened monthly, which they don't.
509.
▲
by
jjnoakes
6y ago
There's quite a huge difference between undefined behavior (dereferencing NULL or indexing out of bounds) which can lead to remote code execution and other super nasty bugs, and runtime checks which panic and abort the process reliably
510.
▲
by
jjnoakes
6y ago
In my experience python is strongly typed as well - unless you meant something more nuanced?
More ›