Site updates cont.

September 22, 2008 by · Leave a Comment
Filed under: Development, Frozentux.net 

I thought I’d make an status update available, to let people know. The updates are still ongoing, and I am working on them. The new site is POSH, lots of CSS and div’s, and… well, to be honest, it scares the hell out of me. From the looks of it, microsoft has never even heard of W3C, as badly as internet explorer is behaving. Yes, I’m actually trying to make the site follow standards, and work even on Internet Explorer. Ok, I admit it, Explorer 6.0 is most likely screwed. Anyways, for those that wish to see the new design, take a look at this screenshot. Design is pretty much done. Will start working on the simple bits this week, databases and so forth.

Svnsync automatisation via Windows Scheduler

September 20, 2008 by · 1 Comment
Filed under: Configuration Management, Development, Windows 

Recently I’ve been setting up for a project, as you might have noticed, and one of the problems we ran into was the fact that we have a centralized subversion repository. We don’t have access to control or install anything on the actual server unfortunately, so hence we can’t install trac on that system, as previously explained. The solution is to sync the main subversion databases to the trac server as previously explained.

A secondary problem arising from this, is that we can’t actually change the hook files of the master repository. The solution to this, is to add a synchronizing scheduler. As I was stressed, and had no time to deal with this properly, I had to run with the Windows Scheduler of all horrible solutions. The following explains how to set it up.

Windows Scheduled synchronize Task

Warning! The windows scheduler does not start automatically when you reboot etc. If you do this, the task restarts at it’s start time, so if it’s set to run at 00.00 every day, and then every 5 minutes, it will restart and start running at 00.00, not as soon as the machine is started up again. This is pure evil.

A scheduled task is set up as follows, create a bat file (ie, c:projectssvnprojectsvnsync-project.bat):

svnsync synchronize http://localhost/svn/project –sync-username slaveuser –sync-password tjohej –source-password password
c:Python25Scriptstrac-admin.exe c:projectstracproject resync

The Second line unfortunately has to be done to resync the new changes with the trac database. After this, create a scheduled task in windows as follows:

  1. Go to start -> control panel -> scheduled tasks
  2. Click Add scheduled task
  3. Click Next
  4. Click Browse…
  5. Browse to your svnsync-project.bat file, as described above. Double click it.
  6. Set name (default is ok). Perform this task: Daily
  7. Click Next
  8. Start time: 00:00, Every day, Start date: today
  9. Fill in username/password to run it as.
  10. Select open advanced properties for this task. Click Finish.
  11. Go to tab Schedule. Choose Advanced.
  12. Click Repeat task, fill in Every 10 minutes, and click Time and fill in 23:59
  13. Click OK.
  14. Click OK
  15. Done.

This could most likely be done from cruisecontrol, but as stated, i’m stressed. I hate windows by now (at/cron is just sooo much nicer to handle).

Qt presentation tomorrow

September 8, 2008 by · Leave a Comment
Filed under: Development, Ubuntu 

So, I’m holding a brief Qt presentation on a demo i made a few weeks back. It’s pretty, and got a ton of stylesheets on it. Going down tomorrow at work. Hopefully people will be a little bit interested at least. It’s not that often I dare get my ass up there behind a podium, or speak up at all for that matter.

To be honest, I don’t know why really, I just hate being in front of people talking and possibly saying anything that might be wrong. Of course, there’s a reason why I’m doing the presentation, and not someone else. I’m the only one with any substantial experience at all of this subject, so why not basically.

Also, I’m feeling horribly stressed as of late. I started on a project last week, and it’s getting to me. Need to take a minute, sit down, and calm down.

Tired of Javascript/CSS

August 27, 2008 by · Leave a Comment
Filed under: Development 

CSS is not my strong side, actually web development isn’t at all, yet I have this bad habit of wanting to learn things I don’t know since before. That being said, not sure if i got this right. Putting an absolute object (div for example) inside a relative object makes for an unhappy combination. Problem is that the outer container does not resize for the absolute object (depending on how you interpret the standards, I guess this is correct behaviour).

Take the following rather long example:

<html>
<head>
<style type=”text/css”>
.hump
{
position: static;
width: 400px;
}

.lala
{
position:relative;
background-color:blue;
width: 400px;
}
.hoho
{
position:absolute;
background-color:red;
left:0px;
top:0px;
width:50%;
}

.rofl
{
position:absolute;
background-color:blue;
left:0px;
top:20px;
}

</style>
</head>

<body>
<div class=hump>
<div class=”lala”>ewrio
<div class=hoho>lala</div>
</div>

<div class=”lala”>
<div class=hoho>lala</div>
<div class=rofl>hejhopp</div>
</div>

</div>

</body>

</html>

You have two options.

1. Add height attribute to lala (making it static height).
2. Write a javascript to dynamically change height of the area depending on how large content is. I’m currently working on this as I really want this solution.

There is probably a much better solution to this, so if you know of a better way, please let me know!

Site update

August 26, 2008 by · Leave a Comment
Filed under: Development, Frozentux.net 

I’m currently working on updating this site. It’s going web1.9.9, it’s almost like web2.0. I got a ton of things I want to add as well, so I’m taking the opportunity to remake this whole site, hopefully in a logic way so that it will be easier to add small projects and texts in the future. For the time being, I’ve started a blog at http://frozentux.blogspot.com for those that wants to keep up, and twitter.com. I’m trying out pretty much every web2.0 buzzword or site I’ve heard about. I’m hoping to have a beta out within a week or so… hah!

Easy stuff

August 24, 2008 by · Leave a Comment
Filed under: Development, Frozentux.net, General 

Ok, I started recoding frozentux.net today finally. It’s rather ugly and messy code, so i’m starting by cleaning it up a bit. It’s kinda nice getting a goal again, I’ve lacked a bit of it. Also, I must say, this feels soooo easy. PHP code is a breeze, and way to forgiving, especially without 10+ guys looking over your shoulder once in a while to make sure your code is good enough *cough* .

That said, I’m not planning to use too much cross site stuff or any other heavy stuff, so it will be easy to get it to a working state again. Basically, I’m going for a simpler design, with larger flexibility as I want to add a lot of small code samples and projects to the website in the future (I kinda locked myself down there last time).

Also cleaned the fan over the stove, built more on the model (wow, you can almost see that it’s an airplane body right now 😛 ). I got a lousy glue (so sorry mac and heather, it was an awkward glue you gave me :)), need a new one, and I also need some sandpaper. Taken a walk, looked at an episode of systm. A cool show about mythbuntu tbh.

Workweek ahead. See if i manage to get into a habit of writing here or not?;)

Slow grasswidow evening

What do you do when you are home alone a saturday evening? Personally, I web2.0’d my life (i got facebook, a blog, remember the milk, dipity, evernote, and decided to rewrite/update my webpage). Also, I really got started building the Fokker DR.1.

To update frozentux.net, I screwed around a bit with eclipse pdt. I want to do this since I think the whole site looks pretty awful. I was ok with it “back then”, but not any more. I’ve been using eclipse for a few months to code c, c++, qt and I’ve grown rather fond of it. My first time with eclipse left me… well, let’s just say i went back for a few years to vim and loved it. Still wish there was a decent vim/eclipse plugin as i love vims command/edit mode.

I digress. Basically, what I did was Install subversion, make a copy of frozentux.net in subersion and a few other projects in there. I setup subversion with apache2. I know I suck that haven’t done this before. After that, I installed pdt, subclipse and a few other modules in eclipse and got it all working together. I think I might like the subclipse module, but still got a few things I need to find out.

I’m gonna get started on rewriting frozentux today I hope. Now, going for a walk first.

Added Miscellany section

May 18, 2003 by · Leave a Comment
Filed under: Development, Frozentux.net, Linux 

A miscellany section has been added, containing lots of junk and other stuff that I am no longer developing, or that I have written previously. If anyone is interested in using any of the code, they are welcome to. This could mainly be looked upon as a junkyard of more or less useful scrap.

Miscellany update

March 5, 2003 by · Leave a Comment
Filed under: Development, Frozentux.net, Linux 

Two new scripts added to the miscellany section, just for fun. I will add more later on, which may be a little bit more useful to you. Also, as some of you may have noticed, I have been very quiet for a long time. There are things happening that will take some time more to finish, that will hopefully make people a little bit happy in the future. As some has also noticed, there is the new banner on top of the page which points to a site I am partially related to working on. Hopefully, this will not cause too much of a problem for people:).

Updated backend on frozentux.net

February 20, 2003 by · Leave a Comment
Filed under: Development, Frozentux.net 

Yes, I am still alive. The backend on frozentux.net was updated to simplify adding news, etcetera in the future. To all of those still waiting for a reply to their mail, sorry about that, but I am still trying to catch up to mail from christmas. For several personal reasons, I have been and will be unable to maintain the different documents on this site at a much slower pace than previously. If you find any problems in any documents, etc, on this site, you are more than welcome to send patches. It would be most apreciated, since you will otherwise have to wait for quite some time before your bugreport/problem is solved.

« Previous PageNext Page »