HNHacker News
TopNewBestAskShowJobs

PudgePacket

1,331 karma · joined July 31, 2014

submissionscomments
PudgePacket··on Bevy 0.4: data oriented game engine built in Rust
That's correct.
PudgePacket··on Ray Tracer Sandbox in Vulkan
Webgl is honestly a pretty good mid ground between them.
PudgePacket··on Basic Concepts in Unity for Software Engineers
Yes, multiple scenes are common practise. Using it to stitch game worlds is not common though. Most terrain systems would have their own, more optimal/efficient ways of doing that.

https://docs.unity3d.com/ScriptReference/SceneManagement.Loa...

https://gamedevacademy.org/a-guide-to-handling-huge-worlds-i...

PudgePacket··on Your single-page app is now a polyfill
With service workers disabled on firefox the site just breaks, no graceful degradation/progressive enhancement. When clicking links in the header the url will change, but the page content doesn't.
PudgePacket··on Show HN: Gurlic – Free and Open Communities
So.. I can't get to the about page because when I scroll down to see the links in the footer, it loads more content :)
PudgePacket··on Benchmarking static website hosting providers
Netlify results seem disappointing, I say that as a happy user of their service.

Netlify is an outlier in this comparison. For them, static site hosting is their core product, bread and butter if you will. To have such mediocre performance, as well as a relatively bad time to first byte is quite surprising.

PudgePacket··on Show HN: A SQL database implemented purely in TypeScript type annotations
What do you mean by "no JS overhead"?
PudgePacket··on At JPMorgan, productivity falls for younger employees at home
Distractions are orthogonal to space.

It's generally not productive to play "who has it worse".

PudgePacket··on Apple is starting to use Rust for low-level programming
"rust community" is not a single organism.

I also think we should understand someone was probably quite excited to see something they liked taken seriously by a company they respect. Maybe in their excitement and rush they user hyperbole.

PudgePacket··on State of Self-Serve Website Building in 2020
Most of the options are hosted or static, which are generally "secure enough" for the intended audience.

As soon as you're self hosting now you're doing server admin etc and that would be outside the scope of the article.

PudgePacket··on Getting Better at Understanding Academic Papers: A Brief Guide for Beginners
For further reading see "Studying Studies" https://peterattiamd.com/ns001/.
PudgePacket··on Porting a Golang and Rust CLI tool to D
Oh boy I definitely understand you, in fact I built a Rust CLI tool to solve exactly that ;) https://github.com/tbillington/kondo
PudgePacket··on Porting a Golang and Rust CLI tool to D
Rust is statically linked by default, not sure how D works. Rust still includes some debug features that can give you a stack trace. Size will also depend on the compile options, if LTO was enabled, how much generics were used, how much string printing was used (print is a macro in Rust that generates code at the callsite), etc. Most, if not all, of these can be resolved.

See https://github.com/johnthagen/min-sized-rust for aiming for small binary size.

This article shows a 93% size reduction, 2.7m -> 200kb, with some relatively simple modifications https://www.collabora.com/news-and-blog/blog/2020/04/28/redu....

Here is someone using Rust for a 3kb demoscene program https://www.codeslow.com/2019/12/tiny-windows-executable-in-....

PudgePacket··on "Rust does not have a stable ABI"
Off-topic but it seems the quotes around the title don't render on the front page, but they do render on this page? It flips the entire tone of this article.

Initially on reading the title I just eye-rolled, but clicking through and seeing it was a response to that, and was actually the quote in quote marks made much more sense!!

PudgePacket··on The creeping scourge of tooling config files in project root directories
6. Authors who haven't heard of XDG_CONFIG_DIR.
PudgePacket··on Changes to SameSite Cookie Behavior – A Call to Action for Web Developers
True!
PudgePacket··on Changes to SameSite Cookie Behavior – A Call to Action for Web Developers
You can turn them off in browser settings, I have in firefox :)
PudgePacket··on Ask HN: Who is hiring? (August 2020)
The lever and github links are broken.
PudgePacket··on Blue Team Rust: What Is “Memory Safety”, Really?
Yes, that's the whole point though.
PudgePacket··on Blue Team Rust: What Is “Memory Safety”, Really?
Can you rephrase or restate your point? It's really hard to understand..
PudgePacket··on Designing a Physics Engine
> Note the use of pointers, this forces other systems to take care of the actual storing of objects, leaving the physics engine to worry about physics, not memory allocation.

Based on the access patterns in the code (iterating through every physics object every step), keeping the physics objects behind a pointer is actively cache hostile! If at all possible try to have these objects in contiguous memory.

PudgePacket··on A combo of fasting plus vitamin C is effective for hard-to-treat cancers in mice
18 hours of the day not eating, 6 eating. It's usually called time restricted eating/feeding or an eating window with the idea being you'd do it every day. This is in contrast to extended/prolonged fasting, which is typically 24hr+.

In general IF (intermittent fasting) is a catch-all phrase, and not a particularly helpful one.

PudgePacket··on A combo of fasting plus vitamin C is effective for hard-to-treat cancers in mice
From what I've read there's a cap on how much VitC you can absorb orally, IV VitC can give you much much more (think order of magnitude or more).
PudgePacket··on Avoid character-by-character processing when performance matters
Curious how this would apply to the Redis protocol. It's a text protocol that is friendly/intended for character by character parsing. The example code at the bottom of the page is an example of iterating the characters of a byte stream.

https://redis.io/topics/protocol

PudgePacket··on Life without line numbers for 6% smaller Go binaries
I don't know if it would be in the spirit of Go.

(I'm not for/against the philosophy of the decision making, just pointing it out).

PudgePacket··on Zulip 3.0: Threaded Open Source Team Chat
That's what I meant though. Neither parts needs to use crates.io.
PudgePacket··on Show HN: A completely different way to write responsive, vanilla, CSS
> but who writes vanilla css in 2020?

Even if your point is good, that's just not a productive way to start out.

PudgePacket··on Zulip 3.0: Threaded Open Source Team Chat
You can add crates from other registries or git urls.

https://doc.rust-lang.org/cargo/reference/specifying-depende...

PudgePacket··on Show HN: A completely different way to write responsive, vanilla, CSS
Damn.. super interesting!
PudgePacket··on Show HN: A completely different way to write responsive, vanilla, CSS
Seems like it's just being used as a distribution method here.
← PreviousPage 2 of 13Next →