Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
MaulingMonkey
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
MaulingMonkey
6d ago
IDK about "tier 1" but I'll note I've used VS for debugging and profiling Rust binaries. I even wrote a tool to auto-generate a wrapper .sln so I can easily launch from VS: https://github.com/MaulingMonk
2.
▲
by
MaulingMonkey
10d ago
Only a token test amount so far. The root filesystem is read-only by default, but without the whole Nix ecosystem, which is a little awkward (can't install packages even as root without changing that.) On the other hand, it comes wit
3.
▲
by
MaulingMonkey
10d ago
I shelled out for a Steam Machine (SteamOS ≈ Arch Linux.) I do gamedev, and I figured having a test machine was a decent enough excuse for a purchase. It's working suprisingly well for the games I'm actually playing. They'
4.
▲
by
MaulingMonkey
24d ago
Worktrees share more git state (remotes, blobs, etc.) and don't require hunting down the repository url to feed to git clone, or a network connection to use said url. While you could get the same benefit from cloning your local reposi
5.
▲
by
MaulingMonkey
1mo ago
Feature flags are great. Working on a crash / memory corruption in an optional subsystem? Just disable the subsystem to unblock coworkers on the same branch while you track down the cause. Feature flags are terrible. Working on a cr
6.
▲
by
MaulingMonkey
2mo ago
I've encountered a few soundness holes in rust-lang in practice, but they've all been fixed before I managed to shoot myself in the foot with any of them: • `std::mem::uninitialized()`. It's now deprecated in favor of `Maybe
7.
▲
by
MaulingMonkey
2mo ago
> If you define another language Rust-Without-Any-Unsafe, then maybe that one is safer than Fil-C. Just write `#![forbid(unsafe_code)]` at the top of your src/lib.rs, and track crates not using it with `cargo geiger`. You don'
8.
▲
by
MaulingMonkey
2mo ago
I adore unsafe, appreciate it as a feature... but it is an escape hatch. One that is sometimes necessary, one that is sometimes not necessary but might still be (ab)used for performance, or initial 1:1 porting of C/C++ code. There
9.
▲
by
MaulingMonkey
2mo ago
> The myth of DNS “propagation” needs to die. What's the actual issue? Are you being frustrated by people laboring under the assumption that DNS records are being sent by carrier pidgeon or something? > There is no geographical
10.
▲
by
MaulingMonkey
3mo ago
> Will programmers write more efficient code during the memory shortage? Yes. No. Yes. I've worked in gamedev, helping ship code that ran on consoles. Nice fixed hardware targets. You OOM, you crash. We crashed a lot, and cut a
11.
▲
by
MaulingMonkey
3mo ago
C++'s stdlib collection algorithms were basically all mutate-in-place instead of return-a-new-value until C++20 introduced ranges, and I still don't know anyone who actually uses those. By contrast, people actually use the `conta
12.
▲
by
MaulingMonkey
3mo ago
> But you can learn to phrase your WTFs about your colleague's code politely and constructively. I would even argue that this an absolutely basic skill for professionals. It typically leads to faster and better answers whenever a di
13.
▲
by
MaulingMonkey
3mo ago
I don't want the private API key I temporarily hardcoded in my public history. Nor do I want the drag of worrying about so much as sneezing in the general vicinity of a secret in my editor window, when I already self review before com
14.
▲
by
MaulingMonkey
3mo ago
I'll note that speedrunners absolutely buffer mid-pipeline in Factorio, and not just for hand-crafting purpouses. Sometimes you're waiting for R&D, sometimes you're just running half the machines for twice as long, givin
15.
▲
by
MaulingMonkey
3mo ago
> That's the point, std::byte is for opaque bytes. You're not expected to do arithmetic directly just like you can't do arithmetic on void. That'd make a whole lot more sense to me if `std::byte` didn't explicitl
16.
▲
by
MaulingMonkey
3mo ago
To be fair, the `void*` is already a pretty big hint that you're in the danger zone.
17.
▲
by
MaulingMonkey
3mo ago
> if somewhere in the plumbing you connect the wrong source to the wrong destination, you get no warning. A valid concern. I've been in the position of having to fix those bugs. I'm not going to recommend `qsort` over `std::so
18.
▲
by
MaulingMonkey
3mo ago
> Fair point (although to be honest: 'complexify' feels a bit of an exaggeration here to me) Both uint8_t and std::byte require a header (<cstdint> or <cstddef>) which may expose you to platform x config specific bu
19.
▲
by
MaulingMonkey
3mo ago
TIL the horror that is the existence of non-serializable isolation. I'm a gamedev. I've worked alongside webdevs (frontend and backend) that build our websites and forums. Alongside coworkers who handle networking stuff while I
20.
▲
by
MaulingMonkey
4mo ago
> I disagree that you'll find "many red flags for any job" If they're hiding the many red flags, that's the biggest red flag of all!
21.
▲
by
MaulingMonkey
4mo ago
> If you're steeped deeply enough in that NDA-preserving culture If you've throroughly absorbed a culture of honoring non disclosure agreements (NDAs), which are legal contracts demanding you keep secrets and avoid sharing sens
22.
▲
by
MaulingMonkey
4mo ago
> Like seriously, what's the point of explicitly allowing this? Explicit permission can be useful to preemptively cut off some questions from well meaning people who, acting in good faith, might otherwise pester for clarification (n
23.
▲
by
MaulingMonkey
5mo ago
My trick: Walk to meals and other excursions/shopping in lieu of driving. If I leave on a walk for the exclusive purpouse of "exercise", I immediately feel bored, and like I'm wasting time, even if I "know" I&#
24.
▲
by
MaulingMonkey
5mo ago
My family accepts me just the way I am a bit too much. I can't bring myself to blame them, when past "reformist" pressures have been misguided/misapplied and backfired, but I recognize the trap. It'd also be hypoc
25.
▲
by
MaulingMonkey
5mo ago
Trade is just a combination of give and take. I give you X, and in exchange, take Y. Without the "take", it's not a trade, it's just a gift.
26.
▲
by
MaulingMonkey
5mo ago
> Interesting you single out commercial and government entities but not people. What defines the difference? Bureaucracy? Concentration of resources? Legal theory? Not OP, but for me, kind family and friends, and various feel-good pieces
27.
▲
by
MaulingMonkey
6mo ago
I use a horrific mix of: • Markdown (most of my notes these days, supplanting my previous use of plaintext.) • Single-file HTML (when my use case for fancy documents exceeds markdown's limits. While you can embed HTML into markdown,
28.
▲
by
MaulingMonkey
6mo ago
> One explaination for that would be stripping "out of scope" macros that the sublibrary depends on but wishes to avoid including. Another explaination would be the original source being multi-file, with the single-file variant
29.
▲
by
MaulingMonkey
6mo ago
> no commit history, 10k+ lines of complicated code This kind of pattern is incredibly common when e.g. a sublibrary of a closed source project is extracted from a monorepository. Search for "_LICENSE" in the source code and y
30.
▲
by
MaulingMonkey
6mo ago
(Rust has a similar fn: https://doc.rust-lang.org/std/primitive.isize.html#method.ch... )
More ›