Re: D-lighted, I'm Sure

2019-01-19 Thread Paul Backus via Digitalmars-d-announce

On Saturday, 19 January 2019 at 22:07:47 UTC, Ron Tarrant wrote:

On Friday, 18 January 2019 at 18:59:59 UTC, JN wrote:

Just add a line in your dub.json file and you have the 
library. Need to upgrade to newer version? Just change the 
version in dub.json file. Need to download the problem from 
scratch? No problem, dub can use the json file to download all 
the dependencies in proper versions.


Any idea where we can find a gentle intro to dub?


It looks like the best one is the "Getting Started" page on 
code.dlang.org:


https://dub.pm/getting_started


Re: D-lighted, I'm Sure

2019-01-19 Thread Ron Tarrant via Digitalmars-d-announce

On Friday, 18 January 2019 at 20:30:25 UTC, Jacob Carlborg wrote:


Regarding Dub.

[stuff deleted]

[1] https://github.com/ldc-developers/ldc
[2] https://dlang.org/spec/expression.html#import_expressions
[3] https://travis-ci.com/
[4] https://blog.travis-ci.com/2018-10-11-windows-early-release
[5] https://www.appveyor.com
[6] 
https://github.com/jacob-carlborg/docker-ldc-darwin/blob/master/Dockerfile
[7] 
https://github.com/jacob-carlborg/docker-ldc-windows/blob/master/Dockerfile


Wow. That's a lot to think about. Thanks, Jacob. Looks like I've 
got my weekend reading all lined up. :)


Re: D-lighted, I'm Sure

2019-01-19 Thread Ron Tarrant via Digitalmars-d-announce
On Saturday, 19 January 2019 at 20:12:04 UTC, Jon Degenhardt 
wrote:



Nicely done. Very enjoyable, thanks for publishing this!

Thanks, Jon. Glad you enjoyed it.




Re: D-lighted, I'm Sure

2019-01-19 Thread Ron Tarrant via Digitalmars-d-announce

On Friday, 18 January 2019 at 18:48:00 UTC, H. S. Teoh wrote:


Very nice indeed!  Welcome aboard, Ron!


Thanks, H.S.

I used to remember most of the opcodes by heart... though 
nowadays that memory has mostly faded away.
I used to write 6502 in my head while riding my bike to school, 
then write it out, do up a poke statement to jam it into RAM, and 
most of the time it worked first try. I was so impressed with 
myself.


I won't bore you with my boring editor, vim (with no syntax 
highlighting -- yes I've been told I'm crazy, and in fact I 
agree


I read somewhere recently that syntax highlighting is considered 
a distraction, so you're not the only one. I use it mainly as a 
spellchecker. If it lights up, I know I spelled it right! :)



Linux is my IDE, the whole of it :-P).
And I thought Atom had overhead! :) I do hope you know I'm 
kidding. I have been working up to installing Linux on something 
around here, too. And FreeBSD. I'm seriously short of hardware 
and space to set up other machines ATM, so it's going to have to 
wait.





Re: D-lighted, I'm Sure

2019-01-19 Thread Ron Tarrant via Digitalmars-d-announce

On Friday, 18 January 2019 at 19:55:34 UTC, Meta wrote:

Great read Ron. Can I ask which town in Newfoundland it was 
where you stayed back in 1985?


Sure. I was in St. Lawrence on the Burin Peninsula. Do you know 
it?


Re: D-lighted, I'm Sure

2019-01-19 Thread Ron Tarrant via Digitalmars-d-announce

On Friday, 18 January 2019 at 18:59:59 UTC, JN wrote:

Just add a line in your dub.json file and you have the library. 
Need to upgrade to newer version? Just change the version in 
dub.json file. Need to download the problem from scratch? No 
problem, dub can use the json file to download all the 
dependencies in proper versions.


Any idea where we can find a gentle intro to dub?


Re: D-lighted, I'm Sure

2019-01-19 Thread Ron Tarrant via Digitalmars-d-announce
On Friday, 18 January 2019 at 17:06:54 UTC, Steven Schveighoffer 
wrote:


I had to use my parents' TV in the living room :) And I was 
made to learn typing before I could play games on it, so 
cruel...


LOL!

(Ahem) I feel your pain, sir.


Re: D-lighted, I'm Sure

2019-01-19 Thread Jon Degenhardt via Digitalmars-d-announce

On Friday, 18 January 2019 at 14:29:14 UTC, Mike Parker wrote:
Not long ago, in my retrospective on the D Blog in 2018, I 
invited folks to write about their first impressions of D. Ron 
Tarrant, who you may have seen in the Lear forum, answered the 
call. The result is the latest post on the blog, the first 
guest post of 2019. Thanks, Ron!


As a reminder, I'm still looking for new-user impressions and 
guest posts on any D-related topic. Please contact me if you're 
interested. And don't forget, there's a bounty for guest posts, 
so you can make a bit of extra cash in the process.


The blog:
https://dlang.org/blog/2019/01/18/d-lighted-im-sure/

Reddit:
https://www.reddit.com/r/programming/comments/ahawhz/dlighted_im_sure_the_first_two_months_with_d/


Nicely done. Very enjoyable, thanks for publishing this!

--Jon


Re: Musicpulator - Library for analyzing and manipulating music - 0.0.2

2019-01-19 Thread viniarck via Digitalmars-d-announce

On Saturday, 19 January 2019 at 10:35:52 UTC, bauss wrote:

Happy to announce the first version of Musicpulator.

An open-source library for analyzing and manipulating music.

As of now only manual analysis and manipulation is possible, 
but in future versions this will change.


Please see the README.md for examples as there are a lot!

Github: https://github.com/UndergroundRekordz/Musicpulator

DUB: https://code.dlang.org/packages/musicpulator


Cool! Thanks for sharing.


Re: Musicpulator - Library for analyzing and manipulating music - 0.0.2

2019-01-19 Thread bauss via Digitalmars-d-announce

On Saturday, 19 January 2019 at 16:11:33 UTC, H. S. Teoh wrote:
On Sat, Jan 19, 2019 at 10:35:52AM +, bauss via 
Digitalmars-d-announce wrote:

Happy to announce the first version of Musicpulator.

An open-source library for analyzing and manipulating music.

As of now only manual analysis and manipulation is possible, 
but in future versions this will change.


Please see the README.md for examples as there are a lot!

Github: https://github.com/UndergroundRekordz/Musicpulator

DUB: https://code.dlang.org/packages/musicpulator


Interesting.

Is there a way to import music, say from XML, for analysis?  Or 
is only internal analysis available currently?



T


Not as of now, but that's the next step to load from json, xml 
and midi import/export as well!


Re: The New Fundraising Campaign

2019-01-19 Thread bachmeier via Digitalmars-d-announce

On Saturday, 19 January 2019 at 16:15:21 UTC, H. S. Teoh wrote:

I wonder if it's worth it to split the database into an active 
part (for recent threads) and an archive part (for older 
threads that are unlikely to change). Most of the lookups will 
be in the smaller active part, which hopefully will be more 
performant, and old posts will be migrated to the archive to 
maintain a maximum active size.


Whatever the problem, it's reasonable to raise money to fix it. 
We shouldn't expect Vladimir to do all the work for something 
like this.




Re: The New Fundraising Campaign

2019-01-19 Thread H. S. Teoh via Digitalmars-d-announce
On Sat, Jan 19, 2019 at 03:28:12PM +, user1234 via Digitalmars-d-announce 
wrote:
> On Saturday, 19 January 2019 at 14:14:32 UTC, H. S. Teoh wrote:
> > On Sat, Jan 19, 2019 at 08:17:30AM +, Anonymouse via
> > Digitalmars-d-announce wrote:
> > > On Saturday, 19 January 2019 at 06:43:34 UTC, H. S. Teoh wrote:
> > > > [...]
> > [...]
> > > For us on the browser pages don't always load, though.
> > 
> > That's a valid complaint.  It would serve us well if the Foundation
> > can pay for dedicated hardware for the forum, instead of the current
> > machine that seems to get overloaded every so often.
> > 
> > Or if the problem is software, pay for someone to fix it or replace
> > it with something that doesn't have this problem.
[...]
> Yeah, I think the main problem is the database locks.
> People discussed about the that previously.

Yeah I vaguely remember that.

I wonder if it's worth it to split the database into an active part (for
recent threads) and an archive part (for older threads that are unlikely
to change). Most of the lookups will be in the smaller active part,
which hopefully will be more performant, and old posts will be migrated
to the archive to maintain a maximum active size.

But I could be misunderstanding the problem.


T

-- 
The right half of the brain controls the left half of the body. This means that 
only left-handed people are in their right mind. -- Manoj Srivastava


Re: Musicpulator - Library for analyzing and manipulating music - 0.0.2

2019-01-19 Thread H. S. Teoh via Digitalmars-d-announce
On Sat, Jan 19, 2019 at 10:35:52AM +, bauss via Digitalmars-d-announce 
wrote:
> Happy to announce the first version of Musicpulator.
> 
> An open-source library for analyzing and manipulating music.
> 
> As of now only manual analysis and manipulation is possible, but in
> future versions this will change.
> 
> Please see the README.md for examples as there are a lot!
> 
> Github: https://github.com/UndergroundRekordz/Musicpulator
> 
> DUB: https://code.dlang.org/packages/musicpulator

Interesting.

Is there a way to import music, say from XML, for analysis?  Or is only
internal analysis available currently?


T

-- 
One reason that few people are aware there are programs running the internet is 
that they never crash in any significant way: the free software underlying the 
internet is reliable to the point of invisibility. -- Glyn Moody, from the 
article "Giving it all away"


Re: The New Fundraising Campaign

2019-01-19 Thread user1234 via Digitalmars-d-announce

On Saturday, 19 January 2019 at 14:14:32 UTC, H. S. Teoh wrote:
On Sat, Jan 19, 2019 at 08:17:30AM +, Anonymouse via 
Digitalmars-d-announce wrote:

On Saturday, 19 January 2019 at 06:43:34 UTC, H. S. Teoh wrote:
> [...]

[...]

For us on the browser pages don't always load, though.


That's a valid complaint.  It would serve us well if the 
Foundation can pay for dedicated hardware for the forum, 
instead of the current machine that seems to get overloaded 
every so often.


Or if the problem is software, pay for someone to fix it or 
replace it with something that doesn't have this problem.



T


Yeah, I think the main problem is the database locks.
People discussed about the that previously.


Re: The New Fundraising Campaign

2019-01-19 Thread H. S. Teoh via Digitalmars-d-announce
On Sat, Jan 19, 2019 at 08:17:30AM +, Anonymouse via Digitalmars-d-announce 
wrote:
> On Saturday, 19 January 2019 at 06:43:34 UTC, H. S. Teoh wrote:
> > This forum is very functional.  I would participate less in a forum
> > that requires loading up a browser to use. But then again, maybe
> > people would be happier if I wasn't around to blab about vim and
> > symmetry and why dub sux, so perhaps that might be for the better.
> > :-P
[...]
> For us on the browser pages don't always load, though.

That's a valid complaint.  It would serve us well if the Foundation can
pay for dedicated hardware for the forum, instead of the current machine
that seems to get overloaded every so often.

Or if the problem is software, pay for someone to fix it or replace it
with something that doesn't have this problem.


T

-- 
All problems are easy in retrospect.


Re: The New Fundraising Campaign

2019-01-19 Thread JN via Digitalmars-d-announce

On Saturday, 19 January 2019 at 12:38:48 UTC, bachmeier wrote:
The norm is for pages to not load in the browser. I don't think 
it's necessary to elaborate on the impression this creates on 
potential users.


