skysight-inc/HackerNews huggingface dataset:
* Try to quickly write the whole thing as a single recursive descent parser. Note the exploding amount of ugliness. Give up.
* Separate out the tokenizer (novel idea, huh?) to keep parser complexity down. Parser is still a mess. Ugh!
* Play around with some CL parser frameworks. This helps a bit, but none of the systems I tried produce errors with enough information.
* Remember the breeze it was to write a parser with the Haskell Parsec library. Mess around with monads for a while, learn a few things, but not how to write elegant parsers in Common Lisp.

I've been going through these exact steps but in JavaScript. Writing languages is fun! And makes me want to kill things!
What I would want in such a language is (in formal set-theoretic terms) a strict superset of Go. I would want something would run code that would also be compiled by the Go compiler, but which would also run programs that omitted type declarations. (Hence, the set of strings that are valid programs is larger than for Go, and also includes all valid Go programs.)

Such a language could be used as a REPL and dynamic debugging environment for Go. That would be utterly fantastic.
Well it's tough (though not impossible) to build a any sort of value system on top of "I exist."
Tourist visas wouldn't be adequate in our case. For example, I had some friends move to Barcelona, rent an apartment, find jobs, open a bank account and travel every weekend to different regions in Spain. Then after 2 years they decided to move to Melbourne on a holiday work visa for 2 years. Then after that they moved to the south of France.

In each case they had a work permit (one is a French national, so France doesn't count) based on some work holiday scheme. But a few of these have age or education limits.

Our next adventure is to buy a boat and circumnavigate. First we have to buy a boat, then we have to equip it to cross oceans.

BTW, Berlin does appeal to me, and I recently discovered my wife speaks a little German. What is it with the french not wanting to speak any other language?
I spend 17% of my net wage on my mortgage. I'd probably be happy doubling that once I've built up a larger rainy day reserve.
"Because the housing bubble was not driven by supply and demand." .... except in San Francisco. Everyone wants to live here, and Facebook, Twitter, etc. are turning out paper millionaires by the bushel. Expect the house prices to tick up again once Twitter IPOs. There is some construction now[1] (just walk down Market street from the Castro), but I think the number of techie millionaires being minted seems to exceed the number of dwellings under construction.

Plus: there is the externality of outside money. I've heard of buyers from PRC paying cash down, sight unseen, for properties in desirable neighborhoods [2] [3]. A lot of the analysis such as the one in this article assumes a somewhat closed market; but outside money flowing in can change the dynamics significantly.

[1] http://sf.curbed.com/archives/2013/07/25/the_40_most_notable...
[2] http://www.forbes.com/sites/kenrapoza/2013/07/10/chinese-to-...
[3] http://www.sfexaminer.com/sanfrancisco/chinese-real-estate-b...
That would seem premised on the idea that it is better to have someone barely capable in the position than to go without. In my own personal experience I'd rather be short handed than work with someone incompetent.
> "Apple’s announcement that their full iWork suite will be available for free on all new IOS devices marks a huge shift in the tech industry."

Like Office is available for free on WP devices since a while ago? I think people over-rate Apple sometimes.
Most of the differences are actually Lua-like semantics, which is perfectly in line with the author's goal of making a "Lua for Go". I suspect that v0.2 will branch out from there a little.

Personally, though, if I wanted a Lua for Go, I'd just use Lua (or maybe LuaJIT).
You're basically correct about his principles, but I feel like your post makes it sound like Schneier's just trying to save money and doesn't care about the actual lives involved.

I think an important point is that it is literally impossible to prevent all crime. Not only is it impossible, but as you try harder and harder to prevent it, you get diminishing returns and an increase in false positives (which we also want to avoid). So yeah, there has to be a tradeoff. If you can't ever get the number of deaths down to zero, then you have to decide, how low is close enough and how much are you willing to sacrifice to get there?

Right now, we're sacrificing a crap ton, and it's really not clear that it's gaining us all that much.
You bring interesting points that you may need to analyze the future requirements, but at the same time, I feel you're underselling the things you can do with a modern SQL cluster.

* Replication: Disks are cheap, data can go on as many drives and servers as you need. Master-slave replication is pretty damn bulletproof these days, and multi-master isn't as terrible as it was even a few years ago.

* Working set: All servers can have the entire working set. Additionally, features like foreign data wrappers in postgresql and federated tables in mysql mean that you can query your sharded databases, and still get aggregate results back.

* Data growth: SQL servers were Big Data before Big Data was cool. Terabyte storage clusters are no problem for an SQL database engine, with some entities having clusters in the petabyte range.

Databases are a very fast moving target of late, with competition from many fronts meaning that what was true even last year may not be true today. Additionally, with things like Postgresql's foreign data wrappers, you can choose the best data processing engine for the job -- keep the data on the databases for the nice bits of SQL, but still be able to throw it towards a hadoop cluster at a whim if needed. Using the right tool for the job is important, and equally important is keeping up with what tools are out there, because this is a rapidly evolving area of tech, and analyzing each job separately, instead of relying on any mantra, is what's needed to keep one flexible to keep up.
Perhaps his parents smoked. Mine did. All kinds of respiratory problems as a kid, mysterious miracle cure at 19 when I moved out.
Think this is all true, but when will any of these points be recognized by the masses? Never? 5 years?
It's probably my favorite of pg's essays, no wonder has been translated in several languages.
This is silly though. There are fewer than 500 Billionaires in the US. Why is that your line for the "haves"? Really you can create whatever ratio you want by drawing the "haves" line in completely arbitrary ways.
Two things:

1) I am waiting for a version using networking. I know there are security issues but there are also workarounds.

