skysight-inc/HackerNews huggingface dataset:
Developing inside a docker image seems like needless complexity to me, especially when virtualenv takes care of the python environment isolation already without another layer of indirection. Virtualenvs are just file copies and PATH vars with some tooling.
It's not that easy. Especially when it comes to illegals or criminal immigrants, the democrat position would be the extreme left in Europe.
Closed border, for example, is something all European parties but the extreme left could agree on. Deporting illegal criminals is something even the moderate left supports, and support for deporting non-criminal illegals is still pretty widely supported (it doesn't happen that often mostly because of technicalities, like the country of origin not wanting their citizens back).
Really controversial is only deporting legal immigrants who committed a crime. That's something most parties on the left wouldn't support.
Why do you jump to that when we're talking about reactions to bumper stickers expressing a political point of view?
A few things...

* Your boss parading his religion around and making you feel othered, while probably legal, is uncool.

* Though I would be remiss if I didn't point out that across America, it's by and large the Christian viewpoint that's flaunted at employees. I feel bad for you, but I'm also happy that you've been given an opportunity to understand why this is bad.

* You're protected from being _discriminated against_ based on his religious beliefs.

* That law being "paraded" is the one that protects you from your boss discriminating against you based on his religious beliefs.
> If someone is "simply holding different opinions" that people should have lesser rights, or be treated differently because of how they were born, then we shouldn't really be surprised that people are upset by that.

It's almost like you are purposely trying to rile people up
> Go to Texas and I'm sure you can find the opposite if you are looking for it

I went to Texas and wasn't looking for it - but the first bar I walked into had photos of Obama and Hillary duct taped to the urinal for people to aim at :P
It would. But it would come with a cost because you need to store that instance in very fast storage, something like RAM, in order to have very fast reanimated times. The problem with this is that RAM is still at a premium in cloud services.
I see it less as a "policy" and more of an issue of maturity and professionalism. If you are going to take a controversial stance on something you have to accept that you might not be Mr. Joe Popular after that. This is true at work and in life. So you either let it go or get okay with being "that weirdo."

As others have said, it goes both ways: liberal in a red state, conservative in a blue state.

At the end of the day, the people you meet at work are not there because they want to be friends. They're there for one reason: to make money. If you respect other people's boundaries then they respect you.
Because of PHP.

Let's assume you are going to write really clean PHP code, with excellent readability, thorough tests, appropriate abstractions, and proper encapsulation.

Understand first that it will be unnecessarily difficult: PHP lacks a number of concepts and constructs that allow you to write better code, and does not really reciprocate with sensible trade-offs that make the loss of these features worthwhile. It makes bad code easy to write and hard to fix.

Then consider any third-party modules you might want to import. The standard libraries and modules in Python, Go, C# etc. are likely to be well-written, well-tested, and will fit into your clean-code project nicely. Sure, every language will have bad third-party code available, but PHP is especially likely to have cruddy tooling messing up any

Finally, assuming you work past all the pitfalls (while still avoiding over-engineering), your beautiful masterpiece will still be hampered by the fractal of bad design [1] which is PHP itself. Your comparisons may be literate, the variables clearly descriptive and in the proper positive tone, but you'll be asking if they're empty(), is_null(), and isset().

Why start with a handicap? Choose a better language if you want to write clean code.

[1] https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/
The advice doesn't look bad but the click-bait title really inclined me to skip it, especially since it meant opening with a digression about whether 10x developers even exist rather than the actual content.
> Liberals love to parade out the worst of us

The Republican Party.

> try to improve the party reputation

I'm afraid you've got quite a way to go there.
What I meant by not "showing positive results", is that the actual effect of showing users disaggregated data hasn't yet been shown to be more effective a driving usage reduction than simple whole home data. It's super cool technology though (and that paper is awesome btw).
It's similar to other rewards programs but "Customers must give the carrier access to their web-browsing history, app usage and location data" is a lot more information about me than "what I've bought at <local supermarket> in the past year".
They're bringing drugs,' crime and are 'rapists'.

knock the crap out of them …. I promise you, I will pay for the legal fees

You didn't vote for Trump over the correct level of import taxes.
Yeah, the hospital visitation rights and death benefits are good points. I'm not sure why those are so restrictive at all? Why even require a documented relationship? Just let people choose who can visit them, or get their death benefits. Is that a crazy stance?
"Go look at political conversation in the UK and you'll find large numbers of left wingers / liberals foaming at the mouth about how the government trying to balance its budget is the same thing as hating people, killing them"

I see you've listened closely to them and engaged with their arguments.
In my opinion, some of the policies of the Republican Party seem downright evil to me. Restrict the civil rights of gays and Muslims (Trump himself stated that he was going to start a Muslim ban, he asked people to make it legal but the intent was very clear and stated by Trump several times: Muslim ban). They also want to restrict information on the internet which seems pretty evil to me (modern day book banning). They want to deport kids who have lived in the US their whole lives through no fault of their own.
What I find strange and what keeps getting repeated in this thread is that if you don't agree on certain points of currently popular liberal trends, you are automatically being called "conservative" or even worse (bigot, racist, sexist etc. - you name it). I call myself liberal (I agree that all people are equal and nobody should tell how anybody lives, as long as it doesn't harm others), but I don't agree with some (maybe even most) of methods of current liberal-left trends.
For example, just starting a discussion that artificial minorities/sex quotas in workplace does next to nothing solving a root cause of the problems is enough to start being called racist/sexist in some circles.
Future ECommerce Won’t Exist Without Artificial Intelligence
It's already illegal in 1/3 of the USA right? California, Florida, Texas, Michigan, and Washington already banned it.
Magic Leap is experimenting with light-bending nanomaterials
In which case something like seccomp is a better vessel for these programs? VM interfaces have lots of surface area.
Counterpoint, taxation is the money you pay to the corporation called the USA for the ability to work and live in land they own. They then use that money to make the land more appealing attracting more occupants.
Too right, and thank you for the correction. This is exactly why we should all just use the SI unit, the joule.
I don't think I implied that at all. If you felt that way, you might be revealing your own cognitive biases. I don't think any form of labor is morally superior to anything else, mainly because I disagree with the whole concept of the labor system in general, but I disgress.

My point was that you can't denigrate people asking to share their opinion peacefully and without verbal assault, ie a "safe space", while simultaneously complaining that your viewpoints aren't allowed to be shared peacefully and without verbal assault.

Which, btw, I believe is a load of bull. I've been party to multitudes of political conversations in the workplace and a negligibly tiny percentage of them have I seen actually get out of control. You may feel that your viewpoints aren't aligned with the culture, but that's my entire point. You have no reasonable expectation to force the culture to do anything, leading back to my point of I wouldn't go to to work at, say, an oil rig with the expectation of my political culture aligning with theirs.

And before you begin, I'm not saying anything against people who work on rigs. I am saying that there is evidence that it overall is a right leaning culture.
How Does Quick Sort Algorithm Work -Data Structures and Algorithms Quick Sort
Computing numeric representations of words in a high-dimensional space
> just parroting the party line

I am indeed just parroting the GOP party line. Their policies comprehensively demonstrate that they think less of others - LGBTQ people, women, poor people, POC, immigrants are all "lesser" in the eyes of the GOP.
You can stop and consider it, and then say "actually, you shouldn't be offended by that. It is immature to be offended by that. Please grow up"

That will offend them even more of course, which is why companies that don't have tough management will all be wrecked by this social strategy in the coming years. Google is already clearly far gone. At some point employees that constantly claim to be offended need to be told they'll be fired if they don't toughen up.
A recent Joe Rogan Podcast had a really interesting discussion about this [1].

Basically one of the key points, especially in light of people being called Nazis (accurately or spuriously), is that one of the major social aspects of pre-war Germany was that there was radical polarization between fascist and anti-fascist groups similar to what we see now. However because the psychological makeup of someone who would support fascism is more drawn toward structuralism, law and order etc... they are much more organized and lethal as a group.

You see echoes here with the Alt-Right and Antifa. Alt-Right is structured, highly armed, biologically motivated (aka racist) and generally support law enforcement. Antifa is a loose consolidation of many groups (LGBT, Socialists, Radfem etc...) that is under armed and would likely not be as cohesive in the long run.

So by banning these hate groups from being searchable and driving them away, it just makes both sides echo each other more and gives strength to each extreme of the movements. Even worse, it gives people like the ones in this article no real option to be moderate - they basically feel like they need to join a radical ideology because they feel the only alternative is anathema. This is by the way what happens all over the world with terrorist recruiting etc... so the pattern is pretty well understood. If you create extremes, organizations will form around them and then the majority of people get drug along for the ride and do morally dubious things along the way.

[1] https://youtu.be/6G59zsjM2UI?t=10m55s
Or maybe that the democratic economical policies were abhorrent enough to vote for Trump, despite his social policies?
> I'll just say this - I think even that small town would be more tolerant of liberals than I felt when I worked in San Francisco, and I'm not even really that conservative (just economically).

As a liberal atheist who has spent most of his life in the deep red parts of the south, I can assure you that you're wrong.
Ask HN: Why did you learn lisp and how did you go about learning it?
Damn! Are you saying that you won't buy a new PC, that is, condemning all the effort of Microsoft to sustain economical growth and, therefore, kill employment. I can't believe it, that is so against the current economical paradigm. :-)
I've voted for GWB twice, Obama once and opted out for his reelection. I consider myself an overall conservative, albeit fairly liberal on some issues. I too have faced condescension and derision for some viewpoints I've expressed, and that is annoying and I think it is a general problem with US politics.

But Trump is different. He's incompetent. He's hotheaded. He's terrible for diplomacy, and has alienated many of our allies. He's an advocate of sexual assault. He's an advocate of physical assault on immigrants. He's an implicit advocate of white supremacy. He can't keep his house in order. He colluded with Russia to manipulate the election in his favor. He has used his office for personal gain. He's the most evil president we've had since Andrew Jackson.

If you can't understand why people are treating you so badly for political opinions, maybe it has less to do with you being a conservative and far more to do with being a supporter of a vile, reprehensible, defective human on the world's biggest power trip.
Thanks for such an interesting discussion! The Cyberiad is one of my favorites, a great way to get started, and very re-readable.

Michael Kandel was Lem's translator for many books including The Cyberiad -- including some brilliant poetry and plays on words!

He's such an excellent translator, it would be interesting to read other stuff he's translated! Any recommendations?

https://en.wikipedia.org/wiki/Michael_Kandel

Kandel is perhaps best known for his translations of the works of Stanisław Lem from Polish to English. Recently he has also been translating works of other Polish science fiction authors, such as Jacek Dukaj, Marek Huberath and Andrzej Sapkowski. The quality of his translations is considered to be excellent; his skill is especially notable in the case of Lem's writing, which makes heavy use of wordplay and other difficult-to-translate devices.

http://www.art.net/Studios/Hackers/Hopkins/Don/lem/HorribleP...

Oft, in that wickless chalet all begorn,
Where whilom soughed the mossy sappertort
And you were wont to bong --

http://www.art.net/Studios/Hackers/Hopkins/Don/lem/Wonderful...

A love poem, lyrical, pastoral, and expressed in the language of pure mathematics. Tensor algebra mainly, with a little topology and higher calculus, if need be. But with feeling, you understand, and in the cybernetic spirit.

http://www.art.net/Studios/Hackers/Hopkins/Don/lem/Femfatala...

http://www.art.net/Studios/Hackers/Hopkins/Don/lem/Lem.html
can it display images, like imgcat?
I've seen a handful of p2p internet solutions pop up, but all seem immature. Is there one in particular that you have hopes for?
I feel like things will change in the next few years. One of these decentralized video or storage services might take off and change things forever. Perhaps it's wishful thinking, but ever since blockchain technology got rapid adoption (at least among technical people), I can't help but think we're a few user interface innovations on top of decentralized technology away from really seeing a completely different kind of internet.
non us-citizen on temporary visa, with non-existing credit. Felt it was fair at that time.
There's no value in dredging this back up. People are pretty set in their opinions on it. You're not going to be convined that what he did was worse than just having an opinion. No one on the other side will be convinced donating to a campaign of hate against them is harmless.

You already see why posting that was a bad idea because you're primed to argue, even though you know it won't go anywhere.
It's been well-tested enough not to matter. Plus that testing would need to be duplicated. Very costly. Uch.
If you think that's great, wait til you hear about this new startup called YourTaxes(TM).
The point you are missing about these loopholes, is that broader strategies are mostly indistinguishable from "legitimate" usage of the same strategy. Wealth allows people to take more risk, and will/can do so... even at the risk of not having the money go to taxes. That is what you have to "solve"...
> Judgement and ostracization, while often misused, are effective tools for a society to encourage beneficial behaviours.

Conforming behaviours. Not beneficial. One could argue that conforming to mainstream is beneficial for the society, though I personally don't buy it - if you look at what the average of human interests is, it's all pretty petty. If we were all stuck at the lowest common denominator, I'm not sure if we would get far as a civilization.

Now, one good argument I've heard for following the "mainstream wisdom" on "getting a life" is regret - i.e. that if you won't live a life in a particular way (lots of social interactions, focusing on a spouse and kids, etc.) you'll regret that on your deathbed. I'm still relatively young (in the lower half of my expected lifespan), so I might be wrong about it, but I don't buy that argument either. I've come to the conclusion that regret will happen anyway - people basically regret what they didn't do. If I focus on cranking out widgets, I'll regret not spending time with the kids. If I focus on my family, I'll regret not doing anything actually useful with my life. Etc.

Bottom-line: I think that currently, the pendulum is still too far on the conforming side.
With principles based legislation you can introduce rules that make it illegal to find "creative" ways only to circumvent restrictions. These rules already exist for anti money laundering and terrorism financing.

The problem is that changes also always affect some of the non-rich. You'll never manage to tailor laws so that everyone is hit exactly as desired.
How college grads can save money by refinancing their student loans
Exactly my take. Work is work. Keep that separate from your political, religious, and social life.

