Live data from Hacker News

Windows 10 IoT Core for Raspberry Pi 2

blogs.windows.com

151–160 of 173 posts

Re: Windows 10 IoT Core for Raspberry Pi 2

#151
post #4

I'm curious as to the mention of a "Web Control" and how long we have to wait until we can use DirectX for graphics, seeing as I've been trying to use Pis for digital signage[1] for a while with varying results (we've since started using cheap Android boxes with great results, but I wish I had more choices). [1]: https://github.com/sapo/digital-signage-client

I had to recently roll my own signage solution and have built something I think is pretty compelling using Yocto[1]. I'm using CuBox-i devices running Linux and Midori (which is based on WebKit). I don't know if it does accelerated rendering but the boxes are much more powerful than Pis (and are a lot less dev-kit-y than Pis). If nothing else, hopefully a pointer to Yocto will be useful to you - it's pretty great. [1…

Thanks, I'll look into it. Right now the Android boxes we're using cost €50 (less if you buy in bulk) and do both accelerated rendering and HLS video, but I'm always looking out for more options.

Re: Windows 10 IoT Core for Raspberry Pi 2

#152
post #149

Earlier quoted context omitted.

I tried the technical preview of IoT core and was underwhelmed. The mouse didn't even work! It jumped around erratically making it unusable. 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 th…

It's not meant to be a desktop. It meant to be be an embedded system with no mouse or keyboard and maybe a touchscreen.

I completely get that but when the app you pushed to it requires interaction with a button then a mouse is more than just a nice to have.

Re: Windows 10 IoT Core for Raspberry Pi 2

#153
post #105

Earlier quoted context omitted.

um, really shitty platform i nwhat regard? Also, VS has had a package manager for a while and Powershell is more than capable

I don't understand the people who compare PowerShell to a CLI on Unix/Linux. They're worlds apart and not even comparable. PowerShell is like a little set of APIs you can use to get at data - nothing outside of that, play within the rules - but those APIs are pretty good when they do exist. Unix/Linux CLI is a core set of tools that get you at literally everything you could want and give you unbounded power and flexi…

"PowerShell is like a little set of APIs you can use to get at data - nothing outside of that, play within the rules "

Bullshit. It's engineering rule that all Microsoft products have all the admin capabilities exposed via powershell.

Most admin gui's are now simply a call to a powershell command.

You can pipe, and redirect input/output just like unix shells.

Re: Windows 10 IoT Core for Raspberry Pi 2

#154
post #97

Earlier quoted context omitted.

Very funny considering the uneasiness people have towards "putting Linux on a computer". For the Raspberry Pi, the reality is completely reversed as NOOBS is the absolute easiest, most convenient way to put any OS on any computer ever. 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 create…

Having worked in both Linux and Windows shops, yes, there are people that would readily use Windows on a π, because that's what they know best. Could they use Linux? Yeah, probably, they're smart people. However, that's a bunch of extra steps when you really just want to get things working and hack around on some code. At some point they might get curious and try Linux on it as well, but I'm all for whatever makes it…

You're correct about Mono being complex. It was easier to install than IoT core though. Including installing the OS first. Having a package manager like apt is a revelation coming from a Windows and Mac world.

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#.

Re: Windows 10 IoT Core for Raspberry Pi 2

#155

A robotic hockey table doesn't seem very IoT to me. I'm a little confused as to what Windows brings to the table for embedded devices at this point, especially screenless ones.

Microsoft just came out with an Android Emulator this year too. It's faster than any other emulator that I've seen and it's really well integrated with Visual Studio. 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.

Bear in mind it seems to only emulate x86 targets -and the standard Android emulator seems pretty quick when it's not having to pretend to be an ARM chip...

http://blogs.msdn.com/b/visualstudioalm/archive/2014/11/12/i...

https://www.visualstudio.com/en-us/features/msft-android-emu...

Re: Windows 10 IoT Core for Raspberry Pi 2

#156

Earlier quoted context omitted.

There's a page on my website called 'A short guide to building a gcc cross-compiler (while still remaining nominally insane)'. It's hopelessly out-of-date now, but it's still one of the most popular pages I've got. Back when I wrote it, in the gcc 4.3.3 days, I don't even think gcc had a release manager --- we're talking clean, out-of-the-box build failures here. It's gotten a bit better since then, but getting hold…

It's gotten a bit better since then, but getting hold of a gcc cross-compiler is still painfully, pointlessly hard For ARM it takes 90 seconds in Debian/Ubuntu. I posted the command right above. And the larger chipmakers will provide or point you to relevant toolsets or include them with their IDEs. Even the large independent IDE makers wrap their stuff around gcc now.

ARM is popular enough that there's a precompiled cross-compiler in Debian --- you get lucky there. It's even reasonably recent.

But there isn't a MIPS toolchain. Or an m68k toolchain. Or a sparc toolchain. Or an alpha toolchain. Or an SH toolchain. There is a Hitachi H8 toolchain, but it's based on 3.4.6. There's an MSP430 toolchain, but you don't want to use it, as it's achingly old and can brick some modern MSP430 devices. etc.

Typically, when working on an embedded device, the very first thing you do is spend far too many frustrating hours trying to beat gcc into shape, and that shouldn't be necessary. The fact that the packages for all these things aren't built and pushed to Debian automatically every time a gcc release is done indicates that something is very wrong somewhere...

Re: Windows 10 IoT Core for Raspberry Pi 2

#157

Earlier quoted context omitted.

You lost me at Eclipse being decent...

You got that right! The Eclipse comment got me to stop here…signup, and write. I have been a Wintel developer for 25 years. I make a modest 6-figure income writing C#/MSSQL apps (after years of (Clipper, C, C++ and Delphi) that run large businesses. I mainly write multi-threaded server apps (most from the ground up, not WCF/SOAP) but I do still venture into the GUI work and even WPF/MVVM these days. I prefer MSSQL ov…

Hello fellow Clipper developer :)

With a copy of Clipper and Brief[0] I used to conquer the world.

0: https://en.wikipedia.org/wiki/Brief_(text_editor)

Re: Windows 10 IoT Core for Raspberry Pi 2

#158
post #153

Earlier quoted context omitted.

I don't understand the people who compare PowerShell to a CLI on Unix/Linux. They're worlds apart and not even comparable. PowerShell is like a little set of APIs you can use to get at data - nothing outside of that, play within the rules - but those APIs are pretty good when they do exist. Unix/Linux CLI is a core set of tools that get you at literally everything you could want and give you unbounded power and flexi…

"PowerShell is like a little set of APIs you can use to get at data - nothing outside of that, play within the rules " Bullshit. It's engineering rule that all Microsoft products have all the admin capabilities exposed via powershell. Most admin gui's are now simply a call to a powershell command. You can pipe, and redirect input/output just like unix shells.

Microsoft fanboy here (and OP of this sub-thread). PowerShell is a great example of how the two camps never meet in the middle. The syntax is mind-numbingly stupid. Also it's a scripting language not a shell -- but if they called it PowerScript people would just make fun of it for being bad Python. The syntax is hideous.

And let's not talk about the shell itself which -- dear lord.

Meanwhile Unix folk will never realize how much time they waste with broken scripts that have three sets of nested escaped quotes just so they can get text from one place to another -- even though "plain text is everything" hasn't really solved problems in a robust fashion since the 80s. Add in six different variations on regular expressions, a couple Python 2 vs 3 wars, endless battles of how to handle service startup, and the the fact that basic tools like sed and grep are stuck in some BSD never-never land on the Mac and you've got yourself a real mess.

So when you're writing a script to move users, mailboxes and databases around? Maybe that PowerShell ain't so verbose after all. Better to type a little more now than deal with the pissed-off VP with an umlaut in his name later.

Re: Windows 10 IoT Core for Raspberry Pi 2

#159
post #22

Earlier quoted context omitted.

I really wish I could show about 70% of the Windows knuckleheads a few Linux tools. And I really wish about half of Hacker News would spend twenty minutes with Visual Studio and Azure. Both sides have no idea what is possible. And, no. No joke.

I use both. The friction is way lower on the Linux side of things. Sure you can knock up a 50 line powershell script to thing X but if you do it in 97 lines of python it takes less time because you didn't have to download a later version of management tooling which then required a reboot followed by half an hour arguing with script signing followed by an hour of trying to scan through KB articles to work out why your…

Visual Studio should not be crashing. Also bash scripts are famous for fucking up server instances, too. And crond, while simple, is equally deadly. Everyone's had a weird ass permissions problem there that took three nights of logs to figure out. This is general life in the trenches regardless of platform. Also, I'm certainly not a PowerShell fan but you have to admit it does bring structure to the madness.

Re: Windows 10 IoT Core for Raspberry Pi 2

#160

Earlier quoted context omitted.

You got that right! The Eclipse comment got me to stop here…signup, and write. I have been a Wintel developer for 25 years. I make a modest 6-figure income writing C#/MSSQL apps (after years of (Clipper, C, C++ and Delphi) that run large businesses. I mainly write multi-threaded server apps (most from the ground up, not WCF/SOAP) but I do still venture into the GUI work and even WPF/MVVM these days. I prefer MSSQL ov…

Hello fellow Clipper developer :) With a copy of Clipper and Brief[0] I used to conquer the world. 0: https://en.wikipedia.org/wiki/Brief_(text_editor)

Back on those days I was using Q with its Wordstar key-bindings and Clipper 5 with its OO extensions, after some learning with Summer 87.
Post reply on HN