HNHacker News
TopNewBestAskShowJobs

wtfrmyinitials

188 karma · joined May 30, 2016

submissionscomments
wtfrmyinitials··on Fixing a bricked Framework laptop
Anyone else bothered by the author’s constant return to whining about how Framework did not do enough for this specific repair? Each time I found myself thinking “ok, rant over, now on to the interesting technical bits” only for the rant to resume a few paragraphs later.
wtfrmyinitials··on I stopped tracking my time. Now I can't focus
I first started tracking time many years ago explicitly with the goal of more intentionality and focus on a single task. If I recall correctly the tip came from CGP Grey (of old-YouTube fame) on one of the podcasts he was doing at the time.
wtfrmyinitials··on The Sad Bastard Cookbook
It also doubles as a (very silly) rice cooker! Add a program to bring the pan to 230 F on slow intensity followed by a 2 minute timer. This will slowly simmer the water then stop cooking right after the water is all evaporated, which is exactly the process of dedicated rice cookers.
wtfrmyinitials··on Development Containers
It’s possible to install Nix (the package manager) without NixOS (the OS). It runs on macOS and Linux.
wtfrmyinitials··on Ruby-Nix: Generates reproducible Ruby/bundler app environment with Nix
I would assume it’s mostly for deploying to systems that expect Docker images like Kubernetes, fly.io, etc
wtfrmyinitials··on State of the Web: Deno

    > import foo from 'foo';
    > await foo.bar();
You only have to `await foo.bar()` if foo.bar was an async function already, the module system is irrelevant. You would still need to await it even if it was `require()`'d in.

    import baz from 'baz';
    baz.foo();
Works just fine, no `await` necessary.

      > await Promise.all([
      >   import('other'),
      >   import('stuff'),
      > ]);
Of course these have to be awaited, at this point you're explicitly trying to load new code while the program is running. It's no different than any other kind of async IO.

    > import yet from 'more-stuff';
I assume this is included to imply that loading `yet` is blocked by the `await Promise.all` above it to show that import statements can run after module resolution. If this was your intent you are mistaken, that import statement is still resolved before execution begins.

    // main.js
    console.log('a')
    await new Promise(res => setTimeout(res, 1000))
    console.log('b')
    import { foo } from "./foo.js";
    // foo.js
    export function foo() {
    }
    console.log('c')
Results in

    c
    a
    [one second pause]
    b
> Yes, an import statement is [semantically] blocking. But even so it’s important to know that it’s performing async I/O.

No, it really isn't. From the POV of the application code it's irrelevant. This is trivially proven by the existence of module bundlers which convert non-dynamic `import` statements into one big file that doesn't do anything asynchronous to initialize.

(edit: fighting with formatting)

wtfrmyinitials··on State of the Web: Deno
This is inaccurate, or at least misleading. Your code doesn’t begin executing until all of the modules are loaded so it doesn’t “make the call stack async” just because of the import system. Module loading that’s async from the point of view of user code is also supported, but it’s use is rare.
wtfrmyinitials··on We check our node_modules folder into source control
Perhaps you could achieve the best of both worlds by checking node_modules into a git submodule
wtfrmyinitials··on Microsoft pushes ahead with controversial ‘buy now, pay later’ feature for Edge
“User-Agent”
wtfrmyinitials··on How will MIDI 2.0 change music? (2020)
I was trying to write a program using midi last year and was surprised by the lack of any libraries to work with it. Then I looked up the spec and was able to get all the functionality I needed with 10 lines of code interacting with /dev/midi. Incredible how powerful such a simple interface is.
wtfrmyinitials··on Bitcoin could trigger financial meltdown, warns Bank of England
That’s why the comparison is apt. “Cars are were bad for cities” isn’t a remotely hot take, and yet nobody claims that the invention of the car was a net-negative for the world.
wtfrmyinitials··on Bitcoin could trigger financial meltdown, warns Bank of England
Cars could trigger destruction of cities, warns top horse-drawn carriage maker
wtfrmyinitials··on Tests show all driver assist systems can be fooled
No mention of comma.ai
wtfrmyinitials··on Police destroy Bitcoin miners with steamroller in Malaysia
37
wtfrmyinitials··on Valve Steam Deck
Since it runs Linux I don’t see any reason you couldn’t put your entire library on an NFS server in the other room. If I get one I’ll certainly be doing that
wtfrmyinitials··on Clubhouse Payments
It may in part be because if they kept a percentage Apple would require these payments go through their in-app purchase system, subjecting ClubHouse to the 30% app store fee.
wtfrmyinitials··on Elon Musk’s anti-union tweet from 2018 must be deleted: U.S. labor board
I may be confused, but your comment appears to be a bit of a non sequitur.
wtfrmyinitials··on Coinbase valued above $100B, ahead of direct listing
Most crypto mining is done with renewables because it’s the cheapest kWh when you don’t have to factor in energy storage.
wtfrmyinitials··on Mining Bitcoin with pencil and paper: 0.67 hashes per day (2014)
If people can print money, they will.
wtfrmyinitials··on Migrate Everything from Linux to BSD
If you’re doing DNS some company is going to see your DNS queries. So the objection is the new default choice?
wtfrmyinitials··on Why GNU/Linux Viruses are fairly uncommon (2005)
make works perfectly fine with an all lowercase makefile
wtfrmyinitials··on WindowTabs: Browser-style tabbed window management on the desktop
The sway window manager has this feature built in and it's wonderful. I use it all the time.
wtfrmyinitials··on Protocols, Not Platforms: A Technological Approach to Free Speech (2019)
It's so bizarre to me that people think that the only thing libertarians can advocate for have to do with government.
wtfrmyinitials··on Facebook sues two Chrome extension devs for scraping user data
Every day the browser becomes less of a User-Agent and more of a Vendor-Agent
wtfrmyinitials··on Computer input latency from 1977-2017 (2017)
alacritty?
wtfrmyinitials··on An updated daily front page of The New York Times as artwork on your wall
I choose to believe that the juxtaposition of Aperol and The New York Times was intentional
wtfrmyinitials··on Privacy-preserving features in the Mobile Driving License
If I recall correctly, Moxie Marlinspike did a great talk about this idea years ago. How things like having a cell phone are theoretically “optional” yet to be normally integrated into today’s society entirely requires it. This is especially true in these covid-times.
wtfrmyinitials··on Ask HN: The state of Firebase alternatives in 2020?
https://couchdb.apache.org/ + https://pouchdb.com/
wtfrmyinitials··on The Fed now owns Walmart debt
Because ZIRP encourages corporate debt.
wtfrmyinitials··on How Much Is a Human Life Worth?
I thought this was a pretty decent article until the very end when the author asserts:

> ...nobody could be bothered to develop a nationwide program to test people for infection and trace their contacts if they were positive, or to adequately support a pause of economic activity...

As for nationwide program to test people, of course nothing was built yet; it's a novel virus and therefore novel tests are needed. If a government had built out contact tracing pre-covid, they would be (rightly) criticized for taking steps in an authoritarian direction. Apple and Google have stepped in and built contact tracing, so to say this hasn't been developed is also factually inaccurate. Finally the comment about the ability to "adequately support a pause of economic activity" is kind of silly. To pause economic activity is to pause everyone's lives. What does it mean to adequately support people when they're no longer allowed to do the things they enjoy?

It was a breath of fresh air to read an article that admitted that this is a difficult trade off, not some kind of easy decision that's being ruined by the other guy. It was disappointing that it was concluded with a similar tone.

Page 1 of 3Next →