Re: My interest in contributing to the D language and participation in the Symmetry Autumn of code

2024-05-16 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-announce

On 16/05/2024 11:43 PM, Dennis wrote:
just in case I've worked on an issue, how do I communicate with the 
community/mentors about it? Is there a discord/slack community I can join?


On the main website under Community there is an invite link to the 
community Discord.


Many people are there including Mike Parker and Razvan.


Re: My interest in contributing to the D language and participation in the Symmetry Autumn of code

2024-05-16 Thread Dennis via Digitalmars-d-announce

On Wednesday, 15 May 2024 at 14:23:32 UTC, RazvanN wrote:

On Tuesday, 14 May 2024 at 18:42:56 UTC, Dennis wrote:
Hello everyone, My name is Dennis and I’m from Nigeria and I 
want to contribute to the D language, perhaps engage in the 
upcoming Symmetry Autumn of code, and contribute immensely to 
the D language and beyond.
I’m open to anyone directing me on things to work on. I'd 
really appreciate that.


Hi Dennis!

We have a bunch of projects that you could work on, however, 
choosing the right project depends of what you are interested 
in and your experience with the concepts involved. Generally, 
we have multiple fronts that work could be done on: the 
compiler, the runtime library, the standard library, ecosystem 
tools etc. I suggest you pick one of the categories, get the 
code, try to fix the issues (you can find our list of issues 
here: https://issues.dlang.org/ - searching for the keywork 
"bootcamp" will list issues that are considered entry level, 
but note that some of those might be more complicated then you 
would expect at a first glance) and then we can have a hat on 
projects you can work on. How does that sound?


RazvanN


just in case I've worked on an issue, how do I communicate with 
the community/mentors about it? Is there a discord/slack 
community I can join?


Re: My interest in contributing to the D language and participation in the Symmetry Autumn of code

2024-05-15 Thread Dennis via Digitalmars-d-announce

On Wednesday, 15 May 2024 at 14:23:32 UTC, RazvanN wrote:

On Tuesday, 14 May 2024 at 18:42:56 UTC, Dennis wrote:
Hello everyone, My name is Dennis and I’m from Nigeria and I 
want to contribute to the D language, perhaps engage in the 
upcoming Symmetry Autumn of code, and contribute immensely to 
the D language and beyond.
I’m open to anyone directing me on things to work on. I'd 
really appreciate that.


Hi Dennis!

We have a bunch of projects that you could work on, however, 
choosing the right project depends of what you are interested 
in and your experience with the concepts involved. Generally, 
we have multiple fronts that work could be done on: the 
compiler, the runtime library, the standard library, ecosystem 
tools etc. I suggest you pick one of the categories, get the 
code, try to fix the issues (you can find our list of issues 
here: https://issues.dlang.org/ - searching for the keywork 
"bootcamp" will list issues that are considered entry level, 
but note that some of those might be more complicated then you 
would expect at a first glance) and then we can have a chat on 
projects you can work on. How does that sound?


RazvanN


That sounds great, looking forward to participate.


Re: My interest in contributing to the D language and participation in the Symmetry Autumn of code

2024-05-15 Thread RazvanN via Digitalmars-d-announce

On Tuesday, 14 May 2024 at 18:42:56 UTC, Dennis wrote:
Hello everyone, My name is Dennis and I’m from Nigeria and I 
want to contribute to the D language, perhaps engage in the 
upcoming Symmetry Autumn of code, and contribute immensely to 
the D language and beyond.
I’m open to anyone directing me on things to work on. I'd 
really appreciate that.


Hi Dennis!

We have a bunch of projects that you could work on, however, 
choosing the right project depends of what you are interested in 
and your experience with the concepts involved. Generally, we 
have multiple fronts that work could be done on: the compiler, 
the runtime library, the standard library, ecosystem tools etc. I 
suggest you pick one of the categories, get the code, try to fix 
the issues (you can find our list of issues here: 
https://issues.dlang.org/ - searching for the keywork "bootcamp" 
will list issues that are considered entry level, but note that 
some of those might be more complicated then you would expect at 
a first glance) and then we can have a chat on projects you can 
work on. How does that sound?


RazvanN


Re: My interest in contributing to the D language and participation in the Symmetry Autumn of code

2024-05-14 Thread Mike Parker via Digitalmars-d-announce

On Tuesday, 14 May 2024 at 18:42:56 UTC, Dennis wrote:
Hello everyone, My name is Dennis and I’m from Nigeria and I 
want to contribute to the D language, perhaps engage in the 
upcoming Symmetry Autumn of code, and contribute immensely to 
the D language and beyond.
I’m open to anyone directing me on things to work on. I'd 
really appreciate that.


Hi, Dennis. Nice to meet you.

I'll be making the announcement about SAOC 2024 in a few weeks. 
In the meantime, you can visit the SAOC page to learn everything 
you need to know about how to apply:


https://saoc.io

It's still got the info from last year, but very little will 
change for this year. The application deadline could be different 
this time, but the rest of the dates should be the same. It will 
run from September 15 of this year to January 14 of next year.


I'll leave it to Razvan Nitu and/or Dennis Korpel to help you 
with contributing.


Re: My interest in contributing to the D language and participation in the Symmetry Autumn of code

2024-05-14 Thread Sergey via Digitalmars-d-announce

On Tuesday, 14 May 2024 at 18:42:56 UTC, Dennis wrote:
Hello everyone, My name is Dennis and I’m from Nigeria and I 
want to contribute to the D language, perhaps engage in the 
upcoming Symmetry Autumn of code, and contribute immensely to 
the D language and beyond.
I’m open to anyone directing me on things to work on. I'd 
really appreciate that.


Hi Dennis, nice to hear that!

Razvan and Mike probably are good persons to ask such question.

There are some project milestones in GitHub repo..
But you can start with issues https://forum.dlang.org/group/issues


My interest in contributing to the D language and participation in the Symmetry Autumn of code

2024-05-14 Thread Dennis via Digitalmars-d-announce
Hello everyone, My name is Dennis and I’m from Nigeria and I want 
to contribute to the D language, perhaps engage in the upcoming 
Symmetry Autumn of code, and contribute immensely to the D 
language and beyond.
I’m open to anyone directing me on things to work on. I'd really 
appreciate that.


Re: Symmetry Autumn of Code 2023 Result

2024-02-01 Thread Sergey via Digitalmars-d-announce

On Thursday, 1 February 2024 at 12:12:43 UTC, Mike Parker wrote:
If you've been paying attention to the forums over the past few 
months, you'll have seen weekly updates from the three SAOC 
2023 participants: Teodor Dutu (his third SAOC!), Emmanuel 
Nyarko, and Prajwal S N. Congratulations to each of them for 
making it all the way to the end. The work the put in was both 
well done and valuable for the D ecosystem.


Potential guests of Mike's video-show.
If they would like to share some thought and personal experience 
from participation in SAoC


Re: Symmetry Autumn of Code 2023 Result

2024-02-01 Thread Mike Shah via Digitalmars-d-announce

On Thursday, 1 February 2024 at 12:12:43 UTC, Mike Parker wrote:
If you've been paying attention to the forums over the past few 
months, you'll have seen weekly updates from the three SAOC 
2023 participants: Teodor Dutu (his third SAOC!), Emmanuel 
Nyarko, and Prajwal S N. Congratulations to each of them for 
making it all the way to the end. The work the put in was both 
well done and valuable for the D ecosystem.


[...]


Congratulations to all the participants -- they should be proud 
of their accomplishments. It was great to see their weekly 
progress, and I look forward to their continued work :)


Re: Symmetry Autumn of Code 2023 Result

2024-02-01 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-announce

Very good work to all involved!


Re: Symmetry Autumn of Code 2023 Result

2024-02-01 Thread M.M. via Digitalmars-d-announce

On Thursday, 1 February 2024 at 12:12:43 UTC, Mike Parker wrote:
If you've been paying attention to the forums over the past few 
months, you'll have seen weekly updates from the three SAOC 
2023 participants: Teodor Dutu (his third SAOC!), Emmanuel 
Nyarko, and Prajwal S N. Congratulations to each of them for 
making it all the way to the end. The work the put in was both 
well done and valuable for the D ecosystem.


[...]


Congratulations to all three participants for their progress and 
contributions to D. Extra congratulations to Prajwal for being 
selected for the extra prize.


Glad to hear that the participants aim to round-up the projects 
beyond the official duration of SAOC.


Thanks to Symmetry for the ongoing support.


Symmetry Autumn of Code 2023 Result

2024-02-01 Thread Mike Parker via Digitalmars-d-announce
If you've been paying attention to the forums over the past few 
months, you'll have seen weekly updates from the three SAOC 2023 
participants: Teodor Dutu (his third SAOC!), Emmanuel Nyarko, and 
Prajwal S N. Congratulations to each of them for making it all 
the way to the end. The work the put in was both well done and 
valuable for the D ecosystem.


Additional congratulations are in order for Prajwal S N, whom the 
judges selected for the final $1000 payment and the free trip to 
DConf '24. Well done!


Prajwal worked on modifying dfmt to use the DMD AST. Along the 
way, he made some improvements to dmd. He currently is working on 
identifying and fixing bugs and plans to get the new dfmt into a 
production-ready state.


As for the other two, they are still going forward with their 
projects.


Teo has worked on converting DRuntime hooks to templates during 
and between three SAOC editions. He [gave a talk about it at 
DConf '22](https://youtu.be/dsa8GWL6TUo). He's got the finish 
line in sight now. Once he crosses it, he says he'll be on the 
lookout for further opportunities to research and improve the D 
compilers.


Emmanuel set out to hook D up to some C++ containers. He made a 
good bit of progress on that front and plans to continue. He 
tells me he will be looking for other opportunities to contribute 
to D beyond this project in the future.


Thanks to Razvan Nitu and Mathias Lang for taking on the mentor 
role this time. Razvan mentored Teo and Prajwal, Mathias mentored 
Emmanuel.


Thanks also to Átila Neves, Robert Schadek, and Jonathan M. Davis 
for serving as judges. That's a tougher job than one might think.


As for the future, I can announce already that SAOC 2024 is a go. 
I'll put out the call for applications in a few months. Thanks to 
Symmetry Investments for their ongoing support for the D 
ecosystem through SAOC and more.





Re: Symmetry Autumn of Code 2022

2022-06-30 Thread M.M. via Digitalmars-d-announce

On Wednesday, 29 June 2022 at 11:20:47 UTC, Mike Parker wrote:
I recently received confirmation from Symmetry that SAOC 2022 
is a go!


[...]


Great to see the initiative continuing to exist! Thanks to the 
sponsors, and all involved.


Symmetry Autumn of Code 2022

2022-06-29 Thread Mike Parker via Digitalmars-d-announce
I recently received confirmation from Symmetry that SAOC 2022 is 
a go!


SOAC is open to anyone over 18 who is interested in helping to 
strengthen the D ecosystem. Preference is given to undergraduate 
and postgraduate students, but anyone is welcome to apply.


Participants are paid a small stipend across three monthly 
milestones to work at least 20 hours per week on a project that's 
beneficial to the D ecosystem. Then, at the end of the fourth and 
final milestone, at least one participant is awarded with a final 
$1000 payment and a free trip to the next real-world DConf.


Given that we had no DConf in 2020 and 2021, one SAOC awardee 
each from the 2019 and 2020 editions, and two from the 2021 
edition, are attending DConf '22. If you apply to SAOC 2022, then 
it could be you hanging out on a free trip to DConf '23.


Even if you don't receive the final award, SAOC opens doors to 
internships and jobs, as some of our past participants have 
learned. It also provides you with material to present at a 
future DConf: one of our DConf '22 speakers was a runner-up who 
wasn't awarded the free trip, but got a free trip anyway when her 
talk was accepted.


We're also looking for potential mentors. Applicants are 
encourage to seek out experienced D programmers to act as mentors 
prior to sending in their applications, but those who don't will 
still have some time to find one if they are accepted. If you are 
interested in mentoring a SAOC participant, please let us know at 
soc...@dlang.org so that we can help match you up with someone if 
the need arises. Mentors receive a one-time payment of $500 at 
the end of the event.


For everyone else, please help us [curate the projects 
repository](https://github.com/dlang/projects/issues). This is a 
list of D ecosystem project ideas in general, but can be a good 
source of ideas for SAOC applicants. Candidate SAOC projects 
should require at least 4 months of work at 20 hours per week, 
and should be tagged with the SAOC tag.


All of the details on everything I've mentioned here can be found 
at the SAOC 2022 page:


https://dlang.org/blog/symmetry-autumn-of-code/


Re: DConf Online & Symmetry Autumn of Code 2021

2021-06-10 Thread Imperatorn via Digitalmars-d-announce

On Wednesday, 9 June 2021 at 07:47:00 UTC, Mike Parker wrote:
Symmetry has confirmed: we are doing SAOC 2021 and it kicks off 
on September 15. And I can confirm that DConf Online 2021 is 
happening in November. I'll be formally announcing both on the 
D Blog soon, with dates, deadlines, and details.


[...]





DConf Online & Symmetry Autumn of Code 2021

2021-06-09 Thread Mike Parker via Digitalmars-d-announce
Symmetry has confirmed: we are doing SAOC 2021 and it kicks off 
on September 15. And I can confirm that DConf Online 2021 is 
happening in November. I'll be formally announcing both on the D 
Blog soon, with dates, deadlines, and details.


I'm announcing informally here first primarily because I want to 
encourage everyone to start thinking about the types of projects 
that would be good for SAOC and submitting ideas in our Projects 
repository before the announcement next week:


https://github.com/dlang/projects/issues

We have a few there already, but we can always use more. The SAOC 
work period runs for four months, during which participants are 
expected to work at least 20 hours per week on their projects. 
Please keep that in mind when you submit your ideas.


You do not need to be a student to participate in SAOC. Students 
will be preferred during selection, but applications are open to 
everyone. If you would like to participate, now is the time to 
start thinking about the kind of project you'd like to work on 
and find yourself a mentor.


If you are interested in making yourself available as a SAOC 
mentor, please leave a comment on the issues for the projects (in 
the repository linked above) on which you'd be inclined to do so. 
If you'd like to make yourself generally available as a mentor, 
please email me directly at aldac...@gmail.com and let me know. 
Each mentor is awarded $500 at the end of the event, courtesy of 
Symmetry Investments.


I encourage everyone to think about submitting a talk or 
livecoding proposal for DConf Online. We're open to accepting 
anything related to the D programming language or general 
computer science topics. Submission details will be provided in 
the upcoming blog announcement.


For the past couple of weeks, I've been editing the Q & A videos 
from last year's conference to cut out the dead space and 
irrelevant chatter. That has resulted in much shorter, 
uninterrupted videos. I still have three more to go. Those that 
I've already published have (v2.0) in the title. I've also added 
timecodes in the description of the new videos so that YouTube 
will show chapters, or bookmarks, at the bottom of the player 
frame. It's taking me several hours to work through each video, 
so I don't expect to have the remainder published until the end 
of next week at the earliest.


The DConf Online 2020 Q & A playlist is here:

https://www.youtube.com/watch?v=4G1FoocVVPY=PLIldXzSkPUXX0PcnTlv175rEyfH66yaoI

If you missed the talks last year, they are all here (along with 
the 'Ask us Anything' with Walter and Atila, and Adam's 
livecoding session):


https://www.youtube.com/watch?v=XQHAIglE9CU=PLIldXzSkPUXWsvFA4AuawPoMnq9Bh1lIZ

#dconf #saoc



Google Summer of Code and Symmetry Autumn of Code Projects and Mentors

2021-03-16 Thread Mike Parker via Digitalmars-d-announce
Some of you will have already heard that we didn't make it into 
GSoC 2021. Every year Google receives over 500 organization 
applications, but they can only accept ~200. I have no insights 
into their decision process, but I do believe our application was 
stronger this year than it was when we were last accepted in 
2019. Given that we've missed out on two in a row, I expect the 
odds will begin to favor us getting in again next year or the 
year after.


That said, it surely won't hurt our chances to have a larger 
selection of projects that students can choose from. Such a pool 
of projects also helps us if and when we have another SAOC event.


So I just want to remind everyone that the project ideas 
repository is there year-round. Anytime you have an idea for a D 
project that would benefit the ecosystem, please visit the 
repository and submit your idea:


https://github.com/dlang/projects/issues

When the time comes for GSoC or SAOC, someone will go through and 
tag projects that appear suitable for the event.


And I should point out, for anyone looking for a way to 
contribute to the D ecosystem, these ideas aren't exclusively for 
the two events. Everyone is welcome to come along and take one of 
these on. Just please be sure to leave a comment on the 
appropriate issue that you are doing so.


It will also be great to have a pool of people who are willing to 
work as mentors during the events. Anyone willing to mentor a 
specific project in the repository should leave a comment 
indicating their interest. And please, if you see someone else 
has already done so, leave a comment anyway. There's no guarantee 
that any given mentor will be available when the event comes 
around, so having some depth to the list is a good thing.


If you're willing to be generally available as a mentor, please 
drop a line to soc...@dlang.org to let us know if you're 
interested in mentoring for either or both GSoC and SAOC, and 
(broadly) what kinds of projects you're comfortable with.


These steps will help prevent us from scrounging around at the 
last minute for more projects and mentors. It will also allow us 
to better show in our GSoC applications that we have a lot we 
need done and that we could really use the resources the event 
provides. I don't know if that will increase our chances, but it 
surely can't hurt.


Re: Symmetry Autumn of Code 2019

2019-07-11 Thread bauss via Digitalmars-d-announce

On Monday, 1 July 2019 at 09:24:31 UTC, Mike Parker wrote:
The D Language Foundation is partnering with Symmetry 
Investments for the second Symmetry Autumn of Code. I've 
written up a blog post about it [1] and updated the SAoC page 
[2] with the new details.


Potential mentors, please be sure to contact me or announce 
your availability in the forums. We want to increase the odds 
that each applicant has a mentor lined up when they submit 
their application. Mentors are also getting paid this time 
around.


I haven't shared this on reddit yet. I plan to do so later this 
week, so please refrain from sharing on /r/programming just yet.


[1] 
https://dlang.org/blog/2019/07/01/get-ready-for-symmetry-autumn-of-code-2019/

[2] https://dlang.org/blog/symmetry-autumn-of-code/


Amazing! :)


Re: Symmetry Autumn of Code 2019

2019-07-08 Thread Mike Parker via Digitalmars-d-announce

On Monday, 1 July 2019 at 09:24:31 UTC, Mike Parker wrote:
The D Language Foundation is partnering with Symmetry 
Investments for the second Symmetry Autumn of Code. I've 
written up a blog post about it [1] and updated the SAoC page 
[2] with the new details.


Potential mentors, please be sure to contact me or announce 
your availability in the forums. We want to increase the odds 
that each applicant has a mentor lined up when they submit 
their application. Mentors are also getting paid this time 
around.


I haven't shared this on reddit yet. I plan to do so later this 
week, so please refrain from sharing on /r/programming just yet.


[1] 
https://dlang.org/blog/2019/07/01/get-ready-for-symmetry-autumn-of-code-2019/

[2] https://dlang.org/blog/symmetry-autumn-of-code/


Reddit:

https://www.reddit.com/r/programming/comments/canal8/symmetry_autumn_of_code_2019/


Re: Symmetry Autumn of Code 2019

2019-07-01 Thread Nicholas Wilson via Digitalmars-d-announce

On Monday, 1 July 2019 at 09:24:31 UTC, Mike Parker wrote:
The D Language Foundation is partnering with Symmetry 
Investments for the second Symmetry Autumn of Code. I've 
written up a blog post about it [1] and updated the SAoC page 
[2] with the new details.


Potential mentors, please be sure to contact me or announce 
your availability in the forums. We want to increase the odds 
that each applicant has a mentor lined up when they submit 
their application. Mentors are also getting paid this time 
around.


I haven't shared this on reddit yet. I plan to do so later this 
week, so please refrain from sharing on /r/programming just yet.


[1] 
https://dlang.org/blog/2019/07/01/get-ready-for-symmetry-autumn-of-code-2019/

[2] https://dlang.org/blog/symmetry-autumn-of-code/


Awesome!

Please see also https://github.com/dlang/projects/issues/47 for 
the dlang/projects tracker and meta issue for all things related 
to SAoC projects.


Symmetry Autumn of Code 2019

2019-07-01 Thread Mike Parker via Digitalmars-d-announce
The D Language Foundation is partnering with Symmetry Investments 
for the second Symmetry Autumn of Code. I've written up a blog 
post about it [1] and updated the SAoC page [2] with the new 
details.


Potential mentors, please be sure to contact me or announce your 
availability in the forums. We want to increase the odds that 
each applicant has a mentor lined up when they submit their 
application. Mentors are also getting paid this time around.


I haven't shared this on reddit yet. I plan to do so later this 
week, so please refrain from sharing on /r/programming just yet.


[1] 
https://dlang.org/blog/2019/07/01/get-ready-for-symmetry-autumn-of-code-2019/

[2] https://dlang.org/blog/symmetry-autumn-of-code/


Re: Symmetry Autumn of Code

2018-08-06 Thread bioinfornatics via Digitalmars-d-announce

On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote:
Thanks to the sponsorship of Symmetry Investments, the D 
Language Foundation is happy to announce the Symmetry Autumn of 
Code!


We're looking for three university students to hack on D this 
autumn, from September - January. We're also in search of 
potential mentors and ideas for student projects. Head to the 
Symmetry Autumn of Code page for the details.


Spread the word!

https://dlang.org/blog/symmetry-autumn-of-code/


Example of idea for student:
A deep learning framework using together a LLVM SPIR-V enable and 
https://github.com/libmir/dcompute would be awesome





Re: Symmetry Autumn of Code

2018-08-05 Thread Mike Parker via Digitalmars-d-announce

On Sunday, 5 August 2018 at 08:01:47 UTC, Ecstatic Coder wrote:



Btw I *had* ("And I'd be glad to mentor you on this :)", here 
on July 24th).


Thanks for remembering me why I now better enjoy the Crystal 
community...


Sorry, I seem to have missed that. But to quote from the SAoC 
page [1]:


"If you are interested in becoming a mentor, please submit an 
email to soc...@dlang.org and let us know which project, or what 
kinds of projects, you would be willing to mentor, as well as the 
number of hours per week you can make yourself available to your 
code during the event. The event organizers may ask for more 
information, such as examples of your level of experience with D, 
before deciding to accept your offer."


I appreciate anyone volunteering as a mentor, but if it isn't 
sent to me at that address (or my personal one), I can't 
guarantee I'll see it.


[1] https://dlang.org/blog/symmetry-autumn-of-code/


Re: Symmetry Autumn of Code

2018-08-05 Thread Ecstatic Coder via Digitalmars-d-announce

On Sunday, 5 August 2018 at 05:22:44 UTC, Mike Franklin wrote:

On Sunday, 5 August 2018 at 04:47:42 UTC, tanner00 wrote:

Hi, I’m interested in working on this project and just wanted 
to touch base. Is there any word on who will be mentoring this 
project? I’m entering college this fall but I’ve been 
programming since a very young age and enjoy systems 
programming.


The project is mostly about creating high-performance, 
resource-efficient 2D software rasterizer, something like this 
(http://nothings.org/gamedev/rasterize/) or 
(https://medium.com/@raphlinus/inside-the-fastest-font-renderer-in-the-world-75ae5270c445)  If that isn't enough work for the event you can build on it by creating path objects with clipping and offsetting (http://angusj.com/delphi/clipper.php), rasterizing TrueType or OpenType fonts, creating drawing primitives, and even potentially creating 2D widgets (buttons, text labels, etc.)  I think it's up to you how much of it you want to take on.


I proposed the idea, but I don't think I'd be a very good 
mentor for the project because I've never created a 2D 
rasterizer myself.  However, I'd be happy to help anyone 
working on the project in an unofficial capacity, and can 
probably articulate the intended use case for it.


Mike


I was 14 and a half when I implemented my first depth buffer 
based rasterizer, in 6502 assembly on a C64, for a hi-res mode 3D 
renderer.


The algorithm, despite being "naive", is actually still an 
efficient one even now.


I stored an array of x/depth ranges (one per raster line), and 
updated them while drawing the wireframe points of the 3 clipped 
edges, while updating the y range of the triangle.


Then I simply iterated on the triangle y range and drew the inner 
points (between minimum_x+1 and maximum_x-1), using the filling 
color and interpolating depth.


Clearly not realtime as my character-based wireframe renderer, I 
admit it.


But this more than fast enough to quickly render a hi-res 3d 
scene in memory in *filled* mode.


So this "dumb" algorithm may still be worth being investigated in 
your case, as this C64 implementation was meant to run on a 
rather similar hardware (very limited memory and CPU, only fixed 
point operations, etc).


Just add antialiasing on the wireframe edges and you're done...



Re: Symmetry Autumn of Code

2018-08-05 Thread Ecstatic Coder via Digitalmars-d-announce

On Sunday, 5 August 2018 at 05:16:50 UTC, Mike Parker wrote:

On Sunday, 5 August 2018 at 04:47:42 UTC, tanner00 wrote:



[...]
Hi, I’m interested in working on this project and just wanted 
to touch base. Is there any word on who will be mentoring this 
project? I’m entering college this fall but I’ve been 
programming since a very young age and enjoy systems 
programming.


No one has volunteered to mentor this project yet, but if you'd 
like to write a proposal for it we can find a mentor if you are 
selected.


Btw I *had* ("And I'd be glad to mentor you on this :)", here on 
July 24th).


Thanks for remembering me why I now better enjoy the Crystal 
community...




Re: Symmetry Autumn of Code

2018-08-05 Thread rikki cattermole via Digitalmars-d-announce

On 05/08/2018 5:22 PM, Mike Franklin wrote:
The project is mostly about creating high-performance, 
resource-efficient 2D software rasterizer, something like this 
(http://nothings.org/gamedev/rasterize/) or 
(https://medium.com/@raphlinus/inside-the-fastest-font-renderer-in-the-world-75ae5270c445)  
If that isn't enough work for the event you can build on it by creating 
path objects with clipping and offsetting 
(http://angusj.com/delphi/clipper.php), rasterizing TrueType or OpenType 
fonts, creating drawing primitives, and even potentially creating 2D 
widgets (buttons, text labels, etc.)  I think it's up to you how much of 
it you want to take on.


Be careful here. ASCII is easy to render, but Unicode isn't.
Unicode requires BIDI support and a bunch of other stuff which are 
projects in of themselves.


Re: Symmetry Autumn of Code

2018-08-04 Thread Mike Franklin via Digitalmars-d-announce

On Sunday, 5 August 2018 at 04:47:42 UTC, tanner00 wrote:

Hi, I’m interested in working on this project and just wanted 
to touch base. Is there any word on who will be mentoring this 
project? I’m entering college this fall but I’ve been 
programming since a very young age and enjoy systems 
programming.


The project is mostly about creating high-performance, 
resource-efficient 2D software rasterizer, something like this 
(http://nothings.org/gamedev/rasterize/) or 
(https://medium.com/@raphlinus/inside-the-fastest-font-renderer-in-the-world-75ae5270c445)  If that isn't enough work for the event you can build on it by creating path objects with clipping and offsetting (http://angusj.com/delphi/clipper.php), rasterizing TrueType or OpenType fonts, creating drawing primitives, and even potentially creating 2D widgets (buttons, text labels, etc.)  I think it's up to you how much of it you want to take on.


I proposed the idea, but I don't think I'd be a very good mentor 
for the project because I've never created a 2D rasterizer 
myself.  However, I'd be happy to help anyone working on the 
project in an unofficial capacity, and can probably articulate 
the intended use case for it.


Mike




Re: Symmetry Autumn of Code

2018-08-04 Thread Mike Parker via Digitalmars-d-announce

On Sunday, 5 August 2018 at 04:47:42 UTC, tanner00 wrote:



[...]
Hi, I’m interested in working on this project and just wanted 
to touch base. Is there any word on who will be mentoring this 
project? I’m entering college this fall but I’ve been 
programming since a very young age and enjoy systems 
programming.


No one has volunteered to mentor this project yet, but if you'd 
like to write a proposal for it we can find a mentor if you are 
selected.


Re: Symmetry Autumn of Code

2018-08-04 Thread tanner00 via Digitalmars-d-announce

On Sunday, 22 July 2018 at 22:07:00 UTC, Mike Franklin wrote:

On Sunday, 22 July 2018 at 16:33:10 UTC, Zheng (Vic) Luo wrote:


[...]


I'm JinShil, the one who proposed the idea.

As far as I'm concerned, if you're doing the work, you can make 
it into whatever you'd like, but I would consider a basic 2D, 
anti-aliasing rasterizer to be a success.  I have in mind 
something like http://www.antigrain.com or Skia.  A bonus would 
be a font renderer that leverages the aforementioned rasterizer 
(See also 
https://medium.com/@raphlinus/inside-the-fastest-font-renderer-in-the-world-75ae5270c445).


[...]
Hi, I’m interested in working on this project and just wanted to 
touch base. Is there any word on who will be mentoring this 
project? I’m entering college this fall but I’ve been programming 
since a very young age and enjoy systems programming.


Re: Symmetry Autumn of Code

2018-07-24 Thread Zheng Luo (Vic) via Digitalmars-d-announce

On Tuesday, 24 July 2018 at 17:03:27 UTC, realDUser wrote:

What about being paid for the work via your home country?


Strictly speaking, F-1 visa prohibits getting paid without 
CPT/OPT as long as I am physically in the US. In practice, 
working remotely and getting paid via another country while 
staying in the US is a gray zone, but due to the fact that the 
immigration policy is getting stricter these days, I don't think 
it's a good idea to risk a visa revoke :(


Re: Symmetry Autumn of Code

2018-07-24 Thread realDUser via Digitalmars-d-announce

On Tuesday, 24 July 2018 at 15:53:37 UTC, Zheng (Vic) Luo wrote:

On Monday, 23 July 2018 at 13:41:41 UTC, Mike Parker wrote:


I can't definitively answer whether not the U.S. government 
would consider it work, but I can tell you that neither 
Symmetry nor the D Language Foundation consider it employment; 
they view it just as Google does. I'll add that to the FAQ.


Unfortunately, after checking this issue with a US visa 
attorney, I found that if I want to participate into this 
project, I have to work as a volunteer and receive no 
compensation in any form now or in the future.


I'm really willing to join this program, so I was wondering 
that can I work as a non-paid volunteer in this program just 
for accumulating experiences? If so, may I work for less than 
20 hr/w with some easier goals?


Thanks


What about being paid for the work via your home country?


Re: Symmetry Autumn of Code

2018-07-24 Thread Zheng Luo (Vic) via Digitalmars-d-announce

On Monday, 23 July 2018 at 13:41:41 UTC, Mike Parker wrote:


I can't definitively answer whether not the U.S. government 
would consider it work, but I can tell you that neither 
Symmetry nor the D Language Foundation consider it employment; 
they view it just as Google does. I'll add that to the FAQ.


Unfortunately, after checking this issue with a US visa attorney, 
I found that if I want to participate into this project, I have 
to work as a volunteer and receive no compensation in any form 
now or in the future.


I'm really willing to join this program, so I was wondering that 
can I work as a non-paid volunteer in this program just for 
accumulating experiences? If so, may I work for less than 20 hr/w 
with some easier goals?


Thanks


Re: Symmetry Autumn of Code

2018-07-23 Thread Laeeth Isharc via Digitalmars-d-announce

On Wednesday, 18 July 2018 at 10:42:04 UTC, Andre Pany wrote:

On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote:
Thanks to the sponsorship of Symmetry Investments, the D 
Language Foundation is happy to announce the Symmetry Autumn 
of Code!


We're looking for three university students to hack on D this 
autumn, from September - January. We're also in search of 
potential mentors and ideas for student projects. Head to the 
Symmetry Autumn of Code page for the details.


Spread the word!

https://dlang.org/blog/symmetry-autumn-of-code/


Another proposal: Adding D support to gRPC

I started to add D support to gRPC but paused it due to lack of 
knowledge and time.
One solution would be to add a D wrapper to 
https://github.com/grpc/grpc/tree/master/src by making use of 
the C interface of gRPC 
(https://github.com/grpc/grpc/tree/master/include/grpc).


As template e.g. C++ or python could be used 
(https://github.com/grpc/grpc/tree/master/src).


Kind regards
André


Juniper have an alpha C higher interface on top of the low level 
C core grpc API.  It didn't look too bad, but I didn't have time 
to finish what I started (making a crude D grpc API).


https://github.com/Juniper/grpc-c




Re: Symmetry Autumn of Code

2018-07-23 Thread bachmeier via Digitalmars-d-announce

On Monday, 23 July 2018 at 13:02:33 UTC, Zheng (Vic) Luo wrote:

Another issue of this program is that me, as an incoming 
graduate in the U.S., are prohibited to "work" in my first 
school year. (that law doesn't affect GSoC since summer is 
considered as the second school year). I'm not sure whether 
contributing to open-source projects is considered as "work" 
here. There are some legal issues related. I'm looking forward 
to some clarifications like 
(https://developers.google.com/open-source/gsoc/faq#is_gsoc_considered_an_internship_a_job_or_any_form_of_employment) stating that this program is an "employment" or not.


I'm not an attorney working on immigration law, but Symmetry is 
not a US company AFAIK, so I don't see how that is relevant. Of 
course you should check with someone with appropriate expertise 
first.


Re: Symmetry Autumn of Code

2018-07-23 Thread Mike Parker via Digitalmars-d-announce

On Monday, 23 July 2018 at 13:02:33 UTC, Zheng (Vic) Luo wrote:



Another issue of this program is that me, as an incoming 
graduate in the U.S., are prohibited to "work" in my first 
school year. (that law doesn't affect GSoC since summer is 
considered as the second school year). I'm not sure whether 
contributing to open-source projects is considered as "work" 
here. There are some legal issues related. I'm looking forward 
to some clarifications like 
(https://developers.google.com/open-source/gsoc/faq#is_gsoc_considered_an_internship_a_job_or_any_form_of_employment) stating that this program is an "employment" or not.


I can't definitively answer whether not the U.S. government would 
consider it work, but I can tell you that neither Symmetry nor 
the D Language Foundation consider it employment; they view it 
just as Google does. I'll add that to the FAQ.


Re: Symmetry Autumn of Code

2018-07-23 Thread Mike Franklin via Digitalmars-d-announce

On Monday, 23 July 2018 at 10:24:14 UTC, Ecstatic Coder wrote:

But this BetterC minimalistic standard library (allocations, 
arrays, strings, slices, maps) is something which can be reused 
by many similar hardware-level projects.


This is a project on its own, and as I said, I think it should 
better be provided to the candidate so he can use his 
development time on developing the rasterizer, and, if there is 
enough time, a minimalistic nuklear-like gui system over it to 
demonstrate its performance and usefulness.


Indeed, having to port the druntime to new hardware is definitely 
not in scope.  I can't anticipate what features of the language 
the developer will employ, but as long as they stay within the 
-betterC subset of the language, I think it will be portable to 
something like that used in 
https://github.com/JinShil/stm32f42_discovery_demo


Even if it isn't portable, if it compiles and runs in -betterC on 
a PC, it will still be an excellent foundation to build on, and 
I'd still call it a success.


Mike


Re: Symmetry Autumn of Code

2018-07-23 Thread Mike Franklin via Digitalmars-d-announce

On Monday, 23 July 2018 at 09:52:54 UTC, Zheng (Vic) Luo wrote:

Regarding floating point operations, I plan to use 
dmd.builtins/ldc.builtins instead of linking with libm.


That reminds me.  Something else to consider is that some of 
these microcontrollers don't have FPUs.  Graphics libraries 
designed for microcontrollers often use fixed-point math as a 
lowest common denominator.  I think, given the features of D, 
fixed-point or floating point could be selected at compile-time.


But, I don't wish to expand the scope of the project.  An 
all-floating point library would be fine, IMO, and fixed-poing 
math could be added to the library in a future iteration.


Mike




Re: Symmetry Autumn of Code

2018-07-23 Thread Ecstatic Coder via Digitalmars-d-announce

On Monday, 23 July 2018 at 08:08:03 UTC, Mike Franklin wrote:

On Monday, 23 July 2018 at 06:24:04 UTC, Zheng (Vic) Luo wrote:

Moreover, The term "dependency-free" in the project 
description often confuses me, because as a hardware-agnostic 
library the project does have to depend on external 
implementations like "sin"/"memset" or even "thread_start", 
and I'm not sure which kind of dependency is proper for this 
project: Should we assume a multi-threading model? Should this 
library rely on "malloc"/"free"? Correct me if my 
understanding is wrong since I had few experience on embedded 
programming.


There is more to this project than just getting a software 
rasterizer in D.  Part of the goal is to demonstrate D as a 
formidable alternative to C in micrcontroller firmware 
programming.  D will never achieve that notoriety if it's 
always depending on C, the C runtime, the C standard library, 
or some library implemented in C.


So, IMO, if you need to link in a library or object file that 
was not compiled from D code, then you're cheating.  This is 
also one of the reasons why I suggested re-implementing 
software building blocks such as `memcpy`, `memset`, `malloc`, 
`free`, etc. in D as another potential project for the Autumn 
of Code.


So, to keep this software rasterizer project within scope, I 
suggest creating naive implementations of those functions in D 
for now to stay true to spirit of the project (no dependencies, 
everything in D), and "make the point".  You can those software 
building blocks in their own module, and let the user of the 
software rasterizer library link it their own implementation if 
they wish to deviate from the spirit of the proposal.


Mike


I agree

But this BetterC minimalistic standard library (allocations, 
arrays, strings, slices, maps) is something which can be reused 
by many similar hardware-level projects.


This is a project on its own, and as I said, I think it should 
better be provided to the candidate so he can use his development 
time on developing the rasterizer, and, if there is enough time, 
a minimalistic nuklear-like gui system over it to demonstrate its 
performance and usefulness.




Re: Symmetry Autumn of Code

2018-07-23 Thread Ecstatic Coder via Digitalmars-d-announce

On Monday, 23 July 2018 at 09:09:40 UTC, Mike Franklin wrote:

On Sunday, 22 July 2018 at 17:12:31 UTC, Ecstatic Coder wrote:


2/ Nuklear (https://github.com/vurtun/nuklear)


Reading the documentation for Nuklear, I found this: 
https://rawgit.com/vurtun/nuklear/master/doc/nuklear.html#drawing


To draw all draw commands accumulated over a frame you need 
your own render backend able to draw a number of 2D 
primitives. This includes at least filled and stroked 
rectangles, circles, text, lines, triangles and scissors


That's basically what the Autumn of Code proposal would like to 
have built in D: A rasterizer with fundamental drawing 
primitives.  So, it seems Nuklear is a library intended to be 
built on top of the proposed rasterizer.


Mike


+1

Then I agree that Antigrain is probably the best reference code 
for the antialiased renderer, as its code is small, very complete 
(ttf/gsv/raster fonts, top quality antialiasing, etc) and 
reasonably fast.


IMO the better-C standard library runtime should be provided to 
the developer in charge of developing that rasterizer.


Re: Symmetry Autumn of Code

2018-07-23 Thread Zheng Luo (Vic) via Digitalmars-d-announce

On Monday, 23 July 2018 at 08:08:03 UTC, Mike Franklin wrote:
So, IMO, if you need to link in a library or object file that 
was not compiled from D code, then you're cheating.  This is 
also one of the reasons why I suggested re-implementing 
software building blocks such as `memcpy`, `memset`, `malloc`, 
`free`, etc. in D as another potential project for the Autumn 
of Code.


So, to keep this software rasterizer project within scope, I 
suggest creating naive implementations of those functions in D 
for now to stay true to spirit of the project (no dependencies, 
everything in D), and "make the point".  You can those software 
building blocks in their own module, and let the user of the 
software rasterizer library link it their own implementation if 
they wish to deviate from the spirit of the proposal.



That's actually what I am doing now. Currently I wrote a short 
script to ensure the symbols in the main project within a subset 
(https://github.com/htfy96/rasterizer-d-embed/blob/master/check-no-und-symbols.sh). I also plan to create some basic dependency-free building blocks like memcpy/memset/memcmp (already implemented in https://github.com/htfy96/d-rlib) and malloc/free (maybe reusing some building blocks from std.experimental.allocator?) in separate projects. Regarding floating point operations, I plan to use dmd.builtins/ldc.builtins instead of linking with libm.


Above this well-defined set of primitives, the core rasterizer 
will be built, so that  users can plug in their own 
implementations or use the default implementation when libc/libm 
is linked.




Re: Symmetry Autumn of Code

2018-07-23 Thread Mike Franklin via Digitalmars-d-announce

On Sunday, 22 July 2018 at 17:12:31 UTC, Ecstatic Coder wrote:


2/ Nuklear (https://github.com/vurtun/nuklear)


Reading the documentation for Nuklear, I found this: 
https://rawgit.com/vurtun/nuklear/master/doc/nuklear.html#drawing


To draw all draw commands accumulated over a frame you need 
your own render backend able to draw a number of 2D primitives. 
This includes at least filled and stroked rectangles, circles, 
text, lines, triangles and scissors


That's basically what the Autumn of Code proposal would like to 
have built in D: A rasterizer with fundamental drawing 
primitives.  So, it seems Nuklear is a library intended to be 
built on top of the proposed rasterizer.


Mike


Re: Symmetry Autumn of Code

2018-07-23 Thread Mike Franklin via Digitalmars-d-announce

On Monday, 23 July 2018 at 06:24:04 UTC, Zheng (Vic) Luo wrote:


Should we assume a multi-threading model?


I say, no.  To get threads on microcontrollers, you typically 
first need to implement a Real-time Operating System (RTOS).  If 
you want to implement an RTOS in D, and then build the rasterizer 
on that, that would be very cool!but also very challenging ;-)


Mike


Re: Symmetry Autumn of Code

2018-07-23 Thread Mike Franklin via Digitalmars-d-announce

On Monday, 23 July 2018 at 08:08:03 UTC, Mike Franklin wrote:

You can those software building blocks in their own module, and 
let the user of the software rasterizer library link it their 
own implementation if they wish to deviate from the spirit of 
the proposal.


Yikes! too many typos there.  It should say...

You can put those software building blocks in their own module, 
and let the user of the software rasterizer library link in their 
own implementation if they wish to deviate from the spirit of the 
proposal.


Mike


Re: Symmetry Autumn of Code

2018-07-23 Thread Mike Franklin via Digitalmars-d-announce

On Monday, 23 July 2018 at 06:24:04 UTC, Zheng (Vic) Luo wrote:

Moreover, The term "dependency-free" in the project description 
often confuses me, because as a hardware-agnostic library the 
project does have to depend on external implementations like 
"sin"/"memset" or even "thread_start", and I'm not sure which 
kind of dependency is proper for this project: Should we assume 
a multi-threading model? Should this library rely on 
"malloc"/"free"? Correct me if my understanding is wrong since 
I had few experience on embedded programming.


There is more to this project than just getting a software 
rasterizer in D.  Part of the goal is to demonstrate D as a 
formidable alternative to C in micrcontroller firmware 
programming.  D will never achieve that notoriety if it's always 
depending on C, the C runtime, the C standard library, or some 
library implemented in C.


So, IMO, if you need to link in a library or object file that was 
not compiled from D code, then you're cheating.  This is also one 
of the reasons why I suggested re-implementing software building 
blocks such as `memcpy`, `memset`, `malloc`, `free`, etc. in D as 
another potential project for the Autumn of Code.


So, to keep this software rasterizer project within scope, I 
suggest creating naive implementations of those functions in D 
for now to stay true to spirit of the project (no dependencies, 
everything in D), and "make the point".  You can those software 
building blocks in their own module, and let the user of the 
software rasterizer library link it their own implementation if 
they wish to deviate from the spirit of the proposal.


Mike


Re: Symmetry Autumn of Code

2018-07-23 Thread Mike Franklin via Digitalmars-d-announce

On Monday, 23 July 2018 at 06:00:14 UTC, Zheng (Vic) Luo wrote:

Thank you for the suggestion. Previously I interned at a VR 
company and had some experiences writing code related to 
graphics, but I don't have any experience on embedded system 
programming, so I was wondering that do I need to buy a 
microcontroller or just testing it on PC would be enough? If 
it's the former one, could you give some suggestions on the 
starter kit?


Well, I won't be the one paying you, and I don't think I'll be 
the one evaluating your work, so I don't think my opinion 
matters, but as the one who proposed the idea, I'll just explain 
my point of view.


Microcontrollers have limited CPU and memory resources.  
Generally, they operate by filling a dedicated buffer in RAM 
(width * height * pixel_format_size) with pixel data.  The size 
and format of the pixel data is generally decided at compile-time 
based on the needs of the application.  Some microcontrollers 
have a dedicated hardware peripheral to aid in the blitting and 
blending of pixel data, but most don't.  So, for all intents and 
purposes, this project is a software rasterizer in D; you 
definitely won't find any CUDA cores here.


Understanding the capabilities and limitations of the 
microcontrollers will give you some perspective and understanding 
about the design tradeoffs you will most certainly need to make, 
but, once you have that perspective, in the end, you're just 
filling a buffer with pixel data, and I don't see why one 
couldn't do the vast majority (if not all) of development for 
that on their PC.


That being said, getting a low-speed MCU with as little memory as 
256KB animating an LCD display can be a thrilling experience.  If 
you're interested, I suggest obtaining one of the STM32 Discovery 
Kits with a built-in LCD screen.  See 
https://www.st.com/en/evaluation-tools/stm32-mcu-discovery-kits.html?querycriteria=productId=LN1848 (Typically one ofSTM32F4 or STM32F7 models)


This is the one that I have, and it only costs about $30:  
https://www.st.com/content/st_com/en/products/evaluation-tools/product-evaluation-tools/mcu-eval-tools/stm32-mcu-eval-tools/stm32-mcu-discovery-kits/32f429idiscovery.html#samplebuy-scroll  Furthermore, I've already created the platform code for you at https://github.com/JinShil/stm32f42_discovery_demo, so you should just need to import your library to main.d and try it out.


Mike




Re: Symmetry Autumn of Code

2018-07-23 Thread Zheng Luo (Vic) via Digitalmars-d-announce

On Sunday, 22 July 2018 at 17:12:31 UTC, Ecstatic Coder wrote:
I'm interested in the "Graphics library for resource 
constrained embedded systems" project and have some spare time 
this autumn, but I have some questions:
- Does this project aim at creating a hardware-agnostic 
rasterizer supporting a few primitives like https://skia.org/ 
or implementing a full GUI library like emWin rendering widget 
and handling I/O events such as mouse? The latter one sounds a 
little bit challenging to finish in four months
- In the past year I primarily wrote C++ and don't have much 
experiences with production-level D programming, can I get 
involved into this program?


Thanks


IMHO no need to reinvent the wheel for that.

You can probably do both in four months, if you just "port" 
(separately) and bind the code of the two following libraries :

1/ swGL (https://github.com/h0MER247/swGL)
2/ Nuklear (https://github.com/vurtun/nuklear)

They have a very open design, and are already quite well 
optimized for speed and memory consumption.


Moreover this would allow the D port of the Nuklear library to 
also use a hardware accelerated renderer on desktop platforms.


Nice isn't it ?

And I'd be glad to mentor you on this :)


Thanks! Porting seems to be easier than creating a library from 
scratch. The Nuklear library looks like a great candidate for 
porting since it only has a few external dependencies. swGL, 
however, depends on a large set of C++ standard library and 
threading model, which makes it difficult to create a 
dependency-free port.


Moreover, The term "dependency-free" in the project description 
often confuses me, because as a hardware-agnostic library the 
project does have to depend on external implementations like 
"sin"/"memset" or even "thread_start", and I'm not sure which 
kind of dependency is proper for this project: Should we assume a 
multi-threading model? Should this library rely on 
"malloc"/"free"? Correct me if my understanding is wrong since I 
had few experience on embedded programming.


Re: Symmetry Autumn of Code

2018-07-23 Thread Zheng Luo (Vic) via Digitalmars-d-announce

On Sunday, 22 July 2018 at 22:07:00 UTC, Mike Franklin wrote:
The software should be efficient enough to use on embedded 
systems like https://github.com/JinShil/stm32f42_discovery_demo
 Under that constraint, you'd probably want to try to 
accomplish the task with the -betterC-like subset of the 
language (https://dlang.org/spec/betterc.html).  That being 
said, there's no reason the software couldn't be used on a PC 
with resources to spare, and it would probably be easier to do 
the development on a PC and just verify the implementation on 
an microcontroller periodically.


I, myself, don't have much experience in graphics, so I don't 
know if I'd be a very good mentor, but if you have any 
questions about the goal or use case for the project, let me 
know.


Thank you for the suggestion. Previously I interned at a VR 
company and had some experiences writing code related to 
graphics, but I don't have any experience on embedded system 
programming, so I was wondering that do I need to buy a 
microcontroller or just testing it on PC would be enough? If it's 
the former one, could you give some suggestions on the starter 
kit?


Re: Symmetry Autumn of Code

2018-07-22 Thread Mike Franklin via Digitalmars-d-announce

On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote:

We're also in search of potential mentors and ideas for student 
projects


I posted a number of different ideas for ROSEdu Summer of Code at 
https://forum.dlang.org/post/aqlzjjfrwwxswptil...@forum.dlang.org.  I believe those ideas could also be considered for Symmetry Autumn of Code.


Mike


Re: Symmetry Autumn of Code

2018-07-22 Thread Mike Franklin via Digitalmars-d-announce

On Sunday, 22 July 2018 at 16:33:10 UTC, Zheng (Vic) Luo wrote:

I'm interested in the "Graphics library for resource 
constrained embedded systems" project and have some spare time 
this autumn, but I have some questions:
- Does this project aim at creating a hardware-agnostic 
rasterizer supporting a few primitives like https://skia.org/ 
or implementing a full GUI library like emWin rendering widget 
and handling I/O events such as mouse? The latter one sounds a 
little bit challenging to finish in four months


I'm JinShil, the one who proposed the idea.

As far as I'm concerned, if you're doing the work, you can make 
it into whatever you'd like, but I would consider a basic 2D, 
anti-aliasing rasterizer to be a success.  I have in mind 
something like http://www.antigrain.com or Skia.  A bonus would 
be a font renderer that leverages the aforementioned rasterizer 
(See also 
https://medium.com/@raphlinus/inside-the-fastest-font-renderer-in-the-world-75ae5270c445).


The software should be efficient enough to use on embedded 
systems like https://github.com/JinShil/stm32f42_discovery_demo  
Under that constraint, you'd probably want to try to accomplish 
the task with the -betterC-like subset of the language 
(https://dlang.org/spec/betterc.html).  That being said, there's 
no reason the software couldn't be used on a PC with resources to 
spare, and it would probably be easier to do the development on a 
PC and just verify the implementation on an microcontroller 
periodically.


I, myself, don't have much experience in graphics, so I don't 
know if I'd be a very good mentor, but if you have any questions 
about the goal or use case for the project, let me know.


- In the past year I primarily wrote C++ and don't have much 
experiences with production-level D programming, can I get 
involved into this program?


I think much of your experience with C++ will carry forward to D, 
but there will still be a learning curve.


Mike




Re: Symmetry Autumn of Code

2018-07-22 Thread Seb via Digitalmars-d-announce

On Sunday, 22 July 2018 at 16:33:10 UTC, Zheng (Vic) Luo wrote:
I'm interested in the "Graphics library for resource 
constrained embedded systems" project and have some spare time 
this autumn, but I have some questions:
- Does this project aim at creating a hardware-agnostic 
rasterizer supporting a few primitives like https://skia.org/ 
or implementing a full GUI library like emWin rendering widget 
and handling I/O events such as mouse? The latter one sounds a 
little bit challenging to finish in four months


I can't say too much about this as I'm not that familiar with the 
proposed project, but here's what I can say: it's just a 
suggestion. It's definition isn't set in stone and is just a 
pointer to a problem to get you started.
For more pointers and discussion, I recommend to ping Mike 
(https://github.com/JinShil) as IIRC he was the one who proposed 
this project and could also be a potential mentor.

(and I think the aim is sth. to sth. akin to Skia)

- In the past year I primarily wrote C++ and don't have much 
experiences with production-level D programming, can I get 
involved into this program?


Yes. Applicants aren't expected to be D experts. Also sound 
experience in C++ will definitely help you (especially for such a 
low-level project).
AFAICT a sound proposal and showing that you are serious about 
the project/commitment is more important than your D history.
There are a few posts in the D blog about the GSoC in 2016 
(https://dlang.org/blog/category/gsoc) which provide a few more 
insights, but in short none of the students from GSoC 2016 were 
well-known member of the D community before the GSoC.






Re: Symmetry Autumn of Code

2018-07-22 Thread Ecstatic Coder via Digitalmars-d-announce
I'm interested in the "Graphics library for resource 
constrained embedded systems" project and have some spare time 
this autumn, but I have some questions:
- Does this project aim at creating a hardware-agnostic 
rasterizer supporting a few primitives like https://skia.org/ 
or implementing a full GUI library like emWin rendering widget 
and handling I/O events such as mouse? The latter one sounds a 
little bit challenging to finish in four months
- In the past year I primarily wrote C++ and don't have much 
experiences with production-level D programming, can I get 
involved into this program?


Thanks


IMHO no need to reinvent the wheel for that.

You can probably do both in four months, if you just "port" 
(separately) and bind the code of the two following libraries :

1/ swGL (https://github.com/h0MER247/swGL)
2/ Nuklear (https://github.com/vurtun/nuklear)

They have a very open design, and are already quite well 
optimized for speed and memory consumption.


Moreover this would allow the D port of the Nuklear library to 
also use a hardware accelerated renderer on desktop platforms.


Nice isn't it ?

And I'd be glad to mentor you on this :)




Re: Symmetry Autumn of Code

2018-07-20 Thread Joakim via Digitalmars-d-announce

On Saturday, 14 July 2018 at 07:30:26 UTC, Joakim wrote:

On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote:
Thanks to the sponsorship of Symmetry Investments, the D 
Language Foundation is happy to announce the Symmetry Autumn 
of Code!


We're looking for three university students to hack on D this 
autumn, from September - January. We're also in search of 
potential mentors and ideas for student projects. Head to the 
Symmetry Autumn of Code page for the details.


Spread the word!

https://dlang.org/blog/symmetry-autumn-of-code/


"join us" for
"submit an application" -> apply (confusing otherwise)

Maybe sum up and make clear that each student can earn between 
$3000-4000, instead of capped at $1k.


This is why I suggested stating the total sum clearly:

"20 hours/week for four months for a salary of $1000 seems kind 
of crappy. Am I reading this wrong?"

https://www.reddit.com/r/programming/comments/8yram3/comment/e2gttg2

You're currently requiring people to read carefully and do the 
math to understand this: most people do neither.




Re: Symmetry Autumn of Code

2018-07-18 Thread Ecstatic Coder via Digitalmars-d-announce
I've said, that if we get signatures, I'll build the damn thing 
myself.
Signatures give a very lightweight vtable implementation while 
also giving conceptual representation of structs+classes.


Which for an event loop, is a very desirable thing to have. But 
alas, I'm waiting on my named parameter DIP and seeing where 
that goes, before continuing work on signatures.


Thanks for the clear explanations.

Glad to know that you're on this.

I hope the importance of your work for D's "competivity" will be 
truly recognized.


Re: Symmetry Autumn of Code

2018-07-18 Thread rikki cattermole via Digitalmars-d-announce

On 18/07/2018 10:53 PM, Ecstatic Coder wrote:

On Wednesday, 18 July 2018 at 03:19:53 UTC, rikki cattermole wrote:

On 18/07/2018 5:36 AM, Ecstatic Coder wrote:

On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote:
Thanks to the sponsorship of Symmetry Investments, the D Language 
Foundation is happy to announce the Symmetry Autumn of Code!


We're looking for three university students to hack on D this 
autumn, from September - January. We're also in search of potential 
mentors and ideas for student projects. Head to the Symmetry Autumn 
of Code page for the details.


Spread the word!

https://dlang.org/blog/symmetry-autumn-of-code/


I'd suggest adding the following to SAOC 2018 project proposals :

1/ adding a Go-like http module to the standard library
2/ adding Go-like async IO management to the standard library, i.e. 
fibers communicating through blocking channels


Until we get an event loop in druntime, both of these options are off 
the table.


Sad.

Then I'd suggest to add the event loop implementation to SAOC 2018 too, 
because the absence of a default http module in D's standard library may 
have very good justifications, but I'm still convinced that it doesn't 
help when trying to "sell" it to modern developers, considering that 
nowadays MANY of the applications they will develop in a professional 
facility will have to integrate http code to access or update the 
company's data.


I've said, that if we get signatures, I'll build the damn thing myself.
Signatures give a very lightweight vtable implementation while also 
giving conceptual representation of structs+classes.


Which for an event loop, is a very desirable thing to have. But alas, 
I'm waiting on my named parameter DIP and seeing where that goes, before 
continuing work on signatures.


Re: Symmetry Autumn of Code

2018-07-18 Thread Ecstatic Coder via Digitalmars-d-announce
On Wednesday, 18 July 2018 at 03:19:53 UTC, rikki cattermole 
wrote:

On 18/07/2018 5:36 AM, Ecstatic Coder wrote:

On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote:
Thanks to the sponsorship of Symmetry Investments, the D 
Language Foundation is happy to announce the Symmetry Autumn 
of Code!


We're looking for three university students to hack on D this 
autumn, from September - January. We're also in search of 
potential mentors and ideas for student projects. Head to the 
Symmetry Autumn of Code page for the details.


Spread the word!

https://dlang.org/blog/symmetry-autumn-of-code/


I'd suggest adding the following to SAOC 2018 project 
proposals :


1/ adding a Go-like http module to the standard library
2/ adding Go-like async IO management to the standard library, 
i.e. fibers communicating through blocking channels


Until we get an event loop in druntime, both of these options 
are off the table.


Sad.

Then I'd suggest to add the event loop implementation to SAOC 
2018 too, because the absence of a default http module in D's 
standard library may have very good justifications, but I'm still 
convinced that it doesn't help when trying to "sell" it to modern 
developers, considering that nowadays MANY of the applications 
they will develop in a professional facility will have to 
integrate http code to access or update the company's data.


Re: Symmetry Autumn of Code

2018-07-18 Thread jmh530 via Digitalmars-d-announce

On Wednesday, 18 July 2018 at 10:35:04 UTC, Andre Pany wrote:


Proposal: Multi IDE debugger support (for windows)
[snip]


This is a good idea too.


Re: Symmetry Autumn of Code

2018-07-18 Thread Andre Pany via Digitalmars-d-announce

On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote:
Thanks to the sponsorship of Symmetry Investments, the D 
Language Foundation is happy to announce the Symmetry Autumn of 
Code!


We're looking for three university students to hack on D this 
autumn, from September - January. We're also in search of 
potential mentors and ideas for student projects. Head to the 
Symmetry Autumn of Code page for the details.


Spread the word!

https://dlang.org/blog/symmetry-autumn-of-code/


Another proposal: Adding D support to gRPC

I started to add D support to gRPC but paused it due to lack of 
knowledge and time.
One solution would be to add a D wrapper to 
https://github.com/grpc/grpc/tree/master/src by making use of the 
C interface of gRPC 
(https://github.com/grpc/grpc/tree/master/include/grpc).


As template e.g. C++ or python could be used 
(https://github.com/grpc/grpc/tree/master/src).


Kind regards
André


Re: Symmetry Autumn of Code

2018-07-18 Thread Andre Pany via Digitalmars-d-announce

On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote:
Thanks to the sponsorship of Symmetry Investments, the D 
Language Foundation is happy to announce the Symmetry Autumn of 
Code!


We're looking for three university students to hack on D this 
autumn, from September - January. We're also in search of 
potential mentors and ideas for student projects. Head to the 
Symmetry Autumn of Code page for the details.


Spread the word!

https://dlang.org/blog/symmetry-autumn-of-code/


Proposal: Multi IDE debugger support (for windows)

Mago, the debug engine used in VisualD, has also a tool called 
Mago-MI which
has a GDB compatible interface. Therefore you can use on Windows 
Mago-MI as

replacement for GDB.
Several IDEs uses this feature to enable debugging with 1 code 
line for Windows/Linux/MacOS.
It is used in experimental state in IntelliJ, also there is 
support in Visual Studio Code

and of course DLangIDE for which it was originally built.

There are several issues which could be addressed in Symmetry 
Autumn of Code:


- Mago-MI is written in C++. This makes bug solving hard. 
Rewriting of Mago-MI to D might

make sense.

- While the installation of Mago-MI is easy if you want to debug 
OMF executables it is very hard if you want to debug COFF 
executables. You need another executable from Mago,
you have to register DLLs via regserv and you manually have to 
create a registry entry.

An installation procedure for installing Mago-MI would be great.

- There are some bugs in Mago-MI / and DMD (wrong debug 
information) which makes debugging hard. 
(https://github.com/rainers/mago/issues/21, 
https://github.com/rainers/mago/issues/23). Also Mago-Mi misses 
features (https://github.com/rainers/mago/issues/14). There are 
more bugs but not investigated so far.


- As Visual Studio Code is already is already a topic for DLang 
Foundation, using this as reference user of Mago-MI would make 
sense.



While this proposal seems only windows related, the nature of 
Mago-Mi is to enable IDEs having 1 code line for debugging on 
Windows/Linux/MacOS. Therefore overall investing into this topic 
is good for all platforms.


Kind regards
André







Re: Symmetry Autumn of Code

2018-07-17 Thread rikki cattermole via Digitalmars-d-announce

On 18/07/2018 5:36 AM, Ecstatic Coder wrote:

On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote:
Thanks to the sponsorship of Symmetry Investments, the D Language 
Foundation is happy to announce the Symmetry Autumn of Code!


We're looking for three university students to hack on D this autumn, 
from September - January. We're also in search of potential mentors 
and ideas for student projects. Head to the Symmetry Autumn of Code 
page for the details.


Spread the word!

https://dlang.org/blog/symmetry-autumn-of-code/


I'd suggest adding the following to SAOC 2018 project proposals :

1/ adding a Go-like http module to the standard library
2/ adding Go-like async IO management to the standard library, i.e. 
fibers communicating through blocking channels


Until we get an event loop in druntime, both of these options are off 
the table.


Re: Symmetry Autumn of Code

2018-07-17 Thread jmh530 via Digitalmars-d-announce

On Tuesday, 17 July 2018 at 17:36:12 UTC, Ecstatic Coder wrote:


I'd suggest adding the following to SAOC 2018 project proposals 
:

[snip]



Things on my wishlist:
Improved REPL support (esp Windows)
Jupyter kernel for D (someone might be working on this)
Very smooth integration between mir-ndslice and the most common 
data science languages: Julia, Numpy, R, Matlab/Octave (might 
need way to call Matlab/Octave?). Some already exists, but 
clear/good documentation or tutorials would be good contribution 
in those cases.

mir project for pandas-like dataframes
mir project for regression, built on mir-lapack/lubeck


Re: Symmetry Autumn of Code

2018-07-17 Thread Ecstatic Coder via Digitalmars-d-announce

On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote:
Thanks to the sponsorship of Symmetry Investments, the D 
Language Foundation is happy to announce the Symmetry Autumn of 
Code!


We're looking for three university students to hack on D this 
autumn, from September - January. We're also in search of 
potential mentors and ideas for student projects. Head to the 
Symmetry Autumn of Code page for the details.


Spread the word!

https://dlang.org/blog/symmetry-autumn-of-code/


I'd suggest adding the following to SAOC 2018 project proposals :

1/ adding a Go-like http module to the standard library
2/ adding Go-like async IO management to the standard library, 
i.e. fibers communicating through blocking channels
3/ possibility to use automatic reference counting (with weak 
references) instead of garbage collection for automatic unused 
memory deallocation
4/ adding automatic cycle detection and collection to the 
automatic reference counting system


(https://wiki.dlang.org/SAOC_2018_ideas)

Thanks :)



Re: Symmetry Autumn of Code

2018-07-15 Thread Anton Fediushin via Digitalmars-d-announce

On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote:
Thanks to the sponsorship of Symmetry Investments, the D 
Language Foundation is happy to announce the Symmetry Autumn of 
Code!


We're looking for three university students to hack on D this 
autumn, from September - January. We're also in search of 
potential mentors and ideas for student projects. Head to the 
Symmetry Autumn of Code page for the details.


Spread the word!

https://dlang.org/blog/symmetry-autumn-of-code/


I wish I could participate but even though I am 18 years old, I 
am studying at the secondary school. I hope something similar 
gets arranged next year.


Good luck to all of the participants!




Re: Symmetry Autumn of Code

2018-07-14 Thread Joakim via Digitalmars-d-announce

On Saturday, 14 July 2018 at 13:57:12 UTC, Laeeth Isharc wrote:

On Saturday, 14 July 2018 at 07:30:26 UTC, Joakim wrote:

On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote:
Thanks to the sponsorship of Symmetry Investments, the D 
Language Foundation is happy to announce the Symmetry Autumn 
of Code!


We're looking for three university students to hack on D this 
autumn, from September - January. We're also in search of 
potential mentors and ideas for student projects. Head to the 
Symmetry Autumn of Code page for the details.


Spread the word!

https://dlang.org/blog/symmetry-autumn-of-code/


"join us" for
"submit an application" -> apply (confusing otherwise)

Maybe sum up and make clear that each student can earn between 
$3000-4000, instead of capped at $1k.


Why limit it to students? If the goal is to have a youth 
injection, just use an age limit- say 18-25- I see no reason 
for the stupid college bias.


Hi Joakim.

Thanks for suggestions.


Sure, thanks for funding this worthwhile initiative.

I don't know what legal aspects there are relating to targeting 
age in different countries.  We are definitely targeting people 
earlier in their careers.  I agree with you that talent isn't 
only found amongst students, and I've in the past hired someone 
that didn't even finish high school and has gone on to do good 
work for the D community.  So as far as Symmetry goes we are 
very open to unusual talent.  A degree is just one piece of 
interesting information.


Yes, but the current requirements exclude, for example, recent 
college grads who may not be employed yet and might do much 
better work than a harried college student. I don't know the 
legal risks in detail, but I can't imagine the risk/reward to 
opening it up would favor the current limitation.


Re: Symmetry Autumn of Code

2018-07-14 Thread Laeeth Isharc via Digitalmars-d-announce

On Saturday, 14 July 2018 at 07:09:21 UTC, Timoses wrote:

On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote:
Thanks to the sponsorship of Symmetry Investments, the D 
Language Foundation is happy to announce the Symmetry Autumn 
of Code!


We're looking for three university students to hack on D this 
autumn, from September - January. We're also in search of 
potential mentors and ideas for student projects. Head to the 
Symmetry Autumn of Code page for the details.


Spread the word!

https://dlang.org/blog/symmetry-autumn-of-code/



Typos
 "D programming lagnauge" (looks a bit french) : D
 "accept yor offer."


Thanks for corrections.


Great! Wish I was a student still : D.


Me too !  Kidding aside, if you would be interested in a job 
programming mostly or partly in D please see our website.  Lots 
of roles we haven't yet had time to post.





Re: Symmetry Autumn of Code

2018-07-14 Thread Laeeth Isharc via Digitalmars-d-announce

On Saturday, 14 July 2018 at 07:30:26 UTC, Joakim wrote:

On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote:
Thanks to the sponsorship of Symmetry Investments, the D 
Language Foundation is happy to announce the Symmetry Autumn 
of Code!


We're looking for three university students to hack on D this 
autumn, from September - January. We're also in search of 
potential mentors and ideas for student projects. Head to the 
Symmetry Autumn of Code page for the details.


Spread the word!

https://dlang.org/blog/symmetry-autumn-of-code/


"join us" for
"submit an application" -> apply (confusing otherwise)

Maybe sum up and make clear that each student can earn between 
$3000-4000, instead of capped at $1k.


Why limit it to students? If the goal is to have a youth 
injection, just use an age limit- say 18-25- I see no reason 
for the stupid college bias.


Hi Joakim.

Thanks for suggestions.

I don't know what legal aspects there are relating to targeting 
age in different countries.  We are definitely targeting people 
earlier in their careers.  I agree with you that talent isn't 
only found amongst students, and I've in the past hired someone 
that didn't even finish high school and has gone on to do good 
work for the D community.  So as far as Symmetry goes we are very 
open to unusual talent.  A degree is just one piece of 
interesting information.


https://symmetryinvestments.com/careers/

There's quite a lot of work involved in organising something like 
this, and I'm very grateful to the D Foundation for doing such an 
excellent job.


We can refine this for next year, but I wanted to make a start.


Laeeth


Re: Symmetry Autumn of Code

2018-07-14 Thread Joakim via Digitalmars-d-announce

On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote:
Thanks to the sponsorship of Symmetry Investments, the D 
Language Foundation is happy to announce the Symmetry Autumn of 
Code!


We're looking for three university students to hack on D this 
autumn, from September - January. We're also in search of 
potential mentors and ideas for student projects. Head to the 
Symmetry Autumn of Code page for the details.


Spread the word!

https://dlang.org/blog/symmetry-autumn-of-code/


"join us" for
"submit an application" -> apply (confusing otherwise)

Maybe sum up and make clear that each student can earn between 
$3000-4000, instead of capped at $1k.


Why limit it to students? If the goal is to have a youth 
injection, just use an age limit- say 18-25- I see no reason for 
the stupid college bias.


Re: Symmetry Autumn of Code

2018-07-14 Thread Timoses via Digitalmars-d-announce

On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote:
Thanks to the sponsorship of Symmetry Investments, the D 
Language Foundation is happy to announce the Symmetry Autumn of 
Code!


We're looking for three university students to hack on D this 
autumn, from September - January. We're also in search of 
potential mentors and ideas for student projects. Head to the 
Symmetry Autumn of Code page for the details.


Spread the word!

https://dlang.org/blog/symmetry-autumn-of-code/


Great! Wish I was a student still : D.

Typos
 "D programming lagnauge" (looks a bit french) : D
 "accept yor offer."


Re: Symmetry Autumn of Code

2018-07-14 Thread Seb via Digitalmars-d-announce

On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote:
Thanks to the sponsorship of Symmetry Investments, the D 
Language Foundation is happy to announce the Symmetry Autumn of 
Code!


We're looking for three university students to hack on D this 
autumn, from September - January. We're also in search of 
potential mentors and ideas for student projects. Head to the 
Symmetry Autumn of Code page for the details.


Spread the word!

https://dlang.org/blog/symmetry-autumn-of-code/


Reddit: 
https://www.reddit.com/r/programming/comments/8yram3/symmetry_autumn_of_code/


Symmetry Autumn of Code

2018-07-14 Thread Mike Parker via Digitalmars-d-announce
Thanks to the sponsorship of Symmetry Investments, the D Language 
Foundation is happy to announce the Symmetry Autumn of Code!


We're looking for three university students to hack on D this 
autumn, from September - January. We're also in search of 
potential mentors and ideas for student projects. Head to the 
Symmetry Autumn of Code page for the details.


Spread the word!

https://dlang.org/blog/symmetry-autumn-of-code/