Recent submissions

Comment · 5 years ago
Iterating via reference instead of copy in C++ is a great way to get a speed up with a one character change.

I.e. changing for (const MyType v : collection) to for (const MyType& v : collection)

Comment · 6 years ago
This view ignores that energy can have a different cost in different locations, and that fuel is convenient due to its portable nature. Converting energy into fuel may be economically viable at a solar plant in the middle of a desert even if it wouldn't be so in the middle of a city.
Comment · 8 years ago
Thank you. Those were in cash, RSUs were separate. It is definitely very high, and I feel fortunate to have gotten it. Many of my fellow interns received similar signing bonuses on their return offers, so at least for people in similar situations it's not out of the ordinary.
Comment · 8 years ago
As a new grad from CMU undergrad, every offer I had came with a sign on bonus (n=5). Size ranged from 5k at a smaller public company to 75-100k at a couple of FAANG companies, one of which I was a returning intern at.
Comment · 8 years ago
>I'm a member of a protected class [...]

Technically speaking, we all are, no? We all have genders, sexual orientations, races, ethnicities? Of course you probably meant that you fall into a minority group in one of those classes, but pretty much anyone could allege they were discriminated against based on their protected characteristics, even if sometimes it's not a particularly believable claim.

Comment · 8 years ago
Comment · 8 years ago
I spent 4 months travelling throughout Spanish South America and some of my favorite cities where I would consider being a nomad were Buenos Aires, Montevideo, Medellín, and Valparaíso.

All have good night-life, art, and excepting Medellín are on the ocean.

Montevideo has easy access to world-class beaches and is only a couple hours by ferry from Buenos Aires.

Valparaíso is an hour or so by bus from Santiago if you're interested in having a big city nearby.

As far as learning Spanish, it'd be much cheaper in Colombia, but you'll be able to find classes in any of those places. Argentinian Spanish is known for an odd accent and some different grammar, but it's nothing terribly different.

Comment · 8 years ago
I've done quite a few phone screens with coding over the past few years, and the best solution I've found is a headset.

Speakerphone means that the interviewer hears every key-stroke and likely can't hear you. A decent set of earbuds with a microphone can be had very cheaply, and to me are an absolute necessity for a phone interview.

I now use them even when not coding, so my hands are free to take notes on the call.

Comment · 8 years ago
Not that it detracts from your point, but the best offers I've seen for FB new grad are 115k salary, 270k/4 RSUs, and 100k signing, giving ~280k first year.
Comment · 9 years ago
Probably, one day of lecture on the material would be useless. But the weekly homework assignments force you to develop a better understanding. I frequently remember topics, assignments, and even specific questions from this course when they are relevant to something I'm working on now.
Comment · 9 years ago
@pinboard for excellent snark + tech political activism
Comment · 9 years ago
For such a "lingua franca" the pure number of speakers is not quite as relevant as the distribution of those speakers. According to the numbers (https://en.wikipedia.org/wiki/List_of_languages_by_total_num...), approximately 14% of the world speaks English as a first or second language as well. More importantly, English has 400 million more speakers who speak it as a second language when compared to Mandarin, which suggests that its speakers are more widely distributed on Earth.
Comment · 9 years ago
Comment · 9 years ago
It's neither. All BarZapp does is read the barcode and check that it contains reasonable information and it formatted according to the standards. Vendors have figured out proper formatting so they look appropriate to BarZapp. Of course, no fake id will pass actual lookup in a database. Except of course cloned IDs, which are extremely rare in my experience. I've heard of stories of someone with a stolen DMV database who would sell fakes with real information for about $700 each, but I've never seen it myself, and no reasonable vendor doing anything like that would be selling through the clearweb.
Comment · 9 years ago
Teslin and PVC are still big, although some states are using polycarbonate as well. Real holograms got a lot easier. IDGod (among other vendors), apart from selling IDs, also sells bulk holograms, so most vendors on Reddit now have them. The bigger hurdles are the higher security states with perforations, raised signatures, windows, etc.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton