skysight-inc/HackerNews huggingface dataset:
Where did I claim it's not a closed ecosystem?

It's starts closed and it is opened by invitation. Yep. That is exactly how it works.

If you cannot understand that approach, then that just means it's not how you think. It does not mean that the approach makes no sense or has zero utility.

Maybe a stupid analogy can be made if we pretend "Facebook" is the internet (of course it's not, but it does present a messaging system so play along for a moment). On the one hand you could make every Facebook user your "friend" and thus able them to send you messages, and then when people abused that privilege - and we know from experience some would - you could block them. On the other hand, you could only make a select number of people who you know and trust your "friends" and thus only give a select number of people the privilege to send you messages. Chances are, they won't try to sell you Viagra.

On the one hand there are times you may want to enable the entire network to be able to send you messages. On the other, there are times you may only want to allow a small subset to send you messages. Not sure about you, but I don't receive important email from all that many different people.
People's social circles are only so big. There is a certain carrying capacity beyond which it becomes unmanageable.
I can't put a finger on it, but you know which way he hopes things go, and I think that shows through, despite his attempts to stay unbiased, and despite the NYT style guide. I think a TV news anchor probably gives away his bias with body language too.

I like to tell myself that too, so I regard his work with at least a little skepticism, even though I gobble it up and bet on it.
Are you calling the iPad 2 and iPad 3 "distinct models"? I think you are misunderstanding what the grandparent means when they talk about choice.
what does the ! do?
No, but the GOP side does have a Bizarro version of him: http://www.businessinsider.com/unskewed-polling-dean-chamber...
A monopoly means that there is no competition. For example Wikipedia defines it this way:

"A monopoly exists when a specific person or enterprise is the only supplier of a particular commodity." [1]

A good example would be an electricity provider that owns the only power transmission lines in a given area. (This would usually be a legal, government-regulated monopoly.)

In contrast, it was definitely possible to use Macs as an alternative to PCs, even in large business environments. At some point, I even worked on developing an enterprise software product that ran on Macs.

"If we can not pick individually, we should be picking democratically. Or at the very least, regulate it all until there are enforced common fileformats, including application-containers, open communication exchanges and full data liberation."

There's a lot of software available that allows Windows machines to exchange data with all sorts of other machines. Most Microsoft products that I've ever seen allow you to export or import your data in open formats (e.g., Excel allows you to export data as CSV format). Not to mention that many third-party products can read and write Microsoft file formats. So I don't see how Microsoft is locking up people's data. All this interoperability was created by the free market (e.g., Microsoft's influential customers demanded it), not by government regulation.

Think about what kind of a mess bureaucrats and courts with no technical knowledge have already made of our patent system. Do you really want government regulators and courts to also dictate what our standard file formats should be? I'd much rather take my chances with the free market.

[1] https://en.wikipedia.org/wiki/Monopoly_(economics)
> I think Republicans are more likely not to want to mention or distribute condoms to teens in sex education, but I don't regard this as quite the same general disregard for science and math.

It's a fairly settled issue in social science, though, that abstinence-only sex ed doesn't work. Not a hard science, perhaps, but still a science in that it's data-driven and rejects hypotheses based on new data.

http://dx.doi.org/10.1097%2FGCO.0b013e3282efdc0b

http://journals.lww.com/co-obgyn/pages/articleviewer.aspx?ye...
I am trying to implement an FDTD for Schroedinger's equation with the aim of providing a theoretical backing for a certain kind of nanopore (like) sensor.
They're mostly internal corporate sites. Is there a way I can collect information (stack traces, etc.) for you instead? I didn't see any easy way to get postmortem data on a crashed tab.
It was going strong when I submitted the link, albeit a bit slow, but I would guess the poor server is now taking quite a beating from being on the Hacker News front page.
Hackers love tiny web server devices.

Hackers are also great at overloading them.
Cache of the website from google.
http://webcache.googleusercontent.com/search?q=cache:NI9QZ6s...
Content? | Socyberty
Yes, you're right. I was looking at an old version. That change definitely improves the font, but it's still an odd solution, IMHO.
What I'm actually starting to love (or already do?) is that
nerdiness is slowly but surely becoming the norm. Soon, there will be little to no distinction, or at least it won't be at all like it was when I was a kid.

I'm sure kids will still separate themselves into their own cliques like they always have, but each clique is being redefined as a result of new technological standards. It's an interesting phenomenon.
Maybe it was Adderall, Ritalin or something like that?
I understand what you're saying, but in this case I doubt that hiding it was going to help much. The vulnerability would have been obvious to a lot people, and the site had already gone high profile via sites like HN so many people would have been aware of it.

In a position where no choice of action/inaction is guaranteed to be harmless, I think limiting the damage is probably the most practical choice, and certainly a reasonable one. It limits the number of potential victims, and it also serves as a warning to those developing future sites that this sort of screw-up is not acceptable.
Honestly, I think it speaks more to your maturity that you are so bothered that people are bothered by profanity.

In all seriousness though, profanity is unprofessional. I think a fair definition of profanity is 'vulgar extreme emotion.' If you have to use 'extreme emotion' to get your point across, then you aren't doing it right. You should be able to describe something or explain something with some sort of levelheadedness. On to the 'vulgar' part. We can fairly say that some people could care less about vulgarity and others are bothered by it. So why put it in in the first place? I'm not saying we all have to be ultra politically correct, but if I'm giving a speech on the free market, I'm not going to insert snide comments about liberal politicians and their economic beliefs. I could, it might even make sense in context, but there's no reason to.
I am extremely doubtful that optimized C is going to be equally performant as optimized JavaScript. There is innate overhead when using an interpreted language, no matter how advanced the interpreter. JavaScript is also garbage collected, while C is not, adding an additional level of overhead.

At no point in this article are we shown the code of this new parser. We are also told that is incomplete. So we have a parser which we can't see and which is not finished, but apparently dominates its C counterpart in performance. This leads to me to believe one of two things:

1. The parser isn't complete, and its unimplemented functionality is going to be more expensive in terms of performance than the author anticipated, thus rendering his preliminary results void.

2. The implementation of the C extension he is comparing against is not very well optimized. As said above, I find it very hard to believe that well optimized C is going to be beaten by well optimized JavaScript.
He's not just evalling code, but building a function without loops and lots of lookups. That's not something you can generalize.
The blackjack games most casinos spread don't allow for a positive expectation, even when counting cards, and any card-counting software would obviously be banned by any casino.

It's already against the rules to use your phone at the table, even to look up basic strategy. Although it's not against the rules of most casinos to have a paper basic strategy guide, and most dealers are more than willing to give you basic strategy if they remember it.
what about installing Clojure on the Raspberry Pi, or what about installing Google Closure on the Raspberry Pi
Do you remember how Excel 97 included an easter egg flight simulator? It's like that, only inverted.
We would need an absurdly diverse and large group of people for this to be effective on a large scale. If it was just the hacker/designer community working on collecting data then we could potentially have a great amount of data for those specific niches and perhaps a bit of data for random other niches.

Building the plugin itself would not be too challenging, but it would require "fixing" every time Twitter changes any little thing in their layout.

I think I much prefer the idea of having a massive botnet, each node with its own API keys, querying their own subsection of Twitter to build one database. In the spirit of collaboration, it could be possible to write a program that would carry out all of these tasks in a distributed manner on each person's individual computer. If you have one source of accounts + api keys + proxies that were auto distributed to each node you could keep each machine working.
It's surprising, but I actually count 91 public non-charter Montessori schools. Often they're magnet schools or 'academies', and it looks like very often just elementary.
I use my Forth system for writing video games: https://github.com/JohnEarnest/Mako

It's also fun to implement features conventionally associated with high-level functional languages, such as lazy generators: https://github.com/JohnEarnest/Mako/blob/master/lib/Algorith...
Nate Silver came from the fantastic world of the statistical analysis of baseball, specifically Baseball Prospectus. You can check out his body of work here (some articles require a subscription):

http://www.baseballprospectus.com/author/nate_silver/

His big contribution was a model used to predict player statistics. When he first started writing about politics, I assumed the name was a coincidence.
Free Clojure conference in Amsterdam on October 27th
This is an outstanding overview of how to build fast programs in JavaScript. I really appreciate the fact that Felix took the time to write it. I learned a lot, and will definitely integrate this into my work whenever performance-critical code is involved. Particularly since I enjoy dataviz so much.

I'm a little surprised that someone so into JavaScript is using R and ggplot2 to visualize his data, and not d3 along with CoffeeScript for munging data (or Python if you can't stand CoffeeScript). Don't get me wrong, R is a powerful tool, but with d3 you can skip the whole ImageMagick/Skitch step since you're making visualizations directly for the web. Plus, once you've grasped d3's declarative approach (took me a while), it's so easy to quickly make powerful visualizations with it. In fact, it was partially inspired by ggplot2, if I'm not mistaken.

And to quickly munge/clean data, I've found CoffeeScript does very well here, similar to how easy it is to use Python for this task. I wouldn't want to write out JavaScript when rapidly trying to get data in the right format for visualizations, but with CoffeeScript and a functionally-oriented library like underscore, it's pretty easy.

That said, I'm sure once you've mastered such an intricate tool as R, it's hard to give up that power. But if you're a node devotee and you're looking for a good tool in JavaScript to visualize data, you can't get much better than d3. I know a lot of dataviz folks are learning JavaScript just so they can have access to d3.
Surely you can imagine the equivalent in your language. Likewise for English speakers using foreign profanities is not considered offensive.
Rendered on a mac by the looks of it.
Ajaxify Rails
Ajaxify a rails application. Easy to use Ruby gem in the spirit of Pjax and Turbolinks, but with a non pushState browser hash url fallback. Transparently handles redirects and supports page titles and flash messages.
Nice explanation.

I wonder, though, how important it is to do the interpolation (see the last code sample). With the example value of dt = 0.01, failing to do the interpolation would mean that the displayed frame will be behind by an average of 1/200 sec. Would that really be noticeable?
Another proportional font using python programmer here. All significant white space is in the left margin and all has the same width, so not a problem at all.
Oh, man, this brings me back to 97/98 when people were saying that VRML based 3D chats were just around the corner ;)