Yes. Unfortunately I encounter it quite often. Just now the 
loading of the forum has stalled for me for like 20 seconds until 
it finally loaded. I have mixed feelings about this forum. I 
understand it's just a facade over email. I think it works quite 
well, and I prefer it to traditional email newsgroups. But 
sometimes you'd like fancy stuff like embedding images into your 
post, especially when showing off a project.


What I'd really like to see though is an additional section in 
the "D Programming Language - Ecosystem". Something like 
"Projects". Where you can create threads for projects that you 
have started, are working on etc. Something like the old dsource 
forums http://dsource.org/forums/ .


Right now there's no place for that. You have General, but it's 
for language discussion. Learn is for learning. Announce might 
work for that, but in general it's for release announcements, 
rather than continued discussion on the project, also it doesn't 
work for work in progress projects. I think if such section 
existed, with subsections for notable projects, it'd greatly 
boost the community. Look at projects like GtkD or VibeD - they 
have their own forums. Most people frequent both their forums and 
here, but I imagine there are some people that only hang out on 
GtkD or VibeD forums. I think it would be beneficial to bring 
those people here.




Re: The New Fundraising Campaign

2019-01-19 Thread bachmeier via Digitalmars-d-announce

On Saturday, 19 January 2019 at 08:17:30 UTC, Anonymouse wrote:

On Saturday, 19 January 2019 at 06:43:34 UTC, H. S. Teoh wrote:
This forum is very functional.  I would participate less in a 
forum that requires loading up a browser to use. But then 
again, maybe people would be happier if I wasn't around to 
blab about vim and symmetry and why dub sux, so perhaps that 
might be for the better. :-P



T


For us on the browser pages don't always load, though.


The norm is for pages to not load in the browser. I don't think 
it's necessary to elaborate on the impression this creates on 
potential users.


Re: B Revzin - if const expr isn't broken (was Re: My Meeting C++ Keynote video is now available)

2019-01-19 Thread Mark via Digitalmars-d-announce

On Friday, 18 January 2019 at 20:29:08 UTC, H. S. Teoh wrote:
That would work, but it would also suffer from all the same 
problems as macro-based programming in C.  The compiler would 
be unable to detect when you accidentally pasted type names 
together where you intended to be separate, the strings may not 
actually represent real types, and generating code from pasting 
/ manipulating strings is very error-prone. And you could write 
very unmaintainable code like pasting partial tokens together 
as strings, etc., which makes it hard for anyone else 
(including yourself after 3 months) to understand just what the 
code is trying to do.


Generally, you want some level of syntactic / semantic 
enforcement by the compiler when you manipulate lists (or 
whatever other structures) of types.



T


Well, it's the approach Andrei laid out in his DConf 2018 talk:
https://youtu.be/-0jcE9B5kjs?t=2641

The advantage is how simple it is, and that it only uses existing 
language constructs. But, indeed, the problems you mention are 
not insignificant.


Musicpulator - Library for analyzing and manipulating music - 0.0.2

2019-01-19 Thread bauss via Digitalmars-d-announce

Happy to announce the first version of Musicpulator.

An open-source library for analyzing and manipulating music.

As of now only manual analysis and manipulation is possible, but 
in future versions this will change.


Please see the README.md for examples as there are a lot!

Github: https://github.com/UndergroundRekordz/Musicpulator

DUB: https://code.dlang.org/packages/musicpulator


Re: The New Fundraising Campaign

2019-01-19 Thread Anonymouse via Digitalmars-d-announce

On Saturday, 19 January 2019 at 06:43:34 UTC, H. S. Teoh wrote:
This forum is very functional.  I would participate less in a 
forum that requires loading up a browser to use. But then 
again, maybe people would be happier if I wasn't around to blab 
about vim and symmetry and why dub sux, so perhaps that might 
be for the better. :-P



T


For us on the browser pages don't always load, though.