Re: https everywhere update - dlang.org gets an "A" now!

2015-12-08 Thread Sönke Ludwig via Digitalmars-d-announce

Now also certified (Let's Encrypt made this really straight forward):

https://code.dlang.org/
https://forum.rejectedsoftware.com/
https://vibed.org/

All pass with an A for the ssllabs.com test. I'll also setup default 
HTTP->HTTPS redirects.




Re: Release D 2.069.0

2015-12-08 Thread Jean-Yves Vion-Dury via Digitalmars-d-announce

On Monday, 7 December 2015 at 17:32:05 UTC, Márcio Martins wrote:
On Monday, 7 December 2015 at 17:06:48 UTC, Jean-Yves Vion-Dury 
wrote:
On Wednesday, 4 November 2015 at 15:25:04 UTC, Márcio Martins 
wrote:

[...]



FYI, I just installed the 2.069 version, and now I'm unable to 
compile some modules, getting the same "Error: out of memory". 
I isolated a tiny one raising the issue, and its all about a 
moderately complex ctRegex expression (see below) that seems 
to brake the compiler. Other modules also raise the problem, 
but they are bigger in term of code lines.


[...]


Windows?


Yes indeed, Windows... is it a problem (the previous version was 
fine with my environment)?


Re: DConf 2016 news: 20% sold out, book signing

2015-12-08 Thread wobbles via Digitalmars-d-announce

On Monday, 7 December 2015 at 20:42:21 UTC, Adam D. Ruppe wrote:

On Monday, 7 December 2015 at 19:37:11 UTC, deadalnix wrote:

Adam won't be coming ?


I haven't decided for sure yet, but probably not. I don't like 
travel at all and the thought of a trans-atlantic flight 
strikes me as the worst.


Sleeping tablets make long flights much more bearable!


Re: Release D 2.069.0

2015-12-08 Thread ZombineDev via Digitalmars-d-announce
On Tuesday, 8 December 2015 at 08:39:26 UTC, Jean-Yves Vion-Dury 
wrote:
On Monday, 7 December 2015 at 17:32:05 UTC, Márcio Martins 
wrote:
On Monday, 7 December 2015 at 17:06:48 UTC, Jean-Yves 
Vion-Dury wrote:
On Wednesday, 4 November 2015 at 15:25:04 UTC, Márcio Martins 
wrote:

[...]



FYI, I just installed the 2.069 version, and now I'm unable 
to compile some modules, getting the same "Error: out of 
memory". I isolated a tiny one raising the issue, and its all 
about a moderately complex ctRegex expression (see below) 
that seems to brake the compiler. Other modules also raise 
the problem, but they are bigger in term of code lines.


[...]


Windows?


Yes indeed, Windows... is it a problem (the previous version 
was fine with my environment)?


I guess the issue is that the Windows DMD binary is 32-bit and 
supports addressing only 2GB (or 4GB if it's Large Address Space 
aware), whereas on other OSs it's 64-bit by default and doesn't 
have this limitation.


Maybe if you need to keep using Windows your best option is to 
build a 64-bit DMD yourself. I think the easiest way to do this 
on Windows is to use Digger: https://github.com/cybershadow/Digger





Re: Release D 2.069.0

2015-12-08 Thread Márcio Martins via Digitalmars-d-announce
On Tuesday, 8 December 2015 at 08:39:26 UTC, Jean-Yves Vion-Dury 
wrote:
On Monday, 7 December 2015 at 17:32:05 UTC, Márcio Martins 
wrote:
On Monday, 7 December 2015 at 17:06:48 UTC, Jean-Yves 
Vion-Dury wrote:
On Wednesday, 4 November 2015 at 15:25:04 UTC, Márcio Martins 
wrote:

[...]



FYI, I just installed the 2.069 version, and now I'm unable 
to compile some modules, getting the same "Error: out of 
memory". I isolated a tiny one raising the issue, and its all 
about a moderately complex ctRegex expression (see below) 
that seems to brake the compiler. Other modules also raise 
the problem, but they are bigger in term of code lines.


[...]


Windows?


Yes indeed, Windows... is it a problem (the previous version 
was fine with my environment)?


You will need to add the add the LARGEADDRESSAWARE flag to your 
executable manually. It is supposed to be done automatically, but 
it is not working currently, so you will have to do it 
manually... It indeed stopped working since 2.069.0. 
Unfortunately, it is a royal pain in the anus, because you need 
to download the WDK. To save you some pain, if you have Windows 
10, it's WDK doesn't install property, so you best install WDK 
8.1 which works smooth. Perhaps there are some other tools that 
do it, but I am always reluctant to download these sort of stuff 
from untrusted sources.


DlangIDE update

2015-12-08 Thread Vadim Lopatin via Digitalmars-d-announce

Hello,

DlangIDE is getting close to usable.
DlangIDE is and IDE for D programming language written in D using 
DlangUI library.


Project page: https://github.com/buggins/dlangide

To try, use `dub fetch dlangide && dub run dlangide` try to 
create and run DlangUI Helloworld project, or open Tetris project 
from workspaces/tetris.


Supported platforms: win32, linux, osx.

DlangIDE uses DUB to build and run projects, DUB .json as project 
format, DCD for code completion.
For code completion / go to references functionality, you need to 
build dcd-server and dcd-client executables from 
https://github.com/Hackerpilot/DCD.git and put them to some of 
PATH dirs.


Recent changes:
- New Project wizard
- New source file wizard
- Add / remove project files, refresh workspace
- A lot of bugfixes

Current activities:
- GDB MI debugger support
- integration of DML GUI builder (Delphi like)

DlangUI: https://github.com/buggins/dlangui

Recent DlangUI changes:
- MonoD and VisualD projects for development under Windows, 
Linux, OSX.

- pure X11 backend implemented to avoid SDL dependency
- dmledit app for editing DML
- spreadsheet example (excel like app, just started)
- a lot of bugfixes

Try dlangui:tetris, dlangui:example1, dlangui:dmledit examples.


Best regards,
Vadim



Re: DlangIDE update

2015-12-08 Thread tired_eyes via Digitalmars-d-announce

On Tuesday, 8 December 2015 at 15:58:43 UTC, Vadim Lopatin wrote:

Hello,

DlangIDE is getting close to usable.
DlangIDE is and IDE for D programming language written in D 
using DlangUI library.


[...]


Congrats! Glad to see that project is not abandoned.


Re: DLang users telegram group

2015-12-08 Thread Kingsley via Digitalmars-d-announce
On Monday, 30 November 2015 at 10:58:34 UTC, Quentin Ladeveze 
wrote:

Hi everybody,

I just created a Telegram group for dlang users : 
https://telegram.me/joinchat/BeLaugMz35ZxQUq2fks4YQ


Feel free to join !


says the link has expired


Re: DlangIDE update

2015-12-08 Thread default0 via Digitalmars-d-announce

On Tuesday, 8 December 2015 at 15:58:43 UTC, Vadim Lopatin wrote:

Hello,

DlangIDE is getting close to usable.
DlangIDE is and IDE for D programming language written in D 
using DlangUI library.


Sweet! Glad you're back and working on this!
Was wanting to give it a shot, but typing } on my keyboard 
(german layout, right-alt + 0) did not actually insert the 
character into the opened document, so I gave up.
Most of the UI stuff looks really neat (especially like the 
directory structure preview when creating a new 
project/workspace), but obviously still needs a lot of work (you 
cannot drag dialogs around, fe).
One of the things I did manage to try was putting a readln() into 
the standard hello-world-console-app preset. Turns out that it 
causes dlangide to hang up because it's not actually possible to 
have user input (or to configure dlangide to start the project 
separately so a regular console window appears). Killing the 
started process also was not possible since the respective option 
to stop debugging is still grayed out.


