skysight-inc/HackerNews huggingface dataset:
MIT v. New Jersey is a false dichotomy. MIT tends to put the cognitive overhead on the callee, where New Jersey does so on the caller. New Jersey tends to eschew in-depth architectural modeling leading to insufficient generality and flexibility, whereas MIT creates overly coarse-grained results from axiomatically underthought standards for "correctness" and an overbearing sense for what is "complete" (which usually starts to infringe on mechanism and begins making policy decisions, hence again lowering generality).

New Jersey gives you the web. MIT gives you systemd.

Neither school has been all that effective in reliability, dependability or even composability (especially not interposable interfaces). Neither school is elegant in the slightest.
However, if the bug is that the library writes to a too small allocation by the application (based on a lie told it by the library) then it doesn't much matter what language the library is in.
Designing More Efficient Forms
That discussion seems to be from 2012. And the USB issue is still not solved in 2015 Macbook Pro Retina? Sigh...
Good dissection of what has come to be news. While this was an obvious and egregious example of made up outrage, there are many subtle examples with more complex psychology behind it in order to push narratives. Lots of news actively try to push public opinion toward what they believe to be right or to take a cause rather than present facts and let people make up their own minds.

But, as with canned laughter, maybe people would rather someone else make their minds up for them.
Frankly, I find the different reactions to Beirut and Paris sickening. The U.S. (media and residents) cares more about people that are 'more like them'. Too many paint the middle east with a single brush and consider it a disaster not to get upset over unless the issue involves Israel.
> Based on what I've read about

Read the Quran directly, don't just read "about" it:

http://quran.com/9

9:30 "The Jews say, "Ezra is the son of Allah "; and the Christians say, "The Messiah is the son of Allah ." That is their statement from their mouths; they imitate the saying of those who disbelieved [before them]. May Allah destroy them; how are they deluded?"

The 9th Surah is considered one of the latest, therefore, by some, the one of precedence over the others (according to the practice of https://en.wikipedia.org/wiki/Naskh_%28tafsir%29), do read at least that one.
I don't really see an issue here. Regular expressions, HTML, configuration files... these aren't programming languages, they're data languages.

They don't describe an algorithm or a behavior, they just describe data. For that purpose, it's preferable to have a format that's as simple to read, process and analyze as possible. On the other hand, actual programming languages are meant to describe an algorithm, and "power" usually means either high-level expressiveness (Scala) or low-level adaptability (C), both of which are very important in some contexts.
The difference between you and me is I don't view disagreement, even strong disagreement, as toxic behavior.

Which is the other part of the community that frustrates me. Riot has spent a lot of time worrying about "chat toxicity" when in fact it's a non-issue due to the mute feature. They've put all this effort into machine learning so they can start banning people automatically for things people find offensive (IIRC, one of their touted successes was folks in asian countries using last names as an insult. The system learned that was offensive and started suspending people automatically for doing it).

Imagine if all that effort was instead put into social engineering to help tamp down on people's frustrations with ranked.

But it won't be, because ultimately the really loud people are those like you who think disagreement or criticism is tantamount to being toxic (instead of demanding that they change the ranked system to put less power in the hands of the assholes). And yes, I did catch that you edited in that jab about me being toxic after the fact, did you seriously think you were going to get a rise out of me?

The truth is I've been playing multiplayer games since the old MUD days before Ultima Online and Everquest were ever a thing. Back when colored text was considered a luxury and people would switch clients based upon the speed of the triggers (especially for pk). I've been involved in enough communities that someone calling me a bad name on the internet rolls off my back.

But you know what doesn't roll off my back? Having someone announce in champ select "mid or feed", or "me and X duo bot or feed" and then watching everyone else forced into the following decisions:

1) give them what they want,
2) refuse and risk wasting 2 hours of your time (an extra game to make up for the loss)
3) dodging and being forced to sit out for 30 minutes.

Because riot doesn't give them a 4th option
4) opt into giving up the game early.

Here's how poorly designed Riot's ranked system is.

This is the internet. This means people will have disconnection issues. It's normal.

If someone fails to connect to the game (from minute 0), Riot forces the other 4 players to continue playing the game. If any of those 4 players leave they risk getting suspended or banned, and no matter what they do, they take a loss on their ranked record. They automatically lose 2 hours of their life because someone's internet crapped out.

Of course people find that shit frustrating.

A primary reason Riot has so many shitty people acting shitty in their system is because the design of their system gives those bad actors all of the power.

For anyone who is truly curious, watch this video. This man is spot on, and if you doubt it, keep in mind that I stopped playing the game specifically for the reasons this man spoke about.

https://www.youtube.com/watch?v=5UfO7qOHx5M
Show HN: A simple HTML page that clears your mind before starting work
I already don't feel free and not because of the terrorists.
Personally, I think this sort of ends-justify-the-means political wrangling is bad, not the least because it requires dishonesty on the part of individuals. (And I rode the NYC subway daily for 2 years.)
> your naive words about peaceful living would sound like a bullshit to them

I understand the reasoning (but please dial back the tone), but I think it's wrong:

First, peace is often made by those same people who survive war and other horrors. The great modern institutions of international peace were built by the survivors of WWII (and WWI before it), people who saw far more and were far less naive than you or me. The foundations of the European Union were established by the same survivors, whose friends and relative were killed and brutalized by other EU members. Martin Luther King and his followers were brutalized by their white neighbors, yet they preached peace. Perhaps it's the people who have seen war who feel the greatest need for peace and understand what it takes.

Second, do you have any basis for speaking for the people in Syria and Iraq? Research? Do you live there?
Don't forget when al-Shabab killed 147 college students in April in Kenya. They were allied with al-Qaeda but were being courted by ISIS.
The language of regular expressions is a programming language. It's just not Turing-complete.
count-up timers like "you missed the last train by 30 seconds! haha?" Seems like a very tauntingly russian thing to do.
I think that's too simple a view.

Paris of recent decades has not experienced frequent terror attacks. It's not expected to happen there. It is not a war zone. There aren't belligerent factions attacking each other. It does not have the sectarian violent history of Beirut.

When ETA was bombing around Spain and it became commonplace, it also received little attention after a while. That's just how it goes.
A "birthday charity" sounds like a great idea to me.

Have a party, sing the song, everyone present donates $1 to charity for the "licensing rights".

I haven't done the math, but I'm sure it's not an insignificant amount of money.

Charity: water has a program similar to this.
From a productivity & maintenance perspective, very many coding jobs / tasks can be executed more efficiently by using purportedly limited tools. Are you HNs really surprised to hear this? The drive is time-to-market reduction, improved communication and, overall, domain-specific standardisation.
It does work as expected for me, no matter how I visit the URL. (The first time I viewed the page, I ctrl-clicked the URL.)

> There really shouldn't be much that's different between those two requests except for the referrer header.

I don't know the details, but I gather that that's a big component of the anti-hotlinking system.
I've definitely just placed a stalk of broccoli on the bottom shelf of my fridge with no container.
This vulnerability is quite ... foretold. We have had issues with image libraries before. Instead of just running about patching again for this one bug, why not use the opportunity to discuss some architecture-level approaches that may have mitigated this attack?

Knowing that image libraries may contain vulnerabilities, how would you design a secure image ingestion process?

Some reasonable strategies...

