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

 



Forgot your password?
typodupeerror

Comment Re:Real Men RNG(tm) (Score 1) 111

What you are actually seeing is that modulo is not a great way to pick random numbers from a range. You have to understand the greater range you are getting the modulo for.

Let's use some simple numbers: You have random numbers from 0-100 as your source. Now, if you pick numbers from that in modulo 24, you will get uneven representation as 24 is not a whole multiple of the range. If we claim open ended, 24 means numbers 0-23 (24 numbers) over:

0-23 : 0-23
24-47 : 0-23
48-71 : 0-23
72-95 : 0-23
96-99 : 0-3

Thus your numbers 0-3 will be over-represented by a small fraction (enough to notice)

Now, this does not mean that the random number generator was good but even the best random number generator when used incorrectly will produce poor results.

Thus you would need to scale the whole range into your range - and usually it is done with numbers from 0.0-1.0 but you can do it over integer ranges too, albeit if two ranges are too close together in the integer ranges you can get beat frequencies.

Comment Common coding is changing (Score 1) 220

Most people who code these days have zero understanding of how a CPU works or what a register is, let alone what an instruction set is other than there are ARM and x86 versions.

Does this mean they can't code?

Look, a lot of programmers could not write a reliable C program, let alone assembly. If they can use the higher level tools (Python, JavaScript) to be productive, who are we (old people) to claim they are not programmers.

Comment Only because we have learned it has no value (Score 1) 50

So, I used to complain and send data that identified the company or the group doing the calls (including call trace data, etc)

Nothing happened. And the number of calls have increased to such an extent that I could never take the time to report them all. I am lucky if I only get 10 in a day on my cell phone.

And that does not include the "political" robocalls that are expressly allowed (WTF!)

So, the statistic is going down because people are just too frustrated with the lack of results from reporting the calls.

Comment Re: obvious.... (Score 2) 407

Since he bought Twitter, Tesla is down ~30%. The other automakers are about even. He's spending all his time on Twitter, while Tesla is on a backburner (with increasing numbers of recalls, WAY up compared to a couple of years ago). And no one I know would now want to work there. He'd be lucky if his $44B investment was now worth even half that if he tried to sell it (maybe far less than that).

Comment Spend a Billion to... (Score 2) 56

So Facebook will spend a billion to deliver what, exactly... a home internet speaker that will automatically post to Facebook pictures of my dinner, so I don't have to? Detect what TV shows I watch and give me automatic LIKEs for those? Listen to my phone calls and automatically "Friend" those people? Trick the Echo next to it into ordering random crap, so we get rid of it?

Comment Re:Intel doubled Mac sales (Score 1) 513

The 64-bit instruction set used in 64-bit x86 processors was originated by AMD. The ISA these days is a mix, since Intel designed most of the new instructions, SSE (AMD has a competing thing called 3D Now!), etc.

The machine architecture to run those instructions changes from processor family to processor family, and was certainly designed by Intel, when it's in an Intel chip. Both Intel and AMD use their own version of the technique first used in the NexGen's processors, the idea of converting x86 instructions on-the-fly into one or more RISC-like instructions. But just the idea (well, AMD bought NexGen and used some of their technology directly in the K6 series).

Comment Re:Intel doubled Mac sales (Score 1) 513

It's not really close to the same situation.

When Apple went PowerPC, they were going there for performance, to support the huge percentage of the media content creation market they had wound up with, back when PCs didn't support such things very well. Motorola wasn't competitive with Intel, in a big part because in 1996 Apple was the last standing 68K personal computer company and didn't have the market share to sustain that kind of development for Motorola/Freescale.

The idea with the AIM Alliance was to promote a standard PowerPC platform (PReP, I mean CHRP, no PPCP, ok, maybe CHRP... ) to rival the Intel/IBM Ad Hoc standard. That was not a bad idea.

The problem was that, immediately, other comapanies did this better than Apple. Power Computing won a big chunk of the market. My company at the time, PIOS AG, launched the first 300MHz Mac Clone available. And then when SJ came back, it was curtains for the gherkins... he was the original closed, appliance computer, and it had to be "mine, mine, all mine". Of course, SJ neglected one of the main points of AIM -- enough volume to keep hardware competitive with Intel. So in 1997, it was absolutely obvious that Apple would eventually leave PowerPC. The PPC970 was nice... for about two weeks. Intel pretty much invented the way all successful modern chip comapnies work, with multiple tweaks of each technology and three independent teams always working on the Next Big Thing. So there's a new thing every six months. That's how nVidia won on GPUs... doing the Intel thing.

But these days, Apple's scared off their high end media content creation people by phoning it in on the Mac Pro. A new major upgrade every five years, whether you need it or not. They have built market share mostly from iOS coattail people... like my sister Kathy. Maybe this report is nothing, but it makes perfect sense for Apple to move macOS closer to iOS. It saves on development efforts. It lets them push out more advanced ARM tech before it's possible to make that low enough power. It will win more coattail customers. The average desktop PC user today doesn't need a faster CPU than a decent ten-year-old PC, and Apple's ARM cores are already faster than that.

Not my next computer, but then again, the last Macintosh I'd even have considered using was the one I was the CHRP machine I was developing back then Jobs put the kebash on the whole thing. Apple doesn't build serious computers today, anyway.

Comment Re:Whoa (Score 1) 513

The real problem Adobe had wasn't Apple changing processors, it was Apple not selling enough computers. At one point Apple fell to about 1.5% of global PC shipments. Adobe did what every other successful company did -- it concentrated on supporting the platform with actual paying customers: Windows.

That prompted Apple to get more serious about their own in-house professional media content creation software. And that didn't help the rift between Apple and Adobe at all. Then there was Jobs, going in full attack mode about Adobe Flash... not that he was wrong about proprietary Flash vs. standard HTML5. And Adobe didn't fundamentally care, because Flash was just a means to the end of their selling Flash development tools. But a smack-down is a smack-down.

Today, the Mac is 10% of less of Apple's business. They don't want to kill it, but it's also a ton of work compared to iOS per unit sold. RIght now they have to have several different laptops at different performance levels, they have to have iMacs, they still have Mac Pros though they only seem to sell in the first year or two of their 5-year-or-so lifespan. As that market continues to shrink, Apple's going to contiune to lose interest unless it becomes, essentially, part of the iOS product lineup.

Comment Re:does Apple's A-series have the pci-e needed? (Score 1) 513

Most embedded application processors have at least one PCIe link... no idea about Apple's, specifically, but that's a standard everyday module on the Chinese Menu of ARM components. I don't know if Apple is using AMBA/AHB for high speed internals on today's SOCs, or something else, but it's available right now up to 1024-bits wide. I doubt they'd have a performance bottleneck for laptop/desktop things.

And they're not building a Xeon or i7, either... Apple's been slowly killing off their high-end users through years of high-end neglect. They could pick up more sales, and lower development costs, by pushing the Macintosh into more of a desktop/laptop iPad Pro kind of thing... still mouse & keyboard but more like what iOS users expect. Not that I'd buy one, but I'd never buy a Mac PC either.

Comment Re:Whoa (Score 1) 513

There was never anything called "Acorn RISC Machines".

There was the Acorn RISC Machine -- the V1.0 ARM Architecture and all that began at Acorn Computers Ltd. When the CPU company was split off from the main body of Acorn, it was launched as Advanced RISC Machines, and it was a three-way partnership between Acorn, Apple, and chip maker VLSI Technology.

Comment Re:Whoa (Score 1) 513

Right. Apple currently sells around 15-20 million macOS machines a year. And they're nearly all relatively low-to-midrange PCs; the Mac Pro is chronically out-of-date. That's compared to 200 million iOS machines.

The macOS market may be relatively stable, but it's not growing. Apple spends far more effort per model on macOS systems than they do iOS systems, particularly given the large number of macOS models versus the numbers selling. If they evolved the today's Macintosh into less of a PC and more of a desktop iPad, they'd perhaps lose some or many of the remaining higher-end Mac users, but they might stand to gain a whole mess of iOS people, looking to extend their iOS experience more directly onto a more powerful laptop.

They probably could match lower-end Intel performance on their ARM chips. Apple is delivering faster cores today than anyone else in mobile. None of the other mobile ARM vendors really see value is jacking up their CPUs as much, and of course, Apple depends more on single-tasking performance in iOS than does Android. So freed of tight power constraints, they might hand you an i5-ish performance laptop or with 20 hours of battery life, or a cooler running iMac.

And sure, it might be a negotiating tactic. But they're certainly paying much, much less for their CPUs than the would from Intel's. A 20 million unit production isn't necessarily enough to really keep costs down, but they're sharing that with their 200 million unit mobile business, since both lines of CPUs will share technology. Apple doesn't have to differentiate in expensive ways; a few different packages with the same CPU but different speeds/cores/cache and they're probably filling out most of their current Mac sales.

And Apple's probably not paying much in royalties. Sure, ARM orginally meant Acorn RISC Machine, but the company was spun out as Advanced RISC Machines in a joint partnership between Acorn, Apple, and VLSI Technology. Not sure if Apple actually kept any ownership long-term, especially after the Softbank purchase. But that wouldn't have necessarily affected their long-ago negotiated Architecture License.

Comment Re:How durable? (Score 1) 160

The reason for turning off the solar energy generation is that they don't want power pushed up into the grid when the grid is down. That can cause further damage and, even worse, injure or kill the line workers trying to fix the outage.

Now, a better system does exist where it will stop pushing to the grid when the grid is down and just provide power locally. However, that has other problems since you now need to have something to handle power imbalance - you don't want to brown-out or over-voltage the system in your house so you will need a big battery (guess what Tesla makes :-) ) to deal with that. So now you have a complex switch for feeding the grid / pulling from the grid (an automatic transfer switch) and some batteries (or large capacitors, albeit at that scale they are scary) and that adds to the cost (but also gets you the grid-down benefits)

Comment Re:Wait What? (Score 1) 160

We would have been sittin' pretty with broadband wiring back when there was a government-regulated Telco, the old AT&T, had they gone ahead with the PicturePhone in the 1960s. But these days, there's no main telco, they're all private companies with only the minimal of must-wire controls. And they wouldn't necessarily solve the last mile problem in a way acceptable to any other wired carrier.

Wireless is a better possibility, but the big wireless companies, the ones with the existing infrastructure here, are used to absolutely raping their customers over data use. They apparently make far too much money there to consider at proper home broadband open a worthy goal. For one, they'd have to offer you 10-50x the monthly data cap at higher speeds for less money, or they'd be clobbered anytime a wired carrier entered the area. Concentrating on the advantage of mobile on less consumptive devices, they're maintaining those 40-50% profit margins.

Comment Re:Wait What? (Score 1) 160

Many/most of us would probably be willing to pay for the last mile infrastructure, we just do not want AT&T/Google/Comcrap/TWC/Charter to own it. The natural monopoly is primarily because of a bad funding model. These guys will all race to your house if they can be sure of perpetual domination, but are slow if there's competition.

Not so much. They'll race to your crowded neighborhood if they can have the monopoly. Maybe. Verizon froze their FiOS build-out years ago, and may be thawing that a little today, but they didn't want your business much if you weren't already covered. And if you're rural, just fuggedaboudit... they'll leave you to the savagery of the satellite carriers.

Slashdot Top Deals

Computers can figure out all kinds of problems, except the things in the world that just don't add up.

Working...