skysight-inc/HackerNews huggingface dataset:
Imagine your Tesla Model S has an issue where it won't charge. You call your buddy who also has a Model S, and she's having the same issue with hers. So, you call Tesla and tell them, "I can't use my Model S because the battery won't charge!". They're like "no worries, send us the diagnostic information and we'll get it fixed in no time".

In a sigh of relief, you quickly head to your garage and use 1 of the the remaining 3 percent of your battery charge to send diagnostic data to Tesla...

12 weeks later, you're frustrated because you've been driving a sub-standard rental car, and you call Tesla again. "Why haven't you fixed this, yet?!". They reply, "We have! We just finished the update you've been waiting for. Go have a look!".

You run to the garage and plug the car in to the wall. You get in and look at the screen to see if it's charging. Your Model S's computer welcomes you with a message:

Drive with your friends now with Tesla Hello!

You can now see where your friends are while you drive!

Now, your battery is at 0.5%.

That's Firefox.
Ouch. Yeah, that's a really good point about travel being both a big commitment/energy-drain on your end, and a bad travel experience making it really hard to interview well.

I have, in the past, flown someone who is coming cross-country out for the weekend, covered the hotel costs for the whole time, done something non-structured on Saturday or Sunday, then done the interview on Monday. And a few times people have brought family members. (We didn't pay for the family travel, I don't think, but I don't remember for sure.)
They don't face the exact same pressure [1]. Men in this age group worked outside the home, a lot of blue collar jobs. Jobs they cannot perform anymore due to their age. Women more often worked in caregiver roles (more traditionally female occupations like nurses, teachers, etc.) or in the home. The men need to pivot to find fulfillment/satisfaction in life. The women just change who they're caring for (grand children and great grandchildren instead of their own children, or students, or patients).

I suspect that it's significant that the number of suicides over age 75 for men has dropped in those 15 years. Either reflecting a better quality of life, or a change how men are able to find satisfaction post-career.

[1] Ok. I'm making assumptions based on "traditional" gender roles here. But given the age group in question, I feel its justified. The division between male and female roles is far more present in those over 75 than the current working generations. This will change as the population ages, and be less applicable in 20-40 more years. But it's still applicable to this group today.
I agree and actually think code-wranglers and lawyers have more in common than people realize. I almost became a lawyer but decided to write code instead.
I can't help but notice that Ms Holmes is now wearing a hair loose and a shirt. Having only ever seen her with hair tied and black turtle necks, I'm wondering if this is an attempt at softening her image in the midst of a deluge of bad publicity.

Not an ad hominem or personal attack, purely curiosity.
As I mentioned in my response, knowing that trees are used for various artifacts is important for the people who are implementing said artifacts. A well done implementation hides that detail, focusing on ensuring the implementation is correct. To use his analogy of Wehlings, there are standard procedures for blood transfusions, and the doctor doesn't need to know about the heart, he just needs to know who to ask since he doesn't work in a vacuum.

The other thing is that knowing a tree is symmetric and know how to reverse one don't count as new and unknown challenges that author mentions. Both are well documented and easily accessible to anyone who needs to know that information.

I recently had an interview where I was presented with a problem the company had to solve. That was new and exciting, not some minor detail from CS100 I learned years ago.
Words, in the real world, have denotations and connotations. One would do well to not forget that.
The delivery was on the west coast, so it's not like they could ship further for a better timezone. Furthermore I think the times were more spread out than I said - something like 3 hours later, the new shipping cutoff was 6 hours away. They also hiked the prices mid-session, and clearing state restored the previous ones.

When an organization grows large, the distinction between deliberate malice and beneficial incompetence becomes less meaningful. Inferring an organizations broader culture can be informative, but the net incentives are the same.

It definitely did not feel like a data consistency issue. And the "dynamic pricing" is obviously malicious, but it's the sort of machine-vs-human maliciousness we've been groomed to accept as "the free market".

I don't have a particular grudge, and buy from them if they're the lowest bidder. I just don't understand what appears to be single-minded affinity for them.
I wouldn't solve all car engine problems by completely replacing the engine, but if I was hiring a mechanic I'd want to verify he could replace the engine if needed.
I remember that, was freaking gold!
"Do things that don't scale" :)
Cool! What software are you using for the crawler?
There are plenty of narrower countertops, and plenty of kitchen systems with e.g. suitable corner cabinets that would make the countertop narrow enough in the corner to fit the requirements. This is only a problem because they have chosen or want a solution that have painted them into a corner without thinking about the requirements.

The requirements may not be entirely well thought through, but complying with those two is not difficult.
Being from india, i have come to the opposite conclusion.

