Take the Right Choice

Posted 09/07/2008 - 21:08 by CoolGoose

The right choice regarding global warming.

Top 23 Stupid notes

Posted 09/02/2008 - 16:56 by CoolGoose

These are real notes written by parents in a Tennessee school district…(spellings have been left intact.)

1. My son is under a doctor’s care and should not take PE today. Please execute him.

2. Please exkuce lisa for being absent she was sick and i had her shot.

3. Dear school: please ecsc’s john being absent on jan. 28, 29, 30, 31, 32 and also 33.

4. Please excuse gloria from jim today. She is administrating.

5. Please excuse roland from p.e. for a few days. Yesterday he fell out of a tree and misplaced his hip.

6. John has been absent because he had two teeth taken out of his face.

7. Carlos was absent yesterday because he was playing football. He was hurt in the growing part.

8. Megan could not come to school today because she has been bothered by very close veins.

9. Chris will not be in school cus he has an acre in his side.

10. Please excuse ray friday from school. He has very loose vowels.

11. Please excuse pedro from being absent yesterday. He had (diahre, dyrea, direathe), the sh**s. [note: words in ( )'s were crossed out] .

12. Please excuse tommy for being absent yesterday. He had diarrhea, and his boots leak.

13. Irving was absent yesterday because he missed his bust.

14. Please excuse jimmy for being.It was his father’s fault.

15. I kept billie home because she had to go christmas shopping because i don’t know what size she wear.

16. Please excuse jennifer fo! R missing school yesterday. We
forgot to get the sunday paper off the porch, and when we found it monday. We thought it was sunday.

17. Sally won’t be in school a week from friday. We have to attend her funeral.

18. My daughter was absent yesterday because she was tired. She spent a weekend with the marines.

19. Ple ase excuse jason for being absent yesterday. He had a cold and could not breed well.

20. Please excuse mary for being absent yesterday. She was in bed with gramps.

21. Gloria was absent yesterday as she was having a gangover.

22. Please excuse brenda. She has been sick and under the doctor.

23. Maryann was absent december 11-16, because she had a fever,sore throat, headache and upset stomach. Her sister was also sick,fever an sore throat, her brother had a low grade fever and ached all over. I wasn’t the best either, sore throat and fever. There must be something going around, her father even got hot last night.

Now we know why parents are screaming for better education for our kids!

Bandwidth Limitations

Posted 09/02/2008 - 15:14 by CoolGoose

Most of you don't know but I live in Romania, and once upon a time we also had bandwidth transfer limitations.
A few years ago our network plans were something like 30$ for 256kbps and 20Gb bandwidth limitation.

The reason that we don't have those stupid limitations right now, and that we can enjoy about 2-10Mbps external internet connection (that means outside of Romania) and 20-50Mbps connections in the country, is that we fought this system in a very logical way, without bitching about it very much.

What was our solution you ask me? Well, it's pretty easy. We made our own little LANs and bought a business connection that allowed unlimited traffic to happen on it. The costs were split equally between the LAN members and everybody was happy. In time larger LANs formed and small companies started to appear that offered unlimited transfer internet in their area. And those companies grew and the big internet players started to change also, first they increased the cap of the transfer, after that they started offering some plans with unlimited transfer and after that we get to todays situation when we can enjoy our own little freedom.

So stop complaining and act!

/ps
If you want to know I pay 10$/ month for 5Mbps/50Mbps uncapped bandwidth.

Simple PHP Tag Cloud (CodeIgniter)

Posted 08/28/2008 - 13:21 by CoolGoose

Here's my simple tagCloud Codeigniter php script
video_to_tag table is a many_to_many relationship table.

I know that this code can be improved but right now it's a nice starting point.

  1. public function tagCloud($nr_entries)
  2. {
  3.  
  4.     $this->db->select('COUNT(video_to_tag.tag_id) as tag_entries,
  5.  
  6.                       tags.tag_name')
  7.  
  8.              ->from('video_to_tag')
  9.  
  10.              ->join('tags', 'tags.tag_id = video_to_tag.tag_id', 'inner')
  11.  
  12.              ->group_by('tags.tag_name')
  13.  
  14.              ->order_by('tags.tag_id')
  15.  
  16.              ->limit($nr_entries,0);   
  17.  
  18.     $result = $this->db->get();
  19.  
  20.    
  21.  
  22.     if (0 < $result->num_rows())
  23.     {
  24.  
  25.         $result = $result->result();
  26.  
  27.         $tags = array();
  28.        
  29.         // order the tags array
  30.  
  31.         foreach ($result as $entry)
  32.         {
  33.             $tags[$entry->tag_name] = $entry->tag_entries;
  34.         }            
  35.  
  36.  
  37.  
  38.         $max_size = 250; // max font size in %
  39.  
  40.         $min_size = 100; // min font size in %
  41.  
  42.  
  43.  
  44.         // get the largest and smallest array values
  45.  
  46.         $max_qty = max(array_values($tags));
  47.  
  48.         $min_qty = min(array_values($tags));
  49.  
  50.  
  51.  
  52.         // find the range of values
  53.  
  54.         $spread = $max_qty - $min_qty;
  55.  
  56.         if (0 == $spread) // we don't want to divide by zero
  57.         {
  58.             $spread = 1;
  59.         }
  60.  
  61.  
  62.  
  63.         // determine the font-size increment
  64.  
  65.         // this is the increase per tag quantity (times used)
  66.  
  67.         $step = ($max_size - $min_size)/($spread);
  68.  
  69.        
  70.  
  71.         // init the url helper
  72.  
  73.         $this->load->helper('url');
  74.  
  75.         // init the tag cloud
  76.  
  77.         $tag_cloud = '';
  78.  
  79.         // loop through our tag array
  80.  
  81.         foreach ($tags as $key => $value)
  82.         {
  83.             // calculate CSS font-size
  84.  
  85.             // find the $value in excess of $min_qty
  86.  
  87.             // multiply by the font-size increment ($size)
  88.  
  89.             // and add the $min_size set above
  90.  
  91.             $size = $min_size + (($value - $min_qty) * $step);
  92.  
  93.  
  94.  
  95.             $url_attributes = array('title' => "{$value} things tagged with {$key}",
  96.  
  97.                                     'style' => "font-size: {$size}%");
  98.  
  99.             $tag_cloud .= anchor('tag/'.url_title($key), $key, $url_attributes) . '&nbsp;';
  100.  
  101.          }
  102.  
  103.          
  104.  
  105.          return $tag_cloud;
  106.  
  107.  
  108.  
  109.     }  
  110.  
  111.     return false;              
  112.  
  113. }

Sick of Ubuntu complaints

Posted 08/24/2008 - 18:28 by CoolGoose

Ok so I'm sick and tired of hearing everybody complaining about Ubuntu.
Ubuntu has to many bugs, Ubuntu this, Ubuntu that. Why did Ubuntu include Firefox 3 beta 5 in their initial release bla bla bla bla bla. You must understand that some package selections for the LTS release were made exactly because of the fact it's a LTS release.

Also from my personal experience I always had problems with various distributions that I didn't have with Ubuntu.
The package manager in OpenSuse still gives me an headache now and then, Fedora is too bleeding edge (yay no proprietary drivers at all, sigh) etc. Mandriva is a nice alternative but it's too KDE centric for my taste.

Also i always had problems with my pppoe connection on other distributions except the Debian based ones. pppoeconf just does it job plain and simple. In fedora i always got disconnects, in OpenSuse sometimes it didn't connect etc.

Also i like the fact that i can set up a good php development environment in 5 minutes in Ubuntu. I'm tired on configuring phpmyadmin by hand, trying to find some stupid php extensions etc.

Other people are bitching about the fact that Ubuntu in it's LTS release has too many new technologies. Who cares. If you really want to be sure that you don't have a problem use the old LTS release. It's stable and it has so fewer features, but hey who cares right ?

What I'm trying to say and nobody will understand is that EVERY DISTRIBUTION HAS IT'S FLAWS if you don't like Ubuntu stop being a little bitch and choose another, or fix the damn problems yourself. Most of the problems are upstream problems. If you're complaining that your rhythmbox crashes it's not Ubuntu's fault. At least submit a bug report, a proper one and eventually the bug will get fixed.

/ps
I'm disabling the comments on this post because I'm an ass and don't want to hear your opinions, because you're all trolls. Remember if you don't like it don't use it. Go back to your little windows installation and play gay games. K? Thx. Bye!

Inner Tranquility Free HD Wallpaper

Posted 08/21/2008 - 21:07 by CoolGoose

For a snob. K? Thx. Bye!

/le
Click the image for HD version :P.

Books

Posted 08/14/2008 - 23:55 by CoolGoose

Dupa o alta perioada fara carti noi de citit am dat peste Roata Timpului de Robert Jordan. In aiurealea mea prima carte din seria a fost de fapt a 3-a dar totul s-a rezolvat pana la urma cand am mers la sala dales si am golit buzunarele ca sa iau primele doua carti.

Si ca un mic bonus pentru mine mi-am mai cumparat si Jonathan Strange and Mr Norrell de Susanna Clarke :D. Long live the books :D

MY KDE dream - Kate

Posted 07/19/2008 - 13:57 by CoolGoose

I don't consider myself in the position to ask for such changes but seeing Mark Shuttleworth talking about how he'd like having Gnome based on QT and the uncertainty in the gnome camp about the future of gtk 3.0 I was starting to ask myself if it was possible to have a Gnome-ish KDE.

As a warning I'm an extreme advocate of the hole Gnome KISS philosophy so some of my mock ups could be a bit too simplistic for you KDE guys. I'm just modifying existing applications based on some design philosophies from the gnome camp.

There are going to be several articles that will (hopefully) cover all of the (my) important applications.

Kate

What's with this session chooser thing.

Do i really need to select a session ?
I mean how often do you really need different sessions for an application
Wouldn't it be better to be a window after the Kate window is shown ? Or not to be displayed at all ?

Tip of the day is pretty decent and i don't have any cons about it. It can be disabled and it may show you some interesting options
from a beginner standpoint

Not from my standpoint it starts to get a bit messy.

Why do i need the Find in files and terminal buttons on the bottom of the screen ?

Also why is that filter system needed. Wouldn't it be better to have
something like Gedit "filter" system but improved. ?
Look at the screen shot for a better illustration of what i mean
and maybe it can do the real filtering as in Kate.

Also wouldn't it be better that the hole file system browser / documents sidebar to be more like the one from dolphin ? It's very configurable you can have
the views one under another or with tabs ( this could solve the problem of Kate
of not having a tab system and you constantly have to switch between the file browser and the documents).

Also wouldn't it be better that the file system browser would be the one used by the folder sidebar from Dolphin ? It's very slick and it's exactly what you need in an editor IMHO
a tree view of the file system.

Also the drop down from the top of the file system browser: wouldn't it be better to be similar to the one from dolphin such as in displays the current folder and when you click it it shows the sub folders and if you want to you can switch it to text mode and
enter your own.

Also just a small "hiccup" but i think that the top menu should be something like
File Edit View (so it's like all the other programs). The bookmark one should be made a side widget

The document one i think should be more like the one from gnome or it should dissapear completely. It doesn't provide a lot of functionality (as i said it would be nice if it would have the save-all / close all options.

Also the Back Forward is a bit strange. I wouldn't think from the start
that it actually goes trough the different opened documents.
Maybe this is because of the lack of tabs from Kate.

Also the window and the view menus should be merged together and some of their options should be moved into the settings manager. (after thinking about it for a while i think that it's prefectly fine to leave them as they are now).

Also please compare the following settings manager

The dolphin's one is on the left and Kate's is on the right.
As you can see it's an huge blank area on Kate's settings manager
The one from dolphin is better organized
Also all the subcategories from a specific topic are arranged in their own tab. Kate could use a better organization.

And now for the real torture. You're going to see my mock-up for a newer Kate editor. It is using elements from dolphin because I'm a really really bad graphic designer :D.

As you can see a bunch of my complaints are "fixed" very nicely in Dolphin.

In the next few days I'll add another mock-up with the settings manager.

/le
Damn i just saw that Dolphin has some nice tabs. I think the habit of trying to ctrl-shift-t for a new tab prevented me from seeing this earlier. Please use your imagination and replace my stupid little close tab icons with the ones from dolphin :P.

/le x2
I'm now on kde and hoping for a new driver from nvidia. X_x

Update: Read the comments below please for additional explanations

Words on the black board

Posted 07/12/2008 - 00:18 by CoolGoose

În noapte un demon din negură se naşte:
"Nu ştiţi voi muritori ce pericol paşte
Viaţa voastră jalnică ce zilnic o trăiţi
Încet dar sigur tiptil vă ofiliţi

N-ascult al vostru strigăt disperat de moarte
Nu vreau să vă aud ale voastre ultime şoapte
Departe din abis un sunet dă chemare
A mortii rece umbră mă-acoperă-n uitare.

Menirea mea pe lume nicicând nu o veţi şti
Căci lipsă nu-mi veţi duce cand eu nu voi mai fi
Vă spun aici si-acum pentru eternitate
Adio muritori, mi-e dor de puritate."

Aşa al nostru demon în noapte-disparu
Aceeaşi noapte tristă din care se născu
Pierdut fiind pe veci în negura nopţii
Un suflet rătăcit ce s-a împotrivit sorţii.

Digg top 10

Posted 06/30/2008 - 10:17 by CoolGoose

As you may have seen the Top 10 in is replaced by Top in All Topics.
Imho this is a pretty bad idea considering that i can't choose what Top i want to see.
Digg if you feel the same :).

Syndicate content