Re: [Semi-OT] Cross-Platform GitHub Action
On Tuesday, 8 June 2021 at 20:39:45 UTC, Steven Schveighoffer wrote: I might have a need for it. When I moved mysql-native to github actions, I could no longer run mysql integration tests on MacOS or Windows, since there is no docker support for a mysql instance on those platforms. I can probably install mysql manually at some point, but I haven't looked into it. At least for MacOS, this sounds like a way I can run a mysql instance that the MacOS host can talk to. I don't think that would work. The VM is only running during one step. When the step is done, the VM is terminated. Also, Docker doesn't support FreeBSD or OpenBSD. I don't plan to add platforms which GitHub Actions natively support. On the other hand, it seems pretty straightforward to install MySQL natively on macOS: ``` brew install mysql brew services start mysql ``` There are also several GitHub Actions that will setup MySQL: https://github.com/marketplace?type=actions&query=mysql -- /Jacob Carlborg
Re: Keep up with ImportC using hashtag #ImportC
On Tuesday, 8 June 2021 at 06:39:51 UTC, Walter Bright wrote: https://twitter.com/hashtag/ImportC?src=hashtag_click There are a couple ancient tweets there, just ignore them. Nice car collection you've got there :) ~Brian
Re: [Semi-OT] Cross-Platform GitHub Action
On Wednesday, 9 June 2021 at 14:05:33 UTC, Steven Schveighoffer wrote: On 6/9/21 6:49 AM, Steven Schveighoffer wrote: On 6/9/21 4:17 AM, evilrat wrote: Just a note from terms of service: you get 2000 minutes available for Github Actions every month for free, however for using Windows hosts it takes 2x minutes and Mac hosts takes 5x minutes. I think this only applies to private repositories: Confirmed: https://github.community/t/for-public-repositories-is-there-a-monthly-limit-on-minutes/129017 -Steve Ok then, good to know. Must be overly paranoid ToS checking kicked in :(
Re: [Semi-OT] Cross-Platform GitHub Action
On Tuesday, 8 June 2021 at 19:10:41 UTC, Jacob Carlborg wrote: # Cross-Platform GitHub Action I would like to announce the first version of a project I've been working on for a while. It's not anything D specific or implemented in D, but it can be used with D projects. This project provides a GitHub action for running GitHub Action workflows on multiple platforms. This includes platforms that GitHub Actions don't natively support. It currently supports FreeBSD and OpenBSD. [...] Neat. ~Brian
Re: [Semi-OT] Cross-Platform GitHub Action
On 6/9/21 6:49 AM, Steven Schveighoffer wrote: On 6/9/21 4:17 AM, evilrat wrote: Just a note from terms of service: you get 2000 minutes available for Github Actions every month for free, however for using Windows hosts it takes 2x minutes and Mac hosts takes 5x minutes. I think this only applies to private repositories: Confirmed: https://github.community/t/for-public-repositories-is-there-a-monthly-limit-on-minutes/129017 -Steve
Re: [Semi-OT] Cross-Platform GitHub Action
On 6/9/21 4:17 AM, evilrat wrote: On Wednesday, 9 June 2021 at 05:20:14 UTC, Jacob Carlborg wrote: On Tuesday, 8 June 2021 at 19:40:01 UTC, kinke wrote: Thx for sharing! Interesting; I've recently worked on something similar, but on Linux hosts and using a kvm/qemu/libvirt stack for running CI jobs in Windows VMs. Yeah, this is running on macOS instead because the Linux and the Windows runners on GitHub actions don't support nested virtualization. Just a note from terms of service: you get 2000 minutes available for Github Actions every month for free, however for using Windows hosts it takes 2x minutes and Mac hosts takes 5x minutes. I think this only applies to private repositories: ``` *GitHub Actions usage is free for both public repositories and self-hosted runners.* For private repositories, each GitHub account receives a certain amount of free minutes and storage, depending on the product used with the account. ``` (emphasis mine) I do not see any balance of minutes spent on github actions on mysql-native, and I'm pretty sure I would have exhausted 2000 minutes already. -Steve
Re: GCC 11.1 Released
On Wednesday, 9 June 2021 at 07:15:40 UTC, Elronnd wrote: On Thursday, 27 May 2021 at 01:04:37 UTC, Iain Buclaw wrote: 2. The promise of dynamically generating D bindings from C headers never really materialized. Actual work of adding a GCC compiler switch to dump D code was [completed to around 95% of what was needed](https://github.com/D-Programming-GDC/gcc/compare/1cb2d1d5ce178cb68f0bd475299d2e0b25a4a756...ibuclaw/dumpspec), but then stalled on the just how this feature would integrate this into druntime. Could this also support c++? If so, that seems like it could potentially be a reason to continue development on it preferentially to importC. Calypso-ish :) Because it works on the debug info/generic tree level, all languages GCC supports can be used to emit D bindings for their code.
Re: [Semi-OT] Cross-Platform GitHub Action
On Wednesday, 9 June 2021 at 05:20:14 UTC, Jacob Carlborg wrote: On Tuesday, 8 June 2021 at 19:40:01 UTC, kinke wrote: Thx for sharing! Interesting; I've recently worked on something similar, but on Linux hosts and using a kvm/qemu/libvirt stack for running CI jobs in Windows VMs. Yeah, this is running on macOS instead because the Linux and the Windows runners on GitHub actions don't support nested virtualization. Just a note from terms of service: you get 2000 minutes available for Github Actions every month for free, however for using Windows hosts it takes 2x minutes and Mac hosts takes 5x minutes.
DConf Online & Symmetry Autumn of Code 2021
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&list=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&list=PLIldXzSkPUXWsvFA4AuawPoMnq9Bh1lIZ #dconf #saoc
Re: GCC 11.1 Released
On Thursday, 27 May 2021 at 01:04:37 UTC, Iain Buclaw wrote: 2. The promise of dynamically generating D bindings from C headers never really materialized. Actual work of adding a GCC compiler switch to dump D code was [completed to around 95% of what was needed](https://github.com/D-Programming-GDC/gcc/compare/1cb2d1d5ce178cb68f0bd475299d2e0b25a4a756...ibuclaw/dumpspec), but then stalled on the just how this feature would integrate this into druntime. Could this also support c++? If so, that seems like it could potentially be a reason to continue development on it preferentially to importC. Calypso-ish :)