Profile

Cover photo
Phillip Hallam-Baker
Lived in Geneva
290 followers|127,469 views
AboutPostsPhotosYouTube

Stream

Phillip Hallam-Baker

Shared publicly  - 
 
I have moved all the non-XP Windows boxes to Windows 10. With a kitted out Raspberry Pi2 costing about $70, I suspect it is time to scrap the XP boxes once I get the CNC mill and lathe on a RAMPS configuration.

So far the only issue I have with Windows 10 is that Explorer seems to crash after a few days and requires regular restarts. Other than that, it is a big improvement on 8 and quite a lot nicer than 7.

Ironically perhaps, the Windows 10 look and feel seems like a throwback to X11 and the Athena widgets. But the fonts make a huge difference.
1
Add a comment...

Phillip Hallam-Baker

Shared publicly  - 
 
Oh crap, spent a day chasing a bug in a unit test that was barfing because of a completely different error that only showed itself when running the tests in parallel.
1
Steve Prior's profile photo
 
Very annoying kind  of bug to troubleshoot.
Add a comment...

Phillip Hallam-Baker

Shared publicly  - 
 
Thought for today is that people really should take a look at the Windows 10 IoT platform. It is the first development platform for embedded devices that is an advance on the emulators we used 30 years ago.

Raspberry Pi2 is a great machine for $35. But I don't want to waste my time trying to develop code on a $35 computer when I have an Intel box with 32Gb of memory, 16 MP of display, 12 cores and 1Tb of SSD. 

The way pros develop for embedded devices is they use a development machine that can connect out to the target machine and debug the code in place. That is what I can do with Visual Studio and the IoT stuff.

I can run and debug the code on my desktop machine and then squirt it into the target machine where I can run and debug it.
1
Add a comment...

Phillip Hallam-Baker

commented on a video on YouTube.
Shared publicly  - 
 
The reason nobody accepts this guy's claims is that they are utterly untrue.
1
Phillip Hallam-Baker's profile photoPaul Jones's profile photo
3 comments
 
It was just a joke. Don't let the blood pressure rise over it. :)
Add a comment...

Phillip Hallam-Baker

Shared publicly  - 
 
Don't suppose anyone has a spare ticket to the social...

Of course, this being Google+, there is little need to disambiguate 'the social'.
1
Add a comment...

Phillip Hallam-Baker

Shared publicly  - 
 
I have to wonder if Louis Freeh wrote the crypto classes in .NET because they are the biggest PITA I have ever come across.

They don't even attempt to wrap the underlying crypto complexity and the interface is pretty obscure. Encrypt is fairly straightforward but decrypt is just weird. When transforming multiple blocks TransformBlock only processes n-1 blocks, leaving the remaining data to be picked up with the call to TransformFinal block.
1
Phillip Hallam-Baker's profile photoDavid Mercer's profile photo
3 comments
 
In a past life I once had to develop a web app that was part php, part .Net.  The php crypto code was 4 lines to many, many lines of .Net nonsense. 
Add a comment...
Have him in circles
290 people
Clint Chaplin's profile photo
Bob Hinden's profile photo
Joel Halpern's profile photo
Michael O'Neill's profile photo
David Farmer's profile photo
Salvatore D'Agostino's profile photo
Pawel Veselov's profile photo
Moch Bintang's profile photo
Mark Champine's profile photo

Phillip Hallam-Baker

Shared publicly  - 
 
So a feature I would like in C# or whatever, a method for 'add to list or create if null'.

So instead of having to write code

if (x.List == null) { x.List = new List <X>; }
x.List.Add (foo);

Just write 

x.List.Add (foo);

And the machine works out what to do.
1
Marc Petit-Huguenin's profile photo
 
There is a similar pattern in Java 8 for a multimap:
Map<String, List<String>> multimap = new HashMap<>();
multimap.computeIfAbsent("key", k -> new ArrayList<>()).add("value");
Add a comment...

Phillip Hallam-Baker

Shared publicly  - 
 
So my thought for yesterday was that the Crypto world would be a decade ahead of where it is today if only more people had taken a look at Matt Blaze's work and tried to make it into production protocols.
1
Add a comment...

Phillip Hallam-Baker

Shared publicly  - 
 
So I have started playing with Windows 10 IoT Core. It looks like it could be a very good solution for developing small scale dedicated server devices in managed code. 

There is one small problem though, I use cryptography and I have no idea whether the .NET system.cryptography APIs are supported or not and I can't find any suggestion or explanation in the documentation.

Anyone know if this exists or is 'coming soon'?

The reason I think this stuff is good is actually the opposite of the reason folk have traditionally raved about the RPi. Yes it is cool that you can squeeze Linux onto a $35 device. No I do not want to develop code on a $35 device when I have a 12 core Intel box with 32 Gb of memory and 16 Megapixels of display.

I want to develop my code on the big machine and only squirt the bird for final testing.
1
Add a comment...

Phillip Hallam-Baker

Shared publicly  - 
 
OK, which FUCKWIT decided that 'backspace' should be a shortcut for 'go back one page' in Google Chrome when it is also THE FUCKING BACKSPACE KEY FOR DELETING TEXT.

Anyone know how to disable this piece of idiocy?
2
Phillip Hallam-Baker's profile photoAndrew McGregor's profile photoTed Lemon's profile photo
5 comments
 
No, it's not only a problem on Windows.   It happens to me on ether the Mac or on ChromeOS (or both) as well.   I wish I could be more specific, but I am not absolutely sure.   I think it happens on both.
Add a comment...

Phillip Hallam-Baker

commented on a video on YouTube.
Shared publicly  - 
 
Shame he had to eat it like a sissy with a fork rather than sticking the muzzle in his mouth and pulling the trigger.
5
David Farmer's profile photoDavid Mercer's profile photo
2 comments
 
There are a whole bunch of machine gun bacon videos on youtube, this is nothing new. But at least he used the best known technique?
Add a comment...

Phillip Hallam-Baker

Shared publicly  - 
 
Microsoft has completely overhauled the certificate management routines and they are still crap.

It should be easy to say 'here is a set of certificates, find the set of trust roots, this one chains up to.' But it isn't because the designers of the API only ever thought of PKI as being a monolithic infrastructure in which there is only one effective root of trust, the cert store on the machine.

#magicmesh
1
Add a comment...
People
Have him in circles
290 people
Clint Chaplin's profile photo
Bob Hinden's profile photo
Joel Halpern's profile photo
Michael O'Neill's profile photo
David Farmer's profile photo
Salvatore D'Agostino's profile photo
Pawel Veselov's profile photo
Moch Bintang's profile photo
Mark Champine's profile photo
Basic Information
Gender
Male
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Previously
Geneva - Boston - Chester - Hamburg - Harrogate - Oxford - Southampton
Links
Contributor to