Re: Cannot run exe from asp.net Programming Web Development by lennyli …text = command.split(' ', 1) pyautogui.typewrite(text) conn.close() server_socket.close() if __name__ == "__main__": main() ``` ### Step…-8')) break client_socket.send(command.encode('utf-8')) client_socket.close() if __name__ == "__main__": main() ``` … Re: Are we being played by AI? Let's Discuss! Community Center Meta DaniWeb by Reverend Jim I've had close relatives who had that but I don't recall headaches as a symptom. I hope I never get it (I can't get the vaccine because it's a live vaccine). Good luck with recovery now that you have a diagnosis. Re: Question/Answering over SQL Data Using LangGraph Framework Programming Computer Science by Pelorus_1 Through its combination of natural language processing and structured query generation, LangGraph makes interfacing with databases and extracting insights over SQL data easier than ever. Multiple MySQL connections + transactions Programming Databases by Dani … connect to Database B // Write some stuff with Connection 2 // Close the transaction associated with Connection 1 This is probably the… 开源啦!!!基于鸿蒙 ArkTS 封装的图表组件《McCharts》,大家快来一起共创 Programming Software Development by 杨_659 … a lack of practical, flexible chart implementations for ArkTS—nothing close to ECharts’ versatility. So, I decided to build my own… Re: How would we poison AI web crawls? Hardware and Software Information Security by rproffitt … those scraping for LLMs. It devours anything that gets too close. @aaron 🔗 https://zadzmo.org/code/nepenthes/ 🔻 Quixotic Feeds fake content… Re: How old is your computer? Hardware and Software by SCBWV MANY years ago I had a Dell Precision Workstation with two CPU sockets and (I believe) the Xeon processor, and error correcting memory. I had a SCSI hard drive, which was very fast for the time. Love the machine, but not close to what is available today performance-wise. Re: Why my iPhone runs so slow recently? Hardware and Software macOS by Dani I think you're referring to physical memory (hard drive space) and not random access memory (RAM). Using up all your hdd space can make your phone go slower. RAM is transient and is just the memory the apps you currently have open at the time are using. The amount of RAM you use goes down when you close out of apps or restart your phone. Re: Selling the house that I grew up Community Center Geeks' Lounge by Reverend Jim … too hard to maintain at our age and the drive (close to eight hours) was just getting to be too much… Re: Running Apache Tomcat behind a IIS reverse proxy with SSL termination Programming Web Development by blud …'t get sent the right HTTP headers, and will prematurely close the connection, this should be very visible inside the tomcat… Re: How Can I Increase More Traffic of My Website? Digital Media Digital Marketing by melodyce … at the beginning of the website to increase website traffic, close to the user's recent search intention. Introducing users to… Re: Multiple MySQL connections + transactions Programming Databases by Dani A slightly related question: Is it okay to use PHP's `mysqli::select_db()` function to switch databases in the middle of a transaction? This is what got me into trouble in the first place, when I started a transaction, performed some writes, switched databases, and then wrote to that second database, and then switched back, and performed some … Re: Multiple MySQL connections + transactions Programming Databases by Salem https://www.php.net/manual/en/mysqli.select-db.php I think the key word in all of this is "default". You can probably do what you want, but you have to refer to each DB by it's own handle. Using `select_db` is fine, if you only have one DB and you want to be lazy about referring to it. So you make it the default DB. But as … Re: Multiple MySQL connections + transactions Programming Databases by Reverend Jim As far as I know you can connect to more than one database at a time but you require a separate connection object for each one. Since queries go through the connection object you can't run a query on more than one db at a time. It seems to me that transactions are also connection based so you would have to manually roll back a transaction on A if … Re: Multiple MySQL connections + transactions Programming Databases by Dani I am already using multiple MySQL connections throughout the project, as well as select_db() in some other places. My question specifically revolved around if anyone can explain why select_db() implicitly committed the transaction, and then when done again to return back to the initial database, it did a rollback instead of commit. Re: Multiple MySQL connections + transactions Programming Databases by Reverend Jim In that case I can't suggest anything. I've never had to update multiple databases for any of the systems I set up. Re: Multiple MySQL connections + transactions Programming Databases by toneewa You're not suppose to switch databases with a connection mid-transaction. It's by design to rollback because it considers it a change to the session context. XA Transactions can be done if you use the InnoDB storage engine. Create separate PDO connections for each database. I wonder what kind of results you get with autocommit, serializable … Re: Multiple MySQL connections + transactions Programming Databases by Dani > If the databases are on the same server and use InnoDB, you can use fully qualified table names, and write to multiple databases on a single connection. That's what I ultimately started doing instead! Thank you so much for a definitive answer to my question. Close call ... Community Center Meta DaniWeb by Dani There was a close call tonight! We almost lost most of our entire database! Luckily (after a few hours on edge) I was able to restore a back-up of a MySQL dump. Re: Close form, open a new one Programming Software Development by Jazerix …it in the wrong order. Instead of using:[CODE]this.close(); new form3().Show();[/CODE]Try using:[CODE]new form3().…Show(); this.close();[/CODE]If you close the only active form prior to opening a …Also i was kinda thinking, if you could edit the close button so it would send "Application.Exit();" The… Close a window - should require one word answer :) Programming Software Development by Aiban …) .. click it .. it tell you things .... it has a close button ... if you use the same code .. and you click…that .. so i change the code aquit = Button(awin, text = 'Close', command = awin.quit) but but .. the whole program still closes… about windows in tkinter and it had some type of close button, i mean every program i've ever used .....… close button on popover Programming Web Development by erum …-sm" style="background-color:maroon !important">Close</button> <button class="btn-save btn…-sm" style="background-color:maroon !important">Close</button> </div> </div> <… Close javax.jms.XAConnection and XASession Programming Software Development by amjad277 [B]- I try here to close the XAConnection and XASession session.close() connection .close() - but the server shows me this Exception:[/B] 2008-07… any one know why ? And what should I do to close the session and the connection correctly?[/B] close window of Java Program Programming Software Development by musikluver4 …WindowEvent e) { System.exit(0); } } );[/CODE] So once I close the Calculator program that I loaded within another java program…, both programs close, acting like one program, clicking the close button on the window closes everything.…(exiting) should not let the main program I load close as well? Re: close two forms at once Programming Software Development by Mitja Bonca …Form1 is closed, that means that whole application will close. Are we clear now? About your third form… big difference?). You can loop through Opened forms, and close them all (except Form1): [CODE] //on form3: …(form.Name != "Form1") form.Close(); } } [/CODE] This code will close so far Opened forms (except Form1). I … Re: Close form using another form Programming Software Development by Mitja Bonca …(login.ShowDialog() == DialogResult.OK) { //when login form will close the code will come in here //and login form will… close it self! } } //on login form: //when … = DialogResult.OK; //then the login form will close automatically when it will execute that code to the end… Close Excel after finished Programming Software Development by bklynman01 … it this way. My software will close the workbook with [ICODE]Me.exApp.Workbooks.Close()[/ICODE], but if you have the…would like to save changes. One instance of Excel will close when the program is exited, but the user normally …. If 8 instances of Excel exist, only one will close with the program. Any ideas? Anything would help! Thanks! Close button and MDI container Programming Software Development by Iamateur …got many forms and MDI container. There is close button on all the forms.One of the …is Homepage. 2]Whenever the user clicks on close button,i.e.the cross button with minimize …and maximize box, The form will close but at the same time it should redirect …. 4]What can be done with this cross close button? How to code for this? Should the… Re: Close javax.jms.XAConnection and XASession Programming Software Development by peter_budo … data processing } } catch (XAException e) { e.printStackTrace(); } finally { stmt.close(); con.close(); xaCon.close(); }[/code] If you have in above manner then please… Re: Close javax.jms.XAConnection and XASession Programming Software Development by amjad277 … = cnn.createXASession(); connection.start(); } catch (JMSException e) { } [/code] [B]and close it using: [/B] [code]@PreDestroy public void myDestroy() { session…