Hacker Newsnew | past | comments | ask | show | jobs | submit | crabsand's commentslogin

In other words, size matters.


nushell + 1. After ~20 years of bash+zsh, I'm translating all my scripts to nu.

Yesterday I noticed I still don't know how to write

  ls | where modified < ((date now) - 3wk) | each { |fn| rm $fn.name } 
in zsh after all years.


   find . -type f -mtime +21 -delete
Or if you have fd

   fd -t f --changed-before 3w -X rm


I use fish as daily shell, and for this kind of script I would rather jump to ruby. But it looks rather readable.


Whoa. You people freak me out with your fancy new toys.


The only real moat is care. It was, it is, it will be.


I see implementation inheritance there and I don't like it. Otherwise cool language.


You'd prefer something more like Rust traits or Haskell Type Classes?

I admit this was mostly out of simplicity/convenience/familiarity.

If you're a Rust person, you'll appreciate that Lobster lets you use similar exhaustive switches to Rust's enum instead: https://github.com/aardappel/lobster/blob/master/tests/types...


That exact stance (+scribes' financial interests) prevented printing press to be used in the Ottoman Empire widely for more than 200 years


+1. Was using screen with this and now tmux for the last 15 years maybe.


I built an RSS to Bluesky poster an hour ago.

In the long run, writing a gui for https://github.com/iesahin/xvc and Git.


a qr code for your home page may be another option


I'll help AI to replace developers (or lawyers or doctors or managers...) in better ways


No one here understands 'sikisinca' as 'sikişince', because as you can see the final vowel is different. There are cases for these to be mixed though, sikildim May be "I'm fscked" but it's usually understood as "sıkıldım", "I'm bored."


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: