Hi, I am learning the Opengl graphic programming at Eclipse. Can someone tell me the difference between GLUT application and SDL application, so that I can dig into either one of them? Tks.
I need to programatically encrypt a directory of files, like in a .zip or whatever. Preferably password protected obviously.
How can I accomplish this, and WHAT IS the BEST encryption way to do it, if applicable?
Programming language doesn't matter. I am dictioned in all syntax.
A friend of mine, who studies game development at an university, is currently learning programming in OpenCL. What would be a simple project that teaches the most important aspects of OpenCL and can be finished within about 50 - 100 hours?
Hi
I have been tasked to either find an off the shelf solution or to build inhouse some software that can maintain a list of all of the applications within our business, assign them to the different business areas that use them and list all the servers, documents, knowledge base etc that relate to the app in question.
Does anyone know of any existing software that can do this ?
Regards
I have an IncomingEmail model with an attachments virtual attribute:
class IncomingEmail < ActiveRecord::Base
attr_accessor :attachments
end
I want the attachments virtual attribute to be initialized to [] rather than nil so that I can do:
>> i = IncomingEmail.new
=> #<IncomingEmail id: nil,...)
>> i.attachments << "whatever"
Without first setting i.attachments to [] (put another way, I want this virtual attribute to default to an empty array rather than nil)
I am looking for a way to retrieve the current exception without having to pass it as a variable.
Suppose the following code
public void MakeItFail()
{
try
{
throw new FailException();
}
catch // Yes I'm aware that this shouldn't be done, but I don't want to go through all the code base and change it
{
ShowMessage("An error occured");
}
}
public void ShowMessage(string message)
{
// How can I retrieve the exception here
}
In the watch window, I can use $exception to get the current exception. Is there is a code equivalent?
Obviously Python is more user friendly, a quick search on google shows many results that say that, as Python is byte-compiled is usually faster. I even found this that claims that you can see an improvement of over 2000% on dictionary-based operations.
What is your experience on this matter? In which kind of task each one is a clear winner?
I need to read a Excel 2007 xlsx file in a java application. Does anyone know of a good api to accomplish this task?
Thanks in advance for any advice given.
-MrPortico
In his book programming in scala (Chapter 5 Section 5.9 Pg 93)
Odersky mentioned this expression "bills !*&^%~ code!
In the footnote on same page:
"By now you should be able to figure out that given this code,the Scala compiler would
invoke (bills.!*&^%~(code)).!()."
That's a bit to cryptic for me, could someone explain what's going on here?
This isn't a question about code, but it's programming related. We have a web app that's ready for beta testing. Has anyone noticed any difference between open beta vs. closed beta in terms of the quality or quantity of feedback the testers give or any other factors?
I'd like to set some autorun task to Eclipse, or simply set the command with path, how to run my Apache while starting Eclipse.
My point is, that I don't want webserver (Apache) to be running after OS start, because it's useless load for my laptop. I usually want webserver use when I start Eclipse, so I think there could be an option, when can I do that to save my OS load and my time.
How can I set this?
Im using c#.net windows form application. I have a xml file. I have loaded the node names of that xml file into a treeview. Now my task is , when I select a particular node from the treview, I should be able to display its attributes in a combo box. Please help.
I'm trying to find out what a binormal is in the context of graphics programming but coming up short, I saw on a site that the binormal was being calculated as the corss between the normal and tangent (i.e. cross(normal, tangent)), is this the correct way to calculate a binormal?
Is it possible to defining arrays in config files in smarty?? for example I want have small data base in config file (located in /configs) - few (about 20) products descriptions: title, price, description. After that I want to list it via foreach or section.
How can I define that array in Smarty without MySql or other db engine. Can I do that?
Hi,
Is it possible to do Aspect Oriented Programming in Delphi? I would be interested in native support as well as third party solutions.
I don't have a specific problem I want to solve with AOP, but am simply interested in studying AOP.
Thanks, Miel Bronneberg.
I'm almost ready to use Magento (which is built upon Zend Framework, which i know) and i'm looking for a good book covering setup, config, best practices, creating templates, development, etc.
Do you have any to recommend ?
I found some which look insteresting :
The Definitive Guide to Magento
Pro Magento Developer's Guide
Php Architect's Guide to E-commerce Programming With Magento
Any feedbacks on those one ?
I'm looking for an ExecutorService implementation that can be provided with a timeout. Tasks that are submitted to the ExecutorService are interrupted if they take longer than the timeout to run. Implementing such a beast isn't such a difficult task, but I'm wondering if anybody knows of an existing implementation.
I'm not sure how important it is having a large reputation number, but then I'm also worried someone hacked into my account or something, since I don't see how else it would be possible to loose 500 points in a single day ( hopefully this non-programming related post won't cause another 500 drop :) ). Any idea why this happened?
thanx
how can I capture response from twitter.com? To make sure that everything went ok?
I am using ruby and ruby twitter gem and the my code is basically like that
oauth = Twitter::OAuth.new('consumer token', 'consumer secret')
oauth.authorize_from_access('access token', 'access secret')
client = Twitter::Base.new(oauth)
client.update('Heeeyyyyoooo from Twitter Gem!')
I know Apple is not the only ressource out there, and many people create great videos in conferences and presentations.
If someone knows a great video or podcast on the topics KVC or KVO, please let me know. I would be glad about it!
Edit: Changed Title so it's more clear this is indeed programming related. KVO / KVC / MVC != KFC
Hello,
I know it's not really a programming question but I don't know where to ask it.
Should i use a captcha in my sign up form ?
Facebook, twitter, foursquare, gowalla etc... don't use one (or not a visible one). Is there an invisible catpcha on theses sites ?
Thank you
Hi,
i've added code
config.gem "authlogic-oauth", :lib => "authlogic_oauth"
to the environment.rb file in my app and got error
undefined method 'add_acts_as_authentic_module' for ActiveRecord::Base::Class
is there any solution to solve it?
Hi folks,
I am looking for a CMS that offers an API for managing the several content elements or pages.
The programming language(or other technical details) of the CMS doesn't matter - so don't hesitate give an answer:).
Best regards
My dream is to make a very good, open source Help desk application for companies to use for free.
My client application will run on every client computer have minimize itself to the task bar. When the user click the icon, it'll open the actual Winform window.
I'm using .NET 3.5; is there a simple way to minimize/maximize from the taskbar?
For those of you who are into programming not just for the money. I would like to know which benefits you would like to have (or already have).
OK, maybe taking away the money factor will limit this question too much. I am surprised to see that most companies have a fixed set for their benefits package. Were you able to negotiate something new or just your salary? What things have you seen out there and/or value most?