Better HN
topnewbestaskshowjobs
Log inSign up

Ao7bei3s

1,549 karma · joined Dec 5, 2012 (13y ago) · 595 submissions

Submissions

comment 3y ago · link · parent

Have a look at https://rr-project.org/ (features and motivation are on that page). (Also mentioned in the article.)

It works on recorded state. It's not about executing a program again, it's about root causing a failure by going back in time after the failure happened. You can do things like start with a crash, retroactively set a break point and reverse run back in time until you hit it.

It's for real world applications. It was written specifically to debug Firefox, and has since been used for other applications of similar size.

It's basically GDB with extra commands, so very easy to use and learn if you know GDB. Highly recommend.

comment 3y ago · link · parent

Yes. The US does the same with commercial ships[1] and aircraft[2]. Interestingly, in the case of the US, part of the payment for providing this service is priority access to government contracts during peacetime. Which is doubly great for the government - no extra cost beyond operating cost, and the capability is regularly exercised even in peacetime.

[1] https://www.maritime.dot.gov/national-security/strategic-sea... + https://www.maritime.dot.gov/national-security/strategic-sea...

[2] https://www.af.mil/About-Us/Fact-Sheets/Display/Article/1045...

comment 3y ago · link · parent

No, unfortunately. In Germany, first aid training for the regular drivers license does not expire.

I would welcome mandatory refreshers every 5 years. Not just because people forget, but also because the best practices (legal and medical) can change over time and people should be kept up to date.

In California, DMV requires renewing the drivers license every 5 years, which requires a simple vision test and a knowledge test about the rules of the road. The knowledge test can now be substituted by a ~90 minute at home online training (short videos and quizzes). I think that would be a great model for first aid refreshers as well.

(On the other hand, to be fair, the mandatory trainings are mostly from an era where emergency services weren't always instantly reachable by anyone. And there isn't _really_ a reason why the drivers license in particular should require first aid training; accidents can happen anywhere.)

comment 3y ago · link · parent

For the US, requiring a first aid course at all would be a good start.

To get any drivers license in Germany, you have to get first aid training. It is an ~8-hour, in-person class. It teaches the law (failure to render help is a criminal offense, as it should be), and a specific workflow. It does not start with calling emergency services; that's step 3). It does include checking vitals and when to do what. Every single student gets hands-on experience doing the stable lateral position, helmet removal an CPR (chest compression and mouth to mouth resuscitation).

comment 3y ago · link · parent

In my experience, working primarily based on integration branches, as opposed to working on master and cherry-picking back into integration branches, provides some short term benefits but is net negative in the long term.

1. People stop caring about master. Then master breaks and nobody fixes it. This is a problem if not _everyone_ is on the integration branch, e.g. if there is a single small team working on a feature for the next+1 release that needs master: they can't fix all the breakage from all the other teams, and they can't get the other teams invested in not breaking master. This ruins that teams productivity, which makes development of larger scale features much more costly. Even if no team needs master, leaving master broken and coming back to it later makes those fixes more costly.

2. Regressions: people mark bugs closed as soon as it is fixed in the integration branch. Then the fix never makes it into master, and you get regressions on the next+1 release. Automatic forward merge (always immediately and automatically merge release/n to release/n+1 [...] to master) as supported by e.g. Bitbucket can help with this, at the cost of the occasional merge conflict(s) and less control in case some fixes actually should not go into a specific intermediate release.

comment 3y ago · link · parent

No, the other half would simply get lucky and the malware wouldn't reach them.

No malware can reach every system, especially in the Linux world which is so fragmented. Users will only use repos relevant to them - for example, Fedora users won't use AUR/PPA, malware on crates.io would only reach Rust developers etc. Also, it would be much harder to get malware into any distro's primary repos than dedicated "lower standards" repos like PPA/COPR/AUR, which many users simply don't use. And realistically malware authors will only be able to infect some packages, and for some time.

comment 3y ago · link · parent

Linux desktop users are so trusty; the only reason half of them aren't owned yet is because they aren't being targeted.

Groups doing Windows malware are routinely doing things like reverse engineering vulnerabilities from binary diffs within hours of Microsoft releasing a patch. If they would spend even a fraction of the skill and effort on targeting Linux desktop users, plenty of Linux users would be owned fast. And unlike with Windows, the Linux community as a whole hasn't spent years evolving ways to respond to this quickly (with the notable exception of _offering_ security updates to address vulnerabilities quickly... through some channels and not others, and many users update twice a year at best).

How much software from hundreds of third-party repos (e.g. AUR) and third-party package managers (e.g. pip) do devs use? Taking over an abandoned package (maybe a dependency of a more popular package), or worse actually legitimately maintaining a package for half a year before adding the malware, isn't hard. And once the malware is on the computer, there are few safeguards for the actual data (malware can probably encrypt $HOME or exfiltrate ~/.ssh/*).

The Linux ecosystem is more than the kernel; it's everything other than the kernel that needs hardening. Especially the culture; the "it can't happen to us" attitude needs to go.

comment 3y ago · link · parent

No, it doesn't.

It's very important to distinguish between what is actually required for compliance, and what is being done in the name of compliance, and make sure that "compliance" isn't just abused to shut down discussions easily.

SOC2 does not have any criteria specifically requiring antivirus software.

The actual requirements are more generic; for example CC6.8: "controls to prevent or detect and act upon the introduction of unauthorized or malicious software". That doesn't even sound like an unreasonable requirement to me.

If your company reads "no computer without antivirus" into that, that's on your company (and what they put in their SOC2 Type 1). Of course AV manufacturers will gladly agree that it should be read that way, and auditors will be more familiar with that approach. But if you can achieve the same in a different way, that's ok too - you just have to write it down that way. And the auditors can be reasoned with - their focus is anyway more to verify that you can show evidence (e.g. screenshots) of actually doing what you wrote down.

comment 3y ago · link · parent

Hasn't the outsole (the underside of the shoe) worn off?

It gets completely flat on my hiking shoes after a year or two, leading to notably reduced grip, and that's the main reason I have to replace them once in a while. But mine are medium priced, so I am wondering if higher priced shoes like yours last longer.

1
456
20