skysight-inc/HackerNews huggingface dataset:
The correct answer is 1,065,353,217. You have an off-by-one error in the following line of argument:

> The number of values between the two is 0x3f800000 - 0x00000000 == 0x3f800000

This should be corrected to:

> The number of values between the two is 0x3f800000 - 0x00000000 == 0x3f800001

In general, the number of numbers in the closed integral interval [a, b] is not b-a, but 1+b-a. For example, the closed interval [0,10] contains 11 integers, not 10.

(The above assumes that the original question assumes the floating point number -0 to be outside of [0,1]. Otherwise, you'll have to add 1 more.)
That same competitor pays its drivers less (Lyft takes a smaller cut than Uber). So in this case, tipping has not served as an excuse to pay employees/"contractors" less than the competition.
You might want to try Kotlin which is basically just a Turbo Java without the baroque fluff Scala brings to the table.
In my experience, this is a much bigger problem in web programming than elsewhere. Take the JVM, for example, since it's the subject of the article- it's been around for decades and while things have changed, you can still pretty just just keep using whatever you're using without fear of the developers jumping ship for something shiny.
I think the problem here is that Snapchat manages both content and the ads.
Fortunatelly IBM decided to do the right thing:

Update 3:53 pm: Asked about EFF's criticisms of the patent, an IBM spokesperson said that "IBM has decided to dedicate the patent to the public." The company notified USPTO today that it will forego its rights to the patent.
> Is it a particularly ethical standpoint to say "I don't pay my driver's a fair wage, but if I did then I wouldn't make money!"?

Not very ethical, but rational, profitable, and prevalent. Cost is a large area to compete in, and people are expensive.

It would be nice if companies acted ethically, but that isn't their reason for existence (especially in fast growing or large companies).
If it's not surprising to me when companies act unethically, can I honestly say that I expect them to act ethically? Not if expect means "assign high probability to".

I agree that regulation is needed. It seems that often basic economics (people want to move around as cheaply as possible) lead to unethical situations (paying people as little as possible to move people around). I'm far from an expert of economics, but it seems like regulation is a way to change the rules of the game to have more ethical/fair/uniformly distributed equilibriums at some cost in net efficiency.
I think I'm in love.
I don't see the parent's comment as taking the question personally -- it's just taking it a step further.

Yes, we've all met (or been, at occasion) such people; and yes, it's theoretically possible to interview 100 of such people at the same time. But in reality, the probability of that happening is astronomically lower compared to the probability that the problem was in the interviewer in the first place.
It's a temporary ban of seven countries that was drafted by the Obama administration.
You're forgetting that this is every web developer's dream. To always keep learning new frameworks (to do the same fucking thing) over and over.
Whats really cool is the "word math" that these enable.. equations like QUEEN - KING = DUCHESS - DUKE

https://blog.acolyer.org/2016/04/21/the-amazing-power-of-wor...
I am publishing a book in the following months that covers all the items you mention, IAM, fully Cloudformation, deployment with Gradle etc. The language I picked is Java because we thought with the publisher that Java at Lambda has very little written resources. If you are interested here is the link and if you pre-order it you can access to finished chapters already:

https://www.amazon.co.uk/Building-Serverless-Architectures-C...
Dmoz closed as of Mar 14, 2017 – continue with a new project?
European cities are not smaller in terms of population or services offered. It's just European cities are better planned compared to most American cities. This whole "suburban" lifestyle .....
Custom engineering design and construction is very expensive because they cannot amortize the costs over many units. If it was like tomatoes, that is being produced by the thousands then you would be able to get a very specific price. But one-off are very hard to cost, especially in the absence of detailed design and specification.

You might be better off looking at what the established farm machinery companies are doing, for example
John Deere has an autonomous tractor. There are also many companies who retrofit GPS and other automation to existing farm machinery. I found thousands of different automated farm machines with a quick Google search, so I don't know where you have been looking.

Another option is to contact the engineering faculty of a nearby university, they might be interested in solving a real world problem if you can produce a preliminary requirements specification.
Uber & lyft is really bad at showing how it works because the system is over complicated. The way it looks is they are getting ripped off all of the time and so they don't like it.

http://therideshareguy.com/how-does-uberpool-pricing-work/

Basically they are paid the same way as an UberX ride, by mile and by time, at a lower rate (0.75/mile vs 0.85/mile). But they are also paid for going out of their way to pick up new people in between, which in uberX they are not compensated for. Some math nerd in the company probably calculated it as equivalent using their historical data, said eureka, and made the business case for uberpool.

But that is way too complicated to understand, so natrually people feel like they are ripped off. If they just made it same uberX rate and just told drivers you get paid for distance and time and do not show them anything else, I don't think they will care. To them it's would be another uberX
I know it is not correct to ad "me too" comments here, but I went here for the same quote as you. It is the best quote I have never seen about security because it does not depict a evil hacker that breaks a not secure enough wall. It depicts a clever client that goes through a stupid security hole. That's a better analogy for 99% of security hacks.
Insurance companies are taking climate change seriously, for sure. I found [1] after some quick googling.

[1] http://evanmills.lbl.gov/pubs/pdf/climate-action-insurance.p...
€30 in my city for unlimited bus travel for a month.
I understand that you're an Elixir enthusiast, you probably feel like people have not yet seen the light and they need to be educated about superior alternatives, but two things about that:

1) It borders on proselytizing and it's annoying to see people coming over to preach the good word on every other Ruby article. If your language of choice has merits, it doesn't need hype men, people will use it naturally.

2) Elixir is not Ruby, stop trying to sell it as such. They're two completely different languages. That one has heavily influenced the other's syntax choices is merely a sign that the language author liked what he found in Ruby before creating Elixir.
I completely agree. Bricks would be a better metaphor and still completely contrived. And turns out, you can't build skyscrapers without concrete and steel :)

And just to be pedantic: When I bought my first SwissTools Insider[1], I realized that it's actually still possible to innovate in screwdriver design. That doesn't make them better for every task, but hey, that's the way it is.

[1]: http://www.pbswisstools.com/de/werkzeuge/quality-hand-tools/...
What "better java" means? It means I can build the same stuff but in a better way. Easier to read, to maintain, and at least with the same performance.
Scala has a big plus on asynchronicity, but the article doesn't even try to go there. Libraries like Akka, FS2, Monix, ScalaZ etc are not mentioned either.
In Scala I can use everything from Java and much more, and this is why is better.

I'm sure by tomorrow someone with more time than I have will write an extensive article explaining in more detail why is better.
Why would they buy them back when they can just wait the 90 days for it to expire? I once sold my options in an authentication not fully understanding the tax issues, wish I would have let mine expire...
Wouldn't it be better, if half of that money could go into improving the public transport of cities or building new infrastructure that would ease up congestion on roads?
Snap not snapping short-termism
How long before facebook gets sued over a suicide it failed to prevent?
The web used to be a very open place. But as commerce and big players started operating within it, the influence of money and power came with it. And that's what this is.

I can watch movies in my browser today, and i can't just 'download" them. Maybe i missed a memo, but this isn't the problem it gets made out to be - that there is no way to distribute movies without DRM in browsers, is not so true. There is - it's maybe just not perfect, or ideal.

And I recognize the current solutions are not perfect. But once you let a little DRM in, it paves the way for so much more.

My concern is a web that cannot be explored - basically reverting back to flash. Ironically, this is one of the mechanisms used presently for DRM. Which - is fine. But remember when most sites were flash based? What's to stop the major players from DRM'ing everything just because they can?

This won't make the web a better place. We won't see new tech or new possibilities - just more bullshit and more frustration. It will serve corporate interests well, but not ours. So with this the web becomes more for them, and less for us.

I'd love to be wrong, and see this play out in a tasteful manner. But knowing the players involved, that's not likely.
Oh, that's easy. Just take a look at camera (tele) lenses: https://pixsy.com/most-expensive-camera-lenses-ever/
I know this is a joke, but at the same time, it illustrated how influential the GNU project is. All thanks to RMS :). I don't care how unreasonable this man is, he is a great man.
Maybe I'm totally wrong on this, I guess it just didn't seem like an odd choice in the UK and other countries have much stronger focus on cycling. "People I know" will be a hugely unrepresentative sample though.

For another unrepresentative sample, cycling commuters on strava average a bit over 10 miles: http://www.cyclingweekly.co.uk/news/latest-news/10-stats-pai...

I can't find the stat I want for Copenhagen, they have 1/3rd to 1/2 of people commuting by bike but I can't find out how many journeys of ~10km are completed by bike. I know it's a small number of cycle journeys, as many are shorter, but that's not quite what I'm after.
I actually don't remember too many problems - we drove from Marrakesh over the Atlas mountains and stayed at Ouarzazate for a while before driving back.

The problem we did have was caused by a lack of clarity as to whose responsibility it was to keep an eye on the fuel gauge... :-)
Because you dont have any friends
I ctrl+f for stuff from Nottingham every month, as I live there and I'm curious. It's nice to see you pop up almost every month. :)

However, I dont think you ever include a website. And that's naturally my next port of call to find out more.

After doing some google-fu to get rid of solidworks results, I've struggled to find you online..

Not saying you need a full social media presence - but a lack of any online presence at all may be discrediting you? It also means I can't answer basic questions like, "where are your offices?" and "who are the directors?" (without going to the length of companies house etc. etc.)

Food for thought! :)
If they forgot the intelligent thing they had to contribute then it wasn't intelligent to begin with - it's more likely to be a knee-jerk reaction. If people read the article properly they'll already have taken more time than would trigger a knee-jerk reaction.
Why 3 more? Grandparent already counted one of the border points, so the correct number is either 1 more or 2 more, depending on whether you consider the floating point number -0 to be in the closed interval [0,1] or not.

See my other posting for more details: https://news.ycombinator.com/item?id=13772578
Yeah, but I'm referring to something to let wasm code target the browser ui... where as most react-native is a JS bridge to native UI.
a. "it depends"
b. "it doesn't matter the author is WRONG"
c. it's better to do it in <approach of the month>
Looks great , but some openings need someone with 4 years experience. That doesn't sound like entry level stuff.
Top Dubai Singapore and Malaysia DMC in India
One driver told me that lyft kept a portion of tips until you've covered a portion of some incentive. Thats the annoying thing about digital tips and most of this crap, there is no real transparency on who gets what. If you really want to make sure a driver keeps a tip, just give it to them directly in cash.
But, again - if you're the person using those tools, you care about the difference. The difference in reliability, usability, power, whatever.
Phishing Trends Report – 2016 ended as the worst year for phishing in history
Browser as a Service Market
This does not include the health insurance / overtime payments. The 28% is vendor fees, onboarding and recruiting costs.
Ask HN: Alternative to Dropbox's Public folder?
I have received an email today from Dropbox announcing the end of the Public folder. This used to be the most valuable feature of all dropbox - you could run HTML pages from there etc. DO you know a similar alternative?
There are more than enough nukes out there to do the job. Famines and massive numbers of refugees will almost inevitably lead to wars...
Li-Ion Batt Inventor: New Tech for Fast-Charging Noncombustible Batteries
Müttefik 2016 indir
Can you disclose which provider do you use to host the servers? Do you have a fixed bandwidth or pay per GiB of transfer?
She only feels sexually harassed when it's done by a silicon valley nerd. Try becoming attractive
Ban proposed on SF bicycle 'chop shops'
BMW sells online (example:'http://www.bmw.co.uk/vc/ncc/xhtml/start/startWithModelSelect...), and has more expensive cars.

I'm not sure they sell in the USA, though.
Evolution of Marketing – From 1950 to 2017
Design patterns for hoomans
I think this comes back to the original statement of "It's always reasonable to expect companies to pay their people a fair wage."

This is a bit ambiguous, and perhaps it's a different reading of it that's the contention.

Expect can either mean I think it's likely, as in I expect the sun to rise tomorrow, or a requirement.

I am not surprised that uber try and pay their drivers so little, but I am disappointed and want better from them.

> I'm far from an expert of economics, but it seems like regulation is a way to change the rules of the game to have more ethical/fair/uniformly distributed equilibriums at some cost in net efficiency.

I agree. Safety regulations are a good example of this.
Hitting each representable floating point number with an equal probability does not generate an approximately uniform distribution of [0,1). For a sufficiently small positive number, eps, you have to have equal probabilities of numbers falling in [0,eps) and [0.5,0.5+eps) for a uniform distribution, and using random bits would fail this requirement.
I like in https://serverless.com/ 's serverless.yml how it provisions the CloudFormation stuff and gives you a way to manage IAM permissions.
It is unrealistic to expect that any one person could convince a sizeable portion of the world to become vegetarian, but simply by being one you can influence others without being evangelical. I would not have become a vegetarian without the passive influence of friends who demonstrated that it was possible (and easy!), without actively encouraging me to switch. Being a vegetarian also reduces the amount of meat consumed by people who I cook for, or who prepare food for a group that includes me.
Asynchronous networking benchmarks for upcoming PyPy release
> This is only the opinion of one person, take it however you wish.

As someone who is supposed to be unable to be empathetic, I kinda wonder how you came to have this opinion.
Edit: nvm I read this backwards

Do you need a license of Windows 10? (Read the article)

I think now it's hardware licensed in the case of a computer that was bought with Windows 10 on it. Then on re-installs you just get an iso of Windows 10, no key. So in this case if you didn't have Windows 10 to begin with...
How to Create Compelling Call-To-Action
TBH, driving is a harder skill to learn than being a McDonalds fry cook.
How to Survive in the Burgeoning Market? 5 Perfect Strategies to Follow
> During the dinosaur age it was a lot hotter [0] and there were really extraordinary organisms.

1. there were also no humans, we evolved during a relatively dry and cold period and for the most part that's what we (and our current globe-spanning civilisation) are adapted for. That's also very convenient as heat and humidity are parasite havens.

2. the second issue is rate of change, globe-spanning temperature changes generally happen on geological timescale not generational ones, and in the latter case they usually triggered massive extinctions.

Neither of these is beneficial to us as a species.
"Till", in fact, predates "until". http://english.stackexchange.com/questions/6989/what-is-the-.... See, for example, the marriage service in the Book of Common Prayer (1662): "Till death us do part".
I know was just still making a point that you can buy an Intel CPU today that was designed in Israel, manufactured in Ireland (Fab 24) and the packaged somewhere else and it's still "American".
https://en.wikipedia.org/wiki/Evolutionarily_stable_strategy
There's a fair amount of drivers who went out and bought a late model four door Uber approved vechicle; in order to get their side hussle on.

That's the rub. If Uber allowed any car, and let the customer decide if it was worthy--I wouldn't have a problem.

Until Uber supplies the vechicle--I'm all for making them pay minimum wage. I know it seems crazy because we are used to this rediculious Uber model of doing business.

I couldn't imagine applying for a taxi cab job, and this is said, "Oh yea--you need to buy the yellow taxi? Is that a problem dude?"

And I don't buy the Uber presumption that wanna be drivers just happen to have a late model four door vechicle collecting dust in the garage.
Rapidly? How long since ATI/AMD has been talking about improving their drivers? A decade? No, if history is in any way predicting the future then these talks are completely hollow.

Intel drivers are Ok though.
Goodness, that was a ridiculously condescending comment considering you could have just provided the NOAA link and had a positive discussion instead.
Anecdotal as well, I suppose, but my experience is similar. I grew up and lived in LA for 20 years, frequenting San Diego (SD) once or twice a year on average before moving there for about a year. I've been to some of the large cities (St. Louis, Newark, Boston, Detroit, NYC, Portland, San Francisco, Sacramento) and now live in Seattle. Northern California (NorCal) is very different from Southern California (SoCal), which itself is very different than any other place I've been to.

The sun, the sand, the year-round summer-like temperatures -- it all feeds into the lifestyle. This was much more pronounced in SD than in LA. I had trouble conversing with random people on the street or elsewhere in the Northeast or Northwest (Midwest was actually easier than SoCal).

The near-constant pleasantness of the weather encourages you to be more active and "out" more often. It was a very regular thing in SD to go watch sunsets on the beach (regardless of season) after work. The proximity to the border made it pretty hard to find a bad Mexican food place and the tacos -- oh, the tacos -- were amazing. There are whole companies (mostly startups) that brand themselves as a "go surf in the early morning, come to work later" sort of place. There certainly is a myth and sort of "magic" to it that I don't even think the movies and media capture.
81 EUR in Berlin for the "normal" ticket (zones A+B), 100 EUR for the whole network. Discounted tickets for late sleepers. :-)
Confusion over GitHub’s new ToS, open-source projects remove repositories
This?

https://www.amazon.com/Samsung-Class-Adapter-MB-MP32DA-AM/dp...
Interesting stuff, would love to learn more about it. I might as well just do my own research on evolution of marketing. Thanks for the idea !
Yes, but the physical size of American cities was a deliberate choice on our part. We could have had denser cities if we wanted, and we could fix that starting today if we wanted.
Oh, you sweet summer child. Just because Uber says "ridesharing" doesn't mean it's actually ridesharing.
(Presumably to sustain the will power to work 18h days on 5h of sleep)
Scala is compiled against the jvm, so you're able to e.g. compile a scala jar and call it directly from java.

A couple of caveats, though.

- collections are different. You'll need to use helpers from JavaConversions, etc. to e.g. turn a Scala list into a Java list.
- scala methods with default arguments are irritating to call from java.
- avoid the more esoteric scala features
Sure. Our overheads are a lot lower here - free healthcare, Xero for accounting and a simple tax system makes things easy, low rent, reasonable salaries (but a better standard of living) and so on.
And no capital gains tax.
Yes, I think error messages are the weakest point of Clojure. The rest is pretty good though. :)
I know you're joking, and while it is cool, that's kind of my thought as well. Yes, get the X11-style integration working so it's easier to run linux gui software... but imho the Windows desktop since 7 is better than most on the linux side.

I'm glad to see this work getting done.. and I hope in means native docker for linux and windows containers native... though, I also have no interest in running windows containers either... it would be nice to see the option. Not sure if this effort will bear fruit to such extent in Azure, but I can't help but think if it reaches compatible enough for docker linux containers, that Azure will get a very compelling docker story.
In fact, for a long time the methods used to date the universe using cosmic observation would gave us dates that were more recent than some of the older rocks on earth.
Ocado in the UK did more or less this. They started out partnering with a large supermarket chain and then started building out their own automated warehouses. The big chains all offer online ordering and delivery, at times with scale that makes it worthwhile for them to run dark stores which are closed to the public and only fulfil online orders. At the other end of the spectrum there are companies like the one I work for offering online ordering and delivery services to smaller independent shops, we provide the website and logistics and they use existing shop staff to pack orders when the shop is quiet.
As the sun gets older, it becomes more and more luminous [0], so concentrations of CO2 that didn't cause a runaway greenhouse process in the past may do so in the future, because we're getting more sunlight. While this effect is not really noticeable when looking at recent history, once you start going back millions or billions of years it starts to become significant.

[0] https://en.wikipedia.org/wiki/File:Solar_evolution_%28Englis...