Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cygx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
481.
▲
by
cygx
6y ago
whereas controlled fusion has been "10-30 years away" for the last 60 (?) years One standard internet response to that is this graph[1]. No funding, no results. The international community decided to pool ressources with ITER. T
482.
▲
by
cygx
6y ago
If "doing just fine" is code for "5-10 times worse than their nearest neighbours" (in terms of deaths per capita), sure.
483.
▲
by
cygx
6y ago
Here are the deaths per 1M for few countries around Sweden's death number. Why that restriction? Let's expand your list a bit more, shall we: * Portugal 142 * Germany 103 * Denmark 100 * Austria 75 * Finland 58 * Norway 44 * Cze
484.
▲
by
cygx
6y ago
https://areomagazine.com/2018/10/17/a-review-of-explaining-p...
485.
▲
by
cygx
6y ago
Great minds think alike. My userChrome.css now looks like this: https://pastebin.com/L0PWz5BG Note that this also removes the search stuff from the dropdown list, which may or may not be what you want (I prefer the separate
486.
▲
by
cygx
6y ago
At even small scales, simply printing a book costs close to nothing. I don't think that's true. As far as I'm aware, we're talking dollars, not cents. For mass-market paperbacks, it's less than that, but that'
487.
▲
by
cygx
6y ago
Please clarify: Are you against the practice of controlled digital lending of books scanned from physical copies in general, or do you merely have issues with the 3 months of unrestricted lending?
488.
▲
by
cygx
6y ago
Please don't strawman the IA's position. They suspended the waitlist of (parts of) their library collection for 3 months during a global pandemic that necessitated the closure of physical libraries. The books still cannot be redis
489.
▲
by
cygx
6y ago
So does the IA during normal operation.
490.
▲
by
cygx
6y ago
They suspended their waitlist until June 30 ("or the end of the US national emergency, whichever is later") in response to library closures.
491.
▲
by
cygx
6y ago
This vulnerability predates websockets (in fact, you can exploit it even without Javascript) - they just make things more convenient. Apparently, the shit hit the fan a while ago, prompting Opera to implement 'cross network protection&
492.
▲
by
cygx
6y ago
If it wants to, sure. In fact, that already happened last year, cf https://www.dw.com/en/russia-starts-giving-passports-to-ukra...
493.
▲
by
cygx
6y ago
As far as the standard goes, it's just a name you're not allowed to define yourself with external linkage.
494.
▲
by
cygx
6y ago
Hence standard library function names are "reserved for use as identifiers with external linkage", ie unless your implementation is 'freestanding', you're not allowed to re-define them. The code above does not do so
495.
▲
by
cygx
6y ago
It's the Johns Hopkins University CSSE dataset, and recovered cases are indeed not properly tracked for some countries. But you can just look at the crude numbers of confirmed cases and fatalities to see that the situation in Germany a
496.
▲
by
cygx
6y ago
I provided links plotting daily numbers for various countries in my other comment. Just compare https://covid.observer/gb/#daily https://covid.observer/se/#daily to eg https:/&
497.
▲
by
cygx
6y ago
Like the British numbers, the Swedish ones have yet to peak, and they are at 0.4/1000 fatalities (ie four times the German numbers I cited in my sibling comment). If your primary goal was prevention of loss of life, the Swedish approac
498.
▲
by
cygx
6y ago
Yeah, your list kind of lacks nuance. Eg compare https://covid.observer/de/#daily to https://covid.observer/gb/#daily and https://covid.observer/de/#per-cap
499.
▲
by
cygx
6y ago
Depends on whether the mechanism you're comparing it to has a cryptographic verfification step, or not. On the flip side, a script may be short enough to manually audit.
500.
▲
by
cygx
6y ago
Instead of merely printing 'ok', the page can request a resource from a server you control, eg via an <img> element. You could probably even automate this via <meta http-equiv="refresh">, along the lines of (
501.
▲
by
cygx
6y ago
NoScript isn't sufficient to protect you from this. Eg write a simple HTML file like <link rel="stylesheet" href="http://127.0.0.1:42"> ok If it takes different amounts of time for the p
502.
▲
by
cygx
6y ago
That's called 'long polling'. You can also leverage HTTP 1.1 chunked transfers. Cf https://en.wikipedia.org/wiki/Comet_(programming)
503.
▲
by
cygx
6y ago
Trying to patch that fundamental behaviour is hard. There's prior art for this, though: https://web.archive.org/web/20121001002815/http://my.opera.c...
504.
▲
by
cygx
6y ago
Found the non-Perl programmer (the sigils for scalars, arrays and hashes are $, @ and %).
505.
▲
by
cygx
6y ago
Yet I think right now it's cool to shoot on PHP This is not a recent thing, it has always been cool to mock PHP. It's not entirely unwarranted, but most programming languages have their own warts. For example, for some reason,
506.
▲
by
cygx
6y ago
If the user has a web-socket-server running (for example because he is a developer) could the page read from it? Only if that server chooses to accept the request, which it can decide based on the Origin header. Personally, I was more con
507.
▲
by
cygx
6y ago
But note that a simple <img src="http://127.0.0.1:8080"> should do so as well, ie this is just the newest iteration of an old problem that the major browser vendors never chose to properly address - with t
508.
▲
by
cygx
6y ago
But you still have to make sure all programs bound to local ports handle WebSocket requests gracefully. Binding to 127.0.0.1 is a nicely cross-platform way to do inter-process communication (I've done so in the past to mitigate JVM sta
509.
▲
by
cygx
6y ago
'Interpreted' is often used to mean 'not compiled to machine code'. Perl fits that bill. So do, say, CPython and Lua, in contrast to JIT-compiling runtime systems like PyPy or LuaJIT or AOT-compiled languages like C or R
510.
▲
by
cygx
6y ago
I have not considered your idea of servers where users can create their own access-controlled groups [...] One of the properties of traditional Usenet I don't like is that creating groups isn't a matter of minutes, but a matter
More ›