Better HN
topnewbestaskshowjobs
Log inSign up

devoutsalsa

5,366 karma · joined Jan 19, 2021 (5y ago) · 1,817 submissions

Email: michael@resumeshovel.com

Instagram: @resumeshovel

LinkedIn: https://linkedin.com/in/mpope

Website: https://resumeshovel.com

Submissions

comment 3y ago · link · parent

I did a Scotland road trip in February 2020. Through was hitting like 3 to 5 castles and/or historical sites per day. I think I drive about 6000km that month. It was fantastic.

comment 3y ago · link · parent

I wonder how much synergy there is in developing a Moon vs Mars mission. I don’t think there’s a lot of overlap. If the plan is to launch Mars missions from the Moon, then the overlap is obvious.

comment 3y ago · link · parent

The caching makes it faster the trade off being more using more memory. I just wanted to see if it’d work.

comment 3y ago · link · parent

I just did it for fun. This particular recursive approach is super slow for numbers of nontrivial size, so I was just curious if I could even make the caching work in the block. It's not worth optimizing a suboptimal query when a more efficient option is available anyway.

comment 3y ago · link · parent

That was the first thing I tried, but it blew the stack :) You can still blow the stack if you pick a number that's too high, like k[20000] or something. But if you pick a lower number & cache that, then you can (eventually) call a higher number without blowing the stack. This recursive approach is a horribly inefficient algorithm anyway, so I don't think it's worth optimizing :)

comment 3y ago · link · parent

With caching...

   fib = Hash.new do |k, v|
     next 1 if v == 0 || v == 1

     unless k.key? v
       k[v] = k[v-1] + k[v-2]
     end

     k[v]
   end

comment 3y ago · link · parent

The observable universe has a diameter of about 47 billion light years!

https://imagine.gsfc.nasa.gov/educators/programs/cosmictimes...

comment 3y ago · link · parent

This is why god invented physical therapists! Had minor knee pain a couple years ago, saw doctor for X-rays just as sanity check, and he referred me to a physical therapist. Got a knee strengthening routine, followed it, and all was good after a month or two.

comment 3y ago · link · parent

There were no objects before the CMBR. The universe was so hot that atoms couldn't even form. Once it cooled to the point where hydrogen atoms came into existence, the CMBR became possible. I'm talking at the limits of my knowledge, so allow me to refer you to this video by Fermilab that's pretty good.

What is the Cosmic Microwave Background? -- https://youtu.be/AYFDN2DSVgc

comment 3y ago · link · parent

The cosmic microwave background radiation didn’t appear until the universe was about 380,000 years old.

https://en.m.wikipedia.org/wiki/Cosmic_microwave_background

comment 3y ago · link · parent

My personal snafu was plugging a 9 pin CGA cable into 9 pin serial port. White smoke started billowing out of the power supply. Turned it off, fixed the provision, and the computer still worked after that.

comment 3y ago · link · parent

When a friend incorrectly wired up an AT power supply, causing the power cord to explode on power up, that made a distinctive smell.

comment 3y ago · link · parent

If you ask me a question that boils down to “write a card shuffling algorithm”, I’m going to do less well because I’m being taxed by the thought of “Why is this person asking me to shuffle a deck of virtual cards?” During the interview, I’d probably just google “best algorithm for shuffling deck of cards in <language>”, and I’d tell you I was looking it up. If you tasked me with shuffling cards on the job, that’s what I’d do.

comment 3y ago · link · parent

If you can’t invert a binary tree, how can I trust you to change my website’s favicon?!

comment 3y ago · link · parent

It also includes transportation. I couldn’t find the video, but I remember reading how one special needs student in a rural area would get a flight to school every day, as there was no special education program in their local area.

comment 3y ago · link · parent

A lot of that code generation is to facilitate macros. Personally, I don’t like macros when a little extra code to make a function call would work just fine.

comment 3y ago · link · parent

I've always thought that inflation causes stocks to suffer, for a couple reasons. One, higher interest rates on government bonds means risk free interest rates can approach, or even exceed, the typical expected return for the stock market. Second, inflation reduces consumption, which reduces profits.

comment 3y ago · link · parent

How do retail banks issue dollars?

comment 3y ago · link · parent

Bonds don’t out perform stocks over the long term. Buying bonds makes sense for risk averse people seeking fixed income with tax advantages, or speculators planning for a drop in interest rates. There may be a few 20 year periods where the stock market itself was flat, but anyone who had been buying during that whole time would have seen positive returns.

comment 3y ago · link · parent

Civilization.

comment 3y ago · link · parent

Wish me luck XD

comment 3y ago · link · parent

What about your divorce attorney? My divorce attorney asked me last week if she could borrow money 650 USD, and pay it back in about 3 months. Also, my divorce is not yet final. Talk about awkward. I said no.

comment 3y ago · link · parent

Me. I am at the center of my observable universe :)

comment 3y ago · link · parent

When I was that CEO and a key person told me that either me or them was going to leave the company, I realized I couldn’t run the company with them. I asked to to make a proposal, they gave me a number that was big enough, and I walked.

comment 3y ago · link · parent

My top 6 are:

- Star Trek: TNG

- The Expanse

- Babylon 5

- Battlestar Galactica (new one)

- Stargate SG1

- Firefly

comment 3y ago · link · parent

And a lot of patience for visa approvals.

comment 3y ago · link · parent

Google will give you advice on how to not be penalized by Google. They won’t give you advice on how to game the system in your favor.

The more Google helps you get ahead, the more you end up dominating the search results. The more you dominate the results, the more people will start thinking to come straight to you. The more people come straight to you, the more people never use Google. The less people use Google, the less revenue Google generates.

comment 3y ago · link · parent

Sharks with frickin' laser beams attached to their heads.
1
121314
61