Charlie Brumbaugh
A quiet enigma. We don't know anything about Charlie Brumbaugh yet.
Posts
Lets say I have two tables, A and B and I need to join a subset of them. Is there best practices of sticking the conditions in the WHERE clause like this, SELECT * FROM A JOIN B on a.fk_b = b....
2 answers · posted 2y ago by Charlie Brumbaugh · last activity 2y ago by klutt
From time to time I will have large structural changes to make on my MySQL DB, things like adding columns, changing datatypes, adding indexes etc. These types of changes result in downtime and what...
1 answer · posted 2y ago by Charlie Brumbaugh · last activity 2y ago by meriton
Let's say I have a script that needs the user to set X number of variables at the start. One can either Pass the arguments in on the command line. Start the program and then have the user input th...
3 answers · posted 2y ago by Charlie Brumbaugh · last activity 2y ago by klutt
It is not wrong to ask for changes or features or report problems, so long as you realize that the maintainer of the project is under no obligation to make those changes. You aren't paying them, so...
posted 2y ago by Charlie Brumbaugh
I have two tables with millions of records. Every so often I need to join them and exclude just a handful of records where a bit(1) column is set to 1 instead of 0. I can do it with either, WHERE ...
2 answers · posted 3y ago by Charlie Brumbaugh · edited 2y ago by Alexei
I have a number of command line PHP scripts that are either run by a user or by Windows Task Scheduler. These scripts use DB and API credentials and I am wondering if there is a better way of stori...
1 answer · posted 3y ago by Charlie Brumbaugh · edited 3y ago by Charlie Brumbaugh
The objective here is to create a set of square kml coordinates centered on a point. I use this to create a square map centered on a mountain peak and then turn that into a STL that I can 3D print....
2 answers · posted 2y ago by Charlie Brumbaugh · edited 2y ago by Moshi
You should be able to alias the string to something short. For example, I have git config --global alias.a 'add .' git config --global alias.ci commit and so instead of git add . git commi...
posted 2y ago by Charlie Brumbaugh
Sometimes, either to reduce the amount of typing big table names or when joining a table to itself one will need to alias a table. Personally I find SQL statements with aliases harder to read and a...
1 answer · posted 3y ago by Charlie Brumbaugh · edited 2y ago by Alexei
Its possible to execute a MySQL file from the command line like so, mysql -u USER -pPASSWORD < FILENAME which triggers a warning, mysql: [Warning] Using a password on the command line int...
2 answers · posted 3y ago by Charlie Brumbaugh · edited 2y ago by ghost-in-the-zsh
If one is using SASS to build a websites CSS and using version control one can either, Keep both the SASS and the resulting CSS files in version control. Only storing the SASS files in version con...
4 answers · posted 2y ago by Charlie Brumbaugh · last activity 2y ago by ben
Let's say I have a table with 10,000 rows and instead of selecting all of the rows at once I select 1,000 at a time like LIMIT 0,1000 LIMIT 1000,1000 etc. Without an ORDER BY statement the or...
1 answer · posted 2y ago by Charlie Brumbaugh · edited 1y ago by Alexei
I have tables A and B and then I have a many to many join table with foreign keys to both called a_b. Neither foreign key can be null and the combinations for the foreign keys to A and B are unique...
2 answers · posted 2y ago by Charlie Brumbaugh · last activity 2y ago by Alexei
I would like to see questions asking for help finding resources be considered on topic, but I would suggest creating a seperate category for them, like how Photography and Outdoors have one for Gea...
posted 3y ago by Charlie Brumbaugh
In programming instead of arrowcode where one has many layers of indented if statements, you can return a result as soon as possible. So instead of, if if end if end if It looks like if ret...
1 answer · posted 2y ago by Charlie Brumbaugh · edited 2y ago by Moshi
Reputation | 935 | |
Number of top-level posts | 37 | |
Number of answers | 6 | |
Sum of received votes (up minus down) | 157 | |
Number of edits made | 16 |
Earned Abilities
Statistics
Posts | ||
---|---|---|
Count | 43 | |
Questions | 37 | |
Answers | 6 | |
Articles | 0 |
Votes cast | ||
---|---|---|
Count | 109 |
Flags raised | ||
---|---|---|
Count | 0 |