HNHacker News
TopNewBestAskShowJobs

urxvtcd

248 karma · joined October 28, 2019

submissionscomments
urxvtcd··on Modernist Cuisine: The Art and Science of Cooking
I’ve never tried sous vide eggs, but I imagine the biggest benefit is easy consistency. I have a pretty solid recipe for soft boiled eggs adapted from Heston Blumenthal but it still leaves some room for imperfections. Can you share more about the steam eggs? Tried to find the reference but no luck. Is it from their book?
urxvtcd··on Humpback whale briefly traps young kayaker in its mouth in Chile
> CDC officials, citing a 2021 survey, say about one-third of U.S. adults incorrectly think tap water was free of bacteria and other microorganisms. Nearly two-thirds say tap water could be safely used for rinsing their sinuses.

> The CDC recommends using boiled, sterile or distilled water.

Flesh eating bacteria? Yeah, no, thanks.

https://www.pbs.org/newshour/health/what-to-know-about-anoth...

urxvtcd··on Guide to mechanical keyboards
No one is selling them. And no one is selling the switches. So the only way to get switches for a custom keyboard is buying a Topre keyboard only to pull them out. Seems like a lot of work. AFAIK, maybe that's changed since I last checked.
urxvtcd··on Guide to mechanical keyboards
You might want to look into Topre switches. They are electrocapacitive rubber dome switches. They feel like typing on a cloud. I own a Leopold FC660C modded to be silent and to support QMK. I sometimes think about getting an ortholinear or split keyboard, but that rules out Topre so I’m not going to bother, it’s just too good.
urxvtcd··on When was the famous "sudo warning" introduced? (2019)
Similar feeling with "No trespassing"... like, duh!
urxvtcd··on Microsoft formally deprecates the Windows Control Panel
I do own a device I'm very fond of, Ploopy Mouse, but it's not likely to match your criteria. It's quite big, 3D-printed, open source, wired, and runs QMK. Loads of character :)

https://ploopy.co/mouse/

urxvtcd··on Microsoft formally deprecates the Windows Control Panel
You can disable it: https://apple.stackexchange.com/questions/460992/how-can-i-r...
urxvtcd··on When eyesight fades and climbing provides comfort
How does that work? Do they climb on routes specifically prepared for them? I'm a (bad) climber and it's a pretty intense whole-body workout.
urxvtcd··on What's New in Neovim 0.10
My solution is to have this snippet in my vimrc. Don't ask me why this works. It's been years, and I had no issues with it.

    " System-agnostic setting making the unnamed clipboard register act like
    " clipboard in any other editor. Copy with y commands, and paste with p or P.
    if has('unnamedplus')
        set clipboard=unnamedplus,unnamed
    else
        set clipboard+=unnamed
    endif
Beside this, there is also the issue of setting paste when pasting in insert mode.
urxvtcd··on Washington State judge blocks use of AI-enhanced video as evidence
There’s a comment explaining there really was a leaf in the shot.
urxvtcd··on French court issues damages award for violation of GPL
will (hypen-minus) he (en-dash) nill (hyphen-minus) he
urxvtcd··on 100 Years Ago, IBM Was Born
Turns out there's few more of them: http://catb.org/jargon/html/I/IBM.html
urxvtcd··on 100 Years Ago, IBM Was Born
It's Better Manually
urxvtcd··on The end of "Useless Ruby sugar": On intuitions and evolutions
Thanks for response. Some of these thoughts floated around in my head as well, though less ordered and well articulated.

One thought regarding the quantification element. I’ve grown to appreciate the uniformity of Go’s solution, where you always import an entire namespace, optionally aliasing it to avoid conflicts.

This small restriction makes some naming decisions simpler (for example sticking to config.Parse, and not the stuttering config.ParseConfig). Additionally it sprinkles the namespaces over the code so you get at least _some_ feel for them.

On another note, on some occasions I have thought to myself that it’s easy for the import section to get to little scrutiny on reviews, and wondered if there’s something that could make us wonder „should x depend on y?” more often.

urxvtcd··on The end of "Useless Ruby sugar": On intuitions and evolutions
Any results from your research? That seems interesting.
urxvtcd··on Yabai – A tiling window manager for macOS
Please post it if possible. I couldn’t figure out the stacking API, and I miss that feature from i3.
urxvtcd··on macOS Containers v0.0.1
Anecdotal evidence, but here it goes.

I moved from Linux to M1 MacBook recently. I know my greps and vims, but I was tired of audio glitches during high CPU usage, system not waking up from sleep, total OS freezes, super loud fans, and so on.

Now I get none of that. I don't think I've ever heard the fans. Audio just works, everything is super snappy. It always wakes up. I'm no longer afraid of bluetooth.

And on top of that, setting my $DAYJOB VPN took three minutes and it just works, where on Linux I had constant problems with DNS breaking, and setting it up was always an hour of work, praying I got the config files right this time.

It really seems to be "unixy desktop with working sound", the best of both worlds.

urxvtcd··on Strong arrows: a new approach to gradual typing
This is a slightly above my pay grade, so take it with a bit salt.

