February 01, 2011
On Tue, Feb 1, 2011 at 9:44 AM, Andrej Mitrovic <andrej.mitrovich@gmail.com>wrote:

> On 2/1/11, Trass3r <un@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.com&group=digitalmars.D.announce
> > there still is a hidden one which is much better imho:
> >
> http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.announce
> >
>
> 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).
>

I'm not sure what you mean. I have my Gmail account subscribed to the mailing lists, and everything seems fine?


February 01, 2011
On 2/1/11, Andrew Wiley <debio264@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 didn't work before.
February 01, 2011
On Tue, Feb 1, 2011 at 10:06 AM, Andrej Mitrovic <andrej.mitrovich@gmail.com
> wrote:

> On 2/1/11, Andrew Wiley <debio264@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 didn't work before.
>

The email doesn't show up in the inbox until someone replies. This behavior
makes sense to me, at least, because sent messages go to "Sent Mail" and
don't appear in the inbox until they become conversations between multiple
people.
If that frustrates you, well, it's how email clients work because you want
to separate the ongoing discussions from the send-and-forget messages.


February 01, 2011
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).

I've only had this issue if I change the newsgroup in another tab/window.
February 01, 2011
> 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.
February 01, 2011
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 is highly beneficial, and the main page will break from the top thread to show new posts within a given thread. These two things have made Web-News preferable to the other alternatives.
February 01, 2011
"Denis Koroskin" <2korden@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" <un@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 (With a
>> filename
>> matching the regex "ATT[0-9]+\.txt"). There's a couple other people too
>> whose messages also show the same way for me: "Jerome M. Berger" and
>> Russel
>> Winder.
>>
>>
>
> Shows up perfectly fine here, in Opera, and headers look well-formed, too.
>
> I recommend upgrading your IE6-grade newsreader to something more advanced :p

Heh, yea, I do need something better. But last time I looked I wasn't able to find anything I liked much. I've been hoping to find the time to just make one :)



February 01, 2011
"Trass3r" <un@known.com> 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 show up my own posts (this is a known gmail bug).
>
> Didn't occur to me so far.

Happened to me every time I used it. But it has been a long time since I last tried though.


February 02, 2011
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 can get.

Happy programming
Stephan


On 31.01.2011 18:03, Adam Ruppe wrote:
> 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 newsgroup for reading. With
> them, once the email is sent, it isn't going to change. I just assumed
> the newsgroup worked the same way...)
>
>> D website
>>   I really like the layout.
>
> The credit for that goes to Christopher Bergqvist. See the thread
> "Suggestion: New D front page" in the main newsgroup. He posted
> a png outlining his idea and I just ran with it :)
>
>> The compile and run button is a bit of a security risk. I was able
>> to read the /etc/passwd file for example.
>
> Yeah, but that's normal on a multi user linux system. It doesn't
> really break anything.
>
> But, I moved the compile and run program to a separate VM to
> further limit it. If you read that entire filesystem, it doesn't
> really matter - it's an out of the box Slackware install. There's
> nothing sensitive or private on it at all.
>
> (Like it's domain name says, it is completely expendable info!)
>
>> Denial of service attacks (e.g.
>> endless loops) might still be a problem though.
>
> I think this is solved with my use of setrlimit. If a process
> eats more than 5 seconds of CPU time, the operating system kills it.
>
> The limits are also set to 16 MB of RAM, 16 kb files, 3 forks,
> and a bunch of other things.
>
> (This might be interesting to test some programs - it will actually
> get out of memory exceptions pretty easily!)
>
> Write access is also limited to a single directory, in addition
> to that individual size limit. Filling up the disk shouldn't
> be possible.
>
> The operating system firewall prevents most network activity, incoming
> and outgoing. You can play with sockets, but only if they are working
> with localhost, and even then, they aren't allowed to access the
> ssh port.
>
> Running a spam bot off it is impossible.
>
>
> More than this, the VM is also limited. I set its memory and CPU
> limits to about 1/5 the resources of the physical server. So if
> you did manage to get root and max out your program, it won't
> have a significant impact on the other things running with it (all
> low traffic websites). An external firewall serves as layer 2 to
> protect against spambots.
>
>
> Finally, I did a VM snapshot after setting it up. I'm considering
> running a scheduled script on my computer to blank and reset that
> VM every night. Then, if you got root and worked around my other
> restrictions, it'd be a temporary victory anyway, just until I
> revert the snapshot again.
>
>
> All in all, I think I have a pretty safe setup. If I'm proven
> wrong, plan B is to use the ideone API instead.
>
>
>
>> If you only display mails in the announcements which do not have a
>> "References" header you will only get mails that started a new topic.
>> This will filter out replies.
>
> Yes, that's what I wanted. The idea is to show a feed of new things
> coming out, rather than new replies on old ideas. This way, the
> homepage shows the most variety.
>
>
>> Happy programming
>
> Thanks! If I have any questions, I'll be sure to ask. I've gotta
> get back to my real work soon though (stupid Monday) so finishing
> this will probably have to wait until next weekend.
February 03, 2011
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).
> 
> Didn't occur to me so far.

After the cookie timeout it resets newsgroup to digitalmars.D keeping post ids which are group-specific. As .D has much more posts than other groups, getting a post with small id from it results in a very old post.