skysight-inc/HackerNews huggingface dataset:
Drupal is a monolithic PHP application that uses MySQL for caching and locking.

Scaling MySQL will be your bottleneck, alternating that with optimizing queries and database usage in third-party modules. Most of Drupal Core is written well enough.

Third-party modules support using memcached, mongodb, etc. These mostly help with anonymous, session-less traffic.

Scaling out your authenticated, logged-in users means almost no caching, requiring more web servers and more MySQL scaling, unless you architect your application to support caching page segments updated with JavaScript from the start.

Some of the work to support Edge Side Includes that's going on, and whatever became of the "Butler" initiative, are improving that work for authenticated users.

Like any system, it has its upsides and its downsides.
It's been out for a while - Facebook prompted me near the beginning of March to install it. It works well enough, though sending messages is a bit laggy. My biggest complaint is it's memory usage though - it must have a huge memory leak since after a day or two it's memory usage is huge (bigger than the whole of Chrome, where I have many tabs open, vs. it which is just running in the background with nothing showing).
Show HN: Weekend project helping college students with high book costs
Thank you. I've contacted Rob!
From CBS Sports
Yes, though in this particular case the author told me cgo wasn't involved. This makes it very very peculiar. Usually when I see system DLLs (not 3rd party) rebasing it's either mallware in other processes that lazily loaded ntdll.dll and that had to be rebased or some legit program or mallware that does user mode hooking by injecting DLLs.

It is NOT a Go problem, but Go could implement a workaround making the address space reservation in teh PE header.
This is pretty cool, but some of that stat choices are a little curious. VORP instead of WAR? No park- or league-adjusted offensive stats like wRC+ or OPS+? No defensive stats at all? No BABIP or batted ball rates for pitchers? It's hard to do any in-depth pitcher analysis with only FIP.

I really like the ability to compare up to 4 players on any given stat that's available, but the choice of stats is kind of lacking and I don't see much to draw me away from Fangraphs at this point.

