Hydlide Blog

On this blog I will post most of the stuff which is keeping me busy. Currently I am working on the following projects:

Wordpress Hijack Day 6

This is the 6th day I worked on my wordpress Hijack method. And this thing took me again 10 minutes time to figure out what to do with this thing.

The issue I am referring too are the meta tags surrounding the posts. For instance media files get additional meta data that isn’t being used in the post itself.

At least it is more a template thing that might need this information, but in this case I am bypassing the system (and creating my own template file while doing it) I am ditching the meta information.

This is done by a single function that I am throwing in the abstractPage class.

$pattern = '|*?[^\|si';
$replace = '';
return preg_replace($pattern, $replace, $text_to_search);

And that is all. The rest is just functioning proper.

At the same time I am putting a few quick fixes in the bootstrap CSS wrapper so the images / iframes show up a bit better. Sure, its not ideal, but this bootstrap is just a quick way to make things “functional”.

The rest of the eye candy may follow.

Posted on July 23, 2014

wordpress

View details »

MindDivided Remix

On the facebook page, it has been announced that MindDivided is doing another album.

https://www.facebook.com/MindDivided

That is his facebook account right there. On this page, I’ll quote:

The fourth full length album is nearly finished and I’m looking for remixers. I have 3 remixkits ready to go out, all very glitchy ambient stuff.

Interested? Send me a message! DOOO EEEEEEET!The fourth full length album is nearly finished and I’m looking for remixers. I have 3 remixkits ready to go out, all very glitchy ambient stuff.

Interested? Send me a message! DOOO EEEEEEET!

On a personal note, I accept the challenge. The remix kit contains 3 different tracks, and currently I am going through them to decide which track to remix.

The remix kit (that you can get yourself by sending a private message), contains the bounced audio tracks from 3 different songs. All are idm / ambient glitch based. And contains a lot of room to remix material wise…

I am not sure which direction I’ll take this one yet. First I like to analyse it first, and decide later on where to take it.

But this will keep me busy for the next few weeks, that is for sure :)

Posted on July 22, 2014

music

View details »

massive increase of referral traffic

This one is quite awesome. As I am always a bit sceptic about posting too much on Facebook. Facebook has become more about liking pictures, cats and memes. While there are still some sites out there who provide quality stuff out there (and most people will hang out there).

One significant change I have seen since recently is a couple of links that have been added by hiphopmakers.com. A site that gets about 5k searches per day (according to semrush).

At this point I am getting “alerts” from google that my referral traffic is increasing. Not that I am complaining…

But it shows here:

increase of traffic

And whats also nice is that disqus is appearing as my second source… while Facebook is the third. I would normally expect facebook to be number one (which it used to be). However with the change of plan not to put much focus on Facebook it starts to show a whole different story ;)

Now I might add that this referring traffic is approx 12% of all my traffic (which includes youtube, Facebook, feed services and alike). I might add that my main focus point will still remain the same. But all this starts to add up though, and thats a good thing.

Posted on July 20, 2014

reasonexperts

View details »

Wordpress Hijack Day 5

It is now day 5 since I am working on this hijack method for Wordpress. And in this current state I am running against a brick wall. And this started to remind me back in the days that I did make a hijack template back… And I am beginning to remember why I choose that approach before.

the_content

My biggest issue regarding to the way wordpress has been set up as a platform, are the amount of different hooks (add_filter hooks for instance) and the way they are prioritized.

From the CMS point of view, I totally understand why they did it like this. From a plugin perspective, I totally understand why they did this, and from a theme perspective I totally understand why they did this.

From a modular perspective: I totally don’t understand why they did this… The main issue here is that it isn’t modular AT ALL. And that is basically the way I intend to set up this thing.

Just a quick reference here, there is a function that does something with shortcodes (add_shortcode). And this thing jumps back to add_filters, a function for the wp core.

So by calling this function, I need to emded the complete wordpress core to make this single function work. Serious?

Same thing goes with media.php (to strip the caption tags, this is what started my wondering around in the different functions). Kses another filter system where I have really no clue why its there and L10n which is a fancy way on replacing line breaks or something like it…

It really beats the crap out of me that wordpress is even functioning with all these little cables tied together. It kind of reminds me of a life support system that just has all these wires tied together in a way.

Back to where I left off

Currently I am trying to figure out a simple, modular way, that just removes the totally… since these are not needed to render a page. They are just meta data, which is already there to begin with.

Anyway, currently I just go back to the drawing board to figure this one out.

To be continued.

 

Posted on July 20, 2014

wordpress

View details »

Dawn of the planet of the Apes

Dawn of the Planet of the Apes Dawn of the Planet of the Apes

In july the summer block buster Dawn of the Planet of the Apes has been released in theater. This movie is the sequel to the movie “Rise of the Planet of the Apes” (2011).

While this is a reboot of the Tim Burton version, which Honest trailers totally smashed…

The planet of the apes is an old franchise, since it originates all the way back to 1968 (I had to look it up even). The origin story is about a bunch of pilots that go in to the future. Come back to earth 2000 years later and then realize the whole planet is swarming with talking apes…

In the Tim Burton reboot they tried to adopt the exact plot, but did a terrible job executing it. And that was done in one film. That says a lot.

The Rise of the planet of the Apes is the Reboot of the franchise which kind of is similar as an origin story being told like “how did this all happen?”. There is even an awesome cameo where the mars mission is “lost in space”. A nice tribute to the original series of the planet of the apes.

Anyway, the reboot starts with Caesar. In case you missed it, I am not going to spoil it. The movie Dawn of the Planet of the Apes kind of follows the path Caesar where we left of with the previous movie.

There is a little bit of a threat between the apes and the humans. The Humans face extinction (due to the things that happened in The Rise of the Planet of the Apes), while the Apes are establishing “home”. And these things kind of collide with one and other… Kind of like whats happening to Israel and Palestine at the moment.

The beauty about this movie, is that it isn’t just a blunt action movie. There is a lot of character movement going on with Caesar, his son and his big rival Koba. This is a twist I liked about the movie.

Everything ties together on how the humans react to the whole storyline as it evolves. You have your basic “I don’t trust” guys in there, and the guys that act like the good guys. And in the end you want them to succeed to what they are trying to accomplish (have peace!).

So in that context, there is definitely and ark for characters like Caesar, his son, and Malcolm (in the middle… yeah, had to make this joke).

The story as it kind of evolves works pretty well, you have basic ideas as betrayal, a two times father to son relation that builds up, hope and stuff like that.

In a way, its a classic story thats being told between “good” and “evil”, which is executed in a really good way. Since in the end, I couldn’t really decide if I would be happy for the apes or happy for the humans.

There are some “awkward” moments in the movie though. And I won’t go that much in detail about it, since I just don’t want to spoil too much of the movie.

However, some parts I can speak about, which did take me out of the movie, is all the “deaf sign” talking… Did it really need to be a movie that I need to read? Sure, it is a nice gizmo that apes can talk with gestures. But it kind of took me out of the movie so now and then when “apes” are waving hands and I need to read what they are saying.

Some of the parts of the movie kind of “drag” on. I was close to the movie break (yes, we have a break here when a movie is longer then 1 hour and 30 minutes). And while the movie was close to its break moment, I was really thinking “Can this movie stop now? I need to get a drink, take a piss and have smoke!”.

I have seen movies that have a runtime longer then 2 hours before, but I haven’t had moments like these since “transcendence”. Most summer block buster movies, like spiderman 2 or x-men just don’t make you think about “having that break moment”.

This movie did… Maybe its because the dialog was getting slow, maybe it was because the interval between that moment of the second act and the first act was kind of “dragged” in a way. I can’t really put my finger on it. But sure, there was a moment in the movie where I thought like “where is the fast forward button, I can skip this moment”.

The second act was fun ride to watch though. Not only because I had my piss break, and I had my drink. But just because it goes from topic to topic, going really fast pace. I can’t really think of a moment that I was thinking to myself “Gandalf! Shut up, and get on the boat! I need to go home!…”. And for those who has seen the lord of the rings will know what I am talking about.

Conclusion

In conclusion, I find the take on Dawn of the Planets of the Apes a refreshing take on how a reboot should be done. They use elements of the original series. But at the same time not trying to copy it, yet throw in a “believable” twist in its franchise… and to be honest, if people want to reboot a movie series, they should have taken a look at this movie too… since this is a way you definitely need to do it!

