skysight-inc/HackerNews huggingface dataset:
What is it they say, a day late and a dollar short?

LiteSpeed was released at right around the same time as nginx, and there was a lot of hype about it at the time. In terms of performance, they were fairly neck-and-neck but one was completely free and the other, well, wasn't.

Now, after pretty much the entire web has rallied behind nginx as the new defacto open source HTTP web server (definitely replacing Apache as the server of choice for new deployments), they choose to release it open source? And GPLv3 to boot (compared to nginx's awesome BSD-based license).

Here's from Wikipedia:

According to a Netcraft May 2006 web server survey, LiteSpeed powered over 254,000 domains and was the 6th most popular web server platform in the world.[3] By August 2007 it had fallen to the 19th position, with its customer base falling below 150,000;[4] however, it rebounded to the 11th position as of January 2008, with its customer base raising above 430,000,[5] only to drop to 26th by January 2009 with a base below 90,000.[6] According to W3Techs, it is used by 1.9% of all websites.[7]

This move would have saved them.... 7 years ago. LiteSpeed won't poach any of nginx's userbase, but it's compatibility with Apache configuration might, just might give it some ex-Apache users.... then again, Apache still wins out in terms of license (Apache, obviously), community support, modules, etc. [EDIT: See comments below. No Apache compatibility for the free version]

For example, SPDY and mod_pagespeed are huge fads right now. Apache and Nginx have both, thanks to awesome contributors and Google itself. I don't see LiteSpeed getting this tech for a while.
Find Growth Before Hiring A Growth Hacker
Prediabetes FAQs
Stella is a boy?
But even with a generator, as you would get from range in Python 3, the assignment

a, *b = range(10)

makes b into a list. (And I think the star syntax in assignments is only Python 3, as far as I remember Python 2 only has star in argument lists of functions.)
I think one of the greatest and least talked about advantages of the electric car can be illustrated by the following graphs

http://media.cns-snc.ca/ontarioelectricity/ontarioelectricit...

The website displays Ontario's (Province in Canada) hourly electricity output and the source of the electricity. Daily electricity demand fluctuates in Ontario by thousands of MW, so much so that houses in Ontario are now fitted with time of use meters, which charge variable rates depending on the time of the day. These meters are going to be installed in your neighborhood if they aren't already.

Now where do electric cars come into the mix? During the day, electricity consumption reaches a peak, and consumer prices are doubled from ~6c/KWh to ~12c/KWh. This isn't a cash grab, different facilities charge different rates for electricity generation depending on a bunch of different factors. With millions of electric cars, and with the aid of a "smart grid" that could learn to supply power to cars during the night and drain a small portion of power during the day, the massive fluctuations of electricity production through-out the day could be flattened out, and "dirty" backup plants could be taken offline. As a car owner, you could possibly be paid for you're car's storage capacity when electricity prices spike.

Another benefit of going electric, the ICE (Internal Combustion Engine) is wasteful. ICEs work most efficiently at a specific rpm, which is hard to maintain when your car demands that torque to be dynamic, energy is lost at the transmission stage. ICEs need to be cooled down, the vast majority of energy is lost to heat. Take that same fuel but instead use it to power a steam turbine, and you capture much more thermal energy from the fuel. Electric motors also boast efficiency values upwards of 90%

And finally, electric engines when at a stop don't use electricity. I don't know the stats on this one but I would have to bet that billions of liters of gas are burned each year at stop lights, traffic, and at warm up. You can also regenerate energy through breaking in an electric car, instead of turning it straight to heat at the break pad.

Sure there are other points to be made, and sure my comment was probably disjointed, but as a mech eng, I lose sleep at how inefficient the ICE is. I dream of the day when battery density, and cost come down significantly and make it more affordable for a middle class family to own one of these cars.
Why is it OK to be rude through abbreviations?

You'd get heavily downvoted for asking "Did Peter Norvig not read the fucking article?", yet that's exactly what you've put into everyone's mind with your comment.
Ford's market cap is 55B. TSLA's current market cap is ~9B at a stock price of ~$77. If TSLA's market cap were 55B (~6x greater), then, assuming no stock splits, its stock price would be $462/share.
I personally use enums more than I declare them, so I don't mind a little bit of namedtuple-like repetitive syntax. I'm already used to namedtuple, so I don't see anything wrong with reusing that syntax for enum. It's Python, not a brand-new programming language.

I will admit I kind of like Java's syntax for enums because it makes it very clear what exactly an enum is: a class with a bounded set of instances:

enum Month {
JANUARY(31, "Jan"),
FEBRUARY(28, "Feb"),
MARCH(31, "Mar"),
...;

Month(int days, String abbreviation) { ... }
}

(But honestly, Java enums have a number of annoyances and feel very "tacked on" like generics do.)
Nobody has suggested Umberto Eco yet.I would try The Island of the Day Before or Baudolino before Foucault's Pendulum.

Alistair Reynolds is space opera done nicely (if you want to look in that direction). Chasm City stands on its own, but there are some similar works there.

Twain fits in with some of your other comments.
I use Ada (a proper noun) regularly. It is not a functional language, but encourages a lot of the same things that functional people like to talk about. Ada is a wonderful language to use. It's rather boring and uneventful and is not accompanied by buzz words, but most of the Ada folks I know (converts or otherwise) all suggest that they're accomplishing more in less time with fewer bugs than they get with other languages. A lot of the new, buzzy languages seem to be solving problems that Ada took care of in the 80s and 90s. It's definitely worth a look if only to improve your approaches to software.

Edited for fun and grammar!
How about applying the common aesthetic/architectural standard: 'of the medium' == good. With CSS that means declarative, not procedural i.e SASS/LESS etc would be considered a bad thing.
The last modified date on http://phil.ipal.org/tc217.gif is 12 Dec 1999, which was 3 years before the last patent expired.
Global carbon dioxide in atmosphere passes milestone level
Hate to break it to you, but the only thing that will happen is that more plants will be converted to burning oil. You won't have car exhaust, but you'll end up burning fossil fuels to power your vehicle all the same.
I already pre-ordered my copy via Amazon. I love how Stroustrup writes his books. Concise.
Like most government "partner" projects, this one will most likely end with the big corp sucking as much free money from the feds (i.e. us the taxpayers) as they can, then after the initial domestic project is built out, they'll dismantle everything in the States and ship it off to the part of the world that has the cheapest labor pool. The rich get richer, and the taxpayers get shafted once again.
>The fact of the matter is that there will never be a way to deliver confidential data to people you can't trust.

See DRM.
A gist of the entire Predis library on the blog post? That's a bit… inefficient… to say the least.
From the article:
"While using more than 256 colors in GIF is in most cases a bad practice, and should be limited to certain technical cases where extreme size can be tolerated"

Why would anybody do this, ever (aside from intellectual curiosity)? GIF is a dead format except for very simple small-palette logos, or simple animations.

It was one of those rare formats that everyone knew sucked when it was popular, and we were just itching for it to die. Now it's (mostly) dead, the world is better, and I can't imagine why anyone would ever use it for anything that wasn't a flat-color logo.
Internet explorer (10) doesn't even render it properly in the first place.

(http://i.imgur.com/R87CGQ4.png)
You make some good points. I prefer to just buy outright versus the monthly fee.
What works for me is telling other people about my project so there is some sort of social pressure to finish it. Also: spend some money on it. For example, hire a designer to create some nice logos for your app. As soon as you've spent some money on it, you'll have another trigger to finish the project, because it would be a waste of money if you don't.
It's sort of an accident: the inventor of ML (which SML, OCaml, and F# are descended from, and Haskell has liberally borrowed from) is the "Milner" in Hindley-Milner type checking, and algebraic types are one of the things that make Hindley-Milner useful.

Anyone who's used the object-oriented part of OCaml can tell you that inheritance can mix with Hindley-Milner awkwardly... but I'm not sure that really means algebraic types and pattern matching couldn't be integrated into Java, Python, or whatever somehow. For all I know, maybe it's already on the way into C++...
> but it's compatibility with Apache configuration might, just might give it some ex-Apache users

Looks like this open source version doesn't even offer Apache compatibility. That's for the "Enterprise" version only. From their home page:

"LiteSpeed Enterprise Edition provides some features above and beyond OpenLiteSpeed: hosting control panel compatibility, .htaccess file compatibility, mod_security compatibility, and page caching."

I'm not sure why would anyone want to use this instead of Nginx.
Finally, a convenient way to delete your facebook account with fewer hoops to jump through.
It sounds like they are finding numbers to support the specific application of the bazaar and cathedral models for projects.

I don't completely agree with the methods (static analysis), or the sample size (368 projects), they used, but they were consistant when measuring. (Which is better than most project quality metrics)
That works for the kind of people who frequent HN. With lower-end jobs, there may not be a large enough difference between average and best to matter. Most of the people interviewed for the articles were seeking relatively unskilled positions.
> Well, a shiv is a homemade knife-like implement, such as one created and used in a prison environment.

You've clearly never done hard time up at IE6 Zero-Security Penitentiary.
Groklaw coverage: http://www.groklaw.net/article.php?story=20130510155818152
My takeaway was don't try this yourself (unless commercial real estate development is your actual business).

It was a great read, and I appreciate that he put it up. But, wow, what a nightmarish, exasperating, multi-year, high-risk distraction to one's core business.
The amount of planning that goes into erecting a building is mind boggling.

I'm pretty damn thankful that as a software engineer changes are just a click away.

I really hope I am around to see the advent of 3D printed buildings. Maybe in the future general contractors will actually be programmers who take your spec and code out the program for the 3D building printer.
Maxmind's database is 1) huge in filesize 2) not as extensive as some 3rd parties (like Google, Yahoo, and Bing), and 3) updated monthly which adds another task to your workflow.

Given that the example use is to track where clicks are coming from, those three sound like dealbreakers.
Please don't assume this will work on all Unixes. killall... sometimes... really kills all.
Whereas guitars are tuned by setting the dominant frequency of each string to a fixed reference, which can be easily automated, this is not the case for a piano.

This is because each piano string is governed by a non-linear differential equation describing its motion. The overtones therefore are not simple multiples of the fundamental frequency but instead appear displaced from where they would naively be expected. Although there is a strong systematic variation to these displacements, there is also a random component, rooted in difficult-to-characterize variations in the manufacture of each string.

Thus, each string unto itself has a unique Fourier spectra, and not only do the fundamentals need to be matched in frequency so as to minimize dissonance, but the higher modes as well.

Thus, ach piano has its own tuning, unique its constituent parts. (And, there may be multiple tunings for a single piano.)

Further, we do not have an adequate mathematical characterization of the sensation of 'dissonance' and thus the job of a professional piano tuner is to minimize this sensation when a pair of strings is played.

Though there are electronic systems for selecting the proper piano string fundamental, they can differ by as much as ten cents (10% of the distance between one note and the next) from a professional tuning.

Therefore, we can put a man on the moon, but we do not know how to tune a piano!
Which Y Combinator startups are hiring interns in NYC?
They're referred to as general cognitive ability tests, general intelligence tests, general mental ability, GMA.

All of the OP's links mention them, just not by the lable IQ test.
Make it easy for me to vote with my wallet
You nailed it. The point of my story was that there may be more going on which isn't evident from this response. I don't agree with what's apparently happened here, but we don't have the whole story, either.

Full disclosure: I have no horse in this race. I use fluxbox and eschew all "desktop environments" on Linux.
So Rosa Parks was the bad guy?
I found this link a helpful (in analyzing popular figures) explanation of the difference: http://www.diffen.com/difference/Psychopath_vs_Sociopath

I realize this is not from the DSM.
You know, apache 2.4 is quite comparable to nginx in performance and overall badaness. I wouldn't write Apache off so easily.
But right now their "wire" costs $50 or so a month. Their users currently pay them $60 more for a standard lineup and $10 for HBO on top of that (rough numbers). What happens when those users can get all that content through the $50 connection and start cancelling their TV? A 100+% price hike would be a tough needle to thread.
I definitely like the addition of faster.
This is what kills me. People in the tech community seem to think that electric outlets grow on trees or something. Apparently an electric car takes about as much power as a TV set or PS3, electricity will always be readily available at a fraction of the cost of gasoline or diesel, and we can all have a pony when we grow up.

It's great that we're starting to take alternative energy seriously in the US, but the fact that no one is looking at distribution and load-management issues -- up to and including the mandatory standardization of swappable battery modules for EVs -- is really disconcerting.

We're patting ourselves on the back for looking ahead, but we're not looking far enough.
A charitable interpretation of walshem's comment would be that he believes her actions were moral but not ethical.
Visualizing Commercial Real Estate Data: Manhattan
if you're technical enough to set up Redis I'd think you're technical enough to ditch Wordpress silliness and just publish statically.
We have a program like this for BBQ gas bottles in melbourne (possibly nation wide, I've never checked). Works well - you swap your empty bottle with a full one, pay and take it home.

No filling up and you know you have a safe bottle that has been checked (in Australia you cannot use one that is older than 10 years). Funnily enough you also get less precious about its "performance" - as long as it works, users tend to lover look the appearance.

Car batteries are a different matter but I think there are some valid parallels here.
@thejerz, article author here.

1) I didn't write this while on the job at Appfolio. I wrote it at home, in my spare time, because I like sharing the things I've learned on the job with the rest of the Web community. Based on the upvotes and overwhelmingly positive responses I've received, I think it's worth my time.

2) My work on the CSS for Appfolio Property Manager has greatly helped the development team (mostly back-enders) and sped up the process. We can release features much faster because of it. I'm sorry they're not the features you want (that's not my call), but if/when we deliver those features they'll get to you quicker because of my work.
> LiteSpeed Enterprise Edition provides some features above and beyond OpenLiteSpeed...

I can't get around the fact that any bug fixes, improvements, or edits to the GPL code will not be portable into the non-GPL branch.

I'd imagine that's a huge issue that stops most businesses from doing the 2 edition thing - community/open-source and pro edition.

Does anyone know of a license that allows this?
"No one tried or needed to generate images with more than 256 colors since they could not be viewed on anything less than high priced graphics workstations."

Except that given this refers to the late 80's, Amigas had been displaying 4096 colors since the mid 80s. Not millions of colours until the early 90s but still a far cry from the 256 colours of the average PC.

(No, gif was not a native datatype, but the Amiga was remarkably ahead of its time with plug-able file formats.)
A note about how you get things done.
Ben Bernanke A calm but cheerful week for the U.S. economy
A calm but cheerful week for the U.S. economy
Federal Reserve Chairman Ben Bernanke spoke
This week unlike the prior one had few economical data and reports released and therefore were
This is a huge problem for "open core" projects. The open-source core will never be able to implement the "Enterprise" features that are charged for, so open source projects without this split will win out.
And it's reusable in other countries [1] (I made one that works in Ireland [2]).

[1] http://code.fixmystreet.com

[2] http://fixmystreet.ie
if contributions require copyright assignment they are free to relicense the code.
Don't Go To Grad School
Thanks for posing this. I am going to pursue it.
Stop developing for the 90% use case
Yeah, Musk talked about this in several interviews. Basically, the average efficiency for energy generation at the power plant is 60%, because the power plant is able to capture a lot of waste and reuse it. Whereas the efficiency of energy generation in an internal combustion engine is about 20%. Therefore, if all cars switched to electric, we would be looking at a 200% increase in efficiency in car transportation.
Their VPS licensing still perplexes me given the movement to VM based infrastructure.

"VPS license is a limited edition with the restriction of 2G memory and 500 concurrent connections.
VPS license will NOT run on a server with more than 2GB of memory."
So what exactly was Orwellian about my terminology? I missed the point where you said that.

You have basically dodged my argument about taxes an economic efficiency. By your logic, a policy that destroys $1 worth of real goods in a randomly selected company, and provides 10c of wealth to a "worker", would be justified. This in spite of the fact that the taxation system could accomplish a much more efficient redistribution of wealth.

Why are you arguing about H-1B visas when you really should be arguing for higher taxes (for the top 10% of income earners).
Now if only he would take that conciseness across to his programming language design. :P

(I kid, I kid... please don't hurt me?)
I might as well make it easy for people to do exactly that. Just put your zip code into this site:

http://whoismyrepresentative.com/

Click on the representative(s) you want to contact and you'll get all of their contact information. From everything I've heard, contacting them by phone is the single best way to get attention. The less effort you put into contacting them, the less they think you care. So show them how much you care.
YAY!! I preordered months ago. Can't wait!
Richwine's Harvard PhD: The Committee and Dean Respond
Initialisms like "RTFA" lose their literal intensity through overuse.
>Conceptually, the two constructs have completely different uses.

I'm not the one you replied to, and it's tough to not sound sarcastic on the internet, but I'm honestly curious what the purpose of an Enum type is. I didn't really get their purpose when I took Java I, and I don't really see why Python needs them.

What is the advantage of declaring an Enum vs something like,

VALUE_ONE, VALUE_TWO, VALUE_THREE = range(3)

?
The worst offender I could think of: U.S. Patent 4,197,590, the XOR Cursor patent.

http://groups.csail.mit.edu/mac/classes/6.805/articles/int-p...
It's not just subsidies for gasoline (and oil exploration) to worry about, it's the externalities they carry.
Or Facebook can just as easily block them from API access.
Spear Phishing using Facebook activity
This debate is silly. Yes, obviously ridiculous clients like this are bad news and should be avoided, but yes, technically there probably is a price I would accept. Even if you're going to ruin my reputation and my career, I would still probably do the task for, say, 100 billion dollars.
If Bjarne had been able to keep C++ his own creation instead of letting the "standards" people come in and take the thing over, C++ might have avoided becoming the over-designed language its become. Anyone recall the differences between [const const {star}], [const {star} const], etc ?

Language design has come a long way since the early 80's. His concerns back then were a programming language that would retain the performance of 'C' on most hardware and be straightforward to generate from 'C' code due to re-use of the 'C' syntax (the early C++ systems relied on converters that translated C++ to 'C'). Over time compilers were created to generate machine code straight from C++. When 4k was a lot of RAM, it made sense to focus on this; it still does if you're developing embedded software with very limited hardware. (FWIW, I've written software in C++ since 1990).

I'd argue hard that today, in most cases, and in particular in web applications, the issue is developer productivity. Today we're focusing more on expressing solutions in code that are much closer to the way that we think. Whether it's Ruby, F#, Scala, or Javascript, the tools we're using allow for more powerful solutions in far less code and complexity than C++.

Let the flames begin..
Well, to me RTFA is such a common expression that I don't even associate it with the original words anymore; it has become a word on its own.
Hey what do you think "auto" is for?

It's true that it's hard to shrink a language, but several of C++'s new features are designed to make modern designs expressible in much more concise, elegant code.
Ask HN: What app do you use to track daily metrics on your mobile device?
I've recently started learning C++ again to get into game programming. Initially I was learning Flash/AS3 based engines, as I used to be quite a great AS2 programmer back in the day.

I want to learn to create cross-platform games, but want to get in the guts a bit more than, say, Unity lets you. So, C++ is what I decided on.

It's a beast of a language, I'll tell you that much, but it's actually really quite enjoyable to program in! It was the first real language I tried to learn when I was 12 years old. I got as far as making a text game with `switch' statements ;)

Definitely going to order this one I think. Coming from an ALGOL-derived language background for the most part, having something like this as a reference will be brilliant, and a good addition to go with my `Pro C++' book (handles architecture and idioms more than the language itself per se, but does cover some advanced features).

The only thing I wish I could find was a reference on how games are actually _built_: what development patterns, what tools I'll need to write, etc. All I can find are low-level OpenGL based things for writing engines, or fluffy "Design a Game!" crap. *sigh