(0) Attack surface minimization: Similarly to other types of input, input is segregated and treated as toxic and dangerous until proven otherwise. (Eg. Don't store random inbound files where you store those you will re-use; never allow batch processes to touch temporary files received from external systems; delete external input as soon as possible; store input only after normalization)

(1) Attack surface minimization: only accept one file format. This provides no guarantees but helps to limit exposure to unknown vulnerabilities, though may not always be feasible.

(2) Parallelization (opposite of the above): explicitly convert all formats of input to some common format (using throwaway containers/VMs), ideally using multiple versions of multiple libraries on multiple operating systems, and compare the results. If the results of every environment do not match, raise an alarm and do not continue processing.

(3) Reverse-conversion check. Convert the file to another (non-lossy conversion possible) format, then convert it back (also in a throwaway environment). If the result matches (or the portion of the result that is non-lossy matches) continue. This could be combined with #2 for additional strength.

(4) "Application-level firewall" approach: progressively determine the various format-specific and general properties of the image in question (eg. starting with libmagic; and preferably all in relatively secured throwaway environments, using the above strategies!) then apply a neural network or basic statistical analysis to generate alerts for anomiles. For instance, the reduced pallette featured in this attack would not be normal for many types of image input (scans or photographs come to mind). Other useful checks may include "are the image dimensions sane?", "is the aspect ratio sane?", "is the image predominantly black and white?", etc.

Strategies #0 (in particular cases), #1 (with some luck), #2, #3 and #4 (with some luck) could have mitigated this attack. Executed wrongly, any of those strategies could also have triggered the vulnerability. #4 is ripe for a web2.0 Silly-Valley outsource-the-problem startup (investors?).

PS. I enjoy these types of problems; anyone looking for ideas or development get in touch.
The other side of massive isolated productivity is: nobody except them knew it or could maintain it. Yahoo ended up doing the whole "rewrite lisp in C++" thing because you can't hire "experts in paul graham's custom lisp macros" at scale.

But, it worked, didn't it? Grow, scale, cash out, dump code on non-founders, become startup messiah.
yeah botched the timeline a bit. Wozniak did awesome stuff before, during and after apple. He is just a great guy with a big heart. I don't want to speak for him, but I think given what I know about his life he would be open to more people getting into technology, in any capacity and from any socio-economic class.
"Link to an unauthorized copy on Youtube." Feel better?
If you want a simple dev environment, language and tools, you can start with Microsoft WebMatrix and Visual Basic and then graduate up to more complex stuff. Visual Basic is very similar syntax to python in a lot of ways. WebMatrix IDE and ASP.NET makes it simple to do. One click deploy to Azure and you are done.
Ancient copyrights are the ultimate rent seeking of our time.
What are you looking for?

Why don't you just post on your neighborhood Craigslist activities asking for what you are looking for, whether family playdates or other couples with similar interests?
I put a lot of fruit and vegetables in my fridge with no packaging. Why would I contain them?
I wouldn't read that much into what TimBL is saying about the "principle of least power". It seems more like a post facto realization, and particularly in light of expectations for a transition into a Semantic Web. The 1990 WWW proposal [1] reveals the web to have been more-or-less the bare minimum glue to unify CERN's document troves, and to do so in a highly expedient timeframe. A far cry from TimBL's earlier ENQUIRE, and no in-depth design principles per se.

[1] http://www.w3.org/Proposal.html
It's The Cancer Genome Atlas as the acronym they use is TCGA
This is a big part, if not the most important part, of why I like Haskell. "Purity" is a giant stroke in the direction of using the least powerful language possible at all times (and the advanced types let you both declare the level of power you want and compose sub-languages of different powers together). You also often go deeper due to the large prevalence of deep or shallow embedded DSLs in the typed-functional languages.

In short, this is, to me, one of the most important principles of programming.
> They save you a couple of lines or a few opening /closing braces but they make code more difficult to understand

There is a massive confounding factor: popularity, in the sense of what is familiar to the largest number of people. And this, in turn, is largely an accident of history, politics, and marketing.

Which is to say, sure, more people will understand a "for" loop written in the familiar C/Java style than a "map" one liner. But that does not mean the "for" loop is easier to understand, in the sense of expressing a concept naturally and declaratively.
What's the theory/idea behind it? To me, the spacing between the numbers seemed to big to actually capture attention, but that may be the point?
> Android’s Permission System Was Broken…

No, it's still is broken until Google starts enforcing the new permission model on app developers. Until then it's more of a "wouldn't it be nice if all those developers enabling 20+ permissions for their apps in the past would just switch to the new model where the users can block many of them?" kind of thing.
Time for a fact update! My, my, how time flies.

Deep learning has really only recently become successful

hinton coined the term "deep learning" around 2006/2007 (more around deep belief nets/RBMs, but still, same thing), if that's considered "recently."

constrastive divergence and convolutional neural networks.

CD was also ~10 years ago. CNNs were reading your checks and postal zipcodes in the mid 90s.

successfully train the network.

In the early 90s, RNNs were driving cars on highways using only webcams under basically VFR. No giant sensors, no LIDAR, no GPS, no mesh networks, just camera input.
They aren't random facts. They are the facts that nobody should pretend that they don't exist. Somebody who doesn't know them would believe that the practices of beheadings in the countries which practice Sharia law and by the ISIS fighters are something done "randomly" whereas they in fact practice according to their beliefs and the religious texts they consider "unchangeable" and the words of God.

https://en.wikipedia.org/wiki/Public_executions_in_Saudi_Ara...

https://en.wikipedia.org/wiki/Beheading_in_Islam
The Power of Nightmares
What is Square or any startup really worth?
As a person part of this society you speak of, I disagree. Every life is sacred, and even as a full-on anarcho-capitalist I will agree that a ridiculous police-state is justified to defend the individuals within our society. I say that because that is the path we have chosen, by virtue of having a state. Otherwise, we're essentially rehashing the old "the good of the many outweighs the needs of the few".
Please see my comment above, which addresses what you say.

Cherry picking something bad from the history of Islam as evidence of the whole religion is just an attempt to rationalize hate. It's silly. On that basis, we can condemn everyone and everything.

To people reading this and who haven't read the Quran, I strongly encourage you buy a copy and dispell a lot of ignorant nonsense you hear. If you haven't, be sure to read some other scrpture too (e.g., the Torah, the New Testament) for context - otherwise the brutality of ancient societies can be taken out of context. (Remember we were still executing witches; hanging, drawing and quartering; etc. just a few centuries ago (not to mention things like Abu Ghraib and CIA torture recently.))

EDIT: For those looking for a good translation, I did some research into that and recommend Arthur Arberry's. It's probably the most respected among non-sectarian scholars, and Arberry was the head of the Department of Classics at Cairo University and a professor of Arabic at Cambridge. Many other translations push one sectarian view or another. In the U.S. you might need to order a used copy of Arberry or from Oxford University Press directly, but it's widely available.
The libpng simple decoder sample is pretty reasonable C, except for the fact that it uses setjmp to handle errors. (libpng's fault, not the sample.)
You are correct, but you are probably being downvoted because it is difficult to relate to your point of view.

How many “sub-Turing-complete” languages can you list?

Note “sub-Turing-complete” may not be the right term to use for all languages that do not admit general recursion. There is a particularly interesting subset of total languages for which the preferred term is “languages with control over non-termination”.

http://www.cse.chalmers.se/~nad/publications/danielsson-sema...

https://personal.cis.strath.ac.uk/conor.mcbride/TotallyFree....

https://github.com/mietek/total-functional-programming
Yeah, it all depends on what you're trying to do. I'd also wager that Graham et al simply had more fun writing Lisp than any other language, and I grant them the right to do whatever they like. Yahoo presumably bought the product because they found it valuable. If they found that rewriting Lisp in C++ was the only way to get people to work on it, I don't question their business decision, although it does seem like a kind of "now you have two problems" situation. (Personally I find C++ way more difficult than anything I've seen in Lisp.)
I guess you could see it that way, but everyone knows that the trains run regularly every 2-3 minutes so it's more you know how long of a wait you're going to have. For the most part all it does is let you know how long you're going to be waiting on the platform and how on time the trains are that day.
We're basically there already. Disney pushes back the copyright date every decade or two so that Mickey Mouse (steamboat willy, 1920s) never gets into the public domain.
I used terraserver to manually download the entire tile set for my town (right click, save as). Then I laboriously used Photoshop 5 to align and remove the watermarks. It took an entire week but by the end I had a clean ~150 MB jpg that I could scroll around in as needed.
You must either not own a home or live in a treeless area. Caring for and inspecting your tress is par for the course of property ownership
Wow dude. Clearly you have not touched Docker. And if you have ever run a VM that is a container. Or I guess you are only using a mainframe? It's just a component like any component to any application. And there is plenty of tooling to help with updates and compliance, like CoreOS open source of Clair. Your point seems to come from another place because technically it's totally misguided.
For more on point 1, see Bitter Lake by Adam Curtis http://www.bbc.co.uk/programmes/p02gyz6b (if you are in the UK, if you are outside there are likely other ways to see - http://m.imdb.com/title/tt4393514/ )
If you want to see their amazing film work (and they made quite a few cool films on computing thanks to IBM) take a look at this:

https://www.youtube.com/user/EamesOffice

If you want to be inspired by an amazing product roll out take a look at their video for the SX 70 (this is one of the amazing products that Steve Jobs admired Edwin H. Land for):

https://youtu.be/GXPYera597U

If you're a fan of data visualization you MUST see The Powers of Ten if you've never seen it before:

https://youtu.be/0fKBhvDjuy0
That's about double the minimum wage. I'm sure a lot of people live here on less than that. Sure, they're not paying downtown market prices for housing… but a rent-controlled unit in the sunset doesn't sound implausible.
Scheme to transform a remote island into the new Dubai
I'll give you a two character answer: C#
All the companies you name have significant engineering manpower to dedicate whole teams to maintain all the tooling so that the devteams don't need to worry about maintaining their containers, VMs and whatnot.

I dare say that all that microservice stuff only works with 300+ employees if you keep everything containerized.
Yesterday, Facebook announced (via an in-app notification) that their native finally respects font size changes.

This was yesterday. It took this many years for a large app developer to take accessibility seriously. The developers of the other apps on my phone either don't bother respecting my font settings (and thus setting everything in that standard terrible 9pt(?) type), or forgetting to take extra measures so the larger text gets ellipsized when shown on screen.
Is this Jurgen? :)
Desk: A lightweight workspace manager for the shell
I tip before getting my order at coffee shops where I'm a regular, and where I like and know the people who work there. Other coffee shops, I don't tip.

I'm a good tipper at sit-down restaurants (restaurants where a check is brought to you after your meal), at bars when I have a tab, for my barber, etc. Some situations require tipping. Some don't.
Racial profiling at an Apple store
I'm not sure what your intent is, but it reads like essentially what the grandparent described:

> Christians start saying that those bits don't count, or those bits have been misinterpreted, or that you need to read that other bit as well.
Terrorist to Coward – Chrome extension swaps “terrorist” to “coward” on webpages
Yeah, this unfortunate yet incredibly common abuse pattern from 10 years ago needs more coverage!
I've not done any research. It's just an idea suddenly popped into my mind :-P Any comments or suggestions are welcome.

The waiting time between numbers is what requires attention.
Is this simply a consequence of Tcl not shipping with the sort of standard libraries that are expected nowadays, as opposed to being a problem that follows from having a terse language?
jwz just confirmed on Twitter that he blocks requests with HN in the referrer: https://twitter.com/jwz/status/665658171415859200
That's why Apple chose FreeBSD to base OSX off and Juniper chose it for JunOS, because of something 18 years ago...

Or maybe BSD has maintained its technical superiority in some areas for some users.