skysight-inc/HackerNews huggingface dataset:
My utility sent some LED bulbs in the mail. I expect it was attached to some government incentive (they probably get green credits for the difference in consumption).

Lighting isn't that big though, ~10% of US electrical consumption, when you include commercial and street lighting.

https://www.eia.gov/tools/faqs/faq.php?id=99&t=3

(It's a big chunk, just not a huge one. If you figure on a fair amount of it already being florescent or other relatively efficient lighting, the savings aren't going to be dramatic)
The Ikea Effect in Software
Are you trying to tell me that they won't build more windmills if that's what people are paying for?
Such a device would usually have a standard label to indicate that fact.
Ship Serverless FaaS functions with ease
Only if you don't AOT compile to native code, which many on HN seem to keep forgetting about.

There are plenty of options available among commercial JDK vendors, but if you don't want to spend money, ExcelsiorJet has free licenses for non-commercial use.

https://www.excelsiorjet.com/free
When intel had the floating point division hardware bug they recalled chips.
https://en.wikipedia.org/wiki/Pentium_FDIV_bug

I wonder if intel will do something like that again or if the industry as a whole is more tolerant of unreliable / buggy behavior and will just live with it. Examples of Apple just telling people that the poor reception strength was their own fault / changing software to hide problems / etc.
"Exponential growth" of energy would start to directly cook the earth through rejected heat. I'm not too thrilled about the exponentially growing pile of radioactive waste either. (No, not the spent fuel, everything else)
Any sociopath/psychopath can game the emotional intelligence system by appearing to be whatever they feel they need to be, to get what they want, and it's not pretty.
Intel likely has very thorough data on the issue, but you'll never see it unless you are one of their tier 1 customers* and have an NDA with them. In my experience working for a large hardware manufacturer they are very skittish about releasing detailed failure analysis data to outside companies.

* For Intel that would be companies like Dell, Apple, HP, and maybe a couple of others.
The US is still a manufacturing powerhouse, and productivity is multiples of what it was decades ago. The wealth & capability certainly exists, but where it is disappearing to is another question.
Web developers don't have long before they face this exact crisis. We're already in the race to the bottom wage-wise and automation is on the rise. There will be high end that needs more than a cookie-cutter website that will be served by humans until the deep learning crowd consumes that.
"Last year, Amazon captured nearly $1 of every $2 Americans spent online. As recently as 2015, most people looking to buy something online started at a search engine. Today, a majority go straight to Amazon."

You know all those scifi movies where corporations in the future are the government in space and have giant armies and space ships? Well at this rate I am betting one of those solar empires will have "Amazon" on its flag.

In all seriousness though, people need to take the rise of companies like amazon and really think hard what we are loosing by enabling them to take over our lives. This is not a rant against corporations though, or even Amazon or the great people that work there, but its more about what we as a society allow.
It'd be great to have Moment in every programming language - to provide a standard interface. Definitely good to see this available for Python. I've star-d it.
> High Register and 16bit registers are huge wart that it seems Intel is trying desperately hard to get us to stop using.

Someone really ought to tell clang and gcc this; they both happily use 16-bit registers for 16-bit arithmetic.

Anyway, Intel obviously already has special optimizations for many partial register accesses, dating back to Sandy Bridge. While it's quite possible that they left out the high registers initially (no clue, don't care), if they did they could have decided to include them in Skylake. Who knows though...

What are you even talking about with the LSD? The LSD is entirely before any register renaming and the entire out-of-order bits of the CPU. It's likely the LSD is involved only because that (plus hyperthreading) might be the only way to get enough in-flight µops to trigger whatever is going wrong, whether or not it's due to optimizations for partial register accesses.
What makes you say they piggyback all their efforts on our reliance on consumer tech? It's low-hanging fruit that probably yields results reliably, but that doesn't mean LE is helpless if you don't have a phone.
Good overview of the benefits of calorie restriction, but doesn't touch on two of the most important schools of thought of the past couple years.

