Need a small footprint desktop with decent power Hardware and Software by wolfyshoo … or rendering video? I'm particularly interested in whether the base M2 is sufficient or if the M2 Pro is a… Re: đź’» What’s the First App You Install on a Fresh Windows Machine? Hardware and Software Microsoft Windows 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. Re: Delete unused MySQL indexes Programming Databases by Reverend Jim … of minutes rather than hours. Inserts were done on the base tables, and selects (almost always) on the views. I wrote… Re: App development - Lobby functionality optimisation Programming Mobile Development by jonathannweyer Since you’ve already tried caching and reducing network calls, you might want to look into pagination or lazy loading to avoid loading all rooms at once. WebSockets can also help by pushing updates instead of polling. Make sure your backend queries are indexed efficiently, especially for filters like player count. If the lag happens mostly during … Re: Need a small footprint desktop with decent power Hardware and Software 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. Re: Need a small footprint desktop with decent power Hardware and Software by trcooke I'm a developer too and 14 years ago I bought an entry level MacBook Air and honestly it was probably the best laptop I've ever bought and I used it for development for years and years. It used to creak a bit if I ran more than one instance of IntelliJ, but other than that it took everything I threw at it. I have since replaced my own laptop, but … Re: How secure is Github? Programming Software Development by kearawill GitHub is generally very secure for hosting code, especially with features like 2FA, security alerts, and private repositories. However, like any platform, it's only as secure as how you use it. I’d never recommend storing sensitive information like passwords, private keys, or database credentials—even with .gitignore. Instead, use environment … Re: How secure is Github? Programming Software Development 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* … Base Conversion Module Programming Software Development by lapo3399 … TypeError, 'invalid base type for inBase()' if base <= 1 or base > 36: raise ValueError, 'invalid base for inBase(): %s' % base return base def toBase10…(num, base): ""… Base Conversion Class Programming Software Development by Patplays852 … "Invalid Input" End If 'if the current base and the base to convert into are the same, return numtoconvert If…)))), BigInteger) place += 1 Next End If 'if the output base is base 10, no need to work with it further If convert_to… Re: Base Conversions Programming Software Development by David W …].max_value = ""; for( int base = 2; base <= 36; ++base ) { string tmp = baseConverter( MAX_UL, 10, base ); table[base].max_value = tmp; table[base].num_digits = tmp.size(); } } Re: Base Conversion Module Programming Software Development by vegaseat … Python3 ... ''' den2anybase.py denary to any base (2 to 36) conversion Python3 ''' def …lt;= 36: # Python3 syntax raise ValueError("base radix must be from 2 to 36") … 2)) # 11111111 print('-'*20) # for base x to base y conversions # use int(num_string, x)… Re: Base Conversion Module Programming Software Development by jlm699 … number of functions: [QUOTE]int(x [,base]) converts x to an integer long(x [,base]) converts x to a long integer float…() and long() can take numbers of a different base, provided that you specify which base you are converting from, ie: [code=python… Re: Base Conversion Module Programming Software Development by bvdet … to share this function that converts a number in base 10 to any base between 2 and 36. Originally it was limited…))) if num == 0: return '' num, rem = divmod(num, base) return convDecToBase(num, base, dd)+dd[rem][/code] Example: >>> convDecToBase… Base 10 to base 3 conversion Programming Software Development 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… to v%(b^(k-1)) the remaining part of the base 10 digit 4. subtract 1 from k(reduce the power… *argv[]){ int a, b, c, d, e, f, i; int base = 3; int count = 6; inputdata.open("Base_Conversion_File.dat"… Base Conversions Programming Software Development by Emma_3 …::cin; using std::endl; int ToTen ( char number[15], int base, int newbase ); void ToNewBase (); int main() { char number[15];… ); return 0; } int ToTen ( char number[15], int base, int newbase ) { base; newbase; number[15]; char newnumber[100]; int answer = 0,… Re: Base Conversions Programming Software Development by David W … '0'; char top; if( base <= 10 ) top = '0' + base-1; else top = 'A' + base-11; if( base <= 10 ) { for( … more() ) ; } const string toNewBase( const string& number, int base, int newbase ) { long long unsigned answer = 0; int len = … Base converter Programming Software Development by Asif_NSU … < 0) { negative = true; anumber = -anumber; } size = convert_to_base(anumber, base, &number); if(negative) cout<<"-"; for… hold the converted number double size; size = log10(actual_number) / log10(base) + 1; //Allocating memory *number = new int[size]; //The conversion… Re: Base 10 to base 3 conversion Programming Software Development by Duoas …3" (because "b" is the [i]base[/i] -- your base is [i]3[/i]). (You could, if you desire…the standard library. Remember that the logarithm to any arbitrary base "b" can be calculated by dividing the …logarithms using another base (for example, base 10) as: [tex]{\bf log}_{3}( v ) = \… Re: Base Conversions Programming Software Development by tinstaafl … } string ToBaseX(int input, int base) { stringstream output; output << digits[input % base]; input /= base; while(input > 0) {… - 1) - i]; ss >> temp; output += pow(base,i) * (digits[temp] - 48); } return output; } string BaseConverter… Re: Base Conversion Programming Software Development by john.kane.100483 …", &base); if((base=='a')||(base=='A')){ Binary2Decimal(); } if((base=='b')||(base=='B')){ Octal2Decimal(); } if((base=='c')||(base=='C')){ Hexa2Decimal(); } if((base!='a')&&(base!='A')&… Re: Base Conversion Programming Software Development by Schol-R-LEA …((base=='b')||(base=='B')) { Octal2Decimal(); } if((base=='c')||(base=='C')) { Hexa2Decimal(); } if((base!='a')&&(base!='A')&&(base!='b')&&(base!='B')&&(base base class pointer and derived class object Programming Software Development by gauravk_bhanot …h> using namespace std; class base{ public: base() { cout<<"base constructor"<<endl; getch();…lt;<endl; getch(); } }; int main(){ base b,*bp; derived d; bp=&b; bp-&…error 'derived is not a base of 'base' return 0; } [/CODE] when the base pointer points to derived object… Re: Base converter Programming Software Development by Asif_NSU … to convert a number to a higher base. The number if converted to a higher base will require less digits and so… of multplication, addition etc. Actually my reason behind writing this base conversion program was a first attempt towards developing an arbitrary… Base conversion program (C++) Programming Software Development by jengah27 … have written a code for a base conversion program. It handles base conversion between bases 2-36 and stops…have so far. [CODE]int main() { int number,base,final[99]; double remainder; cout<<"Enter… the number system base (2--36): "; cin>>base; if( base<37&& base>1) { … Re: Base conversion program Programming Software Development by TrustyTony …symbols)) def int_to_base(number, base): if base > len(symbols) or base < 2: raise ValueError('Invalid base %i' % base) s = '' if … + s) def value_in_base(string, base): if base > len(symbols) or base < 2: raise ValueError('Invalid base %i' % base) minus = string.lstrip().startswith('-') v… Re: Base Conversion Programming Software Development by john.kane.100483 …gotoxy(1,3);printf("Conversion from any base to base 10"); gotoxy(1,5);printf("…c", &base); if((base=='a')||(base=='A')){ Binary2Decimal(); } if((base=='b')||(base=='B')){ Octal2Decimal(); } if((base=='c')||(base=='C')){ Hexa2Decimal(); }… Re: Base converter Programming Software Development by Asif_NSU How did GMP do it? Did they convert the input into a higher base? How about other precision systems(mathematica, maple) and how do they do it? I would really like to know in through. Re: base conversion Programming Software Development by javabru …to convert the base of a number to another base. For example 2010 base 3 to base 4. I…(num3, 10); prt("num3 as a String in Base 10 = " + num3StrAsBase10); String num3StrAsBase4 = Long…toString(num3, 4); prt("num3 as a String in Base 4 = " + num3StrAsBase4); prt(" *----------*");… Re: Base conversion program Programming Software Development by TrustyTony …: [CODE]def value_in_base(string, base): if base > len(symbols) or base < 2: raise ValueError('Invalid base %i' % base) symbol_values = dict(reversed(v…: [CODE]def value_in_base(string, base): if base > len(symbols) or base < 2: raise ValueError('Invalid base %i' % base) minus = string.lstrip().startswith…