Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
minitech
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
241.
▲
by
minitech
5y ago
> First off, you're plain wrong about Python They’re not. The syntax was changed sometime between Python 3.8 and 3.10 to stop working (which should be a big hint about the consensus here). As I suspected, that it worked was accident
242.
▲
by
minitech
5y ago
> I get that you're being purposefully obtuse or whatever Fuck off. :) > but in just about every sane language (not to mention plain-old mathematics), extraneous parentheses don't behave like this Sure they do. They imply th
243.
▲
by
minitech
5y ago
I read that fine the first time. It’s exactly the behaviour I would expect and would have specced. Splat as an actual operator doesn’t make sense; it’d have to produce some kind of horrible magic value. Engines might be able to improve the
244.
▲
by
minitech
5y ago
Personal opinion: none of the syntax or results in your blog post were confusing, other than square brackets looking confusingly like curly braces in the font. It’s how splat works in every language I’ve used. “This operation that doesn’t m
245.
▲
by
minitech
5y ago
Rust software is free of entire classes of bugs by default, by design, and the language lends itself to patterns that eliminate even more.
246.
▲
by
minitech
5y ago
What is "out by 2 case" quoting? > most notably for 'word-size' remainders the compiler most certainly does not evaluate the division then work out the remainder I guess you're referring to this part of the artic
247.
▲
by
minitech
5y ago
If you don’t use ungoogled-chromium, you’re presumably not downloading and running community-provided non-reproducible binary blobs of ungoogled-chromium, so you don’t need to learn to compile them from source instead. That’s what the comme
248.
▲
by
minitech
5y ago
That’s incorrect. Maybe you’re thinking of querySelectorAll, which returns a static list , compared to getElementsByTagName and getElementsByClassName, which return live ones?
249.
▲
by
minitech
5y ago
> Then there would be no undefined behavior at all - but the optimization is still possible. But then an optimization could change the defined behavior of aborting to not aborting, which is essentially what undefined behavior means and r
250.
▲
by
minitech
5y ago
The literal first sentence of the article will explain this one for you!
251.
▲
by
minitech
5y ago
> and a few other great playgrounds that others have made : > - CodePen for CSS/JS/HTML
252.
▲
by
minitech
5y ago
> It's amazing how years of anti-vax nonsense went nowhere. “Nowhere”? It’s gotten so bad that there are measles outbreaks now.
253.
▲
by
minitech
5y ago
`--tls-max-v1.2` does what it sounds like and sets the maximum version to 1.2. You want `--tls-min-v1.2`. (Also, this just controls the default minimum version when code doesn’t specify one explicitly, and the default minimum is already T
254.
▲
by
minitech
5y ago
> Mounting /proc with "hidepid=2" should prevent it from seeing processes owned by other users Note that this isn’t a supported configuration for systemd and will totally break it. (Which is too bad, because it’s a sensibl
255.
▲
by
minitech
5y ago
Which errors?
256.
▲
by
minitech
5y ago
How are alert and CSRF related at all?
257.
▲
by
minitech
5y ago
> for regular browsing I'm stuck with Firefox version<57 What? Why? That’s not covered by ESR support anymore; are you just running without security patches?
258.
▲
by
minitech
5y ago
> reusing a secure password congratulations, it’s no longer a secure password
259.
▲
by
minitech
5y ago
Out of that list, the only two bangs that DuckDuckGo doesn’t support are: - !d (it’s already DuckDuckGo, so !d is “dictionary”) - !mj (it’s !mojeek)
260.
▲
by
minitech
5y ago
Yeah, I would have liked to see different trade-offs made too (especially giving the same treatment to TLS), but I’m satisfied that it’s at least a good direction to start exploring and putting some level of support behind.
261.
▲
by
minitech
5y ago
When I say that not being complicated to implement is an advantage, I mean I can have much more confidence that whatever implementation I’m using is bug-free and secure (e.g. by auditing the entire thing and its dependencies, something not
262.
▲
by
minitech
5y ago
I don’t agree that HTML grammar is easy, but either way it’s objectively more complicated than Gemini markup. I also don’t agree that web layout is easy. Dillo, for example, is not the best document-viewing experience (even when I’ve design
263.
▲
by
minitech
5y ago
A client for HTML and CSS is much more complicated to implement than a client for Gemini and its rich text format. But you can serve HTML pages over Gemini either way.
264.
▲
by
minitech
5y ago
Breaking this.x being equivalent to this['x'], and making this.x quietly change its meaning depending on where the function containing it is located and on the presence or absence of a private field with a corresponding name, se
265.
▲
by
minitech
5y ago
I just tried it on 89 on macOS and it’s still there. Click “Connection secure”, then “More Information”, to give the exact text.
266.
▲
by
minitech
5y ago
> I think a full index of the contents of hundreds or thousands of emails and their attachments is soon going to take a lot of space and be slow on a mobile device. I initially read “hundreds of thousands” and would have agreed that it m
267.
▲
by
minitech
5y ago
> If you expect search functionality from them you don't get encryption. It’s not as if the client can’t maintain an encrypted index, they just haven’t implemented it. Also, apart from all of the important advantages of encryption,
268.
▲
by
minitech
5y ago
> But nobody has ever shown … that these UB optimizations actually improve performance of anything. That’s just not true. Already examples in this thread: https://news.ycombinator.com/item?id=27223870
269.
▲
by
minitech
5y ago
If you have no idea about the veracity of this claim, it's irresponsible to flat-out write "you get plenty of excitotoxins from eating MSG".
270.
▲
by
minitech
5y ago
ARRAY[elem1, elem2, …] is a PostgreSQL array literal SQL expression.
More ›