1. Calorie restriction is almost impossible for most humans to follow long term

2. Many of the same benefits of calorie restriction may be achievable through intermittent fasting, which is much easier for people to follow. I've been experimenting with a daily 16 hour fast (all calories consumed within an 8-hour window) and have seen small improvements in my energy and general well-being, although it's decades too early to say how this will impact my longevity.

Relevant articles:
https://www.nature.com/articles/srep33739
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2622429/
https://www.scientificamerican.com/article/the-hunger-gains-...
Thanks! You can find more examples on CodePen.

- https://codepen.io/hyperapp
Specialize. It doesn't have to be an esoteric domain. Something like Go server apps or Docker is enough.
ORMs are for people who don't know SQL.
Crikey! Remind me not to invite you to parties. They're just words. Probably pretty dumb ones to take through airport security, but then it would be hard to find an action / thriller novel that didn't contain some or all of those words many times over. Or as the sibling comment points out any newspaper.

You want a more egregious, what about detaining little old ladies in wheelchairs and children's book authors? https://www.theguardian.com/commentisfree/2017/feb/28/in-tha...
I've never heard of a job retraining program that did better than like 20% of the people going through it finding jobs that paid similarly to their old ones. Have you?
I had used Balsamiq to design the forms/screens for a SaaS project for a client (collaboratively with them), and it was not bad. IIRC, response was a little laggy, which might have been because it was built using Adobe AIR (not sure). (I got a free copy of it from Peldi under their scheme for people who develop free / open source software projects.)

Has anyone tried Axure (paid product), and if so, how did you find it? Another client that I did a project for, had claimed it was good, when I told him I use Balsamiq.
Well, firstly, that's not true for every need. But, more importantly, the demand for Web developers is not bottomless, and if every unemployed person in America is suddenly a master Web developer the salaries are obviously not going to be good.
It's called the state monopoly on violence.
It's grossly dishonest to reduce white supremacy to "views one dislikes". Yes, if you remove all of the content of views and just focus on the act of liking or disliking them, you can make any disagreement look unreasonable.
Have you compared your system to state of the art results on NIST Speaker Recognition Evaluations? I'm asking because the datasets released for these evaluations every two years or so are what have been driving progress in the field for close to two decades, and your dataset is completely unknown in the speaker recognition literature. Not trying to discredit your work, but that's THE obvious data you would use to evaluate anything speaker recognition related and not doing that just raises some flags.
How did you find Axure?
Not really, though.
Apple might have done OK, but they killed a technical specification that was already present in thousands (millions) of users' devices, and that hundreds of other companies had invested in as the best way forward (technically it remains superior to USB).
These types of things are mostly PL research.
Staring at their repo, Futhark is better than most in terms of "readyness", but it's still probably not something you'd want to start programming all your GPU code in :)
It lacks a lot of developer friendliness.
Does this apply equally to STEM / medical / finance degrees, and e.g medieval history or social studies degrees?
> Then adding an item to a cart means updating those fields. There probably is a way to do several similar updates atomically.

Atomicity is document level, not collection level. So you can't update multiple documents atomically. Or do you plan on having `{status: 'in-cart', cartOwner: 'customer-id' | null}` and single document for every stocked item (like 1k copies of the same book would be 1k db documents and you also have all those sold from before)?

> Another way is to use append-only collection

How does it help with overselling? To decide if it's okay to append, you have to know if current number of items is greater than 0 (don't forget to lock other clients out of appending this whole process, so they wait for you to finish).
Classic mistake. Except it's not really a mistake, but a conscious decision by whoever was in charge at the time (with the main focus probably being growing the company and not hurting current customers).

How do we fix that though? Standards seem like the only solution but they either don't move fast enough or the early birds (in this case amazon, but another prime example is microsoft) become so entrenched they set the standard themselves.

My own answer up until now has been to work in linux and open standards jobs (now kubernetes) but this requires increasing amounts of effort.
What part of that is supposed to make it less clear cut?
If you haven’t watch this documentary on the topic: https://www.youtube.com/watch?v=Ihhj_VSKiTs
Probably not much. But really think back on your training arc in the past.

When I am in my training phase doing krav-maga, lifting weights, biking... yeah, I need thousands of calories to feel healthy (I never really counted how much).

But immediately after (assuming the muscle you built is not just inflated and is comprised of lean strength), I have personally found I can get away with very few calories/day for several months.
Eating. I don't want to be fat again.
It doesn't matter whether offense is stronger than defense because this is not a mutually assured destruction scenario. Having offensive capabilities doesn't prevent an attack because we already have offensive capabilities -- sanctions and missiles. The problem isn't an inability to strike back, it's attribution. A hoard of vulnerabilities does nothing to solve that.

What governments actually use vulnerabilities for isn't deterrence, it's espionage and sabotage. But those goals can't justify knowingly leaving critical infrastructure vulnerable to criminals and terrorists.

> I think you have to accept that hoarding vulns is the international reality and difficult to change.

It doesn't really matter whether other people are doing it. The solution is to keep the espionage agencies on the hunt for vulnerabilities but require them to be disclosed within e.g. four weeks.

If it really is so easy for entities with state-level resources to find vulnerabilities then they'll be able to find a new one every month and continue to use it for their espionage, and at least the low-hanging fruit will be eliminated which makes it harder for criminals without state-level resources.

If there is not an endless supply of vulnerabilities then soon enough they'll have reported every existing vulnerability in commonly used software, they'll all be patched and there will be nothing for other states to hoard regardless of whether they have the same policy or not.
This is obviously correct.
An A4 sheet is like 5 grams.

Sure it's not impossible but I suspect the crooks can dream up something easier.
Creating a mobile-friendly navigation using mini.css
Community pressure has been the only proven way thus far.
About five years ago I switched to one large meal per day (dinner) with a snack or two. Prior to this I lost nearly 40lbs by shifting my diet toward dominant protein and smaller portions. I also added in a good 30+ minutes of walking per day. Nothing fancy.

I also dropped almost all of my sugar intake. I drink about 3L of water per day and have one cup of coffee in the morning.

I've been able to maintain a healthy weight (6'4" tall, ~185lbs) and I rarely feel truly hungry. On the days where I have more than one large meal, I tend to feel tired and foggy.

Its completely anecdotal, but this pattern has worked out well for me.

The main issue with articles like this is that they propose lame diets that strip out enjoyment. If you want to eat eggs basted in butter, do it -- but balance that out with exercise or somewhere else in your diet. No use suffering so you can live a few extra years at the tail end of your life.
Then I think you have misinterpreted the phrase "not everybody can be a web developer."
Radical thought for the day: what if you leave it home some of the time?
A few thoughts.

It seems that "calorie restriction" is a misleading term. If these funds are correct, CR should be considered the norm/ideal. That means the majority, currently, over-consume.

That aside. I wonder if it's also related to modern food, and the production there of. If inflammation is the root of most disease, and CR, I presume, reduces inflammation, then what is it about our foods that trigger so much inflammation?

Finally, when all said and done, I predict this will be found to connect with gut bacteria in some way. That is, CR effects the gut, and that effect is ultimately a positive for the whole body.
This is so far from true it boggles the mind.
If you read the link you'll see they've fixed it with a microcode update.
This is so odd.
They say :
"While we welcome the willingness to tackle annoying ads, the CBA's criteria do not address a key reason many of us install ad blockers: to protect ourselves against the non-consensual tracking and surveillance that permeates the advertising ecosystem operated by the members of the CBA."

"many" is a link to https://today.yougov.com/news/2016/09/02/why-people-use-ad-b...

