skysight-inc/HackerNews huggingface dataset:
+1. Direct compilation is simpler and faster than layering everything. Abdulaziz Ghuloum wrote a great tutorial to "show that building a compiler can be as easy as building an interpreter": http://scheme2006.cs.uchicago.edu/11-ghuloum.pdf

A great compiler based on this principle is TCC: http://bellard.org/tcc/ The code generators are basically built around calling parser.next_token(). It is simple (highly recommend reading the source) and very fast. There is also a linker included.
I'm unfairly critical of reports like these once I realise many y-axes don't start at zero in their charts.
Aren't they both just the observer pattern? Seems like it falls into the same category as every other "should I implement this in the DB or app land" code.

Also, moving your callbacks to the db means you can call into the db from multiple code bases without fear of replicating the callbacks inconsistently.

That said, I'm not aware of many people who rely on that functionality.
On the other hand, the big idea behind Smalltalk, message passing (i.e. programming with computers rather just the programming of computers), keeps getting recapitulated in various forms such as Ruby, Erlang, Docker, etc. Even C#'s LINQ, in its most powerful form, is ultimately a message passing system (and version 4 of the language that introduced `dynamic` went even further).

Consider that the first MVC paper concerned Smalltalk and was published sometime in the late seventies, but only discovered by the broader programmer community about 15 years ago. Certainly Microsoft developers only seemed to have become aware of it in the last ten years.

Consider that both the JVM (Hotspot) and Google's V8 owe their performance to Smalltalk hackers.

Consider that IDEs are becoming every more tightly integrated with their their client programming languages (Roslyn+Visual Studio, Atom/VSCode+JavaScript, VBA, Browser Dev Tools). Smalltalk was the canonical existence proof that this was a good idea (although Sketchpad did it first).

...

Dan Ingalls (along with Alan Kay and Adele Goldberg) deserve to feel pretty smug (although Kay was supposedly disappointed that they stopped evolving Smalltalk because it became too useful).
To be quite honest, that sounds terrible.
Get out of your bubble. 1.4 billion people live in China. A similar number live in India. That's a huge percentage of people on the planet. These people cannot easily access the US-dominated credit card system at all, or if they can only with significant restrictions. For example, a foreign friend of mine with a credit card issued by a Chinese bank explained to me this week that he cannot use it online because the bank has conjoined his first and last names. Bitcoin gives them a method of cross-border settlement that is actually available and effective.
Deep Stupidity: What Neural Networks Can and Cant Do. John Mark Bishop. GOTO 2016
Yes it was a stroke of genius for php to add user comments to the bottom of the page describing each function/method etc. the examples in those comments were often much better than the documentation itself. I remember in early 2000s trying to persuade someone at CPAN to add comments to the bottom of CPAN, but they didn't get that they actually had to be on the page at the bottom for anyone to read them.
I would definitely agree with that, the first we program I tried to work with was PHP and I think I might have given up on programming altogether had I not discovered django with it's much better documentation.

I appreciate what they have done and appreciate the time and effort the Django team put into their documentation, but more is always better and I think other independent contributions on how to use django are also needed, especially since most of the published books you can find on how to use django are out of date
Move Bitch vs Take Me Out is really on another level, you even get two different choruses in the same song.

This said, overlapping rap over rock is too easy a game.
Thanks a lot. I'll definitely do my best to read most (or all) of these. I am seriously interested in HN's official position on political posts.

I am not in an extreme position -- namely to deny that political posts don't have any relevance. That's not true. But I feel those discussions have either rarely been productive, or have way too many comments for somebody to extract a useful gist, or both.
Can you quote the part where I said that?

What I said was:

"Seriously, screw Melbourne house prices and screw the politicians and lazy rich leeches that made it this way".

I think it's pretty clear I'm talking about housing prices being driven up by laws that favour the rich, and landlords who buy up houses, contributing nothing to society.
Monetary metaphysics: China 2017-02-08 – Espresso
Sure. But not many people in the world are worth a billion. There aren’t THAT many UHNWIs globally (~187k). But there are a lot of millionaires.

