HNHacker News
TopNewBestAskShowJobs

account-5

3,218 karma · joined February 1, 2021

submissionscomments
account-5··on Why Flatpak apps use so much disk space on Linux
I can't really comment about snap since I don't use Ubuntu but I thought flatpaks would work similar to how portable apps on windows do. Clearly I'm wrong, but how is it that windows can have portable apps of a similar size to their installable versions and Linux cannot? I know I'm missing something fundamental here, like how people blame Linux for lack of hardware support without acknowledging that hardware vendors do the work for windows to work correctly.

Either way disk space is cheap and abundant now. If I need thenlastest version of something I will use flatpaks.

account-5··on Elvish – Scripting language and interactive shell
Ever since I 'discovered' Nushell I've noticed a lot of new shells appearing on HN.

The thing I like about Nushell is it does away with some of the things that I found hard with bash, and made data formats a first class citizen (something I enjoyed about powershell).

I think if you like Lisp elvish would be ideal but for me the lack (seeming, I've not done a deep dive on the docs) of built-in data parsing is a no.

account-5··on A Common Lisp jq replacement
I've never heard of your project. I'll have a look, I'm always in awe of people who see a problem and then do something about it, so well done.

Nushell can run external programs too, and process their output. Something just clicked for me with Nushell.

account-5··on A Common Lisp jq replacement
No contraversial at all. And without sounding like I'm flogging a dead horse, since I've mentioned it elsewhere, but you're after Nushell. Everything is data, structured data. And of interest to a sibling comment it's syntax is similar to SQL, with things like where and select.

Edit: in relation to the other sibling comment, Nushell was developed as an improvement over powershell. I use both and prefer nushell's syntax.

account-5··on A Common Lisp jq replacement
It's definitely not bash completion. But on the jq note you can read JSON, and various other formats, directly into nushell's data model (a table) and just start querying it.
account-5··on A Common Lisp jq replacement
No need for that even. It's just:

open some.json

account-5··on A Common Lisp jq replacement
I learned the basics of jq and quite liked it, but since I discovered Nushell it has replaced nearly all my data processing I do at the cli. It really is good technology.
account-5··on What I've learned from jj
I would really love a comparison between JJ and fossil. I use fossil for personal projects instead of git. So I'd like to know if I should consider JJ.
account-5··on Dataframely: A polars-native data frame validation library
Thanks both, the sql-like syntax is definitely something I'm enjoying in Nushell.
account-5··on Dataframely: A polars-native data frame validation library
I've used pandas before, and recently became aware of polars as it's part on Nushell by way of a plugin.

Why would you use polars over pandas?

account-5··on Firefox tab groups are here
I have been waiting for this. I currently use profiles, and container tabs, this will further help organising stuff.
account-5··on Macros in the Dart Programming Language
Pretty sure this is suspended?

https://dart.dev/language/macros

account-5··on New study reveals wealth inequality was never inevitable
Personally I think related monetary wealth is inevitable, it's built into the system.

Monetarily I'm at the poor end of wealth, but I am content and want for little. This is also why I probably don't get the house size metric used here. My current, humble, abode is big enough for my needs. Given more money I don't see me upgrading.

What solutions will be worth exploring to solve current inequalities if we know it's not inevitable, given our current situation?

account-5··on Exercise before bed is linked with disrupted sleep
No. Just a local gym with mats. Started taking my son and thought it looked like fun so started doing the adult class. So far I've learn a lot whilst losing every match I do.
account-5··on Path is a utility for working with paths
I've been finding nushell's `ls` with a where clause is pretty good for this. There's also the `find` command too.
account-5··on New study reveals wealth inequality was never inevitable
I don't get how this is useful, just because it might not be inevitable doesn't stop it being a reality now.

Also, house size? What a weird metric.

account-5··on Cloth
Can I just say well-done to the author of this site. No external JavaScript, it all runs as is, even on mobile. Most modern text based websites can't claim this.
account-5··on TPSV, an Alternative to TSV (and CSV)
Text is universally accessible and widely supported. Binary has it's benefits, but human facing, it has to be text.
account-5··on Exercise before bed is linked with disrupted sleep
Same hear, in my 40s, except I've recently picked up wrestling (freestyle). On the nights I train my sleep is atrocious. I've been putting it down to being old and out of shape, but it might also be the 1930--2100 timeframe.
account-5··on Geocoding APIs compared: Pricing, free tiers and terms of use
Much appreciated. I thought that might be the case. I wonder if you could collect your own if royal mail would be able to stop you?
account-5··on Geocoding APIs compared: Pricing, free tiers and terms of use
Is there any UK addresses? I can't find anything obvious, UK, GB, GBR...
account-5··on Show HN: JSONXMLKit – Format JSON/XML and Decode Base64 in the Browser
I tend to use CyberChef for this sort of thing: https://gchq.github.io/CyberChef/
account-5··on Atuin Desktop: Runbooks That Run
Ok I think I see where this is coming from. I actually think seeing you description that it might even be a benefit to none technical people with no knowledge of what's going on. They can follow instructions and easily execute the relevant code what with it all sitting together.

However I don't see how it solves the obsolete or wrong documentation thing. You still have to make sure the runbook is correct, if it's not you've got the exact same problem.

Having a centralised place for all your scripts is an advantage with inline docs. But then this is a local desktop version...

account-5··on Atuin Desktop: Runbooks That Run
I was going to talk about using powershell but just for the rust I also really like Nushell. I personally would take either one over this...
account-5··on Atuin Desktop: Runbooks That Run
I can't say I see the point in this. Can someone explain what I'm missing? Why would I use this over a simple shell script?
account-5··on Pipelining might be my favorite programming language feature
Yeah, it's younger than powershell so there's some rough edges in some places. I wouldn't let empty headings in the docs stop you using/experimenting with it though.

I use powershell daily but am hopeful that I can replace it with Nushell at some point.

account-5··on Pipelining might be my favorite programming language feature
You should look at Nushell. Much as I like powershell, Nushell just seems better.
account-5··on AMP and why emails are not (and should never be) interactive
I didn't know amp was a thing in email. Glad it died before I knew about it.

I've never viewed an amp site either. Actively avoided them, went out my way to view the actual content. Easy to do when you don't have JavaScript enabled by default. I hate it when I can't view textual information on a site without JavaScript.

account-5··on Discord's face scanning age checks 'start of a bigger shift'
Nope. There's better ways to check your over 18; credit cards have been mentioned above. If a platform I'm using attempts this, with no other option, I'll delete my account and data on that platform.

VPNs are really a requirement for UK residents now.

account-5··on Ask HN: As a programmer, How do you take notes while coding?
Treesheets and paper and pencil, preferably squared math paper. I weirdly find comfort in boxes...
← PreviousPage 4 of 34Next →