Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dozzie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
108 ms
·
901.
▲
by
dozzie
9y ago
> we'd need to come up with another name to properly distinguish which "REST" we're talking about "Underspecified, broken half-implementation of RPC" is quite precise, but most of the programmers don't
902.
▲
by
dozzie
9y ago
Tabs would be better if (a) they were used consistently in the code base (very little people pay attention to whitespaces, so code degrades quickly with this regard) and (b) editors actually supported inserting tabs for indent and inserti
903.
▲
by
dozzie
9y ago
And punctuation checkers.
904.
▲
by
dozzie
9y ago
>> 1. It is not sensible to check more than a small chunk of data > You could just check the first X bytes. Also, I'm guessing curl doesn't print out to the terminal if the data is more than 2000 bytes anyway? Why wouldn&
905.
▲
by
dozzie
9y ago
Have you ever heard of this ridiculous idea of using offline documentation?
906.
▲
by
dozzie
9y ago
> Using exec has several benefits: > - The exit code of the wrapper will automatically become the exit code of wrapped_tool. Of course, you can achieve the same effect if you use set -e in the shell script. False. Exit code of the las
907.
▲
by
dozzie
9y ago
Well, try this for me, especially that you didn't use searchable terminology, so it's hard to confirm what you're saying. And then tell how much of that is important for typical code.
908.
▲
by
dozzie
9y ago
No. Sane engineering can secure IoT. Like, don't send sh&t to the internets.
909.
▲
by
dozzie
9y ago
Oh my, it looks atrocious. Almost every time I see something introduced in Python 3 I have an impression that current Python envies Perl its baroque semantics, except that Perl usually tries to guess what the programmer meant, while with Py
910.
▲
by
dozzie
9y ago
> Isn't it the whole point of blockchain? What "it"? Your question does not match anything I said.
911.
▲
by
dozzie
9y ago
It's more useless trend hype this way. Add also machine learning and big data to this "cloud software testing" thing.
912.
▲
by
dozzie
9y ago
> NNTP. [...] I guess the reason it never took off was that the backend mindshare and software ecosystem was poor. Oh, but it did take off. It was the most popular on-line group discussion place twenty years ago. NNTP (or rather Usenet
913.
▲
by
dozzie
9y ago
Blockchain-based.
914.
▲
by
dozzie
9y ago
It's much simpler than you would want to paint it. [dozzie@alojzy dozzie]$ `echo for` i in 1 2 3 4; do echo $i; done zsh: parse error near `do' [dozzie@alojzy dozzie]$ bash -c '`echo for` i in 1 2 3 4; do echo $i; don
915.
▲
by
dozzie
9y ago
> Yes, so what this does is timestamp transactions (in this case SQL DML) in a decentralized way between nodes that do not or cannot trust each other. All this while enforcing write permissions ('grants') that were agreed upon
916.
▲
by
dozzie
9y ago
> Well, using a blockchain just for timestamping is pretty much worthless in practice. Quite the opposite. Using blockchain for anything but timestamping is worthless, because there are faster and less resource-intensive protocols for
917.
▲
by
dozzie
9y ago
Congratulations. I've never seen so much effort put into so dumb and wasteful idea. Or at least, so dumb at the first sight. What's the point of using timestamping service (blockchain) to store data ?
918.
▲
by
dozzie
9y ago
How about just talking in English with them? What's left is spelling, and people who care about spelling usually speak fluently as well.
919.
▲
by
dozzie
9y ago
Uhm... No? Depends on what cron implementation you use, but neither Vixie cron nor dcron support that, and it's not mentioned in SUS.
920.
▲
by
dozzie
9y ago
Yeah, company can change. Can change people who work there.
921.
▲
by
dozzie
9y ago
The post fails to explain why , barring some generic ideas that can be applied just as easily to PostgreSQL or dedicated router.
922.
▲
by
dozzie
9y ago
> Fair enough, the common case is minification and concatenation. Or what else is it? The problem with the semicolon remains. If it is minification , then you already have a tool that process the code. The tool can easily just add the m
923.
▲
by
dozzie
9y ago
> Is it still considered a runtime dependency if all you do is merge code and deploy while relying on GitHub? It's not a runtime dependency, it's a stupidity to rely on random repositories from the internets when building and d
924.
▲
by
dozzie
9y ago
Like barbarians, with this old-fashioned thing called "documentation".
925.
▲
by
dozzie
9y ago
It's not a surprising result. You just run out of stack with your infinite recursion, and shells usually don't perform tail call optimization.
926.
▲
by
dozzie
9y ago
...until you realize that we still have this old-fashioned institutions called libraries .
927.
▲
by
dozzie
9y ago
More like reification of the very old problem from the times when we got threading API, with thread safety of functions that alter process-wide state (umask(), chdir(), sleep()), except now it's calls that alter some thread-specific th
928.
▲
by
dozzie
9y ago
"Recursive descent" is an ancient African expression meaning "I can't write grammars".
929.
▲
by
dozzie
9y ago
People from other domains call this "extrapolation", and it's generally quite well known thing with plenty of algorithms. I'm not sure if there is much to gain from AI. Probably another example of AI research looking for
930.
▲
by
dozzie
9y ago
> Python's growth in popularity is largely due to its superior data science libraries and the backing of Google. Both are false. Data science libraries are quite new development that happened because Python got popular, not the othe
More ›