BlackBerry Link and macOSX Sierra issue

You might find it difficult to sync with any BB devices after updating your os to latest version, which is in current time Sierra.

After some digging finally found a good solution which works.

[Solution for BB10 and Mac OS Sierra]

Disconnect all USB cables.
Uninstall all BB software using the “Uninstall program from BB Link – you can download it and use the uninstall feature.

Go to System Preferences/Network on you mac.
Check the USB connections on the left for duplicate names for Blackberry and delete duplicate.
For the Blackberry Connection remaining, Under the Advanced Tab ensure that Hardware configuration is set to Auto.
Hit apply.
Reboot without any USB cables attached.
Do a hard reboot of BB10.

Reinstall BB Link by using the following method:
1) Double click on Blackberry Link dmg
2) On the open Icon “Install Blackberry 10 Desktop Software” right click – show package contents
3) Double Click on Contents, double click on Resources, double click Blackberry Blend.pkg
4) Installation program should open, click install Blackberry Link
5) Run the install program and then reboot.

On your BB, under USB enable USB Mass Storage Mode. This seems to get the Passport recognized in Sierra once you enter the device password on your computer

Open BB Link. It will recognize your BB device as a new one. Follow the instructions and BB Link should work after you enter the BB device password. Can’t get Blend to work yet.

Content source: http://forums.crackberry.com/blackberry-passport-f434/end-line-1088365/

php date time formatting

// THIS IS INVALID, WOULD IMPLY MONTH == 19
$external “19/10/2016 14:48:21”;

// HOWEVER WE CAN INJECT THE FORMATTING WHEN WE DECODE THE DATE
$format “d/m/Y H:i:s”;
$dateobj DateTime::createFromFormat($format$external);

 
echo $dateobj->format(‘Y-m-d H:i:s’);
 
 
Or
$date = new DateTime(‘2000-01-01’);
echo $date->format(‘Y-m-d H:i:s’);
 
to get current datetime simply:
$date = new DateTime();
Sources:

Damn, I forgot my windows 7 admin password and Ubuntu 12.04 root password

So? Whats the solution?

Win7: A little search gave me this link: http://pcsupport.about.com/od/toolsofthetrade/tp/passrecovery.htm

Which has quite few tools with tested feedback. After going through few of them, I have used number 2: Offline Windows Password & Registry Editor, Bootdisk / CD. Because it is damn small and easy. It comes with small app to make your pendrive /flash drive bootable. No need for extra hassle. Just extract the usb version to your pendrive and run the command:

X:syslinux.exe -ma X:

Where X is your pendrive letter. Reboot and follow the simple steps: Here.

Ubuntu 12.04: It is far easier if you have no grub password. If don’t know what is grub, it is more likely you do not have password protection. Again simple google search gave me few links, but some were missing one vital info. This one worked for me: http://askubuntu.com/questions/24006/how-do-i-reset-a-lost-administrative-root-password. Actual missing instruction was:

mount -rw -o remount /

You need to use this command just before changing the password, as the shell we get doesn’t have write permission to those required files yet. Before running this command I was getting: authentication token manipulation error

Hope this helps someone out there.

ShareKit and RestKit Error with Duplicate jsonkit.o

Ok here is what i have done to solve this issue.

I have deleted none of the files.
Just removed the reference of JSONKit.m from the sharekit section. which was in
sharekit_subProject > classes > sharekit > core > helpers > jsonkit > JSONKit.m (just reference)

after that added restkit JSONKit.h and JSONKit.m to base project.
which was located in
restkit_folder > vendor > jsonkit

So, it started working.

If you have any updates or suggestions, please comment.

Thanks

P.S. I have also faced some other problem with single sign on and some other library issues. So i have removed the reference of FoursquareV2 and Evernote as it wasn’t required for my project. I am sure following same process as above would have solved too. The sharer ref were removed from
sharekit_subProject > classes > sharekit > sharers > services > conflict_groups

https://github.com/ShareKit/ShareKit/issues/391

https://github.com/ShareKit/ShareKit/issues/318

A Blackberry Curve 8320 and Macbook Pro (10.6.4). The Tether story

Tether really gave me a hard time to configure these two wild animals. Tried for 4 or 5 days, months back. After that used my old friend Nokia 3500c. Which was a charm to setup. No extra settings needed. Just pair with system and mention the APN and boom. You are connected.

But today I have managed some free time and decided to give another try for it. I was getting tired of chancing sim from one set to another. Some search and reading. After which came across these links one after another and finally got a working solution.

Main trick which I missed earlier was,
Use number: *99#
Username: (space)
Password: (space)
* (space) [seriously just 1 space no other character]

And boom, I am connected.

Links: (in order of appearance)
http://supportforums.blackberry.com/t5/BlackBerry-for-Mac/bd-p/blackberryformac
http://supportforums.blackberry.com/t5/BlackBerry-for-Mac/Use-your-BlackBerry-smartphone-as-a-tethered-modem-with-a-Mac/td-p/452371

Bluetooth: http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB18127
USB: http://www.blackberry.com/btsc/microsites/search.do?cmd=displayKC&docType=kc&externalId=KB19641

