art's abode

art.csoft.net

The Genius

with one comment

Poet, wrestler, manager, a true renaissance man in his bloom.

Post to Twitter Post to Plurk Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Ping.fm Post to Reddit Post to StumbleUpon

Written by art

January 20th, 2009 at 6:26 pm

Back to basics…

with one comment

Welp, that was fun. I guess it’s time to use this thing again.

Now that WordPress has a decent CAPTCHA facility for comments, maybe I’ll stop getting blasted with Viagra ads by robots—we’ll see… it’s a new year, full of incredible possibilities…

Post to Twitter Post to Plurk Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Ping.fm Post to Reddit Post to StumbleUpon

Written by art

January 14th, 2009 at 9:11 pm

Woe is me.

without comments

Hi guys, this site is not going to be updated anymore, for now. I have opted to use Windows Live Spaces instead. Why? To be honest, I don’t have time/any desire to maintain WordPress anymore. Lazy as fuck, I know, I know.

So long csoft blog, and thanks for all the phish(ing).

Post to Twitter Post to Plurk Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Ping.fm Post to Reddit Post to StumbleUpon

Written by art

April 4th, 2008 at 5:18 pm

Posted in woe-is-me

dadadodo for lulz and profit

without comments

Ok, so I reckon my first attempt at dissociation wasn’t so great. Recently, I compiled all my IRC logs from 2004 to current, and ran it through for some better results (having pored through the other 99.9% utter mumbo-jumbo it generates).

Three hundred odd megabytes of IRC banter…

-rw-r–r– 1 art art 332202514 2008-02-20 23:50 irc.log.2004.2008

… which is a mere 6.74 million lines …

6747292 lines

… process wildly for about an hour at gas mark 6 …

real    62m19.124s
user    10m46.532s
sys     0m9.589s

And out come a few tasty treats:

Buy a gay Gangsta / The ass down; dead sexy G / arfer gotta reboot computer / Well you don’t have a beard! / Lisa is not too, unstoned / im jackie chan takeover never even if u want / Aftermath, prevention.  Full paychecks Fraggle. / Cnn, was real sickening robcool. / hehe stupid cockos stupid calculus? / Elm: what he came to finish your asscrack / A Leetle HAHHHHHHSSSHHH! / digit null: has attained level in stupid / more in theory of my fire slowing the connection / I can shoot it fack / Its fuckin gets your fuckin nick now / Next level Next year Robcool.  Badapbapbapbap / …

Kinda bit depressed; unwanted

… / And all go once and bait, etc, clarkee. / stripey fuq all of idlerpg. / Unf Unf unf unf centry tastes arf clean it appears / Though.  Fighting kobi: pescado namssa. Crazy, weepy tooof; / die, jimmy. / ubuntu linux is now online stuff / Fncypntz: hotboxing the face (off signoff Vision and: a bowl accidental / the Worst thing is Seafood its a: depressed Robcool. / Bobsaget, the Council isn’t gay. / Might be about a south america asia jerk striphy / arf; damns i m fakeidler. / long Faggot taking picz unstoned unstoned imvfpisssed unstoned just communicate with you do my vibrator hookup. / Baub you’re tainted authority / i would be satisfied!  Fncypntz. / Yeah good luck to verruca / Rofl plus extras / I have to the bottom of the lunch time you can carry around with your cock in day making snickers / Look like having arf call you biatches has ill give; / I don’t support arfyarf: bbiaf / got in Iraq, Us the Connection reset by peer, Voltron got it rst / Those hot like a Differential equation / Deuce. / Three words you fixed zombie / Heheh pescado es bueno hay mucho Infamous / This world is first. / Tuck Tuck was like fuck / Ok enough of lies. / Well lookie IMPOTEEEENNNNCEEEE arfyarf. / penis join join to somewhere But I dont I suppose the americans smegma Rampage / Superfriends is you / But it’s crack house once i have corn flakes / there is arfer: ban him / Fag?  Werent lyin tumble.  Jimmy he could find anyone Want me / Bsd is now known as bloated / Lol meiso its tea joint lush and you enjoyed use Maxells flame flame, again did! / Gonna go for this brand of english men / It’s offical reunification was for valentines?  Whooo wouldnt smoke man! / tomorrow most of that be something Robcool; grapenuts; gooses. / Apmannen (reaches next level next level aznsensation)! / hahaha arf it’s arf so it sucked, apparently / Gay arf: arf. / Get laid tonight.  Oh my account. / So many many girls mad glad to the answer (these dried saliva produced stripey). / Aye man, this that was kicked from vagina?  Haha / girlies are into to stripey. / The level procrastinator, is supposed to tear down arf / …

I’m beginning to learn a few things more about my Sparc based on these scientific findings. I do believe he’s a raging homosexual, and a drug addict. Fascinating.

Post to Twitter Post to Plurk Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Ping.fm Post to Reddit Post to StumbleUpon

Written by art

March 1st, 2008 at 12:26 am

Some peace and quiet

with 3 comments

It’s nice to get along with your neighbours. Yesterday I spent 2 hours listening to one of ours–again. He is a 3-time ex-convict, recovering crack addict, formerly homeless, used-to-be-gangsta, etc.. Ever met those types of people who just have to talk loudly, no matter what? How about those types that can’t stop spitting little bits of saliva when they speak? Nice one. Mad nice to meet you.

This guy has lately become so paranoid that he’s convinced that a neighbour nearby is actually a prison guard, and that everyone in our neighbourhood is conspiring against him.

He’s “caught” our neighbours talking to each other–obviously about him, what else could they possibly be talking about? The other day, he realized that they had trained all their cats and dogs to shit and piss on his garden. Also, apparently they wait for him to clean his garden, then throw junk into his lot.

They have also used pre-emptive strikes to “mess up” 5 chances he had with women (all of whom he seemed convinced he would marry). They also know when he is doing his Islamic verses and prayers (he’s trying to convert into the faith), and deliberately make things “unclean” for him, breaking in and touching his Koran, and so forth.

Also, the neighbours listen to his phone conversations, plan when he’s out to burgularise his flat up, and don his hoodie and track pants. He caught someone wearing his track suit once, yelled and threatened them until they ran off. When he got back home, he discovered that his place had been apparently entered into, and it seemed as if the clothes were put back hastily. No joke.

From what I know, our neighbours seem to be mostly families. This guy is a single thirtysomething spazz who can’t hold an honest job down for the life of him. Makes sense that they’d be mad envious and want to mess him up.

… did I mention he consistently reeks of burger grease smell?

Pure “I C, I C… /me nods head and looks at his watch repeatedly.” Woe is me, for I can’t be rid of dickheads.

Post to Twitter Post to Plurk Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Ping.fm Post to Reddit Post to StumbleUpon

Written by art

February 26th, 2008 at 8:02 pm

Recursively cat’ing all files in a directory

with one comment

$ cat `find /directoryname -type f`

Post to Twitter Post to Plurk Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Ping.fm Post to Reddit Post to StumbleUpon

Written by art

February 21st, 2008 at 12:07 am

Posted in shell

Vista SP1 RTM

without comments

Got my paws on the RTM of Vista SP1 yesterday night, and upgraded earlier today off a mostly-clean 6000 build, without a hitch. Apart from rebooting a handful of times and taking about 2 hours on a new notebook, I haven’t run across any problems yet.

SUA SP1 also works (and is more or less just as slow and shitty).

Anyhow, it’s somewhat exciting to have a moreso Server 2008-like kernel.

Post to Twitter Post to Plurk Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Ping.fm Post to Reddit Post to StumbleUpon

Written by art

February 17th, 2008 at 2:54 am

Calibrating Finger Input

without comments

In Vista, if you have a capable screen, you can input not only with Wacom (“Penabled”) pens, but also with your finger. If you find that the calibration settings are completely off (which they seem to be by default), run in console as administrator:

tabcal novalidate

Post to Twitter Post to Plurk Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Ping.fm Post to Reddit Post to StumbleUpon

Written by art

February 2nd, 2008 at 2:11 am

boo network code: simple telnet/web server

without comments

Shamelessly modified from the boo example sources, but it’s enough to get you started:

import System.IO
import System.Net
import System.Net.Sockets

server = Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)
server.Bind(IPEndPoint(IPAddress.Any, 8200))
server.Listen(1)

while true:
        socket = server.Accept()
        using stream=NetworkStream(socket, true):
                print(StreamReader(stream).ReadLine())

                writer=StreamWriter(stream)
                writer.WriteLine(“Ahoy, this server is running: ${shell(‘booc’, ”)}”)
                writer.WriteLine(“${shell(‘cat’, ‘/proc/cpuinfo’)}”)
                writer.Flush()

MSDN’s System.Net Namespace docs might could also be of use. I’ve tested this on sparc and x86 linux variants with mono.

Hope you find this useful, network programming seems to be a relatively familiar experience if you’ve done it before in another modern language, just took a little bit of scrounging to dig up.

Post to Twitter Post to Plurk Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Ping.fm Post to Reddit Post to StumbleUpon

Written by art

January 31st, 2008 at 11:16 pm

boo versus ruby

without comments

Here’s a document I ran across today which details some of the specific differences in the two languages. Just one of the many glorious tidbits:

Boo uses CLR threads, which generally map one-to-one to kernel threads and therefore exploit multiple processors and are fully preemptive.

In contrast, Ruby uses lightweight threads – threads implemented within the interpreter. Because of their extremely low switching latency, they can be used in situations where kernel threads impose too much overhead…[b]ut Ruby’s threads are limited to one CPU, and block on OS calls.

Microthreads can be implemented in user libraries, but only cooperative threads (as far as I know). I don’t know how important preemptive (within the hosted language) microthreads are. But the CLI (and therefore, Boo) seem to have no standard library implementation of lightweight threads.

All this is specific to the main Ruby implementation. JRuby, like Boo, relies on the underlying VM’s threading model – the JVM’s, in this case – and so its threads are generally fully preemptive and exploit multiple CPUs.

At the end of the day, I suppose comparing boo with ruby is a bit like comparing dicks to pussies, as ruby is an interpreted language through-and-through, whilst boo can be run, for instance using booi in interpreter mode, or using booc compile CLI bytecode binaries (which are absolutely tiny compared with, for instance, ruby2exe’ing a ruby project) to be run with mono/.NET or other CLR.

Also gotta love the mention of the JRuby: now we’re talking optimized best-of-breed solution. Lulz.

Post to Twitter Post to Plurk Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Ping.fm Post to Reddit Post to StumbleUpon

Written by art

January 31st, 2008 at 9:24 pm

Posted in boo,development,ruby