On a completely unrelated note. Well not so unrelated. I just got home from Czech Republic, I went there with 3 books, a bag and my iPhone - returned home with a smell of absinthe and cheap Czech beer.
René Descartes surprised me with his “Meditations on the First Philosophy” it was an interesting read - you could potentially learn a lot from his views, esp. in a time of need for something, guidance maybe.
Meanwhile I was gone I received my nano-simcard for my soon-to-arrive iPhone 5 and found that my Raspberry Pi had been delayed another 5 days, I should have ordered from someplace else, as I read somewhere that they were shipping them at the moment because they had them in stock - not what I have seen however from my supplier. The good thing about the slow process of getting my Raspberry Pi is the fact that I know what I will be using it for - and you should all look forward to my endless stream of blog posts with regards to my beloved Raspberry Pi.
this’ll be on my gravestone
Let the itinerary begin for the creation of my very own C# webserver (I wish I had chosen C++ to go into depth with, typographically it’s much cleaner to write) - (Did you, bye the way, know that 1000 pages can fit into a nutshell?) I thought of this for a while and I concluded that with the variety of libraries in the .NET framework it wouldn’t be a difficult task. And to my excitement, I was right.
It took me barely one hour to finish the webserver’s basic functionality. When that was done I wanted to add logging. Two types of logging, one writes directly in to the console and another one writes directly to a logging file (I will have to find an efficient solution, so it only writes to the file once every 15 minutes or 5 minutes, so it theoretically wouldn’t use up too much CPU and of course upon exit - with some IOStream magic, this is kid’s stuff )
We have got more money than sense - so fuck it.
She could have been a poet or she could have been a fool… Oh… you did a bad thing
I think over the last few years (esp. months) I have evolved as a coder.
Start using source control
You spend half a day trying to find out what you have changed in your code that has suddenly made it stop working. You realise that your current form of source control (CTRL+Z) isn’t doing you any favours. You spend an hour learning about soruce control and never ever look back.
Stop obsessing over optimisations
You decide that getting everything working should be the first priority. Then you’ll worry whether that function that gets called once on shutdown is fast enough.
You stop coding the same things over and over
You realise that half your time is spent writing the same thing. You would have used your old code, but it’s so messy and you feel dirty. You decide to seperate your common generic code into its own utility library. And now never look back.
You think a step higher
Instead of coding a new class factory for everything that requires it, you make a generic class factory template. Now you never have to code a class factory again. You actively look at what you are doing and think “what can I do to make sure I never do this again.”
You start using build automation
You have come to find that dropping cs files into a vcsproj isn’t the best way to manage your project. This is drilled home when you come to compile it on another platform. So from now on you use something like premake to build your project files. Now you can generate projects for Visual Studio, GMake, XCode, CodeBlocks and anything else you would ever want to generate them for. You are…. portable.
My most recent iOS application has now been approved for the App Store, the process was no pain at all. We waited since the 7th of July where we uploaded the application to iTunes Connect and it have been “Waiting for Review” since then until today at 1.31 am it was “In Review” and then 30 minutes later “Ready for Sale.” The release date of the app is the 13th of August so that’s when it is to be downloaded from the App Store.
It is a quite simple application retrieving data from an XML document and then showing those data. Simple as that.
Just wanted to say that the review process of getting into the App Store is not that painful as everyone’s saying.
My goal in life is to change and enlighten the world.
I was thinking why not create a OS? So that I did. Or I am about to do it. I researched a bit on the topic and found that the only limitation was the fact that I installed Visual Studio 12 RC2 (this did not allow for me to use Cosmos). When I realised that I would have to use my old HP laptop (as I am currently wearing a Macbook Pro as my laptop) to develop using Visual C#, I thought that I might as well go about it the traditional way using C and Assembly, but I decided that I would rather use Cosmos, to start with and get a feel of it.
Assembly/C will be the next time I am going into operating system development. Currently I have no goals other than to learn from it. I don’t think I will ever distribute any of it. I would however like it to be compatible for some netbooks, so it should only load up with a browser (but that would be in late development, I think I will start up with command-line only - I also need drivers etc.) That would of course be a bit like ChromeOS, but it would be mine.
In other news I think I somehow ruined an old motherboard’s IDE cable-port. Whenever I disconnect the IDE cables it will boot, but when I connect my harddisks it won’t. I will try to connect some SATA harddrive, but I am only in possession of two of those, so I will look around and see what I can find in my current desktop computer, I might be lucky! Anyway, I am off to learning.
Life is a difficult business, and most people find it to be actually impossible….even Jesus only made it to 33. — Steven Patrick Morrissey