Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
code
- Page 1
Re: Error LNK1104 when debugging
Programming
Software Development
11 Hours Ago
by rproffitt
Given only this I won't be able to do more than comment how I use the Visual Studio system to debug my app. 1. I open the project. 2. I set the build to "Debug". 3. I set breakpoints on lines of
code
I suspect to be problematic. 4. I run the app while in Visual Studio. That's usually enough to track down what I did wrong.
Re: How to connect to the Pinterest API using PHP?
Programming
Web Development
4 Hours Ago
by geekinformatic
Hey! If you're using the CakePHP framework, you can connect to the Pinterest API with cURL and OAuth integration. Just follow Pinterest’s API docs for endpoints and token handling.
Re: How secure is Github?
Programming
Software Development
6 Days Ago
by kearawill
GitHub is generally very secure for hosting
code
, especially with features like 2FA, security alerts, … AWS Secrets Manager. When it comes to proprietary
code
or trade secrets (like specialized algorithms or business …, ensure that your team follows best practices for committing
code
, reviews, and repository permissions. In short: GitHub can…
Re: How do I remove the last character without breaking the string?
Programming
Web Development
3 Days Ago
by MAY_261
… handles multibyte characters and emojis correctly. Here is the correct
code
: $text = "私の名前はダバーです👩🚀"; $length = mb_strlen($text, 'UTF-8'); $new_text = mb_substr….com/tutorials/php/php-remove-last-character-from-string/ This
code
removes the last character without breaking the text
Re: How do I remove the last character without breaking the string?
Programming
Web Development
3 Days Ago
by Montasser_1
… characters and emojis correctly. > > Here is the correct
code
: > > > > $text = "私の名前はダバーです👩🚀"; > $length = mb_strlen…/tutorials/php/php-remove-last-character-from-string/ > This
code
removes the last character without breaking the text Thank you…
Can I Use AI to Build a Block Management Website for Ilford Clients?
Programming
Web Development
5 Days Ago
by kearawill
… curious whether AI tools (like ChatGPT, Copilot, or even no-
code
builders with AI integration) can speed up the development or…
How do I remove the last character without breaking the string?
Programming
Web Development
3 Days Ago
by Montasser_1
I try to remove the last character from a string with Japanese text and emojis using this
code
: <?php $text = "私の名前はダバーです👩🚀"; $new_text = substr($text, 0, strlen($text) - 1); echo $new_text; The output breaks the characters and shows garbage. How do I fix this?
Re: Coin Flip (Python Newbie)
Programming
Software Development
4 Days Ago
by Reverend Jim
When you want to do a loop a given number of times (e.g. 100) but the loop counter is not used you can do for _ in range(100): # rest of
code
here
Re: C++ College Prank
Programming
Software Development
5 Days Ago
by cirol
Pranks can be fun, but fake viruses might cause real worry and problems. It’s best to use your skills in ways that don’t upset or confuse others.
Re: How much anonymity does a VPN really provide?
Hardware and Software
Information Security
6 Days Ago
by Liam91
A VPN is a tool that keeps your internet connection safe and private. It stops others from seeing what you do online. But a VPN doesn’t make you completely anonymous. To pick a good VPN, check: -How you pay (Bitcoin is more private than a credit card) -If they keep records of your activity (best if they don’t) -If they share IP addresses …
Re: How secure is Github?
Programming
Software Development
6 Days Ago
by Dani
> I’d never recommend storing sensitive information like passwords, private keys, or database credentials—even with .gitignore. Instead Why not, though? Doesn't .gitignore just completely *ignore* the files to where they never touch Github's servers? To me, that sounds much more secure than Github secrets, where sensitive information *is* …
Re: Can I Use AI to Build a Block Management Website for Ilford Clients?
Programming
Web Development
5 Days Ago
by trcooke
This feels like a solved problem. Have you done any research for existing "off the shelf" property sales / real estate website solutions? I would start there as it could save you and your client a whole bunch of time and money compared to building one yourself from scratch.
Need a small footprint desktop with decent power
Hardware and Software
1 Week Ago
by wolfyshoo
… my workflow, which is mainly web development (multiple browser tabs,
code
editor, local server), some graphic design work (Figma, Affinity Designer… does it handle multitasking and sustained performance for things like
code
compilation or rendering video? I'm particularly interested in whether…
Re: Hi everyone, I'm IntelliVinj
Community Center
Say Hello!
1 Week Ago
by menukids
… here — love your passion for programming and exploring no-
code
/low-
code
tools,That problem-solving mindset is something we value too…
Re: Key Tools and Tips for Efficient Web Development
Programming
Web Development
3 Weeks Ago
by JackRyan248
…'t forget about version control with GitHub to manage your
code
and track changes. > > Additionally, browser developer tools are…. GitHub is essential for version control. I also find VS
Code
and Stack Overflow helpful for efficiency. What other tools do…
Convert jQuery to native Javascript
Programming
Web Development
2 Weeks Ago
by Dani
I know that this is probably a hopeless question, but are there any automated scripts that would *reliably* and *automagically* convert my thousands upon thousands of lines of jQuery
code
into native Javascript?
Re: When Speed Replaces Satisfaction in Coding
Community Center
Say Hello!
1 Week Ago
by trcooke
… you mentioned. Can you develop
code
quickly while maintaining your values? Is your
code
well tested? Is your
code
beautiful? Do you have… confidence in your
code
? Can you put your
code
in production and…
Re: I looking for long term cooperation possible client.
Programming
Software Development
1 Week Ago
by Stiven_1
Sorry, I used a
code
I had practiced before to sign up quickly. This
code
is This JavaScript
code
simulates a basic blockchain — like a mini version of Bitcoin — without a network or mining. It helps you understand how blocks are linked and verified.
Re: When Speed Replaces Satisfaction in Coding
Community Center
Say Hello!
1 Week Ago
by Reverend Jim
… not what to do with them. ChatGPT gave me the
code
, saving me from a day or two of experimentation. That… to create the rest of the
code
to solve my problem. Similarly I prefer to
code
in higher level languages, not assembler…
Re: My php is showing wrong results of time difference
Programming
Web Development
1 Week Ago
by Dani
> Also just one more question regarding your
code
, I will have to minus 1 hour from the total … figured this out yet, the answer is no :) In my
code
above, see where I am showing you what $diff looks…: $total_hours = $diff->format('%h') - 1; This is all untested
code
. :)
Re: My php is showing wrong results of time difference
Programming
Web Development
1 Week Ago
by Mr.M
… and the other is for timeout. Let me try your
code
and see if it does solve the problem I've… been having. Also just one more question regarding your
code
, I will have to minus 1 hour from the total…
Re: Coin Flip (Python Newbie)
Programming
Software Development
3 Weeks Ago
by jassonadder
… don't change. Here's a corrected version of your
code
: import random coin_heads = 0 coin_tails = 0 timesflipped = 0 while timesflipped…
Re: Fujitsu Windows Server 2019 Servers Rebooting at 11pm every day
Hardware and Software
Microsoft Windows
2 Weeks Ago
by Reverend Jim
… design are still essential techniques. I have seen too much
code
written by self-taught programmers who, through ignorance, eschewed good…
Re: Fujitsu Windows Server 2019 Servers Rebooting at 11pm every day
Hardware and Software
Microsoft Windows
2 Weeks Ago
by Dani
> I have seen too much
code
written by self-taught programmers who, through ignorance, eschewed good …
Re: Error when sign in with Google
Community Center
Meta DaniWeb
2 Weeks Ago
by Dani
It should be fixed now. Unfortunately it's been broken for quite awhile and I didn't realize it. It broke on the 5th of the month when I went through all the
code
and mass-added a wrapper that ran some sanitization stuff. So sorry about that! Either way, it's fixed now.
Re: Why am I getting a 401 Unauthorized error when calling the Management API?
Programming
Web Development
1 Week Ago
by Dani
… is from using the Auth0 API. Can you post your
code
that connects to the API please? (And why, as an…
Re: I looking for long term cooperation possible client.
Programming
Software Development
1 Week Ago
by Dani
You might want to check out Upwork or Toptal to get freelance development work. May I ask what the
code
you provided here does? It seems to just be a constructor function with some getters and setters, but is missing the rest of it. Was it written by ChatGPT?
Re: My php is showing wrong results of time difference
Programming
Web Development
1 Week Ago
by Mr.M
Thank you, you saved me, I've been trying for weeks now. It works now perfectly with your
code
.
Re: Android Native - How To Request Notification Permissions
Programming
Mobile Development
1 Week Ago
by Erussuhsh
Hi I'm new android app development can you teach me
Re: Need a small footprint desktop with decent power
Hardware and Software
1 Week Ago
by Dani
Not too long ago, I ditched a suuuuuper expensive ~10 year old Dell Precision workstation with like 64 cores or something crazy, multiple video cards, dedicated RAID controller, etc. for a much less expensive M1 Max Macbook Pro. The macbook outperformed the Dell for everything I did by far.
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC