tag:blogger.com,1999:blog-34454975.post115943158207403289..comments2023-06-28T16:58:41.189+02:00Comments on Web Reflection: Running with a Number ...Andrea Giammarchihttp://www.blogger.com/profile/16277820774810688474noreply@blogger.comBlogger17125tag:blogger.com,1999:blog-34454975.post-48499716946828679042009-08-28T01:57:41.221+02:002009-08-28T01:57:41.221+02:00You can stop surf this blog right now, nobody stop...You can stop surf this blog right now, nobody stop you man.<br /><br />Keep behaving like this and good like with your skills, right?<br /><br />You are still commenting 3 years old post. Good luck with your life code a part, seriously! Go on, until I'll stop to publish your comments so you'll have something to truly blame about.<br /><br />Regards<br /><br />P.S. do you really think I gonn aremove that stuff from twitter? That's you man, right now, that's you! Good stuff!!!Andrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-74047127691207994402009-08-28T01:39:45.454+02:002009-08-28T01:39:45.454+02:00Hm you are amazing.... Why, when i'm not think...Hm you are amazing.... Why, when i'm not thinking bugs in your code, not in my :~) Please stop this. Ugly dispute. I don't want talk with one fool man, who think is best ever JavaScript developer... <br />After previous post and this. We <b>discovered</b>, your code haves very big bugs. That bugs is harmful for user browser... That's enough. <br /><br />You, don't guarantee anything? And i guarantee never use your code. Because i know, this code don't guarantee anything. Don't guarantee my job! Don't guarantee my calm sleep!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-34454975.post-42548231106942215752009-08-28T00:37:27.066+02:002009-08-28T00:37:27.066+02:00Ever ever before write something code, man who wri...<i>Ever ever before write something code, man who write this code, must be thinking.</i><br /><br />Agree, and that is the reason you started in a bad way, without thinking, and you'll go on forever, until the day you'll think before you'll write a comment which aim is to blame somebody else code.<br /><br />RegardsAndrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-72319438406105233502009-08-28T00:07:02.283+02:002009-08-28T00:07:02.283+02:00Andrea, look. I don't like hate... You are goo...Andrea, look. I don't like hate... You are good javascript programmer, but you have very very high spirits. This is not good for you, and your code. I thing, one man ever learn from another. And i hope, and i very kind if learn something else from you. <br />My concept is: Ever ever before write something code, man who write this code, must be thinking. <br /><br />Sometime when my english is better, i told you. I will happy if conversation with you. <br /><br />With respect and please delete that from http://twitter.com. I don't need from unduly popularity ;)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-34454975.post-77316168339030956682009-08-27T21:54:34.205+02:002009-08-27T21:54:34.205+02:00Thanks to read my blog until september 2006 to fin...Thanks to read my blog until september 2006 to find something wrong, I hope you learned something in 3 years of posts.<br /><br />RegardsAndrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-28622059825009092522009-08-27T20:29:11.258+02:002009-08-27T20:29:11.258+02:00Yet another buggy code :~)
This is classical Arit...Yet another buggy code :~) <br />This is classical <a href="http://en.wikipedia.org/wiki/Arithmetic_progression" rel="nofollow">Arithmetic progression</a>. But you. You changes :)))) <br />What's happen if your magic var speed, defined with 0 :))) <br />You are guru :))) <br />http://style-bg.org/testuser/Translation.htmlAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-34454975.post-1160937285973920302006-10-15T20:34:00.000+02:002006-10-15T20:34:00.000+02:00Hello, I'm probably less than a basic JS developer...Hello, <BR/>I'm probably less than a basic JS developers, but I have a lot appreciated this post!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-34454975.post-1159800043866652992006-10-02T16:40:00.000+02:002006-10-02T16:40:00.000+02:00your reply that was a cool solution:forget this re...<I>your reply that was a cool solution:</I><BR/>forget this reply because I didn't test wrong Yaroslaff "Inviz" Fedin solution ...<BR/><BR/>1 - it's wrong because doesn't work with float speed values<BR/><BR/>2 - it's wrong because my example creates an infinite loop with Inviz method ...<BR/><BR/>Then my last function is the final solution, bye.Andrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-1159712496670549072006-10-01T16:21:00.000+02:002006-10-01T16:21:00.000+02:00Sorry Yaroslaff, I've deleted your reply that was ...Sorry Yaroslaff, I've deleted your reply that was a cool solution:<BR/><BR/>return Math[x < y ? "min" : "max"](x + --speed, y);Andrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-1159530926113968402006-09-29T13:55:00.001+02:002006-09-29T13:55:00.001+02:00Dude, Of course I didnt mean this as a serious var...Dude, Of course I didnt mean this as a serious variant. word "funny" means it :-)<BR/><BR/>I just felt like a challenge to find if there is could be a shorter syntax, no practical usage.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-34454975.post-1159530906758155802006-09-29T13:55:00.000+02:002006-09-29T13:55:00.000+02:00...come on kenta :)...you misurestanding my previo......come on kenta :)...<BR/><BR/>you misurestanding my previous comment, what I try to say is :<BR/>"Nice job, Nick! ;)"kentaromiurahttps://www.blogger.com/profile/01628828429767241919noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-1159523753192628752006-09-29T11:55:00.000+02:002006-09-29T11:55:00.000+02:00there are more operations to execute ... and there...<I>there are more operations to execute</I> ... and there is an <I>impossible</I> sintax to debug ... no yaroslaff ... absolutely this is <B>not</B> what I mean when I talk about optimizzations ...Andrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-1159484099061746042006-09-29T00:54:00.000+02:002006-09-29T00:54:00.000+02:00Hey, Andrea.I think you'll find it funny, 3 bytes ...Hey, Andrea.<BR/><BR/>I think you'll find it funny, 3 bytes less :D It's not any better - there are more operations to execute, but just a bit shorter:<BR/><BR/>function xRun2y2(x, y, speed) {<BR/>return Math[x < y ? "min" : "max"](x + --speed + (x < y), y);<BR/>};<BR/><BR/>Do you think it could be shortened more? :DAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-34454975.post-1159458000728144652006-09-28T17:40:00.000+02:002006-09-28T17:40:00.000+02:00come on kenta :)... I think this post is only for ...come on kenta :)<BR/><BR/><I>... I think this post is only for basic JS developers ...</I><BR/><BR/>... he he ... this post is "just for fun" but not every "young" js developer think over a single function more than 5 minutes ... then as you said, if you can, if you have more time, try to optimize your code, starting from these simple problems :)Andrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-1159456361785191042006-09-28T17:12:00.000+02:002006-09-28T17:12:00.000+02:00you just follow one of the first rules for javascr...you just follow one of the first rules for javascript optimization:<BR/><BR/>"Use built-in functions whenever possible (like the Math object), because these are generally faster than custom replacements. For critical inner loops, measure your changes because performance can vary among different browsers."<BR/><BR/><A HREF="http://www.devwebpro.com/devwebpro-39-20030514OptimizingJavaScriptforExecutionSpeed.html" REL="nofollow">source of citation</A>kentaromiurahttps://www.blogger.com/profile/01628828429767241919noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-1159441965794191192006-09-28T13:12:00.000+02:002006-09-28T13:12:00.000+02:00oops ... modified, thank you :)oops ... modified, thank you :)Andrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-1159439679707976842006-09-28T12:34:00.000+02:002006-09-28T12:34:00.000+02:00hi Andrea,i like the way you code,this function is...hi Andrea,<BR/>i like the way you code,this function is absolutely useful!<BR/><BR/>p.s. I think this line <BR/><I>var temp = x <>"] : ["-", "<"];</I> <BR/>should be <BR/><I>var temp = x < <B>y ? ["+", "</B>>"] : ["-", "<"];["+", ">"]</I>Anonymousnoreply@blogger.com