skysight-inc/HackerNews huggingface dataset:
In the function 'pl061_irq_type' the original code has (line 224):

writeb(gpiois, pl061->base + GPIOIS);
writeb(gpioibe, pl061->base + GPIOIBE);
writeb(gpioiev, pl061->base + GPIOIEV);

but the translated code has a differing order:

pl061.base.writeb(gpioiev, GPIOIEV);
pl061.base.writeb(gpiois, GPIOIS);
pl061.base.writeb(gpioibe, GPIOIBE);

Isn't the order of operations important when talking to I/O?
Can you build a rapport with a local news audience?
> am I the only one concerned that this would even be a point of contention? This seems too trivial for anyone doing hiring or being hired to be hung up on.

You'd be surprised! I've done probably 200+ interviews across a couple companies. Over time if anything my questions have gotten simpler.

I look for someone who understands the fundamentals of the stuff on their resume, asks good requirements questions, thinks a bit before leaping into the weeds, can explain their thought process, ideally does some of their own double-checking, and (if it comes up) can debug a problem I spot without my spelling out their error.

And last but not least: I don't want to cause a panic attack, which would be mean and tell me nothing. Sometimes my candidates have been too nervous for me to know if I should hire them, and it's not a good experience for anyone.

So I make the problem as simple as I can and make sure we get through the rest of that in as relaxed a fashion as I can manage. I'll ask a simple (often first-year CS) coding problem or a design problem, rarely both in the same interview slot. I never ask for tons of code on a whiteboard in a 45-minute slot.
There's an unofficial Netflix add-on for Kodi. LibreELEC makes it simple to run Kodi on a RPi. I just set up a Plex server and use Kodi on a RPi with the PlexKodiConnect (PKC) add-on.
Hey Payroll, edoceo needs an off-cycle bonus of $$$.

Your manager should be able to write a similar email.
this article isn't about PCR tests which would be unaffected by children's drinks

yes, we are aware of the filter bubble where people find the WHO's clarification of an existing prior policy as evidence of a PCR test sensitivity issue timed to make Biden in the US look better. there is a website where you can take a peak of various filter bubbles to see how strong the reinforcing information is for any particular rabbit hole. yours just happens to be hilarious. everything is open now, in the US, and you are stuck on that, something that is both inconsequential and will never be revisited. the awareness might seem like activism but it really is the bread and circuses, for you.
So what should be done? Hire your own lawyers to go after them pro bono?

Write an article and send it to the papers?

This kind of thing needs to be shamed and punished. While I agree that the institutions can be expected to cover there ass, there must be a course of action.
You basically have the right idea. The pre-image can be any arbitrary size (in fact, there are an infinite number of pre-images that will hash to the same value).

As useful rule of thumb, the way I learned to think about NP was the mnemonic "nifty proof." Problems in NP are not known to have a polynomial-time solution, and are not known to have no polynomial time solution; that's the million dollar question. What they are known to have is a polynomial time validation.

So it might take some heinous amount of time to find the pre-image of the hash, but determining if a given input string is the pre-image of the hash is polynomial on the number of characters in the pre-image (just run the hash function).
It should be noted that not everyone is a global company.

A typical bank / credit union may only serve one town. As such, it would be socially acceptable to designate 3am to 4am as a regular maintenance window where services are shutdown.
this stuff is vastly easier than traditional weapons development.

if you're in a precarious political position, a homegrown entity that produces these tools can quickly become a threat; the citizens you train/employ will have their own political ambitions, nationalistic tendencies, empathy for their fellow citizens, etc.

there are most certainly situations where it's safer to just outsource your natsec/tradecraft to an entity that only cares about their bottom line.
You wouldn't rather hug her yourself?
Linux doesn’t target the xtensa nor does it have a proper mmu so this is emulating a risc-v. It is still very much in the novelty “hack” realm.
I do a lot of work on houses, many of which are mobile homes. Many of them are made as cheap as possible and don't last well. The newer ones tend to be much better, as standards have improved. I would highly recommend having someone who has experience with mobile homes give it a thorough inspection before buying a used one. They can be great, though. I have an 1800 sq ft double wide built in 1993 that is in pretty good condition, but it had been fairly well maintained and I've had to do only minor repairs.
There's an unofficial Netflix add-on, but I just set up a Plex server and use PlexKodiConnect (PKC) Kodi add-on.
recipients of grants are heavily restricted

They are restricted in trivial ways that are easy for a bureaucracy to mechanically enforce, as is true of employees at every institution.

What I meant by accountability is deeper: people are not accountable for the quality or utility of their work, hence the endless tidal wave of corrupt and deceptive research that pours out of government funded 'science' every day. These researchers probably filled out their expenses paperwork correctly but the final resulting paper was an exercise in circular reasoning, or the data tables were made up, or it was P-hacked or whatever. And nobody in government cares or even notices, because nobody is held accountable for the quality of the outputs.

Whilst DeepMind is not especially interested in profit it's true, and is just doing basic research, Google itself is an excellent example of how to seamlessly integrate fundamental research with actual application of that research. That's what profit motivated research looks like: just this endless stream of innovative tech being deployed into real products that are used by lots of people, without much drama.

We have come to take this feat so much for granted that you're actually asking if someone working on ads is leaving the world better off. Yes, it does. Google ads are clicked on all the time because they are useful to people who are in the market to buy something. Those ads are at the center of an enormous and very high tech economic engine that powers staggering levels of wealth creation. If I understand correctly, a lot of academic papers are actually never cited by anyone - a researcher who optimises search ads by just 1% will have a positive impact on the world orders of magnitude greater than that.
More like "just the one example." This same case is trotted out every time somebody wants to make this point because it does not actually seem to be a trend.

But besides that, it doesn't answer the question you were responding to. Asking someone's birth sex does not tell you what genitalia they have. It doesn't even really tell you what genitalia they had at birth. Since those salon owners say they specifically objected to the woman's current genitalia rather than the woman's status as transgender, birth sex is the wrong question to ask.
All that could be true and it still would not suggest that no unit tests at all is a valid choice.
WhatsApp claims to use a well-known algorithm so it shouldn't be too hard for a researcher to encode a message with their own implementation of the algorithm (while copying the seed/keys from WhatsApp) and confirm that they get the same bytes out of both.

Of course that wouldn't prove that there's no backdoor, just that the normal code paths work as described.
Good point. The 5 minutes of downtime is simply tolerated. My captive audience are dozens of humans and thousands of robots all willing to try again.
Images Are Hard
> [ScanTailor Advanced] seemingly unmaintained for over a year

ScanTailor official repo also archived on November 29, 2020.[0]

> This project is no longer maintained, and has not been maintained for a while.

As alternative to ScanTailor (and its forks) there is gImageReader (Tesseract Qt/GTK GUI), but also seems like unmaintained since 2019.[1,2]

[0] https://github.com/scantailor/scantailor/commit/e881b30b6ed1...

[1] https://github.com/manisandro/gImageReader

[2] https://github.com/probonopd/gImageReader/releases/tag/conti...
You Could Own a $289,500 Hotdog Stand in NYC. But Is It Worth It?
> removed from the atmosphere by about $20 of carbon offsets or $1000 worth of carbon capture.

Carbon offsets don't remove carbon, right? Otherwise they would be equivalent to carbon capture and given how cheap they are everyone would be hailing them as an incredible solution to our CO2 emission problem. Offsets are just an agreement to emit less. Less than... well, that's kind of arbitrary I suppose, which makes the whole thing a little fishy IMHO.

Anyway, I agree with your conclusion. I like the idea of billionaire space tourists paying the carbon capture cost to cover their trip though. Doesn't seem like it would cost enough for them to notice.
Similar in the sense that both approaches essentially run Linux in a VM, virtualizing the typical hardware required such as the MMU. In essence, it's the esp32 version isn't much different, just faster as the core is faster.

Would be cool to get no-MMU Linux running on it. I've seen that run on STM32F7's natively..
As someone who was vegan/vegetarian for many years, the smell of bbq used to make me ill. (I only eat meat now).

Only a self absorbed busybody loser jerk with nothing better to do would complain about the neighbors bbq'ing. 'get a life'.
Even though neither Rust nor C++ are supported Kernel languages, Rust has passed a few iterations of trial and discussion, C++ on the other hand was filtered out at the first one. Linus refused to even take C++ seriously (and also mentioned trying it for Kernel in 1992) [1].

Some might argue this doesn't qualify as "C++ trying", but I think it does.

[1]: http://harmful.cat-v.org/software/c++/linus
I doubt your numbers. Did you take into account the stratospheric effects (high-altitude pollution)? Then, you're going to scale the industry - and this is a high profile industry, and it's doable to change this aspect.
At some point, though, the mortgage is paid off and maybe you're paying something like $1K/month for taxes and maintenance for a property that may have a decent amount of land if you're outside a city--an amount that isn't going to go up. (Taxes vary a lot of course although that is presumably reflected in area rents as well.)

You may be right, especially absent property appreciation, but there's a lot of value in having a fairly predictable set of costs into an indefinite future absent really unpredictable problems. And not being forced to move at some point.
> In fact, I think we can, in historical terms, state that energy requirements increase over time, they do not decrease.

They do, and all energy needs can be met with solar, wind and grid energy storage. Or nuclear if you don't want to invest in energy storage for whatever reason.

> The next element of the story is how we are going to replace the massive number of byproducts of fossil fuels that modern life pretty much depends on. We know that making complex hydrocarbons any other way is in a range between highly inefficient (which would increase the aforementioned energy requirement) and impossible.

Burning fossil fuels are the biggest immediate problem. Other fossil fuel products may or may not be a problem. But you don't ignore the heart attack because you just noticed a rash that may be flesh eating bacteria. Triage is key.

> You see, all the other oil byproducts are still needed.

"All" is overselling. Some are arguably useful, but for example, most product packaging is likely superfluous and a product of our current economic incentives. For instance, why do we have disposable containers for each unit of cleaning product we buy rather than reusing containers that you get refilled at the store? These choices are driven by market incentives that prioritize convenience over sustainability.

Some products may never get rid of their plastic packaging, perhaps something like sterilized vacuum packed needles that hospitals use. Those would be the exceptions but not the rule.

> We just have to be careful that we don't reduce reality to single variable problems, because that isn't reality, it's a fantasy, and a dangerous one at that. Climate change is one of those.

Climate change isn't a single variable problem, and I don't think anyone serious is pushing it as such. If you look into the IPCC report on climate change, you'll see all sorts of factors being accounted for including cloud cover, contrails, methane, water vapour, CO2 and more.

We only have so much influence over some of these factors, but the biggest and most obvious factor for which we have alternatives, is CO2 emissions. Do you deny that?

> Once you start thinking at scale --planetary scale-- "natural" and "sustainable" quickly end-up with razed forests, depleted marine life, polluted water sources and a sky blackened with thick pollution.

You and I clearly have different understanding of what "sustainable" means.
It's notoriously hard to prove a negative.

But what I'd really like to know is who is a "good news source" in contrast to Bloomberg.

If one doubtful article discredits an entire organization, it's pretty astounding to me anyone worth trusting can exist. The Daily Mail?
I agree with you 100% that more research is needed, but the person above me seemingly doesn’t, or they wouldn’t have made such a dismissive comment implying funding should be cut because the “true” answer is already known.

Don’t get mad at me for calling that person out. I’m the one who wants more research - they apparently already know the answer.
Correct me if I'm wrong: So n is actually the size of the hash. That's indeed exponential if you try to brute force it, but a non-deterministic automaton would still give the answer immediately.
The unsafe readb and writeb is hidden inside another API--IoMem module. The same API could be created for C, but isn't--either deliberately or just because nobody bothered.
At first glance, it's trying to solve 3SAT by using a 2SAT algorithm. I haven't followed it in detail, but my guess is that the error is that the algorithm accumulates an exponential set of possibilities rather than a polynomial set. (It's a bit hard to follow due to excessive use of custom terminology.)
I'm from Vietnam and not old enough to have lived though the communist days but my first family house was the one my dad had gotten from his job. It was ours, he sold it after 10 years, maybe communism in Vietnam was not as strict as others.

I have definitely heard stories about food stamps and queuing for foods.
Similar thing happened to me in early years of dev. I decided not to take the offer if I couldn't express myself. Nowadays I'd love to disagree with someone, especially on interview.
"Test your backups" is so easy to say, but quite difficult for many to do. There are a lot of shops that probably don't know how to recreate a machine from scratch. How many systems are developed as balls of clay. Little bits added and smeared in over time until the ball just gets bigger, but each piece lost in the process. How many folks can go through their local config files and explain all of entries, how many can even tell which ones they have changed, or why? Especially when they were changed by Frank, but he left 2 years ago.

You'd like to think you can just restore the system from backup and it'll just light back up. But how do you test this without cratering your existing system? Like a boat in a basement, many system are built in-situ and can be very rigid.

Modern environments like cloud computing and creation scripts can mitigate this a bit organically, but how many of these systems are just a tower running Windows w/SQL Server and who knows what else? Plus whatever client software is on the client machines.

How do you test that in isolation?

At least read the media to see if it can be read (who doesn't love watching a backup tape fail halfway through the restore).

Simply, it takes a lot of engineering to make a system that can be reliably restored, much less on a frequent basis. And this is all engineering that doesn't impact the actual project -- getting features to users and empowering the business. Which can make the task even more difficult.
> Nobody does it for the money. Everyone does it for the bennies.

Is that based on experience?
Derivation of answer to the problem #16 here: https://datagenetics.com/blog/may32013/index.html
I also find it hard to believe that a ransomware gang could encrypt 50 Petabytes without anyone noticing it.
It would also take some time to decrypt 50 petabytes if you paid the criminals and got the key.

And would you trust you data after criminals had access to it?
I see they're importing `kernel::prelude::*`, so I would guess there.
Which organizations currently do this?
I think the largest issue for me with renting is dealing with someone that pretends to be following the law. All I see is a bunch of management companies that are collecting $40 here and $40 there. If it truly wasn't about the background check fee, those prices would be pass through and automated on a website - not a $40 check made out to the management company. It's an industry rife with a ton of illegal and evil practices. We don't have a dog and someone tried to charge us $300 cleaning fee for a giant dog piss area in a closet. I loathe renting with a passion.
> 16 minutes of advertisements per hour of entertainment

It's worse than that. It's 16 minutes per 44 minutes entertainment. And much of that is full of embedded marketing.
No it’s not, it’s about trying to quantify algorithmic complexity.
The EU doesn't ever go to war. Individual EU countries do.

The UK, Spain, Italy and a few other EU countries took part in the illegal invasion of Iraq.
It's definitely possible—common, even—to forget things you didn't learn by memorization.
Moving and resizing wireframe boxes seems like to me like an ergonomic and technical win - it’s a bit baffling to me why it’s not the default everywhere, no matter what the compute/gfx capabilities.
NSO gets the mic because its the biggest commercial name, there are several other companies that fly under the radar with similar technologies.

I like what some other user proposed here: military grade classification. Tada. Now sanctions apply to both sellers and users of this crap.
Ah, got it. In that case I'm very much more taken by this approach - as a habit former to bootstrap yourself past a block it does seem like it could be pretty helpful
> They only test for bugs that are incredibly unlikely to happen.

Well, that might be the problem. Testing "for bugs" isn't a terribly helpful activity. Testing for behavior is much more helpful, and unit tests can definitely be applied to that aspect of the system. Of course, it requires you to properly decompose the system into subsystems (modules) with loose coupling that can be individually (or in small sets) loaded into test harnesses for testing.
If your disaster recovery process isn't tested, you actually don't have any disaster recovery. It's not only about 'how long it takes' it's also about whether or not it works at all. Can you rebuild from scratch? What happens if your entire infrastructure goes down at the same time? What happens if a datacenter you rely on just disappears? What happens if you lose access to your systems? Can you lose access to your systems? IMHO one of the only silver lining of these attacks is that organizations are starting to ask these questions more often.
blueplanet200's proof can fit in a sentence or two. So sounds like you came up with an entirely different strategy. I'm curious what it is (doesn't matter if it's not as elegant).
Not to mention hotels are often included in city planning as places for tourists to stay whereas normal residential apartments are not, so it entirely screws up the city planning as well when these areas get taken over by tourists, further harming the locals. Same with tourist shops/bars come in and start driving out the local ones of a neighborhood or when drunk tourists show up all hours of the night loud and messy while you're trying to sleep for work.
ScanTailor project is no longer maintained (2020)
Oh, OK, I think you’re right there.
There was a corresponding indoor event which almost certainly was the spreader event in this case.
Enforcement here would probably be centered on adding additional sentencing time or punishment for misuse.

That said we have near zero ability to enforce this at the moment.
It's the natural evolution of exercise tapes.
I'd guess that's pretty field dependent. What you're saying matches my experience with biology profs - technically once they get tenure they could chill out, but then they wouldn't have any funding for research anymore, so they wouldn't be able to do much of anything in their field.

In CS I saw more of a mix though. It's feasible to fund a small research group without busting your ass, and it also seemed to me that putting time into coursework, writing books, etc. was culturally a more acceptable use of time in that department than it was in biology.

I knew a few CS PIs that actually purposely scaled back their research once they got tenure because they were more excited about teaching and some of the educational initiatives the school was working on. That's not the norm of course, but I literally can't imagine that ever happening in a bio department lol.
C++11 braced initialization made the impossible possible
There's been a lot of good advice here about backups and disaster recovery.

But there's also a lot of other stuff to consider:

Compartmentalization. Finance and Engineering and Sales only need to interact in limited ways. How about some firewalls between them, limiting types of access?

Location isolation. Why does something that happens in Peoria affect Tuscaloosa? Once a ransomware gang breaches a perimeter, why is it allowed countrywide (or worldwide) access to a company?

Monitoring. Aren't there tools that can alert on various anomalous patterns? All of a sudden, gigabytes of data start being exfiltrated? All of a sudden, processes fire up on a multitude of servers? Monitoring these things is hard to do at scale, but surely possible?

Microsoft. In 2002, Bill Gates "Finally Discovers Security". How much longer will Microsoft be given a free pass? How many more "critical" vulnerabilities will their software have? https://www.wired.com/2002/01/gates-finally-discovers-securi...

I could go on and on. But why should I? Why can't MBA-type CEOs take IT seriously? Why can't they hire competent people and fund them and listen to them?
It looks like something like that is indeed possible. See a post on the rust internals forum where that's setup with a type alias. It was called `Fallible` in that post, but it's common in the Rust ecosystem to override the default Result type with a custom error parameter but still calling it Result.

https://internals.rust-lang.org/t/make-stds-result-a-type-al...

So I'd guess in this driver that the Result type being used is a type alias defined in the prelude that's glob imported.
"Performance" depends on a number of factors beyond the code itself.

To take a real world example, immutable operations in Javascript are often more performant than mutable operations--thanks to the fact that the Chrome Engine "cheats" with its hot path functionality.

However, in Big O, constantly generating new data structures, even within loops, would clearly trash the algorithm's space complexity. On compilers that don't optimize for immutability, the Big O algorithm is more performant; on the ones that do, the immutable approach is more performant.

It's because of example like these that you want to disconnect the concept of "performance" from Big O. Because context matters for the former, while the latter relates only to the algorithm itself.
This is like a sales pitch for just paying the ransom.