So, you create a file with the name containing å. Then you send it to another person. They want to handle it via the command line. Because it’s more efficient. So that person needs to know said information.
- 1 Post
- 41 Comments
Because you would need to know the code for å in all kb layouts, on all OS’s, even in a bare terminal with no way to just open the emoji picker, with or without special keys and no clipboard. Of course, tab completion or globs may help you, but not in all cases.
Try to select blåhaj.txt in a dir with blåhaj.txt and blahaj.txt present. Easy, ls bl*haj.txt | grep -i blahaj.txt. Now with blåhaj.txt and bløhaj.txt. Not as easy anymore, but doable with tail -n1 or head -n1. Now do it consistently in a script. So you again need to single out the right string, or single char, and >> it into the script so you have the special char. Then you have a component that does not like certain special chars, so you need to escape it. All because one decided to use special chars as a file name/identifier. Using [a-zA-Z0-9-_.:;,]* would be so easy.
He unironically looks so cuddly :333 Good boy <3 I bet he likes snoot boops with that smile :33
It’s annoying to type in the terminal tho.
Noooooo what did you do to that poor shonky :ccc
30p87@feddit.deto Programmer Humor@programming.dev•I meant to type "npm run dev"... What will happen now?31·1 year agoConsidering “being ruined” is a state, and not a scale, the dev is already ruined, because it’s not Linux.
No. But somebody may be.
Yes, but
- it’s unsafe, therefore not really Rust I’d argue
- it doesn’t look as good
float Q_rsqrt(float number) { long i; float x2, y; const float threehalfs = 1.5F; x2 = number * 0.5F; y = number; i = * ( long * ) &y; i = 0x5f3759df - ( i >> 1 ); y = * ( float * ) &i; y = y * ( threehalfs - ( x2 * y * y ) ); return y; }
- The C compiler, when I parse a &(float) as (long) (it’s actually an evil floating point hack to run Quake III on an X86_64 CPU emulated in Scratch running on Spotifys Car Thing) (This would never be possible in Rust)
And I hate it. Nice concept, but I don’t like neither, the language nor compiler.
No no, we do
time_t t = time(NULL); struct tm tm = *localtime(&t); tm.tm_year + 1900;
Everyone writes their web server in plain C, right?
30p87@feddit.deto Programmer Humor@programming.dev•Alcohol is my way to turn myself on and off again185·1 year agoYou misspelled KeePass
30p87@feddit.deto Programmer Humor@programming.dev•Basically the extent of my IPv6 knowledge5·1 year agoI wish everything would just default to a unix socket in /run, with only nginx managing http and stream reverse sockets.
'Yes boss, I need 16-Bit, 32-Bit and 64-Bit Arm and x86_64 ASM as well as MySQL, SQLite, Postgres, Firebird, Mongo and all other stuff too, so I need a lot of computers … of course all with Threadripper PRO 7995WX’s.
30p87@feddit.deto Firefox@fedia.io•Google disrupted YouTube video playback on Firefox, again - gHacks Tech News9·1 year agoI exclusively use Piped, and never have any problems. No ads, no bullshit, sponsorblock and DeArrow.
30p87@feddit.deto Firefox@fedia.io•Mozilla reverses course, re-lists extensions it removed in Russia14·1 year agoThey were forced to delist it temporarily in Russia. The fact that they listed it again tells me that they listen to the community, like they claimed, and that they value said community above the russian government.
Yeah, but to observe such error messages you’ll basically need to wait for 20 mins for it to compile.
30p87@feddit.deto Programmer Humor@programming.dev•Roses are red, violets are blue, everyone is using IPv6, why aren't you?3·1 year agoHow about “Let me selfhost my own repos, so other people working with my stuff can use IPv6, as well as be sure no large corporation known for being cancer stands behind it and monitors every thing I do.”?
Also, don’t use Windows.