2) My notebook is hot, so I checked and the Chrome CPU console is at 25% even if I am not doing anything in the console.
As a side note, when people say "percentage of your salary" are they referring to pre or post tax? This is never clear to me and I wish people would state it explicitly.
You're flushing money every month with the interest on a mortgage + taxes + maintenance. You just have to hope that this is less than the amount you'd be paying in rent. (assuming property prices stay flat)
Is There Life After Email? Yes, And It's Amazing
This is because traditional film cameras had horrible images compared to what your eye can see. This resulted in various techniques such as movie make up and bright lighting.

Now that the camera is much better, all of those compensation techniques are now making the image look fake. The lighting is too bright, the makeup too heavy.
I hadn't considered the impact of #3, even though I knew it was a reality. Being in a position to buy a new house but not take advantage of low interest rates (because I don't want a long amortization on the mortgage), it actually makes little sense to buy right now except maybe if I planned to leverage a diminished equity in a different market.

#6 seems somewhat tinfoil-hatty.

Does anyone have some data to back up #7?

> Buyers should be rioting in the streets, demanding an end to all mortgage subsidies.

...and we went off the deep end.

#9 is incredibly specious. Why would retired people sell? Where are they going to live?

#10 is very true, however it's so difficult to trust a new home builder. Even if you know what bad construction looks like, it takes an immense amount of effort to ensure that everything is done properly and you'll probably be adding 20% onto your cost just to babysit the construction.
The point of the article that resonates with me is how frequently a technology that is poorly fit with a problem domain is selected because of conventional wisdom rather than data.

Related, it is remarkable how we developers routinely cite Knuth's advice about premature optimization to justify our decision when the shoe fits, and then turn around and flatly ignore the advice when it doesn't fit.

Selecting Hadoop before you have a specific and concrete need for it--or see that need approaching rapidly on the horizon--is in my experience often and surprisingly coupled with a disdain for other performance characteristics (because Knuth!). The developers prematurely selecting Hadoop as their data management platform will routinely be the same developers who believe it's reasonable for a web application with modest functionality to require dozens of application nodes to service concurrent request load measured in the mere thousands. The sad thing here being that application platforms and frameworks are not all that dissimilar; today, selecting something with higher performance in the application tier is relatively low-friction from a learning and effort perspective. But it's often not done. Meanwhile, selecting Hadoop on the data tier is a substantially different paradigm versus the alternative (as the article points out), so you have some debt incoming once you make that decision. And yet, this is done often enough for many of us to recognize the problem.

In my experience, for a modest web application, it's better to focus resources and effort on avoiding common and stupid mistakes that lead to performance and scale pain. Selecting Hadoop too early doesn't really do a whole lot to move the performance needle for a modest web application.

Trouble is, many web businesses are blind to the fact that they are a modest concern and not the next Facebook.
But move semantics only work with temporaries. They don't magically make every object a handle.
Evolution is such an important concept for people in general to understand. Bacteria evolve based on environmental factors (like varying levels of antibiotics), and that's eventually a very bad thing.

Viruses evolve as well, and the nasty viruses that we could eradicate entirely if we had good global vaccination coverage instead -- for a host of often-silly reasons -- get to explode in numbers in various outbreaks.

Even if a measles outbreak kills no one, it is still a huge increase in the amount of virus in the wild, and that means faster evolution.

I hate to imagine a parent who has been against vaccines (due to being duped by the anti-vaxxers) finding that their own local outbreak was the source for the super-measles virus, which isn't reliably stopped by vaccines and spreads like wildfire, or is more deadly than current strains.
There is pretty much nothing you can't do to a game you bought on steam. You can copy and modify all the files you download - in fact Valve strongly encourages doing so! You can even play on multiple machines at once over a LAN by turning off the steam client's ability to phone home.

Steam is a more like a walled national park - the walls are there, but they give you a lot more room to run around.
Most technologically advanced, forward-thinking browser
To beat on a topic that has been beaten on for years...

