Re: Where to rent the best dedicated servers?

2008-03-24 Thread Kyrre Nygård
Excellent choice...

But so far it looks like I'll be going for http://www.m5hosting.com.

"Small is the new big", might wanna Google that. Besides, they look so
simple!

Kyrre

- Original Message -
From: Bill Moran <[EMAIL PROTECTED]>
Date: Tuesday, March 25, 2008 4:28 am
Subject: Re: Where to rent the best dedicated servers?
To:  Kyrre Nygerd  <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED], misc@openbsd.org, [EMAIL PROTECTED],
[EMAIL PROTECTED]

> In response to "Kyrre Nygerd" <[EMAIL PROTECTED]>:
>
> > Sorry, I really don't know where else to ask.
> >
> > I've been using Staminus for a while now and I've had it with
> the downtime.
> >
> > Basically I want a place to host my Ruby on Rails / Git
> projects, an IRC server as well as an internet radio channel.
> >
> > Simple website / control panel design is ofcourse a plus. None
> of that cpanel bullshit though, I prefer to meddle around with
> simple text files the way it's meant to be done.
> >
> > So, layeredtech.com? rackspace.com?
>
> pair.com ?
>
> --
> Bill Moran
> http://www.potentialtech.com
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> [EMAIL PROTECTED]"



Where to rent the best dedicated servers?

2008-03-24 Thread Kyrre Nygård
Sorry, I really don't know where else to ask.

I've been using Staminus for a while now and I've had it with the downtime.

Basically I want a place to host my Ruby on Rails / Git projects, an IRC server 
as well as an internet radio channel.

Simple website / control panel design is ofcourse a plus. None of that cpanel 
bullshit though, I prefer to meddle around with simple text files the way it's 
meant to be done.

So, layeredtech.com? rackspace.com?

And is there a place that reviews dedicated server providers?

Thanks,
Kyrre



Re: Where to rent the best dedicated servers?

2008-03-25 Thread Kyrre Nygård
hehe

i guess everything that glitter ain't gold...

i'm down to two choices -- mediatemple.net and m5hosting.com... maybe joyent.com

damn, it's so hard to make a choice...

kyrre

- Original Message -
From: Gilles Chehade <[EMAIL PROTECTED]>
Date: Tuesday, March 25, 2008 7:57 am
Subject: Re: Where to rent the best dedicated servers?
To: Bill Moran <[EMAIL PROTECTED]>
Cc: Kyrre Nyg?rd <[EMAIL PROTECTED]>, [EMAIL PROTECTED], misc@openbsd.org, 
[EMAIL PROTECTED], [EMAIL PROTECTED]

> On Mon, Mar 24, 2008 at 02:44:46PM -0400, Bill Moran wrote:
> > In response to "Kyrre Nygerd" <[EMAIL PROTECTED]>:
> > 
> > > Sorry, I really don't know where else to ask.
> > >
> > > I've been using Staminus for a while now and I've had it 
> with the downtime.
> > >
> > > Basically I want a place to host my Ruby on Rails / Git 
> projects, an IRC
> > server as well as an internet radio channel.
> > >
> > > Simple website / control panel design is ofcourse a plus. 
> None of that
> > cpanel bullshit though, I prefer to meddle around with simple 
> text files the
> > way it's meant to be done.
> > >
> > > So, layeredtech.com? rackspace.com?
> > 
> > pair.com ?
> > 
> 
> If asked a couple weeks ago I would have suggested layeredtech, 
> but I'd tend
> to discourage it now as I ran into a succession of issues that 
> they took too
> many time to fix (ip addresses not routed to my box, almost 72h 
> of downtime)
> 
> Actually, if you aren't running a very critical service that you 
> rely on, it
> is a pretty good service. It's just that when they fuck up, they 
> fuck up big
> time :)
> 
> Gilles
> 
> -- 
> Gilles Chehade




The worst error message in history belongs to... BIND9!

2007-05-31 Thread Kyrre Nygård
Hello!

I've long wondered where this error message comes from:

"hostname nor servname provided, or not known"

So I grepped my FreeBSD source code and found out it actually belongs to BIND9.

It has to be the worst written error message in history.

Any chance you can change it? Perhaps to something like:

"Address unknown, or not provided."

To avoid such mistakes in the future, I would recommend reading:

http://www.goodcopywriting.com

With that being said, thank you for such wonderful nameserver software!

Thank you,
Kyrre



Code beautifiers, anyone?

2006-08-24 Thread Kyrre Nygård

Hello people,

I'm looking for the best ways to create a line of code beautification 
(reformatting) scripts -- one for C, one for Ruby, one for Bash and 
one for web development languages like XHTML, XML, CSS, PHP and Ajax. 
Whether as frontline warriors or household maids, they would ensure 
proper indentation, linebreaks, spaces, tabs and so forth.


Can anybody help me?

My studies of architectural science has taught me to pay extreme care 
to the correction of details, and I now wish to apply these teachings 
to all my code. I find myself always reformatting whatever my 
associates give me. Not that they're bad programmers, they just care 
more about the code itself rather than its structure, and I dare not 
argue with that. When their code is messy, however, my heart feels 
messy and I can't get any sleep.


I wish to be in full control of my code beautifiers. That is, I wish 
to have them as simple and meaningful as possible. Give me an easy 
Bash over a complex Ruby any day.


There's a lot of messed up tools out there. Companies with flashy 
websites just doing this for the money. So apart from the bullshit, 
I've managed to spot out the Ruby Beautifier and GNU Indent as two 
worthy code beautifiers. However I get the feeling they are more 
complex than they ought to be, and if less is more, my search will 
have to continue.


All the best,
Kyrre



A webhosting script?

2006-08-25 Thread Kyrre Nygård

Hello!

Does anybody run a webhosting business, where they've written
a simple Bash script to add new users and set up their domains in BIND,
virtual hosts in Apache, MySQL databases and so on all in one go?

I am looking for inspiration for my own script.

Thank you!

I truly wish to keep it real and avoid solutions like cPanel or Webmin.

All the best,
Kyrre



Re: Code beautifiers, anyone?

2006-08-25 Thread Kyrre Nygård

At 03:24 25.08.2006, Nick Holland wrote:


Yeah.
Use vi or emacs. :)

The OpenBSD developers spend a lot of time making code fit what they 
call "KNF" -- Kernel Normal Form, documented in style(7)


They do it carefully by hand, not using automatic tools.  Why?  To 
get EYES ON THE CODE.  Go look at the commit logs, they often end up 
catching errors doing this.


Run your "ugly" code through an automatic beautifier, you end up 
with ugly code that now looks pretty...every bug remains, and your 
knowledge of what is in there doesn't improve.  Sure, you might be 
able to read it better LATER, but the point is, you didn't read it 
NOW.  If you don't, the bad guys may...


Even though I'm not a coder, this technique helps me on the FAQ, as 
well.  Take a chunk, "normalize" it, and then go "Eww.  We can do better". :)


Nick.


Man, I don't know how to thank you enough for showing me the normal form!
I had no idea a standard for this existed, or how to create one myself,
but now I surely do and it's all thanks to you!

All the best,
Kyrre



Re: Code beautifiers, anyone?

2006-08-25 Thread Kyrre Nygård

For those who are interested, you can check out the response
I also got from the FreeBSD mailinglist:

http://lists.freebsd.org/pipermail/freebsd-questions/2006-August/subject.html#129680

All the best,
Kyrre



Re: A webhosting script?

2006-08-25 Thread Kyrre Nygård

At 16:09 25.08.2006, Stuart Henderson wrote:

On 2006/08/25 15:14, Kyrre Nygerd wrote:
> Does anybody run a webhosting business, where they've written
> a simple Bash script to add new users and set up their domains in BIND,
> virtual hosts in Apache, MySQL databases and so on all in one go?
>
> I truly wish to keep it real and avoid solutions like cPanel or Webmin.

I'd like to cast a recommendation for doing this in some language
other than Bourne-shell.

From the question I guess you might not know another language -
if so, this is a great task to serve as a learning exercise, and if
you have something you want to code, it's surprisingly quick to
pick up enough to get started.

Of course it can be done in sh, but having seen the result of this
type of system developed by multiple people over a period of time
in an ISP environment, it can soon become ugly and hard-to-maintain.
One particular problem with sh is that database-integration will
be ugly enough that you likely won't want to do it, which would be
a shame for a provisioning system as it avoids all manner of hacks
to get the information transferred from billing/ordering systems.

I'll deliberately avoid suggesting a particular language since
I don't fancy ignoring another thread on that - don't spend too
much time on the choice: pick one (maybe look at the code format
of other programs written in it and see if you can understand
it quickly), and get stuck into writing the code.


Thank you man, this is surely some good info.

But Bash is my only option, unless I score an example from the
Ruby mailing list. I know this is an excellent opportunity to start learning
something new. I just bought Programming Ruby, 2nd edition :)
And I now have an aim for what I want to do with the language which
should make it easier to put my heart into it.

Feel free to show me examples if you have any though.

Take care man,
Kyrre



Broken partition table

2006-10-18 Thread Kyrre Nygård
Hello!

My partition table is messed up. I have a 150 gigabyte S-ATA hard drive, with a 
single NTFS partition running Windows XP. I've been running gpart /dev/ad0 from 
FreeSBIE for the last 14 hours now and it's not saying anything. I just want to 
get my data back. I don't care if I have to reinstall everything.

How it all came about is a long story. I ran a second hard disk drive, with 
OpenBSD, and GRUB so it could do my dual booting. But I needed the space, so I 
formatted it to NTFS from Windows XP. That's it really, after that, it wouldn't 
boot. Couldn't load NTLDR.

That's when I tried a lot of different things. boot0cfg, fixmbr and fixboot. I 
even managed changing its system ID type to FAT using fdisk -- I wasn't 
thinking clearly -- I was in deep shock. I have also tried gpart from Knoppix, 
but all its guesses came out as zero. I've also tried running gpart from 
Insert, another Linux distribution, but it totally freaked out about some I/O 
stuff. Linux uses SCSI drivers for S-ATA though. 

Is my only choice now to keep running gpart, even if it will run forever?

All suggestions welcome, please!

Best regards,
Kyrre