HNHacker News
TopNewBestAskShowJobs

yw3410

230 karma · joined July 22, 2020

submissionscomments
yw3410··on The Sam Bankman-Fried empire crumbled. What happened?
That's essentially Kant's argument as to why you should have universal morals (see the classic not lying to an axe murderer).
yw3410··on Gamercade v0.1 – A multiplayer-first, neo-retro Fantasy Console using WASM
This is completely random, but what pixel scrolling strategy are you using? Do you allow sub-pixel positions or do you clamp to a pixel grid?
yw3410··on The collapse of cryptokitties, the first big blockchain game
The Fate series which later spawned a massive franchise (multiple games, movies and books) started off as an eroge.
yw3410··on How Mathematics Changed Me
If you haven't done it, then the statistical proofs for the gas equations and the proofs for Maxwell's equations also rank up there for me as well.
yw3410··on Ask HN: Location based pay is killing my motivation, how do others handle it?
Graeber's essays come up from time-to-time. Philosophy usually gets upvoted quite highly.
yw3410··on You Shouldn't Use Manjaro
Arch's documentation is incomplete?

Arch has to have the most comprehensive documentation of all the distros. Even when I'm troubleshooting other distros I'll check the Arch wiki first!

yw3410··on Show HN: Parsnip – Duolingo for Cooking
If you're not picky, blending it is quicker in bulk.
yw3410··on Show HN: Parsnip – Duolingo for Cooking
Is lasagna not a pasta dish? Or cannelloni? Surely it ceases to be those dishes when you use, say, orzo...
yw3410··on Coding Mistake Made Intel GPUs 100X Slower in Ray Tracing
I wonder if it has anything to do with the WebGPU standards not allowing it for browsers, or even maybe that it's not actually a meaningful question from WebGPU's point of view (iirc, they have their own allocator).
yw3410··on Coding Mistake Made Intel GPUs 100X Slower in Ray Tracing
Are you using the memory budget extension?

https://registry.khronos.org/vulkan/specs/1.3-extensions/man...

yw3410··on Tell HN: We are trying to get tail calls into the WebAssembly standard
Yes. It can be a major PITA, in certain problem spaces and I think most people don't pretend it's a great solution but ultimately accept it as a limitation of being hosted on the JVM.
yw3410··on Tell HN: We are trying to get tail calls into the WebAssembly standard
I think koka uses a different approach for its multishot continuations than scheme as well.
yw3410··on Tell HN: We are trying to get tail calls into the WebAssembly standard
Scala only does single method tail recursion and rewrites it into a while loop. Cats and other libraries use a technique called trampolining which basically moves the frames to the heap (or a mixed technique where they do recurse a certain depth on the stack before switching to trampolining).
yw3410··on My return to desktop applications
Worth noting for c (and hence your niche language of choice via ffi) there is also glfw for windowing and webgpu-native which is from the same folk as wgpu.

EDIT: and also libuv which is the cross platform event loop for node.

yw3410··on Wayland is not ready as a 1:1 compatible Xorg replacement just yet
I used Wayland for almost everything (AMD GPU), but the performance for some applications such as Blender are absolutely abysmal currently.

I have to switch to X when using those apps.

yw3410··on How safe is Zig?
It feels like it would work really well (you could even swap between arenas per frame). I've been wanting to try something similar but it's early days.
yw3410··on As weed gets more potent, teens are getting sick
What did you enjoy about being a security guard?
yw3410··on Neovim 0.7 Released
What do you mean by "play nice"?

I tend to use quickfix lists because I can edit/filter/persist them; so for example I'll have some tests/warnings but won't care about them for the moment but then rerun the command and get the diff and navigate to that.

It's fairly complicated to script the same using the LSP api.

yw3410··on Rustaceans at the border
You're forgetting about custom build scripts. Thankfully most of the core ones have moved off cloning dependencies for ffi purposes (think cloning an alsa-lib version for ffi), but it used to be super common.
yw3410··on Neovim 0.7 Released
Why wouldn't you set the makeprg and have it populate the quickfix list instead?
yw3410··on A Project of One’s Own
It's certainly true for a lot of corporate graduate schemes require a 2.1 in a relevant subject and reputable university in the UK. It's typically used as an initial filter.
yw3410··on Helix: a post-modern modal text editor
One point to add to all of the great points here is consider getting a smaller keyboard (or an ergodox) especially if you're on the smaller side (for the same reason as the last point, stretching less tends to be nicer on the tendons).
yw3410··on Why Is It So Hard to Detect Keyup Event on Linux?
Is what the same as Wayland? Maybe you've misunderstood the article?

The process is running as root and reading directly from /proc; the article acknowledges that it's essentially a keylogger.

yw3410··on Dave Herman’s contributions to Rust
I was super-surprised when I used rust macros (specifically macro rules) about how lispy it was.

There was an aha-moment when I realised that it was token based and not AST based like some other macro systems I've worked with in some other languages.

Case in point is how to express varargs in macro rules which is expressed roughly like a comma followed by an expression repeated n times. Super nice.

yw3410··on Why bumblebees love cats and other beautiful relationships
The RSPB in the UK found no evidence of cats causing the decline and attributes it to a decline in habitat.

[1] https://www.rspb.org.uk/birds-and-wildlife/advice/gardening-...

yw3410··on Nyxt Browser
It's a rebrand iirc.
yw3410··on Why I Didn't Open-Source My Second SaaS
Yes; but you have to remember that git forges like GitHub and Gitlab push you towards that the open development model with their defaults.
yw3410··on Show HN: Redbean – Single-file distributable web server
I think it's really cool project; but could you explain why it's important that a binary works everywhere for you? I don't really get the enthusiasm for this sort of thing.

Maybe I have a blind spot or something or I've just been in Unix-land for too long.

yw3410··on Interest surges in top colleges, while struggling ones scrape for applicants
I'm not sure I agree with your article.

I can think of at least one way to structure an ISA such that incentives aren't aligned. Since it's relatively risk-free, the ISA could essentially just optimize for number of students rather than quality.

This already happens in things like recruiting where incentives supposedly align; so I don't think it would be a stretch to apply it to ISA agreements.

It's like the illustrative story of the shaman/psychic who offers to change the lottery odds for you for a cut of the winnings.

What would be interesting is if the ISA /paid/ you a living wage on completion until you found a job.

yw3410··on We haven’t seen a quarter of known bee species since the 1990s
Isn't your hypothesis dependent on the fact that there is a way to convince the public at all? The alternative tends to be more enticing.

Humour me; how would you have convinced the public that a pandemic was a real risk before it happened; such that they would need to fork out more money for taxes?

How would you have convinced someone before 2008 that regulating part of the finance industry might be somewhat a good idea; such that they would have to reduce profit on their pension funds?

And how do you convince someone, /today/ that climate-change might have quite far-reaching consequences; such that they'll need to pay more for consumer goods?

← PreviousPage 3 of 5Next →