I wanted to hear some opinions from the HN community on what the most technologically advanced, forward thinking and robust browser is. Note that I haven't used the word "best" because that is up to interpretation. Some people might prefer Opera because of some slick feature that Chrome or Firefox don't have...heck what do I care? But this question is more of a "looking at the browsers for what they are, taking into account the framework, the features, the mission the team who creates the browser has, etc...what is the

most forward-thinking, advanced browser?
So yet another flow-based language/framework? NoFlo is another recent one. Component-based is a very common modern game programming approach BTW. Google for "component entity system". It's a very cool hobby project but will not get wide traction I'm afraid...
jhonnathanson's point about SF or Manhattan is very clear. But what is special about Atlanta? Sorry, If I am ignorant, I have never been there.
C'mon, the Latin America's biggest and most populous nation remains a long way behind the OECD average and in most cases lags behind most of its Latin American neighbors.

Research in Brazil is a joke, as anything else related to education. Privately funded research is almost non-existent and public universities have typically a 2:1 relation between staff and students - all of them are pretty inefficient. Private universities are expensive scams.
For work you'd indeed need a bit more than a tourist visum but if you just want to get a feel of a place to see if you'd like to grow some more roots then it may work if your income stream does not require invoicing others. I was on a work visum in Canada employed by a company that I held the shares in, applied for permanent resident status and never even got the papers before we decided to move again.

The French speak plenty of languages, especially the younger generation. You may have to prod them a bit and if you speak a little bit of French that may help to grease the wheels.
Introducing Churn Site to measure code churn
I plan to sneak in something similar with a capable type system and contracts for stuff that you can't express in the types. That way you could "one day" use a solver like Z3 and start proving or disproving some of the tractable contracts, without having to even change the programs. A bit like LiquidHaskell.

Not exactly dependent types, but practical, I think.
Quote: "My short answer to such a question would be that it is a ‘convenient hypocrisy’. By this I mean that it is a term used ambiguously (both consciously and unconsciously) by people with multitude of different backgrounds and intentions. However, given that it is a term that has entered common parlance, I would hope that this thesis clarifies at least three things. First of all, I have argued that speaking of a plurality of ‘digital literacies’ makes more sense than endless attempts to define ‘one literacy to rule them all’. Secondly, I have suggested the essential elements that should make up any contextualised and emergent definition of digital literacies. Finally, I have attempted to argue that the process of coming up with a definition of what constitutes ‘digital literacies’ is at least as important as the outcome of that process."

Translation: "'Digital literacy' has no common, agreed meaning."

Noted. The author seems to think that a blizzard of words can cover a lack of substance with a blanket of obfuscation.
No, renting is paying to put a roof over your head. In the same way that some people rent or lease cars, because it's a better financial relationship for them than owning.

Also, s/each money/each month/g
Like most geeks I have far too much self-doubt to consider a start-up alone. Every time I have an idea I can pick it apart technically in minutes in my mind (Dunning-Kruger effect).

Really, who needs online file synchronization when a USB key and rsync are perfectly fine!
> What I'll say is that I think this is a ludicrous assumption to make,

You should read for comprehension next time: I'm not saying anything about efficiency, merely that consistency is an odd angle to pick.
> but I wonder how several of these points (particularly the points about oversupply, baby boomers, etc.) apply to places like SF or Manhattan.

First, it's a bit of a cliché from realtors in every area of the US to say: "It's different here". Sometimes it might be, but when interest rates and cheap money are available nation-wide, it pays to think about what that implies about prices.

If buyers were using only their own cash, then you don't have to worry about what interest rates are doing. But if people of varying levels of financial sophistication are competing to purchase, and some of those people are using borrowed funds, then it implies something about how the least sophisticated buyers are going to bid.
I do that, I avoid medicine, I do not remember why I took that policy (it was some years ago), but I did.

I only take medicine (even supplements) if a medic convince me it is absolutely necessary, or if I have a issue that is unbearable (like so much pain that make me want to suicide)

People here think I am crazy. :(
Is the std::move call really necessary? It's a little sad if the compiler can't see that s is already an rvalue.
Use of the GPL doesn't merely prevent commercial developers from creating non-compatible formats -- it prevents them from using Concord at all. Let's say I want to build a commercial app that happens to use Concord, and I'm happy to use Concord as is (contributing back any patches or improvements I make) and even make the outlines exportable (assume outlining is just one feature in a much larger app, not the main focus). In that case, I'd have to make much or possibly all of the client-side code GPL compatible, so I can't use Concord, even though I'm not violating your rule about compatibility and am contributing back to the Concord community.

GPL seems like overkill given your goal. It will be limited to a niche of either fully open source public applications or completely private/internal applications.
My first rails app(knock off of hackernews, not for public use)
Point 8 is an important element of the last (or current depending on your outlook) housing bust.

Because first-time buyers have all been ruthlessly exploited and the supply of new victims is very low. From The Herald: "We were all corrupted by the housing boom, to some extent. People talked endlessly about how their houses were earning more than they did, never asking where all this free money was coming from. Well the truth is that it was being stolen from the next generation. Houses price increases don't produce wealth, they merely transfer it from the young to the old - from the coming generation of families who have to burden themselves with colossal debts if they want to own, to the baby boomers who are about to retire and live on the cash they make when they downsize."

Important to remember that for every homeowner over-stretching to buy their dream house is another home-seller making a healthy profit.
> There are data that suggest otherwise: Walmart, not FEMA was the best at doling out aid during Katrina

This isn't what I was saying at all: I was merely saying that consistency is the wrong angle to complain about. Efficiency is a separate discussion but the one thing a large government program will be is consistent – for better or worse.
Rent vs buy really depends (1) what's your down payment and (2) how long you're going to stay in your house.

If you have a high downpayment, and in the extreme case buy your house in cash, you don't have to pay any interest. You can take into account the revenue you could have got from your capital, but nowadays you can't get much without taking pretty big risks.

Then there's the long term. If you end up staying 30 years in the same house, buying is cheaper. Depending on your local market, the number of years you need to stay in house to make up for the purchasing fees (interests, taxes, etc.) is different. It's this number you need to find out. Of course when the real estate price was going up fast, the increase in value made it up pretty quickly so buying was an easy choice. That's no longer the case, you need to do the math.

So it's not whether it's universally better to buy or rent. It all depends on your local market, your downpayment, and how long you're willing to stay in your new house.
all the articles i've come across regarding this topic, fail to mention that there are well studied plant extracts / phytochemicals capable of dealing with antibiotic-resistant bacteria[1].
are these really not considered a viable option for treatment in the near future, or are there other reasons for neglecting to mention them in such articles?

[1] http://www.scielo.br/scielo.php?pid=S1517-83822000000400003&...
Try a couple of things that you'd normally discard and see if a bad idea doesn't lead to a good one once you get a bit of user feedback.
I hosted my WP blog for free on OpenShift and (with free Cloudflare) it was able to handle Reddit/HN traffic spikes without a problem. Not sure why everyone doesn't do something similar.
not for public to use, just looking for some feedback on my first rails app
"Developing an encrypted email service to reduce US spying."

I have to laugh about the government asking their "USPS" to do this.
Image Compression for Web Developers
This is one big reason not to eat meat. Factory farms are the biggest abusers of antibiotics.
It is important to weigh in many factors.
The easiest to grasp is debt to income ratio.
(Debt/Income)100.
Student loans, phone bills, internet, netflix, insurance, etc. Tally it all in.
Divide it by your monthly income.

For example:
$650 student loans,$100 cellphones,$90 car insurance,$300 food,$250 gas,$150 electric (average over 12 months),$80 water/sewage/trash
----
$1620

($1620/$4000) 100 = 40.5% recurring debt to credit ratio

Note: Most lenders do not factor in utilities. You should. They will let you drown.

It is always wise to take your Good Faith Estimate and refactor your d/c ratio.

$1620 recurring,$350 mortgage,$120 home insurance,$150 taxes,$80 mortgage insurance
----
$2320
(2320/4000)*100=58%
42% of your income remains to be spent on fed taxes, benefits at work, non recurring debt, random quirks of life.

I really think 2x Household salary is pushing the limit of what you can afford. Vehicles break, pipes bust, utilities are going to have fees/unexpected jumps, people get sick, etc, etc.

Don't waste your life preparing for the unknown. Just don't dig yourself into a hole that you can't swim out of once the floods come.
That's a really great point that I rarely see come up. Yes, Haskell makes you "recreate" the RWST monad stack that imitates impure languages... but the same tools also let you build other "language domains" which are fiendishly difficult to implement in non-pure settings (on par with CPS transforming yourself into the mother monad and then working backwards from there).

On Lisp has a chapter devoted to making a leaky macro-based CPS transformer for Common List. ContT adds CPS to any monad stack as quickly as

newtype ContT r m a = ContT { runContT :: (a -> m r) -> m r }
Perfect scenario for the "tiny house" (Google it) concept. Decent sized land, but rocky & woody makes it hard to build anything of substantial size, and multiple owners/occupants suggests multiple smaller dwellings to fit without getting in each others' way.
And even if it is, consider using Spark/Shark instead.
Your Customers Don’t Care About Your Idea
To be fair, eliminating a fair portion of candidates (assuming the test does a good job of identifying the ones you wouldn't hire) isn't a bad thing. Time is a valuable resource.
That is very low. In Munich most people are in the 30-50%. I was in the 17%, but that's just because most of my rent is paid out by the company I work for. Otherwise it would be around 30%.