Better HN
topnewbestaskshowjobs
Log inSign up

attheicearcade

83 karma · joined Apr 29, 2016 (10y ago) · 22 submissions

I write Haskell for work and (mostly) Rust for play.
Submissions

comment 5mo ago · link · parent

If you like his work, you can donate to “The Niblet Memorial Kibble Fund”. I did after reading Blindsight, and received a friendly thank you email from him afterwards because so few people do.

comment 8mo ago · link · parent

It’s dynamically balancing so wheel size doesn’t really matter as long as the wheels are responsive enough. Segways have big wheels to deal with bumps, this has smooth concrete floors to roll around on.

comment 10mo ago · link · parent

Do you have API access (platform.claude.com) rather than Claude code (claude.ai)? I had similar issues trying to get Claude CLI working via the second method, not knowing there’s a difference

comment 1y ago · link · parent

Not the same commenter, but I’d guess: enabling some features for bindless textures and also vk 1.3 dynamic rendering to skip renderpass and framebuffer juggling

comment 2y ago · link · parent

DuChinese does have an integration with HackChinese, which is basically a Mandarin only paid version of Anki with a sleek interface. I use it for convenience because I find managing Anki decks too tedious.

comment 2y ago · link · parent

I prefer the first example, to be honest. Much of the time your API is more or less a wrapper around the DB, so why introduce more indirection? I don’t really buy the testing argument since the interesting stuff which really needs testing is often in the queries anyway. Swapping out dependencies is not a huge issue in a language like rust, the compiler gives you a checklist of things to fix. I also don’t like that you call this function which handles transactions internally, inevitably you’ll end up with a handler calling two different functions like this resulting in two transactions when they should be atomic.

At $work we’re slowly ripping out a similar system in favour of handlers calling database functions directly, such that they can put transactions in the right place across more complicated sets of queries. Code is simpler, data integrity is better.

comment 2y ago · link · parent

Anyone who believes Hancock’s ideas should really watch the debate with Flint Dibble[0], in which Hancock eventually admits he has no evidence of his ancient civilisation, and Rogan, who is a long time friend and believer of Hancock, seems to end up siding more with Flint.

[0] https://youtu.be/-DL1_EMIw6w

comment 2y ago · link · parent

Absolutely agree with the comments on ECS and Bevy in particular. I tried getting to grips with it for some time, doing things the Bevy way, and it just felt like a big step backwards because it’s not suitable for most things. The renderer was really slow at the time too, although I imagine that has improved. Switched to plain rust + vulkan (via ash) + dear imgui and haven’t looked back.

comment 3y ago · link · parent

Redlining is nothing to do with acceleration. The article has the right definition:

Redlining: drive with (a car engine) at or above its rated maximum rpm.

comment 3y ago · link · parent

The pink car is in the wrong lane if it wants to stay on the roundabout for a later exit. The pink car can take either the first or second exits here. The orange can take the second, third, etc.

comment 3y ago · link · parent

For anyone wishing to get a taste of very modern graphics programming with Vulkan, I enjoyed Arseny Kapoulkine’s YouTube series [0]. Although he focuses somewhat on mesh shading, he does also build a more traditional pipeline alongside it. I found it much nicer to follow along with this than grind through the first X hours via written tutorials.

[0] https://youtube.com/playlist?list=PL0JVLUVCkk-l7CWCn3-cdftR0...

comment 4y ago · link · parent

Hadn’t heard of shifted pointers before, thanks. There is an open PR to Ghidra which adds them, they seem very useful. I’ve run into many places which would benefit from them.

comment 5y ago · link · parent

And then when management decides they don't want this feature anymore, you're stuck with it.

comment 5y ago · link · parent

LGTM on iOS/Safari after clearing cache. Also on Firefox/Linux.

comment 5y ago · link · parent

You want break-word, not break-all. The latter breaks short words unnecessarily.

comment 5y ago · link · parent

Indeed, it's unnecessarily derogatory, especially considering Apple's history of questionable design choices to pursue thinness.

comment 5y ago · link · parent

That’s another reason I looked into scripting: fear of losing many hours of work through corruption. My last workflow meant writing scripts to define everything so I _always_ started from a blank slate. Naturally this rots over time as the API changes, but I feel much more confident I won’t lose work completely. Not a glowing review of Ghidra though :)

comment 5y ago · link · parent

I recently started analysing a game with Ghidra. I found the plugin mentioned was actually fairly useless in my case (but this was version 9, maybe things have changed), instead I used OOAnalyzer [1] and its associated Ghidra plugin - great for bootstrapping a class hierarchy, which is otherwise extremely tedious to do. It took 24 hours and ~100GB of memory, so I ran it on AWS, splitting the analysis in parts according to [2]. Also I’d recommend looking into scripting, it can save you a lot of time in repetitive scenarios.

[1] https://github.com/cmu-sei/pharos/blob/master/tools/ooanalyz... [2] https://github.com/cmu-sei/pharos/blob/master/share/prolog/o...

comment 5y ago · link · parent

My politics aren't aligned with Trump, but I find this utterly disturbing, and I'm amazed people seem to be celebrating this move (at least on Twitter). Facebook (and other massive social platforms) seem to have way too much unchecked power over this kind of thing. To ban the voice of a previous president is just... remarkable.

I also can't help but notice that this article is no longer listed on HN - I just went through all of the pages looking for it.

comment 5y ago · link · parent

It can, but it can get incredibly slow for large formats. I was using it to reverse engineer some binary game formats but the parser would take a couple of minutes to complete. I rewrote it using struct and that time dropped to a few seconds. Useful for probing an unknown format, but I prefer the 010 editor since it’s more interactive.

comment 6y ago · link · parent

Richard Burns Rally is often touted as the closest to reality. I know Nikolai Gryazin (WRC2) plays fairly often - he actually used it to practice the Czech stage Semetin before going on to win it in real life: https://m.rally-base.com/2019/barum-czech-rally-zlin-2019/?s...

comment 9y ago · link · parent

Needs an "Ask HN: ".