skysight-inc/HackerNews huggingface dataset:
As a US citizen, I go to my company's Canadian office every so often. I have no issues saying it's for business -- the first time ever I was a noob and was asked to park and go inside for more questioning but once I clarified that my company is US HQ'd, that I was just there for meetings (not actual work?), and that I'm not a manager everything was swell. I later learned actual managers at my company never reveal they're a manager, or at least not over anyone they're going to meet with.

The other thing about volunteering extra information is it can come back to bite you if you're not consistent next time, so I also try being as vague but still truthful as possible. If I was visiting anywhere else but Canada, though, I wouldn't have any problems skipping the whole drama with "I'm traveling for a vacation" and "nope, not meeting anyone I know" regardless of whether that is true or not.

Border crossing is basically a hazing ritual in a lot of places, and while I agree with GP's "this was her mistake" it really is dumb we all have to put up with the hazing. Kind of like not bribing a cop in [insert south american nation here] who is giving you trouble, or bribing him with way too much money. Some people just don't get that there are dumb, sucky customs where not following them (or trying to follow what they think is the most honest or rational process) is a mistake and complaining about the mistake after the fact won't solve anything.
Maybe, though she's already not the stereotypical rich white young male founder. She does check 2/3...

I still think the story of the rather epic rise and fall of a company that promised so much, achieved an insanely high valuation, then turned out to be essentially a fraud makes for a pretty good plot. I'm guessing if someone were to make the movie at all, the ethnicity or gender of the founder wouldn't really overshadow the sheer weirdness of the story.
Hack Facebook with Phishing
When dealing with a rigid system built on stupid rules it's better to avoid direct confrontation.

She would have a 0.1% chance of being denied future visits vs the 50% chance of going through the experience she faced.
"If I roll this d6, what will the average be over time?"

I'll be honest, that's a really dumb question for testing programming skill.
That is a pretty impressive feat for a car

Long ago I was a passenger in a similar accident with a VW Golf that looked very much like this one after the dance. We walked out, just a little scratched and a lot scared.

The jump distance itself is not impressive, I've seen longer without consecuence.
I don't think any of the bashing the FBI gets is about suggesting they are breaking the law. Rather, the suggestions are that the law is limitlessly broad and allows nearly anything so it is nearly impossible for them to break the law in the first place (they can, for example, set up entire laboratories dedicated to fabricating evidence and send trained experts who lie on the stand as standard operating procedure with no repercussions).

And given that their powers are so broad and immense, we rely on them acting in good faith and morally (we must, because we have nothing else), so we criticize them when they do not do that.

Preying on mentally ill Muslims and concocting elaborate schemes which exploit their inability to function normally to trick them into "taking part" in (sometimes little more than just 'agreeing to') some sort of plot that doesn't exist and then patting themselves on the back for "getting a terrorist" and locking the mentally ill person in jail for decades is, well, sick, and not a shining example of 'acting morally', so the criticism is well-deserved.
What kind of Web do you want?

+ Promotes freedom
+ Inspires learning
+ Safeguards privacy
+ Is available to all
+ Creates opportunity
+ Puts me in control

This is a good question. My answers would be "inspires learning" and "puts me in control".

Sidenote: let's address the "enable JS" issue once and for all since it keeps popping up in these threads.

Imagine an alternate history where a book reading program went critical (we'll call it "Reader") and took over the world. (In the actual world of course it was a static document consumer -- the "Browser" -- that took over everything and eventually became its own operating system).

In this alternate history there are regular internet fights (occurring in Reader of course) over whether turning off ReaderScript in Reader is a reasonable thing to do.

One side says: it's dumb to turn off the programming language in your Reader and still expect it to function -- programming graceful degradation into every reader app in the world would cost billions of dollars and be a huge waste.

The other side says: that's true, but I just want to read the Quran without popups!

Happily synthesis is easy since both sides are right. You should never expect a readerapp to work without ReaderScript. You should always be able to expect a book to work without RS -- they should never have had access to it in the first place.

The path forward is clear. Readers should have clearly different modes for books (documents/sites in our world) and apps. We should maintain a community list of which URLs are which, and load that by default into Reader. This way apps can continue to run programs by default, but we don't get popups in our books.
Interesting, same here, perhaps we actually processed the numeral in the child comment subconsciously while reading the written-out five in the parent.
1. Yes.

2. Because jQuery provides a documented, backwards compatible, and stable API that works across multiple platforms.
In the Stack Overflow survey :)
Admittedly a database would make the querying more efficient (this is actually probably a good use case for Mongo), but you could just keep a dictionary for each query-able field if you want better than O(n).

Only once they ask for efficient Levenstein-distance-supporting search do you need to use any brainpower.

N.b. if you choose to parse CSV from scratch, make sure to handle commas in quoted text as well as escaped quotes. The better approach is to grab a library or code snippet and call it a day.
HTC Wants to Make VR a Business Tool
Wordpress did this by issuing Let's Encrypt certs on demand for every domain people CNAME their way.
Theresa May is my local MP. I keep trying to vote her out, but the idiots around me keep voting her in!

So when we sleep walk into a mass surveillance state I can honestly look at the people who live around me and say 'this is your damn fault'.
And what about the 99% of people who don't have a problem with the 99% of the web you feel is shit? Why should the web be limited to only what you feel is worth your time?
Unix is the case where A == B == C. e.g. Pipes are an algebraic monoid (not monad).

I noted in my message that Unix polymorphism isn't perfect, and comes with the costs of serialization and escaping. However, I challenge anyone to design something better with types. It's not like people haven't tried.

From Alan Perlis: "It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures."

That is the essence of Unix (and Lisp for that matter). You don't want A, B, and C; you want just A, and then 100 functions on it that can be composed.
I'm always entertained by how there's a big "Welcome to Scotland" sign on the A1 going north, and no corresponding "Welcome to England" sign in the other direction.

The UK has an open land border with another EU country - Ireland - and so far the Brexit campaign have been very unclear about whether this would continue and what implications that might have for ""controlling immigration"" and ""protecting borders"".
Income inequality is just the symptom, capitalism is at the heart of the problem. This is what happens when you get a saturated labor market and employers have all of the bargaining power as the vast majority of people are unable to obtain the means to sustain themselves without selling their labor. The way I see it is we can only solve this problem possibly through a livable UBI, or preferably doing a major overhaul of how property rights work. Rather than having individuals own productive property where they employ others and keep everything the employees make, the property should be collectively owned and managed by those working it.

If anyone is interested, I recommend reading up on socialist theory. If you like markets mutualism, market socialism, or collectivism may be interesting to you. If you think planning might be a better route for the 21st century check out syndicalism or communism. There's a number of other philosophies I'm not acquainted with. Also, inb4 "communism/socialism is big government and authoritarianism", I'm tired of explaining the failings of tankies.
And what would your "advise" be if she would get into trouble for lying to a custom officer? I guess something like "Just don't lie".
Building Platforms and Learning from OpenTable
Where to begin depends on what your goal is, mine was to be able to complete Sussman's SICM book (and later, his Functional Differential Geometry book).

The book I used to do this was Advanced Calculus by Loomis & Sternberg because it covers classical mechanics, potential theory, differentiable (Banach) manifolds, differential equations, (multi)linear algebra, fundamental theorum of calculus and the Fourier transform. The exercises are not very difficult compared to a lot of other texts (Spivak's Calculus) so this is an accessible math book as I don't have any formal math training.

I also liked the Mathematical Preliminaries crash course in the Art of Programming Vol 1 because it led me to looking into probability which has turned out to be an infinite rabbit hole of discovery. (a grad students highly opinionated list) https://www.amazon.com/gp/richpub/listmania/fullview/1F85VWN...
I'm a US citizen and I don't like having to return to the US from abroad. Sometimes you are lucky and get a border guard that actually acts like a human being, even a human being doing a mostly boring job, but many times you get power-tripping jerks. I often travel with my partner, who is a green card holder, so I get to see that whole barrel of nonsense as well. In airports without the new expedited entry system (forget what it is called) we often have to wait upwards of 2-3 hours to get through an immigration checkpoint.
How to Keep a Remote Team Motivated
FAREWALL TO a LEGEND MUHAMMAD ALI
Escort Scandal Hits Major Startup Conference
Collective Code Construction Contract (C4)
Why personal finance isn't taught in school is beyond me
I want a web with less JavaScript.
Right now I'm looking for a job, not hiring haha. The table is always spinning.
> it seems they could have easily rejected her straight at the desk - you're here to work, you don't have the visa, done, have a nice flight back, next please

They can't actually do that, any refusal has to be signed off by the duty head of the port (IIRC; I presume each terminal at LHR has a separate one!), as far as I'm aware.
I have a portfolio (it's a bit dated now, though, and only includes the games I've worked on). It's always clear in interviews that my interviewers never bothered to look at it, though.

Still get the pop quiz interviews almost every time (with or without coding) and it's pretty clear my chances of getting an offer is at least 90% based on how well I do on their pop quizzes.
It's my opinion, maybe you failed to grasp that pertinent detail when I wrote "to me".
I'd say (and probably this is what you meant) that those are examples of what happens when backwards compatibility is broken - the community gets fragmented, finding answers on StackOverflow gets more difficult, lots of helpful blogs/articles/videos are now useless, etc.
As long as you use subresource integrity we have a deal! I know it's currently experimental but having native browser support is much more palatable than using JS to check the hash.
A couple of design comments:

First, I was confused by the animation of green dots on completing the poll question. I had expected that each dot would light up in a color associated with the selected poll answer for the associated user, and thought something must be wrong that I was only seeing the folks who had chosen "Freedom".

Second, once I figured out to hit the color legend to see different results, the contrast between some of the brighter highlight colors on the map and the blue background made it nearly impossible to visually distinguish the gradients.
While what you said is true, the Beringia straight closed 10,000 years ago. Any contact/trading/migration after that event is always interesting to find out.

What is interesting about this is that some sort of trading/contact was occurring across the Pacific Ocean around 1100-1300 AD. While anticipated, this is a significant find.
Halo was being developed for Mac as well, until MS went and bought Bungie. They presented on stage at MacWorld in 1999.
To me, this is simply one of the risks that companies who trade entirely on sentiment have to deal with.

I hope it's obvious to anyone that Tesla's (and to a lesser extent, Amazon's) massive valuation is not based on bedrock fundamentals but on perception and expectations. Baseless hit pieces that knock a few percentage points off your stock are part of the game at that point.
I've worked with Postgres, MySQL, Oracle, and SQL Server, and Postgres is my go-to choice. I can think of a few cons though:

- Replication is harder to set up than MySQL. And there is no master-master replication like in MySQL. (Of course it also doesn't lose your data.... :-)

- I wish there were support for SQL:2011's bitemporal stuff. (There are some tools/extensions/published patterns to add "transaction-time" aka "system-time" support, but none I know of for "valid-time" aka "application-time", let alone both at once.) But this is very niche and not really fair to expect so quickly from a free product.

- I wish I could share a database between separate users, give them each their own schema, and not let them do `\dn` to see what other schemas exist. Again, very niche.

. . . Okay I thought I would have a longer list but I've run out of ideas. :-)

- EDIT: One more. You can't do `UPDATE ... ORDER BY ...`. This mattered to me once when I had multiple multi-row UPDATEs running at the same time, and if they touched the same rows but in different order, they would deadlock. You could solve that with `ORDER BY id` so that everyone obtained locks in the same order. Apparently this is not a big enough problem for anyone else in the world to care though.

I think the lesson here is that there are no real gotchas, just small annoyances that are very unique to your own project. Unless you have quite unusual requirements, I doubt there is going to be a deal-breaker issue.
I would have to agree that formal education is by no means a guarantee of intelligence and critical thinking skills. The latter are unfortunately much more rare.
Yep.

It's human nature - if the people she faced deal with people who are trying to scam the system 90% of the time, they will be conditioned to deal with such individuals.

Then when the 1 out of 10 comes across who is genuinely NOT trying to pull a scam, it will be very hard for them to turn their attitude 180 degrees.
On top of that, I loved the irony that it was basically too ridiculous to use on the show.
This probably isn't a popular opinion, but I fail to see how this is a problem with Facebook.

The Google Docs URL is public whether or not you send it through Facebook. It's only secret until someone guesses the link (Edit: maybe not mathematically in the case of Google Docs, but many other services use 'unlisted' URLs without having a long token to guess) - something they can do without the URL even going through Messenger.

If you're sharing passwords or confidential information via a public URL with no authentication and hoping nobody finds the address, you're asking for trouble. I don't blame Facebook for not doing anything about it.
Wouldn't that remove one of the major purposes of patents? Right now they provide pretty good motivation to develop something that you don't personally have the ability or desire to commercialize. If you can't sell the patent, you'll either not invent anything, or sit on your inventions for a long time until you feel like starting a business.
Google Manipulates Search Results for Hillary Clinton
Yes, its already out. I had couple of hiccups while installing but was able to install it from Github.
> What languages and platform are you using?

C# for the core app, C# and F# for satellite services. Not sure on what you're asking re: platform. If you mean hosting? Then we roll our own servers in tier 4 data-centres. If you mean OS/framework: Windows Server/.NET
I was in HR15. I got a $70k raise. Went from working as a Junior accountant making $40k to Software Engineer making $110k (not even counting my $15k signing bonus). The ROI from the program is beyond ridiculous. Best experience of my life.
I'm not sure if they've considered it, but it's the logical outcome of the change. They're not UK nationals and they don't have any kind of visa or leave to remain - because of the EU rules. So if the rules were changed to require visas for EU nationals, what then? Make everyone apply for leave to remain? Do nothing, and watch as people realise that although they can stay in the UK if they ever leave it to visit e.g. Spain they're not allowed back in at the border?

So given e.g. https://news.ycombinator.com/item?id=11876453 , what happens?
See the sentence right after that one. In the best cases the Bay Area tech community is cliquey, in the worst case it's illegally discriminatory. The recent fashion for founder-friendly term sheets hasn't really extended to employee-friendly employment agreements. Sure, I get that.

And yet, it's also true that there aren't enough developers. I've dealt with hundreds of candidates over the past year. There are a few who rejected an offer, presumably because they had a better one some where else. Most, though, are not qualified, and most of those that are, accept an offer somewhere else before completing their interview.

As an experienced engineer, I'm happy that it's a seller's market for tech labour. Someday I'll be on the other side of the table. But damn, there are so many things we could accomplish if there were more of us.
I don't buy your logic, the terror "busts" rarely make a the news more than just a passing mention these days. So I doubt it has much psychological effect on the public. Also very few, outside of maybe conservative talk radio, said the San Bernardino shooters were "foreign." The line was always "home grown terror with possible ties to (or inspired by) ISIS."

Pretty much everyone I've seen recognizes the risk of terror is far greater among people already living inside the U.S. (or Europe), "sleepers" or otherwise, usually first or second generation immigrants.

In terms of "far right" terror groups, that's a different story entirely, and usually those groups are vocal in their communities (making them easier to track;) with the exception of "lone wolves," which are harder to track because they usually don't have international connections or travel records (or domestic ties to groups) that would raise flags.
Coming from the Bay Area, I think your analogy with the Dodgers is a bit of a stretch. He is talking about people that are hated for being successful. /s
Tesla Co-Founder’s Electric Garbage Truck Recharges by Braking
`REQUIRED_CHILDREN` used to not be in docs -- only code. This is what I had in mind when I said partial.

I don't know which, but I think one of the `RANGE_DELETE` vs `NODE_DELETE` said it could take a list of ids but only one of them could -- it was something like this at least ... maybe path vs key? I don't remember how it was documented -- this is what I had in mind when I said wrong.

I didn't submit PR's btw -- I suck at open source :).
Ed: The specifics on how things get broken are complex and fixing them can be non-trivial. But, punting these issues often means they keep showing up when you want to do some other completely reasonable thing. People talk about unit tests as a huge thing, but when your software can't handle basic functionality things are already horribly broken.

As to removing features to avoid slow pages when using the feature, that's a horrible tradeoff.
Sometimes you don't know what you don't know. I was completely torn apart the first time I was interviewed for a Scala position, because the guy didn't believe I could possibly have spent three months doing Scala professionally and didn't know basic List methods like fold (we'd been avoiding using Scala collections because we knew the migration was coming, and had just been writing Scala with the Java collections).
Indeed. Try showing up at the US border and explaining you're going to work without a permit but it's OK since you're being paid via Mexico with two currency conversions. I get that the experience was unnecessarily unpleasant but c'mon.
Yes, this is a textbook case of idiotic bureaucrats encouraging good, honest people to lie in order to go about their day-to-day lives. This policy is clearly counterproductive. -- UK citizen, absolutely furious about this.
She's an animation artist giving a talk about an web animation API, doesn't that fall under If you’re invited as an expert ...take part in arts, entertainment or sporting activities?
Oh the memories. My first "lan" party was in my parents garage right after Quake 1 came out. We had two computers connected with a null modem adapter, since neither of us could afford network cards. Everyone took turns playing 1v1 games.

My best friend and I got our first apartment when we were still in High School, which ended up turning into an almost 24/7 lan party. Friends would find space for their PC's and leave them there for weeks, dropping by to play games when they had the time. One weekend we had so many people, there were two PCs setup on the kitchen counter. Internet access? A socks proxy letting everyone share our 33.6 dialup connection.
What are your thoughts on things like https://github.com/twitter/innovators-patent-agreement ?
Compound interest isn't much help to those spending their whole paycheck meeting their basic needs. Knowing how to properly invest doesn't help those who can't generate enough income to effectively invest, and didn't receive any help from family or angels.

https://xkcd.com/947/
Show HN: Dopamine API – Turn any app into a habit
I don't know if there's something wrong with jet.com right now, but every single category I go to, and every single search I do on the website, yields the "Sorry, your search did not match any products." page.

Edit: Ok not every single category, but most. Pet store section works, but health care section for instance does not work.
Eyes of the Afghan Girl – A Critical Take on the “Steve McCurry Scandal”
You find it odd that the media would focus so much on the person who has had the most singular and direct influence over a controversial company's decisionmaking?

As an Asian, yeah, sure, I'll definitely agree that Asians don't get much media/movie treatment. Not sure I see your point. Who do you want the media to focus on in the Theranos case?
I have a completely different experience from you.
As I'm reading this on my phone, most of the website related experience is better without JavaScript.

I also had in the past legally blind co-workers that could barely use a browser, so they had their own problems with JavaScript overriding defaults.

By the look of it: if JavaScript proponents designed car doors, there would only be remote unlocking and no physical key.

It's just bad engineering lately beign promoted as 'the default way to build webpages'.
Check out games like the tabletop version of X-Com. They've integrated a smartphone app into the gameplay extremely well.