HNHacker News
TopNewBestAskShowJobs

logdahl

138 karma · joined August 14, 2022

https://logdahl.net
submissionscomments
logdahl··on Nobody ever got fired for using a struct
Strictly speaking, Isn't there still a way to express at least one Illegal string in ArchivedString? I'm not sure how to hint to the Rust compiler which values are illegal, but if the inline length (at most 15 characers) is aliased to the pointer string length (assume little-endian), wouldnt {ptr: null, len: 16} and {inline_data: {0...}, len: 16} both technically be an illegal value?

I'm not saying this is better than your solution, just curious :^)

logdahl··on Show HN: I spent 3 years reverse-engineering a 40 yo stock market sim from 1986
Super cool stuff! I love the idea of games being refurbished to the point that it can be kept, almost source original, and still played years down the line. For example, I love Another World for this, being just a bytecode blob where each port is just a VM (good writeup: https://fabiensanglard.net/another_world_polygons/index.html).
logdahl··on Ask HN: Who wants to be hired? (February 2026)

  Location: Umeå, Sweden
  Remote: Yes (preferred)
  Willing to relocate: In Sweden, perhaps
  Technologies: C++, Java, Golang, Low-level systems engineering, GPU Compute & Rendering (Vulkan, GL, Cuda)
  Résumé/CV: https://github.com/ollelogdahl https://www.linkedin.com/in/ollelogdahl
  Email: olle.logdahl.net
Graduating with my Master's this summer (June), seeking new exciting & challenging roles where I can grow. Been working 4.5 years as a Java backend developer, but have spent 10+ years with CS as my hobby; exploring distributed systems, systems programming and computer graphics.

My current interests are mostly systems programming, performance engineering and GPU compute. I love to tackle hard technical topics and deep diving. If you're working on something interesting and think I could contribute, please reach out! :^)

logdahl··on Linux kernel framework for PCIe device emulation, in userspace
I found it here as well in pdf form: https://github.com/wyvernSemi/Articles/blob/main/docs%2Fpcie...
logdahl··on Ask HN: Share your personal website
https://logdahl.net

See also: https://news.ycombinator.com/item?id=44043045

Only one article as of yet but have been working on something... :^)

logdahl··on The borrowchecker is what I like the least about Rust
> it is nicer to write in those other languages

I think this is a matter of preference. Nowadays I cannot stand environments like Java (or especially Kotlin). "Tricky memory errors" is in my opinion nicer than a borrow-checker refusing sound code. I guess I really hate 'magic'...

logdahl··on How to prove false statements: Practical attacks on Fiat-Shamir
Please elaborate specifically how you would do it for a byzantine-safe distributed network.
logdahl··on Show HN: I made a running app that turns your runs to a virtual garden
Must try this out! I love how reframing challenges can change also how we feel about it! Nice work!
logdahl··on GPU-Driven Clustered Forward Renderer
Absolutely! I think this would likely be the next step.
logdahl··on GPU-Driven Clustered Forward Renderer
Yeah, I use LODs already but as you say, even my lowest lod far away is too many vertices. Imposter rendering seems very interesting but also completely bonkers (viewing angle, lighting)!
logdahl··on GPU-Driven Clustered Forward Renderer
Interesting that Sweden explicitly do NOT use it... Not sure where i picked it up! :-)
logdahl··on GPU-Driven Clustered Forward Renderer
Fun to see you ;) Love your site!
logdahl··on GPU-Driven Clustered Forward Renderer
Well, the core issue is still drawing. I took another look at some profiles again and seems like its not the renderer limiting this to 27k! I still had some stupid scene-graph traversal... But clustering and culling is 53us and 33us respectively, but the draw is 7ms. So a frame (on the GPU-side) is like 7ms, and some 100-200 us on the CPU side.

Should really dive deeper and update the measurements for final results...

logdahl··on Show HN: Peanut Butter Spinner
Sorry, I don't understand why you would be spinning the bottle. Someone care to explain? :)
logdahl··on Adobe Photoshop Source Code (2013)
I can't say much about this code or your personal background, but my honest opinion is to take a step back and examine the principles.

I used to be very bothered by abstractions, design patterns and structure. But I realized that when I worked with 'true' imperative code (forget classes for a while), keeping all code in the same file, the code started to structure itself. I am not saying this is the only way, but I feel like OOP can be a hinderance, as you get bogged down by alternatives.

logdahl··on Borgo is a statically typed language that compiles to Go
I think they are calling Rust complex, not complicated. Rust is way more complicated than Go, when we are talking about language features.
logdahl··on How is a binary executable organized? Let's explore it (2014)
A common hack to reduce ELF size is actually to start the first section (possibly the .text) right on the elf header, as this circumvents the alignment requirements.
logdahl··on Going faster by duplicating code
I kind of wish we had a form of preconditions/hints for the C compiler. There are lots of attributes, but those all look weird. Imagine annotating a calculation that 1 is a common value for example. or that a function is never called with a null-pointer.
logdahl··on The largest DDoS attack to date, peaking above 398M rps
The universities in Sweden were attacked by "Turkey" after the big quran-burning scandal. They had some twitter account bragging about it. Was pretty evident it was Russia.
logdahl··on Role of Algorithms
I have been wanting to get into competitive programming. I am quite an experienced programmer. Is leetcode still applicable, or are there other sites that are more suited?
logdahl··on Hey, computer, make me a font
Cool! Now generate 'upper-uppercase' and see what happens :^)
logdahl··on Johnny Decimal: A System to Organize Projects (2015)
I'm just wondering when we're gonna get tagged filesystems. Maybe something partially hierarchical. Would love a book/ directory that i can query for 'sci-fi' or 'specification'. I guess one could implement it using sym-links :^)
logdahl··on Johnny Decimal: A System to Organize Projects (2015)
Not sure I agree with your PKM point. It feels like it fits well for company/project structure. Reading his forum and a bit into the article it seems to advocate a "librarian" that keeps the system correctly categorized. I think he mentioned somewhere that this system doesn't fully fit PKM. I remeber some example of categorizing photos according after vacations, but running out of numbers. But I must admit I don't fully remeber the arguments.
logdahl··on Why do old books smell so good?
I would say it translates to old book smell
logdahl··on Show HN: Hacker News Without News
Please do! I have been looking for curated lists of good tech articles.
logdahl··on The “je ne sais quoi” of TikTok
I have successfully stopped this habit using YoutubeVanced. There is an option to hide shorts from the main screen, which was enough for me to stop watching them.
logdahl··on How I learned to stop worrying and love macros
I dont know, I see macros and code generators as the one tool to battle boilerplate. Functions often have boilerplate syntax rules. Macros do not :^)
logdahl··on Oasis: Small statically-linked Linux system
The discussions on static- vs dyamic linking piqued my interest. Is there any resources I should read about the history and concrete pros & cons of linking techniques?
logdahl··on Are we Blub programmers? (2006)
Feels like I've read this quote somewhere else, maybe some lisp book/manual. Is this the original author? And on the topic of objective quality in PL:s, the article I read had some good points stating that it actually exists.
← PreviousPage 2 of 2