skysight-inc/HackerNews huggingface dataset:
Natural generative processes come down to growth force. When you write them down as the results of your most basic observations of them, like "Growth is exactly proportional to the population size" you end up putting everything in terms of these "forces" which yields a differential equation p'(t) = k p(t) which has a solution of p(t) = c e^(kt).

There are a number of basic tweaks that reflect real life situations that can quickly make these functions unsolvable by elementary functions. One example are time-varying carrying capacity. If you're on an island that generates a limited amount of resources each year you get the basic carrying capicity logistic function p'(t)=p(t)(1-p(t)) which is solved by p(t) = 1/(1+c e^t). But if that your population has a delayed affect on the available resources you get p'(t)=p(t)(1-p(t-t1)) which can't be expressed as elemantary equations.
http://en.wikipedia.org/wiki/Logistic_function#Time-varying_...

Also, preditor-prey models which occur naturally where you have two populations that depend on each other which can't be reduced to elementary functions either:

http://en.wikipedia.org/wiki/Lotka%E2%80%93Volterra_equation
Your example is not a problem with using an efficient execution model, it is a problem with django/wsgi. In fact, your example is using the exact same model as apache, it just sucks at it and makes you statically define the number of workers on a per app basis. You can easily have multiple web apps running in a single application server, and the resource limits will be shared just like with a typical apache+php setup.

Note that in environments where this sort of thing is trivial to do (java for example), virtually nobody does it, preferring to run separate servers per application anyways.
You got me :). And not only is it a possibility, but actually a certainty, if you set your own settings and don't re-set them on every new connection. This is an issue with all frameworks that allow persistent connections. For example a while ago I was working on a Django app where I needed to have the timezone set to the user's timezone when talking to MySQL. This meant that on every request I'd have to re-send a query, setting the timezone even if it did nothing. Alternatively, if I relied on the default timezone being UTC, I still had to set it explicitly, because the prior request might not have cleaned up after itself properly.

In short, unless your database has a way of saying "reset all settings", you cannot have persistent connections in any environment.
Weird, I've been using vi/elvis/vim/MacVim as my primary editor since 1984 and I hate vi key bindings for shell; I always use the emacs bindings.
That's an interesting form factor for a docking station.

It's also the first monitor to run Android...or the first tablet to allow an external device to display on its screen.
If I may add a trick:

ctrl-z - stops a program

bg - sends the stopped program to the background

fg - gets the program back to the foreground (interactive mode)

very useful in editor sessions or when you want to get rid of the endless download/scp that is blocking your terminal
His last trick - compressed fie transfer without intermediate state:

'tar cz folder/ | ssh server "tar xz"'

Can be pulled off with two flags to scp - and you get to see progress as a benefit!

scp -Cr folder server:dest/
Show HN: Blimp launches new discussions feature
> But this is hypothetical. In reality there is little motivation for apps in an App Store-like environment, which survive on customer goodwill, to want to do this.

Would anybody ever find out though?

It's clear that the App Store does no real checking of the apps they accept. Since the GUID use was banned, everyone has just switched to the just-as-unique MAC address to identify devices.
Well, in the article it does state she ended up showing him the financials and they genuinely couldn't afford anything over that extra $2k.
I'm the opposite. Every time I log into a server that doesn't have my bashrc, I immediately have to `set -o vi` or else I'm useless.
I know. I feel like such a rube when people ask if I have the BASIC programming fundamentals down, and I have to answer, "No." ;-)
Fully agree.

Use of this keyboard totally reduced very severe hand pain.

Also, after an adjustment period, I now type faster.
At least you can always pay to upgrade to stock Windows 9, regardless of what the hardware manufacturer thinks about it... I think many Android users stuck on older versions of the OS would prefer that model.
You can also use "jobs" to see background and stopped tasks. If there are multiple jobs, you can use "fg 2" to foreground the second job on the list, etc.
Thirteen cloud service providers to watch in 2013
Top reasons to use CloudSigma against other IaaS vendor!
Increase your readership
Feh. I've got prior art on all of this. We used to scrunch down the wrappers on drinking straws, put the wrapper on the table, then add a few drops of water. =)
Here's one it took me a while to figure out...

Hung SSH session (such as wifi out of range)?

Type Return-Tilde-Period
As has been said N times elsewhere, this is about the fact that MS stopped OEMs from bundling other browsers, even though they were allowed to bundle other software.
Md version for readabilty https://gist.github.com/hemanth/5109020
If you are using 'set -o vi', then you can just use 'ESC' -> '/<somePartOfCommand>' then use 'n' to iterate in reverse order through the commands that match the vi regex. really powerful and useful.
70 hour workweek
Best of luck! Takes some hard work and cojones to go from $30m to $0. Looks like IT training may actually be a little less boring. Offline feature looks promising too.
I used to use this, because it's awesome that it got all the file types correct (sockets, for example).

Then I learned to love rsync -av. The benefits are many-fold.
Problem with using Disqus (and similar solutions) is that comments are at Disqus, so you have no real control over them. Yet not many people care about it.

Ask HN: Open source commenting systems for static pages - alternatives to Juvia?

https://news.ycombinator.com/item?id=4125787
Why Configuration Management Software sucks
Interview w/ Brad Feld of Foundry Group & Co-Founder of TechStars
You are correct. But then, how does it help me when my feed shows posts just because someone paid Facebook to promote those posts? If a post is going to create bad experience for me, it will be a bad experience irrespective of whether its paid or free.
You could try setting your mobile browser (default, or say Dolphin) to report itself as a desktop client. Workaround, and I usually have one of my mobile browsers set up like this for suboptimal mobile sites.
Thanks John. Authorea founder here. First off, I have tried writelatex for the first time just a couple of weeks ago and it really works great to create beautiful documents. Great work.

Yes, we (and most scholars in general) are very used to editing a source (Latex mostly) and compiling it to something else (a PDF output, or similar). We are trying to streamline that process using the web as the canvas, and render directly to HTML5. In a way you are right, it feels like you are editing directly the HTML output. Which is fine! Our hope is that researchers, especially the ones who already work and write on the web will quickly get used to such a workflow.
'ssh -R 12345:localhost:22 server.com "sleep 1000; exit"' forwards server.com's port 12345 to your local ssh port, even if you machine is not externally visible on the net.

This one blew my mind
Which means you really, really, really need a good automated unit test suite. When you switch to a dynamically-typed language, you trade compile-time type guarantees for the ability to ask primitives and objects what type they are at runtime. So, you have to incorporate those questions into your unit tests. Especially when you are doing casting--which of course you should do only when there isn't a better option.

As an aside, static typing without type inference (a la Java) is just a pain. The compiler is just smart enough to enforce typing, but not smart enough to figure out what type anything is unless you explicitly tell it. This puts an extra burden on the programmer.

Fortunately Scala has type inference, so that's an option if you want to use a statically typed functional language on the JVM.
rsync -av folder $USER@$SERVER:/destination/path.

scp won't copy certain file types correctly. Rsync really is better here, and not just because of that.
one would be the lack of opportunity to improve ones situation by self-improvement.

It's not a matter of opportunity, it's a matter of choice.

Time and again I've watched those with opportunity squander it, while others lacking opportunity fight to get it (and got it). I've had a 4AM bus driver take my evening C++ class, passing despite often dozing off therein, finding funding despite not having the steep tuition. I've known a chronically bedridden invalid who managed to run a profitable, um, pharmaceutical service from his gurney. I've worked multiple jobs and still learned new skills, even getting hired despite not having the core skill and learning it sink-or-swim. I've watched kids destroy windows while I was fixing their couch. I've seen eminently capable students with amazing affinity to programming fail a beginning C++ course for lack of effort, not understanding. Opportunity IS there; taking it or making it is up to the individual.

Instances of true "poor for lack of opportunity" are exceedingly rare. They have my sympathy and aid; I'm frustrated by the vast numbers who insist they are and in truth aren't.
Note that each job gets an identifier (which you can see by running `jobs`). Other commands like `kill` can work with the id number by using %[id]. For example:

$ some_command
^Z (hit control z)
$ some_command_2
^Z (hit control z)
$ jobs
[1]- Stopped some_command
[2]+ Stopped some_command_2
$ kill %1
$ jobs
[1]- Terminated: 15 some_command
[2]+ Stopped some_command_2
Learn to use your shell's globbing features instead of overusing find. In zsh, you can do 'print -l /*.(c|cc|h|hh)' for example (I'm sure bash has an equivalent).
I don't think your method preserves ownership, file perms, etc.
That could just be projection! 8)
She could barely pay for gas though... that's not enough money.
I have a work around for this. Is it mathematically provable that it is more secure? I don't know but I beieve it to be much better in many respects for native apps. It essentially leverages push notifications to deliver bearer tokens.

Push, in my mind, makes way more sense for mobile and benefits from code signing, known users, known devices, and an essentially private out of band network for push messaging, much of this exists because of the app publishing model in play. You can trust the binary because the developer is known via a developer code signing certificate. The user is known because they had to create an account in the platform's app store. You can trust the device (pretty sure of this) because of the unique device id. Incidentally this process could be achieved with any out of band communication it could be a whisper in the ear, a note delivered by carrier pigeon, an email or whatever, push just makes it more user friendly because its directly tied into the app making the request through a service managed by the OS.
This system is basically a bearer token with an out-of-band delivery mechanism.

There is a "distributed authentication service" in this flow. This is essentially a central registry of all apps and services that use this auth strategy (I'm thinking something is needed like a certificate signing authority), The apps and services are catalogued and users can see security warnings from this service before they grant access to an app or service. Have you ever wondered what happens if a trusted compant goes out of business and the app gets bought by the mafia and an update goes out making it a malicious app? OK. you surely have not but a company going out of business, a blog post about a security breach, things like this are thret indicators and should play into the system, How DO you know if it is safe to grant access to an app or service you are new to? The only recourse you have is revoke access after you find out the problem. This is not good enough. I think there should be something like community awareness of security issues with apps and services that can alert users of said issues and that should be integrated into the auth process. This service provides a management console for users to enable and disable application access to specific user data or other third party services and audit activity by the user, their apps and by third party services. This management console also has the concept of levels of security. If the code has been audited and is from a highly reputable source it is put in a certain group, if it is a new app from a new company then it would not be graded as highly. We have something like this with green bar ssl certs. Banks and credit card companies do this kind of risk grading all the time, if we want an auth system to be worthy of our efforts and then is should be worthy of banking and e-commerce, we should be serious about preempting, identifying, and responding to risk throughout the auth process not just let people revoke access tokens when and IF they find out there was a problem.
Many Android RDP apps already exist. You can remotely log into your PC from your Nexus and do things, if you have your network configured to do so.

I wonder how operational this base station will be without the monitor-tablet attached -- could you RDP from other devices, not just the tablet? Maybe Asus just wrote their own RDP app?
At the moment it is mostly GitHub-flavored markdown. We did consider Pandoc-flavor, but for the time being we are sticking to GitHub's. We might change it slightly. So far, 80% of our users have authored in LaTeX so we have been busy supporting that
Semaphore CI introducing up to 24x parallelism
The Surprising History of Black Slave Owners
You don't get 1TB Cloud storage for 3 years on Macbook Air.
God I hate analogies.
Android Rookies: New apps worth checking out this week
I have been a PHP developer for more than 10 years. Since a couple of years Python has become my language of choice. I'm addicted to Python, every project I now start is in Python.

But I don't see any real valid reasons in the article to convince people. Do I have a valid reason? Probably not, every project has their own reason to use a specific language.

One valid reason to choose Python instead of PHP: Encoding. Never had any big problems in Python and a lot in PHP. Oh and multithreading.
What stack are you using for the API server? Any chance of a quick article on that?
"Are the evil food conglomerates "taking money out of our pockets" by charging prices that some people can't afford and thus requiring a government subsidy?"

Who said anything about evil? I merely think that the labour market does not resemble anything like a free market (nor can it or should it), and at the moment employers are profiting handsomely while depending on the public purse.

"Your theory that by democratically choosing to subsidize something, the government is creating an obligation on the part of private business to make the subsidy unnecessary is bizarre."

I'm not sure that's my theory at all. My 'theory' is that income top-ups via food stamps, tax credits, whatever, where someone is employed, form an unofficial subsidy to employers, and one that I think we should be trying to find ways to eliminate. If one of the ways we choose to do that is by pushing more responsibility onto the employer, then I'm not sure I see a problem.
Care to mention what you found clever in their approach?
You need a -z to activate compression. But, nonetheless, please always use rsync when copying host to host.
A Knowledge-based Approach of Connect-Four. The Game is Solved: White Wins
This is partly why I base the open source software I use primarily on the project's community first and the technology second.

jQuery and PHP are good examples of software which might not be the "best", technically. However their community is rock solid and you can get support or find workarounds to bugs (which might not be fixed soon) pretty easily.

Please don't downvote me for saying something positive about PHP....:)
Holder's letter doesn't concede any limitations from a non-military context. So you are the one pretending and puling things.
This is great. Thanks for sharing. I've been toying around with mina, but I may give Capistrano another shot. Right now I have a bunch of build scripts that would be much better suited for Chef and your setup closely mirrors my own.
There is something I do not get: the behaviour of the macroscopic pendulum depends as well on random quantum events (f.e. the emmission of a photon or whatever). These are not deterministic nor linear nor "periodizable".

Am I missing something?

I guess this is relevant to the problem as well.
App that improves communication/workflow for hospital "care teams"
I am a medical student who will be starting residency training this July. I have a well thought-out idea for a smartphone app that can markedly improve communication and workflow for medical teams in the hospital setting. While I have intimate knowledge of the inner workings of inpatient medicine and many connections with potential users (hospitals, physicians, etc), my background in coding is only rudimentary. If you are an iphone and/or android developer who is interested in working with me to build the app, drop me a line at sivagane@bcm.edu. Please include links to any apps you have built. I'm happy to further discuss my vision for the app over email. Thanks!
As antirez knows, but others may not:

Redis' model is particularly vulnerable to the disk slowdown because the pagefault blocks all requests..

Normally being single-threaded isn't a big deal for Redis because you are likely bound by Network i/o or CPU but using ssd swap is equivalent to using blocking sync disk i/o, which nobody would do :D

Could there be more aggressive memory allocation (basically a region per key / implement moving whole keys to new regions when their ds outgrows the block)? Sure.. but you're still going to pay dearly for the cost of a miss. This approach would help if you want to have only your 'active' ds in memory and let the OS page out cold keys, but this would require major re-work of redis internals (or I thought it would 6 months ago when I last considered this as a fun project..)
I had this problem and I simply didn't get internet at home or on my phone. I would access the internet at the office or I'd go to the library (and get free books/DVDs at the same time) or coffee shops or my parent's house. This forced me to go out or to do different things at home such as reading books, watch a DVD (mono-tasking). It forced me to use my computer in creative ways (offline mode) rather than consuming from the internet (you need to balance these two), I'd listen to interesting talk radio or music (via radio waves). Blocking all the information flow from coming into your house will open some room for your creativity which is suffocated by being constantly bombarded by infinite never ending amounts of information. In addition, since you're not connected to the web 24/7, you'll be more selective about what you consume online since your access will be limited and inevitably will have to be optimized. My solution is perceived as extreme by many who cannot live without internet, but hey you gotta learn to know what works for you. Don't forget to exercise!
Tar can transfer more filetypes and attributes than scp can (even using -p option). `scp -p` only transfers mode, mtime and atime; you lose ownership, extended atributes, symlinks, and hardlinks.

You will also get better compression with tar (or rsync), as it is compressing the files directly, and not just the ssh stream (-C is just passed on to ssh).

I did the tests years ago, but a quick google found someone who tried to test the various combinations:
http://www.spikelab.org/transfer-largedata-scp-tarssh-tarnc-...
>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.

Not everybody treats a 'vacation' the same way. For someone with a family that could be extra time with the kids. For my dad it would mean extra time in the garden and doing yard work. For me it would probably mean sitting at home playing video games. People aren't obligated to spend money traveling somewhere on their vacation time.
Another reason, aside from inherited-mess, is that if you're an independent contractor, promises of cheap PHP projects make it harder to charge for quality work.
Competition for the hover-bike.com
'!!:n' selects the nth argument of the last command, and '!$' the last arg

A lot of people know about "!$" (which is shorthand for !!:$), but that's just the tip of Bash's history expansion. I use these things all the time. One of my favorite keystroke savers is adding :h, the head modifier, to !$. For example:

$ cp file.txt /some/annoyingly/deep/target/directory/other.txt
$ cd !$:h
$ pwd # => /some/annoyingly/deep/target/directory

Once you understand how each component works it's easier to put them together into new (to you) combinations. For example, once you know that !$ is shorthand for !!:$, it's not a huge leap to reason out that you can use !-2:$ to get the last argument to the 2nd-to-last command. Or !ls:$ for the last arg to the most recent `ls` command.

I also prefer to do substitution with the :s modifier rather than ^ as suggested at the link, for consistency's sake:

$ echo "foo bar"
foo bar
$ echo !!:s/bar/baz
foo baz
$ echo !?bar?:s/foo/qux
qux bar

Relevant Bash manual pages:

http://www.gnu.org/software/bash/manual/html_node/Event-Desi...

http://www.gnu.org/software/bash/manual/html_node/Word-Desig...

http://www.gnu.org/software/bash/manual/html_node/Modifiers....
If you put that in, for example, `~/.vim/ftplugin/markdown.vim`, it will be used on all markdown files. (`../ftdetect/markdown.vim` controls how Vim determines that a file is markdown.)
I hate to read that "one caffeine fueled weekend later ..." in a story like this.

Is a weekend the only time one is allowed to commit fundamental code changes to the project? Is a "lone cowboy" coding all alone without any consultation and coordination with the rest of the team really a good role model in any development environment?

This is just a small nitpick. The rest of the story, however, is good and educational.
Sort will actually externally sort blocks into temp files and merge them. Adjusting this block size can help with thrashing.

Awk may still be better for uniquification.
Parrot Zik
-p only preserves modification times, access times, and modes.
Oh yes, you're right. You can tell they use the triangle technique though.
I found this article awesome, but not only for showcasing the creative tools a leader can might under tight resource constraints:

Beyond her creativity, Belinda shows great empathy for the author, and at the same time draws on the author's own empathy. This is both powerful and gratifying; at the end of the negotiation, each side feels that the other has his best interest in mind and truly cares about them. This arrangement is not a one-time compromise or an appeasement deal, and it certainly doesn't feel that way. It's a relationship that continues to grow.
Guitar Effects through your browser
Prioritization Optimization
So how does this resolve the Heroku routing problem for you? You have one server that internally routes efficiently - but what happens when you scale past one server?

If you're not scaling past one server, why does Heroku's routing cause you issues?
sudo !!

Perform the previous command as root. Great if you continually forget which of your scripts need to be run as root and which don't.
Closer to $5 worth of gas than 5 gallons of gas. Seoul is about as close to NK as San Francisco is to PA.
When I accessed the Sign in/Sign up pages, nothing loaded up for me (Mac Firefox).