skysight-inc/HackerNews huggingface dataset:
Same here, luckily I have a very handy bookmarklet (that I probably found here at some point) to delete any DOM element on the page:

javascript:(function(){document.styleSheets[0].addRule(".highlighted_to_remove","background:red !important");var e=function(e){if(e.keyCode==27){i()}};document.addEventListener("keydown",e);var t=function(e){e.stopPropagation();this.classList.add("highlighted_to_remove");return false};var n=function(e){e.stopPropagation();this.classList.remove("highlighted_to_remove");return false};var r=function(e){this.parentNode.removeChild(this);i();e.preventDefault();e.stopPropagation();return false};var i=function(){var i=0;var s=document;while(s=document.body.getElementsByTagName("*").item(i++)){s.removeEventListener("mouseover",t);s.removeEventListener("mouseout",n);s.removeEventListener("click",r);s.classList.remove("highlighted_to_remove")}document.removeEventListener("keydown",e)};var s=0;var o=document;while(o=document.body.getElementsByTagName("*").item(s++)){o.addEventListener("mouseover",t);o.addEventListener("mouseout",n);o.addEventListener("click",r)}})()
That seems right, in the paper he is pretty open to the idea of extending the language if the solution is general enough:

"In the future, we would like to implement an actual language extension that will be capable of working with open patterns. Given such an extension and its implementation, we would like to look into how code for such patterns can be optimized without hardcoding the knowledge of the semantics of the patterns into the compiler. We would also like to experiment with other kinds of patterns (including those defined by the user), look at the interaction of patterns with both the standard library and other facilities in the language, and make views less ad-hoc."

http://www.stroustrup.com/OpenPatternMatching.pdf
I more or less said that in the next paragraph there.
For people who care about how this is implemented: here are the two relevant articles https://parasol.tamu.edu/~yuriys/papers/OPM13EA.pdf https://parasol.tamu.edu/~yuriys/papers/TS12.pdf they're from 2013 and 2012, I recommend starting with the second one as it gives an overview of the problem.
The first commit of the project is from Oct 2011 which is shortly after Rust was made public so it seems unlikely that Rust was an influence. More likely, ML influenced both Rust and Mach7.
You literally only asked politely? I feel like there was at least /some/ sort of info you had to provide.
Stroustrup has wanted multi-methods in C++ almost since its inception. At least 20 years.
> The point of containerization is to take services that conflict and run them anyway on one kernel. If you already know your services are well enough designed and packaged that they can coexist with just process boundaries, why add overhead?

Multiple container overhead is insignificant when using lxc/docker containerization (compared to more traditional virtualization). Containerization exists to compartmentalize services for ease of management and service segregation; to not segregate services defeats the purpose.
Like you say, sort of. This would imply that you wrap all the basic types in a sum type. It's quite heavy. Using the PPX mechanism the compiler can also be extended to generate this code automatically but again, this isn't very natural at the moment.
Very touching post. Good luck with your life.

I wanted to point out a funny thing though. Living in a post-soviet country I can sense my bias that tells me that this is totally ridiculous. Probably the difference between here and America is just so big. This situation is just inherently absurd by the simple fact that selling that iPhone would give me enough money to survive for 2 months paying a rent in a cheap apartment and buying another cheap phone.

Besides that, the most important difference is that we never take such big loans here. Big loans are scary for us. I understand how important they are for developing an economy, but all around me most people would hardly get a loan to buy a car. Even if the economy is poor, people are much more free because they don't take insane debts. I think american culture really needs to remember that debt is dangerous.

Just a quick thought about the abyssal difference between the 2 mentalities.
A Brief History of Client-Side JS: Why React Is Awesome
Isn't "hypermedia API" just a new name some people came up with for "REST API" because the misunderstood non-HATEOAS mangling of REST is so common and they wanted to distinguish between the two? Real REST APIs use HATEOAS.
LXD would make more sense, yes.

The problem is those other solutions don't have traction. Also, LXD claims to be Ubuntu-specific:

http://www.ubuntu.com/cloud/tools/lxd
Heartbreaking story of 9yr. old shoe shiner
I used to use ZoneAlarm free firewall back in the day I was using Windows.

At first it's annoying because it'll ask every single time a process wants to use the network, but after you train it, you'll get warned and explicitly ask whenever a program outside your regular ones wants to access the internet.

But keep in mind that if, for example, you allow Firefox to access the internet, you won't be protected from code run by Firefox doind nasty networking stuff.
The tool is quite old, and haven't seen updates in some time.

https://github.com/devstructure/blueprint
Back in school I used regularly meet this homeless guy and very often bought him subway and talk to him. One day he showed me his book which I saw him scribble some notes plenty a time, during one of these on/off conversations he told me that he holds a PhD from some univ. in Europe. What intrigues me is that he had some background in astronomy or some similar field of science but the way he would explain things & would always make me wonder how can such an intelligent guy be homeless...
This post brought back those memories as if I am reliving it now..hope in humanity still exists.
Whose purpose?

My point is that technology's purpose is the use to which it is effectively put, not authorial intention.
I actually have no family and the one friend I could count on was a "full house". A couch would have been much nicer than a chair at Starbucks, for sure!
Microsoft reportedly plans to acquire BlackBerry
Cycling is great for giving an appreciation for what 20-30mph really feels like, without the car disconnect. Same as your sprinting example: go get a bike, find the steepest hill you know of, pedal as fast as you can down the hill (this is going to be 30-40 mph), then ask yourself if you'd like to hit a brick wall in that moment. Most people who are otherwise comfortable riding without seatbelts would be peeing pants and grabbing brakes long before 40mph.
There's evidence to suggest that by eliminating herd animals, we're actually shooting ourselves in the foot[0].

I won't argue the benefits of increasing meat and animal product consumption here, but there is evidence to support that as well.

[0]: http://ourworld.unu.edu/en/reversing-desertification-with-li...
These days I save every penny I can, drive a used car, live frugally, and try to keep the "oh shit" fund alive. I live way below my means nowadays.
As with writing in general, here's how I personally approach it:

1. Practice, practice, practice.

2. Find good examples (like this video) and try to extract and generalize the techniques that you think work really well.

and the last point which not everyone thinks of consciously:

3. Watch sports, read books, watch TV and movies, read the news, and go outside. When you must communicate by analogy, you need a broad pool of experiences to draw from so that you can match your audience.
You don't know the long term effects of random social media posts either. Before doing some sort of a controlled study you can't know.

Recently I went to a conference and acted like a sales guy. I gave different (truthful) pitches to different people and observed how enthusiastic they seemed about the product afterwards. Was that also unethical? Would it become unethical if I did a hypothesis test afterwards, rather than merely going with my gut?
When I was working in Beijing, the seatbelts were usually there, but tucked underneath the seat cover (and so inaccessible).

I'm from the UK, where using a seatbelt is pretty much universal, and when getting into the cab I'd automatically pluck at where the seatbelt should be.

Once when I was taking a ride with our agent there, a local, and he saw me do this, he told me off quite sharply for it...
I did an experiment like this in the mid-90s as an undergraduate for a research methods lab assignment.

I showed true and made-up (NPR Wait Wait style) articles to elderly people (over 70, in a care home), printed in one of 3 formats - on newsprint in the font the NY Times uses, on glossy paper in a somewhat 'friendly' font (like comic sans, but less so), and finally in dot matrix, on green-and-white fanfold, all upper case.

There were remarkably few differences in the first two, for either true or false stories, but NEARLY EVERYONE (like, > 85%) rated the computer fanfold printed stories as being true.

One person's reaction has stuck with me to this day: "If it weren't true, the computer would have rejected it!"
That does seem insanely expensive. Maybe the price was quoted in $/m^2 and the unit was mistakenly switched to square feet at some point?

An alternative explanation is that the owners of these houses don't really want to sell them at all for some reason. Maybe keeping the money tied in unsold real estate is somehow preferable to having cash or other assets, due to e.g. government housing subsidies or something?
> What exactly is the criteria of being a "hypermedia capable format"?

One document must be able to link to another.

> Is there a predefined way to deal with it in XML?

Yes, Xlink:

http://www.w3.org/TR/xlink11/

> In the earlier example, I had assumed he did exactly what you would do in JSON: make up a field for the purpose.

The problem with this is that it's non-standard and nothing understands it that isn't custom-written for that particular API.

> Though, honestly, that would seem to be the purpose of the "Link:" header.

Yes and no. Although the Link header is useful, it's not part of the document, it's a transport layer header. REST is transport-layer neutral.
Actually the article had a great deal of substance, but it should be obvious that you're going to miss it if you stop after one paragraph.
To provide an alternative perspective, the dogma that "one container = one program" looks truly bizarre to some of us on the outside who have been using containers for years and years at various companies.
How to turn a liberal hipster into a capitalist tyrant in one evening
So you think that the appropriation of unused real estate is worse than whatever disaster led to the mass exodus of a population from a major city. Interesting, but that is not how I think.
We Did Nothing Wrong, and They Destroyed Our Stores
Preserving the connectome is probably insufficient for full restoration. Even if you could record the entire structure of the brain at the synaptic level, you're still missing the functional states of the neurons and glial cells that it is composed of. It would be like trying to reconstruct a piece of software solely from its call graph.
It's an interesting idea, but I'm not sure there are very many potential use cases. Mostly, I can see using this client-side so that I don't need to set up a back end myself, but if I understand correctly, that's not really possible since you have to keep the API key private.
There will definitely be those who learn well, are hungry to learn more, and are talented. They're in a boot-camp just because it's there; ten years ago they'd have become an equally talented engineer. I'm not sniping at bootcamps, but at those who think it's an easy formula to a good career (as was ColdFusion or VB in 1999). Ditto on the developers who have the same year of experience 10 or 15 times. I guess a better way to summarize it is to say that anyone who thinks it'll be easy given some formula (bootcamp instead of degree or self-teaching, magical N years of experience, etc.) may have success during ideal market conditions, but will likely get shaken out when they have to compete.

(For reference, I identify with both groups, being a 38 year-old self-taught developer, no issues during 2000-2002 bubble, and learn at least one language a year.)
Did anyone check what font the NYT website used at the time?
I'd expect the font most similar to that one to win the survey.
Soylent was originally touted as a meal replacement but I (and others) have found that it works best as a "plan B" to nutrition. It changes the way you look at food if you always have an option to just get the nutrition you need quickly and easily: a lot of meals you'd normally skip you don't, and a lot of meals you eat that are less than nutritious you can either opt-out of or can supplement with proper nutrition with soylent.

I've also found it to be pretty transformative that it turns hunger into something as easily solved as thirst and puts it into the same mental framework.
One thing I think that is good to keep in mind with regards to doing things in the past, is that if there was money to be made, people would find a way to get things done. Certainly in 2015 with computing it is far easier to flexibly accomplish a lot of things, but if your livelihood depends on getting something done, specialists in the past would find a way.
I'm having a hard time figuring out what this service could be used for.
Macadamia Nut Cookie may be the internal codename for Android M
Malcolm Gladwell's book Blink talks about this.

"Gut feeling" is often boils down to a "compressed" rapid response, based on all of our previous experience, without having to go through all the reasoning and debating that we usually do.
It'd be useful to identify with tags or something the version. There's a lot of pre-Ember CLI tutorials and videos out there, and it'd be good to know that these videos are targeting the latest and greatest, not techniques from 2 years ago.
How to Automate your visits on Linkedin?
Right but if an engineer refuses to do something unethical,and loses his job say, does the PEO got his back? Does it have teeth?
"Remember, profit is basically returning money back to your shareholders."

