skysight-inc/HackerNews huggingface dataset:
Go goes out of its way to ensure you handle the error. You have to do something with that err return, otherwise it's a compile error. If you're just throwing it away without checking, we've gone from the mere mistakes everyday developers make to irresponsibility.

There's a reason most go code is littered with "if err != nil" on nearly all function calls.
The more of pages introducing the solution you describe the more chance ad blockers / browsers will pick up the new challenge ;)
> the majority of which relate to Go's tendency to just be silently completely wrong

100% right on.

Go's handling of errors is often ridiculed for its verbosity and lack of thought, but the fact that Go makes it so easy to sweep errors under the rug has real and devastating consequences in the real world.

Go programs are much less safe than programs written in Rust or Java for that reason.
A.I. Learns to Play Flappy Bird
Java does have cheap allocations and a (many?) scalable multithread friendly GCs though. I guess they did require many many man hours to implement and count as hard?
I heard it was called it because the Spanish were the only ones reporting it during the war.
So, Amphibians Glow. Humans Just Couldn't See It–Until Now
What you do when one of your players' characters bites it is you roll a bunch of dice and look very busy for a few seconds leafing through rulebooks and thumbing through tables, then announce that the spirit of the dead character has ended up occupying the body of one of the enemies they're fighting (the more disgusting and embarassing, the better) through some kind of magical confluence, perhaps as the result of the actions of another character (preferrably of the caster/ invoker persuasion).

Even better, you _hide_ from your players the fact that the player's character has died (according to the dice) and instead present the possession event as the result of the other players' actions. "You cast the spell but it rebounds on the Dark Cauldron and pushes Janice's spirit through her body and into the body of the Goblin Scroll Carrier, narrowly missing the Goblin Shaman standing in front of him (or is it her?). Janice- you suddendly find yourself looking at your spasming body on the floor. You feel something sticking up your nose. You realise with horror that it's not your nose, it's the goblin caddy's nose and that thing sticking up it is his finger. Actually, it's now your finger. You're now a goblin."

Then you send the players on a quest alright- a quest to find a McGuffin that can reverse the situtation and put the PC's spirit back into her original body.

The point of course is that you don't have to kill off the character completely, so you avoid all the delay caused by the character's player having to roll a new one while the others are fighting and you avoid the awkward situation where the player ends up having to choose between the character that died and the new character (at the point where the old one can be resurrected).

I'm pretty sure that it should be perfectly possible to teach a neural net to do that.

(No, I'm taking the piss- there's no way you can teach a neural net that).

[Edit: all that goblin body swap stuff works a lot better if the PC was a paladin and if they were the character of a player who tends to play paladins and knights and whatnot. MWAHAHAHAHAH! Try teaching _that_ to a neural net.]
And the French system confuses me. I think you can ignore flashing lights, but need to move for sirens?
IMAP API – Self Hosted Nylas/Context.io Alternative
I mean, I think it's a lot less likely that someone compromises my printer which is behind all of the same network protection measures as my PC, scours it for previous printouts of QR codes (if it does retain them), to identify what account they can potentially hack... than that they compromise a 2FA cloud service directly and log into all my accounts.

What's the threat model here? If the CIA is in my home network, I'm sure they can get into my email account too.
Yes, definitely marvelous. Also a Youtube Playlist. I'll put it on, go for a walk, and the time just disappears:
https://www.youtube.com/watch?v=rs1jGsn61p8&list=PLVV0r6CmEs...
A small tangent over to describing how many different permutations you can have with deck of cards

Taken from https://czep.net/weblog/52cards.html

So, just how large is it? Let's try to wrap our puny human brains around the magnitude of this number with a fun little theoretical exercise. Start a timer that will count down the number of seconds from 52! to 0. We're going to see how much fun we can have before the timer counts down all the way.
Yeah, I know what you mean. Used it in the same manner for some time, but it didn't work for me.

What works for me is separating tasks (in Trello) and time tracking (on paper! DeskTime/RescueTime didn't work for me as well, I've used it for quite a while as well).

And I'm sure I'm not alone (not so sure now, though).

In todo (in trello, huh) there is a task to record a video to describe my approach... I guess I should make it asap!

Thank you for the feedback! It really means a lot.
Not sure why you were downvoted, considering the past central bank actions and current debt/deficit levels.
> What is the proposed mitigation that Google should implement on the app?

Why are 3rd party apps needed for accessibility ? How about Google take accessibility serious and make the OS accessible without expecting others to pick up the slack ? An API with this kind of far reaching access shouldn't even need to exist.
Strongly typed:

>>> "foo" + 3.141
TypeError: can only concatenate str (not "float") to str
>>> object() + 3.141
TypeError: unsupported operand type(s) for +: 'object' and 'float'

Weakly typed:

> "foo" + 3.141
"foo3.141"
> Object() + 3.141
"[object Object]3.141"
> [] + {}
"[object Object]"
> {} + []
0
I would argue that single core only OCaml could be released in parallel (heh) with a multicore OCaml. Legacy users could opt for the single core runtime distribution.

As soon as you get parallel gc, MPMC queues, parallel sorting, set intersection, etc. Many programs will see about a 1.x speed up making the point moot.

Erlang went through this same transition.
> That is not very civil of you.

I think @trickstra was quite civil in their comment. And they also brought up a completely valid point:

> > And you cannot change it like a password. So that's why it's a gimmick.

Regardless of threat model, not being able to change biometrics makes them very high value to an opposing force. Using biometrics "for the masses" to whom they don't have that completely different threat model practically eliminates their ability to upgrade their threat model since their biometrics have potentially been compromised already. Therefore, it very much is a gimmick.
Well, somebody should then copyright the whole contents of https://libraryofbabel.info/

:)
The middle of Nova Scotia is about same latitude as me, but you guys probably get waaaaay more snow and I am on the desert side of WA state. We get a ton of sunshine. How are you going to clear off the snow? I have 54 panels and it is a big chore to do it without scratching the panels, so I don't even try. Snow slides off like a metal roof, so you have that.

Do you guys get more overcast days? If so your panels may behave more like my place on the west side of the Cascade mountains near Portland Oregon. Looking at production on that 2.2 kW system for this January, I see a non-snow low of 0.4 kWh with an average daily production of 1.6 kWh.

Take a look at my January production, including some days with 0kWh production due to a dusting of snow:

https://i.stack.imgur.com/9qw18.jpg

That system is 6 years old.

So, IFF you get a system, your power storage needs to survive whatever is the longest run you can imagine (+50% ?) of days with overcast or snow coming down.
This is something we’ll really only know in hindsight, but it’s reminiscent of the reaction post-y2k. People put in a lot of work to ensure there wasn’t a crisis, but the media narrative was that it was an overreaction (igniting all the work put in).

China — and this is not meant to give them a pass on all sorts of errors and shortcomings — took fairly dramatic measures and were well equipped.

My concern with this virus compared to SARS is that it spreads much easier, making the problem one of infrastructure and capacity to deal with a large number of cases all at once. E.g., how quickly can we ramp up to deal with a potential outbreak at scale in terms of ventilator beds, etc.

And if not for this, then the next one. Coronavirus has raised a lot of questions about our preparedness and strategy for coping with a pandemic — and personally it feels like we’re sleepwalking a bit here in the West.
Is this with default settings, or did you add another filter list for those?
Remember the Million Dollar Homepage? Now there's a new version in 3D
Yes, the book says the 1918 flu hit healthy robust people the hardest. There are many other differences. For example, that flu had a super short incubation time, so it swept through communities in 7 weeks, and military bases in 4-5. On many bases thousands could become ill in a single day. It's spread was much more rapid.

But there are lots of other similarities as well: Hospitals were rapidly overwhelmed. With both flu and coronavirus, it is the pneumonia that is dangerous (also, apparently true of measles). Some people died very quickly of their own immune response and massive lung damage (SARDs, severe acute respiratory distress) while others succumbed later to secondary bacterial pneumonia. Health authorities were reluctant to acknowledge the problem for fear of creating panic. Many people and communities attempted to self-isolate, with very limited success.

There are some possible similarities that have not yet played out - notably multiple waves of infection with different mortalities and characteristics.

Overall, the book has a lot of detailed scientific explanations that I enjoyed. One of my favorite parts was a detailed explanation of the significance of "H" and "N" in flu names (e.g. H1N1), and why flu mutates so rapidly, and is so likely to cross over in certain animals. Overall, I recommend it if you like detailed but comprehensible scientific explanations.
Can someone please explain how the money gets wiped out?
He led the Orion project. https://en.wikipedia.org/wiki/Project_Orion_(nuclear_propuls...

Dyson interview from 2016 on space colonies https://99percentinvisible.org/episode/home-on-lagrange/tran...
Can I give you an utterly useless comment that I am dying to get out of my system now that I see your HN username?

I saw the domain name and thought it was a clever phonetic hack, using the dot character literally pronounced to make "faster than li (dot) me", which sounds like "faster than light (dot) me" when you say it out loud.

I now see this is not the case at all. Alright, that's all I've got.
> You cannot "pierce" into a shadow DOM from the outside

Why not? You can inject any script into a meta header on document start from an extension or do the same in an intercepting proxy.
Thanks for the feedback, and I don't blame you. Right now we've got communities in Portland, San Diego, and the SF Bay Area. We'ree planning to expand to a few new cities soon and are always open to people who want to host Work Clubs in their own cities.
I discovered at an early age that I could "will" myself to wake up at a desired time. It's certainly not perfect, but my accuracy is way better than chance.

Living things have all sorts of biological clocks, so this isn't really magic. Rather, it might be a bit surprising that we have some conscious control over it.
> Component state should only contain volatile data that is not important to save, the opposite of LocalStorage.

Where do you store data that you retrieve from a server for rendering? Storing it in the state is perfectly fine. In this example, data is retrieved from local storage and stored in the state.
From the article:

> The very beginning of ad blocking is the 90s, just when the ads appeared. In 1993, GNN, the very first web advertising service, was launched. Then in 1994, the first-ever banner was sold. In the blink of an eye, the online ad industry was worth billions of dollars. Double Click emerged, Yahoo started to sell ads. And that's when the very first ad blocker was created.

GNN (Global Network Navigator) was not an advertising service. It was the first commercial online magazine. O’Reilly & Associates, the publisher of GNN, wanted to see if a website like GNN could be supported through commercial sponsorship. GNN’s ads were informational — much more like whitepapers than a display ads. (Wired’s HotWired site, which launched at almost exactly the same time as GNN in the fall of 1993, invented the banner ad, which of course is what most adblocking tech has targeted. Cookies for tracking didn’t come along until later.)

Source: I worked on GNN as technical director, and in fact my first job there, in the summer of 1993 about a month before we launched, was to assemble the first ‘ad’ — a set of articles about intellectual property law, sponsored by the now-defunct Bay area law firm Heller Ehrman.
Danish Bank Folds to Negative Interest Rate Pressure
Curious: what is your definition of strongly typed, contrasted with weakly typed? How about static vs dynamic?
For the USA at least, wouldn't imposing a ban rather than a recommendation be a violation of the Constitutional right to freedom of assembly?
The state of coronavirus and remote work
What about users that are deafblind and use external braille devices? Are you going to build support in for those too? Is the maker of every other security relevant app also going to?
Yes, that was the explanation I got in history class as well. The flu emerged during World War I, and every combatant country had strict censorship of the press in place, which suppressed news of its spread in those countries. But Spain was neutral in that conflict and thus had an uncensored press, so reports of the flu's impact quickly made it to print there. And those reports got picked up worldwide as the first reporting on the influenza, leading people to think of it as a disease that began in Spain.
I don't think the Kansas source has any traditional consensus at all. It's just on the list of "possibilities" None of the sources indicate otherwise.
Thanks! Had not seen this. Will look into.
Released in 2018, so needs the relevant tag (I think).
a = 3
a = 'abc'

There goes your strength, Samson. Just because there's something worse, that doesn't make python strongly typed
Yes but that's a whole different 2FA implementation, where sites must support U2F (webauthn). Unfortunately, the implementation of TOTP is far more common than U2F.

Ideally all sites will implement U2F as two factor authentication, but there aren't that many users who have a U2F compatible token. The reach of TOTP is far more beyond U2F, which is probably why sites use TOTP more than U2F.

When sites offer both, choose U2F. When sites offer TOTP only, use it. It is better than nothing. When you have a yubikey already, use the Yubico authenticator app to store the TOTP secret to make your TOTP attack surface less and to have the availability to change your phone without losing TOTP secrets.
So after you posted to it I finally found the report[1] (three levels deep from this post :)

So actually that's not how it works. If it was just reading the screen it would only get a single OTP password which is only valid for up to 60 seconds.

The trojan is actually tricking user to enable accessibility privileges. Those privileges give the trojan ability to control the phone. With this privileges it actually can navigate settings and grant itself other permissions.

I suspect that with authenticator it can navigate and extract a private key somehow. I don't know how it's doing, because I don't see an option in the UI to obtain such key. So perhaps it is still somehow exposed to accessibility application but not the user. Or the report makes it look worse than it is and only talks about the one time code (it is not clear).

Anyway the real issue though is that accessibility is giving app full access to the phone. Restricting that though would affect accessibility, I believe Android though should make such accessibility request more scary.

I think the fatal flaw there is maybe allowing an app to prompt the user to enable accessibility settings. Although it is still not as terrible, an app can only send the user to the right setting page, but it can write whatever it wants in the description of the app (typically they say why they need the setting). The only warning from android is when you're about to enable the setting, but that warning is very dry, it lists the permissions, and some description for them. It doesn't seem to distinguish more scary ones from less scary ones. It also conflates them.

For example I have app called "back button" which basically emulates a back button (actually also other buttons), quite useful when it is broken. Though the only permission the app is requesting is "observe your actions (receive notifications when you're interacting with an app)" it doesn't say anywhere that it is more than that, the app actually can emulate pressing various buttons and nothing like that is even mentioned.

[1] https://www.threatfabric.com/blogs/cerberus-a-new-banking-tr...
This just isn't true!

Haskell's json/sql marshalling do not use runtime reflection but instead ad hoc polymorphism, so when I create (or even derive automatically!) a marshalling instance, it is pretty easy for me to reason about what will happen statically. Haskell's Generic & newtype-deriving go a long way here, and are good examples of principled abstractions that do not leak.

Haskell's conduit (and other streaming libraries) is another good example. I use them to create programs that process things in constant memory, and when I compose them (e.g. with operators like =$= or .| in conduit), the resulting program streams in constant memory. I have built entire systems (CLIs, batch jobs, event processors, etc) on top of this abstraction and conduit itself has never leaked.
School, Nietzsche, and Comfort for High School Kids
You've posted the same comment several times throughout this thread and in the past you've also, shall we say, name dropped saaspass repeatedly. While also ignoring questions about your affiliation with the company. Mind explaining why you bring them up so often?
I've found the Bitwarden browser extension has an option to automatically copy the 6 digit code after the username+password autofill. Can't remember if it does it by default though. See:

Settings / Options / Disable Automatic TOTP Copy
But there's a lot more that goes into accessibility services.

Redirecting all output to a single mono headphone is really important, and most users who use talkback adjust the speed and how things are spoken to better suit them.

And it still doesn't solve the problem, as accessibility services can still tap into the audio output and run speech-to-text to get the codes back still accomplishing the same exact thing.
I don't know how I didn't know that -- thanks a ton for letting me know!
For those who haven't kept up:

https://www.ucdavis.edu/news/message-campus-community-covid-...

In addition to the confirmed Solano county case (unknown transmission), three UC Davis students are currently in isolation, with one showing symptoms (tested, pending results).
> Dyson contends that since carbon dioxide is good for plants, a warmer planet could be a very good thing. And if CO2 does get to be a problem, Dyson believes we can just do some genetic engineering to create a new species of super-tree that can suck up the excess.

Forever the optimist!
I thought that was an offense that would get one either severely de-ranked or delisted from search outright?
Command-line applications for consoles are not exactly comparable to smartphone apps in that regard, because their natural habitat changes only at a glacial pace nowadays, while the habitat of smartphone apps - the smartphone OSes - evolved at ridiculous speed during the last decade.
Not a lawyer, I think it would depend on the exact laws and rulings around martial law. Curfews are a thing, but I don’t know if they’re constitutional.
Not that this is a good faith summary, but I've updated the article to point out that it's not just "this random 7-star library", but in fact, 266 publicly-available Go packages.
It's based on an assumption that most people do not report being sick and aren't tested. In this situation where vast majority of people are aware of Coronavirus I doubt this is true. Diamond princess case is an interesting one, but it is also highly quarantined ship where they stopped the spread early on and then gave huge amount of medical attention to people on board. Even in such a situation, there were 10 deaths and apparently 30 or so people are in serious condition. Let's say half of those die, so we get to 25 deaths of 700 infected. We get 3.5%.

One more issue is that apparently testing is not adequate, there have been numerous cases where someone tested negative several times only to test positive after a while. This means that containment processes in the western world will not work, no one is willing to blockade a huge region like China did.

In the end, we could end up in a situation where China understood the issue and acted decisively to stop the spread while the western world does half measures and ends up having a huge pandemic on their hands.
Japan's Hokkaido island declares state of emergency over coronavirus
Sure, a recommendation seems good too... anything rather than just burying our heads in the sand.
All about the 1960s “Batman” TV series
Very nice find, thanks, I checked it can do 32GB ECC - however, for mass storage it only seems to have 1x NVME, while some quick mental math tells me there should be enough lanes for 2x NVME or Pci-e X4 Gen 3

Do you know something similar to the Udoo that would have at least 2x NVME + 1x SATA 2.5?

From the Udoo specs:
> 32gb Emmc 5.0 High Speed Drive
> Ssd Sata Module Slot M.2 Socket Key B 2260 (Featured Also Pci-e X2)
> Nvme Module Slot M.2 Socket Key M 2280 (Pci-e X4 Gen 3 Interface)
> Sata 3.0 6 Gbit/s Standard Connector
On most sites, at least. There are a few out there that go well out of their way to be annoying. Facebook likes to construct their ad text out of multiple randomly-named divs. TVTropes uses randomized IDs on their ad popover.
This is how my previous company was structured. The technical presales team were also called Application Engineers. They would essentially do quick and dirty implementations and proof of concepts of custom modifications to convince the customer we could meet their needs.

I always envied them for not having to spend the time to "productionize" their work.
A free and original thinker, who wrote well. An intellectual powerhouse with immense humility. He will be sorely missed.

Here are some of his most interesting tidbits (For a man like Dyson, I'm sure there's more)

1. Birds and frogs: https://www.ams.org/notices/200902/rtx090200212p.pdf (On two kinds of intellectual personalities)

2. The Scientist as a Rebel (essay collection): https://www.goodreads.com/book/show/51431.The_Scientist_as_R...

3. He has been thoughtfully articulate in his perspective on religion. While I can't find an appropriate link right away, definitely worth checking out.

Quotes/Excerpts: https://en.wikiquote.org/wiki/Freeman_Dyson
Aren’t some authorizations still needed to organize larger events? I think that’s the ban, no more concerts, sold out football matches, etc.
I fear we are going to regret not taking draconian measures right now. Mandatory social distancing right now likely could buy additional time for the healthcare system to advance preparations for a wide scale outbreak, including stockpiling additional PPE and advancing triage procedures. It provides valuable time for drug & medical device manufacturers to ramp up production of needed supplies and drugs that should be proved effective in a few days or weeks. A 14 - 30 hold would do disproportionate good over potential damage.
SCOTUS has repeatedly recognized quarantine as an exception.