Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:It depends (Score 2) 486

Even if you wrote this in C in the style in which they did it the program would be slow. Since there's no way to "extend" a C string, it would require determining the length of the current string (which involves scanning the string for a null byte), malloc'ing a new buffer with one more byte, copying the old string and then adding the new character and new null byte. Scanning and copying are both going to require an operation for each byte (yeah, it could be optimized to take advantage of the computer's word length) on each iteration, with that byte count growing by "1" each time.

Actually, you can "extend" a C-style string just fine in C - just replace the NULL byte with another byte. It's a common error in C programs to miss the NULL byte.

This works because C doesn't do boundary checks and will gladly let you overwrite your stack or heap.

Unlike Java, C doesn't try to protect you from yourself.

Comment Re:More important to me (Score 1) 193

What about all the PCs that were shipped with valid licenses, but for whatever reason, techs (such as myself) have had to install a fresh copy of Windows on the box. Could be a failed drive, or other failed hardware, or whatever, reason doesn't matter too much. The point is that it shipped with a legit copy of Windows, and often times doesn't have a recovery disk or an OEM copy of Windows. What are we supposed to do then as techs? Tell the customer "SUCKS TO BE YOU" or "GOTTA PAY FOR THE THING YOU ALREADY PAID FOR, AGAIN" - or just suck it up and install a "non-genuine" license key on the box? Are these users totally SOL out of having a genuine upgrade to Windows 10 because the previous version of Windows that shipped with the system became broken?

Because in that case you should call the computer manufacturer and get a copy of the installation disks to restore onto the new drive with.

While I'm aware most people don't, if I was buying a Windows computer, I wouldn't buy it without the restore disks for that exact reason. HP charges $19 for the disks; BestBuy will make the disks for you for a small fee too.

In the end, there is zero reason to have to re-buy the Windows OS in order to help your customers.

P.S You can only use an OEM License with an OEM installation; so a Retail installation set won't work with the OEM license on the box. If you're a support shop then you should have a copy of the OEM installation for your own uses any way. That's just good business. If you're doing it on your own for Friends and Family, then just take the extra time to get it from the OEM (e.g HP, Asus, Lenovo, etc) when you run into the issue.

Comment Re:This is pretty common. (Score 1) 193

I've never used phone support, but yes they do offer it for Office and Windows, I'm pretty sure it's free, but time / case limited.

Not sure about Free; though they could have changed policy since last I checked (late 1990's) when it was:

  1. First 2 minutes were free
  2. $99 USD per minute after that

There's a reason why no one calls MS for support outside of Partner agreements, MSDN, etc. ;-)

Hopefully they've changed the policy since then.

Biotech

Scientists: It's Time To Resolve the Ethics of Editing Human Genome 299

An anonymous reader writes: We've previously discussed a system called CRISPR-cas9, which is dramatically reducing the cost and effort required to do gene editing. In fact, the barrier to entry is now so low that a group of biologists is calling for a moratorium on using the method to modify the human genome. Writing in the journal Science (abstract), the scientists warn that we've reached the point where the ethical questions surrounding DNA alteration can be put off no longer. David Baltimore, one of the group's members, said, "You could exert control over human heredity with this technique, and that is why we are raising the issue. ... I personally think we are just not smart enough — and won't be for a very long time — to feel comfortable about the consequences of changing heredity, even in a single individual." Another group of scientists called for a similar halt to human germline modification, and the International Society for Stem Cell Research says it agrees.

Comment Re:So easy to find (Score 1) 132

Just scanned the /16 next to my home broadband and found a number of repeated certificate hashes and all belonging to systems identifying themselves as

*.myfoscam.org/organizationName=ShenZhen Foscam Intelligent Technology Co,Ltd

Seems to be a network enabled camera.

Which is why I don't allow them out of my local network, and never setup their "remote access" functionality. in fact, it's explicitly disabled.

Comment Re:Maybe in a different country (Score 1) 498

The Founding Fathers would not have allowed home inspections of firearms.

Yet wrote and passed the Alien And Sedition Acts. Owned slaves, and did other things that he modern revisionists ignore when quoting WWtFFD

No, I'm not ignoring any of that. Just pointing out that with respect to the OP of this thread which remarked about having people inspect the safety of the firearms (f.e kept in safe, trigger locks, etc) that that would have never flown with those who wrote the Consistitution - namely because they did have to live with some of that under the English Rule where soldiers could decide that you or your property needed to be searched for whatever reason they came up with. This is explicitly why we have the 4th Amendment (no Warrantless Searches) and limits on Property Seizure.

It was a civic duty to have a firearm to start with as that qualified you to be part of the militia (even if you didn't have a firearm you could still join, but then you had to find someone to give you one).

I've never seen that requirement in the definition of "militia". And your wording is odd. You must either have a firearm or have a firearm (by gift/loan) to join the militia. Seems it would be easier to say "must have a firearm to be a member of the militia." Though the current definition has no relationship to armament. And it's impossible to find a good 1776 definition, as they are all tainted by the modern gun rights war (one way or the other).

Look at how people fought at that time. If someone wanted to join in, they had to be able to fight. That typically meant they had to bring their own weapons - the military generally did not provide one for them. This was true even in the Civil War, though by that point the military did start providing some as there was more funding towards it. If you didn't have one, then you had to "borrow" one from someone else who had more than one available.

If you could't fight, or couldn't arm yourself appropriately then you were of little to no use in the militia; though you might have gotten deployed for recon, scouting, or other intelligence operations.

Comment Re:Maybe in a different country (Score 1) 498

So that brings me to how I feel about people that would use guns to harm themselves and others. Neither the protection of criminals nor the suicidal is justification for "reasonable" restrictions on anyone's rights. It's not that life isn't precious, but why should we protect those who do not value it at all?

While IANAL, in the US the legal issue is basically that you cannot remove a right (must less one specifically called out in the Constitution) to protect the minority, if only (at minimum) inconveniencing the majority.

The Founding Fathers would not have allowed home inspections of firearms. In their minds, it was not the government's business how many or what kind of firearms you had. It was a civic duty to have a firearm to start with as that qualified you to be part of the militia (even if you didn't have a firearm you could still join, but then you had to find someone to give you one).

Comment Re:Shouldn't they be after Google? (Score 1) 148

Settlements don't establish precedent.

No they don't. But they work well to load the coffers and scare everyone else into paying up, especially when the other party is gagged on the topic as part of the settlement, which is what MS tends to do - so even if they pay out (B&N) then the other party can't counter MS's story as to why, etc.

Comment Re:Shouldn't they be after Google? (Score 1) 148

Surely they have to tell the court what patents are being infringed in order to get an injunction? Does this case reveal it? I couldn't find any information though.

May be, may be not. Even so, they could do so by sealing the filing so only the parties in the case can read it; all it takes is for Microsoft to claim trade secret, harm to its business, etc for that to happen. And the judges in Seattle (or WA for that matter) are typically in their back pocket for one reason or another - it's a very friendly state towards MS, but then, MS pours a lot into funding various public things (f.e education) there too so there's the whole "don't bite the hand that feeds you" thing going on there.

Power

MH370 Beacon Battery May Have Been Expired 178

New submitter Limekiller42 writes Malaysia's transport ministry released its preliminary report on the disappearance of MH370 that disappeared almost a year ago during flight and has yet to be located. The report states that the maintenance records for the solid state flight data recorder underwater locater beacon [indicate that its battery] expired in December of 2012 and there is no evidence it was replaced prior to aircraft going missing.

Comment Summary a little misleading... (Score 0) 188

Reading the FAQ and TFA, this is more about BusyBox than the Linux Kernel.

And well, anyone dealing with a proprietary product should know better by now than to include BusyBox in their product without also providing the code for it as BusyBox has a very good history of winning court cases of this type.

Now, while the initial thing was regarding BusyBox, they are also trying to go and push against Tivoization with GPLv2 trying to gain access to "vmkernel" from VMware ESXi. Linus has had a long history of allowing Tivoization, so that might not get through the courts so clearly, but it's a second prong of attack they are using. Expect nVidia and any other proprietary driver maker to possibly join in on that prong - whether arguing for VMware's position or trying to curtail a court ruling that would expand beyond this particular case (since it's basically about an ESXi OS that uses Linux in some form) from impacting other driver manufacturers (f.e nVidia) that simply provide a binary blob for use with their hardware to customers. It should be pretty easy to make the differentiation between the two groups; but you never know what a judge will do.

IANAL, but that's what I see.

Comment Re:Installation on what machine? (Score 2) 188

But does it include "compilation and installation" on the end user's machines, or only on developer hardware available only to a select few? The latter interpretation leads to the Tivoization loophole in the GPLv2. GPLv3 tightened this by defining "Installation Information", its counterpart to GPLv2's "scripts used to control [...] installation", to require that execution be possible "in that User Product" if the work is designed for a consumer platform.

Well, having used VMware Workstation 8 and 9, I can was able to download and modify the Linux drivers provided by VMware, necessary to fix some kernel related bugs (http://clocksmind.blogspot.com/2013/04/vmware-workstation-8-and-linux-kernel-38.html) as kernels changed over time but VMware simply didn't keep up with compatibility.

So frankly, I'm a little surprised but then, may this is for a different edition or something.

Comment Re:FEO (Score 1) 375

"Fact optimization" is already behind more than one multi-billion dollar industry: advertising, political lobbying...

And this is why I fear this initiative, no matter how well intentioned, is doomed to failure. Just because something gets repeated a lot, that doesn't make it factually correct. Moreover, censoring dissenting opinions is a terrible reaction to active manipulation and even to old-fashioned gossip, because it removes the best mechanism for correcting the groupthink and promoting more informed debate, which is introducing alternative ideas from someone who knows better or simply has a different (but still reasonable) point of view.

Remember, not so long ago, the almost-universal opinion would have been that the world was flat.

My advice to save a lot of time and effort, Do not let republicans, terrorists, the religious, anyone connected with the oil companies or climate change deniers anywhere near this technology ever!

Or the democrats, liberals, communists, facists, socialists...

oh, wait...is there anyone left to use the technology?

Slashdot Top Deals

Lots of folks confuse bad management with destiny. -- Frank Hubbard

Working...