HNHacker News
TopNewBestAskShowJobs

JNRowe

7,427 karma · joined February 3, 2014

username at gmail.com ; Feel free to get in touch.

[ my public key: https://keybase.io/jnrowe; my proof: https://keybase.io/jnrowe/sigs/orH3nyNqAK4vkIpcxn2HRihHPV2HX80SyDwM9cR5xnw ]

submissionscomments
JNRowe··on Todo List for Vim
Nice doc series. Perhaps consider linking your lines documentation in the todo docs as an example of how to shift items around? Every time vimwiki/todo.txt comes up here people bring up how to move/delete completed items, often because they're unaware of :move and friends.

Note: Your .vimrc link in configuration¹ is broken.

Edit: After re-reading my comment it sounds like a complaint, it wasn't meant that way and I hope it didn't come across that way. I did enjoy reading your series!

¹ https://mkaz.blog/working-with-vim/configuration/

JNRowe··on Todo List for Vim
Pretty much my experience too. Every few months my distro collects up a bag of patches, then I receive a new build. Once every couple of years I get to go through a version${new}.txt help file, often receiving a few new goodies.

My only real interaction was a few years ago when I opened a doc typo PR, and received a quick response from Bram. Then it faded away again.

JNRowe··on Future Plans for Autotools
ebuilds¹ use essentially that syntax, as does setuptools². Others support that too(nix, bitbake, etc), but I have bookmarks on the first two ;)

¹ https://devmanual.gentoo.org/general-concepts/dependencies/i...

² https://setuptools.readthedocs.io/en/latest/userguide/depend...

JNRowe··on Why Canadians Can't Bike in the Winter (But Finnish People Can)
I'm near Cambridge(UK) and the number of days where it makes a difference is low here too. The bike lane experience largely sounds similar too :/

However, in the Before Times I'd keep a spare front wheel with a winter Schwalbe for slimy or light snow days. Swapping it out took literal seconds, and it made a huge difference. Variable traction on the back wheel is far more forgiving.

JNRowe··on Libvirt: Adoption of GLib library to replace GNULIB and home grown code
I can't offer extra recommendations, but just wanted to offer full agreement.

GLib is the awesome standard library I get to use everywhere thanks to gobject-introspection. From work projects in Vala, window manager¹, image viewer², video player³. It is especially useful with lua configurable projects, given the sparsity of the language itself.

¹ https://awesomewm.org/

² https://github.com/muennich/sxiv - my user configs are lua & lgi, extended with gexiv2 also via gobject-introspection.

³ https://mpv.io/

JNRowe··on Toolz: A functional standard library for Python
For those, like me, who get excited by this note that there are restrictions on the Unicode categories that are allowed, see the supported characters¹ and gory details². It is often enough to write math-y code in a usable way, but occasionally you'll find you can't use the character you want.

¹ https://docs.python.org/3/reference/lexical_analysis.html#id...

² https://www.python.org/dev/peps/pep-3131/

JNRowe··on Paradox-free time travel is theoretically possible
While also not quite what you asked for, Ted Chiang's short story "What's Expected of Us" deals with some of the emotional issues of determinism.

Oh, and his "The Merchant and the Alchemist's Gate" is a stylistically beautiful exploration of people intertwined through time travel.

JNRowe··on Simon Tatham's Portable Puzzle Collection
I love this puzzle collection. Especially bridges when I want a little brainteaser, and untangle which I find really relaxing for some utterly undefinable reason.
JNRowe··on Fast Commits for Ext4
Looks like Firefox 3¹, all the way back in 2008! There is a good description of fixes and workarounds on LWN².

¹ http://shaver.off.net/diary/2008/05/25/fsyncers-and-curvebal...

² https://lwn.net/Articles/328363/

JNRowe··on Why Zig when there is already C++, D, and Rust?
I was half expecting to find some kind of rickroll-esque joke, but there is actually a lot of really interesting discussion tucked away in that search¹. I find the open and frank discussion of problem choices to be very refreshing.

¹ https://github.com/ziglang/zig/search?q=design+flaw&type=iss...

JNRowe··on Political Detox Week – No politics on HN for one week (2016)
For those who are also curious¹, and the excellent linked topic².

¹ https://news.ycombinator.com/front?day=2009-03-11

² https://news.ycombinator.com/item?id=512291

JNRowe··on Wikipedia 20: last gasp of an internet vision, or a beacon to a better future?
I was one of the naysayers, but I can't recall whether I thought a lack of interest or vandalism would kill it. I also recall feeling similar about OSM after having watched the founder(I think) give a talk about riding around on his bike(~2005).

Nowadays, I no longer own a paper encyclopedia or buy new paper maps. What absolutely indispensable one-hundred percent essential items will be largely gone alongside the 30 year anniversary?

JNRowe··on Null
If I'm honest my reason for submitting this was a hope that any traction it received would be met with other odd stories in the comments. So yeah, there is some market for your book suggestion.
JNRowe··on The Future of Libjpeg-Turbo
The vim docs on sponsorship raise that exact issue(:h register{,-faq}). Being able to claim a donation is registration did make getting a donation through my employer easier for me.

Specifically, this part:

    What is the difference between sponsoring and registering?
    
    It has a different name.  Use the term "registration" 
    if your boss doesn't like "sponsoring" or "donation".
    The benefits are the same.
I'm not sure if continuing to use the term register versus being "that guy who tries to sponsor projects" is what works now though ;)
JNRowe··on The Metaphysical Can Opener
Interesting. In the time between our posts I was thinking of other examples and wondering if perhaps the idea is simply a weak trope. My own ignorance hadn't allowed me to consider it was simply a stronger reflection of cultures I'm unfamiliar with.

Plus, thanks to you and pjc50 for restocking the reading list ;)

JNRowe··on The Metaphysical Can Opener
And Atwood's The Handmaid's Tale:

> At the corner is the store known as Soul Scrolls. [...] Behind it are printout machines, row on row of them; [...] There are five different prayers: for health, wealth, a death, a birth, a sin. You pick the one you want, punch in the number, then punch in your own number so your account will be debited, and punch in the number of times you want the prayer repeated.

If you have a copy to hand a chunk of chapter 37 deals with the interactions with these machines.

JNRowe··on GNU Units
For use cases like that it is incredibly similar if you give the --verbose flag:

    $ units --verbose
    [header]
    You have: furlongs per fortnight
    You want: m/s
            furlongs per fortnight = 0.00016630952 m/s
            furlongs per fortnight = (1 / 6012.8848) m/s
    You have: 17 yards + 2 feet + 5 inches
    You want: meter
            17 yards + 2 feet + 5 inches = 16.2814 meter
            17 yards + 2 feet + 5 inches = (1 / 0.06141978) meter
Personally, I find qalc via qalculate-gtk more useful for exploratory sessions but I still use units an awful lot.
JNRowe··on George Orwell is out of copyright. What happens now?
I recently pimped an Orwell biography in a different thread¹, but I'll do so again. Dorian Lynskey's The Ministry of Truth is a really well written and thoroughly researched treatise on Orwell.

I found the passage of his life from Eton through Spain to his final books far more interesting than his actual writings(with the possible exception of Road to Wigan Pier).

¹ https://news.ycombinator.com/item?id=25474279

JNRowe··on What caused Shimano's Coasting-program to fail? (2010)
Full agreement about how to increase ridership. I've been lucky enough to work somewhere with good storage, power for charging¹, great security and that really changes the dynamic for cycling to work.

Re: showers at work. I've been wondering what is going to happen to cycling to the office once people start going back en masse.

For example, the shower unit at our office has only been available to people who work in the clean room environment since March, and I just can't see how we go back to common use in the foreseeable future.

And frankly, if people start going back to full-time without showers I'd probably like to see cycling use drop(or at least for people like me who tend to arrive lycra'd up on a road bike).

¹ Ridiculously that seems to include lights, computers, Garmin Varia, gears, etc at this point.

JNRowe··on Nim in 2020: A Short Recap
One of my favourite things about working with Vala¹ was being able to use Genie² with the off-side rule syntax where it felt appropriate. Some chunks of code feel better to me when structured in certain ways.

I often find myself wondering why other languages haven't implemented support for an alternative syntax. I suspect the answer is that simply no one cares enough to put the work in, but perhaps there is a better reason.

¹ https://en.m.wikipedia.org/wiki/Vala_programming_language

² https://en.m.wikipedia.org/wiki/Genie_(programming_language)

JNRowe··on The Impossible Mirror Scene in 'Contact'
> [...] Story of your life, which is an intensely interior novel.

SoYL and Hell is the Absence of God both really broke me. Even after reading SoYL I genuinely wasn't prepared for how HitAoG made me feel.

