can i create a case insensitive string column in sqlalchemy? im using sqlite, and theres probaby a way to do it through DB by changing collation, but i want to keep it in sqlalchemy/python.
Hello
im trying to programmatic select and change the background color of all the columns of QStandardItemModel
i have this that paint me only the first column out of 5 that the row contains
// getting the rows
QStandardItem* standardItem = m_model->item(i);
//set the color i like all the row to be painted
standardItem->setBackground(QBrush(QColor(255,0,0)));
Hello,
Im running the following code on my Nokia E71. But after the text input, the program closes abruptly. I have a GPRS connection on my phone,but i still seem to be having some problem with urllib.urlopen
The code is as follows :
import appuifw,urllib
amountInDollars = appuifw.query(u"Enter amount in Dollars","text") data=urllib.urlopen("http://www.google.com").read()
appuifw.note(u"Hey","info")
Any way to fix this problem ?
Thank You
Hi Guys,
Im trying to run a function that will never end (until the program is killed)
How would i start such a function and be able to continue on past that function, because at the moment the program will not run past the never ending function.
Regards
Paul
Im a beginner for C# language.So i need a help from who genius from this scheme.i need to add a radio button for menu strip. i already change "clickonclick" property to "true".but i need a option like radio button selection. you can see it from windows calculator menu bar.(click View)
how can i get to it via using menustrip peoperty.
I'm using windows and I notice that a lot of functions are grayed out because I guess #ifdef GL_GLEXT_PROTOTYPES is not defined. One of these is the VBO extension. Should I just define GL_GLEXT_PROTOTYPES? Otherwise how else can I use VBOs since im using OpenGL32.dll (I want my application to have no dll dependencies not included in Windows by default.) Thanks
im trying to figure out how to authorize only unauthenticated users. i have a sign in tab displayed in my site map and i only want it to show up when the user hasnt yet logged in.
ok so im having an issue with Flash CS5.
I have a sound looping, and my animation is only 13 frames long, while the song is like a minute long, so each time the animation loops threw the default "Loop Playback" a new sound audio is played which os overlapping the previous over and over causing a massive echo effect.
Whats the best way to loop both of them insync, or atleast copy and paste the animations frames and make it the length of the song?
i have a javascript that i need to load at the body, but since im trying to build something flexible i really want it to function on a onLoad on a divtag. But thats not going to happen as i understand it as onLoad does not work on a divtag.
is there another way i can load/start a function within a divtag?
im using windows form application..using c# . i have a label that displays some text when i click a buttom. now i want the label to display its text only for 10 seconds and later it should get disabled.
CAn any1 plz tell me how 2 make a NIS server...
plz do tell me d files which r goin 2 b used alongwid their path...
Nd im usin Linux nt Solaris any other machine....
Heres what Im thinking. Do you see any issues with this workaround to emulate 2 phase commit when using something like MongoDB where each operation is atomic and there is no support for transactions outside of that?
transaction_scope:
read message from servicebus - UpdateCustomerAddress
get customer aggregate from docdb, replay events where commited =1
call customer.updateAddress
validates
creates customer address updated event
apply event
event store as uncommitted events
do optimistic concurrency update against docdb pushing uncommitted events (single op to ensure consistency)
publish event to service bus
update docdb set events just published to commited = 1 (again one 1 op - at least in mongodb)
transaction_complete
Hey
is there any way to send whats in a text view (im trying to make a suggestion box) to my email address?
example
user types in the box " I think you should add twitter support"
then that is sent in the background to my email address [email protected]
then a message is popped up on the screen saying "suggestion sent"
just an example of what i mean
Any ideas, tutorial links would be greatly appreciated guys
Thanks
I am struggling to solve the following problem
http://uva.onlinejudge.org/external/1/193.html
However Im not able to get a fast solution.
And as seen by the times of others, there should be a solution of maximum n^2 complexity
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=3&page=show_problem&problemid=129&page=problem_stats
Can I get some help?
i'm trying to map my whole application in a UML diagram and i wonder what diagram type i should use.
im not doing this in class level, rather from a bird eye's perspective.
single application object (patterns: singleton)(examples: CodeIgniter application) that composes
multiple module objects (patterns: singleton, facades)(examples: guestbook, addressbook) that compose
multiple low level stand alone objects (examples: mysql mapper, doctrine mapper) that compose
various 3rd and in-house libraries (examples: doctrine, solr, xml-parser)
what UML diagram is suited for this kind of overview presentation?
thanks
thx for the answer..can i asked u more question.hehe..since im new in sql...thx b4...
how about if i hv 2 loop
while @@fetch_status=0
begin
set y=y+1
set x=0
while @@fetch_status=0
begin
x=y+1
if y = 5
'exit the second do while and back to the first do while -- y=y+1
end
end
I have webservices deployed on two containers in two separate servers A and B.
A webMethod in 'Server A' needs to invoke a webmethod in 'Server B'.
I have created a client stub for Sever B. Im trying to make 'Server A' use this client stub and talk to Server B. I get an exception while trying to instantiate the port object
specifically at : service.getABCBeanPort();
(using JAX-WS library)
Is my approach correct? Is there any better way of invoking a webservice on a remote server?
Folks,
Im using MSCRM 4 and I have a contact entity with an actual job title and a normalized job title field. I would like to populate the normalized job title field based on the actual job title. I created a seperate entity which is a table that corelates the nomalized job title with the actual job title eg Administrative CFO equals CFO. I guess this needs to be done via an on-load or on-save script But I cant figure out how to do it.
Any help would be much appreciated
Regards
Joe ( Scotland)
hi, i have a code generator project i would like to offer like open source, but giving programmers the option to get some money writing plugins, anyone having experience about how to do it?
for example im thinking in doing some kind of packets or plugins to add to the application...
I need to send messages to users when items are added to a list. My requirement is not to use email or IM application. Could I use MSG or Net send as a solution and if so can somebody give me some pointers ?
I have 300 boolean fields in one table, and im trying to do somithing like that:
One string field:
10000010000100100100100100010001
Ha a simple way to do a simple search os this field like:
select * from table where field xor "10000010000100100100000000010001"
:)
Help!!
Hello. Im doing a webpage about apples (the fruit), I want to include Google search results for apple recipes in the bottom of the page. How can I do this? If there is a copy-paste code in Google, I didn´t find it. Thanks
Ok this is bugging me.. I know Ive read it somewhere and google isnt helping.
what is the accessibility level of a method that does not specify an access modifier?
void Foo()
{
//code
}
I want to say its internal but Im not 100% sure.