Re: Introducing Diskuto - an embeddable comment system

2017-03-14 Thread Sönke Ludwig via Digitalmars-d-announce

Am 14.03.2017 um 20:09 schrieb aberba:

On Tuesday, 14 March 2017 at 11:17:57 UTC, Sönke Ludwig wrote:

So I was able to reserve the last two days to work on something new,
and one thing that is currently rather lacking in the D/vibe.d web
ecosystem is embedded commenting, be it for vibe.d's own blog engine
[1]/[2] or for the DDOX based standard library documentation [3]. So I
went ahead and created a little comment engine inspired by Disqus and
Isso:

[...]


How deep (levels) can it handle sub comments?


It's currently unlimited, but I guess that either a functional or a 
visual limit of some sort needs to be defined. I'd probably make that 
configurable, because the sweet spot depends on the intended purpose of 
the comment section - real discussions or mainly just answers+comments 
(StackOverflow) or comments+answers (blog).




Re: Introducing Diskuto - an embeddable comment system

2017-03-14 Thread Sönke Ludwig via Digitalmars-d-announce

Am 14.03.2017 um 21:56 schrieb Daniel Kozak via Digitalmars-d-announce:

Dne 14.3.2017 v 21:24 Sönke Ludwig via Digitalmars-d-announce napsal(a):


Did you delete the comments yourself? The time limit for
deletion/editing currently isn't enforced on the server (ticket
already open), so anyone can delete their own tickets currently at any
time.

I've noted the other issues and will tackle those tomorrow.

I have deleted not only my comments, I can delete enyone comment


Okay, that was supposed to be implemented before 1.0.0, but then I 
forgot about it:

https://github.com/rejectedsoftware/diskuto/blob/d8376f3e54a03574f69af13a0b41b5e994b6ce44/source/diskuto/web.d#L107


Re: Update on Unums

2017-03-14 Thread Nick B via Digitalmars-d-announce

On Tuesday, 14 March 2017 at 19:32:57 UTC, H. S. Teoh wrote:
On Tue, Mar 14, 2017 at 06:50:07PM +, Nick B via 
Digitalmars-d-announce wrote:

On Tuesday, 14 March 2017 at 13:38:09 UTC, jmh530 wrote:
> On Tuesday, 14 March 2017 at 08:21:03 UTC, Andrea Fontana 
> wrote:
> > 
> > It seems public: 
> > http://insidehpc.com/2017/02/john-gustafson-presents-beyond-floating-point-next-generation-computer-arithmetic/
> 
> Also in pdf here 
> http://web.stanford.edu/class/ee380/Abstracts/170201-slides.pdf


Thank you both for posting these links :).

[...]

Indeed.

But while the .pdf mentions Posits and Valids, the following 
slides only discuss Posits.  Where's the discussion on Valids?


In spite of that, though, Posits appear to be a much better 
candidate at replacing IEEE 794 floats than the previous unum 
incarnations. I felt the previous incarnations, while clever 
and workable in theory, posed too many practical challenges to 
implement on silicon.  The current description of Posits seem 
to be much more feasible to put on silicon.


Still, though, I wonder what Gustafson has up his sleeves wrt. 
Valids.


In the Stanford presentation pdf, (note that these change from 
presentation to presentation) on page 12, is the only mention of 
Valids. I thought these were a rename of Sets of Real 
Numbers(SORNS) from his Type 2 Unums, but after reviewing the 
slides again, I'm not sure.  I believe that this needs to be 
vertified with Dr Gustafson, as you correctly point out there are 
no examples of Valids.


But when I review his slides from his New Zealand talk, there is 
an additional slide, where he states that (1) "Posit pairs beat 
intervals at their own games, too: Valid mode." and (2) "Posit 
mode: Round unum after every operation.  Valid mode: rigorous 
answer bounds; NaN answers are sets. "


If anyone wants a copy of these New Zealand slides, please advise 
me of your email address.







Re: Introducing Diskuto - an embeddable comment system

2017-03-14 Thread Daniel Kozak via Digitalmars-d-announce



Dne 14.3.2017 v 21:24 Sönke Ludwig via Digitalmars-d-announce napsal(a):

On Tuesday, 14 March 2017 at 20:02:08 UTC, Daniel Kozak wrote:



Dne 14.3.2017 v 20:54 Azbuka via Digitalmars-d-announce napsal(a):

On Tuesday, 14 March 2017 at 19:39:08 UTC, Daniel Kozak wrote:


Sorry but I do not see it. Which one?


Looks like it have been deleted. Okay, 2k upvotes is too much. I'll 
make it 100.


curl 'http://rejectedsoftware.com:10888/diskuto/delete' -H 'Origin: 
http://rejectedsoftware.com:10888' -H 'Accept-Encoding: gzip, 
deflate' -H 'Accept-Language: cs-CZ,cs;q=0.8' -H 'User-Agent: 
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like 
Gecko) Chrome/56.0.2924.87 Safari/537.36 OPR/43.0.2442.1144' -H 
'Content-type: application/json' -H 'Accept: */*' -H 'Referer: 
http://rejectedsoftware.com:10888/' -H 'Cookie: 
vibe.session_id=QVwY1IGbGeELZw0v77w74RdDbQOKTheyQx8gi3HAQOWi6PTEQoRAxbUWUFmmLNq95FE5nyZ1Og47SCeu5v6oog' 
-H 'Connection: keep-alive' --data-binary 
'{"id":""}' --compressed


Did you delete the comments yourself? The time limit for 
deletion/editing currently isn't enforced on the server (ticket 
already open), so anyone can delete their own tickets currently at any 
time.


I've noted the other issues and will tackle those tomorrow.

I have deleted not only my comments, I can delete enyone comment


Re: Introducing Diskuto - an embeddable comment system

2017-03-14 Thread Sönke Ludwig via Digitalmars-d-announce

On Tuesday, 14 March 2017 at 20:02:08 UTC, Daniel Kozak wrote:



Dne 14.3.2017 v 20:54 Azbuka via Digitalmars-d-announce 
napsal(a):

On Tuesday, 14 March 2017 at 19:39:08 UTC, Daniel Kozak wrote:


Sorry but I do not see it. Which one?


Looks like it have been deleted. Okay, 2k upvotes is too much. 
I'll make it 100.


curl 'http://rejectedsoftware.com:10888/diskuto/delete' -H 
'Origin: http://rejectedsoftware.com:10888' -H 
'Accept-Encoding: gzip, deflate' -H 'Accept-Language: 
cs-CZ,cs;q=0.8' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) 
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 
Safari/537.36 OPR/43.0.2442.1144' -H 'Content-type: 
application/json' -H 'Accept: */*' -H 'Referer: 
http://rejectedsoftware.com:10888/' -H 'Cookie: 
vibe.session_id=QVwY1IGbGeELZw0v77w74RdDbQOKTheyQx8gi3HAQOWi6PTEQoRAxbUWUFmmLNq95FE5nyZ1Og47SCeu5v6oog' -H 'Connection: keep-alive' --data-binary '{"id":""}' --compressed


Did you delete the comments yourself? The time limit for 
deletion/editing currently isn't enforced on the server (ticket 
already open), so anyone can delete their own tickets currently 
at any time.


I've noted the other issues and will tackle those tomorrow.


Re: DConf 2017 Schedule

2017-03-14 Thread Ali Çehreli via Digitalmars-d-announce

On 03/14/2017 09:35 AM, Moritz Maxeiner wrote:

On Tuesday, 14 March 2017 at 16:12:56 UTC, Mike Parker wrote:

Fresh from the D Foundation HQ, the DConf 2017 schedule [1] is now
available for your perusal. If you haven't registered yet, you have
just over five weeks to get it done. The registration deadline has
been set for April 23, so don't procrastinate. Even better, head over
to the registration page [2] and do it now!

[1] http://dconf.org/2017/schedule/
[2] http://dconf.org/2017/registration.html


Thanks, looks like lots of interesting talks!
One thing though:

Day 3: Saturday May 6, 2017
Day 4: Saturday May 7, 2017


Thanks. Apparently, that one's fixed.

Everybody, you can make pull requests to

  https://github.com/dlang/dconf.org

Don't use my clone of the repo as it involves an extra step.

Ali



Re: Introducing Diskuto - an embeddable comment system

2017-03-14 Thread Daniel Kozak via Digitalmars-d-announce



Dne 14.3.2017 v 20:54 Azbuka via Digitalmars-d-announce napsal(a):

On Tuesday, 14 March 2017 at 19:39:08 UTC, Daniel Kozak wrote:


Sorry but I do not see it. Which one?


Looks like it have been deleted. Okay, 2k upvotes is too much. I'll 
make it 100.


curl 'http://rejectedsoftware.com:10888/diskuto/delete' -H 'Origin: 
http://rejectedsoftware.com:10888' -H 'Accept-Encoding: gzip, deflate' 
-H 'Accept-Language: cs-CZ,cs;q=0.8' -H 'User-Agent: Mozilla/5.0 (X11; 
Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 
Safari/537.36 OPR/43.0.2442.1144' -H 'Content-type: application/json' -H 
'Accept: */*' -H 'Referer: http://rejectedsoftware.com:10888/' -H 
'Cookie: 
vibe.session_id=QVwY1IGbGeELZw0v77w74RdDbQOKTheyQx8gi3HAQOWi6PTEQoRAxbUWUFmmLNq95FE5nyZ1Og47SCeu5v6oog' 
-H 'Connection: keep-alive' --data-binary 
'{"id":""}' --compressed


Re: Introducing Diskuto - an embeddable comment system

2017-03-14 Thread Daniel Kozak via Digitalmars-d-announce

Dne 14.3.2017 v 20:54 Azbuka via Digitalmars-d-announce napsal(a):


On Tuesday, 14 March 2017 at 19:39:08 UTC, Daniel Kozak wrote:


Sorry but I do not see it. Which one?


Looks like it have been deleted. Okay, 2k upvotes is too much. I'll 
make it 100.



Deleted :D



Re: Introducing Diskuto - an embeddable comment system

2017-03-14 Thread Azbuka via Digitalmars-d-announce

On Tuesday, 14 March 2017 at 19:39:08 UTC, Daniel Kozak wrote:


Sorry but I do not see it. Which one?


Looks like it have been deleted. Okay, 2k upvotes is too much. 
I'll make it 100.




Re: Introducing Diskuto - an embeddable comment system

2017-03-14 Thread Daniel Kozak via Digitalmars-d-announce

Dne 14.3.2017 v 20:17 Azbuka via Digitalmars-d-announce napsal(a):


On Tuesday, 14 March 2017 at 14:26:35 UTC, Sönke Ludwig wrote:
Yeah, still tweaking a few things here and there. Very helpful to 
have people try out weird things ;) I'm just not sure how well that 
will work after someone posts this to Reddit.


My comment is most upvoted. Where can I get my medal?
(Just runned a script, which makes POST requests to diskuto/up with 
id=)

Sorry but I do not see it. Which one?


Re: Update on Unums

2017-03-14 Thread H. S. Teoh via Digitalmars-d-announce
On Tue, Mar 14, 2017 at 06:50:07PM +, Nick B via Digitalmars-d-announce 
wrote:
> On Tuesday, 14 March 2017 at 13:38:09 UTC, jmh530 wrote:
> > On Tuesday, 14 March 2017 at 08:21:03 UTC, Andrea Fontana wrote:
> > > 
> > > It seems public: 
> > > http://insidehpc.com/2017/02/john-gustafson-presents-beyond-floating-point-next-generation-computer-arithmetic/
> > 
> > Also in pdf here
> > http://web.stanford.edu/class/ee380/Abstracts/170201-slides.pdf
> 
> Thank you both for posting these links :).
[...]

Indeed.

But while the .pdf mentions Posits and Valids, the following slides only
discuss Posits.  Where's the discussion on Valids?

In spite of that, though, Posits appear to be a much better candidate at
replacing IEEE 794 floats than the previous unum incarnations. I felt
the previous incarnations, while clever and workable in theory, posed
too many practical challenges to implement on silicon.  The current
description of Posits seem to be much more feasible to put on silicon.

Still, though, I wonder what Gustafson has up his sleeves wrt. Valids.

But I'm wondering how people would react to switching their numerical
code to projective reals as opposed to the present IEEE 794 system where
you can distinguish between +inf and -inf.  Projective reals have
nice(r) closure properties, but I can see some cases where being unable
to distinguish between +inf and -inf may be problematic.


T

-- 
When solving a problem, take care that you do not become part of the problem.


Re: Introducing Diskuto - an embeddable comment system

2017-03-14 Thread Azbuka via Digitalmars-d-announce

On Tuesday, 14 March 2017 at 14:26:35 UTC, Sönke Ludwig wrote:
Yeah, still tweaking a few things here and there. Very helpful 
to have people try out weird things ;) I'm just not sure how 
well that will work after someone posts this to Reddit.


My comment is most upvoted. Where can I get my medal?
(Just runned a script, which makes POST requests to diskuto/up 
with id=)


Re: Introducing Diskuto - an embeddable comment system

2017-03-14 Thread aberba via Digitalmars-d-announce

On Tuesday, 14 March 2017 at 11:17:57 UTC, Sönke Ludwig wrote:
So I was able to reserve the last two days to work on something 
new, and one thing that is currently rather lacking in the 
D/vibe.d web ecosystem is embedded commenting, be it for 
vibe.d's own blog engine [1]/[2] or for the DDOX based standard 
library documentation [3]. So I went ahead and created a little 
comment engine inspired by Disqus and Isso:


[...]


How deep (levels) can it handle sub comments?


Re: Update on Unums

2017-03-14 Thread Nick B via Digitalmars-d-announce

On Tuesday, 14 March 2017 at 13:38:09 UTC, jmh530 wrote:

On Tuesday, 14 March 2017 at 08:21:03 UTC, Andrea Fontana wrote:


It seems public: 
http://insidehpc.com/2017/02/john-gustafson-presents-beyond-floating-point-next-generation-computer-arithmetic/


Also in pdf here
http://web.stanford.edu/class/ee380/Abstracts/170201-slides.pdf


Thank you both for posting these links :).

Cheers
Nick


Re: DConf 2017 Hotel - book now!

2017-03-14 Thread Bastiaan Veelo via Digitalmars-d-announce
On Saturday, 4 March 2017 at 20:08:39 UTC, Vladimir Panteleev 
wrote:

On Thursday, 2 March 2017 at 02:24:50 UTC, Walter Bright wrote:

http://www.ibis.com/gb/hotel-5694-ibis-berlin-neukoelln/index.shtml

Last year, some people booked late and it was full and they 
had to stay at another hotel.


Aaand it's sold out. 2 months before the conference. Wow :)


I just booked Erlanger Hof. It too is filling up fast.


Re: DConf 2017 Schedule

2017-03-14 Thread Moritz Maxeiner via Digitalmars-d-announce

On Tuesday, 14 March 2017 at 16:12:56 UTC, Mike Parker wrote:
Fresh from the D Foundation HQ, the DConf 2017 schedule [1] is 
now available for your perusal. If you haven't registered yet, 
you have just over five weeks to get it done. The registration 
deadline has been set for April 23, so don't procrastinate. 
Even better, head over to the registration page [2] and do it 
now!


[1] http://dconf.org/2017/schedule/
[2] http://dconf.org/2017/registration.html


Thanks, looks like lots of interesting talks!
One thing though:

Day 3: Saturday May 6, 2017
Day 4: Saturday May 7, 2017


DConf 2017 Schedule

2017-03-14 Thread Mike Parker via Digitalmars-d-announce
Fresh from the D Foundation HQ, the DConf 2017 schedule [1] is 
now available for your perusal. If you haven't registered yet, 
you have just over five weeks to get it done. The registration 
deadline has been set for April 23, so don't procrastinate. Even 
better, head over to the registration page [2] and do it now!


[1] http://dconf.org/2017/schedule/
[2] http://dconf.org/2017/registration.html


Re: [OT] LLVM 4.0 released - LDC mentioned in release notes

2017-03-14 Thread Joakim via Digitalmars-d-announce

On Monday, 13 March 2017 at 19:31:04 UTC, Kai Nacke wrote:

Hi all!

LLVM 4.0 has been released! See the release notes here: 
http://releases.llvm.org/4.0.0/docs/ReleaseNotes.html

Downloads: http://releases.llvm.org/download.html#4.0.0

As usual LDC is mentioned in the release notes, too: 
http://releases.llvm.org/4.0.0/docs/ReleaseNotes.html#ldc-the-llvm-based-d-compiler

IMHO this is good advertisement for D & LDC.


Nice, I'm sure it helps that ldc is always included in the llvm 
release notes, a testament to your and the other ldc developers' 
efforts to always keep ldc up-to-date with llvm master and the 
newest releases.





Re: Introducing Diskuto - an embeddable comment system

2017-03-14 Thread Sönke Ludwig via Digitalmars-d-announce

Am 14.03.2017 um 14:48 schrieb Faux Amis:

Started a temporary instance for hands-on testing:
http://rejectedsoftware.com:10888/


Updated I see ;)


Yeah, still tweaking a few things here and there. Very helpful to have 
people try out weird things ;) I'm just not sure how well that will work 
after someone posts this to Reddit.