Edit: FWIW, I think this is a good thing, just in case it doesn't come across that way.

JNRowe··on German Radio Turns 100
Some years ago, having not spoken any German since high school, I wanted a little refresher before starting a project with some German co-workers. I figured DW would offer some standard texts I could use to get started, and was pleasantly surprised to find whole courses available.

One in particular, based around the plight of a character called Nico, was actually interesting in its own right¹. Searching for it I see they offer even more now; DW truly does feel like an excellent resource to be proud of for its outreach alone.

¹ https://m.dw.com/en/dws-german-language-courses-nicos-weg-is...

JNRowe··on Git Koans (2013)
The other benefit to your full solution is that you won't get a 50 year sidebar in your GitHub contribution profile too.

Until seeing your suggestion it hadn't occurred to me to use a fake user. However, using UNIX epoch was something I had been doing and I do have the 50 year sidebar ;)

https://github.com/JNRowe#year-list-container

JNRowe··on Git Koans (2013)
You can ensure the hashes are consistent by setting GIT_AUTHOR_DATE and GIT_COMMITTER_DATE in your initial commit alias.

They still won't be consistent if you've enabled commit.gpgSign though. So, you'd want --no-gpg-sign on that initial commit or someone to reply with a better idea.

JNRowe··on Build your own bamboo bike kit
The book "Bike, Scooter, and Chopper Projects for the Evil Genius" by Brad Graham is a pretty fun read around projects for and with bike frames. Loads of pictures too, if you're just interested in the sort of things you could do.

Edit: Fished the book out for the ISBN, 978-0071545266.

JNRowe··on Show HN: NoteCalc
I don't know of a plugin, but you can sorta do something kinda like the thing ish if you squint and cross your fingers...

You can perform actual in-place calculations by using the expression register. So for example:

    = 2 + 2
    <insert mode cursor here>
Then something like `<C-r>=eval(getline('1h')[2:])` will end up with:

    = 2 + 2
    4 
If you regularly did so writing a more robust mapping would probably useful.

And using regular :global you could perform similar operations across a file with `:g/^= / <expression replacement>`

I think the real solution would be just to use evil-mode in emacs when you wish to use things like literate-calc-mode. I do that for org-mode because it is just so much more powerful than the basic vim plugin for org-mode files.

> Is it something very difficult in vim?

Since 8.2 was released you can use popupwin¹ to emulate something similar. I'd probably give it a go if you wrote it :P

It is a real shame you can't use a funcref(or even multiple characters) for conceal replacement, or you could simply add a conceal² for => to show the result. Such functionality would also be nice for inlining computed types in various languages too.

¹ https://vimhelp.org/popup.txt.html

² https://vimhelp.org/syntax.txt.html#conceal

JNRowe··on Project Oberon 2013 on RISC-V
There were a bunch of insightful comments when the wikipedia articles was discussed here last year¹. Some about Oberon in particular, and some about the surrounding ecosystem and history.

¹ https://news.ycombinator.com/item?id=21383016

JNRowe··on The Acorn Archimedes and the first ARM processor
> the desktop background is called the "backdrop"

Hmm, non-British AmigaOS also used backdrop¹. Was that perhaps the common name back then?

Plus, you can experience /some/ of the quirkiness of RiscOS on Linux by playing around with rox². rox-filer is packaged for Debian and it spits a Choices directory in to ~, even though it is now just a bunch of symlinks to $XDG_CONFIG_HOME³.

¹ https://wiki.amigaos.net/wiki/Workbench_Menu_-_Backdrop

² http://rox.sourceforge.net/

³ http://rox.sourceforge.net/desktop/book/export/html/163.html

JNRowe··on The web is 30 years old today
And a few years before that to 1840, people used to perform similar tricks with mail. Prior to the introduction of postage stamps mail was paid on delivery¹, so you could send messages to friends or flood enemies with someone else picking up the cost. There is no new thing under the sun.

[/me holds breath for someone to point out an earlier version.]

¹ https://rmspecialstamps.com/about/history-of-stamps/

JNRowe··on IceWM 2.0 – Ice Window Manager
"icesound - play audio files when interesting GUI events happen". The full man page list all the details¹. Note that it is optional too, you don't have to enable MovieOS swooshing and zooming sounds to use icewm ;)

¹ https://ice-wm.org/man/icesound

← PreviousPage 15 of 21Next →