Omid Ghavami Zeitooni
@odyssjii
Husband. Father of 3. Programmer. Engineering Physicist.
You might like
Here is a video of the latest version of Avoid the Freaking Meteoroids! youtu.be/vIu_np2JDqs #ATFM #screenshotsaturday
youtube.com
YouTube
ATFM - You need Jedi Powers to play this game
From my appearance on 60 Minutes: Me: Research works. If you want to freeze society where it is, then cripple the research enterprise. Bill Whitaker of 60 Minutes: Is that whole idea being lost in the harsh rhetoric by the administration? Me: The attack on universities is a…
The problem with "modern" programming languages is that they encourage you to write things like "str.replace(..).replace(...).replace(...)" as if they are going to compile it down to an efficient single-pass thing, but then proceed to interpret it verbatim like a complete donkey.
What neither M?GA-types or DEI folks seem to get is that if you take the creme de la creme it will contain a wide distribution of ethnicities, nationalities, etc. You didn’t get those people by being inclusive, they are the best, nor can you expect the best to be homogenous group
It is funny, because no-one in tech seems to have studied control engineering. First we had Xerox, Kodak, etc. This time around everyone is overcorrecting in the other direction.
🚨 M365 Copilot Prompt Injection Vulnerability Allows Attackers to Exfiltrate Sensitive Data Read more: cybersecuritynews.com/copilot-prompt… A sophisticated vulnerability in Microsoft 365 Copilot (M365 Copilot) that allows attackers to steal sensitive tenant data, including recent emails,…
🫡🇸🇪🇺🇦
My natural instinct would probably be to do two passes to pre-allocate all the memory in one go. There was discussion about this FP style stuff before. Would the compilers of any of these languages ever do something like this? I would be surprised.
I haven't shared beautiful C++ code for a while. Here's some FP in C++ for a treat.
This explains a lot.
I just solved the strangest tech problem I've ever come across. My wifi kept dropping packets, confirmed by ping. It would look something like the first image (packets dropping, then it comes back to life). After a while the connection would just stop working completely and drop…
I have these macros (backed by functions) I use to conveniently format values into small string buffers on the stack. Like formatting byte counts or durations in human readable format for logging purposes. Some will frown upon such macros, but I love it. Simple one-liner, easy.
The single defining feature is ctor/dtor which fundamentally makes them completely different and incompatible languages. Most of the other features are up to taste. In C there is just memory and all structures are just transient interpretations. Not true in C++ with ctor/dtor.
Most C++ features create more problems than they solve. It's a fact. But some of them are useful and I'd love to see them in C. The only reason I don't use C++ is because it invites the "C++ Developers" to my code. The worst kind. You mfs know who you are. Stay away from my code.
Amen.
It is nonsense to suggest you can’t write any app, of any complexity, in C. I do find a light level of C++ beneficial for many larger projects, but it can also go tragically wrong. Sometimes, specific language features can be transformative valuable, but not nearly as often as…
The Dungeon Experience is being published by @devolverdigital !!
Static preallocation whenever possible 100% the way to go. In addition to performance benefits also simplifies a lot. Most of my structs look something like this whenever I can:
Just spent just over a week reading and rewriting some bad C++ code. It’s still scalar C++ right now, no SIMD parallelism or multithreading yet, but it’s already got a roughly ~1500x speed improvement on my machine. I inlined all the code, eliminated all the branches, removed…
Noooooo not my super secret antichrist lecture noooo
It will be really funny when we get AGI and it is not based on ridiculously parallel matrix math at all.
I want to keep it kind and amicable but basically, this is completely terrible advice and makes 0 sense Certainly do not go into debt to acquire GPUs unless it’s {{{debt}}} in the sense that it really isn’t Get cloud compute for free by working on interesting things, leverage…
post your night art🌃
Post your Night Art ✨ This is an old one of mine
Hottake:Rust is idiomatic C++ with the implicit rules statically enforced and then a package manager slapped on top. Good version of an inherently flawed idea. Little overlap with what C is good at. Rust is more in space of ref-counted compiled languages. Not systems programming.
United States Trends
- 1. Epstein 981K posts
- 2. Steam Machine 53.2K posts
- 3. Virginia Giuffre 56.7K posts
- 4. Bradley Beal 4,918 posts
- 5. Xbox 64K posts
- 6. Valve 36K posts
- 7. Jake Paul 3,978 posts
- 8. Boebert 44.5K posts
- 9. Rep. Adelita Grijalva 21.6K posts
- 10. Clinton 106K posts
- 11. Dana Williamson 8,405 posts
- 12. Maxwell 134K posts
- 13. Anthony Joshua 2,964 posts
- 14. GabeCube 3,676 posts
- 15. #dispatch 56.3K posts
- 16. Scott Boras 1,232 posts
- 17. H-1B 112K posts
- 18. NCAA 12.2K posts
- 19. Dirty Donald 20.2K posts
- 20. Michigan State 9,907 posts
Something went wrong.
Something went wrong.