Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
m0th87
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
m0th87
1y ago
https://www.intel.com/content/www/us/en/docs/intrinsics-guid... Intel's docs are unfortunately spartan, but the guarantees around program order is a hint that this is what it does.
2.
▲
by
m0th87
1y ago
I see, thanks. I had assumed incorrectly that NT writes operated the same as NT accesses, where there is no dedicated cache.
3.
▲
by
m0th87
1y ago
There are no guarantees even if everything operates on the same core. Rust docs have some details: https://doc.rust-lang.org/stable/core/arch/x86_64/fn._mm_sfe...
4.
▲
by
m0th87
1y ago
I had interpreted GP to mean that you don’t slap on NTs for correctness reasons, rather you do it for performance reasons.
5.
▲
by
m0th87
1y ago
I work on optimizations like this at work, and yes this is largely correct. But do you have a source on this? > or (more likely) go into just some special small subsection of it reserved for non-temporal writes only. I hadn’t heard of th
6.
▲
by
m0th87
1y ago
That’s what I hope for, but everything that isn’t bananas expensive with unified memory has very low memory bandwidth. DGX (Digits), Framework Desktop, and non-Ultra Macs are all around 128 gb/s, and will produce single digits tokens p
7.
▲
by
m0th87
3y ago
This is almost perfect for my needs (communication and location sharing in areas without phone signal.) But it's missing GPS/GNSS. I'm not sure how niche that use case is, so more broadly I wish Lilygo offered something akin
8.
▲
by
m0th87
3y ago
I’ve heard Beaglebone Blacks are great (never used them), but have to say the experience with Blue was awful. I had a hardware defect that’s apparently commonplace. It gave me the feeling (maybe unjustified) that there’s a low bar for slapp
9.
▲
by
m0th87
3y ago
I’m definitely interested! Was just looking over this code and wishing it were in rust or C.
10.
▲
by
m0th87
4y ago
That's interesting, I didn't know they did that. But it could be better: 1) This alert doesn't show up at all on mobile. 2) IMO this should either affect the overall score or be displayed in search results as well, which is n
11.
▲
by
m0th87
4y ago
For what it’s worth, the person you’re replying to is one of the heavyweights of the rust community.
12.
▲
by
m0th87
5y ago
Just whipped up a (naive) solve in rust: https://gist.github.com/ysimonson/01a1dee41b1b5990c30568fd25... It usually solves this in under 6 guesses. The guessing could be improved; at the moment it's random, but it
13.
▲
by
m0th87
5y ago
R2 is marketed as "one less than S3!" I used the exact same tagline for a project open sourced in 2019: https://github.com/pachyderm/s2/ So there you go VCs, I can market as well as cloudflare. Money ple
14.
▲
by
m0th87
5y ago
I messed around with and contributed to this project a bit. The biggest challenge I saw in day to day usage was that line numbers aren't included in error messages: https://github.com/murarth/ketos/issues/
15.
▲
by
m0th87
5y ago
I wrote up some rust low-level bindings for guile [1]. The problem is that Guile liberally uses setjmp/longjmp, which breaks rust destructors. It might be possible to fix this by wrapping every call the way rlua does [2], but I'm
16.
▲
by
m0th87
5y ago
For rust, I manage a graph database that can be embedded as a library: https://github.com/indradb/indradb/
17.
▲
by
m0th87
6y ago
Understanding Power by Chomsky had a big impact on me. I read it after this compelling blog post by Aaron Swartz (RIP): http://www.aaronsw.com/weblog/epiphany
18.
▲
by
m0th87
6y ago
You're not alone. I've been writing go since before 1.0, and can handle modules/packages in _any other language_ fine, yet go's regularly leaves me stumped. A little while ago we were hitting yet another issue with depen
19.
▲
Markets, Discrimination, and “Lowering the Bar”
(danluu.com)
7 points
by
m0th87
6y ago
|
0 comments
20.
▲
by
m0th87
6y ago
It's not well known, because it's not true, at least not absolutely. Speed could either mean latency or throughput. Reference counting is almost always worse than GC at throughput, but is usually better for latency.
21.
▲
by
m0th87
6y ago
Yes, though this is arguably a big reason why SCTP didn't take off, which is similar to QUIC in a lot of ways (there is SCTP over UDP, but it was a second class citizen until WebRTC.)
22.
▲
by
m0th87
6y ago
Is it possible to context switch between userspace processes directly, without going through the kernel, i.e. a kind of fast, inter-process cooperative multitasking? I know earlier operating systems used inter-process cooperative multitaski
23.
▲
by
m0th87
7y ago
I maintain a couple of protobuf-based libraries, and the issue I've seen with its anemic type system is that it inevitably creates an impedance mismatch between itself and the host language's type system. To make the library usabl
24.
▲
by
m0th87
7y ago
You can also just use a phone plan with roaming, as they aren't affected by the firewall. The guide says it's pricey, but Google Fi doesn't charge extra for roaming. I got around China last year with it, including some fairly
25.
▲
by
m0th87
7y ago
In case it's helpful, here's how I use hammerspoon: * As a replacement for the classic caffeine app. [1] * To provide shortcuts for window managements. [2] * To shutdown bluetooth on sleep. Otherwise, devices I have setup to pair
26.
▲
by
m0th87
7y ago
4.5% self-report as LGBT. That's an important distinction to make, and I too would be surprised if it's accurate.
27.
▲
WaveFunctionCollapse
(github.com)
1 points
by
m0th87
7y ago
|
0 comments
28.
▲
by
m0th87
7y ago
Meanwhile, the economists behind Freakonomics argue that it was caused by the legalization of abortion: http://freakonomics.com/2005/05/15/abortion-and-crime-who-sh... I don't have a strong opinion on wh
29.
▲
Taking ZUFS Upstream
(lwn.net)
2 points
by
m0th87
7y ago
|
0 comments
30.
▲
by
m0th87
7y ago
The point with weakrefs, though, is that they still require developer intervention. Also, you can use most memory management facilities in Rust (including reference counting) without `unsafe`.
More ›