It’s a well balanced film with good dialog, great character building (I didn’t really understand what happened to the original cast, but I will just assume they all died… ok, I’ll accept that), and some parts of action shots that make you sit on the edge of your chair.

Good job!

Posted on July 20, 2014

movie

View details »

Getting started with Reason

This week I had 2 different type of conversations regarding to the topic of Getting started with Reason 7. In one of them I replied:

it kind of depends if you have ever used a music program. It also depends on which version you have started with. Anyway, I have set up a couple of different series about getting started in a series of different videos. I will link you up to them so you may decide which path you would like to walk:

Getting started with Reason 7, this series is a basic series if you never seen anything like a music program before. This series is meant as an introduction (not going in depth about anything), but it might give an idea what is inside Reason and what you could expect for the program itself.

Getting started with Reason This series has about a runtime of 1 hour and 30 minutes and contains 15 different videos.

If you want to get a better grasp on what all the devices do in Reason itself (and what they are capable of doing), I have a getting started series about a couple of them, these are located on the following page:

http://www.reasonexperts.com/video-tutorials/getting-started-with-reason/

Hopefully, this will help to get some knowledge on how to get used to the program.

Another chat conversation I had was regarding the topic:

I can’t find the reason 7 getting started series

This kind of gets me thinking, maybe I need to sort out my own reasonexperts site in to a part where I am totally focussing on the new breed who is willing to learn.

Maybe I need to put some segment on the front-page that totally focusses on this aspect.

And maybe I need to reorganize things again so people who are wanting to get a step by step guide, I can walk them through them step by step.

I will need to think about this one, on how I will organize this one. Since in its current state it just feels like a random blog that just “writes about stuff”…

To be continued.

 

Posted on July 19, 2014

reasonexperts

View details »

Wordpress Hijack Day 4

Its been a couple of days since I have been working on this “wordpress” hijack method. Since I had different things to do, I didn’t have much time to play around on this project as much.

Anyway, the good news is that the category controller is in place. And this one was a bit more tricky then I expected. But I got it…

As far as I understand about now on how Wordpress uses categories / tags / other is using an object called “taxonomy”.

Since this one will eventually bite the dust pretty fast, depending on how many “taxonomy” things you’ll define in Wordpress, I have made things a bit more simplified if you will.

The main issue here with Wordpress is that it runs to the database to: - get the main IDs - inner link this with the names - fetches the objects that go with it

Thus, 3 queries… per request. Of course, it will be pretty fast depending on the amount of data stored in the database.

However, I prefer to do this in one query instead. And that is something I have been wasting my time with the most. Figuring out, how to get all the objects and their relations in one single query.

Now, I know that a lot of people might be thinking that this would be slower then just running a couple of sub-queries instead. Could be, I haven’t fact checked this yet. However, I can add that that will be next thing on my to do list for somewhere tomorrow / weekend (whenever I feel like doing it).

To sum things up for now

I think I have most of the important segments up and running regarding to getting information from wordpress: - frontpage - categories - pages - posts

The only thing I need to check is how the parenting (eg : /directory/subdirectory/subdirectory/) will function when implementing this structure.

But I’ll get back to that one.

Posted on July 17, 2014

wordpress

View details »

Wordpress Hijack Day 3

Today I have been implementing the initial post section for the hijack Wordpress method. And to fairly honest, I did this in 15 minutes time.

The main concept is similar as I am doing the frontpage. In this case, I have a post controller that does just two things

- Create a post model - Fetch the information from a post

Because all the logic behind the taxomity / category / tags stuff is located on post level, I don’t need to worry about this.

My page object looks like this:

public $template_file = "page.html";
function __construct($page)
{
 parent::__construct();
 $this->wpoptions = new wpoptions(); 
 $this->fetchPostByUrl($page);
}
function fetchPostByUrl($page)
{
 $posts= new modelPosts();
 $post = $posts->getSinglePost($page);
 $this->translate_to_template("post",$post);
}

And the rest is history.

The tricky part

There is only one catch with this set up. In the admin panel there is a “permlink” section which allows different ways on how to control the url. However, I am just assuming that most people that would run wordpress will have the “post” as link by default. I mean “bla.com/?p=133″ is soooo 2001 these days.

There for I am sticking with the hard coded “permlink” first and decide later on what to do with this.

The perm link is defined by a htaccess file (just like wordpress does it)

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - 
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php 

That will most likely look familiar. The only additional rule I am adding is to access the wordpress admin panel.

This is a 301 redirect to avoid the index of hijack to render it…

Redirect 301 /admin /wpadmin/wp-admin/ In my case, it looks like this.

Rendering the page

The page is rendered by a template called “page.html”. This contains similar blocks defined by the frontpage, the only difference is the name of the initial block.

On the frontpage, this is called “latestposts”. On a page it is called “post”.

I might need to rename these later on so it will look as followed: - frontpage > latestposts - page > page - post > post

but that is just formality. Next up would be getting the categories to work. This is also why I am already filling up my own blog with different segments so I can start testing them.

Have a nice day!

Posted on July 15, 2014

wordpress

View details »

If you ask then act

In this article I would like to address a topic that I recently read on the BIAB forums. I can recall I made a prediction about this like november 2013 (which I still have here somewhere in my old / inactive blog). I thought I would just address the issue again.

11 july a forum admin posted the following in the news segment on the biab forum:

The ideas I had for this place to ramp up were based on ALL of us becoming content creators, and helpful to others.

Unfortunately, a lot of the people who originally wanted to help just sat on the sidelines and chose not to help.

So I’m killing the Mentoring idea.

I’m also trying some other things. Be patient with me.

Unfortunately, the admins / mods of the BIAB are partially to blame here. As I posted the following reply back in the days the mentor system was put up there:

Hi there, I specialize myself in to destroying every sound that the reason rack has to offer. My main genres would be “genre Juggling”. I Personally never stick with one specific genre, i just use different elements from genres and juggle them together more or less.

I have 24 years of sound design skills (starting with the OPL-1 and upwards). I lack the music theory (I basically made up my own). I have been working 8 years on The sound of Reason (dead) a site dedicated learning stuff and currently I am flying solo doing nothing but apeshit things and beating up the Rack.

I am mostly using Reason, wonder around in FL Studio from time to time and Rewire in Ableton when I am up for it. I have the additional PHP/ MySQL / C++ / Z80Asm skills. Currently working as a developer at Sanoma (startpagina, nu.nl etc).

There that sums up my CV I think

This was posted in November 2013. Since the mentor system would only work if people would get their mentor status, I never saw any follow up message on this.

Thus, I couldn’t do the mentor thing. And there for I decided to give the BIAB forum the final resting place treatment as it needed to have.

The main issue

The main issue I am having with the initial post in the news section of BIAB I have right about now, is that “he” is blaming “us” for sitting on the sideline and not taking part of this.

The problem here starts with the admin / mods not really reacting to the helping hands that are being offered from my point of view.

Another issue is that the mentor system as it was originally put in to place, kind of depends on the people who would want to ask a mentor.

Thus, you can only “force” this from happening by visiting other people their homes, put a gun to their heads and say “Hey dude, you go ask a question to one of our mentors or else”.

And to be fairly honest, Dave (the owner of the site) could have just advertised the concept on his own youtube channel to begin with. So it kind of fails right there to start with.

Another main issue

The biggest problem with the forum on BIAB in this case is the “SYM” section (aka Share your music). Since people only care about themselves and trying to promote their own stuff by visiting as many forums as they can… It is just the death stroke to the site as you could call it.

This was initially the main reason why I personally killed my own forum back in the days since the only thing “the users” care about is to address their opinions / music and promote themselves rather then to help each other out.

So if you really want to do something about it, then take a real drastic measure. Kill the SYM section, and take it from there. Otherwise people will keep continuing what they are doing now, and that is just dropping songs and run away from it…

My 2 cents

Posted on July 15, 2014

social media

View details »

Wordpress hijack the plan

Right, here goes. The plan and schedule on what you might expect me to do with this “thing”. Since most of the pieces of the puzzle are there, the only thing that kind of remains here is to set up a template scheme for:

- posts - categories - pages

I’ll post an update when I am done with this and release the source code along with it.

 

 

Posted on July 13, 2014

Uncategorized

View details »


view