skysight-inc/HackerNews huggingface dataset:
this is official reference lib - https://github.com/graphql/graphql-js

you need to implement resolve method to map properties to your backend(s)

yes, it is not drop in, but using any node.js http request library should do the trick.

also, both can co-exist if you have application which already uses existing rest api layer.
Really? I work at a software house. Looking around me in my room, right now I can count: 8 males and 7 females. Overall I suspect we do have more guys in the company but by a very small margin.

Have you considered that the issue you're looking at is not a tech industry issue but rather a country-specific issue? Most studies I've read about it seem to have been made in the US.
Who submits and comments on HN?
Just out of curiosity I'd like to see statistics over where my fellow HN users are from.

Is this available anywhere?
I think it is written fairly. Bitcoins and not dollars, and the rest of those things you listed that are covered by FDIC insurance are denominated in dollars. If someone (not you specifically) cannot understand the difference between dollars and bitcoins, they shouldn't be trading currencies.
Any link/bridge to call python NLP libraries mentioned in this thread from Node.js?
Listen to it and the whole point he is making is we had to make way for proprietary drivers and not to block it being compatible with GPL.

Seem very much a grammar Judo to say we didn't go out of the way to be anti-compatible with GPL but we invented a copy left license so we could never be compatible with GPL.
I basically do my best yes, whilst having to earn a living in my chosen field. FreeBSD and Linux where I can advocate them.

Part of my current contract is migrating a customer away from SQL Server to Postgres, and it feels good. Automating powershell on aws instances doesn't feel so good, but it's temporary pain.
As others have said the term 'libertarian' has historically and outside the USA had much more 'collectivist' connotations and early on bore much more resemblance to anarchist and communist movements- it recognized that controlling property and capital (or having it kept from you) was a factor in your individual liberty, could be used to force you to work, etc.

libertarian communist is to put it crassly an attempt to re-brand and re-merge the anarchist and socialist traditions (which are much more diverse than mao and stalin) and to remove the supposed schizm between libertarianism and communism. not to propose any single template but to stop taking for granted the current social/political/economic orders and explore new ways of organizing society, etc.
> I believe graphql can be added on top of your backend, even more - it can layer on top of multiple microservices backends to provide single api endpoint

It is exactly what I'm saying. It's yet another layer on the server, it doesn't solve caching issues, and it will certainly not make your average app faster, especially when http2 support is here.

GraphQL is an ORM for rest apis. I thought rest apis were supposed to be universal, why need another layer on top of it? How many ORMs do developers need ? how much more complex does it have to get? The goal of REST is first and foremost readability and simplicity. The purpose of fat clients are to push complexity on the client. With graphQL simplicity is gone since everything is POST thus no http caching, and the server now gets another layer of complexity instead of being client agnostic.

Again, it might make sense at Facebook scale, but many articles promoting GraphQL are not talking about the fact that, it might not make sense for the majority of applications out there, even worse, it actually might make apps slower because of that extra layer.
Swift 2.0: Map and FlatMap Demystified
The Bitcoin network is presently undergoing a malleability attack designed to cause Bitcoin nodes to run out of memory.

http://motherboard.vice.com/read/i-broke-bitcoin
What? Read the chat transcript recorded in the search warrant [page 41+]:

http://www.laweekly.com/news/matthew-keys-helped-anonymous-h...

How can you believe that giving a group of anonymous people you suspect to be hackers a username/password, then telling them that it's superuser access, then giving them the admin URLs, then giving them the URL to the user manuals for the console, then creating them new accounts...is the same scope as letting a bunch of teens use your "office copy machine"? (unless your company's business is literally the copy machine...I suppose)
Comparing the new Reg a with Reg D
They should've included graphs to their article, e.g. to compare speedups at each compression level using histograms.
Even tabulation of their results may have looked cool.
I sort of expect a top-notch compiler to perform this automatically (especially if it allows profiling). The MSVC++ compiler has pretty impressive auto-vectorization, as I've verified several times by testing the performance of my DSP code with SIMD enabled and disabled. Just make sure your code facilitates auto-vectorization, and it should be more readable and future-proof while achieving the same result, assuming the compiler is smart enough.

(Also, since this is CloudFlare, <insert rant and dream about SIMD happening in LuaJIT>... Thanks CloudFlare!)
I am not OC's but with a similar position (writting this in W10, working on Windows store apps and with a Lumia 920 by my side)

I have several reasons but mostly subjective preferences. In my previous job I was a fulltime Linux developer, spending all day with an Ubuntu box. Linux is great until you have to patch it or fight with video drivers after an upgrade. I still develop components for Linux on the backend side but I am done with the desktop for a while.

Don't get me wrong that had happened to me in every platform I have worked with (yeah with MacOSX too). I guess my point is, after a while all platforms are more or less the same to me in the core (maybe Windows falls behinds on the console side but cmder is nice enough to make it up) and at the end is just the surface what would make a difference.

To me, Microsoft was the only one doing something different on the mobile side (not anymore though) so that was the candy that brought me to this side for now. I don't know if OC's reasons are more practical but for me are just subjective preference.
If you're going
to San Francisco
China launch of renminbi payments system reflects Swift spying concerns
Business Cards+ with NFC technology
Indeed, but they are still representations of gold and are for all legal purposes equivalent to gold. When you convert them to gold, you don't spend money on gold, since they are one and the same and you can convert the gold back at any time. It's technically not different from changing banknotes to coins or wwithdrawing cash from your bank account.

I don't see why you think that the link is relevant. It would apply if there were gold and silver standards simultaneously, for example, but that's not what is being discussed.
"However, exhibits displayed during the defense’s opening arguments show supposed emails from Brandon Mercer, Keys’ ex-boss, saying, “If you bill a thousand dollars an hour, that will help us get it prosecuted,” suggested the government is misrepresenting the true cost. In another email from the exhibits, Mercer estimated the damage at around $3,800."

http://motherboard.vice.com/read/low-level-vandalism-or-high...
I'd say it's more like handing a copy of his keys to miscreants (of any type) with a note attached "DO HARM THERE" after being evicted. If proven in court, I'd expect a guilty verdict on a charge of criminal mischief.
The human interest side of the story discusses how the founders of one Roaster were interested in the well being of Mexican coffee farmers

Which is exactly how one would spin it so that the CEO of the roaster would buy into it...

I know - cynical.
> read Das Kapital...sounds very good in theory, but always seems to fail during implementation

What fails during implementation? When leftists of his time demanded plans from Marx, he scoffed and said he was not August Comte, and refused to "write recipes for the kitchens of the future".

Marx and Engels did note changes in production led to changes in relations of production, and the superstructure (society). Some scientists think human hunting and fishing being what is was may have led to behavioral modernity 50,000 years ago. This led to a different form of primitive communism. 10000 years ago slavery and agriculture arose. 1600 years ago feudalism began to arise. 600 years ago capitalism as a dominant economic system began to arise.

Since men began painting pictures of horses in caves 50,000 years ago, the world has seen four major economic systems. The current one is capitalism. You seem to say it is immutable, the three previous ones were flimsy, but you seem to say our current economic system is the final one (although the previous one said that as well - the czar was claiming God, the creator of the world, ruler of a life after life had appointed him to his throne - claimed this until he was felled by the bullets of Bolshevik soldiers).

We are entering a world where I film a video, or record audio, or write code, push a button and with almost no cost in replication, can have it distributed to billions. We are entering a world where with continual improvements in robotics and AI, there may eventually be no job a human can do that an AI robot can't do (and perhaps do better - my memory, prefrontal cortex processing etc. is limited by bandwidth, space and this sort of thing in a way that a neural network translating speech to text is not). When there is no need any more for humans to farm, or mine, or even to program, will the world still be under a system of capitalism?
https://github.com/williamcotton/makeify
> he seems to have learned his lesson

