Re: DCompute is now in the master branch of LDC

2017-05-30 Thread Brad Anderson via Digitalmars-d-announce

On Monday, 29 May 2017 at 20:36:26 UTC, Walter Bright wrote:


May I suggest, however, that the name DCompute is a bit 
generic, and provides no hint that it provides GPU programming 
for D.


How about calling it D-GPU ? I bet you'd get a lot more clicks 
on a name like that.


For what it's worth, I see "Compute" used all the time to refer 
to this stuff. OpenCL stands for Open Computing Language and 
you'll see it reference "compute devices" frequently in 
documentation about it. CUDA (originally) stood for Compute 
Unified Device Architecture.


We're all in the business of computation but the hardware 
accelerated processing people seem pretty keen on using "compute" 
to describe what they do. DCompute would fit right in and its 
purpose would be clear to anyone in that particular field, I 
think.


Re: Cppcon tonight at 8:30 in Bellevue

2016-09-22 Thread Brad Anderson via Digitalmars-d-announce
On Thursday, 22 September 2016 at 14:03:04 UTC, Andrei 
Alexandrescu wrote:

On 9/21/16 7:37 PM, Walter Bright wrote:

On 9/21/2016 3:48 PM, Brad Anderson wrote:

http://www.elbeno.com/presentations/using-types-effectively/presentation.html



Sorry I wasn't clear. The free entry is only for the 8:30 talk.


Slides are nice, I hope the talk was good. His notion of total 
functions gets a bit weakened by the existence of the default 
constructor (e.g. if the return type has a default value, you 
can always write a total function that just returns it). In 
order to avoid such degenerate cases, he'd need to add the 
requirement that the function is also injective (maps different 
inputs to different outputs). Then his examples are meaningful 
(and beautiful).


In D, the closest we get to the notion of a total function is a 
nothrow pure function. As far as I know we cannot enforce 
injectivity.



Andrei


Just to be clear, this wasn't slides for the talk Walter was 
attending. I'm not sure if Walter was going to the Lightning 
Talks, the Concepts/Range talk, or the Biggest Security Fails 
talk. This was just a separate one from earlier in the week.


I remember you recommending Types and Programming Languages by 
MIT Press awhile back. Is that still what you'd recommend for 
learning about type theory?


Re: Cppcon tonight at 8:30 in Bellevue

2016-09-21 Thread Brad Anderson via Digitalmars-d-announce
On Wednesday, 21 September 2016 at 22:32:27 UTC, Walter Bright 
wrote:

Wednesday 09/21/2016 8:30pm: Writing Secure C++

CppCon is being hosted at the Meydenbauer Center in Bellevue. 
Directions and parking information can be found here:


http://www.meydenbauer.com/parking-directions/

Additional information on CppCon can be found here: 
http://cppcon.org/


Don't need a ticket to attend this one, all are welcome. I plan 
on being there.


The website[1] says it's quite a bit more than free ($1195 for 
late registration). Great conference though. There are a lot of 
exceptional talks that come out of it. We were just talking about 
the slides[2] for the Using Types Effectively talk this year in 
#D on Freenode. My own programming has been increasingly adopting 
this style over the last year so it's nice to learn some of the 
type theory lingo. For anyone viewing the slides, Variant and 
Nullable are the D equivalents of C++'s variant and optional.


1. http://cppcon.org/registration/
2. 
http://www.elbeno.com/presentations/using-types-effectively/presentation.html


Re: D Article: Memory Safety

2016-01-21 Thread Brad Anderson via Digitalmars-d-announce

On Thursday, 21 January 2016 at 17:42:02 UTC, Jakob Ovrum wrote:
On Thursday, 21 January 2016 at 17:39:11 UTC, Andrei 
Alexandrescu wrote:

Good work, thanks! Has this been reddited yet? -- Andrei


I don't think so. Personally I don't think I have a reddit 
account, but people are more than welcome to post it wherever 
they like :)


Someone has submitted it (about a half hour ago): 
https://www.reddit.com/r/programming/comments/420yhi/memory_safety_in_d/


Re: D Article: Memory Safety

2016-01-21 Thread Brad Anderson via Digitalmars-d-announce

On Thursday, 21 January 2016 at 17:56:19 UTC, Brad Anderson wrote:

On Thursday, 21 January 2016 at 17:42:02 UTC, Jakob Ovrum wrote:
On Thursday, 21 January 2016 at 17:39:11 UTC, Andrei 
Alexandrescu wrote:

Good work, thanks! Has this been reddited yet? -- Andrei


I don't think so. Personally I don't think I have a reddit 
account, but people are more than welcome to post it wherever 
they like :)


Someone has submitted it (about a half hour ago): 
https://www.reddit.com/r/programming/comments/420yhi/memory_safety_in_d/


I've submitted it to Hacker News.


Re: Logo for D

2016-01-18 Thread Brad Anderson via Digitalmars-d-announce
On Monday, 18 January 2016 at 10:28:48 UTC, Guillaume Piolat 
wrote:

On Saturday, 16 January 2016 at 17:55:13 UTC, karabuta wrote:

How do you see it?

http://amazingws.0fees.us/wp-content/uploads/2016/01/dlang2.png

Many variants are on the way.


The current logo is very good and there is value in keeping it. 
Now if it didn't have this extremely 90s-looking borders, it 
would be even better.


I've long wished the D and moons were what was considered the 
logo[1]. The current one has three borders, a drop shadow, and 
gradients up the wazoo. Anything tacked on beyond the iconic 
shape should just be done based on context (like using red or 
white for the logo, a background color, etc.)


http://i.imgur.com/RSBLFDJ.png

Doesn't it look so much better: http://i.imgur.com/QlrbCou.png


Re: MurmurHash3

2015-12-10 Thread Brad Anderson via Digitalmars-d-announce
On Thursday, 10 December 2015 at 22:25:21 UTC, Guillaume Chatelet 
wrote:

Here is an implementation of MurmurHash [1] for D.
http://dpaste.dzfl.pl/1b94ed0aa96e

I'll do a proper pull request later on for addition to 
std.digest if the community feels like it's a valuable addition.


Guillaume

--
1 - https://en.wikipedia.org/wiki/MurmurHash


Seems like it'd be good to have it ready and in place as the 
upcoming containers work starts materializing.


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

2015-12-03 Thread Brad Anderson via Digitalmars-d-announce
On Wednesday, 2 December 2015 at 22:17:20 UTC, Walter Bright 
wrote:

https://www.ssllabs.com/ssltest/analyze.html?d=dlang.org=on

Dlang.org gets an "A" now! Thanks to Jan Knepper's efforts.


Nice work by Jan. I know how big of a hassle things like this can 
be so taking the time to actually do it is much appreciated.


On a related note, Let's Encrypt hit public beta today[1]. With 
that I think we should be able to get all of the official 
infrastructure on TLS now. It's unfortunate it didn't come a bit 
sooner because now the NSA knows I read the entire DUB JSON 
thread, much to my shame.


1. https://letsencrypt.org/2015/12/03/entering-public-beta.html


Re: The D Language Foundation has $5000 to its name

2015-11-22 Thread Brad Anderson via Digitalmars-d-announce

On Monday, 23 November 2015 at 04:37:18 UTC, Dicebot wrote:
And how about GPG signing of releases which comes free and 
actually helps? :P


On linux, sure. That'd be a good idea. That doesn't help with the 
usage problems on the other platforms though and GPG is kind of 
useless without the website certificate to serve the files and 
public keys.


Re: The D Language Foundation has $5000 to its name

2015-11-22 Thread Brad Anderson via Digitalmars-d-announce
On Thursday, 19 November 2015 at 12:31:01 UTC, Andrei 
Alexandrescu wrote:

On 11/17/2015 04:01 PM, cym13 wrote:
On Tuesday, 17 November 2015 at 20:54:34 UTC, Andrei 
Alexandrescu wrote:
Quite timely after the announcement of that $600K donation 
for the
Julia language, I'm happy to announce that the D Language 
Foundation
has a bank account seeded with $5000 - as I promised, it's a 
round-up

of my last royalty check.

The D Language Foundation doesn't yet have non-profit status, 
so we
can't accept donations in that account; that'll take a few 
more

months. I'll keep everybody posted.


Andrei


What do you plan to do concretely with that money? Advertise? 
Support

projects?


DConf is our largest annual spender. Also we plan a few small 
monthly expenses. I'll keep everyone posted. -- Andrei


I have a recommendation for fairly small expense which would be a 
perfect job for the newly formed Foundation. Get some 
certificates for D. Walter was interested in the past with 
getting one for Digital Mars to use but I think the idea got lost 
somewhere along the way. There are three different certificates 
that would be good to have:


1. SSL certificate for dlang.org (optionally getting an EV 
certificate would be a good way to advertise the Foundation in 
the address bar).
2. Code signing certificate for Windows from a Certificate 
Authority.

3. OS X code signing certificate from Apple.

The first two can be done pretty inexpensively through StartSSL 
(there are plenty of other options though).


