Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×

Comment Re:This should be impossible (Score 5, Informative) 90

It's kind of like how vulnerable most of the world is to an EMP attack. Think it through. Someone blows off an EMP above North America. It fries everything imaginable, including our electrical grid. We don't have the spares in stock to fix it, and in fact we have to go to China to manufacture them with an ungodly lead time. Meanwhile, the majority of the world's advanced semiconductor production is in Taiwan.

We're all fucked for years. Your new Teslas (or anything made after the early 90s, including ICEs) are bricks. I've been into places that have had a power failure and they literally had to shut down because the retards that they hired as cashiers can't do basic math and check people out.

Thankfully such an attack is extremely difficult because of two things - shielding and the inverse square law.

Even the largest nukes known on the planet, the EMP area is rather small - an EMP large enough to take out everything in North America would basically destroy the globe in which case I think we have bigger problems than our cars being dead.

The other problem is shielding - those metal cans on everything do a really good job at blocking EMPs as well - by orders of magnitude. If an unshielded device can be affected by an EMP at say, 2km, wrapping it metal foil reduces the range to around 2m or so.

So your car's ECU, which generally lives in a very hostile environent is already sealed inside very thick metal boxes designed to keep out lots of electrical noise and other things but also protects it from the EMP. Chances are, if your car dies from an EMP, you won't have much of a car left anyhow.

Also, the most effective protection against an EMP is basically turning it off. With enough warning, it's possible to shut down the electrical grid to protect it.

Of course ,let's also not forget that gas pumps require electricity, so if it ever should come to that kind of scenario, you're still pretty screwed without having to siphon gas endlessly.

The biggest threat to the electrical grid is a CME (coronal mass ejection) because those wobble the Earth's magnetic field, and because power lines are long, those wobbles induce currents in them which can burn out transformers if the protective equipment doesn't react fast enough. But your car will be just fine other than the compass might be slightly messed up.

Comment So the 6502 wins! (Score 2) 80

The 6502 is still available today brand new along with several of its companion chips as well as the 16-bit version.

Though, honestly, I don't see why those chips haven't been long discontinued - the Z80 and 6602 basically should be soft cores these days and implementable in basically a reasonably cheap FPGA able to run at full speed. I know Western Design Center (the current provider of 6502 chips) already sells such a design so you can implement a 6502 core in your product and achieve reasonable integration density.

I don't see many people implementing the 6502 or Z80 as a standalone chip other than retro enthusiasts. If you need a Z80 core, you probably will just have one for your FPGA already or build it into an ASIC.Though, oddly, the 8051 has shown incredible robustness for an embedded controller - they're seemingly everywhere especially in USB applications

Comment Re: Why is this not easy? (Score 1) 22

Think of something like Linux. When you boot it up, it prints a banner, which contains the version and timestamp and who built the kernel. (Linux 6.7.1 built on date by blah). That's a timestamp - it's handy during development because hey, the version number might stay the same, but the timestamp gives you a rough idea of where to look at what changes it might have. But they're murder on reproducible builds.

Another one is if you're doing parallel builds - the build server may have 20+ cores on it to make builds speedy so you build Linux using all 20 cores. But which cores get which source files is completely random and if you have an Intel performance and efficiency core thing going, the E cores would take longer, and this can affect the link order of the kernel objects. Changing the link order may mean objects are laid out differently in the final binary as well as branch and jump addresses. Especially tricky since the kernel partially links every file first.

The fun one to get is filesystem layouts. When you traverse a directory, you often get files in the order the files were created in the directory. If your build system does parallel builds, the order the files are created may no longer be deterministic because as the code is built, it's placed int he output directories randomly. When the filesystem image is built, it's often done by pointing the tool at a directory, so the tool enters the directory and then traverses it creating the image as it encounters files and directories. If the build system puts files and directories in a non-deterministic order you can often get files added randomly which can mess up the image. COmpression and encryption compound the problem. (Most tools use calls like opendir() and readdir() to get through the directory tree so the file order they add to the final image is dependent on the order they were created in the directory). This is the hardest to solve, but it can be done if the tool sorts the files first in alphabetical order before processing, thus ensuring files are processed in a deterministic order.

The biggest non-determinism is that, usually. But especially since it can be caused by parallel builds so even if you start with exactly the same files, the final arrangement can vary. If you're unpacking 20 tarballs in parallel it just creates chaos.

Of course, the easiest way is to make it deterministic and only allow one build to proceed at a time, but that means what takes 20 minutes to builds completely now takes hours. And even then you might get some randomization because the disk cache might cause a file to be written ahead of another

Comment Re:Think Different (Score 3, Insightful) 107

And the problem is that women often don't know they can enter these fields.

There are tons of women who want to enter trades. However, all they see are men everywhere - and thus society has set up a stigma that "girls can't code" or "girls can't be electricians".

The assumption is "girls aren't interested" is about as true as saying "boys don't cry". It's a sexism thing - girls play with Barbie, boys play with GI Joe. Heaven forbid you have a boy who's interested in Barbie, or a girl who wants Transformers.

In fact, many trades have "girls do trades" type events where the whole purpose is to show that yes, if you want to sling a hammer, or do electrical work, or plumbing, or whatever, you can. Often there's no role model to say "yes, you can!" in a family context, so plenty of people make the assumption that no, you might like to work on the computer and have a great time at it, but only boys code, so go and be a nurse instead".

I'm sure there's probably a huge dichotomy of people who are in unhappy careers because it "fit the stereotype" rather than actually exploring options in what they are more interested in. I know people who did computer science in university because they didn't know what to do, so their parents said to do computer science as it was popular. I'm sure you all know how that usually turns out

And the reason I think it's cultural? Other cultures have often no such qualms. I've seen lots of women from Indian, Chinese, or Eastern European backgrounds. They were encouraged to do the sciences and they pursued them Also, take a look at advertising for video games prior to the videogame crash - you'll find it's often done as a family activity with both a son and a daughter enjoying what little game there is. But afterwards, it's purely something the boys do. And it has something to do with Nintendo - because in order to sell the NES, Nintendo couldn't market it as a "video game" as that was poison. So they marketed it as a toy (aided by Robby). But if you do that, you need to pick - does it go in the boys section or the girls - heaven forbid a toy might actually be interesting to both sexes.

Comment Re:My best friend's company has done that for year (Score 1) 51

All I can say is that the race to the bottom to cut salaries on IT workers can't end in anything good.

You just have to look at other industries. You know, like say, manufacturing. Most things are made outside the US, because it's cheaper to make stuff there because pay is lower.

The same forces that pushed manufacturing overseas is the same forces pushing IT salaries lower.

Comment They did help as a networking resource (Score 5, Interesting) 107

How exactly has a non-profit helped women get jobs in tech fields?

Just recently I ran into a woman having trouble finding coding work despite a solid background and resume, some people had suggested to her she try Women Who Code to get some connections that could help her find some job opportunities.

I had contributed to them in the past as they also held women only coding camps for teenagers, that is I think the key way you actually get more women into coding as opposed to simply juggling the few professional woman coders in a sightly different mix across existing companies.

I had kind of lost track of them though and hadn't contributed for a few years, I think the coding camps were shut down... maybe the organization just lost track of the core mission.

Comment Re:People still use Windows? (Score 1) 60

>"Also there the issue of let's say I want to port my giant CAD app to Linux? Which distro? Which installer package? There's a lot of variables with that."

Yes, but it is not that difficult to overcome. Porting/coding it is mostly a single investment/code base and will essentially work on any Linux. The packaging of it is easy, in comparison. You just have to follow some reasonable practices of using conservatively-available libraries, or include your own. Probably target a generic deb and rpm for the major distros, and also flatpak. I have used numerous commercial Linux packages for decades and they figured it out :)

Porting is fairly easy. You port to the Linux most people will use.

If it's a CAD program and you expect people to use it in a corporate environment, you go RHEL and be done with it. Hell, the company is probably already paying thousands of dollars for support anyways (aka subscription) so using a commercial Linux isn't really too unusual.

If you were a little lower end and your package is used by people ancillary to the job, then you might target a more mainstream Linux, like Ubuntu. And let what3ever that uses be what you support.

That's all you really have to support. Everyone else using something different can figure it out for themselves. Linux Mint, Arch Linux, Debian, etc., those users are experienced in Linux so let them figure out how to get it working.

Heck, if your application is that damn important, people will find a way. If it means having to have a whole new computer just for your application, so be it. Computers are cheap these days.

Comment Re:Who is waiting to switch? (Score 4, Interesting) 63

I've only tried the original Half-Life trilogy so far, but Steam on Linux seems to work well for at least some games.

Steam has Proton, which because of the Steam Deck, it has significantly improved gaming on Linux. About the only things it doesn't work on are games that require kernel anti-cheat.

And while Proton only works with Steam (though its changes are pushed back into WINE), you can still run other stores using it since you can add any app you want and run it under Proton.

Comment Re:Who you are; Something you know (Score 1) 146

I've long held that the use of biometrics to replace passwords is a mistake. The classic "username" and "password" combo provides two pieces of information in order to verify identify: who you are, and something you know. A thumbprint, or an iris scan, more accurately represents who you are than something you know; so using those to replace your username would make sense... but using them to replace your password seems like a bad idea.

Except that the truth is far worse. The reason phones use biometrics is because without it, people were not using anything.

Remember "slide to unlock"? Have you remembered seeing anyone with that on their phone? Circa 2012 or so, studies conducted showed only about 20% of phone users had a PIN on their phone - the rest of them used the default password less slide to unlock.

The reason for this was simple - people were checking phones, and the added annoyance of having to unlock your phone was a deterrent - people check their phones hundreds to thousands of times a day, and unlocking every time turned out to be not worth the effort.

That's why they added biometrics - because now people would be forced to put a password on their phone, but it wouldn't be annoying since they would put their finger on the sensor and it would unlock for them by the time they got it into view.

So yes, password is best. however, it was interfering with the need for people to quickly glance at their phones. Biometrics solved that because now users would generally not be bothered with a password entry dialog most of the time so they could continue to use their phones with a password because it's not getting in the way, most of the time.

Phones still allow you to disable biometrics so you can have password only authentication. However you'll probably find people disabling it after a few hours of inconvenience.

And that's why all phones nowadays have SOS modes, so you can disable biometrics until the password is entered. Just lear the key combination (it's usually a mix of power button and volume button) and the biometrics will be disabled until the next successful login.

Comment Re:how does an six- to nine-month school cost 30K? (Score 1) 39

how does an six- to nine-month school cost 30K?
now an full collage can cost more and the loans are harder to get out of.

Private schools often cost that much or more. It's why Catholic private schools are an extremely popular option because their costs are usually 1/10th of what a normal private school costs.

Comment Re: Cue all the people acting shocked about this.. (Score 1) 41

No. The "ruling" was that there is no human creativity in AI-generated material, thus nothing subject to copyright.

You also appear to need reference to the sweat of the brow doctrine and its inapplicability in modern copyright law.

It's the phone book or recipe book copyright. The contents of the book (the phone numbers, the recipes, etc) are not copyrightable. However, how those phone numbers and recipes are laid out, that can have copyright.

But you're just as free to take those recipes and put it on your website as long as you don't reproduce the layout or other copyrighted content (e.g., photos).

So if the book gets published, you're free to re-type the text of the book out and give it away for free because it's in the public domain. However, if there is artwork and how you format the pages is copyrighted, So make sure you use a different font.

You're also free to make adaptations of the content - an audiobook, for example. You can't copyright the content, but the recording of it is copyrightable

Slashdot Top Deals

Living on Earth may be expensive, but it includes an annual free trip around the Sun.

Working...