skysight-inc/HackerNews huggingface dataset:
This seems like a step in the right direction to me.

I was wondering about the flexibility of templating engine and CSS preprocessing. It seems like hr.js is using it's own templating engine, which is ok and also LESS as a CSS preprocessor.

Is there a way to use something like Handlebars, ejs,... or maybe switch to Stylus or SASS? (is it just a matter or defining a css compiler in the build configuration)

Great work, keep it up.
The First Gear Discovered in an Insect
Chinese Can't Understand Why The French Work So Little
Is it better than a relational database for that?
Because a good programmer knows binary.
How can we know if we are not angels with a handful of milleniums of governments and religious institutions actively engaged in telling us we are not?

Structural Oppression is a real thing.
> So, what's a good NoSQL database for e.g. node.js use?

Well, this is the thing; 'NoSQL' is really a pretty unhelpful term. It tends to just mean "not relational", and covers a vast number of things.

So, for instance, you might be okay with having to have your data set fit in RAM (with MongoDB you'll suffer if it doesn't, anyway), and not care too much about availability. In that case, Redis might be good. Or maybe you care deeply about availability; in that case, one of the Dynamo paper databases might be good, if you're willing to put in the work dealing with the consistency issues. Or...

I could go on for a bit. 'NoSQL' is verging on a meaningless term.
I didn't take risk into account because it simplified things. Run the numbers with risk and you'll see it doesn't change things substantially - it effectively just changes what percentage I expect to get from the company.

Your point about unsophisticated investors bearing more of that risk is a good one, but doesn't change the fact that inflation motivates investment and deflation motivates hoarding - it points out one negative consequence of motivating investment.

Regarding your last point, we're discussing potential problems with bitcoin. A criticism of the current system - well founded or not - doesn't amount to an endorsement of a particular policy in an alternative system. Do you object to bitcoin mining distributing new money to miners? If not, would you object to it continuing to do so through expansion of the bitcoin supply rather than switching over to paying miners more entirely through transaction fees? My broader point is simply and entirely that the cap on the number of bitcoins presents some long term risk to an economy using bitcoin as currency.
Make an app for ordering an item, then?

Or go meta: make an app which makes apps for ordering an item.
I read the whole thing as well.
So much good in the world -- I hope it keeps inspiring people to do the same =]
Panic[1] and/or generalized anxiety disorder[2] can happen to anyone at any time. Privilege has little to do with it. Any kind of stressful situation can trigger it in susceptible individuals.

[1] http://www.mayoclinic.com/health/panic-attacks/DS00338
[2] http://www.mayoclinic.com/health/generalized-anxiety-disorde...
I've barely used it, but the json document thing with a lot of random convenience functions in the query language seem to lend themselves well to rapid development.

