Re: [OT Security PSA] Shellshock: Update your bash, now!

2014-10-06 Thread eles via Digitalmars-d-announce

On Sunday, 5 October 2014 at 21:53:08 UTC, eles wrote:

On Sunday, 5 October 2014 at 21:13:01 UTC, Kagamin wrote:

On Friday, 3 October 2014 at 11:25:59 UTC, eles wrote:



it) and a new-comer on the scene is Tranglu, that I just


*Tanglu

http://www.tanglu.org/en/



Re: DUB 0.9.22 released

2014-10-06 Thread bioinfornatics via Digitalmars-d-announce

Thanks for your works,

One question, what about makefile support ?

Regards


Re: SDC-32bit

2014-10-06 Thread Stefan Koch via Digitalmars-d-announce

Updated fork again.
-m32 and -m64 switches work properly now.
sdc32 uses a the same default outputFile as dmd does.
Soon to come :
- ArrayLiterals
In planning :
- a new backend ;D
- Source-to-Source transformations


Re: [OT Security PSA] Shellshock: Update your bash, now!

2014-10-06 Thread Steven Schveighoffer via Digitalmars-d-announce

On 10/2/14 3:42 AM, Kagamin wrote:

On Thursday, 2 October 2014 at 07:14:35 UTC, Iain Buclaw via
Digitalmars-d-announce wrote:

Doesn't Linux Mint provide an upgrade facility for you?


No idea.


I use Linux Mint, I believe I upgraded once *. I don't think it was 
complex, just an upgrade through the standard UI for updates.


* Note: I have a bad memory when it comes to things like this :)

-Steve



Re: [OT Security PSA] Shellshock: Update your bash, now!

2014-10-06 Thread Kiith-Sa via Digitalmars-d-announce
On Monday, 6 October 2014 at 15:06:04 UTC, Steven Schveighoffer 
wrote:

On 10/2/14 3:42 AM, Kagamin wrote:

On Thursday, 2 October 2014 at 07:14:35 UTC, Iain Buclaw via
Digitalmars-d-announce wrote:

Doesn't Linux Mint provide an upgrade facility for you?


No idea.


I use Linux Mint, I believe I upgraded once *. I don't think it 
was complex, just an upgrade through the standard UI for 
updates.


* Note: I have a bad memory when it comes to things like this :)

-Steve


Mint always supported upgrades between LTS releases. There were 
no upgrades between non-LTS releases, which were basically just 
bit-more-stable betas. That's changed now as posted above, Mint 
14.04 to 15.10 (and possibly longer) will be seamlessly 
upgradable release to release as Mint gradually diverges away 
from its Ubuntu base. 16.04 may be a reset, or they may continue 
to diverge further, or they may move fully to Debian; but they'll 
probably still have an upgrade path as it will be an LTS.


D2 port of Sociomantic CDGC available for early experiments

2014-10-06 Thread Dicebot via Digitalmars-d-announce

https://github.com/D-Programming-Language/druntime/pull/985

Here is initial port result available for early experiments. It 
can be compiled with make -f posix.mak GC_TYPE=concurrent and 
passes the test suite with only shared library tests disabled 
(ef20b7a).


There are still many issues to be aware of:
1) Documentation is largely missing. Working on it, reading 
@leandro-lucarella-sociomantic old posts 
(http://www.llucax.com.ar/blog/blog/tag/understanding%20the%20current%20gc) 
may help in the meanwhile

2) Code style differs from Phobos standards. To be fixed soon.
3) Shared library support is completely missing. Proxy 
infrastructure similar to one in existing gc needs to be added 
and I don't know if actual implementation will work in such 
environments or more changes will be needed.
4) Deadlock issue 
(http://www.dsource.org/projects/tango/ticket/2087) still 
remains. It is not critical to our code because it almost never 
uses threads so no big effort was put into it but this can be 
huge problem for any other project.


In general this is very far from something that can be merged 
upstream straight away and replace default GC on linux. It can be 
interesting for other projects with similar architecture and 
requirements and probably helpful for anyone else working on 
better D GC.


And contributions are welcome via pull requests towards this PR 
base branch 
(https://github.com/mihails-strasuns-sociomantic/druntime-1/tree/sociomantic-cdgc-wip) 
or as e-mail patches (pub...@dicebot.lv)


Re: D2 port of Sociomantic CDGC available for early experiments

2014-10-06 Thread ketmar via Digitalmars-d-announce
On Mon, 06 Oct 2014 16:51:06 +
Dicebot via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote:

 https://github.com/D-Programming-Language/druntime/pull/985
 
 Here is initial port result available for early experiments. It 
 can be compiled with make -f posix.mak GC_TYPE=concurrent and 
 passes the test suite with only shared library tests disabled 
 (ef20b7a).
wow, going to try it NOW! ;-)


signature.asc
Description: PGP signature


Re: [OT Security PSA] Shellshock: Update your bash, now!

2014-10-06 Thread Steven Schveighoffer via Digitalmars-d-announce

On 10/6/14 12:10 PM, Kiith-Sa wrote:

On Monday, 6 October 2014 at 15:06:04 UTC, Steven Schveighoffer wrote:

On 10/2/14 3:42 AM, Kagamin wrote:

On Thursday, 2 October 2014 at 07:14:35 UTC, Iain Buclaw via
Digitalmars-d-announce wrote:

Doesn't Linux Mint provide an upgrade facility for you?


No idea.


I use Linux Mint, I believe I upgraded once *. I don't think it was
complex, just an upgrade through the standard UI for updates.

* Note: I have a bad memory when it comes to things like this :)


Mint always supported upgrades between LTS releases. There were no
upgrades between non-LTS releases, which were basically just
bit-more-stable betas. That's changed now as posted above, Mint 14.04 to
15.10 (and possibly longer) will be seamlessly upgradable release to
release as Mint gradually diverges away from its Ubuntu base. 16.04 may
be a reset, or they may continue to diverge further, or they may move
fully to Debian; but they'll probably still have an upgrade path as it
will be an LTS.


Hm.. I think I had Linux Mint 12, and I upgraded to 13 (not the LTS 
version).


Maybe it wasn't so seamless, as I said I have a bad memory.

-Steve


Re: D2 port of Sociomantic CDGC available for early experiments

2014-10-06 Thread Kiith-Sa via Digitalmars-d-announce

On Monday, 6 October 2014 at 16:51:07 UTC, Dicebot wrote:

https://github.com/D-Programming-Language/druntime/pull/985

Here is initial port result available for early experiments. It 
can be compiled with make -f posix.mak GC_TYPE=concurrent and 
passes the test suite with only shared library tests disabled 
(ef20b7a).


