skysight-inc/HackerNews huggingface dataset:
The advice is quite broad and simplified, but I think the one caveat of writing "sometimes" is enough.

What I mean is that, although the operating system caches files in RAM, and some (but not all) languages like Python and Julia implements a cache in its abstraction over file reading, these caches are not as fast as simply loading a bunch of bytes into an array and reading from the array, because they are hidden behind an abstracted IO, and the abstraction is not zero-overhead.

The difference is especially noticable when you read byte-by-byte, as in the issue I linked to in the text. For example, if you try to implement parsing with a finite state machine reading one byte at a time, you basically need to access memory directly without any overhead.

It's possible there are IO abstractions where reading from a "file" in RAM is just as fast as loading a byte from memory, but I don't know of any such abstractions.
Advent of PBT – Day 18 – IsPalindrome
> We originally tried to track memory allocation errors but we gave up

I hope it wasn't a safety-critical application.

> Rust [...] doesn't stop you from using your own collections for that type or work

and your own replacements for all of their dependances. Remind me why
I need Rust again.

> this [...] is actively being worked on

I'm looking forward to learning Rust when it becomes worthwhile. For
now it seems that asking about allocation errors in Rust on HN is like
asking about nuclear waste disposal for next generation reactors.
Answer: never mind about that; look at all the cool safety features.
And only the one person returning from South Africa would have needed to actually be a false negative. The rest may have been true negatives.
On 4G, which gives me 20 - 40 Mbit/sec uplink I have no major issues with Google Meet. Sharing terminals with red on black font does not work well. Whether Zoom works better I don't know from own experience. I hardly ever use it because my employer has a Google subscription.

Well, sharing terminals over telcos is backwards anyway. We did that 20 years ago over 56 kbit/s modem lines using VNC. And the compression was lossless, the result pixel perfect.
>The police does that quite often to catch criminals

Your country should crackdown on police behaviour.
Advent of PBT – Day 19 – MetroRoute
Good luck getting Apple to rewrite iOS in Rust, so at least that part of your argument is pointless.
How is wanting to avoid areas with above average levels of violent crime “subconscious racism”?
Do you have a source? The big clinical trials all tested risk of hospitalization and risk of death. The original Pfizer and Moderna trials did not test risk of infection or transmission. Participants weren’t even tested unless symptomatic.
> it's that we seem to be past the peak of what they can solve

There's no peak to preventing a fixed percentage of deaths. It's fixed.

> and yet keep putting all our eggs in that basket.

As far as I'm aware, we haven't stopped all other research, so that would be false.

> How do the unvaccinated keep 'filling up' hospitals if vaccines reduce spread and there's 80-90%+ double-dose coverage?

Because 2% of 10% of an entire country is still a big number.
The ERN blog had a few nice posts regarding market timing:

https://earlyretirementnow.com/2018/02/21/market-timing-and-...

https://earlyretirementnow.com/2018/04/25/market-timing-and-...

In the second one he simulates a momentum strategy which does pretty well, which can be used along with multiple other signals to increase confidence.

I was thinking of simulating using leverage after these kind of drops to try to increase returns even further.
Joke's on you: Then any nontrivial project would end up depending on half of them, actually increasing attack surface.
I'm reading between the lines here but the index case seems to have been vaccinated given that everyone else at the party. They infected everyone^.

How much worse would this have been if an unvaccinated person had attended the venue? Realistically, if one person can infect 80, the vaccine is doing nothing to delay the spread.

^ Where today "everyone" is 70% of the partygoers.
I (obviously) can't speak for everyone, but in my own case "toxic attitudes" tend to be a symptom of abuse at the hands of a variety of far more "actually toxic" people. People who wrongfully expect people like me to be their free whipping-boy and tech-support "guru" despite them being a total stranger who's never done anything to benefit me. Then when I refuse to help an abusive and entitled piece of shit, I'm labeled as "toxic" and "gate-keeping" and any number of other (often outright hateful) things that I've never been, but am learning to be because I'm sick to death of unjustified and unjustifiable abuse. Want "toxic"? Keep abusing people who are literally only trying to do and share a little good in the world (for themselves, and others). See how things go when there's nobody left on the planet who even wants to do good anymore, because it's literally more trouble than it's worth to do anything positive or beneficial in this life. People love to bandy that "toxic" label around when speaking of the Linux community, but almost nobody ever considers that toxicity (in the rare cases that it's even actually real, and not totally made up in some Win-Troll's head) might have some actual cause behind it, such as y'know… bein' sick and tired of abuse at the hands of actually and truly toxic people.
Similar-length hiking options exist in the EU, like Via Alpina.
Adjacent suggestions for long-distance and/or solo tourism are worth considering.

With the luxury of time, investing in oneself can be done in novel ways, e.g. flying or ocean sailing, triathlon, surfing, craftsmanship, golf.
You can also achieve that with this uBlock filter. Just add the following to "My Filters".

! Hide w3schools from Google search
*://www.w3schools.com/*
google.*##.g:has(a[href*="www.w3schools.com"])
> This is my favourite BS argument by audiophiles when defending some impossible claim or other: you have to listen to it.

Just like a lot of engineers will tell you, that having studied a topic on university/college doesn't make up for "field experience".

> Then the next step is always some disparaging remark that you can't hear the difference because your system isn't "high enough resolution".

It's true. Just like there is differences in quality of measuring instruments (cheap china multimeter vs. Agilent or the like) there is difference in electronic components for audio reproduction.

I have one other disparaging remark for you: Not only is your system not resolving enough, your ears are not trained enough to hear the difference ;-).

> Audiophiles have become more insufferable as systems improved.

Well, that just proves audiophiles from the 1980's were right: They told us, that there can be better systems. It's just, that those developments, back then, were expensive and new, which resulted in high product prices, while today they are common main stream.
As someone that doesn't work in this space, I'm interested in the schedule-driven architectures that you mention. Do you know of any talks where they explain this or, if you have some time, could you explain how the approach has changed over the past couple of decades, what architectures were common in the past, their issues, and what issues this fixes?
> A state actor will have less trouble breaking into a mail server I run

Only if they have a good reason to target you, personally.

But if we are talking about mass surveillance, attacking a large provider is incredibly *cheaper*: spend one million dollars on 0-days to gain access to one million mailboxes, or one billion to intercept submarine cables and backdoor CPUs and gain access to one billion mailboxes.

There is no way to attack somebody's personal, custom mailserver with a budget of $1.
My point is, neither of the 3 separate messages on the screen is morally wrong on its own. It is only when you combine them it becomes obvious is totally wrong.

As for the core of your point, frankly, half of the Silicon Valley would be jobless. Not just Uber programmers who already proved who they are by developing Greyball. The whole business of Facebook and Google is centered around tracking people. Amazon will happily accept fake reviews and products as long as customers pay they're happy. Netflix officially says they're competing with the time their customers use for sleeping. Apple will do everything to make their products environment unfriendly, unupgradeable, with ton of additional accessories produced only to increase their profit. So really, I understand your idealism, but the ship has already sailed and you can call yourself lucky if you can work on a product and for a company that are 100% ethical.
100% is only an ideal if we don't really believe anything less will work...

Don't we want some sort of control group to remain for these vaccines that don't formally conclude their trials for a couple of years yet? Or is everyone just 100% convinced that nothing could possibly go wrong at this point? That would be proper scientific diligence.
Note that one of the issues with rapid tests is that they only work reliably once you become symptomatic - however, you may already be infectious about two days before that...
It is far too early to say. The symptoms of COVID also sound like a pretty typical cold until the body count starts to overwhelm the hospital system.

I'd at least wait until this cohort have recovered and have a confirmed average illness duration before drawing conclusions.
Vaccines did stop transmission before delta. That's why many countries weren't big on vaccine passes, we just needed to get higher than the herd immunity threshold and it was fine, a few antivax wouldn't have changed the equation that much.

Now, herd immunity is just a dream, we can't count on the vaccinated to protect the unvaccinated anymore. So, plan B, and as it turns out, the key of plan B is also vaccines, but now we need 100% vaccinated, not 60%, so, vaccine passes.

Maybe it will change if we get better treatment, or if the virus mutates to be less lethal to those with no immunity. But for now, get vaccinated or stay at home.
I think we should thank this maintainer for his great job, he made the internet a better place. I really hope he will now be working on some other project that he finds exciting, either that is painting or writing the next cool app :)

Thank you!
Ahh, Supermemo. I do know it - though I use Anki, because I can use it both on Linux and on phones. I know that Woźniak is against this as he believes this is too prone for distractions, but I'd rather learn something than nothing :P
Unfortunately some countries require you wait the exact 180 days from the last dose.

I signed up exactly on the day for my booster. Happy to have it behind me.

By the way, scarcity of the doses is not really a problem -- my country has more than 20M doses in storage.
> A good judgement in my view.

Just so I'm clear: You think it's a good idea to foist the responsibility of feeding and looking after street dogs onto resident welfare associations? Many of which actually want them removed? Their member are being asked to pay up for the privilege of being harassed by dogs.

To quote none other than Mahatma Gandhi on the subject[0]:

> It is a sin, it should be a sin, to feed stray dogs, and we should save numerous dogs if we had legislation making every stray dog liable to be shot. Even if those who feed stray dogs consented to pay a penalty for their misdirected compassion we should be free from the curse of stray dogs. Humanity is a noble attribute of the soul. It is not exhausted with saving a few fish or a few dogs. Such saving may even be sinful. If I have a swarm of ants in my house, the man who proceeds to feed them will be guilty of a sin. For God has provided their grain for the ants, but the man who feeds them might destroy me and my family. The mahajan may feel itself safe and believe that it has saved their lives by dumping dogs near my field, but it will have committed the greater sin of putting my life in danger.

> Sterilize them and let them live their lives out.

Sterilization isn't going to come cheap. This will only end up diverting funds from municipal governments that are already perpetually short on funds.

> This is going to be the humane way of ending this menace that will also be culturally acceptable.

Except that it simply doesn't seem to be working. ABC measures have been going on in large cities for years but from what I can tell, the numbers just keep going up. There's a reason the rest of the civilized world culls strays. This is what India did too until Maneka Gandhi got her grubby paws on the AWBI. There isn't some deep seated cultural opposition to culling, it's the the result of morality pushed by privileged animal lovers. There are an estimated 6 million dog bites in the county each year. Most victims are children from poor families.

0: Section 448, Collected Works of Mahatma Gandhi, Volume 36 https://www.gandhiashramsevagram.org/gandhi-literature/mahat...
> A Gigabyte of memory and 10 Mbit/sec a more than enough to meet 99.9% of the user needs for Web browsing. If sites were implemented in a resource-aware manner of course.

The devs need that just for Slack sadly.
How does this compare to Wine ?
Because it is a common technique to stall committees that do not align with your ultimate goal.

There is even a manual on how to do that.

http://svn.cacert.org/CAcert/CAcert_Inc/Board/oss/oss_sabota...
How to get upvotes and look cool : We're relying way too much on <insert something that works really well>.
I very much agree. In fact, taking it a step further, OS which self-host development also have this problem where they over optimize for an OS good at compiling and not necessarily good at other things.
Judging from the Github project page, it uses Wine itself, so is probably just a GUI frontend to it.
My personal rule of thumb for native development is to almost always run with -O0 and ASAN / UBSAN enabled on my dev computer. If the software is too slow that way it will be too slow on low-end machines (Pi 3) at -O3 -flto -march=native.
Maybe the decision is purely political? As you explain, it's not logical at all.
Everyone predicts crashes all the time; I'm guilty of this myself (I thought it would be 2019). Unless you have a narrow timespan, you will always be right of course. Currently it seems the market sentiment is pretty bearish though, so I guess it's easier to sound credible when being negative.
[Counter-]Citation, please.
“Language X has implemented this badly, why should language Y bother with it” isn't really a convincing argument.
Seasonality is just one of many factors that affect the spread of COVID. Blindly comparing the situation now with one year ago really doesn't make any sense.

Vaccine efficacy against infection has been measured in a lot of studies, for example [1, 2, 3]. It has also been shown that being vaccinated reduces viral loads after infection, even with the delta variant [4, 5]. There are also a few studies on household transmission [5, 6] that show that transmission between vaccinated individuals is significantly less likely.

[1] https://www.nejm.org/doi/10.1056/NEJMoa2114228

[2] https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3949410

[3] https://www.science.org/doi/10.1126/science.abm0620

[4] https://www.nature.com/articles/s41591-021-01575-4

[5] https://www.thelancet.com/journals/laninf/article/PIIS1473-3...

[6] https://www.thelancet.com/journals/lanwpc/article/PIIS2666-6...
Thanks for the heads-up. I've filed a bug report for the table of content issue. Wrt. Javascript, I think the presentation style of the notebook is worth requiring Javascript.
I want to make sure I understand what this is.

Does this set up and manage multiple isolated Wine & Proton environments?
articles like this almost always point to high asset prices as a reason for a coming crash. And also high inflation as a reason for coming deflation. Then throw in some cherry picked data to support their take.

BTW, Michael Burry seems completely unhinged and I can't help but wonder if he just had pure luck.

Any real reasons, like 2008 where people started to realize security products were built on fraud at a massive scale? I mean crypto is a ponzi scheme but when that implodes 1 to 100 years from now, that's not going to make a big denty in the economic
That's true but the government data from the UK also showed that the vaccinated (age group above 30 years old) got infected more often than unvaccinated.

The reasons are unclear, maybe it is the testing issue or that vaccinated are less careful with socialization and pay less attention to their symptoms and can even spread covid even more. Even if the data is suspect, it is a strong indicator that the difference between vaccinated and unvaccinated with regards to spreading of infection is not strong.

As with all studies, they are not always able to predict actual effects in the community. It very much depends when the study is done, what variants are currently circulating, behavioural changes which are very hard to control etc.
I think this uses Wine (it mentions DXVK, which IIRC is for Wine), but handles setting it up correctly for every program you want to use.
I got an email from them too, asking about GDPR compliance. Isn't unsolicited mass email illegal under the GDPR? Maybe I should threaten to sue them.
Is the an out-of-the box way to use it in Kakoune right now?
On the flip side, crypto has been off the peak for a week or two, and I've noticed the price of crypto has an effect on meme stocks (like AMD, Nvidia, Tesla).. I wonder if the end of student debt payment deferment will cause a lot of people to liquidate their investments and cause a big dip..
I'm not arguing it's wrong, just that it's a more difficult ethical question. During the past year, I've seen many ads from the authorities here to get vaccinated to protect others from being infected by you, so I disagree with the notion that preventing the spread wasn't a goal in itself, but I realize that this may be different depending on where you live.

I consider myself to have a moral obligation to get vaccinated to reduce my own burden on the health care system, but forcing others to do it is a different story. Surely you must agree that requiring people to take a vaccine just to enter a store is a severe measure that should only be undertaken if it's absolutely necessary?
Begs the question why anyone would lend US corps and institutions US dollars. In fact, increasingly, they're not. Which can create its own problematic scenarios.
This is literally amazing, very similar to playonlinux, but much better looking and intuitive.

Thanks for this, it will make much easier to install linux on friends computers hehe
Ask HN: Functional Core, Imperative Shell
I was recently recommended an incredible talk on boundaries by Gary Bernhardt [1], and right away I fell in love with this concept. I then found a further video [2] on this topic and also a HN thread [3].

But I need more information on this, I would love to learn more and be able to apply this to my own software, so I was wondering:

- Are there example of non trivial apps written in this manner?

- Are there more resources which explain the data not code as boundaries concept?

- Is there possibly a relevant book?

[1] https://www.destroyallsoftware.com/talks/boundaries

[2] https://www.destroyallsoftware.com/screencasts/catalog/functional-core-imperative-shell

[3] https://news.ycombinator.com/item?id=18043058
> If you think Log4j is bad, wait until Rust gets popular and has something similar happens with a commonly used crate. How would you scan for a vulnerability in compiled code that doesn't even have separate module files?

Our software scans take 3 forms:

1. Searching for file names

2. Running test exploits that have a payload that just logs the vulnerability with a central monitoring system

3. Dependency resolution and checks against a DB (our solution _already_ supports Cargo.lock files.

Rust (and Go, C++, etc.) only prevent option 1. Thanks to bundlers it also can miss it in JS, or shaded fatjars it can also fail kn Java too. So it's not a new challenge
What an odd question. No. I was merely expressing surprise that someone would consider a copy of JRE in a big IDE like Xcode to be outrageous. I don't think it's outrageous. Saying that something isn't outrageous isn't synonymous with saying that it's a "must".
Come to Europe, most of those designers will be using Windows machines issued by IT to everyone on the building anyway.

And the only Apple gear will be iPhones and iPads used by upper management.

Yes, I am also aware there are plenty of cases that aren't like that specially for the fortunate ones living on tier 1 EU countries.
What I see there is a compilation of current module that you modify. Do a full project rebuild, then show. Here is the link to Delphi, official one, for a comparison between 2 of the previous version (10.4.1 vs 10.4.2):

https://www.youtube.com/watch?v=lBSpv94FDE4

And then here is a claim that latest one (Delphi 11 Alexandria) is even faster:

http://www.danieleteti.it/post/delphi-11-alexandria-compiler...

I don't have Delphi 11, yet, so I can't verify their claim, but 10.4.2, which I have, is noticeable faster than previous versions I have scattered around in my virtual machines.
I find their "comments in sidebars" super annoying to navigate.
You don't need to, you're right. But people aren't going to be writing very complex mitigations by reverse engineering the bytecode generated by a compiler, especially for OSS. There are many compilers, many optimizations, and some of them can even produce non-deterministic outputs (not common but it can happen). The amount of patching for an internal subroutine, which is probably what would have resulted here, would have been completely practically infeasible.
Perhaps I wasn't fast enough, but it didn't work for me.
While I mostly agree with and everything you say is factual, the danger always lurks where you are not looking.
As we know from the past, systemic risk grows somewhere without good statistics.

FINRA Margin Debt shows $940 Billon. There is an additional shadow margin of unknown size. Margin debt, shadow margin, taking loans against properties and buying stocks, ... the size of leverage may surprise us.

There may be even larger systemic risk in the corporate debt market. The liquidity of high-yield is questionable and rating agencies (again) seem to be again part of the problem in rating junk as BBB. Bond market is not as boring as it used to be.
> Do a full project rebuild

why would I ? I never have to do that during my dev cycle, that's not something really worth optimizing for. The whole build is ~4/5 minutes on that machine.
I think a system like how Slashdot moderation works. You get X points to rate issues or comments based on how many points you have. Comments get a value -2 to 5. Default view only shows 0 to 5. You really only focus your efforts on removing things with a negative rating.

I remember it working surprisingly well, especially browsing at 1 or higher, and I've never understood why no one has replicated it. 'Karma' systems must get better engagement.
This. More people should realize that the accuracy = hits / shots, and Michael Burry keeps shooting out predictions on a regular basis now.

His "proven track record" would be less than 10%, I'd imagine.
Yes you are right. Figures of as many as 80%[1] of the population probably has had Covid have the quoted for a while now. So guess the question the SA government has to ask themselves is do they go ahead with the booster shots. For now Covid restrictions are at their lowest since the initial lock down in 2020. I suppose we will know in another month or two when there is enough data.

[1]https://www.moneyweb.co.za/news-fast-news/deaths-data-shows-...
I have also settled on using an antique coffee tin to toss them in, so it starts the day with some satisfying 'ding' sounds. Not sure if I could get away with it if I didn't have a private office.