Don’t show a particular category on blog homepage

For a long time I have this feeling that providing content to social networks is similar to give them money. I usually don’t get a thing when posting or sharing content there, at least not something different than my friends/followers noticing that.

So, I’d like to use my blog for the sharing stuff, but sometimes that thing that I’m sharing is just too dump to be in the homepage. I didn’t knew how to hide posts from the homepage in a quick way. There is a plugin that let you set where the post could be seen (like in archives, search and stuff like that), but is not what I’m looking for, I want something simple.

So, there is another way to do that, categories are for that, a way to group posts. Why not exclude a category from the blog home page?. With that visitors can see the posts, the bots will be able to index them, the will be listed in searches or category listing, but still be hidden from the homepage.

Turns out there is a pretty simple way to do that. it’s just adding a function to your theme “functions.php” to exclude that particular category.

(?? = category id number)

[code language=”php”]
function exclude_category($query) {
if ( $query->is_home )
$query->set(‘cat’, ‘-??’);
return $query;
}
add_filter(‘pre_get_posts’, ‘exclude_category’);
[/code]

The minus sign in front of the category id means don’t include.

Loading

The man died trying to kill, the bull killed trying to stay alive

13659127_1752947758323399_6909150580895315879_n.jpg

Sad the bullfighter died. Now the bull has to die and all its family (quite probably this already happened). I don’t see a reason to keep this kind of events alive. What’s the reason to have to kill an animal that doesn’t know that the hell is happening. Just by sport?, feeling superior to other species?

It’s not fair, most adults have the ability kill a bull (with a weapon), I don’t see something respectable in fighting a bull that has been bleeding, that was deteriorated before the “fight”, a fight that is expected to lose. The only way to win is to provide a “good” show, but the bull doesn’t know about that, it is not trained to do that and the chances to do it are pretty low.

It’s definitively not fair, that if the bulls kills the bullfighter then the bull and all its family is killed, but if the bullfighter kills, he and his family remains alive!, I don’t see anything  honorable on that.

I’m completely against this kind of shows, the bullfighting, dog (or any other animal) fights, any kind of animal suffering  just for entertainment is wrong and should be treated like a crime.

I do think there are other ways to create a good “show” with bulls, like doing a bullfight without making the bull suffering, letting the fighter prove his manliness by fighting a 100% complete bull, again, without suffering. “Dancing” when the fighter evades the bull, respecting it. Then, let both animals remain alive, I’m sure that a trained bull will give a better show, a show that proves the respect between humans and animals, that fills the hearts of the audience with good, with love, the audience will leave the place feeling great because they were witness of a good example of human kindness.

Please, stop all bullfights.

There is a good video (in Spanish, the author of the video is Spanish), but I’ve have the link in the blog here

 

Loading

Playing Asphalt 8

Yesterday I was playing Asphalt 8 in the iPad, unfortunately the video is not recorded with the same sharpness as the video game and I had to change the music because of a youtube claim about it. I’ll have to do those records without music in the future.

 

 

Loading

Bloqueos en carreteras, ¿perjudicando al gobierno?


Yo tengo una duda, el bloqueo es para hacer presión al gobierno? Y eso como? Yo me pregunto, el bloqueo en qué forma le afecta al gobernador, al secretario de educación o al presidente.

Más bien creo que afecta al pueblo, todo Tapachula está comprando gasolina porque han bloqueado carreteras, impidiendo el paso de las pipas de combustible. Las gasolineras están haciendo su agosto. Vendiendo a más no poder así que si pensaban que por ese lado le IBAN a pegar al gobierno… Pues no, la gente sigue consumiendo.

Los que si van a provocar es que los productos que no se han surtido se encarezcan.

Y no me mal interpreten, sé que la intensión de muchos es la lucha por los derechos, por la educación libre y gratuita. Pero como ya he dicho anteriormente, los esfuerzos están mal canalizados. La violencia llama a la violencia.

Loading

Worried by the MacBook performance? it seems it performs better than a MacBook Pro

At least in the benchmarks, it performs better than the MacBook Pro 2012 according to GeekBench.

