Skip to main content

Posts

Showing posts from July, 2008

Get mySQL running with MonoDevelop

Disclaimer: for anybody trying to look into Mono, you might also want to be able to use a database with easy ADO.NET access like you are used to in MS C#. especially if you think about getting an ASP.NET site running in Linux, you will have a database you need to use.  MS provides nice dlls for Ado.NET for Oracle and MS SQL.  so if you want to use linux you will now also probably want some free DB that you can use. mySQL is the way to go. Unfortunately this does not work out of the box. I spent some hours until i had accomplished getting mySQL to work with Mono with ado.NET.  this is something i did back a while, and already posted my experience in ubuntuforums.org but... well, to fill this place with some new acticle i will repost it here: I am trying to get the mySQL ADO.Net provider Connector/Net 5.1 to run under mono. as far as mySQL says so, it should run under mono.  For this i followed the steps at  http://mysql.mirrors.pair.com/doc/re...tion-unix.html. So I followed the provide

looking forward to monodevelop release with debugger

cant tell you how anxious i am about the upcoming release of monodevelop which will feature a ... debugger! what is granted and comes so naturally for other programming languages, or programmers used to windows, seems not to be too common if you want to develop on linux: yes THE one (and only) c# IDE on linux does not have a debugger at the moment. It seems it got broken with some changes in Mono. How someone can really put out a new release of a language (lets now consider mono an own language) and knowingly loose his frontend-debugger by that but accepting that.... i dont know. well the mono community did.  this also kept me from progressing with my interest in c# for linux. a language where i do not have a debugger is.... ridiculous.  but fear not! the new debugger is coming.... like you can read here . i cant wait for it to get released!  i finally want to develop some nice cross-GUI apps for linux! and i certainly wont do that with C++. everybody volintarily choosing c++ for that

beware of stream programming!

if you ever plan to do cross platform programming in c++, avoid streams like hell, i tell you!  positioning inside streams, copying of streams, readbuf methods, calculating offsets.... some of these methods behave different on linux(32bit), linux(64bit) and windows(32bit), breaking your code big time.  i made the mistake to use them in the current project. but i wouldnt any more. easy example: create some instances of different streams, write some data into the streams, then check what in_avail() tells you. make the same on windows and linux, and already you can get different results.  maybe later on i will post some example code. bytes

finished porting socketCC to windows!

I have just finished the new and shiny extensions to socketCC. socketCC, the nice class based Socket library.... so now even more shiny!  :) the original socketCC library was mainly designed for linux. Mac OS support was added to it too, but you could not use it under windows.... awkward choice isnt it?  i therefore made it compiling and working with windows like i already said here . but now all bugs should be out and it works like charm!  the cool thing for all pure-windows VC coders out there is: there is a workable VS2008 solution, that can be compiled just like that, without the need for setting anything else up or understanding makefiles.  AFAIK there is no other nice free open library for windows that does this.  so heres a rough list of what has changed from the features of the original socketCC, (description for a deeper understanding of the original socketCC lib can be found in this Dr. Dobbs socketCC article): • support for windows , tested on VS2005 and VS2008 visual studi

Testing out ubuntu

as i am a IDE freak, always searching for the greatest comfort, i decided to test out Code::Blocks, also because i am still not completely satisfied with eclipse CDT (now version ganymede). Code::Blocks seems to be somewhat an underdog in the IDEs, so i thought i might give it a try.  also because its an IDE that has a free plugin to develop wxWidgets with a sort of WYSIWYG (its called wxSmith). so i then needed to look how to install it under ubuntu. installing something that cannot be obtained via the ubuntu package manager is always something i am uncomfortable with because it often.... fails :) and of course... code::blocks is not installable via the package manager.  SOOOO..... but in this case i found a nice and easy howto: "Installing Code::Blocks 8.02 on Ubuntu" that can be found here . just wanted to tell anybody interested. because it took some time until i found it...  now i just need some time to try it out... happy coding

a word about the (un)word 'rationate'

i am perfectly aware that "rationate" itself is not a word of the english language, BUT.... still i like to use it to entitle my blog.  why?  first: if someone googles rationate, he will find my blog on the first page :) second: i think rationate is in itself a nice (un)word. it is great because its reminding of familiar sounding words like the english words "ratio" as well as "ration" plus the latin word "ratio". keep all 3 meanings in mind before reading "rationate insanity"... 

helmet & black mountain concert

well well, a most interesting concert. black mountain was very good indeed. though their albums do not really touch me, their live performance was outstanding. if you ever have a chance to see them, dig that style of music but dont really like their CDs, go there anyway. it worked for me :) after black mountain, the crew began to prepare the stage for helmet. that was when most people left :) like i expected, black mountain and helmet have very different fanbases, most black mountain fans did not listen to helmet, and vice versa.  fortunately for me, i like both styles so i got more out of my ticket than most.  when helmet started i was a bit perplexed because it was BAD. i then concluded that this was because of the big musical gap between what black mountain are doing in comparison to helmet: this harsh, raw, purposedly dissonant music that helmet is doing did not sound RIGHT after a band like black mountain.  so me and my accompagnee needed some songs to get into it. then the conce

psychonautic try number X

i was bored this evening so i decided to try the salvia divinorum i ordered more than a year ago on azarius as well as the salvia extract 5x i bought several weeks ago. though from a doctors side of view i shouldnt do it, but the heck with it. last time i tried salvia, taking it orally putting it under my tounge, i did not feel anything so i am not that respectful with that herb anymore :) mainly because it does not seem to work for me, some people on the net were also saying it does not work for them. i then tried it orally one more time without expecting much results: i put about 1/3 grams of the 5x extract under my bottom lip. after waiting 15 minutes without any result i continued: with much effort i manneged to roll myself a "little friend" containing of mainly dried salvia, with just a shot tobacco and, about 1/4 of it, tagetes lucida. it smoked itself quite fine, a bit harsh on the lungs, not as easy to smoke as normal pot, but easier than pure tobacco. result: i felt

Looking forward 2 Concert Tomorrow

tomorrow Helmet will be playing in the Arena. i am very much looking forward to that. curious to see if they play the oldschool stuff or much new things. to get myself started, i listened to all helmet albums for 2 days now. this is both good and bad: the good: i get prepared for the concert the bad: i get a slight depression. at least thats what helmet does for me. i find helmet is a blessing: when i slide down the mood spiral, helmet can ease the pain very good. its very dry and hard sound can absorb much of a depression. but on the other hand, when i am in a good mood, it can also slightly get me down. the second great thing about the concert is the other band thats playing: Black Mountain, a very different band from helmet. but a band that i am very interested in too. its a very important band in the psychedelic scene it seems. i dont like their records but many of those bands are very good live nonetheless. so i look forward to hear them bytes