skysight-inc/HackerNews huggingface dataset:
How can you write an article about Japan Syndrome and stagnating economies without mentioning Bernanke, Krugman, or Keynes?

Capitalism isn't itself the problem. It's the way out of our current doldrums. But there's this idea that government institutions have no way to intervene to kick-start capitalism's more virtuous cycles.

As Keynes first recognized, and as Bernanke and Krugman both clarified in respect to 1990s Japan: when you hit an economic slump driven by lack of demand and your control over interest rates has hit its natural limit (you can't set an interest rate lower than zero... you wouldn't want to risk deflation in any case), the only way out (besides waiting) is to increase demand.

So how do you do that? Well, we have tons of options. Governments can take the opportunity to borrow at essentially zero interest and use the money to build stuff we need and fix stuff that's broken. Build out gigabit Internet to every house in the country; commit to curing diabetes in 20 years; build 200mph+ high speed rail networks between clusters of large cities, and improve airport capacity for longer-distance travel; replace aging water and sewer systems; invest in offshore wind and tidal power sources; build out a national power grid to maximize efficiency; provide research grants to increase battery efficiency x100 by 2025.

All of this will create millions of jobs, in addition to providing the cash to soak up all the industrial overcapacity that's out there. But there are more direct routes as well. Raising the minimum wage would stimulate a huge amount of new consumer spending and debt reduction, while increasing payroll and income tax revenues for the federal government and putting upward pressure on wages across the board, which would lead to additional spending, tax revenues, and growth.

Or if you want to go full Bernanke, just have the central banks print money and drop it out of helicopters. That, or just mail everyone a check. That money'll get spent, and add jobs, and then we can let capitalism take back over from there.
And they would not make arrays covariant again, the reflection API would surely use IEnumerable<T> instead of arrays, there are a couple of glitches in the inheritance hierarchy of the collections...but that doesn't really make it a bad standard library.
My rate is 65usd/hr on w2 at the moment
Conclusion: hardly anyone uses realtime signals, and if they do they have no way of testing that they actually get the desired preemption behavior.

(I've used them once to workaround per-thread signal masking not behaving well for non-realtime signals)
Show HN: Up to date London Underground/Overground station data
Microsoft Band sold out online, lines formed at retail stores
I don't know why you don't get "violent behavior in public is not acceptable". We'll never be satisfied with "its ok to hurt people if you're part of a stigmatized subgroup". Its not ok. Its not going to be ok, and its not stigmatizing to recognize violent offender in public - its reality. They need to be stopped, period.
I'm not sure I see condescension here.

Everyone does deserve access to built-in, high-quality tools. And everyone already gets that, with all major browsers. No one is taking away the built in developer tools in Firefox, Chrome, IE, Safari, or Opera. The problem is that they're always just a little bit older than the tip of the current development branch. And that's fine for folks who are starting to teach themselves how to debug web applications. Hell, that's fine for most people, developers included.

But there's a lot of development happening in this space, and sometimes you need access to tools or features that aren't yet stable enough for wide release. So you download Firefox Nightly or Chrome Canary. And you flip on something in about:config or enable experimental web platform features in chrome://flags. And you're off to the races.

That's not dividing the web, and it's not giving different tools to developers versus users. It's trading stability for slightly faster access to new, shiny things.
If all you're doing is tweaking icon-style graphics for web pages then Gimp is still a good choice. Where Gimp really starts to fall short is when you need color management, alternative color spaces, and bit-depths beyond 8bpp.

For me personally this means that I don't use Gimp for photo editing; For that, I switched to Adobe Lightroom a few years ago. It's not open source, but it's inexpensive, it works very well, and has a feature set that's closely aligned to a photographic workflow.
New Drupal SQL Injection Vulnerability, Websites Are Open to Attack
It's good to hear that this project is getting the attention that it deserves. I have been reading SICP using this text for the last several months and found it much easier for me, as I can immediately see and play around with the Scheme code.
When I was learning Python, the same was true using the interactive version of "How to think like a computer programmer".
http://interactivepython.org/runestone/static/thinkcspy/inde...
And so, while humans inadvertently drive beneficial
species, from tuna to corals, to the edge of
extinction, their best efforts can't seriously threaten
an insect with few redeeming features. "They don't
occupy an unassailable niche in the environment," says
entomologist Joe Conlon, of the American Mosquito
Control Association in Jacksonville, Florida. "If we
eradicated them tomorrow, the ecosystems where they are
active will hiccup and then get on with life. Something
better or worse would take over."[1]

[1]: http://www.nature.com/news/2010/100721/full/466432a.html
With both, private and public spending, it is not the quantity that matters, but quality. Both sometimes waste money, and that's what needs to be addressed. More government does not solve anything as long as that additional spending finances bureaucracy. Since the most cost-effective governments are normally also the smallest, my personal view is that one should spend less on the federal level, but more on the local level. Decentralization is key.
I don't think it's fair to characterize Traceur or TypeScript as plays to put Javascript under their author's control. Both have been useful for developing ES6, which Firefox has also been a leading implementer of. From my perspective almost all of the browser makers doing lots of cool stuff to push forward javascript and the web.
If you're marching around saying lives will be ruined if you seek treatment

But lives are often ruined when people seek treatment, given that medical bills are the largest single cause of personal bankruptcy in the US. I don't think people get scared of seeking treatment because of the number of people pointing this out, as much as they get scared because of the number of bankruptcies.
I've been interested in a possible analysis for a while (maybe I should finally dig in and do it myself). My hypothesis is that San Francisco isn't as nimby-istic as it appears, that this is an artifact of a political and geographical oddity. San Francisco is a 7x7 square mile city and county that is already reasonably dense (on average - parts are extremely dense, the only place outside NYC with 100k+/sq mi density, whereas other neighborhoods 4 miles away are leafy suburbs). It's also a peninsula, and much of the area to the south is designated open space.

Here's the thing - I'd be interested in analyzing other metro regions where a long standing, dense urban core isn't its own city and county, and see what percentage of growth happens within it or outside it. In other words, let's look at sub-regions with existing stable population density of above (say, 20,000 inhabitants per square mile for the last 50+ years) and see how much construction has occurred within them.

For instance, does Atlanta have a small, historic downtown with an existing housing base that has been relatively dense and stable for 50 years? Has the growth in Atlanta come from tearing down 80 year old buildings in neighborhoods with 20k/sq mile populations dating back a while, or has it been in the suburbs and exurbs that count as "Atlanta" but wouldn't count as "San Francisco"?

I don't know the answer to this question, but I think it's an important one to answer before concluding that SF is uniquely "nimby-istic" toward housing in some cultural or political way. You can probably tell where I'm leaning with this, though - that the NIMBY attitude, to the extent that it exists, has more to do with low density areas like mountain view resisting new housing than high density areas like much of SF.
There's a reason that no business will use Apple computers.

Apple lock-in is horrendous and nobody wants to be tied to a single provider for all their hardware.
Straw man. This dude was suggesting dumping your student loans. I can guess that there are good reasons for that, but I didn't hear any.
Coupled with the fact that you can only have one primary residence at a time.

Won't be perfect, but I'm not sure it needs to be.
Thanks. I misunderstood the intent and already apologized in another post to that poster. After reading other posters here in the thread that basically mentioned sainthood, etc. for Gates, I let it color my interpretation of that post, I shouldn't have done that and I was mistaken. Anyway, apologies to all for that misunderstanding.
The world that developers and users live in is quite different. And a lot of people won't think of it as 'ScaryFox', but rather as 'CoolFox' which has all of these interesting and advanced-use buttons and knobs that let you see the plumbing of the web page you are using.

Developers want a lot of stuff in their face that the average user doesn't want to deal with. I can see the value of having a 'switch to development mode' button, but having something that's from-the-ground-up built for developers sounds like potentially a much nicer tool to use.

Time will tell if it's a good move on Mozilla's part, but I'm excited for the announcement.
"Concurrency" at syntax level is kind of dumb anyway.
Food insecurity is another way of saying "Hey, we may not eat today but we eat enough calories on average to survive.".

You seem to be confusing "food security" with "very low food security".

http://www.ers.usda.gov/topics/food-nutrition-assistance/foo...

None of these things are hunger, however.

So when you say its "Envy" are you saying you are ignorant or that 14.3% of the people in this country are envious, ungrateful bastards for thinking they deserve 3 square meals a day?

The natural consequence of not getting enough food is weight loss. Where are the skinny poor people? Note that here in India, even in a well developed city, they aren't hard to find. In the poor parts of the US where I've lived, you mostly just see fat people.
BodyStream Shake – (Harlem Shake Parody)
Caring more for the plight of people around you than people in far away countries isn't discrimination, it's rational self-interest. I want to see healthy, thriving communities in Baltimore because I live there. Those people are part of my community. They walk alongside me and interact with my family.

The irony is that people in India and China understand this simple dynamic perfectly well. You don't need to explain to the average Indian or Chinese person why they should care more for the plight of their neighbors than that of, say, even poorer people in Africa.
5 functions of the Console object you didn’t know
Out of curiosity, why do you turn off WiFi at night?
You give HN too much credit. It was never a utopia, and is even less so now than 6 years ago.

That said, your parent comment isn't really a model of a great comment, either. Probably the current best example for that would be tokenadult (http://news.ycombinator.com/threads?id=tokenadult). He doesn't just dump a pile of links on us with a summary; he puts together very well-composed mini-essays that make individual points, backs up those points with references, and then puts it all together into a cogent conclusion.

You've made two really big claims that are difficult to believe: that Gates has been a net drain on society, and that he has cost the world "trillions" -- a significant portion of the US GDP. That is a lot of money. I quick-skimmed a few of your links and I don't see anything like that in them, mostly just complaints that the Gates Foundation isn't working the way the authors want it to.

Assume that we're all busy here and aren't inclined to sift through a breadcrumb trail of a couple dozen articles around the web to puzzle out how you've come to your conclusion.
Another danger is that, if these became popular in places like India and China, it could lead to the abortion of female fetuses in numbers greater than what is already taking place. It's illegal for pregnant women to get ultrasounds in these countries already.
Well, let's take away all your money and property, give you three kids under 6, diabetes, dental problems, and a disabled spouse with a felony so you can't get housing assistance without leaving the spouse. That would be a more accurate representation of the difficulties people face.

I would definitely watch that experiment and I think people would support it on Kickstarter. (People don't want to support the actual folks doing this that much -- it's depressing -- but it would be interesting to see someone with all the advantages of education, marketable skills, previous steady employment, and ease with middle- or upper-class mores and culture try to make it come together.)
I understand the point, but I think there is a reality where developing and actually experiencing the product can be fundamentally different.

For instance the security model for a browser should be ultra tight and protect the user from the site, but as a developer I'd want to access and modify my files directly through the inspector panel.

Another example would be the use of cache, where I want the minimum possible retention while a user would want the opposite.

As you mention, settings in the developer tools could allow a myriad of options to switch from a "user" mode to a "developer" mode. But honestly I'd understand if it happens to be easier to build two different applications, even just for keeping the "user" side code simple enough to make it easy to maintain and secure.

Then eventually bundle the two apps together if you want to keep the "tools" right next to the "viewers".
I think what he wants to do is bring the afflicted regions up to par with what one expects from life in the western world, in terms of health. That's very important.
The issue with adjustment layers is that GIMP does not yet have a mechanism for continuous filter/plugin evaluation and it may not yet be fully thought out: so what does the layer mask do in this case, just a wet/dry mix, some other plugin-specific parameter per pixel?
Also, if we're going this route it might make sense to have adjustment layers attached to a parent layer where they apply (as descendants), and then be able to reorder them within.
And if we're going that route, they need to get the full hierarchy model for layers in there first.
Sometimes you've gotten all the low-hanging fruit, and the bottleneck is something that you can't easily avoid. Then you're left finding a bunch of "worthless optimizations" that hopefully add up to an improvement.

I would agree that it's not the most important optimization early on, it's probably not even worth doing at all unless either it's trivial or your project is big, stable, and consuming tons of resources. But that's not the same as worthless.

It's also the case that mature tools (from your compiler, to SQLite, to your browser) chase "worthless optimizations" all the time. Front-end development is in such a state of flux that we don't expect our tools to do that. But eventually we will.

"Worthless" is just too blunt of a verdict.
Refuted by almost every single comment on the post, yes.
Reflections on the 2014 Grand Prix D’Horlogerie de Genève
https://icomoon.io/
OK, but the detection of partial vs complete script is not as simple as 'does last line have EOL'?
There are various builtins that require an end token, like case/esac, if/fi, etc. Do these work properly when truncated at an arbitrary line?
Why would any browser vendor have an incentive to remove or restrict developer features in released browsers?
"First, because you should be making the decision about whether to run the script after you look at it"
- exactly, which is what my suggestion is. All I'm suggesting with tee is that it allows you to read in terminal what you are writing to file in the same command. The OP was downloading the script to view in less, and then downloading it again to execute. This method at least ensures that what you view is what you are going to execute but ...

"Second, because you should not be echoing possibly-malicious characters to the terminal" - this is something I know nothing about, so I would be (and maybe others) highly appreciative of any links about this class of attacks that you could post. Is it possible to execute malicious code while writing to STDOUT, or is it because you can hide malicious code with escape characters? Also, I don't quite understand the "cat" comment as we're not doing any file concatenation here?
It will be nearly impossible to find someone to be a full time partner starting tomorrow. People need time to tie off loose ends and to prepare family and ones self for a potentially volatile job.

You will need to outline a CLEAR business plan, they will want to know everything, and everything else, about the company; its goals, what your plan is if you fail to meet projections, they will want to see projections, conservative projections, and they will want a stake in the company.

They will need to be sold on your idea too. They need to know that working for you will be better, either by saving the world, developing super powers, etc.

If someone says i can give you 6-10 hours a week in the evenings, and then i cans tart full time in 2 months, that may be something you want to take them up on.

Also, EVERYONE will have side projects, just make sure they are doing their side projects on their time, and not sucking $ out of you to code something youll never use.
The intended use case is people trying to write realtime systems - that is, systems with a latency guarantee, like antilock brakes or flight control systems - in UNIX.

However, no sensible person would write such a thing in a general-purpose multi-user operating system. Realtime is hard, see the Toyota mess: http://www.viva64.com/en/a/0083/

"Move fast and break things" is not a great motto for automotive control software.
Umm...no.

Some businesses do use Apple products (typing on mine right now) but the biggest reason most don't is their lock in to the Microsoft ecosystems. Most of them use Active Directory and have corporate standards that make them use Microsoft because their IT teams require it.
The camel casing comment confuses me? There is nothing stopping anyone from using

var x = my_function();

instead of

var x = myFunction();

if that's what they want to do?
What's frustrating is how few things got the needed TLC after generics and nullables were added.

Also, I'm constantly frustrated how many core libs freak the heck out over a null string vs. an empty string. Obviously there are places to distinguish those, but if I'm trying to create a nullable int out of the text that is not one of them.
I'm currently pursuing this course on Coursera. We are currently only halfway through the course but I think I can share a few thoughts on the course.

Pros

- Faculty: Like most MOOCs, MMDS is taught by one of the best faculty from the field. I've been an avid follower of Anand Rajaraman's blog [0] before I joined this course and I have to say the enthusiasm of the faculty is infectious and their expertise with the material is markedly evident.

- Difficulty: MMDS is a CS graduate level course (CS246) from Stanford. That means the topics are not trivial, the lectures are dense and you as a student are expected to invest significant time into understanding the material. Since this is hard, grasping the concepts and getting the quiz right is quite gratifying. Few lectures from every week are tagged as advanced and students who view and answer all advanced questions get a certificate of distinction [ not quite relevant but might provide the necessary incentive / motivation to a few students]

- Material: The syllabus and the topics covered in this blog are extremely relevant for any one aspiring to work in the data mining / machine learning field. Having done Andrew Ng's ML course, this course acts a perfect supplement and covers a lot of practical aspects of implementing the algorithms when applied to massive data sets. For example, a recent lecture talked about how the BFR algorithm[1] for finding clusters works better than k-means for a very large dataset.

- Book: The accompanying MMDS book is just awesome and the lectures build upon the content and examples from it. For someone who finds the book a bit too challenging (probably because your math is a bit rusty) the lectures make the material quite approachable.

Cons

- Theoretical: The course is primarily theoretical in both its presentation and exercises. This is not to say that algorithms are presented without examples, but that the examples are trivial and do not illustrate the issues with implementing or applying various algorithms in real-life datasets.

- Programming Assignments: In sharp contrast to Andrew Ng's course, there are no compulsory programming assignments. The exercises are all quizzes which check how well you have understood the concepts. There is just one programming assignment which is also optional.

Overall, I'm really liking the course. The professors emphasize citing industry examples wherever necessary (the PageRank algorithm and accompanying Google's implementation was covered for 3 lectures), which is a welcome change from other CS courses. Along with the book, I believe the course is a wonderful primer to the field of Data Mining.

[0] - http://anand.typepad.com/datawocky/

[1] - http://www.dmi.unict.it/~apulvirenti/agd/BFR98.pdf
Since the site seems to be down still : http://webcache.googleusercontent.com/search?q=cache:blog.bl...
Needed station data for building http://housequest.co.uk (sorry, cheeky plug) and there wasn't one up to date source out there so I reckoned I'd share this. Used a bunch of sources such as wikipedia, http://www.doogal.co.uk/london_stations.php which needed some updating.

In the repo you'll also find the .csv file for stations and a GeoJson of the London Boroughs aligned to Google Maps based on https://www.google.com/fusiontables/DataSource?docid=1WlXk5R...
It would have made much more sense to use that as a basis for a new, more formal spec than to pull some new NoSQL spec that nobody wanted out of their ass.
The big features that were added after c#3 are dynamic references and async. They both seem to be quite well done as far as I can tell. Could you comment more specifically on problems you saw?
There are some tell-take signs that this is a cursory inspection by soemone who is not familiar with the iOS security environment.

Firstly, the statement that the passcode is only 4-digits. Not knowing that this can optionally be switched to a far longer string, and that this option can be mandated by policy in secure environment, is an indication that the author is making his inference just by looking at the GUI.

Also, whilst it's true that the passcode can be brute forced, this must be done on-device and so requires a non-trivial rig (which even then will be encumbered by the work required for each try), or a many-hour manual attack.

The link-bait title is another tell-tale.
So do you think it worked for Bernanke after he went full Bernanke and the article misses this point? Or do you think it didn't work - if so, why didn't it?
Exactly the same as I would make if I weren't working remotely. I'm doing the same work, and it has the same value to my employer. (If anything, one might argue that remote employees should be paid more, since the overhead costs are often less).
Bootstrap and JQuery CDNs Down in UK, France