skysight-inc/HackerNews huggingface dataset:
>You are mistaking HTML/Browser rendering and XML parsing.

I am not mistaking, I am comparing.

>An application that parses XML for book rendering, or whatever the hell the purpose of the application is, will fail on invalid input

Which will be treated as a bug if other applications DON'T fail (which some undoubtedly will).

>That is NORMAL, and you would do the same with JSON

In my experience the OPPOSITE is normal. If XML is invalid but still makes sense, you treat it as valid, because if you don't, your competitors will.

If the customer is getting XML from output X and feeding into your app, he doesn't care that output X is outputting invalid XML if your competitors' apps accept it. He'll just treat your app as the broken one, not buy it and move on with his life and you've just lost a sale. I've seen it happen MANY times. This phenomenon does NOT just apply to browsers, it's just more aptly demonstrated with browsers. NOBODY wants a browser that doesn't accept valid HTML. They never did and they never will.

And what's different about web pages to any other kind of XML? There's more of them, that's all, and people want ALL of them to work. Permissiveness in the consumers is inevitable with ANY kind of XML document that becomes popular for exactly the same reason as it is with browsers.

>that's not because of history of HTML and IE/Netscape/whatever that you need to change your mind about XML.

Yes it is because this sort-of-invalid-but-not-quite problem is a unique one to XML. JSON doesn't have it.

>So if a web service was to accept a specific type of XML, it would certainly need to be made valid

If you don't think somebody would throw invalid XML at your app and not expect it to work then you've clearly never worked with XML seriously.

If you think you can just tell the customer to go fuck themselves because the XML they got from another service doesn't validate, see my previous point.

>if a client does not conform why the fuck do you want your service to be permissive? Seriously.

Because it will make your service work where an impermissive one won't, and when your service works and competitors don't, that's called gaining marketshare.

Seriously.

>You can make a service that accepts the resume schema directly, or embed it in a CDATA if you want to.

Or you could just use JSON or YAML.

>Talking about apple and oranges. XML and docbook are not the same.

docbook IS XML.
No support for routing?
I work at a company where we have built one of our products (a large distributed system that tracks television content worldwide) completely on .NET. I love C#, it's a very decent blend between a whole lot of languages and additions of LINQ and async/await kept it relevant. Visual Studio is the best IDE I've worked with, not because it's such a good editor but because it has a sane debugger that is actually helpful.

I still wouldn't run my startup on .NET though, for a number of reasons. Mono simply isn't there yet. Code that works fine on Windows mysteriously stops working on Mono due to threading or GC vagaries (yes, even in the latest version). This isn't a dealbreaker, but it is pretty annoying especially since debugging these kinds of problems are of precisely the kind that I don't want to debug.

The ecosystem is really quite poor compared to, say, JVM or Node. For all the faults of either, there is a LOT of stuff going on and there is a LOT of innovation that is sorely lacking from the .NET world. .NET usually catches up eventually but it's either late or half-hearted (just look at the progress of NHibernate vs. Hibernate).

I think ASP.NET vNext is a step in a very good direction and I hope to be able to change my opinion sometime next year.
Why do you want data-* attributes? If only for validation, why?
The myth of the old fogeys: Supreme Court is tech-savvier than people think
Absolutely true, and so often missed. While it may be true that a good programmer can learn any language the cost of this is time, and nowhere is the phrase 'time is money' more true than in a startup.
> I need either higher-kinded types or something equivalent to them.

FWIW it seems that many of the Rust developers want this for Rust.
Regarding your last sentence: May I ask whether you

a) speak Hebrew

b) are jewish?

Both seems to help a lot (got some friends from DE and the US that had less trouble than I did and .. well, that might make a difference).

I'd certainly even agree that I'd prefer the treatment in IL to any body scanner/groping experience "elsewhere", but I don't like the experience one bit and get singled out more or less every time.
UK: Keep mobile phones and laptops charged or else
If there's a good chance you are going to have other developers get involved in the codebase then other considerations come up. E.g. how easy it is to find such a developer, how competitive pay is for the platform, how well established coding standards are to ease collaboration, what type of developer you want to attract (likelihood of being full-stack, willingness to learn about new technologies, experience, ..).

Not to say .NET can't still be the right choice. Just that there are other points to consider other than strictly personal preference. You could argue for an MVP this isn't the case but honestly I think being in a position where you have to do a full rewrite a year later is in some ways worse than facing a (hopefully slight) learning curve when starting out.
I don't think it deserves downvotes, OP is right.

Honor can function both in a group of honest citizens and in a group of obdurate criminals. It's a game-theoretic trick raised to the level of virtue and it's independent of group morality.
My personal advise is to stop wasting your time with studying anymore. A lot of web agencies and startups do not care if you have a university degrees or not, they only care about your programming skills. Find a job in Singapore, Malaysia, Hong Kong, Taiwan, etc. If you look at http://www.startupjobs.asia/ you will see that a lot of startups welcome developers from other countries.

But then again, this is my personal advise. If you firmly decided to continue studying aboard, don't let a random stranger on internet change your mind. Good luck to you anyway!
What about Xamarin though:

https://xamarin.com/

I've been kind of avoiding mobile development after getting my fingers slightly singed by spending too much time with jQuery Mobile before giving up - the one thing that tempts me to try doing some mobile development is the Xamarin tool set.
This is exactly where XML is the only right choice. JSON is much simpler than XML, thats why lots of people like it. However for documents XML markup is more appropriate. The reasons:

- Allows extensibility with other xml standards (such as SVG and MathML in your resume, which might makes sense)
- Allows linking to other stuff with XLink
- Allows styling it with lots of xml styling technologies.
- Better versioning support

JSON is not bad however, so if you just want to have simple plaint text cv's, json is good enough.
I do agree that with XML comes bloatness, complexity, and more crap. However from a pure technical point of view, its a better option for doing resumes.
> NHibernate vs. Hibernate

As a counter argument to that (specifically), we don't really need NHibernate when we have Entity Framework.
No, objects. Non-text. Real data. Plus methods.

Read a PowerShell primer to better understand this. PowerShell is geniusly designed and horribly implemented, so there's little point actually using it, but UNIX could really really use some of its ideas.
I wonder if it's maybe time for banks to stop printing magstripe cards by default and offer a "world" version of their card as an option for people who travel to places like the US?
I occasionally need to open links in Firefox (rather than Chrome) so I have a FF <url> workflow that simply opens that link in Firefox. I need to automate more of my workflows.
I honestly don't like XML, not that there aren't very verbose tools and standards to make it easier to use, but intrinsically you can't look at XML file and know how a codified representation should look like... if you have an element it will have properties and child elements... said child elements may contain children, strings, or ??? ... JSON maps much more naturally to an object model in a given language. That's just one way that by example you can show JSON, and know what you need to make.

Not to mention, XML is much more verbose, and when you wrap it in things like ws*/SOAP it gets really ugly really quickly, and if you don't map everything, it gets complicated and often fails. When you publish a service using one toolkit, it's often difficult to use the service in another toolkit (example, using Java services in .Net gets really painful at times). Unless a lot of detail is done, or an API client in that client's environment is provided.

This isn't about XML specifically but about the environment it tends to create. JSON is typically simpler to write, easier to code against and more forgiving in the tooling than XML is. Much like the differences between a scripted environment and a statically compiled environment.
And then you have someone like Rupeni Caucau who by everyone's accounts (including himself) is one of the laziest professional rugby players ever to get a contract, repeatedly missing training, unexplained absences, incredibly poor diet and conditioning and yet can do stuff like this:

https://www.youtube.com/watch?v=P3f0BggE__4
https://www.youtube.com/watch?v=R0svVz4kSWM
https://www.youtube.com/watch?v=S6qdM6O26CY

