skysight-inc/HackerNews huggingface dataset:
The author of this post is a bozo, doing any (or not doing any) of the suggested things does not guarantee well formed XML. Disregarding whole sections of the XML spec, prescribing a certain way to generate xml are more harmful than not. Can text templates generate well formed xml, absolutely. Can tools generate non-well formed xml, absolutely.
It still does! and I get corrupted files like that mailed to weekly by integration partners. I may be wrong but I think FF also adds some crap to xml files when used as a viewer. I actually like xml, for some reason the structure of it makes alot of sense to me, while json is untidy and confusing
The board game market is strangely bifurcating where one biz model is $100 and up at seemingly ever higher prices via kickstarter, and the other model is something like the gmtgames p500 model where you preorder at a considerable discount to list price. So I got a copy of MBT last week for about 40% off because I preordered on the P500 a long time ago, at the same time as the kickstarter people were getting scythe for their $100 or whatever. DVG is in more or less the same market as gmtgames and has run some expensive kickstarters I've participated in, so its not merely a eurogames vs grognard thing or whatever.

The most interesting consumer side effect is one model has prices drop after launch, and the other has prices increase after launch.

One similarity is both models require extreme levels of customer participation, not a mere casual search at amazon for any game and expect it to arrive in two days, its a multi-month (year?) commitment of planning ahead and keeping up with the marketplace.

From having participated in some RPG kickstarters (admittedly slightly off topic) I sometimes think they aren't even beginning product development until some time after the kickstarter is funded, which will eventually lead to some spectacular inevitable fails.
Then would you suggest anarchy? If not, then where would you draw the line?

Also, pardon my ignorance on the topic, but other than the free movement treaty (and the others) that Switzerland signed itself, how does the EU control the country of Switzerland?
Daily RSS email digest
Ask HN: Your opinions about bots?
Facebook, Microsoft are putting lot of effort behind pushing bots inside a conventional ui.

What's your idea about bots? Worth investing?
> Don’t print

> Use an isolated serializer

Some old reference material (XML isn't as common as JSON anymore), but still worthwhile learning: don't output data formats directly. Directly = echo, print, printf,println...whatever your syntax suggests. I see this happen a lot with my junior engineers, and I have this same conversation with them.

Prefer to use data serializers that encapsulate all the syntactical rules that go along with XML, CSV, JSON, YAML, etc. Let the serializers do the grunt work of writing output in correct format.

Some serializers aren't always ideal - correctness and speed can be an issue. Nonetheless, prefer to use those mechanisms over writing your own output.
I wrote a little python script that sends me a daily email digest of my rss subscriptions. It really helps to avoid addictive rechecking of rss and social media feeds. I think you guys might find it useful =)
You're not wrong, but maybe on HN at least many of those people can be counted on not to vote out of reflex, unless they do really bring something to the table.

The other simple, sad fact is that the big breakthroughs that have some initial traction issues stick around. Often people point to the very early history of SR/GR, but it's worth pointing out how that turned out. When a shocking breakthrough is actually a shocking breakthrough, it ends up producing results that speak for themselves.

Until then, when it comes to extreme claims, so many more are just "bullshit" than "breakthrough". Our lives are finite, so it's not wise to ignore the role of triage in those lives.
And of course there is no cross-cultural empistemology that allows us to know which rights are universal, so they always become an excuse to power.
As someone who has only casually dabbled in C I found "C: A Reference Manual" [1] a great companion to the "Expert C Programming" book. The typography is dull but the content is excellent - all the details about the language standard and libraries are there while remaining concise enough to serve as a reference book.

[1] http://careferencemanual.com/
Or maybe pick from a number of descriptors just like the ones you listed, and if one breaches a certain threshhold, it gets tagged with "Widely Disbelieved" or the like.
Don't all the browsers get exploited at pwn2own?
Interesting. Thanks for the detailed answer. I'm not into MUDs or Latex myself, but will check out your projects at least some to see if I can learn any language idioms or usage of language features. I did write a couple of small tools using my xtopdf toolkit (Python), to allow creation of simple PDF ebooks from text or XML input, but it does not use a markup approach, instead, it leverages the structure of text and XML files.
In a previous job we had to run our apps through Vericode to supposedly do this exact thing. I didn't think much of its advice at the time (4 years ago) but how is what Mudge is doing is any different?
Nice. Recreating these methods in simple code for yourself is definitely the way to check you understand it. This demo looks nice, clean, and straightforward. (Although I'd rename or comment variables x and y, or give some sort of guidance on what way around the weight matrices are within the code itself.)

It's also worth checking out existing neural net code-bases to see what tricks they have. The fine details usually aren't in papers, and they're not all in the text-books either.

The first potential problem that jumped out at me in this code was the initialization:

self.weights = [np.array([0])] + [np.random.randn(y, x)
for y, x in zip(sizes[1:], sizes[:-1])]

If the number of units in a layer is H, the typical size of the input into the layer above will be √(H). For large H, the sigmoid will usually saturate, and the gradients will underflow to zero, making it impossible to learn anything. There are some tricks to avoid the numerical problems, but even if you avoid numerical-underflow, things probably aren't going to work well.

I'd multiply those initial weights by a small constant divided by the square-root of weights going into the same neuron. For multiple layers you might consider layer-by-layer pre-training. For other architectures, like recurrent nets, definitely find a reference on how to do the initialization.

PS I would definitely add a test routine to check that the gradients from back-propagation agree with a finite difference approximation. It's so easy to get gradient code wrong, and it's so easy to test.
Neither candidate is addressing the biggest challenge to jobs: automation
Simple Multiclass Classification with Keras
Just releasing a large number of hacked emails at the right/wrong time, even if they contained absolutely nothing of note could affect the candidate negatively if it distracts from their planned talking points and supports others.

Some might say that's exactly what happened.
>It's crazy that people are so adamant to do social engineering for Uber that they won't even agree to entirely uncontroversial claims, like most taxis in Boston are clean or have functioning card readers -- things which are indisputably accurate.

I'm from Boston. I took a ride from Brighton to Hynes. The cab driver goes through Storrow Dr and he skips the Kenmore exit to get to Hynes. I think he's going to take the Beacon Hill exit and he skips that too.

I asked him why he didn't take the exit and he said, "Oh I thought you wanted to go to the Prudential."

Prudential is the same place as Hynes. The taxi takes me all the way up Storrow to I-93 then to I-90 west finally taking the Copley exit back to Hynes.

My bill ended up $45 from Brighton to Hynes.

I have countless horror stories of cabs not picking me up because the distance was too short (South end to Fenway is too short), credit card machines "not working" so it's cash only, cabs not showing up at all or extremely late.

I even have a cab scam story in Baltimore which I commented about here on HN.

Uber has questionable ethics, but at least I don't have to deal with frustrations.

I've lived in New Englad over a decade so this is my anecdotal experience with Boston cab drivers.
European countries were not really «prospering» on their own. They have been in war for centuries before. That's the point of having Europe as a community, play cooperatively, not free-for-all. Of course, not all countries were hit by wars, some even prospered from it. Was it your point?
Hey, that's the EU way — note how the EU Constitution was rejected in referenda, then accepted as the Treaty of Lisbon. If the people don't agree, elect a new people!
Berlin is awesome!
It's good to think of dy/dx as (d/dx)y. In addition, it is also possible to make some sense of dy/dx. Here's one very hand-wavy way of looking at it.

Let ε be something very small, and define the difference operator d so that (df)(x) = f(x + ε) - f(x). Usually we don't want to handle the functions dx and dy by themselves, because they are so small, and their exact values depend on ε. But when we divide dy by dx we get something that is no longer ε-sized, and doesn't (in a limit sense) depend on the value of ε.

And why think way? When I learned the chain rule dy/dx = dy/du * du/dx I was told that even though the du's appear to cancel out, this is just abuse of notation and basically a meaningless coincidence. I understand that the teachers just wanted students to be careful; they don't want people "simplifying" dx/dy to x/y. However, I was never really satisfied with this explanation. I finally realized that by thinking about it using the difference operator above, it is not a meaningless coincidence: the du's actually do, in a sense, cancel out.
> Yet again, an investigative report has found that Uber underpays its drivers.

Aren't the fares proportional to how many drivers are available? If the fares are too low, don't drive. If enough people stop driving, the fare will go up.
Generally good advice when getting to know someone new that you want to like you. That said, you can always speak German to people you know or people whose opinion don't matter.
It's a bit silly to leave out any mention of self driving cars in an article called "Disrupting Uber".

Driving around cars around all day is a silly job, ideally a job that should not exist in 5 years from now. We'd better discuss basic income instead of co-op taxi companies.
Because its prefered or reqired by a well paying customer. With any sane web framework you get both JSON and XML out of the box. If the well paying customer doesnt send an XML Accept header you make it the default respose type and tell everyone else to send a JSON Accept header. If theres a conflict between multiple well paying customers, you make new end points.
I dabbled with it about six months ago. I write most of my software in Scala, but I continue to hit the ceiling and run into places where type inference fails, compiler bugs add friction, or other oddities (22-tuple limit) get in the way. One of my experiments was to see if I could write some portions of my software in Frege, and some in Scala to get the best of both worlds.

I think the answer that to that question appears to be yes [1], but I stopped experimenting. I am considering resuming my experiment now that Frege appears to be crystallizing a bit more.

The java interop is nice, albeit it imposes discipline (as it should). Since java doesn't care about side effects, most of the values returned from a java function call will be in a Mutable monad. Here [2] is a good walkthrough for how it is done in case you want to try it out.

[1] https://groups.google.com/d/topic/frege-programming-language...

[2] http://mmhelloworld.github.io/blog/2013/07/10/frege-hello-ja...
I enjoy Gladwell's writing style and annecdotes, but have become wary of actually believing any argument he makes with them. The more I know about a subject the less convincing and more cherry-picked the annecdotes seem to become.

I think his books are made the same way the evening TV news is:- an editorial narrative is decided upon, and then people are interviewed until someone says what the editor wants and that's the clip that gets used.

Buy his books, by all means, just be wary and do your own research :)
I still believe that Uber artificially creates a market by subsidizing a price point that is attractive to the drivers.
I'll add some more reasons to the flamebait:

- JSON doesn't have namespaces, making integration of different data-sources quite hard.

- XML allows me to do versioning within documents.

- An extremely large corpus of well-tested libraries are available.

- As opposed to JSON, XML and accompanying standards (XSLT, XML Schema, XPath, XQuery) are extremely well documented.

- XML validation, parsing and processing can happen at the same time, allowing streaming solutions. Using the XML schema, a parser can be created which is optimized for a specific stream of data.

(edit: formatting)
"The drivers who don’t completely depend on their work with Uber to pay their bills — a group that makes up about half of the company’s workforce — depress full-time workers’ wages."

I bet this creates a larger defensive moat than most competitors assume.

Uber is a supply/demand driven model (eg success w surge pricing) and even modest additional supply generates lower rates.

Lacking that same supply efficiency in full time driver platforms will keep their prices higher and without a significant price advantage consumers will stay with the known brands.

Not to mention the end game which is going to drop human drivers from the equation all together.
You are right.

Maybe I should just flag and move on.

I still hope I am right when I say I never start and I rarely downvote opponents, instead trying to present the other forgotten point of view :-/
I think that armitron's point is that Chrome gets exploited, like everybody else, despite being named in the article as the browser with the highest score. High score != "no vulnerabilities"
I think what would make for a larger breakthrough is a process which produced a replacement of cement aggregates from air or sea water at gigantic industrial scales.
React-Ionic – Create iOS and Android Apps with React and Ionic
Hybrid or Native?
UN Agree to Send Police to Burundi
Yeah that's the one, I was looking at this post that uses Spotify and echonest too https://jmperezperez.com/bpm-detection-javascript/
Simpler than many I expect to see listed here, but I'm a pretty big fan of Dominion. If the cards are always picked randomly, each play of the game is very different.
"I should be able to see what data an app is sending..."

And you can. There are many ways. Something as simple as 2 socat instances and netsed works great as a quick and dirty but very robust solution. See also sslsplit which will generate certificates on the fly.

Anyone who is telling you that you can place complete trust in the use of x509 certificates on the open internet is either naive or dishonest.

I think you have the right attitude.
XML is well regarded in the enterprise and languages like JAVA, C#, and VB.NET handle is spectacularly as an exchange format.

I think it's bad reputation comes from anyone not using an enterprise language because the support just isn't there.

I recall working with a partner who we were doing an identity federation with. Our system was using WS-Trust which is a SOAP/XML protocol. It wasn't ideal but everyone seemed to support it ok. These guys were cutting edge though and used Ruby on Rails.

No support for the protocol wasn't a huge deal, just means you have to craft your XML for your SOAP calls yourself. But at the time we were doing this, RoR didn't have SOAP or XML libraries. They had to write everything from the ground up. It sucked for me and I was just fielding rudimentary questions, I can't imagine how painful it must have been for them.
> on at least a hardcoded elf interpreter

Some rely on gcc, but again, it can be run from a local directory. Various dynamic libraries can be looked up by setting environment variables or passing parameters.

I think Nix is a great idea, but I'm not aware of an argument for hardcoding those root paths which truly holds water. It makes sense of NixOS, sure, but that's because it's an environment with top-to-bottom control.

The rest of us have to be good and share our toys.
In a University you work with many people from all over the world, and success depends on doing so.

This is the thing I don't quite understand about the position described in the article here. We already do have partnerships with other researchers from all over the world, not just the EU. I've seen some academics talking as if it will suddenly be impossible for colleagues from other EU member states to come and work in our universities, or vice versa. Sometimes they were literally making that argument with a colleague from a US university sitting on one side of them and a colleague from Japan on the other!

There are plenty of legitimate concerns that will need to be addressed, and the uncertainty in the near future affecting those planning longer term projects or research funding isn't helpful. However, the idea that it will become dramatically more difficult to collaborate with colleagues from the other EU member states or to run research programmes together seems paranoid at this stage.
Best moment:

"I'll move everyone to windows!"

-> Girl crying