Apple isn't as important because I don't believe it does the 
Untrusted Developer warning for opening .dmg files nor does it do 
it for running command line applications. It's good for tamper 
security though. To register with Apple you'll need a DUNS number 
for the Foundation which you can create through Dun & Bradshaw 
(not sure if it's free).


Code signing the installers and executables means the Windows 
SmartScreen protection systems won't kick in and give big, scary 
warnings with non-obvious workarounds about the D downloads. It 
also means the Admin Privilege request dialog would display the 
Foundation's name which looks way more professional and 
trustworthy than an unsigned executable. I think doing this 
eventually is important if you want D to look professional and 
ready for primetime.


Re: Fastest JSON parser in the world is a D project

2015-10-17 Thread Brad Anderson via Digitalmars-d-announce

On Saturday, 17 October 2015 at 09:35:47 UTC, Sönke Ludwig wrote:

Am 17.10.2015 um 13:16 schrieb Marco Leise:

Am Sat, 17 Oct 2015 09:27:46 +0200
schrieb Sönke Ludwig :
Okay, I obviously misread that as a once familiar issue. 
Maybe it indeed
makes sense to add a "JavaScript" quirks mode that behaves 
exactly like

a JavaScript interpreter would.


Ok, but remember: https://www.youtube.com/watch?v=20BySC_6HyY
And then think again. :D



What about just naming it SerializationMode.WAT?


At the very least that needs to be an undocumented alias easter 
egg. :)


Re: Last - but not least! - two DConf talks

2015-07-14 Thread Brad Anderson via Digitalmars-d-announce

On Monday, 13 July 2015 at 07:12:48 UTC, Atila Neves wrote:
On Friday, 10 July 2015 at 18:33:04 UTC, Andrei Alexandrescu 
wrote:

Spread the word!

https://www.youtube.com/watch?v=bxSPCmwqgYs
https://www.youtube.com/watch?v=jNQF3m5e2l0

Andrei


https://www.reddit.com/r/programming/comments/3d3ooa/behaviourdriven_development_with_d_and_cucumber/

Also on HN, but as usual can't post the link.

Atila


Very cool techniques you've done there. I think you may have 
convinced me that Cucumber might be worth trying out. It does 
seem like you have to spend a lot of effort doing the plumbing to 
get it working (all the regexes) so I'm not completely sold but 
you've made it sound compelling enough to give it a whirl.


Re: More Dconf 2015 videos

2015-06-27 Thread Brad Anderson via Digitalmars-d-announce
On Saturday, 27 June 2015 at 13:59:11 UTC, Andrei Alexandrescu 
wrote:

On 6/27/15 6:37 AM, Andy Smith wrote:


There have been a few responses agreeing with me. Chucks talk 
was
awesome but the current edit doesn't do it justice. Is there 
any way

this can be fed back to UVU/Chuck etc.?


Did so. -- Andrei


While we are sending them feedback could they include the talk 
titles in the YouTube titles to make them easier to find.


The editing overall has been great. I've been pleasantly 
surprised. I was kind of expecting a fixed camera thrown up by an 
undergrad for some extra credit. It's really great that the 
change in venue hasn't resulted in a drop in video quality.


Re: More Dconf 2015 videos

2015-06-26 Thread Brad Anderson via Digitalmars-d-announce

On Friday, 26 June 2015 at 20:32:56 UTC, Walter Bright wrote:
Monday morning is probably a better time, due to Reddit usage 
patterns. Weekends tend to not get nearly so much traffic.


Also, I completely spaced that I'll be on the road all day and 
not back until Tuesday. It'll have to be someone else.


Re: Walter, Brian, and Daniel's DConf 2015 talks are up

2015-06-22 Thread Brad Anderson via Digitalmars-d-announce

On Friday, 19 June 2015 at 22:47:03 UTC, Brad Anderson wrote:

Walter: https://www.youtube.com/watch?v=znjesAXEEqw
Brian: https://www.youtube.com/watch?v=FmFyB9e7edw
Daniel: https://www.youtube.com/watch?v=5daHGXSetXk

I've only just started watching but the editing seems to be 
well done so thanks to UVU for that.


Couldn't Walter's idea for adding more language support for 
ranges just be done already with operator overloading?


Walter, Brian, and Daniel's DConf 2015 talks are up

2015-06-19 Thread Brad Anderson via Digitalmars-d-announce

Walter: https://www.youtube.com/watch?v=znjesAXEEqw
Brian: https://www.youtube.com/watch?v=FmFyB9e7edw
Daniel: https://www.youtube.com/watch?v=5daHGXSetXk

I've only just started watching but the editing seems to be well 
done so thanks to UVU for that.


Re: Monday is last day for DConf 2015 registrations

2015-05-19 Thread Brad Anderson via Digitalmars-d-announce
On Monday, 18 May 2015 at 19:59:08 UTC, Steven Schveighoffer 
wrote:

[snip]

I just booked a car, but could cancel it. Anyone from the area 
know
whether it's worth having a car there or should I just book a 
shuttle

to/from the airport?


The Salt Lake and Utah county areas are a bit of a sprawl but our 
public transit is one of the better in the United States.


Went the shuttle route. If anyone interested, it's $68 round 
trip ($34 each way) to Orem via 
http://www.expressshuttleutah.com/


Roundtrip lightrail/train (TRAX/Frontrunner) from the airport to 
Orem's Hampton Inn is $11, I believe.


http://www.rideuta.com/mc/?page=TripPlanner


Re: Found on Reddit: It's time for D to own up

2015-04-21 Thread Brad Anderson via Digitalmars-d-announce

On Tuesday, 21 April 2015 at 22:41:38 UTC, Bill Baxter wrote:
Anyone mentioned Automatic Reference Counting yet? Works pretty 
well for

ObjC from what I've seen.


Here on the forums? Quite a bit. The designer of ObjC's ARC even 
stopped in to clarify a few points about how it works in ObjC.


Re: Release D 2.067.0

2015-03-25 Thread Brad Anderson via Digitalmars-d-announce

On Tuesday, 24 March 2015 at 18:18:44 UTC, Martin Nowak wrote:

[snip]

What I'm regretting more, is that I have to run after every 
contributor,

bugging them 3 times to write a single changelog line.

One way to improve this would be to have changelogs in the
dmd/druntime/phobos repo and make the entries part of the pull 
requests.


That's a good idea. Maybe use separate files for each changelog 
entry (which are then combined into into the actual changelog by 
the dlang.org makefile). Then there wouldn't be merge conflicts 
with basically every pull request.


Something like:

changelog/v[upcoming dmd version]-[bugzilla issue number]-[github 
username].log


(e.g., changelog/v2.068.0-314-9rnsr.log)


Re: Release D 2.067.0

2015-03-25 Thread Brad Anderson via Digitalmars-d-announce

On Thursday, 26 March 2015 at 01:44:44 UTC, Brad Anderson wrote:
That's a good idea. Maybe use separate files for each changelog 
entry (which are then combined into into the actual changelog 
by the dlang.org makefile). Then there wouldn't be merge 
conflicts with basically every pull request.

[snip]


Just noticed you mention merge=union. That's a neat feature. I'd 
never seen it before.


Re: serve - A simple HTTP server for static files

2015-03-22 Thread Brad Anderson via Digitalmars-d-announce

On Sunday, 22 March 2015 at 10:33:38 UTC, Martin Nowak wrote:

On Sunday, 22 March 2015 at 07:11:05 UTC, Suliman wrote:

Could you explain why pure vibed do not good for static files?


It's mainly a replacement for `python -m SimpleHTTPServer`, and 
is just a very small tool around vibe.d's serveStaticFiles, 
which does a good job at serving static files and works much 
more reliable than the python variant.

https://github.com/MartinNowak/serve/blob/master/source/app.d

I also added index file serving to vibe.d recently.
https://github.com/rejectedsoftware/vibe.d/pull/902


Nice to have this. It always felt dirty using SimpleHTTPServer to 
test dlang.org locally.


Re: dfmt 0.1.0

2015-02-20 Thread Brad Anderson via Digitalmars-d-announce

On Friday, 20 February 2015 at 02:21:01 UTC, Brian Schott wrote:

dfmt is a D source code formatting tool.

https://github.com/Hackerpilot/dfmt/
https://github.com/Hackerpilot/dfmt/releases/tag/v0.1.0


Great!

I've been using clang-format lately for my C++ code and it's 
really blown me away how good it is. It's not opinionated about 
how things should be, it just does whatever style you've set it 
to. The Visual Studio plugin they have just gives me a keyboard 
shortcut and when I hit it, it formats the current line or 
selection.


I waste almost no time formatting code now. I just type and hit 
the format key and move on. If it formatted something differently 
than how I would have done it I just let it be because how it 
formatted is usually almost as good anyway. I feel like it's been 
as big of boon to my coding speed as learning vim was.


From what I understand they implemented a LaTeX style weighted 
line breaker which would explain why it works so much better than 
a typical code formatter. It's very smart about how it does line 
breaks. This seems to make all the difference.


This is all to say I hope dfmt becomes as awesome as clang-format 
is at some point. Hopefully I can find some time to contribute.


Re: DConf 2015 Call for Submissions is now open

2015-01-12 Thread Brad Anderson via Digitalmars-d-announce

On Tuesday, 13 January 2015 at 00:22:33 UTC, Mike wrote:
I have a suggestion for any compiler implementers:  How about a 
talk on how to get started hacking the compiler.  Something 
that may lower the entry barrier and encourage participation.


Some random thoughts:
* General structure of the compiler
* Walk through the data flow: Lexer - parser - AST - backend
* How to add a new compiler switch (e.g. -fnotypeinfo)
* How to add a new attribute (e.g. @notypeinfo)
* What's your workflow for debugging the compiler?
* Pick a bug, and fix it (Live demo)
* Overview of CTFE and how it's implemented
* (I'm sure you can think of more)

I realize there's documentation on the wiki, and some of this 
was discussed briefly at DConf2013, but there's more that can 
be done to make it accessible and interesting.


Mike


Sounds like a good subject for Daniel Murphy to talk about. He 
spent a good hour explaining to me how a linker works in the 
Aloft bar after most people had retired (thanks for that, Daniel) 
and he certainly knows dmd extremely well.


I saw this talk from PyCon awhile back and it made me immediately 
wish there were something like it for dmd: 
http://www.youtube.com/watch?v=XGF3Qu4dUqk


Hastings just steps through the python interpreter attached to
gdb (not live) and explains the structure of CPython as he goes.
It's extremely informative for would-be CPython hackers.

Do we know if the DConf 2015 talks will be recorded?


Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread Brad Anderson via Digitalmars-d-announce
On Wednesday, 3 December 2014 at 09:00:25 UTC, Vladimir Panteleev 
wrote:
On Wednesday, 3 December 2014 at 07:46:42 UTC, Brad Anderson 
wrote:

I could add links to DPaste and the #d IRC channel.


Both good ideas.


Done. You can see this here:

http://forum.dlang.org/reply/qpfcqedcbkipjllnk...@forum.dlang.org

(just click Send)

If it's that low than I'm not worried about it anymore. The 
captcha was just very familiar to me before you fixed the IP 
address problem.


It was caused by a bug, not some heuristic false positive... 
I'd have fixed it if I knew about it.


I mentioned it a few times in IRC but you were probably asleep. 
Should have used .note.


Re: forum.dlang.org is now using DCaptcha

2014-12-02 Thread Brad Anderson via Digitalmars-d-announce
On Tuesday, 2 December 2014 at 21:56:31 UTC, Vladimir Panteleev 
wrote:

[snip]

I hope so too! The CAPTCHA only triggers on a spam check fail, 
which should not occur for normal forum content.


I get the captcha every single time I post at home. I suspect 
it's because I'm on IPv6. Everything else about home and work is 
almost identical (same browser versions, same extensions, same 
ISP, same OS, almost the same hardware).



It frequently takes me a few attempts on these and I've been 
following the language for years (mostly because of simple 
mistake in my math or something like forgetting iota has an open 
right boundary).


Maybe make the ones on d.learn extremely simple.

---
What does the follow program print?

void main()
{
import std.stdio : writeln;
writeln(foo);
}
---

No algorithms, no math. Just extremely basic stuff. Nobody, not 
even our weirdly efficient resident furniture spam bot is going 
to take the time to write a bot to answer a question like that.


Re: dsource.org moved

2014-12-02 Thread Brad Anderson via Digitalmars-d-announce

On Tuesday, 2 December 2014 at 23:02:32 UTC, Kiith-Sa wrote:

[snip]

My blog is not there, but it's not pure D blog:

defenestrate.eu
defenestrate.eu/rss.html


If you can add an rss feed for specific categories he could just 
add that. I know he's done that for some of the planet D blogs.


I'd like to see yours included. It's good reading.


Re: forum.dlang.org is now using DCaptcha

2014-12-02 Thread Brad Anderson via Digitalmars-d-announce
On Wednesday, 3 December 2014 at 06:44:17 UTC, Vladimir Panteleev 
wrote:

[snip]
As I said, it's not about bots any more. The wiki got flooded 
after one person solved the D-specific question, after which 
the old CAPTCHA became useless.


Ah yeah, that's right. I forgot that was your goal. I'm still 
worried it'll turn people away though.


Re: forum.dlang.org is now using DCaptcha

2014-12-02 Thread Brad Anderson via Digitalmars-d-announce
On Wednesday, 3 December 2014 at 06:52:23 UTC, Vladimir Panteleev 
wrote:

On Wednesday, 3 December 2014 at 01:48:57 UTC, krzaq wrote:

[snip
As for math/algorithms, this one feels too advanced:

return iota(9).reduce!a+b;


I think it's a pretty good (albeit slightly advanced) question. 9 
is a bit high though. iota(4) would probably suffice.



I could add links to DPaste and the #d IRC channel.


Both good ideas.


tl;dr: waaay too difficult


Well, pull requests are welcome. However, I should add that the 
rate of false positives for spam detection is extremely low. 
Yesterday, four valid posting attempts were challenged with a 
CAPTCHA, and all were caused by StopForumSpam not understanding 
the IP address, which has now been fixed.


If it's that low than I'm not worried about it anymore. The 
captcha was just very familiar to me before you fixed the IP 
address problem.


Re: undeaD - zombie phobos modules back from the grave

2014-12-01 Thread Brad Anderson via Digitalmars-d-announce

On Monday, 1 December 2014 at 04:07:06 UTC, Walter Bright wrote:

http://code.dlang.org/packages/undead

https://github.com/DigitalMars/undeaD

[snip]


This was a great idea.


Re: d-apt source changed!

2014-12-01 Thread Brad Anderson via Digitalmars-d-announce
On Sunday, 30 November 2014 at 02:20:04 UTC, Jordi Sayol via 
Digitalmars-d-announce wrote:
d-apt http://d-apt.sourceforge.net/ changed the distribution 
name from dmd to d-apt.


Download the last d-apt.list to update:
$ sudo wget 
http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list 
-O /etc/apt/sources.list.d/d-apt.list


The new distribution allows to install any deb package version 
available at d-apt.
i.e. dmd-bin deb package is available for versions 2.064.2, 
2.065.0 and 2.066.1

To install an old dmd version:
$ sudo apt-get install dmd-bin=2.064.2-0 
libphobos2-dev=2.064.2-0


Legacy distribution will be disabled on dmd v2.067.0 release.


That'll probably be handy at some point. Thanks for doing d-apt. 
I find it very useful.


Re: DMD and dub available via chocolatey

2014-11-01 Thread Brad Anderson via Digitalmars-d-announce

On Sunday, 2 November 2014 at 01:52:27 UTC, Daniel Jost wrote:
From the homepage[1]: Chocolatey is a Machine Package Manager, 
somewhat like apt-get, but built with Windows in mind.


I have added dmd[2] and dub[3] as packages. This means you can 
do command line installation and have them ready to go in one 
step. I also made sure to allow users to change the version 
number so you can get non-current / beta versions as well.


If anyone would like to be added to the maintainers list 
(mostly to keep the version number up-to-date), email me and I 
can add you.


1. https://chocolatey.org/
2. https://chocolatey.org/packages/dmd
3. https://chocolatey.org/packages/dub


Nice work. It's an even bigger deal too because Microsoft is 
adding a package manager[1] based on OneGet[1] and using the 
Chocolatey package format.


1. 
http://www.extremetech.com/computing/192950-windows-10-will-come-with-a-command-line-package-manager-much-to-the-lament-of-linux-users

2. https://github.com/OneGet/oneget


Re: Despiker 0.1: a GUI real-time profiler for game development

2014-10-11 Thread Brad Anderson via Digitalmars-d-announce

On Friday, 10 October 2014 at 23:55:03 UTC, Kiith-Sa wrote:

--
Announcing Despiker, a GUI real time profiler for game 
development

--


Very cool. Tharsis looks very interesting too. Also, it appears 
you have a great blog about this and other stuff I'm surprised 
I've never seen before.


Re: D 2.066 is out. Enjoy!

2014-08-20 Thread Brad Anderson via Digitalmars-d-announce
On Wednesday, 20 August 2014 at 09:15:54 UTC, disapointed user 
wrote:

thank you general for your selfish and user considered release.
the lieutenants probably feel kind of really taken care of - as 
well as D users.

how do you test and release at facebook.
i am a user that considers to leave after many years. i am 
starting to dislike the language, as it is getting blown up and 
the the syntax getting ever weirder, less mainstream and a 
support for windows that really sucks.


good luck in the future for all you guys



Anything specific you have problems with? Syntax changes aren't 
all that common these days (*dodges rock thrown by Brian Schott*) 
and Windows support is pretty solid. What I consider to be the 
last remaining large piece, 32-bit COFF support, was just merged.


Re: D 2.066 is out. Enjoy!

2014-08-19 Thread Brad Anderson via Digitalmars-d-announce

On Tuesday, 19 August 2014 at 11:12:25 UTC, Andrew Edwards wrote:

[...]
In essence, it was always this big, just you never saw it 
because it got downloaded during the installation process.


It was also significantly bigger before because the download it
did was the 30MB dmd zip that contained files for all platform,
not just Windows. The installer is LZMA compressed too so it's
even smaller than the dmd windows-only zip (16MB).

Because of this, download size is now 1/3rd what it was and
installation size dropped from 176 MB to just 71 MB.


Re: Dutyl - a Vim plugin for running D tools

2014-08-15 Thread Brad Anderson via Digitalmars-d-announce

On Thursday, 14 August 2014 at 22:20:52 UTC, Idan Arye wrote:

GitHub repo: https://github.com/idanarye/vim-dutyl
vim.org page: 
http://www.vim.org/scripts/script.php?script_id=5003


The main problem with my Vim plugin for DCD(placed inside the 
DCD repo) is the need to set the import paths manually. It was 
a manual task that the user had to do: DCD doesn't know the 
import path the current project is using. Vim doesn't know 
either.


Luckily - DUB knows. So instead of separate Vim plugins for 
different tools, each operating it's own tool alone, I wanted 
to create one plugin that'll operate both DUB and DCD - one 
that can get the list of import modules from DUB and send it to 
DCD. That's how Dutyl was born.


Currently, Dutyl's only features are using DCD for 
autocompletion and for DDocs, but it has a module system that 
allows it to add other tools, either to get more functionality 
or to get backup for features that some tools can't support for 
specific projects. Like dependency injection but with a real 
usecase: for projects that don't use DUB, Dutyl can back up to 
a manually written list of import paths saved in a hidden file 
in the project's dir.


I'm open for suggestions for other tools and features to add to 
Dutyl(write them here, or preferably open GitHub issues with 
them)


Nice, I was planning on doing something just like this someday.


Re: DMD v2.066.0-rc2

2014-08-11 Thread Brad Anderson via Digitalmars-d-announce

On Monday, 11 August 2014 at 15:51:16 UTC, dnewbie wrote:

On Friday, 8 August 2014 at 12:01:43 UTC, Andrew Edwards wrote:

DMD v2.066.0-rc2 binaries are available for testing:

   http://wiki.dlang.org/Beta_Testing


curl.lib not found in
dmd.2.066.0-rc2.windows.zip\dmd2\windows\lib


Should be fixed by 
https://github.com/D-Programming-Language/installer/pull/108


I accidentally left it out so Andrew had to quickly fix it but he 
did it shortly after he rolled some of the release. You'll note 
he regenerated the installer to include it but the zip must have 
not had a fixed version uploaded.


Re: DMD v2.066.0-rc2

2014-08-11 Thread Brad Anderson via Digitalmars-d-announce

On Monday, 11 August 2014 at 19:02:18 UTC, Brad Anderson wrote:

On Monday, 11 August 2014 at 15:51:16 UTC, dnewbie wrote:

On Friday, 8 August 2014 at 12:01:43 UTC, Andrew Edwards wrote:

DMD v2.066.0-rc2 binaries are available for testing:

  http://wiki.dlang.org/Beta_Testing


curl.lib not found in
dmd.2.066.0-rc2.windows.zip\dmd2\windows\lib


Should be fixed by 
https://github.com/D-Programming-Language/installer/pull/108


I accidentally left it out so Andrew had to quickly fix it but 
he did it shortly after he rolled some of the release. You'll 
note he regenerated the installer to include it but the zip 
must have not had a fixed version uploaded.


The dmd.2.066-rc2.windows.zip I just downloaded has 
dmd2/windows/lib/curl.lib


Re: DMD v2.066.0-rc1

2014-08-09 Thread Brad Anderson via Digitalmars-d-announce

On Saturday, 9 August 2014 at 15:35:08 UTC, Maxim Fomin wrote:

On Thursday, 31 July 2014 at 12:51:53 UTC, Andrew Edwards wrote:

DMD v2.066.0-rc1 binaries are available for testing:

   http://wiki.dlang.org/Beta_Testing


What about changelog?

http://dlang.org/changelog.html

In past it was pretty nicely made, but now it lists only 2 
changes (unlike 2.065 and 2.064 comprehensive changelogs and 
judging by how much time passed since 2.065 it should be 
lengthy too).


Kenji has an open pull request to flesh it out a bit more.

https://github.com/D-Programming-Language/dlang.org/pull/616

Still not nearly as good as when Andrej had time to do it.


Re: DMD v2.066.0-rc1

2014-08-06 Thread Brad Anderson via Digitalmars-d-announce

On Wednesday, 6 August 2014 at 05:20:27 UTC, Walter Bright wrote:

On 8/3/2014 8:51 PM, Manu via Digitalmars-d-announce wrote:

This windiows installer went wrong on me.
First, it tried to uninstall, it offered to uninstall from 
'C:\D'. My DMD
install is 'C:\dev\D'... The path was presented in a greyed 
out textbox that I
couldn't type in to correct it, and no button to select the 
true install location.

The uninstall step failed.

Then when reinstalling I was given the option where to 
install, I chose
'C:\dev\D' and it installed over the top of my existing 
install, and wiped my
sc.ini file. So I need to configure the DirectX SDK paths 
again.


Please file these on bugzilla as 2 bug reports.

https://issues.dlang.org/enter_bug.cgi



Side note:
I still think the installer really should detect the DXSDK; 
it's a Microsoft
library, and virtually any multimedia software developed with 
VS2010 or prior

will depend on it (It's merged into the WinSDK since DX2012).

The DXSDK install paths are:
Include: C:\Program Files (x86)\Microsoft DirectX SDK (June 
2010)\Include
Lib: C:\Program Files (x86)\Microsoft DirectX SDK (June 
2010)\Lib\x64


The (June 2010) part is a safe assumption, it's the last 
released one, and it
will remain so since it's now bundled with the WinSDK for more 
recent visual
studio releases. It's the only one available on the Microsoft 
website.
As I see it, if we profess to support VS2010 and prior, then 
we should detect
the DXSDK paths in the installer, otherwise software that 
builds fine in VS2012+
won't work with VS2010 without user intervention, and that 
will almost certainly

lead to posts on this forum.


One of the reasons I delayed so long in supporting VS is 
because Microsoft changes things around with every release, 
making trying to support whatever version the customer has is a 
constant configuration/testing nightmare, consuming a great 
deal of time and effort with little payback.


With dmc, this is not a problem.

As an aside, one thing I find difficult to understand is why 
experienced C++ developers find it so hard to set an 
environment variable (or one in the sc.ini) pointing to where 
the right .h files are and the right .lib files are.


I don't think it's difficult for them, I think they often just 
don't know they can. Environment variables just aren't as well 
known on Windows these days. If you are an 18 year old getting 
into programming you likely have never even heard of environment 
variables or batch files and may not even know how to use the 
command prompt (or open it for that matter). Windows Vista came 
out when they were 10 years old and the days of having to know 
and use the command prompt for typical users were long gone by 
this point. I'm thirty so I knew and used MS-DOS as a kid (I had 
to) but if you've never used these things how would you know you 
could?


Even if you are an experienced programmer having used Visual 
Studio or some other IDE for years you'd likely not have had to 
adjust environment variables to get anything to work.


Manu knows these things, of course, but his it-should-just-work 
complaints probably go a long way to helping people who don't 
know these things.



Heck, I just cribbed them from where Microsoft set them in its 
own command prompt shortcut Visual Studio x64 Win64 Command 
Prompt (2010). For example, clicking on the shortcut and 
typing set gives:


[...]


I added the same style of command prompt for DMD to the installer 
a couple years ago. One for 64-bit and one for 32-bit.


Re: DMD v2.066.0-b6

2014-07-27 Thread Brad Anderson via Digitalmars-d-announce

On Sunday, 27 July 2014 at 12:22:59 UTC, Andrew Edwards wrote:

DMD v2.066.0-b6 binaries are available for testing:

http://wiki.dlang.org/Beta_Testing

Note that Linux installers are not yet available due to 
https://issues.dlang.org/show_bug.cgi?id=13210.


The Windows installer is putting the files an extra folder deep
(i.e. C:\D\dmd.v2.066.0-b6.windows instead of C:\D).

https://github.com/D-Programming-Language/installer/pull/103
should fix it.


Re: D Hackday this Friday

2014-06-06 Thread Brad Anderson via Digitalmars-d-announce
On Monday, 2 June 2014 at 17:41:10 UTC, Jonathan Crapuchettes 
wrote:
After Andrei's call for reducing pull requests and current 
issues
associated with D, the data department at EMSI is doing a Fix 
D Issues
Day this Friday and we would like to invite the D community to 
join us.


Let's get those bugs below the 2000 mark!

---
Jonathan Crapuchettes, Justin Whear, Brian Schott


So is the plan to just comb over the issue tracker and fix easy 
issues and close resolved or invalid issues?


Re: D Hackday this Friday

2014-06-06 Thread Brad Anderson via Digitalmars-d-announce

On Friday, 6 June 2014 at 16:29:13 UTC, Brad Anderson wrote:
On Monday, 2 June 2014 at 17:41:10 UTC, Jonathan Crapuchettes 
wrote:
After Andrei's call for reducing pull requests and current 
issues
associated with D, the data department at EMSI is doing a Fix 
D Issues
Day this Friday and we would like to invite the D community 
to join us.


Let's get those bugs below the 2000 mark!

---
Jonathan Crapuchettes, Justin Whear, Brian Schott


So is the plan to just comb over the issue tracker and fix easy 
issues and close resolved or invalid issues?


I somehow mixed up comb through and pore over into a Trumpian 
conflation.


Re: Video of my LDC talk @ FOSDEM'14

2014-05-26 Thread Brad Anderson via Digitalmars-d-announce

On Monday, 26 May 2014 at 20:35:50 UTC, Andrzej Dwojczynski wrote:

On Monday, 26 May 2014 at 16:28:08 UTC, bearophile wrote:

Sigh, Windows can't open that file type.


Install this:
http://www.videolan.org/vlc/index.html


I am on a tablet. What do I install?

A


Android?
https://play.google.com/store/apps/details?id=org.videolan.vlc.betav7neon


Re: Video of my LDC talk @ FOSDEM'14

2014-05-26 Thread Brad Anderson via Digitalmars-d-announce

On Tuesday, 27 May 2014 at 00:30:48 UTC, Walter Bright wrote:


It won't play on my Apple iPod nor on my Windows 8 laptop. It 
does work in my Samsung tablet.


Chrome on your Samsung tablet should play it fine. There is also
VLC for Android:
https://play.google.com/store/apps/details?id=org.videolan.vlc.betav7neon

I agree the more reach the better but those are some immediate
solutions for you personally.