Type systems in general reject some programs as invalid, but this claim is usually made with powerful type systems in mind; think Haskell, Idris, Rust. I only played with these casually, but it is true that you can write some code, and then let yourself be guided by compiler in fixing all the errors. It's often the case that the resulting program just works.

Rust's borrow checker is a part of its type system, based on some flavor of linear types if I remember correctly. Think about it: the type system can protect you from double frees. This is powerful.

In Haskell, for starters, you can't do any side effects outside of IO monad. You can express precisely what a given function is allowed to do.

In dependently-typed languages you can express that, for example, a function concatenating lists of length n and m returns a list of length n + m.

And aside from these above there is a lot of other, less magical things: no nulls, exhaustiveness checks for ADTs, some focus on immutability, lack of exceptions, and so on.

Now, I doubt we are all going to write Idris in five years, and even there bugs do happen obviously. But the idea compiles==works is not entirely out of this world.

urxvtcd··on The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
My point was it was no allusion to the original at all. The format took a life of its own, and is now a meme, and the author himself confirms it was the case in the sibling comment. No need to pull that scary ellipsis out.
urxvtcd··on The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
> That aside the “unreasonable effectiveness” allusion to “The Unreasonable Effectiveness of Mathematics in the Natural Sciences” is clearly overwrought. Let’s not get ahead of ourselves.

It's a meme title, I've seen it a couple of times on HN: https://hn.algolia.com/?q=Unreasonable+Effectiveness

Also see: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

urxvtcd··on FiraCode: Free monospaced font with programming ligatures
You can always use the original version without ligatures, Fira Mono, available here: https://fonts.google.com/specimen/Fira+Mono
urxvtcd··on Birds make nests out of anti-bird pins
Interesting article! Didn't know that the sentiment is relatively recent.

I always die a little hearing the flying rat thing. I get that they can be really annoying, waking you up, trying to lay eggs everywhere. But—having helped to care for many injured, sick, and unwell animals, pigeons _and_ fancy rats among them—I can't help but to feel sorry for how they are treated.

urxvtcd··on Microtiming in Metallica's “Master of Puppets” (2014)
For the people that don't see anything special here apart from the feet going kinda fast. This band is known from playing wild time signatures. Like playing riffs in 11/8 and throwing in 3/8 every couple of bars.

The drummer essentially plays two rhythms at once. His hands mostly do 4/4, but feet play a shorter phrase that only lines up with hands every couple of bars. It's like simultaneously counting to four on one hand and to three on the other hand, but using four limbs on a full drum kit, adding accents, ghost notes, changing time signates, and not skipping a freaking beat.

And their every song is like this. I also think on "Combustion" he plays 1/16 note off from the rest of the band.

urxvtcd··on Argbash – Bash Argument Parsing Code Generator
> As an anecdote, one thing that was extremely difficult was fixing all the footguns around set -e / errexit in bash.

Shameless plug: I've recently written a blog post about how set -e suddenly ceases to work when using function calls in flow control (what you refer to as "disabled errexit quirk"): https://snails.dev/posts/set-e.html

Your comment made me interested in Oil, thanks!

urxvtcd··on Google Python Style Guide
The way I think about it is that if black's output looks weird, you should probably restructure your code. It's not _always_ true, but often enough it means the code can be made simpler, some values created in flight can be given names, and so on.
urxvtcd··on Vim: ZZ and zz: Do you know the difference?
You might know it, but all of vim's built-in commands start with lowercase letters, but it's impossible for users to define new commands starting with lowercase letters. Kind of a namespacing I guess.
urxvtcd··on Robot Framework: generic open source automation framework
Yeah, I share the sentiment. What it boils down to is that you need to write the test two times. The supposed feature that once written the keywords can be reused is mostly a joke. There will be few heavily-used keywords, and a really long tail of one-time keywords, which is a pain.

I see a single advantage to these frameworks though. They force you to write a test in a specific way that looks like a real-world scenario with clear delineations between setup stages, assertions, and so on. Not that it's impossible to achieve with regular programming language, obviously.

urxvtcd··on Elixir Livebook now as a desktop app
Hm, I think I've read somewhere that both Go and Elixir and kinda cooperative. A process in Elixir can yield control after certain number of reductions (function calls I think) and in Go a goroutine can only yield control on function calls, so if you have an infinite loop just adding numbers it will run uninterrupted. Both of them are "less cooperative" than Python with explicit yield statement. Do I get this right? I started digging into concurrency not that long ago.
urxvtcd··on SL(1): Cure your bad habit of mistyping
I have a script called wq in my path, that echoes "haha!", when I type ;wq in my shell. That is because I have swapped colon and semicolon in my vimrc.
urxvtcd··on Functional programming jargon in plain English
While I _think_ I understand monads on some rudimentary level through how join and bind operate, your "just sequencing" doesn't tell me anything. And this is a problem with a lot of these texts. Maybe that's trivial to the writers, but it makes me feel even dumber when I cannot understand a concept I already understand, lol.
← PreviousPage 2 of 4Next →