skysight-inc/HackerNews huggingface dataset:
Website not usable on iOS. For any company or organisation, never mind a technology focused operation, this really should not be the case.
Correcting for time (I am making up an average speed):
Highway 49.0/1Mhours @70mph
Collector 99.5/1Mhours @50mph
Local 77.6/1Mhours @40mph
I mean, it's just cool for me to use this in websites of my projects.
It seems to look crazy but, Where is the "memory of the Universe", knowing what and where things are ? Is the concept "Memory of Universe" a wrong way to understand this réality ?
Recent insights into the biology and genetics of addictive personalities
The first few lines of pop() are:

mytop <- top.get()
curr <- mytop
while curr != sentinel do
mark <- curr.mark.getAndSet(true)
...

What's keeping curr from becoming a dangling pointer if the size of the stack is bounded?
As someone that lives in the Southern US, all I can think about is the number of spiders that would live in the cubby the bed slides into.
It is not cheaper. The poverty tax is in knowledge, and it is paid twice - easily accessible food is expensive for its quality. With enough money to buy time or expertise to manage your diet, you can pay less money for higher quality food.
I worked for AWS. I wont say much more. The average employee churn stats speak for themselves. Amazon burns folks out. Uses them up. Not like the valley at all. Leadership principles [1] door desks, bezos cult.

[1] https://www.amazon.com/p/feature/p34qgjcv93n37yd
for me this is correct.. now me the consumer simply pays more.. once as a supermarket doesn't pay for it and does not lower their prices and twice as I as a consumer now pay for a rubbish bag.

no reduction in plastic bags, but usually more plastic waste as as they are bigger.

supermarkets, plastics manufacturers, and oil companies get more profits, ordinary consumers pay more, mother nature a slap in the face..
No they weren't and no it isn't.
Why On Earth shouldn't have people some fun? We know how many awful stuff happens all the time but we also need some joy too.
Yes, deciding what others are allowed to do is something I am morally uncomfortable with. That is not to say that I have come up with something else that is not also questionable.

In any case, I do think that we should strive toward having just a bare minimum of laws. However, it seems to be too much fun to make laws, once you get in a position to do so, for people to abstain from it.
Women on average are not always the most obese ones. In some countries like Norway, Switzerland, Canada, and Italy, it's the men who have the higher obesity rates.

Interesting to note that Mexican, Turkish, and especially South African women are quite a bit more obese than the men.

OECD publishes a lot of stats in this area:

http://www.oecd.org/health/Obesity-Update-2014.pdf

Could it be cultural differences? In the countries where the men are more obese, the average obesity rate is much lower.
Really Wonderful !
Do you know what the roadmap is for this? It looks like they want to build a terminal, but I can't see how it's significantly different from what we've got at the moment.
every comment section on HN about tesla and musk in general was always extremely positive until they started to cover up their mistakes. seriously, these mistakes can result in governments outlawing autonomous driving outright.
>Again, extremely low chance of that happening. US and Russia have a gentleman's agreement that they will not kill each others' spies and traitors who escaped.

Life in prison is losing your life - it's just a much slower execution than the traditional methods. There is no parole in the federal system; life is life.

> That's a complete fantasy.

It's not a fantasy of mine. But I do believe that governments do things for their own purposes, and could care less if one more American spends the rest of their life in prison. If and when it becomes politically convenient or necessary, they'll simply revoke his asylum and deport him.

If Snowden is ever offered a deal by DoJ, it will have to involve jail time. Say they offer him 5 years in a low-security prison, would he take it?

The DOJ would never offer a deal for 5 or even 20 years, because it would undermine the message they want to send to others contemplating similar actions. If he sets foot in the US, voluntarily or not, he's going down for life.
I've looked at Prolog for implementing a rule-based workflow system, but I find that it's very hard to embed eg. SWI Prolog into Python, in which the rest of the project is written. Does anyone know of an embeddable Prolog, preferably open source?
Hallowed are the Ori
Attributing all this to intelligence sharing alone seems an oversimplification. I suspect the difference in the level of assimilation between British Muslims and their French counterparts is the biggest factor.
The person who implements Semigroup for a data type must ensure that the laws hold.
Would joined up intelligence really prevent the lone lunatic attack? If so how?
You didn't get the memo? We're supposed to be constantly outraged all the time about whatever the hot-button topic of the week is. If you are enjoying your life, you're on the wrong side of history, or some such...
Yes. I would have thought this to be solved by now. What is especially scary is that very simple expressions can significantly increase compile time, and there is no easy way of knowing.

What would be hilarious is if the swift dev team releases a compile profiler that shows "hot lines" that take a long time to compile, while not solving the actual issue.
Startup sexism: why won't investors give women business loans?
Women may be more predisposed to put on fat more easily, because bearing and (even more) nursing a baby both add an enormous amount to a woman's energy needs. Even today, when food isn't scarce, many women lose their "baby weight" and more while nursing.

Secondly, with less testosterone, women put on and maintain muscle with less ease than men. Since muscle burns more resting calories than fat, women must restrict their calorie intake more strictly than men do - even at the same weight and activity level - if they want not to gain.
When one designs self-driving cars without LIDAR, one should remember that illusions like these exist.
C2 language – now has library support and Windows support through Cygwin
Hello, I know that C2, a C-like language by bvdberg, was shown here once before, but it was in much earlier stages of development. Now that one can use libraries it is possible to make "real" programs with it. Now in this stage, what is your quick opinion on C2, smart people of Hacker News?

https://github.com/c2lang/c2compiler
https://c2lang.org/documentation
Why do the effort if I have literally never had it show up on my bill? If it did I wouldn't pay it.
Also, weren't the Paris attacks organized from Brussels?
> Forty terrorist plots have been disrupted since 2005 (in Britain) - including seven in the past 18 months.

Does anyone know where these numbers come from? Are the information to the individual cases available?
I am confused by the comment. You think the researchers whose work Gladwell based his book on are WRONG about Gladwell getting it wrong, even though they explain the problems fairly well and you haven't addressed any of the specific points? Curious to know what qualifies you to know they have the wrong interpretation of their own work... have you even read it, or do you feel qualified to say this based on a reading of Gladwell alone?

Also, Gladwell has repeatedly "clarified", but if he didn't "get it wrong" why would there be a need to do this?
Is it not possible to get the old-style brown paper bags instead?

Quite honestly, I would prefer to go back to the paper bags, since they hold more, are sturdier, and are biodegradable. Although I would have to come up with a new solution for dog waste...
Academic clickbait: positively-framed titles get more attention
Hmm.. why bother with a complicated approach now that transactional memory (Intel TSX) is available in HW now? What are the advantages and disadvantages of this approach vs using TSX?
So true... http://imgur.com/gallery/mOTHgnf
That's because you are thinking of continuous functions. You have actually gave an example of a non-continuous one, it's just that you think of it as two functions connected with input conditional.

Other replier already gave you some common example, but let me add another one: signum(x), which returns if number is negative, positive or zero.
Boeing Centennial: Spectacular projection mapping onto a 747-8i
Many people like C# because compared to Java it's about half the verbosity - C# is still a very limited language with plenty of verbosity and tedium built in, something like F# just blows it away in comparison (even more than C# does Java).

Not to mention that the standard OO cult of unit test / mock everything and make everything "reusable" leads to such shitty designs that almost fall out naturally from the language/paradigm. Oh and the one class per file with 3 method interfaces and 10 ceremony lines with namespaces and import definitions/braces.

I prefer C# over Java, and in some cases even over F# (it's slightly lover level and therefore it's simpler to control for things like heap allocation) but it usually is that verbose and crazy in the real world from my experience.
Well I was just a little ahead of my time: https://mobile.twitter.com/elonmusk/status/75369986163612876... . As it turns out the Autopilot was indeed turned off in the Pennsylvania case.
India woos Tesla with land offer
Both of your questions have the same answer: Swift doesn't implicitly convert between types.

