Showing posts with label little. Show all posts
Showing posts with label little. Show all posts

Monday, June 26, 2017

Posted by beni in , , , , | June 26, 2017

A little of this a little of that


*

Games: Had a lot of things on my plate this weekend, so just a quick check in tonight�  here are some brief impressions on what Ive been playing lately.



Chibi-Robo! Photo Finder - 3DS

I was absolutely stoked to see another Chibi-Robo title pop up out of nowhere. I had no idea it was coming, but I absolutely adore this little robot and another installment is more than welcome. His original title was hands-down one of the best things on the GameCube, and Ive always thought that Nintendo should have done more with him.

I havent put a lot of time into it (about 2 hours so far) but it seems solidly scaled-down. Chibi still goes around doing small household tasks to help people, but this time hes also trying to build a museum by taking photos of things.

This photo slant is kind of a cool idea because it uses the 3DS camera to insert Chibi into the photos for sort of an augmented reality effect. The problem is that the camera is incredibly finicky, and its quite difficult to use in certain situations. In rooms that are even slightly dark it often fails, and the game has templates of objects that you need to take pictures of, so finding something that is the exact correct size and shape to fit a template is really hard. for example, one template is obviously a t-shirt, but I did not own one that fit the dimensions perfectly. The game granted me a "its close enough, 60% match" pass, but still...

Im going to jump back into it tonight. It seems like a win so far, but I am definitely a fan of this series, and Im really hoping that the camera function wont be too much of a problem.



Silent Hill: Shattered Memories - PS2

Ive had a copy of Shattered Memories in my backlog for a long, long time and I only just now got around to it after being nudged by several friends, Matt Kaplan and Scott Nichols primary among them.

I have to say, although I thought the idea of the game was pretty cool (its kind of a re-imagining of the original Silent Hill, my favorite in the series) it has a lot of problems and I got bored with it a little past the halfway point. Although I liked the removal of combat, that game was clearly designed for the Wii (its original platform) and as such, it really lacks a lot of depth since its obvious the developers were working with the Wii remote interface in mind.


The structure consists mostly of running a lot and using a virtual cursor to manipulate objects in the environment (which Im sure was absolutely riveting with a wiimote...) Its not very juicy. Worse, the story just didnt catch my attention. I never felt immersed or interested in what was going on, and it felt too long for what it was, even with a relatively short running time. I bailed maybe two thirds of the way through because it felt like a waste of time. After YouTubing the ending, Im glad I didnt stick around.



Assassins Creed: Liberation HD - 360

Speaking of boredom, I ponied up for a copy of AssCreed: LibHDagainst my better judgment. Im claiming temporary insanity. 


Honestly, Im not a fan of the series at all, but I was intrigued by the idea of the main character being a mixed-race woman in slavery times, and how that would play into the story. Sadly,  I should have punched myself in the face rather than spending a dime on it. The story was scattered and felt like an afterthought, and the action was the same old AssCreed stuff that bored me three games ago. 

I knew there was no hope when the main character was told to go buy a house. I thought property ownership would be an interesting story moment given her racial/gender status, but it was nothing more than walking up to a door and pushing B. I dont know why I thought the developers would actually do something with that, but I did� Shame on me.   

Anyway, I think I got halfway through the second chapter and just couldnt take it anymore. AssCreed has a few good ideas buried in it, but its mostly garbage and Im just done with it.



Call of Juarez: Gunslinger - 360

To end things on a high note, I dipped into my virtual backlog and started playing call CoJ: Gunslinger. Ive heard it come strongly recommended from people I respect, and they werent wrong. 


Although the other Juarez games have been shaky at best and terrible at worst, the developers have really nailed this one. Its essentially a corridor-y arcade-y shooter at heart, but it looks sharp, the action is fast, and it has a lot of charm thanks to the narrator who has no problems changing his version of events at the drop of a hat. When he does, the level youre in will change accordingly. 

