Visual Studio 2014 CTP4 and Windows 10 Preview (Build 9860)

Perhaps I am pushing the boundary here, perhaps not but I am having lots of issues with Visual Studio 2014 CTP 4 (specifically Version 14.0.22129.01.DP) and Windows 10 Preview Build 9860.

There have been a lot of errors, and finally it has gotten to the point where even the basic thing like creating a new Console Project results in the following error. I did do a in-place upgrade of Windows from the previous build, but everything else seems to be working out OK – except just can’t write any code.  8-O

Visual Studio 2014 CTP 4 Error

VS 2014 CTP 4 Error

I am not sure I should try a repair, or deprecate to Visual Studio 2013.

More

RIP Nikhil – my dear dear friend

kaleidoscopic!
not those here-and-now colours
but in memory

cloudy sky is filled
full of black twiggy branches
a large crow shoots past

picket fence and trees
standing tall like sentinels
like sad sentinels

comes-on quietly
so benign the sensation
so bloody empty!

this revelation
times at last you think you know
shrug! alas you don’t

fleeting memory
self-flagellation head-shake
another one lost

again and again
scene full of twiggy branches
black crow descending

:-( :cry:

Interesting Find #25

Continuing the Interesting Find series. Here are the things I was intrigued by:

  1.  “Honey Encryption” – A new approach to encryption beats attackers by presenting them with fake data.
  2. Securing the Smart Home, from Toasters to Toilets – It is afterall the era of BigData and Internet of Things (IoT).
  3. Bizarre attack infects Linksys routers with self-replicating malware.
  4. Bing Code Search for C# – right from within Visual Studio – a boon for the lazy developers (yay!). Better beef up your Legal teams as well – how will one control IP violations at the code level – not quite sure.
  5. Visualisation of data is not only about ‘prettying up’ your BI reports, but it can actually also save lifes!
  6. Oakland the city that told Google to bugger away! Is this the start of a revolt?
  7. If you shop at Tesco.com and also have a Clubcard then you were aware that they were hacked? What is hilarious, and, very poor the way they handled this and the lack of understanding. Want to see a glimpse of that? See this Twitter conversation.
  8. You like Pineapples? You can eat one; and you can also use one to break website security – very easily! Scary stuff.
  9. Microsoft MS-DOS/Word Source Code Gems – just awesome comments!
  10. Raspberry Pi car computer – enough said!
  11. Absolutely fascinating! Most Sophisticated #Android bootkit malware ever detected; Infected Millions #Security

‘Old’ Surface (PixelSense) stuck on boot up

Samsung SUR40 which recently got stuck at boot up (see the photo below). Once the Kernel lib loaded, for some reason was getting stuck at:

StrongROM version 03.30 Build:_P
MS PixelSense not booting up

MS PixelSense not booting up

Powering it off or on, did not help. Neither did trying to get into the BIOS to try and change some things.

I did get this back up and running, and in the end the solution was quite simple – I had to physically take out the power cable (just powering it down was not enough); wait a few seconds and then plug the power cord in, and boot it back up.

Playing with Google Glass

Don’t know how many folks know, but I got a google glass recently and only now have had some time to start playing with it. There were a few challenges but I finally got Glass ‘talking’ to my Windows 8.1 machine and can now replicate the glass display (that is a post for another time, but it did take me some hit and try to figure out what I was doing wrong). This is pretty important, as without this I won’t be able to show much demo’s or make it very useful.

Here are a few photos showing the silliness in the whole thing. In the second photo, I am taking a picture from glass, whilst taking a picture from Glass – does that classify as a Picture-in-Picture? Perhaps. :)

Google glass on Windows

Google glass on Windows

Glass and Windows 8 - picture in picture

Glass and Windows 8

Interesting Find #24

Here are the interesting finds of this time around.

  1. IDA – A cool debugger which runs on most platforms and different from the MS variety.
  2. TypeScript – as the name suggests, it is strongly typed JS which compiles down to standard JS! This can only be good I think given all the crazy things one can so in JS. More details here.
  3. Can you hide anything from NSA?
  4. TV Tuners – did you know they can let you spy – who knew?
  5. grepWin – a powerful regex-based search and replace tool – and can work across multiple files.
  6. Twine – is a wireless sensor block tightly integrated with a cloud-based service. What all things one can do with Twine? Here are a few examples for inspiration.
  7. Visual.ly – tell your story visually; good resource for infographics and data visualisation
  8. Can an $11,111 coffee pot turn out a better cup of joe?
  9. What the Internet of Things (#IoT) needs to become a reality? Freescale has an interesting paper (pdf) on it.
  10. High expectations Asian Fathers – enough said!
  11. How to be a hacker?
  12. 14 Kickstarter projects to watch out for in 2014
  13. Alloy.UI – a really cool HTML and JavaScript library with lots of useful UI features. Builds on top of YUI3 and Bootstrap.
  14. DON’T PANIC – The Facts About Population. Very interesting, especially the visualisation. You can find more on that here.
  15. As sites and services become product aware, the age of pervasive commerce begins (remember Minority Reports?).

Is rand() harmful?

​I saw this awesome presentation on why rand() is considered harmful. When you need a random number, don’t call rand() and especially don’t say rand() % 100! This presentation will explain why that’s so terrible, and how C++11’s header can make your life so much easier.

If you need uniqueness and non-deterministic, especially on the context of security or crypto then you need to think about a few things. For example the frequency, non-uniform distribution, and not using a pseudo random number generator (such as Mersenne twister) and not a linear congruential generator.