« first day (1257 days earlier)      last day (1401 days later) » 

m59
12:06 AM
yeah, that's what I've been doing ^. that context, I guess :)
I know a guy that prefixes everything and then never aliases
 
 
1 hour later…
1:32 AM
@tehshrike sure, the full script is at gist.github.com/esperlu/943776, and the command I'm running is './mysql2sqlite.sh db-name | sqlite3 database.sqlite' where db-name is the actual database name and I'm literally calling the file database.sqlite. And yeah, this is probably a Regex question more than a db question. The full mysqldump file is too big to put here at 2.2 GB (plus it has some private info).
 
1:48 AM
@raptortech97 For people to help you debug, you'd have to give the schema of db-name too
 
2:10 AM
@TehShrike I'd be happy to provide any info I can to help, but the database has nearly 1000 tables each with maybe 10-50 columns. As far as I can tell, the 5 orphaned definitions are the same as the columns on nhanes_var_tab, which is a MySQL view. Is it possible to see how a MySQL view could cause the script to fail?
 
2:23 AM
@TehShrike Sorry I'm tired and I think I'm coming off as pretty rude. I appreciate all your help, and I'll be back in about 8 hours after I'm more well rested.
 
 
2 hours later…
4:23 AM
@raptortech97 it's pretty difficult to try to imagine all the possible outputs from all possible versions of mysqldump, and then mentally run every line from that script against them :-x could you at least gist the parts of your script that get broken when run through that script?
Also, aren't you running a modified version of that script?
 
 
14 hours later…
m59
6:49 PM
@TehShrike I'm hoping to steal a bit of wisdom for you about an off-topic issue that no one else seems to have - perhaps such is the plight of only ridiculously obsessive people such as myself.
 
@m59 heehee, sounds interesting
 
m59
I have a bunch of angular components (especially filters) that are useful across different projects - some off them are extremely light in code.
Trying to be consistently modular, efficient, etc, I started publishing them all to GitHub...
but....I end up with a bunch of repos for nearly no code.
I previously had them all in one repo, but felt they got too attached and didn't deal with inner dependency well (components that user other components aren't as clear)
now I'm back to thinking it should just be my own library and I could just include the whole thing in all of my projects.
which is less efficient, but so much dang easier.
 
I like small modules, and I like one module per repo
efficiency is a question of workflow
 
m59
dang, I was hoping you would affirm the opposite :)
 
I don't like Angular's module system. I much prefer CommonJS. Working with lots of small modules is a lot easier with node-style includes
npm link ftw
This is one of my favorite libraries bitbucket.org/bentomas/smokesignals.js/src/…
I imagine, working with Angular, lots of repos means an even-more-complicated Grunt build script
I'm not a big fan of Grunt.
 
m59
6:56 PM
I use gulp
I used to use Grunt, but it's ugly in comparison.
 
I like being able to publish small general tools github.com/TehShrike/expire-unused-keys
But, publishing small general tools is a lot easier with npm
I guess some people use bower for Angular modules
 
m59
That's way bigger than what I'm referring to =D
And yeah, I would use bower, but I'm struggling to justify like 5 or so modules that are basically
var filter = function(input) {
  return input.whatever()
}
It's filters that are really so small.
 
which part is inconvenient? Creating repos and moving code to them, or including them in your builds?
 
m59
It's not all that bad either way, just doesn't seem worth it
I use a generator to create the component - it makes the git repo and publishes to GitHub
then I just plug in the code and push
but then I'd also need to publish to bower, and then using those dependencies - you could end up with a ton of dependencies.
I think I'd rather just include all of it and be done with it
it's not huge or anything
I was just thinking that what I'm doing, to me, would be like if someone published jQuery in 1000 pieces.
the user could include the individual files in their build as to avoid the parts they don't want, anyway
 
 
3 hours later…
10:25 PM
@m59 now see, that's exactly what I want
I avoid jquery now
I like things more in the vein of npm-dom
 

« first day (1257 days earlier)      last day (1401 days later) »