Screen Shot 2016-06-06 at 1.50.02 PM.png

The Benchmark that Erica Griffin posted

vs the MacBook Pro 2012 (Intel Core i5)

Screen Shot 2016-06-06 at 1.50.09 PM.png

Close numbers, but remember that one is fanless (MacBook) and is a low power consumption CPU.

Now, would I get one MacBook ? Definitively NO!, the reason: The port. One single port for everything is just.. no, no way.

How your computer performs? post in the comments 🙂

Btw, Erica’s video is here: http://bit.ly/28fZfGc

Loading

The best MacBook Pro is the one that is obsolete

As you might noticed from this blog and my twitter account, I have (and love) my MacBook Pro, is not the new one, is actually an “obsolete” one, the MacBook Pro 13″ that is not retina display.

It has been failing to me in the last couple of months until now that is completely death. So long my beloved MacBook Pro 13″ (early 2011). Five years straight. There is still a chance to get it back if I can get a new charging sensor circuit, but I don’t rely on that.

So, I have to get a new one. And I’ve got: The MacBook Pro 9.2 (Late 2012). As you can see, is a bit “old” (although this one was built on March 2016).

Screen Shot 2016-06-03 at 12.39.08 AM.png

Now you might be wondering why I choose an (again quoted) “old” MBP instead of one of the new Retina Display super shiny or the super light MBA (I won’t consider the MacBook 12″ because although is Retina Display the CPU and storage is definitively not what I want).  So, lets start with the MacBook Air.

The MBA is somewhat the MacBook that is going off the line as soon as the MacBook gets mature enough (and can finally add a few ports more and a decent camera). But the problem with the MBA is the price, the MacBook 2012 is cheaper that the MacBook Air (actually is the less expensive), and that in a relation with what the computer can do I have the feeling that I’m getting more with the “old” MBP than with the MacBook Air.

So, continuing with the MacBook Pro Retina Display. This one is so fucking expensive that I don’t consider it either. but most importantly, I can’t fucking upgrade it. No new SSD, no more RAM, no SuperDrive (although I won’t use it either, but I like choices), no nothing, I can’t upgrade it, and repairing a MBP Retina Display is far expensive than a MBP 2012.

So, the good part of the 2012 MBP.

Now, the MBP is again “old” (4 years now), it has one hard drive, 500GB which is more in terms of what the base of any other MacBook (Air/Pro) offers, but it is slow. So, you get storage, but slow storage. 4Gb of RAM (half of what the MBP RD have) and an Intel Core i5 Ivy Bridge processor.

 

2016-06-01 13.41.38.jpg

Now, let me tell you, the bottleneck of this computer is (you know it) the 5400RPM hard drive. The only thing you need to upgrade to this thing is that, you can just upgrade it and you will feel how fast it is, the OS loads in seconds (less than 15 seconds I’m pretty sure). Well, not the only one, you can upgrade the RAM too, up to 16GB DDR3 @1600MHz.

 

2016-06-01 13.53.54-1.jpg

Even better, since nobody is using the SuperDrive, you can replace it with a Caddy and get the original 500GB hard drive (or bigger) there and have a massive storage in your computer or even super better, another SSD Drive and create a RAID, you will get SUPER FAST access to your data.

I don’t have that SSD drive so I put the original 500GB HDD.

2016-06-01 14.07.55.jpg

What can I do with such computer?.

Well, I assume that I can do what I did with my 2011 MBP:

  • Programming (vim, PyCharm, Eclipse)
  • Multimedia
    • Playing Music/Videos local and from internet with absolutely no issues.
    • Audio/Video editing with no issues.
  • One external monitor with no issues, basically because it have only one lightning port, if I wanted to have two monitors I’ll have to use two Apple Cinema Display (or the equivalent in new models).
  • Some Games (quite probably the HD4000 performs better than the HD3000) although I wont count the heavy ones, but I don’t use the laptop for gaming.
  • Virtualizing, I’ve run Windows 7 / 10 and played Company of Heroes with no issues.

So it fits perfect to me.

 

Loading