Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
diarrhea
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
631.
▲
by
diarrhea
6y ago
If people didn't allow macros in Excel, stayed in read-only mode in Word and only opened sandboxed PDFs (convert to images in sandbox, OCR result, stitch back together), we would see a sharp decline in successful breaches. But that wou
632.
▲
by
diarrhea
6y ago
My defenses are multiple layers of obscurity.
633.
▲
by
diarrhea
6y ago
Disclaimer: I don't know anything. > Python is also said to be beginner friendly and easy to learn but in fact there are a lot tricks hidden somewhere and if you want to be a professional python programmer, there are lots to learn
634.
▲
by
diarrhea
6y ago
Interesting! Agurk has a point as well. All I know and was saying that in my field (engineering thermodynamics... in some sense the field on this topic), people feel very strongly about "compressor -> compressible fluid" and
635.
▲
by
diarrhea
6y ago
> What we call a turbocharger today has two turbines in it - one that is spun by the exhaust gasses and a second one that compresses the incoming air. These two turbines are directly connected. That's incorrect, a turbocharger has
636.
▲
by
diarrhea
6y ago
Exactly, but GP's > "turbine supercharger", whether driven by the crankshaft or by the exhaust. made it sound like there's "crankshaft-driven turbine superchargers", which I stumbled over.
637.
▲
by
diarrhea
6y ago
So when you have such a turbine supercharger driven by the crankshaft, what does the turbine do at all?
638.
▲
by
diarrhea
6y ago
Ah damn, woops. How undo?
639.
▲
by
diarrhea
6y ago
Exactly. That is also why claiming to only do "SOOC JPG" is ill-informed. People claiming it don't understand the process: to even produce a JPG, there has to be a process of interpretation already taking place. When I volu
640.
▲
by
diarrhea
6y ago
Is that number accurate? If so, I think it's wild (no pun intended) that humankind knows the exact number of animals of that species, globally.
641.
▲
by
diarrhea
6y ago
What makes it better than latexmk? I use the latter extensively and am quite happy with it. The listed advantages of Tectonic are somewhat debatable: > Tectonic automatically downloads support files I use a full TeXLive distribution in a
642.
▲
by
diarrhea
6y ago
I've been extremely happy with the TeX Gyre family. Its Pagella font comes with a math sibling and both together cover a wide range of symbols at high quality.
643.
▲
by
diarrhea
6y ago
Wait, a 4 times markup for having Windows installed? That doesn't compute.
644.
▲
by
diarrhea
6y ago
Perhaps they paid for it and it's a sunken cost fallacy.
645.
▲
by
diarrhea
6y ago
The title makes it sound like it's going to be on functional programming.
646.
▲
by
diarrhea
6y ago
> The Python problem is that you cannot reuse the same function name easily for different types. Hence instead of creating one abstraction across many different types you need to invent all these different names which can be hard to gue
647.
▲
by
diarrhea
6y ago
How did you randomly dig that up? That's a somewhat hidden entry.
648.
▲
by
diarrhea
6y ago
Yeah, but I moved out of Germany for other reasons.
649.
▲
by
diarrhea
6y ago
No, setting up ingress did. Couldn't get reverse-proxying to work.
650.
▲
by
diarrhea
6y ago
Are you having a bad day? I am talking about a homelab , a single server at home, for home use. It's much safer now, with Docker compose, because I understand it and I wrote the core exposed part's configuration, the Caddyfil
651.
▲
by
diarrhea
6y ago
Mind sharing a bit more on your home setup? Asking because I never saw the point in multiple container replicas for simple self-hosted stuff. One container each has served me well so far [0] (Nextcloud, Bitwarden, GitLab), and if they crash
652.
▲
by
diarrhea
6y ago
A friend of mine is a contributor to k8s itself, and of course, this all comes incredibly easy to them. Following their recommendation, I gave it a shot for my single-person, single-node (!) homelab, all without using MicroK8s, k3s or simil
653.
▲
by
diarrhea
6y ago
Yeah this has me confused as well, why is nobody talking about that here? In Python, it's literally just a line of text, an instruction to import something. If that thing doesn't exist, too bad. The user is responsible for supplyi
654.
▲
by
diarrhea
6y ago
Generators aren't only used in the context of coroutines.
655.
▲
by
diarrhea
6y ago
> tiddyverse That is not what you meant to say.
656.
▲
by
diarrhea
6y ago
`ipython -i <script>` also works similarly for debugging, by having the powerful interpreter open after running the script, without the jupyter overhead.
657.
▲
by
diarrhea
6y ago
Don't know about large scales, but just today I threw together a script using selenium, imported pandas to mangle the scraped data and quickly exported to json. For quick and dirty, possibly one-off jobs like that, Python is a great ch
658.
▲
by
diarrhea
6y ago
It says there > In 1990, The New York Times, which had submitted his works for the prize in 1932, wrote that his later articles denying the famine constituted "some of the worst reporting to appear in this newspaper". What do y
659.
▲
by
diarrhea
6y ago
> you couldn't really tell there's something wrong with them. Okay, but is there? The way you're phrasing it sounds that merely posting to 4chan makes them abnormal. The other way around is true: there's an unusually
660.
▲
by
diarrhea
6y ago
I'm not sure there's much of an overlap. Incels are a rather small group, and I think most wallstreetbets users are surprisingly... normal. You can't bet on stocks if you're poor. So you'll have lots of mid/lat
More ›