skysight-inc/HackerNews huggingface dataset:
https://www.youtube.com/watch?v=5muBxGQ9B2g is a nice introduction and overview
Good for her! How does this continue the discussion?
27 lessons learnt growing from zero to 3.5M sessions per month
That's a good point. As much as I love python, I think (for me) this illustrates why I tend to switch languages once I get over ~500-1000 lines. Seeing diesel was the exact opposite for me - total overkill when I just need a report, but very tempting if I'm going to have to evolve and maintain a larger code base.
Those photos of wooden architecture are absolutely beautiful. I'd love to live in a house that looked like that. It's even environmentally friendly so long as you're only using farmed wood, and there's no reason you wouldn't when you're using engineered wood products.
It seems Rust sacrifice too much for the sake of safety. If Swift will evolve to truly cross-platform language, I think it is in the golden middle of safety vs usability trade-off (without requiring non-deterministic GC like D).
last time I tried using PayPal, it failed my transaction with a non-useful error message. I disabled my VPN to PrivateInternetAccess and then it went through.

Pretty annoying that they don't inform users of this guaranteed failure prior to attempting, but whatever, i already learned not to use PayPal unless required.
So now the flip side question. How would say a corporate SSL/TLS proxy, which is effectively a MITM, bypass this security feature? I can see the TOFU is easy to defeat by dropping the header before it gets to the client, but what if they're allowed to roam on and off the proxy?
You clearly have no idea the kinds of crimes Diem and his cronies got up to in South Vietnam.

Vietnam would have been another former colony with western companies exploiting resources and the political class getting rich off corruption.
Machine learning rockstars will trade Google and Facebook for secret hedge funds
As stated in the project read me, it's just a joke project.
Exactly, using .raw
My town is an incredibly poor town. Quite a few people I know have worked there at one point or another, even though they pay effectively below minimum wage and constantly fuck with your hours.

I know what you mean about it being unfashionable to shop there, but the thing is, I'm usually the one saying that it's unfashionable, no one else I know agrees with me on that; I'm a citizen of the Internet, they are not. Most people I know don't care if it is Walmart, they just want to exchange currency for goods and services.

But like, most people in town just want to put food on the table and whatnot, and meat prices are, for example, about a buck higher per pound for beef (not that anyone in town can really afford beef at current pricing; all the stores around here have shrunk what beef occupies in the meat case due to that), they have a very poor selection of fruits and vegs, the bakery sells the absolute worst tasteless and sometimes stale products, and Walmart brand foods are absolutely disgusting sometimes and aren't even cheaper than other store's store brands.

Walmart just seems to do everything wrong. Everyone I've met around here seems to have some story of their own on why this is true, I've never met anyone who liked shopping there.

Around here, food stamps come I think twice a month (you're put into one cycle or the other), most of the town I swear qualifies for at least the minimum for it, and there's also social security and welfare. On those days, our two main local grocery stores are packed, Walmart doesn't really seem to have anyone. In fact, of all the years I have lived here, I have never seen Walmart packed.

Yeah, none of this is scientific, it's all anecdotal evidence. But I've lived here so long, I remember when we never had a Walmart, and there has never been a time I can remember when anyone has been excited about that.

You know what personally excites me? When Amazon has a product I buy become available for Subscribe and Save, so I can get it for 15% less, then another 5% less because of the Amazon store card, pay slightly less for it than anywhere else locally, and then not have to actually go to the store and buy it because an UPS guy drops it off for me.

And that entire model right there? Terrifies the shit out of Walmart.
[edit] despite negative expectations, I still upvoted OA cause even "wrong" innovation is better than stagnation.

pyscopg2 is pretty great. Every lib I've seen is based on it. Many apps use it directly. It is the lowest, comfortable layer you'd want. What you need on top of that is Either;

1) So minor, most just write a few helper functions/classes

2) So elaborate and opinionated it needs years of use/work to get right. SQLAlchmey, Django ORM.

3) So specific, customized to your requirements that general purpose libs/frameworks don't fit.

Some people get tired of redoing #1 or don't like #2's opinions or think there should be something lighter. So, they build something they hope to be middle ground. I don't think there is a middle ground. As you use it you realize the complexity (dbs/SQL are much, much more complicated/powerful than you think, the impedance between relations and objects) and middle ground projects remain "toys" or grow into SQLAlchemy.
I have a plugin that adds the ability for CSS to retrieve variables and values from regular JS!

It works in every browser today, and even old browsers, INCLUDING IE8!

http://elementqueries.com/demos/variables.html
Django's ORM has the JSONB and features from HSTORE for PostgreSQL.
I wonder what would have happened if Hitler (who apparently didn't give the matter much thought) hadn't declared war on the US?

https://en.wikipedia.org/wiki/German_declaration_of_war_agai...
Shameless plug, but I am curating a Deep Learning / Artificial Intelligence newsletter: http://www.wildml.com/newsletter/
The article mentions where he sees this as a hobby and is more interested in pursuing a more traditional career in business.

On the other hand, in the comments section you witness some bitterness by more well known photogs who see him as an amateurish interloper.

He knows it's a career that's dying that it'll be overtaken by crowdsourced images taken from cellphones as their image quality improves (for the telephotos), so he's uninterested in it as a career.
Yes I live in a small farming and fishing area also with a history of immigrants so it's quite a mix. http://charlottetownfarmersmarket.weebly.com/

I mean more of a mix of food and also everyday products as much as possible from the surrounding area. Whatever isn't possible would come from outside the region.
In my opinion pedantry isn't helpful for stimulating conversation. You admitted ignorance of the causes of US poverty and of US history ('As a non-American I am less than qualified to provide an answer'), suggested a very simple single parent household theory with evidence of a correlation with poverty. I merely placed your theory and evidence within a historical and ongoing context of oppression (slavery and state sponsored oppression didn't end 150 year ago).

Pretty sure that Jim Crow and Slavery aren't speculation, but are common historical facts that don't require citation, much like saying World War 2 or the Annexation of Crimea happened doesn't require citation.

The point wasn't that single parent households aren't a cause of poverty (it certainly doesn't help), but that it is far too simplistic, that it is probably more symptomatic than causal, and with a US political lens can be seen as a case of dog whistle politics (not accusing you personally of engaging in such politics, which I should have made more clear).
One trait that every successful person has
My company and many others do use Google for Business.
But Microsoft has the upper hand here.
This is a delightful hack and was nicely written up- I love reading such articles. The URL is pretty great too :)
This is one of those moments in history where we can clearly see history itself branches into different routes. Had Truman reached out to Ho Chi Minh, Vietnam wouldn't have had to spend the next 30 years in war.

