Centroid.EU Blog

(this blog is mostly encrypted - adults only)

Previous Page

I have just refined the search

May 2nd, 2018

You may have noticed that the "Keyword Search" is gone. Instead I have a "Search" where you can use an AND or an OR search term with up to 16 keywords. So as an example you can search this blog with:

  • "firstname initial. lastname" OR "firstname initial. lastname", and it will list any articles that have any of these exact search terms (case insensitive)
  • something AND something, and if both words appear in an article it will be listed
  • and so on
I'm very glad to make this happen, the code is ugly but it works.


Minor outage of omega

May 1st, 2018

The omega.virgostar.net vps that does primary dns, email and serving this web page was down for about 12 minutes. My provider Vultr has a status page: here. Omega is physically in Frankfurt, Germany.


I have removed PHP from my webserver (for the time being)

April 30th, 2018

Now that my blog is based off C I have removed PHP from this system. There was three other .php files left that I made static content files. This is by some seen as a win. I'm not so sure but willing to see it go through.


A newly written blog, happy anniversary!

April 30th, 2018

Tomorrow is may, and that means that this blog is turning nine (9) years old. For the anniversary I have rewritten this blog from PHP to the C programming language in record time. I think I spent less than 24 hours coding on this. The new blog software is now running and I'm ironing out the bugs as I see them.

Please update your RSS if you've been using RSS. I don't think the url for this will change any time soon so you should be getting the last 10 articles in the RSS. I just renamed my RSS feed to have the history and added the new feed by entering the URL into thunderbird.

Enjoy, and happy may day!


Attention this blog will change

April 28th, 2018

In the last 24 hours I have rewritten this blog in the C programming language. I wrote this with libkcgi, much like the new undeadly blog (which is called fwobac). I even used a routine from Daniel Hartmeier to strip html (function de_html). Anyhow what does this mean to you, the reader of the centroid blog?

If you're using the RSS feed, your feed will stop. The cenrss.php utility won't be ported over. I have written a replacement in C. So you'll quite likely need to restart your feed when the URL changes.

I'm putting this out for May 2018, the 9 year anniversary month of this blog. Nine years ago I wrote this blog in PHP and have been fixing it all along the times when I switched versions of PHP.

Some things have changed. I'm using SHA256 instead of MD5 as the cookies for the commenting system. I'm also heavily pledge()'ing. I've contained the entire cgi in one file and thus had to make some adjustments. It may look minutely different, but just cosmetic changes.

Over the next few days I'm gonna beta test the new blog and the day when I want to put this live will be around May 1st. I can now rest a little as my hands are hurting from typing. I wrote about 1100 lines of C code for this. That's how much the blog is. Anyhow.. cheers!


Nothing out of the ordinary here

April 27th, 2018

I was standing at the bus stop today on my way home and thought this was strange...

oh well...


Ordered 2 more books

April 26th, 2018

I have ordered two books:

  • Perl Pocket Reference - Vromans, Johan
  • Mastering Perl - Foy, Brian D.
Unlike the other books I have ordered these from lehmanns.de not amazon. I'm going to keep amazon purchases low from now on I think.


Ordered two books from Amazon

April 22nd, 2018

  • Language Implementation Patterns: Techniques for Implementing Domain-Specific Languages - Parr, Terence
  • Engineering a Compiler - Torczon, Linda,Cooper, Keith



April 22nd, 2018

This is my new vps. It's at hetzner online and costs something around 3 EUR per month. It runs OpenBSD under KVM. I'll let it run in parallel with chi.goldflipper.de for about a month and then I'll retire chi. I'm saving about 5 EUR a month with this new VPS.


Script to derive the SubjectPublicKeyInfo hash of a CERT (useful for DANE)

April 21st, 2018

I did this script becuase it wasn't apparent to me how this hash was derived that I put in my DNS TLSA RR's. I somewhat blindly followed what ldns-dane output and that was suggested by a stranger as well.

omega# ./script.sh mail.solarscale.de.crt  
The SHA256 of the SubjectPublicKeyInfo of mail.solarscale.de.crt is:
omega# cat script.sh 

if [ $# -ne 1 ] ; then
        echo must provide a .crt as input argument 1 1>&2
        exit 1

echo The SHA256 of the SubjectPublicKeyInfo of $1 is: 
cat $1 | openssl x509 -pubkey -noout | grep -v -e BEGIN -e END |\
openssl enc -d -a | sha256

exit 0
I did the work, now I deserve cookies :-).


Next Page


RSS Feed

Click here for RSS

On this day in

Other links

Have feedback?

By clicking on the header of an article you will be served a cookie. If you do not agree to this do not click on the header. Thanks!

Using a text-based webbrowser?

... such as lynx? Welcome back it's working again for the time being.

Older Blog Entries

Powered by BCHS