News for hackers. Stuff that matters.
Re:Windows 10 for Raspberry Pi 2 by ekr on Monday February 02, 2015 @06:51AM (#8983743)
Now, while legally, you are perfectly right, Windows is as close as ever, it's not actually that hard to look under the hood.

I work as a Windows device driver developer, and sometimes I need to reverse engineer some of the internals, and the source code from WRK is easily available on the internet : (http://gate.upm.ro/os/LABs/Windows_OS_Internals_Curriculum_R...). These are sources from 2005-2006 timeframe, but they are tremendously helpful when debugging. If you compare the disassembled version of an exported function from the Win 8.1 ntoskrnl, in most cases it's almost identical to the sources in those links. Of course, there are a few parts of the system which suffered changes, but nonetheless, it can still be very useful.

I would also recommend it for studying operating systems, but obviously, along side something else. Let's say after starting with XV6, or Pintos, Minix, then moving on to NetBSD, Linux, only after that having a look under the hood of Windows, to see a slightly different approach.

There is also the 'Windows Internals' book, but I never found it too useful. Describing concepts without any source code, and without a view to the implementation is not very helpful for me.

But I completely agree with you, personally, I would never use Windows if I wanted to play with it, I only use linux and bsd at home.

Re:Windows 10 for Raspberry Pi 2 by anom9999 on Monday February 02, 2015 @08:42AM (#8984077)
> I would also recommend it for studying operating systems

Perhaps not if you plan of contributing code to any open source OS. Practices like this can leave projects exposed to intellectual property violations.

This is why reverse engineering usually requires more people, each who isn't privy to the previous persons source material.

Re:Windows 10 for Raspberry Pi 2 by rburhum on Monday February 02, 2015 @10:27AM (#8984587)
So basically, you can set the example for kids to not give a crap about IP and that it is OK to study/do whatever they want with something they find online. Nevermind that because they have not signed the MS agreement it is basically stolen property.

I see somebody mirrored it already.

Re:Windows 10 for Raspberry Pi 2 by userbinator on Monday February 02, 2015 @10:59AM (#8984769)
Given that one of the core principles the hacker culture was founded upon is "knowledge should be free", I think setting such an example is clearly in the spirit of encouraging such a culture.

Unfortunately the average kid is likely not going to discover such things on the Internet, and even those who pirate tend to be more interested in far less educational content... I think it's somewhat sad that, despite the various file-sharing/peer-to-peer systems that have appeared making it easier than ever to share lots of content, and build something akin to a massive distributed library, the majority just use them for entertainment.

Re:Windows 10 for Raspberry Pi 2 by gue5t on Monday February 02, 2015 @10:34AM (#8984619)
That benefit doesn't seem like enough to offset the fact that they'll be running an OS which is very difficult or impossible to actually modify for use. Any changes made would amount to a fork with one of the worst possible merge workflows; for beginners an open-source environment is much easier to start modifying, and for the more experienced it's much more productive to modify an environment that has a responsive upstream.

Really, we shouldn't encourage kids to waste their time on operating systems whose developers are hacker-hostile.

Re:Windows 10 for Raspberry Pi 2 by tracker1 on Monday February 02, 2015 @12:06PM (#8985208)
That assumes you can't do anything useful ON an operating system without changing the underlying system. I've never changed linux or osx either, but I find I can do a lot of useful things on them.

It hasn't been as common for a while, but I remember using a litestep ui in the win2k era... actually like the Windows 7 desktop/menu/toolbar interface a lot.

Beyond the UI on top of the underlying OS... I'd say that most software development is business processes, which can be handled in pretty much any operating system and higher level language on modern hardware/software that costs a lot less than the time used to develop said software. Yes, performance matters. Yes, there is a need for open platforms. However, good enough gets the job done most of the time.

I mention this as someone who really doesn't want to deal with the underlying hardware any more than I need to. I have no interest in writing or debugging drivers or system libraries. I do like writing useful, and sometimes not so useful things on top of other tools. If I can do that in node.js, c#, go or other languages that makes me happy. It also makes me frustrated when I need to do something in Windows that's far easier in Linux.

Re:Windows 10 for Raspberry Pi 2 by fsloth on Monday February 02, 2015 @12:32PM (#8985379)
"That benefit doesn't seem like enough to offset the fact that they'll be running an OS which is very difficult or impossible to actually modify for use. "

That's a bit harsh. The point of OS is to provide a computational platform for higher level computational stuff like arts and science. It would be a dark world if everyone just tinkered with OS kernels (while it sure is nice some people do).

Re:Windows 10 for Raspberry Pi 2 by qb45 on Monday February 02, 2015 @12:45PM (#8985464)
Are Snowden's files a stolen property of NSA?
Re:Windows 10 for Raspberry Pi 2 by geofft on Monday February 02, 2015 @01:12PM (#8985650)
The NSA is a federal government agency, and as such, its works are not subject to copyright. Snowden leaked only public-domain information.

(Ask an irrelevant question, get an irrelevant answer.)

Re:Windows 10 for Raspberry Pi 2 by higherpurpose on Monday February 02, 2015 @10:51AM (#8984725)
And only until Microsoft turns a blind eye. Anyone remember what happened to the WP7 "ROM unlocking" guys? Microsoft bullied them with legal action, and then they announced some kind of "partnership" where the project they were doing for free before now cost $10...and it quickly disappeared.
Re:Windows 10 for Raspberry Pi 2 by trentnelson on Monday February 02, 2015 @07:44AM (#8983879)
> http://gate.upm.ro/os/LABs/Windows_OS_Internals_Curriculum_R...

Oh my. Aaaaand, mirrored. There's also this, which seems about the same level of should-this-actually-be-publicly-available: https://github.com/njdragonfly/WinNT4

Re:Windows 10 for Raspberry Pi 2 by slipstream- on Monday February 02, 2015 @08:00AM (#8983929)
Wait, someone put the (partially-)leaked NT4 src on github of all places? DMCA takedown from MS in 3...2..1...
Re:Windows 10 for Raspberry Pi 2 by rey12rey on Monday February 02, 2015 @08:26AM (#8984011)
It's been there since 2011
Re:Windows 10 for Raspberry Pi 2 by trentnelson on Monday February 02, 2015 @01:36PM (#8985829)
I know right, at least make your repo private ;-)

(I was more surprised that this source dump doesn't seem to line up with the "Windows 2000" source leak that can be found if you look hard enough. Very peculiar.)

Re:Windows 10 for Raspberry Pi 2 by Mahn on Monday February 02, 2015 @08:34AM (#8984044)
> and the source code from WRK is easily available on the internet : (http://gate.upm.ro/os/LABs/Windows_OS_Internals_Curriculum_R...). These are sources from 2005-2006 timeframe, but they are tremendously helpful when debugging

What's the story behind this? Did Microsoft willingly open source parts of its Windows kernel?

Re:Windows 10 for Raspberry Pi 2 by ekr on Monday February 02, 2015 @08:46AM (#8984090)
No, Microsoft has this Windows Research Kernel they offer to universities and other organizations under a certain strict agreement. This particular site probably has no idea of what access control, or directory access rights mean, so it's easily accessible for anyone.
Re:Windows 10 for Raspberry Pi 2 by rbanffy on Monday February 02, 2015 @09:55AM (#8984398)
I would regard this as poisonous in terms of IP.

If you read that code and then contribute to an open source project (or even your own) and Microsoft finds out and tags you as foe, you'll be in a very bad position.