It's a shame, really.
10,000 is probably high for "proficient"--whatever that means exactly. I was probably shooting a few 36-exposure rolls of B&W film a week when I was in school. A roll of Tri-X is about $5 today and was probably something similar in adjusted dollars then. (We did generally load our own film but that's in the noise.) Chemicals and paper adds a bit more.

So, I don't know. $7 x 150 rolls or whatever. So maybe $1000 plus gear. The gear might actually be a bit cheaper than today assuming access to a darkroom. Color would be significantly more but you probably wouldn't do your own processing.

To your basic point though. Yes, it's much easier today. The instant feedback, much improved ability to work in low light, no-cost experimentation, easier to use equipment, etc. As a result, I think it's much easier for people to get to the "good enough" stage today even if becoming really accomplished isn't necessarily all that much easier.
Might be referring to High Frequency Trading which is relatively useless. But a tax would unlikely raise much revenue because it would go away.
How to Determine the Right Price for Your Mobile App
They aren't always more difficult.

I am pretty familiar with the Django ORM where you hit limitations fairly early (if you are writing any moderately complex queries). But I still use it for maybe 90% of the stuff I do because that 90% involves pretty simple queries, and it saves a ton of typing, and integrates well with the rest of the Django ecosystem.

Updating data is a good example. I recently split up some database strings into multiple columns. At first I just wrote the SQL to update a joined table. Then I needed to get regexes involved to pull out certain parts of the string. Doing that in SQL gets ugly, and its far simpler just to use the ORM to pull out the data required and operate on it in Python on a loop.

I don't see the ORM as an either / or, but as a complimentary tool to SQL.
Mistakes Reviewers Make
I've yet to encounter a query I could not write using the Django ORM effectively.
BigData examples, frameworks, and libraries weekly roundup – Feb. 7 2016
> Since we're talking about GitHub specifically, how easy do you think it's been for Julie Ann Horvath to find a job?

It doesn't look like she's had too much difficulty on the employment front, based on her LinkedIn profile. The same month she left GitHub she got a job as Senior Designer and Web Developer (same title as she had at GitHub) at &yet in Seattle. When she left that job there was a 4 month gap and then she was Head of Design at Clef in Oakland. She left them at the end of 2015 and started the new year as a Senior User Experience Designer at Apple.

I don't think we can infer anything about job finding difficulty from that 4 month gap between &yet and Clef, because she moved from Seattle back to the Bay Area sometime in or near that gap, and it is not uncommon for people to take some time off between jobs when changing cities.
Those percentages are the number of tested children with elevated levels, the article doesn't say anything about how elevated the levels are. If 32% of the children in Iowa have mildly elevated levels but very few have highly elevated levels then it might not cause much of a health impact.
I have no idea, sorry.
What is the purpose of that statement? That communists infiltrated other groups? Its not just communists who do/did that.
It's not binary, but if your security depends on your public key being secret, something else must be wrong. It's the same as someone who depends on their IP addresses being secret. That's not something you can count on, and your security would be better served by designing your infrastructure with the assumption that it's totally public information.
What do you think made you stand out as opposed to the competitors when scaling? Did it start to become more expensive as you scaled to acquire new users?
Apparently it isn't unique, it is a product of Walmart corporate interference into how each store individually operates.

Basically, no one, not even the Store Manager, has much flexibility in store pricing. Walmart corporate punishes stores by taking unapproved differences in pricing out of the store budget, and stores are all generally severely under-budgeted to begin with, so no store, especially not ours, is going to do it.

In poor areas like mine, Walmart doesn't give the store the flexibility to compete. Not that I care about Walmart's bottom line, but that can't be very cost effective for those stores.
No they aren't, this just looks like an itch that has been scratched. Outside of the ORM libraries there isn't much fanfare for this sort of thing though.

I spent a couple of hours looking for exactly this yesterday for a new Tornado based project and ended up using queries: https://github.com/gmr/queries which seems on the same level for my purposes of wanting to cleanly pass raw SQL and get python data structures in return. Queries also provides asynchronous API interaction with Tornado which will be nice for me.

Coincidently queries was inspired by Kenneth Reitz's work on requests.

I think it is often tempting to write something like this as it is quite a light thing and can reacquaint someone with SQL if they haven't used it for a while. I know I was tempted after pouring through ORMs.
IRV has the problem where gaining support can actually cost one the election (nonmonotonicity). From http://zesty.ca/voting/sim it seems that approval voting would work reasonably well.
It is a nice one. I'll try it
Because not everything is an Object. Not every program uses Objects. OO is only one (an overused one) of several software paradigms.

RDBMS <-> Objects are a poor match. So much so, many pursued NoSQL to find relief from the pain.
Typically it's the critiques of liberalism and capitalism that treat life as zero-sum. The capitalist defense of inequality is that the world isn't zero-sum. Because people can do extraordinarily well for themselves by creating value for others, they do, and we are all better off.

The 60s civil rights movement was a classically liberal movement. They were demanding equal treatment under the law. "Civil rights" movements today are usually asking for special treatment. (edit: Just to clarify, I'm referring specifically to the US for this last point)
Apart from a handful of cities that were utterly destroyed not much of Europe got rebuilt from scratch after WWII. There are parts of water systems from Roman times still in use today, and town centres whose housing stock largely dates back to before the Declaration of Independence.

150 years ago the US had only 23 million inhabitants, most of whom lived in rural areas that didn't have much infrastructure. The government might trace a continuous line back to then, but very little of the infrastructure or housing stock does. US infrastructure might be old compared with Singapore's but it's young by Western standards.
Scion is more of an example for the opposite point; the fund manager didn't consistently beat the market, he made one big bet that turned out to be correct; furthermore, even if this was skill, rather than luck, it still doesn't mean that this skill would apply to any other market situation.
Named tuples seem to offer the best of both worlds, as they're immutable.
Not the OP, but I like the 4 fund and it is the basis of my tax advantaged account. I have been debating on cutting a lot of Intl exposure though. There is an argument to be made that an S&P fund is already heavily exposed Intl because the companies sell world wide.
New York's Indian Point Nuclear Plant Is Leaking, but You Shouldn't Freak Out
Beta Mask for Facebook and Twitter Accounts for Anonymous Commenting and Posting
I don't think you can call this fictional public servant incompetent and corrupt. He's just doing what the people wanted. That shortsightedness and aversion to investment is problem of the electorate.
Amazon would probably categorize their push for all online retailers to collect and pay sales tax in all 50 US states as an example of this.

Funny thing, though, is that their position was the exact opposite back when there were many states that they had no presence in, and were able to not charge sales tax in those states.
Writing a compiler in Ruby, bottom up (2008)
Using normalizer.js with Redux
Ok, and all this time I thought Gage Skidmore was a "fake" name like Alan Smithee[1] that photographers who didn't want to dilute their own brand used to get their work out. That it is a real person, and has such a wide swatch of candidate pictures, is pretty cool.

[1] https://en.wikipedia.org/wiki/Alan_Smithee
For me, the opposite. $50m is about 100x more than I could ever need, so I'd just stick it in $SPY until I die. Volatility is irrelevant as there is no actual risk to life or limb, only the "risk" of numbers going up or down.
> But isn't it somewhat reasonable that I push someone else's commit? Say I want to rewrite an old commit, and then force push that, then all the commits after the rewritten commit by other people would effectively be pushed by me.

Even worse: rebasing (what rewriting an old commit actually does) changes all SHA hashes of the following commits, thus breaking existing PGP signatures on the commits. There should be two signatures... one for the patch+comment, one for the history.
probably so you don't have to remember what order they were returned in
What made this project stand out is possibly that we leveraged every possible traffic source.

For example the #1 person in the industry relied purely on SEO traffic while we attracted traffic through a massive combination of traffic channels.

Another important thing was that we produced content that was hosted by 90% of our competitors, so in the end most of our competition were indirectly promoting our project.

As you scale you reach a point of maximum value. After that if you want to acquire more users you need to drop your margins, this might be good in the short run to block out competitors that bid on your traffic but our choice was to get the maximum value out of our traffic in PPC channels in order to invest into longterm sources.
You cannot explain the difference in economy of those countries based on the ideology of their governments. Its more complicated than that. For instance, Chile is rich in agricultural and mineral resources and has less population than Vietnam.
Yes! "Don't underestimate yourself, don't overestimate others, just accept that you can't master everything anymore." Master what inspires you seems to be working for me right now.

A major life lesson for me. Last week a friend told me the hardest part about being my friend was the sadness he felt watching me sell myself short. Now that I'm getting my bearings again heading into the job market I'm really appreciating his observation.

I guess I should have been paying more attention to Stuart Smalley on SNL.
Security tool to detect DNS poisoning attacks
I'm also a fan of NamedTupleCursor. Not sure how NamedTuples compare to raw tuples in terms of memory consumption, but they make code look a lot nicer.
Medallion Fund appears to be a front running quant fund.
Their reported returns relied on being a millisecond ahead of large orders. They charge a hefty chunk of that "return".

It would be very risky to assume that their advantage will continue in the next 20 years.
Yes, but the difference is that a business's success requires continual voluntary mutually-beneficial exchanges (aka sales). And before they make a profit, they're only risking money that's theirs to risk. None of these things are true about politics, which is fundamentally about control of coercive power.
It's likely that the big overhead slowdowns come from points where an object containing many typed elements is passed through without processing. This requires field by field checking, in the form of dynamic checks in a naive implementation. This could be repeated through several levels of function calls before the object is used. Mixing typed and untyped code makes this very likely.

It's a big concern that Python is going this route. With terrible syntax, too. Some type info is in comments, because it couldn't be crammed into the syntax, but some type info is in non-comment "annotations". I've been saying for a while, "Stop Python's little tin god before he kills again". Python 4 may be headed for another Python 3 like debacle.
I'm going to try using it.
I wonder how much "thinner" the building can look. If other kinds of support need to be covered, that adds thickness to walls, supports, and pillars. If the wood doesn't need to be covered, would the buildings look noticeably leaner?
I don't get why the export functionality would be combined into a query helper. Aren't those two quite different functions?
Maybe have it be battery powered, and fly "home" for a recharge during the hours the store is closed?
Monetary compensation data, of course, would be for the /field/ and collected via the tax infrastructure. Median for /that type of work/ not based on those interviewed. The reason for having the interviewees report back is to check on if the expectations for the job match the description for the job.
Top professionals take many crappy pictures. If they have just once shot of a situation/person, that crappy shot may end up in the feed, but usually the bad stuff is filtered out by them or their agency. I see a lot in the flickr feed that should have been left out, or at least cropped.
Google pushes further into world of virtual reality
Agree. But the alternative would be a diem-type junta that also killed people in large numbers but didn't care for the 90% of the population that were peasants. You'd probably get something closer to a central african state where multinationals exploit and the political class gets rich at the expense of the majority
Keybase.io Invite
I have 2 keybase.io invites left.

I need at least 2 karma to add hacker news. If I get that I will send the invites to the first to give it.
No, I get it, but even in this thread there is a higher-than-expected amount of hand-wringing.
I think after about Swift 4.0, if you're writing a native application in [systems language] and you're using Arc/Rc/shared_ptr all over the place you need to seriously take a step back and ask yourself why you're not using Swift.

If Swift had structural references (for all intents and purposes in Swift, all structs are value types and all classes are automatically reference counted pointers) and move semantics Swift would absolutely kill it.

It's an exciting time to be a PL nerd.
To expand a bit on Renaissance - it's a quant fund, which means computers trade. As such, they make hundreds, thousands of trades per day, so the fact that they possess alpha (i.e. superior performance, rather than blind luck) is a statistical fact. Furthermore, this performance has been consistent over decades.

Of course, this doesn't mean that this performance will necessarily continue indefinitely; knowledge diffuses, and their strategies will eventually become public, turning from "alpha" into "beta" (like trend following has in the past). They need to keep innovating to continue beating the market.

Also, the biggest issue of strategies like this is that they are severely constrained - you just can't put more than a certain amount of money into them. In contrast, some other strategies are much less constrained; like trend following (CTAs manage tens of billions of funds), and global macro (Bridgewater manages 50bn).
The idea of using log-income as a proxy for utility is not new. It is a standard measure in the economics of taxation. Yes it is different than measuring consumption. It is an improvement over GDP in the sense that it measures how the economy is serving the population. Some consider this to be a laudable goal.
This memory waste argument is only true if you want to fetch all rows, which you could possibly avoid with different techniques. Otherwise, a dictionary seems like a very simple, convenient, Pythonic, and intuitive representation of a row.

This lib also looks brand new, so there is plenty of time for the community to optimize the hell out of it.