skysight-inc/HackerNews huggingface dataset:
I don't think you actually do state management in OOP, only manage a single level of abstractions.

In java, inheiretance is directional in a single way, but if you instantiate a singleton component, you can end up affecting the state of every other class that uses that same component. This is not wrong per se, it is a property of OOP in itself.

If this rubs you the wrong way, possibly you should be working in purely, monadic functions.
I haven't tasted coffee in a decade, and I'm doing just finezzzzzzzz....~

Restricting routine trips to just home-to-work, work-to-home, and large-scale resupply missions is still acceptable at the moment. Make use of your local grocery's picker service with delivery to the parking lot, if you can.

Consider switching your dining-out trips to ordering via phone, fax, or electronic ordering system, and doing drive-through, carry-out, or parking-lot pickup. Pay electronically, in advance, instead of handling cash at the point-of-sale terminal. If you get cabin fever, and need to socialize, do it through screens.

It is essential for Starbucks to serve customers in order for them to stay in business. You don't have to stop going. But you can put in your order via website or app; walk into the retail location only when it's ready; pick it up without speaking to, breathing on, or touching anyone; and then leave immediately. It is possible to minimize the duration and intensity of contact, without eliminating it entirely.

It is better to be in contact with your regular friends, acquaintances, and business associates--that are all the same people every day--than to have a lot of transient contacts with complete strangers. It is slower to traverse a social network one connection at a time than to hit a lot of random, unconnected people all at once with a brodcast.
SWE here-- we use miro heavily at the remote-first company I work at. I barely use my whiteboard these days.
if you're paranoid or want to use other tools, you can also just connect garmin watches via usb and access all the log gps/activity files without their app or software
It should technically throw an error before compiling. You're thinking about it as an imperative language, when it aspires to be declarative.
I've been using Twitter for news, IMO it's not too hard to get things "right":
- start from a (small) curated list, like https://twitter.com/i/lists/1014747092554866689 for national politics
- add in news publications you read
- add in reporters from those news publications (they usually link their account in their bio)
- add in accounts of people who appear in the stories
- continue for 2-3 years

At the moment I'm following 18k news-ish accounts spread across 4 lists. The main Twitter interface doesn't work for that many accounts, but Tweetdeck does. I open it up in the morning and get a 10-minute dose of "reality", leaving me with 5-6 interesting news stories to read later from opening the links in background tabs. Even with semi-curated lists there's a lot of fluff in the feeds, but since it scrolls by in less than 10 seconds I don't mind as much.

Is this the best setup? Probably not, Nassim Taleb has written some good articles arguing that nobody should read any news. But it's enough to cover most of the popular trends and satisfy that "in the loop" craving.
Reading through the thread on Twitter, someone mentioned UV light is very effective in killing viruses. is this true?
Is there an open data portal for emergency room visit stats? That would probably paint a better picture of the real case count, by showing us whether there's a spike in visits for acute respiratory illness.
This is likely going to happen; right now things are shutting down, people are paying more attention to personal hygiene, etc. But once this settles down again, people will go back to their old habits. Come fall, it'll probably rise again fast.
Right, but what is the purpose of statistics like this? The purpose is for them to inform our understanding of what might happen in the future. As mentioned above, since market movements follow a power law rather than normal distribution, the average gives us absolutely no information about what might happen. Thus this statistic fails at the goal of having a purpose; it is just a meaningless number, like those meme baseball statistics about who is the third-best thrower of fastballs on a rainy friday or whatever.
Several coins are tied to the price of energy, as you mine coins. With oil prices collapsing because of the Russia / Saudi fight the price of energy should go down.
> By taking drastic measures the rest of the world will too.

That seems optimistic, given the lack of significant action in the rest of the world so far. Personally I think the more likely scenario is that the world plays whack-a-mole with citywide outbreaks over the coming year and a half until a vaccine is available.

No, that's not an apocalypse, but I wouldn't put money down on this being over by the summer.
Liquidity problems?
I have read somewhere that CDC was trying to make a 3-in-1 test kit for SARS, MERS and this new SARS-Cov-2 virus but it was giving bad accuracy and false positives, and now they are making the one for the sars-cov-2 only.
I don't think referring to the whole package down there as the "vagina" is strictly an American thing, I don't know anyone from anywhere that says "lick my vulva baby".
Android Wear was introduced a year ahead(2014) of Apple Watch(2015) with everything you stated. It was still great but not as innovative as the iPhone or the iPod was.
Hah, yes indeed! But I got the karma to spare. ;-)
> And this is where this disconnect is. For every point you can produce, I can produce a counter point.

No, you cannot. This is scientific consensus, there's nothing to debate about it. Even if your 2 year-old denies shitting their pants; you can smell it. You are the authority on changing diapers, not them.

With climate change you are not the parent, you're the smelly two year old. You don't get to decide what's scientific fact, proven beyond any reasonable doubt.

Now, if you go ahead and actually produce valid criticism on the current climate models and their predictions, have some valid credentials with regards to climate modelling and have some credible research to show for, I'll take everything aforementioned back and put on the dirty diapers myself.

> I object to this statement.

If you want to raise an objection, you have to make an argument for _why_ you're raising an objection. Otherwise it doesn't count.

> Methane has been getting released for millennia (if not much, much longer) from the ocean floor.

There is drinking from a glass and drowning in a pool.

> We're building a wall.

Unfortunately, no empire in the history of mankind was ever able to hold back a migrating population with walls. Ask the Romans, ask the Chinese.
You can also use OpenSCAD from inside FreeCAD. I do it all the time. They both play together well.
The new method focused a laser on small bits of shell, making holes 10 micrometers in diameter, or about as wide as a red blood cell. Trace elements in these tiny samples reveal information about the temperature and chemistry of the water at the time the shell formed. The analysis provided accurate measurements of the width and number of daily growth rings as well as seasonal patterns. The researchers used seasonal variations in the fossilized shell to identify years.

The new study found the composition of the shell changed more over the course of a day than over seasons, or with the cycles of ocean tides. The fine-scale resolution of the daily layers shows the shell grew much faster during the day than at night
Tidal breaking is also a deceleration/acceleration rather than a velocity, which means the rate of change grows as the speed changes. This is because the moon's gravity is uniformly pulling on Earth and stretching the day in proportion to the uniform gravitational force on the rotational velocity. While the moon's gravitational force will remain constant over time, and thus the pull on Earth's rotation, and the proportion of gravitational force to Earth's rotational velocity will also remain unchanged over time Earths rotational velocity is changing as a result, which is a compounding effect.

That means leap seconds will need to be inserted at ever increasing frequency over time until the Earth becomes tidally locked. Tidally locked means the Earth stops rotation so that the same side always faces the sun.
The author wrote an article for Guardian - https://www.theguardian.com/commentisfree/2020/mar/12/scienc...
Anti-viral vaccines are not anti-viral drugs. The main problem is not figuring out an exploit in the virus biology that could be leveraged by a pharmacological agent to disrupt the viral life cycle. The main problem is

1. finding a part or form of the virus that elicits a strong immune response, which

2. does not cause illness on its own.

Optimization criteria 1. and 2. are in direct conflict with each other as our immune systems are pretty efficient at ignoring stuff that is foreign but not harmful (otherwise you would develop an immune reaction to all kinds of things which we would then call an allergic reaction). So you need to find the right balance, and what that balance is depends on the human response.
I always wondered why surgeons wash their hands using soap (with extreme attention) before operating and not with disinfectants/alcohol/etc.
Felons not being able to vote is not universal. It is up to each state to determine whether to allow felons to vote. In recent years restoration of voting rights to felons has been on the rise.
(Apologies to the Flaming Lips, and I think the pronunciation shift you have to do at the end makes it funnier)

I know a girl who

wrote some code

she'll make a linked list

she'll add some nodes

But she don't use classes

and she don't use C

she don't use Haskell

or any of these

she uses assembly

assembly

assembly
great advice - thank you. it's helpful hearing success, and triple from those who have successful business lives especially tech/engineering/etc

yup on on 4mg.

i go to the phoenix snd got into my preferred sport again! something i gave up while using that was a huge part of my life. and it's been so good to get it back both community, new friends, and just getting back into shape.
I'd advise flying back ASAP, you don't want to risk being stuck in the US during a medical emergency.
Closing schools makes senses in democratic nations for two reasons.

First, it puts societal pressure on businesses to close or modify their operations by allowing people to work from home. Many families are simply not setup to have kids at home, but parents at work, so factoring that in will cause businesses to change.

Most importantly, all this happens without government directly intervening in business decisions.

Secondly, it lays the groundwork for politicians to take more drastic actions. If schools remain open, even if it makes sense by “the numbers”, it’s still going to be politically difficult to cancel events, restrict general travel, and eventually close businesses. The public sees school closures as step 1 in any disaster situation. You can’t discount the importance of emotional signaling.
This attitude is one step away from eugenics. You know who was a big proponent? I'll let you look it up.
Most Employees in Rural US Can't Work from Home Due to Slow Broadband
The motivation is to salvage SPIR-V in a way that makes Apple happy.
I'm now wondering if people would think my twitter profile is a bot and report me because the handle has numbers representing my name in leetcode.
It's handy for finding examples of real world use of some api. I usually use https://codesearch.debian.net/
The market is fallingCryptoindex AI Daily Predictions and News for 03/12/2020
I've been writing about this for years but it's insane to me that Twitter is not stopping this. They are contributing both to group psychosis and the destruction of democracy through the spread of disinformation.
It's to early to say. The people who are popping up with symptoms now might have been infected up to two weeks ago.

If you look at the Wuhan data, you see that the lockdown worked, but the number of confirmed cases at the time continued to rise dramatically until 12 days after the lockdown went into effect. We are only three days in on the Italy lockdown.

https://jamanetwork.com/journals/jama/fullarticle/2762130

Figure 1.
Freedom of assembly is at an equal level of importance, legally, in the USA, to freedom of speech; they’re set forth in the same amendment.

Culturally, freedom of assembly is, if anything, MORE significant for Americans than freedom of speech, it’s just not relevant to Internet forums, so you don’t hear it much discussed online.

Neither right is absolute.
You know for sure beyond a doubt that all of their hardware will be Linux compatible, and if something breaks you don't need to reinstall Windows so support can walk you through their script involving re-installing drivers or whatever else.
I hope they keep them since I will only ever buy 15" laptops with a number pad. Typing in IP addresses, something I do many times daily in my line of work, is much quicker on a numpad than on the horizontal row of number keys.
> The main benefit of classes is as a way to define custom types. Otherwise you are stuck with the types built into the language

I'm going to stop you right there, because plenty of languages (especially functional ones) have ways of declaring custom complex types without using classes.
Fortunately the way to make a startup recession-proof is to do exactly what you should do anyway: run it as cheaply as possible. For years I've been telling founders that the surest route to success is to be the cockroaches of the corporate world. The immediate cause of death in a startup is always running out of money. So the cheaper your company is to operate, the harder it is to kill. And fortunately it has gotten very cheap to run a startup. A recession will if anything make it cheaper still.

If nuclear winter really is here, it may be safer to be a cockroach even than to keep your job. Customers may drop off individually if they can no longer afford you, but you're not going to lose them all at once; markets don't "reduce headcount."

What if you quit your job to start a startup that fails, and you can't find another? That could be a problem if you work in sales or marketing. In those fields it can take months to find a new job in a bad economy. But hackers seem to be more liquid. Good hackers can always get some kind of job. It might not be your dream job, but you're not going to starve.

Another advantage of bad times is that there's less competition. Technology trains leave the station at regular intervals. If everyone else is cowering in a corner, you may have a whole car to yourself.

You're an investor too. As a founder, you're buying stock with work: the reason Larry and Sergey are so rich is not so much that they've done work worth tens of billions of dollars, but that they were the first investors in Google. And like any investor you should buy when times are bad.
The use of twitter as a blogging app boggles my mind.
> GP comment provides no useful information nor sparks interesting discussion

I disagree. Turns out, that there is a LOT of collected specimens that nobody ever looked at closely. We've seen this a lot in terms of biology, archaeology, anthropology, astronomy, even mathematics. Something some found ages ago, and said, "Huh, that's interesting ..." then logged it away, just shows that there is much more science to be done.
I work with some groups trying to build synthetic cells, and honestly there isn’t even a good definition for what a “cell” is or what “life” is in the scientific communities. The best proxy I can come up with, which is universally true on earth, is that life is anything that fully encodes ribosomes and can replicate (there aren’t any discovered exceptions to that yet, though some are close). Very intellectually unsatisfying, but so far factually true for anything generally considered “living”.

Evolution/competition between ribosome encoding and capsid encoding organisms[1] has driven a lot of cool stuff to be developed: for example, bacteria and archaea (+ eukaryotes) gained DNA separately (presumably from viral infection) and retroviruses enables placentas.

[1] https://www.ncbi.nlm.nih.gov/m/pubmed/19845628/
There's a reasonably thorough discussion of this topic, from an...interesting...perspective, in this essay: "How to Destroy the Earth" https://qntm.org/destroy
A kind of concerning thought: who's to say there aren't higher-level versions of this same concept playing out? Say we figure out the nature of consciousness and are able to effectively interact with it's "thinginess." Then we find: there are things in our universe that're semi-conscious, but feed and replicate on/inside/with the consciousness of others and are incapable of existing on their own.
System76 provides driver support and testing. There's no guarantee that things will work properly 'out of the box' if you just buy a random clevo.
Time for Kurzgesagt (What is life?):
https://www.youtube.com/watch?v=QOCaacO8wus
What for?

The Paris Agreement is non-binding, has no enforcement clauses, it is voluntary and simply a statement of willingness to action.

It is so primarily because the US was unwilling to sign anything binding.
Question:

The author writes (as an example of his problems relying on classes):

Well, some tables when updating need to do more than just “update” a record, such as insert a log into a side table.

I do not understand exactly if there is a problem here, or anyway I do not understand what the Functional alternative would be.

Assuming this is a problem, I suppose we have three choices:

a) You have to provide implementation for two distinct methods:
- Update(...) and LoggedUpdate(...) (the latter calls the former and then logs the result, most probably).

b) You decide that update() implicitly logs maybe based on a global configuration or similar mechanism.

c) You provide a boolean flag as parte of the method signature update(log).

What would be the proper Functional approach here?

(Caveat - I have no experience with Functional programming)
Same. It has long been a dinner topic, since my wife has wanted to invest the cash and I have been pushing to actually save more cash.

Now suddenly the statement showing our savings and CDs is my spouse's favorite part of our portfolio.

Index funds that should probanly recover given a sufficient tine don't cover emergency expenses tomorrow!
I, for one, as a human being whose root ancestors¹ infected planet Earth² which eventually produced me³, am will to use a definition that qualifies viruses as very much alive. ;-)

____

Tangentially related, I sympathize with Earth parasite Musk who wishes for us to infect another cell— err, I mean, planet. Shoosh, Earth, back to sleep, nothing to see here...

____

[1]: I wonder who's the chicken, here. Certainly, the virus is the egg, right? It's all a plan to engineer the actual masters of this universe?

[2]: A long, long time ago...

[3]: Well, the 10% of my weight with my DNA. I feel more like an ecosystem, I am a legion of species, a myriad DNAs, we are millions in those guts. "I" is not even the same "I" when travelling to a different biome: you are what you eat, quite literally, however you want to spin that idea.
This analysis could just as well be applied to "war on terror" -- The response to which was opposite, and a lot of people profited by it (careers, contracts, etc). What makes them different?
Sure, but I’m not obliged to give any deference to improper purposes like delegitimization of the President.
I have come to view them (from a programer's sense) kinda like functions and stateless services compared to living life which is like classes and other state-y things. It can change classes, it can be mutated and overridden, but does not think or act on its self, it must be interacted with.
>I am disgusted at even a mention of these kind of 'calculations'.

These calculations have to be made because economic impacts also have a death toll. It all comes back to saving lives in the end.

>I am prepared to take a hit in my earnings, paying higher taxes if needed after this if that is what it takes for at least one person more to live.

As a side note, you can do this any time, and unrelated to the pandemic. There are charities you can donate to to save lives if you are so inclined.
You’re always going to be on one side of the expression problem [0]: either your operations live with your datatype (classes), which makes it inconvenient to add a new operation, or they live somewhere else (“functional modules”), which makes it inconvenient to add a new case to the datatype. This choice is probably informed by your expectations of how often you intend to do either of those things, but there’s going to be inconvenience regardless.

The big benefit of objects, and therefore classes (or something like them), is polymorphism via dynamic dispatch; it seems a shame to throw the baby out with the bathwater because you don’t like inheritance or mutable state, both of which are independent of the choice to use classes.

[0] https://en.wikipedia.org/wiki/Expression_problem
it occupies both cups until observed
Close the Theaters. Close the Opera. Close the Concert Halls. Now
If the method needs just as much state in a struct as you would on a class then its equivalent.
In think singleton has been labelled as anti-pattern in OO for a long time.

Having a single reference is useful, but using instantiation as a way to get it has proven a bad design decision.
Projection! GGP doesn't want numpads either. Based on phrasing, they might be okay with some laptops offering it, where as GP wants them eliminated.

GGP: "start making 15 inch laptops without numpad"

GP: "stop making 15in laptops with numpads"
I have mine hooked up to Strava, so every time I go for a run, it automatically gets uploaded.
Now that does not mean that one could not think about automated ways of finding vaccine candidates, but instead of modelling (implicitly or explicitly) viruses and vaccines, you would need to model virus-derived particles and human immune responses (plus the effect of adjuvants, etc.).
You misunderstand, I think. Or maybe I do.

If done properly as described, the functions accept state. This means they adjust state by adjusting input/output parameters, not by affecting some internal state. This is basically Dependency Injection extended to state. This is also how classes are implemented (see python's self parameter to all class functions).
> 28 cores and 1.5TB of RAM is still very much workstation territory

But its still a rather overpriced workstation. However, thats not the topic.
Microsoft also charges what the market will bare, but it is a completely different market. MS has been quite focused on their B2B products for a while, so selling the expensive Hololens to companies and not private users makes perfect sense.
So if you're in that group, its a solid investment
Hindsight bias is 20/20

If they had perfect knowledge of the future...
Wondering what Louis Rossmann thinks of this EU plan. He has been big on promoting right to repair in the US.
Gotta keep those MAU counts up!
I've got news for Magic Leap. Nobody is spending $10B on anything as speculative as AR/VR right now, with the macro environment being what it is. Maybe $1B.