skysight-inc/HackerNews huggingface dataset:
There's an explanation for what you see (the fnid values), here: http://news.ycombinator.com/item?id=4899745

As to why pg can't use normal pagination instead of user-specific state, I dunno, why not just use Ruby or Python (or PHP!) for the site instead of Arc? Short answer is, I suppose, because he can, and he's likely more interested in satisfying intellectual curiosity than designing a normal pagination system. jm2c.
> "Lots of http transport stuff" is still "web programming" (for me, at least).

Web programming to me sounds like javascript and css. A the very least something to do with html output at some point. Oh well.

> Pinterest disagrees: http://engineering.pinterest.com/posts/2012/memcache-games/

I didn't see any reference in that post to them trying compression. It would have been an interesting comparison.

Good data point on usefulness though. Thanks for that.
Maybe you shouldn't try so hard to deliberately misunderstand what I'm saying. Your nitpicking doesn't change the fact that you can redefine what == does in your own classes.

I hope you do realise that my point isn't even specifically about Scala, but about syntactical abstraction in general.
That's one of the very few things HN should borrow from reddit: use subdomains in the URLs, so we could see (for example) that it's from plus.google.com.
Correlation/causation?
Yeah bad keming is a real problem
Here are about a billion reasons: http://finance.yahoo.com/q/is?s=YHOO+Income+Statement&an...
> Why can't the "More" link just link to news.ycombinator.com/news?page=2 which gives me number #31-60 of the top trending links?

1. HN deals with your interaction by assigning a session index to your initial contact.

2. This index allows HN to keep track of which page of which section you're visiting, so if you click "More" the HN sever knows what do to -- it has a stored context for your request.

3. The HN server has limited resources, so if an index goes unused for more than a few minutes, the server reclaims the index for reuse.

4. If you wait too long before making a server request like clicking "More", it's possible that your index will have been reclaimed and assigned to another user. If this happens, you see the "expired link" message.

5. After your index has expired and been reclaimed, the HN server has no way to interpret your command to proceed -- proceed to where?

6. Also, if you wait long enough, the front page (and all subsidiary pages) will have changed contents, so the pages you're viewing are no longer current, consequently the server can't deliver "page 2" for the simple reason that that version of the page no longer exists.
I'm fine with the fact that Msgpack does not differentiate between binary data and text strings. Sure, it requires a schema, but if you're concerned with data size and parsing speed, you should choose an encoding appropriate for your task anyway.

The bigger problem is that Msgpack is advertised as being "like JSON, but fast and small." To me, that makes it sound like I can replace JSON messages with Msgpack messages and be done, and that's not at all the case, because I need to add a schema layer. I think the "like JSON" comparison is what is really causing this frustration with the format.
It's a personal preference, not a general direction.

I like small fonts. I like the before pictures better. I bought a 30" monitor so I can fit more content, more windows there, not to look at huge letters and whitespace.
Huh? You should get as close as 3.14 in less than a second if your random number source is decent.
Unlike C++, Go enforces that its dependency graph be a DAG.

In C++ header dependencies are also a DAG, since include guards prevent cycles (and multiple includes). What makes Go faster are a few things: (1) C++ headers contain templates, which are slot to compile; (2) Go only looks at direct imports and uses the compiled form of those imports, rather than recursing over their imports (again); (3) Go is simpler to parse; and (4) there is no overloading, so symbol/method resolving is simpler.

I also think that the advantage is often overstated. C++ is a nightmare in this respect, C programs and libraries often compile very fast (on my current machines, running configure often takes much more time than the actual compilation), the same applies to e.g. Java code.

That's really helpful when refactoring,

And annoying for testing, the printf example has been beaten to death. (Yes, I know that you can add a line such as var use = fmt.Println).

But for those of us who don't trust our human brains as much and want to be absolutely sure that these silly errors don't slip through

