HNHacker News
TopNewBestAskShowJobs

dumdumchan

35 karma · joined June 22, 2023

submissionscomments
dumdumchan··on How to think about async/await in Rust
Look at this program:

    val another_path = await readFile(path);
    val data = await readFile(another_path);
    console.log(data.length);
How would you do that using threads?
dumdumchan··on More than 75% of Steam games tested are playable or verified on the Steam Deck
> because that ending would not have landed for me

No wonder it didn't, you just watched a video. It's like the difference between 4dx and netflix.

dumdumchan··on Why Physicists Tried to Put a Ferret in a Particle Accelerator
Couldn't they just use pressurized air?
dumdumchan··on 55 GiB/s FizzBuzz (2021)
It wouldn't run at all since it wouldn't exist.
dumdumchan··on AMD CPU Use Among Linux Gamers Approaching 70% Marketshare
What you guys are referring to as Linux, is in fact, GNU/Linux, or as I've recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.

Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called "Linux", and many of its users are not aware that it is basically the GNU system, developed by the GNU Project.

There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine's resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called "Linux" distributions are really distributions of GNU/Linux.

dumdumchan··on WebAuthn Is Great and It Sucks (2020)
Thats not it. If it were, yubikey would be everywhere. Whats more intuitive than inserting a key to unlock your account?
dumdumchan··on GPT-Migrate converts repos from one lang/framework to another
They will have to train their own model. ChatGPT has been trained on textual data.
dumdumchan··on GPT-Migrate converts repos from one lang/framework to another
Is there an upper limit on the size of code base it can handle? (LLM context size)
dumdumchan··on ChatGPT is now a brilliant tool for winding up telemarketers and scammers
There you go

https://www.youtube.com/watch?v=dtO7jvS-pxA

dumdumchan··on Far Cry 1.34 source code (2006)
The immersion is what sold it to me. No hud, no on screen markers. Need to look at map? Pull it out, hold it in your hand and look at it. I'm surprised no other AAA game has tried this formula.
dumdumchan··on Far Cry 1.34 source code (2006)
They peaked at far cry 2 and it has been down hill ever since
dumdumchan··on Writing Python like Rust (2020)
I could show you 20 functions in stdlib itself and popular libraries that return an error but don't mention under what circumstances. They have an internal error type that is a catchall and this isn't exactly an upgrade over exceptions.
dumdumchan··on Canada’s new tech talent strategy
> GTA

Greater Toronto Area for those unaware.

dumdumchan··on Try: run a command and inspect its effects before changing your live system
Doesn't work on popos:

    $ try pip3 install libdash
    Warning: Failed mounting /boot as an overlay, see /tmp/tmp.BrLiRj0Brb
    Warning: Failed mounting /home as an overlay, see /tmp/tmp.BrLiRj0Brb
    Warning: Failed mounting /snap as an overlay, see /tmp/tmp.BrLiRj0Brb
    /tmp/tmp.c7hp4nI6lE: line 4: cd: /home/user: No such file or directory
dumdumchan··on Do you know how much your computer can do in a second? (2015)
5 minutes after you takeoff you hit a pebble that obliterates your entire ship because you're covering billions of cubic meters of volume every second (in your time).
dumdumchan··on How VSCode made bracket pair colorization faster (2021)
Intellij does this in constant time because it has AST functionality built in.
← PreviousPage 2 of 2