skysight-inc/HackerNews huggingface dataset:
I've previously experienced two kinds of therapy: one which emphasized the "what do you feel, why do you feel like that, what or who caused you to feel this way", and one which completely disregarded the past, who was to blame, etc. and which instead focused on what actions I was presently taking, and what positive outcomes resulted from my actions. Guess which method worked.

Unfortunately, I think a lot of the therapy out there is the first type, which for me, and most (I suspect), just makes the negative spiral worse. You spend MORE time thinking about what's wrong with you then you did before (if that were possible).

The second approach was life changing for me. I learned to let go of the past, and focus on what I'm doing which works (which, surprise surprise, leads to more of such behavior). And interestingly enough, the therapy was relatively short term: something like three months, once a week. And that was almost ten years, marriage, and three kids ago--and I'm still practicing to good effect what I learned in that brief time.

So my advice to anyone who will listen who's in therapy or interested in it is this: seek out a counselor or therapist who focuses on short term therapy which focuses on present action and positive (desirable to you) outcomes. Every other approach, IMHO, is a waste of time and money...And may make you more worse off in the end. These people can be hard to find, but they're worth their weight in gold.
What Are P-Adic Numbers? What Are They Used For? [pdf]
What I don't understand in the Hernández case is why Mesa apparently hasn't been investigated/charged by the Mexican authorities?
I guess this does it for me. America might be interesting to me as a tourist, but the idea that some schmuck on the border would turn me back for some ridiculous reason, humiliating me in the process, all that while erasing a significant portion of my life savings... (because they charge the airlines some ridiculous fine which would in turn try to force it down on me) blah. Not worth the risk at all.
There's also a surprising difference in behavior between tm = localtime() and localtime_r(..., &tm).

The former is the "traditional" function which returns a pointer to a statically allocated, global "struct_tm". The latter is the thread-safe version receiving a pointer to a use-supplied "struct tm" as it's second argument.

: do {
: t = time(NULL);
: localtime_r(&t, &tm);
: printf("The time is now %02d:%02d:%02d.\n",
: tm.tm_hour, tm.tm_min, tm.tm_sec);
: sleep(1);
: } while(--N);

with TZ set to Europe/Berlin, set to :/etc/localtime, or unset I never get a stat on anything.

write(1, "The time is now 07:23:33.\n", 26The time is now 07:23:33. ) = 26
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffd9e798470) = 0
write(1, "The time is now 07:23:34.\n", 26The time is now 07:23:34. ) = 26
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffd9e798470) = 0
write(1, "The time is now 07:23:35.\n", 26The time is now 07:23:35. ) = 26
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffd9e798470) = 0

If I change it to tm = localtime()...

stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2335, ...}) = 0
write(1, "The time is now 07:30:56.\n", 26The time is now 07:30:56.) = 26
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc868c3010) = 0

One more reason to switch to the reentrant/thread-safe versions of those ugly library functions :-).

Note, this is using glibc 2.24 under Arch.

$ /lib/libc.so.6
GNU C Library (GNU libc) stable release version 2.24, by Roland McGrath et al.
(...)
Compiled by GNU CC version 6.1.1 20160802.
Ask HN: How few employees could major tech companies get by on?
To me, it's interesting to imagine how few people could run a company like Google/Facebook/Twitter in their current capacity, if needed. Google, for instance, now seems to employ over 60,000 people. Could they make do with 6,000? 1,000?
After many unpleasant dealings with US Customs, I avoid flying to or through the US completely even if it costs me more.

The last time I flew from Canada to Singapore through the US, the US Customs officer - on Canadian soil - was hostile, asked me numerous questions about my travel, itinerary, who I was intending to meet, and my personal finances.

When I questioned if all this was necessary as I'm not even traveling to the US, he became agitated and threatened "You know I could stop your trip right here? I might not be convinced you'll actually transfer on your next flight or leave the US."

After scowling at his screen for a while, he finally scoffed, slammed my passport on the counter and said "Go." I guess he felt he had shown his power enough.

It was extremely stressful and humiliating, and I vowed never to subject myself to it again. FWIW, I'm a caucasian, middle-class Canadian IT nerd. I can only imagine what others who meet their "profile" go through.
I never said I did not own one, that would be lying and would be illegal, and I am a very law abiding citizen. I don't have it on me as I don't want it to be stolen or hacked or anything else nefarious. You know to keep everything kosher between myself and my employer and all the other parties that might send me private information. It's a mitzvah in this day in age.
I've been thinking along similar lines recently, but don't have fully formed enough thoughts to write. Would love to brainstorm if you're in the bay area at some point. (email in profile)
> There is too much inertia there. Since Dell had troubles in the past, they translate it into present. They should just start anew and offer Linux on all their models.

If I were a PC OEM I'd be in wait-and-see mode for Google's new OS, which may or may not be Android-for-the-desktop.

> If something can't deduce security method, what do you expect it to ask? Particular details of the UI adjust to selected security method (at least in KDE manual configuration). I.e. I find it completely reasonable, and I doubt Windows or any other OS can fare better if automatic configuration fails.

It should guess the possible security method(s) based on the entered password, and if that fails display the more complex modal, but with the lesser-used fields behind an "advanced" button.
You're mostly right.

At some point these experiences may affect tourism, business, and desirable immigration.

But it's probably too distant of an effect to have that much political capital.
UPS testing drone delivery service
Wish I were a government employee - so I could leak information about Trump. It would be the moral thing to do.
The border authority knows who you are (from your passport). They can use that information to check everything - phone records, Facebook, LinkedIn, Twitter, your purchase history, your credit references, etc. They don't have to simply accept you don't have any devices - they already know what devices you have and what you use them for. The only thing they don't have is direct access to your actual data. That's why they want your password. If you claim not to have a phone with you they simply won't let you in because you're not being open enough.

This is the modern world we live in. Decades of pervasive privacy intrusion by governments illegally sucking up all the data of foreign and domestic citizens has done this. It's hard to see any way back.
Springboot-dubbox
Yes, at a border checkpoint run by CBP.

They don't get to like go to your house and "investigate".
I suspect this might be a candidate for PCA, or a similarly driven approach.
The true, correct story of what happened at Donald Trump’s inauguration
Married Gay can get attraction for his wife or other women
Assuming you're not trolling, it's impressive that you're 10 and on HN. I think modern culture, in a bad way, encourages people to take their inclinations to the extreme. If you have ADHD, you're not just someone with that particular medical condition, you're "an impatient genius who has no tolerance for BS or stupidity." That's not to say you think of yourself as such, just that people are rewarded for acting consistently with a memefied Hollywood stereotype of themselves. This in turn influences and reinforces behavior.

Focus on how you can utilize your mental makeup to shape your life rather than bend others. Reduction of zero-sum dog eat dog thinking would help ameliorate any social aspect of your anxiety. I didn't have much to go off of from your post but I hope that helps.
Nixon and then Reagan's policies.
Personally I'd be pretty upset about Android for the desktop. Ironically, while Android is using Linux kernel, it's also using completely incompatible userland from the rest of the Linux world, starting from its own libc. This creates a major mess and lack of drivers on mobile for normal Linux distros that use glibc, Wayland and etc. and need for such hacks as libhybris to work around that mess. I really don't wish the same sick situation to spill out to desktop Linux.

> It should guess the possible security method(s) based on the entered password

I'm not sure it's a good idea security wise. I suspect, it might inadvertently expose your password.
D.C.'s population includes, to a first approximation, the governing elite of.the nation (including both government officers and lobbyists, etc.) who come to D.C. because that's where the capital is, and the local population that is there because they can't afford to leave. The former is overwhelmingly white (and higher socioeconomic status that whites generally in the nation), the latter is overwhelmingly black and poor.
You just described my life and why Amazon gets all my grocery and household goods money now.
Do you have any basis for your last point?

I legitimately don't know many of my passwords, there's no legal obligation to know them, and the law generally cant compel you to do impossible things (eg, tell them something you don't know).

They can subpoena my password safe, just like any other file on my computer, and possibly require I unlock it (this is disputed), but I don't see any reason they can demand I reproduce the contents of the safe that I don't know.
> O(nk) will still fit into L1

Not even close. The lexicon is 230k words, times 26 letters is nearly 6MB. The i7 has a 64kB L1 cache and a 246kB L2 cache.

I think the only way to resolve this would be to actually do the experiment. I wouldn't bet my life savings on the outcome either way, but I'll give you even odds at low stakes that sorting is faster.
Just two dots to connect, instacart removes one of the reasons to drive, millenials don't like to drive[1].

[1] https://www.washingtonpost.com/news/wonk/wp/2014/10/14/the-m...

http://time.com/money/4185441/millennials-drivers-licenses-g...

Etc.
For online accounts (ignoring devices that you can physically access) what happens when the account is in your name, but you do not have access to it?

Ie: Hugh Jackman has an Instagram account, but it may be run by his PR team. He doesn't hold the password to it, and depending on the contract terms, may have no capacity to order his PR firm to provide it.

Non-celebrities could start structuring their online identities in a similar manner, as separate legal entities that afford them (as an individual entity) limited rights.

The border guards could still reject your entry tho.
SQL Server 2016 Developer Edition in Windows Containers
The U.S. is the only country I've visited where immigration asked me a trick question. Not the kind of mental gymnastics you want to be doing after a 14 hour flight. I'm lucky I caught it.
> US Customs officers didn’t even need to ask for his passwords — they were saved in their own system

This is also horrifying. So there's a government database of plaintext passwords and a massive body of people have legitimate access?
It needs more competent screening.

Good luck getting that when all they do is grab low hanging fruit from publicly available social media.

Anyone who is truly a problem will use a burner and spend 10 minutes creating fake social media accounts that are harmless.
I think if cities make car transportation a hassle, what will happen is dense locales will see more Aldis, Trader Joes Lidls, etc. (small footprint, high turnover goods at affordable prices) and that will enable more people to walk to their grocer, rather than use shopping and delivery services. These services are basically luxuries. Middle class people with families aren't the ones using these services. Upper class and upper middle, sure. DINKs, sure.
All you see is the capital angle?

You're hijacking the comments with your company valuation thing instead of thinking about the workers for once as is the whole point of the article.
Generally not, compared with the difficulty of it. (And the first dozen posts are all bang on the money, and you have to deal with all of those things AT ONCE.) You have to be a multidisciplinary wizard and you will never get paid what some VBScripter gets paid at $bank.

When you're developing a product, hardware iterations take most of the budget. As 'the software guy' your job is to be handed a piece of hardware and some vague requirements, and to make it work the way the end user (who you probably never get to meet) expects it to. The product will already be over budget and behind schedule, so you don't get funding and you're probably already late in delivering the product (no, your deadline does not move due to this).

It's hard to find embedded work because the people who 'need a software guy' for their hardware product don't know any software developers so you have to be lucky to meet potential employers.

That said, there is opportunity for some COBOL-style big bucks later on, when suddenly they need to make another production run of the product you worked on back in the day, and they want a few tweaks, and you're the only person on the planet who has the faintest clue how to build the software and program the hardware, so you get to pull your hair out all over again but this time for a more reasonable wage.
An explorable guide to Mandelbrot Set
Showing my own ignorance. My heuristics have been updated -- thanks!
This is part of the problem, not the questions but the attitude. I can understand them asking questions, they have a short time to figure out if the traveler might be "up to no good". That is no reason to ask questions in way that attacks a person. Ask all the questions you want just don't be terrorizing jerk about it.

Now one instance can be chalked up to a bad apple but over and over again I have heard stories like this and experienced on multiple occasions.

Canadian customs officers may ask questions but they are generally not in a abusive tone.
Yeah, who cares about business, tourism and desirable immigration? None of those things are worth much to the US economy I guess.

(Our family was seriously considering a touring camper holiday to the US in a year or two. Now: no way in hell.)
I see a couple things at work here. One is the idea that the nuclear family is a kind of holdover from the past, and that the state ought to subsidize people choosing to live in novel family structures. Across society, the introduction of new family types could conceivably improve fertility rates or other outcomes that the state has an interest in improving. From the article, I gathered that one favored model is multiple single mothers and children in one household. I could easily imagine that model is more efficient and better for kids than having one parent try to do everything themselves. By subsidizing cohabitation of single mothers, the state could save money in the long term by improving the income expectation of the children and reducing likelihood of incarceration.

Another aspect is that the interviewee has started a business which caters to single mothers who want to cohabitate, and most likely her business would benefit from state subsidies to the kind of lifestyle she's trying to facilitate.

I get a weird kind of futuristic vibe from this article, as though this kind of multi-mother creche could be a step on the way to the parent-less, homogeneous culture of Brave New World. With the right combination of subsidies and persuasive media, I wonder if societies could be persuaded over a few generations to abandon the concept of a family altogether, eventually coming to see the nuclear family as another horror of the past.
AFAICT, you buy from their site so they are probably getting some kind of commission. But they only have 20 products in total that you can buy from their site. Plus they have someone spend up to an hour training you on the product.

Their Experts page says all of them are full-time and not contractors and it looks like they have about 50 people listed there - https://www.enjoy.com/pages/meet-the-experts

I went through the first part of their checkout process and they suggest accessories to purchase with the item so maybe it's an upsell thing? Maybe the in-person "expert" is really just an incentivized sales person that you've invited into your home that will try to push other accessories that you "need" for the product you've purchased.

I imagine the kind of people that would need this service would be people that are not technically adept and could probably be easily manipulated into purchasing things that they don't really need.
and here's some more:

- Open Source PDF Libraries and Tools http://pdf-house.blogspot.com.au

- gnu plot http://gnuplot.sourceforge.net/demo/index.html
(https://opensourceforu.com/2011/01/plotting-is-fun-with-gnup...)

- Postscript software https://en.wikipedia.org/wiki/List_of_PDF_software

- Ghostscript https://www.ghostscript.com/index.html

- Adobe OS tools https://github.com/adobe/adobe.github.com

- xpost interpreter for the PostScript Language https://groups.google.com/forum/#!forum/xpost-discuss / https://github.com/luser-dr00g/xpost
In response to what you wrote in another thread about these questions: I think they are more propaganda, intentionally or not. They're a continuation of endless, open, 'possible', unfounded allegations, questions, and speculation. There is not even an attempt to establish any credible basis for them; they contribute no knowledge to the discussion; all they do is eat time and attention, and slow and distract people.

It's like a person at a meeting, where people are trying to accomplish something substantive, who just raises endless speculative objections.
Educated won't visit the USA anymore. Only the people with desperate need for a job will "visit" the USA.
Dropbox Paper. It's multiplayer Wordpad -- a reversion to the "big white space that (ironically) doesn't pretend to simulate sheets of printer paper," now with emojis.
I think this is an example of something machines can't quite do better than humans yet, though it's an interesting problem to solve (trying to analyze how people in general will feel about something).

Personally I'd give it to either How to Disappear Completely, or Exit Music (For a Film).
They have implemented dasher using the same technique, which is a rapid gestural spelling interface:

https://www.youtube.com/watch?v=nr3s4613DX8
> If I were a PC OEM I'd be in wait-and-see mode for Google's new OS, which may or may not be Android-for-the-desktop.

I'd be investing in linux in case google and MS go the nexus/surface/mac route and cut third parties out of the equation. Kind of like what samsung is doing with tizen.
The way we treat travelers at our borders is how we can expect to be treated at their borders.
Agreed. Technical solutions are a temporary stop gap for those who need to cross the border while the law stands. Or a form of protest, but not a long term solution.
Her uses this setup is pretty interesting: https://usesthis.com/interviews/jessie.frazelle/
So does this mean that if I have sensitive information and travel that I should just purchase computers in both inside and outside the US and never travel across the border with any electronics?
I've found the Canadian guards meaner, and I'm a Canadian citizen.
1,000? You can't be serious.
If you say you can't remember your password, they can't force you to remember, but they can tell you to go home.

When you're a foreigner attempting to enter the USA, they can simply deny you entry for failing to do what they want. US CBP has the authority to make arbitrary decisions not to admit foreigners, and CBP faces almost no scrutiny.

Most other countries give their border guards similar authority with respect to foreigners not entitled to enter by some treaty (e.g. EU).
> Retailers go where the customers go, though.

If they're allowed and if the customers have enough density to support the retailer.
> There is no political upside to that position

In this case you have a gay Canadian man lawfully entering the United States. I think you could find vocal American constituents who care about such people not being profiled, harassed and threatened with violence on the whims of a single person.
I'm proud of MHP and Trellists.

Seeing how successful Trello has become makes me sad for the lost potential of our former promising stars, like Copilot and Kiln.
The Race to Map the Human Body, One Cell at a Time
Which really, should be whatever they need to do. The twist being at any point you should say "No, I'm staying in Canada" and they should say okay bye.
I just emailed my U.S. Senators, U.S. Congresswoman, New York State Assemblywoman and Senator as well as New York City Councilman. You can find your representatives here [1]. It's a simple email saying this is an issue you care about. Pretend it's a Hacker News comment...

[1] http://act.commoncause.org/site/PageServer?pagename=sunlight...
> "removing soda for poor people" isn't really even the case. it's just not allowing food stamps to pay for soda. I think, effectively, people will just use cash for that, and not change their habits. So $5 less for gas, or rent, or whatever they might actually use the cash for.

It's worse than that, because SNAP isn't intended to, and generally doesn't, provide 100% of your food budget. So removing unwanted things from the list of what you can buy with it is completely ineffective because yesterday people were buying soda with SNAP and meats with cash and tomorrow they just buy soda with cash and meats with SNAP.

This is one of the reasons why replacing things like SNAP with a UBI gives an efficiency gain. Because of that substitution effect, the entire bureaucracy dedicated to making sure people buy "the right things" with SNAP doesn't actually restrict what people buy and is a pure dead-weight economic loss.

Compare education subsidies, which actually do restrict what people buy, and are therefore worse than a UBI because they do this: http://slatestarcodex.com/2015/06/06/against-tulip-subsidies...

And if you actually want people to drink less soda, stop subsidizing the production of corn syrup.
I really want you to convince me of this right now :)

I'm not a psychologist or sociologist, but there's a lot of evidence this forms earlier, via peer group, media, and parenting.

Unfortunately universities are capitalist organizations with all the accompanying weaknesses. We'll only see action from them if the probable return of action is positive.
To whoever downvoted the above without replying: you are intellectually bereft. ;-)
OTOH, not changing all your passwords after having to divulge them under duress is pretty careless, too.
What kinds of things did you use them for and what was the cost? If you don't mind me asking.
It's only distant in that it's near impossible to measure, so it's distant to the perception; otherwise, it's right here, right now.

If not long in the past; I for one decided around 2003 that visiting the US is too spooky a prospect for me. By boat maybe, so that if I get turned back I at least have a bit of a fun time traveling. But then again why not simply go to like a thousand other places where I pretty much know it'll be great and that I'll be treated with respect, with the added bonus of pumping money into an economy that does worthwhile things with it?
"If only the Czar knew!"