/srv/irclogs.ubuntu.com/2012/11/09/#ubuntu-us-mi.txt

snap-lEvening03:04
rick_hparty03:04
rick_hmorning party people12:27
rick_hTGIF12:27
snap-lWorst. Saturday. Ever.12:50
rick_hhah12:50
brouschjrwren: How's the mk802 treating you?15:21
brouschI'm waffling between that and a raspberrypi15:22
jrwrenits OK.15:22
jrwrenits WAY better than raspberrypi for PC type stuff.15:22
jrwrenrasp has advantage of hardware pins so hardware control.15:23
brouschI don't have a specific project for it yet, so I haven't bought anything15:23
jrwrenso i'd place rasp between arduino and mk80215:23
jrwrenMK802 really is a tiny desktop. jus tplug a display and keyboard and mouse and you are up and running15:24
brouschYeah, I got a bionic lapdock too15:24
brouschSo it can be a laptop15:24
snap-lDid not realize watch supported a --color flag16:39
snap-lHuzzah16:39
rick_hhah16:43
rick_hsnap-l: G+ pic, more rotation please16:47
snap-lrick_h: damn phone doesn't auto-rotate16:48
snap-lJoDee brought home Chicken Shack17:19
snap-land it was OMGWTFNOMNOMNOM17:20
jrwreni've never had chicken shack17:20
shakes808Good afternoon all17:20
snap-ljrwren: It's good. They use butter on their chicken, and the batter is moist and crispy.17:21
rick_hheh, we've got one up the street I've gone to once or twice17:29
rick_hjust don't get the patatoes ugh17:29
rick_hand yea, it's fried chicken with fries and such so make sure you do some laps before lunch17:30
snap-lTheir potatoes are pretty good17:30
snap-lbut yeah, they're also pretty salty17:30
jcastro_chickenshack is so good17:34
snap-lYeah, we avoided it for the longest time, but then had some and immediately regretted not trying it sooner.17:35
snap-lhttps://ting.com/blog/byosd-progress-report-and-wider-beta-launch-announced/17:38
snap-lIn case you have a sprint device laying around, and want to try Ting17:39
snap-lshakes808: ^^17:39
shakes808snap-l: i traded in my sprint devices to get money off my Verizon bill17:46
shakes808lol17:46
shakes808And my phone is on the list lol17:46
shakes808:(17:46
shakes808Oh, well17:46
shakes808I have been happy with Verizon thus far17:47
shakes808but with the 4G, it eats up the data faster lol17:47
shakes808When on Sprint, we would have 1.5 - 2 GB of data month. With Verizon we are going through 4 GB pretty fast17:48
shakes808here is a C++ question, not using .NET, is there a dataset implementation?17:49
snap-lshakes808: Bummer17:51
rick_hman, not sure if it's 12.10 or chrome but sure feels snappier since the reinstall18:10
rick_hactually maybe it's 12.10 because lots of things feel snappier18:10
jrwrenshakes808: no.18:12
jrwrenshakes808: and you shouldn't use DataSet in .NET anyway.18:12
jrwrenin C++, DataSet would just be void*** anyway18:13
rick_hbwuhahahaha 2164 lines (+1430/-270) 24 files modified18:13
rick_hnow who to sucker into reviewing .... naw time to break it into multiple branches18:13
shakes808jrwren: why should I use .NET dataset? and not familiar with void***18:16
jrwrenyou shouldn't use .NET DataSet. prefer static types in a static typed lang18:19
jrwrenDataSet is effectively a weak type in a static type system.18:20
jrwrenyou know what void* is in C/C++ right?  void*** is just more dereferences. I was j/k18:20
jrwrenwhat are you doing?18:21
greg-gsnap-l: huh! (re BYOSD)18:25
shakes808getting back into C++ so I can make some games.18:36
shakes808I will eventually need to read data from a db and want to be able to store it so I am not hitting the db.18:36
jrwrenah. I recommend defining your own types and not using a DataSet like structure18:36
jrwrenwill they be relations ?18:37
shakes808? as in the db?18:38
jrwrenwhat you read back from teh db.18:38
shakes808yeah, would imagine so.18:38
jrwrenif using a DataSet would it have been a single DataTable or many related?18:38
jrwrenor would you have used separate DataSet instances?18:39
shakes808related in some what.18:40
jrwrenI'd start by declaring a C++ class with fields  for each db field and populate a std::vector<whatever*>  with DB results18:40
jrwrenand see how far that takes me.18:41
jrwrenif you want you could even reflect teh db schema and generate the c++ class based on table schema as a first step of your build process18:41
jrwrenless code for you to write and its a closer step to a C++ orm.18:41
jrwrensounds like a fun project IMO18:42
jrwrenif you are using postgresql I wouldn't mind helping, I've always wanted to dive into that API18:42
jrwrenthen again, for a game sqlite or some kind of nosql probably makes more sense.18:43
shakes808Looking to do MySQL18:57
jrwreni'm so sorry ;)19:00
shakes808My buddy is making a dataset in JAVA based off of .NET. Why do you not like .NET's implementation?19:00
shakes808what would be the difference between MySQL / Postgresql19:01
brouschA Java and Mysql game?19:03
jrwrenomg, its so wrong on so many levels, others have written far more about it than I will take time to write. I suggest you google around.19:08
jrwrenif you are wriring in C++ you'd use teh mysql or postgresql client libraries directly. entirely different API19:08
brouschWouldn't that require mysql or postgresql to be installed on people's computers?19:10
jrwrenread all these answers: http://stackoverflow.com/questions/53338/what-are-the-disadvantages-of-typed-datasets19:11
shakes808will read it later tonight19:14
shakes808But that isn't about Postgre/MySQL19:15
jrwrenno, that is about why to avoid Dataset19:15
shakes808gotcha19:17
shakes808looking at comparisons and it is says that Postgre is slower than MySQL19:24
rick_hLIES!19:26
shakes808HAHA19:28
shakes808So if I did Postgre, jrwren, you would be in at attempting to make something :D19:28
brouschDon't use mysql unless you have to19:29
snap-lYeah, MySQL is not a path I'd take for new database installs19:31
jrwrenpostgresql is slower than mysql. it is also correct.19:32
jrwrendo you like invalid foreign keys? I don't. If you do, use mysql19:32
rick_hdo you like auto truncated text fields...go mysql19:32
rick_hdo you hate those pesky subselects...use mysql19:32
rick_hdo you hate writing stored procures, custom functions, and more in those stupid 'pretty' languages like python, ruby, and perl? ... use mysql19:33
jrwrenand by that, you mean client side, because postgresql lets you write real server side sprocs funcs in plugin languages like perl, python, ruby19:36
rick_hno, I mean if you hate using those languages server side then use mysql19:37
rick_hbut yea, because postgres allows all the coolness taht is19:37
snap-lDo you like performance, data integrity, or new features?19:40
snap-lWith mySQL, pick one.19:40
rick_hdo you like choosing which fork is the one you want to use today :P19:40
shakes808gotcha19:41
snap-lMySQL was good for a time. PostgreSQL has caught up and surpassed it19:42
shakes808So Post it is :D19:42
snap-land by caught up, I mean acquired most of the advantages mySQL had at one point.19:42
snap-lshakes808: Well, make an informed choice.19:42
snap-lbut lean towards PostgreSQL if possible19:42
jrwrenand NEVER use speed as your #1 criteria19:43
snap-lif you're doing shared hosting, you might not have a choice.19:43
jrwrenif you want speed DO NOT USE A RELATIONAL DATABASE19:43
snap-ljrwren: Nope, use /dev/null19:43
jrwren:)19:43
snap-lThe write once, read never device.19:43
brouschI'm considering a move to Webfaction for shared hosting. They have current Python and Postgres19:44
brouschAnd Python is a first class citizen, not an afterthought19:44
snap-lI wish Wordpress had PostgreSQL support19:45
jrwrensnap-l: me too19:47
snap-lI guess my other complaint would be database-agnostic PHP drivers that developers could use, but apparently PHP doesn't have Mike Bayer.19:48
jrwrenthose rarely work, drivers are only first layer.19:50
jrwrenyou don't want to be tied to agnostic SQL19:50
jrwrenyou want to leverage your DB.19:50
jrwrenuse things that your specific DB is good at.19:50
jrwrendb agnostic apps are a pipe dream, or brittle at best.19:51
snap-lLet me have my misguided dreams19:51
brouschI was going to refute jrwren, then I thought about all of the database-specific issues with Django. Postgis only being in postgresql, half-assed support in Google app Engine19:54
greg-galways best to not attempt to refute jrwren19:55
brouschThere was one thing he was wrong about, but I forget what it was. I suspect he hacked into my brain and manually removed the memory19:58
jrwreni'm wrong often.19:59
jrwrencertainly more than I'm correct. I like to call it learning.19:59
rick_h*cough* bookie is completely db agnostic *cough*19:59
jrwrenOH SNAP!20:06
shakes808night all. Will hop on later ;) Might bug ya for questions21:33
shakes808Hello all again :D22:36
shakes808rick_h: rick_droid: http://jobview.monster.com/GetJob.aspx?JobID=115926630&aid=81237197&WT.mc_n=JSAHG1023:01
greg-gtoo many !!!s23:02
waldo323_Systen Design,23:03
greg-g:)23:05
rick_hshakes808: wtf... "you must do everything from assembly through C++ through django through SQL...23:55
shakes808lol23:56

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!