Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
akubera
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
akubera
1y ago
The smackbook pro! https://www.youtube.com/watch?v=6uvQTTPr9Rw
2.
▲
by
akubera
1y ago
The PEP: https://peps.python.org/pep-0736/ The discussion: https://discuss.python.org/t/pep-736-keyword-argument-shorth... The rejection: https://discuss.python.org/t/pep-736-
3.
▲
by
akubera
1y ago
I'm reminded of the SMBC comic https://www.smbc-comics.com/?id=2722 which resonated with me. If it takes ~7 years to master something, you should dedicate yourself to becoming good at it. Or at least you don't hav
4.
▲
by
akubera
1y ago
As others have said, Rust's ownership model prevents data races, as it can prove that references to mutable data can only be created if there are no other references to that data. Safe Rust also prevents use-after-free, double-free, an
5.
▲
by
akubera
2y ago
Mathologer has a great video covering this: https://www.youtube.com/watch?v=aCj3qfQ68m0 Visualizes a proof and talks about special cases and a little of the history.
6.
▲
by
akubera
2y ago
In terms of the math: the table legs are assumed to be equal length, and the wobble is caused by variations of the surface. Specifically the feet of the table are in the same plane. So you could rotate your mathematical table until all f
7.
▲
by
akubera
2y ago
Looks good. One note about the video: you mention you recently watched a good video on 1-bit sound, and suggest it's worth a watch, but it doesn't appear to be linked-to in the description.
8.
▲
by
akubera
2y ago
What makes you think it's not compressed? (or that the data is stored as XML?) There's very sophisticated compression systems throughout each experiment's data acquisition pipelines. For example this paper[1] describes the AL
9.
▲
by
akubera
2y ago
That seems to be the sentiment here. I'll take it into consideration. Thanks.
10.
▲
by
akubera
2y ago
For the Rust crate, there is already an arbitrary limit (defaults to 100 digits) for "unbounded operations" like square_root, inverting, division. That's a compile time constant. And there's a Context object for runtime-
11.
▲
by
akubera
2y ago
I think that's the use-case for the rust_decimal crate, which is a 96-bit floating number (~28 decimal digits) which is safer and faster than the bigdecimal crate (which at its heart is a Vec<u64>, unbounded, and geared more for
12.
▲
by
akubera
2y ago
This isn't about parsing so much as letting the users do "dangerous" math operations. The obvious one is diving by zero, but when the library offers arbitrary precision, addition becomes dangerous with regard to allocating al
13.
▲
by
akubera
2y ago
I was attempting to solve this very problem in the Rust BigDecimal crate this weekend. Is it better to just let it crash with an out of memory error, or have a compile-time constant limit (I was thinking ~8 billion digits) and panic if any
14.
▲
by
akubera
3y ago
I'd bet they have very similar performance-metrics, but the yield syntax is more extensible (i.e. you're not limited to one expression) and debug-able (you can put breakpoints within the function). Also the name and the generator
15.
▲
by
akubera
3y ago
I've had a similarly frustrating time trying to understand and wrangle the pyproject.toml builder system, (egg-layer? wheel-roller? cheese-monger?) One thing the author might want to try is writing their own "build-backend".
16.
▲
by
akubera
3y ago
I think dekhn means the discussions and attempts at removing the GIL before this current PEP. Here's Guido's thoughts on it from 2007: https://www.artima.com/weblogs/viewpost.jsp?thread=214235 and that mentio
17.
▲
Guide to Timescript
(jacquifashimpaur.com)
1 points
by
akubera
3y ago
|
0 comments
18.
▲
by
akubera
4y ago
I'm not sure to which movie you're referring, but the "we're going to use a pointing device we're all born with" is from the iPhone announcement: https://youtu.be/X1SyRElYGoM?t=1710 Apple penci
19.
▲
by
akubera
4y ago
https://addons.mozilla.org/en-US/firefox/addon/tree-style-ta... Makes a vertical list of your tabs in the side panel, and opening links from a page makes a node visually indented directly under that tab. Very
20.
▲
by
akubera
4y ago
There's also the shelve[0] module which allows storing any pickleable object in a persistent key-value store, not just string/bytes. I've found it's very handy for caching while developing scripts which query remote reso
21.
▲
by
akubera
4y ago
Isn't that what they ended up doing in Python3? $ python2 >>> "abc" + b"123" 'abc123' >>> "abc" + u"123" u'abc123' $ python3 >>> &
22.
▲
by
akubera
4y ago
Named after Danish mathematician Agner Krarup Erlang[0] who invented queuing theory & telephone network analysis, but they told management that it stood for "Ericsson language" (at least that's what I remember from a Joe
23.
▲
by
akubera
4y ago
cmd-tab to the minimized window then hold option(alt) before removing your finger from cmd will restore a window (or create a new window if none are available). I don't know if it's documented somewhere, which is a real shame beca
24.
▲
by
akubera
4y ago
I'd like to nominate "cryptoc", which I think is simple and just as easy to say, but I'm unsure to which internet-language standards board I should submit this proposal.
25.
▲
by
akubera
4y ago
Yes, z-axis is the direction of the tape's "thickness" so electricity passes only from the thing stuck to the top to the thing stuck to the bottom (directly through the tape) without shorting the rest of the contacts. I misre
26.
▲
by
akubera
4y ago
It's conductive only in the z-axis. So you can, for example, tape components to your circuitboard instead of having to solder tiny pieces.
27.
▲
by
akubera
5y ago
Summary: Explicit 'async' functions avoid implicit messiness and allow control over which sections of code are running at one time. > From what I understand, in JavaScript at least, putting `await foo()` inside an async functio
28.
▲
by
akubera
5y ago
I'm pretty sure stakkur means mermaidjs is a bad option for markdown, as its source form is not "useful" as a diagram, and that it's actually GitHub which is saying every "markdown parser (/renderer) should sup
29.
▲
by
akubera
5y ago
The bugs being referred to are from optional brackets in C: void foo() { ... if (expr) doA(); doB(); ... } which is unambiguous to the compiler, but could (and I expect would , e
30.
▲
by
akubera
5y ago
Dupe: https://news.ycombinator.com/item?id=28393738
More ›