Skip to main content

Ralsina.Me — Roberto Alsina's website

Posts about programming (old posts, page 29)

Qmail public domain? Cool!!!!

Ac­cord­ing to Slash­dot, at least.

That means there can be a re­al com­mu­ni­ty project to in­te­grate all the patch­es float­ing around!

That means qmail will stop suck­ing with­out need for man­u­al labour!

I am just thrilled by this.

If you are a qmail user: read this

  • My most use­­ful plug­in is prob­a­bly ipthrot­tle, which you can use to make overea­ger IPs con­nect less of­ten.

  • The ver­­sion cur­ren­t­­ly in SVN will au­­to­block those IPs for a con­­fig­urable amount of time if you are us­ing ipsvd which is like tcpserver, on­­ly much bet­ter.

  • I re­al­­ly need some­one to help me test the SVN ver­­sion, which should be way, way bet­ter than the re­leas­es on the page.

  • The SVN re­po is at google­­code

Rethinking Linux Configuration: Part I

I have said Lin­ux suck­s. Here's my new pro­jec­t: Make it suck less, one bit at a time.

And I start with one of the big chunks: con­fig­u­ra­tion.

Part I in a longish se­ries (I ex­pect 5 parts at least­).

My seal of approval!

The KDE project is re­li­cens­ing some code. There is a tool to ver­i­fy if any SVN ac­count hold­er is block­ing the re­li­cens­ing of some file.

Hey, looks like I was!

I don't ex­pect to have any ac­tu­al code there since I have not ed­itd those files in per­haps 6 years, but it cost­ed me noth­ing to ap­prove it ;-)

Wanted: C programmer

Check­ing on my semi-dead pro­ject­s, I found that one was al­most fin­ished but I had for­got­ten about it: rater

In or­der to make it re­al­ly use­ful, how­ev­er, I need a C pro­gram­mer that can turn this python pro­gram:

#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys
from socket import *
serverHost = 'localhost'
serverPort = 1999

s = socket(AF_INET, SOCK_STREAM)
s.connect((serverHost, serverPort))
print "Sending: ",' '.join(sys.argv[1:])
s.send(' '.join(sys.argv[1:])+"\n")
data = s.recv(1024)
sys.stderr.write(data)
sys.stderr.flush()
sys.exit(int(data.split(' ')[0]))

In­to a nice func­tion that nev­er fails and nev­er leaks mem­o­ry (of course, it should re­turn in­stead of ex­it, this is just ex­am­ple code ;-).

If that's done, I can re­lease rater as a use­ful tool, which should find a home in many qmail in­stal­la­tions (and maybe oth­er us­es).


Contents © 2000-2023 Roberto Alsina