Quick question, has anyone ever come across either a web cam API or an open source alternative that can be easily integrated to a site without having any Flash or ActionScript experience.
I should probably say what I'm trying to do.... The idea is to create a Facebook app that lets friends communicate (and meet new people too) in real time over web cam. However I don't have the required experience to write the Flash part so any help would be appreciated.
Why is still C99 mixed declarations and code not used in open source C projects like the Linux kernel or GNOME?
I really like mixed declarations and code since it makes the code more readable and prevents hard to see bugs by restricting the scope of the variables to the narrowest possible. This is recommended by Google for C++.
For example, Linux requires at least GCC 3.2 and GCC 3.1 has support for C99 mixed declarations and code
I noticed that when I build a given C# source to produce a DLL, the binary output is different each time. It would be helpful for our build / deployment process if this was not the case. Can I control this?
Hello
How can I use the update() method on a single model which I retrieved via Queryset.get() ? It seems like model. Model doesn't have an update() method yet I cannot invoke .save() as I have a pre-save signals which messes things up.
EDIT: An idea would be passing some parameter to the save method and catching it at the pre_save signal, so that I can understand the purpose, how can this be done ?
Thanks
hey dudes,
my first question anyway,
i have made a single user dungeon and am looking to change it in to a multi user dungoen how can i do this by the way im using python to make the sud in to a mud lol
What is the minimum number of bits needed to represent a single character of encrypted text.
eg, if I wanted to encrypt the letter 'a', how many bits would I require. (assume there are many singly encrypted characters using the same key.)
Am I right in thinking that it would be the size of the key. eg 256 bits?
Hi,
I would like to write a simple GUI application using C++ and wxWidgets. I'm wondering if there are any open source GUI applications using C++ and wxWidgets and tutorials for reference.
Thanks,
Blast from the past. This is one of the puzzles from my early days:
Can you write a method (a function) which when called outputs its own source - literally including all the quotes, indentations, etc?
No cheating - no reading from a file
I'm trying to create a single layer perceptron.
If I use the nnet function to create a n-0-1 network (n being the number of inputs), is that equivalent to a perceptron?
Hi,
I'm want to add a windows installer to my project.
I saw two open source solutions: WiX and Nsis.
Do you have any expirience with them? Do you use another FOSS installer?
I believe I read that if you wanted to use Google's App Engine, your application needed to be open source. With the recent announcement of App Engine for Business, does the same rule apply? I would like to host an application on this particular platform but have no interest in releasing the code initially (down the road, potentially).
I'm trying to implement a simple notebook in Qt. Microsoft OneNote allows text or an image from a website to be inserted by Drag&Drop with an attached link to the source that looks like this for the stackoverflow logo on the 'ask' page: Inserted from
<http://stackoverflow.com/questions/ask. With the QT dropsite example, I examined all the information thats transported by the QMimeData object, but didn't find something really helpful.
Do you know a way to do this in pure Qt or at least with not so much platform-dependant code?
if i send email from my smtp server, For Example in code if i set From to [email protected] and sent to an email address, than the recipient think that mail comes from anydomain. so how to confirm email source?
I'm trying to figure out if there is a way to show all datatips for a single lineseries in a Flex 3 linechart. This chart will have multiple lines and the functionality we're looking for is when a user hovers over a line, show all datatips associated with just that series. Any help would be appreciated.
showAllDataTips will not work in this case as it will display all datatips on the chart.
Thanks!
Rich
I'm trying to load external data to my entyity.
DataServiceCollection<products> products = new DataServiceCollection<products>();
var adapter = new OleDbDataAdapter("SELECT * FROM [products$]", "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=d:\\products.xlsx;Extended Properties=\"Excel 12.0;HDR=YES;\"");
DataSet ds = new DataSet();
adapter.Fill(ds, "excell");
products.Load(????);
Can anyone help ?
Hi,
I am sending tweets to Twitter via Zend_Service_Twitter.
The tweets appear with a note "via API". I want to set the API Source with a different name, is there already a functionality within the Zend Framework to change it?
Or do I need to subclass to get this functionality?
Thanks!
I have a list of
uids: ['1234','4321','1111']
and I would like to turn this into a single string of:
"uid = '1234' OR uid = '4321' OR uid = '1111'"
What's the most efficient way to do this?
Thanks!
I was wondering how can I validate a single checkbox using PHP and MySQL.
Here is the HTML.
<input type="checkbox" name="privacy_policy" id="privacy_policy" value="yes" />
Hi,
Consider the following structure :
Ignore the table user_token.
Now, imagine that you need to get all the roles related to an user, wich may be through it's related groups or directly related to him. In case the same role appears related to a group and the user directly, the role related to the user will prevail over the role given by the group.
Is there any chance this could be done in a single query?
Cheers!
Hey all,
I currently use iLog Elixir calendar component, and I am not entirely happy. It is buggy, support sucks and I can't play around with the source.
Does anybody know of a good, well maintain flex library project which has a decent calendar / date chooser component?
Thanks,
Sri
I want to create a similar GUI as QT Creator main layout and thus I am looking for QT Creator Source files.
Can anyone direct me from where to download.
Thanks in advance.
Hello,
this should be pretty simple but I don't get it. How can I draw a single point in .Net? If I use g.DrawLine(Black,0,0,0,0) nothing is drawn and if I use g.DrawLine(Black,0,0,1,0) a line with 2 dots is used. The same happens with g.DrawRectangle. This has me intrigued.
Thanks in advance.
Is it possible to have multiple models included in a single ModelForm in django? I am trying to create a profile edit form. So I need to include some fields from the User model and the UserProfile model. Currently I am using 2 forms like this
class UserEditForm(ModelForm):
class Meta:
model = User
fields = ("first_name", "last_name")
class UserProfileForm(ModelForm):
class Meta:
model = UserProfile
fields = ("middle_name", "home_phone", "work_phone", "cell_phone")
Is there a way to consolidate these into one form or do I just need to create a form and handle the db loading and saving myself?