NSND Ohrid

Nista se nece dogodite (NSND)  or roughly translated into English - Nothing will happen is a geek/hackers  unconference  where people get together to share knowledge about pretty much anything. This time it was in Ohrid and here are some of the stuff that didn't happen and i liked it.
So here are my favorites



 


  • SystemD the new init system for Linux
    • Damjan Gergievski
      • I unfortunaty missed this presentation and now I'm sorry for that but anyway i got to talk to Damjan and he explains me most of the general concepts. I current dont have much time to play around with systemD but I'm sure that it  is the future of Linux.
Also Bojan's recreation of intro from The Robots by Kraftwerk was pretty awesome, because he did it using a music programming languages and various cosine transformations  :)

The full list can be found on http://piratepad.net/nsndohrid

Some photos:


https://picasaweb.google.com/arangel.angov/NSNDOhrid2011?feat=blogger#

http://www.flickr.com/photos/novica/sets/72157626818818568/with/5765052733/


And the icons of NSND Ohrid


Small remake of Acpitool based power widget for Awesome3

Frist you need to have acpitool installed witch is basicly a Linux ACPI client, allowing you to query or set ACPI values and display them. Basicly said it parses /proc/acpi or /sys/class entries and presents the output in a well formated text. Acpitool is avalible in most of the linux distros and the requirement is that your kernel has the support for ACPI, witch it probably does.

Here is the code, also don't forget to register  mybattmon to the widget list in rc.lua



mybattmon = widget({ type = "textbox", 
                     name = "mybattmon",
                     align = "right" })

function battery_status ()
    --output buffer
    local output={} 
    -- read data from battery
    local fd=io.popen("acpitool -b", "r") 
    local line=fd:read()
    -- we match the output from acpitool
    local battery_load = string.match(line,
                           " (%d*\.%d+)%%")
    local time_rem = string.match(line,
                           "(%d+\:%d+)\:%d+")
    local discharging -- temp var for opening tag
    if string.match(line, 
                   "discharging")=="discharging" then 
                -- discharging: set the color to red
                discharging="< span color=\"#CC7777\">"
    elseif tonumber(battery_load)>85 then --almost charged
                discharging="< span color=\"#77CC77\">"
    else --charging
                discharging="< span color=\"#CCCC77\">"
    end
    if battery_num and battery_load and time_rem then
       table.insert(output,
       discharging.."B "..battery_load.."%% "..time_rem..
       "</span >")
    elseif battery_num and battery_load then 
    --remaining time unavailable so the battery is loading
       table.insert(output,discharging.."B "..battery_load..
       "%%</span >")
     end 
     -- even more data unavailable: 
     -- we might be getting an unexpected output format 
     -- so let's just skip this line.
    return table.concat(output," ") 
end
mybattmon.text = " " .. battery_status() .. " "
-- every 30 sec call the fucntion battery_status()
my_battmon_timer=timer({timeout=30}) 
my_battmon_timer:add_signal("timeout", function()
    mybattmon.text = " " .. battery_status() .. " "
end)
my_battmon_timer:start()

and I must say Lua is realy good scripting language.
The original code works with multiple batteries and can be found here

Today I learned about YouTube Snake

Apparently you can play snake on YouTube while the clip is playing or loading.
I acceptedly found this Easter Egg while using the up key.
There is a web site for this http://www.youtubesnake.com/.
Also it's been a while here since 2010.
When a video is selected, press the [left] key for two seconds and [up] key. 
So play it now :)

Comodore on projector

Comodore on projector by Mite.Mitreski
Comodore on projector, a photo by Mite.Mitreski on Flickr.

Comodore on projector

Inside look at amilo xa 3530

Inside look at amilo xa 3530. This is pobably one of the worldst worst laptops. Low qualty plastic, bad desgin, overheating issues and finaly now its dead. Fujitsu-simens should not be allowed to write "design in Germany" on such low qualiy products

Published with Blogger-droid v1.6.8