skysight-inc/HackerNews huggingface dataset:
http://www.hokstad.com/compiler

Note that it is very unfinished, and I'm moving very slowly with it. I'm overdue for posting another blog post or two about it - I have two that just needs editing, and a third halfway done. At current pace I'm realistically hoping to be close to having it self hosted by christmas.

(the big caveat of course being that getting it self-hosted is not the great indication of feature completeness it may sound like, since you get to cop out by not using constructs you don't feel like implementing yet)

To be honest, it kind of veered off course from me just illustrating some low level techniques to quickly bootstrap a very primitive language, to me deciding I wanted to experiment with a Ruby compiler, and so the writing is all over the place.

One of the things that motivates me apart from writing about it, is to try to figure out how dynamic Ruby really need to be, and how much static information you can "recover". On the surface, Ruby is notoriously tricky, because e.g. you can't tell based on local information even what piece of code will be called. E.g:

t1 = Thread.new do
loop do
puts 4 + 5
sleep (1)
end
end

sleep(rand(3))

class Fixnum
def + other
42
end
end

t1.join

It's no fun reasoning about that "puts 4+5" when even integer addition may suddenly stop working after a random interval...

But of course in real life, most of the really hairy nastiness doesn't occur outside of scary examples (I've never seen anyone override stuff in Fixnum to do anything useful, for example), and could easily be documented as unsupported in an AOT compiler, allowing both making the code substantially more static, inferring types in quite large sections of programs eventually, and making it faster (as a side note, there's a Truffle based backend on the way for jRuby that achieves much of this by basically assuming the normal case in lot of situations, but "de-optimizing" when assumptions turn out to be wrong, which will get many of the benefits).

I'm hoping to essentially find space where the compiler can basically declare "mostly safe" default behaviour, such as assuming nobody overrides Fixnum#+, and optimize for that, with switches or pragma's to re-enable "standard" behaviour for those cases where someone is in fact doing something really silly and expecting it to work.
How our unconscious minds undermine the workplace
The business of public education
Why should the US be obligated to let this foreign bank do business in the US and operate on the US stock market, if this bank refuses to comply with US tax laws and money laundering laws? There's nothing stopping this bank from operating on a European or Asian exchange instead. If they want the benefits of working with the US system, the US is totally within its rights to impose rules on that.
> For every gambler who comes out ahead

That's only true in games where the only winnings are the bets of the players. Roulette, and blackjack, is different because your winnings on success are set and paid by the house.
In my experience it's rare to see a ruleset as hard as "absolute cheapest, no exceptions" - generally what I see is "must be within percentage of absolute lowest price".

Even within these restrictions loyalty programs still make sense - these are people who purchase a large amount of travel per year, if you can guarantee yourself as an exclusive supplier you still come out ahead - even with price ceilings.
I don't get why people opt-in to tracking and behaviour analysis just so they can get a free taco, that seems counter intuitive. There is little choice, when you purchase things online, but that doesn't mean it is desirable. There are really old fashioned ways of maintaining customer loyality, offer a good product, hire attractive waiters and maybe offer a stamp bonus card. Spam mail from the local coffee shop surely does not increase customer satisfaction.
More detail from a German article

- drone weight 5kg and can carry 1.2kg. Maximum speed 18m/s (65km/h, 40mi/h)
- the one-way distance is 12km
- there is only one recipient: a pharmacy
- on the photo you see a tier-shaped box. That contains the cargo. Extra wind and water resident
- although they have all permissions each daily flight needs to be pre-authorized and watched
I have had good experience using HDF5 to store time series data, but just research datasets and nothing that has been put into production. I don't really know how well it works with threading, for example. It does work very well with PyTables and Pandas for analysis and definitely beats CSV files, which is the the normal way these research datasets are stored.

If you are interested in using HDF5 and PyTables to store time series data, check out this little library that I created: http://andyfiedler.com/projects/tstables-store-high-frequenc...
Major milestone in the search for water on distant planets
The best video game camera simulation that I've seen described is the GDC 2009 talk "STAR OCEAN 4 : Flexible Shader Management and Post-processing" from http://research.tri-ace.com/ It's unfortunate that applying such realistic methods to such anime-like characters produces such a creepy effect (reminiscent of "real dolls" IMHO)

I'm not sure if the researchers at Tri-Ace are related to those at http://www.siliconstudio.co.jp/nex-gen/en/ but, I wouldn't be surprised.
I agree with you, but there is actually another country that is taxing foreign income of nonresident citizens: Eritrea

http://en.wikipedia.org/wiki/International_taxation#Individu...
Ask HN: Desktop sharing for Linux as simple as join.me?
join.me is a quick and easy service for desktop sharing. I didn't realize until today that it doesn't work for Linux desktops.

Is there a Linux-friendly alternative which HN readers can recommend?
The BBC is flat out a pioneer in media management and distribution. I had the opportunity to use the iPlayer some during the London Olympics, and the level of automation, and the completeness of coverage, really opened my eyes to how media technology in the US is solely at the mercy of licensing and advertising. PBS is somewhat interesting, but only in a "look we know what the internet playing a video is" sort of way. It was a better experience than YouTube, Netflix, Prime, Roku, etc. BBC's model is the future, today.
Microsoft, frustrated as ever with H-1B policy, considers options
The Sasha Obama thing is not even close to what parent said. Parent's point was in the first sentence. Let me quote:

> Because, and honestly I think you know this, in America a disadvantaged white person is still better off than a disadvantaged black person.

The point is that sexism and racism are sufficiently institutionalized in America so that members of either group will struggle solely because they belong to that group. Ideally all people of lower socioeconomic statuses could be lifted up by these types of initiatives, but minorities and women especially have the deck stacked against them.
Title is incorrect. Should be 15 drinks per week, not per day.
BlueMix is based on Cloud Foundry and is very easy to use. Pushed an app there yesterday as a test.
How is Passenger affected? If there is an attack vector using Passenger I'm going to be even more worried than I already was.
Ever heard of the underhanded C contest? The writing of bugs/features that are well hidden and look like they were not intended is a real thing. Bugs go undiscovered for as much as 20 years, at least from our perspective. And mere suspicion is hardly enough for a call to arms.
Very true:) I just found how you phrased it amusing:)

