skysight-inc/HackerNews huggingface dataset:
You don't have to buy 20kg of rice for it to be cheap. You can buy a 1kg bag of potatoes for $0.50 - $1.00, and cooking them is as easy as putting them in the microwave for ~10 minutes. A single kilo of rice can be had for under $2.00 by itself, and cooking rice is quick and easy. Add a can of beans on top, some spices and you got yourself a dirt cheap vegetarian meal.

Outside of the USA you have plenty of families surviving on less than $10 a day, they don't wait for their paycheck to accumulate to buy food.

It sounds more like a cultural issue, or perhaps such staples are not easily found in most of the USA and/or are marketed as "health foods" and suffer a corresponding price increase?
True, that's a problem I don't have anymore but it's a quick and understandable example of a mistake that I think lots of people had made before.

Instead of a comma I would actually recommend f-strings, which are python's string interpolation. The only downside is that the code within the f-strings I think have even less prechecking.

https://www.python.org/dev/peps/pep-0498/

Example: print(f"There are {len(lights)} lights!")
> I've seen a couple fairly decent arguments that Earth/Moon should be considered a double planet.

It should at least be considered a planet and dwarf planet pair. After all, the Moon is larger than Pluto. The relative size of the Moon compared to Earth is enough to convince me. Binary planet or double planet would make fine nomenclature.
When a Tech Reporter Doesn’t Use Much Tech
I live in LA as well. While most of my Amazon purchases arrive on time (and even occasionally early!), more of them have begun arriving late. My Prime Day purchases, for example, were originally supposed to arrive same day...but are currently on track for Saturday and Sunday. I could have just stopped by Best Buy on the way to work.
Lethal Autonomous Weapons Pledge
Yes, a scriptable version would be of interest. Ideally, if there was a docker image I could just easily download and run on my dev machine (and please allow passing an ENV option to limit Java heap size), with a tutorial how to use it and how to add "skills", I might be curious enough to run it. Um; and we're mostly a Go shop, but we have some JS too. Still, given infamously poor/nonexistent generics/metaprogramming support in Go, it might be an interesting niche/target for you. OTOH, as a Go dev, I must admit I'm somewhat allergic to JVM... but having it isolated in docker could be acceptable.
its nonetheless the way its being done. a few examples:

* remote docker daemon execution

* setting up a kubernetes cluster with kubeadm and creating certificates for remote kubectl execution (this one might be related to the previous one. I'm not sure as i don't know anything about the kubernetes internals.)

* rabbitmq cluster iirc. At least thats how you're supposed to set it up with the sensu monitoring framework

* previously mentioned puppet does its as well, though the process is mostly invisible to the user

i'm not sure how its supposedly possible to spoof though?

the master needs to sign a certificate for clients. IF the master is compromised, everything is compromised. Thats true no matter which authorization protocol you're using
Not Best Buy related but I tried purchasing an elliptical online from Amazon along with assembly. One company does the shipment and a third party does the assembly. The assembly guy cancelled on me because it was raining (not really hard) and he couldn't come out at a reasonable time.

I cancelled the assembly, had the box returned to Amazon (of course its not their regular shipping). I then ordered from Sears. They came on time with the equipment and they did the assembly.

Back on topic. I'm debating whether to use Geek Squad to mount my TV (I have no mechanical skills) or purchase it through Amazon for half the cost.
Buying someone a gift card is another way of telling them that you're a consumerist idiot who doesn't give a shit about them. "First and foremost, I don't care about you at all. That said, instead of giving you $20 in cash, I'm going to give that same $20 to BestBuy and force you to shop there or forgo my gift in its entirety, because I'm an imbecile." Intelligent people who don't give a shit about a person will always go cash.
Maybe they’ll love having a really obvious marker that they can definitively date to almost the exact year.
+1 for this book. As a junior DevOps engineer this book has been super helpful.
This wasn't cancer, though.
Prop 13 wasn't about the elderly or retired, and there are many tax abatement programs in other states (like homestead exemptions) that benefit them.

