- July 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- June 2013
- October 2012
- September 2012
- July 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
Recently i started a new job where i have to learn to develop iPhone apps, which is pretty cool and interesting, better than android too. But just recently we’ve updated to xcode 4.2, and here lies a few problems, i was part way through a project when we upgraded and then it would no longer deploy to my first gen ipod touch, or the work iPhone 3G we had for testing. Fortunately this was fairly simple to fix, in the build settings near the top there are options for architectures. in the top main one it probably says armv7 ‘$(ARCHS_STANDARD_32_BIT)’ and we want support for armv6 for ipod 1st gen and iPhone3G, click it and select other, now add with the + symbol and type ‘armv6’ without the quotes and click done, it should hopefully say amrv6 ‘$(ARCHS_STANDARD_32_BIT)’ now for all the sub options too, great. Build Active Achitectures Only should be set to No apparrently, and Valid Archetectures should read armv6 armv7.
That should be it for a project started pre xcode 4.2, though its posible that the Compiler for C/C++/Objective-C needs to be set to the other option, which might in turn cause more errors, see how it goes, unless you started the project in 4.2, in which case continue reading in the vain hope something might work.
I thought this was fixed, however the new project that i started in xcode 4.2 still didn’t deploy to my 1st gen ipod, now to fix it i had to change the projectname-info.plist to armv6 only, its an array, item 0 armv6, delete the armv7, others have had success with both in, i had to remove 7. Still not fixed yet, there’s more.
Also ios pre 4 doesn’t recognise a line in the – (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions function of the appdelegate.m file
comment the following line out and add the line underneath, its doing a similar thing but in a way ios 3.1.3 understands
//self.window.rootViewController = self.viewController;
That should work, but it likely will no longer work for ios 5, urgh, i’ve fixed this by using the conditional checks.
float version = [[[UIDevice currentDevice] systemVersion] floatValue];
if (version >= 4.0)
self.window.rootViewController = self.viewController;
This time C/C++/Objective-C had to be set to AppleLLVM Compiler 3.0 for me. Hope this may of helped, if you have any other additions please comment to help others, thanks
This is just a quick post on how some folks have made their microsoft 5000 mouse pair with their macbooks again after updates 10.6.6 -8 or at all, i just bought one and where it worked on the bootcamp windows partition straight off, it gave a pairing error on the mac. The answer is to reset the smc on a macbook, see http://support.apple.com/kb/HT3964 for details but basically for a mbp at least, when the computer is off, but still plugged into the mains, press left shift + control + option and the power button simultaneously, and let go simultaneously then turn on the computer, i didn’t see anything happen, though i wasn’t looking at the light on the magsafe, but it did pair after the reboot, when adding the device again, not automatically. So some of you who already had it paired after an update may need to remove it in the bluetooth settings first, maybe not, i can’t comment on that, its just ideas bouncing around. For macbooks where you can take the battery out apparently you do exatly that, hold the power for five seconds then put the battery back in etc. None portables are just leave unplugged for 15 seconds. Its all in the link above anyway.
So it was bout a month ago when suddenly the validator at http://validator.w3.org/ decided that it was going to be picky about the values in the “rel” attribute. Although i fixed this for grigorig back then i didn’t have time to write a post at the time, what with exams happening etc, but with the latest update to WordPress overwriting some files i decided to make sure i catalog the events and tell you, our 2 or 3 readers where to edit what files. Incidentally as i type this i’m making my way through a bowl of vanilla ice cream with a broken up crunchy bar mixed in, delicious. for best results on the crumbling a crunchy bar just twist it inside the packaging from the end and let it fall in the ice cream.
Anyhoo, the html 5 wordpress fixes. You will need an ftp client like filezilla and a text editor that has the option to save files without the BOM (byte order mark). So if you are on windows i suggest notepad++ from http://notepad-plus-plus.org/ and read up on the post about bom from an earlier post here.
Non windows should be OK, i’m using coda on the mac which does the job of ftp and text editing
First in the root of the WordPress installation go to wp-includes directory and find the file category-template.php and around line 163 you should see ‘rel=”category tag”‘ : ‘rel=”category”‘
delete just the word category, you can leave tag, and leave the other one blank, this should reduce the majority of errors.
The final few are in default-filters.php which is also in the wp-includes directory
Johan writes in the comments that the correct way to do the things i outline below is to remove them with some code in the themes functions.php instead of the core files, like the default-filters.php, it is at this point i should point out that i’m no expert, just a student about to graduate and be unemployed, so more of a bumbling baffoon if you will, anyway Johan writes “Editing WP core is NOT the way to do this as any changes will be reverted at the next update. Instead, use your theme’s functions.php
remove_action(‘wp_head’, ‘adjacent_posts_rel_link_wp_head’, 10, 0);
remove_action(‘wp_head’, ‘start_post_rel_link’, 10, 0 );
it means this: remove_action( $tag, $function_to_add, $priority, $accepted_args );
$tag being the hook, some of the functions to remove might not need the last argument, see hollywoodgrind’s post here http://wordpress.org/support/topic/remove-feed-from-wp_head
Edit some of the add_action function calls by commenting them out, specifically those with rel link in them, the majority are under //actions at line 200
i’ve removed rsd_link, index_rel_link, parent_post_rel_link, start_post_rel_link, rel_canonical and wp_shortlink_wp_head. At one point i also had wlwmanifest_link commented out but have since left it active until i find where i thought it was invalid.
The rest of the fixes i’ve found were in the theme, i’m using the twenty-ten theme which came as default with WordPress when i installed
One last thing, some new and older posts may have rel=”attachment” still in the html of the post, usually in the src tag when inserting images, remove this from the html of the post from the editor.
That was all i found at the time, which seems to cover the main page, the single pages, archives, about page etc.
There’s a chance that some of you may have plugins installed that give errors, i’m afraid you’ll have to look elsewhere for fixes on that as i don’t have any problematic ones to give advice on. Sorry
The errors pertaining to this post are:
Bad value attachment wp-att-1509 for attribute rel on element a: Keyword attachment is not registered.
Bad value EditURI for attribute rel on element link: Keyword edituri is not registered.
…plication/rsd+xml” title=”RSD” href=”http://www.grigorig.com/xmlrpc.php?rsd” />
Bad value wlwmanifest for attribute rel on element link: Keyword wlwmanifest is not registered.
…wlwmanifest+xml” href=”http://www.grigorig.com/wp-includes/wlwmanifest.xml” />
Bad value index for attribute rel on element link: Keyword index is not registered.
Bad value canonical for attribute rel on element link: Keyword canonical is not registered.
//these next 2 are in the single page
Bad value start for attribute rel on element link: Keyword start is not registered.
…rel=’start’ title=’Hello world!’ href=’http://www.grigorig.com/hello-world/’ />
Bad value shortlink for attribute rel on element link: Keyword shortlink is not registered.
the rest are theme specific
gallary found in attachment.php line 18 ish
Bad value gallary for attribute rel on element a: Keyword gallary is not registered.
…mbat – The Review” rel=”gallary”>Mo
Reckon you might find yourself in Swindon, UK on Friday night? What, wait – you do? UGH! You disgusting heinous filth! What kind of degenerate pervert would even go to Swindon, let alone admit it online?
Well, I’ll tell ya who! We would – for a night of retro programming wonderment!
Because as part of the ‘Museums at Night’ events, the Museum of Computing in Swindon is holding a ‘Bedroom Programming Challenge’ on Saturday 14th May from 20:00 until midnight.
What’s the Museum of Computing you say? Why, only a supergeek Mecca with 3,000 precious relics of the bygone gaming age!
And this weekend, the museum will be going back to the 1980’s when machines such as the Sinclair Spectrum and the Commodore 64 were deadly rivals. This was a time when anybody with a talent for programming could write cool games in their bedroom and become a millionaire. Although not promising that, visitors will be be able to write their own computer game which will be entered into an online competition. No programming experience is needed as the museums resident experts will guide people through the entire process. The museum welcomes individual or team entries, but places are limited.
Museum curator Simon Webb commented ” it promises to be a fun evening, we hope to show people how far games programming has progressed and let them try it themselves. It going to be an evening to release your inner geek!”
As well as trying their hand at programming, visitors will be able to seek inspiration by playing on some of the vintage computers and games consoles on display including a Commodore 64, BBC micro, Sinclair Spectrum, Nintendo Entertainment System, Sega Megadrive and many more.
Age range: 8 to 80
Dress code : Pyjamas please but other nerdy evening wear is acceptable.
Admission: £6 per person which will include the staple diet of programmers everywhere, pizza and cola.
Booking is essential, anybody wishing to reserve places should email firstname.lastname@example.org
2011 has taught us one thing so far: don’t get complacent or you’ll get bitten on the ass.
Those pootling along with dreams of nuclear safety awoke to nightmares in Fukushima. The early believers in a peaceful Arab Spring had their faith scorched in the Libyan desert. The hopeful, that saw redemption for humankind in Simon Cowell’s reported near-heart attack finally getting him off the telly, now have Michael McIntyre for two solid hours. Every week. In HD. FOREVER.
Let your guard down, people, and in rush the forces of evil.
And so it is when sodding games developers give us nothing to carp on about for a whole weekend. Lartens slips into a keyboard fantasy, Dibbs’ brain finally melts under the crushing betrayal of once great devs, and me? Well, I… I… All I can say is “Nyan cat. Meow, meow, meow…”
And if that’s not enough to twist the heinous arm of heartless games developers into giving us some goddamn content, I don’t know what is. Well, actually I do. Because there’s an hour long version of this beast on YouTube.
You have been warned.
Yeah folks it was genius, i searched google haha. The problem with the macbook pro is that f keys run out at 12, and print screen is something like 13 on regular keyboards. So where is the magic to make this happen? embarresingly my first stop was a forum where everybody said option f4, which equates to alt f4, which closes the active window in the Microsoft operating environment. So anyway i backed out, dissapointed a full page thread didn’t have the answer and there she was, apple support, worth a try i thought. BOOM! mac daddy ahoy hoy, it’s the freeeeaakin’ answer. fn shift f11. Simples :D. Now i don’t have to switch computers just to get printscreen, and before you ask, no i can’t use the snipping tool, i wanted to show pop up menus for a guide in the appendix of the project documentation. The apple support page is http://support.apple.com/kb/HT1220. Oh and to copy the current window to clipboard, i believe that is fn shift alt f11.
Now, if only there was a way the pause button will pause itunes when its not the active window……
We love Limbo. You love Limbo. Mega64 loves Limbo.
Of course, to show their love, they’ve gone live action in a convenience store. The results are simply awes – very impressive spider legs! – so get watching people!
Love ya x
This afternoon, I felt the final nail slip noiselessly into the coffin of ye olde world of video games. And what bastion of the old order was filling today’s tomb?
The casual video games trader.
Back in the day when Megadrive ruled supreme, and even the humble Game Boy was a ten year old’s wet dream, every man and his dog was trying his hand at video games trading. This was before the days of dedicated game stores, and the generalist dungeons of Dixons and Virgin didn’t do scummy second hand. But in their place were legion fanboys, and closet entrepreneurs with vaguely related shops, who spotted a gap in the market and set aside a dusty shelf to display their eclectic wares. Five copies of Tetris and a NES being pretty standard fare. These were video rental stores mostly, but you’d always find a goer at the market and then a few randoms like, bizarrely, our local speciality camera shop. Man, they all had a piece of the action.
The video games market was small in the 90s, so the re-sale market was niche – meaning low demand, but even lower supply. And what’s more – no eBay to let anyone compare prices. And those cheeky casual traders spotted the opportunity to rip-off the punters quicker than Ryanair in a heatwave.
But the thing was, they were almost universally crap at it. They had their little catalogues of prices – but badger them long enough and you could always get a deal. (The griggers will remember getting a Megadrive in return for some shiznit game and a bunch of Master System control manuals. I mean, WTF?! that’s freakin GENIUS right there!) Trading in a game was a gamble – sometimes you’d trade massively up, other times you’d barely get enough dollars from a SNES to buy a pizza. But man, it was a beautiful time.
Today, Gamestation wanted to charge me fifteen squidders to swap Assassins 3 for Dead Space 2. Two pre-owned beauts that they’re selling for exactly the same number of dibloons. (£25) So why the margin? Are they roughly in the same demand? Yep. Same condition? Yep. But you want £15 anyway? Yep.
Simple answer – because they can.
OK sure, they need to make the moolah, and it’s their choice if they’ve got enough Assassins so don’t really want to trade. But would they deal? Even just a little bit?! Nope. They just sent out some punk kid who trotted the corporate line. What about a straight swap? Nope. For a fiver? Nope. What if I chuck in some Master System game manuals. Nope. (What’s a Master System?!)
Where’s the fun Gamestation?! Where’s the humanity?!
Truth is, I expected nothing more. High street trades are 100% rip-off and they don’t care who knows it. The market is mass volume now, so they’ll churn enough suckers, even at insult prices, to make it worthwhile. But I just had a glimmer of hope that, with a decent offer on the table, there was still a chance to trade it up old school.
I guess that time has passed.
OK, you’re a mad scientist, buy you still have a choice: Create a bio-mass fuel cell that allows robots to chuck us in a blender and power their ascent to global dominance by munching on our poor innocent bodies in an horrific realisation of all our worst sci-fi fears.
Or, y’know, don’t?!
Wait, what’s that? You already have? Why, you crazy sonofa…! What do you mean it’s ok because it’s only a clock that feeds on flies and therefore not a substantive threat to humankind?! THIS IS HOW IT STARTS PEOPLE!
Because yes, all your Neo-in-a-bathtub fears about being used as the slave-like double-A’s for a cyborg ascendancy took a step closer with the creation of this temporal nasty. All it takes is the evolution of an organically-aware cyber-conscious and bam! Those flies on the conveyor belt will be replaced by babies before you can say Matrix.
However, all that aside, this is pretty goddamn cool. Hehehe – see you in the tub, battery-fans…