skysight-inc/HackerNews huggingface dataset:
Everyone neighbouring country has fought wars in indochina over the years. No country has been to successfully control them for long periods of time. In a land war the chinese have a lot going for them, just look at the korean war to see the strengths of chinese military. The fact the china was once many small countries that were all conquered by the qin kingdom should show that china has a long history of conquest. Just in the 20th century they conquered tibet and xinjiang and held back the US invasion of north korea. On the sea they have next to nothing and their navy is a job. China has never been a big sea power but it looks like they are trying to change that only time will tell how that turns out
It's mostly in English (for the presentations) but there are usually also a number of Japanese folks who attend and most foreigners can speak Japanese, so yeah, it should be no problem :)
A newly updated 'Rock paper scissors' game using socket.io – request feedback
The game: http://coolfriends.me

This is a follow up post from https://news.ycombinator.com/item?id=7101615

I made some additions to the game like: chat functionality, time limit of 5 sec for the games, see who played what after the game, rankings of the current players and matches history.

What do you think I should do next?
Social Media Comedy – Funny Video Sketches
Android sniffing using tcpdump
Docker only runs on a small subset of the platforms python runs on is the most obvious one.

Can docker easily access the host filesystem or do you have to copy all your data into each docker env?

Can I access my GPU for doing CUDA/OpenGL/OpenCL things from withing docker?

Does docker play nicely with GUI apps?

Calling into a running docker env from an external program (when you are using an app that has python as scripting or plug-in language) doesn't work as far as I know.

The overhead of setting up, tearing down an switching between several Docker envs seems to higher than with tools like virtualenvwrapper or conda.

Now there may be workarounds for these (and all the other) problems but on the surface they don't seem easier than virtualenv.
Just linking for anyone wondering. http://www.linuxatemyram.com
> They have an assload of cash on hand...

I wonder if they managed to pay for DeepMind out of funds that are "stuck" offshore (i.e. earnings from outside the US that can't be repatriated without incurring a big tax bill).
> Financialization: Investors can make more money from asset bubbles in housing, bonds, and dollars than they can from labor

There is some dark humor in the fact that it was the laboring folks whose pockets got drained by the housing bubble.
I'm really wondering where you have to go to grad-school for someone to approve a thesis that blatantly speculative.
50 people should cost ~$50 million, if it's a very strict talent acquisition, maybe $200 if they're really good. I think as well that there is some hard IP involved, or that they were close enough to a breakthrough for there to be hard IP.
This is entirely anecdotal, but I grew up in the Midwest and know many people who spent their lives working in automotive factories. I wish these people the best, and I'm glad that they are doing well, but many of them are making $25+ / hour installing doors and seat belts (and the '+' here has a high ceiling).

This is a job that any able bodied person can do, but they make that living, for better or worse, because of their unions. If I were funding these plants I wouldn't want to pay those wages either.

As a reasonable person I have to admit that this sort of work is simply is not worth that pay, regardless of what my personal feelings toward my friends and their families are. These are not skilled positions.
Foxconn Weighs Plan for U.S. Plant
The Sustainability Agenda in Kanban
NPMRC Switcher
I still can't decide whatever it's childish or fking awesome!
China has always had extreme difficulty expanding beyond its river basins. You might consider it quibbling, but China didn't conquer Tibet and central Asia; foreign armies conquered China as well as Tibet and central Asia. They then, being the same people as themselves, ruled those territories more or less together.

And even beyond all that, a war between China and the US would necessarily be naval. They don't share much in the way of a land border.
I made some additions to the game based on the feedback i recieved like: chat functionality, time limit of 5 sec for the games, see who played what after the game, rankings of the current players and matches history.

What do you suggest i should do next?
See my reply to your sibling -- they didn't. China was itself conquered along with a big swathe of the rest of Asia; its current extent does not come from Chinese expeditions.
All about Catalyst – interview of Matt S. Trout (Part 3 of 3)
Also do not forget the more common case:

- foo.c includes bar.h and baz.h

- bar.h and baz.h both include qux.h

This is why most C header files have ifdef guards like this

#ifndef __BAR_H

#define __BAR_H

// contents go here

#endif

This makes sure that the contents of the header are only included the first time the preprocessor sees it in a particular file
I've graphed employee compensation and business profits on the same graph. Not seeing much correlation. Compensation mostly goes up. Business profits go up and down.

http://research.stlouisfed.org/fredgraph.png?g=rnM

I don't get it.
But by the mid 1980's lots of stuff most people don't have today could run on home computers in the few-hundred-dollars range. I'm still missing stuff I had on my Amiga 500.

Sure, there's lots and lots of stuff I can do on my current computers I wouldn't have a chance in hell of doing on my A500.

Yet I'm finding myself seriously considering running UAE (Amiga emulator) or AROS (Amiga OS "reimplementation") in a VM to run Amiga mail apps (why could I handle thousands of messages from BBS's on my A500 with 1MB RAM, while Thunderbird chokes on my (smaller) inbox?) and my favourite editor (FrexxEd).

I keep cringing when I see hacky re-implementations of stuff that was done so nicely on the Amiga. E.g. want transparent compression in your applications? Implement support for XPK and your users can just drop in libraries implementing whatever formats they want. Rather than the Linux way of everyone implementing a varying, small, incomplete subset of the available formats, making you resort to a set of binaries all with inconsistent command line options.

Similarly, how every app that needs image loading support ends up with a small subset of common formats, rather than the AmigaOS approach of supporting datatypes, allowing users to drop in a library for whatever format they want, and instantly having support for loading the new format in every application.

As a result, apps that haven't seen updates in a couple of decades, still supports the latest formats.
Me too, so I gave it a shot myself inspired by the many Med students in my area. I started with a Mac app (Flashcard Hero), currently working on an iPhone counterpart with iCloud sync. Tried to keep the interface as simple as possible. Cards can only be rated easy/unsure/hard, the UI hides the actual algorithm and marks cards from red (very hard) to green (memorized).

UI: http://flashcardhero.com/screenshots/ I'm always open for suggestions.
Or a copy of you living in VR gets to be tortured endlessly until the sun explodes. Which at least is better defined than "hell".

[Thanks to Messrs Banks, Stross and Vinge for that particular cheery thought].
It's pretty easy to calculate. Just find a window A/C and check the BTU it's rated for and the wattage.

Convert BTU to watts, then do wattage to power the A/C divided by the watts of cooling power.

Then note that this is the worse case scenario - normally it does better than that except on the very hottest days of the year.
Also noticed further down, the error code ENHANCE_YOUR_CALM
Do you have code completion or plans for code completion. Because we moved our business over from MS SQL Server to Postgres and the business guys that writes queries is not impressed with PGAdmin, they especially miss code completion.
Could it be pensions? After bankruptcy they can dump those expensive plans. (Like the city of Detroid and other states already did).
If all this works for Estonian people, congratulations to Estonia for achieving this. As a Greek I suffered bureaucracy and still do. I would like for my country to unite all this data.

I have second thoughts about a couple of things though:

* The digitally signed mobile SIM-Card: How does this work exactly? Does the mobile company have access to my data?

* e-Elections are considerably easy to tamper for one and have well documented problems[1] to which I saw no solution in the article. For example, if there's a tampering accusation, how can we recount the votes or verify that X person voted for Y representative?

[1] http://en.wikipedia.org/wiki/Electronic_voting#Documented_pr...
I disabled that feature since it's essentially an easy battery DoS (and can be activated in a pocket).
SVGMagic is a SVG fallback that does it all
And yet samsung profits just took a dive and every other android maker is in the red.
Why I only use VIM for development
This seems like a cool start for a project but it may be a bit premature to share it and call it a "Lisp OS running on x86_64", because at this point it doesn't run any lisp code or run on x86_64.

Basically all it is at this point is a stage 1 bootloader in 16 bit real mode that prints out "REPL>". It does detect the CPU type and verify that it can enter long mode (64 bit mode) but never actually enters long mode.

I find it awkward that there's so much hype on HN and twitter and tons of people starring and forking it but it is rather evident that not many people actually read the code and see what it does. It seems like this project has got a few recent commits, though (after a hiatus of a few years) so there might be some progress happening.

However, what is very cool about this project is the way that it is written, basically Lisp macros that implement a single pass x86_64 assembler.

Let's hope that this project gets the love and the attention it needs to actually grow into a proper Lisp OS.
Hence include guards, yes. Agreed, I could have made that point a little better. Although they are usually only necessary when the header files contains things that may not appear twice in the same compilation unit, such as ... uhm, pretty much everything.
Business income is volatile. The business made a $2B profit in one particular year, whereas in other years they made losses that nearly destroyed them. Somehow I suspect when the business took losses, the employees did not return their wages.

Unless you want employees to share the downside of business income volatility, it's unreasonable to expect them to share the upside.
What you are talking about are core language decisions. Good developers have known how to work around register globals for years now, and it's not been a problem in any modern web app I've touched for the last 8 years (off the top of my head).

The language being used here has absolutely nothing to do with the output. You could substitute the PHP shell_exec calls for something similar in python, ruby or any other language. You should audit anything that hits your server. Using PHP doesn't meant it's more susceptible to vulnerabilities.
>> are not being "raped" in any conventional sense, and neither are the prisoners (who are the notional victims)

Finish the sentence before commenting on it, maybe?
Look at the graph again, work growth seem to be approaching a maximum, with it slowing heavily in the last few decades while corporate profits seem to be following an exponential type growth with a temporary drop in the recent recession.

Intentionally or not, your graph is incredibly manipulative, including not choosing a base-line zero on the y-axis for corporate profits which hides that exponential type growth.
This is incredibly similar to an assembler I wrote in Scheme, almost a decade ago. I was using Bochs and even unit testing with NASM.

I think people are going to be disappointed, if they can even get this to run in Bochs. About the only "Lisp OS" thing here is the REPL, which looks like it's incomplete anyway. Movitz is ahead of it by a bit, since it at least has, IIRC, a working compiler and possibly a driver or two.

But nothing we have today is anywhere close to what people think of, when they think "Lisp OS". However, I've used Genera, and I'd really caution people about getting this romanticized view of it. There are still many good ideas there, but Linux and OS X today are not the Unix of 1980. We've come a long way.
But the XSS issues have nothing to do with the language choice. Python, ruby and any other langauge do nothing by default to protect you against such things either.

I agree this is a poor choice of code, and an attack vector, but the language used here is not to blame.
I would imagine exactly the opposite. I have never ha the pleasure of developing software that I could realistically use, and I'm sure that's the case in general.
Yes, I say that it's more likely to find an unicorn somewhere on Earth (an undiscovered species) than to get that toss sequence. We say that an event is impossible for _way_ less probabilities (I could be hit by a cosmic radiation and start to grow a third arm, but it's unlikely enough to say that it's impossible).
That's why you don't make syntax errors! :-)
Ok, thanks for the reply. Good questions.

I was mainly thinking in the context of developing webapps.

I'm interested in this enough that I intend to investigate and answer all your questions, perhaps in a blog post. I don't know enough right now to answer with certainty. However:

- it will currently only work well if you are developing on Linux. MacOS isn't bad but requires vagrant/virtualbox.

- I suspect switching between Docker envs may be faster, easier and cleaner than virtualenv which is why I suggested it.

- There is definitely support for sharing data.
You should use nominal dollars. That would probably make it clearer that from around 2001 the profit started to skyrocket while compensation started to plateau. I wouldn't be surprised if the compensation in real dollar when down.

Also, your graph doesn't show people who lost their job. If you layoff people who make the less in the company, the average compensation goes up even if nobody got a wage increase.
Well history is repeating herself, if middle class disappears, revolution comes guns go out, everybody gets killed we have a third (French?) revolution and so on...
Introducing CQLC – a fluent API for Cassandra's CQL in Go, inspired by jOOQ
What is the Nokia X and is it a big deal?
What do you mean, maybe? The evidence is in: Google's founders have gone full hard-scifi cyber-god take-over-the-world on us.
Nowadays you are only allowed to underfund government pensions (USPS excluded). Private sector pensions must be fully funded - i.e., if an employee has vested a pension with an actuarial value of $20k, the company must put $20k into a separate fund to pay for it.

(Some old pension plans are grandfathered to escape this, however.)
???

In what way was the 18th century better than the 19th????
> Business income is volatile.

Yet, a very few concentrates a bigger share every year.
Yes, seems incredibly insecure approach, although the interface is beautiful.
So we are all agreed that all prison guards should wear cameras that record 100% of the time that they are inside the prison?
As a goal, I'm sure they're thinking about it. Unfriendly AI is part of pop-culture, after all. As a hard mathematical problem, not so much (I was following Ben Goertzel's OpenCog project for quite some time, and he seems to have this view, even though he's affiliated to the Machine Intelligence Research Institute, which has Friendliness as its principal concern). The trouble is that if Friendliness is the slightest bit harder to implement than just doing the most naive thing, then this approach will fail.
O que Fazemos? Somos Especializados em Marketing Digital
phpunit doudt 
hello sir
could u help me with tis problem

http://stackoverflow.com/questions/21300665/database-testing-in-php-using-phpunit-simpletest-on-api-haveing-stored-procedure

http://stackoverflow.com/questions/21278242/phpunit-stored-procedure-database-testing http://stackoverflow.com/questions/21230707/testing-stored-procedure-which-is-call-within-an-api-in-php-using-either-phpunit

https://github.com/phpmasterdotcom/BulletproofingDatabaseInteractions/issues/2

https://github.com/sebastianbergmann/dbunit/issues/116

http://in.answers.yahoo.com/question/index?qid=20140122221841AAnban7
Out of interest how are smaller countries like Luxembourg or Moldova doing in this dept? Do their governments sponsor espionage actions?
Beacause it would make writing fast code inconvinient, it's a tradeoff, a right choice clearly imo. How often do you need BigInts?

I try to use Julia instead of Python now if I don't need specific libs, it definitey feels like a nicer language to me (i.e. I can get stuff done faster).
Apple is making two bigger iPhones
hello sir
could u help me with tis problem

http://stackoverflow.com/questions/21300665/database-testing...

http://stackoverflow.com/questions/21278242/phpunit-stored-p... http://stackoverflow.com/questions/21230707/testing-stored-p...

https://github.com/phpmasterdotcom/BulletproofingDatabaseInt...

https://github.com/sebastianbergmann/dbunit/issues/116

http://in.answers.yahoo.com/question/index?qid=2014012222184...
By definition, the legal obligation of a business company is to maximize its profits, preferably while not getting caught breaking any laws.

That is not a hypothesis. That is the legally enforced and encoded definition of what capitalism must do.
I agree that Ukraine is a divided country. This being said: Just recently a newspaper in Beijing had a comic showing the Ukraine as a car. Uncle Sam was shown trying to stir the stirring wheel. This gives you an idea.

Trust me, the US has a strong strong interest of the Ukraine breaking away from US influence.
Python 3.4 will have a pip installer bundled with it, which removes the easy_install pip farce.
Deep learning is pretty impressive as a supplement to knowledge engineering approaches.

Google's Deep Learning team were the people who developed the alogithm that discovered cats on YouTube (without training). Presumably this team had something that impressed them.

The weakness to knowledge engineering approaches is that they tend to be fragile - they break badly with small holes in recorded knowledge. The IBM Watson team has a great video that showed how the different definitions of "fluid" and "liquid" meant a correct answer would have been missed if evidence collected in the answer verification phase of the DeepQA pipeline (no relation to Deep Learning) hadn't overridden it.

Edit:
Your(?) paper on your (?) relevancy engine is interesting. It seems like an application of skip-grams (which, ironically enough are heavily used by the DeepQA answer verification phase mentioned above).
It's assigned to the 1.0 mileston.
How Beta Testing For Startups Can Be A Viral Marketing Success
You could have invested right after the financial crisis like me and others did. We have made more than a 3x return since then. This is in fact a direct result of the observations in the article.

But stock market investment, over the long haul, does give better returns than any other form of savings.
No.

Worked for an online store, then some SaaS companies - not in the target market in any of them.
That one is documenting existing practice
http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#420
Working with Koa and Generators
What I see is corporate profits are volatile, whereas comp increases steadily. And they don't seem to move together - i.e., a spike in corporate profits doesn't correspond to a drop in wages, or vice versa.

The axes are just whatever the federal reserve site does by default. The baseline is also irrelevant to the main point - compensation and corporate profits don't seem to move together.

(This fact should not be surprising at all, since sticky nominal wages are the cornerstone of most modern macroeconomic theories.)
That means they ban Windows Phone or just Samsung's "theme" for Android?)
It means an engineer (or a number of them) is actually having fun while building this. It's a good sign.
>The DeepMind-Google ethics board, which DeepMind pushed for..

Damn, if DeepMind had to 'push' for an ethics board then that is a fairly bad sign. I am getting more worried.

[0]https://www.theinformation.com/Google-beat-Facebook-For-Deep...
^^ This is exactly why we at least need to talk about both men when trying to emulate the Apple phenomenon. Probably a few others from the last decade as well. Apple didn't happen because of Jobs (full stop).

Jobs was but one part, and emulating only him will leave almost anyone miserable, despised, lonely and broke.
Here is the graph you want. Took me about 3 minutes on the federal reserve site.

http://research.stlouisfed.org/fredgraph.png?g=rnM
So what?

This is the thing I don't get, why shouldn't the employees of the company, no matter how skilled, share in the good times? They certainly pay in the bad times.

As companies have become ever more callous and unions ever weaker all the money has moved to the owner side. It's not simply just about "I won this factory, therefore I get all the money", as I think we're going to find out in the next 20 years, that kind of thinking leads to major civil unrest and we will probably see the replacement to unions forming in the next decade or so.
Are you just pointing out an error in his/her reasoning, or do you actually believe what you said? If the latter, do you consider regulation regarding food safety, medical profession and energy industry bad?
Samsung reaches patent settlement with Ericsson
So you think that antitrust laws are wrong?
If this is the case, its a real travesty for human achievements in space. The Chinese space program - while certainly not as accomplished as the Russian and American programs - is accomplishing achievements at a rapid rate.

But, on the other hand, maybe it is a good thing - given that China's interest in the moon is industrial, and not necessarily scientific. Unless the plan is to clean up China by moving its industry to space, I can't see it as a good thing that the universes' resources could shortly be being plundered by the worst polluter - and violator of human rights - on the planet.
Probably. Deepmind is a UK company based in London.
This is how it should be done. No doubt. http://www.flickr.com/photos/designunits/8413499081/
> The two strokes hit a wall pretty quickly. They are very rev-happy

People think that, but in reality they only SOUND like they are rev happy.

I raced motocross for years (still ride dirtbikes, though mostly endurocross style riding now) and only recently did these bikes switch over to two strokes. It previously wasn't possible because four strokes didn't provide the needed power to weight ratio.

A 125-150cc two stroke competes against a 250cc four stroke in most clubs. When listening to the bikes go by, the 125cc two strokes sound like they are screaming, when in reality the 250 four strokes rev to 14000 RPM and the two strokes only hit 12000.

The two strokes just sound like they are revving 24000 because they fire every stroke, not every second stroke.

Two strokes are really fun, and I still ride one quite a bit (2008 GasGas EC200) but the four stroke power-to-weight ratio is getting so high I can't see them lasting. That and emissions.. they burn oil by design like you said, which is quite dirty.
Facebook HHVM Symfony2 benchmarks (2013)
Can't see the article because it seems to have some weird advertising at the top.
We managed to get hold of some kind of remote that's supposed to disable the sensor for two hours (though it's difficult to actually test, since there's no feedback at all when pressing it).

Since we're already using a Raspberry Pi for other purposes, I have the project of decoding the remote's protocol and driving an infrared led from one of the RPI's GPIO ports.