It's always surprising how Go fans can sell a feature that any strong statically typed language always had (easy refactoring by letting the type system work) can sell as something unique and new ;).
Exactly! The reason why languages like Clojure and Scala are becoming popular is not only their cool features (although in that sense Scala has an advantage over Clojure which is just 'another Lisp') but because of the ready availability of libraries to do pretty much any thing you need to do. Take that away from Clojure, and you have something that can barely compete with CL. Take it away from Scala and you end up with another academically interesting, yet obscure language (like Haskell.)
I would choose native mobile app development (with a focus in iOS).
Mandarin, primarily spoken in countries that don't have a pension or adequate health care versus English, spoken widely in countries that generally do have pensions and adequate health care. Also where's the cultural correlation studies? Chinese culture places a huge emphasis on fortune, wealth and luck.
Let's have both. Freedom planes for me, with sane boarding procedures, and safety planes for you, with 4 hour waits while everyone is xrayed, strip-searched, and cavity inspected.

I don't begrudge you your choice of guaranteed safety, hopefully you will not begrudge me mine of privacy and freedom.
Where does ASP.NET Web API Fit?
One example:

http://eric.themoritzfamily.com/websocket-demo-results-v2.ht...

Has Node.js, Erlang, Scala, go and a lot of Python. On EC2 Erlang and Java pretty much blow everything else out of the water.
> As to why pg can't use normal pagination instead of user-specific state, I dunno ...

I can think of one reason:

* A user loads the front page.

* By the time the user clicks "More" at the bottom, page 1, and all subsequent pages, have been updated with new content.

* So the server can't provide the old page 2 to a user who just saw the old page 1, for the reason that neither of the original pages even exists any more.

* To avoid confusing the reader, instead of providing an out-of-sync page 2, the server instead shows a "expired link" message.
It depends on how it is structured.

I doubt there would be anything wrong with saying "we maintain open source project X and we only hire people who have made submissions in this project that we have accepted. If you want to be considered for employment, you must first get involved in the community."
Perhaps. I may be misremembering, or may have been using a particularly crappy RNG when I last did it. It was a long time ago.
Hi, I wrote (with another guy) the objective-c wrapper.

You might be misinformed re schema layers, as msgpack does convert to and from a dictionary in much the same way that JSON does, keeping all your dictionary keys (which are strings) intact. In fact, we originally used it as a drop-in replacement for JSON.

As for the data vs string issue, it was designed originally to be as conveniently similar to JSON as possible - which is why you don't get back a dictionary full of NSData's which you then need to convert manually to NSString's; it does that automatically for you. This was a convenience vs correctness tradeoff. People who say it's wrong are quite right. They're very welcome to fork it, or submit patches with options to return raw NSData, or create a new wrapper - it wouldn't take a competent dev very long to re-write what we did.

Now, i've not used messagepack in quite a while - i've simply found that gzipped json is usually almost as good.
13 Reasons Why NoFollow Tags Suck
And I couldn't login using Google on Mobile Safari too.
I bet that the percentage of people who go to the second page is in the single digits. Personally, I'd happily trade off a little confusion for a simpler, more scalable piece of software. That said, it looks like the HN software is scaling well enough, so more power to the man.
JoJo's is the only Sriracha...

https://www.facebook.com/loveofjojo
No, merely Shapir/Wolf hypothesis.

It doesn't even need the correlation part, you can deduce similar conclusions merely from studying each language without real world input.
On Trying to Load jQuery
Well, then the information of whether some sequence of bytes is a string needs to be communicated out of band. That's a perfectly acceptable design decision, but one that may lead potential users to favor alternatives that include that information in band.

The discussion is pointless if the objectives of the participants differ and none is willing to compromise.
The thread at SO discusses this; both glyph positions and glyph shapes are important for a river to become noticeable.
Wrap your head around this one: http://math.andrej.com/2007/09/28/seemingly-impossible-funct...

Also, I'd recommend taking a look at Magma: http://en.wikipedia.org/wiki/Magma_computer_algebra_system
With the quality of the monitors nowadays, and standard profiles, it's not that far off. We're not in the nineties, monitor technology wise.
Everyone is talking about the font size and how zooming can fix small fonts.

That's only half of the discussion. The other half is line spacing. I think that's much more important.

In his examples at the bottom, the Phoronix one really gets a big improvement by not having the lines squished together. If I open up Phoronix in my browser and add the 1.5em line-height CSS rule, the site becomes considerably more comfortable to read, without even touching the 12px font size.
Check out http://gitlabhq.com/ too
US gov't to air-drop toxic mice on Guam snakes
I'm around 20k. It's made me really excited to use the app. Just a couple days longer
CS offers a lot of nice syntax sugar, indeed. It helps with many common mistakes made in JS code (missing `var`s and use of '==' operator come to mind).

However, it also provides a few new ways to shoot yourself in the foot. Automatic return may be one example. Generally, thanks to terser syntax, the code may become illegible very quickly—especially in an environment with many contributors and little care about coding style.

IMO successful CoffeeScript usage in larger projects requires strict coding guidelines. Maybe the language would even benefit from more ‘centralized’ and opinionated approach, like Python's PEPs.
I take the train because I can't stand the TSA, and I'm willing to take my chances that someone fires an RPG at a train somewhere along the 500 miles of completely out in the open track on the Northeast Regional.

My point is that the TSA is bad not because "zOMG any impingement on freedom is bad!" but because it's just bad. They are too invasive for the imagined security benefits they provide against improbable threats.

But going from that to "those who trade freedom for safety deserve neither" is silly. I purposefully choose to live in a city (New York) that has a massive police presence. Why? Because I think its a reasonable trade-off of a little freedom for substantial security. Manhattan is like Disneyland now, and it's great, and I don't care if I would theoretically be more free if there weren't a cop on every corner. We trade freedom for security all the time--it's called organized civilization, and it's a good thing.

I hate to quote John Ashcroft, but see his response to this Ben Franklin quote: http://www.justice.gov/archive/ag/speeches/2002/080702eighth... (first 9 paragraphs)
I thought so too at first, but:

> But he says his research has controlled for all these factors, by concentrating on nine multi-lingual countries: Belgium, Burkina Faso, Ethiopia, Estonia, DR Congo, Nigeria, Malaysia, Singapore, and Switzerland.
There's lots of typographic art that doesn't use monospaced fonts.
Ask HN: What's the best API documentation you've ever used?
Month one and two they are 'ramping up' Month three and four they pick something inane like what kind of font the web site should use and schedule lots of one on one face-time meetings with higher ups. The higher the better. Month five and six they are now telling everyone their life goal is to be a project manager or that they are training to be a project/program/product manager. Their work is sort of like a project manager. They did the font project. Remember the font project? Simple game theory prevents managers from acknowledging the truth that they are loafing because that might make all management look like all they do is loaf. The guy's direct manager is overjoyed that all the higher ups are paying attention to the font project.
See http://news.ycombinator.com/item?id=5268526
Avoiding “Smart Guy” Syndrome on Team Projects
Open Windows Store apps from the desktop or taskbar in Windows 8 (PowerShell)
I find this post paired with this thread confusing. Yes, Go is tempting and I'd like to try it since a lot of people get quickly into flow with Go, the "package manager is so great" and "everything is just a breath of fresh air".

But what I don't like: the negativity against Node and omitting some facts. In the replies of the orignal post a guy tested two (!) times Node and once it was significantly faster (v0.6) and once it had same speed (v8.0). So, why has mjijackson such different results in this thread at the top?? And maybe we should test it on real servers and not on a MBA. Moreover, we have here some micro benchmark which possibly doesn't reflect reality well. Don't get me wrong, I appreciate any benchmarking between languages but then please do it right and make no propaganda out of it. Further, Go's package manager seems to be nice but it does NOT have version control. How do you want to use this in a serious production environment. Maybe version control will come (but then tell how without loosing its flexibility) or not but this is something serious and definitely not an alternative to any server environment except for some mini services.

