I am sending some text messages from the unix box to the normal internet mail ids.
I Wanted to add a hyper link in those mails, but link to a file on the server not to a URL.
How I can do this?
I wanted to get a tally (so I can in the end just see how many people if any don't use _ in field names) of who uses _ and who does not on private field names.
I'm reading some MPEG Transport Stream protocol over UDP and it has some funky bitfields in it (length 13 for example). I'm using the "struct" library to do the broad unpacking, but is there a simple way to say "Grab the next 13 bits" rather than have to hand-tweak the bit manipulation? I'd like something like the way C does bit fields (without having to revert to C).
Suggestions?
Hi all,
I wanted to calculate the angle between two vectors but I have seen these inverse trig operations such as acos and atan uses lots of cpu cycles. Is there a way where I can get this calculation done without using these functions? Also, does these really hit you when you in your optimization?
Hi There,
I just wonder which UI element is being used for such username/password field just like in Skype's iphone app?
Is it UITextField or something else? Any suggestions?
Thanks!
Hello,
I'm looking for feedback on which analyzer to use with an index that has documents from multiple languages. Currently I am using the simpleanalyzer, as it seems to handle the broadest amount of languages. Most of the documents to be indexed will be english, but there will be the occasional double-byte language indexed as well.
Are there any other suggestions or should I just stick with the simpleanalyzer.
Thanks
I've been trying to to consume SOAP requests (.NET web services) and have found some pretty good tools that I wanted to share:
1) http://grabalife.com/2009/10/19/using-net-web-services-and-dataset-objects-in-your-iphone-app/
Really easy clean way to perform all the call needed for consuming the services.
2) http://code.google.com/p/mac-soapclient/
SOAP Client uses WSDL files you provide to dynamically create a graphical user interface for any given SOAP-based web service
Hopefully that will help someone as much as me!!!
Happy coding !
I've downloaded the "dbd-mysql-0.4.4.zip" and linked it to my project. While I try to run a demo code from NetBeans the very first line
require "dbi"
gives me an error. Is there a different way to do it?
I also tried
jruby setup.rb config --with=dbi,dbd_mysql
from the command prompt and it gave me the following error:
config: unknown option --with=dbi,dbd_mysql
Try 'ruby setup.rb --help' for detailed usage.
Any suggestions please?
Hey
I have to search through a list and replace all occurrences of one element with another. I know I have to first find the index of all the elements, and then replace them, but my attempts in code are getting me nowhere. Any suggestions?
I have ~10,000 records would like to keep in a collection in memory and execute LINQ queries against it. This collection should be available for all the users in the application domain and can access concurrently. I’m looking for a .NET collection that supports multithreading can query asynchronously and efficiently without any threading issues. Any suggestions on deciding a collection for this?
I just wanted to start a blog but couldn't think of an appropriate name. The name should be geeky in some sort of way. I'm not very creative today, so what are your proposals?
Hi there,
is there a way to reduce the space between two sections of a UITableView? There are about 15 pixel between every single section I have. I did already try to return 0 for -tableView:heightForFooterInSection: and -tableView:heightForHeaderInSection: but that doesn't change anything.
Any suggestions? Thanks in advance.
–f
What's the cheapest way to upgrade from standard VS2008 to VS2010?
I looked on the web and it looked like they wanted a monkey for it (£500).
This seems steep for an individual wanting to upgrade using taxed money.
Hello all, complete newbie here,
I need to find a way to store 250 KB of plain text numbers inside my program's executable file.
Usually, I would put the data in a separate file and let the program read it while it is running, but that's not an option here. Instead, the program and the data need to be in one executable file.
I have absolutely no idea how to do it (except writing 250.000 #defines :-) and I'd appreciate any suggestions.
Thank you very much!
I have to write a user manual for my product, and I have been searching for a standard for the last three days. I didn't find any useful information. Can anyone guide me as to what standards exists for this purpose (User Manual Writing)?
If there are some good suggestions, that will also help me.
Thanks in advance.
Hi everyone,
I have two python cgi pages (index, display), what i need to do is calculate time frame between the execution.
Work flow:
Index.py (submit)
After submit it redirect to display.py page
display.py page has got class with execute(),display() &init_main() functions
In init_main() i have created class object which access to above functions
I need to calculate time interval between the submit (index.py) to execute() end, so i can show user how much time does different weighted file takes on real time.
Hoping to see your suggestions
Thanks
I've a collection in viewmodel binded to listbox. I want to hide a particular type from the collection.
Here is the code:
public ObservableCollection [YZModeModelView] YZModeModelView
{
return this.XModelVIew.YZModelViewCollection;
}
I want to a particular type of model view's from YZModelViewCollection. eg. ModelView's with property abc set to null.
Any suggestions ...
I want to crawl a website and store the content on my computer for later analysis. However my OS file system has a limit on the number of sub directories, meaning storing the original folder structure is not going to work.
Suggestions?
Map the URL to some filename so can store flatly? Or just shove it in a database like sqlite to avoid file system limitations?
I want to use a database which name is stored in a variable. How do I do this?
I first thought this would work but it doesn't:
exec('use '+@db)
That will not change database context
Suggestions anyone?
Hello,
I am working on an Azure project. To secure this site, I wanted to install a SSL certificate. So when I uploaded .pfx file, I am getting error message "Uploaded file is not a valid X.509 Certificate, or the password is invalid. " when I try to upload a certificate. I was able to do the same without any issue last week.
Thanks
Dear all,
I've a list of float numbers and I would like to delete incrementally
a set of elements in a given range of indexes, sth. like:
for j in range(beginIndex, endIndex+1):
print ("remove [%d] => val: %g" % (j, myList[j]))
del myList[j]
However, since I'm iterating over the same list, the indexes (range)
are not valid any more for the new list.
Does anybody has some suggestions on how to delete the elements
properly?
Best wishes
I'm building an autosuggest search, like apple's spotlight... and want to disable the browser from offering text suggestions under the input box. I can't remember if that's an html or css setting and can't find it.
Anyone remember?
In rpsec 2.12 I expected this helper method definition to work:
module X
private
def build_them(type)
puts 'Catching the star'
end
end
context 'public/private instance methods' do
subject{ Class.new { extend(::X) } }
def subject.build(type)
puts "Throwing a star"
build_them(type)
end
it{ should respond_to :build}
end
The actual result is a failed spec:
expected #<Class:0x00000002ea5f90> to respond to :build
I expected the example to pass
Any suggestions on how to do this correctly?
iPhone is 480 x 320, iPad is 1024 x 768, iOS 4 is 960 x 640. What is the good practice of managing images for 3 resolutions?
Say the app wallpaper as an example, the iPhone is probably a 50%-reduction of the iOS4 one. But it is also tempting to design one dimension (1024 x 768) for both devices (iPad and iOS 4 phones).
Any suggestions? thanks
I know there are a lot of books out there but which ones are good? Also, which one are up to date since I have seen many books that people say are good but they are not up to date. Any suggestions?