There are still many issues to be aware of:
1) Documentation is largely missing. Working on it, reading 
@leandro-lucarella-sociomantic old posts 
(http://www.llucax.com.ar/blog/blog/tag/understanding%20the%20current%20gc) 
may help in the meanwhile

2) Code style differs from Phobos standards. To be fixed soon.
3) Shared library support is completely missing. Proxy 
infrastructure similar to one in existing gc needs to be added 
and I don't know if actual implementation will work in such 
environments or more changes will be needed.
4) Deadlock issue 
(http://www.dsource.org/projects/tango/ticket/2087) still 
remains. It is not critical to our code because it almost never 
uses threads so no big effort was put into it but this can be 
huge problem for any other project.


In general this is very far from something that can be merged 
upstream straight away and replace default GC on linux. It can 
be interesting for other projects with similar architecture and 
requirements and probably helpful for anyone else working on 
better D GC.


And contributions are welcome via pull requests towards this PR 
base branch 
(https://github.com/mihails-strasuns-sociomantic/druntime-1/tree/sociomantic-cdgc-wip) 
or as e-mail patches (pub...@dicebot.lv)


Can't really test this right now, just want to say that it's 
awesome that someone is working on this and I really hope this 
can (eventually) get merged.


Re: D2 port of Sociomantic CDGC available for early experiments

2014-10-06 Thread Andrei Alexandrescu via Digitalmars-d-announce

On 10/6/14, 9:51 AM, Dicebot wrote:

https://github.com/D-Programming-Language/druntime/pull/985


This is awesome. I recall Don had some solid performance numbers for it 
in his talk, do you have any in the context of D2? -- Andrei


Re: D2 port of Sociomantic CDGC available for early experiments

2014-10-06 Thread Dicebot via Digitalmars-d-announce
On Monday, 6 October 2014 at 17:23:55 UTC, Andrei Alexandrescu 
wrote:

On 10/6/14, 9:51 AM, Dicebot wrote:

https://github.com/D-Programming-Language/druntime/pull/985


This is awesome. I recall Don had some solid performance 
numbers for it in his talk, do you have any in the context of 
D2? -- Andrei


No, I didn't get to running any perf test so far. Did PR as soon 
as test suite passes and commits looked sane. Will do eventually. 
Any specific project you are interested in?


I'd love to see the impact on vibe.d but it is subject to 
threading/malloc issue right now.


Re: D2 port of Sociomantic CDGC available for early experiments

2014-10-06 Thread Andrei Alexandrescu via Digitalmars-d-announce

On 10/6/14, 10:29 AM, Dicebot wrote:

On Monday, 6 October 2014 at 17:23:55 UTC, Andrei Alexandrescu wrote:

On 10/6/14, 9:51 AM, Dicebot wrote:

https://github.com/D-Programming-Language/druntime/pull/985


This is awesome. I recall Don had some solid performance numbers for
it in his talk, do you have any in the context of D2? -- Andrei


No, I didn't get to running any perf test so far. Did PR as soon as test
suite passes and commits looked sane. Will do eventually. Any specific
project you are interested in?

I'd love to see the impact on vibe.d but it is subject to
threading/malloc issue right now.


vibe.d would be great to test. Generally any realistic project would be 
relevant. -- Andrei


Re: DUB 0.9.22 released

2014-10-06 Thread Sönke Ludwig via Digitalmars-d-announce

Am 06.10.2014 13:36, schrieb bioinfornatics:

Thanks for your works,

One question, what about makefile support ?

Regards


It's still in need for a volunteer. The implementation itself should be 
pretty straightforward (by inheriting from the ProjectGenerator class), 
but I currently have too much higher priority stuff on my table to get 
that done (plus generally severely limited time due to an accumulation 
of work and non-work related things).


Re: DUB 0.9.22 released

2014-10-06 Thread Nick Sabalausky via Digitalmars-d-announce

On 10/06/2014 02:15 PM, Sönke Ludwig wrote:

Am 06.10.2014 13:36, schrieb bioinfornatics:

Thanks for your works,

One question, what about makefile support ?

Regards


It's still in need for a volunteer. The implementation itself should be
pretty straightforward (by inheriting from the ProjectGenerator class),
but I currently have too much higher priority stuff on my table to get
that done (plus generally severely limited time due to an accumulation
of work and non-work related things).


I don't suppose there's documentation on the ProjectGenerator class? I 
was (briefly) looking into subclassing that for a compiler cmdline 
args output that I think would be helpful, but based on a (again, 
rather brief) glance at and its subclasses I had some trouble grokking 
how it worked. I'll have to take a look again though.


Re: DUB 0.9.22 released

2014-10-06 Thread bioinfornatics via Digitalmars-d-announce

On Monday, 6 October 2014 at 18:15:08 UTC, Sönke Ludwig wrote:

Am 06.10.2014 13:36, schrieb bioinfornatics:

Thanks for your works,

One question, what about makefile support ?

Regards


It's still in need for a volunteer. The implementation itself 
should be pretty straightforward (by inheriting from the 
ProjectGenerator class), but I currently have too much higher 
priority stuff on my table to get that done (plus generally 
severely limited time due to an accumulation of work and 
non-work related things).


I take a look but without a hacker doc that is not easy. So I
have some question ( do nott blame me )

---
why class who inherit from ProjectGenerator:
- should to get PackageManager as parameter in ctor (1) while
Project(2) struct has a PackageManager. Project struct is send
too in the ctor.

1)
https://github.com/D-Programming-Language/dub/blob/master/source/dub/generators/build.d#L39
2)
https://github.com/D-Programming-Language/dub/blob/master/source/dub/project.d#L39

---
why method:
generateTargets( in GeneratorSettings settings, in
TargetInfo[string] targets)

take an associative array of targets always you use only one
target named m_project.rootPackage.name

---
why you assign project (3) this is  not done when super is called
(4)?
3)
https://github.com/D-Programming-Language/dub/blob/master/source/dub/generators/build.d#L42
4)
https://github.com/D-Programming-Language/dub/blob/master/source/dub/generators/generator.d#L48

thanks