skysight-inc/HackerNews huggingface dataset:
>Can't you do this in Rust by writing a #[derivative] proc macro without having to modify the language?

That question can be generalized to "since <Turing Complete language> can do <anything-we-want-via-library/function/macro/codegen/customcode/extension/whatever>, can't we just do that instead of modifying the core language?"

Well yes, but the advantage of having 1st-class language syntax includes:

+ more helpful compiler error messages because it has intelligence of the semantics

+ more helpful IDE because the UI has intelligence about the intentions of the programmer

+ interoperability because programmers are all using the same syntax instead of Programmer Bob using his custom macro-dialect and Progammer Alice using her idiosyncratic macro-dialect.
How can you tell it's a metaphor without clicking through? Since this is a "novel" virus, I thought it would be about some heretofore unheard of symptom.
Yeah, but like, you're asking for empathy from dang. They don't know what it's like to be an engineer on corporate salary, or how it feels to be paid a five-figure bonus for delivering a seven-figure feature. They can't reason about what is happening at Disney or other corporations, except abstractly and without an understanding of the human cost.

The moderators are not here to improve the conversation. They are not here to contribute. They do not have interesting things to say. They are here to remove things and people which offend them.
The author is one of the world's most prolific publishers of TDD educational material.

You shouldn't be so quick to assume that everyone else is clueless.
Add the fact that both JVM and NET are huge ecosystems with tons of libraries.
Ah, indeed. That said I do occasionally use foldLeft, foldMap, and sum (which I think is what Haskell calls fold?) on options, so I'd say there are a handful of legitimate use cases for most kinds of folds.
> There is no way this is worse than nothing.

correct. it's not worse than nothing. it's literally not possible to be "worse than nothing".

However to your point it only protects against spray. So, yes, it's better than nothing if you're in front of someone coughing / vomiting directly on you.

BUT it doesn't do much of anything for the aerosolized particles. Better masks has coverings above the top to prevent those from coming in from above, but in this case apple appears to be going for quantity and speed over quality.

> if a face shield used with no other PPE reduces the viral load the average healthcare worker is exposed to by 1%

If you are practicing social distancing then a face shield really provides essentially zero protection. I have seen no evidence or even suggestion by a medical professional that wearing these while keeping a distance from infected individuals would provide ANY protection.

The main problem is aerosolized material (also direct contact but gloves and not touching your face address that). These don't help with aerosolized material. It just floats around them and gets inhaled anyway.

You want these if you are up close to someone who is infected or potentially infected because mouths spew forth bad things: vomit, coughing, etc. and you frequently don't have time to jump out of the way.
I just finished reading "Apollo" and have so much respect for NASA of that time. It's a case study of what an Engineering project can do with a military size budget. Apollo 13 never comes home without the constant red team smoke testing of every last operational detail and how they managed problem solving for a real time crisis is a lesson for anyone who ever had to fix anything.

Quick plug also for Gene Kranz's memoir at the center of Mission Control (Failure is Not an Option)

And the BBC is running a podcast series on this.
It's 6 Episodes and the last one drops on the 13th (50 years from the O2 tank blowout).

[1] https://www.goodreads.com/book/show/282086.Apollo

[2] https://www.goodreads.com/book/show/141499.Failure_is_Not_an...

[3] https://www.bbc.co.uk/programmes/w13xttx2/episodes/downloads
As said by someone else, tests are in short supply. So other ways are being tested, like testing wastewater[0].

[0]: https://www.sciencedaily.com/releases/2020/03/200331092713.h...
Which direction is Apple going in and why? It'd be great if you could elaborate on this comment.

Edit: https://kean.github.io/post/swiftui-layout-system

Sounds like a near copy of the JavaFX layout system!

It sounds like the constraint based approach had problems with unsatisfiable or unstable solutions to the equations.
That's a good question! The sources of lunar water are poorly understood.

Some of it is formed as a result of hydrogen ions in the solar radiation hitting the oxygen present in the surface and forming water, and then being transported to the permanently shadowed regions. Another source, and likely a major one, is asteroids and comets, which were impacting vigorously during the early solar system.

But to truly differentiate between the sources of water, sample are needed. This hasn't been done yet but will open a huge box of mysteries and also give insights into how the Moon formed.
Nobody claims that. The problem today is that The Company only contributes a fraction to the maintenance and sells licences which includes work done by others. That's a pain point, isn't it?
The problem is that you don't even need this; use a conferencing solution that works in the browser, such as Whereby.

It even works in Safari on an iPhone (!!!!!!).
Sure, everyone's threat model is different.

But look at the whole threat model.

* Google's exposure is far greater than merely other languages

* Exposing profiles & activities of an entire generation of kids to a foreign adversarial surveillance govt is itself a serious threat, covered by other responses here

* This creates a massive increase in exposed surface area. E. g., consider abkid using their parent's computer who happens to work at a sub-sub-contractor on a key defense project. Even if the key files are properly encrypted, just some little data points like the fact of their employment, network name, list of known WiFi routers cached, etc., now lets CCP fill out their model of attack vectors. There's a thousand other ways this can be used to gain an edge if you don't like that example

The bottom line is like the precautionary principle - just because you or I can't figure out how to exploit something, doesn't mean that it can't be exploited.
Software Delivery in Challenging Times
I know we're getting far from the original point here, but I'm going to seize this opportunity anyway: the so-called "thin blue line" is not the reason society is able to function. We work as a collective /despite/ the presence of police and the prison industrial complex, not /because/ of them.
I'd love to know more about opinions of fellow commenters, just a "what-if" question:

If tomorrow you had some big project such as Qt in your hands, and had 100% freedom to choose how to proceed with it (in matters such as what license to apply, what sustainability model to seek, etc.) what would you do?

I always feel that pure GPL is the best but only idealistic way to go, because working for free is not compatible with paying your bills. Then LGPL, and maybe other licenses such as Apache, are nice but at the end of the day allow that private companies with private pockets benefit from the project without helping it at all (either with work or with cash), which I know is one side of the "freedom" that those open-source licenses bring, but it's one side that I personally don't really like (I'm more of a pragmatist than an idealist). For that reason I feel like dual GPL+Commercial might be the best of both worlds. It would allow basing a company around it, and paying other devs to feed their families, and at the same time users of the GPL variant would themselves be benefiting from and contributing to open-source.
This is a rationalization of lying for attention.
Mutant enzyme could vastly improve recycling of plastic bottles
this should only be done when you're so screwed that you don't have clean ones available. This is literally war-time thinking. It's also completely impractical to do at hospital scale, but if it's your only option...
Big customers of QT are Car Companies. And they are affected a lot. However, it is very early to see this impact in a second or third layer company like QT. On the other side, it could be good management (thinking forward).

But I agree with you. They are most likely executing now an old plan under Corona cover.
Why isn't mosh being maintained?
Commits by employer, for reference: https://macieira.org/~thiago/qt-stats/current/qt5.employer.r...
Indeed. What that pattern also solves, and AFAIK most static languages lack, is argument forwarding (though Python solves this even more elegantly than JS):

def f(x, **kwargs):
return g(x, foo=1, **kwargs)
I wonder how many hyperlinks there are in the text that I missed. I'm reading on my phone and the styling of hyperlinks makes them completely un-discoverable (short tapping every word in the text). Why bother having any links at all with that kind of styling?
Experienced travellers have suffered from these, and have learned how deeply they are screwed and are warned off. New travellers = their easy meat. Usually they have a 'share the cheat' with a local who install the ATMs in their shops = makes them spread = shooting fish in a barrel kind of game. We have similar ones in Canada that charge a fat fee, but consumer laws here make them state their fee of $1 to $2 per transaction = decline unless in desperate need. The difference is most do not offer assorted foreign currency (some at international airports offer US$ and Euros).
and college education.
I know people like this. While it's good to stay informed about some very significant events, but some people just get sucked in by its gravity (pun intended). They obsess over every detail, especially numbers and projections. They can't get anything else done. Probably sleep and eat too much, exercise not enough. All signs of classic depression, and pretty much expected TBH.

The advice I've seen from the therapeutic community is to check news a couple of times a day for new information and safety recommendations. Otherwise, do things that help you and those around you remain calm. For some people that might be productive work, and good for them, but for most it's a mix of that with other things. Don't feel guilty about being at less than full strength. And practice "anxiety distancing" to avoid making others feel more worried than they probably already are by themselves.
Trust-Owned Company Structure
Inflation only reduces the value of money not other goods. So, if your savings is in wine, land, gold, or whatever then low levels are not that important. Put another way the difference between 1% and 2% inflation is roughly cutting the value of money in half over 70 or 35 years. But, it’s hard to really notice then difference between them on a month by month basis.
It seems like the clearest example of something where demand is currently far outstripping supply is housing in America's most desirable cities.
Fixing the new Slack interface (for myself)
There is an extended version of the interview. https://youtu.be/pSHj5UKSylk
Well, either the language will leave async runtimes in the domain of third-party libraries, which is the current approach. Or, the potential blessed one in std will be an alternative that you may or may not want to use in your code.

When I think of breaking changes, I think removing sun.misc.Unsafe. Which, yes yes, was never supposed to be used, but still was. Evolution of best practices and introduction of alternative implementations doesn't break anything.
Suspicious Package and Pacifist are great tools, but you can do it with the built-in pkgutil command:

% pkgutil --expand foo-1.0.pkg foo_pkg
% cd foo_pkg
% ls -Al
total 352
-rw-r--r-- 1 magervalp staff 44491 16 Mar 12:19 Bom
-rw-r--r-- 1 magervalp staff 566 9 Apr 13:51 PackageInfo
-rw-r--r--@ 1 magervalp staff 67794 16 Mar 12:19 Payload
drwxr-xr-x 4 magervalp staff 128 9 Apr 13:51 Scripts
% mv Payload Payload.cpio.gz
% open Payload.cpio.gz
How America Brought the 1957 Flu Pandemic to a Halt
Treating it as a 'unique political failing' might be silly, but highlighting the problems of our JIT economies, and criticizing our governments about that, is in itself a good thing.

From cursory reading it seems many experts have been beating the drum about these types of events (global 'catastrophes') and instead of 'wasting' a bit of money to keep stockpiles up, or implement other types of policies 'just in case', many of our governments have led us here in the name of optimization, efficiency, etc. I think it's fair enough for the media to bring that up.
This is all subjective of course. I for example feel the exact opposite of what you described, and I think the overwhelming majority of Rust coders prefers it to explicit matching (which I find is just code noise).
The original title is "How Coronavirus Infected My Brain", and Hackernews stripped "how" (apparently [0] it does it automatically).
I think with "How" it definitely feels like a metaphor, not like a claim about some symptom (I'm not a native speaker though!)

In hindsight, I guess, I should have edited it straightaway, but thought it wasn't a big deal at the time of posting.

[0] https://news.ycombinator.com/item?id=19054830
I have written a fair amount of software in Qt. It has been clear to me from the actions of the Qt company (via the amount they charge for it, getting rid of indie plans which allowed you to use it Qt for ~350 bucks a year vs the $5508 a year that they have chosen the strategy of milking the captive users that Qt has rather than expanding Qt out and courting new users. For better or for worse at this point I see closed source Qt going the way of Delphi. Qts long term survival depends on a viable and vibrant OSS fork.
Is this true everywhere in the world?
I tried playing that and it's funny how tiny the main island feels when you can just walk across it instead of click-click-clicking.
> efficient complete formulas for Weierstrass curves were found only after Curve25519 was well established

Assuming you are talking about the Renes–Costello–Batina formulas, they're complete, but not necessarily efficient. According to [1], optimized short Weierstrass with the complete formulas is still 1.5 to 3 times slower than Curve25519. I imagine the numbers won't be much better for Edwards25519, either. There's definitely a ton of potential for a better complete addition formula on Weierstrass still left.

> Ristretto is nice but so terribly complex

Ristretto is nice, terribly complex, and you don't actually need to care about the conceptual complexity. As an implementer, your only job is to execute the explicit formulas in section 5 of the Ristretto website. You do not have to be able to follow the hard math (just how you do not have to be able to follow the hard math involved in making the explicit formulas). Plus the entire thing can be trivially constant-time given a constant-time selection primitive and constant-time field arithmetic. It's not that much more difficult than doing regular point compression on your own.

[1] Peter Schwabe, Daan Sprenkels. The complete cost of cofactor h=1 (published in INDOCRYPT19), https://eprint.iacr.org/2019/1166.pdf
It does break, because those libraries need to interoperate and async/await doesn't work without linking to one of them.
LinkedIn to Launch Lawyer Marketplace, Part of Wider Prof Services Offering
"This Tweet is Unavailable". Hmmm, somebody got to them.
Sure, you just make an account with your company email.
Artificial Neural Network Learns to Play Connect Four
Some apps offer to move themselves to /Applications on first launch.

Still, there's the possibility of users clicking "Cancel". Even then, it's a bit more code to write, test and pay for (from the POV of a client).

Wrapping the bundle inside a .pkg instead of a .dmg solves the problem "for free".
Google Ordered to Pay for News in French Antitrust Crackdown
Sure, criticism will be handled, but governments can't lose face either. There is a lot of childish criticism. I think people should act like adults here. Governments are made of humans, and scientists don't have all the answers either.

Third world countries are at risk of becoming a new, worse migrant crisis.
Some quick notes:

- Logic is almost entirely specified in JSON so it could be easy to make another one

- I couldn't get it working on mobile as the `playsinline` attribute was being ignored, rather than just pushing a broken thing on people I decided to squash it altogether, I've very quickly thrown together a version without the block here on a `mobile` branch if anyone wants to investigate https://5e8f0bd4606eb6000765706a--dvd-rom.netlify.com/root

- I'm clearly not very good at ripping menus from DVDs!

- I couldn't figure out at all how to get the video menu hover images from the DVD, they're definitely stored in there somehow though

- Have it muted on launch cos I figure otherwise would both drive people nuts and would stumble into some video playing restrictions

- It seems to bug out a bit when swapping video files (as can be seen in some of the special features entries)

- reach/router was used to handle transitions between pages and routing

Actual menu footage: https://www.youtube.com/watch?v=GBi5cJ64Nf8
The app store is disabled on my work mac where I am most likely to need zoom/WebEx.
One-Week Games Challenge
> Helicopter money is irreversible since it increases the monetary base of the end-users.

This is inaccurate. If the government pumps $x into the economy today, tomorrow it can take $x out by levying a tax.

> He also suggested that blockchain technology and digital currency opportunities allow central banks to transfer money directly to citizens’ accounts. In this case, the regulator will be technically able to limit the time during which the money can be spent.

Can anyone explain what "blockchain" brings to the table here compared to traditional banking? If you want to distribute money to everyone, you want to verify real-world identities, which seems like the exact opposite of the typical use case blockchain is paraded around for.
Since we've been cooped up in the house, my wife has been making fresh bread.

It's awesome. Brings a little bright spot to this cloudy situation.
C# seems like much better time investment if you want to target many platforms and areas.

Now I do business web apps, but previously I did games. Which we published on all app stores + web. I'm also doing web sites. I did cross platform mobile apps with Xamarin.
I can do even frontend web thanks to Blazor. I can use C# for embedded work - but that's not my thing. And you can use C# for machine learning, too.

With Swift I would be restricted. Which may be fine for some people who like to work only on certain kind of apps, but not for me.

Only Rust tempts me to learn and use as a new language.
> Our system is broken

Citation needed.

> humanity needs a way to encourage success without punishing failure

Serious question - why? You state this as an objective fact with no argument for it.

> Failure [shouldn't] be hunger and homelessness

If you're smart about it, it isn't. What's wrong with saying "yes you should probably have savings to fall back on in case this doesn't work out?" What's wrong with saying "if you throw caution and all reasonableness to the wind and blow your life's savings trying to sell Amway products, your neighbor isn't going to be burdened with paying your bills while you look for another job?"
But that's not the question here. That's only talking about when there is a connector involved. For a zoom-zoom only chat, if my encryption works by:

* I generate a key
* I give it to you and another party
* You and the other party then chat through my service
* I pass the messages between you but don't bother to decrypt them

Does that count as end-to-end encryption? At any time, I could decide to decrypt the message (even months later if it is logged).
Mutant enzymes might make it into plasmids = wide spread, and existing plastics all over the world will start to erode. This is good, if they can manage to create something that erodes deep sea fishing gear which litters the bottoms of huge areas of the world and extracts a steady and horrible death on many hapless creatures. Might also work to erode these huge gyres of all kinds of plastic waste on various oceans.
It may also erode things we relied on to endure natural forces -? This will take examination and with care in case we create a plague of enabled natural forces....
'end' is subjective (I like it). The unicode characters allow to write syntax which is very close to mathematical formulae, this can help a lot with reading/understanding in some situations.
SwiftUI for iOS got me in to swift.

I find optional?s & protocol-oriented programming enable clear & concise mental models. I like swift's syntax better than Java/Kotlin, C++ & Rust imo. And it's damn fast.
> Germany is doing something clever, they are mixing samples to do a kind of binary search...

Do you have a link for that? I can find some papers suggesting you can detect one positive sample mixed with 31 negative, but nothing about that being applied.
To prevent over-thinking at the time of sleep you can try a simple meditation technique I had shared a while ago which I've been following for several years https://news.ycombinator.com/item?id=17906598

Regarding how to be in the present reality: It is a natural tendency of conditioned mind to worry about the future and be guilty about the past. Ordinarily such a mind can only be in present moment when it's involved in doing something it likes. However, you can train your mind and learn the skill of being in present moment by following a simple technique. Ask yourself this question frequently throughout the day "What am I doing right now?" whenever you raise a question your mind is by its nature compelled to give you answer. SO asking this question will break whatever train of thoughts your mind has been riding through and bring you to the current moment. Now ask another question, what should I be doing at this moment? and then focus on the thing you should be doing (as in focus on eating food or sipping coffee). This technique is taken from mind full to mindful (https://amzn.to/2phvft7 )

Above all, in my personal opinion, it is important to realize that most of things that happen to us can't be controlled/managed by us. The universe is infinitely huge and I'm just a tiny spec of particle compared to its magnanimous size. A change in prospective is required which makes us focus on the deed (karma) we are supposed to do and stop focussing on the result/fruits (phal) thereof. Meditation/chanting can help in realizing this reality.
Firstly, you are confusing patent system and copyright in your answer.

Secondly, nt's not about legality of open source license at all.

LGPL or GPL does not burden Qt Company with license obligations since it owns the source code. There is another contract between KDE foundation and QT company that we are talking here.
And a junkie can stop using drugs anytime and clean up their act. See what we both did there?
Some kids graduating today took in 50k+ in loans because they heard how great the industry is like you said.