Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
base64
- Page 1
Re: Delete unused MySQL indexes
Programming
Databases
12 Hours Ago
by Reverend Jim
I faced a similar problem when I created and maintained the corporate side databases to mirror the EMS (AGC/SCADA) real time data. One month of data was roughly 300 meg and it was critical that this be available 24x7. Sometimes databases break and it is important to recover them as quickly as possible. Knowing that around 90% of the queries were on…
Re: 💻 What’s the First App You Install on a Fresh Windows Machine?
Hardware and Software
Microsoft Windows
1 Week Ago
by Reverend Jim
First app is Macrium Reflect so I can take an image of the fresh install. Then I repartition to C/D, move my user folders (documents, pictures, etc.) to D. Then I take another image. After that I begin installing my base apps before imaging one more time.
How secure is Github?
Programming
Software Development
1 Month Ago
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?
Re: How to Efficiently Develop Apps for iOS and Android?
Programming
Software Development
2 Months Ago
by gorgebutler
Developing apps for iOS and Android efficiently requires the right strategy and tools. Using cross-platform frameworks like Flutter or React Native helps save time and effort by allowing developers to write a single code base for both platforms. Optimizing performance, focusing on user-friendly design, and following platform-specific guidelines …
Re: How old is your computer?
Hardware and Software
2 Months Ago
by Reverend Jim
I stick with Windows because of long familiarity at the office. After years of networking/sysadmin and dbadmin I just had too much invested in MS. Too bad OS/2 died. When we got PC workstations for the control centre operators to interface to our AGTC/SCADA system we went for OS/2. We felt it was far superior to anything from Microsoft at the time…
Re: How secure is Github?
Programming
Software Development
1 Month Ago
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
1 Month Ago
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
1 Month Ago
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
1 Month Ago
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
1 Month Ago
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
1 Month Ago
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
1 Month Ago
by pritaeas
https://www.theregister.com/2025/03/17/supply_chain_attack_github/
Re: How secure is Github?
Programming
Software Development
1 Month Ago
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.
Base Conversion Module
Programming
Software Development
16 Years Ago
by lapo3399
I'm new to Python, and as I was coding for Project Euler to develop my skills in this language, I needed a function for converting between two bases. I know that int() can convert anything to base 10, but before I looked for a Python module concerning this math, I thought it would be a good idea to try and code one myself. Please, let me know if …
Base Conversion Class
Programming
Software Development
14 Years Ago
by Patplays852
Below is a Base Conversion Class that will take in any number (up to around 2.4 billion digits (limited by string.substring's integer property)), It will convert from any base to any base (from 2-36 inclusive) It does have some simple error handling such as if you enter a number that is incorrect for its base (ex: FF in base 15 and under), it will…
Re: Base Conversions
Programming
Software Development
11 Years Ago
by David W
@tinstaafl ... a Dani Virtuoso indeed ... very well designed and developed ... and demos the efficent code that can be often obtained by the use of tables. This variant, with validation of user input, may want some more testing ... but it seems to do the job of limiting input to a valid range ... well maximizing the range of numbers that can be …
Re: Base Conversion Module
Programming
Software Development
10 Years Ago
by vegaseat
If you are using Python3 ... ''' den2anybase.py denary to any base (2 to 36) conversion Python3 ''' def den2anybase(number, radix): """ well, most any base with a radix in the range of 2 to 36 given a denary integer number (base 10) return the base radix representation as a …
Re: Base Conversion Module
Programming
Software Development
16 Years Ago
by jlm699
As far as conversions are concerned there are a number of functions: [QUOTE]int(x [,base]) converts x to an integer long(x [,base]) converts x to a long integer float(x) converts x to a floating-point number complex(real [,imag]) creates a complex number chr(x) converts an integer to a character unichr(x) converts an integer to a Unicode …
Re: Base Conversion Module
Programming
Software Development
16 Years Ago
by bvdet
I would like to share this function that converts a number in base 10 to any base between 2 and 36. Originally it was limited to bases 2-16. [code=Python]import string def convDecToBase(num, base, dd=False): if not 2 <= base <= 36: raise ValueError, 'The base number must be between 2 and 36.' if not dd: dd = …
Base 10 to base 3 conversion
Programming
Software Development
13 Years Ago
by monkeybut
I am having trouble figuring out how to convert base 10 to base 3, I have tried several different attempts and this is my latest effort, anyone have any ideas. I was giving this algorithm but am having trouble creating a function for it: [B] 1. Set k to the number of digits needed in the converted number(k = floor(logb(v)+ 1) or (floor(10(v)/…
Base Conversions
Programming
Software Development
11 Years Ago
by Emma_3
I'm trying to convert a number from any base between 2-36 to any base between 2-36. I have the conversion to base 10, but I'm having trouble getting it from base 10 to the desired base. Any ideas? I know part of this idea will work, I just can't get it all together syntatically. And don't worry about the checks (user inputs number 13, base 2), I'll…
Re: Base Conversions
Programming
Software Development
11 Years Ago
by David W
You do show some nice style in your coding ... But ... it is NOT good to use NON standard code ... as a general practice ... you want to have skill in coding PORTABLE code ... code that conforms to the present C++ standard. You might like to see this edit of your code, with some fixes ... Keep up the neat coding you are doing ... it sure makes …
Base converter
Programming
Software Development
20 Years Ago
by Asif_NSU
I have written this program to convert a decimal number to a number of any base. The resulting number has been put into an array and so can be of any size. But the decimal number that i take as input is limited by the range of int. What i want to do is to take it as a string and then change its base. The challenge is that i then cant divide and …
Re: Base 10 to base 3 conversion
Programming
Software Development
13 Years Ago
by Duoas
Your professor has actually given you a complete solution -- but his pseudocode is a bit off. Your function should take only one argument: [b]v[/b] - the value to convert to base 3. Everywhere you see "b" in his pseudocode you should replace that with "3" (because "b" is the [i]base[/i] -- your base is [i]3[/i]).…
Re: Base Conversions
Programming
Software Development
11 Years Ago
by tinstaafl
One way to make your coding more efficient is to use a string to represent the digits that may be encountered: const string digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; Now for any base the value of a particular digit can easily be converted to the appropriate symbol just by using the index of `digits`(Hex 'F' has a value of 16 …
Re: Base Conversion
Programming
Software Development
11 Years Ago
by john.kane.100483
Well here's my program now. I just insert your codes to my program. #include<conio.h> #include<stdio.h> #include<string.h> #include<ctype.h> char base; char key; void Binary2Decimal(); void Octal2Decimal(); void Hexa2Decimal(); void main() { do{…
Re: Base Conversion
Programming
Software Development
11 Years Ago
by Schol-R-LEA
I see what the problem is now; the lines total=(total<<8)|8; and total=(total<<16)+8; need to be total=(total*8)+value; and total=(total*16)+value; respectively. The reason the binary version worked with this approach is because it is working on the bits directly; the `<<` operator is the left shift,…
base class pointer and derived class object
Programming
Software Development
13 Years Ago
by gauravk_bhanot
[CODE]#include<iostream> #include<conio.h> using namespace std; class base{ public: base() { cout<<"base constructor"<<endl; getch(); } virtual void out() { cout<<"I AM BASE"<<endl; getch(); } }; class derived : public base { public: derived(){ cout<&…
Re: Base converter
Programming
Software Development
20 Years Ago
by Asif_NSU
I have this vague idea that when developing an arbitrary precision arithmetic it is necessary to convert a number to a higher base. The number if converted to a higher base will require less digits and so we will get an increase in the speed of multplication, addition etc. Actually my reason behind writing this base conversion program was a first …
Base conversion program (C++)
Programming
Software Development
14 Years Ago
by jengah27
I'm a little new to c++. I have written a code for a base conversion program. It handles base conversion between bases 2-36 and stops when the user enters "0". I have written the program, however I still need to make it convert whole numbers instead of just integers. Ex: 0.22 or 13.587 etc. I also need to be able to convert negative …
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