skysight-inc/HackerNews huggingface dataset:
"Car shoppers are the least valuable shoppers by far. They spend less"

Hmm...sounds like a good justification for owning a car - I can't give it up, otherwise I would spend too much on other stuff!
>"Insured" can be interpreted very broadly; moral hazard is whenever the negative outcomes of a risky decision are directed away from oneself.

Nope! That's called an externality. A moral hazard is a type of externality, but is very focused on a particular set of instances in the definition I provided.
There probably is a future for high quality reporting like the FT, WaPo.

I’m probably more of a contrarian in that I think it’s no bad thing if ‘viewspapers’ which exist to make people mad, make false equivalencies and write ‘People are saying’ type stories go to the wall.

It turns out the direct link between a paying customer and the provider of news is actually an important one and that once you sever that link and treat the reader as ‘eyeballs’ the quality does suffer.
I'm very critical of this approach to interviewing in general, but it also isn't the same as competitive programming and it isn't focused on "interesting" algorithms. It is far more focused on understanding how to use data structures and the trade offs between them. Chapter 3 of "The Algorithm Design Manual" (which is fittingly titled "Data Structures") is really the most useful reference for the majority of these interviews. I don't think this is the most useful thing for software developers to be good at, but it's definitely useful and worth learning. I was annoyed that I had to study for one of these interviews, but ended up being pleased that it forced me to review this material.
I bought a 2013 Model S recently that had its wheels swapped with a 2016 Model S by a third party before sale (I didn't care for the 21" wheels that were on the 2013, and the buyer of the 2016 wanted them). Shortly after driving away from the dealer, the tire pressure sensor system reported faults. After bringing it in to Tesla they said the newer tires and older car were not compatible, but they could easily downgrade the electronics in the wheels or upgrade the electronics on the car. They were both about the same cost, so I just had them update the wheels.
I think news could be funded with a spotify-style subscription, where people pay $10/mo for paywall-free access to a large number of papers, and those papers get a fraction of that persons' subscription, based on how long they spent reading that paper's articles. Call it NewsPass. The challenge is convincing the big papers that charge more than that for their subscription that they'll make more in aggregate, as many more people become paying subscribers.
> pre-revenue consumer play

So, translating that into English, you were losing money giving something to individual people, but hoped you could do... what? Start charging money? Harvest data? Get bought before you ran out of VC money? This sort of "founder" bafflegab is annoying.
Best+Mattress+Top+10+List
I think you’ll have to define the measure of correctness here as I don’t think I understand what right/wrong means at all in this context.

If we are talking about leisure time as understood by the subject, then it’s difficult to see how a non-harmful activity is a ‘waste’ of leisure time. You can’t waste leisure except by trying to get some sort of work done during leisure, I think.

Other than that, idle thoughts are a wellspring of creative ideas, leaps of deduction and what not. Games like bejewelled are not similar at all; in me, they quickly lead to obsessive hyper focus and a Tetris effect, which is why I don’t play them. But idle thoughts are quite the opposite experience.
I specifically didn't go to this level of analysis because I was responding to a post that uses 2010 PPP-adjusted numbers. I have no idea how to quickly compare that to today's benefits & costs.

But there are millions of families that fall on that border between "low-income" and "middle class" who are not eligible for subsidies, get crappy insurance, and have trouble paying for even that (which they lose if the employee gets sick).
Those are great numbers, I'm really looking forward to the rivian though. It will have 410 miles for the SUV https://www.autonews.com/article/20181127/OEM04/181129763/ri...
is this what they call ‘tech strategy’?
But writing Javacard for ICCs is like writing another language and ecosystem entirely. The syntax is familiar but there the comparison kind of ends.
The really worrisome thing about this is that they seemingly just had to do their test vs a polar orbit/highly inclined orbit satellite. The odds of killing something in a polar orbit in the Iridium NeXT satellite network are non-zero. This is because the Iridium satellite orbits and the debris orbits all converge over the poles.

There's a lot of important non telecom related things that are in highly inclined orbits, such as earth observation satellites.
I agree, a real baking steel works very well for this. I have one I use as a griddle, and sometimes in the oven.

The Kettle Pizza came with a much thinner version of steel, that was still heavy as hell. The radiant effect of the kettle version wasn't that great. And mine rusted through in less than one season, and it lived inside my kettle.
There is a smart fuse composed of an inconel alloy that is pyro-actuated to protect from overcurrent conditions when performing a Ludicrous launch (~1500 amp peak current drawn). It's not software only. Very fancy circuit breaker.
Why Are Hairy Crabs from China Banned in the USA?
Can't you just have the butcher already divide them by X ? (X=# of friends)
Amazon seems to think that I’m a real vacuum aficionado/collector as well.

It’s quite possible that those are still the best items to recommend to us, to mop up any “unhappy with the one they got, so save them with a return/rebuy” sales.
The Modern React Bootcamp
I use a tiling wm (i3), so I can't exactly drag windows around, but I can drag-and-resize them. In my case, there is no lag. However, there is a tiny amount of stuttering since I don't use a compositor, but I can live with that.
Hmm. I don't think they claimed to have an O(1) time solution, just O(1) added space. Which, it is, but only because they're counting on the original array's underlying type having enough bits for their sign flipping. It would be as if you used a more compact type for the array elements, and then allocated another bitmap for the range of numbers.

Of course, once we start optimizing how the original array is stored, we may have exceeded the limits of this problem as a teaching exercise :)

As for time, it does seem to be O(n) to me; can you clarify why you think it's nlogn? It may not be particularly fast in practice when compared to other O(n) approaches like the bitmap, but I don't think the complexity is wrong.

Your solution is nice - it actually gives you more information (how many appearances, not just T/F >1 appearance), but it does require more additional space and isn't necessarily faster. I think the bitmap approach would be nicer if you're ok with using more space; the bitmap is essentially a very easy to find perfect hash function due to the unique input constraints.
You need to give up on the government not being involved at all, because that's the only realistic way it'll ever happen.
Such a program invokes undefined behavior and thus isn't a correct C program.
It doesn't take that many people buying ten (or a thousand) rice cookers for that ad to make sense.
Previously discussed https://news.ycombinator.com/item?id=13366216
https://courses.csail.mit.edu/iap/interview/materials.php
I wonder if you will immediately get notified of your account closure in person when returning things in a way Amazon doesn't like or will they just send you an email after the fact?
If you can explain what it is supposed to do, I don't care a whit if you make up a method that probably exists in a standard library somewhere (Guava / Apache Commons, or wherever). If it's slightly more obscure, you might have to write pseudocode to show you know how it might be implemented.
I think he means for Newspapers the value was in the ads like classifieds and sales information from local businesses.

Everyone seems to equally hate online ads. They don’t provide much value to the consumer.
I'd bet that the TPMS (tire pressure monitor/sensor) in the wheels is an off the shelf component purchased from a top-10 supplier in the automotive industry, and the problem was as simple as not having the TPMS programmed for the car. This is the same problem you can encounter if you replace all four TPMS in most any medium to high end car manufactured after about 2006, and the tire shop forgets to use their handheld wireless EEPROM flasher to apply the car's VIN to the new TPMS modules.
Tidyverse offers a programming style based around piping dataframes through a chain of endomorphisms ("verbs"). Closest things that come to mind are SQL and d3. Pandas feels clumsy by comparison.
Do we have examples of that on the local level?

It’s working OK on the national level. NYTimes, Washington Post, WSJ, the obvious examples. They are either operating at scale, writing about national issues that a huge cross-section of the population cares about, or they are providing important business information.

Where is it working on the local level? I grew up near Peoria, and, well, I’m not sure this will play in Peoria. Is there really a subscriber base for a ~400,000 person metro area? I am doubtful. My elderly parents still subscribe to the actual physical newspaper (at a shockingly high price), but I swear they are in it for the obituaries. Once the over 70 crowd dies off...
Sure, though, to be pedantic, a common example of moral hazard is the increased likelihood of driving recklessly in the presence of mandatory seat belts. See https://web.stanford.edu/~leinav/pubs/RESTAT2003.pdf
The root of Sussman's claim is that Amazon was hiding some expenses to _pretend_ that they were cash flow positive. (since being cash flow positive strongly suggests that there is no predatory pricing)

<quote>However, Sussman asserts in his paper, “Amazon utilizes existing loopholes in Generally Accepted Accounting Principles (GAAP) disclosure regulations to exclude a significant portion of its expenses.”</quote>

So the author is claiming amazon's _not_ been cash flow positive. If that is the case, then where was the money coming from?
For those that want a more practical example, Russia has just passed a law requiring that all internet traffic be sent to their equivalent of the NSA and FBI, with all traffic sent in the clear [1]. If you're an adtech company in Russia, with historical data you are probably being subpoenaed for that historical information. Think about Turkey, which has had mass purges since 2016. Academics, judges, ordinary citizens have been jailed or disappeared for having gone to the wrong school, having attended the wrong house of worship, for being friends with the wrong people. The government isn't tracking these people down via paper records, they're tracking them down using ordinary technology.

It's not about step 1, which is to sell you more barbies. It's about step 4, step 5 where suddenly a bad actor has access to all this data and can see that people who make this search have a 10% chance of opposing the current leader/president/ruling party etc.

[1] https://www.themoscowtimes.com/2019/04/21/russias-sovereign-...
Strange, I have yet to meet a single Google interviewer who was looking for perfect syntax during the interview. Last year I forgot the syntax for a data structure, told my interviewer "something like this," and he just said "that's fine." Got the internship later on. I even had one interviewer who was ok with me writing out matrix algebra mathematically instead of using np.matmul and all that.
thanks so much for the business - your order will leave the farm next week!
Implying there's value to Twitch chat?
Thanks! Working on Google login at the moment. Should be ready in a week :)
But cutting out the middlemen is a good thing, not a bad thing.

It means that less groups take a cut of the profits, and prices.can be reduced because of it.
Which is interesting. I wonder what the math looks like, since induction motors (without the heavy magnets) tend to be lighter. I can see why they'd avoid a rotor-coiled motor, since that comes with lifetime constraints.
See my comment here: https://news.ycombinator.com/item?id=19734501

But also, you're talking about state-level reporting in a state with 6 million people.

I'm talking local papers in towns of 10K, 50K, 100K, 200K. They used to exist, and now they're going away, and we're worse off because of it.
Do you suggest going with somethin like this: http://www.roughcreekcattlecompany.com/ordering-process.html ?
Isnt the government the problem?

Why punish google?
> And it's one that requires money to solve, because to cover local politics well, you need someone who sits through the local city council meetings, with their hours of discussion of things like 'sign ordinances' to write up a summary, or maybe bring attention to something that they're spending a lot of money on.

Do you, though? Can't a computer do that better than a human, what with machine learning and the like?
It's just something I've always heard other talking about. Although I started to look into it and there is some that believe it doesn't lag or lead that it's directly tied to GDP.

The fate of the ad industry is directly tied to the overall economy, says Brian Wieser, senior analyst at Pivotal Research Group. That means when GDP falls, advertising falls in unison; it's neither a leading indicator before a downturn nor lagging indicator trailing the overall economy's performance, he says. "All of a sudden, a crisis is a good time to reassess all your behavior," Wieser says. "Advertisers scrutinize their budgets much more than they did in the past."

From this article: https://adage.com/article/tech/industry-executives-report-up...

Thanks for spurring me to dig into this a bit more.
GDP per capita can be misleading and doesn't translate well into the quality of life, certainly not how convenient and safe you feel living there. Anyone who lived in China for a while would agree.

I see no problem submitting China-related news since I live in the country and Chinese technology is my focus, and HN folks deserve to know more about the development of Chinese technologies. I should submit more often. The fact that people are 'shocked' to hear Chinese company winning western counterparts as shown in the comments under various China posts in HN proves my point.
John McAfee: "I am the Batman."
That is a beautiful argument, but Star Trek is wishful fantasy. The reality is probably, most of the time, Riker was the only guy left after all the others, who could afford to, declined the case.

But this is not even this kind of case, not in terms of need, nor in terms of service to a greater principle. And we do actually need to hold people to account for their actions. There can be mitigating factors, but just doing your job has not been a defense for quite some time.
I’m always surprised how much a small typo early in a reading can affect my opinion of what might otherwise be a very well-done paper.
I don't know what's worse: that they chose Accenture or that they expected a better outcome.
The UK may have banned slavery early on, but the US was the first of many British colonies to gain independence, something which took a few hundred years for the UK to relinquish world-wide. Colonization was a milder form of slavery, but oppressive none the less.
I'm Against Podcasts
Do you have any examples of anyone who has managed that?
This squeeze on suppliers is a big part of why Amazon has such a problem with counterfeit goods, IMO. If you start blindly optimizing on supplier prices, counterfeiters can often win those price competitions.
https://outline.com/KjkgBC
Some hashes are different? what is that about?
I feel that many MBA's treat immoral behavior as just PR debt.
I’m trying to find a job right now and it isn’t going well. I have my PhD in computer science and I’ve run my own bootstraped company before and took it to over a million in profit for a couple years. I want to find a job as a engineering manager or something similar, but the feedback I’m getting is I don’t have enough corporate experience for that type of job, because I’ve just been doing my own thing for so long. I could find a job as a programmer, but I really don’t want to. After running my own company, I just like management better. And I know I wouldn’t enjoy programming for someone else for 8 hours a day.

So, I’m currently starting a tech business, but it is just going to take a bit to get started and it may not work. So in the mean time, I’m going to work on starting a plumbing company. I live in an affluent community and I think I can get the plumbing business to $400k-$500 a year, with just myself and a van. I’m going to just hire a plumber to take calls with me until I get comfortable going on calls on my own. I apprenticed this fall with a plumber; I like the work way more than programming and got an idea of how much I could expect to make. Which is way more than I could make programming for someone.

Thinking back on it, as my PhD was finishing up, I was having trouble finding a job, which was one of the things that pushed me to start my own thing anyway.

So I guess not being able to find a job and starting my own thing is something I have done a few times now. It is way more motivating to start something when you have no other good choice.
How come that police bodycams even have an off-switch? They somehow are always off when things get heated. The argument that you hear is that police should be able to shit without anyone watching, but the concerns about excessive violence outweigh the privacy argument. Pilots don't get to switch off the cockpit voice recorder either, they just behave in the cockpit.
The longest range electric vehicle, at 380 miles EPA, remains Hyundai's fuel cell SUV.
na, it's more anti-authority us v. them than it is "how can I be most effective at helping others". cops can sometimes be a pain to skaters, and cops can sometimes be a pain to illegally parked cars. The less times the cops win, the better.
I started consulting. Now it would be really hard to go back to doing a single aspect when as a consultant, I get to do many (GUI/computer vision/graphics/embedded).
How did you test the fps?

I'm using the intel driver as well, and it's definitely not perfect. But it's pretty close, at least for me - I get hardware-accelerated video decoding with VAAPI, no tearing, and excellent input latency (~3ms).
Yeah I guess my idea was more along the thought that as ads get less and less effective that the least efficient methods go first.
In differential geometry the metric [1] is a tensor that defines the relationship of vectors in the space to vectors in the tangent space. The identity function as a metric means that you are in a locally flat space where geodesics (the path taken by traveling in a given direction) are straight lines.

A metric in a traditional metric space is a global distance function; you can use the metric tensor in a Riemannian manifold to allow integration to find the distance between two points.

[1] https://en.wikipedia.org/wiki/Metric_tensor
Technically it's a hybrid. Just not an internal combustion hybrid.
Yeah, what sort of USDA issues do you need to fulfill in order to ship food like this?
nah.. we do own Onions.com, though..
That was a different era. Look at the latest crop of unicorns.
Do you really think that sitting down watching the grass grow, clouds, bunnies playing... whatever, is actually a bad activity if done for an extended period?

If you have no responsibility that is being compromised, how can this be a bad thing or is time wasting?

You seem to be saying that everything you do needs to have some purpose or needs to be productive?

I suspect that the problem that society has is that we have decided that everybody needs to be productive and working towards something, even in recreation. Time to spin your wheels in an unstructured way is one of the great things about modern life. We don't have to be spending every minute of the day just trying to get our next meal.
This is how you end up with stuff like QNX. It's really not nice to program for but you have a whole company who's job it is to produce a set of more or less verified dependencies.

Also: there are compilers other than gcc that are much smaller.
I picked the sentence "The S&P 500 and Nasdaq Composite had their highest closings on record Tuesday, marking a resurgence for the stock market after a rout last year hampered its climb." from the first article on WSJ and got some weird results

1) Wall Street Returns After a Year of Slowest

2) Wall Street Resilient on 2016 High Level of Return

3) New York Stock Market Haunts a Return

4) The S&P 500 Is Back, Again, on a Recovery in the Stock Market

5) Wall Street Revamps Wall Street

6) Federal and Securities Markets Leaders Clinch Over Wall Street’s Stale Trends

7) Financial Times Crashes Close of Shares, S&P 500 and Nasdaq as Largest to Close

8) Wall Street’s Longest-Hired Wall Street Sellers Set Back Year

- - -

On a separate note, I find the phrase "I made an AI for [x]" incredibly off-putting, but maybe that's just me...
I think the negative news is the only kind that will survive the digital era because it scales well. Not that many people care about local news, and so that will die out because it can't reach more than a small number of people.
More details at https://news.ycombinator.com/item?id=9904587.
Does the 2016 refresh not count?
I always thought they just made so much money they didn't need to make any more. And they were getting older and probably wanted to enjoy life a bit. Not everyone is Warren Buffet.
> Model S and Model X are now capable of achieving 200 kW on V3 Superchargers and 145 kW on V2 Superchargers. Together, these improvements enable our customers to recharge their miles 50% faster.

What does that mean exactly? I'm sure there are sections of the charge curve where it is 50% faster, but you need to consider the entire charge curve to get a better sense of the improvement.

The Tesla Model 3's charge times were improved by the combination of battery preconditioning and the faster V3 Supercharger. A charge that used to take 60 minutes can now be done in 40 minutes:

https://electrek.co/2019/03/07/tesla-v3-supercharger-action-...

I'd call that 33% faster charging. So is the Model S and Model X charge time improvement across the entire charge curve or just sections of it?
When doing an interview at Google in C, I asked if I could assume I had a hashtable implementation with so-and-so interface, and the interviewer said no ¯\_(ツ)_/¯
Ah, okay, I get it now. In that case, I think the cop’s fingerprint could be used as evidence if the cop went missing. Say the cop opened your bag and dug through it without a warrant. That’s clearly a 4th amendment violation. That would result in exclusion of evidence obtained from the search of the bag. But if the cop went missing, fingerprints from the bag would be admissible as evidence of the fact that he had searched the bag and interacted with you. Whether the later search is legal would depend on the specifics of that search.
No, it runs only on hydrogen (to EV direct drive). https://m.hyundaiusa.com/nexo/. Zero emissions, refuels in five minutes at one of California's 40 stations. Soon all hydrogen production will be renewable from solar and wind electrolysis. Exciting times.
most https connections are ephemeral and limited to connections per domain.

WebRTC can spawn large number of p2p connections.
I don't know, I don't think grepping the minutes on my own is that hard.

I feel like setting this up to watch your local government (provided they post the minutes online, which maybe should be required now) would only take a few lines of shell script.
Were these trained or untrained runners? I'd be shocked if trained runners lost efficiency when focusing on running technique.
The many lives of Frank Harris
We Think Galaxy Folds Are Failing