Spyke

Replies

adhd

Comment on

exercise for us?

VR hands down.

It's the only workout that has ever stuck for me, because it really doesn't even feel like a workout. Games like Beat Saber or Pistol Whip can burn as many calories per hour as playing tennis, and are genuinely super fun.

https://vrhealth.institute/portfolio/beat-saber/ https://vrhealth.institute/portfolio/pistol-whip/

I started playing regularly at the beginning of lockdown and ended up losing around 50lbs. I would play Pistol Whip until I was completely drenched and could barely stand anymore, but I still wanted to keep playing! I got a plugin for the valve index that measures your activity and your calories burned, and I can easily burn 1200 calories during a session... YMMV though.

Comment on

Working on an emulated-OS docker container

Reply in thread

Wow I honestly had no idea something like this already existed! Never heard of ArozOS before.

Why is it not more well known/discussed? I can see a million different use-cases for a web-based OS. I would have thought it would be the first thing people would talk about for a self-hosted solution to a os/frontend.

Comment on

when is it best to use a recursive function vs a for loop

The only time I've ever really needed recursion is when I'm doing something that needs to map out some sort of tree or heavily nested object.

One example that comes to mind is when I needed a function that acts like querySelector, but also searches through shadowroots. Since querySelector does not natively search within shadowroots, I had to write a recursive function that basically starts at the root and recursively searches each node for a shadowdom, goes inside, and runs itself again.

It's definitely not the most performant solution, but it is sometimes necessary.

Comment on

Working on an emulated-OS docker container

Reply in thread

Interesting 🤔 I've never heard of orb. This is the second similar project I've gotten responses about. I honestly had no idea anything similar even existed. Why are these not more popular? I can see a million different use-cases for apps such as this.

That being said, I tried the orb demo and support on mobile was terrible. I'm aiming to have it be fully touch/mobile supported.

Comment on

Can one be too dumb for programming?

I have been programming for years, and although I did minor in math, I can only think of 2 times that I have ever needed any math beyond that of highschool algebra. And those were very niche one-off situations. As others have stated, logic is much much more important, and a good understanding of Boolean logic will take you MUCH farther than any other math related discipline. But even still, logic is, well.... logical if you just think about it. You really don't need to take any courses on it.

I think the main barrier for entry is that there are simply too many options and different paths to go down when beginning to learn. Also, there just aren't too many really cool things you can do as a beginner that are truly interesting and will keep your attention. The typical "hello world" exercises are boring as hell and of course people aren't going to keep being engaged when they're bored.

That's why I usually recommend beginners who want to learn to start with an Arduino, regardless of what their final goal language is. Generally speaking, once you learn one language it's pretty easy to learn others, as the foundational knowledge is mostly the same i.e. variables, loops, functions, etc.

What I think is great about the Arduino is that your code produces a physical, tactile response. Usually one of the very first programs you write (which can be completed in probably 10 minutes by a beginner) is making an led flash something like "SOS". This is leaps and bounds more interesting than something like "hello world" and will usually keep you interested and engaged much longer while learning the basics.

I started on an Arduino many years back after stumbling upon a Paul McWhorter lesson randomly on Reddit. After becoming pretty proficient with an Arduino, I transitioned over to JavaScript and started learning web development, and I'm now a full time engineer.

Comment on

What's a food you love, that isn't worth making from scratch?

Reply in thread

  • Fry at 360⁰F for 12 mins
  • Flip them and fry again at 360⁰F for 12 mins
  • Flip again and fry for 6 mins at 400⁰F

They should come out super crispy but still very juicy on the inside.The one drawback is that it takes a total of 30 mins and you can only make as much as fits in your frier. You really want to have only one layer of wings and not have them laying on top of each other. My frier is fairly small so it's not something I can make for a whole bunch of people.