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 fixe

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 D. Ruppe
References: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit foobar wrote: > I'd implement the following filters/parsers for text posts: 2. parse > BBCode. Well, let's hope this works! I'm now making a post from the new newsreader using BBCode. Testing a lot of new cod

Re: New web newsreader - requesting participation

2011-02-03 Thread Jesse Phillips
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. I've usually already read major branches

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 inter

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

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 (whe

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 ye

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-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 c

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 wrote: > >> "Trass3r" wrote in message >> news:ii8n1u$qoq$1...@digitalmars.com... >>> btw Gour, neither web interface can display your messages, they ap

Re: New web newsreader - requesting participation

2011-02-01 Thread Nick Sabalausky
"Trass3r" wrote in message news:ii9dlt$2548$1...@digitalmars.com... >> 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

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 i

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 f

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 Andrew Wiley
On Tue, Feb 1, 2011 at 10:06 AM, Andrej Mitrovic wrote: > On 2/1/11, Andrew Wiley 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

Re: New web newsreader - requesting participation

2011-02-01 Thread Andrej Mitrovic
On 2/1/11, Andrew Wiley 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 didn't work before

Re: New web newsreader - requesting participation

2011-02-01 Thread Andrew Wiley
On Tue, Feb 1, 2011 at 9:44 AM, Andrej Mitrovic wrote: > On 2/1/11, 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.com&group=digitalmars.D.ann

Re: New web newsreader - requesting participation

2011-02-01 Thread Andrej Mitrovic
On 2/1/11, 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.com&group=digitalmars.D.announce > there still is a hidden one which is much better imho: > h

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.com&group=digitalmars.D.announce there still is a hidden one w

Re: New web newsreader - requesting participation

2011-02-01 Thread Denis Koroskin
On Tue, 01 Feb 2011 14:49:47 +0300, Nick Sabalausky wrote: "Trass3r" 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

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.com&group=digitalmars.D.announce > there still is a hidden one which is much better imho: > http://ww

Re: New web newsreader - requesting participation

2011-02-01 Thread Gour
On Tue, 01 Feb 2011 05:25:02 -0500 Trass3r 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.com&group=digitalmars.D.announce&artnum=20045 Sincerely, Gour -- Gour |

Re: New web newsreader - requesting participation

2011-02-01 Thread Nick Sabalausky
"Trass3r" 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 (With a filena

Re: New web newsreader - requesting participation

2011-02-01 Thread Trass3r
btw Gour, neither web interface can display your messages, they appear empty.

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.com&group=digitalmars.D.announce there still is a hidden one which is much better im

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.com&group=digitalmars.D.announce there still is a hidden one which is much better imho: http://www.digitalmars.com/webnews/

Re: New web newsreader - requesting participation

2011-01-31 Thread Gour
On Mon, 31 Jan 2011 14:28:37 -0800 Walter Bright 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 | GPG key: CDBF17CA --

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 Walter Bright
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 yet, but here's my ideas anyway :-) 1. Can

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 Trass3r
Very interesting stuff. May D kick php out of business ;)

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 im

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 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 new

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 ser

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

Re: New web newsreader - requesting participation

2011-01-31 Thread Stephan Soller
Nice newsreader! Fast and does what it needs to do, and written in D. I like that. :) I'm currently writing an NNTP web frontend (reading and posting) for my university. However it's written in PHP so it's not really fitting for a new D homepage. But I'm curious how you do web programming with

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
Trass3r wrote: > So it showed me some Get Message form with > > 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 thought it wasn't an argument to the function) it automa

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 Daniel Gibson
Am 31.01.2011 13:19, schrieb Nick Sabalausky: "foobar" 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

Re: New web newsreader - requesting participation

2011-01-31 Thread Nick Sabalausky
"foobar" 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 and _'s

Re: New web newsreader - requesting participation

2011-01-31 Thread Daniel Gibson
Am 31.01.2011 11:25, schrieb 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/

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? > newsgroup=

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 block - which my javascript can make inline > editable and runnable. Example: > > http

Re: New web newsreader - requesting participation

2011-01-30 Thread Nick Sabalausky
"Adam Ruppe" wrote in message news:ii592i$c09$1...@digitalmars.com... > > 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 block - which my j

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: http://

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: http://