I have the same problem as in the following post.
So I am wondering, why doesn't Rails support generating foreign keys by default?
Isn't it necessary?
Or are we supposed to do it manually?
using gdk_screen_get_monitor_geometry (xrandr) I can get the resolutions for
separate monitors (for example when there are 2 monitors used as a single screen like nvidias twinview)
However _NET_WORKAREA seems to give one giant area even if the resolution of the other monitor is smaller. (a panel at the bottom of the second monitor would appear to be inside this work area)
How can I get the actual workarea of other monitors even getting struts there seems no support for separate monitors just the main one...
Why don't more mainstream statically typed languages support function/method overloading by return type? I can't think of any that do. It seems no less useful or reasonable than supporting overload by parameter type. How come it's so much less popular?
We're approaching a point of replacing several of our developer PCs and would like to move up to 64-Bit to maximize the hardware/life of the PCs but we also need to support several legacy VB6 applications. That said, does the VB6 IDE run on Windows 7 64-bit?
Microsoft says it's not supported, but that doesn't necessarily mean it doesn't work.
Does it work?
Are there any pitfalls/workarounds needed to get it running?
Not sure if yall can help this time, as I'm just using this particular program not coding with it...
I downloaded Deluge, a free torrent app, and it requires GTK2 Runtime which I've also installed. Unfortunately, on my English WinXP with East Asian Language support Deluge sets itself to Chinese menus and has no option to alter the language. A bit of poking around on the internet suggests this is due to GTK2 selecting the wrong default language.
Does anyone know how I can override this?
I want to downgrade to SL3 on my Mac after accidently installing SL4 Beta.
I've tried the SL3 uninstall procedure:
rm -rf /Library/Internet\ Plug-Ins/Silverlight.plugin
rm -rf /Library/Receipts/Silverlight*.pkg
rm -rf ~/Library/Application\ Support/Microsoft/Silverlight
But still get an error message when I try to install SL3 saying there is a newer version there.
Anyone got any input on how to do this ?
Anyone know a decent Java libarary for HTML elements?
Ex if I want to create an img-element, I would go new Image(...)
The object should support the normal HTML functions/attributes, such as setting CSS or disable.
Hi,
I created a small WPF desktop application. I am thinking about how to make my application internationalized. Is there any Language Class to research (.NET 3.5 based)?
I want to load the my application language from windows region/language configuration automatically.
OR. some method to switch language from my application menu list.( no additional language package installation, assume the windowns system language packages support Chinese/English/Japanese/Korea already).
Hello,
As I know Android Froyo will support Flash 10.1.
I just wonder how Flash apps could be distributed on Froyo based device.
Will Google allows distribute Flash apps by Android Market?
Or, any other ways for it?
Regards,
Wonil.
IXwebhosting has stated that they do support this functionailty but when the project is uploaded you cannot access any of the pages other than the home page. Does anyone have a good guide of how to do this?
I get a crash like this:
#0 0x2c58def0 in raise () from /lib/libpthread.so.0
#1 0x2d9b8958 in abort () from /lib/libc.so.0
#2 0x2d9b7e34 in __malloc_consolidate () from /lib/libc.so.0
#3 0x2d9b6dc8 in malloc () from /lib/libc.so.0
I guess it is a heap corruption issue. uclibc does not have mcheck/mprobe. Valgrind does not seem to MIPS support and my app (which is multi-threaded) depends on hw specific drivers. Any suggestions to check the consistency of the heap and to detect corruption?
I have a C++ application that needs to support binary database content (images, etc). When using MS Access or MS SQL Server this data is wrapped inside an OLE object. How do I strip this OLE header information? Note that I can't just look for the beginning of a specific tag as the content can be png, jpg and a whole heap of other formats. Should I use something like COleDataObject?
I followed the instructions here
http://support.microsoft.com/kb/825532
After that when I preview my page, I can't see the hitcounter. I learned that it may be related to permissions of the site but I couldn't find how to do it.
Is it realy related to permissions ? If so what should I do to ? And any external solution (except this one: http://hitcounter.codeplex.com/) would help, the one in pharanthesis, I couldn't make it work.
1) Refcounted pointers need stack variables to have constructors / destructors called at predictable places.
2) Objective-C, afaik, does not support the above.
3) The cocoa libraries are bound in Objective-C, not C++.
Thus, my question: is there a easy way to use the Cocoa libraries, yet still have most of my app in C++ (and thus use my refcounted pointers)?
Thanks!
(iPhone in the title since this is mainly targeted at the iPhone)
There are two major refactoring tools which can be installed for Visual Studio that provide C++ support. The full versions of both tools are $250, and they seem to offer similar functionality. They are:
Developer Express' Refactor Pro + CodeRush
Whole Tomato's Visual Assist X
Which tool is better?
I want to create large image by C#. (i have some photos with large size (4800 * 4800). i want to merge these photos.)
I use Bitmap but don't support. (Error : Invalid Parameter)
I'm using Master Page in my ASP.net application, in the master page I put a ContentPlaceHolder in Update Panel to support AJAX in child pages, the question is how to stop Refreshing "master page controls" while navigating between pages?
For navigation between pages I tried to use Response.Redirect, windows.location java script with no success, shall I use the Frames or IFrames instead of Master Pages to stop Refreshing?
any suggestion to solve this issue will be highly appreciated, Thanks in advance...
Is there support for sliding expiration in the GAE MemcacheService? I can do a crude implementation where following every get() I do a put(). This will effectively reset the expiration time but this obviously is not an efficient solution.
Any pointers on how I can implement this more efficiently?
Thanks,
Keyur
We are using a JEE application and we are right now using Informix DB.Our code hits the DB with queries like
"select first 10 * from test"
Now as far as I know Oracle does not support 'first 10 *' kind of statements.We have more than 1000 queries like this.Should we manually change this or can have some manual customization?
I am very new to Win7 and WMI. Please advice me where to see for active access point from WiFi and how to get ssid/rssi for each access point.
I have use:
ManagementClass mc = new ManagementClass("root\\WMI", "MSNdis_80211_ServiceSetIdentifier", null);
ManagementObjectSearcher searcher1 = new ManagementObjectSearcher(@"root\wmi","SELECT * FROM MSNdis_80211_BSSIList");
but I got 0 results. Is this class support Win7? Anybody can help?
I'm studying Python after a lot of PHP experience and it would be handy to have type-hinting in Python. Looks like eclipse + pydev doesn't support this. Any suggestions?
For example, I want my IDE to show function docstrings and types, when I use it, like:
def f(x: int) -> int:
r"""Adds 3 to x"""
return x + 3
f( #and now IDE shows everything about types
I need effective algorithm to keep only ten latest files on disk in particular folder to support some kind of publishing process. Only 10 files should present in this folder at any point of time. Please, give your advises what should be used here.
Does Google provide a feed so that I can read IN their Google Base Real Estate database?
http://base.google.com/support/bin/answer.py?answer=66779&hl=en
If so, where is this feed and how do I access it?
I'm thinking about getting a small touchscreen to work with the Windows Phone 7 emulator... but will the developers tools support multi-touch from a touchscreen? I've only seen it with single mouse clicks so far...
I've read in multiple places, including highly recommended PHP books published several years ago, that PHP 6 was just over the horizon, and would fix several of the BIG outstanding issues with PHP (namely unicode support). However, its been several years even since I've read those books, and PHP 6 is still not considered kosher for production use.
Is there a specific feature that is proving difficult to implement or is it a simple lack of community desire to develop PHP 6?