DevMagister

709 posts

DevMagister

DevMagister

@DevMagister

Self-taught, full-stack software developer. Roman history junky. I can cook pork char-siu.

Dallas, TX เข้าร่วม Ocak 2021
80 กำลังติดตาม59 ผู้ติดตาม
DevMagister
DevMagister@DevMagister·
@FrancescoCiull4 @VBragilevsky I am really enjoying Rust. Frankly, for std environments like linux, I only like it for terminal apps. But I am learning no-std Rust as I am learning embedded, and it is PERFECT for this. Chef’s kiss!
English
1
0
4
55
Francesco Ciulla
Francesco Ciulla@FrancescoCiull4·
My Rust book is on its way to reaching 1000 copies sold (844 a couple of days ago). And it has been the #1 bestseller on Amazon for "parallel computer programming." Link to the review by @VBragilevsky below.
Francesco Ciulla tweet media
English
13
3
78
2K
DevMagister
DevMagister@DevMagister·
@lauriewired The Postgres mascot, Slonik, is more better. And he represents a worthwhile stack piece!
DevMagister tweet media
English
0
0
2
119
LaurieWired
LaurieWired@lauriewired·
man, I don’t code in PHP but tbh the mascot is so cute it kinda makes me want to look at this little guy
LaurieWired tweet media
English
98
42
1.8K
34.6K
DevMagister
DevMagister@DevMagister·
@skdh @80sGeek No, we need another depression. America was never stronger that after the Great Depression. Our system requires a generational reset, we do not artificially oppose reality to the point of absurdity like Europe.
English
1
0
0
317
DevMagister
DevMagister@DevMagister·
@carmothy @lcamtuf @taviso Did your wife leave you for a Rustacean? He must have so much time to spend with her, not having to track ownership and lifetimes manually.
English
0
0
2
83
Nathan
Nathan@carmothy·
@lcamtuf @taviso Rewriting everything in Rust is retarded. I look forward to new hardware that makes it irrelevant.
English
4
1
79
12.5K
lcamtuf
lcamtuf@lcamtuf·
The coreutils Rust rewrite story is pretty funny. Coreutils are tools like rm, mv, mkdir, etc. Unlike binutils, this isn't a fertile ground for memory safety bugs. But, the rewrite was completed, and in the spirit of progress, Canonical decided to switch. 🡇
English
44
91
1.5K
214.7K
DevMagister
DevMagister@DevMagister·
@lcamtuf Not a big hurdle. I imagine if you got people to rewrite coreutils in C again, there would be MORE issues. The swap is still going forward in 26.10 🙂
English
0
0
1
145
DevMagister
DevMagister@DevMagister·
@JohnDoritosKane @KarenPayneMVP Openai is projected to still have $14 billion losses this year A successful IPO will give them more temporary runway, but if Musk’s lawsuit is partially successful it could tank the IPO Better not to allow vendor lock-in in the first place! MS does the same thing over and over
English
0
0
0
34
John D. Kane
John D. Kane@JohnDoritosKane·
@DevMagister @KarenPayneMVP Prices did recently skyrocket. It seems to be normalizing across the industry. To be fair, Microsoft's docs did say special Copilot pricing was for a limited time, and I enjoyed taking advantage of that.
English
1
0
0
35
Karen Payne MVP
Karen Payne MVP@KarenPayneMVP·
Rather than getting in a tizzy about the cost of GitHub Copilot, consider writing code as you would before AI and use less costly models for most work.
English
19
5
54
6.4K
DevMagister
DevMagister@DevMagister·
@JohnDoritosKane @KarenPayneMVP Yes, and Claude Code can also run other models, but that is not the question. More importantly, Claude Code can also run custom in-house models (via Ollama, LM Studio, etc). With copilot, you will always be paying microsoft, and prices will soon skyrocket. Enjoy!
English
1
0
0
35
John D. Kane
John D. Kane@JohnDoritosKane·
@DevMagister @KarenPayneMVP Copilot agent runs frontier models such as Anthropic Claude Opus 4.x like Claude Code does. Other than the cosmetic and permission prompting differences, I haven't noticed any major code quality differences when the same LLM is used no matter through which agent.
English
1
0
0
38
DevMagister
DevMagister@DevMagister·
@davepl1968 Before they invented hands we had to increment the abacus by blowing on it like the big bad wolf
English
0
0
0
34
Dave W Plummer
Dave W Plummer@davepl1968·
@gator_gum That's why America has Senators, with equal representation in each state. Would it be fair to make Alaska and its oil beholden to the whims of the entire nation? Like you do with Alberta, I mean?
English
11
4
262
4.8K
DevMagister
DevMagister@DevMagister·
@davepl1968 @HappyMotorhead You take that back! I loved my manual transmission diesel Jetta. The only manual where you don’t need to hit the gas pedal to move forward in 1st gear from a stop! Good luck with short on-ramps though…
English
0
0
1
15
Happy Motorhead
Happy Motorhead@HappyMotorhead·
Nearly 43 years old and still looks better than a new Tesla. Do you agree?
Happy Motorhead tweet media
English
69
22
294
7.4K
DevMagister
DevMagister@DevMagister·
@hoff_world Hoff World is on Twitter now! Teach us more about embedded, there is not enough wholesome content here. My pan/tilt servo tracking algorithm sucks and I don’t know why.
English
0
0
0
6
DevMagister
DevMagister@DevMagister·
@skdh @kareem_carr This unironically the worst affliction I have ever heard of. ☹️I am sorry for your loss.
English
0
0
5
75
Sabine Hossenfelder
Sabine Hossenfelder@skdh·
I feel much better since going gluten-free, hopefully soon I'll be fully back to being annoying. But I struggle to get my daily calories together, there's only so much butter I can put on rice before it gets disgusting. Please let me know if you have suggestions... 🙏
English
439
11
624
40.8K
DevMagister
DevMagister@DevMagister·
@tsoding How can tou rename a file that doesn’t exist? Surely it means create the file if it does not exist
English
0
0
0
493
Тsфdiиg
Тsфdiиg@tsoding·
I mean the function does exactly what it says. It's a pretty good name.
English
3
1
603
24.9K
Тsфdiиg
Тsфdiиg@tsoding·
Everybody: naming is the hardest problem in programming. Jai standard library:
Тsфdiиg tweet media
English
122
113
2.8K
188.3K
DevMagister
DevMagister@DevMagister·
@schteppe Therefore, languages should not default to undefined behavior, and should instead have defined behavior for most or all usage of the language.
English
0
0
3
57
Stefan
Stefan@schteppe·
Software shouldn’t crash.
English
34
0
76
4.7K
DevMagister
DevMagister@DevMagister·
@systemdesignone I strongly disagree. Rust’s compiler literally teaches you the language. No other language can say that. I come from a full stack web dev background, but Rust was easy. The only difficult parts are not specific to Rust: learning how memory is actually handled by hardware.
English
0
0
0
107
Neo Kim
Neo Kim@systemdesignone·
SOFTWARE ENGINEERS ONLY Which is the most difficult programming language to learn? I'll go first: Rust
English
192
3
152
53.7K
DevMagister
DevMagister@DevMagister·
@buildwithparas @_trish_xD I learned pointers by letting Rust’s borrow checker teach me. That is a compiler’s job: tell you what is wrong.
English
0
0
0
7
Paras
Paras@buildwithparas·
@_trish_xD segfaults are how you actually learn what a pointer is
English
1
0
0
75
trish
trish@TrisH0x2A·
C barely gives you anything the hardware doesn't already have. What you write is almost exactly what the CPU runs. That's where all the power (and all the danger) comes from.
English
18
11
286
6.7K
Andrea Griffini
Andrea Griffini@agriffini·
@WalterBright @csjh__ I don't like zig (at all)... but requiring `= ?` explicitly in those rare cases seems to me it would be ok.
English
2
0
1
106
WalterBright
WalterBright@WalterBright·
Floating Point NaN in #dlang NaNs are a very underappreciated feature of IEEE-754 floating point. In the D programming language, floats get default initialized to NaN, not to 0.0. double y = 0.0; // initialized to 0.0 double x; // initialized to NaN The discussion routinely comes up as "why not default initialize to 0.0?" The reason is a routine mistake in programming is forgetting to initialize a variable. With a floating point 0.0, one may never realize that the floating point calculation results are wrong. But with NaN, the result of a floating point computation will be NaN, which is unlikely to go unnoticed. I don't know of any other programming language with this safety feature. Also, the D `char` type is initialized to 0xFF, not 0, because Unicode says that 0xFF is an invalid character.
English
8
15
98
11.9K
DevMagister
DevMagister@DevMagister·
@AxiomVerge @GaryMarcus A) is wrong B) is totally valid when the product itself is creativity C) is valid, but alone does not prevent you from offloading the less fun things, like writing unit tests, debugging, asset formatting I would rather it did not exist, but Pandora is not going back in the box
English
0
0
3
122
Tom Happ
Tom Happ@AxiomVerge·
@GaryMarcus I never vibe coded because a) ai can't even reliably write small code fragments and there's no way I'd let it write performance critical code and b) gamers hate that shit
English
7
0
72
2K
Gary Marcus
Gary Marcus@GaryMarcus·
Coders and software engineers ONLY:
English
101
14
78
31.7K