Re: New web newsreader - requesting participation

2011-02-06 Thread Adam D. Ruppe
References: ii592i$c09$1...@digitalmars.com ii62n0$1r3i$1...@digitalmars.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit foobar f...@bar.com wrote: I'd implement the following filters/parsers for text posts: 2. parse BBCode. Well, let's hope this works! I'm now

Re: New web newsreader - requesting participation

2011-02-06 Thread Adam Ruppe
Well, it posted, but evidently still has a few bugs. As you can see, the newlines got butchered with the real data and some headers didn't come out right. Newlines have been the hardest thing in all of this. They sometimes matter in plain text, but sometimes are just an artifact of wrapping. They

Re: New web newsreader - requesting participation

2011-02-06 Thread Adam Ruppe
But, it looks like my code is just collapsing them a little too often. LOL: the reason it worked in my tests but not for the live post? \n\n != \r\n\r\n Stupid line ending bullshit. But with that fixed, I think all my woes are gone... I'll try the headers again later, but that should be

Re: New web newsreader - requesting participation

2011-02-03 Thread Kagamin
Trass3r Wrote: That one has horrible bugs. You'll click on a topic, then try to read a reply, and it shoots you to some random topic 4+ years ago. Happens all the time. I only use it to post to NG since using Gmail directly doesn't show up my own posts (this is a known gmail bug).

Re: New web newsreader - requesting participation

2011-02-03 Thread Eric Poggel
On 1/31/2011 5:28 PM, Walter Bright wrote: Adam Ruppe wrote: In the other newsgroup, I've been talking about a little web news program I've been writing as a spinoff of the potential new homepage idea. That is great news. I've been wanting to do one for years! I haven't looked much at yours

Re: New web newsreader - requesting participation

2011-02-03 Thread Adam Ruppe
Eric Poggel wrote: I hate to mention this in light of Adam's work, but Reddit is open source--why not run our own deployment of it for D? I *really* dislike tree style interfaces. I find them incredibly hard to navigate. Of course, I'm fairly unlikely to use the web interface much anyway

Re: New web newsreader - requesting participation

2011-02-03 Thread Lars T. Kyllingstad
On Thu, 03 Feb 2011 17:16:58 +, Adam Ruppe wrote: Eric Poggel wrote: I hate to mention this in light of Adam's work, but Reddit is open source--why not run our own deployment of it for D? I *really* dislike tree style interfaces. I find them incredibly hard to navigate. Of course,

Re: New web newsreader - requesting participation

2011-02-03 Thread Daniel Gibson
Am 03.02.2011 22:00, schrieb Lars T. Kyllingstad: On Thu, 03 Feb 2011 17:16:58 +, Adam Ruppe wrote: Eric Poggel wrote: I hate to mention this in light of Adam's work, but Reddit is open source--why not run our own deployment of it for D? I *really* dislike tree style interfaces. I find

Re: New web newsreader - requesting participation

2011-02-02 Thread Stephan Soller
Quite some impressive stuff. Actually I'm somewhat blown away. Looks like I'm going to try GCI with D in the near future. :) The compile run functionality looks very solid. Sorry for assuming bad security. setrlimit, extra VM, internal and external firewalls… looks like it's as solid as it

Re: New web newsreader - requesting participation

2011-02-01 Thread Trass3r
Speaking of newsgroup web interface, interestingly while the main D site points to this crappy reader: http://www.digitalmars.com/pnews/indexing.php?server=news.digitalmars.comgroup=digitalmars.D.announce there still is a hidden one which is much better imho:

Re: New web newsreader - requesting participation

2011-02-01 Thread dennis luehring
Am 01.02.2011 09:37, schrieb Trass3r: Speaking of newsgroup web interface, interestingly while the main D site points to this crappy reader: http://www.digitalmars.com/pnews/indexing.php?server=news.digitalmars.comgroup=digitalmars.D.announce there still is a hidden one which is much better

Re: New web newsreader - requesting participation

2011-02-01 Thread Nick Sabalausky
Trass3r u...@known.com wrote in message news:ii8n1u$qoq$1...@digitalmars.com... btw Gour, neither web interface can display your messages, they appear empty. That's interesting. For me, in Outlook Express, his messages show up as blank too, *but* the message does show up as an attachment

Re: New web newsreader - requesting participation

2011-02-01 Thread Gour
On Tue, 01 Feb 2011 05:25:02 -0500 Trass3r u...@known.com wrote: btw Gour, neither web interface can display your messages, they appear empty. Hmmm...what about: http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.comgroup=digitalmars.D.announceartnum=20045 Sincerely, Gour

Re: New web newsreader - requesting participation

2011-02-01 Thread Adam Ruppe
Trass3r Wrote: Speaking of newsgroup web interface, interestingly while the main D site points to this crappy reader: http://www.digitalmars.com/pnews/indexing.php?server=news.digitalmars.comgroup=digitalmars.D.announce there still is a hidden one which is much better imho:

Re: New web newsreader - requesting participation

2011-02-01 Thread dennis luehring
Am 01.02.2011 14:42, schrieb Adam Ruppe: Trass3r Wrote: Speaking of newsgroup web interface, interestingly while the main D site points to this crappy reader: http://www.digitalmars.com/pnews/indexing.php?server=news.digitalmars.comgroup=digitalmars.D.announce there still is a hidden one

Re: New web newsreader - requesting participation

2011-02-01 Thread Andrej Mitrovic
On 2/1/11, Trass3r u...@known.com wrote: Speaking of newsgroup web interface, interestingly while the main D site points to this crappy reader: http://www.digitalmars.com/pnews/indexing.php?server=news.digitalmars.comgroup=digitalmars.D.announce there still is a hidden one which is much better

Re: New web newsreader - requesting participation

2011-02-01 Thread Andrew Wiley
On Tue, Feb 1, 2011 at 9:44 AM, Andrej Mitrovic andrej.mitrov...@gmail.comwrote: On 2/1/11, Trass3r u...@known.com wrote: Speaking of newsgroup web interface, interestingly while the main D site points to this crappy reader:

Re: New web newsreader - requesting participation

2011-02-01 Thread Andrej Mitrovic
On 2/1/11, Andrew Wiley debio...@gmail.com wrote: I'm not sure what you mean. I have my Gmail account subscribed to the mailing lists, and everything seems fine? When you start a new topic it doesn't show up in Gmail. Well, maybe they've fixed that recently? I haven't tried in a while, but it

Re: New web newsreader - requesting participation

2011-02-01 Thread Andrew Wiley
On Tue, Feb 1, 2011 at 10:06 AM, Andrej Mitrovic andrej.mitrov...@gmail.com wrote: On 2/1/11, Andrew Wiley debio...@gmail.com wrote: I'm not sure what you mean. I have my Gmail account subscribed to the mailing lists, and everything seems fine? When you start a new topic it doesn't show

Re: New web newsreader - requesting participation

2011-02-01 Thread Jesse Phillips
Andrej Mitrovic Wrote: That one has horrible bugs. You'll click on a topic, then try to read a reply, and it shoots you to some random topic 4+ years ago. Happens all the time. I only use it to post to NG since using Gmail directly doesn't show up my own posts (this is a known gmail bug).

Re: New web newsreader - requesting participation

2011-02-01 Thread Trass3r
That one has horrible bugs. You'll click on a topic, then try to read a reply, and it shoots you to some random topic 4+ years ago. Happens all the time. I only use it to post to NG since using Gmail directly doesn't show up my own posts (this is a known gmail bug). Didn't occur to me so far.

Re: New web newsreader - requesting participation

2011-02-01 Thread Jesse Phillips
Trass3r Wrote: btw Gour, neither web interface can display your messages, they appear empty. I have a special reader for his and the other's posts: http://news.gmane.org/gmane.comp.lang.d.announce Note that I continue to use Web-News because the threaded view at the bottom of every message

Re: New web newsreader - requesting participation

2011-02-01 Thread Nick Sabalausky
Denis Koroskin 2kor...@gmail.com wrote in message news:op.vp79ixtao7cclz@korden-pc... On Tue, 01 Feb 2011 14:49:47 +0300, Nick Sabalausky a@a.a wrote: Trass3r u...@known.com wrote in message news:ii8n1u$qoq$1...@digitalmars.com... btw Gour, neither web interface can display your messages,

Re: New web newsreader - requesting participation

2011-01-31 Thread Trass3r
OT: c) It tries to convert news posts to HTML, so the paragraphs wrap to the browser, links work, quotes are put into the proper tags for indentation, and it tries to auto-detect D code and put it in a pre block - which my javascript can make inline editable and runnable. Example:

Re: New web newsreader - requesting participation

2011-01-31 Thread foobar
Adam Ruppe Wrote: In the other newsgroup, I've been talking about a little web news program I've been writing as a spinoff of the potential new homepage idea. It's to the point where it is usuable, but still kinda buggy: http://arsdnet.net/d-web-site/nntp/thread-index?

Re: New web newsreader - requesting participation

2011-01-31 Thread Nick Sabalausky
foobar f...@bar.com wrote in message news:ii62n0$1r3i$1...@digitalmars.com... 1. common human markup such as: _foo_ (underline), *foo* (bold) etc, I've never been much of a fan of that. Actually that's one of the things I didn't like about Thunderbird when I tried it: it kept replacing *'s

Re: New web newsreader - requesting participation

2011-01-31 Thread Daniel Gibson
Am 31.01.2011 13:19, schrieb Nick Sabalausky: foobarf...@bar.com wrote in message news:ii62n0$1r3i$1...@digitalmars.com... 1. common human markup such as: _foo_ (underline), *foo* (bold) etc, I've never been much of a fan of that. Actually that's one of the things I didn't like about

Re: New web newsreader - requesting participation

2011-01-31 Thread Adam Ruppe
Nick Sabalausky wrote: It's amazing how often people seem to forget [a:visited] exists. Yeah, it boggles my mind - I personally find it incredibly useful. But every design I get for clients invariably has visited colors purposefully indistinguishable from regular links. Other things that break

Re: New web newsreader - requesting participation

2011-01-31 Thread Adam Ruppe
Trass3r wrote: So it showed me some Get Message form with mailman.1085.1296409409.4748.digitalmar...@puremagic.com in the message id field. That, by the way, is one of the background features of web.d. If there's insufficient parameters to call a function ( newsgroup != newsgroup so it

Re: New web newsreader - requesting participation

2011-01-31 Thread Adam Ruppe
foobar wrote: 1. common human markup such as: _foo_ (underline), *foo* (bold) etc, Yeah, that's a pretty good idea. I agree with the others that it should keep the text symbols (especially since I've seen these algorithms wrongly flag things *a lot*) but a basic implementation is ok. 2. parse

Re: New web newsreader - requesting participation

2011-01-31 Thread Adam Ruppe
But I'm curious how you do web programming with D. Do you use CGI? Yes, for most my apps (some have a homegrown HTTP server they use instead, if persistence is necessary). The module is here: http://arsdnet.net/dcode/cgi.d That same module works with standard CGI and with the embedded http

Re: New web newsreader - requesting participation

2011-01-31 Thread Trass3r
Strange thing is, most functions are properly demangled but 2 aren't. Is this a (known) bug? Yes, core.demangle can't do some symbols because DMD applies a one-way hash to them once they reach a certain length because such long symbols tend to break linkers. Ah I see, but what about

Re: New web newsreader - requesting participation

2011-01-31 Thread Adam Ruppe
Stephan Soller wrote: Cache invalidation How do you handle this right now? I don't. My program assumes that once it has a message, it never needs to look to the server for it again. (This is probably because of my own experience with mailing lists - I use the mailing list interface to the

Re: New web newsreader - requesting participation

2011-01-31 Thread Adam Ruppe
Ah I see, but what about the short one: Might be a bug in core.demangle (passing it to the function directly didn't work either). I'm not sure though.

Re: New web newsreader - requesting participation

2011-01-31 Thread foobar
Adam Ruppe Wrote: foobar wrote: 1. common human markup such as: _foo_ (underline), *foo* (bold) etc, Yeah, that's a pretty good idea. I agree with the others that it should keep the text symbols (especially since I've seen these algorithms wrongly flag things *a lot*) but a basic

Re: New web newsreader - requesting participation

2011-01-31 Thread Trass3r
Very interesting stuff. May D kick php out of business ;)

Re: New web newsreader - requesting participation

2011-01-31 Thread Andrej Mitrovic
Word wrapping, please! Looks cool so far.

Re: New web newsreader - requesting participation

2011-01-31 Thread Andrej Mitrovic
8. Search functionality digitalmars uses google for searching the NG archive, but I've no idea how to do custom searches. I.e. I'd like to search for a keyword in the topic title only, how would I do that?

Re: New web newsreader - requesting participation

2011-01-31 Thread Gour
On Mon, 31 Jan 2011 14:28:37 -0800 Walter Bright newshou...@digitalmars.com wrote: 7. runs on 64 bit FreeBSD (what the Digital Mars server runs on), yes, I know that means I have to get 64 bit dmd on FreeBSD working! You've made my day. :-) Sincerely, Gour -- Gour | Hlapicina, Croatia |

New web newsreader - requesting participation

2011-01-30 Thread Adam Ruppe
In the other newsgroup, I've been talking about a little web news program I've been writing as a spinoff of the potential new homepage idea. It's to the point where it is usuable, but still kinda buggy: http://arsdnet.net/d-web-site/nntp/thread-index? newsgroup=digitalmars.D Source code:

New web newsreader - requesting participation

2011-01-30 Thread Adam Ruppe
In the other newsgroup, I've been talking about a little web news program I've been writing as a spinoff of the potential new homepage idea. It's to the point where it is usuable, but still kinda buggy: http://arsdnet.net/d-web-site/nntp/thread-index? newsgroup=digitalmars.D Source code: