skysight-inc/HackerNews huggingface dataset:
In their communities, they are.

Parts of the scientific community still insist on Fortran, and the DOD still loves Ada.
Don't you mean the "Dollar Menu and More" (tm) menu? RIP original Dollar Menu.

The McD app has coupons that can get you some decent quantities for food for pretty cheap, or at least it did when it first came out. I haven't used it in a while so they might have cut back on some of the deals they were offering.
Should companies be run or managed by engineers? I'm not sure that's actually a good idea as much as I'm not overly fond of MBA types either.

I think it's a faulty generalization either way, companies should be run by competent passionate people.
Well, you'd also need to buy extra disks for all that; you wouldn't send your only copy on a plane, right?

And then, oh doing integrity checking at the other end would suck.
Your definition of the word 'handbook' seems fine to me. I was expecting a technical reference work of some kind. I am a native English speaker.
I've always been curious to know how much of Qdoba's or Panera's business is driven by this phenomenon. It takes only one vegetarian to drive a car full of potential customers away from a place like McDonald's.

That same car full will likely be passing up on Burger King if there are any other options, mind. IMO the BK Veggie is literally tasteless.
In the electronic and bureaucratic control systems, changing state is the
point of the program. The thinking revolves around state, when it should be
updated, and what it should be updated to. Stuffing this all behind a monad
results in unnatural-feeling programs.

Changing state is the point of almost any long-running user-facing application. And you are correct, thinking about when state should be updated and what it should be updated to is very important. So important in-fact, that allowing state updates to occur anywere in the program, with no rhyme nor reason, dramatically reduces an engineer’s ability to understand that program.

It may feel natural, or familiar, or easy to change state wherever it is convenient to do so. But that doesn’t make it a good engineering decision. As I mentioned in another comment it introduces complexity around logical reasoning, future change, code re-use, and testing.

It is much simpler if you define your application’s state in one place, and in terms of the actions that can be performed to update the state. This is simple, and easy to reason about. Then the functions to update the state can be pure. Again, this is simple, and easy to reason about.
SSE is probably more common than a $1000 GPU.
maybe it's an expression of 'face' or a signal that the business owners know what they're doing because they had the wherewithal to hire foreigners to stand around?
it's not _that_ broken
Nice write-up. I might reference it for future debates.
American living in Singapore. For me, it's all about economic stability and employment opportunities, the two things I found lacking in US. I graduated in late 2000s in US and it was a really hard time for me. It was especially disappointing later to find that no one was even prosecuted.

"Well, at least our country has freedom of speech, brah!"

Yeah, no. I'd rather live in a country that provides a good living for its citizens and doesn't squander its wealth war mongering around the world for the sake of protecting some vague notions of "freedoms".
The man that called the world "fucking idiots" for trusting him with their personal information is somehow "less soulless" than other CEO's.

Somehow, that statement seems equal with, as Doug Stanhope put it, being the prettiest Denny's waitress.

But this is the top voted comment at this time, so HN seems to have a very short memory.
>> "to begin with it's really none of our business whether OP is lazy or diligent"

- Security is everyone's business. And people WILL criticize sloppy work in real life.

IMO, as a user and as a developer, both the examples you've written would be fine by me. In fact even the second one seems polite to me, when compared to the reviews I have seen for bad apps. :).
The USG is not giving me $10,000 to buy a ICE Ford (between fed and state, this is what I would receive). Your argument is fairly disingenuous considering the massive EV tax breaks in existence to today, that are temporary and have done nothing to lower the cost of high capacity Lithium-Ion batteries.

We're 12 years in with thie absurd corporate welfare and still no cheap EV car that can remotely compete with ICE. I'm getting a little sick of hearing "Elon will figure it out in the next 18-24 months." EV enthusiasts have been saying that for YEARS now.

I'm all for letting Tesla try to compete as-is. They've eaten enough corporate welfare. They clearly cannot compete with ICE. Luxury electrics should not be subsidized by the working poor, middle class families, etc.
Step 1: get into MIT...

Looks like that train has sailed. :-)
20 Exceptional Staircases to Lay Your Eyes On
Where are you getting this information? A 15K mile Leaf would typically have lost at most 5-10% of its original capacity (one "pip" on the health meter), and have a 70-90 mile range. My daily driver is a 2012 Leaf -- over 3 years old and I can still get over 100 miles between charges. I paid about $12K for it, fully loaded SL trim.

Nissan's battery comes with two warranties: an 8-year 100K mile warranty against defects, and a 5-year 60K mile warranty against capacity loss. Even a 2011 Leaf with 50K miles on it will have at least 70% of its original range, but most have much more. Batteries don't degrade nearly as fast as you think they do.

Tesla put out information about the original Roadster battery health a while back. That's a car that's been on the road long enough that owners have put a lot of miles (and charge cycles) on them. They averaged only 15% capacity loss after 100,000 miles. That was with even older battery tech. A couple year old EV is not "on its last legs".
"Beauty" has always been entirely socially constructed. There is no such thing as beauty, even when Beyonce "creates it". It is an invention of men as part of the larger social construcion of gender -- hence "what beauty is for black women" rather than black people in generally -- that is monetized more by make-up and fashion companies than by Hollywood. It's a myth.

The recent liberal development of the sentiments "everybody is beautiful", "everybody defines their own beauty" and the like is a naive attempt to mitigate a demonstrably deadly social poison by advocating that we spread it thin enough that it just becomes water. The actual solution is to identify that it is poison and abolish it.
That's the plot line of a hyper critical, yet insightful, joke that came out of one of the many AI downturns in past decades, that as soon as an algo or implementation works it isn't AI anymore, its (fill in the blank specialization). So AI is just the present set of algos that don't (yet?) work.

So that fuzzy logic, thats not AI anymore, thats a footnote in the EE control systems theory class, isn't it? And the face recognition is a parallel processing assignment in FPGA class, speech recognition is an advanced section in DSP theory class, etc.
Those AGM batteries have at best around a tenth of the life expectancy in equivalent charging cycles.
"This sort of thing happens in type conversion languages. You can either use === to stop conversion or you can understand how conversion works."

Even JavaScript isn't insane enough to somehow coerce a string to 0.
I think the point was that any parser should always produce clear messages. What it should not do is to print some nerdy text and require the user to have an internet connection and Google just to understand what the compiler was expecting.
I instagram loses a photo, nobody cares. If etsy loses an order is deal-breaker.

Not the same problem domain.

edit: Instagam has not that many customers. Has many users. That's a real diference.
The problem with the argument that "Programming skill can't be bimodal because that would be elitist and make me feel bad about myself being an elitist" is that there's a lot of evidence that programming skill is bimodal. Look at fizzbuzz as an obvious, if not entirely complete, example.

Would it make us all feel better if programming skill weren't bimodal? Sure. But a roomful of people clapping at that proposition doesn't make it true.
If you look at their strategy, they're aiming to make profit around 2020 when the Gigafactory is at full capacity and the Model 3 is shipping at full capacity. At that point, the government subsidy expires for Tesla (100,000 cars shipped by one manu) and they make full profits on their own dime. If they were really unsustainable, nobody would be investing in TSLA right now.

The tax subsidy applies to all electric cars, and has made the Leaf and other cars in its class affordable for many Americans, which has pushed electric car adoption.

Even in the case of Tesla, there are plenty of people who couldn't afford a Tesla if it weren't for the $7,500 tax credit. It seems silly, but it's a big chunk of money, and when you're stretching your budget to afford a nice, eco-friendly and American-produced car, the extra subsidy really helps.

Tesla is opening the door for sustainable transit in the U.S., has pushed other car manufacturers to follow suit, and is creating a buttload of jobs with their domestic factory, the Gigafactory 1, their local service centers, and whatever comes next.

It is frustrating to see tax money thrown at corporations, but hey, Tesla didn't take a multi-billion dollar bailout when they made poor business decisions and were going to cost America millions of jobs. Just something to put this in perspective.
Fiorina is known for leading the acquisition of Compaq Corp. in 2001 in the largest tech merger in history. In doing so, she would show cost savings by layoffs of a certain chunk of employees. "Cost synergies" was the label. I think the expected number at the time was around 10k. http://www8.hp.com/us/en/hp-news/press-release.html?id=23061...

In the next 4 years, Fiorina would sell off the printing business (which had higher margins) and double-down on the PC business (with lower margins.) Timing as it was, the dot-com bubble burst which affected every hardware maker (since tech companies needed to buy hardware to operate.)

She basically made the absolute wrong bets, and as a result many jobs were destroyed. Between HP and Compaq, the collective companies lost more than $13 Billion in shareholder value. Other companies did at that time as well, but HP was by far the worst.

When tracing the history of HP performance during Fiorina's tenure as CEO, she is arguably one of the worst who has ever guided a publicly-traded US company. A simple before-and-after of the company's position from the day she took leadership until the day she left is not a pretty picture.
The Psychology of UX
He was talking about new, so that's apples and oranges.

You can buy a used beater petrol car (but still working) for under $1,000.
Thank you for this! I love the interview format as well. One bit of feedback so far as I haven't actually started reading yet, it would be helpful to have bookmarks in the PDF to be able to jump around. Thanks again!
Law enforcement teams used EMP device for Garland Shooting
> What's the #1 Google result for T_PAAMAYIM_NEKUDOTAYIM?

This blog post is.

> What's the problem?

Some of us encountered it back before Google returned helpful results about it.
There are people who stealth camp on the city streets in conversion vans or smaller Class C RVs. They never park in the same place twice, and once it gets dark, have to be careful to not give themselves away (interior lights, movement, etc).

http://www.donniemyer.com/were-doing-this/1096
Lessons Learned Along Europe’s Road to Renewables
Transaction fees are paid to the miner who solves the block containing your transaction. It's an incentive for the miner to include your transaction in the block. Without fees, your transaction will get processed eventually, but miners tend to put profitable transactions first.

Eventually, the block reward will be very small and transaction fees will be the only profit miners make. So you're basically paying the miners to protect the network by verifying the transactions.
Why was this post downvoted anyway?
Our electricity costs are certainly more predictable: always going up.
Uhm I would love a Tesla (if they ever start selling right hand drive versions in my little backward western european country) but at an equivalent of €100K price tag (that means I have to earn ~€210K before tax, to be left with that amount around these parts) its a bit steep...

Neither am I sure that the inept electricity supply board would know how to install a charger for one, and well electricity is expensive here in Ireland, paid €1200 last year for just above 4000KW/hours for my home/office

Yes my petrol 4x4 is 10 years old, yes it does a terrible mileage in a country where petrol is €1.40/liter now, yes it breaks alot and has to be serviced (just this week) and pass yearly road-worthiness testing and costs me a fortune in tax and insurance (€700 + 330 last year)

Maybe if we werent taxed as much I could afford after a few years of saving a luxury of an electric car, until then me good old jeep will continue to drive me over the potholed narrow roads we have (which apparently all that road tax AND now local council tax was meant to improve)

sigh...

tl.dr: The article is funny but not all of us enjoy Nordic standards of living or wages (After tax), or have governments that are not out to fleece the taxpayers and hand their blood money over to failed banks and their developer buddies who helped them get elected.
- HTTPS is a premium feature not included in Internet.org's package...

- Internet services/sites are whitelisted - essentially by Facebook.

- ISP tracking is baked into consumers' access. (Like Verizon's SuperCookies, which have just been rolled back for US consumers.)

- Select developers get to develop for the web ... but based off permission from higher ups. Because we all trust Facebook as a caretaker of a dev platform... we already know there will arbitrary rate-limiting for these devs.

The best part of Facebook's story was that Zuck didn't need permission to build it. How ironic...

Facebook has hijacked the word "Internet" for this initiative.

At best this is a whitewashed and severely limited offering that works against the push for real Internet access. And it sets all of the worst kinds of precedents for first-time users across the world.

As for the PR spin around this campaign, some words that come to mind: "disingenuous", "delusional".

http://www.medianama.com/2015/05/223-facebooks-internet-org-...
I feel this. I just bounced from the USA for east asia permanently and couldn't be happier. No guns, no crime, peaceful people, no fear of burglary/mugging/fraud, better food/diet, lower taxes. I am still trying to get used to leaving my helmet sitting in plain view on my scooter, unlocked, for hours at a time.

My life now is the antithesis of my life in San Francisco (worst city I have ever lived in overall), and I couldn't be happier.
Okay, wrong how.
They probably do increase ratio of electric cars, which in turn increases supply of infrastructure, which will lead to increased demand for electric cars even when the subsidies run out.
I guarantee the leaf isn't a tenth as fun as the WRX. If Nissan would import the micra into America then you could pay even less for a small Nissan.
I agree the concept of 'non-nil' vars is very useful (and we have that in Nim), but I'm not entirely convinced by the rest of that argument. Namely, I don't agree that nil is rare enough to justify the verbosity Rust uses for it. Non-nil vars may be seen more often, but that doesn't mean nil vars aren't also often used, either. In Nim, both nil and non-nil vars are at roughly the same reach.. while in Rust non-nil vars are significantly easier work with. You may see that as a positive argument for Rust's safety (and you may be right for some domains), but I see it as more a negative argument for Rust's practicality.
If condition check type and not try to increment a string...

if (!is_string($notstr)) ++$notstr;

edit:

I think checking for integer is better, if it's just incrementing integer.

I was going to say type hinting but I just realized php's primitive cannot be type hinted.
JavaScript – How can I animate the drawing of text on a web page?
The gigafactory concept is just domestic manufacturing. It cannot change how much Lithium there is in the ground, how hard it is to get to it in these quantities, and how expensive it is to turn into batteries, etc. Its nice that Elon has his own manufacturing, but the cost savings compared to outsourcing are probably going to be trivial.

Unless he can get prices down to a 1/10th of what it costs today, he won't ever be competitive outside of the luxury market. Lets start calling a turkey a turkey here. EV's as the affordable family car is just not going to happen. When do the taxpayers say enough is enough? I think its time. Lets let Elon use his PERSONAL billions to run this turkey. If he did, we both know he'd shut down in a second.

The "scales of industry" argument is fairly bunk considering their previous source was Panasonic, who knows full well how to make cheap lithium-ion. There's only so much we can do to cheapen them. We're probably very close to the minium manufacture cost. Cutting out the middle-man will save Elon, what, 5% maybe, 10% if everything goes perfectly? He needs a minimum of 60-80% to compete with ICE.

Heck, the "gigafactory" is just a legal shell for panasonic to come in with their engineers and their patents and their processes under Elon's US company. Elon is just putting on his top hat and monocole and playing landlord, he is not engineering these batteries:

http://www.teslamotors.com/en_AU/blog/panasonic-and-tesla-si...

"According to the agreement, Tesla will prepare, provide and manage the land, buildings and utilities. Panasonic will manufacture and supply cylindrical lithium-ion cells and invest in the associated equipment, machinery, and other manufacturing tools based on their mutual approval."

--

tldr; Lithium-ion just isnt cost competitive (and has major wear issues). ICE is winning for a reason. We need something better to defeat ICE.

edit: downvotes with zero cites, zero cost arguments against my thesis but wishful thinking? Stay classy HN.
Except I didn't drink soda. I hadn't drank soda for like 6 years. The doctor didn't take ANY effort to determine what my actual habits were. He had an 8 minute appointment.. decided I must drink soda, and told me to stop.
First person to use a Duck Hunt zapper to control the UI wins a cookie.

Its an annoyance to repeatedly use arrow keys on remotes.
This is a very cool interactive article. You land on its best guess for the county you are in (easy, sure) but you don't realize that until you've read through what feels like a "local news" article detailing the average income opportunities and discrepancies in the county and surrounding areas. The focus is on each county instead of the typical approach to these executions which is to provide big filtering options and a heat map and tabular data.
Let's bring Azure into the trash!
Ask HN: What do you use for issue tracking?
1. What do yo use for tracking issues?

2. Is your issue tracker hosted by a third-party service or do you run it on your own servers?

3. Do you actually like your issue tracker or is it something that you are forced to use?

I appreciate your collective insight :)
That is all it is. His twitter feed consists nearly entirely of retweets promoting Democrats and smearing republicans.
Costs aren't being added to the gas cars, which would make sense. Instead, normal people are subsidizing luxury cars. That's stupid.
Meet the Startup Battlefield Companies of Disrupt NY 2015
Relax, Robert Childan.
It comes from buying into the anti-government propaganda that the hard right has been pumping out for decades.

Once you buy into that, you start applying that faulty reasoning to the real world, and you come up with afactual claims like the original poster did.
NFL linebacker's case brings attention to laws to prevent online revenge porn
On the other hand, you may have had the exact same blockage happen if you WERE taking statins. The research around people with "low" cholesterol is (to the best of my knowledge) very lacking.
The article is mildly interesting in its own right, however, the localization of the writing based on the selected county (defaults to a guess based off of your IP address I imagine) is extremely...unnerving? Not because I like to think I'm hidden. I know my location is easy to find, but the way the article went about it was just off.

I think if it made more of an effort upfront to show that certain aspects of the following article will change based on your location and identified what those parts were, the effect would have been cool instead of weird.
I think there are sea changes going on in food comparable to those that have shaken up the music industry. Pointing to Chipotle and Five Guys barely scratches the surface. Look at rapidly declining sales of Budweiser and Coca-Cola products - there's something bigger happening.

There's probably a book to be written on the topic, but I think social media - Yelp, Instagram, Pinterest - are changing eating by giving good restaurants and food/beverage producers powerful word of mouth marketing. At least in the Detroit area, there's been a blossoming of really good restaurants (ranging from reasonably priced pubs to fine dining). When I go out to eat, even in an unfashionable suburb, I expect I can find a place with good craft beers and decent menu options with ingredients that would have been rare a decade ago.

More to the point with McDonald's, I suspect that it's harder and harder for them to buy mindshare in a world with all of these channels. They can't saturate Facebook/IG/Twitter like they saturated the TV and radio airwaves. It's harder and harder to prop up a mass-produced, mediocre product with a multi-billion dollar marketing budget.
I find this article interesting in the light of recent passing of Dave Goldberg, when most of the commentators got on to "please folks see your doctor", even if you are healthy, bandwagon.
The reason a comment like that particularly stung at HP was that for the first 50+ years HP was rather successfully run by Bill Hewlett (Masters of Electrical Engineering at MIT), and Dave Packard (Masters of Electrical Engineering at Stanford). A lot of the people high up at HP while Carly was CEO remember fond lunches and dinner parties with Dave and Bill, they were quite active in the company.

I agree that MBAs aren't a bad thing, and HP had many for a lot of years before Carly. But I would argue that it's exceptionally hard to change a company culture so drastically. And it can he detrimental to the organization as a whole.
The End of California?
Embedded and especially bare-metal applications really are 2nd class citizens in the rust ecosystem though. You basically can't use cargo (or at least not without a whole bunch of hacks) and many important features for low-level code are still gated and won't be available for 1.0.

I think it's a bit of a shame because that's basically the #1 differentiator with languages like Go or Java as far as I'm concerned.

But beyond that it's true that the language itself has a lot of potential for embedded applications. The runtime can be made almost as tiny as C's and with libcore you get a much nicer and safer "bare metal" environment than what you'd get in C. And thanks to LLVM you can easily target a whole bunch of architectures.
Fair enough. My argument here is more general than Rust itself, it's relevant to all languages with an Option type and no null. The verbosity can of course vary by language.