Fork me on GitHub

No Woe Notes

No Woe Notes

lmaa  //  nerdy, open-minded, stuff I care about but without the diary-esque things.

Feb 3 / 4:58am

Hardcore Forking Action

by lmaa
I really love it when I come a across a blog by someone I don't know already and the first thing I notice is:
Screen_shot_2010-02-03_at_1
I always wanted to know where they got those nifty badges. The answer is pretty simple, the github blog blogged about it. Choose the one that fits your blog layout and tell everyone to Fork me on GitHub!

So I decided to add this badge on my blog as well.
Filed under  //  github   it   programming   social  

Comments (0)

Jan 17 / 7:02am

symbiotic

by lmaa

I often start to write something, just to stop and discard it afterwards.

When I go to sleep, it feels like I didn’t drink
enough coffee and didn’t have enough cigarettes.
When I wake up I have the same feeling again.

When I eat, I sometimes have the feeling
that nothing satisfies my hunger.
Nothing tastes good enough.
It’s not the quantity but the quality.
Sadly, most of the time
Fast food satisfies this hunger.
You might call this an addiction.

I keep stuff for myself,
as long as I am alone.

I will never learn to do something regularly.
I need to be intrinsically motivated to do something.
When I am forced to do something
with a fixed due date and I am not at home,
I will do it.

When I have to do something
and I have all the time of my life,
but suddenly it has to be done till next month,
I’ll wait till one or two days before
and do it then.
I just learned to keep calm
and carpe all the diems till then.

Right now I am relaxed and anxious at the same time.

I can feel the lonelyiness and freedom at once.

I gladly look back at the furry cuffs,

they were always there,

but noone ever wore them.


  • There is no right or wrong
  • There is no good or evil
  • There is no we or me
  • There is no logic or belief
  • There is only comedy and tragedy
    - Choose your poison flavour!

If I wait long enough it’ll autosave the document, question is:
Would you call this persistence?
There is no art in autosave.
It might save at any time.
It might save
and keep the document in an non-representing state.
People reading autosaved documents,
cannot reconstruct the rest,
knowing that it was unintentionally saved at this point.

I say:

Somebody said,

a piece of art is never complete, it just reaches a certain level of satisfaction.

Autosaved documents will never be satisfactory.

I sometimes get the feeling that my hands start to

I really have the hand-to-pc interface. piano playing is for losers.

Every metalevel has a metalevel, don’t be scared, even those that claim to be on top of things, are just being smiled at by others, who are being watched by even others, who are surveilled by those above them, who are… I think you got the clue, right?

Don’t trust trust. Does not compute.

Don’t ask me why,
but kids should learn to use computers by the commandline
and yes, their first major decision would be,
whether to choose tcsh, ksh, bash, zsh or,
what I would really prefer ashbusybox. You ask why?

The Terminator™ is right,
though there might not be a Fallout™, there is still one question:

Will mankind be a slave to the machine,
or will McDonalds or BurgerKing win?

Down with IT.

Filed under  //  untagged  

Comments (0)

Jan 14 / 4:04am

I wanna build a Factory

by lmaa

Back in the days when I was working a lot on the rails I came across girl that built factories for me. Thoughts of bots made my test fixtures vanish to be replaced by neatly fitting factories for my rails models. At that point I wasn't that interested in the girl, so we went our separate ways. Sad story, I'd never expected to meet her again.

Time went on and the agnostic front of ruby web application frameworks merbed their way into my daily life. Though I never used merb, its charme of database and view agnosticism made me look around in the vast plains of upcoming frameworks. I'm a mac, not a mack. I went camping for some time but it didn't feel right. In the end I went along with the one with the hat. You know: I did it my way!

Mr. Sinatra made my eyes nearly pop out. I was like,

require 'rubygems'require 'sinatra'get '/hi' do  "Hello World!"end

I had to take a REST on the couch. And there I was, relaxing, listening to the sound of a roaring nginx accompained by the one and only passenger I'd ever need, (Note: No I don't mean that passenger) when suddenly all my speccing and story writing became brittle and tedious. Giant robots smashed into other giant robots and there she was. The girl.

At first it was a bit awkward, we both changed. I thought, "ZOMG, I left her for my own freedom, went off the rails, left her with the thought bots, she'll never build those nifty factories for anymore. I, the one who betrayed her by leaving the sequel just to relax and chill on the couch". Oh how wrong was. She just came back and it was like it has always been, even better. But let's just see how she went on, while I was having me time out in the wild.

