Better HN
topnewbestaskshowjobs
Log inSign up

bmay

113 karma · joined Jul 14, 2015 (11y ago) · 40 submissions

Submissions

comment 9mo ago · link · parent

> Those hypes are forgotten as fast as they are created. Remember Cursor?

of course--i use it every day. are you implying Cursor is dead? they raised $2B in funding 3 months ago and are at $1B in ARR...

comment 9mo ago · link · parent

where in the podcast (transcript: https://lexfridman.com/peter-steinberger-transcript/) did he say that?

comment 3y ago · link · parent

That study was done on early adolescents. How generalizable are those results to adult, white-collar workers?

comment 3y ago · link · parent

Kurzgesagt has a video on this topic: https://www.youtube.com/watch?v=dqwpQarrDwk

comment 3y ago · link · parent

Seems like their status page (https://metastatus.com/ ?) does not reflect this?

comment 3y ago · link · parent

> Virginia has [...] a better social scene

What's your definition of a "social scene"? I have lived in both and have known many people who have lived in both and you are probably the only person I've ever met (myself included) who thinks this.

comment 3y ago · link · parent

> taxes are less than both virginia and maryland

Can you elaborate? "Taxes" can mean many different things and, for my situation, income taxes in Virginia are far lower than in the other two municipalities.

comment 5y ago · link · parent

> Bay Area salaries, according to levels.fyi, for these levels range from $190k to $350k.

> According to Robert Half, Bay Area salaries are 42% above the national average, so that range translates to $110k-$205k unadjusted.

can someone explain the math here? wouldn't this imply an unadjusted range of $134k ($190k/1.42) to $246k ($350k/1.42)?

comment 6y ago · link · parent

the "link:" operator doesn't work for me--it just seems to include the URL's tokens in the search

comment 7y ago · link · parent

installing and running this version did not resolve the issue for me

is there something else I need to do?

comment 7y ago · link · parent

> these are soft-skill books.

Clean Code is not a soft-skill book.

comment 8y ago · link · parent

In college, I went to bed around 2-3:30am every weeknight because that's what the people around me were doing. Also, I was regularly staying out at least that late on weekends.

In the last few years, I've been forced to get to work by 9:45am due to team standups. Also, my girlfriend-at-the-time was waking up around 6:30-7am to exercise almost every weekday. And I don't really go out partying at night anymore so waking up at 7:30am and not feeling miserable is doable.

Keeping the consistent weekend schedule is the key. I've been pretty driven to continue my CS education and self-teaching and so having more time in the day to continue that goal motivates me to get up early.

comment 8y ago · link · parent

more qualified women in the workforce => greater efficiency, increase in net jobs created, lower prices => increased benefits for everyone

comment 9y ago · link · parent

Better yet: repeatedly divide and then take the inverse.

comment 9y ago · link · parent

You need some cleverness to code an add(x, y) method with only bitwise operators.

Then, you need to code a multiply(x, y) method using some more bit shifting cleverness and your new add method.

Then, do repeated squaring using your new multiply method.

comment 9y ago · link · parent

Hopefully, because I'm in a similar situation and starting the program in a week!

comment 9y ago · link · parent

Tweet their customer service (@FedExHelp). My friend who works in tech support (not at FedEx) recommends this practice.

comment 9y ago · link · parent

6.042J (Math for CS) is pretty challenging. Anyone who worked through it have any tips when you're stuck? Maybe slightly easier problems to supplement with for practice?

comment 9y ago · link · parent

A quick Google search led me to this:

https://www.theguardian.com/lifeandstyle/2016/jul/15/shuffle...

comment 9y ago · link · parent

Thoughts on this vs. Steven Halim's handbook?

comment 9y ago · link · parent

Say there are a trillion doors and the host closes 999,999,999,998 of them. Which scenario is more plausible:

1) Your 1-in-a-trillion chance original choice just happened to be correct

2) The omniscient host picked the correct door

comment 9y ago · link · parent

Your comment:

> the question is to explain how the red-black tree algorithm works.

From your link:

> Sample questions included: What’s a Red-Black Tree and what would you use it for?

I don't see how those are equivalent.

I also don't see how the latter two questions are equivalent to asking an interviewee to "balance a red-black tree".

comment 9y ago · link · parent

> Outside of the interview context, I haven't balanced a red-black tree since I was in undergrad over 15 years ago.

Which company asked you to balance a red-black tree in an interview context? Name-and-shame them. Seriously. I've heard many whiteboard interview polemicists use this example, but have never seen any evidence for it actually happening.

comment 9y ago · link · parent

> When the University of Chicago asked a panel of leading economists about automation, 76 percent agreed that it had not historically decreased employment.

> But when asked about the more recent past, they were less sanguine. About 33 percent said technology was a central reason that median wages had been stagnant over the past decade, 20 percent said it was not and 29 percent were unsure.

These two statements are distinct - the first is about employment, the second is about wages.

It seems like the author is making a leap of logic and not the words of economists to connect them.

comment 9y ago · link · parent

> implement a red-black tree from memory

Can we quit using this ridiculous example? I'd be willing to bet that less than 1 in 100,000 technical interviews have asked someone to implement an r-b tree considering a full implementation is 100s of lines of code.

comment 9y ago · link · parent

That's a good accomplishment. Also, unsolicited anecdote here, but barbell rows helped my pull-up max more than pull-ups themselves ever did.

comment 10y ago · link · parent

FYI sound does not play in Firefox

comment 10y ago · link · parent

1) If you know what a DAG is and how to use it, you can most likely implement and traverse one in way less than an hour.

2) I've never heard of anyone being asked to implement a red-black tree during a Google interview.

comment 10y ago · link · parent

> In the real world, you use a well-tested premade off the shelf library to traverse a DAG or implement a red/black tree.

How do you know that DAGs and rb-trees are the best solution to your problem if you don't even know basic data structures?

12