http://edition.cnn.com/TECH/9710/14/3.d.reality.lat/index.ht...
One-dimensional arrays can be useful for indexing. See: GIN, and here's an example:

http://stackoverflow.com/a/4946888

This uses the same underlying indexing method often used with Full Text Search.

Values in arrays can be awkward if you are frequently pulling them out for joins, et al. However, if you frequently are dealing with operators over the entire collection they are quite handy, and I have enjoyed using them for this purpose.

An example that parallels something I've recently done for Real Work:

Suppose you are writing a piece of software that aggregates some blogs of various vendors and twitter feeds. You want to take a chunk of text (the contents of the post) and then be able to easily search for text that has a certain textual tag ascribed by their author. Sometimes, one's requirements are nicely met if one puts tags into an array and writes queries like this:

SELECT contents FROM bucket_o_text WHERE tags && '{go,golang,gccgo}'

The "&&" is read "overlaps", so now you will get posts that seem to be about the programming language Go. If you want to find things about both golang and erlang, one might say:

SELECT contents FROM bucket_o_text WHERE tags && '{go,golang,gccgo}'
AND tags @> '{erlang}';

Where "@>" is read "contains". If you were confident the tags seem reasonably normalized, you might even write:

SELECT contents FROM bucket_o_text WHERE tags @> '{erlang,golang}';

