phantomwise

joined 1 year ago
[–] phantomwise@lemmy.ml 3 points 1 week ago (2 children)

Oh I didn't know powershell did that too! It sure beats endless parsing errors

[–] phantomwise@lemmy.ml 11 points 1 week ago (4 children)

I don't really mind having a non-POSIX shell since it doesn't prevent bash scripts from working, but I get that if you want portability bash is still best since it'll work mostly anywhere.

[–] phantomwise@lemmy.ml 2 points 1 week ago (4 children)

I feel my sanity slowly slipping away while reading...

[–] phantomwise@lemmy.ml 3 points 1 week ago (1 children)

Yeah if you need to work on machines with bash it makes sense to stick with it. Sorry you have to work on Windows... how is powershell compared to bash?

I don't know python but xonsh seems really cool, especially since like nushell it works on both linux and windows so you don't have to bother about OS specific syntax

[–] phantomwise@lemmy.ml 7 points 1 week ago (3 children)

That's interesting I hadn't thought about the JSON angle! Do you mean that you can actually use jq on regular command outputs like ls -l?

Oil is an interesting project and the backward compatibility with bash is very neat! I don't see myself using it though, since it's syntax is very close to bash on purpose I'd probably get oil syntax and bash syntax all mixed up in my head and forget which is which... So I went with nushell because it doesn't look anything like bash. If you know python what do you think about xonsh? I

[–] phantomwise@lemmy.ml 4 points 1 week ago (1 children)

I've also been using zsh until now, it's clear it's a massive improvement over bash. No more accidentally pasting code into the terminal!

I wasn't even looking for a new interactive shell, zsh is fine, I was looking for a new language for shell scripts because I'm tired of bash's legacy quirks... but the interactive nushell was too cool to resist!

 

I've been trying nushell and words fail me. It's like it was made for actual humans to use! 🤯 🤯 🤯

It even repeats the column headers at the end of the table if the output takes more than your screen...

Trying to think of how to do the same thing with awk/grep/sort/whatever is giving me a headache. Actually just thinking about awk is giving me a headache. I think I might be allergic.

I'm really curious, what's your favorite shell? Have you tried other shells than your distro's default one? Are you an awk wizard or do you run away very fast whenever it's mentioned?

[–] phantomwise@lemmy.ml 28 points 1 month ago (3 children)

Nice of them to protect their (users') content from AI scrapping. So that they can charge AI companies for it instead.

[–] phantomwise@lemmy.ml 7 points 1 month ago (1 children)

Nah I don't miss having to deal with region zones, they are such a pain... sure you can rip the disk, but you're still left with a disk you bought yet can't use because your players are deliberately sabotaged to not work.

I don't miss using physical media either, they take up so much space... I'd need a mansion if I wanted to replace the content of my media server with physical media.

[–] phantomwise@lemmy.ml 28 points 1 month ago* (last edited 1 month ago) (1 children)

More like:

That why linux is great, it open-sources its drama so everyone can enjoy it

[–] phantomwise@lemmy.ml 3 points 1 month ago (1 children)

At the same time, it was also not mammals that ruled the ground, it was, as many an eight year-old can attest, dinosaurs.

Arthropods who've been ruling the world for 500 million years: Why do dinosaurs get all the hype? 😭 😭 😭

[–] phantomwise@lemmy.ml 1 points 1 month ago* (last edited 1 month ago)

I guess that depends on your definition of what a bird is and on where you place the transition between bird-like dinosaurs and birds. Like Archaeopteryx is one of the species in that weird kinda dinosaur kinda bird phase.

Edit: Genus not species, sorry. I hate taxonomy so much...

[–] phantomwise@lemmy.ml 8 points 1 month ago

This just hurts my brain 😭

 

What are your favorite insane laptops?

Mine is the Dell Rugged: https://www.youtube.com/watch?v=9F56ION4_n0

Bump and fall proof, liquid proof, sand proof (and cat hairs proof I assume), extreme heat/cold proof, can be used as a blunt weapon in an emergency. Ridiculously overkill for anyone that's not a geologist working in Antarctica or an archaeologist in the Gobi desert, and ridiculously overkill is fun

 

What are the modern design trends you hate most? Feel free to rant! Mine are:

  • Physical buttons are out of fashion, now EVERYTHING must have a touch screen instead! Especially if it makes the appliance more inconvenient to use. Like having to press a flimsy touch screen ten times to scroll through a washing machine's programs instead of just turning a physical knob and pressing a physical start button.
  • Every website looks like it's made for a phone and was vomited by the same app in slightly different flavors of vomit. And then having the nerve to tell you to download the mobile app 😑
  • Why does everything need to be an app by the way? Especially when the only advantage the app gives you over the website is that you're not constantly spammed with messages telling you to use the app... Are you making your website shittier on purpose so I feel like I have to use the app?... I don't WANT your app, you can shove it where the sun doesn't shine.
  • Actually EVERYTHING looks like it's made for a phone... Like what's the deal with all those hamburger menus on DESKTOP software? Please just put a regular menu and same me some pointless clicking, it's not like you're lacking screen space. I especially hate that those menus can't be opened from the keyboard like regular menus. You know, "keyboards"? Those things that people on DESKTOPS use?
  • All phones look the same. All laptops look the same. It's boring as hell.
  • Laptops must be as thin and flimsy as possible. Bonus points if you can't even fit an ethernet port.
  • I'm so sick of rounded corners everywhere... 😭
217
submitted 3 months ago* (last edited 3 months ago) by phantomwise@lemmy.ml to c/lemmyshitpost@lemmy.world
 

130
submitted 3 months ago* (last edited 3 months ago) by phantomwise@lemmy.ml to c/linux@lemmy.ml
 

Personally I think that azerty was meant made by drunk students trying to troll people but it somehow caught on.

  • Hey, qwerty is kinda bad... You think we could try to make one that's even worse to mock it?
  • Oooh that'd be hilarious! Let's make a French version of qwerty but a lot worse!
  • I know, lets put dead keys for all accents except for the accent aigu so that when you need it on an uppercase letter you CAN'T type it!
  • Ahah good one! Let's also not add anyway to type an uppercase cedilla! Imagine, a French keyboard that can't type uppercase é and ç !
  • And what if we rearrange all the punctuation and symbols so that the open and closed parenthesis are no longer next to each other? It'd be sooo funny!
  • Right right! Let's do it too for the brackets and curly braces too!
  • Good one! How about we don't add guillemets which are used in French instead of english double quotes, so that people will be forced to type double quotes and their advanced text editors will have to automatically replace them by guillemets so that the text uses correct punctuation for French?
  • That's so sneaky! Let's also add § so you can cite your sources with the correct paragraph symbol, but not use real quotations marks for the quotes!
  • What else would be really stupid?
  • Let's use one key for a random greek letter!
  • What?
  • You know, like α and β?
  • Ermm... okay... which one? α or β?
  • Neither, people might actually use those once every 2 years. Let's just pick one at random!
  • µ it is! Has anyone even seen that letter used in a French text?
  • Nope, never, so it's perfect!
  • How about also adding ¤?
  • What the hell is ¤?
  • I haven't the faintest clue! And neither do you or most people! That why it's funny!
  • Sure, why not, let's cram pointless characters and not add actually useful ones like guillemets! Any other ideas?
  • Let's put the hyphen on the one most unreachable key!
  • Oh that's a good one!
  • I got better! Let's put the period on the same key as the semicolon, but with the semicolon as the default character, and periods will be Shift+semicolon! That way we can say that it's canonically why French phases are long-winded: it's easier to type a comma or semicolon than a period!
  • Man you're hilarious!

When I was still on Windows I put qwerty as my keyboard layout and used the Alt+number shortcuts for accents because that was less painful than using azerty... Those shortcuts didn't work anymore when I switched to linux so I had to find a real solution, which ended up being a colemak base which I modified to add accented letters. I don't like bepo, it moves z x c v and I like them being in the same place as in qwerty for the shortcuts I'm used to, and I didn't know qwerty-fr existed at the time 😅

Do you have worse for your language?

 

Hi ! I just made my first AUR package, which was really fun, and I was wondering what your own experience was like. Why did you decide to make your first packages ? What was fun, what was annoying ? What problems did you have ? Had you been using Arch for long ?

Mine was nothing complicated, just packaging a bash game with no dependencies made by someone else... because I wanted to try it and I was too lazy to install it from source 😅 Just the thought of having to manually check for updates and reinstall exhausts me and my adhd calculated that learning how to make a package would be less effort (never try to argue with adhd maths).

I did have some trouble because the game wanted its config and other files in $HOME and didn't create them directly (it was done by an install script run when installing it manually from source), but obviously I couldn't make the package create them there, which really confused the hell outta me. In the end the creator of the game kindly send me links to AUR packages that other people had done for his other projects so I could see what they had done and I did and did the same, which was to put the files in the locations recommended by the specs like /etc and /usr, and to added a post-install message telling the user to copy/paste some commands to copy the files in $HOME. It's a bit clunky but I guess it works 🥳

The fun part for me was learning more about how packages were installed, and the reason behind the specs. It's fine reading that packages shouldn't create files in $HOME but it doesn't tell me WHY. Also it's a lot more fun to try anyway even knowing it's a bad idea, just to see what kind of mess happens (turns out it couldn't install because /root/.config was missing 😂 )

If you had told me a year and a half ago when I switched to linux that I'd end up making a package, I'd probably have thought that you were crazy 😁

35
submitted 5 months ago* (last edited 5 months ago) by phantomwise@lemmy.ml to c/linux@lemmy.ml
 

Hi, I tried using an email client over a year ago, and after trying almost all of them in the span of a week I gave up in frustration. Would anyone have a recommendation ? For an email client :

  • That is actively maintained
  • That is not controlled by a company that could pull a Mozilla on it (Thunderbird)
  • That isn't proprietary
  • That doesn't need 77 dependencies and 450 GB (WTF KMail 😭 )
  • That is reasonably fast and light and not too bloated (I just want to read emails, I don't need a full app suite...)
  • That supports POP
  • That supports writing HTML messages (sorry Claws, I really liked you but occasionally I kinda need to write formatted messages to preserve other people's sanity 😅 )
  • That supports reading HTML messages without showing the HTML version as attachments so that every single email has the paperclip icon and I can't tell which messages have real attachments (Sylpheed I think ?)
  • That supports MailDir format for portability (why isn't it the default everywhere already instead of weird non-portable formats ? 😭 )
  • If possible, that doesn't have an interface that's so awful it's a pain to find anything (Thunderbird)

I also tested Geary and another one but I don't remember much about it... I can't find out whether Geary does support POP and maildir, its documentation page is... well it's a list 8 lines long, but on a page called "Documentation" so it's technically counts as documentation I guess ? 😅 https://wiki.gnome.org/Apps/Geary/Documentation

Any recommendation would be greatly appreciated !

 

Comrades I challenge you to find the stupidest, most convoluted way to run a Windows app !

The rules are :

  • You start with Windows and end with a Windows app
  • All steps must be different, so no using 4 different VM software

Here is my entry, with a score of 9 beautifully stupid steps :

  • Windows > WSL > WSL Wayland compatibility layer > Linux Wayland session > XWayland > QEMU > macOS > Wine > Windows app !

Can anyone do better ? I'm sure whoever get the highest score will gain eternal fame !

view more: next ›