PDA

View Full Version : Shameless promotion/critique



Prelude
10-13-2005, 02:17 PM
I tried something different for this one (http://www.eternallyconfuzzled.com/tuts/redblack.html). I get the impression that nobody but me likes balanced trees and thus, nobody cares about most of my tutorials, but I'd still like comments and suggestions for ways to make them better. :) Arigato!

Dante Shamest
10-13-2005, 02:47 PM
Looks like a nice tutorial. Why not zip up the source code for us to compile and test? :)

Prelude
10-13-2005, 02:55 PM
>Why not zip up the source code for us to compile and test?
Why not cut and paste? :)

SMurf
10-13-2005, 03:18 PM
The customer's always right... :rolleyes: ;)

Prelude
10-13-2005, 04:03 PM
>The customer's always right...
Then the customer should be smart enough to add a couple of headers and write a trivial driver. ;)

Dante Shamest
10-13-2005, 04:23 PM
Then the customer should be smart enough to add a couple of headers and write a trivial driver. ;)

Spoken like a true *nix programmer. :D

BobMcGee123
10-13-2005, 06:07 PM
Hey, looks very good. I think it's great that people are willing to take a hard look at what others perceive to be 'already existing paradigms' of things (shows a strong mind too).

I like the language, too, makes it easier to actually keep reading ("Deletion on the other hand is, quite frankly, a pain in the ass").

Only rarely did it get a bit wordy and hard to understand, but honestly it's impossible to avoid.

I say, keep up the great work!

Mister C
10-13-2005, 07:48 PM
Prelude,

I think you have good tutorials over classical data structure areas.

I think for most people at C programming boards (not all) these topics are way over their heads (newbies). These are great for those students wanting to know Data Structures.

Also, I think you can reach out to more students by demostrating this topics in Java, C++ and C# as well. These languages are the majority offered at CS departments in the US etc. C is widely known but not the primarly language at the vast majority of universities.

Mr. C. :)

okinrus
10-13-2005, 10:44 PM
I tried something different for this one. I get the impression that nobody but me likes balanced trees and thus, nobody cares about most of my tutorials, but I'd still like comments and suggestions for ways to make them better.

You can make your tree pictures a little better using xfig(or other drawing program). Will take a very long time, though.

Thantos
10-13-2005, 11:32 PM
I like the tree images because they aren't images. Looks good Prelude

cboard_member
10-14-2005, 05:22 AM
Weird I use Firefox on Linux and WinXP and your site scrolls really slow and sticky on Linux, but fine on XP!?!

Great tut though - I'll read through it properly sometime on the weekend. I enjoyed your tutorial(s) on hashing BTW :)

Prelude
10-14-2005, 06:43 AM
>I think you can reach out to more students by demostrating this topics in Java, C++ and C# as well.
I've considered that, though it's difficult to make an accessible tutorial that collects several languages together. I would end up rewriting it for each different language (which involves way more than just splicing in code examples). Unfortunately, if I do it properly in each language, Java, C++, and C# all require a lot of framework that ends up masking the concepts that I'm trying to focus on. That's why I picked C to begin with, it's kind of the lowest common denominator and anyone familiar with higher level languages based on C can do a translation without too much effort.

>You can make your tree pictures a little better using xfig(or
>other drawing program). Will take a very long time, though.
That's on my list. I like a good picture better than ASCII art because it's easier to convey more information in an easily understood way. Unfortunately, it will take a very long time (even though I have Photoshop and can work quickly with it) due to the huge number of diagrams I use. Though I'd be happy to accept (with an acknowledgement on the page) any images you or anyone else would be willing to make for me, if you don't want to wait for me to get around to it. :)

To be perfectly honest, I'm more likely to write a few more tutorials than to make pretty pictures for the existing ones.

>your site scrolls really slow and sticky on Linux, but fine on XP!?!
Hmm, I have no idea why. I would expect it the other way around. I know that IE has some vertical white(tan)space issues if I cut to a code box too soon from the header, but Firefox shouldn't have any problems. Maybe it's something to do with the difference between the Windows and Linux ports of Firefox. Check the bug reports and see if anything looks familiar. :)

jverkoey
10-14-2005, 11:28 AM
I must say, those are awesome tutorials and I'm definitely going to make a point of going through all of them. Thanks for doing all this Prelude!

jmd15
10-14-2005, 01:49 PM
Whoa.... I thought you were a guy.(No offense)

okinrus
10-14-2005, 03:48 PM
That's on my list. I like a good picture better than ASCII art because it's easier to convey more information in an easily understood way. Unfortunately, it will take a very long time (even though I have Photoshop and can work quickly with it) due to the huge number of diagrams I use. Though I'd be happy to accept (with an acknowledgement on the page) any images you or anyone else would be willing to make for me, if you don't want to wait for me to get around to it.

OK, I can help you with the pictures. I'll probably have them done soon; I'm already done about half of them. One thing, though. Because I don't have photoshop pro I'll give you them in .xfig files that you can edit and scale along with the .jpegs. (xfig can be used on windows if you have cygwin) This ought to work.

major_small
10-14-2005, 09:31 PM
I have to say those are the best tutorials (on that level) that I've come across... as others have mentioned, they get the information across without being too textbook-like, and give you more than just the basics of each subject, which IMO is really very necessary.

I prefer the ASCII-art to diagrams (it's faster loading and like you said, more simplistic, plus, it gives a copy-paste ability that may in some cases be helpful. Maybe I'm too used to IRC-type places though...).

I find it relatively smooth-scrolling on linux (FireFox v.1.0.7 on linux-2.6.12-gentoo-r6), but I think it's a good use of the static background.

cboard_member
10-15-2005, 12:59 AM
I have to say those are the best tutorials (on that level) that I've come across... as others have mentioned, they get the information across without being too textbook-like, and give you more than just the basics of each subject, which IMO is really very necessary.

I prefer the ASCII-art to diagrams (it's faster loading and like you said, more simplistic, plus, it gives a copy-paste ability that may in some cases be helpful. Maybe I'm too used to IRC-type places though...).

I find it relatively smooth-scrolling on linux (FireFox v.1.0.7 on linux-2.6.12-gentoo-r6), but I think it's a good use of the static background.

That's a very good point. I suppose jpg's will be just as useful though as you can save them.

dwks
10-15-2005, 02:12 PM
... jpg's will be just as useful though as you can save them.
Yeah, but you can't edit them too easily.

okinrus
10-15-2005, 03:43 PM
Yeah, but you can't edit them too easily

.fig files are little easier to edit as you can form shapes, compoents, etc. Aligning the ascii tree is tough too and to do it fast needs a program to generate the text.


Twenty two images, however, is a little too much for one page. Perhaps Prelude willl need to split the page into two or scale the images very small with links to larger ones. I'm going to send both .fig and .png(I think they compress better than.jpeg's for non-photos) to Prelude. Me and Pinorain should have coordinated our efforts better. For RB trees, Prelude is going to have to choose between the different pictures and maybe use both.

treenef
10-17-2005, 04:51 AM
I prefer the ASCII-art to diagrams (it's faster loading and like you said, more simplistic, plus, it gives a copy-paste ability that may in some cases be helpful. Maybe I'm too used to IRC-type places though...).

I'd have to echo that, although it would be interesting to see what jpgs you come up with and if you manage to write an efficient program to generate them though.