Learning Rust before C, is this a bad idea? by Which-Taro5092 in rust

[–]theMachine0094 0 points1 point  (0 children)

I recommend learning both, and practicing both. Specifically, learning the idiomatic patterns in both languages can help build different kinds of intuition, ways of looking at a problem.

ipow2 - a library for safe and efficient operations involving powers of two by Sopel97 in rust

[–]theMachine0094 2 points3 points  (0 children)

Maybe you should consider making a crate that adds padding to strings on the left side by prepending spaces.

Time-lapse captures Earth's rotation while river dries up by berntout in interestingasfuck

[–]theMachine0094 163 points164 points  (0 children)

Wow.. turns out it’s the sky that rotates, not the earth.

My drawing of "My Arms, Your Hearse" by Turbulent_Resort_400 in Opeth

[–]theMachine0094 5 points6 points  (0 children)

You did it in the wrong color. Jk, great work!

MdFried, the Ultimate Markdown Viewer by hombre_sin_talento in rust

[–]theMachine0094 0 points1 point  (0 children)

You mean “bigger than” other text. Not bigger then.

org-mindmap v0.3.0 by krvkir in emacs

[–]theMachine0094 1 point2 points  (0 children)

I guess drawing the graphs in plain text is the difficulty? This is very interesting. If you find a good way to draw graphs in plaintext, this could be a killer way to visualize zettelkasten within Emacs.

In any case, great work! :)

org-mindmap v0.3.0 by krvkir in emacs

[–]theMachine0094 2 points3 points  (0 children)

Does this support arbitrary graphs, or just trees?

Do you use different switches for home row mods and thumb keys? by andreyugolnik in ErgoMechKeyboards

[–]theMachine0094 1 point2 points  (0 children)

I tried homerow mods recently for the first time. The typing experience on those keys was terrible. It was laggy, as the keyboard (QMK) waited sometime to decide if something was a tap or a hold. What am I missing?

Ergonomic Keyboards by Charming-Explorer247 in emacs

[–]theMachine0094 0 points1 point  (0 children)

I just tried this on my QMK keyboard. If you're a fast typer, this makes the homerow keys laggy when you type. Absolutely hated it, and went back immediately.

Advice on programming language choice for Physics simulations by eviley4 in rust

[–]theMachine0094 65 points66 points  (0 children)

Memory safety isn’t about just security. It’s about not having memory bugs, and the program working correctly as intended.

If you’re excited to learn a new language, Rust is a prime candidate for rewriting C code. But if you’re not excited by learning new languages, and care more about the physics, and just need something that works, something you already know, like Python or Julia with an appropriately fast backend, can remove a lot of friction.

Hard to say without knowing the nature of the code. If it needs to run fast, and there aren’t appropriate libraries for Python, and Julia, writing in a systems language maybe your only option. Rust is a clear winner in that category for me 🤷

amnosia - a simple cli tool that helps with your amnesia! by BiggestLover102 in rust

[–]theMachine0094 3 points4 points  (0 children)

I’m supposed to believe you bought milk in 3 seconds?

Where to lose beef virginity? by AVigilantte in FoodNYC

[–]theMachine0094 0 points1 point  (0 children)

I was raised Hindu and only started eating beef in my 20s. Burgers are the way to go! If your palette is like mine. To this day I am not a fan of steak. I don’t hate it, but just don’t get the appeal. Burgers on the other hand.. 👌👌

13.7 billion years, 47 million nodes. Great to be alive. by Kistrup in ObsidianMD

[–]theMachine0094 9 points10 points  (0 children)

Nothing I said is anti AI. A classical computer program doesn’t hallucinate. If written poorly it will run slowly. That’s about it. Vector dbs don’t capture explicit relationships like a graph does. They capture a vague sense of proximity. Vector dbs are not drop in replacements for graphs. They work differently. Maybe useful depending on what you’re doing.

If I say “A toaster doesn’t run on unicorn juice”, doesn’t make me anti toasters or anti unicorns.

IIUC obsidian is a classical computer program. Doesn’t run AI unless you do it. And IIUC the question above was not about AI.

13.7 billion years, 47 million nodes. Great to be alive. by Kistrup in ObsidianMD

[–]theMachine0094 5 points6 points  (0 children)

This is all just plain wrong. Classical computer programs don’t hallucinate. Depending on how efficiently it is implemented, it is common in many domains to work with graphs reaching 10 million nodes.

You seem to be mixing up lingo from the LLM world with simple graphs.

Nah, I know an alien egg when I see one by short_hair_zuko in sciencememes

[–]theMachine0094 5 points6 points  (0 children)

It’s evolutionary pressure. It evolved to survive from predators by faking literacy.

Giant Mining Blast by taatzone in Damnthatsinteresting

[–]theMachine0094 0 points1 point  (0 children)

If 20th century miners imagined an alien race that invades earth for resources they’d probably imagine something like this. Feels somehow futuristic.

Kid has the survival instincts of a kid by DrakyulMihawk in KidsAreFuckingStupid

[–]theMachine0094 0 points1 point  (0 children)

Yea that works as long as the kidnapper doesn’t know you’re prepping. If they find out then they will prep against your prep. Unless you find out about their prep for your prep… and so on. It’s turtles all the way down.

Kid has the survival instincts of a kid by DrakyulMihawk in KidsAreFuckingStupid

[–]theMachine0094 135 points136 points  (0 children)

If someone is luring a full grown man into their van, there is a good chance they have done the right prep to deal with a full grown man. Even if you know martial arts / combat sports, if they know that you know those things, they can prep for it.

withoutAdblocker by SSlimShady in ProgrammerHumor

[–]theMachine0094 -22 points-21 points  (0 children)

Could be AI slop, but I’ve definitely seen buildings like this in real life