skysight-inc/HackerNews huggingface dataset:
I have no idea what you're talking about. Functional languages are irrelevant to this conversation.

For 99% of personal blogs and a large number of "mom-and-pop" business sites, you'd be lucky to find >1000 individual webpages on their site, each less than 100kB in size. MMAP to your heart's content... 100MB can easily be kept permanently in memory.

None of those "dynamic" elements you mentioned are difficult to do statically: You render once using a template language by iterating through and rendering each page in your sitemap. This handles most "dynamic" content you mentioned: tables, tags, tagclouds, pagination, related posts, etc. Using Jekyll or Hyde, you're talking ~100ms per post -- or 1.5 minutes to render 1000 pages. (In fact, Hyde used to use Django under the hood to do the rendering!)

I can definitively say, it's a big win for most personal websites -- most dynamic elements can be done at "compile time", others are covered by 3rd party services using client-side JS (eg. Disqus for comments), and if you need any others you should switch to a dynamic site. Tom Preston-Werner (github CEO) agrees with me; that's why he developed Jekyll for github [1]. Github pages are hardly a "manufactured" example, and they do work well in practice.

[1] http://tom.preston-werner.com/2008/11/17/blogging-like-a-hac...
Sure :-) #1 "Installing Software" I absolutely agree linux is much better with this. I had issues installing even the simplest of applications that just work on linux. #2 "Security" using "PF" was horrible in comparison to iptables when I tried it. But all this VS posts is useless in the end. Use what works for you personally and don't listen to anyone else.
If clinical immortality was possible, who's to say that mental rejuvenation couldn't be possible, as well? And that people will develop new psychologies as they become immortal?
http://www.scribd.com/doc/140433670/TV-Consumer-Freedom-Act

This is a crazy law to even propose, but the idea behind it should be considered by the cable industry hard and fast.
> Lol, BSD is for losers, switched from FreeBSD to Ubuntu 10 years ago and never looked back..

This comment made my day
12 Jobs Getting the Biggest Raises in 2014
It would release demand (15% of total) back to the market, so yes it would. It would also reduce our CO2 emissions, lose jobs from an area that needs them and reduce GDP from exporting that Aluminium and increase profits for the newly sold-down electricity companies. And so on. It's all quite complex but a good analysis should show the net gain or loss. But my take is that the plant can be a lot more efficient.
Well to me, I'm simply highlighting the fact that not ALL pedofiles are rapists.

It doesn't surprise me that some/most people believe this, but I believe that defending simple truths to be important.

Again, pedantic. But necessary. Especially if people who go by social justice warriors, believe in the persecution of pedofiles who've never commited or will commit a crime.
In the current iteration of the course, the first programming assignment's code quality is awful, sadly.
You can make good arguments in either direction - either having a single generic type (a class) that fits all of these concepts, or having specific types for each of those concepts.

Having just a generic type gives the language some useful simplicity as the single 'class' container can fulfill all of those needs yet not need the user to remember all the caveats of each specific type as the 'class' concept is generic enough to fit to almost anything.

Having specific types is very good for teaching the different concepts at a higher level as well as documenting what is intended for future readers of the code (as long as they also understand all of the concepts involved). Convention over configuration, really.

I personally prefer the more generic types as they don't try to lock you in to the authors specific biases and requirements - that's what frameworks are for.
I really like Hadi's criticism of OO, and in fact I would like to hijack it and take it a few steps further, to paint what in my mind is a more realistic picture. Functional programming is only an alternative choice of paradigm. Expert programmers will use the best tool for the job and eschew the pointless search for the absolute best.

Why OO? Classes exist to decouple behaviors from data. In fact, their purpose is to think in terms of cohesive sets of behaviors instead of data-driven functions.

Does this apply to any possible case? No, it's a leaky abstraction.

Why FP? Functions exist to decouple behavior from other behavior. In fact, their purpose is to think in terms of completely decoupled sets of behaviors instead of cohesive functions.

Does this apply to any possible case? No, it's a leaky abstraction.

Why AOP? Aspects exist to decouple behaviors that apply across classes. In fact, their purpose is to think in terms of orthogonal sets of behaviors instead of hierarchical sets of behaviors.

Does this apply to any possible case? No, it's a leaky abstraction.

Why Procedural Programming? To separate the functionality of the application in separate behaviors. In fact, the purpose of procedures is to think in terms of behaviors instead of sequences of operations.

Does this apply to any possible case? No, it's a leaky abstraction.

Why Declarative Programming? To express solutions in terms of goals instead of behaviors. In fact, its purpose is to think in terms of desired state, not sequences or compositions of behaviors.

Does this apply to any possible case? No, it's a leaky abstraction.

Why Logic Programming? To explore the logical consequences of given facts, instead of focusing on behaviors or desired outcomes. In fact, its purpose is to find new truths starting from given truths.

Does this apply to any possible case? No, it's a leaky abstraction.

Why spaghetti code? Wait, no that's just crap ;-)
I'm folding "crass political appeal to the religious rubes" under religion for that particular case.

EDIT: Her parents obviously had different motivations than religion. The 10,000,000 politicians and talking heads? Either religion or political exploitation related to religion.
thats true but Sony makes a big deal about just being a gaming consoles focused on games while MS is pretty much in the opposite corner and kinect is arguably way ahead of anything Sony has at the moment.
If you already have a machine serving stuff at home, adding a remote server is only time, money, and effort spent. Is it worth it? Not all sites are high in volume, and even well prepared sites on decent lines can go down if it hits the HN front page.

People do occasionally bitch and moan about slow downloads from my home host, but nobody ever offered money for a pain-free alternative.
This was fascinating. Could phages be engineered to attack mrsa and other superbugs we see in hospitals?
Thanks! Good point. I was thinking there might be poetry so I just replaced the CR-LF with regular new lines.
While the idea of "strong government" has many vague interpretations, one doesn't need a nanny state to enforce property rights.

This is a good starting point for looking at what Benelux countries do: https://en.wikipedia.org/wiki/Legality_of_euthanasia
DNA is your UUID/GUID
Scanning the C language is done using regular expressions, typically. Parsing the resulting token stream cannot be done with only regular expressions.

At least not with the theoretical construct. Some "regular expressions" libraries, notably PCRE, let you do plenty that goes beyond the theory at the expense of some efficiency. Parsing some context-free grammars with these libraries is certainly possible, but you're not really restricting yourself to "just" regular expressions at that point. Regular expressions plus interwoven use of a stack is a pushdown-automata, which can totally parse C and HTML.
The thread where all HN users reveal their nationality, hometown, family status and what not. So good!

PS fuck NSA
Multithreaded Thinking
I've heard some people describe the way they think as 'linear' and 'serialized', but I personally find my own style of thinking to be somewhat 'multithreaded'. I found this blog post and wanted to ask you, HN, how you see the way you think?
I would be cautious about drawing too many conclusions from that. Younger viewers are also more likely to have school work as kids or college students, and as young adults they spend more time running around exploring the world, seeking a mate, and so on. On the other hand, when they settle down viewing patterns can change. Also, bear in mind that now many current shows are competing with older shows available through services like Netflix; they make less money up front, but the 'long tail' gets fatter for quality or cult shows.
Cell phone family plan economics
“… but that's because it's the best book on anything for the layman.”
http://c2.com/cgi/wiki?ExpressionProblem
One can argue that Javascript's prototype is probably the future, not the traditional class-based OOP.
The whole blog is sort of Poe's law territory. I suspect the author is a nutjob rather than a troll, but a lot of the comments I have no idea if they're agreeing with him or making fun of him.
To avoid the slippery slope, couldn't there be a jury system that could decide the genuineness and applicability of a case of euthanasia? Leaving it only in the hands of a single person, be it the patient, or doctor or relative is bound to attract criticism. But if a jury can sentence one to a life-sentence in a crime case, they could arguably be trusted to deal a similar sentence for someone terminally ill.
Maybe something like "Do you have more older siblings than younger siblings?" would work. One twin has to be born before the other.

That question has some problems, but I feel like it could serve as the basis for a more specific question that would define how an only child or middle child would answer without introducing much bias. It would also have to define how half-siblings are counted and probably some other things.
How does the network raise the difficulty? How do the nodes agree on a "next difficulty".

It's somewhat surprising to me that the next difficulty level isn't an input the hash function. H(B, random number, next difficulty level).

Edit: How does the network agree on clock? How does it handle rogues?
Do it from an email address created specifically for that purpose?
You raise good points. In fact, that is the very problem of so-called "Friendly" AI. Note the capital F. It's a confusing term, I know, but the basic idea is an AI that "does what we want", in the most general sense. The idea behind FAi is the exact idea you present here.

The point is that it is a bad idea to just throw together an AI and hope that it is friendly (lower case f), but rather the big important problem of our time is to generate a mathematical model of Friendliness, so that we can explicitly define to the AI how we don't want all the bad things you mentioned or any other besides.

[Edit] Here are some relevant links:

http://intelligence.org/files/CEV.pdf

http://commonsenseatheism.com/?p=14047

http://www.acceleratingfuture.com/michael/blog/2009/08/a-nic...
I wonder if switching from Analog signals to Digital has contributed to this...

Not only do you have to buy the receiver box, which craps out and has a separate remote and interface, but Digital TV has really really terrible reception. I live in a large metro area and even we have tons of problems with reception, I can't image what it's like for people who live out further.
This seems like it would be a lot of work. The intensity and specificity of the questions that would need to be asked would have to be quite unique. It might be possible, but without excluding people of the world because they get lumped into a group, it seems like maybe 33 questions might not be enough to uniquely identify everyone in the world.
That depends what constraints you choose to define on the problem - if they need to be knowable, memorable,... then yes probably. Anyway, sz4kerto has a good comment about using a Karnaugh map which might help see how this works - it's a lot cleverer than just chaining things randomly - but does break a lot of hypothetical arbritary restrictions.
Unless you're one of a set of twins/triplets/etc.
Seems like they're spending a lot of money on the campaign. We're getting local radio station adverts here in Glasgow, Scotland. Are they placing them on radio stations everywhere?
How is the hash compared to a difficulty? The current difficulty is 609482680... How do you compare a hash to a number to determine if it's greater than the number?
unless you have a twin, or other tuplet siblings.
Yeah, many of them are either out with friends or online gaming like my little brother.

When I was a kid we came home and watched Pokemon, CardCaptor Sakura, Yu-Gi-Oh, every afternoon. All those cartoons are gone now.
They do it for votes and contributions. They do it for hire. I guess that it is also voluntary, but only in the sense that if they don't do it, they don't paid.

[I know, politicians are salaried, too. Let's make a distinction...]
Classes do too much if you dont have Roles.

When you have Roles, you can build a class with Roles. like lego. Then you can have specific roles and build a class with Roles.

If your OO doesnt support Classes, Roles, Types and method modifieds and functional programming, its outdated.

Seems like your outdated OO needs a metaclass system, up-to-date like Moose from perl.
Do the questions have to be constant over time? If not it can trivially be solved by asking:
Are you born before or after time t? 33 times, where t is the median date of birth of your population. You just need to recompute t 33 times (and know the date of birth of every single person in the world).
Unless you're a twin
Given that the human digestive tract (reportedly) contains more bacteria than the human body has cells, and they are vital to our survival, how can spraying bacteria-killers on food not be harmful?
In one of the initial posts of the series, OP mentions that functional programming doesn't have app state. Can anyone point out more details on this?

I don't know if I am understanding it correctly but one of the reasons I absolutely loved Backbone.js was that it kept state of our DOM. Is this relevant to above discussion? because state surely looks pretty beneficial.
or a clone:)
I would like to chime in and recommend a serif font. Maybe PT Serif.
I suppose this is one of the things you can do when you take DELL private, no institutional shareholders to sue you because you 'threatened their value' with a radical product idea.

As a systems guy I love the concept, but I'm a bit sad at the implementation. I would have loved to see the back plane of these things connect to a 'switch module' and take the connectors off the front. Basically a 48 port GBE switch with quad 10GbE uplinks out the "end" of the case would have been much nicer. Installing a nice SDN stack in the switch hardware such that one could virtualize the switch topology on the fly and you've got a box that you can configure in lots of ways and still get some economies of scale in both the CPU and switch infrastructure. Install a 24 port 10GbE switch on the top of the rack, and you've to 6 "copper" (18U), 24 port switch (1U), for a rack with 288 hosts, 2.3T of RAM, 288T of storage, and assuming a non-blocking 24 port switch 1. 883Mbits between any two hosts. Add a 1U boot/config management server into the rack and that is a heck of a gizmo.
It's worth noting that this game also has a "high" price point.
Breathing pure nitrogen is a quick and painless way to die.
The Story of ADNpy: An App.net API Client
The set of questions that would do this is probably a list of genetic questions.

"do you have the mumble allele?" etc.
Most corporations are happy to spend on the highest end hardware when it's cheaper than spending developer salary on performance.
This isn't where the line was crossed. Far from it. Even though eavesdropping on the everyday citizen is a pretty damning thing to do, in their eyes it isn't illegal so they can't understand why everyone is complaining.

The line was crossed a long time ago when the Law was treated as an opinion. This cultivated a "let's see what we can get away with" attitude which is now starting to unfold before the world stage.

For more info, see:

https://en.wikipedia.org/wiki/John_Yoo
MikeOS: simple x86 assembly language operating system
It's entirely possible that the twins would not know which one was born first.
OTA can be tricky because its not as simple as just throwing up an antenna and calling it a day, the system has to be engineered. Check out www.tvfool.com for some great info on properly designing a system. Also, avsforum.com has some great info.
There's a similar Android app called Circa.
>>Those two arguments are very valid and absolutely need to be included in any serious discussion

I do indeed arrogantly dismiss them. These are not arguments, they are statements that serve only to delay the conversation from moving to a discussion of solutions.

>>To suggest that mentioning these two issues means one is not "better than that", what ever you mean by that but clearly it is intended to put down and dismiss any one who is concerned about them, is frankly vile.

I do indeed dismiss any one who is concerned about them. If you think its vile, so be it. I agree whole-heartedly with the author that vacuous "arguments" designed to filibuster are truly vile.

>> you are saying that unless people agree with you, they are some how stupid

No, I'm saying that arguments counter to the urgent need for medically assisted suicide are stupid

>> the idea that some how doctors are so special that they can be wholly trusted alone with this is insane

Agreed. The solution shouldn't rest with the doctors. (there good -- now we are talking about the solution)

>>This is one debate no one gets to lay down the rules on

Disagree - true leadership should always try to frame the debate. I think this issue is so important and so fundamental that it shouldn't be mired in the search for consensus. The need for euthanasia policy is no longer a question. The discussion should centre on how.
I thought of this too, or at least a site similar to it. It has so much input that it's good at even very obscure people/characters.
Wat - Gary Bernhardt
TV is in its heyday. Dramas are at the highest quality they've ever been.

The protocol, cable (and satellite), is dying. Almost nobody in my age range, or younger (late 20s), has cable. Everyone has Netflix along with some other streaming services combined with iTunes purchases and such. If you want to watch live sports, the NFL is free over the air, you'll just miss out on the NBA (oh well).

Cable television has no reason to exist. Get rid of it and use the bandwidth for streaming. I just bought a TV after not having one for half a year, and briefly considered getting Time Warner. After seeing what they charge for the basic service, along with $16/month for the "equipment rental," why would I bother? Life is better without cable anyways, the garbage on there just stresses me out and makes me hate our society! You do not need CNN, my life is so peaceful not knowing what their talking heads are spewing off about.
Doctors can tell when someone has been suffocated or poisoned.
You don't want a website of thousands of diverse people to "disappoint" you by disagreeing with you on a complex issue?
CIA Analyst Training Handbook (2000) [pdf]
> Why Class?

To enforce an invariant but of course. Just ask Bjarne.

[1] http://www.artima.com/intv/goldilocks3.html
To be fair, comparing core counts directly, each of those ARM processors is quadcore - so there are actually 192 physical cores in that 3U rack, not 48.

That said, I'm not convinced ARM is ready for server applications either. This might be interesting to hosting companies that want to sell low-end dedicated servers, though. (OVH already does something similar with Kimsufi, I believe?)
Show HN: My first app. Buying or renting? See which rooms get the sun and when.
"You mean everybody had to sit down and watch the same thing at the same time?"
-- kids of the tomorrow
A tiny minority of TV viewers were relying on broadcast both before and after the transition to digital. Those that were, also aren't the same demographic that are not "cutting the cord."
Presuming you're not a chimera http://en.wikipedia.org/wiki/Chimera_(genetics)
This feels like the next cold war. The new guy vs the established old man. Both want power and dominance. No nukes this time, that's silly. This time, it's knowledge, technology, patents, designs, and trade secrets.
A lot of it isn't exactly copyright, it's contractual obligation, I suspect. In America, the "old guard" networks are still tied to local affiliate stations, which are increasingly anchors rather than efficient distribution points. International distribution has always been a maze of weird contractual obligations, but just like the American local affiliate problem, it's a case of "it made sense at the time." The problem now is that there are still people making money from the way things are and they're going to fight tooth and nail to keep the status quo.

> I wonder when TV networks will move into the 21st century.

2016. That sounds glib, but that's my real prediction: my suspicion is that a lot of contracts are going to be coming up for renewal over the next 3-5 years and either they're not going to be renewed or they're going to take vastly different forms.

The big problem is figuring out what "cheap" actually means, of course. Internet users sometimes seem to have kind of unrealistic expectations about pricing.
Kim Dotcom Links €20,000 Wikileaks Donation to Megaupload Raid
Does anyone know good Civilization like game? I played Civ4 and Alpha Centaury a lot, but it is getting old. Civ5 does not work for me.
I'm currently in China now adopting my fourth child. I would not agree with this comment, although obviously I'm biased. When you adopt you have the choice between accepting a child that is healthy and one with special needs. Sometimes these needs are severe, sometimes minor. If you accept a child with special needs, the wait for placement can be much quicker. That is what we did and our child has a minor issue that can be corrected with cosmetic-level surgery. In my opinion, that is nothing. But to be clear, there are perfectly healthy children open for adoption as well.

I've seen multiple people now talk about how unprepared the adoptive parents seemed to be. From my view, this is the minority. We are currently at the end of our stay and are at a hotel with maybe 10-15 other families. Every one we've spoken to were very prepared and knew what they were getting into.
Pizza for 10,000 bitcoins
I would classify XCom: Enemy Unknown as console game, not a PC game. But the important point is that it's not an iPad game, and as such is automatically "worth" more due to having a different anchor.
New Music Instrument Review Site
It is something that should be monitored and have strict conditions on the age of the patient, maladies suffered, level of consciousness, and time spent attempting to cure.

That said, it should be weighed the morality of keeping a thousand people alive to die slowly and painfully so that one person might not get put down before their time.
/g/ takes down Raspberry Pi controlled robot arm
"What is the formula for difficulty?
difficulty = maximum_target / current_target
(target is a 256 bit number)"

source: https://en.bitcoin.it/wiki/Difficulty
And another new one called http://www.klipperapp.com
Tomorrow? My kids right now! And they're 19 and 14, mind you.
What if you weren't born in a city? The USA seems to give "city status" to many places, but not all countries follow this.
"TV is Dying" isn't the crazy part of this article.

It claims people are chucking broadband subscriptions and using tablets and mobile internet, or more often, just free wifi from Starbucks (or neighbors?).

Fascinating. If everyone dropped broadband, TV, and phone lines into the home, what's that world look like?
Plex Home Theater 1.0 released