For postgres you'd be mapping to a relational schema, and for redis you'd be storing the json yourself as a blob, without any server-side manipulation capabilities (or using redis maps/sets/etc, which are awesome, but aren't as general as json).

I haven't been doing very much web dev the last few years though so it's possible that my first impressions are wrong. I'm just repeating what I've been told, basically.
Angry? This http://www.reuters.com/article/2013/10/19/us-italy-demonstra... angry!
What does mongo offer over (possibly sharded) postgres for this use case? Postgres won't hit you with db-level locks and gives you master/slave replication for availability. You can also get great performance if you put the WAL on a ramdisk, which I think is roughly equivalent to how mongodb handles writes.

I'm really not trying to be argumentative here, I'm just trying to understand what mongodb is for.
Last Meals of Innocent Men: Campaign for Amnesty International
Trickle-Back economics?

I think this is cool but there's more charitable ways to go vs. buying the rear-view clunker a milk shake.
I think it's really less that 10gen itself was trying to mislead people, and more that the community itself was building up a strange mythos with little relation to reality. This, unfortunately, tends to happen rather often (node.js is magic! Java is really slow! etc.)
More weird formats (which at least work in chrome/mac, and the mac implementation of getaddrinfo()):

http://184.11274826/
http://184.172.2634/

The rule here is that the last (but apparently only the last) numeric component may encode multiple bytes.
I think I remember a study a while back that found that women expect their future husband(s) to make more than them, even though women make equal to men or more in my country. Naturally, this makes "good men" (according to this rather sexist definition of suitability) hard if not impossible to find.

Women have been liberated from a lot of their gender roles, but seem fine with keeping men in theirs.
Amazon sold fake iPhone chargers for years (and I'm calling them fake because they said "by Apple", now they are labeled "by Generic" etc.) I took screenshots, that's not from memory.

Amazon has a big fake product problem. Make or source a knock off of anything that is relatively interchangeable, such as a replacement filter, then list it as being the real product.

Even when Amazon lists an alternative "by Generic" you can still list under the real item (e.g. "Dirt Devil F1 HEPA Filter by Dirt Devil" http://www.amazon.com/Dirt-Devil-F1-HEPA-Filter/dp/B00022NGI... ) review less than 20 hours ago says its fake. What do you think it costs to make a knock off filter? If you under price it, then consumers know for sure its a knock off, so you take the market price, in this case $8.50 - the 50 cents it took to make and ship across the ocean, and add Amazon's overpriced per item shipping for third party sellers to make another few dollars on top of it. This is happening to a lot of other products.

What are the risks? Manufacturers don't care. I've emailed complaints myself, without response. At worst you get kicked off Amazon.
programmers and engineers know what this means - binary
Sounds like a safer conclusion for a mental health professional to come to than a layman, given proper data. That is, I trust your friend's opinion on this topic more than yours or mine, but in more advanced cases I'm sure she'd prefer to see the patient than they skip her counsel.

The technical community has a higher than normal prevalence of mental illness. We need to learn to put more stock in real, educated, professional advice on these topics than blog and forum-based accounts of self-prescribed solutions.
You can't believe it would happen for money, but you'd believe it'd happen for free? Anyway, PR is far more complex and subtle than "I give money, you write article". Someone posted a pg essay below that might be instructive.

As to why I think this might (I make no claims to certainty) be a PR-influenced article:

1. Chick-fil-a is mentioned in the first paragraph, no other restaraunt is mentioned until the fourth.

2. The first 3 paragraphs are a visceral imagining of what it would be like to be part of a "pay-it-forward" chain at a chick-fil-a specifically, complete with giggling cashier. Other restaurants are mentioned only in an detached and objective manner.

3. There's a direct quote in paragraph 5 from the chick-fil-a "director of hospitality", the only other quote from a restaurant owner is from a smaller local shop 3 or 4 paragraphs down. The chick-fil-a representative’s quote is a comment on the value and reasoning behind pay-it-forward, the other's is simply a factual one about a lady at his store that does it.

4. Getting a bit more abstract here, but this is exactly the kind of ideal that chick-fil-a probably wants to be associated with, "good-old down home people helping each other out small town america &c.". Note the jab at starbucks at the end?

5. Like op said, chick-fil-a took a bit of a beating in the press awhile ago. People might not remember what happened exactly, but they probably came away with a slightly worse impression of chick-fil-a. If PR was involved in this article then it's probably to try and repair that damage.
I like Patterns of Enterprise Application Architecture, which includes some domain logic patterns. A common one is SOA, by dividing the backend into services that your UI consumes.
You Don't Need a CS Degree to Work for a Startup
Why do we need a government to legislate what Women can or cannot do when Nature will determine this all on her own?

What an odd think to say. It's the nature of humans to form government, and the most natural one is despotism. Shut down the macro-governments we have now and you'll have millions of micro-tyrannies overnight. And the role of woman there would be about that of a slave.

Similar stuff about god giving "inalienable rights" is rhetorical hocus-pocus.
This is old news from months ago. The Nov 20 date was mentioned back in May:

http://www.slashgear.com/google-checkout-to-be-retired-novem...
It is an x86 with very weak in-order cores, which instead have very large (512-bit) vector units. Very much like an NVIDIA "symmetric multiprocessor". If you try to program the Xeon Phi anything like a general-purpose CPU, you will not get within 5% of its power --- the programming model is essentially that of a GPU. The one thing that makes the Xeon Phi more general-purposy than current GPUs is the cache-coherence across cores.
> What's wrong with the Viaweb/Arc/HackerNews/Mailinator approach of just using in-memory datastructures (hashtables, linked lists) and then journaling out changes to the filesystem as records that are read in on startup?

That works for some things. However, it's no more a foolproof magical solution than MySQL or MongoDB or Cassandra or Oracle or... It just has different tradeoffs (non-primary key queries will tend to be a problem, you'll have to make your own replication, sharding will be a problem, etc etc).
>Also Wiki-PR was one, who knows how many more are left!

That's exactly my point. From the article, we don't know if there are enough companies doing this to pose a serious threat to Wikipedia, yet it suggests there is.
Unbelievably sad.
Your controller should be passing the session state to the model (passing the items needed from session state for the model to manipulate data). Models should have no concept of a session. They should be almost entirely self-contained.

Controllers should do only basic validation (length, format, etc.)
The US, and other nations, have nuclear powered ships for war. Why not use these ships for peace, and try cleaning the ocean?

http://en.wikipedia.org/wiki/North_Pacific_Gyre

http://www.greenpeace.org/international/en/campaigns/oceans/...
This is nothing new, the Nov 20 date was well-known back in May:

http://www.engadget.com/2013/05/20/google-checkout-for-merch...
Postgres update performance is pretty bad. When running a big data migration, it's generally faster to copy the old table to a new temporary table and rename the temp table to the old table than it is to run an update.
I think I can sort of relate.
I have associates involved in the management of a hedge fund, and they inform me that shorts are so highly demanded for the web IPOs of 2011 and 2012 that they've actually had trouble getting them.

Interesting anecdote. I'm not surprised that this is the case, but I'm surprised that it's the first time I've seen anyone mention it in a discussion.
I think the title is misleading - as the article states, the gear is not being sold by Amazon itself but rather through its marketplace. The latter is more like eBay and less like Safeway.

With that being said, I wonder what the seller's reputation rating was. Much like eBay, you can (and should) always check the seller's feedback before committing to a purchase.
Who do they serve?
> Controllers are the UI

I agree.

> What is the responsibility of the controller?

Controllers are the UI ? but the UI of what ? HTTP. controllers should only deal with HTTP (request,respone,cookies,session) stuff , nothing else. The rest should be encapsulated in services, which communicates through models.

The truth is , it is not MVC , MVC is a poor label for that kind of architecture since MVC means something very specific in software engineering.
Its apparent simplicity to _developers_ was certainly a good marketing tool, but it did come with tradeoffs; some of its limitations imply a considerable amount of developer and operational complexity if you actually want to use it.
This was fun. I thought I could work it out, but this was neater. Let's have a whole school based on such puzzles!
> The technical community has a higher than normal prevalence of mental illness.

What makes you say this?

> We need to learn to put more stock in real, educated, professional advice on these topics than blog and forum-based accounts of self-prescribed solutions.

Yes. See also any thread about food.
One viable option:

CREATE TABLE mongodb (
key VARCHAR(256) PRIMARY KEY,
value JSON
);
Let me spell it out 1 and 0
OK, but you don't need things in order to relax. In fact, many of the best ways to relax don't need things (or at least, very many things). I think that's the point.

Rather than owning an obscenely large flatscreen (and stand to put it on, and couch to sit on while watching it, and apartment to put it in, and cable/Roku/DVD/(insert content device)) you could...

Go for a walk

Go for a walk in nature, now it's a hike!

Go to a museum

Play frisbee (borrow if necessary)

Ride a bike (rent if necessary)

Find some music to listen to
And irony here is that one of the guys, who were developing this thing, was awarded Nobel Peace Prize later.
Bangladesh’s tanneries make the sweatshops look good
I've had a real hell finding good programmers - where do you look?
> Templates are a compile-time construct. Algebraic data types are not. I think you are confusing ADTs with parametric polymorphism.

You keep saying that word. I do not think it means what you think it means: http://en.wikipedia.org/wiki/Algebraic_data_type
PR also makes it into Wikipedia through sanctioned channels -- namely mass media citations which are considered "reliable sources", even though the content of the citation comes from a press release or helpful PR person.

It it were just that then Wikipedia would be fine. I mean, this is how the trade press has operated since time immemorial. Companies issue press releases, and the trade journals publish stuff.

But Wikipedia has a serious problem with "competing interests". One high-profile occasion was when a Wikipedia admin with much clout was employed by some New Religious Movement and then proceeded to edit in favour of his employer. Another was when a BP representative edited the article on his own company. Also: Gibraltarpedia and Monmouthpedia. On all three occasions a substantial fraction of Wikipedia editors found nothing wrong with this.

Science found out why you can't have this when medical researchers were funded by the tobacco industry and proceeded to publish their findings without being open where they got their money from. Wikipedia needs to wake up, but that isn't going to happen anytime soon.
I loved my CR-48 so much I'm thinking of getting another (it got lost in an accident). It was light and pleasant to type on for long periods. Tablets are superior in many respects but if you do a lot of typing then you probably don't want all the weight in the screen, and you'd like a decent keyboard.
I would love to consider myself as the "5th grade coder", I did start coding in about 5th grade however I just cannot come with anything that could be called successful. I just doubt that with my lack of professionality I've got any chances of making something bigger than a useless game.
> Seriously…who uses these things?

Google employees, sometimes. Think that's about it.
It sounds like you're stuck using `Session` object which you should almost never touch in ASP.Net MVC.

HTTP is stateless. You should program accordingly and not rely on the old ASP.Net webforms ways, they were extremely broken and taught some developers some very bad habits (view state was a terrible, terrible idea. Session state should be used in extremely rare circumstances and it's much better to never use it).

That's one of the reasons MVC caught on so fast. It actually reflects what in reality is happening and is not the terribly leaky abstraction that Webforms was.

In the controller you get an updated object from your repository on each request. You update it with the data that you received in the request (and MVC can do this for you itself). You ask it to validate itself. You save if valid. You return your success view. You don't save if not valid, you return the validation errors.

Hence the controller is only a few lines.

That's how you're supposed to program in MVC because HTTP is stateless. And because SQL is much faster than you probably think it is. And that makes the code vastly simpler. And you can cache persistent things like the data for common dropdowns in memory using the actual `System.Runtime.Caching` functionality.
And again, in the complete nonsensical quest of describing particle energies by many nines in 99.999999..% of the speed of light, the proper math falls down, 99.86% c is ~10 MeV, 60 MeV is about 99.996% c, but IT'S COMPLETELY MEANINGLESS!

Nevertheless...

Here's a handy online-tool to calculate the speed of a particle accellerated in a electric field (enter 60000 kV to get the values for the 60 MeV electron):

http://www.ou.edu/research/electron/bmz5364/calc-kv.html

Or calculate it yourself: E = E₀ / √( 1 - β²) with E₀ being the rest-energy of the particle (511 keV in the case of the electron) and β being the velocity relative to the speed of light.

At 99.86% of the speed of light, an electron will have a total (rest-mass + acquired energy by accelleration) energy of about 10 MeV:

(in python, energies in keV)
>>> 511. / math.sqrt( 1 - .9986 ** 2 )
9660.374008193809
As a mountain biker, I see some of the times listed on the trails I frequent, and wonder how people can ride them so fast. I'm too afraid to ride at top speed down some of these trails for the fear of colliding with someone else. I like Strava, it's and easy way to keep track of my riding. I wish that Google made My Tracks for iOS.
How inconvenienced will you be if they shut it down? It's not like the entire world will just move to it right away and forget about cash.
So your observation was "Unknown or expired link" ??

:)
How does being sophisticated imply crazy?
is it browser interprets this to IP adress?
We get lazy because most of the time ,without a proper Ioc container , writing code the right way is too much verbose.

Ioc containers changed the way I code since I did not have to care anymore about how complicated it was to instanciate objects. It helps write very clean code and makes OOP easier.
Have you tried the ol' "market rate +50%" approach?
It's a fact? I heard Chick-fil-a stores had record sales after your so-called "deep shit PR disaster."
I'm actually using it.. It's reall good if you can use it and it's stable..

Had a little problem with one of the dependencies though (removed a line from the source of underscore.js to get it to work, everything else just works fine)
> I'd like to meet the end user that is 100% happy with their Chromebook and uses it for everything they do without having access to a more traditional computer.

I don't think that is the only reason people are [apparently] buying Chromebooks. My brother just got one for his birthday as a secondary laptop for school. He has a laptop already, but it is a beefy gaming one that isn't really conducive to carrying to and from campus. So for $200 (much easier to stomach than $500 for a Windows tablet) he's got a super lightweight machine that he can use to browse the web (wifi is everywhere on campus), listen to spotify/watch netflix between classes, and look up his assignments. Can it run Office or SolidWorks? No, but that is not the point - it has great battery life and is a snappy internet terminal that you can throw in your backpack.

Why are Kindles still a thing? Why not just get an iPad mini to read on?
> To write something in upper cases isn't a justification and doesn't make sense.

YES IT DOES! ;-)
doctors can do what they want anyway. getting rid of DSM-V won't remove those powers. it just removes a way to describe / discuss (and perhaps challenge) what they are doing. so you're actually making things more open to abuse.

but i'm not sure if this will help explain things, as i thought my comment above was pretty clear anyway.
Based on an old unfunny joke.
I first saw this puzzle when it was the monthly "Ponder This" challenge from IBM Research. If you like it, you might enjoy looking through their archives: http://domino.research.ibm.com/Comm/wwwr_ponder.nsf/pages/in...
I've developed lossy PNG encoder that creates 3-4 times smaller PNG files:

http://pngmini.com/lossypng.html
I think this is just a poor, exclusive, and incomplete way of saying, "I like passionate coders." Or maybe not, since you seem to imply that the second type just takes up coding because that's what successful people do in the tech world. Am I worthless and not passionate because I started teaching myself to code when I was 15? You probably have a case for people who have been coding nonstop since their early adolescence. But frankly, this article is vapid nonsense. Stop generalizing; sometimes you have to accept that the world is complex and not black and white. Try thinking outside of binary.
Ok here's two quotes from you:

"Live coding is about programming while the program is actively running"

"Live programming [Hancock03] promises for much more fluid feedback between the programmer and a program that is executing while it is being edited."

These statements are connected.

Yes software engineering is a different activity from making music. But, if I want to address live coding of music in particular I just add a word or two. I'm often interested in cross-disciplinary discussion though.

We've been around this a couple of times though, and I think can probably predict each other's points by now. :)
Yeah, I played with my UA and google's homepage and I like this explanation better. It's kinda horrifying how broken it is.
Looks like Internet Explorer recognizes them all as the same address (when I hover over the link, it shows the link target in dotted decimal). Chrome does the same thing for 1, 3, and 4 but doesn't like the number > INT_MAX. Firefox thinks they're all different.
Largest is indeed a misnomer. It is the most powerful.
They didn't validate the token nor did they make sure the user id was valid for the request; that's two important checks that either weren't there or failed. Seems like they just weren't there as there would have been more failures like this throughout the site. Because those checks weren't there I'd say it was an amateur mistake. Again, if this is the case then the engineer just made an assumption that this request can only be made in particular user state.
my brother got a chromebook pixel at Google IO this year and i have to say it's a beautiful piece of tech...if the OS was a bit more mature (more apps and functionality), i could easily replace my laptop with a chromebook.
I know a few schools in my area are buying these for internet research and word processing. They are cheap and do the job.

I've considered buying one as a secondary device. For instance, I stayed a week on a beach last summer and didn't feel comfortable bringing my $1,800 primary laptop to a cabin 50 ft. from the ocean which I would use (and keep an eye on) only a few times. I ended up bringing my tablet though, and that seemed to suffice that need - but if I was a writer or something like that I would have preferred a larger screen and keyboard and a Chromebook would be perfect for that.