Viewing profile — jihiggins
jihiggins
HN member- Joined
- Sat, Sep 17, 2022, 12:35 PM UTC
- HN karma
- 91
- Public activity
- 42 items
- HN profile
- View on Hacker News ↗
About jihiggins
Recent public activity
-
comment
Comment #41467944
For going from C to Rust, I think you'd just use CString::to_str instead of CString::to_string. I'm pretty sure this just calls std::transmute behind the scenes and doesn't cause a…
-
comment
Comment #41399985
[flagged]
-
comment
Comment #41399978
imo, only if it's asked in bad faith. maybe that's just worded poorly, but e.g. "oh, thanks! what'd you do differently with this recipe?" or w/e
-
comment
Comment #41251612
Sorry, didn't see your reply till now. It's not literally everyone. Immunocompromised people who have managed to survive are often still afraid of catching Covid. How little most p…
-
comment
Comment #41195199
RTO in and of itself is hostile. Especially when there is still a highly contagious disease running rampant. It might not _legally_ constitute a hostile work environment, but it is…
-
comment
Comment #40969445
i remember using the falstad sim constantly at university a decade ago. super helpful and so much more intuitive than any spice thing. cool to see that it's still around and used
-
comment
Comment #40906564
this is what those end up being, it's pretty straightforward? fn five() -> i32 { return 5; } fn five() -> i32 { 5; return (); } semicolon changes the expression from returning the …
-
comment
Comment #40906460
idk there are a lot of uses for it let dx = { let prev_x = x; x = get_x(); x - prev_x }; often, it's slightly better cpp style scoping blocks if nothing else? there are tons of oth…
-
comment
Comment #40905493
let x = { 3 }; let y = { 3; }; assert_eq!(x, 3); assert_eq!(y, ()); i think it'd also mean having to parse whitespace or newlines without something like that?
-
comment
Comment #40905386
is that a problem...? should a city not prioritize its citizens over random vacationers?
-
comment
Comment #40284889
it happens for me if i click start now and try to use mouse button back, but if i click the back button it works? (also latest chrome)
-
comment
Comment #40237750
i think you might lose people in the transition from the turing tape machine style bootstrapping to using full "words" for operations. it might help to compare it to something like…
-
comment
Comment #39863251
"insultingly dumb, i listen to metal" "check this out, this top 100 musician isn't mainstream so you probably haven't heard of them" this thread's turning into a decent example of …
-
comment
Comment #39863214
he has several albums that have been #1 on various billboard charts, if that's not mainstream then idk what is
-
comment
Comment #39429261
this is sort of what modern ides (e.g. jetbrains stuff) already do in the bg. when im working on stuff, i almost never navigate via text or the file explorer, i use things like "go…
-
comment
Comment #39130168
it feels like there are two main categories of reaction to big societal issues: one starts with "this is unacceptable, so we will find an alternative," the other says "everything e…
-
comment
Comment #39121173
everything you listed is still better than giving it to the cops. "these random examples sound bad" isn't really a good argument for doing nothing.
-
comment
Comment #39032082
^ exactly the type of person i was talking about. how is this considered anything other than troll behaviour? also, there are no spelling mistakes in my comment. perhaps consider l…
-
comment
Comment #39031084
i didn't even notice there was no capitalisation when i read the article idk about the author, but when i was younger, some people's pedantry and pettiness over grammar / capitalis…
-
comment
Comment #38980500
the room is pretty well known, and is more memorable / has probably had a bigger impact on cinema than at least half of the entries in https://en.wikipedia.org/wiki/2003_in_film#Hi…
-
comment
Comment #38765167
code that uses coroutines is often a lot more straightforward than callbacks. with callbacks, it can also be non-trivial to even find out where / when some delegate was set. it's a…
-
comment
Comment #38764066
most of the builds are incremental, but even incremental builds still take awhile when it's that massive (linking, modifying a header / template code, etc)
-
comment
Comment #38764018
it really depends on what type of game you're making
-
comment
Comment #38763990
more or less agree, although this issue isn't even really unique to C++. in practice it's still worth it imo, since debugging callback heavy stuff isn't exactly fun either
-
comment
Comment #38763909
obviously many teams do (i've seen incredibuild used pretty often.) that's not a cureall, though.