First answer: since Swift has no implicit conversions, greedily selecting types would create a situation where mathematical expressions or even function parameters that use Float instead of Double would be completely impractical. Every floating point literal would be interpreted as Double and compiler error on attempt to use as a Float. You'd need to manually construct a Float around every literal to actually get Float. The same problem would plague and UInt, Int8, etc – any value would require manual construction from a literal of type Int.

Second answer: Since Swift has no implicit conversions:

let a: Double = -(Int.max) + -(Int.max)

would always be a compile error because the right-hand side is an Int and can't be converted to Double. This isn't a type inference or type checking problem, it's a "no implicit conversions allowed" error. You would need to write:

let a = Double(-(Int.max) &+ -(Int.max))

for the line to compile (I've used the overflow allowed addition operator '&+' since the regular '+' will trigger an abort if it actually overflows).
For what it is worth, it is not unheard of long term leaders in western countries. It was not uncommon during the great leaps of improvement. You may want to look up Erlander or Kekkonen who each served for 30+ years in Sweden and Finland.
Sure, but for understanding any issue, looking at demographics is helpful.

Once we see that in some countries one gender is more likely to be obese we can look for reasons. If we're lucky there's something that causes women to become obese that we can eliminate.
I like the 10,000 hour rule as an order of magnitude estimation. Somewhere between hour 5001 and 49999, you become very good, given the right kind of practice. It's an acceptable heuristic for that, and research throws up similar numbers in a range of fields.
It's also a lot quicker and easier to prepare packaged and ready-to-eat meals which have some scary nutritional profiles. Poor people can often have chaotic and busy lives which precludes finding and preparing fresh food.

Also: http://americannutritionassociation.org/newsletter/usda-defi...
If you have various groups working a problem and they don't communicate, they are significantly disadvantaged relative to groups that talk. Each of these groups have their particular specialties, and it could only be beneficial for them to communicate. Now whether this communication is THE standout factor preventing attacks...that seems a stretch.
The glob breaks if you have a lot of files, or if you're in a deeply nested folder so the full filepaths are long. So the find command is better for a general-purpose script. You also didn't some variables, which can cause problems in a general-purpose tool.
I understand the idea of avoiding inheritance tax, but that has become less of an issue with a $5.45M estate tax exemption. Leaving that aside, my question is why would my kids pay for my life insurance as an investment.

Assume they have paid of their debts, maxed out their 401k and Roth IRA contributions and they have extra money to invest for retirement. If they put it in the stock market they will pay income taxes and any dividends they receive, which they don't have to pay any taxes on life insurance so I see that. But it still seems to me that life insurance is a bet on when I die and if they are not dependent on my income I don't see why they would want to take that bet.

I am 57 and I can get a 20 year term-life insurance for $5k/year with a payout of $250k. If I outlive the policy that is $100k in sunk costs and the next term life policy will be even more expensive.

Whole life makes even less sense at my age. The only way this makes sense to me is that if you had a whole life policy that you started wen your kids were younger and now you are retired and can't afford the payments do you cash it out? Well, if I cash it out then maybe I end up spending it or the nursing home gets it, but if my kids take over the payments then they get the benefit (unless the nursing home still takes it.)

This still assume I bought whole-life 20 years ago which everyone at the time told me was a sucker's bet so I'm still not sure that this makes any sense.
>> Across all adult age groups, about 38 percent of women are obese, while 34 percent of men were obese.

>4% seems like a pretty small gap.

It's just 4 percentage points, but a different way to phrase it is that women are 10% more likely to be obese than men. That's not a gigantic gap, but it's still quite significant.
Design seems similar to https://www.youtube.com/watch?v=XYV0qATsyts
I don't think it's surprising that older people have the ability to be so prolific. What's surprising is that they still have the patience to put up with all of the BS that goes along with writing software. When you hit the ten thousandth broken library API or build-system idiosyncracy of your career, it's tempting to scream "Enough!" and retire to farm fish or something. Ditto for dealing with well-meaning users demanding features to support an impossible use case, or not-so-well-meaning haters trashing you on Twitter/HN/Reddit. If you can only code, on what you want the way you want, without caring even one little bit if anybody uses or likes it, that might still be fun. Otherwise, all that other stuff gets pretty old, and that's more of a problem than you getting old. As you see your friends starting to pull back or retire altogether, and you realize that you could do the same, the idea gets pretty tempting even if you love to code.

BTW, since somebody's likely to ask, I'm 51.
I recently learned about a product that clips to your shirt near your neck and vibrates when your posture is bad. I'd love to see more devices that don't just track your fitness, but remind you constantly in subtle ways like that. I know smartphone notifications don't work for me.
Different paper - queue vs stack. Confused me as well.
> Someday, maybe today, we have to ask ourselves if email (Gmail) is a public utility.

That's an interesting way of looking at it and you're right, Google's initial approach to marketing the product did frame it in that way.

I think it's going to become increasingly important for users to be able to pull their data out of a system and migrate it to another. Open APIs for pulling data out would be a great start and there are already nascent efforts to make migration of data from one cloud hosted service to another possible. For example Todoport here converts tasks between all the major task list managers like Asana, Wunderlist, Trello, etc.

https://todoport.com/index.html

In the above case of task managers I recently tried to switch from Things by Cultured Cloud to another service. The migration process was practically non-existent and I eventually ended up having to write a fairly large AppleScript to get my data out of Things into a CSV and then a Python script to push it up to my new Task List provider.

It was a messy few days of scripting to say the least!

Office365 to Google Apps or Dropbox to OneDrive in my opinion should be a one click migration and companies need to stop holding user's data to ransom to keep them on their services.

I personally think pressure to make these changes will have to come from outside the industry since it's clear that all the major players are basically trying to duplicate each other's features in an effort to ensure their users stay within their own platforms.
Touch a big fucking piece of wood with that title, BBC.

Guns are much rarer in the UK than on the continent. This obviously doesn't make attacks impossible but it does make life harder for terrorists. For example, the maniac who murdered Lee Rigby with a knife tried to get a gun first. All he could get was a modified starter pistol that jammed on the first shot. The right wing terrorist who murdered Jo Cox apparently had a home made single shot pistol. Imagine if they'd been able to get Glocks or Kalashnikovs.

I would like to see more restrictions on high strength peroxide as TATP seems to be the explosive of choice for terrorists.
It's a little odd to me that this project is presented so explicitly as being linked to the IBM Quantum Experience because the IBM Quantum Experience has a built-in simulator already. Having something open-source is nice because then you can modify it and try other things, but then it wouldn't be modeling the IBM system any more.
Announcing the Google Play Indie Games Festival in San Francisco, Sept. 24
Refrigerators and arguably vacuums have actually improved quite a bit. However, if you look at say a modern toaster for example they use these wide but very thin heating elements made of Nichrome which are very easy to physically destroy if you stick something in there to remove a piece of stuck toast.

Sure, there are a few small advantages, but it does not save much energy or upfront cost and makes them really easy to destroy. Which is rather good for toaster manufactures and bad for US.
amazing..so any service that sends an automated call to premium numbers can be exploited in this manner
I know nothing about JSweet but I have a 7-8 years of Java background and I can tell you right now that nothing in the Java world is a magic bullet.

But I am not here to argue specific examples. Sure, I definitely agree with you that Javascript is the worst offender in the transpiler world. I do however not see the connection between using a transpiler and having it easy when refactoring. If you mean that the transpiled language has an easier to parse AST and is thus much more prone to automated refactoring (Eclipse's "Rename Method" for example), I won't argue that; I know it can be true.

Nothing of what I said will stop me from trying Elm (transpiled to JS) for a hobby project though.
All his stuff is great. If you like it, check the baroque cycle too
the risk I suppose would be getting caught. I'm sure quarterly fin. auditing would detect something abnormal after awhile
The Vault!
OCaml was still called Objective Caml and far from replacing Caml Light, which we were starting to use.

Haskell was still not a thing our department cared about, although we got to read some stuff about Miranda.

SML was never a thing at our university.
wow, this is really useful. thank you.
There are tutorials in the IBM Quantum Experience that go through the basics of manipulating qubits and putting opertions together into small quantum circuits.
I feel awesome and I eat a high carbohydrate diet. 80%+ of carbs.
I know Mercury, but your advice is about 20 years too late. :)
The problem with French intelligence is the number of services :

− la Direction générale de la sécurité intérieure (DGSI)
− la Direction générale de la sécurité extérieure (DGSE)
− le Service central du renseignement territorial (SCRT)
− la Sous-direction de l’anticipation opérationnelle de la gendarmerie nationale (SDAO)
− la Direction du renseignement militaire (DRM)
− la Direction de la protection et de la sécurité de la Défense (DPSD)
− la Direction du renseignement de la préfecture de police de Paris (DRPP)
− la Direction nationale du renseignement et des enquêtes douanières (DNRED)
− le Traitement du renseignement et action contre les circuits financiers clandestins (Tracfin)

And the coordination services:
− l’Unité de coordination de la lutte antiterroriste (UCLAT) qui n’a autorité que sur les services relevant de la police nationale
− l’État-major opérationnel de prévention du terrorisme (EMOPT) directement rattaché au ministre de l’Intérieur
− le Coordonnateur national du renseignement auprès du Président de la République

A 2000 pages and 6 months enquirie by a bipartisan commission found we should unify them but it was promptly ignored by the government.
Fascinating stuff! Reminds me very much of swift's guard statement.
Clever idea. I'd be a bit hesitant to hand account credentials over to a service like this, but there are people who are more comfortable with that than I. One nitpick about the landing page, though:

> This means you can upload your files direct to your desktop from devices that do not support Dropbox or Amazon AWS storage and its secure.

Services like this really ought to have proper spelling and grammar on the landing page. This is a run-on sentence. It also uses "its" where "it's" should be used. It doesn't matter to me (I have no use for something like this), but it's likely going to put some people off.

I'd suggest just changing it to "securely upload", and get rid of the end of the line entirely.
I became aware of the distinction when I skimmed the paper. But I couldn't figure out what it meant in this case.

Specifically does the every thread requirement rule out algorithms where there only one reader and one writer is allowed? If not, then this ring buffer is wait-free, since there is no CAS-and-retry step. (Of course an operation can fail because the queue is empty/full, but that is still completion).
It depends upon who you trust. Police/government release figures and press releases. However, one of the problems with the official statements is that terrorism trials in the UK can be (and are) held in closed courts in which evidence is withheld. Therefore the public cannot know if what they are being told is accurate+.

+ I don't actually think that we are being lied to (at the moment) but with closed trials we can't know that for sure.
I've used Unix a lot and I've never used Ctrl-P or Ctrl-N for previous/next. Ask 99% of people what those do and they'll either have no idea or say Print, New. Ask 99.999999% of people how you scroll in gdb and none of them will guess Ctrl-P/Ctrl-N. It's shit.
How the Library of Congress Failed to Adapt to the 21st Century
The poor don't have time for that or much cooking—they have two jobs.
Planned obsolescence or built-in obsolescence in industrial design and economics is a policy of planning or designing a product with an artificially limited useful life, so it will become obsolete, that is, unfashionable or no longer functional after a certain period of time.

- Wikipedia

Seems fitting to me.
I already wrote wait-free stack https://gist.github.com/kumagi/d259274270fdc1385f81
It is much difficult than lock-free stack.
https://gist.github.com/kumagi/b9a4715b1ce0dd511922

And published as book(in Japanese sorry)
http://longgate.co.jp/books/grimoire-vol3.html
High fructose corn syrup is a heavily subsidized sugar. It's even in the name fructose is a sugar.

PS: Glucose and fructose are both C6H12O6 with slightly different shapes.