That's the reason that I never attend work social events outside of work hours (Christmas parties, etc). If nothing else it's an unpaid imposition on my free time.
That seems like an income tax mixed with a sales tax credit? It sounds awkward because income tax comes out of your paycheck but the sales tax is applied at the point of sale. You'd have income tax withheld, buy food with the money you have left over, get credited for the essential goods you bought, then pay rent, then get a credit for that...
Yes, but it's made by fallible people, who may make mistakes in previously good software you update to, and it assumes a computer doesn't fail which can still happen (although very rarely now).
Ask HN: How can a HN comment parent id be higher than it's id?
I'm doing some looking into HN data and I notice times where the parent field is higher than the comment id. Assuming this is a simple autoincrement id, the comment id should always be higher.

Any ideas how this happens? is this from merging stories? something else?
Understanding Segwit and the Bitcoin Scaling Debate
So, in order to create real meaningful change in the world, the first step is to achieve celebrity, and then do a thing that people want to emulate?

I understand the message that he was trying to portray with this post, but man, does it miss the mark.
It is necessary but could be improved. If all we had was roman numerals we would still be in the dark ages.
Mathematical Components: A Coq mathematics library [pdf]
- invent a wheel from scratch

... oh, nevermind, sorry, I failed to notice that you said coursework/internship, not portfolio.
You describe the Paradox of Tolerance: for a tolerant society to exist, it must be intolerant towards intolerance, or the intolerant slowly dominate.

This is the paradox enabling many to blindly say Antifa is a racist or fascist organization. No, they are the intolerant side of tolerance laying down the law. Without them, any tolerant society devolves slowly to fascism.
The Neuroscience of Intelligence: Jordan Peterson interviews Richard Haier
Arq backup – disclosure of file data
Posted once, but for some reason disappeared.

I'm a long-time reader, but not contributor, of HN and saw a recent topic on the best backup solution. I saw Arq as one of the recommendations and looked at their privacy policy [1]. The following paragraph was of concern to me:

"We may disclose your personal information or file data to the extent required to fulfill our legal obligation."

Nowhere does it define "personal information" (I understand it to be name, billing data etc.) or explain what "file data" is. By using two different terms the only conclusion that can be drawn is "file data" is distinct from "personal data" and not merely 'data held on file'.

Arq exclusively uses encryption [2], i.e. with no ability to deactivate it. It should thus be impossible for Arq to have any "file data" unless there is something hidden within the binary blob which allows the developer(s) to comply with a legal request.

I emailed Arq support on two occasions, over two days ago, and received the following responses:

(First reply)

"We don't have access to the files on your computer, nor to your backups which aren't stored with us. The Arq app obviously reads the files on your computer, but it doesn't send them to us. The only reason Arq connects with our server is to check for app updates."

(Second reply)

"I think we need to remove "file data" from that policy, since we don't have any of your file data."

At the time of writing, "file data" hasn't been removed from their privacy policy and this concerns me. It's such a simple thing for them to remove yet it remains in their official, legally binding, policy for reasons unknown.

Has anybody decompiled their Windows GUI? I'd like to know if the binary contains any code which transmits file information to Arq at their behest.

AFAIK only their command line client is open-source (not the GUI).

[1] https://www.arqbackup.com/privacy/ [2] https://www.arqbackup.com/s3_data_format.txt
> No economist would tell you that a high velocity of money is an inherent good

You may be confusing money and capital. Money velocity is almost always good. If someone buys infrastructure bonds and then those proceeds are spent on contractors to build infrastructure (who in turn pay suppliers and employees) you have lots of money moving with velocity.
> I like to think of it like weak minded people who love to dish out insults but accuse you of being the most indecent person on the planet if you repeat their exact words back to them.

Yeah, but you'll always have rationalization on why one side thinks it's okay: "It's okay in my case because I'm intolerant of intolerance" "It's okay in my case because I'm bigoted against bigotry"
https://www.gop.com/platform/

> the cornerstone of the family is natural marriage, the union of one man and one woman.

Thinking less of LGBTQ people.

> American taxpayers should not be forced to fund abortion.

Thinking less of women by denying them bodily autonomy.

It's all there, written down, in their own damned party manifesto.
Setting souls free – the Preethi Srinivasan story
There is also http://convert2mp3.net/ (from Germany). If I understand correctly, the reasoning is that a download is private copy, which is allowed in Germany, and can't be forbidden by the Youtube ToS.

Unfortunately there is no information about the case available in English, here is some German:
http://convert2mp3.net/index.php?p=legal
youtube-dl can also download from a wide variety of sites, contrary to what its name would have you believe.