LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Blogs > Musings on technology, philosophy, and life in the corporate world
User Name
Password

Notices


Hi. I'm a Unix Administrator, mathematics enthusiast, and amateur philosopher. This is where I rant about that which upsets me, laugh about that which amuses me, and jabber about that which holds my interest most: Unix.
Uncategorized Entries with no category
Old

LOC hilarity

Posted 01-09-2015 at 05:35 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 01-09-2015 at 05:47 PM by rocket357 (I can't English)

In a discussion on openbsd's tech@ mailing list, it was determined that ntpd-4.2.8 contained approximately 190k lines of code...a count that came up after the 8 vulnerabilities in ntpd were recently announced.

(DISCLAIMER: lines of code are difficult to count fairly, especially comparing one product to another, but this gives a rough "ballpark" idea of LOC).

Let's see if I can put this in perspective. ntpd checks and sets the time on a machine. In a nutshell,...
Member
Posted in Uncategorized
Views 242 Comments 0 rocket357 is offline
Old

Dear World

Posted 12-24-2014 at 06:47 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)

I survived another year. I know eventually you'll get the best of me, but until then better luck next go-round...
Member
Posted in Uncategorized
Views 201 Comments 0 rocket357 is offline
Old

Took the Plunge

Posted 12-22-2014 at 12:13 AM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 12-22-2014 at 12:42 AM by rocket357

I've run a tor relay over at Digital Ocean for a while now, and I finally decided to pull the plug on it. Digital Ocean announced up coming BSD support, and I waited with anticipation to see exactly how far they were willing to go with the BSDs...and let down that it was only FreeBSD support. (I've been running the tor node on Debian...not exactly ideal in my opinion, but it's been working well enough...I was really looking forward to switching the tor node over to OpenBSD...).

...
Member
Posted in Uncategorized
Views 221 Comments 0 rocket357 is offline
Old

OpenBSD-STABLE Automated build script: 2

Posted 12-02-2014 at 05:18 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)

New and improved, with X included.

Code:
#!/bin/sh

set -e

export LOGFILE=/var/log/build_stable.log
export ARCH=`machine`

# DEFAULT: BUILD -STABLE (UPGRADE TO LATEST -RELEASE FIRST!!)
export BUILDVER=OPENBSD_`uname -r | tr '.' '_'`

cat > ${LOGFILE} << EOF


STABLE BUILD - `date` - `uname -a`


EOF

echo "Retrieving/Updating Sources for src ${BUILDVER}"
...
Member
Posted in Uncategorized
Views 295 Comments 0 rocket357 is offline
Old

A Life in Code

Posted 11-05-2014 at 12:21 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)

PHP Code:
#!/usr/bin/env python
import systime

alive 
None

try:
    
birthday time.asctime(argv[1])
except InvalidDateExceptione:
    
sys.exit() # never existed?  Paradox!

deathdate None

if time.now() > birthday and time.now() < deathdate:
    
alive True

def OHNOES
():
    
alive False

minor 
True

while alive and minor:
    
geteducation() 
...
Member
Posted in Uncategorized
Views 248 Comments 0 rocket357 is offline

  



All times are GMT -5. The time now is 09:52 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration