IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1825.68 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-24
[10:40]<kjr>i-nZ: only someone who appreciates Haiku can do that
[10:40]<y-gz>Haiku?
[10:40]<sdnffdxdlld>CodeRun: they do apper to do very similar things but there are differences when you access things via base classes
[10:40]<rzzjrrgv>The Pickaxe 2 is the only real guide to Ruby
[10:41]<y-gz>I just read ttought the examples
[10:41]<cjmgrug>ah i see, smellyhippy
[10:41]<rzzjrrgv>Programming in Ruby: 2nd Edition, that is
[10:41]<kjr>Arrogant: not quite
[10:41]<y-gz>I just need a 5 pages quick start guide
[10:41]<kjr>there are plenty of good guides
[10:41]<kjr>i-nZ: go read the rubydocs
[10:42]<mjzymygo>smellyhippy... hiya duder
[10:44]<rzzjrrgv>smellyhippy: So basically, you can't use "base" if you don't use virtual/override?
[10:45]<kjr>huh? you can override anything that isn't sealed
[10:45]<sdnffdxdlld>where did I say *what* the differences are :P go check it out on google as I'm not 100% on the issue
[10:45]<cjmgrug>Priest-of-Psi: this article's not much of a help.. any other idea/suggestion ?
[10:46]<kjr>SpikeLite msdn base keyword
[10:46]<sdnffdxdlld>kog its msdn1 or msdn2 now
[10:46]<kjr>SpikeLite msdn2 base keyword
[10:46]<slycnlyvn>Kog, Versioning with the Override and New Keywords (C#): http://msdn2.microsoft.com/en-us/library/6fawty39.aspx
[10:46]<mjzymygo>smellyhippy: yo!?
[10:46]<sdnffdxdlld>right gone again
[10:46]<y-gz>heh
[10:46]<sdnffdxdlld>I'm getting ready for work :P
[10:46]<sdnffdxdlld>*gone*
[10:46]<slzygc>man VC# Express is teh pwnage
[10:46]<y-gz>new for a method implies that it is a new method
[10:46]<y-gz>and dismisses the virtual one in the parent
[10:47]<kjr>I take that back: The base class method must be defined virtual.
[10:47]<pzynsv-jp-psy>CodeRun: give me a few minutes just sorting out something here
[10:47]<cjmgrug>yeah, there's no rush, take your time :)
[10:47]<y-gz>or you can use it to write new method implementation for one that matches both in the parent and derived i think
[10:48]<kjr>that doesn't seem right
[10:48]<kjr>SpikeLite msdn1 base keyword
[10:48]<slycnlyvn>Kog, Reference Hub (.NET Framework Security): http://msdn.microsoft.com/library/en-us/dnnetsec/html/SecNetAP03.asp?frame=true
[10:49]<mjzymygo>SpikeLite msdn2 base keyword c#
[10:49]<slycnlyvn>Moridin8, base (C#): http://msdn2.microsoft.com/en-us/library/hfw7t1ce.aspx
[10:49]<mjzymygo>:P~~~
[10:49]<mjzymygo>;)
[10:50]<pzynsv-jp-psy>I have to say
[10:50]<kjr>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vclrfbasepg.asp
[10:50]<pzynsv-jp-psy>openoffice 2.0 is impessive
[10:51]<kjr>hm, they don't specifically state you need a virtual in 1, but the documentation implies it
[10:57]<znzznss>hey all, I posted more on my problem here: https://onlineterror.wordpress.com/
[10:57]<znzznss>it's not homework, just my own project, and I'm enjoy the practice with .net and whatnot, but having a pretty hard time breaking down this particular function
[10:58]<znzznss>could some of you read through the first post to see if I'm correct in my assumptions?
[11:02]<slzygc>where is the sleep or pause method located?
[11:02]<y-gz>How can I check if a property is public from a PropertyDescriptor
[11:02]<sdnffdxdlld>hmmmm
[11:03]<vyzusdjvnev>omg PS3 is going to cost $499-$599
[11:07]<znzznss>anyone in here particularly good with recusive logic?
[11:11]<sdnffdxdlld>VirusDotNET: omg sony to sell stupidly priced hardware!
[11:11]<sdnffdxdlld>^^wheres the suprise :P
[11:11]<sdnffdxdlld>ahhh the suprise is in rikkus
[11:12]<nnzjpfrr>regress: state your problem and you might have more luck...
[11:12]<znzznss>hmm, alright
[11:13]<zyccus>morning
[11:13]<vyzusdjvnev>the PS3 will be better than the Xbox 360 smellyhippy
[11:13]<mjzymygo>smellyhippy: yo?
[11:13]<mjzymygo>hi rikkus
[11:14]<znzznss>I have a List<> of class Lesson, each of which have a int start, and end. each list describe a set of lessons, for example Chinese1A, or Accounting180. I then have a List<> of the List<> of lessons, which makes up a particular schedule. - in other words, I've selected Chinese 1A, Accounting180, and Math1A.
[11:14]<znzznss>now, I want to search through all the possible combinations of these three classes and find combinations where the times do not overlap
[11:15]<sdnffdxdlld>VirusDotNET: that opinion is based on what? :P
[11:15]<znzznss>in this example it's three, but it could be an arbitrary amount of classes. So, I have a function which will compare two lessons to see if the time overlaps, and if it does, returns true, if not, false.
[11:16]<nnzjpfrr>uhm, sounds stupid...
[11:16]<znzznss>stupid?
[11:17]<nnzjpfrr>you'll have O(n^2)
[11:17]<nnzjpfrr>at least...
[11:17]<znzznss>yup
[11:17]<znzznss>so there should be a function which calls itself recursively, checking to see if two classes conflict, and then passing that result back to teh function that called it...or something
[11:18]<nnzjpfrr>it's about comparing timeslices, right?
[11:18]<znzznss>having a hard time with it, obviously
[11:18]<vyzusdjvnev>smellyhippy, look at one game that is being on PS3 then look at the game on the 360 and you will tell the difference and look at the specs
[11:18]<znzznss>yes
[11:18]<zyccus>regress: one way to do it may be to have a list of blocks of time... e.g. a week would be a list of 15 minute slots - just stored as integers ... you can 'lay down' your times for a lesson on the list, incrementing each 'slot' from 0 when the time is used by that lesson... then do the same with the next lesson - and when you're done, look for any slots which have > 1
[11:18]<nnzjpfrr>create a class that can store timeslices, add them up and enqueue them.
[11:19]<sdnffdxdlld>VirusDotNET: I wont spendthat much on a console and alot of people wont
[11:19]<nnzjpfrr>if you try to add something where there's already time taken, it gives you and error/false and you know they overlap.
[11:19]<nnzjpfrr>that's O(n)
[11:19]<znzznss>hmm, that seems like it would work, yes
[11:19]<zyccus>zeroflag: you still have to iterate through the timeslices every time you want to check a lesson, no?
[11:19]<zyccus>but yes, it's O(n)
[11:20]<nnzjpfrr>rikkus: not if you sum them up.
[11:20]<zyccus>zeroflag: not sure how you can sum them up when there's gaps between them
[11:20]<nnzjpfrr>let's say you first add something from 8:00 to 9:00 and then something from 9:00 to 10:00
[11:20]<sdnffdxdlld>VirusDotNET: especially when they seem to be backing the losing next gen dvd format, have had huge problems with getting the system out and still most reviews of the hardware i've seen say its not that impressive
[11:20]<nnzjpfrr>you get a result of 8:00 to 10:00
[11:20]<sdnffdxdlld>afaik sony are the only ones hyping the ps3
[11:20]<nnzjpfrr>that reduces your search overhead.
[11:21]<pzrrnrvqt0wr>smellyhippy: Metal. Gear. Solid. 4.
[11:21]<vyzusdjvnev>smellyhippy, imho $499 - $599 for what the PS3 can do is totally worth it
[11:21]<vyzusdjvnev>as soon as it goes for pre-sale im getting it :)
[11:21]<nnzjpfrr>rikkus: gaps are usually defined as timeslices so you can add them up... or you say everything <30 minutes isn't a gap.
[11:21]<znzznss>zeroflag: I think it still runs into the problem that I don't know how many classes may be added
[11:21]<zyccus>zeroflag: right... just thinking that you may have e.g. 9 - 10 monday to thursday, 2-3 friday... doesn't matter anyway, it's O(n) so it's not going to cause a problem :)
[11:21]<vyzusdjvnev>i remember when the PS2 game out I seen people buy like 4 consoles :O
[11:21]<vyzusdjvnev>i mean Xbox 360 :P
[11:21]<sdnffdxdlld>VirusDotNET: have they released test systems to reviewers yet?
[11:22]<vyzusdjvnev>i have no idea yet
[11:22]<pzrrnrvqt0wr>VirusDotNET: of course, 1 to play, 3 to sell.