I don't mean to sound disparaging, for it's use-case it's a great addition:)
Harvard Math 55A and Stanford Math 51H Animated
The Martingale strategy is not viable.

If winning at casinos is your goal, you're going to need to look elsewhere.
Is there any way to add custom HTTP header yet? This would make for a nice API:

Alamofire.request(.GET, "http://httpbin.org/get")
.header("custom-header", "value")
Thanks for the info.

Has anyone tried this with an OS X client to see if it behaves like the Linux system in the article? I know OS X bash is vulnerable to the exploit, but I don't know if their DHCP system handles environment variables in an exploitable way.
The vulnerability only exists during the startup of a bash process. Updating bash is enough. Bash processes that are already running are past the point where they could be exploited. Future calls to bash will get the updated version. No services need to be restarted to apply the fix.
Cool project!

I commented on some other graphite replacement projects at https://news.ycombinator.com/item?id=8368689
I'm posting this as a follow-up to yesterday's submission (https://news.ycombinator.com/item?id=8363527). As I am not an astrophysicist, I am unable to evaluate the actual physics, but I wanted to point out the conversation going on among the actual physicists.

A point that was raised in yesterday's discussion was that if true, this theoretical work shows that black holes can't form from stellar collapse, not that they can't exist. Others contended, well, no, if it can't form, it can't exist; otherwise it would have to have had "always" existed.

Brian Koberlein points out in this submission that there are potentially alternative means of forming black holes, other than stellar collapse:

"This is interesting theoretical work, and it raises questions about the formation of stellar-mass black holes. But it doesn’t prove that stellar-mass black holes don’t exist, nor does it say anything about intermediate mass or supermassive black holes, which would form by processes other than stellar collapse. And of course the work depends upon Hawking’s take on firewalls to be correct, which hasn’t been proven. To say that this work proves black holes don’t exist is disingenuous at best."

Although I don't know what these processes might be.

Some googling has also turned up some astrophysicists who have snidely dismissed the work, but I am unable to evaluate their claims, or Laura Mersini-Houghton and Harald P. Pfeiffer's work in the original article.
/me immediately looks up one of the ellipsoids for Mars.
The retina macbook screen being glued to the battery comes to mind.
Yes, the FDIC does for when (not if) your funds are lost.

You've also confused deposit insurance with insurance for hypothetical government failure, and drawn a false equivocation with welfare, though my guess is you didn't have any other point so you went with the slippery slope.
This method of fighting one invasive species by introducing a new species always makes me worry a bit. I can't comment on this particular case but I would like to point out that there are sometimes ways of eliminating a species without risk of spreading another species. One that I can think of is the sterile insect technique. [0] Overwhelming number of insects that have been rendered sterile by irradiation are released into the wild. They compete with fertile wild insects during the mating season. Release enough sterile insects and the population will be decimated.

[0]: http://en.wikipedia.org/wiki/Sterile_insect_technique
After years of dealing with Graduate student missteps and ROOT->Java interoperability, to me, ROOT will always mean: blown stacks (i.e. double hist_data[1000000];), poor documentation on TTree/TBranch, NPEs, exceptions, the horrible bag of "features" TObject is, terrible debug statements, no logging, GUI hell, pseudo-.C-macro-compilation-that-only-works-with-trivial-cases, code translation, dlopen madness, code interoprability, Mac OSX support, 2+ hour compilations, TList hell because no STL (NO STL!?!?!), etc...

Years of physicists time has been wasted on CINT, and many more years on ROOT itself.

I'm sure Cling is much better, and it looks cool on it's own, but I know ROOT isn't. Luckily I only have to dig in the source code for ROOT once a year or so (the last time was figuring out they finally got around to adding LZMA compression to ROOT files when things started breaking at work).

I used to think PyRoot was the way forward. Eventually, ROOT will be burned at the stake and everyone will over with Julia.
>'There are already reports of CFLs and LED lamps burning out long before their rated lifetimes were reached.'

To go off on a tangent...

I have a couple of CFLs that have been going since 1997 in my first apartment while most of the CFLs I purchased after my last move in 2009 have burned out.

None of my LEDs have gone. Not the ridiculously expensive ones from a few years ago or the current "almost, but not quite cheap enough for the whole house" ones I've been testing out.

My impression is that there's a sweet spot in relatively early adoption for many technologies when you can get nearly all the eventual performance with much higher reliability. A point where manufacturers are perhaps over-engineering or at least have not yet dialed in their cost-cutting trade-offs.

Of course, whether this is worth anything depends on the context - my 2004 Linksys AP, 1997 bulbs and 1999 DVD player are fine for my purposes, but my tank-like 2009 Motorola Droid - not so much.
I am a tax payer in the United States, yet I am not eligible to vote ... Green Card holder!

Why should someone living outside the united states, with no houses in the united states, still pay US taxes, just because they have US citizenship?
First of all, I should have mentioned that I'm naive on the topic. From that point of view this seems like a very odd thing to be upset about, hence my question.

Second, for having little attachment, they seem more than happy to house a respectable chunk of money resting abroad. I find it odd that their new home is so lovely except they don't want their money there.

And to answer your question about say, Costa Rica, I guess I always assumed that if I were going to retire else somewhere it would be in such a way that I would commit to that location. I don't understand the idea of moving to another country and leaving all my shit back at the motherland. Again, I'm naive of this whole process, so that may be the silliest thing you read today. Sorry if it is.
Patch is out for CVE-2014-7169 on debian @ https://lists.debian.org/debian-security-announce/2014/msg00...
What Exactly Is an API Platform? A Competitive Edge That’s What
Beautiful idea, not dissimilar from dat [0] (if you haven't already, you guys should talk).

I find the Django relationship to be an odd choice - the vast majority of people working with data are not using Django. Why pair the two?

[0]: dat-data.com
“Hacker Proof” Technology Group
I'm not saying you're incorrect, but this statement tells me nothing other than bad tax code is bad. Why is this new law bad?
I read the code a little. It seems like its replacing stylesheets in the document on the fly. So if you split up your project in various css files then it should on-the-fly only reload those that changed and as a result be quite quick even with big projects.
Correct - if you are using PHP as a CGI. This does not affect mod_php.
> Considering that SBCL is among the fastest programming language implementations there is...

Source for this? I'd love to find a really fast lisp or scheme. Hadn't heard SBCL was particularly fast, and the alioth benchmarks don't show anything special there.

http://benchmarksgame.alioth.debian.org/u64q/benchmark.php?t...

Edit: actually SBCL stacks up alright against languages like Go or Rust in the alioth benchmarks, so maybe that's what you had in mind.
I would think the better (symmetric and slightly more accurate) solution would be to add the MSB of the result to the LSB and then round to the nearest MSB (by adding 0x80 before shifting)? e.g:

((0xFF*0xFF = 0xFE01) + 0xFE + 0x80 = 0xFF7F) >> 8 = 0xFF
((0xC0*0xC0 = 0x9000) + 0x90 + 0x80 = 0x9110) >> 8 = 0x91
((0xB4*0xB5 = 0x7F44) + 0x7F + 0x80 = 0x8043) >> 8 = 0x80
((0xB4*0xB4 = 0x7E90) + 0x7E + 0x80 = 0x7F8E) >> 8 = 0x7F
((0x80*0x80 = 0x4000) + 0x40 + 0x80 = 0x40C0) >> 8 = 0x40
((0x00*0x00 = 0x0000) + 0x00 + 0x80 = 0x0080) >> 8 = 0x00

(To be precise, you should also add the MSB to the right of the LSB, etc., since 1/.FF = 1.01010101..., but now you're getting lost in the noise.)

EDIT: screwed up some math; thanks gjm11.
Learn to make your own iPhone / Android games in Unity3D
Net2 Technology Group Absolutely and without any "small writing" guarantees that if we are in charge of your network it will be secured and locked down so it is 100% hacker proof.

I used to work for a company that used these guys. They had a piece of software that collected data about various products we produced. I found a debug option in the config file that gave me the SQL connection string for the server. It seems user authentication was done locally.

Hacker proof my ass.
From reading the title I thought I would get to see the map, but I was disappointed to find the page only tells you where you can go to buy such a map.
But this obviously fails in exactly the same way when there are no more tables. The strategy simply doesn't work.
> "Get angry at the people that make policy, not the people that enforce it."

Ever heard of "Good cop, bad cop" ?
Getting enforcers to quit or be fired is the general idea of focusing in on them -- if there are no enforcers then nothing is enforced regardless what the policy makers say. It's another solution to solving the problem of bad policy besides the one of changing the policy. One could argue its results. The strategy seems to make a lot of TSA employees feel bad, so the turnover there is quite high, but enough people need any job just to make ends meet that the overall effect to their workforce isn't very much. But this just suggests an alteration: focus on individuals of the loathed organizations, which has had success in the form of social justice warriors being quite successful at getting individuals, even "powerful", higher-up-the-ladder individuals, fired for things they've said or done.
Thankfully embedded devices are less likely to have bash installed than desktop or server systems, or this would be quite nasty.
Usage patterns are important with CFL's. They are sensitive to many on/off cycles, and last longest when they burn continually. So, it might be interesting to take a moment and consider whether your usage patterns have shifted markedly.
There's nothing like the taste of lead paint in the morning.
Did you promote your app on http://www.reddit.com/r/android? If not I would strongly suggest that. They are a very active and passionate community.
Or: Top 10 % drink 10 drinks a day :/
Isn't the article saying the opposite? The cartel fell apart pretty much on its own without government intervention. A combination of being undercut by low-cost Japanese producers and the outbreak of war between the countries hosting the cartel members.

As described, the cartel sounds more like a "conspiracy" to help customers by providing a better standard of lightbulb (in terms of brightness and efficiency) rather than to hurt them.

The reduction in the lifespan seems like a side effect of this rather than the goal, even though I feel like the tone of the article is tending towards pushing that as the goal. They were undercut on cost and quality, though, not on lifetime, which seems like if it were achievable, would be a wonderful way to build a business.
Note that while most compilers already replace fixed-divisor divisions with multiplications, this algorithm presents a more optimized solution for certain "problem" divisors, notably 7.
Entire Australian web to be monitored
Your point does not distinguish between flavors of disadvantage. Minorities and women have to deal with systemic racism and/or sexism

Here's how I suggest HS reach out to women/minorities: provide them with grants if they apply to Hacker School.

Done! Effective outreach so that traditionally-marginalized groups might participate enough to overcome institutionalized racism/sexism.
Doesn't take that long. Maybe a few days?

k5 isn't that big (about 9 C files)
Is this just your typical columnar OLAP database, like Vertica or Big Query?
We had a similar experience regarding DynamoDB.
Perhaps. But I'm not convinced this new law would have any effect on the scenario you describe. Money is getting pretty good at crossing borders, and the people this mostly effects are not those in the position to put a dent in the trade deficit.
How to Log from PHP Web Frameworks Like Laravel
No worries. Fullcontact API is not really use friendly compare to stacklead and clearbit (old apihub).

I ran some test on the 3 of them and Stacklead was the one that could usually found the most useful information. Haven't tried Clearbit in the last 2 months though...
You misunderstand what "play the lottery for entertainment" means. It very clearly does not mean play for the entertainment winning the lottery would bring. It means play for the entertainment of playing the lottery. Many people enjoy playing the lottery, though I am not one of them.
This blog post seems to confirm that there is indeed an attack vector using Passenger.
Thanks for the article. I think the main point to be taken from this is in the excerpt you provided. While she raises some questions, she is not disproving the existence of black holes.
It sounds like the "artificial limitations" described in the article were just a tradeoff -- better quality of light, and more efficiency, at the cost of lifetime of the bulbs and a higher production cost.

I'm not sure that this article really gives any evidence to support the so-called "lightbulb conspiracy" even though the tone of the article seems to imply that planned obsolescence was involved.
At least two of these 'Contras' seem naively addressable (that browsers don't cache them and that crawlers don't decode them).

If we continue to put low value images in these base64 encoded images we won't encourage crawlers to take them seriously.
And it imposes a large cost on non us citizens who have to pay for our uk institutions ro meet the cost of US regs out of our fees the Daly telegraph estimated that the cost of FACTA to uk investors with absolutely no connection with the USA was 1/2 a billion pounds.

So when do I get my vote for president :-)
I was going to do this this evening and now he's saved me the time. Thanks! :)
Sometimes, there really are people twirling their mustaches and cognac as they conspire against the consumer. See also the great American streetcar fiasco.
Believe they've moved to Manhattan, their own custom datastore:

https://blog.twitter.com/2014/manhattan-our-real-time-multi-...
Are smaller shells like busybox affected though? I bet a lot of routers run it (I know mine with OpenWRT does).
Yesware for iOS
Drone delivery to an island (with no bridge) is actually a good use case, unlike Amazon's demo video of delivering whatever to some suburban house for no compelling reason.
Actually, by strict adherence to HN rules the headline should be "Think you drink a lot? This chart will tell you." (Which IMO is a perfect illustration of why this is a stupid rule.)
And now is costing us Brits as our UK banks have to pay for US IRS rules
The Furiousness Centre: Club offers chance to vent anger [video]
Tesla Museum fund-raiser teeshirt by the Oatmeal
Ask HN: What's your preferred transactional email provider?
We're currently using SendGrid to handle transactional email for matchist, but they make you get the $80 plan just to use the Parse API.

Seems silly to use them when competitors like Mailgun give you parsing for free and their overall pricing is much cheaper (we don't have a large volume).

Is SendGrid much better at delivery or would I get just as good delivery with a cheaper competitor? What does everybody use?

Thanks!
Very true. To be clear to other readers, busybox is more common in smaller embedded devices, though today's AlienVault blog post [1] showed that Mitel VoIP systems (which use Debian/ARM, if I recall) use bash and are vulnerable.

[1] http://www.alienvault.com/open-threat-exchange/blog/attacker...
I didn't realize graphite was officially dead. I must say, however, that it was the shittiest piece of software I've ever relied on and loved.
No, busybox is not affected.