| View previous topic :: View next topic |
| Author |
Message |
Dlareh Advocate


Joined: 06 Aug 2005 Posts: 2102
|
Posted: Wed Sep 21, 2005 9:19 am Post subject: |
|
|
| johanseg wrote: | | Dlareh wrote: | | I strongly agree. The phrase "brain dead" most readily comes to mind when considering the current scheme. No offence meant... |
Well... thats what makes programming intresting, many different ways to do things, some bad some good. Cant think of anyone that found the "right" one on the first try  |
Of course. But some people get _really_ offended when you try to point out their mistakes.
| Quote: | | Dlareh wrote: | | Actually I still don't understand why this entire program isn't reinventing the wheel. C# ain't that exciting, and this one of those report-related tasks that Perl actually excells at. |
I thought it was reinventing the wheel, make up your mind  |
I didn't change it. Two different propositions:
1) Coming up with a new format and manually moving every comic strip to it = reinventing the wheel.
2) This entire program = reinventing the wheel.
| Quote: | | However I sort of agree with you, a better way would be to use dailystrips "in the back". However, dailystrips hasn't released anything for what, 2 years so dead? (you still could build on it though but that require that you can perl). Another thing, this program is way more userfriendly than dailystrips, not all of us likes to use the terminal (not all of the time anyway, and yes you could set it as a cronjob) or use the webbrowser for everything, and appears to focus on showing a strip as opposed to dailystrip downloading them. |
Well I use gqview and am satisfied...
| Quote: | | Dlareh wrote: | But I'll certainly give it a try as soon as you start defining comics with a sane non-code format. I suppose you'll be reaching into the XML cookie jar for this, too. Kids these days  |
All things has it uses, including c# and xml  |
Yes but new programmers are notoriously quick to hump XML when better solutions exist. _________________ "Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet? |
|
| Back to top |
|
 |
johanseg n00b


Joined: 27 Nov 2003 Posts: 18 Location: Sweden
|
Posted: Wed Sep 21, 2005 9:48 am Post subject: |
|
|
| Dlareh wrote: | | Of course. But some people get _really_ offended when you try to point out their mistakes. |
Could be the term "brain dead", probably still hurts even in quotation marks
| Dlareh wrote: | | Well I use gqview and am satisfied... |
Well thats you, a real n00b user would probably think it involved to much work (wow using two different programs ) or more likely not understand how it work and would not bother to try to learn... It all depends on the focus group.
| Dlareh wrote: | | Yes but new programmers are notoriously quick to hump XML when better solutions exist. |
True _________________ /Johan
Quis custodiet ipsos custodes?
Blog | screenshots |
|
| Back to top |
|
 |
Titeuf l33t


Joined: 19 Jun 2004 Posts: 759 Location: Middelkerke, Belgium
|
Posted: Wed Sep 21, 2005 2:12 pm Post subject: |
|
|
| johanseg wrote: | Well, right of the top of my head....
1. The most important ting, as Redeeman said, dont load the comics at startup.
|
I also thought of that, but this is not possible: I'll add a feature that displays the name of the comic bold when there are new ones. If I don't load them at startup, how can it know there are new comics ?
| johanseg wrote: |
2. I cant think of any good reason to have each comic in a separate dll, not since you load all of them anyway...
|
It's better to add all the comics in the main code, and if you never want to read a comic you can remove it's dll so that you only get the comics you like
| johanseg wrote: |
3. Why do you need to have each comic "in code" so to speak? Almost all comic sites follow a simple pattern, they have a frontpage showing the latest comic and contain links to the previous and first comic, they have a view page showing a particular comic and contains links to the first, previous, next and latest comic. So to simplify the plugins part to only a few strings, what you need is: a link to the frontpage, 3 regex for the frontpage (to find the comic(s), the link to the first comic, the link to the previous comic), 4 regex for the view page (to find the comic(s), the link to the first comic, the link to the previous comic, the link to the next comic). In short a plugin now consists of a text file with 8 lines of text. You can probably shorten this to but this is abstract enough to include most comic sites (if not all)... |
Because I never thought of that
| Dlareh wrote: | Parsing dailystrips' /etc/strips.def ought to be a good start. No sense reinventing the wheel...
Actually I still don't understand why this entire program isn't reinventing the wheel. C# ain't that exciting, and this one of those report-related tasks that Perl actually excells at.
But I'll certainly give it a try as soon as you start defining comics with a sane non-code format. I suppose you'll be reaching into the XML cookie jar for this, too. Kids these days  |
I'll take a look at dailystrips. That's a good idea to use it's strips.def file.
And this program is not reinventing the wheel for 100%. It was meant as a simple comic browser. Just choose a comic and read it. You can then just go to the previous/next comic with one mouse click. With Dailystrip you can't easily go to the previous/next one.
And the reason I'm using C# for it is cause it's an easy to use language that I like. I've also used Python and Perl, but don't really like them. So this is just a personal preference.
| Dlareh wrote: | ...
1) Coming up with a new format and manually moving every comic strip to it = reinventing the wheel.
2) This entire program = reinventing the wheel.
.... |
I agree, but only for 50%: the part for retrieving comics is reinventing the wheel. But the way it shows them is not reinventing it, I don't know other programs that shows comics like mine do.
Yes you can use gqview or other programs like it, but it's still not the same as using a program specially made for showing comics.
| johanseg wrote: | ...
| Dlareh wrote: | | Well I use gqview and am satisfied... |
Well thats you, a real n00b user would probably think it involved to much work (wow using two different programs ) or more likely not understand how it work and would not bother to try to learn... It all depends on the focus group.
... |
That's a reason I made Comic Browser: it's simple to use, no need to tweak anything and it just works.
Thanks anyone for your comments  |
|
| Back to top |
|
 |
Titeuf l33t


Joined: 19 Jun 2004 Posts: 759 Location: Middelkerke, Belgium
|
Posted: Wed Sep 21, 2005 4:23 pm Post subject: |
|
|
| gaminggeek wrote: | Awsome!!!
Can someone write me a plugin for http://www.sokora.com/ or tell me how to make a plug-in |
I've made it, you can find it here. Just put it with all the other dll's.
As for creating your own plugins, the best way for now is to know c# and to look at the already included plugins. |
|
| Back to top |
|
 |
johanseg n00b


Joined: 27 Nov 2003 Posts: 18 Location: Sweden
|
Posted: Wed Sep 21, 2005 9:17 pm Post subject: |
|
|
| Titeuf wrote: | | I also thought of that, but this is not possible: I'll add a feature that displays the name of the comic bold when there are new ones. If I don't load them at startup, how can it know there are new comics ? |
Okej you could do it like that but since you target n00bs its to complicated (since you have to switch programs and fiddle with files )... Why not just have a setting on each comic if it should be check at startup? And have an empty list by default and have the users choose which comics they want in the list when the user first starts the program. _________________ /Johan
Quis custodiet ipsos custodes?
Blog | screenshots |
|
| Back to top |
|
 |
gaminggeek Apprentice


Joined: 13 Nov 2003 Posts: 231 Location: New Zealand
|
Posted: Thu Sep 22, 2005 5:34 am Post subject: |
|
|
| Titeuf wrote: | Just put it with all the other dll's.
As for creating your own plugins, the best way for now is to know c# and to look at the already included plugins. |
OMG thanks I might sujest making it easyer to make comic plugins... |
|
| Back to top |
|
 |
gaminggeek Apprentice


Joined: 13 Nov 2003 Posts: 231 Location: New Zealand
|
Posted: Thu Sep 22, 2005 5:39 am Post subject: |
|
|
| also a http://www.sluggy.com/ plug in would be nice and I am just thoughin ideas up here but a bookmarking feature so it would keep your place in the comin would be cool |
|
| Back to top |
|
 |
Titeuf l33t


Joined: 19 Jun 2004 Posts: 759 Location: Middelkerke, Belgium
|
Posted: Thu Sep 22, 2005 8:53 am Post subject: |
|
|
| gaminggeek wrote: | | also a http://www.sluggy.com/ plug in would be nice and I am just thoughin ideas up here but a bookmarking feature so it would keep your place in the comin would be cool |
I'll do this when I'm at home. Yesterday I has started at this bookmarking feature |
|
| Back to top |
|
 |
gaminggeek Apprentice


Joined: 13 Nov 2003 Posts: 231 Location: New Zealand
|
Posted: Thu Sep 22, 2005 10:58 am Post subject: |
|
|
| Cool |
|
| Back to top |
|
 |
gaminggeek Apprentice


Joined: 13 Nov 2003 Posts: 231 Location: New Zealand
|
Posted: Thu Oct 20, 2005 2:09 am Post subject: |
|
|
| any updates? |
|
| Back to top |
|
 |
Dlareh Advocate


Joined: 06 Aug 2005 Posts: 2102
|
Posted: Thu Oct 20, 2005 11:02 am Post subject: |
|
|
| gaminggeek wrote: | | any updates? |
I was going to wait 3 more days then quote your "Cool" and say "And apparently frozen for an entire month now" _________________ "Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet? |
|
| Back to top |
|
 |
gaminggeek Apprentice


Joined: 13 Nov 2003 Posts: 231 Location: New Zealand
|
Posted: Fri Nov 25, 2005 12:00 am Post subject: |
|
|
| So yea has this project dropped off the face of the planet? |
|
| Back to top |
|
 |
Dlareh Advocate


