« first day (487 days earlier)      last day (4534 days later) » 

2:09 AM
SILENCE YOU FOOLS
 
 
13 hours later…
2:41 PM
weekends tend to be quiet...
in slightly gamedev related news, i tried setting my game's map size to be 100x100 (i've been testing with 20x20). there was... a lot of lag.
 
@thedaian could you just share a beta version of your game, so we get idea what are you talking about!?
 
well, i don't have a version anywhere with the larger map size and lag
 
3:14 PM
what about one with small map size? or at least some screen shots?
 
3:29 PM
plenty of screenshots here: isotower.com/screens.php
 
4:22 PM
Any idea what section of code is slowing it down? 100x100 seems quite reasonable imo
 
I've got a few ideas, mostly that I'm looping through all the tiles at least twice per frame.
Including, I think, all the vertical tiles (which in the test, included another 100 on the Z axis)
 
Well, what kind of processing are you doing during the foreach tile?
 
Honestly, I don't think I'm doing that much. I might not even be doing anything at all...
Suffice to say, I'm definitely going to be doing some optimization in the future
 
hmm, well... a 10k loop takes like 10ns
 
(with 100x100x100, it'd be a million tiles.... wow)
 
4:31 PM
heh, it goes up every frame too, and up to the sky?
and yeah, that's pretty huge
 
yeah, the eventual goal is to support towers with 100 floors, at least. so... yeah, if i set the map size as 100x100, then it has a million tiles. rendering the darn thing causes lag as I move up to higher floors (was getting ~7fps by floor 50 or so)
it's something that I'm not going to worry too much about right now, since my initial 'demo map' is only going to be 20x20x10 or so
 
yeah, ok
 
i've got a few ideas on how to improve things, but right now, I'd rather get a demo out and be able to ask for money first.
 
5:25 PM
Hey guys, quick question
 
ask
 
if one was to make a browser based mmo, would you start with the database? the server? Or somewhere else? Not too sure how to manage :)
 
I would start with playing the game local! it means having all "server-client-database " code in my own laptop, and trying to develop them in a small scale that runs local
 
user4704
You pretty much need to develop them in concert.
 
So make the game in javascript or whatever is needed, then have a local server?
In concert? I don't know that that means ^_^
 
user4704
5:28 PM
At the same time.
 
user4704
There's no point to developing just the database infrastructure, or just the server, or just the client in one phase of development before moving on the to the next.
 
Ohhh.. thanks for the help :)
 
user4704
They are are strongly-coupled and should be developed as a whole product.
 
Yeah, the times I've done it, it's pretty much been all at once.
 
user4704
You should choose a setup where you can easily have locally-deployed client and server installations on your machine for ease of iteration. But it's also important to be able to easily deploy a development build to a replica of your cluster environment so you can test under more real world conditions
 
user4704
5:31 PM
Or, at the very least, add facilities for simulating lag and dropped packets.
 
I did a bit of HTML/design work, then realized I needed a new field in a table, or a new table in the database, so added that, then added code to handle that new table, and pretty much kept adding stuff until the code and game became a huge mess and I started over with a different idea entirely.
 
5:56 PM
hah, yeah. Haven't we all? haven't we all...
 
 
2 hours later…
8:08 PM
@JohnMcDonald Not me! I always code perfect code in the first go, and never start a project before finishing the previous! That's why I'm so far in my career as a software developer. :D
Oh wait... :P
 
heh, yeah
You should see my graveyard
 
Can't be worse than mine. :P
 
heh... uuhh
I donno dude
 
Though a graveyard is nice from time to time. It's nice to do some necrowork(aka refactoring training) on old projects. :P
 
heh, nah, I just pick them for parts
Zombies!
 
8:11 PM
I just refactored and improved an old WC3 hack so it's ready for people to tinker around with it.
 
I tried to refactor an old Space game to use XNA, but man... it just wasn't worth the time
when I get home, I can give you a rough count of my graveyard
 
Well, I actually think you may up me. I tend to waste longer time on my projects than most people.
The WC3 hack took years of my time.
Learned a lot of valuable things though, so it's not for nothing.
 