My personal opinion is that most people should be able to make $100-200k on their own online, doing something they love. If you actually start looking with what people are making money with, it's pretty interesting. This can range from a recipe subscription to a newsletter, or something completely different.

Will it be easy? No. Will you be able to live a free life? Yep.
Except processes can't use >4GB virtual memory.

But wait. This could actually work out really well for Chrome, since it's multiprocess, and each process will likely consume <4GB.

That is really cool.

I've been wondering why Chrome on my T60 (64-bit but only 3GB RAM visible due to chipset stupidity) is noticeably, perceptibly slower and far more ready to swap itself to death than on my T43, which practically flies. (The T60 has a Core2 T7200, the T43 a Pentium M.) Bigger pointers sounds like a very interesting theory, especially considering the "enterprisey" nature of Chrome's C++ code - piles of vtables and pointers to pointers to callbacks to pointers to...
If you are willing to suffer like that (have roommates, not have all the kids you might want, not have a stay-at-home parent...) to deal with the cost of rent in San Francisco, then you can also do it elsewhere and live even cheaper. Detroit could be nearly free.

So, that doesn't help SF or NYC. The cost-saving measures work elsewhere too, getting you something better or an even lower cost.

Living in a place like The Ghost Ship is not good for you, even if you don't actually die in a fire.
It's cobol.
Yep, and that's what I love about software. If you build and sell something on your own, pretty much everything is profit. You don't have that in many industries.
How does one do this? Does it involve a broker? Is their cut irrespective of market performance? Do the anecdotes and unspoken secrets about "mom-and-pop investors" not apply?
It was more of a question: Why don't you just screw working for someone?
Ebay founder backs tests to give people free money
> I don't blame people for being helped though, that's not my point.

One can always refuse help.
I have degrees in Electrical and Computer Engineering, have designed 4 ALUs and built 3 of those 4. ALUs are interesting, but they're probably one of the most simple components of a CPU. Ignoring look ahead aspects and speculative execution, the instruction decoder is probably the most complex part of a CPU, because it has to decide what inputs to use ( whether register or RAM), what part from which to receive output and where to store the result. An ALU is basically a collection of all of your common mathematical operations you'd expect in the CPU. It just takes inputs and a selector and performs the indicated operation. I designed a (unoptimized) MIPS ALU in Verikog in one evening over a bottle of whiskey (minus division related operations).
It's disgusting that this is necessary. I'm outside the US and I've been financially independent since I was 20. My parents couldn't afford to pay for me much longer, and we're a not-bad-off white suburban family, about what americans would call "middle-class" I guess. I can't imagine how a poor family in the USA could hope to have social mobility with it being so necessary to have parents support you who might not even be able to support themselves.
In the moment you are out the DB, you are out of ACID.

This is a reason that I don't wanna to do event sourcing outside PG.
Wine students. I'd expect them to know a lot more about wine than most people.

The wine's colour is part of the experience of drinking wine and affects the perceived flavour. They probably wouldn't have been fooled so easily if they were blindfolded.

Knowing a wine's price also affect its perceived flavour: https://www.gsb.stanford.edu/insights/baba-shiv-how-wines-pr...
happy to answer any questions you guys have here in the comments!
The top weekend languages – this time according to GitHub commits
I think there are a few problems with how the video game market functions;

The first is off-pc, theres an explicit monopoly on each platform, and the producers amount to a grand total of 3.

Second is the lack of control game producers have on off-pc pricing; every game is $60 (iirc $40 for wii) and thats the end of it. "Arcade" games (small, no hard copy games on consoles) are set at $20, or $15, depending on console. And thats the end of it. There's little flexibility, a right only granted to those who manufacture little xbox indie titles, or maybe for emulated games and such ($0.99 super mario!)

A third is that media industry surrounding video games is generally irresponsible; they either refuse to touch a game, or bring it up every other moment if they like it (for indie games, AAA are clearly paying for it)

Which in turn leads the consumers to be generally irresponsible; games blow up, and are bought independent of price (ie reddit users often bumrush kickstarters and other video games, and it's not clear to me an educated decision is being made), or a game is ignored. If the price is abnormal for the genre, its often brought up, but I doubt its the _real_ reason the game was dropped (my opinion, lack of a network)

Another is the lack of a resale market, and a lack of open source. The xbox one, for example, merely uses the disc as a code to download the game, and afaik, locks the game to your xbox. Gamestop simply doesn't lower prices beyond 10% of its initial sale (except in rare cases), and its common to find wii games still at $40. Ebay and craigslist tend to be the only hope, and there's not much hope.

For pc, the indie game community operates as a smaller version of the AAA industry, with an apparent amnesia of its predecessors, and somehow a lack of awareness towards the open source community in software. For reasons I don't comprehend, there is almost no open source standard within indie communities, outside of game engines and a few of the elder genres (ie roguelikes) and thus there are relatively few games of significant complexity actually produced. Any game with significant complexity often raises straight to the top of the market, where it is again often purchased independent of price.

In general, the market lacks the competition necessary to make pricing function correctly, and the consumer base is generally uninformed, and those who should be informed, the "journalists" and "critics" are even less informed, if not outright malicious (in terms of promoting a healthy market).

Im of the belief that gauging the market price is a mistake; the market will not conform to expectations.
Remote Work Digest: February 10, 2017
People are associate not procedural so objects do map somewhat better than functions. Many of the hardest problems in computer science are very short term. Navigating a car across the country is not that hard, not hitting anything or breaking any laws in the next 10 seconds and every 10 seconds along the way is vastly more difficult.

It's easy to calculate a trajectory to toss a ball into a hoop, it's much harder to get a robotic arm to do so.
Web Assembly Logo Contest: Cast Your Vote
Recycle it.
Candidates can learn about hiring processes before applying, like with talking with friends or sites like glassdoor.

How the hiring process functions is a factor in where I choose to apply. For example Google has a bad rep on this - supposedly it frequently takes months for them to make a decision. As a result I'd never consider applying there.
I think your use of the term "standardization" is slightly out of place here. When you say "standard", I think of something like IEEE 802.3 or FIPS 202.

But what do you really mean by "standardized" in this context? Is there a known consortium of companies that provides its stamp of approval on correct implementations of GraphQL? If not, what prevents me from implementing GraphQL incorrectly in, say, OCaml?
In that case I'm not sure what you meant, could you explain it differently?
Struggling with "how long have web applications existed" doesn't help your case that they are a solved problem.
3 points. Opens with the populist DJT Twitter rhetoric "the Failing New York Times" and "Mexican Billionaire Carlos Slim". #16. WTF HN?
I was on a tear with his stuff in my mid 20's until I read Galapagos, which was so depressing, pessimistic and cynical I ended up deciding that would be the last book of his I'd read. He's certainly talented.
Not sure, but it looks like the ICC has an api here.

https://cricketapi-icc.pulselive.com/fixtures?matchTypes=T20...

Not sure if it is documented, but looks like you can kind of reverse it based on the query string parameters.
There's a new F# project out there to utilize ASP.NET Core, which has got Kestrel under the hood. I just discovered it and have yet to do any performance testing, but I'd imagine it's pretty in-line with C# results.

https://dusted.codes/functional-aspnet-core
> It would be nice if a kubelet's access was restricted to only what the kubelet needs to know.

This seems like a fairly difficult problem to solve with meaningful security confidence. The only easy way I can see this working is if you pre-define groupings of kubelets and specify which pods may run on which kubelets, and enforce secret access the same way. Without this kind of hard separation, any kubelet is a candidate for running any pod and needing any pod's secrets at a moment's notice.

Furthermore, this sort of separation would require some kind of PKI; you could not just trust any given kubelet to accurately claim which groups a member of. You'd need to provision the kubelet groups with a secret that proves their membership in the group, and we're back to the secret distribution problem again.

And while it's true that a given kubelet may not be running a certain pod at the moment (and thus doesn't need the secret), that does not seem to be a hard security boundary. An attacker who controls the kubelet can manipulate which pods run on it, such as by terminating pods until the desired one is scheduled on it, or falsely advertising a huge amount of available resources to entice the scheduler to run pods on it, and so on. Ultimately if a kubelet is a candidate for running a pod, then it is simply a matter of coincidence whether it possesses the pod's secrets at a given moment or not.

That said, limiting kublets to have access only to secrets required by active pods will make things harder for an attacker, and so will provide value. But we should also evaluate the priority of that work in context of how hard it will be for an attacker to defeat that same restriction (e.g., advertise 1 petabyte of free RAM and disk, and 1000 idle CPU cores).
Yes, performance can be objectively measured but different companies choose different metrics to optimize. The choice stems from subjective preferences. Hyundai optimizes for price and caters to the middle class, whereas Bugatti optimizes for speed and caters to whatever their market is. So subjectivity is inherent in the metrics we choose.
Like so many discussions on Bitcoin's value, you're conflating the currency/technology with the currency's value. Bitcoin is inflationary; it's exchange rate is not. The exchange rate is influenced by news and psychology, and fiat inflation has very little influence on the price. I'd call that a weak foundation, and much of what we've seen in the past may not continue (anonymous drug sales, lack of government regulation, etc). Bitcoin has several years before it's an inflationary hedge, but in the meanwhile, it's a great speculative play with potentially unlimited upside. There's also an unlimited number of events that could occur in the next twelve months to destroy its exchange rate.
Why LLVM specifically?

there are many intermediate representations.
Programming in your sleep or in the shower or any other place away from the computer is awesome, because it's often where you'll achieve a breakthrough (even in your sleep)! As Rich Hickey would say, slowing down and stepping away from the computer forces you to think more deeply about a problem and explore it more. I view it as a good thing, but it usually only happens to me when I've been deep in a problem for a while, so it's an occasional thing.
Rather than being confused with them, 2 buck chuck beat expensive wines at the 2007 California State Fair Commercial Wine Competition: http://abcnews.go.com/WN/story?id=3372578
And how many different tech stacks have we been through in that time? I build web apps using very different tools than I used 4 years ago. I read that sentence as comparing web dev on a timeframe to, say, civil engineering.
Drop the puritanical attitude. Strippers are just regular people trying to make ends meet.
I guess value and worth can have subtlety different meanings
There Are Three Programming Paradigms (2013)
It's not SF/NY vs. Des Moines. It's SF/NY vs. Seattle/Austin/Denver/LA.

Your examples don't disprove the article's main point, which is that the cost of living in the Bay Area (and New York) erodes much of the salary bump you get by working in those places. Paying $1200 to rent a bedroom is normal in NY and SF, but that price will get you an entire apartment or more in many other places.

Look, to many of us, the Bay Area is worth its high cost - being in the center of the tech industry, surrounded by thousands of companies, and enjoying the beautiful weather of this region makes up for expensive housing. But as the tech industry grows in other cities and as their salaries increase, I'm beginning to seriously think about moving.

The kind of tradeoffs that I made when I was young, stuff like having roommates, living in a rundown place, longer commute, etc. increasingly don't make sense as I get older. I have a family, and looking for a house in the Bay Area is a sobering affair. Nothing can be had in the Peninsula for under $1.2 million, and even across the Bay homes are $800k plus.

Meanwhile my friends in Seattle and other cities are buying real family homes and living the American dream. I have to wonder, is it worth staying here?
did somebody make the id column an int rather than a bigint? good luck running that alter table query on 2 billion rows.
I make good money because I lucked into some valuable talents and a lot of lucky decisions. I'm under no illusion that I'm responsible for being born smart and engineering-focused. I'm barely even responsible for getting a computer science degree. It was just the obvious thing for me to do. I lucked into a series of high paying jobs through connections from my university that eventually led me to SV. I'm in Seattle now which is also largely random chance because I moved for my wife's job.

If I'd been born less intelligent or if I didn't have an interest in computers or I'd decided to go teach or write or do a dozen other things I might be dependent on my parents. I don't think there's anything shameful about that. Unfortunate perhaps but not shameful.
Ehh... nice in principle (and I do small deploys all the time for work), but too many artificially-small changes can easily cause you to "miss the forest for the trees". Each change is small and LGTM-able, but they can add up to a misbehaving system unless you have full context (which, because they're small, does not exist in the diffs).

If it's conceptually a single unit, keep it a single unit. Pushing dead code in small pieces that waits for a small master switch doesn't give you additional safety (though it can give you easier merges).

>Reviews for large diffs are closed with a single “lgtm,” or miss big-picture problems for the weeds.

That means you have bad reviews. If it can't be figured out, how was it written? Take the time and do it right. Yes, it's a large commitment - is it larger than the value being created? If no, why does it exist?
Haha, yes!

Wait a second, lets just use rsync!
I'm not trying to be argumentative, but to me https://docs.djangoproject.com/en/1.10/topics/http/sessions/... is pretty thorough. Did you come into Django knowing Python already?
What It Means to Be an American
This reminds me of an early build of fmylife. They should definitely add a keyword filter to clean up some of the trash posts.

Ie, the first posts I saw were something along the lines of:
Your mom.
Fucked!
Smoked a bowl out of your ass.
I wouldn't call 5mbps "perfectly fine", but I could do basic web browsing and email etc. And that's my point. I don't want to be shaped down to a barely-usable connection. Why do they need to shape at all? The only argument is congestion. And if there's congestion, they should shape us down to a reasonable level like 5mbps. No reason it should be all or nothing, 35Mbit or zero.
> I can't even get my car fixed right now.

Have you considered not having a car? It saves a lot of money - and a lot of stress.

I set aside some money to buy a car last year, but never did. I liked the way that money looked in my bank account a lot better. Plus no petrol costs, or licensing costs, insurance, parking...

Not sure where you are in melbourne, but it's pretty practical to get around there without a car. Might require a tram ride to a train station though.
I expect the radiated IR would just heat the device around the CPU. It's not like CPUs usually face outer space.
Docker makes secrets management a built-in feature
I get that from a "protestant work ethic" sense, but just because people get help from their families doesn't mean they're incapable of being self-sufficient.

This is a part of the reason that many wealthy families stay wealthy. Whether it's a down payment, help with rent, or the understanding that they'll be a backstop if everything falls apart, it lets the next generation take risks that would be completely imprudent otherwise.

I think a lot of parents of millennials understand how much harder life is for young people today too. With school debt, salaries that have stagnated since the 1990s, and housing prices that won't stop increasing, it's a completely different world than the one they grew up in.

> Let them spend their hard earned money on a cruise or a holiday, rather than supporting their grown children who are already well into adulthood themselves.

To many parents, there is literally no more meaningful way to spend their money than to confer comfort to their children, no matter how old they are.
> Yes, I guessed (correctly!) that others would inquire about the rest of the comment

Fair enough.

> Your argument is something along the lines "a lot of code doesn't have particularly high security requirements" and "sandboxing/airgapping mitigates problems"

Nah, you're mixing up separate posts, but it doesn't really matter. I didn't start out with any intention of making an argument. I'm just tired of the "ZOMG! RCE!" sentiment as though that's the most important thing for everyone.

> [marketing, pain points, roadmap] was extensively discussed a few weeks ago

Yes, I've read those blog and forum posts.
This was with 9.x using the replication system. It was certainly better than the old wal forwarrding systems, but it still was a giant PITA.
Infographic – Introducing the 3 cats and a moon cheatsheet
And it appears that the Indian Premier league has a jsonp based api.

This gets you the matches:
http://datacdn.iplt20.com/dynamic/data/core/cricket/2012/ipl...

Then with the match id you can get the score.
http://datacdn.iplt20.com/dynamic/data/core/cricket/2012/ipl... where ipl2016-01 is the match id.