Chinese protectionism (aided by the language barrier) has served chinese entrepreneurs quite well.

They have their own google. Their own fb. Their own twitter. Basically all services that India doesnt have. The list goes on. These services may or may not be inferior to the original but from an economic standpoint, its good since the money and data flows within the economy instead of going abroad.

India has its own taxi service but they are getting severe competition from uber (with rumours floating of a possible buyout by uber). We have flipkart but they are getting pummelled by amazon (which just walked in late to the indian ecommerce market after flipkart laid all the groundwork) and was recently down-valued by investors.

China is also successfully exporting to india- chinese smartphones are doing very well, much better than Apple.
Continuous Deployment with Helm, Deis Workflow, and Wercker
It's as much a cultural thing as it is a generational thing. In Argentina, where I grew up, showing up unannounced to a friend's house is normal (some people might add: "as long as you bring some food!"); on the other hand, in neighboring Brazil it was seen as a pretty rude.

So, I guess, what might not work for you might work for other people. I personally prefer at least a couple hours of heads up, but don't mind doing a last-minute dinner/lunch when I'm close to a friend I haven't seen in a while.
> The Doom install image was 35x the size of the Apollo guidance computer.

Keep in mind that the AGC was a necessary but not sufficient piece of hardware for navigating to the moon, and was extremely special-purpose. NASA had several big (for the time) mainframes that

1) calculated the approximation tables that were stored in AGC ROM (each mission required a new table because the relative positions of the earth, sun and moon was different)

2) reduced soundings from earth-based radars to periodically update the AGC's concept of its position.

3) other things that I've forgotten

In other words, the AGC required the assistance of a ground-based computer with dozens of megabytes of RAM and hundreds of megabytes of storage. That will fit on your phone quite easily, but let's not minimize the requirements for celestial navigation.
Other countries where it is harder to make it financially have lower suicide rates
The dangers of UFW and Docker
The point is that this is not a "know it or not" question. You should be able to derive this answer, even if you've never seen it before, by combining things that you should have seen, because they show up all the time in CS.

In the first approach he gives, you need to divide the problem into smaller subproblems, knowing that a tree is the combination of either two branches that are themselves trees or a single leaf node. What's the rule for determining whether two trees are symmetric? Well, if both of them are leaves, the answer is trivially true. If one of them is a leaf and the other is a branch, the answer is trivially false. If they are both branches, then you need to make sure that the left branch matches the reversed copy of the right branch, and vice versa, i.e. left is symmetric to right and right is symmetric to left. And you have the solution he gave.

That also clues you in to the second solution, where you define "symmetric" as "the reverse of tree1 is equal to tree2", and then write appropriate recursive helper functions for this.

What the author's really testing for is "Can you decompose problems that you don't know how to do into problems that you do know how to do?" This is a critical skill for doing anything new, and the vast majority of economic gains in the software industry go to people producing new stuff and not looking up other peoples' solutions. Effectively, what he's trying to select for is folks who don't believe this is a matter of received wisdom and instead are willing to figure it out themselves.

(Interestingly, there's a bug in his code. It doesn't affect the correctness of the point he's trying to make, but would be infuriating to an actual Javascript programmer working with this function. See if you can spot it before he merges my pull request...)
I know how to reverse a binary tree. I just didn't know that that's what you called it. To me it means "see if this nested object has children at matching positions".

The problem with the question is that it's an intellectual circle-jerk. "Do you know what this fancy term is that nobody uses in their day-to-day life?". "Oh, you don't know? Haha, stupid peasant".

Instead of asking these gotcha questions, why not ask something practical that does the same thing? "Given a complex user model with multiple relationships, how can you map the relationships? Or something like that.
Encryption scheme is similar or identical, AFAIK. GPG requires a little bit of manual setup and you need not to forget to include key with the encrypted file. And, of course, to install GPG when you need to decrypt. I wanted to be able to decrypt the file on any system without any additional dependencies (except OpenSSL, of course).
The Dutch for one, whose major ISP Ziggo still does not provide IPv6.
They keep raising the age for retirement in the UK. One of the politicians said something along the lines of "Well what else would you do all day if you didn't have a job?"

It scares me that people like that are in charge. Don't these people do things for enjoyment? Have hobbies? Have a social life?

Most people on HN have aspirations, drive and ambition. Most people I know don't really care about working other than they wished they could work fewer hours. Most of us have lots of other interesting things to do in life...
It's a loaded term to insinuate that the cause or POV is using less-than-transparent mechanisms to garner a desired reaction. I've got no problem with political discourse, or even espousing controversial ideological proposals. That's all natural and healthy.

What I dislike is using tactics to frame one side of a narrative as impervious to criticism, which in this case, seems to be the desired outcome from the entity providing $$$.
I've had the opposite. Shipments supposed to be delivered on monday delivered on saturday or sunday. And promptly lost because I ship to a business address that is closed on the weekend. Infuriating watching it state delivered on a sunday at 3pm when I know it's going to be lost.
How Chat Became Twitch’s Native Language – And Its Competitive Edge
This may be because it's cheaper/better for them to ship other orders instead of yours, since they can only handle a finite amount of orders per center at a time :)
Off the top of my head, it would at best severely weaken the strength of the hash function. Instead of having to brute force to find an output that matches exactly, you would only have to brute force for one that was sufficiently close, then use a greedy search to move from there to the actual key.

The stronger you make the "closeness" guarantee, the weaker the function becomes to this kind of thing.
I'm not a chemist, but I have seen enough articles about revolutionary battery technology that I won't believe it until I see it.
I have stated this was the goal for years. They knew that Saudi was peak, and what better way to prevent the next largest reserves from being pumped dry; war. Keep that going until you can go in and steal all the oil after you run out.
So first of all, 18 inch counters are a little cramped, so this regulation means that nobody gets a counter big enough to have small appliances or ingredients containers and still has space to put a cutting board or roll dough in front of it.

I think it depends on how the code deals with corners. If 18 inches apart means that I can have the first outlet 18 inches from a corner, then I might be okay, or I might have to make 15-16 inch deep counters so that you can reach it even though it's right near the elbow.

If the 18 inches means I have to place outlets 9 inches from the corner, then you can't reach them. Or if you can convince them that Pythagoras was an okay guy and 12.75" from the corner is fine because 2 * 12.75^2 ~= 18^2, I'm still not quite able to reach those outlets unless I make a kitchen with crazy shallow counters.

The only other options involve chopping up the counter top into alcoves with the outlets set forward, including filling in the corner of the L. Otherwise you have to move the outlets away from the walls, which means not only are cords dangling all over your kitchen, but they're being exposed to fluids, either of which is so stupid that it should be against code but probably isn't.

I think the implication from OP is that effectively the only sane reaction is to build galley kitchens, (which might be better for people on canes or crutches, but would be difficult for people in chairs, and generall suck for everybody), or to build the oven or microwave into the corner to fill the space and/or give a reasonable spot to put an outlet.

But both of those essentially destroy the value of the corner, which is to house an arbitrarily large countertop appliance of your choosing, such as a juicer, dehydrator, or commercial grade stand mixer. And with 18 inch counter depth regulations you're sure as fuck gonna need it.
Maybe I can restore some of your cynicism by pointing out that VA is a swing state (Obama won with 51% during last election).
"Calm down."

An attempt to claim the higher ground by casting someone as hysterical. Why do you feel the need reach for such a pointlessly large rhetorical stick for such a little discussion?

(Yes, I'm doing a bit of a higher ground play myself. I don't deny it. You earned it.)
Their opinions on taxes would support more progressive taxation. The guys > 200k (suprisingly) seem to be willing to taxed more, and obviously, the guy at the poverty line would benefit from a negative income tax or basic income.

To this last point, not just for his benefit but for society: he is trapped in a cycle of paying fines, and then getting more fines. He has no way to contribute to society, as he is currently being criminalized for being poor.
And were these experienced investors? :)
This is certainly the worst case scenario - your security officer installing remote access software on developers machines, stealing bitcoins from production, then selling the company source code, access credentials and access to the internal network to a Russian hacker.

Building a security system to handle this level of attack is a whole level beyond stopping even determined external attackers. Are there any best practices guides on this?

One thing that the article showed is the importance of external security review to deal with the threat of internal incompetence or evil.
>Life and death are complementary

Hm, I hear people say this a lot, but I genuinely can't empathize with where they are coming from. This is a blank spot in my map. Could you say more about the intuition behind this statement, and why this makes death seems desirable or less bad?

To illustrate how I emotionally parse the statement "Life and death are complementary", I want to make a possibly distressing analogy, so apologies in advance, and:

TRIGGER WARNING...

...

...

TRIGGER WARNING: abstract discussion of rape

...

...

That statement reads to me like:

"Being raped and not being raped are complementary. Members of higher animal species rape each other in the natural course of life, and humans have committed rape throughout history. Rape is a part of nature, so it is foolish to think that we humans could or should eliminate rape forever."

This is an obviously abhorrent position, and I genuinely don't see much of a difference talking about death instead. Clearly horrible thing is clearly horrible.

