![]() |
[Announce] binaryclock
Binary Clock is a desktop / homescreen widget that uses a binary representation for displaying the current time.
Currently, two different "styles" are available: "classical" binary display or display as binary coded decimal (BCD). The single bits are displayed as "LEDs". Well, at least they should look like LEDs. The LED color can be freely chosen. Version 0.1.0-1 is available in extras-devel. |
Re: [Announce] binaryclock
Quote:
|
Re: [Announce] binaryclock
Ditto
Screenies plz :D |
Re: [Announce] binaryclock
2 Attachment(s)
There you go. ;)
Edit: The first image shows the "classical" binary display: seconds at the bottom, minutes in the middle and hours at the top. The least significant bits (2 to the power of 0) are at the right. The second image shows the BCD version. Here, the single decimal digits are shown from left to right (hh:mm:ss). The least significant bits are at the bottom. |
Re: [Announce] binaryclock
Looking cool and I have installed it ok, but how do you launch it?
I can't find a launch icon |
Re: [Announce] binaryclock
I am thankful for all these apps/widgets but why do we need things like these when you can allready see the time in status bar. Please dont shoot me.
|
Re: [Announce] binaryclock
Quote:
Just tap anywhere in your screen (not on any icon or present widget) and then open the desktop-menu and select add widget. There you should find "Binary Clock". |
Re: [Announce] binaryclock
Quote:
The ones who need it will know. The ones who don't won't care. ;) |
Re: [Announce] binaryclock
^^ Fair enough :)
|
Re: [Announce] binaryclock
Quote:
"There are only 10 types of people in the world: Those who understand binary, and those who don't" |
Re: [Announce] binaryclock
Quote:
Nothing is happening when I select the widget. (God I sound like such a noob, lol) |
Re: [Announce] binaryclock
How many bits are used in UNIX time? Can you make a version that displays that raw value or would that be too many lights?
|
Re: [Announce] binaryclock
Btw, i'm not finding it, what is it called in HAM?
|
Re: [Announce] binaryclock
Quote:
The widget is simply called Binary Clock. I had to reboot to get it to show up in the Add Widgets list of the desktop menu. I still cannot launch it though? I would like to hear if you can and how if it works for you :) |
Re: [Announce] binaryclock
Quote:
Actually, there are only two files being installed. Could you please check the following: Code:
ls -al /usr/share/applications/hildon-home/binaryclock.desktop Code:
-rw-r--r-- 1 root root 199 Dec 13 21:20 /usr/share/applications/hildon-home/binaryclock.desktop Code:
ls -al /opt/maemo/usr/bin/binaryclock Code:
-rwxr-xr-x 1 root root 69192 Dec 13 21:17 /opt/maemo/usr/bin/binaryclock Quote:
|
Re: [Announce] binaryclock
[QUOTE=Wonko;896223]Hmm, this sounds really strange.
Actually, there are only two files being installed. Could you please check the following: Code:
ls -al /usr/share/applications/hildon-home/binaryclock.desktop Code:
-rw-r--r-- 1 root root 199 Dec 13 21:20 /usr/share/applications/hildon-home/binaryclock.desktop Code:
ls -al /opt/maemo/usr/bin/binaryclock Code:
-rwxr-xr-x 1 root root 69192 Dec 13 21:17 /opt/maemo/usr/bin/binaryclock http://i178.photobucket.com/albums/w...reenshot13.png I am still running on PR1.2 if that could be a problem? |
Re: [Announce] binaryclock
I though HAM always refreshed the data when you closed and opened it again, aparently that isn't the case, i had to explicitly click on "Refresh" in order to get it to show; and i didn't had to reboot to see it, it went straight to the last home screen i had switched to after the installation was done.
|
Re: [Announce] binaryclock
Quote:
Though, I wonder why PR1.2 should cause such an issue. Maybe someone else who still has a PR1.2 installation could confirm this? |
Re: [Announce] binaryclock
I just uploaded version 0.2.0 to extras-devel.
With this version you can adjust the size and the "border" of the LEDs. Furthermore, I plan to release this version for "common desktop" Linux distributions and even Windows as well. |
Re: [Announce] binaryclock
Has anyone else with PR1.2 had any problems with this?
I have also tried to reinstall the newer version but still no change, worth a try I though? :( It really does look like a cool widget, I have always like binary clocks. |
Re: [Announce] binaryclock
Did anyone else notice the binary clock still eating processor time even when its homescreen isn't selected and even when you have other programs in focus?
|
Re: [Announce] binaryclock
It shouldn't be much problem fixing it.
|
Re: [Announce] binaryclock
Btw, i got an idea for a new feature (besides my request for UNIX time binary), how about adding a GUI for customizing the images?
I imagine it could be kinda like this: * One slot for the background image and one slot for a foreground overlay And for the LEDs (these settings would be the same for each individual LED) * A background image * A foreground image * An image of the LED turned off (would go in the between the previous two * An image of the LED turned on (positioned like the previous), to be blended using normal blending * An image of the LED turned on (on top of everything) to be blended using additive blending Add a tinting option (a color picker, with saturation and brightness parameters included, not just hue) for each layer and a checkbox to lock the tintings together. And if possible add an option to toggle between regular tinting (which transforms a grayscale from black to white into from black to color) and "mids tinting" (that turns a grayscale from black to white into from black to color to white), i'm not sure what is the right name for the second mode, for each layer. Using PNG you can have gradual transparency, good for compositing; and with a few formats (including PNG) you can have a fully transparent image for any slot you don't wanna use. |
Re: [Announce] binaryclock
@Wonko
could you add an option for hiding "second" digits ? (for battery saving) |
Re: [Announce] binaryclock
Just uploaded version 0.3.0 to extras-devel.
This version pauses the clock when the homescreen is changed or the screen is locked. |
Re: [Announce] binaryclock
### Feature request ###
What about a gray-code clock!? Too complicated... there is even a gray-code solver on iphone. |
Re: [Announce] binaryclock
What about when you have a program in focus instead of the homescreen?
|
Re: [Announce] binaryclock
Quote:
Actually, the clock should always be suspended when it changes from visible to invisible and be resumed when it becomes visible again. |
Re: [Announce] binaryclock
Just in case you want binaryclock also for your desktop you can grab it from sourceforge:
http://sourceforge.net/projects/qbin...files/Releases Note: the desktop version is named "Q Binary Clock". |
Re: [Announce] binaryclock
Quote:
( Many years ago i wrote a windows and a java app for a similar clock which is a version of a Unix clock) I downloaded from sourceforge version 0.4.0 to have a look through this but it is a binary blob. I have a desire to put such a creature into my locales, but no joy there as time locales in the n900 have some things going on I cannot seem to get past just yet.:( |
Re: [Announce] binaryclock
Quote:
https://garage.maemo.org/projects/binaryclock If you build it on a Linux or Windows machine you will simply end up with the Q Binary Clock version. Actually, I differentiate between Maemo and "Desktop" version with quite a number of ifdefs. If you are interested in coding your own binary widgets the BinaryDisplayWidget base class and its subclasses Horizontal- and VerticalBinaryDisplayWidget are probably the most interesting ones. As you will also see, I am currently drawing the LEDs "by hand" using QPainter instead of using image files. The reason for this is that this solution promises to scale without quality loss. |
Re: [Announce] binaryclock
Quote:
I have a different need - very niche-oriented, perhaps only of interest to myself and at most one or two others on this planet. :cool: |
Re: [Announce] binaryclock
Quote:
By the way, what kind of exotic use-case do you have, if I may ask. ;) |
Re: [Announce] binaryclock
Alright,
just uploaded version 0.4.0 to extras-devel. With this version you have the choice whether you want to display seconds or not. |
Re: [Announce] binaryclock
Quote:
---------- Also, bug: Mine displays GMT time instead of local, that is, time - 2h. 0.4.0 here |
Re: [Announce] binaryclock
Quote:
This should fix the issue. |
Re: [Announce] binaryclock
--deleted--
Rebooting fixed it, it is now correctly showing local time. |
Re: [Announce] binaryclock
Just uploaded version 0.5.0 to extras-devel.
With this version you can use two new display options: 'Unix Time' and 'Unix Time "BCH"'. Unix Time is simply the Unix time stamp shown as 32 bit integer. Well, to be accurate, it is not 100% exactly the Unix time, which is supposed to be a signed integer, but it is shown as unsigned integer. The time is represented as four bytes on top of each other (most significant byte at the top). The most significant bits are at the left. Unix Time "BCH" displays the Unix time as well but uses a "Binary Coded Hexadecimal" representation. Basically, it shows the nibbles (the hexadecimal digits) via a binary representation from left to right. The most significant digit is located at the left. The most significant bits are at the top. For these two display options disabling the "Show Seconds" option simply omits the least significant byte from being drawn. |
Re: [Announce] binaryclock
I think something's broken in the resizing in 0.5.0, the LEDs are cut off. To avoid this, I had to increase space between and lower LED size, but not they are quite small and the effect is lost.
I have 22 LED size and 14 border. Lowering border exhibits cut off and increasing LED size puts one LED over the other. |
Re: [Announce] binaryclock
Quote:
As a quick and dirty workaround could you try increasing both LED size and border? Actually, I tried LED size of 22 and border 14 for all clock styles, but I cannot reproduce the issue here. Any further information about your particular setup would help. There are some sizing issues but I only experienced these with smaller values for LED size and border. |
All times are GMT. The time now is 05:41. |
vBulletin® Version 3.8.8