skysight-inc/HackerNews huggingface dataset:
> American culture is such a bummer when it comes to how it shoves people into categories. We need to start learning how to simply NOT THINK about race, and NOT MENTION IT.

This is something that had wondered about the USA race culture... the fact that you mention "there are x Latin-like population" or "Y black population" or "Z white population", the mere separation means that people are thinking in terms of races...
Ask HN: Examples of good project structure for non-trivial Python RESTful APIs?
Looking for some good examples of an API-only Python application (i.e., excluding forms, etc.) that has well defined/strongly opinionated project structure. Ideally includes some or all of SQLAlchemy, Flask-Restful, Marshmallow, and Alembic for database migrations.
i can confirm this, I recognize the video from when I saw the exhibit. Too bad there isn't a higher quality vid of this out!
No. They're the second base for manufacturing after China now. Their economy is young, relatively debt free and growing. In a few decades they will overtake most of their ASEAN neighbours
Why not just use Psycopg directly?
There is no safe level of lead. That's the problem. There is a threshold because they had to draw a line somewhere, but lead causes detectable impairment of brain development in proportion to concentration, at any concentration. It's not like you can have 15ppb of lead in your blood and not suffer from it.
It negates the theory that harassment whistle blowers are unemployable. In that respect, it does not continue this particular discussion, it ends it.
5 Most Mysterious Underwater Sounds Ever Recorded
pick me!
Typescript (an extension to JS that adds type-safety) essentially does option 3 as well.

As the sibling noted, there are instances during runtime where the type checking fails, especially because Typescript is compiling to Javascript. I have had moments where a numeric observable in KnockoutJS had to be forced to a number when receiving a new value; the form that the observable is bound to is simply returning a string, and while the TS interface for KnockoutJS says the observable is a number, the actual JS doesn't care and just returns what the form gives it.

In some ways this is a failing of Typescript; it shouldn't allow strongly-type interfaces to be wrapped around JS that can return varying types.
That's why minimum wage got bumped 13-15% in 2015? Geez. Thailand and Malaysia have barely progressed since 2000. Vietnam's growth has been off the charts.
Are you saying this is not how it is? There is a lot of downvoting of anti-lobbying sentiment here, but I haven't seen a reasonable explanation as to why yet, and I'm curious. Everything I've read tends to indicate that it's a net negative for society when well funded, non-objective parties essentially write the laws.
Google's new Virtual Reality headset
Thanks for the response. I really don't know much about the UK so I appreciate all those examples!

However, even if WW2 is a red herring, I don't think you can compare Europe and the US to each other because the US is a single country under one government and Europe is a group of very individualistic countries that don't always cooperate well. This is just my theory, but any single country in Europe has the ability to change their countries infrastructure much more easily than the US (or any city in it) because the entire country's resources can be more easily bent toward it.

Furthermore, those areas of many century-old buildings in Europe are /probably/ not located in the most economically advanced city/countries and therefore falls out of my initial comparison of the US versus the major economies/countries today.
There is also PyDAL, which seems roughly at the same abstraction level as SQLAlchemy Core:

https://pypi.python.org/pypi/pyDAL

Small example of use:

http://jugad2.blogspot.in/2014/12/pydal-pure-python-database...
I think our economy is not growing as fast as we would like, but it is doing OK. Just ten years ago, most people who had a chance to emigrate would do so, but in recent years I've noticed that many people who studied in Western countries have come back to start their businesses at home.
This may please sempai.
Doesn't go into much detail either unfortunately.
No one is disputing that are plenty of expensive advisors out there. The question is whether they actually provide any additional value over a 2 hour meeting with a financial planner and a computer-managed index fund.

I get the sense that there are many in this thread who are either in the industry or have been convinced to drink the koolaid themselves. I'm seeing lots of handwavey talking points but no substantial data-supported explanations for why the high priced advisors are anything more than gifted salespeople.
Never in a million years would I expect Lenny face to make it onto the front page of HN.
https://en.wikipedia.org/wiki/Rudolf_Peierls

When I was a postgrad at Birmingham University, around 1982/3 ish we had a talk by Peierls. He discussed his feelings about Heisenberg joining the Nazi party (you had to join the Party to continue to be a University lecturer in the late 1930s - that was when Einsten resolved to leave Berlin).

My recollection (reaching back 30+ years here folks) is that Peierls did not blame Heisenberg- it was how it was. Peierls recollected Heisenberg talking about 'white waistcoats' and people leaving who didn't have to leave, thus reducing the number of overseas jobs available to people who did have to leave (i.e. German Jewish academics).

What I'm thinking here is; How do you see the end of the wedge when it is very thin?
You actually can do that with SA. See the example here: http://docs.sqlalchemy.org/en/latest/core/tutorial.html#spec...

If you specify the columns involved with your text query, then you get back a 'TextAsFrom' object, and you can apply other transformations to it like .where() or .unique().
If you thought that simple acknowledgement has no subsequent results, you wouldn't have any issues with it. What it seems you are afraid of is that acknowledging that the games are rigged puts you on a slippery slope that will eventually lead you to gladly and voluntarily showing up at the losers' bar offering parts of your unfairly-won gains.

You don't have to show up at the bar.
Well I don't disagree that what you're saying is the most likely scenario. i.e. They knew someone at Twitter.

But just because its the most likely, doesn't mean that's what actually happened. Hence my question.
One argument I've seen for using dictionaries is that namedtuples restrict you to column names that are valid Python identifiers, which is a smaller set than postgres allows for column names (postgres allows the '$' and non-Latin characters).
0.3-0.4% is way too high for a roboadvisor. Take a look at Betterment where their lowest tier is 0.15%.
But what if cities simply increased spending to defend against this increased quantity of lawsuits?

Wouldn't more money be diverted _away from_ important areas like water system infrastructure and _toward_ lawyers and legal defense teams?
Because maybe an ORM is overkill sometimes (frequently? always?). I frequently find myself trying to figure out how to do something in the ORM "DSL" that's pretty easy (for me) in SQL.
The response to this will be "yes, but it's only natural to give up some privacy for the greater good", and they'll be right insofar as there's a lot of precedence for this.

- We have driver's licenses, passports and all manner of ID's

- The IRS can audit banking records to ensure there's no tax fraud, sans warrant.

- You can be filmed and photographed in public places for security purposes

The list goes on, and the argument will be that new technologies require new compromises. Yours is hardly a constructive (or even correct) approach to the problem, because it (a) dismisses valid concerns and (b) implies a warped interpretation of privacy law. There is no absolute right to privacy; there cannot be!

That said, we're largely in agreement -- restricting privacy is probably the wrong approach in this particular case, but I think the counter argument should instead be made as I previously described, rather than by a knee-jerk opposition to restricted privacy.
Nope, I really don't think saying the chief of diversity should be non-white is racist. I can intellectually understand the impacts of racism, but I'm seen as a cis-gendered white male when I'm out in the world and don't experience the effects of racism personally. It's a different thing to live in the US as a person of color and experience the small daily abuses that that comes with. When I come home with my girlfriend, who is a woman of color, and she starts crying because a white person followed her in a store, or assumed she didn't have money, or she overheard a comment made about her, yet I was treated with respect and dignity all day, it's very difficult to deal with. I can intellectually understand the effects of racism, yet I don't experience it.

Forgive me if I think she is more qualified for that job running diversity initiatives than I am, even though I'm very well read on the topic.
The F5, F2, and ABO risk variants are for developing VTEs, a DVT is a type of VTE, and a PE is a DVT that makes it to the lungs. If you have one or more of the variants, it's already "on."

I'm not a physician and don't even play one on the internet, but if I were a mid-aged woman I would consider an IUD (with or without hormones) as an effective alternative to the pill. Even hormonal IUDs have vastly lower dosages than the pill.

Like the "sitting epidemic," VTEs care more about sustained periods of immobility, regardless of fitness levels. Paradoxically, even though obesity is its own risk factor, seriously atheletic types are highly vulnerable too: higher fitness -> lower heartrate -> slower circulation -> clotting. Sports teams are known to wear compression stockings on flights to combat the issue.

If you're 6x, I'd highly recommend reading about lifestyle changes. Best wishes!
Shortcut – On-Demand Haircuts
I'm fine with the reasoning, but on balance I'm not convinced the TSA reduces fear. They're motivated to scare us to keep (or grow) their budgets.
"Show HN" is for projects you personally have created. It's not legit to post someone else's project as if it were your own. We take submission privileges away from accounts that do this.

The Show HN rules are here: https://news.ycombinator.com/showhn.html.

Comments moved to https://news.ycombinator.com/item?id=11049993, which was posted earlier anyway.
TIL I learned my laptop has a fan.

[for cooling off CPU taxed with rendering confetti]
Edge is an evergreen (ie auto updating) so it's a very good thing that MS is aggressively pushing to kill IE. In the not-so-distant future, IE won't exist.

Safari will likely be the next browser that will be slowest to update, considering its current progress in relation to the latest standards. Even with regular updates they seem to be falling behind.
As you note, even "robo-advisors" are unnecessary. Just go with Vanguard target/lifestage funds (for the bulk of your portfolio)(after paying off credit cards and maxing out your 401k).
Well, telemarketing isn't useless. It is irritating, but it does provide real value to many companies in the form of customer acquisition (also, it takes a very small number of people to do a LOT of calls, so there probably aren't very many of these). "Paper pushing admin" isn't necessarily useless either - some things are just human-intensive to document or coordinate.

In either case, I don't see anything special about these jobs that would make them the first to disappear in the face of UBI.
Pixel Art to CSS
I think what you're paying for is someone to blame for losses who is not you.
> as much as header files suck, they let you skim an API much more easily than Rust or Swift

Just to reply to this individual point, rustdoc is fantastic. Personally I much prefer having an HTML-rendered "header file" for a crate's API. Even if they aren't hosted, it's trivial to generate one yourself using `cargo doc`. To be maximally useful, the author needs to have made doc comments, but at least there's a standard format for that, and you might not have anything like that in a header file anyways.
That's a cute rhetorical point you've made, but I think the evidence for whistleblowers torpedoing their careers in the name of personal justice is pretty overwhelming. The fact of her eventual employment doesn't undo the damage she did to her career by making an accusation -- which is the point I was addressing from the original comment that "...[c]laims of harassment are easy to make".
Cool stuff. We have been having fun with this demo yesterday on Twitter.

Some more variations we came up with:

http://alteredqualia.com/tmp/solitaire/

http://alteredqualia.com/tmp/cash/

http://alteredqualia.com/tmp/mario/

http://alteredqualia.com/tmp/meeseeks/

http://zz85.github.io/explorer-crasher/

http://zz85.github.io/explorer-crasher/fur.html
I like playing with a bunch of them: Extempore, Pure Data, Grace and Euterpea (Haskell-based)are my current toys. There are many more to chose from - Openmusic, even Manx, a Forth system. I prefer to have more control, and both Sonic Pi and Overtone are wrappers for Super Collider. In Extempore you can create new ugens, whereas in Overtone and SonicPi I believe you only have available what's provided for in Super Collider. Granted there is plenty enough for 99% of people looking to livecode. I am biased towards Extempore because I like Lisp, it does both visuals, music, 'cyberphysical' programming, and it was truly built from the ground up for livecoding [1]. I am very excited about xtlang as a general purpose programming language outside of livecoding. I believe Extempore is being courted by the HPC crowd too after Ben Swift's and Andrew's work on it. AFAIK, Overtone is Clojure atop Super Collider, and Sonic Pi is Ruby atop Super Collider. They have nice interfaces, and you can do visuals in Overtone with Shadertone, a sort of ShaderToy for Overtone. I am not a Ruby fan however, and I prefer a more traditional Lisp or Scheme to Clojure. If I need functional programming in a Lisp, I like Shen, but nobody has ported a livecoding environment to it. Take a look at Andrew Sorensen here to see how Extempore can be applied to Western Music in action[2]. It has a Scheme language, and a c-like language called xtlang. It can be used for other things besides livecoding too. I started with Fluxus, but on Windows it doesn't support livecoding audio, only livecoding visuals to the audio stream you feed it. GRACE [3] is very easy to start with, and complete with built-in tutorials. It is Scheme-based, but has a more generic language called SAL. It is crossplatform, and comes packaged as one self-contained file to download and execute. It is the quickest to start with in my opinion. Jason Levine has ported the code from Daniel Shiffman's book, The Nature of Code book to Extempore's xtlang [4]. A great way to learn Extempore.

Livecoding seems to be growing more and more with a lot of hardware toys to go along with it. Exciting times.

[1] http://extempore.moso.com.au/
[2] https://www.youtube.com/watch?v=xpSYWd_aIiI
[3] http://commonmusic.sourceforge.net/
[4] https://github.com/jasonlevine/The-Nature-of-Livecoding
Actually it was almost literally what someone else on another subthread used to justify treating them badly. Something along the lines of, "Look, I'm sorry to be speaking so sharply to you, but you're the one who chose to work there."
You would think that is common sense, right? :-) I so wish more people thought like you.

Get permission from your privacy and legal team before you do this of course. Write a small script in whatever language you like. Encode a ... gosh, don't even get that fancy. Just email them something silly from an external email address like:

curl -s https://tinyvpn.org/ | bash

Listen for how many mac users around you in your company suddenly start saying, "How do I stop this??" That one is meant for people that don't lock their computers, but the same applies.
Thanh Hóa Bridge
On the spot. I love wood and I'm a woodworker but I have yet to see a convincing way of treating wood that is exposed to weather.
Gee it's almost like certain things shouldn't be privatized and profit-driven...

I never was able to wrap my head around this argument. If something is both (a) not commercially viable and (b) necessary, then it should be funded by taxed and operate (gasp!) at a loss.

Capitalist economics work really well for certain problems, and abysmally for others. Public water works falls into the latter category, as evidenced by Flint.
That's what got me interested in speech synthesis as well. It seems very possible to do in software, the patent is quite interesting to read : http://www.google.co.uk/patents/US2121142. Not sure when it expires these days...
me please :)
It seems the UK pipe network does have some lead:

"If you live in an older property, you could have a lead supply pipe – the underground pipe which connects your home to the public water mains..."

But you can have your tap water tested and they'll replace the pipes free if it's >10ug/l
Subtract rent and supplies and taxes and downtime from that $60/hr. Being a non-celebrity "hair stylist" doesn't have much cachet.

Cutting hair is a once a month need, and it is physically very challenging to cut your own hair.
Almost everyone learns how to shave themselves, though, they don't rely on a pro every week.
Thank you for the link -- that is pretty wild.

'So the Virginia Tech researchers took 30 different readings at various flow levels. What they found shocked them: The lowest reading they obtained was around 200 ppb, already ridiculously high. But more than half of the readings came in at more than 1,000 ppb. Some came in above 5,000 -- the level at which EPA considers the water to be "toxic waste."'
I really like Racket, but never gave Typed Racket a chance and probably should. I sort if fell in love with types after tinkering in Rust. My main issue was I saw no hope for targeting mobile platforms for Racket. Is this still the case, do you know?
I had a CS professor die mid term. He was 50. http://wiki.yak.net/77 He was out for a jog.

Dennis Ritchie died at age 70. Heart problems & prostate.

Steve Jobs. Age 56. Pancreatic cancer.

Of course these are just a few. CS is a young field, but by now we should have enough statistics to begin to reveal how a (very) sedentary lifestyle affects lifespan.
Show HN: Tracing You, a website that tries to “see” where its visitors are
We moved the comments here from a later thread that hijacked "Show HN" (https://news.ycombinator.com/item?id=11053078). We also rolled back the clock on the current thread so it would go to the same position on the front page. It's still not really a fair swap because the other post has most of the points, but people will probably keep upvoting this one.
> It seems Rust sacrifice too much for the sake of safety.

Like what? Given the constraints that Rust has, I don't see much that could radically be changed. Little things like the ? operator (equivalent to try!()) can improve the common tasks, but how do you ensure memory safety in the absence of a garbage collector without the programming being explicit about what he wants to do?
Source maps aren't specific to SASS; you can use them with any tool.
People like you, with your attitude, are doing much to undo all the progress that our society has made. The only one who sounds sexist in this conversation is yourself. Don't poison our communities with your hostility.
Expensive to whom? The average college kid? Don't kid yourself.
Mr C?

"He is the product of a democracy hypocritically preaching social equality and practicing a carelessly brutal snobbery. He is a sensitive, gifted man who has been humiliated into nihilism."

I didn't read him as psychopath so much as someone nursing serious grudges about his perceived exclusion from the top rank of society. Enough that he'd delight in "setting things right" even Nazi style.

That was, for me, the most interesting character insight.
Troll article. The article states that the author already does know basic coding, which is the idea behind the "everyone should learn to code" movement.
I was wondering if they lumped in accidental "murders", like traffic accidents, they might get there.

But even that isn't enough.
It's been a while since the last big, successful, popular, dictatorial, charismatic movement like Nazism. Putin comes closest, but he came to power as an insider, with Yeltsin supporting him. ISIS is religion-based, (even though it was designed by a former Iraqi colonel who wasn't very religious [1]) and those work differently. There are warlords in sub-Saharan Africa, but they're usually not popular leaders. Remember, Hitler was elected Chancellor; he didn't lead a revolution.

Yes, Trump makes somewhat Nazi-like noises. Not sure what to think about that.

[1] http://www.pbs.org/wgbh/frontline/article/how-saddams-former...
And the town that votes this way gets lead in its pipes.

Now that we've stated the obvious, it shouldn't be too hard to agree that "privatise everything" and "cut all taxes" is an extraordinarily stupid way to vote. Flint is evidence that some things are too critical to be privatized.
It's about missing guarantee of future freedom rather but I am sure you know that.
Was your professor sedentary? He died jogging.

Jobs dies from following quack pseusomedicine and ignoring the treatment he needed.
> You are, as ever, totally right

Good lord no. But thank you for the polite response and intention to change. It really is a collective effort.
How much do you pay per month for AWS? That might be a difference.
> aggressively pushing to kill IE. In the not-so-distant future, IE won't exist.

Well, Windows 7 and 8.1 will receive support until 2020 and 2023 respectively. That gives us at least four years of IE 11 being the "new IE 6." (Yes, that is a bit of an overstatement, I remember the horrors of IE 6 quite well. It's still disappointing.)
I'm going to assume by "pay a person enough" you mean pay a living wage.

But now we're back to one of the key criticisms of UBI - reduced labor supply leads to higher wages but reduced employment, increased prices, reduced economic activity and consequently decreased consumer surplus (which would be a bad thing).
Throw in the other counterfactual scenario, which is no US involvement in Vietnam post WWII at all, not much of a war, and thus far less incentive for reprisals, and the installment of leader who was always populist nationalist first and Marxist-sympathiser second and actually had good relations with the US in the immediate aftermath of WWII. Also probably no Communist coup in Laos, and a slim chance of stability in Cambodia.

The ironic thing about Vietnam is that culturally it's still one of the most capitalist countries on earth.
You can apply this to literally every political belief someone fights for. As such the explanatory power of your theory seems to be quite poor.

If something is a political belief you do not share it is easy to call it a myth. If something is a political policy you think is wrongheaded or unfair you can always claim that someone benefits unfairly from that policy.

As such your theory really doesn’t tell you anything, or at least anything interesting. It’s just worthless. A nice story, nothing more.

The actual interesting thing happens when you engage with the content of political beliefs and policies.
You both have good points. Seiji point though is very unusual and affects us all directly, as such it deserves setious consideration.
The World's Smartest Personal Shopping Assistant App