yeah, more recently I've been spending more time on a select few projects, so at least the graveyard has stopped growing
 
if we're going for pure count... i don't even want to know
 
I've dumped all my projects in favor of my game.
 
8:17 PM
@thedaian heh, yeah
Mine has to be ... quiite a bit above 100
 
I think my project count may be around 40-50 or something.
Depends on where the line is I guess.
40-50 projects I've spent at least a month on.
 
well I don't keep graveyard, just put some of my projects on the shelf and throw others away!
 
I think I have about 130 directory in my C# directory, but some of those are backups from a time before I started using SVN
 
I don't even keep count of those projects
 
then there's C++, Java, J# (yeah, I know), and VB
 
8:19 PM
ok, not on the level of you guys, i've got about 4 starcraft maps/campaigns i did stuff with, probably 6-10 RPG Maker games, at least 2 text c++ games, and... 5-6? sdl projects.... and we'll say 5 web sites i've done something with?
 
I suggest using shift+delete
 
heh, why delete?
 
to create space for new projects (which will never finish)
 
@Gajet just buy a new hard drive. :P
 
oh, and @thedaian, a number of my projects are dlls that are designed to be used by other apps. So Asteroid Outpost is comprised of 5 "projects" in a sense. TeeVee is something like 8
 
8:22 PM
ahhh. that's cheating :P
 
@john speaking of teevee, now we are at least 3 people using teevee at university!
 
hah, No it isn't. QuadTree and Primitives2D are "projects"
@Gajet Reeaaally?
 
yeah
 
Damn, cool. How do you guys find it so far?
 
it took a lot of advertisement effort, but the it's sprite is growing!
 
8:23 PM
I've been thinking of adding/fixing a couple things recently
 
it's good, but has some annoying things, for example not allowing to add a series which is unknown to application
 
:/ yeah... you can, but it's tricky, yeah
I can give you some tips
 
after trying to do so the application crashed so I've learned that's a bad idea!
 
1) Whatever series name you type in the "New Series" dialog will get used, regardless of whether it's found in the serieslist.txt file or not. BUT if you do this, it will likely not update from TheTVDB.com
hmm, crashes are never good. Can you reproduce it?
 
let me try
 
8:28 PM
Before you do
Back up your TV.db
or... whatever I called it
 
now I've found another issue!
 
In your user directory, app data?, then TeeVee
Ehh... yeah... it's not the most stable, :(
 
I've got all my movies in an external device, and teevee had a record for all of my series.
I tried running application without attaching external hdd, and it didn't open any windows
 
ahh... That's a recorded bug
here, I'm trying to find my bug list for ya
 
even after connecting my hdd, your program doesn't open (probably cause by a change in drive letters).
where do you keep databases?
 
8:35 PM
Umm, it might actually be running
Bring up the task manager, kill all instances, and re-run
 
it's not
this time there is a window created, but it can not be shown!
 
hmm
Well... let me think
heh, you can't actually see the details of the bugs without logging in. That's lame
 
 
Yeah, what you see in the task manager like that is normal... even in the normal running state
It's because the lists are actually not windows lists, they are TableScopes
One of the 8 projects: sourceforge.net/projects/tablescope
 
well, I don't know about those details, but it seems I can't run teevee
 
8:43 PM
I should add tvdb lookup to my series filename fixer.
People love the tool.
 
So... you don't see TeeVee in the task bar?
 
nope
 
@MindWorX Nice. I've been seriously considering adding a filename fixer to TeeVee
 
I mean there is it's icon, \
 
I also extract the episode and season using regex which I assume you do too?
 
8:44 PM
@Gajet, is it in the Task Manager eating up an entire core?
@MindWorX heh, yes
 
but no windows shows up, and when I click close button
all program traces are gone,
 
ok, I'm just trying to think about what TeeVee must be doing. OOHhhhh, yeah, I know
It's related to that know bug of mine that involves networked or external drives
 
it does nothing at all, even in task manager (while not opening any window) it uses 0% cpu, and 159MB of ram
 
