Re: High Fashion Department Store program to produce its monthly bills Programming Software Development by retseaz77 That’s a great topic! For a high fashion department store, a billing program should ideally include: Customer profile and purchase history tracking Automated invoice generation Tiered discounts or loyalty rewards Integration with inventory and sales systems If you're exploring options or want to understand how fashion businesses … What are some underrated React JS best practices? Programming Software Development by James_228 … Components or Signals yet? Share your tips, tools, or even code snippets. Let’s build a solid thread of modern React… Handling Real-Time DOM Sync in SSR React App with Dynamic Nested Routes Programming Web Development by Neil_brown001 …—especially when the component tree changes due to route-based code-splitting, and some child components rely on shared context/state… Re: Looking for an developer-Friendly Admin Template Programming Web Development by Pelorus_1 Consider admin templates with clean code, easy customization, and robust documentation if you're looking for developer-friendly templates. Save time and increase productivity by using templates with modular components and built-in UI elements. 【McCharts】基于鸿蒙 ArkTS 语法开发的图表组件 -- 折线图 Programming Software Development by 杨_659 … value are required. The following is the specific code: ```js //Chart data feature interface interface interface_data …will also write some logic in the code. Please read the code carefully: ```js build() { Canvas(… length; i++){ ... } // The above is the code for getting the longest text width // Line drawing method … 开源啦!!!基于鸿蒙 ArkTS 封装的图表组件《McCharts》,大家快来一起共创 Programming Software Development by 杨_659 …testing of all properties before release. However, *bug-free code is a myth*, so prompt feedback is appreciated! ---… ### **Open-Source Management** We chose **GitHub** for code hosting (mainstream and reliable). Completed components are managed via …to reach out via GitHub’s group QR code or direct message—I’ll respond promptly. … How secure is Github? Programming Software Development by Dani I use Github for DaniWeb's code base. I was just wondering though. How secure is it? Would you ever store passwords or other sensitive information in Github (Don't worry. We use .gitignore.)? What about code that could be considered a trade secret, or that type of thing? Multiple MySQL connections + transactions Programming Databases by Dani I ran into a bit of a snag in my code, and I'm trying to make heads or tails as … What do you do for work? Community Center Geeks' Lounge by Dani I just thought it would help us get to know each other a lot better if we each just gave 1-2 sentences about what we do for work. I'll start :) For the past 24 years, I have owned and written the code for DaniWeb. For the majority of that time, I sold advertising on the site to make a living. Null Pointer Exception in Java Application – Need Fixing Programming Software Development by YashSmith … trying to access an object property. Here's the problematic code: public class Test { public static void main(String[] args) { String… Segmentation Fault in C++ Program – Need Debugging Programming Software Development by YashSmith … when trying to access an array element. Here’s my code: #include <iostream> using namespace std; int main() { int… Re: Segmentation Fault in C++ Program – Need Debugging Programming Software Development by rproffitt Thanks for the MVE (minimum viable example). But it's just bad code. c, c++ and a lot of language won't stop you from going out of bounds. Re: Buggy career talk :-P Programming by Reverend Jim …bug was one I introduced myself. While making a miniscule code change I decided to improve the readability of the following… line by inserting a space. In today's code that would not be a problem, however, most of our…the sequence area it was ignored by the compiler. The code still compiled, but now all the parameters following that were… Re: Show computer name on a label Programming Software Development by toneewa … Language RunTime Support (/clr) Configuration Properties->C/C++->Code Generation-> Enable C++ Exceptions-> Yes with SEH Exceptions… (/EHa) Configuration Properties->C/C++->Code Generation-> Basic Runtime Checks-> Default Configuration Properties->… Re: Show computer name on a label Programming Software Development by toneewa … Language RunTime Support (/clr) Configuration Properties->C/C++->Code Generation-> Enable C++ Exceptions-> Yes with SEH Exceptions… (/EHa) Configuration Properties->C/C++->Code Generation-> Basic Runtime Checks-> Default Configuration Properties->… Re: What are some top-rated Bootstrap admin templates that not rely on Tailwind Programming Web Development by Dani … experience do you have? Are you experienced with creating HTML code that uses css classes to piece together something unique? Bootstrap… Re: Need currency pound symbol before amount calculation Programming Web Development by gottaloveit [Currency.js](https://currency.js.org/) also works very well for this Re: How secure is Github? Programming Software Development by rproffitt Given the state of affairs in the USA, any security we thought we had is gone. DOGE is gaining access by force now. Do we really need this conversation? Re: How secure is Github? Programming Software Development by Salem Given who owns github (M$), and their location (U$A), I wouldn't trust anything commercially sensitive with them. Why do you even need it, apart from the simple convenience of it all (that's the trap, make the honeypot sweet enough, plenty will arrive). There's not much there that can't be replicated on a server machine you physically control.… Re: How secure is Github? Programming Software Development by Reverend Jim I don't trust any online service to store my information, sensitive or otherwise, other than whatever password I use to access a particular site. And I assume (mistake, probably) that they keep only the encrypted copy of the password. I saw an ad a while back (I think it was on Ask Woody) for a service that offered to keep all your financial … Re: How secure is Github? Programming Software Development by Dani > There's not much there that can't be replicated on a server machine you physically control. Redundancy in the cloud. > How many people have commit rights on your codebase? Every contributor has a complete copy of the entire git repo. So even if you lost everything, you can sync with any of your peers and be back up and running to the… Re: How secure is Github? Programming Software Development by pritaeas No sensitive info in any CVS. If I had a codebase such as DW, I'd store it in a local git store, synced to another machine of mine. No cloud. Re: How secure is Github? Programming Software Development by Salem TBH, if it's "just me", then password protected tarballs of your `.git` directory, uploaded to one of the more trustworthy sites might be an option. I wouldn't touch google/onedrive with a barge-pole. Dropbox maybe at a pinch. Personally, I use https://mega.io/ If your DW hosting provider gives you access to filespace outside of the… Re: How secure is Github? Programming Software Development by pritaeas https://www.theregister.com/2025/03/17/supply_chain_attack_github/ Re: How secure is Github? Programming Software Development by Dani > https://www.theregister.com/2025/03/17/supply_chain_attack_github/ Well that’s coincidental. Doesn’t seem to apply to our repo though because we don’t use tj-actions/changed-files and use private repos. More to say when I’m not on my phone. 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.