archive-dk.com » DK » G » GEHLING.DK

Total: 105

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • R.I.P. Benoît Mandelbrot | Gehling.dk
    one of them Rest in peace Other stuff Post navigation Har du prøvet den sunde sindssyge Endelig Kortlægning af dansk erhvervsliv Skriv et svar Annuller svar Din e mailadresse vil ikke blive offentliggjort Krævede felter er markeret med Kommentar Navn E mail Websted Tags amazon apache aws bash bdd bøger c c sharp cucumber daemons dansk development filosofi git hoax informationssamfund it jira libodbc linux machinist middleware odbc outsourcing passenger

    Original URL path: http://gehling.dk/2010/10/r-i-p-benoit-mandelbrot/ (2016-04-30)
    Open archived version from archive


  • Looking forward to Ubuntu 9.10 | Gehling.dk
    svar Din e mailadresse vil ikke blive offentliggjort Krævede felter er markeret med Kommentar Navn E mail Websted Tags amazon apache aws bash bdd bøger c c sharp cucumber daemons dansk development filosofi git hoax informationssamfund it jira libodbc linux machinist middleware odbc outsourcing passenger programmering rack rails rails 3 rake redis routes ruby rvm s3 searching shoulda six degrees stopwatch tdd testing ubuntu udvikling SCRUM from the trenches Programmers

    Original URL path: http://gehling.dk/2009/10/looking-forward-to-ubuntu-9-10/ (2016-04-30)
    Open archived version from archive

  • Cloud As A Service | Gehling.dk
    Måske Jeg vil snarere sige at jeg udviser rettidig omhu og ikke springer på hvert nyt lyntog Other stuff hoax Post navigation Test test og atter test Looking forward to Ubuntu 9 10 Skriv et svar Annuller svar Din e mailadresse vil ikke blive offentliggjort Krævede felter er markeret med Kommentar Navn E mail Websted Tags amazon apache aws bash bdd bøger c c sharp cucumber daemons dansk development filosofi

    Original URL path: http://gehling.dk/2009/08/cloud-as-a-servic/ (2016-04-30)
    Open archived version from archive

  • Conversations with an oak tree | Gehling.dk
    oak tree Bogen er ifølge hjemmesiden blevet skrevet op til en 2010 udgave den er trods alt også 13 år gammel og planen er at den skal udgives på et amerikansk forlag Jeg er så småt begyndt at læse den den nyindkøbte danske udgave har jeg så i mellemtiden lånt ud på mit arbejde og minderne fra den gang jeg læste den for så mange år siden vender tilbage Jeg er spændt på at komme videre med den og finde ud af hvor meget der var nødvendigt at skrive om pga 13 års teknologisk udvikling i vores samfund faktisk har jeg på fornemmelsen at det ikke er særlig meget Other stuff bøger filosofi informationssamfund Post navigation Samtaler med et træ Test test og atter test Skriv et svar Annuller svar Din e mailadresse vil ikke blive offentliggjort Krævede felter er markeret med Kommentar Navn E mail Websted Tags amazon apache aws bash bdd bøger c c sharp cucumber daemons dansk development filosofi git hoax informationssamfund it jira libodbc linux machinist middleware odbc outsourcing passenger programmering rack rails rails 3 rake redis routes ruby rvm s3 searching shoulda six degrees stopwatch tdd testing ubuntu udvikling SCRUM from the trenches Programmers I

    Original URL path: http://gehling.dk/2009/05/conversations-with-an-oak-tree/ (2016-04-30)
    Open archived version from archive

  • Samtaler med et træ | Gehling.dk
    tager vi nærmest ukritisk al ny informationsteknologi til os Samtaler med et træ stiller relevante kritiske spørgsmålstegn ved denne fascination Jeg anbefaler alle at købe den og læse den ikke mindst folk i mit eget fag Den kan stadig købes for kr 100 ved at kontakte kade stemningshotellet dk Jeg har netop lige købt den igen fordi mit oprindelige eksemplar er væk Den ligger sikkert hos en eller anden stakkel som jeg har prakket den på Det sjove er at mit køb netop nu falder sammen med at bogen udkommer i en engelsk version på det amerikanske marked Jeg venter på at den kommer med posten og jeg glæder mig meget til at læse den igen Det bliver som at besøge en god gammel ven jeg ikke har set i mange år Og jeg er spændt på om den stadig holder 13 år efter at den udkom Danish posts bøger filosofi informationssamfund it Post navigation Facebook er 80 spild af tid Twitter et råbekor Conversations with an oak tree Skriv et svar Annuller svar Din e mailadresse vil ikke blive offentliggjort Krævede felter er markeret med Kommentar Navn E mail Websted Tags amazon apache aws bash bdd bøger c c

    Original URL path: http://gehling.dk/2009/05/samtaler-med-et-tr%C3%A6/ (2016-04-30)
    Open archived version from archive

  • Other stuff | Gehling.dk | Page 2
    kontor som du sidder i Dels er det sværere at kommunikere på engelsk ikke mindst fordi at leverandørerne ikke altid er super gode til engelsk Men simpelthen også fordi man mangler muligheden for at stå samlet om en white board tavle og tegne fortælle Der findes mange gode kommunikationsværktøjer på nettet men det bliver bare aldrig helt det samme Tommelfingerregel Et projektteam i udlandet har en effektivitet på ca 50 af et der sidder sammen med dig Vær forberedt på at ting skal forklares igen og igen og med mange eksempler før det er helt forstået Forvent at ting skal kodes om 2 3 gange inden den sidder i skabet Vær opmærksom på at du kommer til at bruge meget tid på at koordinere projekterne Du får derfor ikke noget reelt udbytte af kun at hyre en programmør Det lyder besværligt skal jeg helt lade være Det er svært at svare entydigt på Du skal i hvert fald ikke lade dig lokke bare af en billig pris Til gipote dk hyrede vi en Rails programmør i Indonesien for 3 måneder af gangen Vi havde nogle helt konkrete opgaver til ham Dem løste han også rimelig godt men til gengæld brugte jeg en del tid på at sætte ham ind i opgaverne og kontrollere dem bagefter Dermed blev min egen produktivitet sænket Det var først da vi ansatte endnu en programmør at det virkelig gav noget Vi brugte et firma der hedder Kiranatama til Rails udvikling dem kan jeg bestemt anbefale og jeg ville selv bruge dem igen Og så lige en sidste ting Hvis du selv er et en mands firma så har du nok ligesom jeg en stærk holdning til hvordan tingene skal gøres my way or the highway Det skal du lære dig selv at lægge på hylden

    Original URL path: http://gehling.dk/category/other-stuff/page/2/ (2016-04-30)
    Open archived version from archive

  • frontpage | Gehling.dk
    have creeped into the text Have fun Posted on 12 september 2015 by Carsten Do you yield Fancy Ruby stuff done in C part 4 yield differencies Please read this post for my reasons behind this article series There are few things more aggravating at least as a programmer working with multiple languages than when a certain construction is implemented in two extremely different ways I tend to mix them up and often try using the idioms from one language in the other One of these is the yield keyword which is a very strong construction in functional programming It exists in both Ruby and C but works quite differently Let s take Ruby first yield basically breaks execution and calls an anonymous code block that have been supplied to the function containing the yield statement yield can take arguments as well yield is quite powerful to create enumerators Let s try to make the classic Fibonacci sequence as an endless enumerator And then do the same in C Both with yield and look at the differences Ruby fib Enumerator new do obj obj yield i 0 obj yield j 1 while true k i j obj yield k i j j k end end 20 times puts fib next C namespace fib class Program static public IEnumerable int Fibs int size int i 0 yield return i int j 1 yield return j for int n 0 n When you look at the two examples there are some major differencies In Ruby the yield statement immediatly breaks execution of the code back to the caller s code block in this example the Enumerator itself A state machine stores all information about what was going on until the yield So when the enumerator s next method is called the execution continues where it left off This is why the loop in our Fibonacci generator can be infinite In C however IEnumerable will run the Fibs function to the end Each yield return statement will store its argument inside the Enumerable object which can then later be iterated over But that also means that you need to make sure that the generating loop exists at some point hence the size argument Posted on 29 september 2013 by Carsten Make testing possible with Rails and PostGIS Inspired by this SO question http stackoverflow com questions 8718112 rails not fully compatible with postgresqlpostgis geometry data type I ve had a lot of trouble recently with Rails and PostGIS One of the main problem arised with testing When you run Rails tests or RSpec for that matter the test database is always dropped and a new is created The problem with this is that the PostGIS extension is not created in this new database Therefore your schema load will fail if you have any postgis specific fields indices The solution to this is to use a PostgreSQL database template and of course the activerecord postgis adapter found here https github com dazuma activerecord postgis adapter First the template You need a PostgreSQL template with PostGIS functions support Create a template database psql U postgres CREATE DATABASE template postgis WITH TEMPLATE template1 ENCODING UTF8 c template postgis CREATE LANGUAGE plpgsql Load necessary PostGIS functions into template your SQL files may be located in a different path but they come with the PostGIS installation psql U postgres f usr share postgresql 9 1 contrib postgis 2 1 postgis sql template postgis psql U postgres f usr share postgresql 9 1 contrib postgis 2 1 spatial ref sys sql template postgis psql U postgres f usr share postgresql 9 1 contrib postgis 2 1 topology sql template postgis Set database as template and grant permissions psql U postgres template postgis UPDATE pg database SET datistemplate TRUE WHERE datname template postgis GRANT ALL ON geometry columns TO PUBLIC GRANT ALL ON spatial ref sys TO PUBLIC GRANT ALL ON topology TO PUBLIC Now the adapter Add this gem to your Gemfile and run bundle gem activerecord postgis adapter After that add the adapter and the template to your config database yml like this development adapter postgis template template postgis database mydb development test adapter postgis template template postgis database mydb test And that should do the trick Test it by running rake db schema dump and rake db test prepare Let me know if you get any additional problems regarding this Posted on 9 september 2013 by Carsten Fancy Ruby stuff done in C part 3 dynamic properties Please read this post for my reasons behind this article series Some people have asked me why I try to do things in C that are clearly Ruby ideoms The short answer is Because I can The longer answer involves thoughts about that you should never stop learning For a programmer this involves pushing your tools to their boundaries and beyond Seeking new insights other places and apply them to your environment Stuff like that Catch all property like Ruby s method missing One of the powerful features of Ruby is method missing With this seemingly innocent construct you are able to make a class respond to things that are not statically defined beforehand Typical uses are for ORMs like ActiveRecord that enables you to map class properties to database table fields without explicitly defining the fieldnames in your class The way ActiveRecord does this is that the model base class contains a Hash Dictionary called attr When a table record is loaded all fields are loaded into this hash And method missing are then used to map property names directly to keys in the hash user User find 13 puts user email This can also be done in C using DynamicObject http msdn microsoft com en us library system dynamic dynamicobject aspx DynamicObject is a rather bold introduction into a strong typed language like C since it expose members such as properties and methods at run time instead of at compile time using System using System Collections Generic using

    Original URL path: http://gehling.dk/category/frontpage/ (2016-04-30)
    Open archived version from archive

  • Carsten | Gehling.dk | Page 2
    layouts is usually coupled with frameworks like Blueprint 960 and others One of the problems with this is that you do not get semantic markup in your HTML Instead you get all kinds of layout classes Here s an simple example of a typical Blueprint HTML layout head body container main span 18 a lot of content sideinfo span 6 last links etc in the sidebar and in HTML for those of you who have not tried Haml yet you really should html head head body a lot of content links etc in the sidebar body html Why is this bad Well if you are only developing for traditional computers you re fine But what if you want to use the same webapplication for Android or iOS devices HTML5 has a nifty feature for stylesheet selection based on the clients screen size etc This is pretty cool but then all the span classes from our Blueprint example suddenly gets out of context Now back to why Compass is cool Compass makes grid design easy without using anything but your semantic markup Here s the same layout done with compass again in Haml and HTML explanations can be found on Compass homepage head stylesheet inclusion body container main a lot of content sideinfo links etc in the sidebar html head stylesheet inclusion head body a lot of content links etc in the sidebar body html IMHO much prettier and much easier to mould with different stylesheets Here s what it takes in Compass using mixins and functions import compass blueprint grid columns 24 blueprint grid width 40px import blueprint main column 18 sideinfo column 6 true Now if you have a 320px device phone you could switch to a much simpler stylesheet without worrying about any layout specific HTML markup Posted on 8 september 2011 by Carsten Learn how to program You re exited about computers and would like to do more than just surf the web and play games Then you are ready to start programming But how do you go about learning this There are a number of good guides on the web that you can follow Here are links to those that I find especially good for absolute beginners CodeAcademy http www codecademy com This is a fully online interactive tutorial that will teach you the basics of Javascript Everything happens in a frame on the site and you will get instant visual feedback very important for you when just starting up So go on and get your hands dirty on CodeAcademy and then get back here for the next guide The guide will teach you the basics of a programming language called JavaScript Most of the dynamic interaction that you see on sites like Facebook popup boxes and such are made using Javascript It is the only language that every browser understands and can execute within a web page However you will hardly use JavaScript to anything else than this so if you want to go on programming stuff to run on your computer you will need to look for another programming language There are many to choose from Some are suited for special purposes others are more general Luckily a lot of the features that you have already learned in the first guide are shared between many programs such as if and while statements TryRuby http tryruby org This next guide will introduce you to Ruby a general purpose programming language with which you will be able to go a long way Just like the first guide this is an interactive tutorial using a console on the screen Enough said go on and try it Install ruby on your own computer Ok now you ve been programming online on a webpage so now it is time to do things on your own computer as well You need to install the Ruby Programming Language before you can do anything else Luckily this is easy Go to this website and follow the instructions http rubyinstaller org You will also need a good text editor Notepad simply doesn t cut it But you are in luck the RubyInstaller also contains a good editor called SciTE This is actually all that you need Now you are ready to start programming on your own computer Go through this guide which will also move you from the interactive prompt that you ve been familiarized with in the other guides and onto creating text files containing your progam http www ruby lang org en documentation quickstart Good luck Let me know if you have any hardships and I will gladly help you Posted on 19 august 2011 by Carsten Nye muligheder for outsourcing og joint ventures i Bangladesh I slutningen af januar var jeg på rejse til Bangladesh hvor jeg deltog på en IT messe i hovedstaden Dhaka Anledningen var som medlem af en delegation sammensat af Håndværkerrådet og ITC som ønskede at undersøge mulighederne i og niveauet for Bangladesh IT branche Delegationen bestod af repræsentanter fra danske og hollandske virksomheder Arrangementet var fantastisk godt sammensat af ITC thank you Martin Labbé På messeområdet havde ITC arrangeret et lokale hvor vi kunne sidde i ro og fred og mødes med en række virksomheder som vi havde udvalgt på forhånd udfra et stort virksomhedsindeks Efterfølgende var vi på besøg hos så mange af virksomhederne som muligt Nogle af de interessante og positive observationer som vi gjorde var Bengalerne er meget stolte og bevidste om deres evner De mødte os i øjenhøjde som ligemænd og ikke som underdanige De er utrolig godt forberedte til møderne de kom gerne 2 eller 3 repræsentanter fra samme firma og alle kunne bidrage til samtalen Meget motiverede engagerede ambitiøse og visionære Højt uddannelsesniveau og gode tekniske evner Generelt god ledelse Mange af virksomhederne har ejere ledere der har boet en årrække i EU eller USA Der har de taget en formel uddannelse og fået erhvervserfaring inden de er rejst hjem for at starte egen virksomhed i Bangladesh Viser tydelige

    Original URL path: http://gehling.dk/author/Carsten/page/2/ (2016-04-30)
    Open archived version from archive