skysight-inc/HackerNews huggingface dataset:
> Stripping "bad stuff" as you put it should be mandatory regardless. Someone can simply craft a raw post to the "action" URL of the form (the handler) without loading the page at all.

The second sentence is irrelevant, I am not assuming javascript checks, I already know user input is untrusted.

But the first is, AFAICT, wrong: If I escape correctly all user input before using it, I don't need to strip anything (unless I want to let some HTML through).
If you think escaping input is not enough, could you give me an example?
Pace4000 header identification
I hear you, for a lot of writing I'm thinking more than typing. but it's useful for transcription, also communication as you usually communicate quite fluently and without too much thought, so I could benefit there.
Tests should be based on the specification. If I want to change some internal implementation detail I should only have to verify that the current tests pass.

If a e.g game contains a sorting in some place in the renderer, I can replace the quicksort with a mergesort as long as the renderer interface is still testing ok. The new sort algorithm may have new special case paths (even number of items vs odd for example) but it's not a concern of the renderer public interface. I may however have introduced a bug with an odd number of items here and the old code was 100% covered and now it isn't. So there is a potential problem and the 99% has actually helped spot it.

If the sorting is a private implementation detail of the renderer then there is no other place to test it than to add a new test to the renderer component only because the sorting algo requires it for a code path. This is BAD.

The proper action here is NOT to add tests to the renderer component to test the sorting code path, but instead to make the sorting visible and testable in isolation via its own public interface.

So one of the positive things about requiring coverage is that if you do it right, it will lead to smaller and more decoupled modules of code.

The bad thing is that if you do it wrong you will have your God classes and a bunch of tests coupled tightly to them.
Have you tried Gitbook? (https://www.gitbook.io/ https://news.ycombinator.com/item?id=7524956)
There is no problem with America's higher education. If person like me who is born in a poor family in India can take expensive loans in India (11% APR) come here and make a good living and pay off the loan, that is what an American dream looks like.

I think American youth is outright lazy and irresponsible and acting like crybaby. They dont need some "right to college". What they need is to get rid of the utterly broken public education system at elementary level. Public schools are the bog where most of the poor young American Kids end up being forced into. These kids have little option but to take the abysmal quality education. My kids on other hand go to better private schools or I am rich enough to buy a house near the best public schools.

Replace the public school funding with School vouchers.

At present American Public schooling looks like a North Korean model of education. "Government knows the best"!
No, we’re not over 30% retention week-on-week
Which tools in particular do you feel are acceptable? "Just writing the code to parse the language" is almost definitional of shotgun parsers, so it sounds like you are advocating an ad-hoc parser (probably something recursive descent-ish, or perhaps with even less structure than that), but I wouldn't want to put words in your mouth.

ADDENDUM: In particular, the article mentions PEGs. Not in an unambiguously positive light, but nonetheless: do you count PEGs as being a useless overly academic tool?

The LANGSEC project has done (in my opinion) a pretty good job arguing that this behavior causes many security issues in software. Perhaps only to some extent for programming languages in general, but in particular for data format languages and network protocols. The issue is slightly mitigated for programming languages because they typically don't have many wildly varying parsers; but (programming) languages without clearly specified grammars certainly have had problems with this in the past.

Are you familiar with their work? Do you just disagree with their conclusions?

[LANGSEC]: http://langsec.org
For anyone else looking. Plover is at http://plover.stenoknight.com/, which links to the plover store for the keys http://plover.deco-craft.com/shop/view_product/Laser_Cut_Ste.... They fit the MS Sidewinder X4 (maybe others), which is available still.
I'm always torn when I hear about the "CEO" of such a small company (or, in more extreme cases, the CEO of a one man band) - from one side, I see that it gives a clear impression of how the tasks are distributed within the company, but it still sounds a bit weird. What do you think?
> That said: doing this stunt in what looks like a suburban park strikes me as shockingly irresponsible. This thing can easily kill someone, wreck a vehicle or puncture a roof if control is lost...

I'd be more concerned with drunk or texting drivers than a R/C jet engine killing me.
Ask HN: Are there reasons beyond efficiency for ART vs. Dalvik on Android
Wondering if ART is designed to make it easier for Android to run on Intel architectures, or if there are legal reasons for the shift to ART. Understood that work on ART has been ongoing for a while and the previous principle architect of Dalvik left Google a while back.
If you upload your data to a server then that data ceases to be under your control. This is the major downside of any cloud based service and you're going to have to decide before you upload/invest if that's what you want to do.

Terrorist threats hit random bystanders in violent ways, this has 0 to do with any of that, everybody involved should have known what they were getting into.
Mick Ebeling Interview – Open Source Tech and Changing Healthcare [2013]
try and sell it for a few bucks less than it's worth. do you need $10k worth of credit to DO?
Does it worry anyone that he looses this thing in the clouds on a regular basis? Seems irresponsible to fly it on a day where you can't keep it in view. With this much speed it's basically a flying remote controlled rocket/projectile that would kill someone instantly if it hit them.

I wonder how this thing handles loosing contact with the controller?

It's no wonder the FCC in US is getting less and less RC friendly, besides the typical "home land security" drama stuff like this in a public park could be a real problem from noise pollution to safety of other people in the area.

All this said, must be quite a rush to play with something like that, I would love to fly it in an open field deep in the desert with a clear open sky.
Yeah, my setup as a developer is a laptop with quad Core i7 CPU, 32G of RAM, 250G SSD and 1TB HDD, plus two 24" monitors.

That is a piece of professional equipment for a developer, and it cost about 4 times what a decent general purpose laptop does. But I could develop on any old box, and I like that.
Points from the post:

1.) If you get used to be a consumer of solutions (via rote memorization or by always googling the answers or asking someone else) you will never become a problem solver.

