среда, 10 марта 2010 г.

Поиск шрифта по начертанию

When working freelance, some of the time when you are working on a client’s website or print material you are being given some sort of branding guidelines to adhere to. Some of the time these branding guidelines exist somewhere in a drawer in someone’s desk, but no one knows where. This is even worse when you have to do some maintenance on a client’s website and have to use an existing font, but do not have access to it or the client doesn’t know who supplied the original.

As a designer, it is your job however to make sure you are using the right font, or the closest font possible if that fails. Here are three great websites to help you on your search…

1. WhatTheFont!


WhatTheFont! - Whatwasithinking.co.uk

Probably one of my favourite bookmarks when trying to find a font: WhatTheFont enables you to upload an image either from your desktop or from a website that is made up of the font. Once you uploaded the image the web application will try to associate letters (or you can enter these manually) and find the closest matches.

Tip: Make sure the image you upload has a decent size / resolution, and – if possible – use a very good contrast (i.e. dark text on a light non-gradient background).

2. Identifont


Identifont - Whatwasithinking.co.uk

Identifont is an old-school font-identification website, enabling you to find a relevant font based on its shapes and characteristics, based on a number of questions about the font in front of you. Identifont’s font-database is pretty good, so you should be able to find your required font easily.

Tip: This approach takes time and may be somewhat inaccurate depending on your answers. I would recommend using this site if you have no digital version of the font available.

3. Type Navigator


Type Navigator - Whatwasithinking.co.uk

Type Navigator is a more visual font search tool, similar in the style of Identifont. Here you are being presented with a series of images (from serifs to weight or contour), giving you the option to find the most relevant images to your font. Once you press “Search” you are being presented with the fonts matching the closest to your selected requirements, and even gives you the option to change the sample text to whatever you want, together with download / purchase options.

Tip: The good thing about this site is that it is more visual than Identifont, making it a very good choice when looking for a font when you don’t know a lot about typography, and the great number of results and close matches ensure you get the font you are after.

Взято отсюда

суббота, 6 марта 2010 г.

Патенты онлайн (в свободном доступе)

http://www.freepatentsonline.com

Ключевая статья по корреляционным методам
Fault isolation and event correlation for integrated fault management
Source Proceedings of the fifth IFIP/IEEE international symposium on Integrated network management V : integrated management in a virtual world: integrated management in a virtual world table of contents
San Diego, California, United States
Pages: 583 - 596
Year of Publication: 1997
ISBN:0-412-80960-5
Authors S. Kätker, M. Paterok

PatentDocs

вторник, 2 марта 2010 г.

Переключение User Agent в браузерах

Иногда к этому приходится прибегать.

понедельник, 1 марта 2010 г.

Работа с CSV в Питоне

Python has useful module named csv to deal with csv files. But recently I faced a problem reading csv files and want to share with you how I get rid of the problem. I wanted to get the data of the first column of my csv file. I tried the following code:

import csv

portfolio = csv.reader(open("portfolio.csv", "rb"))
names = []
for data in portfolio:
    names.append(data[0])
print names

but the output was an empty list ([]) :-(

Then I found the type of portfolio object using print type(portfolio) that the type is '_csv.reader', then I changed my program to the following and got the list :-)

import csv

portfolio = csv.reader(open("portfolio.csv", "rb"))
portfolio_list = []
portfolio_list.extend(portfolio)
names = []
for data in portfolio_list:
    names.append(data[0])
print names


If you have any better idea, please share.

To know more about csv module, http://docs.python.org/lib/module-csv.html


Замечания:
1. Try
portfolio = csv.reader(open("portfolio.csv", "rU"))
It should work

2.
Reading a particular column from a csv file is really useful and worthful. In my project, I also need to write an array of elements into a new column in the existing csv file in Python. Can you please post some information for writing column data into csv file in Python.

Answer
import csv
list = [ x[0] for x in csv.reader(open('x.csv','r')) ]


Взято отсюда
================================
еще полезные ссылки
Серый форум - разработка скриптов

Какой-то форум