problem

Generating TrueType file: Why always invalid?

Hello everbody, as said above, I wrote a little Python script that reads WOFF files (my own free fonts), extracts the embedded TrueType font data tables and rewrites them into TrueType font files. Well, it should theoretically. :-) I read the specs (WOFF -- TrueType) and did everything as stated there. Here I posted a short overview of...

NSMutableArray Problem - iPhone

Hi, I'm trying to get a UITableView to read it's data from a file. I've attempted it like this: NSArray *paths = NSSearchPathForDirectoriesInDomains (NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsDirectory = [paths objectAtIndex:0]; NSString *fullFileName = [NSString stringWithFormat:@"%@/entries.plist", documentsDir...

Problem with using UIWebview in landscape mode

Hi All! i am facing a problem with UIwebview in landscape mode. in landscape mode the touche event works only 320x320. its not working on entire screen in UIwebview! ...

Good recources on a problem decomposition?

Could you please share some good books, blogs, sites on practical problem decomposition, thanks P.S. Please only practical ones not the scientific/theoretical resources. ...

internet explorer 6 php serve file problem

hail, i have a problem to serve file with PHP into client. that when i want to download it the save and open dialog will be appear but progress of download will not show. what is my problem? header that i send it to client: header('Content-Type: '); header('Content-Description: File Transfer'); header('Accept-Ranges: bytes'); header('C...

Random problem connecting to MySQL

Environment: RHEL 5 servers, MySQL 5.1.43, PHP 5.1.6 (using MySQLi). Currently only available within our internal VPN network. Servers ServerA: Webserver ServerB/C/D: Database server (1 master 2 slaves) The error (on ServerA) [Tue May 25 11:12:17 2010] [error] [client CLIENTIP] PHP Warning: mysqli::real_connect() [function.mysqli-real...

Handle the Flex Repeater when the result length equals 1

Hello, I'm using the flex repeater to show some components in the screen by xml. When the xml returns only one result, I don't have the index of the array, so I cannot access the object. How I can handle this? Tks. ...

window.close() generates problem

this code generates problem [encountered problem of window] and close all the safari windows, but this code is working fine with Internet Explorer. What will I do ? have any alternative method for closing current opened window in every browser. <input type='button' value='close' onclick='window.close()'> ...

iphone shake error

Right now I have this- - (void)motionEnded:(UIEventSubtype)motion withEvent:(UIEvent *)event { if (event.type == UIEventSubtypeMotionShake) { int text = rand() % 12; switch (text) { case 0: textview.text = @"blah." ; break; For some reason, the text has to be selected for it to work. If you just shake it, nothing wi...

A hard Question ?

Hi Guys , I try To find a solution to a question .... we have a number , example : 20 ... and we have 6 number :{ a ,b , c , d , e , f} < 20 , t try to find all values of these numbers , but only if we can combinate (whit + or -) whit 2 of this numbers and getting all the value below to 20 : for example we choose 31 : a = 22 ...

Easyslider not cooperating

First time I've used it. had it working but suddenly it's gone. It seems temperamental, sometimes works grand, a refresh then breaks it. It doesn't expand to the full height and screws up the positioning of the image and the corresponding copy. Any help much appreciated. See code here: http://www.bigfootwalk.com/route.html ...

Uploading to TwitVid using x_verify_credentials_authorization

Hi, I am developing an iPhone application that uploads videos to TwitVid using the library TwitVid-iPhone-OAuth3. I have selected this library since Twitter is shifting to OAuth mechanism of authentication. 1) Does this new library allows to upload without user-name and password parameters? 2) I am using the following steps for upload...

ASP.NET MVC 2.0 does not install with visual studio 2010 professional?

Hi all I installed vs 2010 and it should have asp.net mvc 2.0 but it didnt install it. I tried installing it manually but it still does not show under the new projects tab..but it shows installed in control panel. I had vs2010 rc1 before and uninstalled it and it had mvc 2.0 but now for some reason i dont have it! ..Can anyone please he...

[self.view addSubview:UIView] doesn't work correctly. addSubview problem

Help me. addSubview doesn't work. I want to add "ContentView" on scrollView. But "ContentView" doesn't appear on screen. "ContentView" is UIView. When I change to self.view=scrollView from [self.view addSubview:scrollView], addSubview doesn't work. Please teach me how to add UIView on this screen!! - (void)viewDidLoad { [super viewDid...

Fullscreen not working in Direct2D (slimdx)

Hi, I'm having a strange problem when switching to fullscreen (alt+enter or swapchain->SetFullscreenState(...)), the application enters fullscreen en i can see a black screen but it's still rendering in a window behind the black screen. And after a couple of seconds the black screen disappears. The thing is the window changed it's size ...

Prolog homework problem?

the problem is ; we have a funtion take 3 argument, like; func ( [[0, 0, 0, 1, 0], [0, 1, 1, 1, 0], [0, 0, 1, 0, 0], [0, 0, 1, 0, 0], [0, 0, 0, 1, 0]], (1, 1), X ) the first one is nested list, which is show 5x5 matrix and 1s means it is full, 0 means empty and, the second parameter (1,1) our starting point 1st row 1st column, the 3rd p...

Yahoo pipes not working on feed43.com feeds

I have made this http://feed43.com/rss_cricket_fixtures.xml But there is a line in each description tag <p><sub><i>-- Delivered by <a href="http://feed43.com/"&gt;Feed43&lt;/a&gt; service</i></sub></p> I have tried yahoo pipes to filter it out but yahoo pipes does not even fetch this feed. How to solve this problem? ...

[iPhone] Error reading plist file for fill a table

Hi, I'm developing an app for iPhone but I've a problem... I've a view with some textField and the informations writed in them are saved in a plist file. With @class and #import declarations I import this view controller in another controller that manage a table view. The code I've just wrote appear to be right but my table is filled up ...

Glassfish 3 Cant update JDK no way

Hello.. I was using 1.6.0_19 jdk and installed 1.6.0_20 jdk.. Glassfish doesnt like that... Here are my windows environment variables.. ALLUSERSPROFILE=C:\ProgramData ANT_HOME=C:\apache-ant-1.8.1\ APPDATA=C:\Users\Parhs\AppData\Roaming CommonProgramFiles=C:\Program Files\Common Files COMPUTERNAME=PARHS-PC ComSpec=C:\Windows\system32\cm...

Samsung i7500 Galaxy - speakers, calling problem after listening music

I've been listening music on my Samsung i7500 Galaxy with headset plugged to the device. After listening I've plugged headset out and now while I call to somebody I see there is a call on the device screen, but either me, either person whom I am calling to, doesn't hear the other person. While I plug headset again I can hear everything (...