If you want to tell me how many hours training it would take to score that first try I am all ears.
An alternative to emigrating could be finding a local company working on projects for foreign clients. For example, I live in Eastern Europe and work for a company that deals 99% with clients from Denmark (Central Europe). I make significantly more than the average worker here does. Just be careful and make sure the company values quality and best practices over a quick buck.
But the fee is baked into a worse forex rate on the transfer. They always find a way to get you.
I am OP's "friend who is a maths PhD". I'd just like to expand Grovulent's version of my position a bit to make it a little more convincing. To my mind, all of the problems are explained by the following three things:

1) Echoing vlasev [1], I think a very good analogy of the relation between proofs in mathematical logic and proofs in "normal" mathematics is that of the difference between programming in assembly (portability issues notwithstanding, though mathematical logic is probably a friendly RISC arch) and programming in a dense high-level language like Haskell. The productivity gain from using the high-level language, that permits skipping all those pesky unimportant details, is astronomical, and no amount of complaining from people who find Haskell hard to grok is going to stop us using it. (Drink the Koolaide, my friend, drink it up!) I think it is uncontroversial that this be true for research mathematics, but of course we don't want to just throw students in the deep end, which is why the education system attempts to build this knowledge gradually, which leads me to...

2) More practically, I think most peoples' problems learning mathematics come from (if you'll forgive a mathematical metaphor!) the person being out of phase with the material. This is subtler than what Grovulent described. Excellent material exists for all stages of one's mathematical development, of this I am certain; the hard part is ensuring that one is using material that is hard enough to be challenging, but not so hard as to be crushingly incomprehensible. This goes for people doing research in mathematics as well as people being introduced to calculus for the first time, and is very difficult to know when you are the student in question. We generally rely on the education system and expert advice to match students to the appropriate material, and clearly the system doesn't always work very well given how many people are out-of-phase with the material in front of them. In general, most mathematicians love talking about mathematics, and the love teaching it too! They love helping people understand and appreciate this marvel of human ingenuity. Just browse Math.SE[2] and Mathoverflow[3] for a while if you don't believe me.

3) Finally, an additional element is that many people expect to be able to learn mathematics quite easily without much or any deep reflection, because that's how they've always learned things in the past. But you simply can't learn mathematics like that, and you'll be disappointed and frustrated if you try to. (I certainly concede that mathematicians could do a better job of warning students about this.) Learning mathematics involves being in an almost constant state of uncertainty, and of making many, many mistakes, often in front of many other people, and being comfortable with all that. This is a state of affairs that many people find disconcerting, and there's nothing mathematicians can do about that bar suggesting that the student chill out and try not to let their ego get in the way of their education.

[1] https://news.ycombinator.com/item?id=7997422
[2] https://math.stackexchange.com
[3] https://mathoverflow.net
a measurable advantage of c# over java is LINQ.
Indeed. https://github.com/audreyt/500lines/tree/master/spreadsheet mentions AngularJS and ES6 upfront, but in retrospect it'd be better to mention them in the title too. Thanks for the reminder!
When you start from scratch I'd agree with you, but if you want to interface with a legacy database and you need some more esoteric mappings and user-defined types then I'm not sure how happy you'd be with EF.
Stupid question but why don't big companies like Google and Apple just move the bulk of their office outside of San Francisco where there are no regulations and they could just build everything they need there.

If SF is being so hostile towards basically the driving engine of their local economy the best option is to relocate to a place where there are fewer restriction.

A build your own small city kind of situation. They can certainly afford it.

It's win-win Google gets their employes close to the office the employees get cheaper housing and if it's a large enough community you will be getting new people coming in opening shops and other stuff to take advantage of the demand.

The only one slightly worse off is SF with all the money leaving the place but it's not like they appreciate what they have now anyway.
Germany turns up pressure in suspected US spy case
As a counter-counter point: You absolutely need NHibernate (or something else) when you use EF.

Steviee
You're not completely wrong. But without Bitcoin being accepted everywhere for everything, dollars will always be involved, and that's when're the regulation can and will live.
Still not the silver bullet.

In Germany it's not really common to call people by their first name (IT is an exception), but I would hardly put "Mr. Lastname" into "what do we call you". It all depends on the context, even in the limited scope of a resume.
Installed, started. xiki status says it's running but I'm back in my usual shell and nothing works any different. No mouse interaction like in the video. Maybe I'm missing something obvious, maybe the tutorial (Where is it?) or is it an OSX only thing? I'm on Linux.

I started the web interface, used it to hook xiki to emacs, restarted emacs and run into the unfixed "error: el4r-instance is dead" bug.

I stopped using xiki. Maybe I'll give it a try when I'll have time to investigate but it's 2014. There are too many tools battling for mindshare and if something doesn't have a good tutorial and doesn't work out of the box isn't giving a good signal.
Several years ago I started a website called WTFormula.com
Unfortunately I was the only contributor, and since I'm not a mathematician my contributions were very few. I haven't been able to convince other people with helping writing content, and eventually I dropped it for lack in interest (the domain is also available again). I still believe it would be a very useful and nice tool to have, though.

Currently I'm working on http://libflow.com (on my spare time) and I have a lot of ideas to improve it (this "rap genius for research papers" was one of the possible improvements I had in mind). Unfortunately the project is on hold because I currently don't have the money to move it to a dedicated server and enough free time to make major changes to the site.
No. But why do you need that bundled with something like this? You got two way data binding, so use a separate routing library to read routes off the url and change a variable in the bound scope, and let the DOM update accordingly.
"They left work and played volleyball and worked on their tuner car and went to family events and so on. They learned exactly what was specifically necessary for their job today and tomorrow. Never beyond.

Most of them were 20-ish year olds."

Any idea what happened to your colleagues?
Some banks issue chip-and-pin cards which also have a magnetic stripe, but the magstripe is not activated unless you specifically ask for it. And you can do things like activate the magstripe for a specific country for a specific time frame.
Will Go give Java a run for its money?
Don't mind the lack of math skills. For a lot of programming tasks they are completely irrelevant. I studied some CS and later history at uni and I always felt that the things I learned studying history has been more useful for me than the CS courses were.

Writing good software is very much about abstract thinking and good language skills. I think you'll find that the things you learned studying literature and philosophy may be a lot more applicable that common wisdom suggests.
I see memorizing the times table as a form of caching. I use it so frequently and it's so 'cheap' to keep this information in my head that any kind of calculation just isn't worth it.

Plus, it's pretty easy to combine this information to multiply above 12.
Howdy, neighbor! Or so I imagine, since you could be describing my neighborhood. Our 1,300sqft, 90yo cottage is, per Zillow, worth $1.3M. We bought in 1973, paid off the mortgage in the 90s, and yeah, our recent assessment notice had only a 5-digit number.
I'm getting a 404 error. Is there a cached copy out there?

EDIT: The blog's front page has a full copy of the article at the top. (As I write this at least.)
> Building in languages like PHP, JS, Java, and to a
> lesser extend Perl and Python, means you have access to
> lots of cheap devs. Especially in the case of PHP and JS.

Given that PHP and JS is what Facebook's stack is written in, does this mean that Facebook pays below market salary and they're taking advantage of all those cheap devs who could instead be raking in the money at a C# company?
That's not entirely true, it would be reasonable to expect the DoJ to be able to communicate the meaning more effectively to the public. It is however unreasonable to expect the general public to understand every bit of jargon from every field in every branch of government. For government to serve the people effectively it must be able to communicate with it.
http://forums.jawbone.com/t5/NEW-ERA/Watch-Brazil-vs-Germany...
C# I can handle (despite coming to it late, as part of Unity3D), but I find Java more and more frustrating to work with.