Except that page shows that "to avoid being tracked" is actually relatively low on the list of reasons people use ad blockers compared to the annoying advertising issues, malware, etc?
You make a loose assessment about my ability to construct cohesive paragraphs, and suggest I should seek help to see if there's something wrong with me that might be causing such jibberish to emanate from my broken brain.

If you're right, it's death that I seek, not help.
I expect the military has.
Show HN: A Minimal Code Example of Using Vulkan for Computations on the GPU
Apple sells default placement to search engines like Google and Bing. If it it really cared about privacy
1. It would not sell it's customers to Google or Bing as search placement
2. It would put duckduckgo or similar as default.
OP here. This is a small code example of how to use Vulkan for compute operations. Only ~400LOC. It's pretty short, and has plenty of comments, so it should be useful for people learning Vulkan, I hope.
Off course they will
Demand for manufactured goods is increasingly saturating (China is next in line). Buying things is less in vogue these days, compared to immaterial pursuits like travel and education.
I don't know from Sufi, but you're talking about path-dependence, which can absolutely produce a post hoc fallacy, depending on the person who is analyzing the history.
You can consult for just about everything. Being a specialist is a blessing and a curse because you will stand out more, but are likely in lower demand. Plenty of shops just do frontend web development or java development and get plenty of business. The trick is being able to hustle to get contracts.
Put some solar panels on your roof, run wire to home. There, you have transported your power.

Bigger issue is winter time energy, aka heating. That one will be hard with current tech (storing energy for once per year use), though solar is getting cheap enough you may be able to use use solar generated electricity to heat -- you would need overcapacity of panels in northern climates -- but that's probably cheaper than moving the world's coastal cities.
This can be dangerous if over used. It can be very tempting to quickly pull in a 'left join blah' to grab some fields you may need. But that blah view could be hiding some massive performance sapping beast.

When it comes to optimizing a slow running query, having to step through layer after layer of nested view can be incredibly challenging.
MongoDB escaped being glorified /dev/null just last fall.

https://jepsen.io/analyses/mongodb-3-4-0-rc3
What language and GUI framework do you suggest ?
Or just don't use the biometric unlock features. I don't have anything on my phone I need to hide from the police, but turning on fingerprint login was a complete "nope" to me, because obviously I can be forced to put my finger on the sensor. Not to mention the general spoofability of fingerprint readers. Refusing to make civil rights abuse easier seems like a civic responsibility to me, so biometric security is not something I'm going to use. Bad incentives.
>...I strongly suspect people spent less time alone in the past.

Yea, a book that overs this is:

"Bowling Alone: The Collapse and Revival of American Community"

https://www.amazon.com/Bowling-Alone-Collapse-American-Commu...
It is not throwing the money away - electricity distributors are required to buy additional portions of renewables for delivery. This increases demand and available investment funds for new renewable projects. Here's a section of the Terms of Service of my provider:

"If you elect to purchase a renewable energy product, we will ensure that the appropriate amount of renewable energy credits (RECs) is retired to authenticate the renewable energy contained in the product."

So here in TX we can actually individually vote with our wallets to make a difference in the makeup of renewable energy demands in the state. Maybe tiny steps at a time, but at least it is possible.
Exactly the same output for me. Assuming that's not the only hardwired output from that command, is your password also hunter2? B^>
The problem with that is that, especially when emotions run high, it becomes very difficult to tell where the line is for sufficiently "dangerous" views that deserve punching.

If you look around today's blogosphere and social media, for example, you'll see a significant variance in what gets labeled "racist" or "white supremacy" (to use the most germane example).

If someone is declared a white supremacist for touching a black person's hair and the standard is "it's ok to punch white supremacists because they are violent and dangerous"... it will become a mess fast.

Which is one reason why it's generally a good decision-rule to not employ violence (as a citizen) unless violence is imminently being used against you.
Norway may well be considered the upstart little brother, or hick relative of the Scandinavian nations.

This partially because it was a long time the subservient partner of Denmark-Norway, and then later passed to Sweden as war-reparations after Denmark backed Napoleon (never mind the earlier event where Trøndelag was given to Sweden after the 30 years war, only to be handed back a decade later because Sweden found them to be unruly).

That said, mostly it is playful banter. For example, all nations have similar jokes where representatives of the nations try to one up each other, and the nation of the story teller always come out on top to a massive degree.
How Interracial Love Is Saving America
I would guess each Apollo was a profit for Boeing, North American, and Douglas, too, but that doesn't matter.

SpaceX has indicated that it wants to be more than a way cheaper way to launch stuff into orbit. That means it needs to find sponsors willing to spend lots of money, and keep them interested for a long time. If new tricks like reusing a rocket soon become "meh", that means it needs many such tricks.
Noboby wants to live in Murmansk.
A large part of the U.S. military budget is implicated in fossil fuel security.
I looked it up: https://en.wikipedia.org/wiki/Right_to_silence#Norway

As a third party witness it is different, at least in Norway.

> In general, anyone is required to appear before the courts and give testimony, except dictated otherwise by the law

Nonetheless:

> §123: A witness may refuse to answer questions leading to self-incrimination either for the witness itself, or for anyone related to the witness as described by §122
You shouldn't let the existence of a competitor stop you. The business model of Lyft/Gett/Juno is basically to carbon copy Uber and get piece of their pie. Just being a deliberate copycat isn't a terrible strategy. Trying to one-up something that already exists is also plausible, if not easier because their is already a trailblazer that has made the market and you can just piggyback. Facebook succeeded because of MySpace, not in spite of it.
Are you suggesting the transmission company would refuse the electricity from the wind mills if enough people aren't paying for the clean option?

I'm curious how this works. What happens if you pay for clean and the wind isn't blowing at night? What happens if everyone paying for clean turns on their appliances and the demand outstrips the clean supply?

I highly doubt there are blackouts in these occasions so it seems like someone is getting screwed.
Interesting. According to this article, which I just looked up:

https://en.wikipedia.org/wiki/Butter_tea

they did originally use yak butter, and still do, but increasingly do use butter made from cow milk, since it is more available now. Maybe you saw a case of that.

Update: Just searched again and found a few more interesting links. Also, they (Tibetans) pour the butter tea into their tsampa, also a staple food among them:

https://www.eater.com/2016/8/25/12624068/butter-coffee-tea-t...

http://www.teafoodhistory.com/tibetan_tea.html

http://www.npr.org/sections/thesalt/2015/05/05/404435137/tea...

https://en.wikipedia.org/wiki/Tsampa
Yes, also important not to confuse correlation and causation IMHO. Even if we fully mirrored the rise of the Nazi party (in the political sense), it would not necessarily imply that we would mirror their actions (genocide, etc).

In situations like this, its important to step back and ask - under what circumstances would the US actually cross the same line that the Nazis did? (And I do not mean anecdotal instances - I mean the US performing outright genocide on a large subset of its own citizens). The odds of this are so low, in my opinion, that I would place a monetary bet it will not happen within the next four or eight years.

I am personally not a big fan of Trump, but I also do not think he is anywhere near Hitler-status.
Worked in a mall for a decade. As money moves out so do retail stores. Small mom and pop shops barely sustain because of little to no labor cost. Small businesses that do have to hire employees close down fast because labor cost becomes unsustainable due to low margin business. Worse is when big box stores moves out, they tend to be the attraction that drove people to the mall in the first place, and smaller stores got business from being "discovered" along the way in high traffic locations.
So what happens if it's night and the wind isn't blowing, does your electricity go out?
First use I could find is by John Derbyshire June 27, 2013 [1].

This is a powerful phrase that hopefully finds common usage. Perhaps we'd all have less contempt towards opposing views if we are reminded that violence occurs when contempt levels get too high.

[1] http://takimag.com/article/the_cold_civil_war_grinds_on_john...
Why would you need to lie? You're not even forced to say anything besides your name and address. Silence is your right.