![marseyflagus](https://i.rdrama.net/e/marseyflagus.webp?e=1)
![House Racist Founder House Racist Founder](https://i.rdrama.net/i/houses/Racist Founder.webp?x=22)
![](https://i.rdrama.net/images/17315272507418246r.webp)
![Fedora I - M'arsey](https://i.rdrama.net/i/hats/Fedora I.webp?h=10)
![:marseypomni2: :marseypomni2:](https://i.rdrama.net/e/marseypomni2.webp)
![:marseylain: :marseylain:](https://i.rdrama.net/e/marseylain.webp)
The only usable Unix shell
bought into the Rust meme
(and that’s a good thing!
)
- 87
- 64
Now playing: Tree Top Rock remix (DKC).mp3
Top Poster of the Day:
ACApe
![](https://i.rdrama.net/images/1738455208SBxrcsv0yaVhJgr.webp)
Current Registered Users: 30,871
![sidebar image](https://i.rdrama.net/images/1714005766376934.webp)
tech/science swag.
Guidelines:
What to Submit
On-Topic: Anything that good slackers would find interesting. That includes more than /g/ memes and slacking off. If you had to reduce it to a sentence, the answer might be: anything that gratifies one's intellectual laziness.
Off-Topic: Most stories about politics, or crime, or sports, unless they're evidence of some interesting new phenomenon. Videos of pratfalls or disasters, or cute animal pictures. If they'd cover it on TV news, it's probably lame.
Help keep this hole healthy by keeping drama and NOT drama balanced. If you see too much drama, post something that isn't dramatic. If there isn't enough drama and this hole has become too boring, POST DRAMA!
In Submissions
Please do things to make titles stand out, like using uppercase or exclamation points, or saying how great an article is. It should be explicit in submitting something that you think it's important.
Please don't submit the original source. If the article is behind a paywall, just post the text. If a video is behind a paywall, post a magnet link. Fuck journos.
Please don't ruin the hole with chudposts. It isn't funny and doesn't belong here. THEY WILL BE MOVED TO /H/CHUDRAMA
If the title includes the name of the site, please leave that in, because our users are too stupid to know the difference between a url and a search query.
If you submit a video or pdf, please don't warn us by appending [video] or [pdf] to the title. That would be r-slurred. We're not using text-based browsers. We know what videos and pdfs are.
Make sure the title contains a gratuitous number or number + adjective. Good clickbait titles are like "Top 10 Ways to do X" or "Don't do these 4 things if you want X"
Otherwise editorialize. Please don't use the original title, unless it is gay or r-slurred, or you're shits all fucked up.
If you're going to post old news (at least 1 year old), please flair it so we can mock you for living under a rock, or don't and we'll mock you anyway.
Please don't post on SN to ask or tell us something. Send it to [email protected] instead.
If your post doesn't get enough traction, try to delete and repost it.
Please don't use SN primarily for promotion. It's ok to post your own stuff occasionally, but the primary use of the site should be for curiosity. If you want to astroturf or advertise, post on news.ycombinator.com instead.
Please solicit upvotes, comments, and submissions. Users are stupid and need to reminded to vote and interact. Thanks for the gold, kind stranger, upvotes to the left.
In Comments
Be snarky. Don't be kind. Have fun banter; don't be a dork. Please don't use big words like "fulminate". Please sneed at the rest of the community.
Comments should get more enlightened and centrist, not less, as a topic gets more divisive.
If disagreeing, please reply to the argument and call them names. "1 + 1 is 2, not 3" can be improved to "1 + 1 is 3, not 2, mathfaggot"
Please respond to the weakest plausible strawman of what someone says, not a stronger one that's harder to make fun of. Assume that they are bad faith actors.
Eschew jailbait. Paedophiles will be thrown in a wood chipper, as pertained by sitewide rules.
Please post shallow dismissals, especially of other people's work. All press is good press.
Please use Slacker News for political or ideological battle. It tramples weak ideologies.
Please comment on whether someone read an article. If you don't read the article, you are a cute twink.
Please pick the most provocative thing in an article or post to complain about in the thread. Don't nitpick stupid crap.
Please don't be an unfunny chud. Nobody cares about your opinion of X Unrelated Topic in Y Unrelated Thread. If you're the type of loser that belongs on /h/chudrama, we may exile you.
Sockpuppet accounts are encouraged, but please don't farm dramakarma.
Please use uppercase for emphasis.
Please post deranged conspiracy theories about astroturfing, shilling, bots, brigading, foreign agents and the like. It degrades discussion and is usually mistaken. If you're worried about abuse, email [email protected] and dang will add you to their spam list.
Please don't complain that a submission is inappropriate. If a story is spam or off-topic, report it and our moderators will probably do nothing about it. Feed egregious comments by replying instead of flagging them like a pussy. Remember: If you flag, you're a cute twink.
Please don't complain about tangential annoyances—things like article or website formats, name collisions, or back-button breakage. That's too boring, even for HN users.
Please seethe about how your posts don't get enough upvotes.
Please don't post comments saying that rdrama is turning into ruqqus. It's a nazi dogwhistle, as old as the hills.
Miscellaneous:
The quality of posts is extremely important to this community. Contributors are encouraged to provide high-quality or funny effortposts and informative or entertaining comments. Please refrain from posting the following:
Boring wingcucked nonsense nobody cares about that belongs in chudrama
Normie shit everyone already knows about
Anything that doesn't gratifify one's intellectual laziness
Bimothy-tier posts
Anything that the jannies don't like
Jannies reserve the right to exile baby ducks from this hole at any time.
We reserve the right to exile you for whatever reason we want, even for no reason at all! We also reserve the right to change the guidelines at any time, so be sure to read them at least once a month. We also reserve the right to ignore enforcement of the guidelines at the discretion of the janitorial staff. This hole is a janny playground, participation implies enthusiastic consent to being janny abused by unstable alcoholic bullies and loser nerds who have nothing better to do than banning you for any reason or no reason whatsoever.
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
/h/slackernews SETTINGS /h/slackernews MODS /h/slackernews LOG /h/slackernews EXILEES /h/slackernews FOLLOWERS /h/slackernews BLOCKERS
Jump in the discussion.
No email address required.
Orange Site: https://news.ycombinator.com/item?id=34588340
Some funny C++ sperg at the bottom
![:marseylaugh: :marseylaugh:](/e/marseylaugh.webp)
Jump in the discussion.
No email address required.
Jump in the discussion.
No email address required.
That never happensNo one even claims that ever happens
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
imagine having preferences over
what
you type computer
words
into lmao ![:marseylaughwith: :marseylaughwith:](/e/marseylaughwith.webp)
Jump in the discussion.
No email address required.
oh you pinned it to dunk on me![:marseygiveup: :marseygiveup:](/e/marseygiveup.webp)
capitalization and position insensitive auto-complete should be a default everywhere.
Jump in the discussion.
No email address required.
nah
the other posts were like nearly a day old on the front page![:marsey404: :marsey404:](/e/marsey404.webp)
Jump in the discussion.
No email address required.
More options
Context
More options
Context
I still use bash because I dont care what the frick my shell is as long as it works.
Jump in the discussion.
No email address required.
I use it because I'm just gonna use Python for anything that's too complicated to be done simply in bash.
Jump in the discussion.
No email address required.
More options
Context
More options
Context
I don’t care what you say, zsh is greatly superior to bash and fish users are just deliberately obtuse and contrarian. There are no other usable shells.
Jump in the discussion.
No email address required.
obtuse and contrarian? neighbor it's in your repos.
Jump in the discussion.
No email address required.
It also breaks all of the scripts your team might have created to improve productivity. At least with zsh you can usually fix them with a couple of lines, but fish is so completely out there that any sort of automation someone writes to work with bash needs to be completely rewritten.
The said, it’s probably the best shell for rdrama users because of how neurodivergently obtuse and contrarian it is. I actually do like fish btw, I just don’t have time to rewrite every script my team has ever touched to be compatible.
Jump in the discussion.
No email address required.
Jump in the discussion.
No email address required.
maybe u missed the memo but we don't play w/ carp anymore
Jump in the discussion.
No email address required.
More options
Context
Jump in the discussion.
No email address required.
More options
Context
More options
Context
brother, just run
bash script.sh
, the scripts should be declaring#!/usr/bin/env bash
in the first place.Jump in the discussion.
No email address required.
The issue is that my team (and probably a lot of others) has a bunch of little functions that you can use to do day to day tasks specific to the team. We have some script files that declare a bunch of these and assume you’re using bash (most work with zsh). e.g. I can just run “start_test_environment” or whatever instead of setting one up manually.
I don’t know a way to have those execute with bash, but I’ll be pretty happy if someone here has easy way to do this. It’s annoying to have to jump into a different shell to run one command like this.
Jump in the discussion.
No email address required.
Ohh yeah if you're talking about build functions I can't help you there. I thought you were talking build scripts.
I used zsh for years before fish but I'm stuck on Windows for work
so it doesn't matter what shell I'm using on my desktop or homelab.
Jump in the discussion.
No email address required.
I used fish a lot in grad school, but once I got a job I went back to zsh because I needed something close to what non-neurodivergent people use (my coworkers still think my setup is pretty neurodivergent though). Honestly with the right plugins it's better than fish anyway, in my opinion. fish does a lot of cool stuff, but you can get most of the same features in zsh with better compatibility if you have the right setup.
That said, I never really perfected my fish setup like I have my zsh setup. Maybe I will try it again one day.
Jump in the discussion.
No email address required.
Yeah I haven't daily'd Windows since like 2012 either so I think my manager thinks I'm retarded ("What do you mean the file extension is significant??").
I had a decent zsh setup but it required
phase and I felt requiring a bunch of random GitHub scripts for my shell. Switched to fish and been using that since. I think we're on the same page that bash is pretty bleh.
oh-my-zsh
during aJump in the discussion.
No email address required.
More options
Context
More options
Context
Jump in the discussion.
No email address required.
they have to nerf my powers.
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
Omg how insufferable are you to work with?
Whine whine whine the whole time.
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
That’s a lot of typing for I’ve touched 3 boobs in my life I didn’t pay for
Jump in the discussion.
No email address required.
Touching a pair counts as 2 boobs right?
Jump in the discussion.
No email address required.
More options
Context
It's actually 4, thank you very much![:coomer: :coomer:](/e/coomer.webp)
Jump in the discussion.
No email address required.
More options
Context
More options
Context
also I recommend using this https://github.com/koalaman/shellcheck
Jump in the discussion.
No email address required.
That's pretty cool, thanks man
Jump in the discussion.
No email address required.
More options
Context
More options
Context
ZSH is great because it's incremental and backwards compatible where it matters. C++ -> Rust is a massive commitment these junior devs throw around with minor excuses like having to adapt to one shitty
wchar_t
C++ type that differs cross platform. It shows the quality of the programmers replying and getting upvoted.The story has to be 100x stronger than even some seriously annoying but singular inconvenience. A whole new language will bring 1000x new minor problems that are 1-10x as bad. After that IRL experienace they'd love to have
wchar_t
as the actual problem vs the shit they'll bring on with a new language + set of libraries.Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
More options
Context
More options
Context
Jump in the discussion.
No email address required.
Worth every dramapenny![:marseywholesometrans: :marseywholesometrans:](/e/marseywholesometrans.webp)
Jump in the discussion.
No email address required.
More options
Context
New favorite marsey!![:marseywholesometrans: :marseywholesometrans:](/e/marseywholesometrans.webp)
Jump in the discussion.
No email address required.
More options
Context
More options
Context
Jump in the discussion.
No email address required.
cope irrelevant old neighbor
Jump in the discussion.
No email address required.
stfu newstrag
Jump in the discussion.
No email address required.
keep yourself safe old man
Jump in the discussion.
No email address required.
ur mascot is a crab bc all ur devs have aids
Jump in the discussion.
No email address required.
I can't even code![:marseysmoothbrain: :marseysmoothbrain:](/e/marseysmoothbrain.webp)
Jump in the discussion.
No email address required.
same lol I only do webdev![:marseysmoothbrain: :marseysmoothbrain:](/e/marseysmoothbrain.webp)
Jump in the discussion.
No email address required.
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
More options
Context
More options
Context
More options
Context
More options
Context
KILL THE FISH![:marseysrdine2: :marseysrdine2:](/e/marseysrdine2.webp)
Jump in the discussion.
No email address required.
More options
Context
More options
Context
they rushed from the grooming phase to the bullying phase too quickly IMO
Jump in the discussion.
No email address required.
Is this the right thread![:marseyconfused: :marseyconfused:](/e/marseyconfused.webp)
Jump in the discussion.
No email address required.
More options
Context
More options
Context
that title belongs to Powershell for Linux
Jump in the discussion.
No email address required.
It seems only Windowcels who haven't had good shells like it. I do like it's designed from first principles - even if being overly verbose.
Jump in the discussion.
No email address required.
I had to daily drive linux for a while and grew to hate bash quickly. Powershell does the job, has the bells and whistles, and it’s great for scripting
Jump in the discussion.
No email address required.
Ah, yeah if you have a .NET based brain that's fair. That shipped sailed for me and I dream in pipes and text![:marseyitsover: :marseyitsover:](/e/marseyitsover.webp)
bash is butt if you don't modify it.
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
More options
Context
what does any of this even mean
WHY ARE SO MANY OF YOU SUCH FRICKIN' NERDS
Jump in the discussion.
No email address required.
Bash? Rust?
These guys better start making sense or I'm gonna Bash their heads in with a Rusty hammer
Jump in the discussion.
No email address required.
More options
Context
More options
Context
Jump in the discussion.
No email address required.
Jump in the discussion.
No email address required.
It's a shell neighbor chill
Jump in the discussion.
No email address required.
Wasn’t an attack honestly curious, thanks for the loop.
I’ve found some alternative shells to be noticeably slower which becomes annoying with how much I use them.
Jump in the discussion.
No email address required.
Ok, I will respond with extreme hostility to any perceived attack on technology I installed in past month on orange site or /g/'s recommendation
Jump in the discussion.
No email address required.
Uhhh, based???
Jump in the discussion.
No email address required.
More options
Context
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
More options
Context
More options
Context
More options
Context
lol thanks
@justcool393 for the pin! ![:marseybased: :marseybased:](/e/marseybased.webp)
Jump in the discussion.
No email address required.
of course! :)
Jump in the discussion.
No email address required.
More options
Context
More options
Context
I'm sure /g/ will love it. The bait has been planted.
Jump in the discussion.
No email address required.
noooo my shell needs to be POSIX compliant and have butt usability![:marseysoycry: :marseysoycry:](/e/marseysoycry.webp)
Jump in the discussion.
No email address required.
More options
Context
More options
Context
Someone inform me on Rust
I heard that the whole safety thing they have a girldick boner for is basically the same as if C++ enforced a usage pattern of C++11 smart pointers (not neurodivergentally the same, basically the same)
My reading of Wikipedia is not inconsistent with this, is this how it is?
Jump in the discussion.
No email address required.
No, there are real practical differences. C++ smart pointers aren't good enough, and many items in c++ that are introduced for memory safety reasons turn out to be horrible, for instance string views.
Tbh the benefit of rust isn't it's memory safety, it's just how much better it is to develop with. There's no comparison in c++ with cargo, and the borrow checker is extremely handy after the initial hurdle.
Jump in the discussion.
No email address required.
Yeah I'm not codecel enough to explain that but my understanding is the tooling around Rust and Rust getting things right the first time is a big boon.
Jump in the discussion.
No email address required.
More options
Context
More options
Context
There are tradeoffs in terms of performance too; c++ has a better story with stack call memory usage, and it tends to use less memcpy's under the hood currently. On the other hand, rust allows functions like this (pretend it's not small enough to be inlined) to be optimised by the compiler where languages without a borrow checker simply cannot do so:
I strongly, strongly suspect that for general development performance it's incredibly unlikely that in the future Rust won't be faster than C/C++ unless new keywords/lifetimes are added into the respective specs. Given the development velocity of C++20, this seems unlikely at best.
Jump in the discussion.
No email address required.
More options
Context
I'm not actually a codecel but Rust makes you write code and WILL NOT COMPILE if you're not memory safe.
If you're codecel enough to read up on C++11 I assume you would understand what that entails better than me.
EDIT: I should also point out the language made tooling a number one priority like Go. Which is very important for modern languages.
Jump in the discussion.
No email address required.
For example in a memory-unsafe language like C, if you have a null pointer and you try to dereference it, the CPU will fault and the OS will send
SIGSEGV
to your program. If your program doesn't have a buffer saved tolongjmp()
back to, that's it, you're crashing, even if you write aSIGSEGV
handler it can't return.In a memory-safe language like Java, if you have a null reference and try to dereference it, the Java runtime will detect this and cause your program to throw a
NullPointerException
. This is one way it's safer, the CPU and OS don't know you fucked up. But if you don't have code to catchNullPointerException
, that's it, you're crashing. But writing the handler is easy, you just saycatch (NullPointerException e) {}
and your NPE errors messages go away.Jump in the discussion.
No email address required.
Thanks for the tips, yeah my understanding is Rust would catch all that at compile time.
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
More options
Context
But this github page has nothing to do with GNU Bash![:marseyconfused: :marseyconfused:](/e/marseyconfused.webp)
Jump in the discussion.
No email address required.
fish just has sane defaults.
as I posted below case and position insensitive auto-complete should be used by any shell.
Jump in the discussion.
No email address required.
More options
Context
More options
Context
Are these suggestions serious????
Jump in the discussion.
No email address required.
I think they're very tongue and cheek.
Jump in the discussion.
No email address required.
More options
Context
More options
Context
Jump in the discussion.
No email address required.
zsh is even more soy than fish
i have never encountered a zsh user that wasnt a manchild
Jump in the discussion.
No email address required.
Anyone who cares about their shell is an irredeemable nerd, just use bash like God intended
Jump in the discussion.
No email address required.
ehhh they arent completely interchangeable, depeding on ur use case the choice of shell does matter. but 99% of the time using anything other than bash is unnecessary
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
More options
Context
Bait, but this is going to be Rus
dogma within the next two years
Jump in the discussion.
No email address required.
Time to finally learn c++ to rake in the legacy maintenance neetbux
Jump in the discussion.
No email address required.
More options
Context
More options
Context
Having recently ported a mid-size project from Javascript + jQuery to Typescript + Vue 3 (and countless other projects from more straight forward one-to-one languages/frameworks) I 100% agree. My job was 10x easier than porting a whole thing from C++->Rust (yes I know enough Rust and C++ to say this).
You can always bet software devs will underestimate how long this will take by years - most of the gains being vague developer happiness stuff that quickly gets trumped by a mountain of complexity which out numbers the short-term benefits. If this isn't an incremental transition that can support the old C++ source code it will never happen.
It will simply be a new project that 10% of the userbase AND devs will use, then it will have a high risk of dying out unless there's hardcore buy in with the original team + userbase.
Jump in the discussion.
No email address required.
More options
Context
Fish isnt even postix complient, literally just use bash my dude
Jump in the discussion.
No email address required.
bad user experience
Jump in the discussion.
No email address required.
what could you ask for, man tells you flags, you tab complete and it runs commands. do you need a rainbow in your cmd prompt to bloat up your system for your fried dopamine receptors?
Jump in the discussion.
No email address required.
the main one is case insensitive and position insensitive autocomplete.
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
More options
Context
🤓🤓 heres an argument 4 u bud: both sides r massive cute twinks 👌😂[1][2]
Citations:
True (2016)
Fact (1981)
lmao @ u 👈👈👈 You were put down, in the future please refrain from discussing subjects you have no education in
Snapshots:
archive.org
ghostarchive.org
archive.ph (click to archive)
Jump in the discussion.
No email address required.
More options
Context