skysight-inc/HackerNews huggingface dataset:
For the sake of exhaustivity, let's point out that numeric literals in Perl6 separate rationals (Rat) and floating-point numbers (Num), which means the first Perl6 example would work as intended provided we stick with Rat:

> 123456789 - 0.0000001
123456788.9999999
> (123456789 - 0.1) - 123456789
-0.1

Rationals represent numbers of the form a÷b, with a a bigint and b a 64-bit integer. When b gets too big for that fast representation, it gets converted to a Num (ie, IEEE 754).

> (1 / (10 ** 100)).WHAT
(Num)

That tradeoff is reasonable, as numbers that cannot be represented this way are very likely to be non-rational math (eg, sqrt, exp, sin, pi, that kind of thing). For money, this is safe. For real numbers, well:

> sin(0).WHAT
(Num)

FatRat uses a bigint for b. Obviously, it still cannot accurately represent non-rational numbers such as pi.

Reference: https://docs.perl6.org/language/syntax#Number_literals
https://docs.perl6.org/type/Rat
A stalemate is when the belligerents have fought to a draw.

A ceasefire is when they could fight more but choose not to.
Well, yeah. If you have any reason to suspect that you will need to run your code on other platforms or compile with other compilers, don't do compiler-specific things. Just do it cross-platform the first time.

Hell, even if you don't think you'll ever need to do that, you should still avoid doing things that are platform or compiler specific.
The Binary Sketchman
Sure, will do ;-) But it was also meant as a distraction for those who are experiencing election anxiety.
yeah, thats kind of my point. I wonder if there's enough sub-sets of society that it's actually a majority or not?
Seems to be no reason why GET should return the original payload. No client should even expect that as the resource could easily have been changed by another client in between requests.
> I'm going to assume the API won't change, even if
> I'm using undocumented and warning-spitting methods.

And here I disagree, quite strongly. If I'm using
"undocumented and warning-spitting methods" then I know what
I have done is a hack and those methods could disappear or
change at any time and I should proceed at my own peril.
iOS's Stocks App Clone Written for MacOS with Touch Bar Support
Thanks for the kind words. You'd be surprised how motivating they are. <3
MetaMask – Brings Ethereum to your browser
Microsoft Will Defend World Chess Champion Against Russian Hackers
I love the idea of a 24 hour clock with 0000 at the bottom. Then the hour hand roughly follows the sun around all day, and a glance at the clock gives you the phase & time of day regardless of light cues or any other bits.

(Former submariner so a somewhat special case ;)
Part of the problem is that it's easier to implement a competition/kill/survive mechanism than to add realistic interpersonal social dynamics. If you want to avoid competition or at least killing things, you'll have to be a lot more creative.

It's (relatively) much easier to find an audience for a film or book that is focused on dialogue, social interactions, and whatnot, than it is to do so for a game. I applaud efforts in this area, but I can see how it's easier to go for kill/win/compete style games.
comparison with other codecs at fixed image size:

https://drive.google.com/drive/u/1/folders/0B0w_eoSgaBLXQk1V...
Given that you have a few customers that are already happy is a good sign. You'll now have to continue pushing forward to getting more onboarded. Figure out who to go after based on the customers who are already with you.
It would also be particularly good if it acted as a USB or Bluetooth HID keyboard and/or touchpad.
Aye, it's one of the (very) few good things you can say about them (generally).
Your argument supports the view that P is a useless concept, not that that argument is pointless.
What actually works, conflict resolving by party separation and having deterrents that could wipe out both sides leaders.

Pakistan/India.
Iran/Iraq.
Russia/America.

Conclusion, Nuclear weapons reduce Civil(ized) Wars.
Looking forward to the time

When Siri can spit

Some dope rhymes
Know enough about programming that learning the n+1th framework isn't a particularly high bar to cross.
That's cool but can it invert a binary tree on a whiteboard?
I've watched some of the porn that's like what you describe, and yeah, it seems to be the same camera guy every time - and nobody else but the girl - but I think the key distinction is that they market themselves, they do sell the videos, and they are actually producing porn that a lot of people end up watching.

One of the things the article points out is that if you're going to "exploit the loophole", it's going to take about as much work as actually running a production company. This seems to be the case here.

(And, presumably the guys in question are also keeping records of the actresses, filling out all the paperwork, etc. No fun going to prison for fucking a 17 year old on camera.)
As far as I can tell, the reported "safety concerns" are that if you're allergic to mushrooms, you may be allergic to mushroom-derived protein. That doesn't seem unreasonable, and every product I've seen based on mycoprotein clearly identifies the source as mushroom-based.
This sometimes gets "localized" too, so you see "
- Le film commence à vingt-deux heures trente.
- The film begins at 10:30 pm. "
on a bilingual sign.

Google Translate sometimes seems to know how to do this too.
I'm skeptical too, but I could envision a path where this gets a lot of the work done at a tooling level. All these products will have CAD models behind them already, AutoCad and SolidWorks, et al, could introduce tooling to pump out the assets necessary for this at not-terrible levels of effort, couldn't they?
Women across France will leave work at 4:34 p.m. today. Here’s why
As far as I can tell, the biggest users of IRC in this fashion have been malware and bitcoin (I think bitcoin daemon finally removed this method of peer discovery.)
Election day
>Since its introduction in 2013, the protein drink Soylent has become the go-to food substitute

Maybe I'm being pedantic, but Soylent is not a protein drink. It's primarily a carbohydrate drink.
brew update: updates formulae and Homebrew itself.

brew upgrade: updates everything.
> If P = NP, then P^X = NP^X for any oracle X, right?

Edit: No, I think. See child comment by JadeNB.

Probably wrong {
Yes, since we could just not invoke the oracle. But people do this sort of stuff to study it backwards e.g. what do P^X and NP^X (and any class^X) tell us about P and NP (and any other class).
}

I hope this is clearer, let {A, B, C, ...} be the set of all oracles.

For TM + A:

P^A is the class of problems that can be done in P time on this machine.

NP^A is the class of problems that can be done in NP time on this machine.

Similarly for

TM + B

TM + C
...

This theorem says that if we choose one of these oracle machines uniformly at random then P =/= NP in _its_ model of computation a.s.

This is an entirely probabilistic statement about machines that are more "powerful" than standard TMs.
Metatab. Metadata for mortals
>>No, there doesn't. The "reality" is this: you are using the code I have given out, and that's all you get from me.

Fine, then say so on the readme file! It's not lack of updates people are worried about. It's the uncertainty that comes with not knowing whether the owner intends to continue developing it or if they have abandoned it. If you pay some attention, you'll see that's what this entire conversation is about: the owner of a popular project being the single point of failure and then going missing.

>>I do not owe you my free time because I posted a library on GitHub, though I may choose to give you my time. I am also free to rescind that offer at any time, and guess what -- I do not need your approval to do so (because, really, you are not that important). End of story.

Again, no one is asking for your free time. If you don't want to update the project or push fixes, fine, whatever. The only thing people are asking you to do is to transfer ownership of the project - or at least admin/maintainer rights - to someone else in a responsible manner if you decide to abandon it. You may call this "entitlement." I call it "being an adult."

And frankly, get over yourself. You aren't that important either. Just because you posted a piece of shitty code on Github doesn't give you the right to act like an asshole when people come to rely on that code. Try not to let it get to your head too much, mmkay?
For my part, I'd agree with you. But I also have to admit that my tolerance for 'typical feminist schtick' is much lower than my tolerance for those who question it.

I'm fully aware that this is not fair, and I'm trying to compensate, but that's how it is for me right now. It's much harder to challenge something than to (somewhat callously) reject it, and that sucks.
Will I need a dongle to use it on my latest macbook? And if so, has the price of it also been cut to a reasonable 19.95?
What if there is no wifi ? It doesn't have an ethernet jack or at least a comm/serial port