-> "Don't worry, you can use bash on Windows 10 now".
When discussing "free movement" and "immigration" with regards to Switzerland, you always need to keep in mind that the Swiss have the highest percentage of foreigners of all European countries (by a good margin as I remember).

A natural feeling of "saturation" that comes with it doesn't really seem surprising, racist or anything like that.
Some reason I found it hard to Google GeoTax - eventually I found this paper which has a description under the name georent- https://econjwatch.org/file_download/66/2005-04-foldvary-tyr...
While we ask to create an account at purchase time, it's never needed for trials. Also, to work with Paw for Teams and share projects, an account is required as it obviously needs an authentication scheme for access control… -Micha from Paw
yeah the basic stuff. but when it comes to tenses, etc.
Just look at job descriptions, even feminists don't care about our language.
Most of the metrics, etc. are not new [1]. The two new things are:

1. Mudge has enough credibility that, at least for now, most security people trust his assessments.

2. He's willing to publicly assign grades, and take all the backlash and legal heat that entails.

Really it's the second one that will probably make the most difference here. If his organization manages to survive the first couple years without being sued into the ground, I expect it will have a big impact on the software world.

[1] From what I can tell from reading the article. They could certainly be doing more behind the scenes that didn't get reported.
Ask HN: SQL or NoSQL?
I need to analyze some football match data using a neural net. The data is in XML, one XML file per match. The XML file is really dirty. I wanted to know if its make sense to extract the data from XML and structure it first in an SQL DB? Or is it advisable to work directly with the XML files? If anyone has experience on the matter, I would really like to hear about it.
The rulebook for chess and go is zillions of published books on pattern matching and book openings and book responses. To play at a high level you have to memorize and perfectly apply uncountable zillions of rules and patterns or you'll just be destroyed by someone who's memorized more rules. If you don't know all the chess book openings and you play against someone who does know them, you may as well just save everyone some time and immediately resign. Much like MtG, how much time and money are you willing to spend to win? This turned me off from the whole genre of "memorize and pattern match" games, I just don't find that to be recreational.

The pinnacle of large rulesets is RPG games, anyway. With the possible exception of some 80s classics like squad leader and starfleet battles there are no rulebooks that compare in size to the foot or so linear shelf space of a full set of Pathfinder rulebooks.
I implore you to read some of the facts on #gamergate - it's no coincidence that most of the people crowing the loudest about harassment have a financial motive to present that argument.

Most of what you're hearing is horribly, horribly slanted, if not outright false. Ask yourself why we're supposed to take someone that cries "i'm being harassed!" on faith. Ask yourself why certain prominent individuals have been caught faking harassment directed at themselves.

http://deepfreeze.it - literally every single point of discussion on this site is backed up with a citation, and it provides a very strong, very plausible alternative to the narrative surrounding that movement. I'm not going to say that trolls in there don't exist, but it's not near as significant a component of the group as you've been led to believe.
Quelf is always a good time.
https://www.amazon.com/Spin-Master-Games-20053371-Quelf/dp/B...
You could also call it a Volkswagen approach towards innovation. Never first to market, never anything rushed out, and do not stray away from the beaten path until the new thing has been implemented perfectly.
WS2 should be a relatively inert wafer/flake, the desirable property is the so-called van Hove singularity in the electronic density of states that makes it ideal for solar cells.
- Settlers of Catan: Cities and Knights
- Caracassonne
- Blokus
- Chess
- Risk (Luxor, complex maps)
- Aquire
It's a classic trap that appears to get software developers caught (even now in 2016!) at that point where you are still lacking that firm grasp of the standard libraries available to you.
That is assuming that the media, backed by recent and coming economic figures won't scaremonger and break away all the other popular arguments against Brexit, as 'no foreigners' wasn't the only argument. Not to mention that procrastination and fearful reports by the government will also help. The longer it takes the easier it will be to kill it.

Of course, all of this assumes May's intention to not exit.
Scroll to the bottom where is says "sources"
A bit of a digression, but...I strongly dislike dubbing and simply cannot enjoy a dubbed drama or film.

First, you have the distracting mismatch between the actor's mouth movements and the dubbed dialogue.

Second, the way an actor speaks in their native language is an intrinsic part of their performance. A dubbed performance will be different, but can never match the original (unless we're talking about a poorly acted, poor quality production).

To give an example, the Scandinavian series The Bridge has won great praise for the performance of its lead (Sofia Helin). This has been a big international hit (in the UK it was shown subtitled). Can a dubbing actor really ever inhabit a character in the same way as the original performer? (Don't forget the dubbing actor also sits in a room performing the dub, not on location like the original actors).

There is one scenario where I understand dubbing is necessary: children's films. But even here, you can notice a difference. When Disney dubbed the Japanese animated movie Spirited Away, they did a very good job with the American voice actors. However, if you listen to the original Japanese soundtrack, you come away with a different impression of the film because the Japanese language has a very different tone and inflection to English.