Again, I am absolutely not trying to imply you are evil, or thinking inside my head that you are evil, or anything remotely like that; I am just trying to convey how I kneejerk-emotionally react to your statement about life and death, in case it helps you say things to me that will cause me to understand where you are coming from.
I imagine that would be an incredibly huge investment to try to get even a small percentage of the supply chain in another country.
...and can you reason though all of this in 15 minutes with 1-2 people staring at you?
So? You just don't use Cilk if you don't want to include the license, just like a normal library. It is a language extension, not something that magically infects your regular C or Fortran code...
Things I dislike about Ion, having used it while at Amazon:

- IonValues are mutable by default. I saw bugs where cached IonValues were accidentally changed, which is easy to do: IonSequence.extract clears the sequence [1], adding an IonValue to a container mutates the value (!) [2], etc.

- IonValues are not thread-safe [3]. You can call makeReadOnly() to make them immutable, but then you'll be calling clone since doing anything useful (like adding it to a list) will need to mutate the value. While it says IonValues are not even thread-safe for reading, I believe this is not strictly true. There was an internal implementation that would lazily materialize values on read, but it doesn't look like it's included in the open source version.

- IonStruct can have multiple fields with the same name, which means it can't implement Map. I've never seen anyone use this (mis)feature in practice, and I don't know where it would be useful.

- Since IonStruct can't implement Map, you don't get the Java 8 default methods like forEach, getOrDefault, etc.

- IonStruct doesn't implement keySet, values, spliterator, or stream, and thus doesn't play well with the Java 8 Stream API.

- Calling get(fieldName) on an IonStruct returns null if the field isn't present. But the value might also be there and be null, so you end up having to do a null check AND call isNullValue(). I'm not convinced it's a worthwhile distinction, and would have preferred a single way of doing it. You can already call containsKey to check for the presence of a field.

- In practice most code that dealt with Ion was nearly as tedious and verbose as pulling values out of an old-school JSONObject. Every project seemed to have a slightly different IonUtils class for doing mundane things like pulling values out of structs, doing all the null checks, casting, etc. There was some kind of adapter for Jackson that would allow you to deserialize to a POJO, but it didn't seem like it was widely used.

[1] https://github.com/amznlabs/ion-java/blob/master/src/softwar...

[2] https://github.com/amznlabs/ion-java/blob/master/src/softwar...

[3] https://github.com/amznlabs/ion-java/blob/master/src/softwar...
A more accurate statement might be that I don't care for half-witted theories which are widely toted, used as justification to impose authoritarian regulations and conceal the true cause of today's problems.
China uses fairly complex artificial intelligence to detect TOR connections. Anything that "behaves like" TOR or a VPN is quickly caught on to and blocked.

There are a few attempts designed to make TOR look more like standard web traffic, which are really interesting.

It's definitely a cat-and-mouse-style game. Some have more success than others.
Yup, was a real fiasco and the entire City Council back-tracked. Their newest boondoggle is paying $4,000 per day to outside legal counsel to hold up their "No Sex Conventions (again) in our public convention center" stance. One that the City's own attorney advised against taking.
I realize that was sarcasm.

But for the non-hash-aware among us, it would take on average 2,147,483,647 as long to brute force the last 8 with the same computing power and 4,294,967,295 as long to hash every combination of the last 8. This all assumes no vulnerabilities in the algorithm, of course.
Note I said "alien intelligences" :)

It's hard to know how different or in what way without a decent sample size.

But the similarity I anticipate is our reflexivity, we can think about ourselves, our actions, our plans, others - even about thinking. We have an ability to abstract that is lacking in animals, and it would be pretty obvious if they had it because it's so useful, Though surely some species or individuals have its beginings or precursors - it just hasn't taken off yet.

This reflexivity/abstraction reminds me of the Chomsky formal language hierarchy. Regular expressions are very useful but less powerful than context free grammars. And once you get to recursively enumerable, anything is possible. A similarity is that each non-terminal in a CFG generates a language, and can be used to define other languages - each is a level of abstraction.

BTW I'm partial to the idea that spiders may be the next intelligence, as the brain-body ratio is off the chart (because they're small, yes...). But they aren't social.

tl;dr I disagree with the article that other animals' intelligences are not less, just different. We have something better. Though it won't always be so. Of course, there are many other facets of our intelligence - our long term memory, motor skill memory, working memory, language ability, visual processing etc - that we are very strong in; I think mostly the best. It's hard to know how important they are to "our kind of intelligence" (which I think there is a clear definition of, given above).
Sttatism.
> there isn't anything specifically _stopping_ Apple or other American tech companies from moving manufacturing out of China.

But it's about as credible as the Saudi's dumping all of their US treasuries. Apple enjoys a very high margin at a very high price point. Any move would be margin-killing, not price-raising. They're not manufacturing in China to be charitable.