skysight-inc/HackerNews huggingface dataset:
At one "legal training" class our lawyers said that there is the potential that we could be required to recall and fix any product we have ever made. We have machines we made in the 1950s that are still regularly used for the purpose they were bought for, but without modern safety standards. We believe we can argue in court that the modern safety devices didn't even exist back then so we shouldn't have to update those machines, but we are not entirely sure and there is always the possibility that the legal framework could change. We have an official policy that once a recall is made, the replacement parts for a safety issue will be available forever, or until we can prove all existing machines have either been updated or scrapped. (The latter is considered impossible to prove and so there are kits available for machines that last shipped in the 1980s.) This policy has in fact protected us in lawsuits: we take safety seriously so mistakes are taken as unintentional and punitive damages don't apply.

I would expect a consumer router to run without problem for not less than 10 years: they should update it to work. Now they shouldn't have to add support for the next protocol or feature, but if it isn't secure that is different and should be fixed. All it takes is a lawyer.

Note that you don't have to have the affected router, just prove that an affected router is attacking you. I think there are people in IT who are able to prove this latter one so all that is left is bring it to your lawyers to get dlink to pay your costs from the attack.
How I Overcame Impostor Syndrome
How about getting your morality and your values from organized religion or your personal spirituality and not from a bunch of multi-millionaires who throw a ball around? Organized religion is not allowed in China either.

You know something is allowed in China if it traces all its authority back to exist back to the party. That's how communism has always operated. The success of the party was the highest goal of highest goals that lead to all the purges and terrors throughout history.
> the only other real possibility is to legislate that such updates be made available for N years as part of the purchase conditions

I am unclear why this is not the preferential solution here. "Don't sell lemons" is a societal good.
Interesting. I get anywhere from 75-200k requests a month and several thousand "unique" visitors.

In either case, I show how you can easily scale up without having to worry about downtime.
The art of caption…

> [..] some of China’s top artificial intelligence startups, punishing Beijing for its treatment of Muslim minorities [..]

> The decision, which drew a sharp rebuke from Beijing, targets 20 Chinese public security bureaus and eight companies including video surveillance firm Hikvision, as well as leaders in facial recognition technology SenseTime Group Ltd and Megvii Technology Ltd.

So Chinese palantirs get blacklisted, boo-f-hoo.
I've found OpenWRT to be better in this case, support does get dropped eventually but it's usually longer term even if less polished.
Do you think it’s possible to regulate all of the internet connected consumer devices coming from China? Routers, WiFi lightbulbs, toasters, etc?
I hope they double their profits. It's a fantastic product, even though you seem to strongly dislike it, and I'm proud of the commissioner Adam Silver for publicly standing up for freedom of speech.
> It's not much of a dilemma though, is it? Already-rich folks kowtowing to fascists for a quick buck is beyond pathetic.

This ignores human nature and basic incentives. Of course it's not much of a dilemma for you and me. We aren't the ones who stand to gain or lose hundreds millions of dollars. It shouldn't be shocking that many people with skin in the game feel differently.

And I don't think it has much to do with being rich. I suspect plenty of thousandairs would happily kowtow to fascists for a few weeks in return for a six-figure payday.
No such thing in many countries.
Oh. Was this fiction???

I thought it was fact. It was written exactly as though it were fact and all through the article I wished the author would produce a verbatim example for us to judge. At the end the author said that the reason the author wasn't doing so is because the comments section would end up nuked by infighting, and that made me appreciate it even more as fact.

Like a factual story told in detail, it had an aside that didn't really go anywhere. (For example the mozambique subreddit didn't turn private, with a cryptic statement that half of the moderators were removed, or something.)

How do you know it's fiction? What makes you think so?
I'm still amazed at how tech culture seems to think that avoiding your weaknesses altogether is unambiguously good. Maybe to some extent makes sense, but as a blanket rule surely it just develops learned helplessness in people?

Note this is a general comment, the article itself didn't say that avoiding your weaknesses come what may is a good idea.
While nothing is perfect, I think Git's model is extremely intuitive and easy to work with. Perforce is centralized, isn't it? That's a deal-killer for me. I think we'll just have to agree to disagree, which is perfectly fine :-)
This reminds me of a story a teacher of mine told in a Advertising class, about a retailer that put pressure on a soda maker to lower prices, or they wouldn't give them share of shelf.

Well the soda maker didn't agree, so they pulled the inventory out.

Weeks later the retailer came back to invite them in at the same rates. Apparently the customers weren't happy that their favorite soda wasn't available, and made sure to let the staff know.

If China starts to pull the plug on unique products and services, I believe there's going to be a ripple effect. I'm pretty sure there are millions of people in China that still enjoy the NBA, despite NBA's stance on what ever the subject is.

This will add up. Maybe the fear of instability through Western propaganda should be matched by the instability that the actualization of censorship is alive and well, via the ban of content people like.