From the looks of it, this is very promising though. I like the 
Workspace layout and the general feel of the IDE (very 
responsive, very clean) and it all kind of makes me wish it 
wouldn already have enough features (especially debugging!) to be 
a viable option.


I still haven't written much D code and my time is somewhat 
limited, but if there are simple tasks you need to get done, I 
would be glad to offer help!


Here's to hoping this IDE will keep going and turn out well :-)


Re: Release D 2.069.0

2015-12-08 Thread deadalnix via Digitalmars-d-announce

On Tuesday, 8 December 2015 at 13:14:58 UTC, Márcio Martins wrote:
On Tuesday, 8 December 2015 at 08:39:26 UTC, Jean-Yves 
Vion-Dury wrote:
On Monday, 7 December 2015 at 17:32:05 UTC, Márcio Martins 
wrote:
On Monday, 7 December 2015 at 17:06:48 UTC, Jean-Yves 
Vion-Dury wrote:
On Wednesday, 4 November 2015 at 15:25:04 UTC, Márcio 
Martins wrote:

[...]



FYI, I just installed the 2.069 version, and now I'm unable 
to compile some modules, getting the same "Error: out of 
memory". I isolated a tiny one raising the issue, and its 
all about a moderately complex ctRegex expression (see 
below) that seems to brake the compiler. Other modules also 
raise the problem, but they are bigger in term of code lines.


[...]


Windows?


Yes indeed, Windows... is it a problem (the previous version 
was fine with my environment)?


You will need to add the add the LARGEADDRESSAWARE flag to your 
executable manually. It is supposed to be done automatically, 
but it is not working currently, so you will have to do it 
manually... It indeed stopped working since 2.069.0. 
Unfortunately, it is a royal pain in the anus, because you need 
to download the WDK. To save you some pain, if you have Windows 
10, it's WDK doesn't install property, so you best install WDK 
8.1 which works smooth. Perhaps there are some other tools that 
do it, but I am always reluctant to download these sort of 
stuff from untrusted sources.


That's fucking ridiculous.

I'm sorry, but strong word are warranted on that one. Memory 
consumption have been an issue for a while now. Never freeing and 
assuming everything will be already to win few ms out of a build 
is the most ridiculous choice dmd has done.


Especially on a 32bits build.

Will this problem be taken seriously at some point ?




Re: DlangIDE update

2015-12-08 Thread Chris Wright via Digitalmars-d-announce
Awesome!

Is there any chance of bundling DCD? It would be a lot more convenient if 
I didn't even have to think about getting another completion program and 
running it on my project.


Re: DConf 2016 news: 20% sold out, book signing

2015-12-08 Thread Walter Bright via Digitalmars-d-announce

On 12/8/2015 12:47 AM, wobbles wrote:

On Monday, 7 December 2015 at 20:42:21 UTC, Adam D. Ruppe wrote:

On Monday, 7 December 2015 at 19:37:11 UTC, deadalnix wrote:

Adam won't be coming ?


I haven't decided for sure yet, but probably not. I don't like travel at all
and the thought of a trans-atlantic flight strikes me as the worst.


Sleeping tablets make long flights much more bearable!


What I've found helps a lot:

1. If possible, do a long jog before going to the airport. It makes you ready to 
relax.

2. Load up a tablet with lots of books.
3. Ear plugs. It's surprising how fatiguing the jet noise is.
4. One of those neck pillows can help.
5. Booze :-)


Re: Release D 2.069.0

2015-12-08 Thread Chris Wright via Digitalmars-d-announce
On Tue, 08 Dec 2015 22:07:15 +, deadalnix wrote:

> That's fucking ridiculous.
> 
> I'm sorry, but strong word are warranted on that one. Memory consumption
> have been an issue for a while now. Never freeing and assuming
> everything will be already to win few ms out of a build is the most
> ridiculous choice dmd has done.
> 
> Especially on a 32bits build.
> 
> Will this problem be taken seriously at some point ?

At the time of the C++ to D cutover, DMD did some GC-unsafe things. In 
the interests of expediency, since the compiler isn't a long-running 
process, they chose to disable the GC in the interim.

While at least some of these GC-unsafe behaviors have been excised, there 
is lingering concern that some might remain, so nobody has re-enabled the 
GC. This has been somewhat on the backburner; Windows has typically been 
of secondary concern to D devs, and Linux has 64-bit builds, so address 
space exhaustion hasn't been as problematic there.

Anyway, this is something that's intended to be fixed, and regular 64-bit 
Windows builds are something that should happen. It just requires the dev 
team to have better access to Windows.


Re: Moving forward with work on the D language and foundation

2015-12-08 Thread Tony via Digitalmars-d-announce

On Friday, 28 August 2015 at 20:34:16 UTC, Luís Marques wrote:
On Monday, 24 August 2015 at 18:43:01 UTC, Andrei Alexandrescu 
wrote:
Following an increasing desire to focus on working on the D 
language and foundation, I have recently made the difficult 
decision to part ways with Facebook, my employer of five years 
and nine months.


When I read this post one of the things that crossed my mind 
was how Andrei could afford to do this, but personal economic 
issues tend to be sensitive matters so I didn't presume to ask. 
It seems that someone else asked it (very directly) on reddit, 
and Andrei replied. His answer is basically that he's taking a 
large pay cut to do this:



https://www.reddit.com/r/programming/comments/3ioy9b/andrei_alexandrescu_c_guru_leaves_facebook_to/cuip1pd


Given the implicit donation (the financial opportunity cost) 
that Andrei is making to D, I just wanted to say: thank you.


But wouldn't his Facebook stock alone allow him to live 
comfortably with no job? I think it is a good decision when you 
have reached financial independence to do what you most want to 
do.


Re: Moving forward with work on the D language and foundation

2015-12-08 Thread Tony via Digitalmars-d-announce

On Friday, 28 August 2015 at 13:08:36 UTC, Chris wrote:

On Friday, 28 August 2015 at 12:28:43 UTC, Russel Winder wrote:
On Thu, 2015-08-27 at 16:01 +, BBasile via 
Digitalmars-d-announce wrote:

[…]

That's courageous, particularly past 50 yo. It's a different 
culture, past 50 yo in Europe people choose security, but in 
USA, past 50 yo some people still take the risk to try 
something new. Awesome.


I say "bollocks" to your accusation that Europeans post 50 are 
a bunch of useless idiots.


I call double "bollocks" on the claim that only in the USA do 
people do anything.


I agree (I think it's the first time I agree with you!). Age is 
a state of mind. I've seen people in their 20ies who only think 
about a pension plan and watch TV every evening until they fall 
asleep.


But in general, people slow down mentally as they age. Most US 
companies - and Mark Zuckerberg of Facebook is leading the charge 
with his FWD.us lobby group  - would prefer the government give 
them the capability to hire an unlimited amount of 25 year old 
foreign programmers instead of them having to hire 50 year old 
American programmers.







Re: DlangIDE update

2015-12-08 Thread Vadim Lopatin via Digitalmars-d-announce

On Tuesday, 8 December 2015 at 18:18:29 UTC, default0 wrote:

Sweet! Glad you're back and working on this!
Was wanting to give it a shot, but typing } on my keyboard 
(german layout, right-alt + 0) did not actually insert the 
character into the opened document, so I gave up.
What is a platform? Linux with SDL? How do I reproduce it? Could 
you please submit a bug on github?


Most of the UI stuff looks really neat (especially like the 
directory structure preview when creating a new 
project/workspace), but obviously still needs a lot of work 
(you cannot drag dialogs around, fe).
Dialogs are currently displayed as popup widgets instead of 
separate windows due to issue with OpenGL contexts under Win32 
when multiple windows are being used.


One of the things I did manage to try was putting a readln() 
into the standard hello-world-console-app preset. Turns out 
that it causes dlangide to hang up because it's not actually 
possible to have user input (or to configure dlangide to start 
the project separately so a regular console window appears). 
Killing the started process also was not possible since the 
respective option to stop debugging is still grayed out.
Input hangs because running currently is just invoking of `dub 
run` - with input and output redirected. Output is shown in IDE 
message log, but for input just nothing is sent.
I'm working on debugging, and as well will implement running apps 
w/o debugger with separate console.


From the looks of it, this is very promising though. I like the 
Workspace layout and the general feel of the IDE (very 
responsive, very clean) and it all kind of makes me wish it 
wouldn already have enough features (especially debugging!) to 
be a viable option.

Debugging is high priority task now.

I still haven't written much D code and my time is somewhat 
limited, but if there are simple tasks you need to get done, I 
would be glad to offer help!

It would be great.


Here's to hoping this IDE will keep going and turn out well :-)
I think for programming language, it's big + to have native GUI 
library and IDE written in the same language. Adding Delphi style 
GUI builder could attract newbies.




Re: DlangIDE update

2015-12-08 Thread Vadim Lopatin via Digitalmars-d-announce

On Tuesday, 8 December 2015 at 23:45:47 UTC, Chris Wright wrote:

Awesome!

Is there any chance of bundling DCD? It would be a lot more 
convenient if I didn't even have to think about getting another 
completion program and running it on my project.


For win32, it's bundled with dcd-client and dcd-server binaries 
(although of quite old version).
For mac, I suppose there should not be a problem too to add dcd 
binaries.
But for Linux I'm unsure how to build DCD which is able to work 
on all distributions.




Re: Moving forward with work on the D language and foundation

2015-12-08 Thread Chris Wright via Digitalmars-d-announce
On Wed, 09 Dec 2015 05:40:47 +, Tony wrote:

> On Friday, 28 August 2015 at 13:08:36 UTC, Chris wrote:
>> On Friday, 28 August 2015 at 12:28:43 UTC, Russel Winder wrote:
>>> On Thu, 2015-08-27 at 16:01 +, BBasile via Digitalmars-d-announce
>>> wrote:
 […]
 
 That's courageous, particularly past 50 yo. It's a different culture,
 past 50 yo in Europe people choose security, but in USA, past 50 yo
 some people still take the risk to try something new. Awesome.
>>>
>>> I say "bollocks" to your accusation that Europeans post 50 are a bunch
>>> of useless idiots.
>>>
>>> I call double "bollocks" on the claim that only in the USA do people
>>> do anything.
>>
>> I agree (I think it's the first time I agree with you!). Age is a state
>> of mind. I've seen people in their 20ies who only think about a pension
>> plan and watch TV every evening until they fall asleep.
> 
> But in general, people slow down mentally as they age. Most US companies
> - and Mark Zuckerberg of Facebook is leading the charge with his FWD.us
> lobby group  - would prefer the government give them the capability to
> hire an unlimited amount of 25 year old foreign programmers instead of
> them having to hire 50 year old American programmers.

25-year-old people are more likely to work unpaid overtime. They 
generally get lower salaries. They're less likely to have families, which 
means lower health insurance costs. They're less likely to think about 
retirement, which means companies can advertise 401k matching as a 
competitive benefit without having to pay as much.

The assertion that people slow down mentally as they age is pretty vague. 
While senescence does have mental effects, that wouldn't be hitting 
significantly at the age of 50 unless you have early onset Alzheimer's or 
the like. If there are some other effects impacting productivity, there 
are benefits to an extra 25 years of experience.


Re: Moving forward with work on the D language and foundation

2015-12-08 Thread Tony via Digitalmars-d-announce

On Wednesday, 9 December 2015 at 06:08:01 UTC, Chris Wright wrote:

On Wed, 09 Dec 2015 05:40:47 +, Tony wrote:


On Friday, 28 August 2015 at 13:08:36 UTC, Chris wrote:
On Friday, 28 August 2015 at 12:28:43 UTC, Russel Winder 
wrote:
On Thu, 2015-08-27 at 16:01 +, BBasile via 
Digitalmars-d-announce wrote:

[…]

That's courageous, particularly past 50 yo. It's a 
different culture, past 50 yo in Europe people choose 
security, but in USA, past 50 yo some people still take the 
risk to try something new. Awesome.


I say "bollocks" to your accusation that Europeans post 50 
are a bunch of useless idiots.


I call double "bollocks" on the claim that only in the USA 
do people do anything.


I agree (I think it's the first time I agree with you!). Age 
is a state of mind. I've seen people in their 20ies who only 
think about a pension plan and watch TV every evening until 
they fall asleep.


But in general, people slow down mentally as they age. Most US 
companies - and Mark Zuckerberg of Facebook is leading the 
charge with his FWD.us lobby group  - would prefer the 
government give them the capability to hire an unlimited 
amount of 25 year old foreign programmers instead of them 
having to hire 50 year old American programmers.


25-year-old people are more likely to work unpaid overtime. 
They generally get lower salaries. They're less likely to have 
families, which means lower health insurance costs. They're 
less likely to think about retirement, which means companies 
can advertise 401k matching as a competitive benefit without 
having to pay as much.


Companies have the option to offer 50 year olds the same salary 
they offer 25 year olds, and to not give them 401K plans and 
reduce or eliminate their medical benefits. The government would 
support that just as much as they currently support laying off 50 
year olds to be replaced by 25 year old foreign non-citizen visa 
workers or hiring visa workers in lieu of American workers.


But they choose not to because none of that changes the fact that 
the brains of 50 year olds are not as good as the brains of 25 
year olds, in the same way that the muscles of 50 year olds are 
not as good as the muscles of 25 year olds. The two situations 
are not entirely identical in that acquired knowledge and 
experience can help to level out the brain side more than it does 
on the muscle side. But  the field of programming is one of the 
worst, if not the worst, for having past job experience match 
current job prospects.





The assertion that people slow down mentally as they age is 
pretty vague. While senescence does have mental effects, that 
wouldn't be hitting significantly at the age of 50 unless you 
have early onset Alzheimer's or the like. If there are some 
other effects impacting productivity, there are benefits to an 
extra 25 years of experience.


One thing that comes to mind to refute the contention that 
senescence would be insignificant at the age of 50 is notable 
technical achievement.


If we were to list the mathematical and scientific discoveries of 
the past - like calculus and theory of relativity, etc. - how 
many would have been done by someone at the age of 50 or older? 
How many milestones in computing history were achieved by someone 
50 or older? How many were done by someone over 40? And I think 
most of the aging process isn't even quality (what would most 
impact notable discovery) - it's quantity (that is, slower clock 
cycle). And companies probably have more concerns about quantity 
of thought than quality.













Re: Moving forward with work on the D language and foundation

2015-12-08 Thread Rory McGuire via Digitalmars-d-announce
On Wed, Dec 9, 2015 at 9:12 AM, Tony via Digitalmars-d-announce <
digitalmars-d-announce@puremagic.com> wrote:

> [snip]
> One thing that comes to mind to refute the contention that senescence
> would be insignificant at the age of 50 is notable technical achievement.
>
> If we were to list the mathematical and scientific discoveries of the past
> - like calculus and theory of relativity, etc. - how many would have been
> done by someone at the age of 50 or older? How many milestones in computing
> history were achieved by someone 50 or older? How many were done by someone
> over 40? And I think most of the aging process isn't even quality (what
> would most impact notable discovery) - it's quantity (that is, slower clock
> cycle). And companies probably have more concerns about quantity of thought
> than quality.
>
>
 Lol not sure where you getting all this, but the average 25 year old is a
dumb ass compared to the average 50 year old. However that being said the
average 50 year old is a lot less likely to get excited about their work
and to do something super creative / learning new things. These things are
not based on their brain activity though, it has a lot more to do with
social conditioning and disillusionment. There are a lot less 50 year olds
that are motivated to something disruptive in their fields of experience.
The number of scarily intelligent people aged over 60 is most likely a lot
higher than the number of 25 year olds that are so. Its just the way our
brains work, your brain optimises its thought processes continually, and
experience is where you get that.