Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Philpax
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
361.
▲
by
Philpax
1y ago
I would disagree on the first paragraph, if only to say that the majority of Python stdlib documentation is written in that tutorial style, and I loathe it. It is always a chore to look something in the stdlib up, especially if you're
362.
▲
by
Philpax
1y ago
A lot of the problems with C++ are more foundational; you can't adopt the changes that newer languages have made, because that would be a new language - and we know this, because that new language's name is Carbon. There are thing
363.
▲
by
Philpax
1y ago
Thinking that experience with C++'s many flaws will save you from running into them is delusional - just look at the number of CVEs in projects maintained by world-class C++ programmers. No amount of fallible human vigilance will stop
364.
▲
by
Philpax
1y ago
Everything but the relay (but you'd realistically only need the PDS): https://alice.bsky.sh/post/3laega7icmi2q The relay: https://whtwnd.com/bnewbold.net/3lo7a2a4qxg2l
365.
▲
by
Philpax
1y ago
The modern version of reliable and frequent public transit is reliable and frequent public transit.
366.
▲
by
Philpax
1y ago
Good. The state of affairs today is awful - what happened to "There should be one-- and preferably only one --obvious way to do it"?
367.
▲
by
Philpax
1y ago
The script is not hard to type; in fact, a similar problem is happening there as well: https://en.wikipedia.org/wiki/Character_amnesia
368.
▲
by
Philpax
1y ago
The cookie will be invalidated if shared between IPs, and it's my understanding that most Anubis deployments are paired with per-IP rate limits, which should reduce the amount of overall volume by limiting how many independent requests
369.
▲
by
Philpax
1y ago
Volume, primarily - the scrapers are running full-tilt, which many dynamic websites aren't designed to handle: https://pod.geraspora.de/posts/17342163
370.
▲
by
Philpax
1y ago
They don't need to. Their hardware and programming model are already dominant, and TPUs are harder to program for.
371.
▲
by
Philpax
1y ago
The argument isn't that it's difficult for them to circumvent - it's not - but that it adds enough friction to force them to rethink how they're scraping at scale and/or self-throttle. I personally don't care a
372.
▲
by
Philpax
1y ago
I'd say they're closer to 2010s self-driving cars; they still need frequent human intervention, even when on the happy path, to make sure they don't make a mess of things.
373.
▲
by
Philpax
1y ago
This rather underplays the experience of riding a Waymo. Where it works, it works: you get in and it takes you to the place, no human intervention required at any point. By analogy, the first hands-off coding agents may be like that: they m
374.
▲
by
Philpax
1y ago
Hence the "if" :-) ROCm is getting some adoption, especially as some of the world's largest public supercomputers have AMD GPUs. Some of this is also being solved by working at a different abstraction layer; you can sometimes
375.
▲
by
Philpax
1y ago
There's more in common with other GPU architectures than there are differences, so a CUDA consultant should be able to pivot if/when the other players are a going concern. It's more about the mindset than the specifics.
376.
▲
by
Philpax
1y ago
Rust is investigating using sandboxed WASM for proc macros, but it'll be some time before there's any movement there: https://github.com/rust-lang/compiler-team/issues/876
377.
▲
by
Philpax
1y ago
It can invoke procedural macros, but those macros need to be built by something, and rustc won't do that by itself: https://blog.jetbrains.com/rust/2022/07/07/procedural-macros... I still think it&#
378.
▲
by
Philpax
1y ago
By all means; I also work at a start-up. That doesn't mean that everyone here does, or is interested in doing so, or will have the necessary background. All I ask of you is to present information in the spirit of the XKCD 10,000: http
379.
▲
by
Philpax
1y ago
Hacker News may be hosted as part of the Y Combinator website, but as the name suggests, the primary audience is hackers, not entrepreneurs. Your answer is good, but could have done without the condescension.
380.
▲
by
Philpax
1y ago
Rust doesn't have it built in, but it's part of itertools: https://docs.rs/itertools/latest/itertools/trait.Itertools.h... This may eventually be upstreamed: https://github.com/rust-
381.
▲
by
Philpax
1y ago
Thankfully, uv makes this a lot better, but it'll still be a while before that percolates to the entire ecosystem, if ever. There are real concerns about tying the language's future to a VC-backed project, but at the same time, it
382.
▲
by
Philpax
1y ago
If I have to write Python like Go, I'd rather just write Go. (Not disagreeing with you, but this is one of many reasons that Python is the least-favourite language that I use on a regular basis.)
383.
▲
by
Philpax
1y ago
Right-to-left is equivalent to left-to-right in this regard: you're still reading in one linear direction, as opposed to Python, where you have to read inside-out and revisit later parts of the line to correctly understand previous par
384.
▲
The Great Refactor
(thegreatrefactor.org)
2 points
by
Philpax
1y ago
|
0 comments
385.
▲
by
Philpax
1y ago
That's what the article describes, yes.
386.
▲
by
Philpax
1y ago
> Sorry, I don't follow. There's nothing preventing a tool from re-indenting code when it's pasted (i.e.: considering indentation within the pasted text relative to its first line, and then applying an indentation offset a
387.
▲
by
Philpax
1y ago
God, this kind of tired parody is especially exhausting these days. Get new material.
388.
▲
by
Philpax
1y ago
Significant whitespace pushes a tooling problem (correct indentation) into the human domain. It might have made sense before autoformatters that run on save, but I agree with you that in today's languages, it's a net negative. As
389.
▲
by
Philpax
1y ago
I don't believe Crystal is whitespace significant?
390.
▲
by
Philpax
1y ago
They're joking that despite their three years of study, they've only retained hiragana.
More ›