Readit News logoReadit News
yau8edq12i commented on CSharpRepl: C# REPL with syntax highlighting and intellisense   fuqua.io/CSharpRepl/... · Posted by u/aragonite
classified · 2 years ago
Is it capable of UTF-8? I couldn't for the life of me get the F# REPL to read UTF-8.
yau8edq12i · 2 years ago
What do you mean? With dotnet fsi? I just tried it and it reads UTF8 just fine, at least in windows terminal.
yau8edq12i commented on BB(3, 4) > Ack(14)   sligocki.com//2024/05/22/... · Posted by u/LegionMammal978
dataflow · 2 years ago
Zero is neither A nor B or C...?
yau8edq12i · 2 years ago
The initial state is A, the tape is full of 0 (on both sides).
yau8edq12i commented on BB(3, 4) > Ack(14)   sligocki.com//2024/05/22/... · Posted by u/LegionMammal978
dataflow · 2 years ago
What's the initial state supposed to be?
yau8edq12i · 2 years ago
Infinite tape of zeros.
yau8edq12i commented on How to compare two packed bitfields without having to unpack each field (2019)   devblogs.microsoft.com/ol... · Posted by u/luu
mannyv · 2 years ago
Is the vector method really faster than mask/subtract/compare?

They never really say in the article.

yau8edq12i · 2 years ago
Based on my quick and dirty benchmarking, it's similar in terms of performance. The vector comparison is consistent, the unpacking comparison is about 1.5x faster if it can exit early, but 4x slower otherwise. Here are the results: https://pastebin.com/QL4sNzhj (the code is straight from the article, the benchmarking done with google benchmark).
yau8edq12i commented on What's the difference between a motor and an engine? (2013)   engineering.mit.edu/engag... · Posted by u/wizardforhire
yau8edq12i · 2 years ago
Fun fact: the French word engin still retains its original meaning of contrivance, contraption. But we still translate "search engine," which refers to this archaic English meaning, as moteur de recherche ("search motor").
yau8edq12i commented on The Denmark secret: how it became the most trusting country   theguardian.com/lifeandst... · Posted by u/PotatoNinja
indeed30 · 2 years ago
I'm interested in what you're comparing against. Denmark is typically towards the bottom of any measure of cultural or ethnic diversity - e.g. https://en.wikipedia.org/wiki/List_of_countries_ranked_by_et...

I have been to Denmark many times and it strikes me as considerably more homogenous than the UK or the US.

yau8edq12i · 2 years ago
It's funny how little time it takes to go from "cultural" to "ethnic". Say what you think instead of using whistles: you think that Denmark conforms to your racially focused worldview, that it's "pure", or whatever. Am I correct?

Funnily enough, Denmark is a few places below France in "ethnic fractionalization", yet somehow, racists worldwide insist that France has become a shithole because of immigration.

yau8edq12i commented on How and why to make a /now page on your site   sive.rs/now2... · Posted by u/sarimkx
sarimkx · 2 years ago
For reference: https://nownownow.com/
yau8edq12i · 2 years ago
What do you mean by "for reference"? That URL is feature prominently in the linked blog post.
yau8edq12i commented on "No way to prevent this" say users of only language where this regularly happens   xeiaso.net/shitposts/no-w... · Posted by u/tbillington
pdimitar · 2 years ago
I've been doing programming for ~31 years in total and ~22 years professionally and at this point I have lost all hope that programmers at large will ever gain these mythic qualities called "self-reflection" and "introspection".

Truth is, these people are simply afraid for their cozy jobs, that's all there is to it. Derivative states of mind like Stockholm Syndrome and Sunk Cost Fallacy are quite normal to appear in these conditions.

On OP: I could not agree more. People always downplay their fuck-ups, that's sadly part of being a Homo Sapiens, but the lack of awareness is still both despairing and hilarious to watch.

And finally, C/C++'s niches have decreased but these people will not adapt, of course. Almost anything I've done with those languages 15-20 years can today be done with Rust. Or if you are on a tight time budget -- Golang, and you still won't lose too much speed.

But sure, "nothing can be done, these things sometimes happen". Sigh.

yau8edq12i · 2 years ago
I program MCUs as a hobby. I wish I could use something better than C. Even C++ with RAII would be better. But somehow, even C++ support is spotty, with unsupported features, broken debugging, etc. for seemingly no reason. And all device-specific libraries are written in C, so I'd have to write C++ wrappers for every little thing. Send help...
yau8edq12i commented on Amber: Programming language compiled to Bash   amber-lang.com/... · Posted by u/weaksauce
kitd · 2 years ago
Because the runtime for those utilities is available on just about every Linuxy OS there is. Saves you having to install the runtime separately, eg in your CI pipeline.
yau8edq12i · 2 years ago
It's not much of a "runtime", though. How is it better than a plain executable?

u/yau8edq12i

KarmaCake day677January 12, 2024View Original