Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
BrainBacon
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
Show HN: Unbug 0.5 – Rust runtime debug assertions
(github.com)
2 points
by
BrainBacon
5mo ago
|
0 comments
2.
▲
by
BrainBacon
1y ago
Not exactly the same, but I made this Ulam spiral generator more than a decade ago. https://embed.plnkr.co/mdZX6C/ It isn't just doing primes though, instead the size of the dot generated is dependent on the numbe
3.
▲
by
BrainBacon
1y ago
I did the same thing by accident, except mine was "test", I heard murmors around about some strange message on computers in multiple schools in our district, so I fessed up immediately. Our network administrator was just mildly am
4.
▲
by
BrainBacon
2y ago
You're thinking of a nebula. That’s the remnants of a supernova. A galaxy is an unimaginably large collection of stars. A nebula is still quite large, but several orders of magnitude smaller than a galaxy.
5.
▲
by
BrainBacon
2y ago
Answering my own question, apparently `brk #1` is insufficient on Apple silicon. That results in just a trap and will prevent the debugger from continuing past the debug statement. From a bit of searching and my experiments `brk #0xF000` w
6.
▲
by
BrainBacon
2y ago
I didn't come across any good ones when creating this library, but if you're using VSCode, I tried my best to make the README as beginner friendly as possible. I'm open to issues and PRs if anything is unclear. I think part o
7.
▲
by
BrainBacon
2y ago
I can understand where you're coming from, but when programming games you generally don't want a breakpoint to be hit more than once since you are running a loop over multiple frames. So in this case the concept of ensure_once is
8.
▲
by
BrainBacon
2y ago
Interesting. Unfortunately, I'm not well versed in assembly, is there a similar trick or requirement in arm and would that include Apple silicon, or is this something specific to `int3` on x86? That may explain why it was inconsistent
9.
▲
by
BrainBacon
2y ago
PR opened: https://github.com/tokio-rs/tracing/pull/3147
10.
▲
by
BrainBacon
2y ago
Thanks! I'll get a PR up shortly!
11.
▲
by
BrainBacon
2y ago
Thanks, yeah I considered using the instructions directly, but I was hoping for a more cross-platform option. For my purposes, developing in the Bevy engine, nightly isn't a huge blocker. Yeah, it would be really great to just have bre
12.
▲
Show HN: Unbug – Rust macros for programmatically invoking breakpoints
(github.com)
96 points
by
BrainBacon
2y ago
|
40 comments
13.
▲
by
BrainBacon
3y ago
I just looked through the perks on my Google One and don't see this offering. I don't see it in the premium perks either. Do you happen to have a link? Is it some kind of hidden benefit?
14.
▲
by
BrainBacon
3y ago
According to the ESA "As the orientation and direction of motion of the spacecraft triangle changes along the orbit, it will be possible to determine the direction of incoming gravitational wave sources." - From https://
15.
▲
by
BrainBacon
3y ago
You don't need to pay that much to keep a US number for use abroad. Convert any 2fa you can to use an app like Google Authenticator, then convert your number to Google voice. You can get text messages for free using your old number tha
16.
▲
by
BrainBacon
3y ago
I wholeheartedly disagree with your assertions on mortality. Global population growth is slowing and is set to peak in the 2060s and will decline afterwards. We're more at risk of not having enough hands to take care of an aging popula
17.
▲
by
BrainBacon
3y ago
It's called the Psychology of Human Misjudgement https://fs.blog/great-talks/psychology-human-misjudgment/
18.
▲
by
BrainBacon
3y ago
A couple unikernel projects that caught my eye in the past may be of interest to you. I have no experience with them, so I can't speak to their quality though. https://unikraft.org/ https://github.com/n
19.
▲
by
BrainBacon
3y ago
This is not entirely true. Some brain cells and the cells in your eye lens will be there your entire life and could even potentially live longer if they were not limited by the rest of the body. Cancer is definitely a lot more than just imm
20.
▲
by
BrainBacon
3y ago
The YouTube channel Alex (FrenchGuyCooking) made some nice flakey salt in this video: https://youtu.be/eN6U58LzyHg It's a similar process, but he uses coarse sea salt without any alum or other additives. The results ar
21.
▲
by
BrainBacon
3y ago
I think cheaply available replacement parts ready from the manufacturer would be a much more desirable deterrent for thieves. Louis Rossman's battle with calibrating the angle sensor on the MacBook Pro is a great indicator that these r