skysight-inc/HackerNews huggingface dataset:
Not long. Taking it with a pinch of salt. He has built simple Flask apps anyway so thats good.

I think there is easily a place for getting something running quickly with Flask. But going to a growing codebase with flask or any frameworks with understanding the underlying mechanisms and options is pretty silly.

So I think get that out of the way early.

FWIW I have actually written a literate testing tool so I can actually write notes and code examples -
https://github.com/mikadosoftware/doctest2 ... doclit
It may be useful for this kind of thing.
This

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

should give you some background.
It's the fact that jokes like that end up at -4 that keeps me returning to hn.
It's mainly because of their support for South Korea during the Korean war of 50s. NK hates SK and the US loves SK. The friend of an enemy is an enemy. There are many reasons, but this forms the base.
Why Our Current Way of Living Has No Future
The compiler didn't tell you it was broken. You had to run the program first.

Which means it's possible the error wasn't caught till it was in production.

Which means it's possible that a customer discovered a bug that a compiler could have discovered if you had used a language with a compiler capable of compile time static typing.
Logging Still Sucks
I like these sanctions, the one aimed at Iraq starting from 1990's. Really helped for everyone living there. Who would not love a dying child from hunger on his arms, it is like a Easter present.
Does Pyongyang have no PR?
BTW, immutability has nothing to do with encapsulation. Encapsulation is the hiding, or access restriction, of data structures from "foreign" functions. Those foreign functions may only manipulate the encapsulated data through a prescribed set of functions.

We achieve this in clojure through clojure's lovely typing mechanism which allows you to declare types that have publicly known functions without any data declarations; and private implementations of those functions that know the data they are manipulating.

One last note. C was much more encapsulated than C++, Java, or C# because in C you would declare your functions in a .h file, and your variables in a .c file. No other .c file could see your variables, so they _had_ to use your functions. The public/private keywords were added to C++, and then to Java and C# because the act of putting variable and function declarations in the same source file broke encapsulation, and we needed a way to re-assert it. That reassertion was only partially effective.

The bottom line is that all the C based OO languages are _less_ encapsulated than C.
I'm aware of the rollover preview issue but didn't have the time to fix it. Indeed, it's not simple but I think it was covered in many tutorials, so I won't have to reinvent much of the wheel.

As for the value proposition of the web app, I'm still unsure about it (in the discovery phase). I'll be trying different things and checking their output/ROI. Manual reviews of themes, hosting reviews, building a user community...
The main reason is that the US essentially fought the Korean War for South Korea against the North, and still maintains many active military bases and thousands of troops in South Korea, especially one right in the middle of Seoul. Any attempt to invade the South would mean war with the US, thus one of the longstanding demands of the DPRK has been that the US remove all its troops from the country.

Also, the US helps the South Korea military (and previously, its economy). I believe there is a clause in the constitution where in the case of a full scale war, a US general will assume command of all the military forces of the South
Don't forget the challenges that you may find in your current job. Maybe in your current team, they're just phoning it in, but in a large organization there are always new challenges to be found.
Seoul is close enough to the DMZ to be within range of more or less standard artillery pieces. These things either shoot shells (giant bullets), or wickedly hilarious amounts of rockets. Even if they were interceptable (I doubt it), the sheer volume of fire would overwhelm pretty much anything.
Isn't Twitter integrated into Apple's mobile operating system? Such tight partnerships is plenty reason for them to play police for Twitter.
Author here. Feel free to drop any comments, this was a "weekend project" as I couldn't find anything as simple as that.

By the way, I recently uploaded the code to github: https://github.com/carlesfe/bashblog and some people are using it to publish their blogs via dropbox and site44, cool!
And the defense is well-known too right?
A volkswagen beetle and about 5 gallons of gas would do the trick, no?
Re "Tablets are not replacements for a full computing environment, and never will be."

How many PC users actually use or need "a full computing environment?"
"That person deserves what the market pays for people with that particularly low skill set"

So I'm right, you do consider this a moral issue, you think that the free market is the be-all and end-all of morality and that people only 'deserve' what you deign to hand to them.

"Yet you're implying that I as an employer with my available job for someone to push a friggin' button has to worry about all that or at very least accept someone's opinion on the lowest common denominator living wage?"

You're the one that came up with the dumb button example.

Sounds like you don't really need someone to press the button anyway. If it was vital to your operations you'd be prepared to pay decently as it's not you've made a saving. Good for you.

"At that point, I say screw the high school kid or part-time mom looking to earn a little extra money pushing the button. I automate the whole damned thing and eliminate the job. That, my friend, is called the "unintended consequence" of your heavy handed approach of controlling every little perceived injustice."