Joined: 06 Aug 2005 Posts: 2102
|
Posted: Fri Nov 25, 2005 12:51 am Post subject: |
|
|
The source is available, so no.
I'm sittin happy with daily strips, myself. _________________ "Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet? |
|
| Back to top |
|
 |
Titeuf l33t


Joined: 19 Jun 2004 Posts: 759 Location: Middelkerke, Belgium
|
Posted: Tue Nov 29, 2005 4:52 pm Post subject: |
|
|
| gaminggeek wrote: | | So yea has this project dropped off the face of the planet? |
Work has restarted on it, you can except a new version the end of this week.
The biggest change will be the way new comics are added: using regexes. |
|
| Back to top |
|
 |
Titeuf l33t


Joined: 19 Jun 2004 Posts: 759 Location: Middelkerke, Belgium
|
Posted: Sat Dec 03, 2005 8:07 pm Post subject: |
|
|
There's a new version: ComicBrowser-0.9.0.0.tgz
The biggest change in it is the way comics are stored: all in one file using regexes instead of each comic having it's own dll.
This makes creating new comics much easier, you just need to know how regular expressions work instead of learning c#
And now when you select a comic, it goes automatically to where you left reading.
It also now remembers the window size and position.
I've also included an installer to make life easier. You can use it by typing: "nant install"
It adds an icon in the gnome-menu (I think also the kde-menu, don't know if it supports .desktop files) under Applications->Internet->Comic Browser
Dog Complex comic is in there, but the site is down since yesterday so it doesn't work for now
Have fun  |
|
| Back to top |
|
 |
Titeuf l33t


Joined: 19 Jun 2004 Posts: 759 Location: Middelkerke, Belgium
|
Posted: Sun Dec 11, 2005 4:40 pm Post subject: |
|
|
A new version: ComicBrowser-0.10.0.0.tgz
Those are the new features:
-You can hide comics you don't like
-Add new comics from withing the gui (those are stored per user, so each user can have their own comics)
-Show titles of comics when available
-Allow to see comics made of multiple images (see Elftor and sometimes Sluggy)
-Added two new comics: Elftor and Everybody Loves Eric Raymond
Here's the full changelog:
| Code: |
[*] Hide progressbar and stop button at startup
[+] Add options dialog where you can hide comics
[+] Also load comics from ~/.comicbrowser/comics.ini
[+] Install new comics with the gui
[+] Added Everybody Loves Eric Raymond
[*] Fixed Sluggy where you couldn't go to the next comic
[*] Fixed Sluggy when a comic was divided over multiple images
[+] Added support for comics made of multiple images (see elftor)
[+] Show the title of a comic when available
[+] Added elftor
|
Have fun  |
|
| Back to top |
|
 |
gaminggeek Apprentice


Joined: 13 Nov 2003 Posts: 231 Location: New Zealand
|
Posted: Sun Dec 11, 2005 7:56 pm Post subject: |
|
|
yay! _________________ (\ /)
(O.o)
(> <)
This is Bunny. Copy Bunny into your signature to help him on his way to world domination |
|
| Back to top |
|
 |
satanskin Guru

Joined: 25 Apr 2005 Posts: 353
|
Posted: Mon Dec 12, 2005 7:39 am Post subject: |
|
|
| Any ebuilds for this? |
|
| Back to top |
|
 |
Titeuf l33t


Joined: 19 Jun 2004 Posts: 759 Location: Middelkerke, Belgium
|
Posted: Mon Dec 12, 2005 11:01 am Post subject: |
|
|
| satanskin wrote: | | Any ebuilds for this? |
not yet, and because I'm not using Gentoo I can't make one (and also don't know how to make one)
But it's easy to install manually:
Add this to your package.keywords:
| Code: |
dev-lang/mono ~x86
dev-dotnet/gtk-sharp ~x86
dev-dotnet/glade-sharp ~x86
dev-dotnet/art-sharp ~x86
dev-dotnet/nant ~x86
|
and then
| Code: |
emerge mono gtk-sharp glade-sharp art-sharp nant
tar xzvf ComicBrowser-0.10.0.0.tgz
cd ComicBrowser-0.10.0.0
sudo nant install
|
Now you can find comic browser in your gnome menu in Internet->Comic Browser
The icon will probablybe shown in KDE too, don't know for sure.
If you use another WM/DE you can always run comicbrowser from the console.
Hope this helps you and that I didn't forget anything
If anyone wants to make an ebuild for this, feel free to do |
|
| Back to top |
|
 |
KloA n00b

Joined: 13 May 2004 Posts: 12 Location: Harstad, Norway
|
Posted: Sat Jan 07, 2006 3:21 pm Post subject: |
|
|
hm, following your instructions, I end up with
| Code: | robin@localhost ~/Desktop/Nedlastingtjafs/ComicBrowser-0.10.0.0 $ sudo nant install
** (/usr/share/NAnt/bin/NAnt.exe:14189): WARNING **: Missing method .ctor in assembly /usr/share/NAnt/bin/NAnt.exe, type System.Runtime.CompilerServices.RuntimeCompatibilityAttribute
** ERROR **: Can't find custom attr constructor image: /usr/share/NAnt/bin/NAnt.exe mtoken: 0x0a000056
aborting...
Aborted
|
any suggestions to where I'm screwing up ? |
|
| Back to top |
|
 |
Titeuf l33t


Joined: 19 Jun 2004 Posts: 759 Location: Middelkerke, Belgium
|
Posted: Sat Jan 07, 2006 4:30 pm Post subject: |
|
|
| KloA wrote: | hm, following your instructions, I end up with
| Code: | robin@localhost ~/Desktop/Nedlastingtjafs/ComicBrowser-0.10.0.0 $ sudo nant install
** (/usr/share/NAnt/bin/NAnt.exe:14189): WARNING **: Missing method .ctor in assembly /usr/share/NAnt/bin/NAnt.exe, type System.Runtime.CompilerServices.RuntimeCompatibilityAttribute
** ERROR **: Can't find custom attr constructor image: /usr/share/NAnt/bin/NAnt.exe mtoken: 0x0a000056
aborting...
Aborted
|
any suggestions to where I'm screwing up ? |
You're not screwing up, it's a know bug: nant doesn't work with mono 1.1.0. If you install nant outsid of portage it works.
But anyway do the following to compile it manually (optional, there's a prebuilt binary included):
| Code: |
mcs AssemblyInfo.cs Main.cs Comic.cs ComicFetcher.cs Options.cs -resource:logo.png -resource:gui.glade -pkg:glade-sharp-2.0 -out:bin/comicbrowser.exe
|
and to install it (as root):
| Code: |
mkdir /usr/local/lib/comicbrowser
cp bin/comicbrowser.exe /usr/local/lib/comicbrowser
cp comics.ini /usr/local/lib/comicbrowser
echo \#\!/bin/sh > /usr/local/bin/comicbrowser
echo mono /usr/local/lib/comicbrowser/comicbrowser.exe >> /usr/local/bin/comicbrowser
|
Now you can start it by running comicbrowser.
You may also want to use a newer version found here |
|
| Back to top |
|
 |
KloA n00b

Joined: 13 May 2004 Posts: 12 Location: Harstad, Norway
|
Posted: Sun Jan 08, 2006 12:49 am Post subject: |
|
|
| thanks =) works like a charm now, and I like it a lot, kudos to you =) |
|
| Back to top |
|
 |
Titeuf l33t


Joined: 19 Jun 2004 Posts: 759 Location: Middelkerke, Belgium
|
Posted: Tue Jan 10, 2006 6:55 pm Post subject: |
|
|
| KloA wrote: | | thanks =) works like a charm now, and I like it a lot, kudos to you =) |
Thank you
I've moved the hosting to sourceforge, now you can find it here
Also released a new version with more comics
Here's the changelog:
| Code: |
[+] Added Dilbert
[+] Added Wulffmorgenthaler
[+] Added Something positive
[+] Added Queen of wands
[+] Added El Goonish Shive
[+] Added Angels2200
[+] Added Sinfest
[+] Added Zebra Girl
[+] Added Jack
[+] Added General Protection Fault
[*] Also cache comics with multiple images
[*] Modified download method so that it's more stable
[+] Go to next/previous comic with right/left arrow
|
|
|
| Back to top |
|
 |
Titeuf l33t


Joined: 19 Jun 2004 Posts: 759 Location: Middelkerke, Belgium
|
Posted: Sun Jan 22, 2006 6:47 pm Post subject: |
|
|
I've released a new version: 0.14.
Lot's of changes in it, the biggest change is the interface: it looks nicer and comics can show their logo with their name.
Also added some new comics and removed some bugs.
here's the full changelog:
| Code: |
[+] You can now disable the checking for new comics in the options window
[+] Added support for animated gifs
[*] Fixed bug in Jack: didn't show some comics
[*] Removed a fix for Pixelcomic because of Seraph Inn
[+] Added Seraph Inn (part by Gaminggeek)
[+] When "LA" is added to lastexp it uses the last url it finds instead of the first
[*] Reworked toolbar
[+] Added Open in browser button
[*] Made size of error dialog bigger
[-] Removed url bar in favor op open in browser button
[+] Added Flipside (Gaminggeek)
[+] Comics can now have a icon associated with it
[+] Made options dialog better
[*] Build file for readable (Phareo)
[+] Added button to show/hide comic list (Phareo)
[*] Improved gui (Phareo)
|
Thanks to all the people that helped me  |
|
| Back to top |
|
 |
|