This is the big problem with Keys though: he apparently hasn't. He's issuing statements defending himself with the massively hypocritical stance that he's "protecting his sources" when, as you point out, he actually gave potential access to all the correspondence with all his newspaper's sources to a group which enjoys distributing similar material across the internet, especially if they can find something embarrassing. He's not only protesting his innocence (which he has a right to do, even if it's not a credible protest) but also insisting that such actions shouldn't be prosecuted in the first place. I don't think that it can be said that a person arguing that as a journalist they had a fundamental right to invite third parties to damage their former employer's property and potentially embarrass uninvolved third parties (out of spite rather than activism) can be said to have learned their lesson just because they've apparently performed competently at their day jobs since then.
It's live! You can see there is some activity starting: https://cryptowat.ch/gemini

Also, there was a great post on /r/bitcoinmarkets by the CTO of another exchange, picking apart Gemini's technical setup. Worth a read if you're into modern frontend web development.

https://www.reddit.com/r/BitcoinMarkets/comments/3nkxh3/gemi...
The Real Internet of Things
What explorer will be doing is calling into a shell extension to generate the video thumbnails. Under some circumstances it ends up blocked on the shell extension.

http://blogs.technet.com/b/markrussinovich/archive/2005/08/2... (not precisely the same thing, but related)

I've personally seen opening a folder full of photos produce a crash dialog pointing the blame at an Nvidia DLL.
I'm a big fan of React but it took me a year after its introduction for me to get it and like it. What particularly did the trick for me was one of Pete Hunt's talks he gave a year after release acknowledging the confusion and explaining the reasoning for React rather than just the technology itself.

I feel like GraphQL can be something great and the pain points they identify with typical APIs are stuff I've felt but GraphQL just feels incomplete to me. I feel they're focusing too much on what GraphQL looks like on the client-side and not enough what it looks like on the server-side. The biggest question I have is what's going to process the GraphQL query on the server to fetch the data from the actual datastore? What does that look like when working with typical datastore such as a SQL-based database? The closest thing I've seen that answered that question was this blog post[0] which doesn't look very appealing if that's what the server-side implementation is going to look like. The blog post's implementation looks like a more complicated version of my own APIs which are usually a series of custom endpoints based on my client's needs. I don't see the big deal right now. Maybe next year...

[0] https://medium.com/@clayallsopp/your-first-graphql-server-3c...
How Apple Censors News in China
Show HN: Winterfell v1.0.5 – Complex Forms by JSON in React
I think this misses the point of what the Librarian of Congress does. I agree that historians like the past few choices were are not a great fit, but the Librarian of Congress doesn't just run the actual Library of Congress; they make important decisions about copyright law. If we want reform to these laws, the Librarian needs to have a good background in copyright issues.
Yeah, good look compiling native node modules on OSX without those build tools!
Brain4cars – Cabin Sensing for Safe and Personalized Driving
There are some backend implementations: http://blog.startifact.com/posts/the-emerging-graphql-python...
Godwin's Law warning

I find more ridiculous the statement "we will never forgive Microsoft" than saying "we will never forgive Germany".

They're a company, not a charity, they're in the business of making money, and if making money implies using "dirty tactics" such as saying phone manufacturers "bundle Office in your phones or we will use our patents against you" it will certainly happen regardless of which company we're talking about.

Also, you should not be angered at Microsoft for collaborating with the NSA, but be angered at America for forcing companies to collaborate with the NSA. If you were in the position of Microsoft would you reject and risk loosing your company? Don't be ridiculous! If Apple is playing to be the victim right now, is because it's more profitable for them after the public outrage that followed Snowden's revelations.

There is a real world outside the Free Software bubble, a real world where companies struggle to survive and any means to survive, even at the expense of the competition, will certainly happen.
Actually , i do think Google wants to be either the next toyota or UBER. Just licensing patents is leaving huge amounts of money on the table.
Salt of the Earth – 1: Spartan Race Co-Founder, Joe De Sena
I consider myself a good article writer actually, but when it goes to IT and software engineering, I usually choose services like http://writemypapernow.org/. Try it!
Well, partly yes. If this was year 2030 and Rust was available on every platform so that everything worked perfectly, I would have probably used that.
Three Things You Should Do Right Now to Protect Yourself Online
Salt of the Earth – 2: Sheet Metal Manufacturer, Jim Andaloro
I'm guessing the news agency with its leaked username/password hired some outside security firm to assess to breach and certify all is good - and that is what cost thousands? Could we have some consideration of what is fair and rational here? Leaking a username/password should not generally involve any jail time period.
And even that only from about the 1820s or 1870s to the 1970s. The gold standard was only introduced because Europe ran out of silver after using it all to pay for Chinese goods.
I... can't change my password. Nice and clean look though!
Are you an independent developer? or working in a software shop? I am curious about your experience because I am trying (or just starting) to do independent things and your feedback sounds like a nice story to hear.
I don't dare to speculate about the likeness of security breaches anymore. But I have a pretty good backup routine.
Their definition of poverty is earning below a certain dollar amount ($1.90/day).

Their measure of poverty has nothing to do with the access to quality water, quality food, land, quality of life, freedom, personal autonomy, health, safety, etc.

Many indigenous people lived on $0.00/day yet had a higher quality of life; before outside influences (i.e. civilization, imperial, western) disrupted their ecosystems & way of life.
Well, some people want exposure to bitcoins without necessarily understanding the block chain, recourse or anything really. That's the whole pitch behind everything the Winklevosses do in this domain. That's why they opened a bitcoin exchange traded fund and that's probably their rationale behind this exchange. Saying that "your dollars are eligible for FDIC insurance and never leave the country" makes someone think that their bitcoin balance is FDIC insured. I wasn't sure at first either and stock exchanges very explicitly state that their products are not FDIC insured and may lose value. Maybe the exchange has a similar disclaimer when you buy bitcoins on the exchange but I still think its a bit misleading to have that basically front and center.

Nothing wrong with wanting to invest in bitcoins without fully understanding them.
I think there's some value in the parent comment. Of course labor is not the only input.

But the laws of nature haven't changed; the Romans could have discovered science back then if they'd only set up society to do so.
If you have two fields in a query, does that mean two resolve functions? If I using a SQL database and the two fields were stored on two columns on the same table, wouldn't that cause 2 SQL queries to be run?
I guess law and programming aren't too different after all.

Just that one is about creating and the other about getting f*cked over.
I suspect you haven't read the documentation or tried using PowerShell for any length of time. PowerShell may be bash-like, but it's not bash, does not try to be bash, and won't reward you if you treat it like bash. But it's very orthogonal, clean, and well documented.

For your particular example:

> help grep

Name Category Module Synopsis
---- -------- ------ --------
Out-File Cmdlet Microsoft.PowerShell.U... Sends output to a file.
Select-String Cmdlet Microsoft.PowerShell.U... Finds text in strings and files.

Okay, so Select-String sounds really promising. Let's take a look.

> help select-string

NAME
Select-String

SYNOPSIS
Finds text in strings and files.

SYNTAX
Select-String [-Pattern] <String[]> [-Path] <String[]> [-AllMatches] [-CaseSensitive] [-Context
[<Int32[]>]] [-Encoding {unicode | utf7 | utf8 | utf32 | ascii | bigendianunicode | default | oem}]
[-Exclude [<String[]>]] [-Include [<String[]>]] [-InformationAction {SilentlyContinue | Stop | Continue |
Inquire | Ignore | Suspend}] [-InformationVariable [<System.String>]] [-List] [-NotMatch] [-Quiet]
[-SimpleMatch] [<CommonParameters>]

Most of those command flags seem really straightfoward to me. Can you be more specific about what was unclear to you? I'd be happy to help.

EDIT: BTW, it's a bit annoying to type Select-String, so it'd be nice if it had an alias. Does it have one?

Well, you can get aliases in PowerShell by typing alias. But that'll give you a wall of text; what you want to do is to quickly search for things that are aliased to Select-String.

There are two ways to do this. First, you can pipe to a GUI that allows directly filtering the results:

> alias | out-gridview

Or, alternatively, we can figure out what objects alias gives us:

> alias | select -first 1 | get-member

Note that we've got a Definition field, and query on that:

> alias | Where-Object { $_.definition -contains 'Select' }

which is a long version of

> alias | ? { $_.definition -contains 'Select' }

And notice that Select-String is aliased to sls by default. Note that I can just reference the column by name, rather than going through some awk/cut fun.

You might be annoyed that Select-String is not aliased to grep. While many commands actually do have multiple aliases to both DOS and Unix equivalents (e.g., Get-ChildItem is aliased to gci, dir, and ls, and Remove-Item has ri, rm, and del as aliases), Select-String works differently enough from grep that it's not a default alias so you're not confused.
Just to be clear, from what I can tell, 萌 means "sprout" as a verb, and has no noun sense. "Sprout" the noun appears to be 芽 (yá); so 豆芽 (dòuyá) "bean sprouts".

萌 meaning cute isn't just related, it's a direct borrowing from Japanese.
It's for sale directly from Apple - http://www.apple.com/au/shop/product/MC573Z/A/mac-os-x-106-s...
This is my ehtical chart

Apple (Worst Offender but also helped Open Source at times)

Microsoft M$ (Middle of the road with it always depending on who you spoke with at the company)

Google (Most powerful of the three in terms of control over people's lives if they wanted it, but I seriously think they stumble ethically not on purpose. I believe they try to follow, "Don't be evil" as a whole)
I don't see how the snippets bring value to the portfolio, can't imagine a use case.

Anyway good initiative!
Insofar as they aren't a popular tourist destination for people wanting to watch animals suffer, yes.
Check this out if you understand scala:

https://github.com/sangria-graphql/sangria-akka-http-example

Pulling data from a datastore is up to you. You can use whatever library you like to pull data in. All you have to do is make your `resolve` methods just return the data.

The GraphQL schema definition is basically an adapter (as in adapter pattern) on top of your datastore(s).
The Flickr Cities data viz looks at 49M geo-tagged photos
Mapping Neighborhood-Level Obesity in the United States
> it cost them tens of thousands of dollars to "repair" the breach

No they claimed just shy of a million dollars.
Sorry about that - it's at the top of my list!
OpenPGP SEIP downgrade attack
> People don't go about saying "I'm a fascist, let's give it another go, maybe it will work this time, sorry about the millions of dead children".

I guess you are unaware of the activities of Golden Dawn in Greece, or some of the more reactionary groups when meeting Syrian refugees in Europe etc. Or in the West Bank Kahanist hilltop settlements for that matter.

Until 10,000 years ago, the entire world was communist - not socialists saying they were working toward communism, but actual communism.

Is it OK for the communist hunter-gatherers in the Amazon wilderness to be the communists they are? Or should they get on their knees and say mea culpas for what some Laotian commissar did during a party purge half a century ago?
HairEffect, Real-time hair fitting product
Watch Microsoft Demos Insane Mixed-Reality Game for HoloLens
> I can't order Surface Book with 1TB drive

Surface Book storage options listed as: "Solid state drive (SSD) options: 128GB, 256GB, 512GB, or 1TB." http://www.microsoft.com/surface/en-us/devices/surface-book#...

Is this just something not available right away, or do you not want a solid state? I am confused.
I'm not knowledgeable about history of the Balkans, so I've actually googled. Tito is traditionally portrayed as a mild and benevolent dictator, because he had a split with Stalin and it was beneficial during the Cold War.

However, looking a bit further reveals massacres between 1945 to 1947. The Wikipedia article about his secret police has "A List Of People Assasinated" by them...

And since we are talking about cherry-picking, this is a problem I have with people claiming to be "on the left": this selective blindness to obvious horrendous crimes by the regime and abuse of power that these things lead to.
that is not a bad thing.

edit: OP criticised the site not have a Facebook login option.
There were stories about how they used to deliberately tweak the OS to break competitor software.

That's awful. But I think writing a competing app is a completely proper way to compete.

> they really did have a strong monopoly

Evidently they did not.

To those of us old enough to remember the "unbreakable" IBM monopoly, it's hard to worry too much about this stuff.