Prop 13 benefits landlords and corporations, it was a hand out to business interests wrapped up in a feel-good message about the elderly.
Not that many public email groups running on Listserv, as it is rather expensive.
Going to a Marathon Sports and wearing shoes their employees recommended after watching my walk has made my knees feel way better and I'm completely willing to pay substantially more for sneakers for it. But I can't speak to anyone else's experience.
The Beaglebone Black has eMMC onboard.
Java has been and will continue to be a contentious language - as long as programmers identify as X programmers or Y programmers.
I run a design studio and some of our designers are big fans. We've unfortunately had to disable Anima across the team due to compatibility issues between designers who have created UIs with the help of your Sketch plugin and those who don't have the plugin installed.

The latter group often spend quite a bit of time fixing broken alignments etc when picking up a Sketch file that's used Anima. This means everyone is forced to install the plugin. The other issue then is when pushing to Zeplin, many elements aren't aligned as designed regardless of whether we've got your plugin enabled or not.

It doesn't happen every time, but it's happened enough times to warrant a studio-wide disabling of the plugin. I don't know if it's possible to easily solve this dependency issue in a future release, but if you can, we'll certainly start using it again.
If you take the "two hard problems in computer science" quote seriously -- or if you simply consider that humans are part of the system -- then naming issues probably deserve careful attention.

Then again, if humans are part of the system, it's also probably a good idea to use more reserve with coworkers than "jumping all over me" implies.
Just like Rome.
> You make a neighborhood dense by building decent transit

Ehh, people will fight tooth and nail to oppose development literally on top of public transit access. Look at the fierce opposition to MacArhtur Commons (which is getting built, thankfully!) at the MacArthur BART stop and at the opposition to any and all dense infill near the West Oakland BART stop. These are one and four stops from San Francisco, respectively...
I don't think your pedantic coworker's criticism is unreasonable at all. APIs, HTTP or otherwise, should communicate what they actually do as best as possible. I have no idea what "blue" is supposed to mean in context, and I struggled to connect "blue" to "car."

What the article is saying, and what I think GP is saying, is that trying to model (non-CRUD) actions as "resources" in the pursuit of being "correct REST" is often a waste of time. `/nouns/8000/verb` is somewhat obvious to me (it does `verb` to `noun` 8000) despite not being "proper REST" whereas `/verb/8000` doesn't (what exactly am I `verb`'ing?), `/green/8000` would just make me scratch my head, and `/9f27410725ab8cc8854a2769c7a516b8/8000` tells me I'm wasting my time with this API and should go do something else.

As a user or developer I think being obvious and usable is more important than being "correct REST" and so I don't even use the term anymore, I just say HTTP API.

You might think it is just "pedantry" or "semantics" but consider that you are not the only one who will be using or reading these APIs, and design accordingly.

(However, if your coworker really was jumping up and screaming loudly at you because of this, this suggests he may not be as enjoyable to work with as you think)
Yeah the replies to GGP do not actually answer the question. Learning to cook from staples is very financially and nutritionally rewarding and more people should do it. I am not sure where the disconnect is.

One thing I have observed with simple staple dishes (like beans and rice) is that if you don't know how to add fat, salt, and spices in good proportion you can end up not liking the the result. You end up resorting to convenience foods instead and shoot yourself in the foot health-wise, as an unintuitive result of not using enough fat and salt in your cooking.
It's like those maps that are supposed to reveal something interesting but all they reveal is population.
I don't think that's necessarily true. Rice and beans are cheaper than mac & cheese. (Though only marginally better nutritionally.)

I think a lot of it has to do with availability. People in poverty are typically less well served by large grocery stores, and are more likely to shop in convenience stores. Convenience stores are less like to stock low margin products like bulk rice and dried beans, and more likely to stock higher margin processed foods.

I'm not an expert though, could be many factors.
This. I don't think people realize that to make USB-C work, you basically have to replace every cable you have. It kinda sucks from a money perspective, but thats what it takes. But that means I can plug in my MacBook Pro and Thinkpad into the same desk setup with one cable.
They probably have slightly different hardware to keep a price edge. But anyway, to anyone on HN I'd think bundled software is pretty much a non-issue; I've always installed Windows fresh and I feel like doing that isn't a big deal if you are technical.
The Vietnam of CS.
Marketing and Sales online course
If your response to every bit of news that contradicts your worldview is a reflexive "it's made up", then reality has come apart at the seams and nothing is real.
Darpa Wants to Perform Learning with Less Labels
How I Pulled 10,000 Unique Visits from Quora
This is primarily a hijack detection framework with flexible operations on detection. How to actually "neutralize" the attack is up to the operator and there isn't really anything new offered in that regard from what I can tell.
This is a Google talking point, and a laughable one at that. The list of complainants is full of American companies. Here's DuckDuckGo for example:

https://twitter.com/DuckDuckGo/status/1019562507294461953
> How making a new OS achive this? What kind of problems Fuchsia could solve when Linux can’t solve?

The problems they are likely trying to solve are business and legal, not technical. Pesky things like not having to release keys bits of code under a 'free' license (i.e. they have no choice but to release any changes to the Linux kernel under GPL as that's what it requires.) Sure, they'll probably still release large chunks of source code (possibly under MIT/BSD, possibly under a less liberal license) but keep strategic bits closed source. Right now they have to do this via the clunky and somewhat obvious Google Play services layer. And then there's the constant potential exposure to lawsuits. etc.

By being able to decide on what pieces would be released under what licenses, it would allow them to prevent competitors from following in their footsteps as Amazon and various Chinese companies have done with Android. Things like this are the reason Samsung (one of Google's largest problems) keep pushing forward with their Tizen platform so that when the shift comes they have the ability to sidestep it if they want to.
Actually BART is continuing its downward trend as has most mass transit in the US [1]. Ridership was down in 41 out of 50 cities just from last year. Even with increases in service areas many transit authorities did not see a good return on investment. A common method has been to reduce bus service to try to bolster rail only to end up losing the revenue from the bus riders. Many transit authorities have tens of billions in deferred maintenance that is catching up to them. NYC has notorious problems with both expansion and maintaining its current system with pension debt fast becoming the big bogey man.

[1] https://www.sfchronicle.com/bayarea/article/With-BART-riders...
I don't understand. Is the 'he' in this case Eric Geller or Tom Burt? Does your post mean that you suspect the reporting doesn't go far enough to verify Microsoft's claims or that Microsoft is falsifying their report?
Simple Steps to Optimize Your App Performance
Composer here. This is a terrible analogy. Whether or not a composer can/does perform a piece has absolutely nothing to do with authorship -- do we expect a writer to read aloud their novel?

A better question to ask is, "If the composer merely told others what to write, is it actually the composer's music?" This is an unbelievably common practice, and IMO, the answer to the question is no.
But those third-party companies would obviously end up with misaligned incentives to serve the sharks in efforts to cheaply buy from unwitting people. Only wealthy people could afford truly trustworthy third-party insurers to help set the price, which again will entrench the wealthy in the ability to preserve their experience at the opportunity cost of other people.

Much like with third party job recruiters, there is just no possible way they won’t be subverted to disingenuously service the wishes of the wealthier party.

In addition to all this, just imagine all the horrible ways that wealthy people could inflict punitive damage on non-wealthy people. You pissed off the wrong person at work? You’re a journalist who wrote an unflattering piece about the politician? So you come home to find some consortium bought out the home you love, no traceable links back to the person who inflicted it on you, and the money involved was a pittance to them but a life-long nest egg for you that you desperately don’t want to have to convert into the purchase of a different home.
Spain's state-run railway will launch startup incubator
I think he's talking about replacing the entire cable to the devices.
Ironically, I now take advantage of Amazon in order to buy at BB. When I see something I like on the shelf, I check to see if the Amazon reviews are good. If so, I can buy it without the same level of nagging doubt about the product’s authenticity.

Same here! Amazon's a cesspool of Chinese knockoffs buoyed by for-pay reviews, but any item that's also sold at Best Buy must be legit (since BB went through the trouble of sourcing and buying it), so Amazon ends up being a great place for real reviews.
your parent comment got more than 120$ of benefit in a single order; if you amortize the cost of that prime membership across a year and use it like this it certainly seems closer to free.
But that is a different route. Claim that they don't have evidence. Or refute that the relationship is truly bad. This line was specifically "You can't make the claim that Samsung is then being screwed over by Google." Sure you can. Just provide evidence.

So, change that refutation to "what is your evidence taht they are getting screwed over by Google?" On that, you have my complete agreement.
I've forgotten all the auto-taunts except "Sure, blame it on your ISP!"
Show HN: Headless CMS Gentics Mesh supports geospatial search of uploaded images
The article has uncovered sources that claim the algorithm makes the ultimate decision and other sources that claim it doesn’t.

If it does make the ultimate decision and not just for political reasons then this is very interesting. Having input data that is sufficiently informative is important on a number of levels. Firstly this means that it is possible to pick winners on the basis of other VCs etc Secondly it means one doesn’t have to be personally concerned with the story if others can vet it for you.

If the machine doesn’t make the ultimate decision then — as others point out — it’s just old fashioned screens and checklists with a new interface.
Have there been Kaggle competitions to do this kind of thing before?
Alright, let's break this one down.

1- Because they're stereotypes? Because nobody actually understands how people eat. Poor Americans eat rice and oats and beans, but those aren't stereotypical American. Ask yourself, is rice an American food? Do you imagine Americans eating it? I'm sure poor Asian Americans and Latinxs are. Do you think about poor people in Louisiana sustenance hunting/fishing? The US has an image, and that influences what people show/are willing to see.

2- Food Deserts. The US has large urban populations where the vast majority of the food available is canned/prepared. You can't cook over an open fire in a city because of regulations. You might live in a high rise apartment where you can't really cook much of anything because of the lack of space available. In those types of situations, it's easier to get a 1 dollar cheeseburger from a restaurant to meet your immediate food needs than try to buy a 20 LB bag of rice, carry it through downtown, and then store it in your living room.

3-When you're dealing with food, most people's immediate desire is calories. Your body is stupid, and when it has nutritional needs it often expresses them as just blanket hunger. People are able to get cheap calories in the US, but many of them are nutritionally minimal.

4- Relative value of money. You grew up somewhere that was poorer than the US, but there was likely deflation of the price of goods consummate with that. Poor in the US is not the same as poor in China or poor in the Sudan. They each come with their own special flavors of terrible options available to you.
What I take from this story is that I should always carry an inflatable life vest when boating about. There are some small models that wrap around your waist and don't get in the way until you need them.
There is a noticeably higher risk of cataracts, at least. https://www.ncbi.nlm.nih.gov/m/pubmed/16087845/
If only it scaled to 300 archers over broadband.

This game is amazing and has aged so well. The only downside is the network pauses and out-of-sync errors that inevitably happen 40 minutes into a two-player game.

I can't remember the last time I didn't set the population limit to 75 in an effort to alleviate network issues.
I always use B&H or NewEgg and avoid Amazon, when buying flash memory and SD cards (in order to avoid counterfeits). I also bought an SD card from Best Buy recently because i needed it immediately.

Anyway, as for physical brick-n-mortal presence, I just wished that I had Micro Center where I live, instead of Best Buy, though. MicroCenter has far more inventories, more interesting stuff (like Raspberry Pis in store) and better prices as well.
Here is an instance of government getting in the way of the free market. The reason SF's housing market is so messed up is because of government meddling in the market. That's not to say the government shouldn't regulate anything and that all zoning laws are bad, but it is clear in this situation it is not helping. IMHO the answer here is less government, not more.
It is a member of EEA though and this ruling affects them.
Our intuition about inheritance is pretty much all wrong.

I make analogies to taxonomy because before I learned software a biology teacher told me that taxonomy is also broken, so when I learned type theory it felt like a similar kind of broken.

We think putting wings to a mammal is adding behavior, when in fact it is subtracting it. Adding wings on a mammal means you have a bat, or a flying squirrel.

You have narrowed the potential of this type, not enhanced it. Anything else a mammal might do that bats can't? You've taken all of that away. Mammals with fly() aren't the fastest land animals. They don't have the record for holding their breath, or hibernation time. They can't dive(), speak() or useTool(). Really they're kinda useless except for vermin control.
Am I missing something, or do those two ideas completely contradict each other?
Is it possible to make floating point calculations completely deterministic?
By law a company can not refuse to return a defective item I believe. Whether they do it or refer you to the manufacturer, one way or another you are fully entitled to a refund if the item is defective. The whole "You can't make any returns if you make x amount" is more a scare tactic.
Part of it is stock. When I built my last PC newegg was sold out of almost every part I needed. Amazon on the other hand had almost everything and the prices were only slightly higher.
Celery (or in Ruby, Sidekiq) is a pretty simple approach. (I'd start with Redis for the ephemeral storage if you want to keep it simple) Capture the request in your database, update it when project finishes. If you need client side notification when job finishes, use something like PubNub.
I've been really confused at why cities are becoming exponentially more important rather than less despite better and better remote-working tools and the general de-industrialization of America (reducing the benefits of agglomeration economics). I find the economic claim that a firm being close to other firms being a significant productivity advantage unconvicing. My current theory is after 2008, the suburbs pretty much went belly up. So young people had less money and no desire to get stuck with a dangerous mortgage like their parents. With no desire to own a house or even a car and an emphasis on experiences, people started moving to the cities and the companies followed them there which created a positive feedback loop. So the jobs followed the people, not the other way around. My sense is that there just aren't that many good jobs even in the cities since there isn't any real advantage any more outside some old industrial sectors of being geographically close to others. It's primarily a cultural phenomena not an economic one of the growth of cities. So at what point is the cultural gain no longer rationale and trend flows back to the suburbs?
I'm talking about social responsibilities. Not about legal liabilities.

If there is not implied social responsibility that PSF keeps python running, then no one will be using it.
I have had good experience (on multiple occasions) when buying consumer electronic from the Best Buy. They do price matching, you get to experience the product, and the customer rep was really helpful.

I can't say the same about the snob at the Apple Store.
Most office/conference room projectors I've seen are just HDMI ports patched into the wall or table with a cable. You can just unplug that cable no?
How Netflix Can Get Back to Growth
Such a fun read. This was my second ever post to HN back in 2013. Always puts me in a good mood.

It's also amusing to youtube clips from the time they burnt a million British pounds: https://en.wikipedia.org/wiki/K_Foundation_Burn_a_Million_Qu...
I'm seriously considering buying a Windows laptop for the first time in almost a decade

I can highly recommend Surface. W10 + WSL beats OSX + VirtualBox handily for dev work. Great keyboard, great screen too.
Another chemical effect of the modern age:

Before the industrial revolution, silver did not tarnish. Burning coal introduced enough sulfur in the air that silver started tarnishing.
Blockchain Institute of Technology launch in Portsmouth, NH
I see a lot of "this is the same as my experience with x" where x is CEOs, Academic paper authors, musicians.

Is it time that we own up to the fact that nobody exists in a vacuum? Can we skip straight to the socialism part?
Embark Announces 30M Series B