skysight-inc/HackerNews huggingface dataset:
Planes are slow and large targets that are easy to intercept. You bet ROK monitors everything and anything that comes anywhere near the border, and has enough anti-air to stop anyone from reaching Seoul.
Dear Investors: stop pitching the startups you invested in
Instead of

find . -type d -exec chmod g+x {} \;'

you can usually use

chmod -R g+X .

which gives additionally the group execute permission to files which have already user/everyone execute permission.
Ask HN: Advice for a man with a plan?
I have a solid concept for a business tool. I have vetted it with 10 professionals in this field and they all like/love the idea and would pay for it. I want to develop a solid MVP asap. I can't program at the level this app needs, but am decent at everything else. What is my step? Where do I go from here?
Yes, I have, but...
Jekyll is done in ruby, octopress is a layer on top of it

This kinda defeats the "simple" bit doesn't it? ;)

I have nothing against these and if that floats your boat, then by all means, use it. But just the idea of not having to install anything (in fact, nothing) extra and just having this all work with a single file is very appealing to me.
This is bad juju.

'find . -type d -exec chmod g+x {} \;'

If you happen to have a malicious directory named (without double quotes):

".;sudo rm -rf /"

You'd be stuffed.

It's better practice to use the '-print0' flag of find(1) and
pipe the result into xargs(1) with the '-0' flag set. For safety,
it's best to also use '-r #' for expected number of arguments,
'-n' to stop xargs from running without arguments, and "-J %" so
you can use quoting.

find . -type d -print0 | xargs -0 -n -r 1 -J % chmod g+x "%"

I believe some on implementations '-n' is unnecessary when '-r #' is
specified, but on other implementations it's is the maximum.

EDIT: thanks for the vim tip on for finding spelling mistakes!
Make it hard to get on to the social sites:

* Have one browser, your least favorite browser, reserved for your social sites. It makes it harder to switch from your github-viewing/work browsing to HN/reddit/etc because you don't have the ability to comment or track discussions as easily (from the work browser).

* If that's not enough, change your passwords to your social accounts to a random string and paste it into a text file, and then log off your accounts. When you need to log back in, find that text file and copy-paste the password in. This creates enough friction that you can slowly break the habit of compulsively checking social sites when you don't need to.

* Use a timer to work. I like using the iPhone Ambiance app (99 cents), which lets you download from a huge library of ambiant noise sounds, from static noise to train stations, and I set a timer for half an hour in which I do nothing but the current task.

This sounds like small-time stuff but breaking habits is small time stuff. As with coding, don't think of it as "I need to build this awesome web app/uber-function", think of it as the smallest parts leading to the major goal.

With habits, especially, it's important to just follow routine until it's muscle memory. In this case, the routine is: not compulsively/instinctively checking websites for leisure.
I think you may have missed the main point of this article. As an example, I can code to a reasonable standard in Ruby, C and PHP but I mainly work in PHP because if time or budget is low I can speed up development by writing horrible procedural code or other hack-jobs. I'd love to build MVC applications with well-structured architecture all day but many clients just won't pay for backend nicety. From an engineering perspective this is a horrible trade off but from a business point of view it's just what needs to be done sometimes, and I don't believe any other platform offers this.

PHP generally allows developers to just get up and go, both in terms of installing it on a server and building an application, and requires minimal learning. Unfortunately that does mean you end up with a large number of substandard developers, but at least they're getting things done.

EDIT: it's also perfectly possible to clean PHP up using e.g. autoloaders and the builtin interfaces and spl classes, if you want to work cleanly - this capability seems wholly underused outside of frameworks and I hope it gains more attention soon.
I would change this to:

tar czf - . | ssh destination "cd /remote/dir; tar xz"
About ergonomics, there's several things I don't do (and you shouldn't as well)

- Don't use your laptop without a 'docking station' for long. Strain to your neck, back and hand/wrist. A mouse/keyboard and support to keep the screen at eye level does wonders

- Don't use a 'moving mouse'. Apple magic trackpad is great. Trackballs are great as well.

- Even better, limit the use of a pointing device (if your job allows it, e.g. for anything graphic this is difficult). Today I do most of my work with keyboard alone, even web browsing (the exception is clicking links and buttons)
I can't read the article as the server is not responding, but from what I gather it's about RSI, carpel tunnel, etc. I'd like to present an alternate viewpoint and suggest that RSI is not caused by physical action, such as typing on a computer keyboard or bad posture, but rather it's root cause is psychological (with the understanding that physical things are happening, but they are controlled by your mind).

I suggest reading "The Mindbody Prescription" by Dr John E Sarno. Here is one of the better summary of the ideas (in Word doc format): http://www.rsi.deas.harvard.edu/handout.doc

Personally, I have been pain free for over 10 years thanks to this.

Here is the story of someone else who cured his RSI pain using this method, it is very similar to what I experienced: http://aaroniba.net/articles/tmp/how-i-cured-my-rsi-pain.htm...
DRPK's military is still stuck in the 1950's.

Our military got caught with its pants down when going up against a military that was trained in the hills of Afghanistan in the 1980's...and responded by combining its perfected 1950's style warfare with a 2010's style drone warfare, and fairly quickly learned its lesson with the 1980's style warfare.

I can't imagine what it would be like to go up against a military that has skipped 2 generations ahead of yours. North Korea either truly has no clue what they are up against, or they are just trying to get more aid money again.
'The Truth About Google Glass'
I sticked on to HN,weibo,path too.But i also like coding,product design.Maybe you relax by travel.
Yes, absolutely, I specified those things and more in my FiveYearItch profile, and at least on that score it's been good -- some employers apparently don't want to contact me if they think I'm asking for too much :-) but the ones who do make offers are all quite serious.
Verified By Idiots
TernJS - Editor-independent JavaScript IDE support
It can be but in my anecdotal experience the mess left by PHP developers is the worst. Especially when it comes to blatant XSS and SQL injection vulnerabilities PHP holds a clear lead.
I talk from a general point of view of my ideas, not as the Redis developer. Anyway for 1 year I worked at Redis for free, and it was open source since day 0.
ack-grep is great for searching source code
Better than that for me is "Alt+.", much easier to type. It can be also combined with number like "Alt+2+." will insert second argument. Similarly "Alt+0+." will insert last command. http://linuxcommando.blogspot.in/2009/05/more-on-inserting-a...
They cannot go ad infinitum. The longest is 28 hours and Paul ended his around 13 hours. This is because if Paul himself leaves, the filibuster he started ends. He can let others speak but he must stay the entire time.

He didn't use the bathroom for 13 hours, and as some pointed out: a long filibuster is less a contest between a speaker and a Congress and more about a man versus his bladder.
>Guess what you do with vacation days when you have no money. Sit at home and be bitter about the fact that you can't afford to go any where. And you look for another job.

I bet literally nobody on hacker news has a side project that they wish they had time for.

Nope. Nuh uh.

/s

The stuff I'm pushing for at my company is being allowed to remote-work, and more time off. Not because I want to get away from anything, but because it will allow me to focus better on the projects I'm doing for them, and also have more time for the projects I'm doing for me.
At least he didn't say "pivot".
Higgs boson "God particle": Scientists close to "eureka" moment
- 'cd -' change to the previous directory you were working on

To my surprise, this also works with git:

git checkout - # to checkout the previous branch
Things you cannot do in Ruby
Markdown Support?
In a lot of cases, hard is what you want. Some systems can't deal with fs errors very well, and it's better to wait than to risk data inconsistencies.
I've been playing your game for a day, and really enjoyed it. I found it really gave my brain a workout.

That gave me a thought around branding. The name ("Adrift") and the tagline ("A puzzle game in worlds of whimsy") both feel whimsical and fun - which is great for a game. But I wonder if focusing the branding around "brain training" might help expand your target market.

Most games are fun time-wasters, and tend to appeal to people who want to have fun and/or kill time. This game has a considerably wider appeal: it can help people exercise their brains, especially older people who want to keep their minds active. This is why a lot of people do Sudoku and crossword puzzles:
http://healthland.time.com/2012/01/24/use-it-or-lose-it-keep...

I had a brain injury a decade or so ago, and the doctors told me to do certain puzzles to keep my brain active. It gave my brain a workout, and I was reminded of that feeling when I played your game.

One way to expand the target market might be to eventually do an expansion set called "Adrift: Brain Island" or something? You could target PR to the demos that brain workouts could appeal to.

Good luck!!
>Technical debt is a real thing in any language not just PHP

Oranges are a citrus fruit.

Does my argument strike you as being somewhat flawed? Making a true but irrelevant statement is not an argument. PHP is worse than other languages, not equal to them. You create more debt, and it is harder to fix. That is why experienced developers spend the time explaining to beginners that PHP is bad, rather than just ignoring PHP as the original poster wondered.
The point is, this is not a model at all IMHO, since a model requires the ability to work in the long run.

So you know wrote code for 1 month, and you want to be crowdsourced. Ok, what's the plan for the continued development of the project? Code as it is is worth zero without bugfixes, evolution, and a community.
"I'm not allowed to reply to the next reply to me"

You can usually hit 'link' and it'll let you reply in there, not sure if that's always the case.

"I do not have a right to be paid for my labor AT ALL, much less to be paid a certain amount. I have to compete to sell my labor to the highest bidder, just as though I were selling widgets."

You talk about these things as if they were written in stone somewhere. When you start to look at this in terms of absolute rights you lose sight of the point to some extent - what outcome do we want here? How can this best be achieved? What are the downsides?

The people who are stuck on minimum wage are the least able to compete. They have no skills and likely some difficulty acquiring them, they probably lack the ability to negotiate, they don't have the choice of not taking work because the alternative is starvation. The logical conclusion for them, were a truly free and unregulated market for labour ever to appear, would be contracting their lives away for a roof and some food, working insane hours in hazardous conditions for little to nothing.

Make no mistake here, a proportion of the population cannot better themselves.

Over the last hundred or so years we've added a huge framework of workers rights to our society to stop this very situation. A minimum wage is part of this, and raising it may well help large numbers of people.
Well spotted! Just a few minor edits. But I do think it's important to get the message out - it's so easy to ignore, and then you can end up with real problems and real pain for a long time.
>And after a year, no more updates.

Although some will pay $1300 for this product just for the 18-inch 1080p Android tablet, whether it achieves the goals of the manufacturer (Asus) or not probably depends mostly on the customers who spend almost all of their time interacting with the "Windows 8 layer" and who use the Android layer only for the (to quote the OP) "remote desktop solution that lets you basically login to the PC base station over a remote network so you can interact with software on the desktop PC while using the tablet."

And of course the Windows 8 layer will get frequent updates.
It is annoying, but it is also part of their job...at least if they are doing it right.
> Sure, though how do you know all the library code you are using isn't going to mess things up for you? Granted, chances are small, but they are there.

> Also, certain DB drivers let you have persistent connections out of the box.

If you have connection pooling you have have a "dirty environment". PostgreSQL/MySQL makes it possible to set per-connection settings so you have no guarantee that the SQL executes in a clean environment. You might say that "oh, but the library handles the resetting for me", but how do you know all the library code you are using isn't going to mess things up for you?
I like that one and `!!` for the inevitable point I've forgotten to put sudo in before a command.
JC Grubbs: On Evaluating Technology
Firstly, lets make sure you do your day job well, and then others will (hopefully) follow. I do this in two steps:

For interesting articles during work time I always save them for later. This is usually using Pocket (getPocket.com) but there are other tools. Later I read them when I am in the mood to read the interesting articles. This way, I try to limit wasted time.

For when I want to add a comment, I actually plan to only do it 2-3 times a day, and at most in 15 minute slots each time. This again puts an upper limit on my time on non-work tasks.

Once you do the above, you realize how much time you were wasting on non-essential things. And from there, you can take on other fun projects.
Re browsing: If you use Chrome, give vimium a shot. I never touch my mouse. There are probably other similar plugins, but that one works well for me.
Sorry for the above, it sounded way less snarky to me when I wrote it. I'd delete it if I could.
It's funny how North Korea's open threats against South Korea and the US are met with basically rolling of eyes, while veiled threats from Iran against Israel and the US are met with massive fear and warmongering.
Don’t Switch to the Mediterranean Diet Just Yet
Tesla and Elon Musk: Made for Success
Yeah, I'm more griping about the lack of updates on my Android tablet, rather than this one in particular, though...
> There's no point, at all, to OAuth on a native client.

As far as I understand it, you're right, except when OAuth is the only authentication mechanism provided and you want to, you know, develop a desktop app.

Of course, providing OAuth as the only authentication mechanism appears then to be the problem. But that is not a problem application writers can solve; it seems to be a problem that OAuth deployers have to deal with.
Thank you. In the interest of disclosure, I already had those references on hand, having done the research for a previous debate on a minimum wage (not on HN).
Another email sent. Wonderful offer. Thanks a lot!
With HTTPie (master):

http --pretty=none https://www.cueup.com/jobs User-Agent:curl

(`--pretty=none` is needed because the server incorrectly sends `Content-Type: text/html`)
The problem comes when deploying PHP to someone elses server.
Since apache and PHP are usually tightly coupled together and PHP has a concept of global configuration that applies across the whole server.

So you have some PHP app that works fine locally but fails in weird ways on deployment because the server was configured using cPanel by someone who didn't know what they were doing and if you change settings you risk breaking whatever other random php scripts are running on the server.
So you end up hacking around with .htaccess files to get things working.

With Django etc you get a to have a "clean room" and run in relative isolation, only interacting with the outside world via proxies.

What PHP is however is cheap to deploy. It's annoying to have to think about and pay for "instances" , "dynos" , "VPS" etc when you just want to put up a webpage with a bit of server side logic.
Anybody know what API they're using under the hood for this? I have wanted to use the delta REST API (https://www.dropbox.com/developers/core/api#delta) but since I can't limit it to the subdirs my app cares about, I get overwhelmed with a lot of noise and it generally ends up being more data than polling and walking the sub-tree each time.
"Weakness is strength. Strength is weakness."

Being a small flexible company means they can't compete on money, but they can compete on flexibility and increasing quality of life.

I think that's all any employee wants from a job -- a good quality of life. Money is probably the worst way of quantifying if they employee is already middle class.

It's amazing even how "here's a week to fix that low priority problem that bugs the shit out of you" would go to improve morale.
Ah yes, it's true...but for a Ruby developer, something that involves Ruby is just about as good as something that involves bash :)

I guess I was thinking of "simple" in terms of the static HTML and deploy. I don't think you actually have to run any Ruby commands, you just run a command line task and it reads the textfiles from the specified directory.

Unless I missed it in the OP's description, one huge advantage that Jekyll has over the OP's bash solution is the ability to write in Markdown, made possible by the inclusion of Markdown parsing Ruby libraries. So the complexity added in the framework part, IMO, is more than made up in the simplicity of actual content-production.
This is nice, way better for giving support than TeamViewer or Mikogo
It's possible to design and structure something poorly in any language. Conversely, it's possible to write clear and concise individual sections of code in any language as well (assuming knowledge of that language, within reason).

That's why I never put too much stock into python arguments that feature syntax readability prominently. Unfortunately, being a perl guy I've heard quite a lot of those. There are plenty of other language features that could be used to make a point that have less well understood solutions (for perl, those are Perl::Tidy and Perl::Critic).
I'm one of those crazies that use the Kenesis Advantage for RSI. That and a larger mouse helped me.
Instead of

ProxyCommand ssh -T host1 'nc %h %p'

you can use

ProxyCommand ssh -W %h:%p host1

which uses ssh itself and therefor also works on machines where netcat isn't installed.
oauth_callback is only interesting for web app authorization. For out-of-band authorization flows, you can't protect it with a callback filter.

Since these keys were lifted from an application that does out-of-band auth flows, any other app could use them similarly at will.
I might feel the same way if I had kids, but I'm scared to death of having children before finding my true vocation. I think if I have kids and find myself "forced" to stay at a high-paying job I didn't like, I would be an unhappy slave. Perhaps the love for my kids would totally make-up for that, but that's how I think now that I don't have kids. I'm an idealist and I want to be in love at home as well as in love with what I do for living. I know I set the bar high. Right now I'm studying a lot about the Myer-Briggs personality types and I'm finding a lot of answers. Thanks for sharing your observation.
But this is the point - it's fine to say these things if you're not going to put your own credibility on the line and say 'this is me, these are my credentials, this is the reality'. I'm not denying that the game is skewed, that you can only compete if you cheat. All I'm saying is that if you're claiming some kind of expertise in this area, then you should attach your name to your words. Otherwise you're just a cynic and you're making the world a worse place by propagating the idea that you can only succeed if you cheat. It's not healthy, and it stops people even looking at ways of making it easier for the little guy to compete.
I saw a few comments in the post asking what the point of the blog post was. After all I already expected very poor results, and I already tested it less formally in the past.

The point is simply to show how SSDs can't be considered, currently, as a bit slower version of memory. Their performance characteristics are a lot more about, simply, "faster disks".

Now those new disks are fast enough that if you design a database specifically to use SSDs, you can get interesting performances, compared to old disks. However the idea to use the disk as something you can use to allocate memory will not work well, and complex data structures requiring many random access writes, will not work either.

Code can be optimized for SSD usage of course, but this poses huge restrictions to what you can do and what you can't. This shows how the current Redis strategy of providing complex fast operations using just memory makes sense. In the future as SSDs will converge more with memory, this may change.
1. Thanks!

2. I referenced this in a sub-comment: what are the options of parsing Markdown using a bash-only blogging utility?
The Future of Fallout (Gaming)
Hi. We deleted it, but posted a much better comment here: http://bruun.co/2013/03/06/who-owns-flat

The blog is our CTO's.
It's also amazing how working for a large company starts to become less fulfilling when they can afford to pay you instead of really rewarding you in a way that is meaningful. Sometimes money really can't buy happiness.
"BUT, and it's a big butt" - deliberate misspelling?
Databases and Dragons: Battle-Test Your MongoDB
The absolute hardest thing to tell a customer
WordPress: Under Siege
I wouldn't be shocked if that's actually a problem with Chrome 27 on Mac osx. I rolled back to version 26 yesterday due to large numbers of problems. Not to mention the changes to extensions needing to update their manifest files resulting in 90% of them not working.
(Sorry, didn't mean to mod you down, but pre-touchscreen HN decided it was a good idea to separate the up and down arrows by 1 pixel.)
A) I have written some software

B) I'm debating whether to take the OSS or commercial route, since I do need money to live

C) I have a reputation for maintaining software in a serious way

So I'm asking people "If this is worth 10k to you, let's go the open-source route". So far, it looks as if it is worth that to people. Unless I'll turn around and act like a complete bandit, destroying my reputation, the model works. It does require the reputation part, I guess. But I'm quite puzzled why you are so hostile to it.