I know you said this is primarily for fantasy nerds, (and stats like UZR don't really matter for fantasy baseball) but you could pull in stat nerds in general if you expanded the stat selection to be competitive with FG/StatCorner/etc. Pitch f/x data could also be something to think about as a future addition to add huge utility to the site.
The entire branding side of fair-trade is based on the idea that there is a sales boost from advertising that you treat your workers fairly.

So an obvious example would be Starbucks' investment in fair-trade coffee.

[edit] but this only is profitable if people are basing purchasing decisions on it. Before this current furore, there was very little press about these issues, so if from this a 'fair-trade' hardware movement emerges, it would then be profitable for Apple to exploit it, but in the absence of one it isn't.
cool stuff. worked good on my macbook air
Silicon Valley Needs To Take Itself More Seriously*
As far as I've seen, the de facto convention is to have a BRK mnemonic with a total instruction value of 0x0000. It has the nice property of causing a halt when uninitialized memory is executed.
>> The data does support the case.

Oh, it does? Let's look at the article together and see if we can find that data:

>> (The US rate is) 3.5 per 100,000: we would expect, if the Foxconn factories were no more dangerous than the average American workplace, 35 workplace deaths a year among those 1 million workers. Yes, each of those deaths, each of those injuries, in those aluminium dust explosions is a tragedy. But if we were being realistic rather than spouting nonsense over such matters we would not be using evidence of three or four deaths as evidence of how Apple, Foxconn or even China are ignoring worker safety in pursuit of filthy lucre. At a very minimum we would be looking at the total workplace death rate rather than cherry picking one specific incident.

The author's saying he's heard of 3-4 people killed... so how does that map to 7 in the infographic? Where exactly are the Foxconn stats coming from? Because the "data" offered in this article is "as-seen-on-TV". Is there even a system of reporting mandated by the national govt to collect data? In the absence of actual vetted data, how can you conclude that Foxconn manufacturing is 5-10 times safer than avg US manufacturing?

>> But why would they be hiding fatality stats?

If you are Foxconn, do you want people talking about Foxconn and fatalities in the same sentence? And if the govt doesn't require it, do you feel compelled to use your own internal resources to voluntarily compile and publish stats that make you look bad?
Pretty sure you got a typo in your twitter profile - I think you mean con·ven·ient.
I highly encourage you to matriculate to Uchicago, you will learn and grow more in your 1st year at college than coming to Silicon Valley straight out of high school. There's no rush.

With that said, it might be a great experience to come out to SV this summer before you start college.
Ditto. I lost points for coding in my standard style :( (working in Chrome/Mac here btw)
>> Apple solved this problem before it ever became a problem, but they are attacked because their brand is strong, and the people attacking them lack integrity.

This seems like hyperbole to me. What I mean is that Apple itself does not make this claim. They are honest about what things are good, and what things need work. Their audits often show problematic stuff; there have been reports of underage workers, workers exposed to toxic chemicals, etc. To Apple's credit, the company has worked to close those gaps. But it's clearly not the case that there have never been any problems at Apple's Foxconn factories, or that they "solved this problem before it ever became a problem."

Moreover, I don't think it's fair to take the facts that Apple jobs and longer hours are desirable at Foxconn and extrapolate from them that everything there is ideal. Let's be honest: factory work in China is not exactly the finest working environment ever conceived. There are a lot of really bad things that go on there. The fact that Apple is the best as far as Foxconn jobs are concerned does not by any means indicate that there are no problems whatsoever with the working or living environment. Again, to Apple's credit, they haven't put forward this excuse and commenced to ignore their critics; they've actively and honestly confronted the problems in the working environment in their factories, and tried to fix them, even when they've already exceeded standards set by other factories in the Foxconn group.

I think it's really important that we work to avoid whitewashing the difficult conditions at the Foxconn factories. It's really fantastic what Apple's done so far, but that doesn't mean there's nothing more to do. In our rush to speak well of a company that has done some really awesome things, let's not overstate the good they've done, lest we lose sight of why they're doing it.
I am curious to find out why there was a need to develop your own C2DM server - what was lacking in Google's C2DM server? I am a C2DM newbie so pardon my ignorance.
Fun idea, but your auth is quite broken right now. I keep losing my work; very frustrating. Also, already lost my work on one challenge from clicking the I/O button.

I like the cool 80s nostalgia, but it's not super-usable.
Do you have any input on the BE Score?
I could not access this. It says you have to have an account.
For me, it is visualization issue. I used to be able to skim through the comments much faster. Sometimes there was a comment with tons of votes deeply nested in a thread and I would pay attention to it.
Oh yes, thanks for the link. Everyone, please go buy as many copies as you can ;).

Seriously though, all the royalties go to charity. I'm a bit sad how quickly portions of the book went out of date. I've been asked to do a second edition but probably don't have the time to do it given startup commitments.
Does anyone know why the suffix tree algorithm is the one commonly shown as the solution to finding the longest palindrome? Manacher's algorithm is conceptually simpler, has better performance and memory demands, and isn't new (the original paper is from 1975).
What you need to know about the Flashback trojan
They also collected the browsing history of non-users. Freaky stuff.
Push notification and the Beginner's Mind
The Beatles As a Business Model -- thoughts on Steve Jobs's model for founders
Such a long explanation for what could be explained in a couple lines of code.
The quality of your argument is absolutely appalling.

You claim that Apple has the most integrity of any company you have ever known, when the longest serving CEO was well known for a very wobbly relationship with the truth, in his "reality distortion field".

You also claim that any critics of Apple are driven by hatred and lack integrity.

To my mind, your entire argument lacks integrity and you are guilty of grievous insults to those who would disagree with you, even before anyone had a chance to do so.
I've gone through this multiple times. The harder you try to ignore it and push past it, the worse it gets. Keep pushing anyway? You reach a point where you won't even be able to follow the plot of Toy Story 3, much less be productive. You concede to take a break eventually. You get better. You try to make up the lost time by doing twice as much now that you're invincible again? Back to analyzing Toy Story 3 for you!

It bothers me that it can all be explained by a deficiency of some nutrient, say X:

- burnout starts when you're overworking (X gets depleted faster than it gets replenished)

- pushing harder makes it worse (X is getting exhausted)

- taking a break makes it better (X gets replenished to normal levels during this time)

- pacing yourself from then on ensures it doesn't happen again (X isn't depleted fast enough to be exhausted)