EDIT: downvoting is silly, propaganda and won't help the Go community in getting more credibility, better do some further benchmarks; otherwise this post/thread is full of distinct misinformation and should be closed
I opt-out of backscatter and millimeter-wave screening every time. I think the TSA is a waste of money and I'd love to see the government take a more calculated approach to security instead of the typical CYA behavior. With that said...

His form of protest is to miss a flight he already paid for and hike/bum rides back to Texas? And asking for donations? This guy is a software engineer at Automattic. He's a WordPress developer. His blog is mostly pictures of vegan meals and unboxings: http://ryan.boren.me/. Considering his lifestyle and likely income, asking for donations seems to be rather poor taste.

Again I agree with his opinions, but his protest is not accomplishing anything useful. The net effect will be to transfer some money and resources from sympathetic people.
Java API documentation.
http://docs.oracle.com/javase/7/docs/api/
Did you read my comment? Please define what you mean by "value, "worse off," and "serving society." Don't just throw those terms around expecting everyone else to share the exact same values as you.

Some examples: life, truth, and/or pleasure. If it's a combination, how do you prioritize?

Discussing "X has no value" is absolute garbage if you don't discuss "value."
Swede here, 4 kids, all of them have been sleeping outside down to -15 C (at least).

1) The kids are dressed more like a astronaut, wool clothing, a isolated dungaree, stuffed inside a kind of extra isolated bag. One problem is that the kids turn to overheat if you don't undress them when going indoors.

2) Sweden is very rural, there is probably bad to sleep outside in Stockholm/Gothenburg compared to sleep outside the rest of the country.

3) Sleeping next to a street is probably a bad idea regardless temperature (the picture was taken in Copenhagen which is not in Sweden, and I didn't see any snow in the picture so no winter there)

4) Swedes are obsessed with safty but we tend not to calculate threat from other people as a safty matter. Around every kindergarten there are fencing keeping the kids inside but not to keep bad people out. That some evil person should take a child has the same threat level as if an alien should come by. There have been some cases of mentally-ill patients stabbing kids but that hasn't really changed anything.

5) There was someone in a thread calling out for Vitamin D. That's true enough but every single infant/kid in Sweden gets free Vitamin D anyway.

6) I think its a very cultural thing, my kids have slept longer outside, stuffed in that sleeping bag if its cold, than they ever do when napping inside. Swedes like to think of ourselves as very outdoor, into the wild, sports, activity and health so you as a parent are supposed to be outside a lot, if you have more kids some of them are going to be tired and take that nap, wherever you are.
Perhaps the hostility comes from the fact that you're calling dishonest manipulation of guileless hackers "customer development".

And don't call me dude.
How Do You Know If your new startup idea is already in use?
For example, I just came up with an idea, how can I be sure it's not in use?
You joke, but our office in Dublin actually has flood doors ^^
It seems as though this would only work if you were not moving. Is there a way to determine the relative position of people even if you were moving?
Have you tried using thrift or protocol buffers, which aren't self-describing (introducing enormous overhead for <1MB messages.
Convert Fireworks Layered PNG into iOS Objective-C Xcode Project
Fair enough.

Here's my solution:

def reverse() {

def a = "Can a fella get a job?"
StringBuilder b = new StringBuilder()

for (int i = a.length(); i > 0; i--) {
b.append(a.charAt(i-1))
}
print b.toString()

}

But it doesn't use arrays because quite frankly, I haven't used an array in years. I despise the noise of the brackets. :-)

Seriously, I use ArrayLists instead of arrays. But even on this FizzBuzz lite exercise, I got tripped up. My "i > 0" was off by one. And I started down the path of a.substring, but that was a bad move. I quickly switched to charAt.

But about the only relevant piece of this: on an IDE, I was able to place a breakpoint, see where I'm at, what my variables look like, and make adjustments.

That's real life. My original cut of this would have disqualified me. Actually, even the cut above would disqualify me since I didn't use arrays.

But I need to confess. What you see above is literally the first time I've ever reversed a string in this manner. It's just not something I do. And it didn't roll off the tongue so to speak. I knew I had to process the string from the end and work backwards, but it still felt like trivia and not a substantive inquisition into my skills or experience.

