Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
babel_
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
babel_
11mo ago
It might actually be a better environmental decision, if instead of buying a new second phone, it is instead about keeping an existing phone in use and not adding to the burning heaps of e-waste. Given the rising popularity of refurbished
2.
▲
by
babel_
1y ago
> on top of C. If we're referring to the "C is a subset of C++" / "C++ is a superset of C" idea, then this just hasn't been the case for some time now, and the two continue to diverge. It came up recent
3.
▲
by
babel_
1y ago
Well, each `defer` proposal for C agreed that it shouldn't be done the way Go does it, and should just be "run this at the end of lexical scope", so it'll certainly be less surprising than the alternative... and far easi
4.
▲
by
babel_
1y ago
Jen's macro that this was based on was an implementation of his own proposal (N3434) for `defer`, which was one of a few preceding what finally became TS25755! So, yes, C2y is lined up to have "defer: the feature", but until
5.
▲
by
babel_
1y ago
Testing with Jen's macro this was based on, and found that the always_inline was redundant under even -O1 ( https://godbolt.org/z/qoh861Gch via the examples from N3488 as became the baseline for the TS for C2y, whi
6.
▲
by
babel_
1y ago
The two will also continue to diverge over time, after all, C2y should have the defer feature, which C++ will likely never add. Even if we used polyfills to let C++ compilers support it, the performance characteristics could be quite differ
7.
▲
by
babel_
1y ago
The blog post, in its opening section, directly points out: > Everyone had their own pretty-printing settings for viewing it however they wanted This is an example of how treating storage and presentation as two separate concerns obviate
8.
▲
by
babel_
1y ago
The blog entry is short and simple, perhaps consider reading it before knee-jerk reacting to the title, and then you might understand why "should" and "unnecessary" are operative in said title.
9.
▲
by
babel_
1y ago
Quite the opposite, a clever algorithm needs less compute, and can leverage extra compute even more.
10.
▲
by
babel_
1y ago
AlphaZero may have the rules built in, but MuZero and the other follow-ups didn't. MuZero not only matched or surpassed AlphaZero, but it did so with less training, especially in the EfficientZero variant; notably also on the Atari pla
11.
▲
by
babel_
1y ago
Any high-enough dimensional space means the distance between any two vectors tends towards 1, so given a "good" concept all other related "good" concepts and all "evil" concepts are approximately equidistant fr
12.
▲
by
babel_
2y ago
That's not the uvx way? Dependencies at the top of a script was outlined in PEP 723, which uv/uvx added support for. Not everything is a "project", some files are just one-and-done scripts which should not have to carry
13.
▲
by
babel_
2y ago
Now that's a trick I should remember! I recently switched over my python aliases to `uv run python` and it's been really quite pleasant, without needing to manage `.venv`s and the rest. No fuss about system installs for python or
14.
▲
by
babel_
2y ago
For anyone curious: the performance difference between Clang and GCC on the example C solution for verbal arithmetic comes down to Clang's auto-vectorisation (deducing SIMD) whilst GCC here sticks with scalar, which is why the counter
15.
▲
by
babel_
2y ago
I think you're misreading a singular opinion as occurring between two disparate points here. The initial phrase was > doctors hurt people for years while learning to save them It's then a separate reply from someone else about
16.
▲
by
babel_
2y ago
Having ended up with a critical bug in the SAT solver I wrote for my undergrad thesis, it really can be a challenge to fix without clear logs. So, always nice to see a little love for contribution through issues and finding minimal ways to
17.
▲
by
babel_
2y ago
Many startups seem to aim for this, naturally it's difficult to put actual numbers to this, and I'm sure many pursue multiple aims in the hope one of them sticks. Since unicorns are really just describing private valuation, really
18.
▲
by
babel_
2y ago
I think the situation with regulations will be similar to that with interpretability and explanations. There's a popular phrase that gets thrown around, that "there is no silver bullet" (perhaps most poignantly in AIX360'
19.
▲
by
babel_
2y ago
So, from the perspective I have within the subfield I work in, explainable AI (XAI), we're seeing a bunch of fascinating developments. First, as you mentioned, Rudin continues to prove that the reason for using AI/ML is that we do
20.
▲
by
babel_
3y ago
Telemetry is exceedingly useful, and it's basically a guaranteed boon when you operate your own systems. But telemetry isn't essential, and it's not the heart of the matter I was addressing. Again, the crux of this is consent
21.
▲
by
babel_
3y ago
I think the kind of profiling information you're imagining is a little different from what I am. Continuous profiling of your system that gets relayed to someone else by telemetry is very different from continuous profiling of your own
22.
▲
by
babel_
3y ago
Those are numbers from 7 years ago, so they're beginning to get a bit stale as people start to put more weight behind having frame pointers and make upstream contributions to their compilers to improve their output. People put it at &l
23.
▲
by
babel_
3y ago
> it's quite impressive for a single author to have a functional, fast language with a working garbage collector and arena allocator (with some issues) in only a few years. As the included code shows, the gc is boehm gc, and check
24.
▲
by
babel_
3y ago
Unfortunately, the perfect is very much the enemy of the good here. Aside from HTML, I'm afraid that PDF and EPUB are very much driven by purpose-built tools designed to show interactively what it will look like as output. This means t
25.
▲
by
babel_
3y ago
Personally, whatever helps with the specific writing part of it all the most is what's best. If you find writing in a given dialect of Markdown or LaTeX or Org-mode is easiest, do that. For me, that's Markdown with embedded LaTeX,
26.
▲
by
babel_
3y ago
It uses JavaScriptCore, which is a GPL submodule of WebKit.
27.
▲
by
babel_
3y ago
The add_zero_attn parameter in PyTorch is used for this, but by default their softmax is the regular kind. It has been in flaxformer for a couple years now though, however it claims to be a compatibility variant for older models [2] and I h
28.
▲
by
babel_
3y ago
> "[!] Your paswords will be saved as readable text (e.g., BadP@ssw0rd) so anyone who can open the exported file can view them." That's effectively what almost all of them say when you export your logins (usually as CSV, J
29.
▲
by
babel_
3y ago
I think they mean {a: x, b: y, *c} = d, which is a nice idea now we have a stable order to dicts, but I've rarely come across times when I needed this that I can't simply use .items() and such for, or care about more general patte
30.
▲
by
babel_
3y ago
I agree that functions sharing the references to their arguments is awkward (though useful on occassion), however the alternative is to re-instansiate the arguments by a shallow copy, a deep copy, or full-on re-evaluation, all of which have
More ›