X might be vitamin D, or (-1)stress, or (-1)dopamine/serotonin, or any other quantity that plays a role in your fragile body, meatbag.
I can't express how much I want to be ruined like Google.
Anybody interested in advanced analytics for soccer (a fledgling industry), check out my blog: www.centralwinger.com
Megaman as Malware
I've been a customer of Apple for decades, and a partner of theirs for many years. I've had many interactions with them, across a variety of modes, and I've never, not once, seen Apple act without integrity.

And they are all customer-facing interactions. Not that I'm suggesting the two companies are the same, but I'm reasonably sure that I could set fire to something I bought at Walmart and still return it for a full refund. Despite their crappy products, I've always got relatively good customer service at Walmart. Meanwhile, they absolutely hammer their suppliers to within an inch of their lives. In fact, one of the main reasons Walmart is able to not care about refunds is because of their margins with suppliers.

So, I'm not suggesting that Apple does hammer their suppliers- I have no evidence on hand to suggest so. But to assume that they don't because you, as a customer giving them money, has had a fantastic experience, is strange logic indeed.
As a baseball fan and fantasy baseball player, I hope you don't mind if I say that I am not finding this site very useful (or am I not able to figure out how to use it effectively.) For instance, given that we are only 3 (or 4) days into the season, showing 2012 season stats is not very useful yet. Showing projections might be useful -- you don't even have to make your own projections, as there other well-known projections out there such as Bill James', ZiPS, Marcel, etc.

Another issue is that selection of stat categories for the "BE scorecard" does not match up with most fantasy baseball 5x5 leagues since it is missing AVG.

I think the idea of bringing more data visualization to baseball is great though. This is actually the topic I am using for my class project in my data visualization class (due in a couple weeks now!) I will definitely keep an eye on this site though, and hopefully you will continue developing and improving it.
Patent Law 101: What’s Wrong And Ways To Make It Right
would you please change that background? I stopped reading after 5 words. I need my eyes, you know?
Just a Friend
BYOD is unstoppable. Smart companies must build apps
I like the positive affirmation that I have been unsubscribed. Yes, a web page "You are unsubscribed" is preferable, but an email confirming in subscription is better than dead silence.

I don't like the unsubscribe responses that tell me I will get email for 10 more days after I have unsubscribed.
The iPad is Growing Up and iPhoto is its Puberty
site is down? I hope this isn't just an O(N) algorithm using Suffix Arrays
From http://www.mirah.org/ -

"Mirah is a new way of looking at JVM languages. In attempting to build a replacement for Java, we have followed a few guiding principals:

No runtime library

Mirah does not impose any jar files upon you. YOU decide what your application’s dependencies should be.

Clean, simple syntax

We have borrowed heavily from Ruby, but added static typing and minor syntax changes to support the JVM’s type system. The result is pleasing to the eye, but as powerful as Java.

Metaprogramming and macros

Mirah supports various mechanisms for compile-time metaprogramming and macros. Much of the “open class” feel of dynamic languages is possible in Mirah.

No performance penalty

Because Mirah directly targets the JVM’s type system and JVM bytecode, it performs exactly as well as Java."
Thanks for your feedback. The site updates once a day, so tomorrow there will be more data
This is a tough question to answer. The fact is that your typical fantasy league is going to value stats that have little predictive or descriptive value such as RBI. I think that the BE score would be a good metric for how valuable a player has been in one of these kind of fantasy leagues in the past. However, if you're wanting the BE score to be predictive of future value to a fantasy team, what you're really trying to project is future performance in general. If you want to get into that, the inputs that you have aren't sufficiently predictive and you're going to have to lean on more advanced metrics. As far as I can tell, BE weights all of the 7 stats exactly equally. The truth is that RBI is a terrible stat and VORP is an okay stat, for instance.

There are some really smart people out there working on projection systems that you could look into. Dan Szymborski does ZiPS, Tom Tango does Marcel and then you probably know about Bill James who has a projection system by the same name. There are others, but these are probably the most popular.

I'd love to offer my assistance; baseball nerdery plus development nerdery would essentially be my dream job, but I would be way too swamped until June or so to be able to contribute. I don't know how SABR savvy you are, but my contact is in my profile and you're welcome to bounce questions off of me. There are also tons of resources out there I can direct you to.
Zend Framework can play nice with Twitter Bootstrap drop-downs.
On Release Date, Crucial Nokia Phone Is Hard to Buy in New York
Ask HN: Is hackage.haskell.org down?
#0x10c-dev on freenode
I saw this "generate album art 'algorithm' " on a 4chan thread three years ago when I used to frequent there. Brings back memories.
Very cool!

Can you maybe write a little about this? I've been wanting to write an LLVM backend for the 16bit PIC24 microcontrollers but found it hard to figure it out and get started, but maybe I can use your DCPU16 backend implementation to get started and figure out how to implement my own backend for PIC24?
I have the iPhone version of this app and it is much simpler than typing addresses. Still not a great solution for new addresses, but that may not be solveable with a third party app..
I agree. I want some kind of confirmation that I'm unsubscribed, either e-mail or (preferably) a web page.
Note this is a real hole in the ToS AFAICT but I'm not claiming the operator is using it with prejudice.

>"Beautiful Day Brian may revise these terms of use for its web site at any time without notice." //

So despite assurances that "we will not sell, trade, or give away your e-mail address to anyone for any reason" they can change those terms "at any time without notice".

In case you missed it that time could be when 'selling, trading, or giving away your email address [or any data they have on you] for any reason [within the law in the jurisdiction of their choice]' and they wouldn't even need to make a note of that instantaneous alteration on their website. Of course they can, if they please, change the ToS right back afterwards the following nano-second so as not to put off new punters.

Now, I'm not saying they will but just that the power of that one line in the ToS obviates any assurances that the ToS give - it's basically worthless. All you've got is your trust of the current owner and all their associates.

Also it's worth noting that they could offer a with notice and acceptance [eg via a link click] alteration as, of course, they have your contact details. "But it's just a simple little notification site" someone might say, "they're never going to alter those terms to your detriment". In which case why not just promise to have you opt in again for any new ToS.

Storm in a tea-cup? Most likely.
This is true - I actually miss-read your comment and thought you said instruction pointer instead of stack pointer... It seems to be a bug in the implementation (from my reading of the spec, this should not happen).
There's also the "those who can, do, those who can't, form standards committees" angle. (Of course, this does not apply to real standards committees that are formalizing post-hoc standards. But folks who form a standards committee to tell everyone else how to do their freely offered work before a de-facto standard is even in place? Please.)
One of my favorite apps is "Emerald Observatory for iPad":

http://itunes.apple.com/us/app/emerald-observatory-for-ipad/...

The author is into "grand complication" watches (see one of his other apps), and this app is the grandest "complication" I've seen to display time on the iPad. In addition to all of the above you listed, he also displays the "Equation of Time", eclipses, direction and attitude of the sun, sidereal time, and positions of all the planets.
Isn't Go normally statically linked if cgo isn't being used? Would that mean that the DLL's in the virtual address space definitely shouldn't be there?
Anther good article is https://kevinclosson.wordpress.com/2009/05/14/you-buy-a-numa...

On commodity servers, unless you have specific reasons to do otherwise just switch from NUMA to SUMA. There are two things yo should do

* Change a BIOS setting. The term for this will vary by manufacturer. For Dell, it means enabling node interleaving.