Trivial? A bit. It took me about 5 min. The off by one was killing me. It hits you in two places: the i > 0 and the charAt(i-1).
Native mobile app development - Java [Android]
and Django / or any other framework.
In general text in multiple columns; ragged-right columnised text is sometimes horrible to read.
Wow, that's serious. Thanks for the links.
the aesthetic certainly leaves something to be desired O_O
Are you aware of how devoid of logical content your comment is?
1) Open source projects like this would tend to want as many possible contributors as possible. There's more people out there who are comfortable with plain JS than with CoffeeScript.

2) One may prefer a more explicit language, filled with semicolons, curly braces, and "function" functions.

That said, I personally would have greatly preferred it as CoffeeScript, which I use regularly on projects where the people I work with have the same preference.
I don't think it's true that "the stock market disagrees that Apple is doing great". Apple is valued at over 400 billion dollars by the stock market. Maybe you mean that the price of Apple stock fell in some period t0 to t1, but that certainly doesn't mean the stock market is saying Apple is doing badly. That might simply mean the stock market updated its predictions on how Apple is going to do in the future.

Also, every stock has some degree of volatility. Take any stock and you'll find periods that the stock went up or down. In the case of Apple, if you look at the 5-year period finishing the increase has been 270%, way over the Nasdaq average.

> I think all this hype on stocks is a pump-and-dump operation, played by the big investment banks. "They" buy lots of shares, start the fire with $1000 price targets from their own analysts and when the price is high enough, they dump it, leaving some retail investor holding the bag.

Sorry, but this is naive. It's not feasible to manipulate the market over several months that way.

In most cases, the biggest shareholders are the company's founders and management, mutual and pension funds, and hedge funds. They would need to do a lot of (very illegal) conspiring in order to pull out that sort of thing. E.g. they would have to agree not to start selling off until a certain date.

Although illegal trading certainly does happen, that's usually via insider information (e.g. the investment banking division obtains secret information from Apple, and leaks it to the prop trading division). In this case, retail investors can get screwed, but so do all the banks and funds who aren't in the know.

If you're a retail investor, the way you lose money to brokers and market makers is typically by trading too much and thereby paying too many fees, and paying the spread too many times. Another way you lose money is when the company board & management screws you (e.g. by overpaying management, or by liberally issuing too much stock thereby diluting yours).
Making your WordPress Plugin Responsive by using AJAX
In this article we are going to see how to use AJAX in your plugin by writing a simple plugin which list the latest posts titles and then by clicking on the post title.
It's like a recursive loop of bad karma copyright trolling!
While your satire is super clever, I think it is misdirected. OP is talking about the coordinated country-wide crackdown[0] on OWS (likely coordinated to kill media interest), not about the OWS folks themselves. The FBI coordinated take-down plans with local police, DHS, and big banks. That much seems pretty clear.

[0]: http://www.guardian.co.uk/commentisfree/2012/dec/29/fbi-coor...
fyi, in the replies of the original post someone got totally different results. with v0.6 it was significantly faster than Go and with 0.8 was on the same level
Note to myself: Don't study typography.
Voyando.com - an introduction
Thanks for the reply, although I think you are missing my point.

I understand how it works technically, but I think this illustrates a classic debate between developer and user/customer.

As a developer I can see the functional beauty.

As a user, I think it sucks and I don't give a damn about "session indexes". As a user I just want to see the next page of cool links. I think most people here are 'users'. So why not just have a stateless solution? (aka just linking to ..page=2 as suggested?)
Economic consequences aren't the same as your personal inconvenience.
Surprisingly, the US Bureau of Engraving and Printing caters to the Chinese belief in 8 as a lucky number ...

As reported by CNC World, owned by Xinhua:

http://www.cncworld.tv/news/v_show/29294_Year_of_snake_lucky...
I like the idea that mistercow proposes above: use an algorithm to sample the space of possible typsettings and find one with less that some minimum amount of rivers or river length.
Is there a difference between you approaching someone, and someone approaching you?