Perl 6 - the future is here, just unevenly distributed

IRC log for #rosettacode, 2011-12-22

| Channels | #rosettacode index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:07 r4m joined #rosettacode
00:13 mikemol joined #rosettacode
00:25 mwn3d_phone joined #rosettacode
01:07 mwn3d_phone joined #rosettacode
01:09 Mahaju[RCo] joined #rosettacode
01:23 sorear Mahaju[RCo]: welcome back
01:27 mwn3d_phone1 joined #rosettacode
01:29 mwn3d_phone joined #rosettacode
01:32 Mahaju[RCo] Thanks sorear
02:13 mwn3d_phone1 joined #rosettacode
02:16 mwn3d_phone joined #rosettacode
02:19 mwn3ds_phone_suc joined #rosettacode
02:43 mwn3d_phone joined #rosettacode
04:12 tonussi joined #rosettacode
05:03 mwn3d_phone joined #rosettacode
08:26 mischi joined #rosettacode
09:30 kpreid joined #rosettacode
10:24 GlitchMr joined #rosettacode
11:17 mbishop joined #rosettacode
13:25 mwn3d_phone joined #rosettacode
15:00 FireFly left #rosettacode
15:03 FireFly joined #rosettacode
15:18 Mahaju[RCo] joined #rosettacode
15:18 Mahaju[RCo] helloo everyone
15:18 Mahaju[RCo] I have a small question
15:18 Mahaju[RCo] is anyone free?
15:20 mikemol Nope. I charge.
15:20 mikemol What's up?
15:21 Mahaju[RCo] is there a way to compare different versions of my C code in my computer?
15:21 Mahaju[RCo] like we can do here in the Wiki?
15:21 mikemol The tool Rosetta Code uses is called 'diff3'. Generally, you just need 'diff'.
15:21 mikemol What OS are you on?
15:22 Mahaju[RCo] Windows 7
15:22 Mahaju[RCo] I mean, after I update my code
15:22 opticron from subversion?
15:22 mikemol Are you using any tools such as TortoiseSVN or TortoiseHg?
15:22 Mahaju[RCo] then is there any software that allows me to compare between this edited version and some other older edit?
15:22 Mahaju[RCo] What are those?
15:23 Mahaju[RCo] I don't know
15:23 mikemol What are you using for version control?
15:23 Mahaju[RCo] are they used to do what I just described?
15:23 Mahaju[RCo] I'm just putting my code in different folders
15:23 mikemol ah
15:23 Mahaju[RCo] between major edits
15:23 mikemol Two things.
15:23 mikemol http://winmerge.org/
15:23 fedaykin "WinMerge"
15:23 opticron Mahaju[RCo], version control systems usually have a mechanism to show differences in versions
15:23 Mahaju[RCo] like here in the Wiki?
15:23 mikemol That'll probably be a good first pass for you.
15:23 mikemol Mahaju[RCo]: yes. Like here in the wiki.
15:24 Mahaju[RCo] if I go to history I get an option to compare between different versions at different dates
15:24 Mahaju[RCo] I want to be able to do something like that with my code in my computer
15:24 mikemol I thought you weren't using version control?
15:25 Mahaju[RCo] I don't know version control
15:25 opticron he's not
15:25 mikemol Ah, so he's talking about the wiki in this context.
15:25 opticron he's saving the entire tree into different folders post-edit
15:25 Mahaju[RCo] I think opticron understands what I need
15:25 opticron but he wants the same functionality for his code that we have built-in to the wiki
15:25 mikemol Mahaju[RCo]: Nothing does what you need; you'd have to write a program to stitch things together yourself.
15:26 Mahaju[RCo] what is this Subversion repository thing?
15:26 opticron Mahaju[RCo], you should look into using a version control system to make all this easier
15:26 mikemol Normally, in a circumstance like this, you would be using some kind of version control software, which would know about your code history.
15:26 Mahaju[RCo] where do i get it?
15:26 mikemol Mahaju[RCo]: Subversion is one kind of version control software. I'd probably suggest TortoiseHg for you, though.
15:26 mikemol http://tortoisehg.bitbucket.org/
15:26 fedaykin "TortoiseHg"
15:27 opticron Mahaju[RCo], basically, you start a repository when you start a new project, as you change things you "commit" edits
15:27 opticron this lets you look at old revisions and revert if necessary
15:27 opticron you can even get diffs between arbitrary versions easily
15:27 Mahaju[RCo] so how does it work?
15:27 opticron and it takes MUCH less space on your hard drive than saving entire directories separately
15:27 Mahaju[RCo] It saves all my edits in different files?
15:28 opticron on the server side, yes
15:28 Mahaju[RCo] server side??
15:28 opticron on your side, you see the most recent revision
15:28 Mahaju[RCo] I want to be able to do it offline
15:28 opticron you can run the server on your machine as well
15:28 Mahaju[RCo] ok I see
15:28 opticron it's an immensely handy tool
15:29 Mahaju[RCo] so I downloaded tortoisehg ... .msi
15:29 Mahaju[RCo] does it have the server as well?
15:29 mikemol As lang as you're just sticking to your machine, you don't need a separate server program.'
15:30 Mahaju[RCo] I will be sticking to my machine
15:31 Mahaju[RCo] Well, actually, I may need to able to synchorize the files between my laptop and office PC as well
15:31 Mahaju[RCo] but that's for later
15:31 Mahaju[RCo] In worst case i will probably use something like Teamvierwer or remote desktop to directly copy files from one computer to another
15:33 Mahaju[RCo] Thanks everyone
15:34 Mahaju[RCo] I will check out Winmerge and TortoiseSVN tomorrow
15:34 Mahaju[RCo] I hope I can come back if I need some othr help
15:35 mikemol Mahaju[RCo]: No need to bother with winmerge if you're installing any of the Tortoise VCS tools.
15:35 mikemol They come with their own diff implementations.
15:35 mikemol Also, with any Hg implementation, syncing between your desktop and laptop can be done nicely just using the Hg tools.
15:36 Mahaju[RCo] ok
15:36 opticron same with git
15:36 Mahaju[RCo] it's late here so I will try TortoiseHg tomorrow
15:36 * mikemol nods
15:36 opticron but I don't know if tortise has git
15:36 Mahaju[RCo] whats a git?
15:36 mikemol They don't, which is why I recommended Hg.
15:36 opticron similar to HG
15:36 mikemol Mahaju[RCo]: It's similar to Hg in almost all respects, but support on Windows is much thinner.
15:36 mikemol Mahaju[RCo]: I highly recommend http://hgbook.red-bean.com/
15:36 fedaykin "Mercurial: The Definitive Guide"
15:37 mikemol Just work through a couple chapters of that, and you'll find the rest much easier.
15:38 opticron yeah, Hg seems to be a bit more supported outside *nix
15:39 Mahaju[RCo] So this book is about Tortoise?
15:39 opticron and for your use case, I'd recommend Hg over SVN
15:39 Mahaju[RCo] actually I have no idea what is SVN or Hg or the difference between them
15:39 Mahaju[RCo] I think I should first install Toroise and then play around with it for some time to get some feel of the software
15:40 Mahaju[RCo] anyway, that's for tomorrow
15:40 Mahaju[RCo] I'll come back here if I need some hep
15:40 Mahaju[RCo] I'll come back here if I need some help
15:41 Mahaju[RCo] Good night everyone
15:41 Mahaju[RCo] and Thank
15:41 Mahaju[RCo] and Thanks
15:49 opticron yeah...he totally needs Hg or git
15:49 mbishop joined #rosettacode
15:49 opticron I bet he has a hundred copies of his development folder
15:57 dagnyscott joined #rosettacode
18:22 Kumul joined #rosettacode
19:06 mwn3d_phone mikemol: I gave the amazon tag a try on [[montgomery reduction]]
19:06 fedaykin http://rosettacode.org/wiki/montgomery_reduction
19:07 mwn3d_phone I briefly tried to make a template for it that could take a title or an ISBN
19:07 mwn3d_phone The nested ifs got me so I gave up for now
19:08 mwn3d_phone I wanted it to remove dashes in the ISBN because the ISBN without dashes is the amazon ID
19:09 mwn3d_phone I tried using #replace for that
19:17 mischi joined #rosettacode
19:22 infogulch joined #rosettacode
19:23 infogulch hi
19:23 sorear Hi.
19:24 infogulch i'm looking at http://rosettacode.org/wiki/Ray-casting_algorithm
19:24 fedaykin "Ray-casting algorithm - Rosetta Code"
19:25 infogulch the #AutoHotkey section is... sad
19:27 mwn3d_phone What's sad about it?
19:28 infogulch it's not fully implemented
19:32 mwn3d_phone its already marked as incomplete
19:32 infogulch yes i'm going to implement it
19:32 infogulch in this task, a segment is two points, and a ray is a single point, that extends horizontally towards positive x indefinitely
19:33 infogulch correct?
19:47 mikemol infogulch: Just a thought...you have this page? http://rosettacode.org/wiki/Reports:Tasks_not_implemented_in_AutoHotkey#Requiring_Attention
19:47 fedaykin "Reports:Tasks not implemented in AutoHotkey - Rosetta Code" http://rldn.net/4Fi
19:48 infogulch yes
19:48 mikemol k
19:48 infogulch that's where i found this one
20:16 mbishop joined #rosettacode
21:07 mbishop joined #rosettacode
21:35 Kumul joined #rosettacode
22:20 mwn3d_phone joined #rosettacode
23:58 mischi joined #rosettacode

| Channels | #rosettacode index | Today | | Search | Google Search | Plain-Text | summary