> Life is like biryani. You move the good stuff towards you & you push the weird shit to the side.  

post a new message


lorem ipsum

May 06, 2025 -- 8:17 AM
posted by ( )

Add an image    

Add a link


go back to maingo to old version

February 24, 2012 -- 5:20 PM
posted by Par

February 24, 2012 -- 2:42 PM
posted by Par

Are those placeholders, or was it really "Some english phrase"? In any case, clearly it's far better than t(). Because it is.

February 23, 2012 -- 1:20 PM
posted by Beck

So in the theme of the project I'm working on, there's a relic bit of code that isn't even used anymore that looks like this: t('Comments');

The t() is a native Drupal translation function that takes the input "Comments" and translates it to the users current language. He doesn't really like it that way though, he wants it directly through the database of the CMS (which will just run it through t anyway)... fair enough, it can be done either way and both is technically acceptable.

So he creates a bug report for it.

Then he goes and adds to the theme himself.


if($language->language == "en"){
echo "Some english phrase";
}

if($language->language == "fr"){
echo "Some french phrase";
}

February 22, 2012 -- 9:14 AM
posted by Tonestar Runner

February 16, 2012 -- 7:52 PM
posted by Al



Porcupine Tree- Lazarus

New kid at work suggested this band to me. Maybe we'll keep him around.

February 16, 2012 -- 7:09 PM
posted by Tonestar Runner

Und hier auch: fröhe Geburtstag, Paras!

February 16, 2012 -- 4:36 PM
posted by Nadeesha

Happy Birthday Par!!!!!!!!!!!!!!!!!!!!!!!!

February 16, 2012 -- 12:03 PM
posted by Al

Happy Birthday Par!

February 15, 2012 -- 1:28 PM
posted by Par

Thanks for the insight, guys. I still don't understand how it could be a good idea, but I don't have the same feel for the fan atmosphere I used to. (The team of players demonized by NHL fan bases would be a potent one, indeed.) I'm certain that if the fans were presented his numbers without context, they'd be thrilled to get a guy like him. It's a shame he's being dragged through the mud as well as unceremoniously shipped out of town.

With respect to his eventual paycheque, I can see him pretty easily making more than his cap hit now, seeing as there's maybe 4 or 5 guys who are free agents in his age range who put up points like he does, and at least 8 or 9 teams who wouldn't mind adding a top 6 forward that could put up even 50-60 points while not being defensively awful (possibly even more teams, depending on what happens in the playoffs.)

Injury is of course a concern, as players get paid either way, but when it comes to the cap, sometimes it can be a blessing in disguise (see: Canucks, Vancouver 2011). I see that 100% healthy Hemsky is more useful than 80% healthy Hemsky, but I don't see it as a gamble on the same level as a discarded prospect and a draft pick.

February 13, 2012 -- 9:40 PM
posted by alison

oh, AND, Par, following your link to the Breaking Bad 8-bit game, there's also one for The Breakfast Club!!!

load more posts . . .