Re: Introducing Diskuto - an embeddable comment system

2017-03-14 Thread Faux Amis via Digitalmars-d-announce

Started a temporary instance for hands-on testing:
http://rejectedsoftware.com:10888/


Updated I see ;)


Re: Update on Unums

2017-03-14 Thread jmh530 via Digitalmars-d-announce

On Tuesday, 14 March 2017 at 08:21:03 UTC, Andrea Fontana wrote:


It seems public: 
http://insidehpc.com/2017/02/john-gustafson-presents-beyond-floating-point-next-generation-computer-arithmetic/


Also in pdf here
http://web.stanford.edu/class/ee380/Abstracts/170201-slides.pdf


Re: D IDE Coedit - version 3 released.

2017-03-14 Thread jmh530 via Digitalmars-d-announce

On Monday, 13 March 2017 at 17:43:32 UTC, Basile B. wrote:
Finally, after four betas, the third version of my D IDE [0] is 
available.




Congrats. I had tried it in the past and had liked it.


Re: Introducing Diskuto - an embeddable comment system

2017-03-14 Thread Sönke Ludwig via Digitalmars-d-announce

Am 14.03.2017 um 12:17 schrieb Sönke Ludwig:

So I was able to reserve the last two days to work on something new, and
one thing that is currently rather lacking in the D/vibe.d web ecosystem
is embedded commenting, be it for vibe.d's own blog engine [1]/[2] or
for the DDOX based standard library documentation [3]. So I went ahead
and created a little comment engine inspired by Disqus and Isso:

https://github.com/rejectedsoftware/diskuto (screenshot inside)
https://code.dlang.org/packages/diskuto

It has a similar tree based structure with user voting, doesn't require
registration and a basic set of functionality works without JavaScript
support.

Currently the only backend supported is MongoDB, but adding more is
rather simple. Using NNTP as the target, as was discussed a few times in
the past, is slightly tricky because editing and comment deletion needs
to be supported. However, there is a limited time frame for those
operations, so afterwards messages could be mirrored to a newsgroup
safely (the other way around would of course always work).

Any comments suggestions and especially helping hands are highly
appreciated!

[1]: https://github.com/rejectedsoftware/vibenews
[2]: https://vibed.org/blog/
[3]: https://dlang.org/library/


Started a temporary instance for hands-on testing:
http://rejectedsoftware.com:10888/


Introducing Diskuto - an embeddable comment system

2017-03-14 Thread Sönke Ludwig via Digitalmars-d-announce
So I was able to reserve the last two days to work on something new, and 
one thing that is currently rather lacking in the D/vibe.d web ecosystem 
is embedded commenting, be it for vibe.d's own blog engine [1]/[2] or 
for the DDOX based standard library documentation [3]. So I went ahead 
and created a little comment engine inspired by Disqus and Isso:


https://github.com/rejectedsoftware/diskuto (screenshot inside)
https://code.dlang.org/packages/diskuto

It has a similar tree based structure with user voting, doesn't require 
registration and a basic set of functionality works without JavaScript 
support.


Currently the only backend supported is MongoDB, but adding more is 
rather simple. Using NNTP as the target, as was discussed a few times in 
the past, is slightly tricky because editing and comment deletion needs 
to be supported. However, there is a limited time frame for those 
operations, so afterwards messages could be mirrored to a newsgroup 
safely (the other way around would of course always work).


Any comments suggestions and especially helping hands are highly 
appreciated!


[1]: https://github.com/rejectedsoftware/vibenews
[2]: https://vibed.org/blog/
[3]: https://dlang.org/library/


Re: Update on Unums

2017-03-14 Thread Andrea Fontana via Digitalmars-d-announce

On Monday, 13 March 2017 at 08:32:04 UTC, Nick B wrote:

Hi Everyone

Here is an update on Unums.

John L Gustafson at the Multicore World 2017 Conference, in 
Wellington,  New Zealand, in February 2017, gave another 
presentation to his Unum idea.   He has again reworked the 
basis of his idea again.  He has now called this latest 
version: Type 3 Unums (2017), and introduced new labels of 
Posits and Valids for contrasting Calculation Esthetics.


If I get the approval to post Johns latest presentation, I will 
do so.


cheers
Nick


It seems public: 
http://insidehpc.com/2017/02/john-gustafson-presents-beyond-floating-point-next-generation-computer-arithmetic/