Discussion
Loading...

#Tag

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
​Piko
​Piko
@piko@chaos.social  ·  activity timestamp 3 weeks ago

The program is not even *that* long!

Screenshot of unreadably small assembly code in vim
Screenshot of unreadably small assembly code in vim
Screenshot of unreadably small assembly code in vim
​Piko
​Piko
@piko@chaos.social replied  ·  activity timestamp 2 weeks ago

We solved the fifth day of advent of code – in nu shell script!

It's a very friendly shell where all data is structured. It worked really nicely for an advent of code task.
We even managed to use recursion, although the default recursion limit doesn't seem like it's intended to be used. :3

#AdventOfCode #nuShell

Screenshot of a terminal window running nu shell. There are happy and intense colors.
First you see some lines of the end of a table with numbers. In the last line, the headings ("from" and "to") are repeated. Then there's a prompt with a file path, and the command "source 05b.nu". This is followed by an error message, which is expressive and beautifully formatted. Then another prompt with the same command (one can infer that the error has been corrected in the meantime), and a table with numbers.
Screenshot of a terminal window running nu shell. There are happy and intense colors. First you see some lines of the end of a table with numbers. In the last line, the headings ("from" and "to") are repeated. Then there's a prompt with a file path, and the command "source 05b.nu". This is followed by an error message, which is expressive and beautifully formatted. Then another prompt with the same command (one can infer that the error has been corrected in the meantime), and a table with numbers.
Screenshot of a terminal window running nu shell. There are happy and intense colors. First you see some lines of the end of a table with numbers. In the last line, the headings ("from" and "to") are repeated. Then there's a prompt with a file path, and the command "source 05b.nu". This is followed by an error message, which is expressive and beautifully formatted. Then another prompt with the same command (one can infer that the error has been corrected in the meantime), and a table with numbers.
  • Copy link
  • Flag this comment
  • Block
Hacker News
Hacker News
@h4ckernews@mastodon.social  ·  activity timestamp last month

The Case for Nushell (2023)

https://www.sophiajt.com/case-for-nushell/

#HackerNews #Nushell #Nushell2023 #Programming #Shells #DeveloperTools

The case for Nushell

  • Copy link
  • Flag this post
  • Block
Shin.Ice :debian:
Shin.Ice :debian:
@ShinIce@social.tchncs.de  ·  activity timestamp 7 months ago
#dotfiles wip is going well.
Switched to #alacritty with #nushell , created a new #tmux config as the old was a mess 😅

Looks good, still a few this open to consolidate 🤘🏻

  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.7 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct