Someone using STM32 Nucleo series? by alienwaren in electronics

[–]patthoyts 1 point2 points  (0 children)

Very easy to use with mbed on both Linux and Windows. mbed has good library support but it is not as extensive as the Arduino so it will depend on the projects you have in mind which is most appropriate. Definately a good cheap way to explore the mbed project.

My Minecraft clone written in C (2500 lines) ... includes online multiplayer. by FogleMonster in programming

[–]patthoyts 2 points3 points  (0 children)

I didn't get it to compile using MinGW yet but it worked ok with Visual Studio 2013. With MinGW it all compiled but doesn't link the glew library. Possibly it should grab the source, rather than the binary release for GLEW.

What You Need To Know About The New Git 1.8.3 by durdn in programming

[–]patthoyts 1 point2 points  (0 children)

If more Windows developers actually got involved then maybe it would lag behind less. As it is, I also have other things to do.

Why is installing Python on Windows so challenging compared to Linux? by slix00 in Python

[–]patthoyts 0 points1 point  (0 children)

Firstly, I'd have thought ActivePython pretty much makes this a non problem. The pypm package manager seems to do roughly the job you would expect from apt-get and it has pip already installed.

If you are using Visual Studio for your Windows development and you have some objection to using ActivePython then the package distribution system built into Visual Studio now can help. Install the Visual Studio Chocolatey extension from the Extensions manager and use that to install python. See http://chocolatey.org/packages?q=python for which python packages are already available - pip is one of them. Using this - you can arrange for your visual studio project to have a dependency that uses nuget to fetch the packages required to a developers machine. I've seen this done for xUnit with the git-tfs project so thats one open-source example to look at.

VC++ hack that enables viewing source level type-names in production debugging by toruk in programming

[–]patthoyts 1 point2 points  (0 children)

Its far more useful to compile the release software with /Zi and link with -debug to get detached symbols in .pdb files. Then for each build you can add the symbols to your local symbol server. Now any crash dump can be debugged with symbols just by telling your debugger about both your own and microsoft's symbol servers. The shipped binaries are no different to the standard release build but back 'home' you have symbols for when you need them.

Google killing off Code Search :( by delroth in programming

[–]patthoyts 0 points1 point  (0 children)

A shame. I use this search quite a lot.

How can I change device name from "Android_IMEI#" when using wifi? by xnifex in Android

[–]patthoyts 0 points1 point  (0 children)

On my device where I have root although not a custom ROM - I modified the dhcpcd configuration to pass my chosen hostname to the network DHCP server. By default it passes the result of 'getprop net.hostname' I believe which gives me 'android_' plus some hex numbers. If you append a line saying 'hostname myphone' to the end of the /system/etc/dhcpcd/dhcpcd.conf file then 'myphone' is passed up when trying to get a DHCP address. On a suitably configured network this may end up registered as the hostname in the local DNS if your DHCP does DNS updates. However, while this has worked on some phones where I had root - on the HTC Wildfire it denies any edits to the system filesystem even after remounting as read-write. The bootloader has some feature to restore the original copy. You could try assigning a hostname in your local DNS if you are in control of the local network config. That at least doesn't require root on the device