Maybe not.
They asked him for a list of employees who participated, and he sent them a list with 1 name: his own. Resigned immediately after. It was a badass move.
Tree Planting Drones
I have a D-Link DIR-655 (which is on this list) as my home router. Ironically, I was going to replace it a few months ago, but the speed is still fast enough for my network.

A few posts mentioned installing a different (open source) firmware. But, both OpenWrt and DD-Wrt aren't compatible. Am I missing another option?

As an aside, can anyone recommend a wifi router that runs either OpenWrt or DD-Wrt well, for $100-$150?
Which, to go back a few levels, is why I wrote "The thing about Norway is that they were responsible before they were as wealthy as Croesus." and why patfla's comments about the ironies seem unjustified.

You touch on some very difficult topics. You are correct that Iran did not do so well after they nationalized their oil production. That's because the UK entered as trade war with Iran, and the US "CIA arranged a military coup to depose the democratically elected Mosaddegh and install a regime more favorable to the UK." https://en.wikipedia.org/wiki/Anglo-Persian_Oil_Company .

Additionally, unlike the UK and Norway, most other oil producing countries were under foreign colonial rule, or recently out of colonial rule.
The Evolution of the Universe
I'll bet they still have service agreements for those devices though, even if the software is old. Consumer routers do not have support like that.
Superhuman of IoT, modern tool to control a smart home with keyboard shortcuts
I feel like there's an element of wanting to have and eat ones cake here. Programming isn't so different to playing a music instrument - you become better through a lot of deliberate, sustained practice. like it or not, people who have the time and inclination can jump ahead of others in competence the same way a musician who practices 8 hours a day can.

It's not particularly compatible with having kids, but it makes you a better musician.

I'm all in favour of finding better ways to let programmers who don't have side projects stand out but I don't think that devaluing side projects is the way to do that.
In 2050, maybe.
> This is also the reason you see single family homes with front and back yards like 1000 meters away from sky scrapers in Los Angeles and San Jose. Those homes are paying property taxes of like $400 a year, and most of them are being rented out. It's not poor old ladies living in them that don't want to leave the neighborhood they lived their whole lives in, but gentrified under their feet into some urban monster. It's business people arbitraging tax laws.

Well, more specifically, if you redevelop the land (say, by putting in apartment building in where there used to be a single-story house), the property tax gets recalculated. So the tax code heavily penalizes redeveloping any property.
757 Accelerte
It is impossible to understand Chinese views towards Western values outside of the context of https://en.wikipedia.org/wiki/Century_of_humiliation
I totally agree, the benefit of NoJS comes from not needing to write custom code in order to implement a feature. Thanks for the link to that list of other NoJS libraries. If you have any questions about Intercooler, please leave a comment on the post.
> 2) Experts design elegant abstractions:

I really appreciate the thing called "abstraction" not only in Software Designer but also in general, it often takes large amount of time to be an expert in the field before one can create/design an abstraction out of the problems.
These are not contradictory.
How to Implement Bayesian Optimization from Scratch in Python
China's hard power and hurt feelings – Nikkei Asian Review
Of course, the smaller the JSON file, the shorter the amount of time spent in native code, and proportionally more time will be spent in the interpreter around whatever looping construct is used to feed data into json.loads (and presumably process that data).

# interpreter time spent here looping
for file_name in stuff:
# interpreter: do stuff with file name, load file into string, etc.
str_data = ...
# interpreter: dispatch call to native function
# native: actually perform json.loads
data = json.loads(str_data)
# interpreter: time spent processing the data
process_data(data)

# what happens as native time goes to zero (json parse time decreases)?
# answer: interpreter time dominates
A presidential candidates stance on China and its abuse of human rights will be a key issue for me in 2020.

What is happening to the NBA, Blizzard, and seemingly every company that has a presence in China is the tip of the iceberg.

If we as a liberal free society cannot stand against the rise of oppressive totalitarianism then we are doomed to fail.

Incremental profits and potential market share in a closed economy is not worth the values we are sacrificing in the process.

If you are a C-level executive at a company doing business in China these issues need to addressed at the board level. What is the level of influence that the Chinese government is exerting on you and your morals.

Your stance should be clear: You either support the people of HK and their fight for representation in government, or you support the totalitarian regime that is oppressing them and hundreds of millions of other Chinese citizens.
I pointed out to you what China is doing economically in an African country that I live in. Also pointed out what US has done recently in my country and continue to do. I wouldn't mind if someone feels I am inferior but leave me alone. I have a problem with a country that acts holy but was sponsoring oppression of people in my country and continues to sponsor oppression of people of many other countries in this day and age. China is the least of my worries.
We've taken 'open source' out of the title above, but it's pretty shocking to see you breaking the site guidelines like this. Worse, you've done it repeatedly before. I realize you're passionate on this topic and I appreciate your many positive contributions to HN over the years, but what are we supposed to tell people when we ban them for posting like this and they point to comments like these and say "Why is it ok when ddevault does it" and accuse us of favoritism?

Can you please just take the spirit of this site to heart and make your substantive points in a kind and thoughtful way from now on? It's not hard to do that if you want to. Yes it means giving up some emotional intensity and the relief of venting at something you dislike—but in return, the persuasive power of your comments will increase, and you won't be toxifying a community that you value enough to be part of.

https://news.ycombinator.com/newsguidelines.html
this is the "proper" answer.

Seperating routing from providing wireless makes things far more flexible, not to mention you usually get two seperate devices which are far better at doing their sperate jobs compared to an all in one solution.
It drives prices up in equivalence with subscription pricing over the typical lifespan.

(i.e. not obviously better or worse)
Do you have a source for that last point? In https://www.zdnet.com/article/open-source-licensing-war-comm... they seem to be defending it.

Edit: never mind, it's on the main page https://commonsclause.com/
China has intentionally conflated dealings with government cartels with capitalist enterprise. Its just a means to obscure what would otherwise be called "treason" and sweep under the rug any notion that your business can be, "nationalized" at their whim.

I don't understand how American businesses didn't learn their lesson in Cuba in the 60's?
The only mention of tired light in this article was here:

>This story has elements of self-consistency and inconsistency; WIMPs + tired light and the Higgs + big bang are two ways to say the same thing, but why do physicists insist on speaking in five, different languages at the same time? It is as though the tower of Babel fell down when the first nuclear bomb went off.
> Okay, perhaps. But that could also be them jumping on a popular bandwagon.

How could there be a bandwagon when twitter is banned in China (so no one could have ever seen the tweet), and immediately after the tween all Chinese social media blocked any posts related to the Houston Rockets? There was zero way for anyone in China to even know it was a thing or to be angry.
I haver some legacy external drives which needs encryption (just for loss protection and nobody can steal the content) and need to support multi OSes. Otherwise I would agree.
So, the obvious answer is to decouple and fight back, no? Anyone else find it almost humorous how people like to constantly talk about concentration camps from ww2 or slavery but are able to turn a blind eye to countries that still have such practices? Does the average American not even have the fucking backbone to endure some financial instability in exchange for our long term benefit / survival? People should be CHEERING Trump's willingness to fight. Anyone suggesting we should kneel before our new masters is a traitor and should be dealt with as such.
How can ultrasonic brain stimulation cure brain diseases?
I don't know why Tesla and other electric car manufacturers don't yell and shout more about how much better electric cars are for human health in cities. The climate change argument for EVs is kind of weak, since you still have to produce the electricity. But it's much better for lung health to produce the electricity in a far-off place and then transport it via the power grid to the EVs in a city, than to have the vehicle itself burn the gasoline and emit the exhaust right out on the streets where people are walking around.
I like Feedbro a lot (Firefox extension).

Be sure to take backups though.
> This is the new normal, folks. Consumer technology is manufactured for six to twelve months, but live in our homes for three to five years. Today's manufacturers cannot afford to update software for hardware devices they have already moved on from. Changing that requires a significant upheaval in their business models.

Ubiquiti has a number of CVEs and has addressed them in a timely manner, IMHO. If you’re buying the cheapest product then expect the cheapest support. My UniFi stuff is easy to manage and upgrade. I can set a number of auto updates I can’t do with other vendors.
Everyone loves a "moral authority" so long as it represents their morals.
Self-driving cars will make the entire world a parking lot.
This one I think is valuable for all ages:
"When you’re young, care more about building human quickly and not so much about financial capital. The human capital will pay much larger dividends over your lifetime."

I've worked from home quite a bit over the past few years and I've begun to notice it affecting my personal/communication skills. I'm actually trying to get back into the office more often.
I don't know about fullstory, what is wrong with it?
They're not necessarily lemons at the time of sale though. In general, we don't legislate that products need to upgraded and maintained after they're sold. (Yes, there are lemon laws and warranty requirements for defects--which are at least related.)

However, how would you feel about legislation that required five years of dealer service to be included with every automobile sale? Or other products in a similar vein?

There is an idea of harm to the ecosystem/society with unpatched IoT and other network devices though. So perhaps a heavy-handed approach is justifiable.
Linux kernel magic SysRq key hacks
I think you are misunderstanding what I said.
> So, what is the point of fighting the good fight at this point? Why not face the inevitable and leave while you can? Or fight for a final independence now, while you can?

Because there's still 28 years to go, and a lot can happen in 28 years.
I see it mainly as an answer to static types. Clojure (like most Lisps) places emphasis on dynamic types, for some valid reasons (https://lispcast.com/clojure-and-types/). But there are certain undeniable benefits of static typing that you miss out on: documentation, and IDE hints. Spec, the way I see it, is a way to reclaim some of those benefits without giving up the dynamic paradigm. It also has some advantages over static type systems; most notably you can describe any arbitrary assertion, which makes it more expressive than regular types. You can also check things at runtime, which can be useful for validating foreign inputs that aren't available at build time.

Personally I'm still a static-types person, but I get it. And if I used Clojure regularly, I'd be all over Spec.
There would be no bad press for saying nothing. There seems to be some debate whether public CEOs have the right to freely express their personal opinions on certain political issues, with a bunch of high profile cases that would be distracting here; but there's certainly no argument that public CEOs have the duty to express (or even hold) any opinions whatsoever on things that are major political events abroad; Cook responding to all Hong Kong related matters (as far as they don't directly concern specific actions that directly affect Apple) with "no comment" would not get any significant bad press as that's not breaking any taboos or even conventions.
Data in SwiftUI, Part 1: Why Another Framework
I wonder - did @whitebread actually read "Shut Up and Listen"? He doesn't even seem to understand that the title of the book is an exhortation to business owners and leaders that they need to listen to their customers? Even the last chapter is titled, "If You Want to Lead, Listen First".
To be honest, staging individual hunks without a UI is a pain. I use Tig (a TUI) just for this.
> Statistics. Seriously, I really wish I had studied more of it in school. Basically goes for anyone in the STEM field, IMO.

I really wish more people invested in statistics and data analysis classes. People take you more seriously in a business setting when you can say "Email A resulted in a response rate of 80%". I usually hear "We think Email A is better because we feel it in our gut".

Ok, not those words exactly, but that's the point. Looking at data, understanding it, and directly applying it to your job is a hugely underrated skill.
to be honest, most routers like this have very low power usage. I think an edgerouter X has a power consumption of something like 5W under load.
What if this blows up in the other direction ?

How many Chinese will pay attention to "whatever those people are doing in Hong Kong" for the first time because of this ?

Which is to say, what if lots of young Chinese stand up and take notice that they can't watch world class professional basketball anymore ?

I am well aware that there is homegrown professional basketball in China, but the $4B number suggests they want to watch the NBA, which isn't surprising.

It's not obvious to me that, from the position of youth in China, the state holds the winning hand here ...
I would argue that no matter what language you pick, adding abstraction always behaves like this:

Suppose I have a thing I need to do, called X. I write a program to do X. Then later I need to do Y, and I realize that if I think of X as (A + B) and Y as (A + C), then if I re-organize to have one segment of code to do A, then wrap it so that B or C happen afterwards based on context (whether that be polymorphism or different scripts or procedural flow control, whatever the branching mechanism), then I've achieved abstracting A out into its own standalone piece, hopefully because A describes some independent process that makes sense to stand alone. Therefore, I've made it so that B and C's concerns can be separated from A's concerns, and X and Y are now just compositions of these nice linkable, re-usable pieces.

No matter what language you pick, if you want program X to do the same thing, the X-iness needs to still live somewhere. In Java that might look like going from two classes (X and Y) to three classes (A, X and Y). In lisp it might be three functions. I feel like in your example just now, you're comparing A from lisp to X in Java.

Please correct me if I'm wrong. I just feel like when you consider a program holistically, more genericness, and therefore more nuanced program description, always results in more text.

I agree that Java is more verbose than say, lisp or python. But I think that syntactic verbosity is really limited to a per-statement or per-block scope. I disagree that the language itself is responsible for verbosity in the higher-order composition of these pieces, weighted for, of course, how dynamic each language is. I hope you won't fault Java for not having the terseness of Ruby when Ruby doesn't have the performance or rigidity of Java.

I think you only really make order-of-magnitude leaps in reducing verbosity/excess abstraction by sliding up or down the dynamicness vs performance/safety spectrum. Tit-for-tat, I think an equivalent Ruby and Python program will be about the same size, and an equivalent Java and C# program will be about the same size.

The huge asterisk to all this is, of course, the humans actually writing the programs. Obviously a sufficiently motivated developer will be able to make an abstract mess out of any language.
The Only Cofounder Equity Calculator You'll Ever Need
The FCC is certainly the problem in this case. If someone modifies the product to break the law the person is at fault not the manufacturer. That someone could do modify their radio to do bad things shouldn't stop me from modifying mine to do good things.
Wait. I thought it's wrong to say "Faroe Islands", because the "oe" already means "Island". So how is this?
> Devil's advocate here...Are they not separatist? If not, shouldn't they be?

These are their demands (more or less):

https://en.wikipedia.org/wiki/2019_Hong_Kong_protests#Object...

Full-on separatism would give the PLA a more plausible reason to declare an insurrection and go full Tiananmen Square. Also, a lot of HKers who support the existing demands would not be on board with it.
Have you been on any Chinese social media?