I would stop using this approach if I started having higher-order data about the tags 'erlang' and 'golang'. Said another way, data about tags, or metadata on tags, which are themselves metadata of the post. In this case I'd be inclined to break out 'erlang' and 'golang' into rows of a table so one could enumerate the concepts in the database easily and write constraints.
A Photoshop workflow for the web
"profanity is unprofessional"

That I can agree with. It is signals more of a casual tone than a professional tone.

Why should someone use a casual tone instead of a professional tone? Why not? It is nothing more than individual preference. Write in the style you feel most comfortable with.

("Honestly, I think it speaks more to your maturity that you are so bothered that people are bothered by profanity."

That he is bothered is not what makes me think he lacks maturity. That he is bothered to such a degree that he thinks those particular words actually devalue the article itself is what I think signals immaturity. The ability to separate ones emotional response to something from their intellectual appreciation of something is a hallmark of maturity.)
My only problem with this article was that it didn't once mention parsing binary data, except in the title.
"I’m not one of those “old people.” After all, it’s not like I remember punch cards."

Well, my first programs were on punch cards!

My first computer was a Digicomp 1.
Interesting idea, but a waste of bandwidth and harder to maintain than a separate API IMHO, even though it allows the responses to be cached for normal and API usage together.

Might as well go back to serving XML and letting the browser transform it (http://www.w3schools.com/xsl/xsl_client.asp), that would be more elegant for such a task (even though it never caught on due to limited browser support).

The content negotiation method would seem best except that most content-driven web pages will contain much content that isn't interesting to the scraper on every page, so a well-designed API with very specific queries will be faster and more useful. Whatever content is on each page is also a moving target for the scraper, even if she gets it as JSON, not so with a straight API.
Your entitled to your opinion. The author is entitled one as well. What you think about his style of writing does not matter. Expletives are not immature, you just view them as such. Again, that is fine and is your choice. There are (very few) people (in this thread who) agree with your view. There are over 25 comments actually discussing the article instead singling out of individual words to focus on. According to you, since there other people discussing the article and not caring about the sparse use of swear words they too must be immature.

Here is my opinion: it is more annoying to see people like you complain about the "excessive" use of "fuck" and "shit" every time an article is posted that contains "fuck," "shit," or something similar.
Is that a blanket statement about C versus any dynamic language, or just JavaScript? Because with LuaJIT2, Mike Pall has already shown that a highly-optimized Lua interpreter can hold its own against optimized C, and sometimes even surpass it.

Here's a nice look at some of the magic he does in assembler to get LuaJIT at such a high level of performance:

http://article.gmane.org/gmane.comp.lang.lua.general/75426

My point is, there's nothing inherently unbeatable about C. I think that a select group of dynamic language -- probably including JavaScript -- can and will reach that level of performance, or at least close to it. They just haven't been around as long.
it seems to think my system doesn't support webgl, though i've used webgl demos before.
I read it as:

"Running and stable with no bin, lib, share, include directories in /usr/local".

Which didn't seem all that exciting to me, so I clicked just to see what all the excitement was with not having a /usr/local.

PS. "n" is a terrible name for a program - it's impossible to google.
A sewing machine is a mechanical marvel. Take one apart sometime, and look at the genius that went into its design.

I have my great aunts' sewing machine that is powered by a treadle and a flywheel. It still works perfectly.
>Also, does anyone know why eval is faster than just defining the function? I mean wtf, why doesn't v8 make this optimization?

There are three optimizations I see in the eval example:

1. The object is created as a literal rather than by property assignment (see http://jsperf.com/object-literals-vs-object-properties).

2. The for loop loop is unrolled.

3. The column names are cached in the function and do not have to be retrieved each time.

The reason these can't be done by v8 on its own is that they make assumptions that v8 can't guarantee. For the first two, you have to guarantee that the columns array is always the same length. For the first and last, you have to guarantee that the columns will always have the same names.

So even though you take a big hit on the initial eval of the function, you'll likely make up for it by having a better-optimized function.
... or maybe the WoW servers run on Windows luke the clients do.
Chrome 23 supports onupgradeneeded.
I saw another name for viral growth factor K-factor

K-factor = i * c

i = number of invites sent by each customer (e.g. if each new customer invites five friends, i = 5)

c = percent conversion of each inbvite (e.g. if one in five invitees convert to new users, c = .2)

http://en.wikipedia.org/wiki/K-factor_(marketing)

Viral growth appears when K-factor > 1
Shit, better put my tinfoil hat back on :)
When slamming an author of an interesting article over nonsense, hang your head in shame.
come back, little web server!
TRS-80 Color Computer 2, represent.
SOPA / PIPA was mostly supported by democracts (35 vs 19 republicans).

https://projects.propublica.org/sopa/

https://en.wikipedia.org/wiki/List_of_US_Congresspersons_who...

I'm extremely liberal, and hate GOP, but democrats really aren't that great when it comes to understanding the internet.
Aren't a lot of those exapmles of error, not fraud.
Other services, for example Amazon ec2, just deal with a DoS, and charge you for the traffic.

Also, null-routing for 24 hours regardless of if the attack only lasted 2 minutes, is a little silly.
I just bought a Thinkpad x220, slightly dated but for $450 a great price/performance ratio when Lenovo was clearing out their refurbs. While I've had it for about a week, the build quality of this machine is simply great. I've seen, and been given from corporate IT, their $4-500 new laptops and for the price they're good but they aren't perfect. Lenovo's top end series like the X are quality machines.
Benchmarking std::map vs boost::unordered_map
Wasn't that rule changed some years ago?
The Factors of Knowledge
Ask HN: What's an effective programming test?
For a medium to senior level position do you expect to work on a problem that could take several hours to develop (plus the test harness, etc. etc.)?

Any suggestions on developing a good test for medium to senior level developers?
I've played roulette for the past 2 years at several casinos in the US and you can still place bets after the ball is released. Once the wheel starts to slow down and before the ball drops onto the wheel, the dealer will signal no more bets.
Answers our question in light of a darker reality programming.
The greatest trick political parties ever pulled was making this kind of thing part of their images.

With only two choices, people are roped into supporting all kinds of things that make no sense for them. But you get "My party believes in science!" and "My party believes in God!" and it becomes part of people's political identities. And then all sorts of other issues are piled on top of it and you find yourself wondering how we got here.

It's ludicrous, really.
He leans Democratic and has said so on more than one occasion. He supported Obama in '08.

One gets the impression that his professional reputation is more important than his ideological affiliation, and so I find him pretty credible.
I won't argue practicality or usability (a dual-monitor setup has distinct benefits, as does an increased physical area), but my computation says:
(2,880 x 1,800 = 5,184,000) > (2 x 1,1920 x 1,200 = 4,608,000)

Of course, you have to be crazy enough to run the MacBook at its native resolution without scaling to reap this benefit (I am crazy in this way).
The math he's using is not hard, but the data sets he's working with are annoying.
I agree. They should stick to more interesting topics like their fantasy foosball leagues, how they got sooo wasted on saturday night, whether victor or marcia is going to win survivor 29, or how they hit elite level 9 in gears of duty: tango alpha banana last night.
> Client side SSH certificates

What are those? We're talking key-based ssh authentication? Or something else?
He is a biased liberal and reading any of his commentary should be viewed through that lens. He doesn't even make much of an effort to hide it, in 2008 on 538 he was basically rooting for Obama.

However that doesn't mean his models are wrong. When they show that Republicans are going to win (or have improved), he states that just as clearly as when the same is true for Democrats.
The author forgot to mention the awesome 3d mice on the market :) 3Dconnexion SpaceMouse Pro is an amazing mouse not just because of the buttons but because you can use the extra axes (you can yaw/pitch/roll).