skysight-inc/HackerNews huggingface dataset:
In terms of convenience, there's no meaningful difference between querySelector and getElementById. Given

<html>
<body>
<div id="example" class="example" />
</body>
</html>

we can do any of

document.querySelector('.example');
document.querySelector('#example');

document.getElementById('example');

and get the same result, namely the Element object representing that div.

When there are multiple matching elements on the page, results differ. From document.querySelector() you get back "the first Element within the document that matches the specified selector, or group of selectors" [1], and the spec defines the search for "first" as depth-first. [2] [3] Meanwhile, the docs for document.getElementById() [4] mention that "element IDs are required to be unique if specified", and this too we find borne out in the relevant spec. [5]

If there is a specified way for DOM implementations to behave when element IDs aren't unique in the document, I haven't yet been able to find it. In any case, given the liberality with which the docs are peppered with warnings and reminders that IDs must be unique, violating that invariant takes us outside the expectation of implementation guarantees, so it's not all that easy to complain if it behaves differently across browsers or otherwise isn't predictable.

So, for elements that exist only once, it's as easy to select them by class as by ID, and using a class has the additional benefit that it's one fewer refactor if you do decide to use that element more than once - if you use ID to begin with, you have to change that when you reuse the element. This is also not a meaningful difference in convenience, I think.

[1] https://developer.mozilla.org/en-US/docs/Web/API/Document/qu...

[2] https://drafts.csswg.org/selectors-4/#match-a-selector-again...

[3] https://dom.spec.whatwg.org/#concept-shadow-including-tree-o...

[4] https://developer.mozilla.org/en-US/docs/Web/API/Document/ge...

[5] https://html.spec.whatwg.org/multipage/dom.html#global-attri...
Take a look at QR image in the post. I haven't seen a QR code in the first world that carries more data, especially not a printed one. It's doubtful they're optimizing for poor cameras or printers any more than is done in the first world, and to be clear, in the first world we still have to optimize for poor cameras and printers.

Decreasing the message size while improving security would obviously be ideal and most likely quite achievable, but there are plenty of wealthy municipalities in the US who don't exactly cover themselves in honor in similar situations.

While I'm not at all saying it's illegitimate to speculate on wealth disparities as a cause, in this case I think it's lazy to call this a "third world issue", even with speculation up to 100.
And so what are you suggesting? Everyone wear N95 masks all the time forever?
I have owned both. AirTags are superior to Tile tags in several major ways: (1) the batteries are replaceable (although I understand newer Tile tags also have them); (2) when you get close enough, the Find My app can give you directions to the tag; and (3) there are far more iPhones/iPads out there than Tile users, so if you leave your tag somewhere, its location is much more likely to be found with pinpoint accuracy.
Effective romance spell to bring back your ex lover
> that's not what you want to measure. You want to measure whether an intervention works if people adhere to the protocol.

No, you want to measure if an intervention works if you do everything reasonable to enact it. You don't get to invent an alternate reality where people are 100% compliant and there are chocolate rivers and gumdrop trees.

Otherwise, I have the perfect diet plan that will end all obesity, worldwide: don't eat if you're fat. Simple! If it fails, it's because you didn't follow my brilliant advice.
My husband and I have been married for about 7 yrs now. We were happily married with two kids, a boy and a girl. 3 months ago, I started to notice some strange behavior from him and a few weeks later I found out that my husband is seeing someone. He started coming home late from work, he hardly cared about me or the kids anymore, Sometimes he goes out and doesn't even come back home for about 2-3 days. I did all I could to rectify this problem but all to no avail. I became very worried and needed help. As I was browsing through the Internet one day, I came across a website that suggested that Dr Osita can help solve marital problems, restore broken relationships and so on. So, I felt I should give him a try. I contacted him and he did a spell for me. Two days later, my husband came to me and apologized for the wrongs he did and promised never to do it again. Ever since then, everything has returned back to normal. My family and I are living together happily again.. All thanks to Dr Osita. If you need a spell caster that can cast a spell that truly works, I suggest you contact him. He will not disappoint you. This is his Email: (drositamiraclespell@gmail.com) or WhatsApp him (+15088120454).
https://miraclespells.blogspot.com/
http://drositamiraclespell.website2.me
"the cases we are seeing are extremely mild"

So, like most COVID infections?
MAGMA [1] is more appropriate now.

[1] Microsoft, Amazon, Google, Meta, Apple
From the article:

> I was almost finished with this post when the WHO decided to go with Omicron instead of Nu (or even Xi) and then I had to go through and replace Nu with Omicron about 25 times. We could have just said ‘the Nu variant’ a lot but the WHO hates both efficiency and fun even more than it hates freedom, it seems. Sad.
Correlation does not equal causation. And of course studies done by people with a vested interest in proving all this worked will say this worked.

You’d be hard pressed to find studies that say none of this worked. Such researchers would destroy their careers and be labeled as kooks.
thus to slow down and potentially bring the virus into complete disarray and stop it in its tracks we need to force the virus into the Six Sigma Lean Agile Scrum process.
Coronavirus itself isn't airborne, it travels in aerosolized water droplets, which are significantly larger than coronavirus itself.
Well, those excluded countries included places where Trump had business interests and longtime allies of the US (Saudi Arabia). https://www.bloomberg.com/graphics/2017-trump-immigration-ba...
> Wealthfront or Betterment

You don't even need either of these since they charge fees on top of a regular fund. Just put it into a total stock market index, usually this will be VTI, by Vanguard.
Except there's hope of finding a more effective treatment against this virus while we are on pause. So lives can be saved potentially.
What book would that be?
In India covid infections and deaths peaked in early May, when this article was published.

Linking the decline to Ivermectin is a stretch. Most of the studies that found a strong correlation between covid and Ivermectin have been revealed as spurious. Ringworm infection in tropical climates really is a concern so if you live in India it's probably a good idea to take preventative medicine against ringworms anyway. But there doesn't appear to be any genuine correlation with covid beyond general good health because your body isn't fighting a virus on top of fighting parasites.
Worst case scenario (immune elusion):

BioNTech/Pfizer already said that they need 90-100 days to put together an entirely new vaccine.

The infrastructure for distribution is already in place given that the 1st vaccination round is not over yet and people who had the first round are now getting boosters.

The Merck/Pfizer pill should not be affected by mutations given that it's oriented at the effects. They are both approved in the US and are about to be approved in Europe, the US purchased 10M doses in advance.

Masks , temp check, vaccination status check are already commonplace.

THIS IS NOT US GOING BACK TO MARCH 2020. EVEN IN THE WORST CASE SCENARIO.
Suppose your fridge would offer to order from a fast-food "restaurant" near you everytime you get close to it.

Sounds illogical, unexpected and puzzling?
There is no end game to masking. It will be in perpetuity in some places.
> What is unfair about the playing field?

I'm not arguing that it's unfair, I'm arguing that the EU is not doing enough to encourage development within its borders.

> Why aren’t European innovators creating YouTube alternatives?

I have unsourced beliefs in this matter, that a lot of innovators follow capital outside of EU. There is not a single start-up that I worked with locally, that didn't end up incorporating in US for the capital and the market.

Recently, the EU start-up scene is picking up, so I hope we can see more and more successful companies springing up here. But we're very far from competing with the US and China.

> If they are, what specifically is it about EU law that prevents them from being successful?

I'm not an expert, so I couldn't really say this, however, I know one major issue is the cultural and language barrier. There must be solutions to it, and there must be money in the EU to finance looking for such solutions.

> I keep hearing about how European VCs are much more conservative, and European banks/investors in general just don’t want to invest in software like they do in the US

This is also true; changing recently. I also agree with everything that you posted after this, with the mention that it should be a market-led choice, which type of engagement you want with whichever company you choose.

> I understand the European solution is to have national champions that are heavily subsidized (the US does this to some degree, too, at its peril) - but should that be the first choice?

I believe that, in general, investing smaller sums in more companies across multiple industries is the best solution in terms of government intervention. Then specialized programs for more capital infusion to companies in various stages of development, based on proper due diligence. But again, I'm not an expert.
Absolutely advocating supporting local businesses. Just like I advocate using OSS. Is an EU company going to make a better search engine than Google on day one? Is any company going to be an absolute world-beater on day one? Sometimes voting with your wallet means supporting something you want to succeed...

I mean, I'll never use MS products nor buy an Apple product, ever. Not even if they have the nicest X. Because I don't like the prospect of a world where it's only MS/Apple. So I use products that are good for an open world as much as possible.

In the real world, people support local businesses. People support small business and hand-made products, even if it's more expensive. Because that's how you grow your local economy.
> that site was the first that popped up in zhe Google when I was looking for the graph

I apologise for my tone then. I have too much faith in Google, and thought that this was the kind of site you would have to explicitly look for.

> And your graphs : if I squint really hard, I might see some acceleration in the last 10-15 years. But it could as well be statistical insignificant in the time frames we are talking about.

I have plotted what would roughly be a constant yearly increase of the sea level from both graphs here so it can be seen more clearly: https://imgur.com/a/Lts6MEU

The acceleration can very clearly be seen starting from around the 90s, especially in the second graph since this one goes to 2020s instead of 2010 in the first.

I have no idea why specifically the sea level as measured in The Netherland would not show that acceleration, it might be due to one of the reason highlighted in my first post, but sadly it's not something that holds globally.
Presumably. Those statements would be insulting to most professional machinists, carpenters and others who take good care of the tools/infrastructure that provide their job and keeps their digits in place. To not speak of an actual industrial facility producing high-quality or high-volume items.

In fact, so much care is put into infrastructure that most people/shops have lots of tools they have designed and built themselves at great expense to streamline their operations.
It s almost alive, it'll wake up one day ask start asking questions :D
Are they useful at the start of a new variant?

For example if we assume it gets to the US eventually, what is, say, an extra few weeks buying the US?

On day 1 or in year 1, I see the value in those weeks. You can build ventilators, field hospitals, and learn treatments. At this point, are there new useful ways to use a few weeks of lead time?
It's sad to say but we should have just let this thing rip in March 2020. We would have a lot of death I know, but we would have been back to normal by June. Variants would have never been a thing and it just becomes a cold.

I'll come back to this message in 10 years to see how history looks at this situation.
> I had no idea those were still around.

Zebra connectors are still extremely common for interconnects between PCBs and passive-matrix LCD glass.
That's nice, but filtration efficiency =/= real-world efficiency. Unless you plan on super-glueing mask fabric to everyone's face holes, of course.

Also, last time I checked, most people aren't wearing N95 masks. Probably because they're annoying and difficult to wear.

> Which isn't minor. It's been over a year. If you're not using an N95, you're doing yourself and those around you a disservice.

I am vaccinated. Which brings up an important point: there is absolutely no evidence that a mask of any sort provides any benefit to those around me, a vaccinated person.

At some point, you have to put up evidence for your increasingly implausible claims -- you can't just keep leaning on lab studies of filtration efficiency. It's been two years now. Where is the real-world data backing your claims?
In the US there usually is no interest if you pay on time.

You can have perfect credit, but if your balance starts to get up there, credit cards can up their credit APR up to 29%. (Don't quote me on 29%, but it up there.)

So credit cards are great if you pay in full each month.

But when you actually need that cc money they tell you to spend, the consumer has very few rights. They can raise your rate of annual interest, and they do. I don't think there's a cc out there that doesn't have a mandatory mediation clause either.

CC are bankrupt-able, even if you fib on your annual income. Don't fib. I believe the CC have more access these days to your finances. I once asked a Bankruptcy attorney about lying on the annual income. (People lie to get better rates.) He said, everyone lies on those forms. When a CC accepts you, they are basically accepting you on your Credit Rating. These is case law out there on this matter.
these types of resources used to excite me so much, after entering the work force and everything else that followed after, i'm done. pay me or die
As a senior dev, I use an ORM unless I have a reason not to, and I'd know why or not fairly early.

Why do I use an ORM? Because they're way more maintainable for a wider range of devs, with fewer accidental footguns, and the good ones let me do direct queries too, so there's little downside.

So I default to using an ORM like sqlalchemy , because I can hand it off to a junior dev afterwards, and they can easily keep it going without needing to be writing good SQL directly.

The other advantage is that I can abstract over multiple databases easily. So I can have an sqlite db for quick local testing, and a postgres DB for more thorough testing and another for production.
HP41C, s/n 2018A00505. Had it since the early 1980s, still works. PPC ROM still works.
I wanna thank you for blocking ads on each newssite pornsite and pirate movie site i visited, uBlock Origin is a gift that keeps on giving haha.
Are you saying that because it can’t be proven that you infected someone else, it is okay to put others at risk?

And that since we can’t hold individuals responsible, everyone else needs to alter their behavior?

That is, one infectious person wandering around a grocery store gets to force everyone else to shop online and is not doing anything wrong?
It's like the ideal scenario if you are a multinational pharmaceutical company.
Until you enforce those rules with the military.
Downvoted for "Haskell's pretty antiquated" with nothing to support your statement. It reads like you're trolling, and it's hard to come up with a positive interpretation of your comment.
Not sure what Spotify did, but usually potential competitors to GAFAMs just get bought : see Skype or Nokia for instance.
Banning specific companies is silly because then the next big company not on that list will just do the same thing they did.

Just set general policy. If you require open source and open standards etc. then microsoft could play too in principle, but they probably won't anyway.
And that's why I'm unironically for banning cars in the long term. They're a terrible mode of transport, trains and bikes are all we need.
Sounds like the name of a retro computer to me.
Ofc they will, people are recording the history of porn downlo... err the internet just as diligently as Napoleon conquests !
Does anyone have any good arguments for why we lack any serious blue-chip competitors in the EU?

I mean we have things like Spotify and SAP (though they're b2b). But I really can't see any parallels with the US tech industry. There really is no company that comes to mind in the EU where I think "yeah that's where all the software engineers want to go to".

Also what I find super weird is that actually, a lot of the other industries are providing the golden ticket type jobs for SDEs that, in the US, would be reserved for FAANG. For example VW has some pretty great Digital "labs", pay is quite high, and they're even one of the biggest forces investing in quantum research, funding phd programmes and the like.
Is this happening anywhere other than the US?
hundreds!

my god there isn't a jak soy enough for you
Old can opener
It's not nearly as straightforward as you're pointing out because people voluntarily change their behaviour in response to circumstances, like case numbers, deaths, etc. Your big assumption is that top-down policies/controls are the biggest factor causing delayed change in numbers, but that isn't at all clear from the data alone.
Stephen Sondheim, one of the greatest American musical composers, dies at 91
Your pain tolerance is clearly way higher than mine!

I really do have a drawer full of the 433 gear, and achieved some very rudimentary comms going years ago using a pair of arduinos sitting next to each other on the desk, but quickly abandoned it. I'm impressed that you've achieved what you have using this gear - and equal parts impressed / distressed that you use a CRO to get there.

I also have a tipping rain gauge, but I expect to wire it up to an ESP32 too - as the Hall effect doesn't care about 3v3 or 5v : ) And yes, rainfall models in my (rural) part of the world are poorly documented - but public transport systems are even further distant than official weather stations.

For some of my (few hundred metres from a power point) needs, very low power is a pre-req, but pricing now for LoRa, PVC panels, batteries, etc, means even that becomes orders of magnitude simpler to solve by NOT trying to scrimp on a few hundred mA.
You need to be clear about the cost of these measures and about the benefit of the delays they buy.

> to buy time for the “weeks” of analysis needed that could help with further reducing risk,

We’re not going to learn anything useful in the few weeks bought by stopping these flights.

And remember, even though the general public insists on these bans, international law proscribes no country can prevent its own citizens from returning home, so no ban can be absolute.
I meant top as in “eat a lot (most) of this”. Meat/poultry was further down.
only if you post evidence of your possessing qualia (I have severe doubts)
I relate to the line of thought this is like spam mail: they like to do obvious errors, because it filters people who'd disturb their money-farming scheme by asking questions.
An order of magnitude less than the covid deaths in a year. And yet automobile engineering and usage are heavily regulated in order to improve safety and reduce fatalities.
Why is poverty-action.org more reputable than Stanford?
You're making the claim. Provide evidence of effectiveness.
Not hate for loops, but if you replace them with, say, array operations, you've removed the need to prove your loops correct -- or removed a possible source of error from getting them wrong. I guess what's clearer is a matter of opinion.

Reconstructing what was meant at high level from arbitrary loops is surely intractable, but could only be a property of a compiler, not a language. Should a compiler like GCC necessarily recognize a matmul loop nest and replace it with a GEMM call? XL always does -- which can make investigating it's optimization annoying -- but then it doesn't actually recognize GEMM.
Or MAAMA (Alphabet instead of Google)
No, they've only said that "something happened". That could mean as little as "one person did something". What they're accusing the rest of the core team of is not being a part of it, nor even necessarily of explicitly condoning it -- just of not explicitly doing, or allowing the moderation team to do, something about it. That may be bad enough, but IMO nowhere near as "dramatic" as "assert[ing] that they're all bad people".
I really like the format, good job. I've been working on a rust implementation: https://github.com/steven-joruk/qoi
The EU tech companies only have themselves to blame in my view. I’ve been working in tech for over 30 years and it was precisely those EU tech companies that created crap products and treated their customers like crap, that made consumers and businesses look elsewhere. I have very little sympathy I’m afraid as if I’m a business or even providing public services I want the best products, support and customer service. That is all it takes to compete, so let’s see some EU tech companies stop whinging and start serving customers with amazing products and even better service. I’ve seen it in pockets, so I know the potential is there.
Seems like a minuscule percentage.

Is that a pragmatic-enough reason to significantly deteriorate the economy and mental health of the enormous majority of people?
Any thoughts on whether they would have done this greek alphabet thing had the first outbreak been in Africa instead of China? And why change now, when viruses (and variants) have long been named after the country or region where the first outbreak was recorded?
Anyone know if these are possible in Canada?
This variant is moving much faster to dominance in South Africa than Delta. About 6x faster. You can make some quibbles (small case numbers etc) but this is quick.

https://www.google.com/amp/s/amp.ft.com/content/d42bcd3d-e70...
Humans are meant to see faces. Requiring people, including kids, to wear them for 8+ hours a day with absolutely no metric to get rid of them is insanity. Especially when said people are fully vaccinated. Vaccinated individuals have no business wearing a mask, period.
Also for bad contacts in old devices (or for the removable battery in my eBike), MG Chemicals conductive grease works wonders. And you can keep everything “original”. For zebra conductors I would try applying a very thin layer of the grease to the copper pads (after cleaning them with a pencil eraser) to assure only conduction along the desired path.
It checks for running out of input but, at line 460, will read three bytes beyond the end of the buffer for suitably constructed input. This is technically wrong, but hard to exploit.

Amusingly, if you run out of input too soon, the last pixel is replicated to fill the buffer. So you don't get random memory contents in the output, which would be more exploitable.

[1] https://github.com/phoboslab/qoi/blob/master/qoi.h
Tech Startups and Railroad Tracks
Sweden does not have higher urbanization then Denmark (both at 88%). Also what has native language anything to do with the spread of the virus and its mortality rate? I fail to see a logical link between the two.