Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vog
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
69 ms
·
661.
▲
by
vog
10y ago
Yes, these jobs are part of the Tertiary Sector [1], but maybe we should open up a Quaternary Sector for them. [1] https://en.wikipedia.org/wiki/Economic_sector
662.
▲
by
vog
10y ago
That's why I'd personally prefer Flow for that. It has a more elaborate type system anyway. [1] Moreover, Flow is pure annotation, which can be removed by Babel. And Flow is also backed by a large company (Facebook instead of Micr
663.
▲
by
vog
10y ago
Bash is not always /bin/bash. On some systems (BSDs) it is /usr/bin/bash. So the portable sh'bang line for bash is: #!/usr/bin/env bash And there you can't add "-eu" anymo
664.
▲
by
vog
10y ago
> All scripts should be run with "-eu". More specifically, every shell script should have "set -eu" at its second line, directly after the sh'bang line: #!... set -eu For debugging or logging purpo
665.
▲
Time Scrolling – Implementing XKCD “Borrow Your Laptop”
(tedunangst.com)
1 points
by
vog
10y ago
|
0 comments
666.
▲
Missing features as features
(tedunangst.com)
2 points
by
vog
10y ago
|
0 comments
667.
▲
by
vog
10y ago
> evangelizing the data consumer's point of view Note that this is a fundamental principle in software development, not just for data science: Prefer data structures that are simple to interpret over those simple to generate
668.
▲
by
vog
10y ago
Note that the well-designed ORMs have a good query builder that can be used on its own. For example, I've heard many people use Python's SQLAlchemy just to have a more sane SQL syntax. (See also my other comment: https:/
669.
▲
by
vog
10y ago
> You can only go so far with SQL as far as readability goes This. Exactly this is the problem. SQL as a language fails to provide you with simple means of composition. And this is where libraries like Python's SQLAlchemy come int
670.
▲
by
vog
10y ago
> Once we know how to do something reliably, it stops being AI and just becomes "an algorithm" :) This. AI is a moving definition and always seems to be "What we can't do right now."
671.
▲
by
vog
10y ago
Serious question: What is the alternative to an insurance? The worst case would be that everybody saves huge amounts of money on their own, not touching it, for the case of a catastrophic event. If the catastrophe doesn't happen, or no
672.
▲
by
vog
10y ago
Good point! My first reaction was: This is insane. Nobody is perfect. Let's try to reduce the bug rate to 1 bug / 100,000 LOC and we have achieved more than we can hope for. However, thinking more about it, if you have a system wi
673.
▲
by
vog
10y ago
For those wondering, like me: With "radicals" they mean normal software development, but with "radical simplicity". However, this doesn't sound very radical to me. There are lots of simplification movements, and hav
674.
▲
US reporters praise German journalists for questioning Trump
(dw.com)
3 points
by
vog
10y ago
|
0 comments
675.
▲
by
vog
10y ago
> The hard part here is not finding a set of programs that always halt [...], but proving that they are correct (I'm pretty sure equivalence of primitive recursive functions is undecidable). This may be true, but: If you use primi
676.
▲
by
vog
10y ago
I'd rather see this money used for increasing software security through all layers. [1][2] See, all these vulnerabilities started as major or minor bugs. And these originate from somewhere. While 100% bugfree software may be too hard t
677.
▲
by
vog
10y ago
It seems there's only a small overlap between the people suffering and the people being able to solve this. If a "normal" web developer struggles with that, they can provide JavaScript workarounds, perhaps many, but they usua
678.
▲
by
vog
10y ago
Technical question: What are .lz files? Is this LZMA compression? If so, why not using the more popular .xz format?
679.
▲
by
vog
10y ago
> safety and effectiveness of this procedure is unknown, all three patients received injections in both eyes I hope this is not too cynical, but I guess they even got a discount on making their two eyes in one run. This really sounds l
680.
▲
What's wong with Markdown (New mandoc -mdoc -T markdown converter)
(undeadly.org)
3 points
by
vog
10y ago
|
0 comments
681.
▲
by
vog
10y ago
Good point. I believe Sweden is quite close to this vision. More generally, certain goods need to be owned by the community, such as infrastructure. Privately owned streets are a nightmare, and so are pipes and fibers. Almost by definition
682.
▲
by
vog
10y ago
> All these faults seem to me to be the result of inadequate use of types. This was my first thought, too. The examples he showed were not particularily complex, but mostly badly designed interfaces between components. A function that
683.
▲
by
vog
10y ago
For those wondering how he did that (like me), this is the relevant CSS part (formatted for better readability): a:hover::before { content: attr(href); position: fixed; bottom: 0px; left: 0px; ... }
684.
▲
by
vog
10y ago
> You'll end up reading code if you work on code. This. Also, you'll have a more goal-directed path through the code, which is usually more motivating than understanding code for the sake of understanding. Of course, there&#x
685.
▲
by
vog
10y ago
Or, quite often, you read it because you want to change it - to extend it or to fix a bug.
686.
▲
Features are faults redux
(tedunangst.com)
47 points
by
vog
10y ago
|
11 comments
687.
▲
New mandoc -mdoc -T markdown converter
(undeadly.org)
2 points
by
vog
10y ago
|
0 comments
688.
▲
by
vog
10y ago
> Plus the idea here isn't to increase the strength of the overall construct I see. If that wasn't a design goal, this construction is sound.
689.
▲
by
vog
10y ago
> Also you can work around that by hashing the entire uses password (with say SHA-512) prior to inputting into bcrypt. I wonder why people are so eager to combine different hash algorithms, especially a strong with a weaker one. If thi
690.
▲
by
vog
10y ago
> Oh dynamically setting class isn't silly Oh, so I misread your sentence. Thanks for the clarification. Sorry for the noise.
More ›