Category Archives: Rambling Story

Learn the Architecture.

interesting reading from HackerNews, Do Not Learn Frameworks. Learn the Architecture.

They promise us a magic button that will solve all of our problems. As a result, people get used to applying it and cannot decompose complex things, separate the wheat from the chaff.

source

My view on this, is framework is more of a consensus to a problem that have been solved before, an alternative to a better solutions that have been found. The use of framework will be useful because it’s maintain the community, the maintenance of an app built by this framework will be easier because the documentation and the community behind it.

This article remind me to be a really slow learner, because understanding how it works really matter in the long run.

AdVenture Capitalist on Steam

One of my favorite game on android has come to steam. Yes, this is one of my favorite, i know someone could be bored to death with this game, want to know why? see the screenshot below

11

yeah…. that’s just about it, you just invest which business that you’d like… actually at the end you just click anything that you could put your money on.

The amount of money are illogical i think, on my android my lemonade stand generate $35.243 quattuorquadragin per second, yup it’s a lot of money for a lemonade stand. Because the nature of my position as an investor i dont need to give a damn about the chain of production of a lemonade stand, i just get the income information per second.

If my income seems to stuck for a long time, i just sell all of my business in exchange of angels that generate interest… yes, sell all of it, i dont need to bother with the severance, labour union, government etc. Just restart the business with a silver spoon.

and the best of it, if you dont play the game, its still generate income, you could say, its the best passive income game ever :)

House of Cards

Just watched House of Cards season 3. Dear god, this politic drama is really good, not as good as season 1 or 2 though, season 3 a bit dramatic, in term, the problem kept coming just to keep the show more interested i think.

Kevin Spacey in the TV serie "House of Cards"

I love House of Cards because it shows how it really represent politic in the real
life i think, made me think the perspective of each event happens in government and try to see the macro event that happening and by that, it shows how dirty politic is.

Right now i’m intending to watch the season 1 again.

That sale

6ea3f0c6ea4

Last Steam summer sale really ruined up my intention in scheduled writing for my site. I bought a bunch of games but I think the summersale is not as awesome as last year summersale, there are a lot repeated game that are on daily flash etc.

Nevertheless I bought a lot of them, and sadly after the sale is over… The Humble Bundle sale are on with an incredible game bundle, I bought it up immediately afterward. and again after that… and again after that.

It adds up a bunch of games on my game backlog and I made a promise to myself that I shall finished every games that I just bought. It’s a been a success after that, finish 4 games and now I’m currently playing Retro City Rampage and Saint Row 3.

Oh yeah I’ve also use Instagram and Path quite a lot now, I know I am late comer I am, but that’s because I didn’t get Instagram and Path at first; prefer FB or Twitter over it. Now with the FB android apps still looks like crap (Facebook Home can’t installed on my phone and tablet, both of them are dual core, so it’s not the spec that didn’t met) and I want to get a hang in street photography so I started to use instagram even more and Path for personal life.

Oh yeah here’s the link to my Instagram if you’re interested, here’s my badge

Instagram

And yeah it’s true about Instagram that a lot of your pictures looks good on phone but looks like crap on HD (not all of them, most of them because shaky), but who cares, I can take pictures of what I think is awesome on the street and edit it right it away without a hassle.

Game Backlog

I’ve been active buying PC games from steam for quite a while now, the reasons are, the concept are dead simple: buy once and installed anywhere as long I have only one account logging on on my steam client, I can play at home and office the same game (sometimes the same save game too); there are workshop for many pc games (like fan base in game customization) and last but not least, the crazy game sale that they often have, either on steam itself or on other site.

Stacks

Now about the sale that happen often, are sometimes crazy cheap, it felt irrelevant to buy or download pirated games. Why, you say? First of all it’s freaking cheap, sometimes I can have 3 awesome games for a mere 1-2$ USD; the second is I don’t need to worry about cracking or viruses, upload ISO, daemon etc. here’s a couple of website that I always take a look to find those sale:

I use Google reader to read these site, but because its going to close on July 1st, now I use Feedly. There are company that offer game sales (mostly high quality indie game) in a bundle:

  • The Humble Bundle, These by far the best in “Pay what you want. support charity. Get cross-platform, DRM-free games” sale model. The game choice are almost always awesome.
  • The Humble Bundle Weekly, same as above but happen more frequently (7 days deal) with a smaller bundle to offer
  • The Indie Gala, sometimes super awesome, sometimes just average games
  • Groupees, same as above
  • Indie Royale, same as above
  • IndieGameStand, only offer one game and its up for 3 days
  • for others, just watched the subreddit on game deals

December 11 2012

With all of these sale happens on regular basis, its going to make my game backlog abundance, plus the steam summer sale is going to happen soon, so time to save up! :)

It’s been a while

oh! The things we find while cleaning house!

It’s been a while since my last post. A couple of things that i want to do is redesign my website with the glittering responsive of HTML5 and CSS3. The theme that i use now is custom twentyten childthemes, i was too lazy with the function and just wanted to design the layout, so i use childthemes instead.

Life’s happens between now and my last post. I have a super awesome son, i got jobs, and move places. Got a couple of android also, from 2.3 china made tablet, 2.3smartphone to a new 4.0 tablet and 4.1 android smartphone. Have tried iPhone and iPad but felt too much boundaries, and hate to jailbreak it, if there’s a thing that i don’t like about android is, i don’t get root straight away, because i’d like to set my own firewall.

Have a new Asus win8 laptop with 24gb SSD + 500gb HDD, oh dear, because of this laptop, i understand the meaning of 15second boot time. It’s heavenly fast and lightweight 1.8kg (2kg with adapter).

Well that’s just about it on what i want to share now.

6 Flash Based Game Similar to Angry Birds

After installing Angry Birds for PC, I can’t stop playing it. The game is really fun to play. It gets addictive seeing those pigs smashed by birds and those pigs smirk when you lose the round. But I have played this kind of gameplay before a while back.

Kongregate

I played mostly are flash based games at Kongregate (a free social gaming network). If you have an account there, add me :) My nick is bebek_ijo. This type of gameplay is called physics-based puzzle games; destroy the castle or more popularly called Crush the Castle.

I don’t know who created first, but the first released flash based game with this type of gameplay in Kongregate is Castle Clout, after that Armor Games release the famously Crush the Castle which is more easy to play and beautifully design. Then came similar game with more crafted gameplay.

In this post I’m going to tip you those flash based games that are similar with Angry Birds.

Crush the Castle - Flash based game similar to Angry Birds

Crush the Castle

This is the game that made this type of gameplay really popular, release by Armor Games at 2009 and it has been played more than 1.5 million times in Kongregate and more than 20 million times in Armor Games website. It is easier and more beautiful than Castle Clout, especially the interface, the gameplay are similar with Angry Birds but instead using a sling shot it uses a trebuchet, so it has less control in targeting but still manageable once you got a hang of it. There is an expansion of this version using map created player, it is called Crush the Castle Players Pack. You can play Crush the Castle in Kongregate here

Crush the Castle 2 - Flash based game similar to Angry Birds

Crush the Castle 2

It doesn’t seem fair not to mention Crush the Castle 2 in looking for a game that has a gameplay similar with Angry Birds. Yes, it has the same gameplay as Crush the Castle but it is different because it has more weapon arsenal (acid, ice, fire etc). Playing both of them offer a different experience. You can play Crush the Castle 2 in Kongregate here

Da Vinci Cannon - Flash based game similar to Angry Birds

Da Vinci Cannon

This game is released by King.com. It uses cannon to shoot, using two component, angle and power. Not very different from Crush the Castle except for its weapon, the use of these two components makes the game easy so the learning curve in targeting is a breeze. You can play Da Vinci Canon in Kongregate here

Old Cannon - Flash based game similar to Angry Birds

Old Cannon

Ahh, this game offer the same component as Da Vinci canon but the interesting part is, the design style is more classic (thus the name Old Cannon). It has smaller field of play so you can see directly where your shoot is, not back and forth like the usual crush the castle. This game is really just crush the castle, where in the game before, you have to kill the enemy, not necessarily destroy the castle, in this game you just point shoot and destroy the castle. You can play Old Cannon in Kongregate here

Sieger - Flash based game similar to Angry Birds

Sieger

Sieger offer the same atmosphere as Crush the Castle but with different gameplay. In this game you’re using first person view, so you shot from the front. Almost all of the castle have a one shot destroy the castle, so choosing the right target is essential in getting the gold medal. It has 29 level to keep you playing. You can play Sieger in Kongregate here

Sieger Master - Flash based game similar to Angry Birds

Sieger Master
Sieger Master has the same component like all the game mention above. But it has its differences, the game uses shop system to buy the ammunition and it has more accurate targeting system. The angle and power that are used to shoot are shown, so you can calculate which is the effective shot. You can play Sieger Master in Kongregate here

Note, the Castle Clout are where it all began, release in 2008 but it’s so hard to play because the high difficulty in targeting and it only have one map. Not much fun comparing the later. That’s why I didn’t put it on the list.

Like Button Metadata in WordPress

Adding Facebook Like Button dinamically on WordPress posts is easy, there’s a tut on it in wpbeginner, to summarize the tut, let just say that you can add like button by adding this code below on single.php file on WordPress themes

You can add this code under the title of post (the_title) or under the content (the_content), or anywhere you like actually, the code uses permalink that wrap in php url_encode, there’s a styling for the frame, by using scrolling, border and inline css.

1
2
3
4
5
6
<iframe 
src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light" 
scrolling="no" 
frameborder="0" 
allowTransparency="true" 
style="border:none; overflow:hidden; width:450px; height:60px;"></iframe>

But if your posts is about a product like movies, books, clothes or anything, you could add metadata on it. Adding additional info about the posts is by using the Facebook Open Graph Protocol. I’ve stumbled to Facebook Open Graph while developing on my wife online store using WordPress in Jongkok.com.

The Open Graph protocol enables you to integrate your Web pages into the social graph. It is currently designed for Web pages representing profiles of real-world things. things like movies, sports teams, celebrities, and restaurants.

Source

There’s an extensive explanation on what kind of additional data you could add on Open Graph Facebook.

lolcat book

There’s a lot of them, you could check it on the Open Graph page. but i’m only going to use the ones on this code below and for the example product i use LOLcat book

The required ones are

1
2
3
4
  <meta property="og:title" content="LOLcat Colleckshun"/>
  <meta property="og:type" content="book"/>
  <meta property="og:url" content="http://lolmart.com/product/i-can-has-cheezburger-a-lolcat-colleckshun/"/>
  <meta property="og:image" content="http://test-lolmart.com/wp-content/uploads/2010/05/ICHC-book1-thumb.jpeg"/>

The recommended one

1
2
3
  <meta property="fb:admins" content="YOUR_FACEBOOK_USER_ID"/><!-- You could use 2 user or by apps ID-->
  <meta property="og:site_name" content="lolmart"/>
  <meta property="og:description" content="The original I Can Has Cheezburger book is a favorite gift item that makes you and your friends laugh with joy.."/>

The meta data should be put on the header section. To applied it to WordPress, each meta data, i’m going to use WordPress function in header for single posts (header.php), the final code will be look like this

1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
// facebook opengraph
if ( is_single() ) { ?>
<meta property="og:title" content="<? single_post_title(); ?>"/>  <!-- The title of product -->
<meta property="og:type" content="book"/> <!-- look what type of product on opengraph -->
<meta property="og:url" content="<?php the_permalink() ; ?>" /><!-- permalink -->
<meta property="og:image" content="<?php echo get_post_meta($post->ID, "image", $single = true); ?>"/> 
<!-- image use is 3:1 ratio, i’m using custom field named “image” for this -->
<meta property="fb:app_id" content="xxxxxx"/><!-- your web app id, or use user ID -->
<meta property="og:site_name" content="YourWebsite.com" /><!-- your site name -->
<meta property="og:description" content="<?php the_excerpt(); ?>" />
<!-- for the description, while posting a product make sure the excerpt are filled -->
<? } ?>

That’s it!