Prologue: Ohh, did I mention I have also tried the tetherberry, till evaluation period? It was really nice with some minor glitch. I did planned to buy it after this final try. But lucky me :D.

Electrons, Here I Arrive…

Its a long long long……. story.. short: One of my school friend became school teacher. As he was new, silently forced to take responsibility of arranging a science fair. He have to arrange few projects, make them successful and show to the students… you know, our the usual other way round thingy.

So, me to the rescue.. arranged a small project with an electronics person. I talked with him and finalized the delivery date and price. But at the day before deadline I called him to know the status, he replied: “Apne to amake ovabe bolen nai. Ei kaj korte gale keu nijer poisay kore. Amake jinish kine dite hobe. bla bla bla “. In short, as I took the responsibility, I am F… up (too usual in here).

I said, “Grrrr” and “Ok lets see whats so special about it”. I have strong interest in electronics, specially the fusion of hardware and software part (low level programming, it’s low man :)) ). But never ventured the electronics part before (though did some digital logic way back in undergrad).

Started searching and learning. Gathered design and basic behind the “Light Sensitive Switch” used for nightlights.

Why am I writing this post again? Yah, right… I want share with newbies or the beginners our there with same interest to get out and get started.
Like Phil Collins say,
Don’t be scared, don’t be shy
Lift your head it’s gonna be alright

Stuffs bought, we started with diagram and nothing worked :P. We were in tense situation, whats wrong? Later we got the idea, there were some damaged components. In the process we forgot which Resistor in what ohm. Searched and found this site for easy calculation. Just remember the first band is other side of golder band.

Also checkout these fine sites to support you with some weird ideas on tech thingy.

One is instructables. Excellent design and detailed step by step instructions. You can find what i have worked on in here. Also more detailed diagram in here.

Another, Evil Mad Scientist Laboratories. I like it for simple and weird ideas. I have done this project.

In final word, price of components are not that high. Above two project components in two sets each was around 200TK. Try it out if you have interest. Be careful with hot rods 😀 (The Soldering Iron). Tryout the project in a breadboard before fixing/finalizing it on board. Bread board is a bit costly but its worth it if you are planning to venture these sort of stuff often. Some of our work picture is posted at the end.
Enjoy…. ppl.

Back to the game board (The point click Adventure games revisited :-)

Who were you? Are you the person who used to dream about games? Always thinking what might be the reason for game state isn’t moving forward? Wondering all the time, “what am I missing? what mystery I have to unveil to move forward?”. Then you are that point click adventure game freak.

My experience with this sorts of game were started with The Full Throttle when i was in school. It was 1997 or 1998 maybe. It was just initial PC time when most people i know were happy with Doom or Duke Nukem 3D. At that time Computer was not so common in Bangladesh. All the games were original copy and worst of all, almost no cd burner available. You had to literally borrow these games like a paperback book. Another game I can recall of that time was Crusader: No Regret. I still remember its title: No pity. No mercy. No regret. You can checkout the Crusader video from youtube. but that’s another story.

The fun part of these sorts of game is you have to think like the character. You will get into the environment and solve the problem. By solving a puzzle or tackling a situation with pieces of information you gathered will move the main character to final goal.

With The Full Throttle, it just opened a new genre of games to me. These games gave me some taste to the RPG (Role Playing Game). So i played some great RPGs like Final Fantasy series, The Blade Runner, Monkey Island series and many more.

I think the early age of adventure genre was ruled mainly by Lucas Arts and Sierra. But where were others in focus as well. Some of the popular titles of early time were:

  • Full Throttle
  • The Dig
  • Monkey Island series
  • Indiana Jones series
  • Day of the Tentacle
  • Sam & Max
  • The Gobliiins series
  • King’s Quest series
  • Leisure Suit Larry series
  • Broken Sword series

OK, I have bored you enough. Now lets get to the point of posting this article. Recently I came across playing The Dig. Long story short, some villain showed me that game but never let me borrow :(. Suddenly i got it over torrent and tried to play. But most of you tried to play old dos based games already know, starting from windows xp you do not have the actual dos present in you OS anymore. Its a virtual environment for dos you see, not the real one which is required for these games to play. You will face many problems like, screen screwed up or sound card problem or controlling problem or game runs in super man speed ;-).

There there.. don’t be sad. There are much freakier people out there. Who actually think for freak like us and gave us a gift to overcome these problem. They are the knight in shining armor to save these games from the cruel hands of latest OS. Its the ScummVM. You can check their Compatibility list for your favorite game or check out the FAQ page for general info.

There is another link for your pleasure, where you will get all the latest news about your oldest games :P. The MOJO site. No, its not the cold drinks mojo or ppg (power puff girls) mojo jo jo :-). Don’t forget to visit bottom right links some game dedicated sites hosted by mixmojo. Also if you love to extract you fav game music or dialogs or BG, you will get those and some other tools from Quick n Easy Software link of mixmojo.

PS: i can’t recall now, will try to add later. But i have used another emulation tool for old dos programs. Can’t remember.. damn i m getting old, loosing memories… Wait, I do that all the time. Ooops, sorry. I m getting old …… NOT.