234 points · by vyrotek · 11y ago · 166 comments
I really don't understand people who want this, with closed source software the learning stops at some point, you can't learn everything about your Windows-Pi even though it was created for learning! Even the example code (read I2C temp sensor, display using webserver) they give on the home page starts with: "// Copyright (c) Microsoft. All rights reserved.". Why would you want this? Can there really be people that are willing and able to build their own IOT but do not want to learn about Linux?
Knowing about Linux doesn't mean assuming it's the best tool for the job at hand.
I've used Linux, I've installed Linux, I've fixed a couple of broken Linux installs etc. I've compiled software on Linux. I've imaged an SD card for a Pi from Windows pre-Noobs. I've installed Rasbian using NOOBS.
I've also played with Arduinos, although mainly using other peoples' libraries for time and network comms etc.
I have not, however, written any serious software for Linux and I am not a Linux developer. I mostly use VS on Windows to develop software that will end up on Windows computers to be used by Windows users.
I have the required physical equipment, software and skillset to make a solution that meets the end requirements using 10 Core on a Pi 2. I don't have that for Rasbian. I've no doubt Lady Ada has a tutorial somewhere to teach me enough to get it working, but why would I invest my time in that?
I'd be better off using the skills I already have to accomplish this task. Then learning something completely different that will allow me to accomplish an end result I can't presently achieve.
At some point they might get curious and try Linux on it as well, but I'm all for whatever makes it easier for someone to get into trying something new without a lot of burden. For some people that means using Windows so they can use the platform and tooling they're most familiar with (Visual Studio and .net).
Yes, there's mono and such, but even that still brings its own complexity when you actually consider what else it takes to get set up and going for someone that's never used Linux before (or outside of some courses in college).
It's like wanting to build furniture, but then told you should plant a tree, wait for that tree to grow, chop it down, cut it up for wood, then you can start building some furniture. Most people would give up long before actually making any furniture in that case.
I previously tried Mono on the Pi and it had lots of bugs related to the processor architecture. Problems with the hard float support stopped things like Datetime from working properly.
This was a while ago so I imagine it's been fixed in a recent build. It shouldn't be a problem on the newer architecture of the Pi 2 either.
I think it's better to bite the bullet and just learn Linux and Python. You can then add those skills to your CV along with Windows and C#.
Absolutely, and especially in corporate environments. I'm not saying Windows 10 IoT is any better (I think it's very unlikely to be, but I also haven't evaluated it), but I can say for certain that I wish I had a single, identical python library for any IoT platform that handled interfaces as simply as:
with pin_1 as p1:
p1.output(1)
time.sleep(2)
p1.output(0)
Now, there are some libraries that approach that level of simplicity once you have your system configuration set up, but that doesn't lend itself to agile development. I want something that works like that out-of-box -- flash it, load code, press go button -- which simply doesn't exist. And, after spending a lot of time writing my own hardware IO library using direct memory access in Python, I don't think there's an OS out there that's capable of doing it (yet). I've spent just way too much time accommodating unfortunate abstractions taken at the linux kernel level (that I understand for historical reasons, but disagree with for future ones). An operating system for IoT done right is, in my opinion, a very lightweight exokernel with some really smart abstractions that just gets out of your way. Then you need a clever (and native) secure networking system, and you're in very good shape. void loop()
{
digitalWrite(ledPin, HIGH); // sets the LED on
delay(1000); // waits for a second
digitalWrite(ledPin, LOW); // sets the LED off
delay(1000); // waits for a second
} from time import sleep
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(2, GPIO.OUT)
while 1:
GPIO.output(2, False)
sleep(2)
GPIO.output(2, True)
Perhaps I'm not understanding what you want exactly, you seem to know what you're doing.Why would I put an OS on a computationally constrained device that is essentially guaranteed to spend a portion of the CPU time doing things I likely don't want done, for someone else (Microsoft in this case)?
My experience with Linux on the Pi is that it just works out of the box. Simple things that you need to install a driver for on Windows are plug and play on Linux [0].
I installed the desktop Windows 10 preview just to flash the SD card. Although I read in the Mag Pi [1] that there is a Python script [2] to convert the image to a normal format.
I'm a big fan of C# and I'm a professional .NET developer. It's my go to stack. Yet, I believe that the best way to use a Raspberry Pi is with Python on Linux.
[0] https://unop.uk/dev/raspberry-pi-electricity-monitor
Granted, if you go through the developer site, it points you towards installing what you need to develop software for it. shrug
Then flash it with your normal tool such as dd or Win32DiskImager.
In case you're interested: https://github.com/lawl/Win10IOTRaspberryUnpacker
That requirement itself is a big step:
There must be something about their business model I'm not getting. Going to microsoft.com with the intent of buying Windows to install it on a naked PC or in a VM on OSX, I have yet to identify an option that allows me to: 1) buy a license, 2) download an ISO image.
The closest solution I've seen is to download some exe file that presupposes that I have Windows installed somewhere so I can....do god knows what to get an install going.
I know what I came to the site for. Instead the site spends all its energy on selling me on the idea of Windows and then fails to sell me the product.
Consistently.
For years.
Why? Do they not want my business? Is it really so horrible to sell their product to someone who wants to run their OS under VMWare?
This is neither hyperbole nor gratuitous negativism, but Microsoft is perhaps the worst company to buy a product from online. Microsoft fixing this is the litmus test for when they might, and I would like to emphasize might, be able to stop sucking.
Windows is only £80 or so and there was a big button on the nag screens that took me to the Windows site to buy a licence. Great - credit card in hand I clicked on through and was instantly greeted with buy Windows 8.1 screens.
The problem is, I absolutely did not want under any circumstances to install 8.1. I just wanted a legit licence to the already installed 7, which the computer was quite happily running and required no learning/explaining of metro to my mother.
For nearly 1 hour I tried to find a way to buy that Windows 7 licence key and found absolutely no way to do it.
That has been known to happen [1] (it's never happened to me personally). I suspect it has something to do with buggy AV or anti-malware software.
> For nearly 1 hour I tried to find a way to buy that Windows 7 licence key and found absolutely no way to do it.
You don't have a Best Buy type store near you?
[1] http://www.infoworld.com/article/2859267/operating-systems/w...
Not really, they want the business of IT departments of medium/large companies, running full Windows stacks (Windows Enterprise, Office, Windows Server, MS Sql Server, Exchange), which buy licenses by the dozen (at least) through their purchasing department.
It's how they make(a lot of) money.
My guess they did that because it's probably just like BartPE or other PE products - it copies files from the underlying OS.
> Is it really so horrible to sell their product to someone who wants to run their OS under VMWare?
There is nothing stopping you from running Windows in a VM - millions of people do it all over the world.
Still it is a step in the right direction for Microsoft. I am happy to see them doing such things. Competition in the IoT space is a good thing for all.
I agree, too -- and this phrase has been on the minds of people while installing Microsoft products for decades now. It's in their DNA somehow, it seems.
> Developers, Developers, Developers
I've always cracked up whenever I see Ballmer's developers video, so I was pretty happy that Microsoft's IoT team has a sense of humor and was able to get that approved (if they had to)
reference if you haven't seen the original Ballmer video: https://www.youtube.com/watch?v=Vhh_GeBPOhs
So, for how long can you run a RPi 2 from a CR2032 cell or an AAA battery? A minute or two on full bore? Because that's the kind of energy budget people are generally talking about when they mean internet of things.
The RPi2 is a fully-featured media center, not a door lock or light switch or power sensor.
I guess the problem for Microsoft with the whole IoT thing is simply that they will never have Windows there, the devices you actually use for IoT measure their RAM in KiB. And, frankly, operating systems are very far down the on list of things we need to make IoT a reality.
Maybe I'm wrong, but I think some credit is due
I'm a little confused as to what Windows brings to the table for embedded devices at this point, especially screenless ones.
If you've never really used Microsofts tools before and all that you've heard about Microsoft has originated from the crowd that hangs out at HN, you can be forgiven for not knowing that they make very fine quality tools.
The tools might be great, but I don't ship tools. I ship applications that need good solid runtime libraries.
Win10 might be a fresh start and that's all well-and-good. But I'll believe it when I see it. Slapping on a buzzword like "IoT" won't change things. I develop lots of IoT stuff and I see no reason to go near Win10.
The flavors of Windows that you mention are part of a longer term story, and are really just two operating systems: Windows CE and Windows NT. Windows CE was important for targeting the small devices of the 90's era in which it was developed. Now we can run NT on the 'small' devices that we have today. I think that's pretty cool. Now we have Linux and NT (and FreeBSD, etc.) and we have more choices.
EDIT: Phrasing
http://blogs.msdn.com/b/visualstudioalm/archive/2014/11/12/i...
https://www.visualstudio.com/en-us/features/msft-android-emu...
(used by a lot of Ford cars)
https://wiki.ubuntu.com/ARM/RaspberryPi
Ubuntu Snappy Core (also marketed for IoT)... mmm not so much great. IMO still few community and howtos for building your snappy apps (even Raspbian is better)
So no - there is no good reason for making Win 10 essential, beyond corporate dementia.
Seriously. Why on Earth does MS seem to think there's going to be a stampede to install an OS that doesn't do anything outstandingly special, has a high cost of entry (in time and effort, if you don't want Win 10) and is already competing with a good few established contenders?
Windows 10 IoT Core doesn't have a shell. It's only worth putting on the Pi if you have a Windows 10 app developed for it.
Well if I can get flash and silverlight to work, that would make my raspberry pi Media Center complete. When you work with raspberry pi you will realize how limited it is. Even most popular programs that work with Ubuntu does not work with it. I still can't even a decent browser on it, and by decent I mean something that only uses up < 80% CPU.
The hardware compatibility part of the release notes look like a bad linux install from 1995, which is pretty funny.
I've got beaglebones and RPis that I'd love to give Windows 10 a play on, but they've shot themselves in the foot by supporting such a small part of the hardware market.
I've been a microsoft fan for a long time, I have a Windows 10 laptop, Windows Phone, and want to at least give them a try for IoT (though I have no problem with my linux installs), but I think they've lost me on this one.
Who thought they could come into a market which is well served by the linux community, offer very little if anything compared to what is already available, make it difficult to install, have it work on a small subset of hardware, and make it a success.
I don't understand Microsoft's strategy here at all!
(of course we rolled our own :))
http://forums.ni.com/t5/LabVIEW-Idea-Exchange/LabVIEW-for-Ra...
you're right tho, most tools from win32 won't work.
It's a trap!
edit: oh no, I've run afoul of the Broadcom shills. Oh well.
I'm not encouraging any particular software package, simply correcting a misconception.
Maybe I'm wrong and they mean a person or organization, in which case I'm not sure who they mean. Windows does not appear on the official Raspberry Pi website front page or blog.
But I have zero interest in migrating any of my perfectly fine Windows 7 systems to Windows 10. Other than a shiny "FREE!" sticker, I have yet to see a compelling case for me to upgrade.