Re: CalDAV servers

2011-04-10 Thread Peter Doherty

On Apr 9, 2011, at 20:39 , David Kramer wrote:

> I would like to install a CalDAV server on my Ubuntu server, so my wife
> and I can have a shared calendar on our iPhones, and
> 
> http://caldav.calconnect.org/implementations/servers.html
> http://en.wikipedia.org/wiki/CalDAV#Implementations
> 
> There are a lot of choices, so I was wondering if anyone had experience
> with any of them.
> 
> - It would be really nice if it also provided a web interface to the
> events, too, but that's not a hard requirement
> 
> - Some of these are whole groupware solutions. That would be cool too,
> as long as I can continue to use postfix for IMAP
> 
> - I prefer MySQL to Postgres, but I'm willing to install Postgres.
> 
> 
> So far, http://www.davical.org/  seems to be a good choice for its
> simplicity.
> 
> http://www.bedework.org/bedework/ seems like a good choice for a larger
> solution with web interface.
> 
> Thanks.


I installed Davical on my Ubuntu 9.10 box last year, and it was pretty 
painless, and worked well.
The web interface was pretty kludgy, but maybe there are some add ons that 
could improve it, i don't know, I always used a client program on my other 
machines to access it.
I didn't use it extensively, and so I'm not using it anymore, but for the time 
I was using it, it just worked and got the job done.
I didn't actually try and get my ipod touch to connect to it, so I can't speak 
for that.

Best of luck.
-peter
___
Discuss mailing list
Discuss@blu.org
http://lists.blu.org/mailman/listinfo/discuss


Re: [Discuss] Small Form Factor PCs

2011-06-12 Thread Peter Doherty

On Jun 11, 2011, at 23:49 , Chris O'Connell wrote:

> I'm looking for a very small form factor computer to install some home
> automation software on.  The software is not very resource intensive.  Here
> are the key requirements for the system:
> 1.  Must be able to power back up  without human intervention if power to
> the unit is lost.
> 2.  Should be small and less energy intensive than a regular PC.
> 3.  I would like it to be less than $500.
> 4.  Must be capable of running Windows (so either an AMD or INTEL cpu).
> 
> Can anyone make any suggestions about what might work well for me?  I was
> looking at the Dell Zino, but am unsure if a better option exists.

I built one myself with a Mini-ITX board with an integrated Intel Atom 330 
(dual core, 1.6GHz)
I don't think the motherboard I bought 2 years ago is still around, but there 
are plenty of alternatives.  Most motherboards these days have a power on after 
failure option in the BIOS.
I used some spare SODIMMs, a cheap case, a couple lower power hard drives, and 
an 85+ efficient PSU.  The whole thing cost ~$400, and I've been very happy 
with it for the past couple years.
It uses ~40 watts at idle, and ~50 watts when it's cranking.

My suggestion, is therefore to build something yourself around a MiniITX 
platform.  :)

-peter
___
Discuss mailing list
Discuss@blu.org
http://lists.blu.org/mailman/listinfo/discuss


Re: [Discuss] drop box software

2011-08-30 Thread Peter Doherty

On Aug 30, 2011, at 12:13 , Derek Martin wrote:

> On Tue, Aug 30, 2011 at 10:37:15AM -0400, Edward Ned Harvey wrote:
>>> From: discuss-bounces+blu=nedharvey@blu.org [mailto:discuss-
>>> bounces+blu=nedharvey@blu.org] On Behalf Of Stephen Adler
>>> 
>>> Does anyone know of an open source drop box like software I can setup on
>>> my web site?
>> 
>> Nothing that's as good as dropbox.  But there is buzz around sparkleshare.
>> Not very mature yet.
> 
> I too have always been sort of interested in this idea of a central
> repository for all My Stuff such that I could easily and conveniently
> get it via whatever computing device I happen to be using.  I am
> extremely reticent to house any of my personal data on someone else's
> computers...  Though I have to admit, it's now basically impossible to
> avoid in modern society, without not participating in society... and
> I've already made concessions like using Android devices.
> 
> Still, I'm not willing to store the bulk of my personal data on
> someone else's resources.  So for someone like me, applications like
> dropbox are non-solutions.  Does sparkleshare require the use of some
> resource I don't control?
> 
>> I liked ifolder (from a user perspective, not an admin perspective).  But
>> since the implosion of novell, I've decided to forget about it, kiss it
>> goodbye.
> 
> Why?  It's fully GPLv2.  Even if Novell completely goes belly up, or
> decides to take it proprietary, the OSS community can continue to
> support this or a fork of it.



