Ode to the faithful ones

Yes, all of you, you have remain faithful to this site even though there is hardly any interesting content here...
Yes, all of you who constantly fetches my site as soon as I or the One Piece bot or my account acting as a bot, post something.
Yes, all of you and your obscure ways of handling all the useless data you recollect from this site.
Yes, all of you who increases the stats on Logaholic.

My dear, ever bandwidth hungry, Chinese bots...  I don't know what I will do without you guys...  you are awesome.

You're the only ones who had listened all my biased rants.
You are the only ones who had read all my One Piece theories and predictions.
You are the whole reason why I renew the hosting plan every year.

Even though I had tried to get rid of you multiple times, you are so loyal to me and you always come back.

The harder the method I use, the harder you come back and eat my bandwidth, you even managed to give me 0.02 dollars from ads, at this rate, this site will give me enough money to buy another year in 18.5 years, its a hell of a deal!

So, this ode is to you and you guys only, please enjoy it, crawl it, fetch it and do whatever you do with it.

Dear Google, use this ode to show me ads that aren't even remotely close the the context of it.
Dear Facebook, use this ode to crawl my web browsing habits and then show me tons of ads the next time I remember to log in to Facebook.

Dear Russian bots, I really don't know what you do with the info but I'm sure you found some usefulness to it, my email address is all over the place here and you have it already (thank you for those wonderful emails, they are always welcome and always have such an useful information!) so I really don't know what else you can obtain from here.

Lastly, dear Japanese visitors/bots, I know the only reason you visit this site is because you are searching for the latest One Piece spoilers, I just want to clarify something, I don't actually produce the spoilers, I just created a piece of code that produces a new topic every-time there is some new spoilers, there is no science behind it, although I really appreciate the sudden increase of visitors days before the spoilers come out, I feel guilty because I ain't providing to you what you all expect.

In reality, I made that out of laziness, I always forgot to post a new topic and very often I missed several chapters, with this method, I no longer need to remember to post, see, I'm evil and lazy at the same time!

so, in conclusion, thank you all my beloved, loyal friends, you were here with me since day one and probably will remain here until the domain's expiration date comes.

Note to whoever is gonna buy the domain after I left:

Please do take care of my beloved bots, treat them carefully, feed them regularly, they aren't demanding at all, all you need is to post something, anything and they will be happy.

They are like my brothers, I grew up with them, some one them grew up to be good bots who obey robots.txt, others are more rebel and not always play nice but doesn't matter, I love them all.

Do not trust any Web Analytics Software, my beloved bots eat that kind of software for breakfast and will give you tons of "incoming traffic" and "Referrers" with lots of urls pretending to have links to your site when in reality they are only there for you to click on it.

Suki vs the command line

I absolutely hate command lines, there is a few actual things I really hate in life and the command line has earned itself a spot among them...

Why do I hate it guts?

- I find it incredibly stupid that I need to type long sentences, using both hands and taking several seconds when I can simply do it with one hand in a second.

- Make a boo boo and you need to start over... I lose count at how man times I entered a very long sentence on some random prompt, hit enter and a nice error message appeared, something like:  the "large sentence command is not a valid command", why?  because I typed an "a" instead of an "s", as you know, at least on a qwerty keyboard, those letters are next to each other; and I have to start all over again.

- To me the command line is such an archaic relic form the past, every time I'm forced to use it I fell like I traveled back to 1981 or some other 1980s date...

- Most (if not all) instructions for command line programs vaguely assumes I'm a unix/MS-DOS/linux expert... well, I'm not! and probably never will be.

- Isn't the whole point of computers to make life easier?  to becoming like the fat guys on Wall-e movie?

If you don't like the command line then why do you love programming? you know those two things go hand by hand...

Nope, I don't love programming, I love programming in PHP which is way different from programming in general.

And nope, I don't like any other programming language other than PHP and it's related buddies (HTML, CSS and JavaScript) I'm not interested on any other programming language as I don't have the need to learn any other programming language:

I don't need to learn Java or C++ to increase my resume
I don't care if Python or Ruby are superior to PHP in every aspect.
I don't need to learn the new programming language D, F, G, H, I (or whatever letter from the alphabet is still free to be used...) that some guy just invented a few hours ago and now everyone is using it...

While I like to write stuff in PHP and I also like to improve my skills on it, at some point, without a doubt, I will need to use the dammed command line... because the folks who dictates the path to follow are all command line lovers... it seems I won't be able to happily continue to code in PHP without turning myself into a Linux user  .____.  which I want to avoid of course, not because it's bad per se but because there is no need for me to do it, I don't want to move to Linux, I don't want to learn thousands of silly commands, sudo this, sudo that, I definitely don't want to build a super CPU powered by refracted light from Saturn <-- this part taken from: http://theoatmeal.com/blog/fix_computer

OK, you love windows then...

Not exactly:

Yes it is the first operating system I ever meet.
Yes it pretty much molded my definition of "how a computer should work and look".
Yes I find it easier to use than any linux distro I ever tried.

But I'm not a windows lover nor a linux hater, I just choose the "less worse", you know, kinda like politicians on election day, there isn't a candidate that truly satisfy all my needs but I'm forced to chose one so I choose what, in my very own and personal opinion was "the less worse".

How about a Mac?
I'm not rich. Cannot afford one, specially in my country where a Mac cost what I earn in an entire year...

OK... what does this has to do with the command line then?

Easy, there is no middle term, you are forced to be one of the following cases:

A linux user:


A windows user:


A mac user:

There is no middle ground for folks like me, who aren't noobs but definitely aren't linux gurus either.

I want to be able to keep learning a single specific language without having to learn some other stuff I'm not really interested on learning.

A recent example of that was reading about composer, while I like the idea of my script to use what it seems to become an standard among the PHP community, once again the command line jumps up to ruin the day... yes, I know there is an installer for windows users, however, that was made out of need (pity?), the main installation method requires you to run linux or some other command line OS and be proficient on it.

Why I hate is the feeling to be forced to use something that I don't want to use.

I don't want to become a linux guru to be able to write PHP stuff... why can't I just learn the stuff that I want without all the crap around it?

[attachment deleted by admin]

New Era

The time is almost here. Go and lay the groundwork. A world where only true pirates can survive will soon be upon us. Those without power, flee while you can. The tide will bring those of unmatched power and the New Era will begin!

Addonchat Integration for SMF

I've been working on a mod to integrate an AddonChat script with an SMF installation, folks at AddonChat has been very kind in providing me with all the necessary tools and resources.

The mod is open source and it's licensed under the Mozilla Public License Version 2.0

Right now it needs tons of beta testing and bug hunting so if anyone is interested and has an active account at AddonChat please do give it a shot.

Features included:

- Uses hooks for most of the features, reducing installation problems and incompatibilities with other mods.
- Avatar integration, the chat window will show the user avatar if they had one.
- Permissions, all the permissions from the chat are ported and converted to the SMF permission system, allowing you to take full control over what your users can and cannot do on the chat.
- Who is chatting, the mod will display the count on the chat button as well as on the BoardIndex.
- Automatic authentication, your users won't need to sign up on the chat, they just need to enter the page and they will be automatically signed up and able to use the chat with the permissions you assign to them.

You will need at least the Professional PLUS edition and PHP 5.2 or greater in order to be able to fully use this integration script.

You can download the script at https://github.com/MissAllSunday/AddonChat-SMFIntegration just click on the ZIP button.

The script is ready to be installed via the Package Manager and will work on nearly all themes.

Suki vs frameworks

Disclaimer: This rant was made by someone who just likes to write PHP code for fun, haven't had any class or other form of education about programming nor does programming stuff to pay the bills; doesn't run or understand any Linux stuff nor hates windows for the sake of hating windows (she doesn't know windows enough to hate it), doesn't know anything about hardware nor anything else related to "computers" in general and doesn't know any other programming language other than PHP and it's related stuff, ie, HTML, JavaScript and CSS.

So...  cut to the chase, the more I read about frameworks, the more I "dislike" them...

Why?

Several reasons actually.

Installing.

I hate command line, I don't like to use it and I will never gonna use it but it seems everything now has to be typed out... for someone who makes lots of grammar mistakes and on top of that, English isn't her mother language, to constantly need to type long strings is not only very annoying and frustrating (make a single boo boo and you need to start all over again) but its incredible time consuming...   I seriously never understood why in a world that heads to laziness in all aspects (and a framework is a perfect example of that) something as rudimentary as a command line still exists, but this is not a rant about the command line but about frameworks so, let us continue.

Structure.

Folder after folder after folder after folder structure. I understand theres gotta be some control on it but one thing is having some structure and another is having tons of folders and files for such an small script.

I was watching a tut on how to create a pretty simple blog with Symfony2 and the amount of files and folders required to run such a simple script is plain ridiculous...

main folder/sub folder/sub sub folder/sub sub sub folder/ sub sub sub sub folder/file


Efficiency

True, I don't know anything about benchmarks or things like that but, from what I heard and read (an needs to be said, not all of the reviews were wrote by framework haters ;) ), a framework isn't a synonymous of efficiency or "speediness" and it isn't that hard to figure it out why after having take a look at the amount of files involved to run a single "hello world" message.

Laziness/Spoon-feed

To me, a framework is just a way to encourage laziness, yes, it is nice to avoid writing stupid repetitive/boring stuff but theres gotta be a limit between a helpful hand and a hand that directs every aspect of your life, kinda reminds me of some over-protecting fathers who "knows best" and want to secure their kids by not letting them play in the garden or play with other kids because they can get ill or something, eventually this kids will be extremely insecure and plain unprepared when the time comes to face the real world.  Back to the PHP world, those who only uses frameworks won't be able to write a simple hello world with only 1 file and 1 line of code.

Overcomplicated stuff

Heres another analogy, I suppose everyone, at least once, went to spend the night at your best friend's house for the weekend, right, and some of you had a friend (or two) who carried a lot of unneeded stuff, even though they live just across the street. And for sure some of you made fun of (s)he for that :P

Of course some might say, but frameworks are designed for big projects not some silly stuff an amateur does on her free time...

Here's an analogy for those framework lovers out there (to compensate ;)):  "Try to go to war with just the essential..."

...and you are completely right, but the thing is, a framework, intentionally or unintentionally, wants you to write everything you do under their code/structure/view of things (again, controlling your life), even the most simple projects like a hello world page.

Free will

This goes hand to hand with laziness/spoon-feed and perhaps this is more a personal choice.

I don't like to be told what to do or how, this is why I do PHP for hobby, I already have an awful real life job where I've been told what to do for 8 hours a Day 6 days a Week. I code in my very own free time because it allows me to scape from that and be free to do whatever I want, however I want and making all the mistakes I need to make.

A framework cuts all of that, cuts away the boring/tedious stuff but it also cuts away the fun. Remember the "OMG why don't you work" feeling and a day later you discovered a missing semi-colon?  how fun was that! ;)

I understand that for someone who do code for a living a framework is the most useful thing ever invented as it cuts down hours and hours of tedious work and allows to finish projects faster and with a lot less bugs on it  but for someone who does this for fun a framework is like an interstate highway that run across a beautiful forest, it allows you to see the forest (and maybe it explain things about that forest and what it contains, etc) but you don't actually have the ability to get out of the highway and explore it yourself, get lost on it or get attacked by some wild animal or something...

Conclusion

So yeah, if you are a full time paid programmer please dismiss this rant as the points highlighted here are totally biased and doesn't take into consideration the multiple benefits of using a framework on your job and by all means, do use a framework, it will make your job a little less miserable.

If you are just a PHP amateur coder like me, then I won't say don't use a framework, simply because everyone is different (some newbies might prefer a framework because it allows them to write "pro" stuff without really knowing what they are doing), but I will say don't marry it, don't let it take control of how you do things or code, if you are still using superglobals without properly sanitize them (or still directly using them for that matter), so be it, its a long journey and you will eventually learn by yourself how to handle those, don't experiment things through other peoples eyes, go out there and explore it yourself.