Re: D 1.076 and 2.061 release

2013-01-05 Thread Nick Sabalausky
On Thu, 03 Jan 2013 08:20:19 -0500
Matthew Caron matt.ca...@redlion.net wrote:

 On 01/02/2013 04:18 PM, Walter Bright wrote:
  Why would you need to? If your mail store is IMAP, just let it
  rebuild.
 
  I don't store email on the server, I store it locally.
 
 I gave that up years ago when I ended up with more than one device.
 Too much did I get that email on my laptop or my desktop? And now
 with tablet, phone, laptop, desktop, and several kiosk machines
 around the house (because how else do you watch Firefly whilst
 loading custom hunting ammunition in the gun room?) and then the
 device proliferation continues...
 

Turn off Delete email from server ten seconds after downloading it.
Either increase it to a sane time period, or disable delete-from-server
entirely. Problem solved. Worked fine for me.

Accessing *sent* messages can be a different story though, but using
your email client's setting for BCC outgoing messages to... to send
to a special messages I sent address works well enough. Unless you
need to use some shitty Fisher-Price email client like the one in iOS,
because then you're just fucked. (But if you need to rely on iOS,
you'll probably have bigger problems anyway.)


  scp -rp ~/.thunderbird target machine
 
  will shove your whole TB directory to the new box.
 
  Doesn't work on Windows.
 
 Why not? The directory may be different, but the philosophy should
 still hold. Just install ssh/sshd from cygwin and you're set.
 
 (The cheekier response is stop using toy OS's.

A few years ago I'd have disagreed, but after Vista, and then Win 7,
and now Win 8 (ie three steaming turds in a row), I have to agree with
you. I mostly liked XP, but I've been using Win7 for close to a
year now and I'm just itching to be rid of this goddamn MS OSX. (And
after having actually tried Win8, I have to say I could have easily
mistaken it for a bad prank if I hadn't already known about it.)

 Windows is only 
 suitable for playing video games, and I'm looking forward to Steam's 
 release for Linux such that I can power on the Wintendo less and
 less.

Steam on Linux? That's like installing hydraulics on a Formula 1
or a rusty nail in a jock strap. Nothing that involves Steam is
suitable for playing videogames, whether Win/Lin or anything else.

I'd be willing to *release* a game, *non-exclusively*, on steam just
for the visibility and for the subset of PC gamers that are
unfortunately dumb enough to think steam isn't DRM, but that's all
steam is good for. Gabe can suck the shit out of my ass for destroying
the last non-orwellian gaming platform in existence and
essentially turning it into a goddamn iPhone.



Re: D 1.076 and 2.061 release

2013-01-05 Thread David Nadlinger

On Saturday, 5 January 2013 at 09:30:41 UTC, Pierre Rouleau wrote:
I noticed that D 2.062 has no new features.  What would it take 
to remove the link to New/Changed Features on that version 
since there are none?


D 2.062 does not even exist yet, the current development version 
of changelog.dd just made it to http://dlang.org/changelog.html 
by accident.


Davi


Re: D 1.076 and 2.061 release

2013-01-05 Thread Pierre Rouleau

On 13-01-04 3:55 PM, Walter Bright wrote:

On 1/4/2013 12:23 PM, Pierre Rouleau wrote:

On 13-01-04 2:06 PM, Walter Bright wrote:

On 1/4/2013 8:59 AM, Pierre Rouleau wrote:

Don't you think a process that requires reviewing these titles
*before* the
actual software release announcement posting would help?


Of course it would. Do you wish to help? All help is welcome.


I was thinking about that too.  I just don't know where to start.  I
guess I
would have to read the developers guidelines and find out about the
documentation markup.  What should I read first?


Probably the easiest thing to start with is simply review the titles of
bugzilla issues appearing in the new/changed list. You can edit them as
required.

OK, I'll start going through the list of D2.062 and then D 2.061.  I'll 
take me time as I have to learn quite a bit, but you're right, and I 
would probably have proposed the same thing have I been in your shoes. 
Point taken and thanks!


I noticed that D 2.062 has no new features.  What would it take to 
remove the link to New/Changed Features on that version since there are 
none?


/Pierre


Re: D 1.076 and 2.061 release

2013-01-05 Thread Walter Bright

On 1/5/2013 1:30 AM, Pierre Rouleau wrote:

I noticed that D 2.062 has no new features.  What would it take to remove the
link to New/Changed Features on that version since there are none?


There will be.



Re: Runtime code reloading in D, part 1

2013-01-05 Thread Jacob Carlborg

On 2012-12-30 13:32, Benjamin Thaut wrote:

An article about runtime code reloading in the context of game
developement. A topic I'm currently working on in my spare time. I hope
it holds some valuable information for everyone working with D.

http://3d.benjamin-thaut.de/?p=25


This looks very cool. Question, are you manually triggering the code for 
generating the RTTI?


BTW, have you seen this old project implementing runtime reflection:

http://flectioned.kuehne.cn/

--
/Jacob Carlborg


Re: Amber

2013-01-05 Thread nazriel
On Friday, 21 December 2012 at 18:02:30 UTC, Lars Ivar Igesund 
wrote:

Dear D community,

I've been urged by many others to post about Amber here. It is 
a programming language being derived from D1, with a compiler 
written using D1 and Tango, with LLVM and C backends. The 
quality of code and documention is alpha (or pre-alpha).


Project page: https://bitbucket.org/larsivi/amber
Background: 
http://www.dsource.org/projects/tango/forums/topic/920


We hold house in #amber on Freenode.


Regards,
Lars Ivar Igesund
larsivi @ #amber on Freenode


It is really great to see Amber rolling!

I think D2 could take some inspiration from Amber as Amber takes 
from D2.


For example I like idea of allowing modules and packages with 
same names.

As alternative to DIP16.

I wonder what issues would be with D2 if we would allow 
constructions like:


std/net/http.d :
module std.net.http;
class HttpClient {}

std/net/ftp.d :
module std.net.ftp;
class FtpClient {}

std/net.d
public import std.net.http;
public import std.net.ftp;

main.d
import std.net;

auto http = new HttpClient();

etc

Or more up-to-now problem.

std/datetime/time.d
std/datetime/date.d

std/datetime.d:
module std.datetime;

public import std.datetime.time;
public import std.datetime.date;

Looks smooth for me tbh.


Re: D 1.076 and 2.061 release

2013-01-05 Thread Leandro Lucarella
Jonathan M Davis, el  4 de January a las 08:12 me escribiste:
 On Friday, January 04, 2013 14:30:01 Leandro Lucarella wrote:
  I think the best way to do it is to put it in the repository where the
  changes were made (this implies having separate release notes for dmd,
  phobos and druntime, I know).
  
  This way is trivial to see if some important change deserves a note in
  the release notes and if it does, for the reviewers to reject the pull
  request until it has proper release notes.
  
  Having them elsewhere will make the review process very difficult and
  lots of changes will still be missing.
  
  As part of the release process, we can merge these notes together and
  add them to the website. Even when doing it manually shouldn't be that
  time consuming (is only copypaste), this could also be automated.
 
 This is what we've been doing for ages. With the bug fixes being in there, 
 it's 
 been a big problem, because it creates merge conflicts up the wazoo. So, 
 we've 
 generally avoided updating the changelog as part of pull requests with code 
 in 
 them. However, now that the bugzilla portion is being automated, it may be 
 feasible to update changelog.dd in the pull requests with code changes.

I'm talking about the release notes, only few changes should need an entry on
that file.

-- 
Leandro Lucarella (AKA luca) http://llucax.com.ar/
--
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
--
Ambition makes you look pretty ugly


Re: Managing email [ was Re: D 1.076 and 2.061 release ]

2013-01-05 Thread Russel Winder
On Sat, 2013-01-05 at 02:20 -0500, Nick Sabalausky wrote:
[…]
 Sounds like you must be very good at Linux. I would never have been
 able to do it without this guide:
 
 http://library.linode.com/email/postfix/dovecot-mysql-debian-6-squeeze
 
 I found that to be more contrived, obscure, and needlessly
 over-complicated than anything else I've ever had to set up on (or off) a 
 computer.

Take MySQL out of the mix and it all becomes far, far, far easier.

 The result is worth it, of course, but geez, what a bunch of pointless
 hoops. No reason I shouldn't have been able to just do something like:

 $ sudo apt-get install sane-email-server
 
 Then maybe answer a few simple questions, and be done with it.

Dovecot and Postfix now work out of the box, but still benefit from a
bit of extra configuration, which is where emacs|nano|vim is all you
need apart from some careful editing of the configuration files probably
with an open reference manual to check exact options and syntax.  Debian
actually uses Exim4 now as the default SMTP system. It also works out of
the box. 

[…]
 Yea. Google's Don't be evil is a complete load of self-rationalizing
 bullshit. I mean, christ, their whole business is based on
 mining/selling personal information, and then they twist and contort the
 web technologies themselves into whatever they see fit (people bitch
 when *Microsoft* tries to do it, but when Big Brother does it it's
 apparently ok), and then they have the audacity to pretend their mantra
 is Don't be evil. I hate Microsoft as much as anyone, but I'd sell my
 soul to MS if it got rid of companies like Google and Apple.

Google is a complex beast in that it it clearly evil, money grubbing,
etc. as it has to be as a company with shareholders, but it also does do
a lot of community support to try and give back some. Much more so that
Microsoft and Apple, both of which are just evil without any of the
giving back.

-- 
Russel.
=
Dr Russel Winder  t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
41 Buckmaster Roadm: +44 7770 465 077   xmpp: rus...@winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder


signature.asc
Description: This is a digitally signed message part


Re: C++11 - using const and mutable for thread safety [Video]

2013-01-05 Thread Paulo Pinto

On Friday, 4 January 2013 at 19:03:14 UTC, Walter Bright wrote:

On 1/4/2013 6:00 AM, Dmitry Olshansky wrote:

03-Jan-2013 12:39, Michal Minich пишет:
Newly discovered changes in C++11 on using const and mutable 
for thread

safety

http://channel9.msdn.com/posts/C-and-Beyond-2012-Herb-Sutter-You-dont-know-blank-and-blank




So now const is retrofitted as thread-safe. Again by 
convention.
And that is true only because of a statement in std library 
expectations. This

shift is great but just ... by convention.

Looks like this channel got some updates on C++ and beyond 
2012. I've found this

one to be far more revealing:

http://channel9.msdn.com/Shows/Going+Deep/C-and-Beyond-2012-Andrei-Alexandrescu-Systematic-Error-Handling-in-C


Channel 9 has some great videos. I wish the good ones had 
transcripts.


Usually they are better to watch then whatever might be showing 
on TV, but only on alone evenings. :)


Re: Managing email [ was Re: D 1.076 and 2.061 release ]

2013-01-05 Thread Nick Sabalausky
On Sat, 05 Jan 2013 13:18:07 +
Russel Winder rus...@winder.org.uk wrote:

 On Sat, 2013-01-05 at 02:20 -0500, Nick Sabalausky wrote:
  Yea. Google's Don't be evil is a complete load of
  self-rationalizing bullshit. I mean, christ, their whole business
  is based on mining/selling personal information, and then they
  twist and contort the web technologies themselves into whatever
  they see fit (people bitch when *Microsoft* tries to do it, but
  when Big Brother does it it's apparently ok), and then they have
  the audacity to pretend their mantra is Don't be evil. I hate
  Microsoft as much as anyone, but I'd sell my soul to MS if it got
  rid of companies like Google and Apple.
 
 Google is a complex beast in that it it clearly evil, money grubbing,
 etc. as it has to be as a company with shareholders,

Yea, I was very disappointed years ago when they announced an IPO.
Prior to that, they were more or less just a fairly respectable search
engine. Very unsurprisingly, that didn't last long after going public.

 but it also does
 do a lot of community support to try and give back some. Much more so
 that Microsoft and Apple, both of which are just evil without any of
 the giving back.
 

That is a fair point. OTOH, Google (by their very nature) is dead-set on
things like making sure the web gets treated as an application platform
and getting people to store their personal data on Google's private
cloud (a moronic and unnecessary renaming of the works hosted and
internet, but that's a separate rant).

I know some people may not have a problem with such things as
web-as-an-OS, but I see it as doing very severe damage to the entire
world of computing as a whole. Which is not offset by anything they
could even possibly give back. They may see it as relieving the world
from the tyranny of Windows, but really it's just exchanging one facist
dictator for a nuttier, but more charismatic, one.

Also I think another part of what makes Google (and Apple) so dangerous
is that unlike MS, most people are still hailing them as wonderful
and benevolent companies.



Re: D 1.076 and 2.061 release

2013-01-05 Thread Pierre Rouleau



D 2.062 does not even exist yet, the current development version of
changelog.dd just made it to http://dlang.org/changelog.html by accident.

Davi


OK. Was not obvious for me  when I looked at the change log. And BTW, 
the change log page still shows it.  Is this intentional?  If it is, 
could we not identify the build as Future/unreleased version or 
something similar?


This is probably what a lot of people are worried about: the fact that 
you need t really get involved in the project to be able to use it. And 
the lack of consistency does not provide a good press for the project.


I will try to help by updating some of the Bugzilla titles as I continue 
learning.


/Pierre



Re: D 1.076 and 2.061 release

2013-01-05 Thread Pierre Rouleau

On 13-01-05 5:39 AM, Walter Bright wrote:

On 1/5/2013 1:30 AM, Pierre Rouleau wrote:

I noticed that D 2.062 has no new features.  What would it take to
remove the
link to New/Changed Features on that version since there are none?


There will be.

Do you have a plan of what they will be and a target date for the next 
release?


Re: D 1.076 and 2.061 release

2013-01-05 Thread Walter Bright

On 1/5/2013 10:06 AM, Pierre Rouleau wrote:

On 13-01-05 5:39 AM, Walter Bright wrote:

On 1/5/2013 1:30 AM, Pierre Rouleau wrote:

I noticed that D 2.062 has no new features.  What would it take to
remove the
link to New/Changed Features on that version since there are none?


There will be.


Do you have a plan of what they will be and a target date for the next release?


We've never had a release that didn't have some new/changed features.


Re: D 1.076 and 2.061 release

2013-01-05 Thread Pierre Rouleau

On 13-01-05 4:01 PM, Walter Bright wrote:

On 1/5/2013 10:06 AM, Pierre Rouleau wrote:

On 13-01-05 5:39 AM, Walter Bright wrote:

On 1/5/2013 1:30 AM, Pierre Rouleau wrote:

I noticed that D 2.062 has no new features.  What would it take to
remove the
link to New/Changed Features on that version since there are none?


There will be.


Do you have a plan of what they will be and a target date for the next
release?


We've never had a release that didn't have some new/changed features.


I know.

What I'm trying to see is what is the development *plan* for D2? 
Something that would identify the future features to be implemented and 
the planned targets/milestones for them.


I would assume that I am not alone in watching the D language evolution, 
would like to get people to start using it at my work place, and would 
like to know what the plan is be so we can better convince other people 
to invest time into it.


/Pierre