Better HN
topnewbestaskshowjobs
Log inSign up

bin_bash

2,966 karma · joined Mar 3, 2021 (5y ago) · 970 submissions

FAANG engineer
Submissions

comment 4y ago · link · parent

If I had a podcast making 2 or 3 predictions twice a week I'd probably call a few things too.

comment 4y ago · link · parent

I was thinking today about George Floyd when there was a phenomenon of people calling Derek Chauvin's trial the "George Floyd trials".

I wonder if the "Say His Name" protests actually caused that to happen since it was a rare case where we heard George Floyd's name so much he became the main character of that story in our minds.

comment 4y ago · link · parent

2 years ago I spent 2 months learning C++ coming from almost entirely scripting languages throughout my career. (Though I have a CS degree so a decent academic background in memory management)

I came away liking C++ more than I thought I would. I didn't find it hard to learn but it was time consuming. Where learning Rust I never understood the basic concepts enough to be productive, I could be productive pretty quick with C++.

The trouble is there is a lot to learn because the language is just so old and has been through so many revisions. To some extent you can't just limit yourself to the modern stuff since in order to learn the modern stuff you need a basic understanding of what it was before to know why things are done the way they are now. You also run into code samples that use the old stuff or corner cases where they're needed.

I also think it really gets you to think about how computation and memory is happening at the metal level which is great for optimization but I think for most of the work I do it would be largely a distraction. I see this is a downside, not an upside.

That said, you're definitely right. You can have nice, expressive code in C++: I just think the learning curve is the biggest problem. I'd be happy to use C++ in my next project though.

comment 4y ago · link · parent

My general point is that if you put Ruby up against a nonspecific compiled language it's hard to argue Ruby is better. When you analyze something like Go vs Ruby or Go vs Java then the warts of particular languages come out.

comment 4y ago · link · parent

Part of it is luck in how my RSUs got priced in and stock appreciation. I won't make anywhere near that this year because of how poor the market has done. It'll still be over 400k though.

Have a look at https://www.levels.fyi/?compare=Amazon,Facebook,Google&track...

comment 4y ago · link · parent

I completely agree

comment 4y ago · link · parent

yeah, if you really want to max your battery life you can even limit it to 50% or something: https://apphousekitchen.com/

Macs do this automatically but it doesn't seem to happen to me that often. Usually if I leave it plugged in for an entire weekend I think.

comment 4y ago · link · parent

seems like it would be easier to just get one of these bad boys: https://www.amazon.com/Fly-YUTING-Ergonomic-Comfortable-Simu...

comment 4y ago · link · parent

I made about 650k last year and I'm not even staff-level. I don't think paying 750k is going to attract anyone new.

comment 4y ago · link · parent

Imagine if we had level 5 self driving and I could from my phone lock the doors on the Lamborghini and drive it straight to the police station

comment 4y ago · link · parent

PIN to drive is so annoying to use. I had it enabled when I lived in Oakland to avoid a potential car-jacking but I could not wait to turn it off when I moved out of California.

comment 4y ago · link · parent

Therefore they should use this insecure option for everyone? It's possible to have more than 1 radio you know.

comment 4y ago · link · parent

Seems to me the purpose-built NFC spec (used by Apple CarKey) is what Tesla should switch to for this (https://www.businesswire.com/news/home/20200504005161/en/Car...)

comment 4y ago · link · parent

reading my comment from yesterday I don't know what I was thinking, apologies

comment 4y ago · link · parent

oh wow thanks for this. I haven't been actively using Go since around the time this was written so I've missed it

comment 4y ago · link · parent

Yes, this is right. Big Tech is mostly focused on Canada and EU because they can hire people from (chiefly) China and India without H1-Bs.

According to a director I spoke with it’s because they can’t find enough qualified engineers, not to save money.

Seems we should just be opening more offices in Hyderabad, I don’t know why that isn’t done more. Political security maybe?

comment 4y ago · link · parent

How do homeless issues compare? I know when I was a kid there was a big problem in Vancouver, I imagine it’s only gotten worse.

comment 4y ago · link · parent

It blows my mind why Go didn’t have generics at launch. I suppose they just didn’t want people to be able to have abstractions like this at all?

comment 4y ago · link · parent

That’s more of an argument against ORMs which I realize my example used. I was mostly trying to convey using map/filter against POROs though.

Using an ORM was a poor choice on my part. I agree the magic there does harm readability since it makes it a lot harder to understand what it really is doing.

comment 4y ago · link · parent

You may be right. My knowledge of Java is from 1.4 in college and vastly out of date.

I should spend some time actually learning modern Java and less time avoiding it.

comment 4y ago · link · parent

make sure you give Deno a test run too. I think it could be great for some applications already.

(Specifically cases where you want the project easy to jump into with almost no toolchain setup.)

comment 4y ago · link · parent

https://news.ycombinator.com/item?id=31391849

comment 4y ago · link · parent

The amount of times in my career where the performance would be even measurable between these 2 styles is vanishingly few. If I cared I could just use #filter_map or a classic for-each loop. If we're assuming the project is written in Ruby in the first place, clearly we're not valuing performance that highly.

The more important thing is the ruby version is chainable and more readable—and that matters far more often.

comment 4y ago · link · parent

That's why my language of choice is TypeScript, but I think Sorbet looks promising (haven't used it though)

comment 4y ago · link · parent

I prefer Go to Ruby so I don't know what you're trying to argue. I just said it requires a lot of boilerplate and that makes it harder to be productive. Technology choice is about trade-offs.

It doesn't mean a project is doomed simply because it chose Go. That said, Heroku tried to do a major Go rewrite of their entire backend and the project failed miserably.

1
121314
33