skysight-inc/HackerNews huggingface dataset:
i dont like the way it was phrased. its better in the original format of just, given a list of ints, return a list where each elem is product of all except that elem.

I cant really judge, I would be hapy to have received this on an interview cause I've seen a variation of the problem on leetcode.

I just went through the interview loops at several FANGS, firs time doing this and got several offers, including G. I used to be super scared of even applying for fear of rejection because I thought I wasn't smart enough. I am self taught with lib arts degree from an average school, low gpa.

but I actually enjoyed learning these problems and figuring out solutions, and as time went on it got easier and easier. I enjoyed the interview process and had a good experience everywhere except FB.

my suggestion to those who are striving for FANG is just to keep practicing the questions and try to have fun with it, and go into the interviews with a positive, collaborative attitude.
My sense is that it isn't Chinese HN readers defending China, it is self hating westerners.
> But my personal history? My photos? Words I've written? Oh well. If someone wants that stuff, they can probably get it. And the gaping maw of robotic commerce doesn't actually care about me personally, it only cares what it can sell me.
>
> I'm not worried about the police or some authoritarian tyranny on a personal level, on the level where what I say on the internet matters.

Yeah, but then 2016 happened.
This sort of "tactical positioning" on internet privacy is where I was prior to that year. The fact of the mater is that "personal threat exposure", while not completely irrelevant, misses the forest for the trees.

It's not YOU they're trying to manipulate, it's the herd. And it works. And that eventually comes around to impacting you just as personally as if you'd posted your bank account number and ssn on facebook.
That is not surprising at all. Ever hear of TERFs?
Post has been deleted.

> To those of you spreading the "you're admitting to fraud" comments, you're the reason we can't have nice things.

I fail to see how this forced you to remove the post.
I suspect for long term goods that are below some cost, it's just cheaper for people to own them vs renting over the lifetime of the device. A corporation will tend to finance the capital cost of the good if it's renting, then needs to pass on the interest costs of those goods to the renters. On top of that a rental corp also need to maintain techs to install/remove appliances. It all adds up to higher cost to rent than own in this area.
I believe most electric buses do: adding regenerative braking to electric vehicles requires little additional hardware (the electric motors can act as generators, etc.), so it is certainly cost-effective.
It may not have been the intention but I'm honestly aghast at the utter elitism coming out of Google and Facebook. I get that you are "superior humans" that are plucked from top institutions making 25% more than me at Amazon, but you don't have to keep emphasizing it.

My interviewer offered suggestions. Finally I described memoizing it (can be done with 2 lines in Python with a dictionary) though he was more interested in how to do it without extra space by utilizing a BFS that uses the input list as a queue. Then he ran off for another meeting.
Understanding L1 Terminal Fault aka Foreshadow: What You Need to Know
I don't have a lot of faith in BYD busses actually working correctly. Proterra seems like the most solid design around, and looking on LinkedIn, it seems like they picked up a lot of people who worked at Tesla when things were going better over there.
The author isn't talking about voting rights, they are talking about incentives.

When you own property, you care more about the place where that property exists because what affects the surroundings directly affects the value of your possession. That incentivizes you to care about and invest in your neighborhood, community, state, and country.

If you aren't tied to the place, it's easier to just jump ship and say "not my problem" when something goes awry. You have fewer incentives to put effort into long-term projects that improve the community since you're less likely to be there to reap the benefits.

In other words, renters are less likely to plant trees, but a neighborhood with trees is better for us all over the long term.
Mopeds are so cheap and fuel efficient already that it is difficult for me to buy into electric rentals really taking off in this area.

A brand new Wolf 49cc is under $1000 and gets 100mpg.
I ride 6 miles to work and pack my work clothes. It only takes me 25-30 minutes. If I arrive to work sweaty, I shower. I know not everyone has the luxury of having a shower at work, but every company I've worked at so far has had one.

On the ride home I change back into my riding clothes and spray sunscreen. Just keep hydrated and you will be fine.
L1 Terminal Fault / CVE-2018-3615, CVE-2018-3620, CVE-2018-3646 / INTEL-SA-00161
Protecting against the new “L1TF” speculative vulnerabilities
I believe they do use regenerative braking, yes. I say that because I ride BYD busses on a regular basis, and (especially on older models, which are not as smooth) you can feel (what I think is) the jerk of regenerative braking kicking on.
No. I really mean swipe quickly. Try it out :)
Getting downvotes by Erdogan's paid social media trolls in this thread is normal. If anything, it validates the facts.
The only way you can possibly justify that sort of view point is the implicit hard cap on what you're willing to pay. You can't find "quality" (in appliances, in shoes, in just about anything) because you're not willing to pay for it.
To me "restricting performance" reads to mean they are slower than Safari, which is not true (though it had been during the initial Nitro rollout, which only Safari had access to). At this point, core engine speed isn't what is distinguishing browsers, they are all fast.
Now many more cars have curtain airbags. Safety standards have improved over the years. Crumple zones have improved. Now many cars come with back up cameras, back up sensors, line keep assist, emergency breaking.

While, 2002 car may be relatively safe, I would still prefer to have the safest car on the road. Usually it will require less servicing than an old car and be more dependable too.
While I don't know that I agree with Tyler Cowen's original article, I don't think this is a particularly fair reading of it. Should we never question whether a societal trend is good or bad, because doing so can never come from any place other than "let's wave our canes at the younger generation?"
Please add a privacy policy stating how you promise to handle the uploaded images, if/how quickly you would permanently remove them, any logs your wrapper creates and how you deal with those, how you use the information from the uploaded photos, etc.

The privacy policy should preferably be somewhere on the beginning of the page, since the page is very, very, very long with the Top Document Meta Tags section that has several hundred lines.
A Proposal: Elixir-Style Modules in JavaScript
Soooo we should just keep using diesel and stop longterm electrification trends because "someone's going to burn it"?

This is fud.

The point of electrification is to get a path towards sustainability. If it means demand for barrels of oil decreases, or in the most extreme, all that extra diesel becomes a stranded asset, all the better (unless you're a refinery owner).
Did you really think that she was ever about principle rather than pragmatic tribalism?
Stop promoting censorship. Hey the 1980s called and it wants it's foreign policy back.
> That's all data that the IRS either has already or can collect more simply.

How can the IRS collect information on your filing status and family/dependent situation that would be simpler than just asking you to file a tax return? It's not just a matter of who lives where, you know.

They could always implement something like TurboTax. That's a reasonable option, but a far cry from "pre-filled forms."

> So, because 20 million households can't have a form auto-filled, we should forget about the other 100 million?

Well the issue is that the IRS has no way of knowing which of the households are the "easy" ones, because that is determined by facts not reported to them (except on a 1040). They can guess, but I think they would be wrong pretty frequently.

I think you have the underlying premise that the IRS guessing wrong has no cost, because you can just correct it. But my suspicion is that a lot of people would just file with the incorrect information, either willingly or unwillingly, and many of those people would have put the correct information if they had paid someone or bought software to do it for them. So I disagree with your premise.
The problem in this case is not Google's Search algorithm
I'd like to hear anyones reasoning to put money into an "ICO". It sounds like a giant scam with no due diligence or accountability.
Its quite common in the tech area. Some teams in FANG companies(and wannabe FANG companies) are known to reject a candidate even if a single interviewer gives a bad feedback. Like say they did 9 rounds of interviews, and then they do a bar raiser round. They still reject you even if one single interviewer gave a bad feedback.

There is also a concept of 'machine coding round' in a few companies here in Bangalore. Where you are given like an hour to implement sort of like fairly medium application.

You could write a perfectly working application, but if the evaluator thinks its not simple or complicated for their taste, its still a straight reject.

Its almost like they want cookie cut candidates who practiced interviewing day in and out for years.

The real practical world experience is largely considered useless.
Ebooks have too many advantages that I can't give them up. For example, I can make the text as large as I need and for many of us, that's a killer feature.

I am sympathetic to the argument against DRM though. It seems criminal that I can't leave my ebook collection to somebody after I die.
Intel Processor L1TF Vulnerabilities CVE-2018-3615, CVE-2018-3620, CVE-2018-3646
This is beyond ridiculous. The crux of the article is:

> Each of these changes is beneficial, yet I worry that Americans are, slowly but surely, losing their connection to the idea of private ownership. The nation was based on the notion that property ownership gives individuals a stake in the system. It set Americans apart from feudal peasants, taught us how property rights and incentives operate, and was a kind of training for future entrepreneurship.

Whether you own music or rent it doesn't give you a stake in the system, nor does owning a car vs using public transport.

What gives you a stake is your net worth -- whether in a bank account, investments, land, a house, a company, or several.

And being able to rent services instead of buy permanent goods is an economic gain, allowing you to deploy your savings in a more targeted way toward whatever really matters the most to you.

If we want to be nervous, let's investigate inequality of net worth and the policies that lead to that -- and not be distracted by something totally irrelevant like whether I buy or license my books.
A bit different, in that the primary use of e-cigarettes is for giving up proper cigarettes. So the fact that they're still considered preferable to real cigarettes is relevant.
Yeah, this is a "blame the millenials" article in disguise. The problem is that we're pretty broke compared to our parents, because the big purchases (housing, education, cars) cost way more relative to our incomes. The elder dev sitting across from me bought his house for 10k around 1989. Now every house in that neighborhood costs ~350-400k (and it's one of the bigger and better ones).
Unfortunately TERFs are real. And I guess on some level, its comforting to know that there are shitty people to be found in all walks of life.
Hmm, at school we were taught that the maximum temperature is such that wavelength of the emitted black-body radiation would equal Planck length, is this rationale no longer sound?
> So if electricity prices go up, income has to as well. If it doesn't, the rig goes off. This is fundamental to profit being equal to revenue minus costs.

> Every miner must pay, directly or indirectly, their electricity costs.

But they have no mechanism to pass this cost on. There is no change in the levels of production. They cannot increase fees as fees are voluntary and users only set them to improve their processing priority.

If a miner finds that mining is not profitable, they must indeed switch off. The hash rate of the network falls. The remaining miners get a bigger share of the daily block payout. Users though, are entirely unaffected, and so is the open market.

There is literally no mechanism by which mining costs can affect price in BTC. It's the other way around. Price affects the number of miners fighting for a share of the spoils. If it's no longer profitable, they stop. The hashrate drops, those left behind get more of a share.

I'm not sure how else I can explain this to you - the cost of mining cannot add value to the system (other than securing it) because there is no mechanism to pass on higher fees, the supply is unaffected by the number of miners, the transaction speeds are unaffected by the number of miners... there's a complete disconnect in that direction.
Because I don't have time to search for new music, go buy albums, back it up, buy storage etc.

Spotify is great. I can listen to charts/viral music from different countries. I can usually find music from other countries as well if I need to.
You can lend many Kindle books (source: I do it semi-regularly). Many public libraries also offer ebooks.

Your point about paper copies often being cheaper is definitely true, and for books I plan to re-read, refer to, etc., I now default to this. But one of the reasons I like my Kindle is that I can take an entire library with me on a month long trip, change my mind about what I want to read, buy a new book if it comes out while I'm gone, and sample things I'd otherwise need to go into a bookstore to find.
As a cannuck, I can chuckle at the fact that one of our Ontario bridges lasted 42 days before it failed.[1]

[1]https://globalnews.ca/news/2957484/design-improperly-tighten...
this was known as nerd hazing in my grad school.
This is a fair point, even tough it doesn’t answer my question. When I interview I split up the coding and the algorithms assessments: if someone quickly and correctly implements the naive solution, I consider myself justified in grading them as solid in coding and moving on and having an algorithmic design discussion for the rest of the interview so I can speak more to their algorithms abilities.

If someone fails to design anything more sophisticated than number 1 despite my guidance, or takes an unreasonable amount of time to implement it, that’s a signal.

Also, let’s keep in mind a hiring recommendation isn’t a judgment of a person’a abilities as an engineer, it’s a judgement of how badly we should be trying to hire them relative to other candidates. My LNH is a statement that the candidate is solid but not stellar enough to extend an offer to. If our hiring pool were restricted or we needed to hire more people my assessment would be accordingly softened.
Java doesn't bundle and market a `java get` command that works fine until it suddenly dosn't.
The other side of this is when you rent, you're beholden to the company you're renting from. If the car-as-a-service company says "Car service is now $10 more per month" you have to pay that. If the company says "We are no longer offering $your_favorite_car as a renting option", you no longer have access to your preferred vehicle. Given the overhead involved in setting up a car-as-a-service company, I'm willing to bet that competition will be low, and company leverage to hike prices will be high.
It's currently at #10 for me.
> The latest EU diesel standards for passenger cars are actually on par with the gasoline standards. Don't know what the standards are for heavy trucks though.

Can we trust any of the big automotive manufacturers to actually meet those standards without cheating?

Look at how widespread the issue is
[Dieselgate](https://www.cleanenergywire.org/factsheets/dieselgate-timeli...)
It may be better for the environment to not own stuff, but instead have it produced by a socialistic society.

For example, take a fridge. If I buy a fridge, the company I buy it from has an incentive to make it break in N years, so they can sell me a new one, i.e. "planned obsolescence".

However, if I subscribe to a communistic society to keep my food and beverages at a certain temperature, then this society has the incentive to make the fridge last as long as possible.

EDIT: Besides eliminating planned obsolescence, there are more advantages:

- Increased market transparency. The market is more transparent if I know exactly what a 4 years planned product costs me per month, as opposed to buying a product and not knowing when it will fail. A more planned society leads to better resource distribution.

- Another advantage is that the whole life-cycle of the product, including recycling it, becomes a natural responsibility of one society.
The Norwegian state websites are pretty good too.
Eh, I just think this reflects changes in lifestyle and values. You can still buy shoes that are handmade in America and will last decades (like Alden and Allen Edmonds for mens dress shoes), they just cost a fortune and people don't wear those kinds of shoes nearly as much as they did 50 years ago. People today own more shoes, they wear fitness shoes as everyday shoes, styles change constantly, etc. Most people seem to want to buy hundreds of different styles of shoes over their lifetime, so they need to be cheap. There are people who want to own 5 pairs of shoes for their entire life and are willing to pay for the privilege, but they're a vanishingly small minority.
White Hole
I wonder if there's data on the difference between engines with factory settings, and vehicles that have been modified to roll coal. My hometown had a number of people change their trucks to roll coal and it would get noticeably hazy in busy intersections
Are you in an area where storage is no problem for most people? Because most people living in NYC likely don’t have a place they could store their own moped. Parking is scarce and expensive, and they’re not as easy to stow indoors as bikes.
> They could always implement something like TurboTax. That's a reasonable option, but a far cry from "pre-filled forms."

Something “like TurboTax” that also precompleted information that was tied to forms that are already filed directly by third parties with the IRS would be essentially equivalent to pre-filled forms for a very large number of filers.

> How can the IRS collect information on your filing status and family/dependent situation that would be simpler than just asking you to file a tax return?

Filing status and dependent information is a small fraction of the information content of a tax return, so having you file just that would itself be simpler than asking you to file a tax return; additionally, it is information that changes infrequently, so once you've filed it once, they could prepopulate it and require updated filings of that information only if changes occurred.
Is that legal though?
> If I buy a fridge, the company I buy it from has an incentive to make it break in N years

They also have an incentive to make it last a long time so you're a loyal customer. Loyalty is extremely important if you only purchase a half dozen of something your entire life. Guess which incentive is stronger?

As a corollary, there is a big difference between being incentivized to do something and simply not being incentivized to do the opposite. The average full-size refrigerator lifespan is 17 years. The fact that Maytag doesn't spend millions of dollars developing a fridge that can last 30 years doesn't mean they're incentivized to make a shitty fridge, it just means people don't care enough about years 18-30 that they're willing to pay what it would cost to get that fridge.
I'm 35, can confirm.
in a way that was not accounted for, yes. Other bits of the bridge were reinforced, apparently, but not that one. It is significant because the Italian bridge also had to be signficiantly reinforced at the base, about 20 years after construction.
Remember the days when people were smoking in offices, univs, hospitals, etc? Vaping is 100x less disgusting, less harmful. I see people vaping and it doesn't smell, they don't leave ashes and butts everywhere and it doesn't bother me at all. The second hand nicotine vapor is not "a thing" unless you go to a room where a visible cloud of e-cigs vapor is present. I think we are much better off with people vaping than smoking. The only problem is that kids might start vaping because a lot of these juices are fruit flavored.
Whenever there is a bridge failure (or similar, highly-visible civil engineering failure) I recommend to engineers of all stripes that they go read the works of Henry Petroski. In particular:

- To Engineer Is Human: The Role of Failure in Successful Design (1985) [1]

- Design Paradigms: Case Histories of Error and Judgment in Engineering (1994) [2]

and

- Engineers of Dreams: Great Bridge Builders and The Spanning of America (1995) [3]

He also wrote a salient op-ed after the 2007 bridge failure in Minneapolis: Learning from bridge failure. [4]

[1] https://www.amazon.com/dp/0679734163

[2] https://www.amazon.com/dp/0521466490

[3] https://www.amazon.com/dp/0679760210

[4] http://www.latimes.com/la-oe-petroski4aug04-story.html
Odd, I saw that spaghetti phenomenon on smartereveryday just a few days ago, but it appears it was posted in 2014. Heh.

https://www.youtube.com/watch?v=ADD7QlQoFFI

Anyway, very cool.
> Should we consider banking a disreputable industry because of actors like Goldman Sachs?

Absolutely yes.
Owning a library is a fun example, since some books are assets by your definition. I have several in my library that cost multiples of what I paid for them. One was recently destroyed in a move and that was quite the bummer.
You can easily spend 3000$ on a crap fridge.

The problem is optimization as energy efficiency and lifespan for example are often at odds. Further you can measure energy efficiency much easier than lifespan so the incentives get out of whack from what consumers want in favor of what they can measure.
> Everybody knew that the bridge was unsafe.

Oh yes? So I suppose everybody also knows why it collapsed, right?

The thing is, saying that something is wrong is not a proof of anything: the signal to noise ratio is also important. Every time something happens, everybody knew it was going to happen: the problem is, this is true also for all the things that eventually didn't happen. It's very tempting, after the fact, to say "ah, we all knew it". It's also, mostly, a delusion
That "Israeli heritage" comment threw me for a loop when reading. It just came out of left field. What is she trying to accomplish by adding that?
No it doesn't. Running a drug trafficking site is not a "political belief". Had he been campaigning for the legalization of drugs, and was arrested doing that, you'd have a point.
PgSentinel: Postgres Active History / Sampling for Session (Beta, Aferro GPL)
Besides the negative acceleration/deceleration issues, are there any features of the BYD buses that you really enjoy? I imagine they are very quiet and don't smell like exhaust. Just wondering if those nice qualities improve the bus riding experience at all.
Women’s Suffrage Mapped: The Year Women Got the Vote by Country
Renters have less skin in the game than owners, and this drives a number of long term sub-optimal decisions.