Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mmirate
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
241.
▲
by
mmirate
8y ago
Yes, except for things that helpfully return "None" instead of raising an exception, on account of "not finding something is not exceptional behavior" or something like that. And since "raise" is a statement, y
242.
▲
by
mmirate
8y ago
That works well if your brain is specialized correctly to actually keep track of all this. During my undergraduate, I personally was semi-regularly accosted by strangers who knew me and, only after at least half a minute's conversation
243.
▲
by
mmirate
8y ago
In what way does IPv6 condone centralization more than IPv4? (My prior assumption was that IPv6's lack of strict need for NATs means that in an all-IPv6 world it is easier for anyone to run a server, versus today. But I don't spec
244.
▲
by
mmirate
8y ago
Previously discussed at https://news.ycombinator.com/item?id=4992748 and https://news.ycombinator.com/item?id=10418586 .
245.
▲
by
mmirate
8y ago
> I'd argue that the typecasting in that last paragraph may not be realistic. Brutal reductionism is a beautiful tool for cutting away all the fluff; seeing where different things are really multiple sides of the same die; and askin
246.
▲
by
mmirate
8y ago
> Every developer whom I spoke have similar feelings about the changes, they are minimal and if they use it, very frequent boiler-plate code could be dropped. These are of course developers that have been working with python for years an
247.
▲
by
mmirate
8y ago
Option is bubkes if the language itself still has the billion-dollar mistake; that's why F# and Scala are far less practical than OCaml. Python also has it with "None" (though since it is dynamically typed, it's arguable
248.
▲
by
mmirate
8y ago
sigh no, what Python should actually have is a way to compose fallible computations such that if any one should fail, the entire composition short-circuits and returns the error; while not needing each one to check its input for such a ca
249.
▲
by
mmirate
8y ago
> Want to elaborate that? Afaik, neither of them tries to imitate mathematics. Generally speaking, "f x" instead of "f(x)" meaning function application, types not being able to serve as namespaces for functions, argum
250.
▲
by
mmirate
8y ago
If Dijkstra were still alive and healthy, he probably would have amended his famous statement about BASIC so as to instead apply to PHP.
251.
▲
by
mmirate
8y ago
I'll grant that OCaml has a ghastly syntax that tries to be a pale imitation of mathematics but gets it even wronger than Haskell; that it has a lot of runtime overhead compared to C; and that what you gain for these sacrifices - namel
252.
▲
by
mmirate
8y ago
The issue contrariwise with most other languages that can achieve similar performance characteristics as Rust, is that if you don't think about your code in a similar level of detail as the Rust compiler can "think" about Rus
253.
▲
by
mmirate
8y ago
> If the government threw just as much money into civilian research, we'd likely get just as much good, without finding more efficient ways to kill each other. Do I understand correctly, then, that if we continue throwing that money
254.
▲
by
mmirate
8y ago
Independently of the train-of-thought of who you replied-to... Profits should indeed come before everything else. The previous sentence isn't a statement of politics, it's a statement of fact, and the only thing that can make it f
255.
▲
Hospitals to post prices online under new Trump administration rule
(washingtonexaminer.com)
3 points
by
mmirate
8y ago
|
0 comments
256.
▲
by
mmirate
8y ago
To be fair ... For any given programming task, there is a fixed (minimum) amount of work to do to solve it correctly, and the programmer's design choices merely decide the distribution of that work among the environment, the compiler,
257.
▲
Twitter Isn't Free Speech
(yours.org)
1 points
by
mmirate
8y ago
|
0 comments
258.
▲
by
mmirate
8y ago
But in this case there is a conflict between the agreement between IA and the content-submitter, and the agreement between IA and some political power.
259.
▲
by
mmirate
8y ago
Ah, but who defines what is a "mistake" and what isn't?
260.
▲
by
mmirate
8y ago
No, quick succession makes them easier to shoot down. Better to send them in simultaneously, as many as possible in a single volley. Maybe then, Venezuela will be free.
261.
▲
by
mmirate
8y ago
> CS departments have an ethical obligation to ensure access to these opportunities is equitable. Seems easier to make this sentence false than to attempt all the acrobatics that - according to this article - follow from it being true. S
262.
▲
How Coders, Not Drug Warriors, Are Preventing Opioid Overdoses and Saving Lives
(fee.org)
2 points
by
mmirate
8y ago
|
0 comments
263.
▲
by
mmirate
8y ago
It's unproductive and inefficient compared to any alternative, but calling it "evil" requires that the result be a monopoly power, and the only monopolies in the scenario here are the government itself and any exclusive con
264.
▲
by
mmirate
8y ago
> what do you expect these people to do when they get out? Two possibilities: 1. They find some legal way to sustain themselves, in which case - because society is currently biased against excons - society can easily negotiate a good bar
265.
▲
by
mmirate
8y ago
If something's more value -able to someone than to its current owner, then there will exist a mutually agreeable price at which that someone will be able purchase that something. Beyond that...?
266.
▲
by
mmirate
8y ago
> What is the value the jailer creates? People don't fear being sent to the hospital over an off-color remark. Thieves don't hold honest folk at their mercy. Arsonists haven't done an exact recreation of Sherman's Mar
267.
▲
by
mmirate
8y ago
> wrong things Says who? How does anyone make that kind of value judgment?
268.
▲
Reactions to 3D-Printed Guns Are a Great Example of Technophobia
(reason.com)
5 points
by
mmirate
8y ago
|
0 comments
269.
▲
by
mmirate
8y ago
The comment I was replying-to was also putting forth an ideological argument. (Or at least attempting to, via connotations.)
270.
▲
by
mmirate
8y ago
It was clearly a (slightly-malaprop'ed) reference to Marxism et al, which claims that the root of all evil is private property (which is actually the foundation of resiliently peaceful human interaction and trade). I'm not sure
More ›