BBQQ STUDIO

Blog Archives

17
google chrome performance issue May 17th, 2010 by admin

I am simply amazed by the fact that until now no one seems to care much about chrome’s performance issue, on both mac and windows.

I am not talking about the speed or rendering, they are all top-notch, rather, I am talking about page hangs and cpu/memory hogging tabs when you leave the browser open with a few tabs overnight.

It just crawls when you switch tabs – the thing tries so hard to render that my computer beeped more than once – sounds like a typical ‘broken window process’…

Come on google, fix this half-ass product already! I am now switching to opera …

17
Iphone 3gs April 17th, 2010 by admin

Just got my 2 yr old iPhone 3g upgraded (well I get to keep it too, pretty sweet deal) to a 32g 3gs. Sweet as. Only prob is the stock firmware 3.1.3 it cane with. Not jailbreakable – now I can’t use my baby boys photo as the background… Plus a lot more.

But the camera is sweet, check this out:

12
how to write chrome only css April 12th, 2010 by admin

Sometimes webkit renders differently in chrome and the best way to target it would be:

<code>
body:nth-of-type(1) [css selector]{
[css style]
}
</code>

For example, to target div#id, simply use:

<code>
body:nth-of-type(1) div#id{
display:block;
}
</code>

update
wrong, this affects also firefox 3.6 +

use this instead:

@media screen and (-webkit-min-device-pixel-ratio:0) {
[styles inside]
}

25
Reset System management controller on ur mac March 25th, 2010 by admin

Good tip from os x daily.

Reset the SMC of a MacBook or MacBook Pro’s with detachable batteries:

* Shutdown the MacBook/Pro and remove the battery
* Disconnect the power adapter, hold the Power Key for 10 seconds
* Release the power key and reconnect your battery and power adapter
* Turn your Mac on
* Let boot as usual.
Reset SMC of a MacBook or MacBook Pro’s with an internal battery:

* Shutdown your MacBook/Pro
* Connect the power adapter to your Mac
* On the MacBook/Pro’s keyboard, hold down the Shift+Control+Option keys and the Power button at the same time
* Release all keys and the power button at the same time
* Boot your Mac as usual
Reset SMC of an iMac, Mac Pro, Mac Mini:

* Shut down your Mac
* Disconnect the power cord
* Press and hold the Mac’s power button for 5 seconds
* Release the button
* Reattach the power cables and boot the Mac as usual

original post here: http://osxdaily.com/2010/03/24/when-and-how-to-reset-your-mac’s-system-management-controller-smc

25
Moving to OPERA 10.5! March 25th, 2010 by admin

Now I am ditching chrome, firefox, safari, to switch to opera!

It’s just simply fast, and it passes the acid 3 test, with 100/100.

The only thing I hate would be the strict rendering of the pages – if css is broken, it will break the page. But alas, it’s the dev’s problem.

Speedwise, it’s the best. Also native css3 support (anything that is standardized) is just awesome, check some special effects on chrome/opera/firefox, and you’ll see the difference.

All hail opera :D

11
A very good website about colors in design February 11th, 2010 by admin

http://www.smashingmagazine.com/2010/01/28/color-theory-for-designers-part-1-the-meaning-of-color/

Quoted from the link above:

Color in design is very subjective. What evokes one reaction in one person may evoke a very different reaction in somone else. Sometimes this is due to personal preference, and other times due to cultural background. Color theory is a science in itself. Studying how colors affect different people, either individually or as a group, is something some people build their careers on. And there’s a lot to it. Something as simple as changing the exact hue or saturation of a color can evoke a completely different feeling. Cultural differences mean that something that’s happy and uplifting in one country can be depressing in another.

11
the missing mac windows manager February 11th, 2010 by admin

http://www.irradiatedsoftware.com/cinch/
 looks really awesome, makes me wonder why it wasn’t included as a default windows manager in the snow leopard…

27
g00gl3′s el33t page October 27th, 2009 by admin

http://www.google.com/intl/xx-hacker/
©2009 Google www.google.com - pRIv4cy pOlICY - T3rm5 0PH $ERv1C33ND
says it all…

27
HTML5 canvas test October 27th, 2009 by admin

It’s right below – but IE won’t be able to see it though…

canvas test

Source Code:


<script type="text/javascript">
window.onload = function() {
var canvas = document.getElementById('example');
if (canvas.getContext){
var ctx = canvas.getContext("2d");
var lingrad = ctx.createLinearGradient(0, 0, 0, 100);
lingrad.addColorStop(0, '#00ABEB');
lingrad.addColorStop(0.75, '#fff');
lingrad.addColorStop(1, '#eee');
ctx.fillStyle = lingrad;
ctx.fillRect(20, 15, 460, 115);
ctx.lineWidth = 4;
ctx.strokeStyle = "#fff";
ctx.strokeRect(20, 15, 460, 115);

ctx.beginPath();
ctx.arc(75,75,50,0,Math.PI*2,true); // Outer circle
ctx.moveTo(110,75);
ctx.arc(75,75,35,0,Math.PI,false); // Mouth (clockwise)
ctx.moveTo(65,65);
ctx.arc(60,65,5,0,Math.PI*2,true); // Left eye
ctx.moveTo(95,65);
ctx.arc(90,65,5,0,Math.PI*2,true); // Right eye
ctx.strokeStyle = “rgba(0, 0, 200, 0.5)”;

var facegrad = ctx.createLinearGradient(0, 0, 0, 120);
facegrad.addColorStop(1, ‘#f30′);
facegrad.addColorStop(0.5, ‘#cd0′);
facegrad.addColorStop(0, ‘#69c’);

// ctx.fillStyle = “rgba(200, 80, 80, 0.8)”;
ctx.fillStyle = facegrad;
ctx.fill();
ctx.stroke();
ctx.closePath();

ctx.lineJoin = ’round’;
ctx.lineCap = ’round’;

ctx.beginPath();
ctx.moveTo(200, 25);
ctx.lineTo(250,75);
ctx.lineWidth = 2;
ctx.strokeStyle = “#f00″;
ctx.stroke();
ctx.closePath();

ctx.beginPath();
ctx.moveTo(250,75);
ctx.lineTo(200, 125);
ctx.lineWidth = 5;
ctx.strokeStyle = “#ddd”;
ctx.stroke();
ctx.closePath();

ctx.beginPath();
ctx.moveTo(200, 125);
ctx.lineTo(200, 25);
ctx.lineWidth = 10;
ctx.strokeStyle = “rgba(0,0,0,0.6)”;
ctx.stroke();
ctx.closePath();
}
}
</script>
<canvas id=”example” width=”500″ height=”450″>

Kudos to mozilla dev center (https://developer.mozilla.org/en/Canvas_tutorial) for the excellent tutorial and examples.

15
Adobe screen sharing October 15th, 2009 by admin

HAHA! it’s got the same problem as the app on mac!

This is what happens when u share with urself:

travel in time and space!

travel in time and space!

HAHA!

Alright, it’s still a decent product, and it’s free! I would definitely recommend it to any business user – just make sure you don’t show the dirty bits on your desktop, and don’t forget to turn it off before you go check youtube!