I've been using Sparkleshare for a few months now.  It's not nearly as well 
polished as dropbox, but for basic stuff, it works okay.
It doesn't need any resources you don't control.  It does use an IRC server to 
communicate the hash of the latest commit, but you can pick your own server.
Also it's git on the backend, so it stores everything twice, once in the local 
repo, and once in the working copy.  (origin, master?  my git vocab isn't that 
great)
So if you drop 20GB of binaries into Sparkleshare you use 40GB of local disk.  
This is annoying.
hbons is working on some other backends.  I think it's got some potential, but 
it's a ways out.

I've also used SpiderOak.  Dropbox has far and away the most polished UI of any 
"cloud storage" program I've used.

-peter
___
Discuss mailing list
Discuss@blu.org
http://lists.blu.org/mailman/listinfo/discuss


Re: [Discuss] Bourne Shell variable assignment question

2011-12-15 Thread Peter Doherty

On Dec 15, 2011, at 15:57 , Jerry Feldman wrote:

> I have not done my homework on this as much as I should.
> A coworker needs to set variable names and values input from another
> file. Normally, I would source that file, but he specifically wants to
> parse the file.
> So, in simple terms, he has a file that has something like:
> var1=foo
> 
> Instead of sourcing he wants to parse the file using readline so he
> reads the variable name, then he wants to assign a variable of the same
> name.
> So, in his code he has something like
> readline
> ... - code to parse the line
> Where varname contains the variable name(eg var1), and value contains
> the value(eg foo)


Matt's suggestion calls grep and cut for each variable.  This creates a lot of 
process churn, and will become a slowdown if you have a huge number of 
variables.  But you probably don't.

Are you restricted to Bourne, or can you use BASH?

I know BASH can do fancy string manipulation, but I don't think it's doable in 
Bourne.
In BASH, i'd do something like this: (assuming I understood your question 
correctly)

(my input file)
$> cat file 
var1=foo
var2=bar
var3=badidea

(my one liner)
$> while read line ; do export ${line%%=*}=${line#*=} ; done < file 


refs:
http://linuxgazette.net/18/bash.html

Of course, one has to ask why your co-worker is doing this, and not just 
sourcing the file.
Also, my example will break if you have an equal sign in your variable name or 
value name.


-peter
___
Discuss mailing list
Discuss@blu.org
http://lists.blu.org/mailman/listinfo/discuss


Re: [Discuss] I think my server is running out of "something"

2012-03-21 Thread Peter Doherty

On Mar 21, 2012, at 12:47 AM, David Kramer wrote:

> 
> After partitioning the drive, I updated /etc/fstab to mount it and
> created the mount directory and made it 777.  When I rebooted, I got a
> message "/DATA4 NOT READY...S TO SKIP OR M TO MANUALLY CONFIGURE" or
> something close to that.  I issued the mount command, and it mounted
> fine.  Very strange.  I redid this test and got the same results.


So I wonder if the problem could be that the BIOS has to detect all the drives 
during the POST sequence, and that the drives aren't all spinning up and 
registering with the BIOS fast enough.  It's a long shot.
Check if your BIOS has options for staggered spin-up of the drives.  Also try 
disabling the "quick boot" option that a lot of BIOS have.
Also see if there are updated BIOS for the motherboard, and check the change 
log for anything that sounds like it might be related to your problem.

The device ordering might be getting messed up.  I'd start by walking though 
all your BIOS options and see if you find anything that sounds like it might 
help with HDD detection.

Of course, power problems do seem likely, but it doesn't quite add up.  Does 
your PS have a breakdown of the max current output on each voltage line?  3.3v, 
5v, 12v?


-peter
___
Discuss mailing list
Discuss@blu.org
http://lists.blu.org/mailman/listinfo/discuss