In one instance he says he went into a mine through one shortcut, and the shortcut appears out of thin air. Once that proves to be a dead end, he says "No, thats not what happened" and the level shifts another way. Its a clever gimmick, the project is focused, and it doesnt try to be more than it is. Ive been playing a couple levels at a time and having a lot of fun, but Im glad its a small project and not something that goes on for 20 hours. 



********************PR/NEWS/INFO********************



GungHo Online Entertainment America announced its PlayStation�Vita handheld entertainment system puzzle-platform hybrid game, Dokuro, is now available at a reduced price of $2.99 across North America, and will soon be �2.99 in Europe.

Having received accolades and "Best of 2012" awards, Dokuro is a one-of-a-kind action-puzzle game that utilizes the PlayStation Vitas front Touchscreen and Rear Touch Pad to enable players to manipulate the environment, and transform the games diminutive protagonist between two forms - a nimble skeleton and a dashing prince - in order to solve a variety of puzzles in his quest to help an innocent princess escape the Dark Lords fortress. 

Dokuro is also available for $2.99 on iOS devices through the App Store and Android devices through Google Play in North America. Featuring no in-app purchases, the smartphone/tablet edition of Dokuro adds virtual controls that deliver an intuitive and optimized experience while keeping the console-style ease of play. For devices running iOS 7 or later, Dokuro is also compatible with mobile game controllers (sold separately), offering even more direct control of the action onscreen. While boasting all the content of the original PS Vita version, the smartphone editions difficulty and level structure have been newly tuned for touchscreens, resulting in an even more intuitive game.

Developed in Japan by GungHo Online Entertainment, Inc, Dokuro is published in North America by GungHo Online Entertainment America. For more information, visitwww.gunghoonline.com. Fans can also follow on Facebook  and Twitter.

*

The latest trailer for Daylight, the first person psychological horror game from indie developer Zombie Studios, is testament to the isolated feeling that permeates the derelict Mid Island Hospital and beyond.

Powered by Unreal Engine 4, Daylights procedurally generated levels ensure that no door, hallway, life-saving flare or clue to the main characters past are ever in the same place twice. Oh, and just as the trailer warns, sometimes its best not to look behind you.

Daylight will release in early 2014 for a global audience on both PC and as a console exclusive for the PlayStation�4 computer entertainment system.

View the new Daylight trailer here:
http://www.youtube.com/watch?v=GSYdvUaOsQs

*

The start to the New Year signals bright horizons. For MonkeyPaw Games, Inc. the start to 2014 will bring six new Japanese import titles to the PlayStation�Network Store. This rapid-fire release campaign, dubbed �Retro Rush� will deliver some hidden gems along with the much-anticipated sequel to Tomba, Tomba! 2.

Starting January 14, 2014, MonkeyPaw Games will be releasing one PSone� import game a week, for six weeks. The Retro Rush titles are some of the most exciting games MonkeyPaw has uncovered to date and run the gamut of genres including Fighting, Action, Platforming and Fire Fighting RPG.

The Retro Rush culminates in the release of one of the most requested, most anticipated, and most pink-haired of PSone� classics - Tomba! 2: The Evil Swine Return.

For the full schedule of Retro Rush events, check out the release list below:

? Jan. 14 - Double Dragon

? Jan. 21 - Lucifer Ring

? Jan. 28 - The Firemen 2: Pete and Danny

? Feb. 4 - Hyper Crazy Climber

? Feb 11 - Wolf Fang

? Feb 18 - Tomba! 2: The Evil Swine Return

More information about each individual game will arrive weekly and all of the Retro Rush titles will appear via the PlayStation�Network for the PlayStation�3, PSP� and PlayStation�Vita. All titles will retail for $5.99, except Tomba! 2, retailing for $9.99.

Stay tuned for more information from MonkeyPaw Games in 2014. 

*

Stoic, an independent game development company and Versus Evil, an independent game publisher, today announced the release of the highly anticipated Strategy RPG The Banner Saga on PC and Mac.  The game, a huge funding success on Kickstarter, was recently announced as an Independent Games Festival (IGF) finalist for Excellence in Visual Arts, with honorable mentions for Excellence in Audio and Design. To mark the occasion, a launch trailer has also been released on the official YouTube channel: http://www.youtube.com/user/StoicStudio.

The Banner Saga is a single-player driven Viking saga, where a player�s choice in travel, conversation and combat determines the outcome of their own personal story as well as the survival of an entire civilization. The game also features stunning 2D animation and art, a unique tactical combat system, and a cast of unforgettable characters that drive this epic journey forward. Players will also enjoy a beautiful and haunting original score by Grammy nominated, and two-time BAFTA winner, composer Austin Wintory conducting The Dallas Winds orchestra, as well as a powerhouse trio of acclaimed YouTube sensations: Peter Hollens, Malukah and Taylor Davis.

The Banner Saga is available now for $24.99 through Steam, Uplay, GameFly, GameStop and GamersGate for PC and Mac. A digital Deluxe Edition is also available through select retailers for $29.99 and includes the game and complete soundtrack.
 
*

Renren Games, a subsidiary of Renren Inc. (NYSE: RENN), has unveiled NBA Rush, the first NBA endless runner mobile game.  The new game, available free to download on iOS, features NBA players competing against alien invaders.

In NBA Rush, gamers assemble their own all-star team by choosing select NBA players from 30 NBA teams.  To win, NBA players must weave through city streets, parks, tunnels, buses, cars and alien ships, while throwing down massive dunks on aliens.

NBA Rush incorporates all of the fun gameplay elements that define the endless runner genre with a basketball spin.  To change directions, NBA players execute crossover, behind-the-back and through-the-legs dribble moves.  When juking left and right doesn�t get a player through the alien defense, the NBA players� hops will save the day. 

NBA Rush will be free to download on the Apple App Store and will have in-game purchases to enhance gameplay.

For more details visit: https://itunes.apple.com/us/app/nba-rush/id733017679?ls=1&mt=8

*

Friday, June 23, 2017

Posted by beni in , , , | June 23, 2017

A Little Nerd Appeal


imageI heard about the latest Lady Gaga �Telephone� video on TWiT and decided to watch it; Pretty good video (but I still prefer her �Bad Romance�). 

About 7 minutes into the video, Lady Gaga is mixing up a poison concoction composed of:

  • 1 oz. Rat Poison
  • 1/2 oz. Meta-cyanide
  • 1/2 oz. Fex-M3
  • 1 cup Tiberium

The later three items are fictional toxins derived from Frank Herbert�s Dune series, Star Wars, and Command and Conquer, respectively.

This woman is fracking awesome!

Sunday, June 11, 2017

Posted by beni in , , , , , , , , , , , , , | June 11, 2017

A little exercise about a recent forum question input field handling in awk and Perl


Just recently the following question was posted to the UNIX scripting group in Linkedin:
remove all duplicate entries in a colon separated list of strings
e.g. a: b:c: b: d:a:a: b:e::f should be transformed to a: b:c: d:e::f

Some of the fields contain spaces which should be preserved in the output of course, there is an empty field too which (to me and other authors) indicates that the fields are not necessarily ordered. Here I wont discuss the suggested solutions, I also did not answer to the original posting because I read it one month too late.

awk
But when reading the question my brain already got working and I could not help to try for myself. The obvious tool of choice for exercises like this is awk because awk has inbuilt mechanisms for viewing lines as a sequence of fields with configurable field separators.

A solution could be

BEGIN {
  FS=":" ;    # field separator
  ORS=":"     # output record separator
}
{ for(i=1;i<=NF;i++) {  # for all input fields
    if( f[$i] ) {       # check if array entry for field already exists
     continue;          # if yes: go to next field
    } else {
     print $i;          # if no: print the field content
     f[$i] = 1;          # and record it in array f
    }  }
}

which leads to this output:
a: b:c: d:e::f:

The script can be shortened by omitting superfluous braces and else to

BEGIN { FS=":" ; ORS=":" } 
{ for(i=1;i<=NF;i++) { if(f[$i]) continue; f[$i]=1; print $i; } } 

The script uses a very simple straightforward logic: loop through all input fields, if a field is new then print it, if not skip it. This is achieved by storing each field in an associated array f when it first occurs.
Using the field separator FS for splitting the input line and the output record separator ORS when printing (you need to know that print automatically adds ORS) makes this an easy task.

There is one issue though: this solution adds an extra colon at the very end (compared to the requested output), this could be an issue or not depending on the context of this request so one might prefer this code:

BEGIN { FS=":" } 
{ printf $1; f[$1]=1; 
  for(i=2;i<=NF;i++) { if(f[$i]) continue; f[$i]=1; printf FS $i } }

which uses a slightly different logic: the first field is printed straight away (and recorded), the loop checks the remaining fields 2..NF and prints the field separator as a prefix to the field content. This code also works for the extreme case where there is just one field and no colon.

Perl
I then wondered if this couldnt be done equivalently or even shorter in Perl but my best solution is a little bit lengthier because I have to use split to get the individual fields.

$FS=":";
@s = split($FS,<>);
for($i=0;$i<=$#s;$i++) {$e=$s[$i]; next if(exists($f{$e})); $f{$e}=1; print $e,$FS }


I could have used command line options "-a -F:" to avoid the split but I need FS to be defined anyway for the output (I dont know if the split pattern defined by -F can be accessed in Perl).
I use split to chop up the input line and put it into an array s. Then the same logic applies as in awk. Instead of an associative array Im using a hash table f in Perl. The variable e is only used to avoid repeated occurances of $s[$i]. In the end tits a matter of personal preference which solution you take.


It should be noted that I tested with

echo -n "...." | awk ... or perl -e ...

which feeds a string without newline to the pipe which helped to avoid chomp in Perl for removing the newline in the last field.

Tuesday, May 30, 2017

Posted by beni in , , , , , , | May 30, 2017

A Little Bit of Genius at PAX




There were things I saw at Penny Arcade Expothat I wanted to go on about. Something besides Microsoft trying to push us into our exciting Windows 8/Internet Explorer 9 future by providing the world middling adaptions of ancient Atari games for some reason.


There was one game at the Indie Megabooth that deserves special attention from all humans. Not only was it funny, but it has perhaps the best elevator pitch in the history of the human race:
OK. Youre a guy living in the suburbs. You have a wife, two kids, and a secret: Youre actually an octopus in disguise.
Obvious jokes aside, how can you not want to try that game? Especially when you know its called Octodad: The Dadliest Catch.


Octodad!

This game is the purest epitome of the Indie spirit. (Hows that for a pull quote?) Its unique, intriguing, utterly bananas, and no major publisher will ever do anything like it.


Sadly, the gameplay is focused on maneuvering the octopus, which means struggling to do normally simple tasks with an odd control scheme. I am a little skeptical about how much this particular style of gameplay can catch on. On the bright side, if its priced cheaply enough, it can make a ton of sales based on the "Oh God. I have to try this out." factor.


My unsolicited advice for the developers: If the game turns out to not be that fun, sell it for five bucks. Youll move a lot of copies based on morbid curiosity alone.


Edit: Oh, yeah. You can support Octodad at Steam Greenlight here. I voted for it. KEEP INDIE GAMES WEIRD!

Wednesday, May 17, 2017

Posted by beni in , , , , , , , , | May 17, 2017

A little script driven two stage dialog with zenity


On Solaris and Linux there is a little utility called zenity which displays a dialog window. It has various options from simply displaying a string to showing a file dialog progress. I sometimes use it if I write a script but dont want the user to follow the output of the script in a terminal, especially if the script is going to be used by a larger group of mainly non-technical users one needs a GUI dialog. zenity is not very fancy in its capabilities, configurability or design but it serves its purpose.

In this article I want to show how to use zenity several times in a script.

  • At first the users are presented with a list of servers to choose from and
  • secondly there is a list of applications to be selected. The list of applications and the geometry of the zenity window depend on the previous selection.
  • Finally in a third invocation of zenity there is a summary window shown.

    The task has been split into two files.
    One is a config file which contains the definitions of the various lists.
    The second file is the actual script. Since Im using arrays to define the lists Im using bash in this example.
    (Note: originally the script ran on Solaris 10 in ksh but the echo ... | zenity construct somehow did not on Linux.)

    Here is the config file

     #!/bin/echo Error:_this_needs_to_be_sourced_in: # # A set of arrays (for ksh) # (server and domain names are fake of course) ALIAS[1]="Japan server" MACHINE[1]="server1.japan" MENU[1]=Finance Logistics Sales MSIZE[1]="--height=220 --width=330" ALIAS[2]="UK server" MACHINE[2]="serv2a.uk" MENU[2]=Finance Sales MSIZE[2]="--height=190 --width=330" ALIAS[3]="US server" MACHINE[3]="newserv.us" MENU[3]=Finance Logistics Marketing Sales MSIZE[3]="--height=220 --width=330" # Set the number of array elements numElements=3 
    The config file defines four arrays:
  • ALIAS is nickname of the actual server and will be displayed in the first menu
  • MACHINE is the actual machine name
  • MENU is the list of choices in the second zenity window
  • MSIZE is the geometry setting for this menu. Height varies. Finally there is a variable numElements which defines the length of the arrays, 3 in this case.

    Here is the script:

     #!/bin/bash # The config file # Should be in the same directory as the script. # Could of course be passed as an argument too. ######################################## CONFIGFILE=`/usr/bin/dirname $0`/zenity.config # Check if the config file exists ######################################## [ -r $CONFIGFILE ] || { zenity --error --text "Config file does not exist: $CONFIGFILE" ; exit 1 ; } # Source the config file ######################################## . $CONFIGFILE || { zenity --error --text "Error while sourcing config file: $CONFIGFILE" ; exit 1 ; } # Step 1: select an option out of the list of aliases ######################################## selection=` ind=1 while [ $ind -le $numElements ] ; do echo "${ALIAS[$ind]}" # Piped to zenity ind=$((ind+1)) done | zenity --list --height=200 --width=350 --column="Choose your Server (highlight and press OK)" --title="Remote Server Launcher" ` # If zenity has been canceled or nothing selected then exit ######################################## [ $? -eq 0 -a "x$selection" != "x" ] || exit 1 # Now map the user selection to a machine name # and show the machine specific menu ######################################## ind=1 while [ $ind -le $numElements ] ; do if [ "x$selection" = "x${ALIAS[$ind]}" ] ; then server=${MACHINE[$ind]} # Stage 2: select the window size and a specific application ######################################## selection=` echo "${MENU[ind]}" | zenity --list ${MSIZE[$ind]} --column="Application (highlight one and press OK)" --title="Remote Server Launcher" ` # If zenity has been canceled then exit [ $? -eq 0 ] || exit 1 break fi ind=$((ind+1)) done # Just for information purposes ######################################## zenity --info --text "You chose: Server: ${ALIAS[$ind]} (${MACHINE[$ind]}) Application: $selection " 

    A few notes:

  • zenity is also used to display error messages
  • the while loops could be replaced by for ind in {1..$numElements} in ksh but this does not work in bash
  • the zenity windows are invoked inside backticks in order to capture their output
  • the script shows various options of zenity and how to use them.
  • after having gone through these choices of course something real should be done rather than just displaying the choices (but that is beyond this article).
  • this array technique allows you to dynamically set the content of zenity dialogs, to set variables which are hidden to the user and to separate the logic from the content (and there even could be done more e.g. define all geometries in the config file)

    Here is the first zenity window (on Ubuntu 11) after having clicked one server.

    Here is the second zenity window with the appropriate menu and geometry

    And finally here is the last zenity window to recap the selections

  • Tuesday, May 2, 2017

    Posted by beni in , , , , | May 02, 2017

    A Little Lie of Life


    Fake
    Everything in this world is fake
    Why?
    Do you really want to know why?
    Dont you even know yourself is a fake?
    We live in a fake life

    It was all happen last night
    I saw my little sister come home
    She smile, I smile
    We talked, we laughed
    And then I realized
    I didnt have any little sister

    I woke up
    I remember it all
    She is just a friend of mine
    Who called me older brother
    I just killed myself by dreaming it
    Again

    You can wish
    You can dream
    You can imagine everything you want
    But its all fake

    Fake you

    Monday, April 24, 2017

    Posted by beni in , , , , , | April 24, 2017

    A little scoop from Anna Torv


    "Stiamo filmando il quinto episodio in questo momento, e siamo immersi nel mondo che abbiamo sfiorato alla fine della seconda stagione" ha detto Anna Torv. " Quello per cui sono veramente emozionata � vedere i miei due personaggi interagire con gli altri. Un paio di settimane fa abbiamo finito di farlo ed � stato molto tecnico, ma anche una specie di liberazione. Spero ne faremo di pi� e penso che ne faremo. Come se fosse stata impostato in questo modo."

    "Were shooting episode five at the moment, so were really kind of into the world that we touched on at the end of the second season," Anna Torv tells us. "What I was super excited about is seeing my two characters interacting with each other. A couple of weeks ago we sort of finally did that and it was very technical, but also really kind of liberating. I hope we get to do more of that, which I think we will get to. Its sort of been set up that way."


    Source: Eonline

    Saturday, April 22, 2017

    Posted by beni in , , , , , , , | April 22, 2017

    a little bit of Braun in this Pentax



    This new camera design for Pentax by Marc Newson is a welcome move away from the recent spate of retro-classics.
    But retro isnt entirely absent. The design still reflects the influence of Dieter Rams and his Braun products, specifically in the top of the camera.



    Monday, April 17, 2017

    Posted by beni in , , , , , , , , , , , , | April 17, 2017

    A little more on the Poodle IBM Domino 9 0 1 and the Poodle Vulnerability


    In my last post, I discussed the steps required to get your Domino 9.0.1 server patched against the poodle bug which exists in both SSL 3.0 and TLS.  At the end of the post, I mentioned that I still had one server which was refusing to apply the patch.

    This is how I got around the problem. 


    The Server that Wouldnt
    After taking the patches all the way back to Fix Pack 1 and slowly patching forward one-by-one with reboots in between, I realised that whatever was affecting my server had been installed for a long time.

    There was no easy way to resolve the problem and obviously I couldnt roll back forever.  I just had to accept the fact that the server would not take the patch and take some more drastic measures.



    Backup First
    Of course, before taking any drastic measures, you should always backup first. Personally, I like to have a proper backup as well as a local copy of the main domino files.  That way I dont have to worry about streaming and tapes.

    I manually took a copy of the D:LotusDomino folder on the server (but not sub-folders) and saved it elsewhere.  Then, being careful to overwrite only obvious program and library files, EXE, DLL plus any other non-data files, I copied the files from a server which was otherwise at the same level (64 bit Domino 9.0.1) but had been successfully patched.

    After the copy, I restarted the server and retested for the poodle problem. Luckily, the file-copy procedure had resolved it.

    Yet again, Im thankful for the low tech nature of domino and the fact that it doesnt go crazy with registry entries. 


    What if I dont have a working Server?
    So, if you dont have a working poodle-proof server and youre faced with a similar issue to mine, then one of the simplest options is to install a brand new Domino 9.0.1 server and patch it, then try copying the files across.  Theres a pretty good chance that it will do the job.

    Tuesday, April 4, 2017

    Posted by beni in , , , , | April 04, 2017

    A Little Break for Awhile


    Hey hey, its been 2 weeks since my last post
    Ive been busy with my works. Going home then doing my works until night. Tired. So, pain in the a**. I was excited with Glass Mask or Garasu no Kamen manga too. But i have finished reading it
    Guess there would be no articles in this week to, because i want to set up my Christmas tree tomorrow ^^

    Search