From my bug tracker that you can't see:
"If Television was identified on a network drive, even a mapped network drive, and that network drive has been disconnected, TeeVee will spend a few seconds to look up that network drive for each file. If the network drive contains a lot of TV, this can take minutes. The problem occurs when you click on a series and TeeVee tries to determine if the episodes are on your hard drive or not."
 
@JohnMcDonald What's your regexes?
 
8:47 PM
Some really long, really messed up regex that recognizes almost anything with a season and episode identifier (not "part1.avi")
 
s02e12: @"([sS]\d{1,2})([eE]\d{1,2})([eE]\d{1,2})*"
2x12:   @"(\d{1,2})[xX](\d{1,2})"
212:    @"(\d{1,2})(\d{2})"
Those are mine.
 
This is old, but something like: ".*(?:(?:s|S(\d\d??)e|E(\d\d??))|(?:(?<!\d)(\d\d)(\d\d)(?!\d))|(?:(?<!\d)(\d)(\d\‌​d)(?!\d))|(?:(\d\d?)x|X(\d\d?))).*"
 
Whoa. You catch all ways in one regex? :P
 
yeah, all regular TV
 
I kinda just went with three checks.
Gives me some cleaner code
But I guess it also means it's slower.
 
8:51 PM
@Gajet And yeah... since it will spend a few seconds for each file, it's highly IO-bound and won't use any CPU power. There are 2 ways to fix this
1) Re-attach the network drive to the same drive letter
2) Open the SQLite DB and modify (or erase) the last seen file location
@MindWorX Meh, I can't remember why I decided to make a monster, :/
 
Hehe
Lots of odd decisions in old code. I have no clue why I had a child class in my old WC3 hack, but I did, and it was stupid. :P
 
@Gajet I think the DB is stored in your AppData\TeeVee directory. You can use something like sqlitebrowser.sourceforge.net to view/modify the database. The "pastfilename" field (or something like that) is simply there to speed stuff up, you can totally wipe the field and it will be regenerated when you run TeeVee
 
Speaking of weird old code
var newName = oldName;
newName = newName.ToLower();
 
heh, nice
Also, @Gajet, keep in mind that SQLite doesn't maintain foreign-key constraints, so it IS possible to completely gork your database if you don't know what you're doing.
and, Yikes! People are actually starting to use some software I wrote! Gadjet and friends using TeeVee, Jon using my QuadTree, and some dude found and asked about my Winamp Metadata Merger. :D
 
I'm not sure why, but after renaming tv.db file to tv.db~ the application is still not running
 
9:05 PM
Hmm, I wonder if it's something to do with the config file then
The config file is still trying to scan a drive letter that no longer exists
 
the only thing happen was a new file with name of tv.db was created with size of 10kb
 
I have no idea what happens then
The config file stores the directories to scan, file extensions to include, and default video player settings.
The database stores all of the TV information
The config file... oohh wait
I have no clue where the config file is
It's XML, and Visual studio decides to hide somewhere... It may have my name attached to the folder
 
there is config file in the same folder of .exe file, but that folder doesn't seems to contain any important data
 
Ok, umm, is that one config.ini?
or .dat?
If so, I think I don't use that file anymore, lol
 
it's TeeVee.exe.config
 
9:09 PM
Ok, is it XML?
 
and it's an xml file
 
Does it contain the scan directories?
 
but it just contains first run configurations
yeah, it does contain scan directories, but the only entry these is c:\tv
 
Ohh, ok, right. So there's actually a copy of that file with your actual config options, hidden somewhere in the appdata directory
 
while I've changed scan directory in previous run
 
9:11 PM
Here, found it
Local Settings\Application Data\John_McDonald\TeeVee.exe_Url_zgkl0ii2uqggckvpcen05obijvegfyxw\2.0.2.219
where "TeeVee.exe_Url_zgkl0ii2uqggckvpcen05obijvegfyxw" will change... I think
 
seems windows xp to me!
 
Ahh, true, I am on xp right now
So... it'll be somewhere like that. Look for "John_McDonald"
This is the ONE bad part about using the Visual Studio settings
You have no clue where it's storing the settings
* I have no clue where it's storing the settings
 
I've found what was causing that there was an entry :
<setting name="StartupLocation" serializeAs="String">
<value>-32000, -32000</value>
</setting>
 
hah! What?
Well... that would do it.
Now you get to experience the other bug, heh
 
well the other bug was fixed
the application now runs normal, with all my series list
 
9:17 PM
:/ yeah... I really want to get back in there and make a few changes. Fix the network drive bug, fix the torrent finding because that's just awesome, and make it somehow auto-update the "all-series" list
Maybe recognize double-episodes like "House S5E22-23.avi" and stuff
 
how can I remove a series name from my list?
 
My s02e12 regex also recognizes s02e12e13 :D
I hate the 212 format. I don't even allow people to rename to that format, I just recognize it with the parser.
 
btw, other known issues :(
- TeeVee has trouble with series that have multiple "versions" like Dr. Who and Battlestar Galactica (2003) vs Battlestar Galactica (1978)
- Network/removable drives (as you know)
- Series with only 1 season that are named with Part numbers (part1.avi)
- The latest and greatest series. This is because it uses an out-of-date cache of all of the known series names. It will ask you what series it belongs to, and I would highly recommend either canceling OR even better, go to TheTVDB.com and look up the EXACT series name that it uses and copy/paste that into TeeVee
@MindWorX hah, I don't mind the SEE format, it's concise. And who has more than 99 episodes to a season?
 
I dunno, it's just silly.
SILLY
 
Issues continued:
- Non-english shows aren't really supported. I have no idea how it will react, sorry
- After watching a show, it may show up as not-watched until you refresh the current view. It's just because I haven't invalidated the list.
heh, what I find silly is:
southpark\1001.avi
 
9:26 PM
Seaons ten episode one?
 
btw, I handle that too, :D
yeah, but the series name being the folder's name
 
Oh yea, that's stupid.
 
Do you handle:
Band of Brothers\BoB Part1.avi ?
 
Nope, I only handle the actual files, don't handle folders. It's a two hour project I did for a friend.
 
or... Band of Brothers Part1.avi
 
9:28 PM
I was thinking of a commandline interface to work with uTorrent. Would be neat.
Each downloaded episode would automagically be moved and placed correctly. Assuming you don't need to seed it first, then it's a bad idea. :P
 
right
I'm actually thinking of doing the opposite: Make TeeVee act as an RSS feed that uTorrent can connect to. When the feed is requested, TeeVee will look up all of the unwatched and potentially available TV shows and package all of them into the feed for uTorrent to download
Wouldn't that be sick?
 
Wouldn't that be just like using eztv?
Except, eztv is magic and doesn't require you to run software locally?
 
yeah, but a more reliable eztv feed. Their rss is always down
 
Heh, indeed.
 
and I won't need to config a new RSS feed for every single show I watch
and I watch a lot of shows
 
9:34 PM
I need more background shows. Like simpsons, family guy, american dad, scrubs, etc.
Stuff I don't need to actually watch, but gives me nice background noise. :P
 
yeah, I love half-hour shows
and yeah, I have a few background shows
 
@john how can remove a title from my list?
 
@Gajet You talking about removing a show from the series list?
 
yeah
 
That has to be my most requested feature, all two users want it
Sorry, maybe if I feel high from all the attention, I'll look into adding that tonight.
 
9:36 PM
:D
 
Sooo... from the DB end, you'll want to look up the seriesID for the series, then delete all episodes for the series, then delete all series aliases with the ID, then delete the series itself. It should be gone, and there should be no errors... should
Or just never delete anything, like me!
heh
yeah, might not be a great idea with how expensive hard drives are getting right now
 
invent a time machine, go back one year, buy 4tb hard drive for $100
 
:) yeah. I have more space than I can use right now, but that's only because I bought a 3TB before the price explosion
 
10:17 PM
4tb was never $100
the lowest price I know for 4tb hdd is around $200!
 
i tend to make up numbers in cases like this
 
I think I paid roughly $180 for 3TB earlier this year
 
10:54 PM
I need a new HD :(
 

« first day (487 days earlier)      last day (4534 days later) »