No, paying a dividend is returning money back to your shareholders. Profit (revenue in excess of expenses) can be re-invested back into the company, for example, to hire more people or finance the development of new products. That's how companies grow once they no longer have VC funding (or if they never had VC funding to begin with).

For example, Google is a very profitable company, but none of that profit is being returned to their shareholders since they don't pay a dividend. It's all being reinvested into the company. (The only way a Google shareholder can benefit from Google's increased value is by selling their stock to somebody else.)
Ah, yes. I forgot about that too.

It's actually a matter near and dear to my heart, as a musician. The economics of live music are strongly affected by people for whom music is not a vital source of income, and as a result, gig pay can actually drive towards zero or even negative if your locale has a "pay to play" music scene.

And admittedly, I play some gigs for free.
A Sublime Text Package That Collects Custom Gutter Themes for SublimeLinter
Unless they use bears in the TV and billboard ads, I think you meant to say "grisly".
Who would pay for this ? I truelly wouldn't know
For the language history buffs: sealed classes aren't a Scala invention. Dylan had them, too (at the library, rather than the source level. http://opendylan.org/books/dpg/perform.html)

(Better language history buffs than me, feel free to show prior art)
> Following Python's lead and adding a type system

Joking? Python really is almost the last of all dynamic languages to come up with syntax for that.
common lisp, scheme, perl, ruby, javascript, php have all syntax for optional typing already, only Guido was against it for years.
Which eventually led to Go being developed by Google, and python's downfall. They try to catchup now, but this proposal is only 10% of an optional type system. I miss the inferencer and the optimizations still.
Where Soylent falls short in this respect is that it's nutrition is only ideal given that the rest of your diet is Soylent too. It has a ton of carbs, and if you're anything like most Americans, you already have way too many carbs in your diet. Unless you're doing a lot of physical activity and you need those carbs, most people would do better just drinking a regular whey protein shake.
> current plastination techniques sufficing to create connectomes, but what does it miss?

I'm not worried about neurotransmitter levels or electrical activity, there are enough events during a normal lifetime where these can be severely compromised without any long term effects. What I am worried about, though, is the fine structure of "custom" proteins - meaning proteins that have been specifically generated by the brain to modulate the activity of one or more very specific neurons. It's not unreasonable to suspect that these serve an important role in long term memory formation and function.

I strongly suspect digitizing the connectome by itself may not be enough in the same way that saving the structure of an artificial neural network without preserving info about any weights, activation functions, and other parameters is not enough to reproduce the network later.

> by copying the digital data to many archives and formats online and offline. No such option is available to a cryonics brain unless it abandons cryonics entirely

How you judge this depends on what you're trying to achieve with cryonics. In theory, a destructive scan of a cryo-preserved brain should yield more and better data than that of a plastinated one. The question becomes: do we need that additional data or not?

I'd like cryonics to preserve brains until it becomes clear how to scan them adequately. By comparison, cryonic preservation is a relatively gentle process, whereas plastination imposes some heavy chemical changes on the brain to the point where it's entirely likely that too much information could be lost. The promise of cryonics lies not in a biological resurrection at a later date, but in giving researchers enough time to figure out how to actually do an upload. It may well turn out that plastinated remains are a sufficient data source, but contrast that with cryonics where much fewer doubts about the preservation of the necessary information exist.

Of course, cryonics is beyond problematic - it requires constant and costly upkeep. And more importantly, just a few days of political, economical, or technological instability can easily wipe out every cryo-preserved brain in existence. So it's clear this can't be a solution for the next few hundreds or years. It's a solution for the next few decades at best (until the first provider goes bankrupt).

The options, in a word, all suck.
Yeah, I remember there was a service like this around 2009 (that, like this, I thought was pretty nifty... I wish I could remember the name) - but it was anonymous and you didn't need auth: you could write to a url and have the hash of it as the "read" endpoint... I used that for a lot of quick mock-ups and things.
Apt-pick: Picker toy for aptitude
Ask HN: How would I go about implementing the algorithm from this paper?
Hey guys, I'm writing a drawing application and I thought it would fun and challenging to try and implement this (https://www.youtube.com/watch?v=EtfCenXsSgQ) algorithm.

Paper: http://research.microsoft.com/en-us/um/people/larryz/zitnicksiggraph2013.pdf

I've been trying all day to understand what the authors of the paper do under the heading 3.1. Up to that point I had a fairly clear idea of what they were doing and how they were doing it. Then I reached that point, trying to first understand it by rewriting it in my own words followed by implementing it.

However, I can't even rewrite it in my own words, I simply don't understand what they're doing. How would I go about understanding what they're doing so I can implement this algorithm myself? Do I need to study more math? Should I read other easier papers first? Get specific help with this problem?

Any advice is appreciated.
Perhaps you should use something other than YouTube to host, given the videos that are displayed at the end of the video? (Something like Wistia lets you embed an action, like an email signup, etc, and gives you analytics, and more)
I agree... definitely something I'd use in a weekend hack, but if it ever got more than 100/req a day, I'd probably rewrite the backend myself.
This is probably the most relevant comment in the thread.

These ghost cities start that way, but they all end up being populated, and as soon as the flood gates open, they fill up fast. It just takes certain factors reaching critical mass to push them from the 'No one is living there' to 'Everyone is moving in and filling the entire place up'

Edit: Looks like it's already begun in Ordos as well. http://tmagazine.blogs.nytimes.com/2015/03/06/ordos-china-to...

As usual, the initial settling is largely happening due to the Chinese government applying artificial levers to get people to move there, but that's a tactic they've used successfully on a lot of these "ghost towns"
Remembering John Nash
Is Ember the cool JS framework now? It seems nice enough to me. I have such a headache from thinking about this front-end framework idealogy. I've used a few tools but I generally don't make one-page apps so I stick to JQuery + micro frameworks and maybe some React.
Mostly for small scripts and apps that could store data without having to setup your own back-end.
It'd make sense-though really MSFT should've done this years ago.
I also never understood the social norm of not wearing a seatbelt in a taxi, but went along with it for my first few years living in New York.

I think the mention of "some dude yelling in some foreign language" is unnecessary. A person's native tongue says nothing of their intellectual capacity, nor of their ability to safely navigate a city.
Indeed it's definitely focused on small applications or personal use.
Ah, if it's one of those arrangements then yeah, that was always a lost cause.
http://youtube.com/watch?v=VUawhjxLS2I
Google started talking about Android @ Home at I/O 2011.
Soylent and other meal replacement shakes are a lot more than just protein and carbohydrates.
I found myself using Soylent as a "plan B" and drinking it when I'd normally skip a meal. Within the first two weeks of drinking Soylent I gained five pounds. I've never gained five pounds in the course of two weeks. It turns out skipping those meals was keeping my weight stable. I'm now careful to skip the meals I normally would and now use Soylent to replace the occasional meal I'd otherwise eat.
I wonder how much extra you could charge for having a vehicle in the uber fleet with a variety of child seats, or similarly various handicapped accessories.
I am not sure I understand the pricing and/or the service. What are your guarantees about dropping or not dropping keys? Obviously you can't sell unlimited memcache space for 20$/mo and you must protect against customers exhausting all your available resources.

So since it's quite obvious that there must be some limit and/or expiration policy I think you should really just spell it out on the page.
What does Microstt have planned? They'd massively reduce headcount at Blackberry. What's the point of combining the two also-rans of the mobile phone industry?
In fact, OCaml modules do correspond to Haskell type class instances, and there are ways to extend the ML module system to support ad-hoc style polymorphism (http://www.mpi-sws.org/~dreyer/papers/mtc/main-long.pdf).

On the other hand, you can also use modules as a simple namespacing mechanism (as in Haskell modules). But this does not capture the full power of the module system.