The World: We got you under control, and you do what we tell you

The Girl: Fuck you, I won't do what you tell me!

To cut the matter short, she built those neat factories I always loved and didn't care that the products she gave me took a rest on the couch, while listening to Frank's tunes.

Is this love?

But wait there's more...

I did a background check on her, just to make sure. Guess what I found out, she even likes my stories. Now put that in your pipe:

Given a girl exists with a history of "building factories"

so

When I install "factory_girl" as a gem

Then I should be able to run this as a cucumber scenario

Filed under  //  bdd   cucumber   girls   it   life   love   programming   rails   rspec   ruby   sinatra   stories   testing   webservices  

Comments (1)

Dec 7 / 6:38am

Flex 4, Custom ItemRenderer and States

by lmaa

I recently struggled when writing a custom ItemRenderer for an Adobe Air Application which defined several non-standard view states. 

Since the rendered Item should be the representation of a Torrent, it should have states like seeding or paused. I defined a Model that could be asked for the current state of the corresponding torrent. I bound this property to the currentState of the ItemRenderer. 

So far so good. Upon startup the states were set correctly, but when hovering a single Item, the state snapped back to the default State (the first defined state). After I crawled the internet for help, I gave up and tried some of the not-yet-used attributes of the Spark-class "State". In this case basedUpon.

I ended up with dynamically setting the basedUpon attribute of the normal and hovered State to the current State defined by the model. 

Filed under  //  adobe   air   flex   flex 4   it   programming  

Comments (2)

Oct 30 / 2:12pm

The issue with relaxing

by lmaa

There's a kind of a hype around the database that puts pressure on relaxing. Great idea! An new way to think about databases for the web was badly needed, but there seems to be quite a lot of people thinking too short when it comes to the another usage of couchdb. All the libraries I've seen recently make one big mistake when it comes to determining the Type of a document. Schemaless databases give you the opportunity to name the Type column the way YOU like. 

This leads to the following problem: When accessing a couchdb from another client that uses a different couchdb library, it can query the data from the couchdb views without a problem, but when it comes to deserializing json to objects, many libraries rely on hardcoded Type-columns that determine the "application-specific" class. 

For example the ruby library couchpotato, which is really neat, uses the key ruby_class, while the actionscript3 couchdb service in the backend of restfulx uses the really creative term clazz. So we either agree on a standardized name for the Type column, or we need to implement a Mutli-Type-column-handling in each library.

All the libraries really ignore the fact, that it should be possible to access the couchdb from different clients directly since it is already a restful webservice. Am I the only one demanding to be able to use it that way?

Of course one could develop a new webservice in front of the couchdb to which all the other clients can talk then. But then we have another goddamn API you have to implement in each client. The goal should be to reduce the not-reusable-bloat in each client to a minimal API-Overhead. Of course there needs to be some logic implemented to handle dependencies of document creation, or cascades when deleting documents, but having a couchdb lib in each client reduces the overhead for the developer to a minimum. Furthermore you can reduce the load on the server side, since it just has to handle the real db-calls, while the logicwork is carried out by the clients.

Just my thoughts on the current evolving couchdbesque apps and services around the web.

What do you think? For what are you using your couchdb? Are you using couchdb yet? Got something better?
Filed under  //  IT   couchdb   webservices  

Comments (1)

Oct 12 / 12:08pm

Mac OS X: What 64Bit means...

by lmaa
Since there's always a lot of fuss about operating systems being "64Bit", I'd like to post this picture here to clarify what 64Bit refers to in case of Mac OS X.
Screen_shot_2009-10-12_at_8
Source: Apple Insider

The application-layer on Tiger was still completely 32Bit, while this has been changed with Leopard. With Snow Leopard even the Kernel can be 64Bit but it isn't by default. So the UNIX has been 64Bit since Tiger, the application level since Leopard and the Kernel since Snow Leopard. 

Since there are only a few true 64Bit applications that can benefit from the change like Handbrake does, it isn't that kind of important yet to be "64Bit top-to-bottom".

Hope this clarifies the vague term "64Bit" when it comes to Mac OS X.
Filed under  //  64bit   apple   clarity   it   macosx   rumours  

Comments (0)