Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsDiscussion Forum → Do you blog?
Do you blog?
2010-08-01, 11:49 PM #1
Now's the once-in-a-lifetime chance to get me to read your blogs, Massassi (though I won't promise it)!

Oh and how do you feel about blogs? I can't say because I've never really read any. I just know that kids these days are into this Twitter thing of 140 characters at a time, tailored for their TENTIES (that's 2010s) attention spans!
Looks like we're not going down after all, so nevermind.
2010-08-02, 12:02 AM #2
I have a blog but I rarely write anything. I just don't have the time. And I think of my 50 readers 49 are bots.

I read some blogs from friends and family and some blogs on interesting/funny topics.
Sorry for the lousy German
2010-08-02, 1:32 AM #3
Not really, but my personal site's basically a WordPress template -- although I don't think I'd call it a blog. :)

http://www.maxsalnikov.com
幻術
2010-08-02, 1:39 AM #4
I've been running a "blog" of sorts at http://r.je mostly about web development issues which crop up over on the sitepoint.com forums (where I post quite a bit). The site isn't finished and I don't plan on posting very often... and there's not much on there :P
TheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkWho
SaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTh
eJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSa
ysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJ
k
WhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSays
N
iTheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkW
2010-08-02, 4:21 AM #5
No, I do watch a bunch of vlogs though.
nope.
2010-08-02, 4:34 AM #6
http://jemgine.omnisu.com It's not a vlog, but it does have videos.
2010-08-02, 4:39 AM #7
Originally posted by TheJkWhoSaysNi:
I've been running a "blog" of sorts at http://r.je mostly about web development issues which crop up over on the sitepoint.com forums (where I post quite a bit). The site isn't finished and I don't plan on posting very often... and there's not much on there :P


Your sprintf post is interesting, did you compare the performance of concatenation with join()? Or is that an optimisation that PHP automatically performs?
Detty. Professional Expert.
Flickr Twitter
2010-08-02, 4:42 AM #8
I have a writing blog, but I rarely post on it and mostly I just whine about what problems I face while writing.
Was cheated out of lions by happydud
Was cheated out of marriage by sugarless
2010-08-02, 5:24 AM #9
all i have is a microblog
Holy soap opera Batman. - FGR
DARWIN WILL PREVENT THE DOWNFALL OF OUR RACE. - Rob
Free Jin!
2010-08-02, 5:35 AM #10

The JKDF2 blog is the only one that currently has content (the other one will once I have time). It's basically just a bunch of JK video tutorials (19 total) that I do when I'm bored. I haven't been that bored lately so I haven't made any new ones since March. Some of the tutorials that I've posted are quite simple but there are a few more advanced ones (including a few that very few players are aware of). I have dozens, if not hundreds left to do & I hope that I can get around to doing so soon.
? :)
2010-08-02, 5:44 AM #11
Originally posted by Detty:
Your sprintf post is interesting, did you compare the performance of concatenation with join()? Or is that an optimisation that PHP automatically performs?

How does it compare to longjmp and shtput?
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2010-08-02, 5:54 AM #12
Originally posted by Detty:
Your sprintf post is interesting, did you compare the performance of concatenation with join()? Or is that an optimisation that PHP automatically performs?


Well, I'd assume join() will be slower than implode() because it's an alias but I didn't test implode or join. I'd assume php needs to parse and store an array in memory then iterate through it so would expect it to be a fair bit slower than concatenation.

Actually I'll try it:

[php]
<?php
$iterations = 500000;

$name = 'Tom';
$date = '13/09/2009';


$t1 = microtime(true);
for ($i = 0; $i < $iterations; $i++) {
$str = sprintf('Hi %s, you last logged in on %s.', $name, $date);
}
$t2 = microtime(true);
echo 'sprintf: ' . ($t2-$t1);

echo '<br />';

$t1 = microtime(true);
for ($i = 0; $i < $iterations; $i++) {
$str = 'Hi ' . $name . ', you last logged in on ' . $date;
}
$t2 = microtime(true);
echo 'concat: ' . ($t2-$t1);

