HNHacker News
TopNewBestAskShowJobs

bananskalhalk

116 karma · joined June 4, 2022

submissionscomments
bananskalhalk··on Spotify's Beta Used 'Pirate' MP3 Files, Some from Pirate Bay (2017)
Uber is really interesting example, since they started as a legit upscale taxi service, got mad Lyft flaunted the rules and regulations. They finally pivoted to the success story they are now after seeing how toothless the check and balances actually were.
bananskalhalk··on Common Lisp for shell scripting (2021)
It isn't defined in posix. Some bsd:s did split but doesn't anymore, other (which?) does still split. macOS does, linux doesn't. Sun probably did.
bananskalhalk··on Building a Waitlist (The Wrong Way)
Being first might be very lucrative. I might remember wrong here, but instapaper was an iOS only experience (with a kindle addon), and they are still rocking on, and the founder cashed out a long time ago. Every browser seem to have an instapaper built in nowadays, Mozilla even bought a competitior (formerly read it later now pocket?)

So yeah, buildin inside someone's moat might give you a cap on how big you will be able to become and will make you a tenant, but it could still be worth your while.

bananskalhalk··on Unix version control lore: what, ident
There is a string replacement feature, and to my knowledge it has been there the whole time.

https://git-scm.com/book/en/v2/Customizing-Git-Git-Attribute... look under "Keyword Expansion" halfway down the page.

bananskalhalk··on Unix version control lore: what, ident
Or just the hash from the blob of the file.
bananskalhalk··on Opening Windows in Linux with sockets, bare hands and 200 lines of C
You got any source for this? I am only asking since I got the impression rdp was a superior protocol to vnc, nx etc because of the complex handling of graphical primitives. But I know next to nothing about the real technical details.
bananskalhalk··on Cold brew coffee in 3 minutes using acoustic cavitation
Chilling warm brewed coffee is definitely faking it. And I presume all places selling "cold brew" is faking it so this guy is losing money by not showing off doing real cold brew with his apparatus.
bananskalhalk··on Claiming high user satisfaction, IRS will decide on renewing free tax site
Sweden doesn't even work the way he describes any longer. The changes he claims he wants are already in place.
bananskalhalk··on New startup sells coffee through SSH
TIL. Thanks! Gonna do wonders when working at places where I can't use a hardware key with physical confirmation of use.

My assessment still stands. Use proxyjump (-J) instead of proxy command whenever possible.

bananskalhalk··on Claiming high user satisfaction, IRS will decide on renewing free tax site
I am at loss here.

As per my prior comment directed at you, you have been reminded that the improvement you asked for had been implemented into law.

As per the same comment, the situation for new parties have thereby become worse. You are sure to have experienced the same problems we experienced when getting the Pirate party into parliament when you got the Sweden Democrats through the system.

bananskalhalk··on New startup sells coffee through SSH
*disable ssh agent FORWARDING.

Which honestly should always be disabled. There are no trusted hosts.

bananskalhalk··on Systemd Rolling Out "run0" As sudo Alternative
See https://news.ycombinator.com/item?id=40207545 for previous discussion
bananskalhalk··on Run0, a systemd based alternative to sudo, announced
Sounds exciting and might be obvious, but where will I find systemd and not capabilities?
bananskalhalk··on Run0, a systemd based alternative to sudo, announced
I was really hoping the next sudo replacement would borrow heavily on root as role[0] (if not being root as role). Feels like a missed opportunity to not use capabilities.

[0]: https://www.sciencedirect.com/science/article/pii/S016740482...

bananskalhalk··on Hitting every branch on the way down

    $ git show  d85c9944c55fb38f4eae149979a0f680ea125ecb  | wc -l
    11067
    $
From `man git-log`: "Note that unless one of --diff-merges variants (including short -m, -c, and --cc options) is explicitly given, merge commits will not show a diff, even if a diff format like --patch is selected, nor will they match search options like -S. The exception is when --first-parent is in use, in which case first-parent is the default format."

Presumably the author would have been happier using the -m-flag in addition to -p.

bananskalhalk··on Claiming high user satisfaction, IRS will decide on renewing free tax site
The government agency was tasked with finding ways of improving their work. One of the things they recommended was for the selection of ballots to be hidden, which has been implemented since then.

It will probably have a negative effect on the ability for smaller parties to get started.

bananskalhalk··on Claiming high user satisfaction, IRS will decide on renewing free tax site
Yeah, and blank ones if you want to write down the party of your choice. You could bring your own ballot if you so choose, or vote pretty much anywhere else than were you live during a ~ three week long period.
bananskalhalk··on Claiming high user satisfaction, IRS will decide on renewing free tax site
Secret ballot was introduced 1866 in Sweden. I think we were the third country in the world to do so.
bananskalhalk··on Dehydrated: Letsencrypt/acme client implemented as a shell-script
It seems to be very source-able in both bash and zsh. If you just executed it, it will run in bash.

They seem to have gone through some effort for this to be true.

bananskalhalk··on Tips on how to structure your home directory (2023)
Yeah, but that is still one application. You might come fr enough with CDPATH and configuring .inputrc to do something smart with ^m and the %-character (for the root of your document folder).

If it will be enough, I don't know. It might be enough for some, but it is still something which can be done without getting the maintainers of openssh to agree with the idea of a clean ~.

bananskalhalk··on Dehydrated: Letsencrypt/acme client implemented as a shell-script
Seems to work in zsh too. Both bash and zsh are shells like c-shell ksh etc. Nowhere is it implied that shell-scripts are written for Bourne shell.
bananskalhalk··on Tips on how to structure your home directory (2023)
That's only two applications to configure though.
bananskalhalk··on Tips on how to structure your home directory (2023)
https://man.archlinux.org/man/user-dirs.dirs.5.en

If you delete one folder the file $HOME/.config/user-dirs.dirs will be updated sooner or later, and point to $HOME/ and the icon will not be restored by recreating any folder.

Just change the values in there to whatever.

bananskalhalk··on Why can't my mom email me?
And that is why there is different types of subkeys, which you are told about when generating the keys, and every "getting started" guide I've found. If you don't want to receive encrypted emails, don't share a subkey for encrypting email?
bananskalhalk··on The Ultraviolet Myth
Added:

Please not that the authors are Norwegian at a Norwegian university, and the first citation are "KVANTEFYSIKKENS UTVIKLING i fysikklærebøker, vitenskapshistorien og undervisning" by Reidun Renstrøm at the University of Oslo, all proclaiming the myth being perversive.

I would be careful proclaiming this being some kind of American phenomenon.

bananskalhalk··on The Ultraviolet Myth
I was taught this in a Swedish high school and it was repeated at a Swedish university one year later.
bananskalhalk··on Show HN: CLI for generating PDFs for offline reading
Or you could just import weasyprint and readability in python!

Which is pretty much what OP did, with a few nice additions like nice output and some custom css and fonts. Which is nice and OP hope brings value to people.

If you add a few printf:s and include a nice template for pandoc* it would be more along the same thing.

*) Neither pandoc, wkhtmlpdf or weasyprint have (in my opinion) bad default templates.

bananskalhalk··on Keeping a long shell history
Prefixing your scripts is an awesome tips. A colleague told me he prefixed all his commands with ',' and I've started to do the same. '_' might clash with 'hidden'(?) shell expansions etc.

Sadly git doesn't allow for aliases with an comma-prefix, so all git aliases starts with a dot.

bananskalhalk··on How to solve the "Mastermind" guessing game? (2009)
It is in the book "Selected papers on fun and games". But it is also available as a separate article "The Computer as Master Mind”.

I was certain he wrote the article about MOO and/or bulls and cows, but it seems like I remember wrong.

bananskalhalk··on Metahead – An enterprise-grade, Git-based metarepo
Looks cool, but I am unsure why I would use this instead of git scalar[0] with git submodule[1]?

[0]: https://git-scm.com/docs/scalar

[1]: https://git-scm.com/docs/gitsubmodules

Page 1 of 2Next →