Timestamps are in GMT/BST.
| 00:00:52 | phillreeder | aight, submitted the plugin for review |
| 00:01:44 | phillreeder | should I mark it as complete or wait for a good-to-go? |
| 00:02:18 | | Canseco has joined |
| 00:02:35 | Watusimoto | wait |
| 00:02:47 | Watusimoto | well, can you mark it as complete? |
| 00:02:52 | Watusimoto | or is that something we do? |
| 00:03:04 | phillreeder | It says mark task as complete to submit for review |
| 00:03:09 | phillreeder | which is weird |
| 00:03:54 | raptor | you 'complete', we 'close' or 'needs more work' |
| 00:04:31 | phillreeder | mmk marked it as complete |
| 00:05:44 | | Canseco Quit (Remote host closed the connection) |
| 00:07:06 | Skybax | Fordcars, did you see my question? |
| 00:07:22 | fordcars | Hah sorry |
| 00:07:26 | fordcars | Sure send it! |
| 00:08:47 | Skybax | Done! |
| 00:08:53 | raptor | Watusimoto: what happened! |
| 00:08:59 | fordcars | Thanks:P |
| 00:09:00 | raptor | with that last commit?? |
| 00:09:00 | Watusimoto | uh oh |
| 00:09:10 | Watusimoto | you're making me nervous |
| 00:09:28 | Watusimoto | let me ask you.... what happened? |
| 00:09:57 | Watusimoto | I can give you a narrative, but you are obvously seeing soemthing I am not |
| 00:10:07 | Watusimoto | I see a bunch of dead crlfs |
| 00:10:17 | Watusimoto | you obviously see... trouble? |
| 00:10:23 | raptor | verifying... |
| 00:11:31 | raptor | ok.. looks ok so far |
| 00:11:47 | Watusimoto | ok |
| 00:11:56 | raptor | I was worried because I was sure I've edited some of those files before and wondered why on earth they'd have CR |
| 00:12:13 | Watusimoto | well.... everyone always blames ME for the crlfs... |
| 00:12:18 | Watusimoto | :-) |
| 00:12:28 | raptor | yes, but we have verified history on you... |
| 00:12:31 | raptor | :) |
| 00:12:35 | Watusimoto | nothing proven |
| 00:12:44 | Watusimoto | only insults and innuendo! |
| 00:16:00 | | Canseco has joined |
| 00:19:19 | raptor | oh Watusimoto, what do you think of the new badge? |
| 00:22:51 | Watusimoto | it looks great |
| 00:24:17 | fordcars | raptor, you are an artist |
| 00:24:42 | Skybax | The :01 badge? |
| 00:25:42 | fordcars | I think so |
| 00:25:58 | Skybax | Cool |
| 00:26:14 | Skybax | Too bad I have to do it again to get it lol |
| 00:26:30 | fordcars | lol |
| 00:30:29 | | Canseco Quit (Remote host closed the connection) |
| 00:30:58 | fordcars | Is there any nice Bitfightery font i can use with html^ |
| 00:31:03 | fordcars | *I, ? |
| 00:31:19 | fordcars | A safe font |
| 00:31:34 | | Skybax_ has joined |
| 00:31:50 | fordcars | Oh nm |
| 00:32:02 | raptor | it was actually skylark's idea, because he would have earned the badge in one game last night... |
| 00:32:05 | | Skybax Quit (Ping timeout: 272 seconds) |
| 00:32:08 | | Skybax_ is now known as Skybax |
| 00:32:39 | Skybax | Uhhhh... that was me |
| 00:32:46 | raptor | maybe it was Skybax... |
| 00:32:49 | raptor | :) |
| 00:32:51 | Skybax | xD |
| 00:33:04 | raptor | wait, one of you scored it, the other suggested as badge, right? |
| 00:33:10 | Skybax | Nooe |
| 00:33:14 | Skybax | All me |
| 00:33:28 | Skybax | As soon as the game ended I was like "THERE SHOULD BE A BADGE FOR THAT CAUSE IT WAS AMAZING" |
| 00:33:37 | raptor | ok, well... umm.. it was late |
| 00:34:07 | Skybax | Hahaha xD |
| 00:34:26 | raptor | and thanks! that was the last badge to meet our goal for new badges for 019... |
| 00:34:32 | Skybax | Yay! |
| 00:35:33 | Skybax | I feel useful now lol |
| 00:38:55 | fordcars | Cool! |
| 00:39:46 | | Canseco has joined |
| 00:40:55 | fordcars | Hi Canseco |
| 00:41:11 | Canseco | hi |
| 00:42:08 | raptor | all right folks, gotta go, back later! |
| 00:42:13 | | raptor Quit () |
| 00:55:49 | | phillreeder Quit () |
| 00:57:11 | Skybax | Hey fordcars, do you want me to give you a list of Skybaxy things for Skybot to say? |
| 00:57:22 | fordcars | Uh, sure! |
| 00:58:02 | Skybax | When can he say stuff? Only when people talk or can he say stuff if he kills someone or just randomly? |
| 00:58:31 | Skybax | I'd like to get creative with his expressions |
| 00:59:57 | Skybax | Whenever he kills raptor I want him to say "Skybot - 1; Raptor - 0!" |
| 01:03:01 | Skybax | Would that be possible fordcars? |
| 01:03:07 | fordcars | He can say stuff whenever he wants |
| 01:03:10 | fordcars | Sure! |
| 01:03:15 | fordcars | Uh, nope |
| 01:03:23 | fordcars | Uh sure! |
| 01:03:27 | Skybax | What xD |
| 01:03:30 | fordcars | Haha sorry yes of course |
| 01:04:05 | Skybax | Okay cool... I get to work coming up with expressions then |
| 01:04:14 | fordcars | ok! |
| 01:04:18 | | Watusimoto Quit (Ping timeout: 245 seconds) |
| 01:04:21 | fordcars | :P |
| 01:04:47 | Skybax | Thanks for the help btw |
| 01:04:50 | Skybax | You're awesome |
| 01:06:06 | fordcars | hehehe |
| 01:06:21 | Nothing_Much | Howdy everyone |
| 01:06:34 | fordcars | Howsy! |
| 01:06:40 | Nothing_Much | What's up? |
| 01:06:52 | fordcars | Nothing-Much |
| 01:06:56 | fordcars | g*Nothing_Much |
| 01:07:04 | fordcars | *Nothing_Much |
| 01:07:06 | Nothing_Much | hit the tab button after typing "no" lol |
| 01:07:09 | fordcars | Ruined the effect |
| 01:07:13 | fordcars | hahahahah yeah sorry |
| 01:07:23 | Nothing_Much | it just makes it easier for ya dude :) |
| 01:07:29 | fordcars | Hehehehe yeah |
| 01:07:39 | fordcars | Nothing_Much: Nothing_Much Nothing_Much Nothing_Much ooo fancy |
| 01:07:59 | Nothing_Much | You can do it with anybody when you type in the first letter of anybody here |
| 01:08:24 | fordcars | ChanServ: |
| 01:08:44 | fordcars | BFLogBot: |
| 01:08:45 | BFLogBot | But the important thing is persistence. -- Calvin trying to juggle eggs |
| 01:08:49 | fordcars | hehe |
| 01:09:04 | Nothing_Much | or if there's tons of people in here, you can type in the first two or three letters to be more specific |
| 01:09:50 | | Canseco Quit (Remote host closed the connection) |
| 01:13:55 | Skybax | fordcars: Nothing_Much fordcars Nothing_Much fordcars Nothing_Much fordcars |
| 01:14:01 | Skybax | This is fun |
| 01:14:05 | fordcars | Awesome |
| 01:14:07 | Nothing_Much | Having fun? |
| 01:14:09 | Nothing_Much | lol |
| 01:14:11 | fordcars | lol |
| 01:14:35 | Skybax | I could ping everyone in less than 10 seconds |
| 01:14:57 | Nothing_Much | You ping as soon as you send someone's name here |
| 01:15:04 | Nothing_Much | or text it |
| 01:15:08 | Skybax | I know |
| 01:18:10 | | Canseco has joined |
| 01:23:17 | kaen | I had to stop idling in big channels because of kamikaze highlighters entering the channel and spamming everyone's nicks |
| 01:24:31 | fordcars | hah |
| 01:24:50 | fordcars | Totally evil |
| 01:25:39 | fordcars | kaen: Skybax Nothing_Much BFLogBot sam686 kumul fordcars alex_velea ChanServ Platskies Canseco |
| 01:25:39 | BFLogBot | Thank you. before I begin, I'd like everyone to notice that my report is in a professional, clear plastic binder... When a report looks this good, you know it'll get an A. That's a tip kids. Write it down. -- Calvin |
| 01:25:45 | fordcars | Sorry guys :` |
| 01:26:00 | fordcars | I had too :3 |
| 01:26:03 | kumul | whats wrong ? |
| 01:26:06 | Platskies | Hi |
| 01:26:14 | kumul | hi fordcars |
| 01:26:33 | fordcars | Hi :) |
| 01:26:43 | | Nothing_Much Quit (Remote host closed the connection) |
| 01:26:44 | fordcars | kaen forced me to do this |
| 01:26:51 | fordcars | Haha sorry :P |
| 01:28:36 | Skybax | xD |
| 01:28:55 | Skybax | The cool part is I don't get an alert unitl I leave fullscreen on the show I'm watching lol |
| 01:51:06 | | Nothing_Much has joined |
| 01:55:49 | | Nothing_Much Quit (Ping timeout: 248 seconds) |
| 01:57:09 | | Skybax_ has joined |
| 01:59:10 | | Skybax Quit (Ping timeout: 245 seconds) |
| 02:12:42 | | Nothing_Much has joined |
| 02:18:52 | | kumul Quit (Ping timeout: 246 seconds) |
| 02:20:28 | | Canseco Quit (Remote host closed the connection) |
| 02:38:08 | | GEOFBOT has joined |
| 02:38:13 | | Skybax_ Quit (Ping timeout: 272 seconds) |
| 02:47:50 | | BFLogBot Commit: 3a43f286a997 | Author: sam8641 | Message: if "this" gets deleted inside removeFromDatabase(deleteObject == true), don't corrupt memory |
| 02:54:38 | | kumul has joined |
| 02:57:04 | | BFLogBot Commit: d6979903aebf | Author: sam8641 | Message: Windows: Use console subsystem to run from command, hide when running client without cmd; no TNL_DEBUG on RelWithDebInfo |
| 02:57:19 | fordcars | OMG This stupid free hosting deleted half of my code. Luckely I had the page opened so I am able to get the code back. I really will do backups now!!!! |
| 02:57:54 | sam686 | what free hosting? |
| 03:00:27 | fordcars | For websites! |
| 03:00:38 | fordcars | uhhh, 000webhost |
| 03:00:51 | sam686 | ok |
| 03:00:53 | fordcars | http://www.000webhost.com/ |
| 03:14:29 | kumul | why dont you use a dvcs or something? |
| 03:14:57 | kumul | or you know |
| 03:15:01 | kaen | amateur hour! |
| 03:15:05 | kumul | a script that will put everything in a pastebin |
| 03:15:17 | kumul | a series of pastebins |
| 03:15:17 | kaen | kumul, good god |
| 03:15:20 | kumul | those last forever |
| 03:15:29 | fordcars | yeah that's true |
| 03:15:32 | kaen | that sounds horrific |
| 03:15:36 | fordcars | hah |
| 03:15:41 | kaen | imaging trying to recover your data from that ... |
| 03:15:45 | kaen | imagine* |
| 03:15:51 | kumul | it sounds so horrific, that you just want to try it |
| 03:15:56 | kumul | admit it |
| 03:16:06 | fordcars | Haha |
| 03:16:22 | kumul | you just have a file, that lists all the links with all the files |
| 03:16:25 | kaen | kind of like when I watched "Un Chien Andalou" for the first time |
| 03:16:32 | fordcars | What the |
| 03:16:39 | kaen | so anyway |
| 03:16:46 | kaen | fordcars, get a github account :P |
| 03:16:50 | kumul | no |
| 03:16:54 | kumul | get a bitbucket account |
| 03:17:01 | fordcars | kaen, I have a github |
| 03:17:02 | kumul | you can have private stuff there |
| 03:17:02 | fordcars | I think |
| 03:17:03 | kaen | kumul, I see ... |
| 03:17:08 | kaen | we must fight to the death |
| 03:17:14 | fordcars | kaen, http://canvaselement.comxa.com/BF.html It's freaking ugly |
| 03:17:16 | kaen | because of our religious differences |
| 03:17:24 | fordcars | That's my ide maker thing lua levelgener |
| 03:17:32 | kaen | I can't share a channel with a Mercurialite |
| 03:17:33 | kumul | github is better though, those per project rss feeds are handy |
| 03:17:42 | kaen | I'm in it for the pull requests |
| 03:17:51 | kaen | although I understand BB has an equivalent feature |
| 03:17:52 | kumul | who's talking about mercurial? |
| 03:17:56 | kumul | bitbucket supports git |
| 03:18:01 | kaen | oh, that's right |
| 03:18:07 | kaen | but |
| 03:18:19 | sam686 | or you could password protect your uploads into a 7z file if there a place to upload that is.. |
| 03:18:20 | kaen | does bitbucket have an endearing hipster-esque mascot? |
| 03:18:21 | kaen | no. |
| 03:18:25 | kumul | i do use hg though... i dont understand git... so many commands |
| 03:18:41 | kaen | yeah, I don't remember learning git |
| 03:19:01 | kaen | I just remember my brain hurting really bad and awakening to synaptic access to the man page |
| 03:19:16 | kumul | which manpage though? |
| 03:19:19 | kumul | so many manpages |
| 03:19:25 | kumul | hg just has 1 manpage |
| 03:19:46 | sam686 | I use hg-git (a git plugin for turtoise HG) except its slow on really big git repository |
| 03:20:08 | kumul | oh yeah, sure dont use hg on big repo's |
| 03:20:13 | kumul | i admit that |
| 03:20:18 | kaen | it's funny |
| 03:20:21 | kaen | because we use hg |
| 03:20:28 | kaen | and also ship binary shared libs |
| 03:20:46 | kaen | I think we're at 600MB on google code ... |
| 03:21:00 | kaen | enough to merit a warning from them at the bottom of the browse page |
| 03:21:20 | kumul | ouch |
| 03:21:31 | kaen | it's atrocious |
| 03:21:35 | kumul | so i guess i should never pull bf then |
| 03:21:44 | kaen | but those pesky VS users can't be bothered to install SDKs :/ |
| 03:22:11 | sam686 | mine says just 237 MB on my latest clean pull clone.. |
| 03:22:23 | sam686 | the folder size that is |
| 03:22:39 | kaen | "Your project is using approximately 675 MB out of 4096 MB total quota." |
| 03:22:55 | kaen | - Google Code |
| 03:23:03 | fordcars | Awwwww <3 |
| 03:23:06 | kaen | "P.S. F*** you bifighter" |
| 03:23:06 | sam686 | so what else using lots of disk space on google code? |
| 03:23:24 | kaen | just what google says, don't blame me |
| 03:24:18 | kumul | does that include the site,wiki,pages,source,repo,downloads (including versions) |
| 03:24:51 | sam686 | no, thats in bitfighter.org servers; not in google code for the most past |
| 03:25:06 | kaen | we have ~150MB of downloads on google code |
| 03:25:13 | kaen | so I guess that's a big part |
| 03:25:33 | kaen | I'm sure a lot of it is the binary diffs for the .dlls and .frameworks |
| 03:26:13 | kaen | and then we have other goofy stuff |
| 03:26:19 | kaen | like the entire SDL source code in-tree |
| 03:26:32 | kaen | and mysql ... |
| 03:26:38 | kaen | and all of our other deps |
| 03:26:57 | kumul | ok then i dont understand gcode |
| 03:27:12 | sam686 | I have 119 MB on just the ".hg" folder, that stores all the history revisions, I could delete all other files and hg can just recover all of that without pull |
| 03:28:08 | sam686 | https://code.google.com/p/bitfighter/downloads/list?can=1&q=&sort=-size&colspec=Filename%20Summary%20Uploaded%20ReleaseDate%20Size%20DownloadCount |
| 03:28:18 | sam686 | maybe thats where 200MB coming from, the DOWNLOADS |
| 03:32:16 | kumul | i'd say there's about 300 there |
| 03:33:56 | Nothing_Much | Hi everyone |
| 03:35:00 | Nothing_Much | Oh dear |
| 03:35:19 | Nothing_Much | VS = Visual Studio = Microsoft right |
| 03:35:20 | Nothing_Much | ? |
| 03:36:13 | Nothing_Much | Yuck |
| 03:37:10 | | Platskies Quit (Quit: Platskies) |
| 03:39:55 | kumul | have you used it? |
| 03:40:23 | kumul | just because its MS doesnt mean yuck |
| 03:40:49 | Nothing_Much | It does actually |
| 03:40:51 | | Platskies has joined |
| 03:41:11 | Nothing_Much | I've never used any development thing before |
| 03:41:12 | sam686 | you could use mingw (haven't tried it in a past month though) |
| 03:41:19 | Nothing_Much | I just don't like Microsoft at all |
| 03:42:06 | Nothing_Much | Is mingw cross platform? |
| 03:42:21 | kaen | mingw sucks though |
| 03:42:38 | sam686 | its mostly for building windows exe, but its nearly the same as gcc for the most part |
| 03:42:44 | kaen | I prefer VS to mingw, even just from a build system perspective |
| 03:43:43 | kumul | Nothing_Much, nobody likes microsoft, i dont like it either, or apple, or most of anything really. but i dont go yuck |
| 03:43:52 | kumul | (actually i do, inside) |
| 03:44:00 | kaen | mingw32 has some bugs that came to light when I used it for the buildbot |
| 03:44:02 | Nothing_Much | lol, well Apple is alright when it comes to supporting OSS |
| 03:44:49 | kumul | MS has codeplex. what does apple have? |
| 03:45:05 | sam686 | apple have apples |
| 03:45:26 | kumul | they're all full of cyanide though |
| 03:45:35 | kaen | apple has an open source base OS ... |
| 03:45:38 | kaen | so there's that |
| 03:45:41 | Nothing_Much | what's codeplex? |
| 03:45:48 | kumul | gcode basically |
| 03:46:01 | Nothing_Much | and also if it weren't for Apple, Flash player would probably still exist on mobile devices |
| 03:46:02 | Nothing_Much | :( |
| 03:46:02 | kaen | I think everything but the kernel and the GUI API is OSS |
| 03:46:34 | Nothing_Much | I'm not sure what gcode is either kumul, I'm not a developer |
| 03:46:46 | kaen | it's a code hosting site, essentially |
| 03:47:09 | kumul | Nothing_Much, gcode is google code. gcode is the equivalent of cnet for OSS. or basically sourceforge with less suckage |
| 03:47:17 | kaen | I wouldn't count codeplex as a contribution to the OSS community |
| 03:47:32 | Nothing_Much | oh my |
| 03:49:03 | kumul | you sure? it has support for more than 4gb |
| 03:49:46 | | kumul flashes shiny mb's on kaen |
| 03:49:59 | kaen | yeah, but there hasn't been a lack of storage space for code/download storage in almost a decade |
| 03:50:32 | kaen | department of redundancy department |
| 03:50:58 | sam686 | I ran out of my hard disk space a few times, while recording gameplay videos.. |
| 03:51:21 | sam686 | and my hard disk is 1000 GB, far more then 4000 MB |
| 03:51:52 | kaen | I don't think that falls within the definition of code storage |
| 03:52:11 | kumul | and here I thought I could bride *COUGH* persuade you with more memory |
| 03:52:16 | kaen | my point being that MS's support for OSS is begrudging at best |
| 03:52:52 | kumul | s/bride/bribe/ |
| 03:52:52 | sam686 | Try storing the entire linux kernel history into google code? (not enough disk space to store) |
| 03:52:58 | kaen | and is more realistically PR posturing in light of the recent popular support for OSS |
| 03:53:44 | kumul | but they do give some money here and there. they do put up a front as the established business that it is. |
| 03:55:16 | kaen | at the end of the day, it doesn't make sense for MS to support OSS, because it's an existential threat to their entire flagship product line |
| 03:55:57 | kaen | so the claim that they support OSS doesn't hold much water to me. |
| 03:55:59 | sam686 | not only microsoft, but also nvidia are not supporting OSS |
| 03:56:22 | kaen | I don't understand nvidia's reasoning though ... |
| 03:56:58 | kaen | not like the driver API can expose any significant trade secrets, and OSS drivers just expand their market |
| 03:57:25 | kaen | for MS there's at least a tenable business motive for their reluctance |
| 03:59:03 | kaen | what were we talking about again? |
| 03:59:09 | kaen | oh yeah, fordcars use your github account :P |
| 03:59:18 | Nothing_Much | microsoft sucks!- oh we're done with that? |
| 03:59:31 | Platskies | I'm for "microsoft sucks" :p |
| 03:59:40 | sam686 | then we went on talking about OSS then which one supports OSS |
| 04:00:16 | kaen | I'm for using the tool that best helps you do the job |
| 04:00:23 | kaen | regardless of the make or model. |
| 04:12:12 | Nothing_Much | Yeah, if that were the case then RMS would be more popular nowadays |
| 04:12:17 | | GEOFBOT Quit (Remote host closed the connection) |
| 04:12:26 | Nothing_Much | (if we went for all open source stuff) |
| 04:15:31 | kaen | I'm an OSS guy |
| 04:15:36 | kaen | but I hate Stallman |
| 04:15:38 | kaen | can't stand him. |
| 04:16:08 | kaen | GNU license isn't as free as he'd like you to believe |
| 04:16:27 | Nothing_Much | I hear that BSD's license is more free, since you can do whatever you want with it |
| 04:16:33 | Nothing_Much | Which is what Apple's done |
| 04:16:40 | kaen | I like MIT best of all |
| 04:16:42 | kumul | if you were a stallman fan, you would've used libre instead of OSS |
| 04:16:49 | Nothing_Much | yeah |
| 04:17:00 | Nothing_Much | I think Stallman's okay |
| 04:17:05 | Nothing_Much | But his claims can get ridiculous |
| 04:17:09 | kumul | kaen, its called copyfree |
| 04:17:09 | Nothing_Much | Like "spyware" in Ubuntu |
| 04:17:27 | Nothing_Much | Not to mention the "privacy" aspect, which.. imo I'm kinda mixed on |
| 04:17:28 | kumul | http://copyfree.org/ |
| 04:17:28 | | kaen googles |
| 04:17:57 | Nothing_Much | I mean |
| 04:17:59 | Nothing_Much | On one hand |
| 04:18:07 | kumul | there's spyware on ubuntu? |
| 04:18:13 | Nothing_Much | kumul: Not at all |
| 04:18:27 | Nothing_Much | It's those Amazon search results |
| 04:18:34 | Nothing_Much | Which Ubuntu has stretched upon |
| 04:18:35 | kumul | kaen, the ISC license is much better than the MIT one and it says the same thing |
| 04:18:39 | kumul | its just better worded |
| 04:18:39 | Nothing_Much | So it' snot just Amazon |
| 04:18:48 | sam686 | SDL 1 in GNU GPU and SDL 2 in some more-free licence (forgot what) |
| 04:18:52 | Nothing_Much | It's also eBay, Github, craigslist, etc |
| 04:19:07 | kumul | why are there search results on ubuntu? did they integrate that into the OS? what? |
| 04:19:43 | kumul | GNU GPU? graphical proc unit? |
| 04:19:44 | Nothing_Much | kumul: Yeah they did, it's part of the "convergence" plan that they want |
| 04:19:45 | Nothing_Much | :) |
| 04:19:50 | Nothing_Much | (Canonical wants) |
| 04:19:55 | sam686 | GPL *misspelled |
| 04:19:58 | kumul | oh, so they're... making a webOS? |
| 04:20:04 | Nothing_Much | Which is how the mainstream would expect from a Mobile/Desktop hybrid OS |
| 04:20:09 | Nothing_Much | It's more like a hybrid |
| 04:20:27 | Nothing_Much | kumul: Check out the tour on Ubuntu.com :) |
| 04:20:42 | Nothing_Much | http://www.ubuntu.com/tour/en/ |
| 04:21:00 | kumul | sam686, indeed, but mayibe its good to start with gpl, and then you see when projects which happen to have lots of customers that dislike the unfree aspect of gpl they make the switch to something like apache and so on |
| 04:21:14 | kumul | so long as they dont lose that ability to switch licenses |
| 04:21:20 | kumul | like linux |
| 04:22:31 | sam686 | theres LGPL (lesser GPL) |
| 04:24:27 | sam686 | theres beerware licence http://en.wikipedia.org/wiki/Beerware ... in which I don't like beer |
| 04:24:39 | kaen | LGPL is only permissive for dynamic linking |
| 04:24:53 | kaen | there's no judicial precedent for static linking yet |
| 04:25:06 | kaen | so you're taking a gamble if you do |
| 04:25:21 | kaen | also that beerware license is considered non-free in Debian |
| 04:26:05 | kaen | and also scares the pants off of corporate lawyers |
| 04:26:08 | sam686 | well maybe its becasue... it won't go well with GPL |
| 04:26:21 | kaen | they wouldn't touch software with that license with a ten foot pole |
| 04:26:32 | kaen | no, it's because you are legally obligated to by the author a beer |
| 04:27:25 | kaen | it's legally impossible to prove whether you've complied with the license or not |
| 04:27:38 | kaen | unless you have like a receipt for the beer or something |
| 04:27:43 | sam686 | and there the usual zlib licence (better be in debian or else.. no png/zip compression)) |
| 04:27:54 | kaen | yeah, zlib is known good. |
| 04:28:41 | sam686 | and thers some custom made licence that.. well it has to be read, and most of custom licence is non-free not open sourece though.. |
| 04:29:00 | kaen | you should never ever write your own license or use a vanity license |
| 04:29:25 | kaen | it has to be vetted by the legal team of any organization who wants to use/distribute your software |
| 04:29:39 | kaen | just reading debian-devel I see a new custom license every month |
| 04:29:53 | sam686 | somebody had to write a zlib licence for zip/png compression |
| 04:30:04 | kaen | and they almost without exception get rejected or marked as non-free because the authors are basically never lawyers |
| 04:31:06 | kaen | my point being, programmers should write software, and lawyers should write licenses |
| 04:31:06 | sam686 | or maybe just a blank no licence (mostly for simple tiny code that does little things) |
| 04:31:25 | kaen | actually, if you have no license your code is Copyright under US law and no one can legally use it |
| 04:31:36 | kaen | you have to explicitly license its usage |
| 04:32:02 | kaen | even just saying "public domain" doesn't make your code globally free because some jurisdictions do not have a legal concept of public domain |
| 04:32:42 | kaen | can you tell I've been neck-deep in Debian licensing bureaucracy for the last month? :) |
| 04:32:48 | kaen | (trying to package bitfighter) |
| 04:32:57 | sam686 | kindof see that.. |
| 04:33:22 | sam686 | even blank code (nothing there) is copyrighted by US law? |
| 04:33:42 | kaen | anything that you author, code, poem, song, drawing, whatever |
| 04:33:49 | kaen | instantly gets a legal copyright |
| 04:34:01 | kaen | as soon as pen hits paper |
| 04:34:44 | sam686 | but again if I keep my code to myself only, its can't be copyrighted by anyone else, can it? |
| 04:35:31 | kaen | not sure I understand that question |
| 04:35:37 | kaen | no one can legally copyright work you made, regardless of circumstances |
| 04:36:50 | kaen | unless of course you release the code to them, or have one of those contracts employer's make developers sign that puts any code you write under their copyright. |
| 04:38:13 | sam686 | release something that don't have no copyright.or licence, it could eventually be copyright/or licenced by someong.. |
| 04:38:24 | sam686 | someone (not someong) |
| 04:38:47 | kaen | if you wrote it, you legally have the copyright, and someone trying to claim that they have a copyright on it would be guilty of infringement. |
| 04:39:09 | kaen | although it could be hard to enforce that if you have no public record that you in fact own the copyright |
| 04:40:09 | kaen | but even something like a commit log on a third-party server could serve as evidence to that. |
| 04:41:15 | kaen | although, "eventuall" (70 years after the author's death, I believe) copyrighted material becomes public domain |
| 04:41:23 | kaen | in which case nobody can claim copyright on it |
| 04:41:31 | kaen | "eventually" * |
| 04:42:05 | sam686 | but then it still won't be free will it? |
| 04:42:49 | kaen | globally speaking, not always. |
| 04:43:28 | sam686 | we talking too much about copyright, I wonder if raptor will have fun reading the irc logs? |
| 04:43:28 | kaen | within the US it will be, and most jurisdictions have a clause similar to that as part of international copyright law. |
| 04:43:32 | kaen | hehe |
| 04:44:30 | kaen | the only thing more boring than tedious technicalities of software development are the tedious legal technicalities surrounding them :P |
| 04:44:57 | kaen | how much longer will you be up, sam686? I have a patch that I need a windows tester for before I push |
| 04:45:19 | | raptor has joined |
| 04:45:19 | | ChanServ sets mode +o |
| 04:45:21 | sam686 | maybe an hour more.. |
| 04:45:23 | | raptor sneaks in |
| 04:45:40 | kumul | actually no |
| 04:45:51 | kumul | its +70 on authors death |
| 04:45:54 | kumul | or |
| 04:45:55 | kumul | something... |
| 04:46:02 | kumul | now i got confused |
| 04:46:04 | kaen | isn't that what I said? |
| 04:46:05 | kumul | carry on chaps |
| 04:46:08 | kaen | ok :) |
| 04:47:11 | raptor | time to write ugly PHP for work! |
| 04:49:46 | sam686 | maybe PHP isn't ugly, but the way it is written that can make it ugly |
| 04:49:51 | sam686 | like this: <php $u_g_l_y = "L"; echo "U" + "G" + u_g_l_y + "Y"; > |
| 04:50:00 | raptor | hahaha |
| 04:50:00 | sam686 | and oops missing $ |
| 04:50:23 | sam686 | oh and it should be . not + |
| 04:50:33 | raptor | that's phc++ |
| 04:51:00 | sam686 | now I getting mixed up between C++ and PHP |
| 04:52:29 | fordcars | Night guys, off to bed |
| 04:52:33 | fordcars | Later! |
| 04:52:34 | sam686 | ok |
| 04:52:39 | | fordcars Quit (Quit: Page closed) |
| 04:54:13 | raptor | back in a bit... |
| 04:56:15 | kaen | <?php $u = "u"; $g = "g"; $l = "l"; $y = "y"; $is_ugly = true; if($is{$u}{$g}{$l}{$y}) echo "Then it's PHP!"; ?> |
| 04:56:29 | kaen | not ugly enough until you use variable interpolation in variable names ... |
| 04:58:43 | sam686 | anther thing that can make it more ugly is.. putting everything on one single very long line |
| 05:00:08 | kaen | true, but here's some code that I intentional tried to make as readable as possible: https://github.com/kaen/pleiades/blob/master/app/Model/Level.php#L63 |
| 05:00:24 | kaen | and I consider myself a reasonably good programmer, but still it's hideous |
| 05:01:22 | kaen | you've got regex's inside of strings, dereference operators in front of $this, and so on |
| 05:01:26 | kaen | a dollar signs |
| 05:01:35 | kaen | I'm so sick of typing dollar signs |
| 05:01:46 | sam686 | I don't really like preg_match, its full of symbols that I don't understand |
| 05:02:31 | kaen | PCRE's are good |
| 05:02:48 | kaen | but PCREs with no supporting syntax turn into ASCII soupt |
| 05:02:49 | kaen | soup |
| 05:03:03 | sam686 | php have money variable symbols, but thats much harder to type.. $a+$a+$a+$a+$a+$a |
| 05:03:15 | kaen | that's what I'm saying |
| 05:03:22 | sam686 | to me that $ sign is making it a bit more messy |
| 05:03:26 | kaen | honestly, that's probably my #1 objection to php |
| 05:03:36 | kaen | you just type so many dollar signs |
| 05:04:18 | sam686 | worst, you need SHIFT to type doller signs |
| 05:05:44 | kaen | absolutely |
| 05:06:17 | kaen | I really regret writing pleiades in a PHP framework |
| 05:06:34 | kaen | I just hadn't done any large projects in PHP to know better :P |
| 05:06:41 | kaen | hard lesson learned, I guess |
| 05:06:59 | kaen | oh, also I didn't want something like Ruby with massive memory overhead |
| 05:07:23 | kaen | but it turns out PHP is only cpu/ram efficient if you stick to the core lib (which is written in C) |
| 05:07:44 | kaen | once you start working with a PHP framework, you learn that the actual interpreter is slow and fat and you save almost nothing. |
| 05:08:54 | sam686 | C++ is also cpu/ram efficent, but may have slow compiling, my biggest complaint was slow bitfighter compiling on my old pentium 4 at 3 GHz |
| 05:09:06 | kaen | I still complain about slow compiling :P |
| 05:09:31 | kaen | and it's gotten a little worse since we started templatizing core functions |
| 05:11:26 | sam686 | maybe we should get rid of function that is nothing but setSomething(something) {mSomething = something;} and access the variables directly |
| 05:12:01 | kaen | that's usually considered bad design |
| 05:12:18 | kaen | and it makes more work if the getting/setting ever evolves into non-trivial logic. |
| 05:13:01 | sam686 | which comes at another question, why template in point.h? |
| 05:13:46 | sam686 | all that template in point.h just to get rid of compile warnings? |
| 05:13:59 | sam686 | more like it may slow down compiling instead |
| 05:14:48 | kaen | I think it's so that we can have F32/S32 points without having to cast in and out |
| 05:15:06 | sam686 | its still casting to F32, |
| 05:15:56 | kaen | ah, I didn't look at the code |
| 05:16:05 | kaen | I guess it is a warning dance |
| 05:17:06 | sam686 | template tends to be used incorrectly sometimes it appears.. |
| 05:17:34 | kaen | undoubtedly |
| 05:18:13 | sam686 | one good point is the vector<bool> v; bool *array = &v doesn't work on bool |
| 05:18:52 | kaen | well, that's and implementation detail of the standard lib |
| 05:19:07 | kaen | which was codified into the standard for compatibility |
| 05:19:35 | kaen | because for some ridiculous reason they decided to use a bitfield instead of int arrays ... |
| 05:20:01 | kaen | but a good example is boost::polygon |
| 05:20:45 | kaen | it's so templatized that you have to declare two adapter template classes in order to be able to make it operate on our F32 Point Vectors |
| 05:21:06 | sam686 | oh the compiler slowdown from including hundreds of boost headers, multiply that by number of .cpp files |
| 05:21:11 | | Nothing_Much Quit (Remote host closed the connection) |
| 05:21:21 | kaen | yes, I've been looking into using pre-compiled headers |
| 05:21:28 | kaen | there are drop-in systems for cmake to support that |
| 05:21:52 | kaen | instead of requiring the whole tree for each file that uses it, you include one single header file (containing all headers for the project) |
| 05:21:55 | sam686 | visual studio 2008 supports precompiled headers as well |
| 05:22:13 | kaen | gcc, too |
| 05:22:15 | sam686 | and probably later versions of visual studio supports as well |
| 05:22:19 | kaen | but setting it up is a pain |
| 05:22:26 | kaen | (for gcc, anyway) |
| 05:23:12 | sam686 | how visual studio work, you need to have the same header included on every cpp file, and tell it to use that include as precompiled |
| 05:23:13 | kaen | one disadvantage of PCH though is that if you change a header you have to recompile all of the .cpp files |
| 05:23:19 | kaen | whereas now our headers are fragmented |
| 05:23:54 | kaen | so in some cases it's faster, in other it's not |
| 05:24:26 | kaen | it'd be nice to be able to turn it on/off easily |
| 05:24:40 | sam686 | At one time I speed up the compiler by doing only 10 cpp file, each doing #include "game.cpp" #include "servergame.cpp" and so on, |
| 05:24:41 | kaen | use PCH for large rebuilds, use fragmented headers for single-file changes |
| 05:24:47 | sam686 | but not without such mess of compiler errors |
| 05:24:59 | kaen | haha I bet |
| 05:43:59 | | alex_velea Quit (Ping timeout: 250 seconds) |
| 06:26:23 | | kumul Quit (Quit: Leaving) |
| 06:38:57 | raptor | sam686: does that last fix of yours fix the removeFromGame() crash in your lua script? |
| 06:41:47 | sam686 | it appears to fix the memory corruption problem I had |
| 06:42:53 | sam686 | although adding the same object into game the second time after removing the game doesn't work, it at least doesn't memory corrupt or crash. |
| 06:43:25 | sam686 | There is still a memory leak with TestItem.new() without adding to game. |
| 06:44:14 | kaen | that's a known leak |
| 06:44:36 | kaen | we mention in the docs that if you *must* add an object to the game or it will leak |
| 06:44:42 | kaen | that you must |
| 06:45:10 | raptor | i can't remember if that leaked a Lua object or a c++ one, though - Lua I imagine |
| 06:45:41 | sam686 | it leaks a TestItem or ResourceItem or whatever created from ".new" |
| 06:45:43 | kaen | I think it leaks c++ because object cleanup happens in the game |
| 06:45:53 | kaen | in the Game, I mean |
| 06:46:01 | raptor | hmmm... |
| 06:46:39 | sam686 | the class LuaProxy (LuaWrapper.h) does get destruected correctly, just not the object itself |
| 06:46:41 | kaen | I bet lua-side it doesn't get GC'd either though |
| 06:46:49 | kaen | oh, nevermind then |
| 06:47:44 | sam686 | The ~LuaProxy() is nothing more then setting something to NULL |
| 06:47:47 | kaen | maybe we could use the refcount and delete the object when the last reference is destroyed if it's not already in a game? |
| 06:48:15 | sam686 | if mDefunct = true; in luaProxy it means the actual object it was pointing to was deleted |
| 06:48:40 | kaen | (do we still keep refcounts?) |
| 06:48:44 | sam686 | It looks like only LUA can delete LuaProxy |
| 06:49:10 | kaen | yes, and iirc that's invoked when lua GC's the userdata |
| 06:49:37 | sam686 | it also appears there is only one copy of LuaProxy per object (if any) |
| 06:50:14 | kaen | yes, I think wat and raptor were able to make that happen using a proxy cache, I believe |
| 06:51:10 | kaen | so if we guarantee that, then I think LuaProxy can safely delete its target in its own destructor if the target's mGame is null |
| 06:51:28 | kaen | but, LuaProxy can refer to things that don't have an mGame, I think |
| 06:51:31 | kaen | such as menu items. |
| 06:51:47 | raptor | oh man, this talk is bringing back nightmares |
| 06:52:00 | kaen | yeah I don't really want to mess with it either |
| 06:52:09 | raptor | just be very, very careful |
| 06:52:16 | sam686 | http://sam6.25u.com/hg/bf019/rev/01414236b4ed Thats the one time I fixed the memory leak but later been gone |
| 06:52:37 | raptor | you can look at my LuaWrapper commits in june or july to get a feel of how we finally made the system work |
| 06:52:37 | kaen | that's a documented, reasonable leak, so I don't know if it's worth messing with the delicate balance of our luawrapper |
| 06:53:19 | sam686 | except it still memory leaks or wasn't tested for memory leaks after the changes of removing my stuff on LuaWrapper |
| 06:54:13 | raptor | I need to go to bed - I remember that commit sam686; watusimoto, at the time, didn't want to do that for some reason, and I think it didn't play nice with plugins |
| 06:54:22 | raptor | I don't remember all the specifics, though |
| 06:54:41 | raptor | but i need to sleep... i'll see you all tomorrow! |
| 06:54:44 | sam686 | ok |
| 06:54:48 | kaen | night! |
| 06:54:52 | raptor | night! |
| 06:54:55 | | raptor Quit () |
| 07:09:20 | | destroyerimo has joined |
| 07:23:40 | | HylianSavior Quit (Read error: Connection reset by peer) |
| 07:24:22 | | Flynnn has joined |
| 07:25:08 | | sam686 has left #bitfighter |
| 07:36:13 | | BFLogBot Commit: 44f0950edc1a | Author: kaen | Message: fix bug preventing display of plugins at the end of the list after scrolling |
| 07:47:43 | kaen | !bug |
| 07:47:43 | BFLogBot | To enter a bug: http://tinyurl.com/bfnewbug -- To view all bugs: http://tinyurl.com/bfbugs |
| 07:52:13 | | kaen Quit (Quit: Leaving) |
| 07:52:37 | | kaen has joined |
| 07:52:50 | | kaen Quit (Changing host) |
| 07:52:50 | | kaen has joined |
| 08:07:02 | | Darrel has joined |
| 08:10:29 | | Watusimoto has joined |
| 08:13:05 | | Darrel Quit (Read error: Operation timed out) |
| 08:13:11 | | Darrel has joined |
| 08:16:03 | | Watusimoto Quit (Ping timeout: 272 seconds) |
| 08:20:08 | | Invisible has joined |
| 08:23:25 | | kaen Quit (Remote host closed the connection) |
| 08:34:49 | | watusimoto has joined |
| 08:34:50 | | ChanServ sets mode +o |
| 08:38:44 | | watusimoto Quit (Client Quit) |
| 08:38:59 | | watusimoto has joined |
| 08:38:59 | | ChanServ sets mode +o |
| 08:52:45 | | Platskies Quit (Ping timeout: 252 seconds) |
| 09:01:00 | | Kiryx has joined |
| 09:01:12 | | Kiryx_ has joined |
| 09:04:26 | | kaen has joined |
| 09:04:26 | | kaen Quit (Changing host) |
| 09:04:26 | | kaen has joined |
| 09:28:51 | | Johnaudi has joined |
| 09:29:05 | Johnaudi | Yo hey guys |
| 09:31:08 | Johnaudi | Watisomoto thanks for leaving that class comment, I'll work on it as soon as I'll get home, do you need any other functions besides the getAvailLevels()? |
| 09:31:34 | Johnaudi | Brb |
| 09:35:49 | | Johnaudi Quit (Ping timeout: 250 seconds) |
| 09:42:31 | | Skybax has joined |
| 09:43:54 | Skybax | Oh hello |
| 09:55:50 | | Skybax Quit (Read error: Connection reset by peer) |
| 09:56:57 | | Skybax has joined |
| 10:31:02 | | Kiryx_ Quit (Quit: Leaving) |
| 10:39:28 | | Skybax Quit (Ping timeout: 264 seconds) |
| 10:57:04 | | Invisible Quit (Ping timeout: 265 seconds) |
| 11:14:41 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 11:52:46 | | Darrel Quit (Quit: Leaving) |
| 12:49:44 | | Platskies has joined |
| 12:49:52 | | Platskies Quit (Read error: Connection reset by peer) |
| 12:53:07 | | Platskies has joined |
| 13:09:43 | | Platskies Quit (Quit: Platskies) |
| 13:10:21 | | Johnaudi has joined |
| 13:10:29 | Johnaudi | Hey guysss |
| 13:10:49 | Johnaudi | I logged into bitfighter yesterday or the day before and only saw like 1 server available |
| 13:10:54 | Johnaudi | Is that normal? |
| 13:13:15 | | Invisible has joined |
| 13:15:25 | | Darrel has joined |
| 13:15:28 | | Darrel has left #bitfighter |
| 13:16:50 | | Johnaudi Quit (Quit: Page closed) |
| 13:24:29 | | koda has joined |
| 13:25:57 | | Johnaudi has joined |
| 13:26:37 | | Johnaudi_ has joined |
| 13:26:46 | watusimoto | hi Johnaudi |
| 13:27:22 | watusimoto | usually we have more than 1 server available, but not always |
| 13:27:39 | Johnaudi_ | the problem is that people don't usually play the game? |
| 13:27:43 | watusimoto | it really depends on who is hosting at any given moment, and what is going on with their computer |
| 13:27:49 | Johnaudi_ | because in my opinion it really really has potential |
| 13:27:51 | watusimoto | that's part of the problem :-) |
| 13:28:05 | watusimoto | everyone who tries it thinks it has potential |
| 13:28:11 | Johnaudi_ | how about we focus on reviews and advertising? |
| 13:28:27 | watusimoto | the upcoming release will make it much easier for new players to understand what is oging on (hopefully) |
| 13:28:31 | watusimoto | and will make it look better |
| 13:28:48 | Johnaudi_ | yeah but as long as it is single platformed, that's a problem |
| 13:29:09 | watusimoto | it's in a difficult niche: too hard to pick up casually, not enough to be engaging for long periods (like minecraft) |
| 13:29:11 | Johnaudi_ | btw what does #pragma once mean? |
| 13:29:31 | watusimoto | I think it prevents a .h file from being included more than once |
| 13:29:33 | Johnaudi_ | yeah it's more of a pass-by game |
| 13:29:40 | Johnaudi_ | okay cool |
| 13:29:47 | Johnaudi_ | what should I include in my class btw? |
| 13:29:56 | Johnaudi_ | oh and I can advertize bitfighter |
| 13:29:58 | Johnaudi_ | on Graal |
| 13:30:04 | Johnaudi_ | over 2000 players 9+ |
| 13:30:15 | | Johnaudi Quit (Ping timeout: 250 seconds) |
| 13:30:20 | watusimoto | please do :-) |
| 13:30:26 | Johnaudi_ | Sure let me log in right now |
| 13:30:44 | Johnaudi_ | I've gotta ask the owner though |
| 13:30:53 | Johnaudi_ | you own bitfighter? |
| 13:31:07 | watusimoto | look at the parent class; you'll need to implement everything from that class that needs to be changed or is unimplemented |
| 13:31:37 | watusimoto | no one realy "owns" bitfighter, but I created the project and am as close to being in charge as anyone |
| 13:31:50 | watusimoto | so for your purposes, yes, I own it |
| 13:32:22 | watusimoto | what time is it where you are? |
| 13:32:56 | Johnaudi_ | 4:42pm |
| 13:32:59 | Johnaudi_ | you? |
| 13:33:12 | Johnaudi_ | !time watusimoto |
| 13:33:26 | Johnaudi_ | !commands |
| 13:33:58 | watusimoto | so you're in eastern europe somewhere, right? |
| 13:34:25 | watusimoto | I'm in luxembourg, and it's 14:30 here now |
| 13:34:39 | Johnaudi_ | oh well |
| 13:36:18 | | Johnaudi has joined |
| 13:36:27 | Johnaudi | ah sorry I couldn't see my messages somehow |
| 13:36:32 | Johnaudi | you were saying? |
| 13:36:46 | watusimoto | I was saying I'm in luxembourg, and it's 14:30 here |
| 13:38:04 | Johnaudi | I'm in Lebanon |
| 13:38:10 | Johnaudi | Today's our independance day |
| 13:38:36 | Johnaudi | anyways, is this what you mean by the class?: |
| 13:38:44 | Johnaudi | #include "FileListLevelSource.h" #include "LevelSource.h" #include "config.h" // For FolderManager #include "gameType.h" #include "GameSettings.h" #include <fstream> #include "md5wrapper.h" #include "stringUtils.h" #include "tnlAssert.h" FileListLevelSource::FileListLevelSource(void) { } FileListLevelSource::~FileListLevelSource(void) { } |
| 13:38:46 | Johnaudi | this is the cpp file |
| 13:38:51 | Johnaudi | anything missing? |
| 13:38:55 | | Johnaudi_ Quit (Ping timeout: 250 seconds) |
| 13:38:56 | watusimoto | you are probably our first lebanese contributor |
| 13:39:06 | Johnaudi | I'm probably the first lebanese in GCI |
| 13:39:09 | Johnaudi | :P |
| 13:39:13 | watusimoto | great! |
| 13:39:29 | watusimoto | someday I'll visit lebanon |
| 13:39:31 | Johnaudi | I'm trying so hard to win that trip because, well, lebanon is not a good country |
| 13:39:38 | Johnaudi | well, not these days haha |
| 13:40:04 | watusimoto | yes, I read the news |
| 13:40:19 | Johnaudi | 2 terrorist explosion two days ago |
| 13:40:22 | Johnaudi | a bus explodes today |
| 13:40:35 | Johnaudi | and war is coming from syria to here soon |
| 13:40:48 | Johnaudi | let's hope after christmas, I need that PS4 :p |
| 13:41:02 | | koda got a spurious ping |
| 13:41:42 | Johnaudi | btw the class should only contain one function which is the one setted in the previous on (getAvailLevels()) |
| 13:42:07 | Johnaudi | right? |
| 13:42:28 | watusimoto | sorry my machine keeps locking up |
| 13:43:01 | Johnaudi | I have to go in 30minutes - ima try to do that fast |
| 13:43:09 | Johnaudi | did you receive the last messages? |
| 13:44:37 | watusimoto | I can't really look to much, as I have a problem at work now, but as I recall your enw class will inherit from abstractLevelSource |
| 13:44:46 | watusimoto | (yes) |
| 13:45:02 | watusimoto | sorry, from LevelSource |
| 13:45:30 | watusimoto | in levelsource.h, there is a list of methods that levelsources implement |
| 13:45:51 | watusimoto | some are already implemented, and if you like the implementation, you can inherit them as-is |
| 13:46:04 | watusimoto | thsoe that are abstract (i.e. = 0) you will need to implement |
| 13:46:25 | watusimoto | those that are static you basically use as-is |
| 13:46:48 | Johnaudi | I'll be setting my func as static |
| 13:47:04 | watusimoto | so i fyou look at FolderLevelSource, you can see it only implements a couple of things, everything else in inherits from LevelSource |
| 13:47:15 | watusimoto | I don't know if you'll do any static functions |
| 13:47:36 | watusimoto | if you need a new helper method, make it a normal class function |
| 13:47:40 | Johnaudi | class FileListLevelSource : LevelSource { public: FileListLevelSource(void); ~FileListLevelSource(void); static Vector<string> getAvailLevels(string filename); };] |
| 13:47:58 | Johnaudi | this should inherit everything right? |
| 13:47:59 | watusimoto | you'll need more than that |
| 13:48:12 | Johnaudi | what should I add? |
| 13:48:12 | watusimoto | no; try to compile that and you'll get an error |
| 13:48:18 | Johnaudi | lemme try |
| 13:48:29 | watusimoto | at a minimum you'll need to implmenet these: |
| 13:48:31 | watusimoto | virtual bool populateLevelInfoFromSource(const string &fullFilename, LevelInfo &levelInfo) = 0; |
| 13:48:31 | watusimoto | virtual string loadLevel(S32 index, Game *game, GridDatabase *gameObjDatabase) = 0; |
| 13:48:31 | watusimoto | virtual string getLevelFileDescriptor(S32 index) const = 0; |
| 13:48:31 | watusimoto | virtual bool isEmptyLevelDirOk() const = 0; |
| 13:48:54 | watusimoto | without those you can instantiate the class |
| 13:49:24 | watusimoto | so FolderLevelSource impl;ements those plus one new function |
| 13:49:42 | Johnaudi | I'm not a good C++ programmer, I've started last year but when a method is virtual does it mean it will like - copy the method from the inhireted class? |
| 13:49:54 | watusimoto | no |
| 13:50:01 | watusimoto | virtual means that it can be overridden |
| 13:50:16 | watusimoto | by a child class |
| 13:50:35 | Johnaudi | 'and what's the point of that? |
| 13:51:01 | watusimoto | if your child class needs to do something differently, you can implement a new method with the same signature, and override the parent |
| 13:51:06 | watusimoto | let me think of a quick example |
| 13:51:23 | watusimoto | ok,a dumb example, but if you have a class animal |
| 13:51:26 | watusimoto | might look like this: |
| 13:51:32 | watusimoto | class animal { |
| 13:51:54 | watusimoto | virtual eat() } |
| 13:52:23 | watusimoto | and eat might be void eat() { print "food"; } |
| 13:52:28 | watusimoto | so |
| 13:52:33 | watusimoto | you could then do |
| 13:52:46 | watusimoto | class herbivore : public animal { |
| 13:52:57 | Johnaudi | lol |
| 13:53:03 | watusimoto | void eat() { print "grass" } |
| 13:53:03 | watusimoto | } |
| 13:53:15 | watusimoto | and class carnivore : public anumal { |
| 13:53:19 | Johnaudi | oh it's like override methods in C# |
| 13:53:27 | watusimoto | void eat() { print "meat" } |
| 13:53:28 | watusimoto | } |
| 13:53:35 | watusimoto | it is exactly like that |
| 13:53:49 | Johnaudi | makes more sense |
| 13:53:57 | Johnaudi | but I don't need to write that right? |
| 13:54:03 | Johnaudi | like I'll just load up the func I have |
| 13:54:08 | watusimoto | so functions that are defined with = 0 have to be overridden |
| 13:54:22 | watusimoto | those with virtual can be overriden |
| 13:54:22 | Johnaudi | yup saw that in thenewboston.org |
| 13:54:33 | Johnaudi | okay thanks |
| 13:54:40 | watusimoto | so you'll be creating a new class |
| 13:55:17 | Johnaudi | yup I'll place those in the .h |
| 13:55:17 | watusimoto | the entire thing will be very similar to FolderLevelSource |
| 13:55:34 | Johnaudi | okay I'll upload where I am at right now cause I have to go |
| 13:55:38 | watusimoto | so look at how that is implemented (in the .cpp file) |
| 13:55:45 | watusimoto | and look at where it is used in the code |
| 13:55:56 | watusimoto | and see if you can understand how your class will fit into the picture |
| 13:56:24 | watusimoto | we haev some methods that take a LevelSource as an arg, and you'll be creating a new type of LevelSource for them to get levels from |
| 13:56:40 | Johnaudi | 2>c:\users\audi\documents\gci\zap\gamesettings.cpp(775): error C2039: 'getAvailLevels' : is not a member of 'Zap::LevelSource' |
| 13:56:51 | watusimoto | currently they can take a FolderLevelSource, or a StringLevelSource |
| 13:57:38 | Johnaudi | okay I'll finish that tonight |
| 13:57:45 | Johnaudi | cyaaa and thanks :D |
| 13:57:52 | watusimoto | that means you are trying to use a LevelSource object , and calling getAvailLevels, which doesn't exist |
| 13:58:02 | watusimoto | ok, see you later |
| 13:58:07 | Johnaudi | okay |
| 13:58:09 | | Johnaudi Quit (Quit: Page closed) |
| 15:03:42 | | Watusimoto_ has joined |
| 15:22:12 | | kumul has joined |
| 15:52:28 | | BFLogBot raptor says he's got a really busy day and may not be able to come online much. He requests someone kindly review gripoB\'s work as it is overdue for review |
| 16:03:50 | | grypoB has joined |
| 16:03:56 | | Watusimoto_ Quit (Ping timeout: 240 seconds) |
| 16:14:09 | | grypoB Quit (Quit: Page closed) |
| 16:16:52 | | grypoB has joined |
| 16:26:21 | | John____ has joined |
| 16:26:28 | | John____ has left #bitfighter |
| 16:27:15 | | tomek_bstok has joined |
| 16:28:03 | tomek_bstok | Hello |
| 16:29:38 | tomek_bstok | hey watusimoto, i think i don't i will not make a high scores before deadline, can You give me more time ? |
| 16:31:27 | | thread_ has joined |
| 16:37:12 | watusimoto | sure tomek_bstok |
| 16:37:21 | watusimoto | can you post me the url of your task? |
| 16:37:41 | tomek_bstok | http://www.google-melange.com/gci/task/view/google/gci2013/6705944503255040 |
| 16:37:55 | | LordDVG has joined |
| 16:38:16 | watusimoto | Gave you 24 more hours. Please let one of us know if you need more |
| 16:38:30 | tomek_bstok | ok, thank You very much |
| 16:53:37 | kaen | morning all |
| 16:54:39 | | raptor has joined |
| 16:54:39 | | ChanServ sets mode +o |
| 16:54:47 | raptor | good morning! |
| 16:55:01 | | Invisible Quit (Ping timeout: 248 seconds) |
| 16:55:12 | | sam686 has joined |
| 16:55:13 | | ChanServ sets mode +v |
| 16:55:20 | thread_ | where was that thread on setting up a local copy of the codebase for bitfighter? |
| 16:55:29 | thread_ | raptor: morning |
| 16:55:33 | raptor | thread_: say what? |
| 16:55:50 | raptor | you already have a local copy when you clone it... unless you mean something else? |
| 16:55:53 | thread_ | there was a thread that had the whole murcurial/cmake instructions |
| 16:56:09 | thread_ | I messed something up in my copy and need to reclone |
| 16:56:30 | raptor | http://bitfighter.org/wiki/index.php/Building_Bitfighter |
| 16:56:31 | thread_ | but I don't remember how to do the cmake stuff |
| 16:56:38 | watusimoto | hi |
| 16:56:44 | thread_ | thanks |
| 16:56:45 | raptor | also, see the gci quick start page: |
| 16:56:47 | raptor | !gci |
| 16:56:47 | BFLogBot | GCI Students Welcome! Please see: http://bitfighter.org/wiki/index.php/GCI_Student_Bootstrap for getting started. |
| 16:56:53 | raptor | hi watusimoto |
| 16:57:49 | raptor | watusimoto or kaen: would either of you have time to review grypoB's code? We're overdue in reviewing it and I'm really busy at work today |
| 16:58:00 | watusimoto | I can look tonight |
| 17:00:25 | | destroyerimo_ has joined |
| 17:02:21 | raptor | thank you |
| 17:03:59 | | destroyerimo Quit (Ping timeout: 272 seconds) |
| 17:12:29 | kaen | I can look right now :) |
| 17:23:40 | tomek_bstok | Maybe there is a equivalent of toString() for F32 ? |
| 17:23:56 | raptor | ftos? |
| 17:24:50 | tomek_bstok | oh, it works. Thanks ;) |
| 17:25:33 | | koda Quit (Ping timeout: 245 seconds) |
| 17:29:55 | | tomek_bstok Quit (Quit: Wychodzi) |
| 17:34:36 | | HylianSavior has joined |
| 17:41:15 | | Canseco has joined |
| 17:49:21 | | watusimoto Quit (Ping timeout: 265 seconds) |
| 17:49:39 | | watusimoto has joined |
| 17:49:40 | | ChanServ sets mode +o |
| 17:58:05 | | watusimoto Quit (Ping timeout: 272 seconds) |
| 18:15:11 | | Watusimoto has joined |
| 18:27:24 | | Johnaudi has joined |
| 18:27:32 | Johnaudi | hey |
| 18:27:42 | Johnaudi | I'm back |
| 18:28:53 | Johnaudi | the class so far : http://pastie.org/8501690 |
| 18:32:17 | | thread_ Quit (Ping timeout: 250 seconds) |
| 18:37:12 | | Invisible has joined |
| 18:43:01 | | Skybax has joined |
| 18:46:05 | sam686 | ok |
| 18:47:20 | | Darrel has joined |
| 18:49:40 | | Canseco Quit (Quit: No Ping reply in 180 seconds.) |
| 18:49:57 | | Canseco has joined |
| 18:51:01 | | destroyerimo_ Quit (Ping timeout: 272 seconds) |
| 18:52:54 | | Johnaudi Quit (Quit: Page closed) |
| 19:04:28 | | Canseco Quit (Remote host closed the connection) |
| 19:18:15 | | LordDVG Quit (Remote host closed the connection) |
| 19:18:47 | Watusimoto | I am reviewing grypoB's task |
| 19:19:26 | Watusimoto | kaen: is that right? |
| 19:19:46 | Watusimoto | I am just getting things set up, so no worries |
| 19:21:35 | kaen | grypoB, can you give me a simple usage example? I wasn't able to get it working |
| 19:21:38 | raptor | wrong window Watusimoto |
| 19:22:59 | raptor | :) |
| 19:25:33 | grypoB | hi kaen |
| 19:26:00 | kaen | hi grypoB |
| 19:26:43 | grypoB | last time i try to run the game with my modification it crashed (core dumped) |
| 19:27:12 | grypoB | so there might be errors with null pointers or something like that |
| 19:27:50 | grypoB | but also, it does not initilazise the Vector<string> so that might be why |
| 19:28:01 | kaen | ah, I see |
| 19:28:18 | grypoB | but was that your question ? |
| 19:28:52 | kaen | to set the music for a level, I should add a line like this: Music av_invis.xm |
| 19:28:53 | kaen | right? |
| 19:29:07 | | Nothing_Much has joined |
| 19:29:28 | grypoB | yep, and it could be multiple file like Music a.xm b.xm |
| 19:29:34 | kaen | ok |
| 19:30:06 | grypoB | but the music should be located in the musicDir |
| 19:30:30 | grypoB | getSettings()->getFolderManager()->musicDir to be precise |
| 19:30:43 | kaen | I'll try again, but as far as I can tell Music av_invis.xm plays the same song as Music dreams3.xm |
| 19:30:54 | kaen | for me on i686 linux with gcc, at least. |
| 19:31:05 | grypoB | so it does run |
| 19:31:16 | kaen | yes, and doesn't crash as far as I can tell |
| 19:31:23 | kaen | but also doesn't seem to work :) |
| 19:31:36 | kaen | I also had a suggestion about your implementation: |
| 19:31:55 | grypoB | i should add error messages in the getFile() then |
| 19:32:47 | kaen | I think you can get rid of mHasMusicLinked, and instead return mMusicLinkedList.size() > 0 in isMusicLinked() |
| 19:33:13 | kaen | allowing you to get rid of updateHasMusicLinked() as well |
| 19:33:21 | kaen | unless I'm missing a detail, that is. |
| 19:33:29 | grypoB | your right |
| 19:33:41 | kaen | oh, and warning to the console would be nice if getFile fails, I didn't think about that actually |
| 19:34:10 | grypoB | what is the syntax ? |
| 19:34:30 | kaen | something like logprintf(LogLevel::Warning, "%s could not be located in %s", filename, musicDir); |
| 19:34:43 | grypoB | ok |
| 19:35:01 | kaen | overall, very good work though :) |
| 19:35:12 | grypoB | but does'nt work |
| 19:35:15 | kaen | oh, and also remember to put two lines between function definitions |
| 19:35:37 | kaen | eh, making things work is a small detail of good programming :P |
| 19:36:19 | grypoB | where should i had the lines ? |
| 19:37:10 | kaen | } |
| 19:37:11 | kaen | void GameType::updateHasMusicLinked() |
| 19:37:20 | kaen | oops, my client ate a line feed |
| 19:37:33 | kaen | but there should be two blank lines between the closing brace and the next function |
| 19:38:25 | grypoB | ok, got it |
| 19:46:57 | Skybax | Peanutbutter M&Ms are tasty |
| 19:57:47 | | Invisible Quit (Ping timeout: 272 seconds) |
| 20:00:27 | grypoB | kaen : i sent an other diff with the updated spacing and the error log for the getFile. Can you test it again and see the result ? |
| 20:02:39 | | Skybax Quit (Ping timeout: 252 seconds) |
| 20:02:41 | | Skybax_ has joined |
| 20:03:10 | | Skybax_ is now known as Skybax |
| 20:09:36 | grypoB | kaen : nevermind, i'll work a bit more (to remove the useless variables) |
| 20:21:51 | | kumul Quit (Ping timeout: 272 seconds) |
| 20:23:43 | | tomek_bstok has joined |
| 21:02:03 | | xaviex has joined |
| 21:03:27 | | Skybax_ has joined |
| 21:04:39 | | Skybax Quit (Ping timeout: 272 seconds) |
| 21:04:44 | | Skybax_ is now known as Skybax |
| 21:06:33 | | xaviex Quit (Ping timeout: 250 seconds) |
| 21:06:56 | | Flynnn has joined |
| 21:28:10 | | Invisible2 has joined |
| 21:38:04 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 21:41:48 | | Flynnn has joined |
| 21:42:42 | | Flynnn Quit (Client Quit) |
| 21:43:23 | | Flynnn has joined |
| 21:53:28 | | GEOFBOT has joined |
| 21:53:48 | GEOFBOT | hi |
| 21:54:00 | GEOFBOT | i was thinking about tackling a c++ task for bitfighter |
| 21:54:11 | GEOFBOT | even though I know very little of it |
| 21:54:12 | | grypoB Quit (Quit: Page closed) |
| 21:54:28 | GEOFBOT | this one seems relatively simple |
| 21:54:29 | GEOFBOT | http://www.google-melange.com/gci/task/view/google/gci2013/4654559943196672 |
| 21:54:33 | GEOFBOT | hmmmm |
| 21:58:10 | | Skybax Quit (Read error: Connection reset by peer) |
| 21:59:29 | | Skybax has joined |
| 22:02:11 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 22:05:10 | | Flynnn has joined |
| 22:07:25 | sam686 | Most of undo/redo are in zap/UIEditor.cpp |
| 22:07:33 | GEOFBOT | ok |
| 22:07:36 | GEOFBOT | ty |
| 22:11:57 | | Skybax_ has joined |
| 22:14:52 | | Skybax Quit (Ping timeout: 264 seconds) |
| 22:18:29 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 22:25:41 | GEOFBOT | c++ is intimidating 0_o |
| 22:27:34 | | Canseco has joined |
| 23:57:14 | | -pratchett.freenode.net- *** Looking up your hostname... |
| 23:57:14 | | -pratchett.freenode.net- *** Checking Ident |
| 23:57:14 | | -pratchett.freenode.net- *** No Ident response |
| 23:57:15 | | -pratchett.freenode.net- *** Your forward and reverse DNS do not match, ignoring hostname |
| 23:57:21 | | BFLogBot has joined |
| 23:57:21 | | -ChanServ- [#bitfighter] Welcome to #bitfighter. This is an IRC channel, many or all of the users may not be paying attention. Please have patience when waiting for a response. |