-
Stop Using the PHP Error Suppressor “@” and “or die”
Posted on August 28th, 2010 No commentsIt annoys me when I see tutorials for learning PHP with code like this: $fd = @ file ( "doesnotexist" ) ; and this: $md = mysql_connect ( "localhost" , "user" , "pass" ) or die ( "Could not connect!" ) ; It’s bad practice in the real programming world and shouldn’t happen. The at symbol (@) is used to silence any errors caused by calling a function as shown above, when proper error handling should be implemented. Similarly, the practice of using “or die” to error check needs to stop being taught.
Read the rest here:
Sphere: Related Content
Stop Using the PHP Error Suppressor “@” and “or die”
17, 5, Class, File, ICO, James, OS, PDO, Program, RDP, SQL, Top, Wordpress, ad, amp, art, asgrim, asgrim.com, at, catch, check, code, coding, csv, die, error, exceptions, fun, function, functions, handling, host, http, ice, image, images, in, include, ing, int, language, like, live, load, me, mysql, no, not, or, personal, php, press, programming, smile, stack, suppressor, symbol, to, tutorial, tutorials, ua, user, when, word, world, wp, www asgrim, catch, Class, csv, functions, hatred, image, language, php -
Recipe: Salmon Korma on Naan
Posted on August 26th, 2010 No commentsYeah OK so this isn’t an original recipe, it’s shamelessly lifted from my Jamie Oliver’s Ministry of Food book that my sister gave me a couple of years ago. I love this recipe and make it at least once a month though, and you can vary it by swapping out the korma paste with any sort of paste – tandoori, tikka massala etc. Ingredients Half a Cucumber Lemon juice Red chilli Yoghurt Coriander 2x Naan bread 2x Salmon fillets Salt & Pepper Korma paste (e.g
Read the original here:
Sphere: Related Content
Recipe: Salmon Korma on Naan
17, 5, ALA, Amazon, Dinner Recipies, IDE, James, Read, Top, ad, amp, asgrim, book, bread, code, coriander, cucumber, fine, food, half, http, ice, import, important, in, ing, ini, int, korma, less, live, me, naan, no, one, ping, place, recipe, salmon, sister, spoon, ssl, style, sw, table, tables, tandoori, tikkia, to, uk, warm, www, years, yoghurt book, cucumber, each-as-well, import, jamie-oliver, naan, ping, sister, ssl, tandoori, tikkia, www, years -
Recipe: My Ratatouille
Posted on July 11th, 2010 No commentsRatatouille is a great dish and full of vegetables which makes it cheap to do.
Link:
Sphere: Related Content
Recipe: My Ratatouille
17, 5, Dinner Recipies, James, OS, Read, Top, ad, amp, asgrim, baby, baby corn, base, broccoli, car, carrot, carrots, cherry, choice, courgette, garlic, get, http, ice, in, ing, int, light, live, me, media, no, not, onion, peppers, ratatouille, recipe, rest, simple, something, table, tables, test, time, to, tom, tomato, truth, write broccoli, carrot, cucumber, Dinner Recipies, each-as-well, makes-it-cheap, onion, rest, tandoori, tom -
Recipe: Chicken & Mushroom Pie
Posted on July 9th, 2010 No commentsI love pies, and they’re so easy to make, especially with pre-rolled pastry.
See the original post here:
Sphere: Related Content
Recipe: Chicken & Mushroom Pie
17, 5, Dinner Recipies, IDE, James, Top, ad, amp, art, asgrim, car, carrot, carrots, chicken, cool, cream, creamy, degree, double, get, half, high, http, ice, in, ing, int, light, live, me, mushroom, no, not, one, pie, pies, press, recipe, source, spoon, stock, table, tables, to, veg, vegetables creamy, degree, each-as-well, makes-it-cheap, mushroom, normally-enough, pie, pies, vegetables -
VMWare Server sucks!
Posted on July 8th, 2010 No commentsAt the office we use VMWare Server on a couple of different systems to run “appliance” based applications, the problem is every few months the Web interface suddenly screws up and all we get is 503 errors when attempting to login. I’ve searched high and low for the cause and solution to fix it, as far I can tell its occurs because the server randomly deletes or corrupts some important Tomcat related content. Then the only solution I’ve found to fixing this is completely uninstall VMWare Server, remove all the licenses, reboot the system and then re-install VMWare server.
See the article here:
Sphere: Related Content
VMWare Server sucks!
17, 5, Kelvin, Mac, Mod, Search, Uncategorized, amp, applications, base, change, click, error, face, fix, folder, get, hang, high, ice, import, important, in, ing, install, int, interface, key, login, me, modify, name, named, new, number, office, problem, refused, server, software, solution, sub, system, time, to, tom, type, valid, vmware, web, when amp, important, license, named, number, office, sub, time, tom, valid -
Recipe: Scallop Salad
Posted on June 23rd, 2010 No commentsI got this recipe off the UKTV website (and modified it slightly) and it is absolutely delicious on it’s own as a starter, or as a side to a nice lemon-marinated salmon fillet.
More here:
Sphere: Related Content
Recipe: Scallop Salad
17, 5, Dinner Recipies, IDE, James, Mod, Read, Top, ad, amp, art, asgrim, bread, butter, dish, dressing, fine, food, get, http, ice, in, ing, lettuce, light, recipe, salad, salmon, scallop, seafood, simple, site, to, uk, web, website 175ml-sunflower, 25g-butter, art, asgrim, bread, drain-on-plate, finely-diced, int, kelvin-at-work, minutes-on-each, private passwords, salad, the-dressing, wine-vinegar -
Recipe: Confit de Canard
Posted on June 17th, 2010 No commentsImage sourced from: roboppy on flickr under CC-by-nc-nd 2.0 license.

Go here to see the original:
Sphere: Related Content
Recipe: Confit de Canard
17, 5, Class, Dinner Recipies, IDE, James, OS, RDP, Wordpress, ad, amp, asgrim, asgrim.com, canard, car, carrot, carrots, confit, confit de canard, cool, degree, duck, get, http, ice, image, in, ing, ini, int, left, live, load, mash, me, parent, photos, potatoes, press, source, time, title, to, upload, word, wp, www car, carrot, confit, Dinner Recipies, duck, load, press, www -
Alton Towers Review 2010
Posted on June 14th, 2010 No commentsI’m doing absolutely everything I can to avoid the World Cup football. In doing so we ended up at Alton Towers (handily a 30 minute drive from Hannah’s mum’s) on Monday

See more here:
Sphere: Related Content
Alton Towers Review 2010
17, 5, ALA, Alton, Class, EU, IDE, James, OS, RDP, Top, Track, Wordpress, ad, air, amp, art, asgrim, asgrim.com, available, busy, car, cars, check, day, fact, first, form, forward, freyja, fun, get, hannah, http, ical, ice, image, in, ing, ini, int, key, lee, left, light, like, live, load, mash, me, name, named, new, no, not, one, parent, park, personal, ping, post, press, project, review, rides, share, smiling, something, sub, sw, table, theme, time, title, to, towers, trac, upload, vertical, warm, word, world, wp, www asgrim.com, cars, Class, ping, sub, table, tracking, vertical -
Moving to Linux – Finding Alternative Software
Posted on June 10th, 2010 No commentsI’ve been using Linux on servers for years, since before I started learning to code. Finally, after something like 7/8 years I am almost fully confident in severing the ties to my highly underused Windows installation on my personal laptop, but there are still a couple of exceptions
Go here to read the rest:
Sphere: Related Content
Moving to Linux – Finding Alternative Software
17, Adobe, Desktop, Eclipse, File, Google, IDE, James, OS, Photoshop, Read, Technology, The List, Top, ad, air, alternatives, amp, anyone, art, asgrim, box, cell, chrome, code, computer, contact, crash, day, default, disabled, editor, excel, face, family, finance, fine, get, google docs, growing, high, http, ice, import, important, in, ing, install, int, interface, issue, laptop, like, linux, list, live, me, message, messenger, microsoft, money, music, new, no, not, office, one, open, personal, photos, pidgin, rest, running, server, servers, simple, site, software, solution, something, studio, sw, switch, table, tech, test, thought, time, to, tools, truth, ua, ubuntu, user, version, video, videos, virtual, virtualbox, web, webcam, when, windows, windows live messenger, work, www, years code, File, import, linux, money, music, personal, Read, running, studio, videos, virtual, windows, years -
How to Reduce Amazon S3 Costs
Posted on May 9th, 2010 No commentsIf you're new to Amazon S3 or have been using it for months without much thought to how it works, then you might be paying unnecessary costs and having pages load slower than they need to because users browsers aren't caching data served from S3 appropriately. This article provides some very useful advice on how to increase page load times and reduce S3 costs by appropriately setting cache control headers for your S3 served content More here: How to Reduce Amazon S3 Costs No related posts.
Read more:
Sphere: Related Content
How to Reduce Amazon S3 Costs
5, Amazon, Chris, Google, IDE, OS, Reviews, ad, art, browser, click, code, control, cost, data, diese-eintr, double, eintr, eintrag, entries, explorer, facebook, firefox, get, google-sidewiki, header, http, ice, in, in-bearbeitung, informationen, ing, load, map, me, new, nfb, no, page, post, posts, seite, seitenbetreiber, setting, sidewiki, thought, time, title, to, ua, user, weitere-informationen, work, www advice-on-how, Chris, code, double, eintr, load, load-slower, map, Program, seite, served-content, useful-advice, user, work












