* Pass numa=off to the linux kernel (e.g. edit grub.cfg)
Whenever a Groupon deal appears at a place that I already frequent, my heart sinks a little. I know that I can look forward to crowded seating, poorer service, and harried staff for the next three months or so.

I've thought about how to fund a reverse-Groupon: a service where I can pay places to NOT take part.
JIT compiling DCPU-16 bytecode using LLVM is something I plan to do later if I get time. I imagine by then someone else will already have done it, but if not, then its something I plan to do.
From my sparse usage of both I'd say that where bitbucket got it wrong is when they try to copy github. I would love a code host with a fast but bare HTML interface, no effects, plain links, code content on the pedestal.
So someone who stopped beating the wife is more laudable than someone who never did?
Estimating unique visitors in larger numbers
If you can point me to some other boilerplate TOS I can copy (freely, without stealing), I'd be happy to change it.

When building a site, I like to focus on features and usability. The TOS is usually just copied from another of my own projects.
The article says that arrests doubled, not that the costs associated with theft doubled.

Note that "costs associated with thefts" is not just the cost of the goods stolen. It includes the costs of security.

I also like how you think that they should be happy with your model, that how they feel about the situation is of no consequence.

They have to live with this situation; they've got skin in the game. You just post.
Use meld, or any one of the many other excellent visual diff viewers.
Perhaps it's a bit like calling yourself exploiter.
- It has a more general analogue to enumerations, one that does not add a lot of verbiage to the language spec. (http://play.golang.org/p/HSh4Ke3pCJ)

- It has an "exception" mechanism that is rarely used, in favour of error-valued returns. (http://blog.golang.org/2010/08/defer-panic-and-recover.html)

- Apparently, vitess didn't need generics. You'll notice a bit of casting here in their implementation of an LRU cache, but writing containers isn't exactly the main purpose of the library. I do admit I want generics, for the sole purpose of stopping people parroting that criticism without actually using the language. (http://code.google.com/p/vitess/source/browse/go/cache/lru_c...)

- Not sure what you mean here. If you mean a Go library is being loaded, then there's an issue for that, but one unlikely to be fixed in the short-term because of Go's unusual calling convention. If you mean Go loading a library at runtime, I don't know why you'd want this. Either way, static linking seems cleaner and more self contained to me.

"Short compilation times" being available in any language is total bull. Try building chromium or firefox in a reasonable amount of time, without a build cluster. Don't you think if there was a way to speed that up, the developers would make that priority 1?

Channel/Goroutines are of course available in all languages, Turing-completeness implies that they must.
However, in practice, does all code in those languages make use of the same concurrency primitives? Do they read as nicely as Go does?
Any book that advocates policy changes without justifying them ("skip the reasons") is not something I personally am interested in buying.
Nike has been using a parallax on it's pages for quite some time: http://www.nikebetterworld.com/product - Still it's a beautiful design and a great example of the parallax effect, very well done.

The title is misleading. A "pure HTML" site wouldn't contain CSS, JavaScript, PNG, JPG, videos - modern web design is really the binding together of a lot of different technologies to create compelling experiences.

Your title translates as "An interesting church site that doesn't use Flash or some other browser plugin".
I bought it just after it was announced for iPad, and used it a few times but stopped afterwards. For me, not having a chronological timeline of submissions (like 'http://www.hckrnews.com/) is a deal breaker.

Rating a comment (not a submission) is also a little hard. It takes a whole second for the controls to appear. A faster animation would be nice.

Don't get me wrong, just like the title says, it's the only iPad client that doesn't suck, and it's a great one. I recommend buying it. But it could be better.

Thanks for taking the time to create this. I know such apps usually don't generate huge revenues...
New Variants of Legacy Native (LeNa) Identified [Android malware]
I peeked at 5% CPU utilization in Chrome on Win7.
Ferdinand Porsche died Thursday in Salzburg aged 88
I don't know if this fits HN really, but it did get me curious on Wunderlist and Read It Later.
It's worth mentioning that at least there are no Software Patents in Germany. See http://en.wikipedia.org/wiki/Software_patents_under_the_Euro...