Archive for category tech tips
Vector images in the iPhone SDK
I’m interested in using vector images for iPhone/iPad/iPod touch apps. As Apple keeps adding different screen sizes and form factors, scalable vector images would seem to be the way to go (rather than bitmaps that don’t scale well). With vector images, it wouldn’t matter what the resolution of the device’s screen was, the images would scale to whatever was needed. Here are some misc links and info related to vector graphics in the Apple iPhone SDK:
I reckon that it may be simpler to use a .PNG file(s) instead, but my feeling is that these file types would require too much storage space and be slow to load for the full-screen graphics that I contemplate. There may be a threshold where raster files may be simpler and quicker, but I am too new at this to understand where that might fall.
American Airlines killed our Kindle
Posted by J.D. in Ask J.D., Entertainment, Travel, Travel tips, Uncategorized, tech tips on February 21st, 2010
Alternative title: What to do if your Kindle breaks after warranty coverage has expired.
What happened: last night we found out our Amazon Kindle was dead. It had been killed by American Airlines.
What we’re doing: We are getting a replacement Kindle from Amazon (see below).
What we will do differently: We will be even more careful with carry-on items that may get “valet checked” when we’re boarding the plane. We will try to check all of our valuables before leaving the terminal (or at least within 24 hours).
The longer story, and how to get a replacement Kindle if yours breaks…
Roundup of ISAPI rewrite filters for IIS
http://www.jdhodges.com/photos/1002 and rewrite it to a url that a dynamic scripting engine (such as ASP) can understands like http://www.jdhodges.com/photos.asp?photoID=1002 This benefits users who now have a legible URL and especially search engines like Google which are much more likely to index a page which appears to be static than a dynamic looking URL string:
Reasons your site may not be included: Your pages are dynamically generated. We are able to index dynamically generated pages. However, because our web crawler can easily overwhelm and crash sites serving dynamic content, we limit the amount of dynamic pages we index.
Google information for webmaster [google.com]
Another use for URL rewriting is to deal with “hotlinks”. Bob pointed me to a site nice site discussing hotlinks which are bascially links from other websites directly to your content, used for display on their page. I’ve had people do this in forums where they like a photo of mine and instead of linking to the particular page it’s hosted on and sending folks my way, they link directly to the image and use my bandwidth for their gain
Here’s an example of someone doing that to me. It’s not a huge deal and thankfully I put the jdhodges.com URL on all of my images… Following the table is a new program called coldlink that is specifically targeted at preventing damage from hotlinks. First, here is another description of hotlinks:
…the practice of building web pages that contain unauthorized content links, known as a hotlink, direct link, or remote link to files hosted by another site. Notice that we said content links and not navigation links that lead to another site. Content links are file references that the browser fetches to draw the page such as images, style sheets, scripts or even complete web pages that are rendered within a frame. In other words, these are embedded content or embedded objects within an html page .
The result of hotlinking is that the offending site is able to present it’s pages without paying for the bandwidth needed to serve up the stolen content. The victim site ends up paying the bandwidth expense for serving up the files without gaining any page views.
Source: wordworx.com
IIS Rewrite is the granddady of rewrite filters and it is the first thorough implemenation that I came across. Now ISAPI_Rewrite appears to be taking the lead but they are still very comparable products. I would like to mention that I have corresponded personally with IIS Rewrite’s creator in the past and he was very helpful and responsive. I don’t have personal experience with ISAPI_Rewrite but many other users are atarted to praise the features it brings to the table.
Below is a table that I compiled attempting to compare the available products, I tried not to come to any incorrect conclusions but for some of the less well know rewriters out there you will want to do some more of your own research. If you don run across and errors or you have a new rewriter to add to the list please email me at jd_hodges_ii AT hotmail.com Finally, if you find this information useful and end up purchasing a filter, please let them know that you found out about them here. Thanks for reading!
| Single license Price | Demo available? | Support Virtual Servers? | mod_rewrite script compatibility? regular expressions? | Requires reboot for changes to take effect? | Automated install? | Support Forums? | Thorough documentation? | |
|---|---|---|---|---|---|---|---|---|
| IIS Rewrite | $99* | 200 manipulations, then must restart web server | Yes | Yes/Yes | Yes | No | No | Yes |
| ISAPI_Rewrite | $69 | 30 day* * | Yes | Yes/Yes | No | Yes | Yes | Yes |
| OpUrl | $45 | 14 day | No? | No?/Yes? | Yes | No | Yes | No |
| URL Replacer | Free | N/A | No? | No?Yes? | Yes | No | No | No |
| URL Rewrite | $22**** | No. | No? | No/No | Yes? | No | No | No |
| *limited time, $199 regular price. ** “Lite” version available as well for free. ***Only the “Lite” version supports automated install. **** 22 Euros ? means I’m not sure |
||||||||
ColdLink
I wasn’t aware of an IIS solution to the hotlinking problem, but Bob knew of one called ColdLink which claims to “puts hotlinks on ice” hehe, now that’s a nice slogan!
ColdLink Bandwidth Protection Software gives you instant relief when hotlinks from bandwidth bandits get you hot under the collar.
The ColdLink iis isapi filter or apache module transparently maps and rewrites protected urls dynamically in realtime within every page served from your site. Your site continues to work normally, even when the pages are linked from search engines or other sites. Users can even bookmark your pages for later return because the page will contain new valid links.
Source: coldlink.com
Update: For those wanting to check if their current anti-hotlinking measures are working, here is an online anti-hotlinking testing tool. Just enter the URL of a protected image, on their easy to use web form and hit “check now” Finally, here is an example of a hotlink protected image
now go to the original source page of that image to view it in its original context(you may have to refresh your browser.) Pretty nifty huh?! I’m not sure what software they’re using but it works well ![]()
IIS Rewrite
What I’ve been using on my site for the past year, it has easily supported over a million rewrites without giving me an problems.
IISRewrite is a rule-based rewriting engine that allows a webmaster to manipulate URLs on the fly in IIS.
URLs are rewritten before IIS has handed over the request to be processed, so requests for HTML files, graphics, program files, and even entire directory structures can be rewritten before they are passed to ASP scripts for processing.
[. . . ]
IISRewrite is a stripped down implementation of Apache’s mod_rewrite modules for IIS. Webmasters who have used Apache’s mod_rewrite in the past will find that much of the configuration and functionality is the same.
OpUrl
ISAPI URL Rewrite
An ISAPI filter that provides powerful, integrated URL re-writing for IIS. OpUrl has many benefits, including helping to ensure search engines crawl even the dynamic parts of your site. Most search engine crawlers don’t index dynamic pages, e.g. page.asp?item=1 so OpUrl allows you to use static URLs instead. The functionality is very similar to Apache’s mod_rewrite
ISAPI Rewrite
ISAPI_Rewrite is a powerful URL manipulation engine based on regular expressions. It acts mostly like Apache’s mod_Rewrite, but is designed specifically for Microsoft’s Internet Information Server (IIS). ISAPI_Rewrite is an ISAPI filter written in pure C/C++ so it is extremely fast. ISAPI_Rewrite gives you the freedom to go beyond the standard URL schemes and develop your own scheme.
Here is what Joshua thought about ISAPI_Rewrite:
I’ve tried ISAPI_ReWrite (www.isapirewrite.com) and I like it. It seems comparable to IISReWrite, but here are some features I really like:
1. It’s free in it’s most basic form (one set of rules for every domain on the box). You have to buy it to set up rules for virtual domains, but it’s cheap.
2. The help documentation is really complete in regards to explaining the RegEx rules. I actually use the documentation as my daily RegEx reference.
3. Their support forums are decent. I got a couple answers within 24 hours.
4. * When you edit the config file, the changes are immediate * That means no having to restart anything when a rule changes. I know that IIS ReWrite requires a reboot of IIS every time you make a rule set change. The reason I like not having to restart anything is because I plan on making an online application to create rules on the fly.
Over on Web Master World forums another user also had good things to say about ISAPI_Rewrite.
ISAPI_Rewrite would be my suggestion. We’ve tested both IIS Rewrite and ISAPI. The ISAPI_Rewrite product outperforms the others due to its ease of configuration and a bunch of other little extras that come in handy. One of the biggest benefits we’ve found with ISAPI_Rewrite is that you don’t have to restart IIS each time you make a change to the .ini file
The ISAPI_Rewrite featureset sounds complete, and the documentation is thorough but not moreso than IIS_Rewrite.
URL Replacer
A new freeware rewriter that I just found out about, I don’t have any experience with it but if you’re looking for something to try on the cheap it might be your ticket.
The ISAPI filter replaces defined parts of URL from browser. It enables url to scripts (.asp, .cgi, .idc) with parameters look like static html pages or specify exact download filename generated by script.
Update 2006.March.28
LinkFreeze Description from the Helicon Tech website:
LinkFreeze is a fast and easy solution to optimize dynamic or database-driven website for search engines. It optimizes all dynamic links on your site removing all unwanted characters and making links look like static files. […] the main benefit of LinkFreeze is that you don’t need to change anything in your application to make it search engines friendly. LinkFreeze will modify all links directly before the server will send response to the client. So everybody – users, search engine crawlers or other robots will see the same nice statically looking links. And when somebody will navigate to this link LinkFreeze will intercept this request on the server and rewrite URL back to the dynamic form, so your applications will still thinking it is working with old dynamic links.
HotLink Blocker Description from the Helicon Tech website:
Hotlink Blocker is an IIS plug-in that will protect your web site from bad people stealing your traffic by directly linking to the content on your server. If you have an image collection, video or document archives, Flash games or any other downloadable content HotlinkBlocker is a right product for you. After installing HotlinkBlocker your site will continue working as before, all search engines and backward links will still be valid, all user’s favorites will remain working. But if someone tries to embed your stuff directly on their site, they will only see an error message or your site’s logo. You can save tons of traffic and thus the money. You can even turn these hotlinks into real visitors by redirecting hotlink request to your site’s homepage.
Updated 2003.Dec.05 with anti-hotlinking testing tool
Does Windows 7 load balance multiple internet connections? [yes, probably]
Question. Does Windows 7 load balance multiple internet connections? And what exactly is load balancing anyway?
Answer. Yes, Windows 7 appears to load balance!
Annoyances.org – re: Multiple Internet Connections (Windows 7 Discussion Forum)
Annoyances.org – re: Multiple Internet Connections (Windows 7 Discussion Forum) pg. 2
Windows 7 Break through. Excited!! Load Balancing Works! – Overclock.net – Overclocking.net
NOTE: I haven’t found any official MS documentation on this topic, but from reports on the web it does seem to work…
Load balancing distributes downloads (or uploads) over different internet connections.
Example:
You have two internet connections, one DSL (150kbs actual download) and one cable modem (500kbs actual download). #1 You start a large file download, and Windows 7 assigns the download to your cable modem. #2 Then you start streaming a Netflix movie, Windows 7 assigns the streaming movie to your DSL connection.
If anybody has more specific information on how Windows 7 determines the load balancing (i.e. randomly, or via specific parameters) please post in the comments below, thanks!
PS if you would like to force Windows to use a specific network connection for a particular application, you can: ForceBindIP – Bind any Windows application to a specific interface (works on Windows NT/2000/XP/2003, I’m not sure about Windows Vista or Windows 7)
PSS Bonus link, How to Turn your Windows 7 Netbook into a Wireless adapter for your Xbox 360
WGR614v9 default username and password? [solved]
Question
What is the password and username for the Netgear WGR614v9 router?
Answer
user name: admin
password: password
What does a firewall do? ANSWER
Posted by J.D. in Ask J.D., computer tips, tech tips on December 7th, 2009
Question. Thank you for the help…my firewall is enabled. Does this keep hackers from seeing what I’m doing with online banking, etc? (Just curious) What exactly does a firewally do?
Answer. Here is a simplified explanation of firewalls as they relate to your personal computer:
A firewall’s main purpose is to provide a barrier between the internet and your computer. Specifically, a firewall is supposed to only allow approved applications to transmit and receive data from your computer to the internet and vice versa.
This helps to prevent external attacks (an attack from the internet, targeted at your computer) as well as internal exploits (malicious software [spyware/virus etc.]on your computer trying to transmit data out to the internet).
The firewall’s job is to deny any unauthorized connections, and allow authorized connections.
There is certainly a correlation between firewalls and protected online banking, but really the primary protection for online banking is a secure encrypted connection (SSL) between your web browser and the bank’s server. Since the data is encrypted, even if the data is intercepted midstream (somewhere between your computer and the bank’s server) it should be safe because the data is encrypted.
In your case you are using both the Windows Firewall and your router has firewall capabilities as well.
I hope this helps!
-JD
PS here are a couple links with more info:
http://www.vicomsoft.com/knowledge/reference/firewalls1.html#2
http://en.wikipedia.org/wiki/Personal_firewall
Unknown device / how to get MP4 player working [solved]
Question. Hello, I bought a pink MP4 player (iPod nano clone) from a China or Hong Kong seller. The player works but I can’t connect it to my PC or Mac, when I connect it I get a “this USB device has malfunctioned” or “unknown device” in device manager. Please help me so I can load music onto the player!
Answer. You may want to try a different USB cable, sometimes the ones that ship out with the player are broken. If you have a spare iPod cable (and it fits your player) then you may want to give it a try.
Followup: [SOLVED] Thanks so much, that worked perfectly! All I had to do was connect it with a different cable. Now the MP4 player shows up as a USB drive and i can load my MP3 music on there, THANX!!!
Keyword suggestion and tracking tools
Question:
What are some good sites for tracking search engine keyword ranking and for suggesting keywords?
Answer:
Here is a list of keyword suggestion sites and keyword tracker tools, most of them are compiled from a digital point forum thread.
- WordTracker – http://wordtracker.com/
- Digital Point – http://www.digitalpoint.com/tools/keywords/
- NicheBot – http://nichebot.com/
- NicheBot Classic – http://www.nichebotclassic.com/
- NicheBot Ranking – http://www.nichebot.com/ranking/
- Vurr – http://vurr.com/
- Google Adwords – https://adwords.google.com/select/KeywordToolExternal
- Yahoo Overture – http://inventory.overture.com/d/searchinventory/suggestion/
- Good Keywords – http://goodkeywords.com/
- Keyword Count - http://www.keywordcount.com/index.php/welcome
- Keyword Density – http://keyworddensity.com/
- Keyword Discovery – http://www.keyworddiscovery.com/
- SEO Book – http://tools.seobook.com/general/keyword/
- http://tools.seobook.com/keyword-tools/seobook/
- http://tools.seobook.com/general/keyword-information/
- Google Trends – http://www.google.com/trends
- Web CEO (Software) – http://www.webceo.com/download/
- Free Webmaster Tools – http://www.iwebtool.com/tools/
- SEMRush – http://www.semrush.com/






Recent Comments