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

 



Forgot your password?
typodupeerror
×

Comment $600 billion, but still a problem (Score 2) 917

First, Felix Salmon says USA Today's numbers are wrong, and student loans are around $600 billion: http://blogs.reuters.com/felix-salmon/2011/10/19/fact-and-fiction-about-student-loans/. But it still is a big number.

Here's the current system: if someone with a pulse wants to go to a for-profit school, he will get in. He will pay high tuition, almost all covered by student loans. He gets a worthless degree and cannot get a job. But federal student loans cannot be discharged in bankruptcy, so his life is now ruined.

There's some blame to go to the student, he should have known better. But chances are this is a young kid, and his first exposure to the adult world is a recruiter telling him he's smart, he's going places, he just needs to graduate college, preferably this really expensive for-profit school. He's been preyed upon as well. And this used to be considered fraud, preying on vulnerable people. If a guy went around to old ladies selling them useless junk, we used to toss him in jail. I'm not sure why our attitudes have changed.

I think federal student loans need a major overhaul--right now, it's a huge giveaway to the banks and for-profit schools with students as victims. Limit federal loans to for-profit institutions to 50% of non-profit tuition (it can go higher based on merit), and force for-profit schools to be accredited every year. Just somehow change the incentive system to reduce the number of non-qualified kids funneled into expensive and useless programs. Change the law so that student loan defaults impact the school they went to: say, reduce loans in the future, with no more student loans to that school if the default rate tops 15% (or whatever number makes sense).

This is another bubble, and the popping of it will be another huge blow to the economy.

Also, kids need to told loudly: getting a degree from a school not competitive in the field is not worth anything more than going to your closest state school. Expensive schools that aren't competitive to get in are just a place for rich kids to go get drunk. Don't take out loans to go to those schools!

Comment Unix changed computing (Score 1) 725

Unix began the commoditization of minicomputers. With Unix, you could run your application on many vendors' systems, choosing which one you bought this year based on price and performance, not because you were locked in to the vendor you bought last time. This opened up computing to be much more competitive, and was a great benefit to all users. This change affected technical computing very quickly, but took a while longer for business computing.

C is a very clever language, and Unix even more so. Both assume the least-common denominator in hardware, which was a very smart decision. I still remember the awe I had of Unix when I first logged in on a teletype in 1980 to play Adventure and Hunt the Wumpus. Very little else from this era has endured as well as C and Unix.

Thank you, Dennis.

Comment Re:arm vs x86 (Score 1) 167

Code size doesn't really apply--this is a discussion about Linux. If you're running Linux, you're not counting KBs. Maybe you're counting MBs. You may only be counting GBs (the smallest iPhone was 8GB). And ARM does provide a timer, interrupt controller, and memory controller. Not all customers use them, and only the interrupt controller has a generic "architecture" which could be said to apply to any interrupt controller. It's ironic, though, since I think everyone uses the ARM interrupt controller in any case.

It's basically ARM's fault. ARM has a predilection for leaving specs more vague than they should, and then making minor improvements that aren't backwards compatible at the OS level with each new CPU generation. User-level code tends to be backwards-compatible at least. As an example, they changed the page table format between ARMv6 (ARM11xx series) and ARMv7 (Cortex series). ARM's move to multiprocessors is new and its not clear the current OS-level view will change in the future. ARM also only documents the CPU and the IP they provide (interconnect, a memory controller, an L2 cache controller, and an interrupt controller). There is no larger system architecture, like x86 has, not even a de facto one. The x86 architecture is basically PCI based--generally, all devices appear in PCI space, with a BIOS interface for OS'es to use to discover memory layouts. The x86 world was crazy before Pentium and PCI came along, and then very stable since then.

Part of it is Linux's fault. If Linus had a distaste for #ifdefs, and instead required patches use if()/else, then vendors would be forced to adopt a more common architecture. As it is now, the vendors push their incompatibilities into huge patches in Linux, at no real code size or speed cost when run, but complicating Linux with very complex #ifdef mazes. Basically, Linux pays the cost of everyone doing something different.

So, if your CPU vendor requires pretty deep OS changes for each CPU, there's no incentive for licensees to create a system architecture so that the old OS runs on new hardware. If ARM were to accept running old OSes on new hardware as a requirement, they would have to create a system architecture. Just having a standardized memory layout would be a nice start. Having hardware be more self-descriptive could be done very simply and cheaply. PCI is probably not the best choice, but having hardware have the equivalent of Vendor/Device ID that was globally unique, and a way to find peripherals would be a start. It's just that ARM doesn't care, and probably won't care until its customers demand it to care.

Comment Re:Hmm. That reminds me of Snack-Man (Score 1) 113

Thanks, it was fun diversion. I don't mind the NOM NOM sounds, but perhaps they could be at a softer volume compared to the other sounds.

As for difficulty, it feels a little like the ghosts are ignoring me much of the time. I think your post was trying to say the ghosts have line-of-sight? So they don't head for me until they see me?

I like the idea of the walls which you can only go through in one direction, but the ghosts can go through in either direction.

Comment Re:Trustzone lockdown? (Score 1) 79

The Trustzone CPU hardware is documented in the ARM Architecture Reference Manual v7-a (yes, the ARM ARM). This manual is free, but requires registration at the ARM website, and you may have to explain why you need it (I did when I downloaded it 2 years ago, and it's not easy to tell if that's still the case or not). It is not under NDA, but you have to agree to some terms, such as I can't make a CPU and say it is an ARM CPU. As far as I know, all ARM instruction set references are under this type of registration protection now (although that wasn't always the case).

The CPU resets to secure mode. It's then up to the boot firmware to decide whether to go through the effort to set up the non-secure domain, or just stay secure when the OS is loaded. In general, the OS doesn't care. But some CPU registers are locked down and cannot be changed from non-secure mode. It's generally easier to stay secure since less has to be initialized, and you don't need hypervisor code, even if it's a trivial implementation.

What I suspect TI is doing is they have some "interesting" hardware which they don't want ordinary users to be able to see. Rather than providing their own hardware protection (write-once to disable, for instance), they rely on the CPU security model to hide it. And that's a problem for me. I don't care about their special hardware, but I care that certain CPU registers are locked down because of their design choice.

Comment Trustzone lockdown? (Score 4, Interesting) 79

I've bought about 5 different ARM-based development boards over the past 2 years.

One big issue is ARM CPUs have a security feature called TrustZone which can run an OS with privileged code, but still restrict some hardware to only "secure" software (basically, a hypervisor above the OS). Unfortunately, for example, TI in its OMAP platforms has decided to force Linux to run non-secure always in the cheap development platforms. This is a problem for me since I want to be able to change those registers, and in some cases ARM CPUs have a variety of bugs which require setting workaround bits in CPU registers which cannot be changed by non-secure code. And of course those bits aren't set.

This problem affects the PandaBoard, Beagleboard, and a Zoom board I got from LogicPD with an OMAP chip. All use TI OMAP chips, all boot Linux in non-secure mode. I've been happy with a board I got from Freescale, the MX.51, which lets me run secure code just fine. Unfortunately, Freescale development boards are around $1000, and these TI-based boards are around $200.

So, does anyone know how Samsung is going to handle TrustZone--will Linux be able to run in secure mode?

Software

Getting Through the FOSS License Minefield 96

dotancohen writes "Here's an exercise: Write a GPLed server for solving Freecell that the graphical game would communicate with using TCP/IP or a different IPC mechanism. Easy, right? Except for that pesky licensing bit. Our own Shlomi Fish gives an overview of the various options in picking up a licence for one's FOSS project, and tries to give some guidelines choosing one."

Comment Some attack suggestions (Score 1) 175

I browsed the PDF, and it seems they have some trampoline code in the first 64KB of memory that has unsafe instructions that allow that code to do more dangerous things. The idea is that the untrusted code can only interface with the trampoline code, which checks that nothing funny is going on, then it interacts with the real OS.

I see a primary weakness is that they support threads. Start a thread, and have it try to interfere with another thread calling the trampoline code. Basically, mess about with the "stack" trying to get it to jump to a non-32-byte boundary. The trampoline code seems to be a very weak spot, and attacking it seems like the easiest area to go after. It's very difficult to make the trampoline code safe from attacks from other threads in the same address space (it actually may not be possible to make it bullet proof). Try to attack the trampoline to make failing security checks into passing ones--the idea is the trampoline code has to store data somewhere--just try to modify it.

I think they may have some weaknesses in mmap, mprotect, etc.--they need to check these calls very carefully. Try to remap the trampoline code to another address (which would then be vulnerable). Try to map in a library over the trampoline code. The PDF itself said they check open() carefully, but then not read()...this shows they are probably being too clever and not defensive enough.

Another area is create races--is it possible to provide one copy of the code to the checker, and another copy actually gets loaded into memory? This is surprisingly difficult to get right, but depends a great deal on how they load code (or, rather, how the code is presented to them in the first place, I guess by a browser).

Note that any check the trampoline code makes might be bypassable by a clever thread, which changes the data after the sandbox check is complete but before the OS call is made. OS calls which take in buffers probably don't "snapshot" the data to protect it being changed by threads, so there may be a large window in which threads can break the sandbox security (the security check passed, but then a thread changes the data to unsafe values before the OS acts on it).

And of course, try to break out of the sandbox by exposing OS-level bugs or just extreme events such as opening too many files, overflowing structures, to create a way out of the sandbox.

If you have time to try all of the above, enjoy your $512.

Comment Re:There is a reason (Score 1) 633

This is called "clean room" engineering.

However, it is my understanding there is no settled legal basis for this extreme view. Can you cite any court cases where copying concepts from code was considered illegal even though the copy differed significantly? And where it was ruled that a clean-room technique would have been valid?

I think the closest analogy which seems pretty settled is book authorship. If I write a book about a girl, her dog, a scarecrow, and a tin man heading to Oz to meet a wizard, etc., then I have a good chance of losing a copyright infringement claim by the owners of the Wizard of Oz. Even if I didn't read the book, and if only a 3rd party told me the broad outline of the story. Unless it's funny. (Which is true--parody is an exception).

However, lots of people write books inspired by other books, even "borrowing" characters, and generally this is OK. It doesn't matter whether you read the book or not, or whether some 3rd party told you the story.

It's funny.  Laugh.

Submission + - Man With Missing Brain Employed As Bureaucrat

mbstone writes: "In a medical story to be published in next week's Lancet, doctors say a 44 year-old French civil servant leads a normal life despite CT and MRI scans that show that his brain is 'virtually absent.' The civil servant is said to have an IQ of 75 despite his brain's grey and white matter being 'completely crushed against the sides of his skull.'"
Education

Submission + - Would you buy an OLPC, if you had to paid extra...

VoxVeritas writes: How much would you pay for an OLPC laptop, if the extra money you paid would buy one for a worthy child? It seems to me that it would be a good way to get more machines into the hands of kids that need them by charging enough to sell them to geeks like us, so that for each OLPC sold would buy a machine for a child that needs one. Plus, imagine all the free software development that the program would get. The BBC has a pretty good article about the OLPC. http://news.bbc.co.uk/2/hi/technology/6679431.stm _ How much would you pay $200, $250, $300 or $333(if it came with a Mr. Wizard Laptop bag)?
Handhelds

Submission + - What's Keeping US Phones in the Stone Age?

knapper_tech writes: After seeing the iPhone introduction in the US, I was totally confused by how much excitement it generated in the US. It offered no features I could see beyond my Casio W41CA's capabilities. I had a lot of apprehension towards the idea of a virtual keypad and the bare screen looked like a scratch magnet. Looks aren't enough. Finally, the price is rediculous. The device is an order of magnitude more expensive than my now year-old keitai even with a two-year contract.

After returning to the US, I've come to realize the horrible truth behind iPhone's buzz. Over the year I was gone, US phones haven't really done anything. Providers push a miniscule lineup of uninspiring designs and then charge unbelievable prices for even basic things like text messages. I was greeted at every kiosk by more tired clamshells built to last until obselescense, and money can't buy a replacement for my W41CA. I finally broke down and got a $20 Virgin phone to at least get me connected until I get over my initial shock. In short, American phones suck, and iPhone is hopefully a wakeup call to US providers and customers. Why is the American phone situation so depressing?

Before I left for Japan about a year ago, I was using a Nokia 3160. It cost me $40 US and I had to sign a one year contract that Cingular later decided was a two-year contract. I was paying about $40 a month for service and had extra fees for SMS messages.

After I got to Kyoto, I quickly ended up at an AU shop and landed a Casio W41CA. It does email, music, pc web browsing, gps, fm radio, tv, phone-wallet, pictures (2megapixel), videos, calculator etc. I walked out of the store for less than ¥5000 (about $41) including activation fees, and I was only paying slightly over ¥4000 (about $33) per month. That included ¥3000 for a voice plan I rarely used and ¥1000 for effectively unlimited data (emails and internet).

Perhaps someone with more knowledge of the costs facing American mobile providers can explain the huge technology and cost gap between the US and Japan. Why are we paying so much for such basic features?

At first, I thought maybe it was something to do with network infrastructure. The US is a huge land area and Japan is very tiny. However, Japan would have lots of towers because of the terrain. Imagine something like Colorado covered in metropolitan area. Also, even though places like rural New Mexico exist, nobody has an obligation to cover them, and from the look of coverage maps, no providers do. Operating a US network that reaches 40% of the nation's population requires nowhere near reaching 40% of the land area. The coverage explanation alone isn't enough.

Another possibility was the notion that because Americans keep their phones until they break, phone companies don't focus much on selling cutting edge phones and won't dare ship a spin-chassis to Oklahoma. However, with the contract life longer, the cost of the phone could be spread out over a longer period. If Americans like phones that are built to last and then let them last, the phones should be really cheap. From my perspective, they are rediculously priced, so this argument also fails.

The next exlpanation I turned to is that people in the US tend to want winners. We like one ring to rule them all and one phone to establish all of what is good in phone fashion for the next three years. However, Motorola's sales are sagging as the population got tired of dime-a-dozen RAZR's and subsequent knockoffs. Apparently, we have more fashion sense or at least desire for individuality than to keep buying hundreds of millions of the same design. Arguing that the US market tends to gravitate to one phone and then champion it is not making Motorola money.

At last I started to wonder if it was because Americans buy less phones as a whole, making the cost of marketing as many different models as the Japanese prohibitive. However, with something like three times the population, the US should be more than enough market for all the glittery treasures of Akiba. What is the problem?

I'm out of leads at this point. It's not like the FCC is charging Cingular and Verizon billions of dollars per year and the costs are getting passed on to the consumer. Japanese don't have genetically superior cellphone taste. I remember that there was talk of how fierce mobile competition was and how it was hurting mobile providers' earnings. However, if Japanese companies can make money at those prices while selling those phones, what's the problem in the US? It seems to me more like competition is non-existent and US providers are ramming yesteryear's designs down our throats while charging us an arm and a leg! Someone please give me some insight.
Communications

Submission + - Are Mobile Phone Masts Responsible For Illness?

drewmoney writes: According to a major UK study, symptoms of illness caused by mobile phone masts is "all in the mind".

Excerpts from http://news.bbc.co.uk/2/hi/health/6914492.stm

Dozens of people who believed the masts triggered symptoms such as anxiety, nausea and tiredness could not detect if signals were on or off in trials.

However, the Environmental Health Perspectives study stressed people were nonetheless suffering "real symptoms".

Campaign group Mast Sanity "http://www.mastsanity.org/" said the results were skewed as 12 people in the trials dropped out because of illness.

Slashdot Top Deals

There are two ways to write error-free programs; only the third one works.

Working...