To be honest, I think I'm just using it for the wrong thing - I don't tend to work on big, collaborative projects which is where Java really shines. Meanwhile, C# has a few conveniences (such as LINQ and rectangular arrays, off the top of my head) which seem to me to make scripting and small projects easier.
I agree "get all the free Microsoft goodies when you start, and once you really need the paid versions you're probably successful enough that the cost doesn't matter much" is one fair conclusion to the article. However I don't believe that's the only conclusion. Mostly I want .NET to be a consideration as an option when building out the technology in a startup.

I'm concerned about vender lock-in as well, just less concerned then I used to be. Microsoft's gone to great lengths to reduce some of my concerns. The fact that you are using C# with Postgres demonstrates that there doesn't need to be complete lock-in.

Do you mind sharing more about what your C#/Postgres app looks like? This combination is one option I'll be looking at for my next venture.
"Technically, with the state of OCR and other methods, many things like LaTeX, PDFs, .DOCs, etc are all perfectly machine readable"

Uh, no. What does OCR even have to do with the 'machine readability' (for your strange definition of it) of the formats you mention?
man, I agree with your recommendation, but strongly disagree with your reasoning.

Cheap devs don't pay off. Seriously, I have hired a lot of developers and one good dev (at twice the rate of a cheap one) can easily do 10 times the work, while minimizing technical debt.

If you're doing a prototype with the full intention of throwing it away, that's one thing but please don't go cheap. Get less devs and pay them more.

As for languages, a startup wants to be cheap. Most of them are doing web stuff. Unless you have a specific need, go ruby or python. People who are interested in either generally are passing on php / javascript for a reason i.e. they're not good languages. Maybe pick go if you want to do systems stuff or performance is critical.

The reasons NOT to pick C# are 1) cost 2) lockin 3) flexibility
With all due respect, this looks like an early-stage project. If everyone adopts such a dismissive attitude, Show HN might as well not exist.
"So [politician] was a liar?"

Yes.
Thanks! The aim for the chapter is indeed to show how ES6 and AngularJS simplify a typical web application like this.

The version at https://github.com/audreyt/500lines/tree/master/spreadsheet/... has exactly the same line count, but with more idiomatic workarounds that's less clear to students new to web development (the audience of this book).

It is possible to replace AngularJS (the only external library) with regular blur/focus/change handler as @xem shows — without affecting the line counts — but the separation of concerns between view, logic and worker would be less clear.
We should be able to generate those from the email. Good suggestion though, I'm going to add mine to my resume.
We'll see. Hopefully it is not as half-hearted as the other technologies Microsoft tries to establish and then forgets about. They will need to put a lot of effort into it to have something even remotely equal to Node (or other micro servers). And when they deliver, the Node hype could be gone already! ;)
In my case 6x8 is exactly the one I have trouble with. 7x8 is easy for me because in dutch it's pronounced as 'seven times eight is six five' (as we say six and fifty, like the germans). So it's basically just sequential numbers.

But for some reason, in my late twenties, I still go 'six times eight is five times eight is forty plus eight is forty-eight'. Every time!
It's asinine to write about and promote such a result as "10,000 hours"[1] when the result was really that it varies a lot from skill to skill. Using some constant number like 10,000 gives exactly the idea that there is some hard-and-fast rule to the amount of time needed to practice in order to attain some skill in some endeavour.

[1] Whether that was the author himself or the various people that that wrote second/third hand articles about it.
Clustering with Dirichlet Process Mixture Models in Java
I wonder if one could somehow temporarily disable the magnetic stripe? I wouldn't dare scratch it off completely, but I would love to cover it up as a precaution.
Because 1/(1-a) is L(a)
LokLok lets you send doodles directly from your lockscreen
NZ ISP circumvents geo blocking on netflix for all customers
First Open Source Bitcoin ATM in Germany
> I don't tend to work on big, collaborative projects which is where Java really shines

What aspects of C# makes working on large collaborative projects difficult? Not sure where you are going with this.

Unless you meant Team Foundation Server / Visual Source Safe pukes.