Archive for category Work

Development tips and links for iPhone apps

Description: This is a an entry where I keep a list of misc development tips for iPhone app development.

SDK

XCode can’t find base SDK – Stack Overflow http://stackoverflow.com/questions/3034912/xcode-cant-find-base-sdkIf you can’t choose the SDK at the top left of x-code you have to first set the base SDK in the the project settings. Project -> Edit Project Settings. Then choose the “General” tab. At the bottom you can choose “Base SDK for all Configurations:”

Buttons

Improved Gradient Buttons

Improved Gradient Buttons http://www.iphone4gapp.net/improved-gradient-buttons.htmlThere are five built-in styles which can be seen in the image above, or you can manually set the gradient to any value you’d like. You can download the source codes from HERE (code.google.com)



Button creator (ZIP download)

Creating Screenshots

iPhone-Simulator Cropper (Curious Times)

iPhone-Simulator Cropper (Curious Times) http://www.curioustimes.de/iphonesimulatorcropper/I hacked this tool to take screenshots of my Apps running in the iPhone-Simulator. Before that, i took a screenshot (cmd+shift+4) and cropped the application screen with the help…

Useful classes and code in general

Presenting, Appirater - Arash Payan | Blog

Presenting, Appirater – Arash Payan | Blog http://arashpayan.com/blog/index.php/2009/09/07/presenting-appirater/Like most developers, I’m not thrilled with the way the App Store presents my apps. There are several problems, but in particular, I really don’t like the user review…


Fonts

Convert Mac OSX dfont files to ttf (TrueType)!

DfontSplitter « Peter Upfold

DfontSplitter « Peter Upfold http://peter.upfold.org.uk/projects/dfontsplitterDfontSplitter for Windows and Mac are open source programs which allow you to take Mac-formatted .dfont font files and convert them into TrueType TTF fonts, which Windows and…
Where does Mac OS X store fonts?

Where does Mac OS X store fonts? http://knowledgebase.insidersoftware.com/entry/41/Mac OS X stores fonts in several different places, which can make dealing with fonts a bewildering experience. Here are some of the locations…

, , ,

No Comments

Work links: slider selects and fuzzy queries

I’m working on a new project, here are some links that have been helpful to me…

Overview of slider techniques:

Javascript/Ajax Techniques for Sliders - Noupe

Javascript/Ajax Techniques for Sliders – Noupe http://www.noupe.com/javascript/30-javascriptajax-techniques-for-sliders-scrollers-and-scrollbars.htmlIn this article we’d like to present a list of hand-picked Slider techniques you can use to achieve some special visual effects in your designs…

Specific slider examples:

jQuery UI Slider from a Select Element – now with ARIA Support http://www.filamentgroup.com/lab/update_jquery_ui_slider_from_a_select_element_now_with_aria_support// selectToUISlider plugin uses progressive enhancement to scrape the data from a select element (or two for a range) and generate a jQuery UI Slider in its place, acting as a proxy to the select element (regardless of whether it is still visible, or hidden from the user). This means you can use the jQuery Slider plugin alongside other input elements in a form and submit or serialize the form as if the slider is not even there. It also allows the user to interact and make a choice with or without javascript, since the select element can be used if the slider is unavailable.

Slider Using PHP, Ajax And Javascript http://roshanbh.com.np/2008/01/slider-using-php-ajax-and-javascript.html Have you been searching for the slider script and implementing it in Ajax with PHP then you are in the right place buddy.Here is the post for you in which I’ve implemented… [link to slider demo]

MooTools Demos: Slider http://demos.mootools.net/Slider This is a nice User-Interface-Element to not just let the user set a value by typing into an input field but limiting the range without further needs to check the user input (on clientside). With callbacks you can manipulate anything after changing the value.

Fuzzy queries:

Adaptive weighted multi-criteria fuzzy query processing for web based real estate applications http://portal.acm.org/citation.cfm?id=1363916This paper contains an e-commerce application on real estate business. The real estate business’’s momentum reasons because of two main reasons: First, gradually increasing number of online customers gets involved and second, investments from real estate industry. We employ an adaptive weighted multi-criteria fuzziness for the real estate web site for e-commerce. This study’’s first goal is to present the best service to all of the users of real estate web portals on the internet. There will be medium for real estate companies, individual realtors, proprietary property sellers, and customers. We are interested in a web-based real estate application, which also utilizes user specified subjective both fuzzy and hard search criteria on preference. It ranks all results to buyer’’s satisfaction.

, , , ,

No Comments

Favorite homebrew computers: 1997-2010

Some people enjoy building hot rods, or building model airplanes. I enjoy building computers.

The first PC I built was in 1997, I was a sophomore in HS. I can still remember researching all the parts, using a computer in the HS science classroom (I didn’t have internet at home at that time). Tom’s Hardware and Anandtech were my primary sources of motherboard and CPU reviews.  Those two sites helped me immensely in choosing the best components for my “first build”.

Since that time I’ve built around 35-40 computers. Some for friends, some for family, a lot for clients and a lot for myself (for business use and personal use). Some of the machines are rather forgettable, but there are others I’ll always remember :-) .

So, here are some of my favorites spanning from 1997 to 2010:

Read the rest of this entry »

, , , , ,

7 Comments

Alternatives to Drywall

We’re planning on turning my office into the baby’s room. That means a couple things: #1 I need to find a new place to work, and #2 we need to redo the room to be more appropriate for a baby.

Samantha already has a plan for #2, we’re putting in new carpeting and we’re going to paint the existing wood paneling.

My new office is still up in the air. We have some spaces that we could convert, but all of them will require some work.  Since we don’t like (installing) drywall much, I’ve been looking at some alternatives.  Just to  see what’s out there. Here are a few misc links…

Read the rest of this entry »

, , ,

No Comments

R.I.P. Sun Microsystems

You will be missed, but not forgotten.

Sun is no more. They completed their merger with Oracle.

I have fond memories of Sun. They were always trying something different. Sometimes with great success, other times with failure, and often with something in between.

When I was in college (1999-2003) studying CS and CIS, I liked Sun because they were pioneering with Java. Which at the time seemed to hold great promise as a “write once, run anywhere” language that might just take over the world. It didn’t quite take over the world, but it made an impact.

When I was in law school (2003-2006) I liked Sun because they were making some awesome Opteron x86 rackmount servers. I had some of those servers* (purchased used) in a datacenter in downtown Tulsa. What was particularly cool was that on my way to the datacenter I would walk past a Sun office suite in the same building. I always thought Sun was cool and I liked being in such close proximity to one of their offices.

*We still use a SunFire V20Z at Weblogs.us today. In my opinion, Sun made some of the finest server hardware ever made. Better than HP, better than Dell.

After law school and passing the bar exam (2006 and beyond), I liked Sun because they were pioneering the multi-core,  low power draw CPU. Specifically the UltraSPARC T2 a.k.a coolthreads. This was an exciting CPU after the bad taste left by Intel’s high GHz, high power draw, low performance P4 series. Sun was also pushing a file system, ZFS, that was capable of some very impressive things.

In their later years, Sun was a company that was very accessible. Via their employee blogs, via their attitude, and via their push for open source. Getting to read their developer blogs and learn cool tips and tricks, as well as insights into what was happening inside the company. This was a very nice change from companies like Apple where we get spoon fed info by Steve and company at sporadic  “events”. Same deal with MS where we get big glitzy shows that don’t really do much for the end user. I can’t tell you how nice it was to have a company that seemed to really be trying to be open and responsive to their customers.

Of course there are criticisms that can be leveled at Sun. Mistakes that can be pointed out… but in the end I like to think of their wins and not their losses.

Thanks for all the great memories Sun, I’ll always remember the good times…

:-)

, , ,

No Comments

Work update from paradise

I may be in Hawaii, I’m still doing as much or more work as usual. It’s just a lot warmer here ;-) .

Today I’ve been working on some simple improvements for NetRender (NR), it’s a site that sells hi-res textures. John is my partner on the site and we try to improve the site anytime we can.

NetRender Logo

Here’s what I’ve been up to:
+backed up everything (as part of our periodic backup schedule)

+removed the credit card logos from the sidebar of texture sample pages:
http://www.netrender.com/texture-maps/trees/trees-vol-1/trees-texture-pack-i-sample-3/
(previously the credit card icons would get overlayed onto textures when the textures were really big. It looked pretty yucky, and really we only need the credit card icons on the product/ordering pages)

+removed the “subpage” listing on the shopping cart:
http://www.netrender.com/cart/
(this was over at the side and used to list “transaction results” and “checkout” etc. but those links weren’t really supposed to be clicked… I think this will be less confusing for people)

+revised the text at the top of sample pages
http://www.netrender.com/texture-maps/trees/trees-vol-1/trees-texture-pack-i-sample-1/
I think it’s more straightforward and lets people know that the image is only one of many, and that they can buy the image…

+removed the “attachment” text, pages like http://www.netrender.com/texture-maps/trees/trees-vol-1/trees-texture-pack-i-sample-1/
used to say:
NetRenderTrees Vol 1 > Attachment: Tree from NetRender
but now it says:
NetRenderTrees Vol 1 > Tree from NetRender

+Added some new administrative features.

+Implemented keyword tracking and storing (this stores the keywords that people are searching for to find out pages)

-I’d like to finally get coupon (discount) codes enabled soon. (it is just a tricky thing to implement with our site…)

-I need to improve (and enlarge) some of out texture samples


-We’re also planning either a new free texture site, or a NetRender free texture section.

Non-work update

Hawaii is spectacular! This is the first day I’m staying in and not walking/biking around the Island, however, I did do my P90X ab-ripper workout and Samantha did her 30 day shred workout.

I though I might get bored in Hawaii, but I was wrong :-) .

, , ,

No Comments