skysight-inc/HackerNews huggingface dataset:
"The COVID-19 pandemic was avoidable. Any responsible country would have invited world health investigators to Wuhan within days of an outbreak. China instead refused offers of help – including from the United States – and punished brave Chinese doctors, scientists, and journalists who tried to alert the world to the dangers of the virus. Beijing continues today to withhold vital information that scientists need to protect the world from this deadly virus, and the next one."

The above shows this is a political statement.

I happen to agree with this quote. It's also not, as the US administration likes to pretend, any sort of defense of their response to the pandemic. But at the same time, the presence of this quote makes it very clear that this is little more than a political, rather than a fact based statement intended to get to the truth.

It also aligns with what Pompeo is doing in nearly every other delicate situation in the US over the past few weeks. Setting stuff on fire making it as difficult as possible for the incoming administration to deal with.
>> but some people really do think that VirtualBox VMs act like a sandbox, which is only true if your adversary is rather unsophisticated.

Nation states are one thing.

Will it protect the average user, against common security risks ?
Yep, every language is fundamentally broken. Fortunately, some are useful. Go has proven to be useful in building stuff that matters, at the end of the day. This unfortunately can't be said of all the fancy languages with perfect type systems.
> Generally speaking, if your testicles don’t shrink, your production stays the same right?

No, absolutely not.

The size of your testicles is in no way indicative of your testosterone production.

While a shorter period of use generally has a higher chance of your natural production restarting after ceasing exogenous testosterone, your natural production of testosterone shuts down immediately with the introduction of exogenous testosterone.
Is this board only for Silicon Valley people? I was looking for a cleared job over Christmas on the east coast. Applying internally I got rejections, applying to jobs from recruiters I got interviews and offers about 60% of the time.

I found that five years of experience in "programming" didn't qualify me for jobs that wanted three years of Angular, or Spring, or seven years total. I've still never had an interview with a programming test except my very first one that had FizzBuzz.
Funny, I find that 'QT standard C++' with their idioms and core lib to be really quite clean and useful, accidentally it has become my goto variation of C++.
I'm pretty sure it's because Facebook started suggesting that Alice should be tagged in Bob's photos without Alice's consent. They're Bob's photos but it's using Alice's likeness to suggest tagging her without her consent.

Edit: And the law in Illinois is (to quote the article): 'The statute requires any entity that gathers biometric data—including fingerprints, voice prints, "hand or face geometry," and retinal or iris scans—to get informed consent from those individuals whose data it collects'
They aren't your faces. The law just requires consent.

Calling names and swearing? Seems like you're outraged. Not them.
Now China has capital controls but that's a more recent development.
How about declaring Cuba to be a state sponsor of terrorism in the final weeks of Trump's term for no discernable reason at all.
> The diesel ORM is great, but it seems that each api returns a different type and doing a builder pattern generically across different functions and getting the types correct is like being in the worst C++ templating hell.

Diesel provides the `into_boxed` method [0] for composing queries.

[0]: https://docs.diesel.rs/diesel/query_dsl/trait.QueryDsl.html#...
No user generated content should be behind a paywall
This is most definitely not before the COVID-19 outbreak
Google is very egalitarian in this regard too. This is exactly the same support experience you get even if your company is giving them millions of dollars a year for cloud infra.
Yes, exactly, which is why this statement looks more like it's intended to add confusion rather than clarity.
Plenty of YC startups have been funded without traction. Thousands, surely. Many haven't even launched yet.

I don't know what the difference was in this particular case, but you're overgeneralizing from it, and underestimating how much emphasis YC places on founders (a lot).

YC funded Dropbox before it launched, because they believed in Drew—so that's a counterexample, no?
> The presence of _unsafe_ is okay,

It is OK in the same way C/C++ code is OK. IMO there is absolutely no point in writing Rust if you are going to use unsafe code.
Yes, wow! As a Canadian I really appreciate the ability to donate in my own currency.
The article continues:

> The prisoner survived the first test and asked for the dose to be doubled on the second attempt, on the assumption that he would go free if he survived, which he did not.
> Whatever people find unacceptable about Java could've been fixed.

yeah by making it common lisp instead of java
Italian Fascism.
If a fish ate the plastic, would you say the plastic is in the fish? Or is it still in the water, because a fish is in the water? Which industry would have written that headline?
Yea, it's definitely a workaround for not having algebraic effects, you can basically think of it as a yield.

Of course ideally the language would have it first class, it doesn't change the fact that they are immensely useful. Having composable stateful logic that always handles side-effects is incredibly useful, and it works really well within the immutable data / top down data flow model of React.

I'd love to hear the alternatives, as I spent years researching and working on many (Redux and FRP/reactions) and they're simply not as nice.
send them this article
You don't have to go far for this stuff [0].

[0] https://en.wikipedia.org/wiki/Pope_John_Paul_I
$110M for the lawyers is absurd. We as a country need to disincentivize lawyers from filing lawsuits like this. There should be a limit based on how many hours they work, etc. Lawyers fees should be negotiated on top of the settlement, it's one of the reasons why our country is the way it is, lawyers trying to make a huge payday.
I like short variable names - for variables used in only a short block of code. I like long variable names - for e.g. a field on a struct used all over a file, and certainly exported ones.

I think "Go uses single letter variable names" is not so true in practice. There's a balance, in every language, between when to use short and long names. Go's balance is tilted (a good bit) more towards short, but it's not a hard rule.

There's significant mental overhead in reading `numberOfSubprotosOnProto`, as well as time hearing it in my head. I'd rather see `n` declared, used a few times in the next <10 lines, and then disappear. If there's two similar concepts in the same function, use slightly longer names, sure. Certainly not m and n.

I think that's the same reason math tends to use single letter variables. "Taylor series are easy! Just memorize: 'f_series_degree(evaluation_point, expansion_point) = sum(derivative_order=0..series_degree, (evaluation_point - expansion_point)^derivative_order * f^{derivative_order}(expansion_point) / derivative_order!)'

No thanks, I'll take f_n(x, a) = sum(i=0..n, f^n(a)(x-a)^n/n!).
We all know this is BuzzFeed ragebait garbage. This had died down somewhat, but there is always some story about ads on "controversial" content. This is a new evolution of that, where it appears to be "controversial" ad on "controversial" content. I'm sure we'll see another round of ads on "controversial" content again soon.
Counter-Histories of the Internet (2019)
Yeah, I can't tell the difference at all.
IIRC, you need to boot into the recovery partition and enter the admin username/password of an existing user, so I'm not sure this is doable even with physical access.
Us too. Did you happen to switch over after the election? Assuming you’re American, sorry if that’s not the case!
Patterns on the most effective teams I’ve worked on:

- high degree of trust and emotional safety between team members. The team can safely share feedback and risk sharing our crazy ideas

- high degree of care for the craft. We hold each other accountable to quality

- ships, regularly, to real customers

- little status seeking - goes with emotional safety - few individuals on the team need to be “in charge” or hold arbitrary titles.

- the individuals are more than fairly compensated and the company shows their love for the team in big and small ways

- the team talks to their customer and has a lot of empathy for their problems. They want to be accountable to them

- the team has a lot of empathy for new team members and works hard to make on boarding easier

- some willingness to “get in trouble” with the broader org because you know what you’re doing is right ultimately for the customer

- high self starters: instead of complaining, people feel empowered to solve problems or prototype ideas without a permission structure

- not too much catering to “super stars”. 1-2 heros does not a team make, the senior people make it their job to lift everyone up. The team doesn’t obsess over their high performers.

There’s a lot more emphasis on emotional intelligence and empathy in an effective team than on any specific process.
> haven't actually been able to form a leftist worldview free of economic liberalism

Very good point! I did not think of this at all. Perhaps the collapse of the Soviet Union discredited the planned economy as means of social equalization and they never quite regained their footing.
Definitely interested in talking more about this if you're down! Send me an email
The fact that mutation is more ergonomic in JS and that React isn't doing that much by default to take advantage of immutability is a fair point. But an important distinction to make is that React is actually not _able_ to take full advantage of immutability by default today in the JS ecosystem because it depends on passing around mutable JS data structures, that don't have value equality semantics outside of primitive types like strings and numbers.

In the case of React wrappers in functional languages, such as ClojureScript's Om and Reagent (and probably many others, but those are the ones I'm personally familiar with), components actually have the PureComponent optimization enabled by default. This is because deep equality checking comes for free due to value equality semantics of the underlying persistent data structures offered by the language.

The PureComponent optimization itself ends up becoming a much more effective global optimization in these languages, as it ends up benefiting the vast majority of use cases, whereby rerenders get optimized away as long as the _values_ getting passed around aren't changing, regardless of how or when those values are produced.

Contrast that to the case with JS's mutable data structures, where the only time when PureComponent can save you from rerendering is if no references (as opposed to values) change, which is much rarer to come across in practice (in fact they change by default for every computation you make on every render), so it's something you end up having to deliberately optimize for (although the ergonomics of the tools for actually making these optimizations has come a long way since the class component days with hooks like useMemo and useCallback).

This is why PureComponent is not enabled by default as a global optimization for React in JS, because a vast majority of use cases won't actually benefit from it. As such, the cost of actually checking for equality for every component ends up over-weighting the benefits of a tiny handful of potentially skipped renders.
Read the article: OpenXR.
I have been a google fan boy for good length of its life, but I am so sick and tired of their support. Their casual "fuck off, we don't care" attitude to customer service has finally turned me into, a "Fine, I'll give Apple a try"
Absolutely. The great claim that SARS-Cov-2 has a zoonotic origin requires evidence of an animal with a virus similar to SARS-Cov-2. Unlike SARS-1 and MERS, we have not yet found such an animal.
It’s not completely equivalent, since React avoids rerendering parts of the tree when the state has not changed (=== comparison). In some ways it separates the concern of rendering from state changes.
I have not once considered the perspective of a blind person when it comes to rideshare.

With the other commentor saying that he enjoys it, what is it you dislike?

Off the top of my head I would imagine getting them to park or let you out at appropriate places may be one issue.
The post mentions this, but the main concern is continuous deployment, where cache doesn’t really help - you’re building from scratch at least once, and the build isn’t happening on your MacBook or fancy development machine but on Google cloud build or some other time & resource-limited environment.
That's definitely true. But that's not the issue.

China, right now, is an adversary of the United States, and the current administration has been doing everything it could to pin the "China virus" on them.

The fact that they are now willing, immediately before a change in administration, to make the allegation in a slightly-more-official capacity means nothing to me. They beat that drum for the past six months with no evidence and no consistent story, and now they issue a statement full of supposition and loose circumstantial evidence. So what?
It's cool you have found a workflow that works for you, but I don't think there are many people using JOE or (plain) vi to write software.

https://insights.stackoverflow.com/survey/2019#technology-_-...

I can't imagine working that way myself. I need syntax highlighting, code completion, and go to definition at the minimum. Another newer feature I like is spelling and grammar checking of code comments.

Edit: Have you given Sublime Text 3 a shot?
Did you set up an auto responder to notify senders of the change?
That’s interesting. Do you live in a country where Telegram is particularly popular? Here in the US I don’t think I’ve ever even heard of someone using it. I don’t even know what the app icon looks like. My social circles are on some mix of Messenger, iMessage, Signal, WhatsApp, and if you count coworkers as social contacts, Slack.
If I have a 4/8k video where I recorded voice and face of a person, do I need to get a consent or only when I extract it and use it as biometric data?
I think there were some state department cables 2 years before the outbreak.

https://www.foxnews.com/world/state-department-cables-corona...
Good but currently the land is divided between 3 and there is fighting. Unless status quo changes, fighting will continue. Its not like if any of the three forces its way on others territory and the two will stay quiet. Either all can have it like now and keep fighting or all let go and no one fights.

Well a man can dream. Right?
It is very likely that Tether is a scam -- the evidence has been mounting for years -- but the peg won't break until the market believes it. Unfortunately, there isn't a good way to short Tether. You can short the Kraken USDT/USD pair on margin, but the margin rates are ~20% a year. You can borrow tethers on compound.finance, but the rates are ~15% a year. I think part of the reason we haven't seen the unwind of tether is simply because it's too expensive to short.

Also, no one will loan you their tether if you tell them you're going to break the peg and give them back a worthless token.

(I actually had a kraken short on for a while in ~2018 but gave up because it's just too expensive.)
> In safe languages like C# or Java there’s no unsafe anywhere, not even in standard libraries

My (limited) understanding of the unsafe keyword in rust is that it’s just indicating that the compiler cannot guarantee that the block is safe, not that it’s necessarily dangerous. By this standard, every single line of any C program is unsafe. Depending on the guarantees of other languages, this is true to varying degrees. I’m not familiar enough with Java and C# to comment on them specifically, but I’m not sure the try to provide the same guarantees that rust does.

I think all python, ruby, is, etc. would be considered unsafe. The unsafe keyword in rust seems more like the equivalent of saying “my static analyzer couldn’t guarantee the safety of this bit; it may or may not be totally fine”.

That said, I do agree that unsafe blocks can be red flags. At least they can help guide you in where to start looking for potential issues.
"The Art and Craft of Drawing" by Vernon Blake because of the model he offers for cognition.
"Eschew flamebait. Don't introduce flamewar topics unless you have something genuinely new to say. Avoid unrelated controversies and generic tangents."

https://news.ycombinator.com/newsguidelines.html

We've had to warn you about this kind of thing before, especially the nationalistic aspect. Please don't post flamebait and especially please don't take HN threads into entirely off-topic, entirely generic classic flamewar topics. That path leads to the hell we're trying to avoid here.
That's an interesting balancing problem, because if you disincentivize it too much, Facebook can afford to own all the lawyers (so to speak) and grease their wheels enough (or intimidate them away) that nobody of any consequential skill will pursue the cases (and this is where someone argues that the government should do it instead and it should all be a public legal effort; which is where I point out that Facebook, Google, Amazon etc. are deep in bed with the government). Further, when going after monster corporations it can be both physically dangerous to your well-being and career threatening, so the financial reward should be there to take on a trillion dollar company with tens of billions in annual profit and extreme political clout.

Any lawyer willing to try to cut into these extraordinarily evil companies, I say give them the money. The lawyers are being compensated like SEC whistleblowers in a modern war against vast human rights violations, they're mercenaries in a conflict and should probably be compensated as such when they achieve big results.
Facebook doesn't show ads. Facebook sells ads
I'm not arguing untyped is good: it's most certainly not. Everything nullable is also bad, and also introduces a limited some type (Maybe).

What I am saying is if you have static types (good) but don't do anything else, you loose sums (bad). You then need to add (back) sums.
Lua has a type of value called "userdata" that is just an opaque reference to a C resource. There's no way for Lua to know how do a deep copy of that resource, if it's possible at all. Tables can also have "metatables" that modify how they function. It's not obvious whether a deep copy should also create a deep copy of the metatable (and its metatable, and so on) or whether the copy should share the original metatable. There's good arguments either way.
Nope. This is the provided 774M model with top-P sampling at 95%, prompted with the text in italics.
> https://www.headspace.com/work

> More focus

> 4 weeks of Headspace can increase focus by 14%, and just a single session cuts mind-wandering by 22%.

> Easier teamwork

> 3 weeks of Headspace shows 21% more compassionate behavior, and cuts aggression and reactivity to negative feedback by 57%.

Mindfulness is being packaged and sold as a productivity enhancement.
TS is what everyone is coding nowadays, and yes it definitely "fixed" the problems with JS.

However the world would be a better place if there was just Java, and neither of it's two offspring were ever born (JS and TS).
Elevated biomarker related to blood vessel damage in children with SARS-CoV-2
Substack is a Y-Combinator startup, right? I see them hiring here a lot, anyway.

I've always wondered what the cutting-edge technology or business model it aspires to provide, such that the idea was worthy of startup funding and so much interest. After all, hiring a developer to set up a Wordpress site with a few plugins and integration of some subscription payment plan through Stripe or similar couldn't be that hard, right?

Maybe Substack's goal, then, is to create a truly censor-proof platform for independent writers. I'm not sure that is currently one of their goals, but after the last few weeks, it probably should be. Otherwise, what's the point vs just some generic "Shopify for writers" that I'm sure already exists, though would be heavily dependent on the big players who could cut the platform off without notice.

So do we know if Substack is ensuring that they control their "sub stack" down to the utilities level (e.g. electricity and ISP)? Otherwise, one bad apple (e.g. Andrew Sullivan daring to reference a best selling book from the 90's that's no longer kosher amongst the woke) could ruin it for the rest of their customers.
We're talking about a BSL-4 lab here, one of ~50 in the world. Aren't there established protocols to quarantine lab techs if they are showing even minor symptoms?
A full GC will count the a and b objects as garbage once leak returns.
Waiting 5 minutes for a bunch of things adds up.
Bugtraq is partly responsible for how a lot of us little hackers grew up. It helped give birth to Full Disclosure, which became an ethos that shaped our squishy little brains.

Sometimes you need to do what the powerful call wrong in order to make something right. This idea grew, until a tiny army of little newbie black hats came forth, incompetently causing mischief on the net. This scared executives enough that infosec eventually became a thing. At first we were all just nerdy degenerates getting wasted in a shitty hotel in Las Vegas. And now those degenerates are working in the White House.

Fuck Symantec, and Long Live the 0-day.
It has absolutely moved beyond just Actix. There are many web frameworks or lighter routers available to choose.
There are two problems here:

1. The position of an element in an array is not a property of the element but of the array.

2. Don't use sorted sets when you need the properties of an array / linked list.

You can store the todo list as an array of todos (use a user defined datatype), you can create another table called todo_list that contains an array of references to the todos. You can also create a linked list. Note that you'll have to use modern SQL to retrieve the linked list 'efficiently'.

The problem only becomes difficult when we dislike the obvious solutions because it violates some property of 'elegance' which apparently means restricting yourself to the 1980s versions of SQL implementations.

If the language we were writing this in was called JS and the code has the order of the array as a property of the object and we were continually sorting it every time we accessed the array instead of just reordering the array we'd recognize this as the anti-pattern it is. Similarly if for some reason using JS functions was considered 'inelegant', or for some reason using only JS features of 1996 instead of 2020.

Modern SQL has CTEs, functions, and arrays. They are very elegant when solving the problem of arrays in SQL.
did you even read the article? It literally starts with: "Two years before the novel coronavirus pandemic upended the world, U.S. Embassy officials visited a Chinese research facility in the city of Wuhan several times and sent two official warnings back to Washington about inadequate safety at the lab..."
People should consider this claim with the same scrutiny as the claim that Russia was behind SolarWinds.