skysight-inc/HackerNews huggingface dataset:
Yeah, this is why I emphasized that these are prescriptions tailored to my personal usecases and style, not something that's supposed to work for everyone. I don't do anything remotely Java-related, so I have no opinion on your JNI example.

On the latter point - yes, C-style casts are a broader concept than static_cast. In practice, as I said in another comment, the stricter constraints of static_cast have never prevented me from making a bug, so I don't view that as an advantage that would justify the extra verbosity. I do write custom allocators a lot and mostly find myself just using C-style casts there - that code already tends to be almost entirely C anyway and the logic of the casts tends to be extremely obvious from the context. If you really care about greppability to a religious extent, I suppose this is an argument for reinterpret_cast - I just don't find it convincing, personally.
Monopoly has been downright abused as a term via propaganda pushes to mean "big and I don't like it".
LOL, I meant installing a regular distro such as debian on a new laptop.

(I also did the linuxfromscratch.org tutorial on a virtual machine several years ago, and it was an enjoyable learning experience, but this is not what we were talking about.)
The alternative is always Doing What Works. Alot of Agile is superfluous Waste. With time it'll only grow more added layers of inefficiencies. The true costs and risks always get hidden away.
Not to mention, they could simply subcontract the new private label product recommendation work to a consulting company and provide the data to them. Then, an "employee" wouldn't be using seller-specific data (a contractor would).
That's why the fed was set up -- to make sure monetary policy is decoupled from short-term political objectives. It ain't perfect, but it's ain't bad either.

We could do better than the Fed in 2020. Tech makes transparency easier.
Massive related thread from yesterday: https://news.ycombinator.com/item?id=22956182
Kryoflux was the state of the art in 2013 (and is pretty capable for non C64 disks) but their shady legal practices asserting copyright of ripped images[1] makes their images blacklisted by the Internet Archive.

In 2019 a lot of people migrated to FluxEngine [2]. Though there are plenty of alternatives [3].

[1] https://www.reddit.com/r/vintagecomputing/comments/buyj9f/co...

[2] http://cowlark.com/fluxengine/index.html

[3] https://www.archiveteam.org/index.php?title=Rescuing_Floppy_...
The Prowler is a 23+ year old design. It's not an indicator of what can be built and sold in volume today.
I used MacOS, Fedora, and Win7-Win10 side by side for years (Mac for iOS dev, Fedora for server dev, Win for Office).

By far the buggiest and most frustrating was MacOS. Apple's software QC is atrocious.

Win7+ has been "it just works" for me. No crashes, no Googling of cryptic errors, no kernel panics. I now use Win10 exclusively.

YMMV but Win10 is a great OS if you don't want to think about your OS anymore. You can download Mac-like dock software if you prefer that style over Windows'.
>Interesting computing is some impossibly complex (undecidable, in fact) subset of all computing...

I totally disagree here. Or at least I totally disagree that it's a resolved question. All of those nasty problems that face some interesting programs don't face programs we actually write. For example, there is a subset of all turing complete programs that halt. The boundary of that subset isn't decidable, but when I'm writing a program that needs to halt, I write a program I know will halt (why are you pushing to prod if you don't know this program will halt?). Expending a ton of proof effort, I could prove that it halts. So I think the stuff we actually build in practical software is really far from the boundary of the nasty stuff.

Suppose I had a programming language that had a termination checker and only allowed programs it can prove will terminate. We know that the termination checker will have to return yes, no, and who knows. It can't just say yes and no without being wrong sometimes, because it's an undecideable problem. Maybe there's some termination checker that can correctly say yes to all the programs we really care about. Since I could prove that my programs terminate, this checker must exist. A language that only allows these programs must not be turing complete.

So there must be some non turing-complete languages that can express all the programs I would push to prod at work. Maybe some of those languages are even worth using.
I'm from Estonia, the usual problem when it came to industrial goods was that consumers don't have a VAT ID and are protected by Consumer Protection and Technical Regulatory Authority. In B2B, companies need to handle problems between themselves, so that means the need to offer 2 years of warranty per EU laws to consumers, labeling and instruction manual in Estonian and probably much more that I can't remember.

But given these times, it's not a problem: I already know of at least 2 wholesale food suppliers who opened up their ordering systems to be used for B2C.
This is interesting. Can you expand it a bit, please?
I have a really hard time understanding what the problem is, even if Amazon is prioritizing themselves over the sellers.

Who are the losers? Is it the brands & manufacturers that are losing sales to Amazon Basics brand items? I don't really see how this is different than the way any type of commerce works. If their brand is not differentiated and valuable to people, it won't outsell competitors. For brands that are differentiated, it doesn't seem like a problem at all. I can still easily buy an iPad or Surface Pro on Amazon even though they constantly promote their Fire Tablets to me.

Where I get the most value from Amazon Basics is for things like usb cables or batteries - undifferentiated products where the brand is meaningless because there are a dozen versions of the same cheap crap labeled under different brand names. I really, really don't care if some of those brands go out of business.

Is it a slippery slope argument? What if Amazon eventually stops just putting the Fire Tablet banner at the top but stops showing any iPads altogether, and I can only buy the Fire tablet? I don't really care about that either, I would buy it from a different retailer.

Is the argument that it hurts the middlemen suppliers of these other brands? In the last 5 or 10 years, there has apparently been a big market that has developed for people to drive around to big box stores and buy stuff to resell on Amazon. It's hard to argue that these business are anything other than workarounds for inefficient distribution, I don't really care if the underlying distribution is improved and they're no longer necessary.

Basically, what is even one practical thing I should care about with regards to this issue?
And for those lacking a cell phone or not carrying it all the time?
Thanks. I'll give it a shot.
...aaaand it's an AWS renaming thing in their pricing API. Lovely!

AWS is so bad at naming things that it apparently now breaks other things too.
Of course the retailers pay for all the stuff they buy, they only have rather large payment windows - I've seen anything from 90 to 180 days.

This is also what creates a problem for retailers once the public learns that they are struggling - vendors either shrink their gaps or demand upfront payments for new goods, leading to a further financial crunch. This is in Germany shown with the Galeria Karstadt/Kaufhof chain that has had its faie share of "crunches" over the last years.
"Each would be worth $1.50 in walmart"

This is stoneground flour produced in small batches which will almost certainly be sold at a premium price. Flour in the UK is commonly sold in 1 or 1.5kg packets in supermarkets and this would be priced anything from £2.00 to £4.00 ($2.5 to $5 / €2.3 to 4.6)
> Imagine we had a biology forum that was a bunch of biologists that barely knew what a computer was discussing the latest media hype around AI. Would be pretty bad.

Yea I’m around biotech forums quite a bit and it is just as bad from a technical side. However, people on HN and tech tend to be better at identifying how technology enables things to happens, which is interesting to me.
Am I missing something here?

Their business model is based on high scale, lower cost vs traditional brick and mortar, amazon can iterate quicker.

Amazon does have some skin in the game, they still have to stock the items which are FBA (fulfilled by amazon), so they are taking risk there.
not if their intent was to fix zero days that nso discovered.

I mean, companies pay out bug bounties, this doesn't seem that much different
Telling your populous, at a time when you are holding daily updates, there there is a promising drug or vaccine that scientists are researching, is an appropriate step towards maintaining some degree of hope. We cannot be liable for the 1/10e-6 percent of the population that takes this as a suggestion to self medicate with acquarium cleaner.

People have gotten absolutely desperate to interpret everything he says or does in the absolutely worst way.
That definitely happened.
I didn’t ignore it. It’s just in conflict with your first sentence. I’m not sure if you’re talking about EV in technical terms, or a more lose “count on it way”, but neither makes sense to discount to 0. Like if you’re 50 and have a million dollars in stocks for retirement, you should put an expected value of 0 on that? Seems silly to me.
The Depression You've Never Heard Of: 1920-1921
My dad is in his late 70s, not good with technology and likes to play scrabble. We used to play a game every week on the weekend. So I thought now would be a good time to download an app to each of our ipads and play online during lockdown.

So as it turns out, there is no good easy clean online scrabble game. They're all horrifyingly gamified, "social" with lots of bots and fake accounts (one with bonus forced facebook login) and full of ads to trick you into downloading other things. All features that my poor non-techy dad would get confused and put off by. I was amazed.

So does anyone know of a good simple clean way to play scrabble remotely?
> I am really interested in T series with AMD Ryzen 4000 line

Same here
Replication costs have nothing to do with anything here.

The damage caused by a software bug can range from nil (even negative, since a bug might have desirable effects) to incalculable. Consider a bug in software used for landing SpaceX boosters... Or a bug in a trading platform. Or a bug in an automated medicine dispenser. Or...

You can compare the work of a programmer to the work of a civil engineer, but it's true that it's difficult because most bugs cost little, much software is not positioned to cause much damage if buggy, software bugs are so prevalent, and it's so difficult to write bug-free code. But the cost of replication of software has nothing to do with any of this.
> Engineers felt comfortable taking stories in areas they knew nothing about.

and it was understood and expected that this meant the estimate would go up

Today we have 'bidding', which if that sounds like something a three year old does to their parents, you'd be right, and it's the same thing. You just ask someone else until you get the answer you want to hear (instead of the one you need to hear).
Zionists are Israeli nationalists, basically the opposite of globalists.
The reality that many people buying it don't know how to cook, let alone bake. I'd bet that most of the people clearing out the baking aisles are doing so as an insurance policy (i.e. buy the raw materials now 'just in case' and learn how to use them later, if needed. Maybe, if they have kids they're baking some cookies.) The crisis will pass with the majority of the flour purchased just going bad.

Regarding driving down future demand: not likely more than in the very short term... flour has a fairly short shelf life. Have you ever used/tasted rancid flour? While it's not the end of the world, it's not something most people are likely to want use in a recipe more than once given a choice.
I've tried disabling plugins, enhanced tracking protection, changing my scaling, etc. and it always looks the same.
> A great way to approach this is to build trust incrementally. Small projects where responsibility is given to individuals to own work end to end with reviews and feedback. After a few iterations, everyone will get used to it.

Thank you very much for providing a useful practical advice!
>The pipe operator in R also sort of does my head in.

As someone who taught myself base R from scratch in 2013, I (used to!) agree with this. When the pipe operator was first introduced, I’d roll my eyes whenever I saw a script that used it and move along.

But I forced my brain to adapt, and now it’s probably my favorite feature of the R language. Data science is full of sequences of transformations, and in my opinion it’s more readable and bug-resistant to phrase these long chains as:

f(x) %>% g() %>% h()

rather than:

h(g(f(x)))

or certainly:

foo <- f(x)
foo <- g(foo)
foo <- h(foo)

I can comprehend and modify others’ (to include past versions of me) R code much more quickly with this paradigm. You can quickly debug a chain by commenting out functions sequentially (i.e. first test: “f(x) # %>% ...”). It also becomes much faster to plug new transformations into the chain, when needed.

One thing that helps to keep track of the input x as it moves through the chain is using the “.” placeholder (especially when you need to specify function arguments), like so:

f(x) %>%
g(., n=100, param=“baz”) %>%
mean(.$column_name)

Here, the . stands in for “whatever is coming out of the pipe” from the left.
in addition to what @SpicyLemonZest noted, the political left in the US (and its associated media) is pushing hard on the idea that this pandemic is the worst thing to happen in 100 years, while the political right (and its associated media) is trying to brush it off as nothing, including saying it's no worse than the flu. the obvious prize that hangs in the balance is this year's elections.

neither of those positions are reasonable, and neither will bring understanding and meaningful methods for moving forward. politics on both sides are adding so much noise that reasonable voices are getting drowned out.

this pandemic is trending toward being about 3x worse than the yearly flu. maybe it's really 5x, but it's unlikely 10x and certainly not 100x as the most panicked are fomenting over. it's also not likely less than 2x, so it's not "no worse than the flu".

that's real information that can shape our policy decisions going forward, rather than the political.
The best I experienced is to have every member of the team ask the new person 1 to 3 questions. Stuff like what are your hobbies, what's it's like being a beekeeper, etc. As the new person, I didn't think I'd like it, but I really did.
> As a result the write speed of the drive is even faster than a non-SMR drive until the cache area fills up

I'm interested if there's a benchmark showing that?
It's pretty straightforward to grep for C-style casts, too.

The greppability advantage falls to interpret_cast. If you have bugs, the fastest way to find them is to first grep for reinterpret_cast.
Many other products are good at helping you discover companies, which is great! However, what they usually end up doing is funneling you directly to the job application and leaving you on your own.

What our product does is take your anonymized profile, present it to companies, and ask them if they're interested. If they are, you may then decline, ask questions directly while staying anonymous, or opt in to a conversation with them without even filling out an application.
On brief review, one (UNNJ) is running WordPress while the other (Farmington) doesn't show any evidence of a dynamic CMS. That suggests to me totally separate provenance. My guess would be that two different contracts were awarded to two different companies to build the websites, which would both be consistent with common federal contracting behavior and a good idea from an OPSEC perspective since it would minimize any similarity in these "sting" websites.
Because the goals and needs of the upper management and of the customers do not align.

There's a lot of companies where delivering what the consumers want/need is not the end goal of the company, at best it's needed to help fulfill the end goal.
Mistake or not and sarcasm or not, it's clear what people interpreted his statements as meaning. His words prompted medical officials and Lysol to release statements about not drinking disinfectants and state agencies are reporting people calling in about using it as a potential treatment for Covid-19 [1-3]. Trump has also now back-stepped and says it was a "Prank on Reporters just to see what would happen" [4].

I've also got to admit (at the risk of getting caught up in all of these political posts) that I find it strange that the parent article is on the front page. When I read the title (note: I didn't know about the Trump press conference at the time and had to look it up after seeing the comments in this thread) I actual thought to myself: "that sounds like a quack cure, you can't disinfect blood". Interestingly there does seem to be some effectiveness to the therapy, although for different reasons than disinfection.

Now that I know the political connection, however, what is upsetting to me is that the reason this post appears to be on the front page isn't because of some genuine evidence based interest in this therapy option, but instead to cover for the president's strange assertions about sterilizing blood. This includes quotes such as using "tremendous ultraviolet" or "just very powerful light" inside the body to kill the virus. It's the selective focus on the this one section of a speech that verbatim included advocacy for taking disinfectants internally (again, regardless of intention that's how people read it).

Research doesn't mean pulling out the one article that supports what you want to believe. It means putting in the time and effort to understand the ensemble of views on a subject and it's pretty clear that this UV therapy, although interesting, is some far out on left field technique. Even though it has some some efficacy, just as stuff like acupuncture and chiropractic therapy is evidence based, it's use for something like Covid-19 seems questionable.

[1] https://www.bbc.com/news/world-us-canada-52407177

[2] https://www.bbc.com/news/amp/world-us-canada-52411706

[3] https://thehill.com/changing-america/well-being/prevention-c...

[4] https://nymag.com/intelligencer/2020/04/trump-my-idea-to-inj...
And:

> It reinforces the idea that any one person or piece of code can be blamed for a given failure. Short of malice, this is never the case.

Never the case? Never?
I did. Are you suggesting that legally, Google is unable to do this, or that ethically there is some principle that says that large collections of people should have fewer rights than individuals? And therefore that the government should restrict the speech rights of those groups?
I've been using the combo for since the late 1990s. You always need to research the specific machine a bit, because each new generation of chipset or peripheral may introduce a temporary Linux headache. Being an early adopter means experiencing some of that until it converges back to smooth support.

I am currently very happy with a T495 and Fedora. I ordered it soon after it launched in the US, gambling that the chipset issues were mostly resolved with other machines that launched earlier with the same AMD Ryzen platform. I first installed it with Fedora 30 and upgraded to 31. There was one weird kernel update that would not boot without custom boot params. I think that was addressed with both later kernel updates and also a BIOS update that made some ACPI changes.

Mostly, I've seen Thinkpads that still worked fine when they were long in the tooth and I upgraded as work budgets cycled. This history includes (as best as I can recall): X20, X22, X40, T40, T41, T61, X200, T410s, T440p, T460s, and now T495. I had brief encounters with Dell, Hitachi, and Sony before that first X20.

Over all the years, I've had a few types of hardware failure. The worst was a T41 which failed thermally and had its mainboard replaced at an IBM service center. I also had a heatsink and fan replaced on the X200 because it made an annoying vibration at times. I had an Intel SSD fail abruptly in a T440p. I also had a key jam and then eject itself on that T440p, requiring a new keyboard. I had fluorescent backlights go pink and fail in the old days. An of course I've had batteries lose their capacity over time.

I've upgraded the SSD on a few devices to add space after a couple years, and I bought an aftermarket battery once. But, generally I've provisioned the machine with the RAM and wifi I wanted on day 1 and never touched it again.
Covid-19 immunity and testing, explained
Depends what the compromise is. And a lot of my view depends on if I had it. I can't get tested, as that isn't offered here. I definitely had something that made walking pneumonia seem like a cake walk. And whatever I had, it was barely a fever on my kids and wife. That said, I am glad I had my inhaler and access to steroids. Without those, I'm confident I would be much worse off today. (Indeed, my emergency inhaler was empty. Had to call in an emergency refill and was basically bed confined waiting on that.)

Closing schools was pitched at the time with a wide net, granted. Such that I could just be misremembering some of it. As a way of protecting the older workers in there, though, it feels weak. As more evidence comes out that it was wide spread by the time the schools closed, it also feels too late for that aim. (Again, this largely depends on if me and my family had it. If so, it had passed through all of us before closures happened.)

Not sure why you think I am bad faith posting. I am posting mainly from my phone, so I suspect some of my parts are bad quality. But if you think I am twisting your point in bad faith, I do not intend that.
static_cast from base to the wrong derived class is UB and can quickly become a vulnerability:

https://wenke.gtisc.gatech.edu/papers/caver.pdf

dynamic_cast to the wrong derived class has defined behavior and is imo worth relying on when speed is simply irrelevant (e.g. once per button click). That still leaves the argument open whether casting from base to derived is ever good, see other comment trees in this thread.
Thanks! Yes, it is especially challenging because my health problems are in the unfortunate category: extremely disabling + poorly understood. So until I found specialists I got a lot of "Well everyone gets 'tired' sometimes" gaslighting from medical professionals.

In other words I had to prepare for total disability being in my future, while also being told that nothing was wrong with me in my present by some doctors (not all, fortunately).

So psychologically the greatest part of the challenge was to prepare for an extreme event (disability) while being told that nothing was wrong. I just had to listen to my body and hear when it told me I wasn't going to be able to work full time until retirement age, and then plan accordingly.

So far, mostly due to the grace of God, I have turned out all right, thank you for your kind words. Getting approved for disability was brutal but I did eventually get approved.

Side note: Unfortunately / fortunately, dealing with medical gaslighting for all these years helped my BS detector spot the issues in the "just the flu" narrative this year way ahead of the curve, and prepare appropriately. Sadly.
!!x is idiomatic.
(bool) cast is modern.

I use !=0 in only one context,
if(strcmp(a,b) != 0) to check if two strings differ. Normally if an if() expression I don't check explicitly for 0 or not 0, except for strcmp class of functions, because of the ordered comparison of it (<0, 0, >0) , its "boolean" value is inverted, so somewhat counter intuitive if used with implicit boolean values.