If that is the price paid to get hundreds of other people off the government teat and stop subsidising the labour needs of you and your company, awesome. That high school kid misses out but his dad, who does more than press a button and generates more than ten times his pay packet for the company he labours for, gets to put food on the table.

This is not an unintended consequence at all.
I mean that from my point of view "gimme money if you want that open sourced" is very bad approach.

Either build your closed source business, or try to earn from an open source product to pay the bills.

1) What is the current state of the source code? It could be a mess.

2) The value of open source is mostly in continued developments, support, community, not just in releasing the code itself.

3) If you have this mindset, who guarantees me that tomorrow you'll write plugins that are closed and ask again for money to release?
I knew it looked familiar but couldn't place my finger on it - yes, london underground. thanks :)

I may have been misread - to clarify, I wasn't knocking the app or saying it was bad - it has a distinctive style (or really, is borrowing from the LU) and I wish the author success.
Seriously? As an avid reader, I have more than enough imagination to imagine people who are different than me being able to do the things that I do.
The Koreas are effectively a proxy war between the US and China.
There's a pretty easy way for the government to avoid situations like that. If your people are at the mercy of foreign governments in order to survive, it really is in your best interest to not continuously piss them off.
The "Iron Dome" is an anti-missile system. Artillery shells are a lot harder to shoot down. Last I heard, the US military was working on a laser-based system to heat the shells mid-flight and cause them to detonate prematurely. I don't know if this technology is mature enough for actual use, or if it's likely to be deployed to SK.
Iron dome shoots down rockets with other rockets. The US has some tech in forward operating bases in Afghanistan to shoot down rockets and mortars with 300 round/minute 50 caliber Gatling guns (https://en.wikipedia.org/wiki/Counter-RAM). Both of these technologies only work against explosive/fueled rounds because you can blow them up.

The artilery that North Korea has pointed at the south could be just slug launchers i.e. imagine a giant sized bullet. Because a slug has not fuel or explosives to detonate you can't really stop it by hitting the round with something else.
Screenhero is amazing. The people behind Screenhero are amazing as well. We are using Screenhero (formerly Powwow) since it came out. Beside some issues that were resolved very fast, Screenhero is perfect. When we had a few problems with the service we wrote them an email and they responded very quickly and actually fixed the problem within a week or so. Those guys rock. Now they are planning a tour to some of their users to talk to them in person and they are planning a pro service:

http://screenhero.com/pricing.html

Screenhero boosted our productivity substantially and I will be one of the first ones to try our their pro service. If you are working in a team you should definitely look into Screenhero.
As good as his sounds, it might put you in a serious disadvantage during negotiations. Only use this if you are dealing with a very specific personality type known as a nurturer (someone who values personl connections and nurtures them from the start). Otherwise you might not be tken seriously.
content is wrong. You should be using controller. This works with arrangedContent. {{each content}} will not work with anything like SortableMixin.
The US military had a big involvement in the Korean War (88% of the South Korean force [1]), and to this day are posted at the demilitarised zone in the Korean Peninsula.

http://en.wikipedia.org/wiki/Korean_War [1]

Here is an interesting read:
http://en.wikipedia.org/wiki/Division_of_Korea
Exactly. I detest PHP, but I've used it to quickly build a sign-up website for an event. If you pair PHP with an interface library like Bootstrap and an ORM like Paris/Idiorm you can have something up and running cheaply and quickly. Is it maintainable? No, but that's not important in this case.

edit: let me clarify, I don't assert that ALL php code is unmaintainable, just the quick site I built. Though if you're in the mood to argue: statically typed languages are infinitely more maintainable than dynamically typed ones in my opinion.
Apple adjusts iPad and iPad mini shipments, supply chains to be affected
Chinese Physicists Measure Speed of “Spooky Action At a Distance”
Artillery fires projectiles, which are hard, if not impossible to stop mid flight. They are actually consideres so stable that many shooting ranges cross over towns.
Why I Don't Want My Employees To Work From Home
A free market does not operate as a moral system. If you want to inject morals, price-fixing and wage-fixing are especially miserable ways to do it. The free market responds, often in ways you don't anticipate, and your social experiment goes weirdly sideways.
What's really killing us? It's not what you think...
> It would be possible to obfuscate a secret by storing it in several parts and combining them at run time.

Then run `strings' on virtual memory image of the offending process. Same difference.
But they are bait and switch when the terms and offers change after you sign up. Instagram for example.
I was getting a lot of the negative side effects of sitting at a computer all day over the past few years, and I made several changes that have really helped, including: hiking once to twice a week, switching positions regularly between sitting at a desk, reclining on a couch, and standing, and making sure to move around regularly through the day, avoiding those long periods of sitting still for hours. The constant headache and random pains I was having have faded.
Interesting how the New York Times covers this more as a threat than a political move.

The New York Times: "North Korea Warns of Pre-emptive Nuclear Attack"

BBC News: "North Korea ramps up nuclear rhetoric as UN vote looms" (http://www.bbc.co.uk/news/world-asia-21695887)
As for trust, the JavaScript community knows me as the maintainer of CodeMirror, and apparently likes the way I'm handling that project. This seems to lead people to believe that I won't deliver a horrible mess, and that I won't try to rip them off after the fact.

Starting up a project with a crowd funding does not make it impossible to later fund continued maintenance by selling support and such. It is a way in which I'm safeguarding my initial investment.

In short, I still fail to see the problem.
Another option which allows one to sit and keep the core engaged are things like a the swopper chair or exercise/swiss/balance balls. Because of the nature of the subtle movements, your hip flexors are engaged often (as long as you don't completely slouch on them).
The arrival of 4D printing is making 3D printing look passe
There's this counter-intuitive trend that when the heritage of a dictatorial seat goes to a young one, everyone awaits for reforms, whereas the regime tends to rapidly increase its aggressive behavior. The same happened in Syria when Bachar got his seat. I'd be interested in listing other examples, typically in less recent history.
What Makes A Successful Crowdfunding Pitch?
Good tips. Also I think it's really important to get up and walk around every few hours if you're sitting.

If your boss won't allow you to do this then seriously consider quitting. Your personal health is way more important than some job where you're taking orders from someone who won't even give you 10min to walk around.
Salary Negotiations: What is Possible When There's no More Money
Pretty cool, but you could add a brief comparision with vim-gitgutter to the Readme, or explain why you felt the need for a new plugin.
1) She ended up deciding those lawyers were crap, right?

2) Her lawyers didn't care at all about protecting Aaron, they cared about protecting her -- because that's 'officially' what lawyers are supposed to do, throw everybody but their client under the bus. (If you WANT to do this too, and you're being offered immunity, well, that's different).

3) Non-political laywers will often not have good advice in political cases, in part but not entirely because of #2 above. And probably related to her deciding #1 above in the end.

YES, being involved in things you don't understand, being threatened by peopel with power, etc., YES, that is enough to convince most normal people to speak. I am NOT blaming those who are duped into speaking, again, the cops are EXPERTS at duping you. Which is why I'm saying, when you hear about this happening to someone else, the more people that learn from it the better: don't talk to the cops.

Now, if you actually _want_ to accept an immunity deal to 'snitch' on someone else (say, because you think they ought to go to jail), then okay. But, other than that, if you think you can actually make things better for you or someone else by talking to the police -- well, like I said, we can't say in 100% of cases that won't work, never say never: We can say that you are unqualified to have any idea if it will work or not, and that usually it won't. Don't talk to the cops.
29 days ago:

https://www.dropbox.com/developers/blog/26
Well, let's say you measured the times at which the bottom pendulum crossed the median. You would get a list of times that were spaced here and there, some near others, some far. This would be one possible set of information that the pendulum produces.

The idea is that, presumably, this list of times "looks" very random and can't be expressed by a much shorter, compressed, set of data, not even by providing the pendulum equation, and initial conditions with finite precision. (You could, if it weren't chaotic, just a single pendulum.) This would mean it has high entropy content, in the information theory sense. (I don't actually know, since I haven't done the experiment nor read about it being done, but it's a reasonable guess.)
Take a look at the Core API for use from a web app:
https://www.dropbox.com/developers/core/gs
Patterns from 30 investor interviews. Learn what makes them tick.
He's correct in this context though, because it is ambiguous as written. It has a great many meanings, in fact: you could mean to take your clients and throw them at a high velocity. It could mean to take some of your clients and heave them into a pile. It could mean to throw your clients into a fermentation vessel. You might mean to suspend your clients by poles to make a temporary shelter out of them for your camping trip.

"Pitch" when used as a verb without "to" has many more possible meanings than when used with "to"—the "to" clarifies the subject-object relationship. Without "to," the the clients could either be the object or the subject, for example it could be the clients "being pitched to" (they are the object of the verb) or "being pitched" (where they are the subject). Adding "to" clarifies and locks down the meaning of the sentence, and a sentence without ambiguity is generally the better one.

Incidentally, adding "an idea" at the end ("Pitch your clients an idea") also clarifies the subject—the subject of the pitch is clearly the idea, since it comes after the object and that's just the ordering rule that English likes; you could also reverse them, but then you'd need the "to" again to clarify the relationship, eg: "Pitch an idea to your clients".

Thus, as it stands, "Pitch to your clients" is indeed the more correct and clear English sentence.

However, given English is not the writer's first language, he's doing extremely well and should be commended. English is an extremely difficult language with a myriad of special cases and nuances, and it takes many years of dedicated practice to master them. We can only be supportive and educational, and hopefully this was.
> Is it maintainable? No

I think that's an exaggeration. Also, I have something to say about JIT.
8 Morale Boosters All Entrepreneurs Should Practice
...the output of a simulation of a chaotic system is highly compressible...

Is that really true? Losslessly? Do you mean the entire phase space, or the sequence generated on any given run? Because I was under the impression that what distinguishes a chaotic system is that the output cannot be predicted in any way other than running the simulation (the article uses the word 'random', but it might be better to say 'unpredictable'). Compressibility relies on exploiting regularities, and regularity is predictability, isn't it?
Just contributed, as I'm intrigued. Have you seen Chris Granger's LightTable? (http://www.lighttable.com/) I think there's some overlap, although his vision is much broader.
Interesting. Here's a quick copy I found on Wikipedia: "A still functioning UN Command is technically the top of the chain of command of all forces in South Korea, including the US forces and the entire South Korean military – if a sudden escalation of war between North and South Korea were to occur the United States would assume control of the South Korean armed forces in all military and paramilitary moves. However, in September 2006, the Presidents of the United States and the Republic of Korea agreed that South Korea should assume the lead for its own defense. In early 2007, the U.S. Secretary of Defense and ROK Minister of National Defense determined that South Korea will assume wartime operational control of its forces on December 1, 2015. U.S. Forces Korea will transform into a new joint-warfighting command, provisionally described as Korea Command (KORCOM)."
"A free market does not operate as a moral system."

I didn't bring morals into this, you'll notice the no-minimum-wage guy is the one that started bringing 'deserves' into this. I was talking about getting people off government support by making employers pay enough for workers to live on.

"If you want to inject morals, price-fixing and wage-fixing are especially miserable ways to do it."

Seems to work OK in a bunch of places.

"The free market responds, often in ways you don't anticipate, and your social experiment goes weirdly sideways."

The free market is a myth.
This is what the team behind Discourse is attempting to address somewhat, making Ruby software as idiot-proof to set up as PHP applications.

Whether they will end up succeeding is yet to be seen, but this does definitely seem like an area where competition will benefit the greater good, as displacing PHP with any one of the better designed languages out there would benefit the internet as a whole.

I do wonder though: is the procedural nature of PHP equally responsible for it's adoption by inexperienced developers?

Sure, PHP is cheap and widely available, but you also don't need to understand the concepts behind object orientation to hack together a "dynamic" website with a few includes. And at that point you're just familiar enough with PHP to favor it for future development.
Great to see ergonomics issues getting attention on HN. When you ignore (or are unaware of) ergonomic issues for years, you can get into serious trouble (like I did). I had been programming for over 10 years without any problems (and without paying any attention to ergonomics), and 7 years ago I got Repetitive Stress Injury (RSI) really bad. I tried many things to get rid of it, but it was very hard to get rid of. The RSI got so bad that I thought I had to give up programming all together.

Fortunately I managed to find a combination that worked for me. The most important component was using a break program that made sure I took breaks to rest my arms and hands, and to do some exercises. I also switched to an ergonomic keyboard and mouse. I am now completely recovered, but it really made me realize that we need to pay attention to ergonomics.

I've written up my story in more detail here: http://henrikwarne.com/2012/02/18/how-i-beat-rsi/

In addition to what I mention in my post, I am now also using a height-adjustable desk (like the OP). It's really good to be able to switch between sitting and standing. If you are like me for the first 10 years of my career (i.e. ignoring ergonomics), consider paying a little bit of attention now, otherwise it may become a problem later on.
I've found a more specific term than 'high-level' state to explain the router state is 'addressable state'. A single page web application has two types of state. Addressable state (which is stored in the Ember router) and then another form of state, let's call it non-addressable state which is stored in the controllers.

As an example you could have a web application that has multiple documents and inside each document there are panels that can be expanded and collapsed. As you switch between documents each document maintains its own version of which panels are expanded or collapsed.

In the Ember world the router would maintain which document was opened (addressable state) and the DocumentController would maintain which panels are opened (non-addressable state).
Hypocrites

I don't beleive that makes them hypocrites. I can simultaneous believe in higher taxes, while optimizing my own situation based upon the current tax code. The notion that the only people who can argue for higher taxes have to maximize their own exposure is not robust.