Re: Symmetry Investments and the D Language Foundation are Hiring
On Wednesday, 2 September 2020 at 12:50:35 UTC, Steven Schveighoffer wrote: On 9/1/20 2:38 PM, Patrick Schluter wrote: On Tuesday, 1 September 2020 at 13:28:07 UTC, Steven Schveighoffer wrote: On 9/1/20 5:38 AM, Stefan Koch wrote: [...] I have to agree with Jacob -- what common situation is changing the timestamps of your files but not the data? git checkout branch git checkout - Is that a part of normal development process? Typically when I want incremental building, I'm editing a file, then rebuilding. I mean, you check out a different branch, but you don't want to rebuild everything? I would. And with D, where there are so many templates, almost everything is going to need rebuilding anyway. This update to dub might replace a build-time problem with a build inconsistency problem (hopefully linker error, but possibly code generation differences). Yes, it happens from time to time and on makefile based it involves recompilations of unchanged files but granted it could be just me.
Re: D mentionned in the ARTIBA webzine for an article on Silq
On Wednesday, 2 September 2020 at 18:42:25 UTC, starcanopy wrote: On Wednesday, 2 September 2020 at 13:31:25 UTC, Adam D. Ruppe wrote: But what I think would be really cool though is like an internal twitter... no size limit but also a culture that there's no expectation for length and quality. Just casual "think out loud" or in-progress project updates that can split into chat. I could write that in a few hours. then blog about it omg. but the hard part isn't technical, it is just getting people to actually use it. Mastodon instance? But if you do create an ad-hoc service, I'd very much use it if you didn't necessitate registration with an email. I second a Mastodon instance. Would be great for short thoughts.
Re: D mentionned in the ARTIBA webzine for an article on Silq
On Wednesday, 2 September 2020 at 07:38:01 UTC, JN wrote: One thing I always feel this forum is missing is a section for work in progress projects, even if they never end up anywhere. Right now people are shy about their projects, so the only way you learn about them is by finding mentions of them such as these, when they're released on DUB repository or when someone makes an announcement post on Announce. The problem with Announce is that people only use it for official releases - and that's good - but we're missing out on all the work in progress buzz. [...] I'd really love a "Projects" section here on these forums, with perhaps sections for "WIP" and "Releases", so that people can post all the cool stuff they are working on for others to see. I'd also really like this to be a thing. On Wednesday, 2 September 2020 at 13:31:25 UTC, Adam D. Ruppe wrote: But what I think would be really cool though is like an internal twitter... no size limit but also a culture that there's no expectation for length and quality. Just casual "think out loud" or in-progress project updates that can split into chat. I could write that in a few hours. then blog about it omg. but the hard part isn't technical, it is just getting people to actually use it. Mastodon instance? But if you do create an ad-hoc service, I'd very much use it if you didn't necessitate registration with an email.
Re: D mentionned in the ARTIBA webzine for an article on Silq
On Wednesday, 2 September 2020 at 07:38:01 UTC, JN wrote: One thing I always feel this forum is missing is a section for work in progress projects, even if they never end up anywhere. Yeah, I often want a place to just gab. I kinda do in my blog, but that's more often something that is more finished since I feel like a blog post needs to have some more length to it: http://dpldocs.info/this-week-in-d/Blog.html I tweet from time to time but it is hard to fit code examples in there, like this one last night https://twitter.com/adamdruppe/status/1300914727627960320 yeah that took some trimming. of course if you are on the #d IRC channel you can often find me basically talking to myself as I think out loud about whatever code I'm doing at the moment... lol But what I think would be really cool though is like an internal twitter... no size limit but also a culture that there's no expectation for length and quality. Just casual "think out loud" or in-progress project updates that can split into chat. I could write that in a few hours. then blog about it omg. but the hard part isn't technical, it is just getting people to actually use it. I always reference the old dsource forums - http://dsource.org/forums/ phpbb :) :) :)
Re: Symmetry Investments and the D Language Foundation are Hiring
On 9/1/20 2:38 PM, Patrick Schluter wrote: On Tuesday, 1 September 2020 at 13:28:07 UTC, Steven Schveighoffer wrote: On 9/1/20 5:38 AM, Stefan Koch wrote: On Tuesday, 1 September 2020 at 09:09:36 UTC, Jacob Carlborg wrote: BTW, is timestamps vs SHA-1 hashing really the most pressing issue with Dub? We think that not recompiling certain modules which have not changed will improve our build times. And the task proposed is actually something that can go in without too much struggle. Whereas deeper issues in dub likely take much longer. I have to agree with Jacob -- what common situation is changing the timestamps of your files but not the data? git checkout branch git checkout - Is that a part of normal development process? Typically when I want incremental building, I'm editing a file, then rebuilding. I mean, you check out a different branch, but you don't want to rebuild everything? I would. And with D, where there are so many templates, almost everything is going to need rebuilding anyway. This update to dub might replace a build-time problem with a build inconsistency problem (hopefully linker error, but possibly code generation differences). -Steve
Re: Symmetry Investments and the D Language Foundation are Hiring
On Sunday, 30 August 2020 at 14:13:36 UTC, Mike Parker wrote: Looking for a full-time or part-time gig? Not only is Symmetry Investments hiring D programmers, they are also generously funding two positions for ecosystem work under the D Language Foundation. And they've put up a bounty for a new DUB feature. Read all about it here: https://dlang.org/blog/2020/08/30/symmetry-investments-and-the-d-language-foundation-are-hiring/ This is a great initiative! It's also a great opportunity for up-and-coming D contributors. I know that if I had this chance back many years ago when I was unemployed I would have jumped at the opportunity. So if you're in a similar position don't hesitate to apply!
Re: D mentionned in the ARTIBA webzine for an article on Silq
On Wednesday, 2 September 2020 at 07:38:01 UTC, JN wrote: On Wednesday, 2 September 2020 at 00:35:07 UTC, user1234 wrote: [...] One thing I always feel this forum is missing is a section for work in progress projects, even if they never end up anywhere. Right now people are shy about their projects, so the only way you learn about them is by finding mentions of them such as these, when they're released on DUB repository or when someone makes an announcement post on Announce. The problem with Announce is that people only use it for official releases - and that's good - but we're missing out on all the work in progress buzz. [...] This sounds like a great idea. +1
Re: Symmetry Investments and the D Language Foundation are Hiring
On 9/2/20 1:21 PM, drug wrote: On 9/2/20 1:18 PM, drug wrote: it will be seldom operation. Another way is to having several hashes simultaneously and select one of them depending on option value. I meant having several hashes in dub cache. Then if the user changes the hash algorithm dub checks calculated hashes against cached ones and avoids total rebuilding. Hmm, probably I was too confident. I've implemented support for both sha1 and sha256. It takes about 30 lines of additional code but what is worse the code uses classes now and dynamic memory allocation. I would avoid it. But in other it works as I expected: ``` dub build --hash=sha1 dub build --hash=sha256 ``` I do not test it in big projects but building dub does not show any difference in performance
Re: Symmetry Investments and the D Language Foundation are Hiring
On 9/2/20 1:18 PM, drug wrote: it will be seldom operation. Another way is to having several hashes simultaneously and select one of them depending on option value. I meant having several hashes in dub cache. Then if the user changes the hash algorithm dub checks calculated hashes against cached ones and avoids total rebuilding.
Re: Symmetry Investments and the D Language Foundation are Hiring
On 9/2/20 12:53 PM, Petar Kirov [ZombineDev] wrote: I understand your idea to make this configurable, but this will introduce more complexity than necessary because then $HOME/.dub/packages will have build artifacts based on both SHA1 and SHA256, and so dub will need to support mixed mode file integrity checking. Yesterday I thought about it and now I believe that if you change sha1 to sha256 or vice versa then dub just rebuild all because sha1 and sha256 has different sizes so cached hashes will be different to calculated ones and collisions are impossible. No need to support mixed mode. The drawback is total rebuild on algorithm changing but I suppose it will be seldom operation. Another way is to having several hashes simultaneously and select one of them depending on option value. Implementation of this will be simple.
Re: Symmetry Investments and the D Language Foundation are Hiring
On Tuesday, 1 September 2020 at 16:45:55 UTC, drug wrote: On 9/1/20 7:34 PM, Petar Kirov [ZombineDev] wrote: On Tuesday, 1 September 2020 at 12:59:00 UTC, Mathias LANG wrote: On Tuesday, 1 September 2020 at 09:09:36 UTC, Jacob Carlborg wrote: [...] Agreed. A server approach would probably scale much better, if the intent is to speed up the developer's CTR cycle. But in any case, thanks to Symmetry for doing this! This is huge. We need both a fs-watcher daemon support and "offline" incremental build support, based on SHA-256 (note that git is moving away from SHA1 to SHA256 [1]). I'd say SHA-256 is cheap enough these days [2] that I don't see a reason not to use it even for "online" fs-watcher daemon compilation. [1]: https://git-scm.com/docs/hash-function-transition/ [2]: https://bench.cr.yp.to/impl-hash/sha256.html We can easily use the following option: ``` dub build --hash=sha1 dub build --hash=sha256 ``` and let the user to make the final choice I understand your idea to make this configurable, but this will introduce more complexity than necessary because then $HOME/.dub/packages will have build artifacts based on both SHA1 and SHA256, and so dub will need to support mixed mode file integrity checking.
Re: D mentionned in the ARTIBA webzine for an article on Silq
On Wednesday, 2 September 2020 at 00:35:07 UTC, user1234 wrote: «Trivia: - Silq is written in the D programming language. - To install Silq via vscode, see: https://silq.ethz.ch/install. - A timeline of major developments in quantum computing: » https://www.artiba.org/blog/meet-silq-the-first-intuitive-high-level-language-for-quantum-computers One thing I always feel this forum is missing is a section for work in progress projects, even if they never end up anywhere. Right now people are shy about their projects, so the only way you learn about them is by finding mentions of them such as these, when they're released on DUB repository or when someone makes an announcement post on Announce. The problem with Announce is that people only use it for official releases - and that's good - but we're missing out on all the work in progress buzz. I always reference the old dsource forums - http://dsource.org/forums/ - click at that, it's a graveyard now, but imagine going there back then - so exciting! So many fun projects. It's fun to scroll around and see what people are doing and maybe even join them in their effort. Most of these projects never got out of wip stages and got abandoned later on, but they were certainly interesting. Even now, many years later I like to browse them to look for inspiration and see what people were after. I'd really love a "Projects" section here on these forums, with perhaps sections for "WIP" and "Releases", so that people can post all the cool stuff they are working on for others to see.