2.) Math is useful.

In my humble opinion, the real problem with education is that we usually give credits only to correct answers and mainly to the number of correct solutions, but this should'nt be so.

To get to the point here is an advice for heart care that can be applied with much success to the goal of becoming a problem solver:

If you are out of shape and you daily walk 20 minutes you will be rewarded with a great benefit for you heart, and it will be much greater that the effect on others with strong hearts.

So my advice for becomming a good problem solver is: It doesn't matter that you are out of shape, that you feel dumb or stupid. Try to solve one small problem, it doesn't matter whether you succeed or not, that exercise will produce in you an excellent result and if you persevere you will become a good problem solver. So that is, close your ears to any other solution to your problem and put yourself at working at it. (Sorry for the English)
Multifix is not more general than combinations of the 8 node types in XL, only more powerful than a combination of some subset.

It's not simpler. XL started with a multifix representation, see http://mozart-dev.sourceforge.net/notes.html. Switching to the current representation was a MAJOR simplification.

The current representation captures the way humans parse the code. Infix captures "A+B" or "A and B". Prefix captures "+3" or "sin x". Postfix captures "3!" or "3km". Block captures "[A]", "(A)", "{A}" or indentation. Since humans perceive a difference, you need to record that difference somewhere. XL records that structure in the parse tree itself, not on side data structures such as grammar tables.

This approach also enables multiple tree shapes that overlap. Consider the following XL program (I replaced asterisks with slashes because the asterisk means "italics" for HN):

A/B+C -> multiply_and_add A, B, C

A+B/C -> multiply_and_add B, C, A

A+B -> add A, B

A*B -> mul A, B

In that case, I can match a multifix operator like multiply_and_add without needing a representation that would exclude matching A+B or A/B in other scenarios. This is especially important if you have type constraints on the arguments, e.g.:

A:matrix/B:matrix+C:matrix -> ...

A:matrix/B:real+C:real -> ...

Those would be checked against X/Y+Z in the code, but if X, Y and Z are real numbers, they would not match.

If you want to try it by yourself, you can download Tao from http://www.taodyne.com/shop/dev/en/content/10-compare-versio.... Tao uses XL as the basis of its dynamic document description. There's a tutorial here: http://www.taodyne.com/presentation/tutorial-2.0.html. Please note that the XL implementation used in Tao has several limitations, notably with local functions and closures.
Keeping Wordpress under [version] control with GIT
There is more 5x7 than that - Fuji still make some http://www.japanexposures.com/shop/film-analog/film/sheet-fi... and Kodak Portra is available for special order, and thats just the colour ones. You used to get a bunch in half plate and European metric sizes too, although less now. (I also have an 8x8 back for my camera and cut down 8x10...)
Same here, Google unpublished one of our 10 million+ downloaded apps without warning. I appealed using the option to upload a PDF file to have a 2 page description of our processes and efforts to deal with user generated content, only to get the standard canned response
"We (...) will not be reinstating your app. This decision is final (...) We are unable to comment further on the specific policy basis for this removal (...)".

Needless to say, this is a very disappointing way to be dealt with when this concerns a significant revenue stream.
Nice tip with not downloading user uploaded content to dev environment -> http://stevegrunwell.github.io/wordpress-git/#/12
Possibly easier than piloting the real thing. No g-force, total vision, simple controls, and so on. With various fail-safes and controllers, its made much easier

Dont get me wrong, I've tried flying normal RC planes, and Im rubbish at it, it is still hard and skillfull. But, if you spend some time on YouTube looking at what people can do with these things, you'll end up wondering if they are bending physics.
Love her passion and eloquence.

If Plover can effectively make Steno keyboards understandable by our OS of choice... Should we start teaching our kids this thing before they ever get hooked into qwerty?
The monorail is about the worst way to travel in Vegas. It is expensive and too far from most hotels and casinos. Unless you want to travel between two connecting casinos it is faster to walk. And if you have more than two in your party, cheaper to take a cab.
In the UK, I'm the director of a company. I'm the director because there (according to my accountants) needs to be someone with the title of 'Director'. I don't do much directing, but apparently I'm in charge of that. I don't think it needs to imply anything, and I wouldn't be surprised if he quipped it at one point and the journalist went with it. Certainly, whenever I tell people I usually say it really loudly and slowly like as though I'm stupid.
On a probability basis, sure, bad driving is much more likely to kill you. That doesn't mean that jet RC flying like that isn't shockingly irresponsible.
There are plenty of activities they can do outside the house: volunteer work, local sports leagues, community theater, a part-time job, etc.
no idea why this comment gets downvoted -> I came to the same conclusion, having done quite some research at university on this topic as well. The community does a great job on getting huge funding from the government/eu but the results are mostly pathetic from a CS pov. eg I came across papers/PhD thesis where people were fabulating about all the great things you can do when automatically merging ontologies would be feasible without the slightest understanding of computational complexity and the semantics of natural language in general

that said I still see the advantage of semantic web style technology in cathedral style environments eg corporate knowledge DBs or wikidata IF you can afford the bloat. most of the time its much more straightforward to just use your own schematics and call it a day (like the KDE folks did this year, finally giving up on getting their rdf-database to perform reasonably well and going back to a relational model for the desktop search)
If this were purely a question of public good, the Nevada authorities will shut down uber.
Over the summer I got an UberX from Sunnyvale where the guy who showed up was in a VW Toureg, a fairly snazzy car with a glass roof etc etc. Apparently he was a fairly successful electrical engineer with someone or other who was wondering with his buddy whether Uber or Lyft were better, so to settle the bet one drove for Uber in his free time and one for Lyft. Seemed like a pretty cool bet from a pretty cool guy.
I don't understand why we talk about Pascal at all, since Pascal is just as memory-unsafe as C.
> "the myriad expenses that we startup founders incur (from coffee shop tabs to gas costs to cross-country flights for meetings with investors)"

I fundamentally disagree that these are non-avoidable expenses.
Sent you an email to username @ gmail regarding one possible option.
Isn't gcc's default march=native so it would emit popcount if the host supports it?
I'm more concerned with drunk or texting drivers than getting eaten by a tiger. Does that mean I shouldn't be worried if someone lets a tiger loose in the park?
FPV Mini Quadcopter Racing Videos
One Piece 667 – English Sub || Full Episode
There are a lot of GCC extensions that are not in the standard. https://gcc.gnu.org/onlinedocs/gcc/C-Extensions.html

Things that are definitely used are __attribute__'s and labels-as-values.
Run some tor middle nodes.
Or rather, they suppress all their lefties.
sell it for 8-9k, invest in bitcoin
They have do it otherwise Angular will end up the elephants' graveyard like yui, dojo, extjs, javascriptmvc, cappuccino etc.

The problem is of course that this will lead to a big divide between 1.x and 2.x that eventually will undermine the entire project like what happened in python and Volapück.
I also noticed in the video that they had hearing protection but it was on the ground next to the fire extinguisher.

Reading the very nice detailed instruction manual[1]:

To the avoid hearing damage, always use hearing protection when
you are near a running turbine engine!

Along with a couple warnings:

A flying model with a turbine can reach higher flight speeds
than ducted fan-powered models, because the turbine’s thrust
degrades less with higher flight speeds. With attainable flight
speeds of over 250 MPH, you can quickly run out if flying room.
There is also a danger of developing control surface flutter
or mechanical overload, causing the model to fail in flight.

That said with a list price of $4,195.00 just for the engine I have to imagine it'll be a while before we see 100's of these in the air at random parks.

[1] http://www.jetcatusa.com/PDFFiles/Instruction%20manual%20V6....
http://www.cse.buffalo.edu/~rapaport/676/F01/icecreamontolog...
I remember the first time I heard the term Dependency Injection. I sounded really advanced and I felt like a fool not knowing about. Like have been living under a rock for last years.

When I realized it was "passing stuff in" I wanted to shout, I have done that for years!
I worked in a Japanese megacorp which used the local systems available for doing this. From the corporation's perspective, it costs rat spit to buy a very wide selection of perks for their entire employee base and they don't have to spend any time managing it.

I never once took advantage of anything in the booklet, as I was a salaryman and all of my waking hours were spoken for, which is one reason why prevailing rates for this are so low in Japan. Still, had I wanted to take advantage of the movie pass perk (50% off a ticket at a local chain), the process would have been "Call a toll-free number or log onto the website, speak with a rep for a minute, give her my membership number and the address of a local convenience store, and then consummate the transaction there." Note that at no point have I inconvenienced my HR department.

(Your offer as a perk broker to vendors is "Will you cut us a deal on N units of your service if we bring you happy, well-behaved, middle class paying customers with lots of disposable income?" The conversation goes like this: "Hello hotel chain corporate sales department. Can we buy 100 nights in your off season?" "OH YES YOU CAN." "Great! Make it worth our while." "WE CAN DO THAT." "And we'd prefer 30 day net payment terms, counting after use." "Umm could you maybe pre-pay for the whole block?" "100 nights." "30 day net it is!")
If you want to become an expert C programmer, you have to know C As She Is Spoke: Compiler quirks, inclusive of bugs and non-standard enhancements, which can either trip you up or give you a lot more expressiveness, if you're tasteful about where and when you use them. For example, the GNU C typeof() operator makes certain macros a lot cleaner, but it's nowhere in the actual standard. I'm sure other compilers have similar extensions.
The Giant who stole the planet
The enterprise folks have arrived to ruin everything. Run, just run!
Russian GPD growth is oil price proxy :)
This may seem like a rude question, but - why would you build a business that significantly depends upon the arbitrary decision of the owner of a walled garden? I mean, it's not like this hasn't happened many times in the past. Why would you invest your money to build on such a risky platform as Android or iOS?
> Why am I paying 2-3% Credit Card tax for every purchase when I can pay from my Bank account directly?

Plus another 0.15 to 0.20% for these NFC payment processors. The banks and card processors won't be paying that to Apple / Google, it falls to the merchant to dig it up.
Very nice! She is a very good speaker. I want to add two things:

1. A gentleman at the end says he's learning Colemak and that he's forgotten QWERTY as a cost. I type Dvorak every day, and I have to refute that claim! Sure, Colemak is a lot closer to QWERTY but I have a hard time believing he actually forgot QWERTY. So don't worry about that, I encourage you to try a different layout (and recommend Dvorak for its prevalence in the wild.)

2. There is a second gentleman asking if this could be done for iPhone. Such efforts are underway, I know there is some project at KTH doing this. It doesn't really work all too well but it is a nice concept. Perhaps if you could also properly see the screen while typing...
Cayley – an open-source graph database by Google
If not anything else, I admire your incredible optimism.
Good ideas don't always follow a linear path. The buzz around semantic web probably didn't mesure at the time all the obstacles it would find on its way. Agreeing on categories is one of them but IMHO, the biggest one is legacy content and the inertia it carries on change.

I use dbpedia on a toy project and really appreciate it although I only use a very shallow portion of its possibilities. And it's still very brittle on the edges. Also I don't see it taking any momentum if it's not embraced by more of the big content players.

An interesting question would be : would semantic web favor google ? It would certainly help it index content but wouldn't also deprive it from its search monopoly ?
This looks pretty cool, actually. Though the search seems broken (tested it by inputting "Minogue" into "sounds like", it came up with nothing, even though there's at least one person on the vocalists' list who has Minogue listed).
> On most projects handlebars and correct proper design patterns in code is enough to keep HTML out of javascript and keep basic organization.

Yes, but as a team you have to come up with a correct proper design pattern like that, and get everyone to follow that. I've done that in a Backbone project (which we're moving to Angular atm), and it's a lot of work - not to mention you feel like you're re-inventing the wheel there. AngularJS is a lot more opinionated about how your application should be built, which for new team members is very useful - they don't have to learn Backbone + your own application design, but just AngularJS.

And in large projects / large teams, this is important.
note that in practice EFTPOS is getting beaten down by still not doing contactless, while Visa Debit/Mastercard Debit contactless cards are ubiquitous in Australia, and banks pushing Visa/Mastercard Debit for the higher interchange fees.
Typo in the footer: "Sleeping Sider"
It's widely used, but only by the western world. Look at the map at the bottom of the article. Essentially everybody else abandoned the idea.

It's an inconvenience at best. It causes massive programming problems, e.g. Louisiana's switch to DST was a nightmare for Microsoft. It also results in large productivity losses. Economically, it does not work anymore in the way that it maybe used to. It causes more harm than good.
It was never a thing, outside of some fringe companies (academic spin-offs and the like) and some academic research inspired by Tim Berner's Lee's ideas.

Oh, that, plus, the misappropriation of the term "semantic" by the designer community for BS like working with DIVs instead of TDs and having hierarchical document sections in HTML documents (ad-hoc per website), something that never gave any particular advantage, not even for screen readers (which were from the start designed to cop with the mess that document structure in the real world is).