I found so far iCode as a code Editor.
Remotedesktop, and mides IDE (PHP).
Goodreader for my dev. Ebooks.
Are there any other must haves for developers?
Hi,
I want to know the type of object (or type) I have in my list so I wrote this:
void **list; //list of references
list = new void * [2];
Foo foo = Foo();
const char *not_table [] = {"tf", "ft", 0 };
list[0] = &foo;
list[1] = not_table;
if (dynamic_cast<LogicProcessor*>(list[0])) { //ERROR here ;(
printf("Foo was found\n");
}
if (dynamic_cast<char*> (list[0])) { //ERROR here ;(
printf("char was found\n");
}
but I get :
error: cannot dynamic_cast '* list' (of type 'void*') to type 'class Foo*' (source is not a pointer to class)
error: cannot dynamic_cast '* list' (of type 'void*') to type 'char*' (target is not pointer or reference to class)
Why is this? what I am doing wrong here? Is dynamic_cast what I should use here?
Thanks in advance
EDIT:
I know above code is much like plain C and surely sucks from the C++ point of view but is just I have the following situation and I was trying something before really implementing it:
I have two arrays of length n but both arrays will never have an object at the same index.
Hence, or I have array1[i]!=NULL or array2[i]!=NULL. This is obviously a waste of memory so I thought everything would be solved if I could have both kind of objects in a single array of length n.
I am looking something like Cocoa's (Objective-C) NSArray where you don't care about the type of the object to be put in. Not knowing the type of the object is not a problem since you can use other method to get the class of a certain later. Is there something like it in c++ (preferably not third party C++ libraries) ?
Thanks in advance ;)
Hi,
How to import/export table definitions from my dev database to production database(recreate the whole database). I have Sql server 2005, Sql Management studio with power shell.
Thanks in advance.
i had very nice dev. env. - clojure, maven and jetty with hot deploy. now i moved to google appengine and i can not figure out how to configure maven achieve hot deploy
Hi,
Take a look at this example: http://www.extjs.com/deploy/dev/examples/multiselect/multiselect-demo.html
On it, there are components rendered against a panel. I've been searching for a way to render components without a panel, so that they are laid out against empty background directly, without any window-like panels. Is there a way to accomplish this?
I'd like to authenticate the user/application combination, not only the user.
The scenario is that we've built an app that guides the user to safe updates of some data.
If the same user installs PL/SQL Dev, Toad, or any other Oracle management tool, she can edit the data in ways that the app prohibits.
Im trying to get the redirect link from a site by using curl -I then grep to "location" and then sed out the location text so that I am left with the URL.
But this doesn't work, it will outputs the URL to screen and doesn't put it
test=$(curl -I "http://www.redirectURL.com/" 2> /dev/null | grep "location" | sed -E 's/location:[ ]+//g')
echo "1..$test..2"
Which then outputs:
..2http://www.newURLfromRedirect.com/bla
Whats going on?
iphone dev has this rule for iphone developers
Be certain that the items you offer for purchase do not contain, or relate to, pornography, hate speech, defamation, or gambling (simulated gambling is acceptable).
But how come there are apps in the app store such as iBetMate, which, in fact, allows users to gamble? Is there a clause or something that I missed in Apple's rules?
I am starting Android development. Which of the many Eclipse downloads do I need from http://www.eclipse.org/downloads/ ?
I am only ever going to do Android dev with Eclipse ever.
Platform: MAC 64 bit Snowleopard
I'm totally baffled as to why these 2 sites are rendering differently in IE7, even though the theme powering both is the same, they're both on WordPress 2.9.2...
This one is okay: http://htm2wp.com/dev/svn
This one has the sidebar appear at the bottom: svnsvadvisors.com/blog
Meanwhile, they render the exact same in Chrome and Firefox.
Anyone have any idea why this is happening? I think I may just be too close to the problem to see it.
playaudio() dies because there's no /dev/dsp.
None of the outputs from saveaudio() in various formats seem to be playable in QuickTime or VLC.
Ideal of course would be something like playaudio(), saving a file and playing it is a work-around that's hideously sub-optimal, but better than nothing.
I often use tortoisesvn to checkout or update a working copy on a development server. Whenever I do this, it seems to slow down the network and other users complain that browsing websites and accessing files on the dev server is slow.
Is this a common bug in Subversion or has anyone else has come across similar problems?
I want to copy a large a ram-based file (located at /dev/shm direcotry) to local disk, is there some way for an efficient copy instead of read char one by one or create another piece memory? I can use only C language here. Is there anyway that I can put the memory file directly to disk? Thanks!
PHPIniDir "D:/Dev/PHP/"
The above instruction can make my apache die on windows.
But I'm just not sure if that's true.
BTW,I found xmpp/wampserver copies the php.ini to the directory of httpd.exe,maybe for the lack of support?
I have a small thermometer with a mini-usb connection. I would like to connect it via USB adapters to the 30pin connector on my iPhone. I am a paid dev ($99 version) and can't find much info on the hardware stuff. Is it possible to access this hardware with my current setup? I just want to access the data being generated via the temperature sensor.
Thank-you for any help!!
(I'm coming from an iPhone dev world. )
In Android do we need to worry what OS version we compile against? In the iPhone world I would usually target a release that's at least 6 months old to limit the number of issues with installing on iPhones with old OSs.
What strategy should I use when choosing what to compile against on the Android?
I have a div (.header) contained within other divs. When my page loads, momentarily just that one .header div "flashes" white as the page is loading, especially in in Firefox, but a little bit in IE8 too. I can't find what kind of CSS or lack thereof is causing this - there's no images or background color associated with that div. There is a logo.png within the .header. Thoughts?
http://dev.bwmsnow.co.nz/
I want a portable C++ IDE for general development, and too to develop basic Windows GUI applications.
In my research, I've found this (with latest version date):
CodeLite IDE (2010-04-02)
Code::Blocks (2008-02-28)
Bloodshed Dev-C++ (2005-02-22)
NetBeans (2009-12-10)
Ultimate++ (2010-03-16)
Qt Creator (2010-02-01)
But I don't know if some these IDE's supports Windows GUI development (or Cross Platform GUI development) or if can be Portable (NetBeans can be portable).
How can you suppress the 'Terminated' message that comes up after you kill a process in a bash script?
I tried set +bm, but that doesn't work.
I know another solution involves calling 'exec 2 /dev/null', but is that reliable? How do I reset it back so that I can continue to see stderr?
Thanks
Is there a library or good tutorial which covers creating in-app settings, like this:
http://img.skitch.com/20090625-s8bf6ahybwe3cesd1id38h3nt.jpg
What I would like is if it:
doesn't use the built-in Settings app
is controlled by a plist file with various Dictionaries and Arrays
creates a nice looking table view
allows text fields as well as switches and sliders and ticks etc
doesn't have any of the annoying problems I've come across when trying to build my own version (not scrolling to show the textfield, cells disappearing)
It would appear that the iphone dev world is crying out for such a thing.
THANK YOU!
I'm studying some systems that allow faster App dev cycles. So I stumbled upon BONITA. It seems that by preparing some connectors you can allow a Business to generate a whole App.
What's the limit of Bonita and what is needed to improve it ?
Hi,
I'm trying to figure how can I use git for multiple environments (dev-test-prod) with code promotion. I read a bit about branching but didn't understand much how can this solve my problem since I must have the ability to run all of the environments concurrently and separately from each other.
Will be very thankful for some kind of how-to.
I would like to learn if it is possible to redefine the "definePropery" function of the Object(.prototype) in a subclass(.prototype) so that the setter not only sets the value of the property but also eg executes an additional method.
I have tried something like that:
Myclass.prototype.defineProperty = function (obj, prop, meth) {
Object.defineProperty.call(this, obj, prop, {
get: function () {
return obj[prop]
},
set: function () {
obj[prop] = n;
alert("dev")
}
})
}
But id does not work
I hope this isn't oo trivial question, but when I call System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString() I'm getting back a lower case user ID, but other dev's are getting an upper case user ID. How can I force ystem.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString() to return an upper case string?