skysight-inc/HackerNews huggingface dataset:
> The saddest truth is perhaps that functionally, we have the leaders we deserve.

The public at large are terrible bosses. We're disengaged and bad at measuring what our employees (leaders) do, so style trumps substance and it's hard for us to tell if any of them have a measurable impact.

We have little ability to get to the truth of what's going on and are deliberately dissuaded from this with huge omnibus bills and whatnot. News has become about narratives instead of substance, with hardly anyone caring to look at the underlying evidence of anything, letting liars get away with so much.

We constantly raise standards with no way of enforcing them. Naturally, cheating is the only way to appear perfect, driving out very good but imperfect people in favor of massive liars who cheat. We're also not good at holding anyone in politics to account. Everyone knows that Jeffrey Epstein did not kill himself, but only some low level guards will be held to account for it most likely. The general public has no idea what to do and the leaders are too happy to sweep it under the rug.

So you're probably right, we have the leaders we deserve in some sense. The general public makes for terrible bosses, which is probably why too many people work under bad ones.
Which languages would you say are really good for defining your own types? Would they be a good fit for the example I provided where a function needs to accept integers larger than zero? Do they also allow you to define your own operations on those types? That is the part where classes seem to be a good fit, methods are basically operations supported by a type.
Why not?

It has millions and millions of users, is incredibly easy to share and propagate info, linking is common and easy to understand. The format basically requires concise summaries prior to longform content so you know what you are getting into. You go where the people are.
I think it might actually!

(Like obesity, heart failure, complex some-or-other, "natural causes", take your pick.)
Well the number of people you can reach with Twitter seems to be the main reason.
Ask HN: Do you see a productivity boost working from home due to the Covid-19?
Just curious, do you see a spike in your or your team's productivity? Do you see this 'work from home' as the next big thing?
Absolutely. Objects in OCaml is useful for structural typing, but I reach for classes way less often than I initially thought I would (read: never).

It turns out modules are indeed a better solution for, well, modularization.

OCaml is multi-paradigm in the most broad sense of the word I've experienced, just with functional and immutable as the default rather than the other way around. And it has a pretty great OOP implementation too.

Suggested reading for those wondering why the community deemed the O in OCaml mostly unnecessary and how rest of the language helps achieve the same goals in a different/better way: https://discuss.ocaml.org/t/objects-use-cases-in-ocaml/2282
Hmm... if this is true: https://www.theguardian.com/science/2020/mar/12/coronavirus-...

How do we explain spreading from asymptomatic people? They're not sneezing.
Very anecdotal, but here is my take:

For the place I worked at (large international company) it was a G*d send opportunity. All the slack that had been build up in the past by "cost reducing" management suddenly had a billable cost position that nobody questioned.

Of course there where some actual Y2K issue solved in code and calculations, but by large the significant part of the budget was spend on new shiny stuff, to get changes approved and compensate workers for bonuses missed in the previous years.

We had a blast doing it, and the biggest let down while following the year roll over from the dateline and seeing nothing like the expected and predicted rolling blackouts.
any idea on severity stats? how many people within each cohort are severe (i.e. require hospitalisation)?
Battling online coronavirus scams with facts
I don't think there will be a significant performance problem because the generated machine code can be cached.
I think the lesson from OCaml is that 90% of the value of OOP comes from things like packaging datatypes with functions that use them and separating implementations from interfaces which can be implemented with non-OOP things like modules. From an OCaml perspective, the main thing that you can only get from OOP and not elsewhere is open recursion, which is useful but only in certain niches.
Post mortem of a YouTube account hijack
> I bought a put last week for 2k (CMG) and now its worth 18k.

You should really spell out the risk you're taking to get a return like that.
I think we need to separate inheritance trees (arbitrary depth of inheritance) from mixin/trait inheritance which has height = 2. The latter is a lot more useful in eg. games where objects are assembled from mixins like Legos. The former leads to fragility, class bloat and other problems (remember MFC...).

Basically, GUI frameworks are the only area I know where OOP - real, authentic long inheritance chains with encapsulation and extensibility - has worked well.
How else will the populist cults survive?! /s
Coronavirus: Most infections spread by people yet to show symptoms
They don't want to lose "old" insights if the growth of the group makes it that over 10k messages are sent in a short time (say 2 weeks).
Introducing Doraemon Economics
Underlying paper: https://www.medrxiv.org/content/10.1101/2020.03.05.20031815v...
Why is image4io a good alternative for Cloudinary?
It reminds me of a philosophy class where the goal is to find an accurate and all-capturing definition of what a chair is.

It is tremendously difficult, perhaps impossible.
Does curl not expose your IP? I was under the assumption only the official browser used tor.
Slightly off-topic, not related to accessibility, and maybe it's nostalgia, but seeing that yahoo page from 99, I miss that web. Everything is so easy to see from there. Sure, it looks boring. But it's so functional, for me.
Got $20K? You can get the arcade machine from ‘Wreck-It Ralph’
You've formed a funny circle: the concept of a meme was explained by analogy to a virus when it was introduced. (In The Selfish Gene.)
I don't understand. :)
I took it to an authorized repair shop, they said the cost of repair was more than the watch. I'm guessing they would have taken it into account?
> re-ranking based on his intellect

re-ranking based on his interests
UI is very different from position:absolute on a thousand divs. That's why these examples can serve as only art. They are not representative of CSS' applicability to building UIs (it still sucks).
People are getting caught in a liquidity crisis, which is one thing that happened during 2008 too (albeit in a slightly different way). They don't have enough cash for basic use and are being forced to sell whatever they have to meet obligations.
Yes, but looking at the function, and banning some project specific naming convention, there is no way to know its role is to mutate a state.

While in Python, when you see a class, you just know the methods are mostly about "self".

It helps making sense of the code immensely.
JSON5 is a good alternative, mentioned a few times in this thread. JSON, plus comments, trailing commas, and object keys can be unquoted. Solves all my frustration with using JSON as a config file language.
Ha, I had a co-worker make the asinine comment that "real estate only goes up!" in about 2007. I sold my property a few months later. Great timing? Naw I put the profit into the stock market just in time for 2008!
I could remember reading kuro5hin. Before that we had usenet. I think back then when it was only tech savy people, everyone followed an implicit code of conduct.

Private chat groups are the only place I see now that are like that.
There’s a stage of investment in some specific skill mindset that results in being able to produce things that seem to be absurd or impossible or “I could never do that”.

There aren’t many real-life opportunities to productively exercise that degree of skill in obvious ways; if you cut down a tree perfectly, few will truly notice how perfect the stump is, even if they may appreciate the result unthinkingly.

So crafting something maximum-insanity like this is a way to exercise all those hard-earned muscles of some random skills, in coordination, for the pure joy of being able to produce a pointless but awesome result.

It isn’t so much about “a thousand hours” as it is about “learning how things work at the deepest level”, and sometimes to do that you have to learn something unrelated and cross-apply the skills.

If you want to learn to paint-by-stylesheet, pick up a children’s paint by numbers coloring book and color it in however you like and then try to work out what the CSS for it would be. Whether you succeed or not, you’ll be forced to rethink CSS at a basic level, which will expand your mindset and eventually your skill set.

Or study how GL shaders work, and try to comprehend what’s going on when people build cool GL demos like the fish benchmark. You may not ever end up using that GL knowledge, but you’ll be more prepared for SVG and canvas elements, which cross-applies to CSS gradients and layout skills.

Or study how DOOM level maps (“wad files”) are built. There are stellar writeups of how ultra-basic technology and ridiculous hacks (“no bridges”) were used to make 3D perform brilliant things with the tiniest of CPU resources. There is zero practical value in this on the surface, but it carries some valuable lessons in how to make a great UI with careful selection of tradeoffs, and you’ll probably end up being better at time-design compromises as a result.

One thousand of those later, you will be able to paint the Mona Lisa in CSS, and it’ll be enjoyable as an evening project over several weeks or months :)
They were trying to kill off Linux for decades. Yet most science ran on Linux/Unix.

there is actually a lot many more examples, I am just summarizing in one sentence.
Life through the lens of a blind photographer
I suspect (but I'm far from an expert) that a lot of market products are traded together, automatically by computer systems. Invest in everything, sell and buy a bit of everything at the same time. Why do various cryptos seem to follow each other (roughly) up and downwards?
My workplace has not yet required people to work from home (although they're talking about instituting this on Monday). But I know from experience that I personally tend to be about 25% less productive when I work from home, because I don't have a suitable work space.
It will get interessting. because of the huge container backlog / production backlog in China Europe is facing a serious container shortage right now. Until this is figured out and solved, supply chain management will be a very interesting job.

But by no means end-of-world serious, all life critical things are still getting through. also money buys a lot, even cargo space on ships and planes.
alright theres only 1 solution to this; please allow the keyboard to be hotswapped.
You have not got lots of people going on holiday to Italian ski resorts on cheap flights / driving and going back home.
27th (8.7). Things change pretty fast...
They have conflicting incentives, it's the same problem all social networks have. Bot accounts qualitatively detract from the real user experience, but substantially inflate quantitative activity metrics, if artificially.

Policing bot accounts improves the quality of the site, but hands Elliot Management and others more ammunition that social isn't growing to expectations. Unfortunately these sites continue to pick to optimize the latter rather than the former.
https://www.ft.com/content/6f02ce76-e1d6-45d8-b27a-0491281c2...
Not to disregard your own experience, but I too am old enough to remember the start of mobile phones, and no one I ever knew thought they were dorky. Douchy maybe, but that was mostly bc the early adopters were wealthy businessmen and finance jerks (no offense to anyone if you are one). But not dorky.
I don't understand why people keep saying this? Of course you can save money by building your own. This applies to Dell and others just the same. The value of system76 is they do it for you, with the benefit of Linux support out of the box.
"Google Open Sources Search Code"... wouldn't that be something
Or, what if we're the first. Someone has to be the first. The Universe is devoid of intelligent life, and we're without technological peers.

A billion years pass, the Universe is rich with intelligent life. And they can still detect the echoes of the ones who were first, crying out across the universe in search of companionship.
Did you ever consider people don't agree with your opinion? I am anti Trump but not everybody is. Also there are bots on all sides of the political spectrum as evidenced by the article you are commenting on which dealt with an account pumping Bernie.
Are you looking forward to the future where having a number pad won't help you enter ipv6 addresses? Well, at least it'll make you enter the address slower than if you use the "normal" number row + letters instead of numpad + letters.
But an alarm is not supposed to use timestamps. An alarm is set for a certain time in a certain location. In otherwords, a wallclock time. Not a timestamp.
Because it's a terribly distracting method for presenting
This was directly addressed in the article and no they cannot.
Edit: this is nonsense. See comment below.

That says Toilet Soap is any soap used domestically for cleaning. So liquid soap is toilet soap. What do you mean by it?
If at all possible, try to get a flight back on a US carrier or a connecting flight via London. It's more likely that Delta/United/American will operate a flight back to the US than for example Lufthansa flying a mostly empty plane to the US. Not in the least because it would look bad in PR terms for a US based airline to leave US citizens stranded in Europe, while a European carrier not flying to the US would attribute the same decision to "Trump does not allow us in".
We have one of course. Helps, but still isn’t a replacement for having a sink specifically at a 3 year old’s height.
it's ridiculously easy to FIRE if you're in tech. it's fairly easy to live on $1000/mo in a developing country. you only need a $360K to do that for 30 years before switching to social security, fairly easily obtainable by working on a lowish tech salary ($110K - $10K expenses, completely tax free due to FEIE) for 5 years (say you need to pay off some other debts or w/e).
If the headline is a question, the answer is always no.
Ideas of any depth or nuance. This exacerbates an already-problematic tendency towards trivialization on our communications.
So how do you explain South Korea? Their cases have decisively peaked. So one of three things happened;

1) Herd immunity has kicked in, meaning a majority of people have already been infected and are recovering/recovered

2) Containment measures were effective against a highly communicative virus which can live in the air for 3 hours and on surfaces for up to 12 hours.

3) They just stopped testing and/or are lying about the results and are hiding the resulting health care burden.

IMO the only one here that doesn’t require competency on the part of the government is #1, making it by far the most likely scenario.

If #1 is true to any extent, then it means IFR is actually quite low, more like 2009’s H1N1.

The other fundamental question I keep going back and forth on is the final total population infection rate. For H1N1 and other flus it’s usually on the order of 10-30% of the population. (There are arguments why this one might be higher, although I think some people confuse exposure numbers with infection numbers...)

Containment supposedly will not meaningfully reduce this ultimate number but would just slow down how long it takes for everyone to ultimately be exposed.

So while there are very few new cases in China (and they are closing their temporary hospitals) what happens when people go back to work?
Why are paywalled articles allowed here? It literally makes it so only a subset of users who are capable of partaking in a discussion about the content can engage and discuss the content. Defeats the entire purpose of discussion. Paywalled submissions are worse than toxic users.
> Not much of an Android user, I gather.

mobile apps outside of native Jolla ones make my blood boil faster that I can turn those wretched devices off, so, yes, I try to limit my interactions with those to a minimum.
Modern virtual and augmented reality device can help simulate sight loss
Interaction with gas in the protoplanetary disk, apparently.
When I read "these functions accept state and other dependencies," I took it to mean that "state and other dependencies" would be an ever-growing list of arguments to the function -- not that they'd necessarily be modifying external state.

I work on a project where I framed up both patterns, and ultimately decided that the hodgepodge^ pattern was preferable to repeating long lists of arguments.

^ kinda like the mixin pattern but I think it's been taken too far
I think retinal projectors are going to be the answer we're just not there yet.

I'm big fan of the magic leap for gaming. It looks and feels really good.

I'm a big fan of the HoloLens for work because it's easier to navigate and works more like expected for business applications. I have not gotten to try the HL2 yet but I am excited for the broader FOV.
Washing hands is always the best option. UV might work but you probably would have to do it for a long time and it wouldn't be as effective as soap
IBM has so many generic patents. I wonder why they don't sue more companies? I guess maybe they settle under the radar.
Yes. I built a project using the 2015 release. ugh.

https://github.com/h2odragon/MarksEnclosureHelper
I think there is a rather large difference between not having a username type vs. not having an integer type.

As it turns out, the only way you can reliably store an integer in JSON is to use a string field. This is incidentally also the correct way to store a username in JSON.
If you want try start a startup in a bad economy come to my country, Argentina, and you will have de full package. Sometimes I read comments or blog post about the risks or the "bad economy situation" in first-world countries and a little smile on my face appears. If you really want to test yourself come here.
What are the advantages of lowering risk by buying puts over lowering risk by holding cash?
I would be very nervous about keeping money in cryptocurrency form if that money is something the I expect I'll need access to suddenly. If the economy crashes hard, I expect it would become extremely difficult or expensive to convert cryptocurrency to cash.
This is fascinating and great information for a layman like myself. Especially how the virus uses the cell's machinery to create the virus' own components (rna/lipids/protein) which then self-assemble. incredible.
I do not know Rust but this seems an implementation detail, like if I would make the Vector.normalize function static and then pass the this as an argument. Sometimes this pattern with static function works well too. My classes also have private methods and sometimes even private static pure functions. Anyway you Rust people do whatever you want and call them whatever you want , I will call a struct with methods a class.
The toilet paper "panic buy" is overblown. People are stocking up extra on necessities, sure, but what's different about toilet paper is how bulky it is. I doubt most stores have large stocks to cover extra demand cause it takes up too much space. Hence it doesn't take very much extra demand to deplete shelves.
the shell is not aware of date.c
And how exactly do you propose to stop this on scale? The problem is harder than it looks.
Miro and Jamboard are good.

You need a stylus so it doesn’t look like trash.
I’d definitely take 100% * $100k = $100k over 0.01% * $10M = $1000, especially since money has diminishing returns to happiness. Now perhaps you think your odds are better than 1/10000 or that you’d make 10 billion instead of 10 million, but assuming the given odds and valuation, there’s no way I’m going with the risky offer.
This is a good point. Right now Kotlin is my favorite language. By default classes and methods are closed for inheritance, and therefore for polymorphism. I like the way this is the default, but you can override it when/if necessary. It also has data classes, which in my opinion is what most classes should be. I think when a class is not be a good fit for data classes, this is a code smell.
if you install a hungarian firefox, the accept language header will reflect this (or it did when i tried it last time). Non-expert users also often choose software in their language mutation. I dont have numbers but i wouldnt be surprised if a lot of browsers were sending correct accept language headers.

i dont know IE but it was in a very good position to guess the language of the user as well.
I like classes. But you must understand your code, even before you write it. If the syntax that you use (the author is using TS, and JS/TS classes are syntactic sugar) matches your mental model of the program then I would say that you are choosing the correct syntax.

If it’s your library and your responsibility then I will try to read it your way. Comprehensive testing and consistency in style are more important than any specific syntax or abstraction.
Not even 2k, it was a thing in 1990s already. I remember a student coming in to the company I worked with around 1993/4. His thesis was about O/R binding frameworks and approaches for relational DBs. Generations of developers have drank the "impedance mismatch" and other OOP pseudo science koolaid since.
Mathematically wrong is not a relevant category here. There is no "ground truth" that is approximated by an exponential growth. Every disease model is counterfactual "spread of the disease if no countermeasures were taken", etc...

Modelling the beginning of an epidemic as exponential growth is useful, sensible and empirically validated. As, countermeasures are taken during the beginning of the epidemic, for discussions of the effect of countermeasures, exponential is the correct model.

In fact, hopefully the countermeasures taken will be sufficient that the intrinsic disease dynamic will never get past the exponential stage...
It’s right until it’s totally wrong, e.g. for any country which has already peaked, of which there are several.
The article seems pretty good to me, and in fact convinced me to watch the movie. Back then I had dismissed it as yet another disaster movie, a bit like "Outbreak" (the 1995 film).
The risk is that you will buy thousands of puts, week after week, waiting for a crash to happen, and when one finally does you will have spent so much on puts while waiting that overall you didn't win anything.
They also have had massive deflation stemming from lack of making babies. They've even have had to gasp allow more foreigners to come in and do some jobs.
Can you call up any of those Chinese companies on the phone and talk with an actual person if you have questions about their products, or an issue with your order?
I've also been thinking along those lines - it seems logical to me that if you expect ~7% yearly profit that the P/E ratio should be around 14 (1 / 0.07) and that if the market is very competitive (lots of available capital, low perceived risk, low-yielding alternatives such as bonds) and therefore you expect ~4% yearly profit the P/E ratio should be around 25 (1 / 0.04). However I have never really encountered this explanation anywhere which makes me wonder whether my reasoning is somehow wrong.
You sure about the 3.8 billion number? That seems far too recent for any gradual, but drastic changes in orbits to have been possible.