0 Followers
0 Following
4 Posts

Returning (echoing) lists in Fish shell

https://lemmy.world/post/38408632

Returning (echoing) lists in Fish shell - Lemmy.World

I’m new to Fish and really liking it so far but the list type is really confusing me. Something that I find really non-intuitive about fish is the list data type. You can set a list like this sh set my_list a b c echo my_list[1] #a But if you try this it doesnt work: txt function mklist echo a b c end set lst (mklist) echo $lst[1] # a b c Putting the echo in quotes doesnt work either. You can do: txt function mklist echo a b c end set lst (string split " " -- (mklist)) echo $lst[1] # a But needing to always split your return values is kinda terrible. So it seems like what fish expects you to do is echo multiple lines. txt function mklist echo a echo b echo c end set lst (mklist) echo $lst[1] # a Its just very weird to me that it doesnt understand a comma delimited string to be a list. I feel like I must be missing something.

Where do programmers find freelance work in 2025?

https://lemmy.world/post/38390412

Where do programmers find freelance work in 2025? - Lemmy.World

I haven’t freelanced since the Craigslist / Fiverr days but I’m looking to get back in the game. Figured this question might be helpful to others as well.

EsoBinaria - Lemmy.World

> A tile-based visual programming game where players solve boolean logic puzzles. I am self-promoting here. I made this game.

Scripts I wrote that I use all the time

https://lemmy.world/post/37715442

Scripts I wrote that I use all the time - Lemmy.World

> In my decade-plus of maintaining my dotfiles, I’ve written a lot of little shell scripts. Here’s a big list of my personal favorites. - Evan Hahn

The programmer identity crisis

https://lemmy.world/post/37672086

The programmer identity crisis - Lemmy.World

> The ghosts of ancient Hackers past still roam the machines and—through the culture they established—our minds. Their legacy of the forging of craft lingers. A deep and kinetic craft we’ve extended and built a passionate industry on. We are driven by the same wonder, sense of achievement, and elegance of puzzle-solving as they were. Still driven by “The Right Thing.” These constitutional ideas, the very identity of programmers, are increasingly imperiled. Under threat. The future of programming, once so bright and apparent, is now cloaked in foreboding darkness, grifts, and uncertainty.