skysight-inc/HackerNews huggingface dataset:
Here's some history background of the train in China.
(I realized that I have to start from the Hukou policy so that I could tell a reasonable story. Please bear with me.)

TL;DR, This is what a train station looks like before Chinese New Year [1].

Let's start from Hukou policy: Every Chinese is required to register their information to the government and has to provide a permanent address. This looks similar to most other country. But it goes quite far beyond a simple registration. Your Hukou is associated with a permanent address and in many cases, you are only allowed to do many critical things within the city of your permanent address. For example, your child cannot go to the local schools outside their Hukou address. Changing your address on Hukou is very hard and usually happens in some cases: When you go to university, you are allowed to temporarily change your Hukou under the university's city; 2. If you found a job in another city and your employer is willing to help you to relocate your Hukou address. 3. You married with a local person for several years. Basically, you can understand Hukou as a domestic visa. There are two types of Hukou: Farmer Hukou and City Hukou. Basically, they have different benefits/restrictions. Similar to F1 visa, H1B visa, etc.

Well, why I mention this? Here is some history. 30 years ago, major amount of the Chinese population were farmers. To build cities, you have to let those farmers live in the city and do lots of construction works. Due to the Hukou policy, people are not allowed to permanently migrate, esp. changing their Hukou status from Farmer to City. But there's more opportunities in cities and people could make more money. So gradually, there emerges a large group of people whose Hukou address is out of city but work in the cities. Their family has to in their home town, otherwise their children cannot go to school in the cities.

Every year, people works outside their home town will try to go back during Chinese New Year. Since the fact I mentioned above, there's a huge amount of people. They have to take trains (which is cheaper than flight.) Such yearly migration is quite large, ~3.3B tickets in 2014 [0].

Oh, and here is the answer to your question: Go to the train station is really not an option. It's like black Friday, but in a much larger scale. People have to wait outside for even weeks to get a ticket. To some extend, online ticket system helps. However, because of the throughput of the train system is limited, it's still hard to get a ticket.

0. http://en.wikipedia.org/wiki/Chunyun
1. https://www.google.com/search?q=%E6%98%A5%E8%BF%90&espv=2&so...
Beyond LEDs: brighter, energy-saving flat-panel lights based on carbon nanotubes
Writing a path tracer in Rust, part 7: conclusion
To be honest, I would personally choose python over node any day when developing web applications. Before Go appeared into the scene, I would have told you to go with node for concurrent server stuff. There are plenty of libraries written for node, though.
Anybody else read this as "Djan-gay?"
A lot of times teams want to hire people but they are not allowed due to some other business reason like a hiring freeze prior to posting shitty earnings:) I'm guessing that or just the extremely slow process at IBM is what happened to you. I know my team has needed people for some time but we're not able to bring in anyone. Sometimes not even to backfill.
In fairness, the code in that screenshot is horrifically formatted, wrapped, and indented. Properly written and formatted, that code would suck much less.
Plus refrigerated lagering, if you want real beer.
You can get pretty much native performance out of a cross-platform SDK like:
http://www.appcelerator.com/titanium/titanium-sdk

and make the dev environment even more rapid with something like:
https://github.com/dbankier/JAST

I don't quite get why you would develop in XCode & Android unless you were trying to squeeze out the last x% in performance or were doing something super custom like Instagram.
Yeah, but this isn't to produce a drinkable brew. It's not even a super different projection from the brew time when I've homebrewed (which has been a while but was probably closer to 6 hours for me to get it into the primary fermentation tub). This thing looks pretty cool, but I'm interested in seeing more on the whole setup / maintenance and, especially, cleaning.
> It's commodification, equating work of serious artistic or literary merit, or work that lots of people like, with work that is neither artistic, meritorious, or even popular.

Books have a high up front cost and low unit cost. This means that quadrupling sales is better than doubling prices and books "that lots of people like" will always be dramatically more successful than books that are "neither artistic, meritorious, or even popular". There is no risk of the type of commodification you are worried about.

I think there is a valid point to be made about books of serious artistic or literary merit losing out as we shift focus to books that lots of people like.
I can't imagine writing 1.5k lines of code using stylus. Besides, why BASIC? Lua seems like a better fit. Codea uses lua and is amazing, but then again - writing code on touchscreens is always painful.
Service to format your app preview video for upload to iTunes Connect
Why learn anything other than x86 machine code? ;)

Seriously, from a software engineering perspective, the past decade has been a peculiar time: JS used to seem like a joke to many, but it's got past that and is now a serious contender as a platform compared to established ecosystems. However, we're also starting to see other languages include JS as a target platform; once that matures, those other ecosystems can piggyback on JS's features, and it loses much of its appeal.

From a computer science/hobby programming perspective, JS is a 'Jack of all trades, master of none'. If you only know JS, you might get really good at churning out code, debugging language-specific nuances, sculpting libraries to your whim, etc. but I would argue that you won't be really good at the big-picture stuff.

Without the perspective of multiple paradigms, you might not see the wood for the trees. Your thinking will be a fuzzy mixture of important ideas lost in a sea of JS implementation details; you won't have the clarity that comes from thinking about a problem from multiple perspectives.

It can be difficult to learn a different technology; especially if it's not by your own choice. The key is that, once you've got past the initial "It can't even do X, Y and Z!" stage, you'll realise that:

- It *can* do X, just in a way you didn't recognise because you didn't fully understand X
- It can do A, B and C that you never even knew existed
- Y is actually an anti-feature, which you didn't realise the problems of before

With all that said, if you're trying to learn new things, there's not much 'bang for your buck' going from JS/Node to Python/Django, Ruby/Rails, PHP/Symfony, or even whatever Perl's up to these days, since those languages are all very similar; of course you'll find a few nifty frameworks/approaches which are popular in each, but if you look around on GitHub you'll usually find slightly-crappier reimplementations in most of those other languages.

If you want to get some real "Aha!" moments, try something out of your comfort zone like Erlang, Haskell, C, FORTH, Prolog, Maude, Scheme, etc. (admitedly JS is like a cheap knock-off of Scheme, but those missing pieces like call-cc, tail-recursion and macros can drastically change the mindset of its users).

If you want to get stuff done, stick to what you know ;)
Which they haven't done and have shown no inclination to do.
Hi, Database Labs founder here.

> I am not sure whether not having control over upgrades is a feature or a bug.

I think different people will have different answers to that question depending on their circumstances and abilities. Some want full operational control over everything, and others would much rather just have a database to use that's always upgraded, monitored, backed up, and so on. Our target market is the latter group.

Bear in mind that doing your own sysadmin work for your database is not free. Besides the direct costs of paying someone to do the upgrades, test the backups, and so on, it diverts human time and attention away from other endeavors. Human time is a tech company's greatest asset, and we are betting that a significant number of people are prepared to pay someone to handle all of that for them, so they can focus on their core business.

> Optimized for what ? Any non-trivial database is going to require tuning, for which there is no one best way - only custom choices.

Yes, you are absolutely right. Out of the box, our databases are tuned for what we perceive to be a "generic average web app workload" on the underlying host type that they use. I realize this is rather vague and does not cover many use cases.

Use case specific tuning is definitely on the feature list for future versions. Do you have any insight on how that could be implemented in such a way that it'd be a good value for you? In other words, can the broad array of custom choices be reduced to any smaller set of useful patterns?
There's a flood of aging developers right around the corner, starting with the C-64 generation. Perhaps there are not tons of older developers now, but there will be soon.
Curious if the sizes quoted Debian netinst vs Ubuntu server, or a standard Debian install vs Ubuntu server? We base all our installs (regular VMs, not Docker) off of Debian netinst because we get to choose exactly what goes on to the server.
I think it's his browser width. Here's what it looks like for me: http://cl.ly/image/0I2T2G3F0B3I
ketogenic diets have loads of health benefits (reduction of insulin sensitivity, reduced incidences of epileptic seizures, etc). I am unaware of studies that point to benefits of high carb diets.
Is there any benefit to using the Datastore, as opposed to CloudSQL?
Then you should embrace Amazon's disruption and realize that they are creating space for new entrants into the market.
To paraphrase one of my favorite fictional characters:

"It's not enough to just live. You have to have something to live for."

And flipping burgers ain't it.

The same people who come up with ideas like "rational economic agent" either have their bills taken care of or are surrounded by other people who think that stuff up, too. Individuals are sometimes rational, but a lot of people have to consider quality of life, life having other plans, etc., which doesn't seem to have been included in the ideas behind "rational economic agent."

"Rational economic agent" boils all the "life" out of life. There's what we should be doing; there's what we want to be doing; sometimes there's what we need to be doing; and then there's the idea of what we need to be doing. Some of it earns us money, but all of it has value, which "rational economic agent" completely misses.

We're human beings, not some godsdamned little spreadsheet automatons.
Hmm, perhaps I haven't been around long enough to experience breakages like this, then. I began using Arch before the switch to systemd, and I use it with vanilla Gnome. The only thing that came close to a breakage was the recent move of java-common, but the email that went out from the mailing list included instructions for the upgrade that made it completely painless. Although I could definitely see that causing grief if you hadn't caught the email before upgrading.
what good software has come out of IBM recently?

3.7% of the contributions to the Linux 3.2 kernel: nearly half a million lines of code. [1]

Watson.

[1] http://www.linux.com/learn/tutorials/560928-counting-contrib...
Microsoft CEO explains his remark on women asking for raises
The screen definitely looks brighter, but the camera is also pointed further to the right (notice what keys are within the frame). IPS definitely helps with viewing angles but as you can see by [0] you still lose brightness as you move to the side.

Since it is a single tweet, we cannot really take it as seriously as we could if they explained their methodology and showed that it was repeatable.

[0] "Conventional IPS" slide: http://www.j-display.com/english/technology/jdilcd/pictureq....
It is, if you're also running on DigitalOcean. Intra-DC latencies.
Other software companies are run by software guys/gals. IBM is run by the finance people and just happen to sell software/services as a product. At least that is what an IBMer explained to me when I question why some of the internal software was so terrible and it makes complete sense to me.
That's what I thought was going on here, but looking at the CBO FAQ[1] on the projection and it seems to be based more on the cost/benefit equation for workers. But yes, the "29.5 hour workweek" is an unfortunate result of the ACA.

[1]: https://www.cbo.gov/publication/45096
Why? Can you elaborate on why you feel that way and what you feel would be better advice?
This is Gold, if only for the info about temp/transitory files and resultant image size.
I see what you mean. I think the reason why it may be appropriate here is that poor health and being overweight are big risks in the field of sedentary occupations.

ftfy
I did already. There are multiple issues with that approach: you get only flavor of how to do things, unless you keep jumping teams over and over again for years. It's extremely inefficient way of learning this.

You're also putting the burden on the folks in charge to know what's out there and pass it down to you, instead of actually doing your own research.

Also, sometimes those people don't know what they're doing and they're struggling just as much as you would be in their position, so now you're learning from people who are making it up as they go, which you could have done equally as well by yourself.
"Users would track the coins they put in the wallets you control in their name, and if you touch them they will raise hell."

That's not a bank, that's a security service that users would have to pay for. There is nothing about bitcoin that prevents banks that run the traditional way where I loan bitcoin to the bank and the bank loans bitcoin to home buyers and such and give me back some small interest at some negligible risk.
> how you do we (container creators) know the dependency tree for the app

Nix package manager [1] offers a potential means to know the complete dependency tree. If you're not familiar, a nix expression to build a package takes a set of inputs (specific binary packages of, e.g., make, gcc, bash, libc, libxml2) and produces a binary output (depending only on the inputs). The run-time dependencies can be a smaller set than the build-time dependencies and are deduced by observing shared library linking for example.

I've been using it (outside Docker) for various Ruby apps, and I can't say it's been easy, but a large part of the pain has been Rubygems' inability to encode dependencies on C-libraries (e.g. libxml-ruby depends on libxml2).

There have been attempts at provisioning Docker containers with Nix [2]

Of course, if you are using Nix, some part of Docker's isolation becomes redundant (Nix isolates multiple version of things on the filesystem using plain-old-directories, so it's trivial to run ten different versions of Ruby side-by-side, for example).

[1] http://nixos.org/nix/
[2] http://zef.me/6049/nix-docker/
You might want to look into nix and nix-docker.

Nix is a package management system which knows the full (yes completely full) transitive dependency tree of every package it installs, so you can have an absolutely minimal set of software in your container if you use nix-docker.

Because it's already doing version isolation in the package manager, you can also mount the software from the host into a shim container, which is more the "nix way" of doing things.
I must say I find his apology very sincere. Increased my respect for him. It also brings to the fore the point that without enough women representation, it's hard for men to put themselves in the shoes of women and understand the world from their perspective.
Prefer ales myself ;) Especially real ales from England!
World of SWISS
Upvoted because I never heard anyone until now say that owning a company is lonely. Food for thought...
Micro-Services and Page Composition Problem
I'm going to keep that in mind next time I buy on TAM. I had no idea about this. I'm Brazilian, have a CPF number, but have been living in the United States for over 20 years. I did think that airline prices were unusually high between Brazilian cities when I looked online to buy tickets during the world cup.
Convert a Context-free Grammar to Chomsky Normal Form in PHP
Show HN: I just launched Meta Trails a tool for the self taught developer
How long can Apple maintain this somewhat fictional dichotomy? 30% App Store / 2% Apple Pay. It's a HUGE delta.
On my MacBook Pro (2.66GHz i7, early 2010), just starting Chrome causes the graphics to switch from the integrated Intel HD Graphics to the NVIDIA GeForce GT 330M, which incurs a substantial battery life penalty.

(I discovered this quite by accident when investigating why my display would flicker when starting/quitting Chrome if I was also using f.lux.)
As someone who used to homebrew but had to quit when I had kids (due to time) this looks like something I could totally get into. I would miss the process, but the idea of getting a good beer without the time sink is very intriguing!
Compoxure (microservice composition for expressjs)
This patch is essential for creating minimal, best images with Docker.
https://github.com/docker/docker/pull/8021
This gave me an (probably non-novel) idea: "double-layered" Docker image creation. One thing that rubs me the wrong way is how Docker images contain stuff like apt (and all the related supporting stuff) when they don't really need them (at runtime). On the other hand you need to install/compile/setup the environment somewhere, and relying on the host system would break any hopes of reproducibility.

To reconcile these issues I propose two-phased building of Docker image. First you setup a regular Docker image based on Debian or whatnot which contains all the tools you need to build/setup the application. Then inside that container you build the final image based on empty image (eg http://docs.docker.com/articles/baseimages/#creating-a-simpl... ), adding only the files that are really needed at runtime.
I would love to learn what you would expect from a PostgreSQL as a Service offer that would cost $0.50/month on top of DO.

Having about 10,000 customers at that price point asking "quick general question" to gain a ridiculous salary ?
I can't find the source, but I remember reading that when Pixar went back to render Tory Story in 3D that they got close to 24 fps, just because the rendering hardware and software had improved so much.

But without a source, I'm not going to stand by that...
I doubt people purchasing an $1,800 brew machine are doing so to save money.
Looks pretty neat, reminds me of a private Turntable.fm, Plug.dj, or Soundtrack.io.

FYI: I managed to break the flow on my first try. I clicked on the number discs, thinking they were some kind of step indicator, and I ended up selecting the 3rd one. When I was prompted to pick tracks, I ended up stuck in a loop as I had not set track 1 or 2 and thus could not continue.
Ask HN: Good alternatives to Rapportive?
Rapportive was one of those must have tools that went out of service. I’ve tried a bunch and gave up. Some chrome extensions are buggy and for others the UX is a mess.

What’s a good alternative?
"It might not be as exciting as the seat of your pants local startup but it pays the mortgage and provides reasonable financial security."

I'm skeptical of the "financial security" claim. Obviously this is not true in the U.S., where there is zero hesitancy to lay people off and very rare to have legal recourse as an employee when laid off.

But even working in the U.K. or other nations with stronger worker protections, you are still vulnerable to your employer hitting hard times. Companies can very quickly go from profitable to out of business or close to it, especially where technology is involved. Not having skills applicable outside of your current job does not seem like a secure strategy.
See up-thread on legality of setting airfares within Europe, http://europa.eu/youreurope/citizens/travel/passenger-rights....
Then he should have used appropriate function to calculate, Ackermann for instance.
The jobs you got, did they require you to program or did you learn the languages on your own?
Smart carry-on case?
Is it limited to three tracks?
Product Manager at a Fortune 500 technology company here. Definitely agree that this is the right answer.

In particular step 3. You will get all of this, some of this, and none of this, is an especially good approach.

Part of your Product Manager/Product Owner's job is to educate stakeholders that you are giving them capacity - not deadlines. Once this education is in place it's easier to have these conversations.

On a sidenote, this is part of what makes Agile so effective. It gives you a framework to have these discussions.
Example:

Instead of having to compile software like Atom in every computer I own, I could just add a PPA repository and then install and update Atom (assuming the PPA remains maintained). It's not just Atom though, other software as well isn't as easily found on Fedora as it would be on the Ubuntu / Debian ecosystem.
I guess it's like a first generation breadmaker. Home brewed beer can be awful, but when it comes out right, it's worlds apart from anything you can buy in a grocery store.
I totally agree. I am 59 years old and have been developing software since 1984. I spent over 17 years with a company writing chemical searching applications in C. It was always stimulating and enjoyable. The company was aquired by a venture capital firm that laid off most of the senior developers to cut costs. I had worked for a while as a manager too.
I have had to teach myself new technologies I have moved from C to Java and Clojure, from Oracle to Cassandra and Solr.
To succeed long term as a developer you must love to learn new technologies.
You're the fucking man or woman
Exactly. I have a grocery store in my town. It's still fun to make my own bread.

I have a friend who roasts his own coffee for similar reasons.
Ok...what else does it deal with?
The problem is that your supposition is just made up. There's nothing to support it. Saying "suppose some thing that isn't true" does not support an argument about reality.
Some people would prefer to shop based on value or total quality rather than price.

When minimizing price becomes the dominant merchant behavior, quality suffers. Yes, you can get a computer mouse shipped to your door in 2 days or less for $7. But you will also be replacing it in a few months when its cheap microswitch starts randomly double-clicking from a single button press.

This, in itself is no big deal. You got what you paid for, basically. The danger is when other manufacturers, that formerly had more trustworthy brands, replace their microswitches with the cheaper part, without informing the customer that their build quality has been reduced. So you can also buy a $60 name-brand mouse that experiences exactly the same failure mode as the $7 item.

Then value-based shoppers and cost-based shoppers end up buying exactly the same item, even though the former would dearly love to buy just one mouse that lasts for 10 years rather than 20 that last anywhere from 1 to 24 months each. Meanwhile, the quality-based shoppers have to pay higher prices for parts that are no longer available at scale. Or, as is more frequent, they take to the secondary market to buy goods manufactured before the cost-driven breakdown in overall quality.

Aggressive cost controls are great for people who always buy the goods with the lowest up-front cost. But they absolutely suck for people who do not want to ensure things work by purchasing an ongoing subscription for replacement parts. I want my goods to be durable and reliable, not cheap enough to replace when it inevitably breaks.