You also forgot about the vga, mouse/kb ports, also no slot for CF cards :(

How am I supposed to connect to a printer with this pro machine? It has no printer port.
I remember that we were going to revamp existing cities and build new cities in accordance to this wonderful transportation device that would change everything, of which I cannot recall the name. I currently see them used as joke props in movies.
> serverless cron.

damn, thank you. Anywhere I can see implementation details? Are you rolling your own system from the ground up, or using something like dkron (http://dkron.io/) behind the scenes?
Building Real-Time Analytics Dashboard Using Apache Spark
I think that historically, n-bits refers to the architecture's word length and that may or may not match the size of the address bus for a particular processor. Likewise, historically, multiple smaller than word-length data structures were sometimes packed into single words. The mantissa and exponent of IEEE 754 kinda' sorta' do something like that if I squint real hard.

Not that bitpacking words is particularly execution efficient, but maybe the space savings is worth it. Probably the sort of thing that's worth benchmarking in an actual app. Likewise with memory usage; I mean 1GB may be more than enough for a particular application and minimizing the OS may be a useful tradeoff for saving halving reads on 64b or greater data structures.

Anyway, the intent of my comment was to provide an explanation not promote one dogma over another...I think the big reason the SoC is 64b is 64b seems to be a sweet spot in the ARM powered credit card sized computer market place right now. And if I were considering this board but 2GB RAM was a concern, I'd probably go with an AllWinner board with that much. For example a BananaPi: http://www.banana-pi.org/
New Report Lifts Curtain on Russia's Construction of Powerful “Cyberarmy”
Bootstrap Your Angular Dart App with GitHub Pages
(cross-post from https://news.ycombinator.com/item?id=12886968)

Take a step back and focus on JavaScript the language. Really learn how things work. Then take a step even further back. Learn more about data structures, about abstractions and how to think declaratively vs. imperatively. Rinse and repeat for the rest of the stack.

That way you'll have a solid foundation to build on top of. At some point you'll start to see patterns, and that all the "new" things are just incrementally improved materializations of patterns and concepts that have existed since way before the web was even thought of.

Spend most of your learning/experimenting time on fundamentals (timeless). Learn actual implementations and specifics when you need to, just in time. Avoid learning specifics (lib/fw) just in case.

Source: My own personal experience + the very insightful experience of teaching classes in JavaScript and React the last two years.
core.async is using locks under the hood - it's just hiding that from you as an implementation detail.
I have very mixed feelings about homebrew. When it works, it is awesome, but when it doesn't it can be a serious nightmare. In particular, homebrew refuses to run under sudo. Instead, to instal in /usr/local it wants me to recursively chown /usr/local to myself, which is a Really Bad Idea (tm). I have mostly stopped using it for this reason.

I understand that running a program that runs third-party scripts under sudo is a security nightmare, but there has to be a better solution than globally chowning /usr/local.

[UPDATE] Apparently, this is no longer the case. Good to know!

[UPDATE2] Alas, the problem seems to not have been fully addressed. You still need to chown /usr/local/bin :-(
Data driven literary analysis
I'm not very sure that such things can be compared in the manner they are being compared.

Israel has a 'cease fire' with Egypt, Jordan that seems to be working.

North/South Korea.

Georgia/South-Ossetia.

Bosnia/Kosovo/Croatia/Serbia.

South Sudan (kind of).

And I don't think that anyone is naive about how the one's that failed ended up failing ...
Show HN: BeachfrontDigital
The Architecture of Change: The Bernie Sanders Campaign and the OSI Model
Ditto. I install almost everything via brew and brew cask, and store the list of packages in git. It makes setting up a new machine a breeze. Thanks for all your hard work!
ScalaFiddle: Getting to know Scala the easy way
Sure, and there are already standards for exporting 3d geometry data.
Fascinating. In fact by devoting half of its time to the first algorithm, a quarter to the second, and so on, it will solve it in the same big-O as the most efficient algorithm! (Albeit with a horrible constant.)

That said, this algorithm does not solve the decision problem because it can never return a no. Only a yes if there is one to be found.
Checking the facts, we're both a bit off. From https://today.yougov.com/news/2015/09/01/country-split-legal... :

"44% of Americans think that prostitution should be legal while 46% think that it should be illegal. Democrats tend to support rather than oppose legalization (50% to 40%) while most Republicans oppose rather than support legalization (54% to 34%). Independents are evenly split, 45% to 45%."

As I expected, men are more pro legalization (59%) than women (30%).

I think you underestimate the left's anti prostitution fervor. Their stated arguments are around exploitation and trafficking.
I'm still amazed people pay for this shit when fully-regulated formulated meal replacements have been around for years.
Any more details about the Hyper Func?
Me too - and because their web site sucks.
Fortunately, there's usually an adequate TL;DR for anything posted to HN
Twitter bots responsible for about one-fifth of entire US election conversation
Aren't there lower bounds to the size of the parties for which this would be a guarantor of deadlock? As in, does this work at the gang-scale, or smaller organizations where physical violence is substituted with, say, fees?
Anyone got suggestions for what a web dev should read or what classes he should take to understand what this guy is saying?
Same here. There's a wealth of amazing games that I haven't played, considering that I stopped being an active gamer somewhere during the GameCube 'era'.

But in the same way that I seek out 'old movies' carefully, I'm very selective in my gaming choices. Currently I'm working my way through Red Dead Redemption and the Avernum series, but a large amount of games from the Xbox 360 area don't appeal to me at all anymore, for example.
The supplement industry is big in Utah and Orrin hatch has blocked oversight. The upshot is that supplements are barely regulated if at all. The FDA is very limited in what it can do.
All those bodys piling up, they certainly excert pressure on the ground. The war feeding the war can go on for quite a while (https://en.wikipedia.org/wiki/Thirty_Years%27_War) the idea that it is reason that finally extinguishes the flame is delusional.

What extinguishes the war, is that the resources of those spending for it, are rerouted to other theaters of the great game. So if you want to end the war in Syria, create internal strife in iran/russia/saudi arabia/ theWest or friction among blocks consisting of allies.
Soylent will be using pulverized cricket protein in their next evolution of the product. It's so sustainable after all. In fact, it will be so sustainable and good for you that it will become a moral imperative, eventually enforced by law, that citizens consume (20%, 50%, 85%) of their daily caloric intake from Soylent sources unless religious or medical restrictions prevent them from doing so.
When I wrote the code in https://bugzilla.mozilla.org/show_bug.cgi?id=1283585, I had to spend most of the time dealing with alignment.
Having 7-days week concept is not necessary. That 28 days being divisible by 7 can be used to create a smaller group of days that we currently use for week. I presume that in such a 4-days group the ratio of 3 days for work and 1 for leisure should both increase the efficiency and to thin out the work stress.
In my experience it is more nuanced than that, engineering will add a feature or capability and someone will come along and find a use for it that was unintended. At the search engine where I worked we came up with ways to inspect and adjust host rank and page rank such that we could knock out bad sites from the search results that were doing a good job gaming the system. But that biz dev folks also noted the same pieces could be combined to favor someone who advertised with us over someone who didn't.

The engineering feature is designed with pure intentions, keep crap out of the results stream, but the mechanism is amoral. If you're executive team wants to exploit it for more money so that the company does better financially, your options are limited as an engineer.
Except when you run Homebrew?

I mean, I understood you, I'm fairly sure brew is the only Ruby command I run on a regular basis...
There's just no way.

They aren't going to beat Oculus/FB, or Sony, or HTC.

They don't have a product; they clearly must have some incredible tech demos, and a wizard working VC
Is there any example of property rights existing without the monopoly of force by a government ?
No, I'm pretty sure it was hubris. Proximal cause versus ultimate cause, and all that.
Just imagine what this will do for dubbing anime or any other tv show. It's still scary how this can be abused.
Magic Leap has been bleeding talent as a result of their relocating from the Bay Area to Florida [1]. As I understand it, this decision was made by and for one of their (independently wealthy) founders.

[1] http://www.sun-sentinel.com/business/careers/fl-magic-leap-n...
the dc/os update is only available to new customers though. Deployments are always stuck with the version they were deployed with. IMHO ACS is nothing more than a template, not an actual service that you deploy your containers to (like Google's Container Engine)
Yes, it does. Not all CPU cores are created equal. Performance depends on microarchitecture, cache size, memory bandwidth and latency, clock speed, hardware acceleration of specific features, and hyper-threading capabilities, to name a few.

Take the Xeon E5-2403[1] and the Xeon E5-2637 v4[2]. Both are quad-core Xeons, but they differ by pretty much everything except core count.

Here's a comparison of their performance: http://cpubenchmark.net/compare.php?cmp%5B%5D=1827&cmp%5B%5D....

Granted, this is an artificial benchmarks, but the results speak for themselves.
In this case, the Xeon E5-2637 v4 is almost three times faster than its little brother, the Xeon E5-2403.

Quantifying CPU performance by number of cores is disingenuous at best, and dishonest at worst.

[1]: http://ark.intel.com/products/64615/Intel-Xeon-Processor-E5-...

[2]: http://ark.intel.com/products/92983/Intel-Xeon-Processor-E5-...
The banking API stuff is mandated by Europe (PSD2) and the Competition and Markets Authority. The banks didn't come up with the APIs by getting in a room together - the authorities are imposing the APIs on them.
Never use hey Siri. Much easier to hold down the button to summon Siri. I do use it in public (rarely) and also voice dictate texts sometimes (less rarely)... but only if I can do so fairly discreetly.
Continuous Mobile Deployment: A Real Thing That Exists for Real
While the Soylent formula is a modern medical marvel, its marketing is the real secret ingredient.
I saw some video from Magic Leap some time ago, some animated character got behind the chair in augmented vr. Aren't they just using infrared to get distance to object, then they are using ML to classify and distinct them all, then when they have sizes of object they calculate behind which element their character will be so they can position it good and make parts of it transparent while crossing under the chair?
A couple I know who avoid GMO products have a few things in common with others I've seen saying the same things: Ignorance of what a GMO really is, a deep distrust of corporate interests/government regulators and a strange, unearned trust placed in those selling "organic" products.

It costs them a premium, but they say they're doing it for their children. I can't argue against it to their faces, but quietly I wonder if they wouldn't be more financially free if they weren't so willingly chained to 7 dollar gallons of milk.
Bank halts online transactions after money stolen from 20,000 accounts
> recursively chown /usr/local to myself

As of 1.0.0: you don't need to do this any more and we don't ask you to.
It's not as good as the force trackpad on the current MBP, but it's not bad, either. My only real gripe is that the physical click is a little heavy & loud. I'd put it in the same ballpark with prior generations of MBPs that physically clicked. You can always go play with one at a Micro Center or other box store.
Android Auto software that would run entirely on an Android phone
The process isn't rocket science but the scale is.
Great read. We've all been there at one point or another.

>The story that my anxiety was telling my head was entirely fiction. The emotion was real, but the reasons behind it were imagined. I don't yet have an answer on how to solve this.

For me, this was a conscious decision to change worrying about how I come across to assuaging other people's worries about how they come across. It's easier to be your own wingman when you know how to be someone else's.
I haven't used Deis but I have used Dokku and Flynn.

I found both easy to get started with. Flynn works well with DO and AWS although I couldn't get it to work with any third-party hosts (ssh auth issues).

Took me about an hour to setup 3 load balanced nodes and deploy their test go app which writes to Postgres.

There are issues with Flynn though:

- Missing Dokku's rich plugin support (Let's Encrypt is a breeze on Dokku)

- Log shipping

- Docs need work. I had to dive into the issues to figure out how to setup the custom domain names

- The HA is a bit murky. I downed two of my three nodes and the cluster collapsed. Since Flynn runs on one machine I expected it to work

I personally think there is a big gap in the market for a company that can provides a thin layer on top of the various IaaS providers to create the ease of Heroku with lower costs.
I was imagining a scenario where a site is pretty low traffic 90% of the time but occasionally has an article hit the front page of HN or a popular reddit sub.
And my point is that since elected representatives across the country and around the world have reviewed DST a number of times over the years and have usually chosen to keep it, the simplest explanation is that it reflects the will of the majority in those locales.

It's possible that it doesn't, but like I said, Occam's Razor makes the simplest explanation the default until evidence to the contrary is presented.