Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Joker_vD
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
301.
▲
by
Joker_vD
5mo ago
I don't believe Python's urllib has a function that takes what HTTP terms an "origin-form" (an absolute path with possibly a query attached to it with "?") and parses it apart. Still, the RFC 9112 that defines
302.
▲
by
Joker_vD
5mo ago
In my experience, the reader mode works perfectly fine for sites like that (it worked for that one site I mentioned in my original comment as well) both in Chrome and Firefox.
303.
▲
by
Joker_vD
5mo ago
I remember seeing a website that had <html style="font-size: XXX%"> for the top-level element, and had JS that would dynamically recalculate that percentage on every resize event to keep the visual font size almost (exactly)
304.
▲
by
Joker_vD
5mo ago
Yeah, that's why the EU-designed API doesn't work that way.
305.
▲
by
Joker_vD
5mo ago
Ah, so it's a so-called "high-level assembler" like PL/360 [0] for System/360 or PL-11 [1] for PDP-11? The problem with such languages is, well, C has killed them pretty thoroughly. You can take PCC, or LCC, or Tiny
306.
▲
by
Joker_vD
5mo ago
Some BCPL dialects/implementations used underscore instead of := for assignment. MUD 1 was written in such a dialect, see e.g. [0]; also, note that it allowed the use of "." in identifiers. [0] https://github.com&#
307.
▲
by
Joker_vD
5mo ago
Yep. Strategy Letter V by Joel Spolsky (2002): "Smart companies try to commoditize their products' complements". Also, from the 2004's "How Microsoft Lost the API War": The logical conclusion of this is t
308.
▲
by
Joker_vD
5mo ago
What, you don't know what's the difference between "emphasis" and "bringing attention to"? Shame on you, shame on you: you're unworthy to write HTML. The difference, of course, is that one is a Latin word,
309.
▲
by
Joker_vD
5mo ago
You're joking, right?
310.
▲
by
Joker_vD
5mo ago
> Tools that detect "am I in a TTY" via isatty() behave differently from tools that stat() stdin Wait, how do you even use fstat's output to find out if the file is a tty? Although in my experience the "funniest"
311.
▲
by
Joker_vD
5mo ago
Frankly, the way the functionality needed to implement LF-to-CRLF conversion on output/CR-to-LF conversion on input/line editing/session and process management is split between the terminal itself, the kernel, and the applica
312.
▲
by
Joker_vD
5mo ago
> It's up to government to regulate, tax, and take care of its citizens. As any even minimally-educated Marxist would tell you, yes, this is all are the tools of the government, but its goal is to serve the upper class. If givin
313.
▲
by
Joker_vD
5mo ago
Yep. You apparently need HTTPS for intranet resources too, or you can't develop/use web-apps in Chrome, and since no self-respecting CA would certify your localhost, internal homegrown CA it is, baby — and given the web runs on th
314.
▲
by
Joker_vD
5mo ago
The site owners could do all of that even with HTTPS, and no-one would revoke their certs. Just saying. And the best Windows malware is actually digitally signed.
315.
▲
by
Joker_vD
5mo ago
> How come? Well, you gotta spend the eternity somehow, so maybe the soul just got bored and started inventing miserable experiences for itself. Yes, it's ridiculous.
316.
▲
by
Joker_vD
5mo ago
This side is traditionally called "idealist", and it usually very quickly collapses into solipsism of different varieties. There is not much you can show against the "there is a single existing soul that has many different pe
317.
▲
by
Joker_vD
5mo ago
Yep, and that makes implementing addition of "Connection: close" in an HTTP reply at the HTTP/1.1-server's side somewhat tricky: you ideally need to read all of the pipelined requests from the client before closing the
318.
▲
by
Joker_vD
5mo ago
> Send off the data and close the socket. If there's data still pending to be read, this will cause a RST , I think. Um, yes? That's how TCP has been universally implemented for more than 30 years. See [0], 2.17 for discussion
319.
▲
by
Joker_vD
5mo ago
What does this say about Forth? Not much except that it isn't for me. Take Prolog. I know few things more insulting than having to code in Prolog. Whereas Armstrong developed Erlang in Prolog and liked it much better
320.
▲
by
Joker_vD
5mo ago
> Then query it like so: SELECT DISTINCT pokemon, special_attack FROM pokemon as p WHERE p.special_attack > 120 AND EXISTS ( SELECT 1 FROM pokemon_moves as pm WHERE p.pokemon_name = pm
321.
▲
by
Joker_vD
6mo ago
> the court backlogs rising Well, I guess they'll have to raise the custody time limits to something more reasonable then, like a year or so. I mean, as long as you get a trial eventually, this is fine, right?
322.
▲
by
Joker_vD
6mo ago
Well, Orwell wrote about what he knew.
323.
▲
by
Joker_vD
6mo ago
> Malawi needs to drop tobacco as their main export That's the product they have most comparative advantage in producing. You're literally suggesting they should cut their income down, and try to get better at something else.
324.
▲
by
Joker_vD
6mo ago
"No, he's observing individuals from a group/ethnos and then extrapolating their quotes to the whole of the group/ethnos. You shall not extrapolate when dealing with people, you know."
325.
▲
by
Joker_vD
6mo ago
And if then you compare it to e.g. Python (or JS) ecosystem, well. It's all very relative, isn't it?
326.
▲
by
Joker_vD
6mo ago
Just seven hours ago there was a plea on HN [0] to please not do this. Seriously, what are they smoking at Google right now? [0] https://news.ycombinator.com/item?id=48107027
327.
▲
by
Joker_vD
6mo ago
> The U.S. was born out of Puritanism. That reminds me: apparently, the Puritans have actually managed to ban the celebration of Christmas and other church feasts in the Britain during the English Interregnum (An Ordinance for Abolishing
328.
▲
by
Joker_vD
6mo ago
> We decided at some point that these themes were no longer fit for children despite generations having been raised with it. On one hand, if we want the children to grow up into the better world, and for them to keep making it better as
329.
▲
by
Joker_vD
6mo ago
> because it affects society in material ways. I'm fairly certain the word for that is "economical". Of course, the politics grows out of the economical relationships, but they are still different things: changes in tech
330.
▲
by
Joker_vD
6mo ago
> But again, why, what do you gain? Performance? Codegen simplicity? Why, again, must one use the syscall ABI for anything that is not a syscall? > that ABI presumably has a representation for strings and allows passing them around In
More ›