Re: Button: A fast, correct, and elegantly simple build system.

2016-06-19 Thread Jason White via Digitalmars-d-announce

On Sunday, 19 June 2016 at 15:47:21 UTC, Dicebot wrote:
Let me propose another idea where maybe we can remove the 
extra dependency for new codebase collaborators but still have 
access to a full-blown build system: Add a sub-command to 
Button that produces a shell script to run the build. For 
example, `button shell -o build.sh`. Then just run 
`./build.sh` to build everything. I vaguely recall either Tup 
or Ninja having something like this.


This actually sounds nice. Main problem that comes to my mind 
is that there is no cross-platform shell script. Even if it is 
list of plain unconditional commands there are always 
differences like normalized path form. Of course, one can 
always generate `build.d` as a shell script, but that would 
only work for D projects and Button is supposed to be a generic 
solution.


I'd make it so it could either produce a Bash or Batch script. 
Possibly also a PowerShell script because error handling in Batch 
is awful. That should cover any platform it might be needed on. 
Normalizing paths shouldn't be a problem either.


This should actually be pretty easy to implement.


Re: D-Man culture

2016-06-19 Thread H. S. Teoh via Digitalmars-d-announce
On Sun, Jun 19, 2016 at 03:01:33PM +, Seb via Digitalmars-d-announce wrote:
> Hi,
> 
> I am not sure how much you have heard about the D-Man, but in Japan
> there is an entire culture based on the D-Man!
> As I learned about this by accident (and even Walter didn't know about
> it), I thought I share this great movement with the DLang community!
[...]

I also made a 3D PovRay model of D-Man some years ago. Here's a sample
render showing four poses:

http://eusebeia.dyndns.org/~hsteoh/tmp/mascot.png

If anyone's interested in playing around with the model, I can put the
PovRay source files up somewhere.


T

-- 
My program has no bugs! Only undocumented features...


Re: D-Man culture

2016-06-19 Thread Max Klyga via Digitalmars-d-announce

On 2016-06-19 23:29:35 +, Adam D. Ruppe said:


We should probably make a D-man video game.


There already are a couple:

http://yomogimaru.tumblr.com/post/145803169293
http://goboriin.sub.jp/DLNGRING/ 



Re: D-Man culture

2016-06-19 Thread Adam D. Ruppe via Digitalmars-d-announce

We should probably make a D-man video game.


Re: D-Man culture

2016-06-19 Thread Bill Baxter via Digitalmars-d-announce
Whew!  I thought this was going to be a scathing critique of some lurking
anti-feministic culture in the D world.
Glad to see it's just about some cute D-shaped characters!

On Sun, Jun 19, 2016 at 10:30 AM, Walter Bright via Digitalmars-d-announce <
digitalmars-d-announce@puremagic.com> wrote:

> I find this amazing and lots of fun!
>


Re: D-Man culture

2016-06-19 Thread Walter Bright via Digitalmars-d-announce

I find this amazing and lots of fun!


Re: Button: A fast, correct, and elegantly simple build system.

2016-06-19 Thread Dicebot via Digitalmars-d-announce

On Saturday, 18 June 2016 at 08:05:18 UTC, Jason White wrote:
I realize you might be playing devil's advocate a bit and I 
appreciate it.



Yeah, I personally quite like how Button looks and would totally 
consider it, probably with some tweaks of own taste. But not for 
most public projects for a reasons mentioned.


Let me propose another idea where maybe we can remove the extra 
dependency for new codebase collaborators but still have access 
to a full-blown build system: Add a sub-command to Button that 
produces a shell script to run the build. For example, `button 
shell -o build.sh`. Then just run `./build.sh` to build 
everything. I vaguely recall either Tup or Ninja having 
something like this.


This actually sounds nice. Main problem that comes to my mind is 
that there is no cross-platform shell script. Even if it is list 
of plain unconditional commands there are always differences like 
normalized path form. Of course, one can always generate 
`build.d` as a shell script, but that would only work for D 
projects and Button is supposed to be a generic solution.




D-Man culture

2016-06-19 Thread Seb via Digitalmars-d-announce

Hi,

I am not sure how much you have heard about the D-Man, but in 
Japan there is an entire culture based on the D-Man!
As I learned about this by accident (and even Walter didn't know 
about it), I thought I share this great movement with the DLang 
community!

Here are some awesome impressions from Twitter:

D-Man vs. Gopher


https://twitter.com/simd_nyan/status/74192428819840


D-Man (3D printed with PolyFlex)


https://twitter.com/simd_nyan/status/623098949046382593

D-Man in "Action"
-

https://twitter.com/stamcd/status/742563964656062464

3D-animated D-Man
-

https://twitter.com/SagafroKichigai/status/680651286006505472
https://twitter.com/SagafroKichigai/status/731668840900263940

DLang comic strips
--

e.g. "Getting into Phobos": 
https://twitter.com/DlangGuy/status/639529181978697728


Where to go from here?
--

The D-Man has already found its way into some of our 
documentation pages:


http://dlang.org/overview.html
http://dlang.org/spec/iasm.html
http://dlang.org/spec/contracts.html

and I argue that it helps to make those pages more unique, vivid 
and memorable!
Imho we should start to embrace the D-Man as our official mascot 
(like the Gopher for Go) and many of the specification pages (and 
the new Dlang Tour pages) would profit from similar drawings.
This is not intended to spark a huge discussion, as I am quite 
aware that some see the D-man as childish and a negative way to 
represent D, but for more "professional" use cases we have the 
awesome, new D icons from Sociomantic.


Get involved


It's proposed to use #DLangMan in the future, s.t. English 
readers can also enjoy the D-Man content. Moreover there are some 
Twitter accounts that are extraordinary D-man evangelists:


https://twitter.com/simd_nyan
https://twitter.com/DlangGuy (DLang comic strips)
https://twitter.com/meiz_sandwich
https://twitter.com/d_man_bot (retweets D-Man content)

As mentioned I don't speak Japanese, so I would be quite 
interested if someone from this movement could explain the 
history or give a better summary.


Re: Button: A fast, correct, and elegantly simple build system.

2016-06-19 Thread Jason White via Digitalmars-d-announce

On Saturday, 18 June 2016 at 23:52:00 UTC, H. S. Teoh wrote:

I did a quick investigation, which found something interesting.
 If compiling straight to executable, the executable is 
identical each time with the same md5sum.  However, when 
compiling to object files, the md5sum is sometimes the same, 
sometimes different.  Repeating this several time reveals that 
the md5sum changes every second, meaning that the difference is 
a timestamp in the object file.


Maybe we could file an enhancement request for this?


Done: https://issues.dlang.org/show_bug.cgi?id=16185