Readit News logoReadit News
oguz-ismail commented on Bash Strict Mode (2014)   redsymbol.net/articles/un... · Posted by u/dcminter
3eb7988a1663 · 5 days ago
All languages have foot guns, but bash is on the more explodey end of the scale. It is not senseless to note that if you can use a safer tool, you should consider it.

C/C++ got us really far, but greenfield projects are moving to safer languages where they can. Expert low level programmers, armed with all of the available linting tools are still making unfortunate mistakes. At some point we should switch to something better.

oguz-ismail · 5 days ago
> At some point we should switch to something better.

Agree. Python isn't it though

oguz-ismail commented on FFmpeg Assembly Language Lessons   github.com/FFmpeg/asm-les... · Posted by u/flykespice
6SixTy · 11 days ago
Safety critical systems say hello.
oguz-ismail · 11 days ago
> Safety critical systems

Any concrete examples where we can see the code?

oguz-ismail commented on Anna's Archive: An Update from the Team   annas-archive.org/blog/an... · Posted by u/jerheinze
keroro · 11 days ago
Why use them over annas archive?
oguz-ismail · 11 days ago
cleaner interface
oguz-ismail commented on Anna's Archive: An Update from the Team   annas-archive.org/blog/an... · Posted by u/jerheinze
oguz-ismail · 11 days ago
> We recommend not using them

I've been using WeLib since April and had a good experience so far

oguz-ismail commented on FFmpeg Assembly Language Lessons   github.com/FFmpeg/asm-les... · Posted by u/flykespice
sylware · 11 days ago
There is serious abuse of nasm macro-preprocessor. Going to be tough to move away to another assembler.
oguz-ismail · 11 days ago
Where? There's very little code in those lessons
oguz-ismail commented on IMDB Terminal Browser   github.com/isene/IMDB... · Posted by u/thunderbong
oguz-ismail · 12 days ago
off-topic but why is there a vim swap file in the repo? https://github.com/isene/IMDB/blob/main/.imdb.swp
oguz-ismail commented on PuTTY has a new website   putty.software/... · Posted by u/GalaxySnail
recursive · 14 days ago
The first time I ever saw it, the text already looked better than cmd.exe via conhost.
oguz-ismail · 14 days ago
https://imgur.com/a/qA1fr71

Something wrong with my eyes? Doesn't cmd.exe look smoother in this screenshot?

oguz-ismail commented on PuTTY has a new website   putty.software/... · Posted by u/GalaxySnail
MortyWaves · 14 days ago
Ever since Windows gained Terminal and OpenSSH, my usage of Putty has almost entirely ceased except for serial for embedded systems work.

Then I realised Putty ships with a CLI version which I now use in Terminal for accessing serial.

oguz-ismail · 14 days ago
> Terminal

Have they fixed font rendering yet? cmd.exe looks better on my laptop

oguz-ismail commented on OpenBSD is so fast, I had to modify the program slightly to measure itself   flak.tedunangst.com/post/... · Posted by u/Bogdanp
Const-me · 14 days ago
Not sure if that’s relevant, but when I do micro-benchmarks like that measuring time intervals way smaller than 1 second, I use __rdtsc() compiler intrinsic instead of standard library functions.

On all modern processors, that instruction measures wallclock time with a counter which increments at the base frequency of the CPU unaffected by dynamic frequency scaling.

Apart from the great resolution, that time measuring method has an upside of being very cheap, couple orders of magnitude faster than an OS kernel call.

oguz-ismail · 14 days ago
> I use __rdtsc() compiler intrinsic

What do you do on ARM?

oguz-ismail commented on Streaming services are driving viewers back to piracy   theguardian.com/film/2025... · Posted by u/nemoniac
joules77 · 15 days ago
Use the right browser (not built/funded by ad tech companies) and all Ads can be blocked in 2025.
oguz-ismail · 15 days ago
Those companies own half the internet and they make sure the right browser is always slower and shittier than theirs

u/oguz-ismail

KarmaCake day17June 17, 2024View Original