What programming languages are used to create sites for online video convertion and mp3 extraction from youtube, like this one: http://getvideo.bg ? I guess it's not written in php ...
NSString *myxml=@"<students>
<student><name>Raju</name><age>25</age><address>abcd</address>
</student></students>";
in iPhone programming how to parse this XML by each node. ....
I'm working on building an iPhone app with Titanium Mobile 1.0 and I see that it compiles down to a native iPhone binary. How does this work? Seems like it would take a lot of heavy lifting to analyze the JavaScript code and do a direct translation into Objective-C without having a subset language like 280 North's Objective-J and Cappuccino.
I'm confused about an OOPS feature, multiple inheritance. Does OOPS allow Multiple Inheritance? Is Multiple Inheritance a feature of OOPS? If Multiple Inheritance is a feature then why don't languages like C#, VB.NET, java etc. support multiple inheritance? But those languages are considered as strongly supported OOPS language. Can anyone address this question?
I'm trying to write the Diamond-Square algorithm in Java to generate a random map but can't figure out the implementation...
Anyone with some Java code (or other language) so i can check how the loop is made would be greatly appreciated!
Thanks!
When I recently asked about the uses of Ruby someone told me it was good for prototyping. I basically know what that means, quickly get the very base of your app up and working, see if there are conceptual problems and then add the rest.
Am I right with how I understand prototyping?
What would be a concrete example of prototyping a Snake game in Ruby or any other language?
How effective is naive Bayesian filtering for filtering spam?
I heard that spammers easily bypass them by stuffing extra non-spam-related words. What programming techniques can you use with Bayesian filters to prevent that?
So hell froze over and Apple accepted Opera Mini into the app store. Does anyone know what the user agent string will be?
The documentation says that Opera's template is like this:
Opera/9.80 (J2ME/MIDP; Opera Mini/$CLIENT_VERSION/$SERVER_VERSION; U; $LANGUAGE) Presto/$PRESTO_VERSION
Hi there.
I need to write a simple program that records all the input from parallel port into a file. Data flows from industrial machine, setup is fairly simple, but I can't find any good open source examples on parallel port reading for Windows.
Do you know a software that does this (and lets me learn how to do it myself), or is there any guideline for parallel port programming on XP?
Thanks.
Hi,
what is programmer job or tasks?
is it only programming, or it includes software testing,windows installer, network management, helpdesk, documentation???
AS I am a graduate developer, I feel like I am doing everything, from upgrading hardware, installing antivirus, ...everything....
and of course coding...
thanks
Obfuscation is one way, but it can't protect from breaking the piracy protection security of the application. How to make sure that the application is not tampered with, and how to make sure that the registration mechanism can't be reverse engineered.
Also it is possible to make to convert C# app in native code, Xenocode is too costly.
C# provides lot of features, and is the ideal language for my code, so writing in C++ again the whole codebase is out of question.
Secure certificates can be easily removed from the signed assemblies in .NET
Hi everyone.
I'm using blogger.com to host some texts on programming, and I'd like to use prettify (same as stackoverflow) to nicely colour the code samples.
How do I install the prettify scripts into the blog domain?
Would it be better (if indeed its possible) to link to a shared copy somewhere?
I have webspace on a different domain. Would that help?
Many thanks.
I'm relatively new to programming so excuse me if I get some terms wrong (I've learned the concepts, I just haven't actually used most of them).
Trouble: I currently have a class I'll call Bob its parent class is Cody, Cody has method call Foo(). I want Bob to have the Foo() method as well, except with a few extra lines of code. I've attempted to do Foo() : base(), however that doesn't seem to work like. Is there some simple solution to this?
Hello,
I am a beginner in Silverlight and C# programming and i´m creating a Bing Map application.
I try to add pushpins with coordinates and information from a SQL Server, but I can't figure out how to succeed.
Mike
I saw a similar question about the reason Google Chrome wasn't written in C#. But with the upcoming version of Windows and Microsoft's flagship language, I am having a hard time understanding why Microsoft isn't pushing C# to its fullest potential to give it more exposure via their market share?
In addition can be interpreted as "Is C# and the .Net framework suitable to run a modern OS like Windows 7"
Btw this is not a flaming question, but curiosity. I use C# daily and really love it.
I'm semi-new to writing ASP.Net applications using master pages and I've run into an issue I've spent some time on but can't seem to solve.
My situation is that I have a master page with a structure that looks like this:
<head runat="server">
<title>Test Site</title>
<link rel="Stylesheet" type="text/css" href="Default.css" />
<script type="text/javascript" language="javascript" src="js/Default.js" />
<meta http-equiv="Expires" content="0"/>
<meta http-equiv="Cache-Control" content="no-cache"/>
<meta http-equiv="Pragma" content="no-cache"/>
<asp:ContentPlaceHolder ID="cphHead" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>
<form id="form1" runat="server">
<div id="divHeader">
<asp:ContentPlaceHolder ID="cphPageTitle" runat="server"></asp:ContentPlaceHolder>
</div>
<div id="divMainContent">
<asp:ContentPlaceHolder ID="cphMainContent" runat="server"></asp:ContentPlaceHolder>
</div>
</div>
</form>
</body>
I then have a page that uses this master page that contains the following:
<asp:Content ContentPlaceHolderID="cphHead" runat="server">
<script type="text/javascript" language="javascript" >
function test() {
alert("Hello World");
}
</script>
</asp:Content>
<asp:Content ContentPlaceHolderID="cphMainContent" runat="server">
<fieldset>
<img alt="Select As Of Date" src="Images/Calendar.png" id="aAsOfDate" class="clickable" runat="server" onclick="test();" />
<asp:Button runat="server" CssClass="buttonStyle" ID="btnSubmit" Text="Submit" OnClick="btnSubmit_Clicked"/>
</fieldset>
</asp:Content>
When I run this page and click on the image I get an "Object Expected" error.
However, if I place the test function into my Default.js external file it will function perfectly.
I can't seem to figure out why this is happening. Any ideas?
I am very new to programming and would like to know what is the best way to go about creating a notification icon badge similar to the ones on the iPhone apps. This would be basically for creating a badge for the notifications that end up in the notification bar.
When programming against a fluent API, I've seen the style mostly like this:
var obj = objectFactory.CreateObject()
.SetObjectParameter(paramName, value)
.SetObjectParameter(paramName, value)
.DoSomeTransformation();
What is the reasoning behind putting the dot at the beginning of the line instead of the end of the line like this:
var obj = objectFactory.CreateObject().
SetObjectParameter(paramName, value).
SetObjectParameter(paramName, value).
DoSomeTransformation();
Or, is it merely a style thing that a team makes a consensus on?
Hi
Im programming webserver (C), which should send big files. My question is:
What are the main differneces in two syscalls: write and sendfile. Does sendfile depends on size of socket system buffer ? I noticed that write often writes less then i requested.
For example, if got many requests for one file: should i open it, copy into memory and use 'write', or maybe i can do 'sendfile' for each client ?
thx in advance for all answers
I'm looking for a practical application to use a genetic algorithm for. Some things that have thought of are:
Website interface optimization
Vehicle optimization with a physics simulator
Genetic programming
Automatic test case generation
But none have really popped out at me. So if you had some free time (a few months) to spend on a genetic algorithms project, what would you choose to tackle?
I'm now learning Ruby because I saw it's a very powerfull language, but now I want to know what mobile ports of Ruby we have and for what devices.
PS: I have a HTC S711, HP iPAQ Hx2, Nokia E61, Nokia N95, Palm T|X, Palm Z22, HP Jornada 720..., it's better if I can use it on these platforms, but I'm open to buy other devices, as I'm a mobile addict.
Something I've always wondered, especially since it inspired me to start programming when I was a kid, was how video game bots work? I'm sure there are a lot of different methods, but what about automation for MMORPGs? Or even FPS-type bots?
Does anyone know of an app that can monitor a beanstalkd queue? I'm looking for something that shows stats on tubes and jobs, and allows you to inspect the details.
I'm not really picky about language/platform, just want to know if there's something out there before I write my own.
Hello everyone,
I was thinking in learning a new language and settled for Python. But now that Dive into Python 3 is out, which one should I learn, 2 or 3?
I am asking this also considering possible jobs for version 2 or 3.
So, what do you think?
Thank you!
Hi!
I am new to .NET, and don't have much experience in programming.
What is the standard way of handling user authentication in .NET in the following situation?
In Process A, User inputs ID/Password
Process A sends the ID/Password to Process B over a nonsecure public channel.
Process B authenticates the user with the recieved ID/Password
what are some of the standard cryptographic algorithms I can use in above model?
thank you for your time!