skysight-inc/HackerNews huggingface dataset:
That paper is interesting, to say the least. I don't think that the statistic that you pulled represents everything here.

Things I noticed in the paper:

However, compared with control participants, shooting case participants were significantly more often Hispanic, more frequently working in high-risk occupations1,2, less educated, and had a greater frequency of prior arrest. At the time of shooting, case participants were also significantly more often involved with alcohol and drugs, outdoors, and closer to areas where more Blacks, Hispanics, and unemployed individuals resided. Case participants were also more likely to be located in areas with less income and more illicit drug trafficking (Table 1).

Okay, so it's more likely for people to be shot in poorer neighborhoods, and especially when they're in the vicinity of things that generally involve gangs and other organized crime groups. Carrying a gun, especially an unconcealed one, may be an indicator, intentional or not, of alignment with a party here. Not unsurprising, unfortunately.

In the cases of unprovoked, one-sided violence, or the threat of it, (such as kidnapping, armed robbery [including "pickpocketing"], I think I would probably want to have some ready form of self-defense, be that being physically fit and knowing MMA, carrying around one of those Hello Kitty shank things, carrying a concealed knife, or running some flavor of concealed-carry (please, oh please, do not stick your gun in your purse / backpack).

On average, guns did not protect those who possessed them from being shot in an assault. Although successful defensive gun uses are possible and do occur each year, the probability of success may be low for civilian gun users in urban areas. Such users should rethink their possession of guns or, at least, understand that regular possession necessitates careful safety countermeasures. Suggestions to the contrary, especially for urban residents who may see gun possession as a surefire defense against a dangerous environment, should be discussed and thoughtfully reconsidered.

Okay, so people who think that having a shooty-bang is a sure-fire way to not get shot have another think coming. And? The 4.46 times as likely to get shot statistic feels a little bit off, and I personally think that it needs more unpacking. What percentage of those individuals affiliate with syndicated crime? How many people in the list were involved somewhere in the process of procuring or consuming drugs? These feel like huge stats that are just missing.

Personally, what I would like to research is how many times that guns have reduced the number of casualties in bad situations.
People need to invest time into understanding the devices that they own, no one should own anything that they don't know how to use.
<deleted useless comment>
How Long Will My Money Last?
In a way, all drug usage is like performing experiments on people - some of them work better on certain people than others and some of them give terrible side-effects to some and not others. This isn't just true for anti-depressants.

I'd rather have the option of anti-depressants than nothing at all. They help a lot of people to live their life normally. It's true that it's hard coming off some of them, but it's worth it I think - a couple years of improvement in mental health vs a crappy week coming off it.
A well attested quote from Danish nobleman and admiral Herluf Trolle (1516 - 1565) [my hasty, naive, and insufficient translation]:

Do you know why we are called lords, why we have golden chains and earthly property and are held in greater esteem than others? Because when king and sovereign, country and realm have need, then we must ward against the enemies of the land, protect and shield with all our powers and possessions our fatherland, so that our subjects may live and exist in peace and quietude. Yea, if we wish the sweet, we must also take the sour

No empty words, those. Trolle died from injuries sustained in a naval battle, refusing treatment until his men had been looked after.
The past does have its moments.
A valuable lesson I learned from @dhh was: never put your customer back in a buying position[^1]. For example, if you discontinue your legacy[^2] 1.0 product, and force them to switch to your shiny/better/faster 2.0 product, when 1.0 was working just fine for them, you are forcing them back into a buying position. And this time, they might choose your competitor.

Chrome was way ahead, but by overreaching against ad-blockers, they forced their users back in a buying position, and this time Firefox had gotten way better. Unless Google messed with the status quo, their users would never consider switching. The only thing pushing me toward Fastmail is that Google keeps messing with Gmail/Inbox.

This death-cycle seems to be unavoidable for MBA-types who inherit working products, and I bet you could build a business around this idea, or at least design a consistent enterprise takeover strategy.

[^1]: https://www.youtube.com/watch?v=CJkiCpPeYuI
[^2]: Legacy = any code you can't (safely) change.
> Sure it won't come today or this year, but it is vital for companies to start to distance themselves from google licensing for their own betterment.

Which companies? Why would Samsung and other non-China based smartphone makers feel the need to do this?

Also switching away from Android because of the risk of being blacklisted by the US is akin to rebuilding the foundation of your house when it's built on mud. If you get blacklisted by the US losing access to android seems to be the least of your problems.
Alternative source for the article here: https://www.greenwichtime.com/business/article/A-new-credit-...
You're assuming I read what you typed.
Lol how is that in any way the message being sent, give me a break. This has way more to do with the fact they are Chinese and more or less state sponsored than it has to do with them "being successful"... I genuinely don't understand why people are so quick to defend China.
http://archive.is/XGaPs
You have to look at the cash flow side too. Your loss is offset on a comparison basis if you were paying rent.

You also are limited to losing everything you put in, while leveraged investments can lose more.
You're thinking about C's switch statement the wrong way.

You are thinking about where a value is used to determine which block of code to run, like a ramped up conditional or an if-else-if chain.

C's switch is a more a complex goto statement. All the case statements are labels and the switch does a goto label for the correct value. Those labels just need to be inside the switch block. This is why you can switch into the the middle of a looping construct or if-statement. In this way, break is kind of the oddity and sugar for goto past end of the switch block. This allows for some complex control flow that is kind of useful in a language without much else to offer in that regard (besides the ugly setjump hackiness).
Show HN: Search for available PS4 games from your commandline
Hold your horses there. While Apple is by no means a white knight don't accuse it of something that is not doing. As a software developer I can install all the software I create on my own devices, never had a problem with this.
I wouldn’t bother with iptables. I’ve done it before and it quickly gets overrun on any large scale attacks. Cloudflare on your front end will stop a lot of garbage and take the brunt of volumetric attacks, or use nginx/varnish/haproxy to rate limit and or block attackers before they reach your app.
Is this really a long term solution. An A/C does not "produce" cold air it just reduces the temperature at one spot by increasing the temperature in another place making the temperature around those buildings even warmer. At some point A/C units will be battling for that little temperature difference that allows them to perform their function with increasingly higher energy demand.
The employment rate has increased by somewhat unnoticeable amount over the past 10 years [1]. The increased housing supply is mostly due to cost factors (tax breaks from the previous administrations, low interest rate) and the demand due to decline of small cities (demand gets concentrated around Seoul, the capital city; people buy houses around Seoul while living far away in another place on rent). As for the office/factory/commercial space, there has been a sharp increase in supply, and the vacancy rate (spaces that cannot find tenants) is 10-20% in major cities. Folks still buy buildings with a yield of 2.5-4% because the interest rate is so low. I am currently based in Cambridge, Boston. There are empty stores that have been looking for tenants for more than a year.

[1]: http://www.index.go.kr/unify/idx-info.do?idxCd=4013
> Let's see this anti-depressant, then evaluate side-effects, if it doesn't work switch to different one or adjust the dosage.

Please tell us about the alternative treatment regimen you recommend, with references to the peer-reviewed, published literature supporting its efficacy.
> The long term impact of this Huawei dispute will be China building out a complete vertical communications/computing stack from low level chips to operating system to phone design.

Weren't they already doing this?
So, you've viewed the FISA warranting process?

You can say for sure that their process exists as one sheet per person/username? These documents are not available for public audit, so I find the faith you demonstrate to be questionable.

You know for a fact that there is no concentrated effort to slurp up as much information as possible to provide a political/intelligence bargaining chip with other state's intelligence services?

You are right about one thing
; it isn't as bad as the PRC's social credit system: yet. However, it is there as a foundation for one, and even what we have was considered unprecedented and the stuff of crackpots before evidence of the existence of these types of systems was made bare before all by Snowden.

Also, the 4th Amendment you insist provides so much protection? It doesn't apply under current case law. As soon as you share your information with a third party, 4th Amendment stops applying as there is no expectation of privacy; except in the few and far between carveouts of medical records or legal communique with an attorney. I don't personally buy that reasoning (Third Party Doctrine) but the courts do; act accordingly.
Twitter bans large number of accounts ahead of Tiananmen Square anniversary
I reject your premise?
I agree with your overall message, but it's much more than a crappy week to come off of some commonly prescribed antidepressants. It takes months to taper off some of them safely.
We consider April May as peak summer down south. School starts on May end June beginning.
Discussed in 2013: https://news.ycombinator.com/item?id=6895582

Related to https://news.ycombinator.com/item?id=20071836 from yesterday.
I don't like it, and maybe HN is not best suited, but it is relevant. Sharing such news is the only way of taking the pulse of how authorities perceive technology. Police using AI and visual recognition, investigations of social media accounts, drones starting to be used in cities. The only reason this feels like "repetition" is because we don't seem to be able to do anything about it, but discuss it as it unravels.
In my experience, the category of comp. sci. grads that these riddle based interviews select are often very smart, but have difficulty in developing novel solutions to real world problems. Not sure why the industry still relies on these methods so heavily...
If you think the post is harmful/incorrect or even off-topic then you can flag it. It's not clear from your comment that flagging would have been appropriate though, unless you find this disastrously bad for a post.
Teenagers Suggest Creative Ways to Link Classic Texts to the World Today (2018)
45 Minutes with Linus Torvalds
Or EfficientNet, SOTA performance with a tenth of the compute: http://ai.googleblog.com/2019/05/efficientnet-improving-accu...

You would hope the human brain would be pretty efficient, given the selection pressure but apparently not.
Show HN: Send files or text data to Slack from your commandline or pipe in stdin
That's a deeply upsetting mental image. Thousands of people shelter in a building during a heatwave, the electrical grid is overloaded and the AC shuts down.

This makes me want to go live in a deep cave somewhere :(
Please elaborate. What are you researching about text input?
I don't like articles like this one, they start claiming a tutorial on how to identify fake news, and it ends up selling us a personal opinion on the opposite opinion they are judging, which at the same time can be judged by the same principles. These principles are highly subjective and the same can be used to disprove reality and authentic facts which we dislike, in addition, it is completely charged by a highly polemic topic; probably as much as communism was on its origins: there were also small communities which saw success in communism and many of these experiments and studies divided academics and experts of the time.

Teaching against fake news disproving someone's opinion while pushing for an opinion of our own between lines is like saying that the evil is in there, and then listen to me, I am the truth.
Maybe you should ask them instead of us. HN is a forum for enthusiasts, not psychics.
Funny Approaches to the Computer Security
It's entirely possible that this state of things will continue. Google will continue to be a/the leader in online ad sales, and periodically they will try to expand into some other lines of business, never with any particular success. That's not the best possible place to be, but it is a good one, particularly since ad sales are so very lucrative.
I can say as a part of the younger generation of programmers that I don't have any problem with Perl and that it has its uses but I don't think Perl should necessarily be used as much as it was in the past.
Shit, I seriously doubt the validity of this article.

But it does go to show that, the majority of manufacturers who make their products in China need to tread lightly even more so now. If anything, this move by the US will make electronic manufacturers take a second thought about where the source their parts and (more importantly) which companies they deal with.

This icludings big companies like Microsoft and Google. I have no doubt that this could potentially hurt Googgl especially.
There's a concept in programming language design called "weirdness budget". There's only a finite amount of idiosyncratic syntax and semantics your language is allowed to have before it starts to turn off potential adapters because it looks too unfamiliar, too unintuitive, or too opinionated compared to what they already know.

Perl has never cared what the mainstream programmer community thinks. It is willfully and deliberately weird; when it adopts or reinvents concepts from other languages it does it in a way that seems purposively quirky; it invents bespoke vocabulary for things that already have well-established names. The Perl community appears cultish, lacking a certain self-awareness and cognizance of the programming world at large. It's like an alternate timeline where everything seems eerily off in some way.

Perl blew its weirdness budget a long time ago and never cared. And given its well-deserved reputation as a write-only language, it's no wonder at all that people don't take it entirely seriously.
Didn't they just get in hot water for throwing out resumes from undesirable demographics en masse and having racial convictions so strong they didn't even realize it was legally inadvisable to do this in the open?
>I'm seeing more and more of that kind of balkanization in the UK and it's worrying

I am keeping a close eye on the proposed 'Free Ports'.

>"Can "free ports" spark a post-Brexit manufacturing boom? Jonty Bloom reports from Teesside, which plans to become the UK's newest free port, offering customs-free imports and hoping to bring back manufacturing jobs."

https://www.bbc.co.uk/news/business-46349717

>"For each Free Zone, the area covered and the defined entry and exit points shall be determined by the Member State. The perimeter and the entry and exit points must be under customs supervision. Member State must communicate to the commission details of the Free Zones in operation.

>All Free Zones shall be enclosed. Persons, goods and means of transport entering or leaving Free Zones may be subject to customs controls."

https://www.gov.uk/government/publications/notice-3001-speci...
There is a UFO in your bathroom that is visible by the unaided eye and mirrors your movements. It's your mirror image.
Seriously? I view this as just government sponsored corporate extortion.

I can't believe there's a different view to it. Because the government could have stepped in for so many other issues but they cherry pick the one that will blow a competitor to US brands out of the water.
Perhaps using a Raspberry Pi and leveraging CV / NLP off the shelf tools.
I also prefer Chrome; it has always felt more stable on Mac OSX; I often find myself with 50+ tabs open and it is no issue with Chrome, Firefox can't even come close.

Have you checked out Brave Browser?

https://brave.com/
Thank you. Do you think this will be appreciated for a job interview? I think it will take lots of time and effort for that to happen.
* Photos of a person is personal data, particularly those that are scraped from social networks. This is pretty much the whole point of GDPR.

* Screwing up someone's life, as it is extensively desribed in the article, fits well into the definition of "vital interest".

I find it quite baffling how someone posting on HN is oblivious to the link between GDPR and the need to punish those who abuse data collected from social networks against the wishes and best interests of the users to screw up their lives.
Ok, changed to that from https://evbite.com/samsung-struggling-to-fulfill-volkswagen-.... Thanks!
“Bizarrely he described how he would rather work making IEDs rather than accompany his colleagues to watch the spectacle of the bullfight ‘where innocent animals were killed’.”

Cognitive dissonance at its finest.
This is the first time I’ve ever seen an emoji (↩️) in a HN comment. I thought they were stripped? Interesting!
More than more than likely, operators got confused by a known sensor glitch in a new sensor design.
> BUT IT IS ABSOLUTELY NOT LIKE THE PRC'S SOCIAL CREDIT SYSTEM. Stop it.

Agree. But it is worth comparing because, while we do not live in a country that has extreme government over-reach, we are
(and have been) headed down that path. You said "know who you are, so they know where to target that warrant request" which is, to me, in-line with the ideas of the social credit system. The idea that some group, some where, is collecting this information to use against someone or someones. To think they aren't / won't is naive.

If it doesn't turn toward citizens then I'm happy to be wrong and admit it. We'll see...

It's like a version of systematic desensitization where we continue to normalize giving up vast amounts of personal information on our own (to sites like Facebook) and asking tourists to point government agencies to that trove of information.

I did not intend to hyperbolize nor conflate as another person said. I said this "may or may not be as bad" and it will depend entirely on what is done with the information and how much it's use "expands" (or doesn't).

When I asked in school in the late 90's "how do we know the CIA doesn't just spy on us" the answer was "there are laws that prevent it". Now we know how that really works (or at least some of it) so I believe I'm entitled to my skepticism (and you're entitled to disagree).
FedEx to Deliver Packages 7 Days a Week
Headquarters: South San Francisco, CA
Of course, if you exclude women and female animals from your studies because you think their hormones will interfere with your ability to draw conclusions... why would you possibly think you can extrapolate said conclusions to more than half the population?
I would expect it to be uncommon for keepers of pit vipers and corals in the US to stock antivenom, but I'd expect it to be common for keepers of non-native snakes because US hospitals don't stock non-native antivenoms. You'd typically have to obtain it from a zoo that keeps exotic snakes.

Antivenom is never "worse than the bite itself." It can occasionally cause an anaphylactic reaction which is easily manageable in a hospital setting by administration of epinephrine. The reasons doctors hold back on antivenom is that a significant fraction of people come in to the ER thinking they've been bitten by a venomous snake when they haven't, or they've received a dry bite from a venomous snake. Antivenom is never administered until venom symptoms are evident because it's quite expensive and there's no reason to risk a (manageable) anaphylactic reaction if it's not necessary.

Withholding snake* antivenom once symptoms are evident would often be a death sentence, and always medical malpractice.

https://www.sciencedirect.com/topics/neuroscience/antivenom

*Edit: Added the word "snake" because black widow antivenom exists but BW bites are not usually life-threatening in adults. Most people can pull through without it. This is much more risky with venomous snakes.
>Huawei is blacklisted due to US’s economic war

The trade war is not why this company, in particular, is blacklisted.
This is exactly why I'm asking.
So, since you are, appearantly senior, in the field, do you have any concrete recommendations?
Some of the smartest and most creative people I ever met were when I worked at Google. The problem has far more to do with perverse promoting incentives, poor management, and corporate inertia than some "hiring process"
I write something similar for my own problems. Usually a single instance alone isn’t going to cut it, so we run a portfolio of solvers and treat it like a multi armed bandit problem as to choose which solver with its specific hyper parameters is finding solutions / counter examples faster. A pretty common trick when you do this is to dynamically resize your portfolio with new solvers introduced with a high likelihood of solving fast based off the parameters of other solvers that are solving fast, a particle filter of sorts.
This takes care of setting and handling individual solver timeouts, while allowing the user to specify not only a timeout for the whole portfolio, possibly lengthening when new solvers are introduced, but also a max delay between any two solutions.

Either way, you’re still forced to consider if the model can return sat or unsat, or a timeout. If it’s a timeout we don’t swap in the faster code, if it’s unsat then same deal, but if it’s sat we can get some new code to jump to
I feel like we are so close to wirelessly monitoring all brain waves (next 50 years) we will probably be able to, in real time, recognize and diagnose abnormal brain patterns. I think it would be promising if we get this sensor tech up and then perhaps deploy nanotech to interfere with maladaptive brain patterns. The ethics of such a device is considerably sticky.

TED talk by Jack Gallant https://www.youtube.com/watch?v=Ecvv-EvOj8M

recreating vision: https://www.youtube.com/watch?v=nsjDnYxJ0bo

another ted talk by John-Dylan Haynes https://www.youtube.com/watch?v=mMDuakmEEV4

paraphrased: "wireless non-contact mind reading tech may be cheap and mass producible within the next 50 years."

the only rate limiting step with his method of decoding thoughts is that it takes time under a high energy device to pair associations in the brain.

Think of how much screen time we currently use. If we could pair a wireless 'headset' like headphones while looking at pictures on a screen it would be possible to build a brain bank of children->tenenagers. Currently we just need a lot of processing power and reserved bandwidth on the internet to do some cool stuff.
Discussed at the time: https://news.ycombinator.com/item?id=10810454