Wait until you try Rust… 😅
Beej Jorgensen
Instructor, author, developer. Creator of Beej’s Guides.
openpgp4fpr:CD99029AAD50ED6AD2023932A165F24CF846C3C8
- 4 Posts
- 349 Comments
Beej Jorgensen@lemmy.sdf.orgto
Linux@lemmy.ml•What are the options if my country makes VPN's illegal?
2·11 months agoOff topic, but with DeCSS the problem wasn’t that it was proprietary or a trade secret. Once the algorithm got out, it was out. Since it had been a trade secret, there was no patent protection on it.
However, some laws and treaties prohibit distributing code that circumvents copy protection schemes, and this is where they ran into trouble.
And that’s why they were all those songs and t-shirts and other free speech items made with the DeCSS algorithm on them. Eventually the cases were dropped.
I was just going to say this. The modal part is the important part. Helix seems great, but I was unable to find a killer feature to draw me away.
Beej Jorgensen@lemmy.sdf.orgto
Programming@programming.dev•How much are SOLID principles in OOP programming (and JVM languages specifically) just a mindless following of a set of ideas that aren't always the best solution?
6·1 year agoThe funny thing is I really liked the old JS prototypal inheritance. :)
Beej Jorgensen@lemmy.sdf.orgto
Programming@programming.dev•How much are SOLID principles in OOP programming (and JVM languages specifically) just a mindless following of a set of ideas that aren't always the best solution?
18·1 year agoI’m a firm believer in “Bruce Lee programming”. Your approach needs to be flexible and adaptable. Sometimes SOLID is right, and sometimes it’s not.
“Adapt what is useful, reject what is useless, and add what is specifically your own.”
“Notice that the stiffest tree is most easily cracked, while the bamboo or willow survives by bending with the wind.”
And some languages, like Rust, don’t fully conform to a strict OO heritage like Java does.
"Be like water making its way through cracks. Do not be assertive, but adjust to the object, and you shall find a way around or through it. If nothing within you stays rigid, outward things will disclose themselves.
“Empty your mind, be formless. Shapeless, like water. If you put water into a cup, it becomes the cup. You put water into a bottle and it becomes the bottle. You put it in a teapot, it becomes the teapot. Now, water can flow or it can crash. Be water, my friend.”
Beej Jorgensen@lemmy.sdf.orgto
Writing@beehaw.org•For those of you that use version control, what do you use to edit your documents?
1·1 year agoYou can set git’s difftool to vimdiff. That is admittedly outside of the current editing session, though.
Beej Jorgensen@lemmy.sdf.orgto
Technology@lemmy.world•"Biden Administration Policies Led to a 0% Market Share in China", Claims NVIDIA’s Jensen Huang, as He Hopes for a Breakthrough in the RegionEnglish
52·1 year agoHe’s not wrong—Biden fucked that up good—but Trump kept those policies, too, something NVIDIA was shrewd not to mention. By the time Trump finally offered half an olive branch, it was far too late.
Beej Jorgensen@lemmy.sdf.orgto
Writing@beehaw.org•For those of you that use version control, what do you use to edit your documents?
3·1 year agoHonestly, I write virtually everything as markdown in Vim. The only time I get out of that is when I have very specific formatting requirements and I don’t feel like messing with LaTeX or I need to submit a Word document.
Plain text is superior due to lack of dependencies. 😁
Beej Jorgensen@lemmy.sdf.orgto
Technology@lemmy.world•After police used Flock cameras to accuse a Denver woman of theft, she had to prove her own innocenceEnglish
9·1 year agoAdditionally, the citizens who support this kind of government surveillance are fine with a few innocents getting charged.
Beej Jorgensen@lemmy.sdf.orgto
Technology@lemmy.world•Python Foundation rejects $1.5M grant from NSF with "no-DEI" stringsEnglish
309·1 year agoOne of our geology grants got hit for mentioning mineral inclusion. Total clown show.
Beej Jorgensen@lemmy.sdf.orgto
Technology@lemmy.world•Elon Musk says he needs $1 trillion to control Tesla's robot army. Yes, really.English
1·1 year agoThe kleptocracy in action.
Sparingly. I use chatgpt to help with syntax and idioms when learning new languages. And sometimes I use it to help determine the best algorithm to use for a general problem. Other times I feed in working code and ask for improvements like a mini code review
The only time I had it code something from scratch for me was when I wanted some Vimscript and I didn’t want to learn it. I tried the same thing with jq and it failed and I had to learn me some jq.
I hate popups in editors in general (no intellisense for me), so I lothe AI trying to auto complete my code.
Beej Jorgensen@lemmy.sdf.orgto
Technology@lemmy.world•Elon Musk says he needs $1 trillion to control Tesla's robot army. Yes, really.English
44·1 year agoBut I was told that rich people like musk and Trump weren’t swayed by money because they had enough… 😂
Beej Jorgensen@lemmy.sdf.orgto
Technology@lemmy.world•Exclusive: US mulls curbs on exports to China made with US software, sources sayEnglish
4·1 year agoMy thoughts exactly. If you want to destroy the US software industry, this is a great way to go about it. Coupled with making it as difficult to get trained as a software developer, of course.
Beej Jorgensen@lemmy.sdf.orgto
Technology@lemmy.world•Universities are embracing AI: will students get smarter or stop thinking?English
9·1 year agoDad taught college and got tired of this game. So he wrote his own book and students could print copies in the print shop for $10.
Now that I’ve gone on to teach college I’ve continued that tradition, except online for $0.
Beej Jorgensen@lemmy.sdf.orgto
Technology@lemmy.world•Meta is removing its Messenger apps for Windows and macOSEnglish
9·1 year agoI avoid those desktop apps, anyway. I just keep them in browser tabs. Not that I frequent Facebook.
Beej Jorgensen@lemmy.sdf.orgto
Programming@programming.dev•Decompiling Binary Code with Large Language Models
132·1 year agoNow this is a great use of LLMs. Love it. So many old apps and games exist only in compiled form.
Beej Jorgensen@lemmy.sdf.orgto
Technology@lemmy.world•I analyzed 200 e-commerce sites and found 73% of their traffic is fakeEnglish
36·1 year agoI used to work in marketing as a dev and this shit never made sense to me. I didn’t investigate like TFA but I am 0% surprised by the finding. Incentives are all misaligned.
Beej Jorgensen@lemmy.sdf.orgto
Technology@lemmy.world•DirecTV screensavers will show AI-generated ads with your face in 2026English
1·1 year agoThey take pictures of you sleeping.



If there’s one person in the world I trust to call out AI for being stupid, it’s Linus Torvalds. I think he can handle it.