HNHacker News
TopNewBestAskShowJobs

TheLocehiliosan

512 karma · joined August 26, 2016

submissionscomments
TheLocehiliosan··on Burger King will use AI to check if employees say 'please' and 'thank you'
Welcome to Costco, I love you!
TheLocehiliosan··on Rival to SpaceX's Starlink Goes Dark After Failing to Account for Leap Year
https://gist.github.com/timvisee/fcda9bbdff88d45cc9061606b4b...
TheLocehiliosan··on How to use a Python multiprocessing module
I often point people here to get some good background when doing concurrency in Python.

https://realpython.com/python-concurrency/

TheLocehiliosan··on A Vast Demographic Shift Will Reshape the World
https://archive.is/qmLPD
TheLocehiliosan··on Wikipedia’s Moment of Truth
https://archive.is/58UAF
TheLocehiliosan··on Mk: A Successor to Make (1987) [pdf]
An alternative I quite like is “just”.

https://github.com/casey/just

TheLocehiliosan··on Are you a “harbinger of failure”? (2015)
I do this some days when my last cup of coffee has gone cold. I’ll add Diet Coke to the coffee.

I enjoy it.

TheLocehiliosan··on GitHub issue - resolved
Also known as Monday.
TheLocehiliosan··on Vimium – A browser extension that provides Vim-style keyboard controls
I like Shortcat

https://shortcat.app

TheLocehiliosan··on The Roald Dahl Classic Collection to keep author’s classic texts in print
New development related to this story:

https://news.ycombinator.com/item?id=34849383

TheLocehiliosan··on NetHack 3.6.7
https://apps.apple.com/us/app/inethack2/id962114968
TheLocehiliosan··on Vim Foot Pedal
I swear sometimes I feel like I’m the only person in the world that thinks hitting the ESC key is easy and no big deal.

Maybe it’s decades of doing it, and I don’t consider myself especially dexterous, but I never have any problem with it.

TheLocehiliosan··on Universal Paperclips
Nope. You will not suck me back in. Not today!
TheLocehiliosan··on Nushell: Introduction to a new kind of shell
Just was trying it. A couple minutes in, I discovered it doesn't support suspended jobs.

:( seems like that would be a very basic feature.

https://github.com/nushell/nushell/issues/1329

https://github.com/nushell/nushell/issues/1796

https://github.com/nushell/nushell/discussions/5239

TheLocehiliosan··on Obsidian 1.0 – Personal knowledge base app
> File name is now H1 header at the top of the file with no option to hide it.

Have you tried adjusting the option: Appearance › Show inline title ?

TheLocehiliosan··on Congress.gov API
I feel like there's all sorts of disappointing design decisions.

* All of the endpoints are singular, but then /summaries is plural for some reason

* You can enumerate the congresses, but non of the congress representations have a value which represents the numeric ID that should be used on other requests. Unless you request the congress data using that number, and then it does include it.

Oh well, hopefully it improves and becomes more consistent over time.

TheLocehiliosan··on Congress.gov API
This is pretty cool, but...

Authentication seems to be done with a query string ?api_key=KEY instead of some kind of standard header.

Also, there is a query string "format" for changing the output, ?format=json. Instead of using the Accept header :/

TheLocehiliosan··on Every single time I open your software, I'm asked to download an update
Signal.

Feel like it is every single day. It’s not quite that often, but it is very often. And I use it on multiple devices, so it really feels like every time I launch it.

TheLocehiliosan··on Virtual offices are not remote-friendly workplaces
Oh, that's a nicely formatted alternative. I often like to change my messenger status to a URL like this. It's slowly making an impact.
TheLocehiliosan··on Virtual offices are not remote-friendly workplaces
> managers and co-workers starting every message with “hello, how are you doing?” and waiting for a response

https://www.nohello.com

TheLocehiliosan··on A Perfectly Cromulent Word (2016)
It sure is.

https://www.merriam-webster.com/dictionary/embiggen

A noble spirit embiggens the smallest man.

TheLocehiliosan··on How Dwarf Fortress is built
Once I spent about a week struggling to create a DF config that defined the key bindings to be vi-like consistently throughout the game.

I failed.

TheLocehiliosan··on Ask HN: What are some tools / libraries you built yourself?
The best way would be to use “yadm clone” to clone the remote repo.

yadm will keep its repo in ~/.local/share/yadm/repo.git.

Once cloned, you do not need to be in any specific directory to run yadm.

TheLocehiliosan··on Ask HN: What are some tools / libraries you built yourself?
I created a dotfiles management tool, yadm https://yadm.io

I'm a huge fan of Git, and the Git mental model just makes sense to me. I wanted to manage my dotfiles in the same way. At the time I had tried several other solutions, mostly similar tools like homeschick and vcsh.

I wanted a solution that was very portable, which both of those existing tools were. However, homeschick became a bit clunky to use because each time I wanted to do most operations I had to first "cd" into my "castle". In addition, that tool used symlinks, which doesn't work out well to manage a file that may get overwritten by a tool.

vcsh was the other main tool I tried. This tool adopts the bare repo technique, allowing files to be used instead of symlinks. The major drawback it had was that it was designed to work with multiple repos, and forces you to specify the repo with every command. Some simple aliasing helped mitigate that though. But by that time I also started writing some custom code to encrypt private data and was struggling to maintain different branches for different systems which had slight tweaks to configurations. It just became all fragmented and difficult to manage.

That is what lead me to create my own tool. The important features I wanted: portability, seamless interaction with Git, alternate files for different hosts, encryption for private data. I shared it as open source back in 2015 and it has grown in popularity some. It's been improved a lot over time including contributions from others. I'm glad so many others have found it useful.

TheLocehiliosan··on ShellCheck: Finds bugs in your shell scripts
If you use iTerm2 (or I think this feature is available in other terminal software) you can use "Smart Selections" to transform any ShellCheck errors into links to the wiki.

1. Create a Smart Selection with the regular expression "SC\d+"

2. Add an action to "Open URL...", with the URL "https://github.com/koalaman/shellcheck/wiki/\0" (\0 will be replaced with the matched regex)

3. Now holding down the command key will change any ShellCheck errors to be active http links.

TheLocehiliosan··on Ask HN: How Long Is Your CI Process?
For too many people don’t get this. I’ve been pulled into projects that had a terrible pipeline and devs that were pushing commits and wasting so much time waiting to get feedback about very simple problems. This kills rapid development.

It took some redesign, but I was finally able to demonstrate how much could be done locally before pushes. Some just need their eyes opened up.

TheLocehiliosan··on Ask HN: Dotfiles Management Tools?
I’m biased, but would recommend trying yadm.

https://yadm.io

I specifically have a design goal of very little external dependency. It only requires Git and Bash be present, so it is quite portable. Many people even use it on some network equipment. You can simply download the script if it isn’t packaged somewhere.

It can easily handle directories of files, but also submodules. Many people add vim plugin Git repos directly as submodules.

If you are familiar with Git, you’ll find yadm extremely easy to use. When you need them, more features are there to solve specific problems, like bootstrapping operations, encrypting private data, templating, or system dependent alternate files.

On a new system you can quickly bootstrap your existing dotfiles repo using https://bootstrap.yadm.io, without yadm installed yet. This is mostly useful if you’ve included yadm directly in you dotfiles (directly, or as a submodule, or as some installation during bootstrap).

TheLocehiliosan··on 1985: A Mind Forever Voyaging
This game was also discussed on the UMB podcast.

http://umbcast.com/ep98/

TheLocehiliosan··on Great Vowel Shift
I'm 46, also grew up in midwest, and I say "BUH 'in".
TheLocehiliosan··on Commits are snapshots not diffs (2020)
What you need to understand is people use rebase on their unshared branches. It's part of crafting your commit history to be a coherent set of atomic changes instead of the path you took while developing it all.

You rebase BEFORE you merge into the mainline branch.

Page 1 of 2Next →