[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


>six years in the making
>can't even sleep properly
>>
>nushell
I hate nu-/g/
>>
>>106572363
Use case?
>>
>>106572363
rust doesn't have this issue
>>
File: TELETEXT-1.jpg (87 KB, 1200x900)
87 KB
87 KB JPG
>>
>>106572363
Have you tried lying down and closing you eyes? Usually works
>>
>>106572363
Read the docs, fucking retard.
https://www.nushell.sh/commands/docs/sleep.html
>>
>>106573430
>sleep 1min 30sec
what's wrong with 1m30s or 1.5m lmao
>>
>>106572363
Just use powershell you faggot
>>
>>106574419
PowerShell isn't written in Rust.
>>
>>106576213
Exactly.
Nushell somehow manages to be even gayer than powershell.
>>
>>106572494
>shell written in rust
>"rust doesn't have this issue"
Retard.
>>
>>106572363
why would you use anything else than bash?
>>
>>106576389
wanted to give it a try
very disappointed
>>
Fish shell doesn't have this problem. I still write POSIX scripts, thoughie for obvious reasons.
>>
why would i ever use nushell, when powershell exist? on quick glance, it looks inferior.
>>
>>106576389
>muh special text effects
>>
>>106576672
If having your shell written in Rust is more important than have access to .NET libraries, you might consider nushell.
>>
>>106573430
those are a bit lacking to be fair. i had to guess unit suffixes from within the shell (day hr min sec). if there are others, i would need to look at the source code to discover them.
floating point is allowed.
duration arguments seem to be added together without restrictions. so "1sec 2sec 3sec" would sleep for 6 seconds.
i discovered this in a minute. but it should have been all documented.
>>
>>106572363
written by nu-males
>>
File: nu.png (76 KB, 1747x423)
76 KB
76 KB PNG
>>106576476
i don't do nu just to be clear
>>
>>106576825
what's lacking is your reading comprehension
>>
>>106576999
it's not for me
uninstalled already
>>
>>106577043
show me where "day" and "hr" are documented in that page meisterleser
>>
>>106576476
That error output is digusting. So fucking verbose, cluttered, and colorful it hinders readability. Is it so much to ask to just print a normal error message?
>>
>>106572363
Nushell, the shell for numales.
>>
>>106577113
give it another decade and it'll be the norm
>>
>>106572363
>sleep 3s
Normal people say "sleep 3".
>>
>>106580433
that doesn't work either...
>>
File: demon.jpg (3 KB, 224x138)
3 KB
3 KB JPG
>>106572363
What the fuck is that thing
>>
>>106580896
now I can't unsee it lol
>>
>>106580896
thats just the hindu alphabet.
nothing to worry about
>>
>>106573430
>nooo you should have to read through 80 pages of the manual instead of the developer sticking to common conventions
>>
File: vomit.jpg (616 KB, 740x740)
616 KB
616 KB JPG
>>106573430
why is there even a built-in function for sleeping?
why why why would that even be a part of a shell?

I can use gnu sleep literally with anything. I can use it in any shell on any operating system.
I just used it on windows in the dos shell, because I can. Because it's just a fucking executable.
Literally what could be so much more important than stability and portability that functions like sleep need to be integrated into the shell?

Literally, what is the use case? There is none. Drop the bullshit and use real programs and shells that don't get in the way of real programs.
>>
>>106576213
powershell does everything nushell does but better.
You still shouldn't use powershell, but you should use nushell even less
>>
>>106583415
Maybe it's because the shell is the controlling process that is responsible for executing the command fed to it? Not to mention how easy it is to implement functionality like that, I don't see the point in getting outraged over it; UNLESS you are forced to use the shell builtin.
>>
>>106583415

technically, they could transform this nushell project into separate utilities and they would be working on alternatives to the gnu tools but i guess they prefer to bundle everything in a monolith because of objects or something instead of using good old plaintext piping.

except plaintext has already won.
>>
>>106583453
>I don't see the point in getting outraged over it
the point is not to bloat software up with shit that isn't necessary
because then users will run into stupid bullshit like trying to execute a progam and getting an error because the shell was too self-important and executed its gay little built-in function instead that then also didn't work
>>
>>106583458
>except plaintext has already won.
You keep repeating this and it is just as retarded every single time. JSON, CSV, and even XML are specifically designed for structured data. You are like a child parroting "plaintext good" you got from school or a book and are incapable of thinking for yourself because you lack realworld experience.
>>
>>106583508
>plaintext good
nta but no one said it's good
it just won
>>
File: 175705432805150428.png (212 KB, 599x241)
212 KB
212 KB PNG
>>106572389
>Use case?
>>
>>106583521
>the most universal way of pushing stuff.
>understood by all operating systems in existence.

of course its good.
>>
>>106583558
plaintext is meaningless.
>>
>>106583485
This isn't software bloat, learn about why builtins like echo and printf, and sleep exist instead of delegating this functionality to external programs. This is ridiculous.
>>106583458
>good old plaintext piping
ah yes, this good old plaintext piping, compared to the piping over SSL (PIPESSL) protocol, KEK.
>>106583521
>>106583566
look up what plaintext means you goddamn idiots
>>
>>106583458
>good old encapsulated plaintext
>>
>>106583610
>good old encapsulated plaintext

you can encrypt it, compress it, encode it but you can't deny it.
>>
>>106583610
>This isn't software bloat
it is
sleep exists on my system
I don't want a shell that overrides it with a builtin that's incompatible with the one I already have
>>
>>106583558
dunno
parsing the same data again and again at every step of a pipeline feels like a waste of time
besides you still got to deal with nonsense like UTF-8 and shit
>>
>>106583848
it just works.
i pipe shit over netcat between linux and windows all the time. even windows cmd pipes text all over the place if you need
>>
>>106583793
You don't need to invoke the shell builtin, you can call a shell defined function or external program instead. We're getting into shell-specific territory here, but if your shell isn't dogshit it should be easy. You can simply disable a given builtin on decent shells, for example enable -n NAME in Bash, or you can just give the full path, and if you do it frequently to the point is becomes a pain you can just use an alias or create a function with a different name. By the way, there's nothing more than having more than one shell, you have to use Bash sometimes even if you main fish.
>>
>>106572363
>program prints every time "it's been this long since nushell's first commit" down to the nanosecond
This is a textbook example of why Linux has no marketshare. This is why you need UI and UX designers, who are actually human, not this techbro fantasy.
>>
File: 黒田楓和.jpg (279 KB, 900x1200)
279 KB
279 KB JPG
>>106572363
That down-to-ns time measurements on things where nanosecond does not matter or make sense looks absolutely retarded

Strong "command executed in 1.32319898028908 seconds" vibes
>>
>>106584221
couldn't agree more
shit like this is why linux is stuck as a server OS
google did it right with android by creating their GUI from scratch and burying the terminal deep
>>
File: 1740106105393990.jpg (287 KB, 816x713)
287 KB
287 KB JPG
>>106585522
>google did it right
* [relatively] right

let's not be generous, now.
>>
>>106573417
kek this
>>
>>106583306
>hindu alphabet
Unicode box draw characters not good enough for them? Those would at least line up with each other regardless of font and not look janky.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.