echo '<br />';


$t1 = microtime(true);
for ($i = 0; $i < $iterations; $i++) {
$str = implode(array('Hi ', $name, ' you last logged in on ', $date, '.'));
}
$t2 = microtime(true);
echo 'implode: ' . ($t2-$t1);


echo '<br />';
$t1 = microtime(true);
for ($i = 0; $i < $iterations; $i++) {
$str = join(array('Hi ', $name, ' you last logged in on ', $date, '.'));
}
$t2 = microtime(true);
echo 'join: ' . ($t2-$t1);
?>
[/php]

Results in:

Code:
sprintf: 0.78929710388184
concat: 0.28046607971191
implode: 1.2138137817383
join: 1.2067351341248


heh, funnily enough implode is actually marginally slower. I guess because the function name is longer so the parser has more to look at.

Not that these micro-optimisations are really worthwhile. My main complaint with sprintf was maintainability.
TheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkWho
SaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTh
eJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSa
ysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJ
k
WhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSays
N
iTheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkW
2010-08-02, 6:03 AM #13
There's no way function name length matters. PHP isn't that stupid.
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2010-08-02, 6:12 AM #14
Over a short set of strings, the overhead of building the array is going to make join() slower. But there's going to become a point at which joining is faster than concatenating a massive sequence of strings, obviously this is purely academic because it's unlikely that you'd ever reach this point whilst doing manual concatenations.
Detty. Professional Expert.
Flickr Twitter
2010-08-02, 6:12 AM #15
Originally posted by Emon:
There's no way function name length matters. PHP isn't that stupid.


Run this:
[php]
<?php
$iterations = 500000;

function s() {
return false;
}


function someLongFunctionName() {
return false;
}




$t1 = microtime(true);
for ($i = 0; $i < $iterations; $i++) {
s();
}
$t2 = microtime(true);
echo 'short: ' . ($t2-$t1);

echo '<br />';

$t1 = microtime(true);
for ($i = 0; $i < $iterations; $i++) {
someLongFunctionName();
}
$t2 = microtime(true);
echo 'long: ' . ($t2-$t1);

echo '<br />';

?>
[/php]

;)

The difference is well under 5% but it is there.
TheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkWho
SaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTh
eJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSa
ysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJ
k
WhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSays
N
iTheJkWhoSaysNiTheJkWhoSaysNiTheJkWhoSaysNiTheJkW
2010-08-02, 6:19 AM #16
I used to blog when I was on Xanga, and also when I had my own site, but now I just do Facebook. I think Twitter will go away simply because of the character limit.
"Harriet, sweet Harriet - hard-hearted harbinger of haggis."
2010-08-02, 6:52 AM #17
Originally posted by TheJkWhoSaysNi:
Run this:

GAHH
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2010-08-02, 7:00 AM #18
No, I hate most blogs and there are like two that I regularly read.

So I don't really blog myself either.
Star Wars: TODOA | DXN - Deus Ex: Nihilum
2010-08-02, 7:41 AM #19
Also, I do have a technical blog. The goal was to occasionally post little helpful hints or code bits as I came across them while working on projects. I think I have like three posts, the last one was a year and a half ago and it's not even up at the moment because I haven't had the time to update the blog engine software and republish the site.
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2010-08-02, 8:11 AM #20
I haven't in a loooong time. When I get my car back, I will. [url]www.freshblacktop.com[/url]
woot!
2010-08-02, 8:17 AM #21
I have one to document the process of restoring my car. I only post when I've worked on it. It's not really a "personal" blog, as I don't post about my job or my neighbors or politics or the weather. I only post about the car.

It's in a my sig. I will be putting up a loooong post today to describe the events that took place when I pulled out the engine on Friday/Saturday.
2010-08-02, 10:24 AM #22
Nope, and the only kind of blogs I may read are those related to car projects...
"Nulla tenaci invia est via"
2010-08-02, 10:32 AM #23
BLAG'D
http://c3project.blogspot.com/

↑ Up to the top!