skysight-inc/HackerNews huggingface dataset:
I think you have to have followed Calvin and Hobbes all the way through its run. If you did there's is so much good will that flows back when you see a new example of his art after all these years that it really doesn't matter what he draws.

Although sadly for me he really hits his stride in the last strip of the series.

http://www.gocomics.com/pearlsbeforeswine/2014/06/07#.U5Lhtv...
Bootstrap select
We have a fast MD5 implementation available through ngx_lua so using it is easy. Using one of the hashes you propose would have meant creating an API to access one of them and adding them.
You couldn't write a generic tree that packs the ints closely together, no. But you could write a non-generic tree that does.

Also, Dave was talking about Lists, which you certainly can have packed with ints trivially in Go. And every piece of software I've worked on uses approximately a million times as many lists as trees. Obviously, this is application-specific, but I think it's pretty fair to say that most programs will use a lot more lists than trees. If your application uses a lot of trees, Go is probably the wrong language for you, unless you're willing to make a tradeoff by using code generation to generate type-specific implementations.
I am not sure either how he inferred from Andreessen's tweets that there was any paradox in Silicon Valley not paying for the safety net.

From a (n admittedly somewhat utopian) techno-libertarian POV, couldn't Andreessen mean that Silicon Valley will be providing that safety net itself by making it affordable through technology?

Silicon Valley won't "pay" for the safety net, it will get paid for it.
Why is it not called HTTP/1.2? Or, how will clients (or servers) tell the difference between a peer implementing RFC 2616 (HTTP/1.1 old version) and RFC 723x (HTTP/1.1 new version)?

Could it be that there is so much software hardcoded to look for "HTTP/1.1" that a "HTTP/1.2" string would break them all?
Uber has definitely cut down on the drinking and driving of my friends, no question.
For some things. For many things they are pretty equivalent.

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

And Java uses a lot more memory, which is what the article was talking about adversely impacting execution speed.
I think he's hitting the right keys though
Does anyone actually want to play Fruit Ninja on their TV? (Yeah, I know it's just a demonstration.)

Cool tech though.
Impulsive Solar Flare and Meteor Burns Bright for a Brief Moment 3D
RFC2616 is Dead
> But you could write a non-generic tree that does.

As you could in Java.

> Also, Dave was talking about Lists, which you certainly can have packed with ints trivially in Go.

What lists? Array lists? Linked lists? Skip lists? Concurrent array lists? Concurrent linked lists? Concurrent skip lists? Go gives you packed ints for only one kind of list.

> If your application uses a lot of trees, Go is probably the wrong language for you.

Or if it uses any advanced data structure that Go simply doesn't have, let alone concurrent data types (Java has such a rich collection of data structures, usually with state-of-the-art implementations). Or if you need dynamic code loading. Or embedding a scripting language.

I actually think Go is a very nice language, but Java is much more appropriate for serious, long-running, high-performance server-side apps.
Piano hand movements would most likely also be easier for the software to reliably track, and some people might like the gimmickry of "air keyboards" for live performance
Let me blow you mind: where I'm working we're slightly smaller than this, after 6 years, with no funding at all. And we've built an amazing product entirely bases in what oud customers actually need.
As Internet behemoths rise, Chattanooga highlights a different path
Even with handheld POS machines, those can still be modified to contain skimming equipment, everything has been done. Its crazy. If everyone went back to cash would save us all a lot of hassle.
That's a bad assumption. You're saying I shouldn't commit code to GitHub until it's ready for release?
And is _tremendously_ poisonous. Fuel leaks or even unburned vapors would be hugely problematic.

The other problem is that you need energy to form ammonia in the first place. Turns out you can use chemical bonds for storage in other compounds as well, including simple hydrocarbon chains forming either gases or liquids. Sabatier process and Fischer-Tropsch process will both create fuels (gas and liquid, respectively), given a hydrogen and carbon feedstock, and input energy.

Turns out the ocean contains a great deal of hydrogen (combined with oxygen as water) and carbon (dissolved as carbonate/bicarbonate and as CO2 gas dissolved in water). And the stuff is really safe to handle and we've been burning it for well over a century.

The US Navy has been researching developing this to industrial scales, and it strikes me as among the better bets I've seen for providing a liquid transportation / mobile use fuel we've got: http://redd.it/22k71x
Touchless is kind of opposite of what I want. Haptics are important.

In almost every situation I'd rather have a physical knob or button. If I'm sitting down at a desk or on my couch and putting on a ring, I might as well be picking up a controller or remote that have instant action and tactile feedback.

I suppose all these hand waving hardware startups share the Minority Report vision for interfaces.
Bonus to the kill-and-bring-to-the-hospital method of spider bites: over millions of years genetic pressure will teach spiders their lesson and they'll stop biting humans.
http://www.qwantz.com/ is pretty interesting as well. the same art every time.
Misleading title. Semiconductor lasers are in general already >30% efficient there is no way to make a laser 250x more efficient. The researchers only improved a special type of laser (polariton laser)
He could just be talking about comics in newspapers. The art form he practiced, not what’s going on elsewhere. That's certainly how I understood it.
consider a case like trello - it can appeal to project managers as well as holiday planners. If you go ona benefit, perhaps you may end up making a choice between the user group. But if you go the feature way - you may talk sense for both of them.
I often wonder this when thinking about the local fauna here in Australia. So much of it can kill a mammal of human size ridiculously quickly, but there really isn't anything in the fossil record to warrant such destructive power.

It's like the insects and snakes (and lots of other animals) of Australia got caught up in the equivalent of a cold war that has led to mutually assured destruction on both sides.
Well, already good performing languages like e.g. C++ (and partially Java) don't need this kind of treatment ;-)
I'm Brazilian and I won't go to the world cup, here is why [video]
Go should replace Java in Android Development
Is your toy server open source? I would love to see the source.
Reliable, convenient, timely, and available anywhere. Those are all pretty significant since bars are not always in downtown cores, and taxis rarely patrol around house parties.
As someone with a bit of experience scaling PHP, it seems to me that the main problem with the language is not its raw performance (which seems on a par with its more cousins Python and Ruby) but rather its single-request model. For every request, mod_php creates a new interpreter, which has to do all the work to set up the framework, auto-loading the required classes, reading additional data every time. What's more, the request has to create a new database connection for every request; the single-request model doesn't allow the use of a database pool. (This doesn't change fundamentally with handlers other than mod_php, such as php-fpm.)

With languages like Python and Ruby, not to mention Java, a single interpreter process or thread can handle many requests and can re-use the database connection. In PHP, you're forced to do all the set-up all over again for every request. This is particularly wasteful with frameworks like Laravel, which do a non-trivial amount of work for setting up the application object, IoC controller.

Am I missing something here? I can't believe companies using PHP on a larger scale, like Facebook, discard and re-create the application environment and all DB connections (!) for every single request.
Judge Orders NSA To Stop Destroying Evidence – For The Third Time
Having just built a docset for Python 2.2.1 [1], I think the issue with search is that it relies on generated indexes. If the index does not include the keyword you're looking for, it won't return anything. For example, in my docset I've indexed all modules, which is what I'm usually interested in, but not the entire language specification (although it's in the actual package).

[1] http://blog.pythonaro.com/2014/06/dash-docset-for-python-221...
That seems correct. He discovered it while creating the coq specification but coq wasn't itself used to discover the bug. He confirmed that much in this podcast (It's in Japanese though): http://mozaic.fm/post/88061749963/4-security-protocol.
Whataboutism / tu quoque fallacy: http://en.wikipedia.org/wiki/Whataboutism

The matter at question here is garments and garment workers. So that's what's being discussed.

If you want to discuss electronics manufacturing conditions and circumstances, you're more than welcome to post your own item on those topics (and they've been covered here before).
Building a package is very easy, it's more a question of how parsable / structured your documentation is. I don't know how those manuals are distributed, but if you have an HTML version, it should be doable.
Yeeeeeeeees. Doubly important for international shipping. Countless times did I have to go through Amazon's checkout only to find out they won't ship a given item internationally (or that it costs >100$).
I'd really like to know what the legal framework is for securing a market position by law.

I constantly hear the argument that by codifying contemporary business models they've secured jobs.

Using this logic we should still have manually switched phone networks where people move around cables on giant boards all day long and rooms full of people using typewriters who have to start over again if they have a spelling error. There should be artificial $1 taxes for emails to keep the physical post in business and other nonsense.

I really don't see how the argument is valid.

I'm just surprised that there isn't some landmark labor case that would invalidate laws which artificially perpetuate inefficient vestigial processes or explicitly ban a market from evolving.
Compared to how it looked before - great job!
Pastis is no stranger to playing with panel structure too. I guess most of the cartoonists had the idea at some point.
I don't know about mod_php, but PHP can handle multiple requests in one process for some SAPIs. Also, opcode caching can improve things.

Further, I think PHP's request model is a good thing. It makes web programming easier and makes PHP resistant against memory leaks.
> Well the SQL server won't actually run an invalid query, so what's your point?

To avoid runtime errors, I suppose.

As for "DELETE FROM table", I would say it's not any likelier to happen with an ORM than without. I haven't experienced issues of this sort, at least. The problem is more to build efficient, complex SELECT queries without getting a bad surprise performance-wise once in production.
Sigh, again another PHP is bad, please give me attention, rant...

Nobody is forcing people to use it.
I disagree. If it doesn't implement much of PHP, it is not PHP.
University of Reading staging Turing Test at the Royal Society today
There's a video a trailer to the event. https://www.youtube.com/watch?v=0Hgw9RVwbaw
Two more for the list:

Sinfest: http://sinfest.net

Why you should check it out: Great illustrations. Mid-to-Long story arcs, with single shorts thrown in full color panels on Sundays. And it is SFW.

Questionable Content: http://questionablecontent.net

Some find it a bit insipid and too self-referential at times, but it has it's brilliant moments. Also (mostly) SFW.
Indeed, I feared they suggested something viable, but luckily, nothing of the sort.

A proprietary, centralized communication service is about the last thing the world needs, ripe for monopolistic abuse due to its network effect based lock-in, and at a high risk of attracting attention from all kinds of unwelcome organizations (intelligence agencies and the like), for no sensible reason at all, given that the transport layer below allows direct communication for federated and peer-to-peer services.
What? Put a cap on the tank. What I mean is you can store ammonia in pressure vessels, same as we do with LPG for cars or barbecues.

Edit: hit update accidentally.
If you don't like PHP, you're in luck! There are many, many, many other languages you can use.

Let other people make their own choices, no need to rant about a language you dislike to try and convince them to not use it.
I couldn't get past the paragraph analogy. I'm sure they thought it was clever, but actually it was unnecessary, inaccurate (as all analogies tend to be) and portrays the person the article should be targeting as a dumbass.
I strongly agree.

What are the reasons for not showing shipping fees?

Is it a bit complicated? (Like US sales tax)

Or is it just a desire to show the lowest cost possible until the customer has almost finished the buying process, and then spring an $X charge and hope they don't abandon the cart?

Ebay UK and Amazon UK seem to mostly have this right. I wanted to buy a book. I found plenty at £0.01 but the shipping was clearly listed at £2.whatever. This makes me much more likely to actually buy.

(Incidentally the book was John Allen Paulos's "a mathematician reads the newspaper". A bargain at a few quid.)
I would change hours to minutes.
Indeed. I heard someone comment that every FP conference will be doing a 'victory lap' due to Apple's announcement. At the very least, I hope people/devs will explore ML based languages for their next project.

It would be interesting to get your take on the toolstack we're building using OCaml - http://nymote.org (I'm aware the copy on the site needs works but it's the tools I'm referring to).
Cable Companies Are Astroturfing Fake Consumer Support To End Net Neutrality
Unfortunately, Go's compiler is not as fast as it could be; most of the optimizations presented here were already made by compilers in the 80s.

The fact that modern compilers are a really complex piece of software that took dozens of years to write and improve to the state we are at doesn't helps. Hopefully, switching to a compiler written in pure Go in Go1.4 (IIRC) will allow code maintainers to benefit of Go's simplicity.
Not exactly a comic, but MATT from the telegraph often cracks me up no end:

http://telegraph.newsprints.co.uk/view/14935264/tg3482987_ma...
> compatibility with great libraries and mature full-featured frameworks

So as I said I've been doing PHP. And I have yet to see one of those unicorns in PHP-land. In fact, my first gut reaction was that you're being sarcastic up there.
There's a slight complication with international shipping, but it's not related to this post.

Some carriers will 'helpfully' inspect the imported goods, work out what the import duties are, and then ask you to pay those duties and a fee to cover the work they did before they release the goods to you. I have no idea what they'd do if you presented them with a receipt showing that you had already paid the import duties on the item. It is very frustrating to pay a lot of money for shipping and the. Have to pay extra for an unwanted service.
I am sorry but this is one of those posts (from 2012, no less) that should be killed by dang because it only instigates a black hole of useless discussions and adds absolutely no value. Do yourself a favor, save your brain cells, do whatever you think is productive and nice this weekend. Sometimes it's better to just ignore trolls.
Off topic, but I've never seen anyone use Python docstring format to quote text like that on HN. It's actually not a bad idea.
Yes for dead code elimination and function inlining, not so sure about escape analysis. The author acknowledges that, but there's a detail in Go: it does the function inlining at compile time (unlike e.g. Java JITs), but still manages to inline across compilation units (unlike C++, modulo LTO).

That's nice, and presumably what he wanted to point out. It's also nice that in Go, these things are very straight forward due to the overall simplicity of the system (unlike C++). The dead code elimination is just a supporting fact for why that's useful, and again works across compilation boundaries.

I'm not sure about your assertion of escape analysis, at least Java JITs only learned that trick as of lately, and are still pretty bad at it. C++ again suffers from cross-compilation unit visibility; even if your LTO can detect an inlineable call, its AFAIK not possible at that time to move heap allocations to the stack.

This is an interesting pattern in Go, the longer one looks at it, the more you understand that it's a whole bunch of good decisions in various subsystems coming together.
There is one major reason why PHP is so popular:

The step from HTML only to a slightly enhanced webpage with dynamic elements is easier than with any other language (JS included).

Combine that with the simplicity of mod_apache (that is available on almost every web host) and it is the easiest way into programming.

Create a mod_[ruby|python] that just evaluates ERB/Jinja templates and is as simple to integrate into apache and you might be able to do something good.
I doubt everyone who has to use PHP at work wants to be doing it, some of them are forced to by their circumstances. How else do you think these sorts of articles come to be?
Previous discussion: https://news.ycombinator.com/item?id=3820431
I'll just leave this right here: http://news.softpedia.com/news/Google-Mocks-the-NSA-in-Code-...

This is a crappy article in a number of ways, especially in not explaining the difference between encryption provided by and controlled by Google that leaves your data in the clear from Google's point of view and end to end encryption where you control the keys. It fogs up an issue that Google is, much to their credit, shining a light on with the End to End tool.
More people trying this and learning from previous mistakes (of others) is a good thing. For example, here's a TLS implementation in pure OCaml https://github.com/mirleft/ocaml-tls

I'm glad Stripe is helping with things like this. It raises awareness of critical things we all use and encourages others to think about getting involved.
Can we stop these post, it was fun once but that start to be really boring.

PHP is badly conceived, we all know that, get over it !
> whether or not what they're doing is consistent with the relevant research and best practices from academia

Best practices do not come from academia. Especially not regarding software engineering.
A great example, image search already being fairly common (and being useful to all sorts of purposes)
It's strange that, given how badly designed PHP really is, it's so surprisingly flexible that things like my PHP preprocessor can exist:
https://news.ycombinator.com/item?id=7861616

I'm sure you could write a shorter, (maybe) faster, cleaner preprocessor for Python, Java or Erlang, but I'm not sure it would be a viable solution, there. With PHP, I got this 'mostly unused hash comments' thing readily available, like a low-hanging fruit. And then, there was token_get_all() - the squeezer...
The argument is that the two should be able to transparently interop together, and specifically that RFC 723[0-5] simply codifies the way HTTP/1.1 already works in the real world.

We'll see how well that goes.
There are large PHP production applications out there that can't easily be rewritten overnight (e.g. Facebook's frontend), a better PHP parser is a great improvement for those cases.
You know of ammonia as a liquid because it's in solution with water. Anhydrous Ammonia is a gas at atmospheric pressure and is extremely dangerous. We had a 400lb bottle of "pure" ammonia connected to a blue-print machine in the '80's and it was the one thing in the plant I was truly afraid of (we also made and "stuffed" circuit boards and there were plenty of dangerous chemicals around).
Because it does not really change the protocol. It clarifies details and implements spec fixes (e.g. matches the spec better to actual real-world use).
How to save a sinking canoe
404 does not instruct users to delete bookmarks, whereas 410 is the code with approximately those semantics.
I find it pretty funny, but this kind of humor is not for everybody. All people have tastes, so if it's not in yours, that's OK. And the world's best cartoonist doesn't owe us anything - including leaving us in tears. I think if you one likes him - one should be grateful for the opportunity to enjoy his talent once again. And if it's not your cup of tea - well, there are many other things to enjoy :)
I agree, although there are also other benefits of dynamic typing.

With modern type systems employing structural subtyping, row polymorphism, proper variance and covariance handling and other advanced techniques static typing becomes a very powerful tool.

On the other hand, there are correct programs which we still don't know how to type. This means that there are programs we just can't write in statically typed languages, at least not yet.

Anyway, I'm not arguing against or in favour of static or dynamic typing. I'm simply stating the fact that choosing one over the other is still just a matter of preference and personal decision about which set of tradeoffs you like better.

It's exactly the same as with Vim vs. Emacs debate. I can't believe I got downvoted because of pointing this out. I believe that there is a place and a good way of discussing relative merits of static and dynamic type systems, but simply stating your preference in a thread about something unrelated is most definitely not a good way.
But it's terrible for performance. The performance of trivial ajax requests is completely dominated by framework setup time, in my experience with Zend based code.
You just need to get used to incorporating Dash into your workflow. If it helps convincing you, Dash also has tabs and uses the same shortcuts as Chrome.
"Security hole" is a loud title. Is it worth a blog post at all? meh
Thanks for telling me.
Speaking of chorded keyboards, see also http://en.wikipedia.org/wiki/Stenotype

I've never used one, but I want to. They're so expensive, though :(
He s right for the mailing list though. I regret there is not more discussion happening there
Ask HN: what are the elements of a great accelerator?
I am committed to start an accelerator in my country (Dominican Republic). What are the most important elements of a Great Accelerator?
Can you please post a link to xbet?
The only one I found is this one [1], which I doubt to be using XCP.

[1] http://xbet.ucoz.com/
For someone new with PHP, this might be an eye-opener.

How long would the list of problems be for any other non-statically typed language? Like for example, Javascript?
whats "SPV"?
How to prevent your boss and coworkers from seeing WIP projects
Hide everything on your monitor from others. Only you can see using special glasses. DIY for any LCD monitor and hacker
Check out the Corderoy project from Bengler: http://bengler.no/chorder

It's still just prototypes, but sounds like someone is working on just what you ask about.
You do realize that while these conditions are awful, they're much better the alternatives? It's idiotic to "fight" Foxconn factories when they see no lack of those willing to work in these conditions. If you really want to help, you should improve the whole economical situation in these countries, and you'll find that although that's not their goal, it's exactly what Foxconn, Nike and others accused of "worker abuse" are doing.
UID-based package management (2007)