Re: Undefined symbol: _dyld_enumerate_tlv_storage (OSX)
On Wednesday, 16 October 2019 at 15:52:22 UTC, nazriel wrote: On Friday, 11 October 2019 at 11:38:27 UTC, Jacob Carlborg wrote: ... Should we bump https://github.com/dlang/dmd/blob/master/src/posix.mak#L143 ? BR, Damian I made two PRs, lets see how it plays out: - https://github.com/dlang/dmd/pull/10489 - https://github.com/Homebrew/homebrew-core/pull/45456 BR, Damian
Re: Undefined symbol: _dyld_enumerate_tlv_storage (OSX)
On Friday, 11 October 2019 at 11:38:27 UTC, Jacob Carlborg wrote: On 2019-10-10 20:12, Robert M. Münch wrote: I have two project I want to compile and both times get this error: Undefined symbols for architecture x86_64: "_dyld_enumerate_tlv_storage", referenced from: __d_dyld_getTLSRange in libphobos2.a(osx_tls.o) I'm wondering where this comes from as I didn't see it in the past. Any idea? Any D application needs to be compiled with DMD 2.087.1 or later or the corresponding version of LDC to be able to run on macOS Catalina. That includes DMD itself. The oldest version of DMD that runs on Catalina is 2.088.0, since any given version of DMD is compiled with the previous version. That means that all D applications out there for macOS needs to be recompiled. When I tried to build DMD from source (via updated brew tap) it failed due to fact that DMD_HOST is stuck on dmd.2.079.1 which seems to still use old symbols. Should we bump https://github.com/dlang/dmd/blob/master/src/posix.mak#L143 ? BR, Damian
Re: D plugin for Visual Studio Code
On Sunday, 22 May 2016 at 12:39:08 UTC, WebFreak001 wrote: On Sunday, 22 May 2016 at 12:33:47 UTC, nazriel wrote: On Sunday, 22 May 2016 at 12:16:36 UTC, Martin Nowak wrote: Anyone working on a D language plugin for Visual Studio's cross platform IDE? Of course we're late to the party, language support for everything else is already there. http://code.visualstudio.com/ How is the D language experience on Atom and Sublime Text? There is very good plugin already but it has rather bad name and due to that it isn't easily discoverable. https://marketplace.visualstudio.com/items?itemName=webfreak.code-d Is the name really that bad? I mean you can find it if you search for `dlang` in the editor because it has dlang in the description. Bad in the sense that you are required to actually do the searching ;) And it breaks the convention used by other language plugins. So as you can see by the presence of this topic, plugin (which is really top notch btw) is easily overlooked
Re: D plugin for Visual Studio Code
On Sunday, 22 May 2016 at 12:16:36 UTC, Martin Nowak wrote: Anyone working on a D language plugin for Visual Studio's cross platform IDE? Of course we're late to the party, language support for everything else is already there. http://code.visualstudio.com/ How is the D language experience on Atom and Sublime Text? There is very good plugin already but it has rather bad name and due to that it isn't easily discoverable. https://marketplace.visualstudio.com/items?itemName=webfreak.code-d
Re: How are you enjoying DConf? And where to go next?
On Friday, 6 May 2016 at 14:13:35 UTC, Andrei Alexandrescu wrote: The atmosphere here is great, and I'm curious how it feels for those who are watching remotely. Is the experience good? What can we do better? Also: we're talking about the DConf 2017 location. Please share any initial thoughts! Thanks, Andrei Czech Republic sounds good. Maybe Poland? It is cheap there as well. Whatever place you guys decide - as long as it is Europe I'm in :) Visas are always PITA. Best regards, Damian Ziemba
Re: Out for the week
On Thursday, 5 November 2015 at 14:55:07 UTC, Adrian Matoga wrote: On Thursday, 5 November 2015 at 14:09:46 UTC, nazriel wrote: On Wednesday, 4 November 2015 at 00:31:14 UTC, Andrei Alexandrescu wrote: I'm leaving for http://codedive.pl/en/agenda/ to destroy. Will be out for the week. -- Andrei Andrei destroyed once again with his talk: THREE COOL THINGS ABOUT D [1] Awesome! http://codedive.pl/en/agenda/three-cool-things-about-d/ Regards, Damian Ziemba Hope to see the recording, ehm, sooner rather than later. :) I wasn't fortunate enough to get inside for Andrei's afternoon talks. Btw. Damian, are you still around so we could chat a bit? I was amazed and on the same time proud ( I was there with co-workers ) how talk about D was occupied - every single seat was taken - amazing :) I am out already - we left building after Andrei's last talk - bummer that I didn't find this message earlier. Always excited to meet other d programmers!
Re: Out for the week
On Wednesday, 4 November 2015 at 00:31:14 UTC, Andrei Alexandrescu wrote: I'm leaving for http://codedive.pl/en/agenda/ to destroy. Will be out for the week. -- Andrei Andrei destroyed once again with his talk: THREE COOL THINGS ABOUT D [1] Awesome! http://codedive.pl/en/agenda/three-cool-things-about-d/ Regards, Damian Ziemba
Re: DConf 2016, Berlin: Call for Submissions is now open!
On Friday, 23 October 2015 at 16:37:20 UTC, Andrei Alexandrescu wrote: Please join us at DConf 2016, the conference of the D programming language in Berlin, Germany, May 4-6 2016. [...] Awesome that it is happening in Europe! See ya soon then! :)
Re: running code on the homepage
On Wednesday, 16 September 2015 at 13:49:40 UTC, nazriel wrote: On Wednesday, 16 September 2015 at 10:17:21 UTC, Dmitry Olshansky wrote: On 16-Sep-2015 09:44, nazriel wrote: On Wednesday, 16 September 2015 at 05:54:03 UTC, Andrei Amatuni wrote: maybe I'm doing something wrong...but the output of running the default code snippet on the dlang.org homepage is: "unable to fork: Cannot allocate memory" not a good look Thank you for letting us know, This issue will be fixed very soon. Best regards, Damian Ziemba May I suggest you to record such conditions with automatic notification e.g. by e-mail. Only 1 in 10 of visitors will consider reporting an issue, of these only 1 in 10 will get to dlang forum to post a message. It is know for me issue. At the time I was working on runable examples, samples on the main page were way simpler. Not we are hitting some limitations of Container Dpaste's backend is running in. I am working on new version of backend (and new container) as we speak so it will be solved once and for all. 1-2 days more and we will be done with it so IMHO no need take any additionals steps for it right now. It took my way longer than I planned. Just FYI, I've open-sourced dpaste backend, although it is devel version 2.0: https://github.com/nazriel/dpaste-be https://github.com/nazriel/dpaste-be-worker There is still lots to do: - hardening - commenting - fixing remaining small issues The old version, isn't worth sharing - way too much wheel-reinvinting there, like own std.process... And it will be replaced very soon anyways. I've run all examples from dlang.org front-page as test case - so far everything works! :) ``` Application output: +-+ | Województwo Mazowieckie, PL | +-+ | weather | Sky is Clear | +-+ | temperature | 10.24°C (50.43°F) | +-+ ``` The new version of the backend should be up and running on dpaste before Sunday. Stay tuned Best regards, Damian Ziemba
Re: Mac IDE with Intellisense
On Saturday, 26 September 2015 at 09:17:10 UTC, Mike McKee wrote: I've tried Sublime Text 3 editor on the Mac, but even it doesn't seem to have the D2 language in it yet (only D), and doesn't have intellisense for components in the imports that I do, even after saving the file after adding the import statements. What OSX editor do you recommend that would have intellisense? In all reality, I don't like intellisense -- it's annoying. However, I need it because the documentation for me is still a little hard to read and hard for me to search for a class method here or there. For instance, I was doing toHexString(myByteArray) instead of simply doing myByteArray.toHexString(). (That was on an md5 example, by the way.) Intellisense would have helped me realize this. Mono-D works really well. Also it integrates well with dub so you can simply "import" projects by opening dub.json file - pure awesomeness.
Short history of how great job, release team is doing.
For a while I've been trying to smuggle a piece of D code here and there in our project at Fujitsu. The main code base is C and C++ mostly (with most of the code being C++). Of course I've been the only one knowing about D and I tried to spread the word about it but you probably know how C/C++ programmers are stubborn, being busy bashing at Java etc... I've been writing small tools in D aiding testing, reproducing errors etc but rest of the team members were like "meh, boost can do it". Yesterday, friend of mine in team, asked me "Hey, how do you iterate of AA in D?" And I was like WTF... I came to his desk and... I was amazed how FAST and without any problems he was able to setup DMD env, install VisualD plugin (he is rather M$ guy) and start coding in D (jumping on the phobos docs and code.dlang.org at the same time) Two days has passed and guy is like *omg it is so awesome* ;) Also - super awesome surprise was DUB - networking policy in our company is very strict - using proxies all over the place. I was really happy when I discovered that DUB picks http_proxy env var out of the box! So - now we are two folks in our team at Fujitsu writing tools in D - more are coming for sure! To sum up: Thanks to all of you who make all the tooling so great and up to the task. Dub, code.dlang.org, phobos docs, VisualD, Mono-D, DMD toolchain, LDC/GDC - everything seems to be at really good quality level right now, allowing totally new guys to start writing D right away. Thumbs up!
Re: running code on the homepage
On Wednesday, 16 September 2015 at 20:52:08 UTC, Andrei Alexandrescu wrote: On 09/16/2015 09:49 AM, nazriel wrote: 1-2 days more and we will be done with it so IMHO no need take any additionals steps for it right now. That's great, thanks for doing this. What is the current status with regard to making the online compilation infrastructure publicly accessible and improvable? Ideally everything would be That's the plan. Currently I am working on upgrading both frontend and backend to be up-to-date with current requirements. I am also trying to integrate the look of dpaste.dzfl.pl to match the one on dlang.org so we could make dpaste part of the *.dlang.org fleet. Once I am done with those things (should take up to 2 weeks) - the whole product - frontend and backend will be fully open-sourced and available on github for forking. Currently my main focus is on making Backend less restrictive so we can spawn threads, run all examples from dlang.org without restrictions etc. The backend will be the first thing that will be open-sourced and it should happen before end of the current week (19.09.2015). in the open, and we (= the fledgling D Language Foundation) would pay for the server infrastructure. Please advise, thanks. I still need to catch up with Vladimir via @ if he is OK with moving dpaste backend into dedicated unprivileged LinuX Container. If yes - then probably we can stick with his server - if not we should discuss other options. For the first 2 weeks it will run it on my server - but I would prefer to not place it on my server - in case I disappear for a while again ;) -- Andrei Best regards, Damian Ziemba
Re: running code on the homepage
On Wednesday, 16 September 2015 at 05:54:03 UTC, Andrei Amatuni wrote: maybe I'm doing something wrong...but the output of running the default code snippet on the dlang.org homepage is: "unable to fork: Cannot allocate memory" not a good look Thank you for letting us know, This issue will be fixed very soon. Best regards, Damian Ziemba
Re: running code on the homepage
On Wednesday, 16 September 2015 at 10:17:21 UTC, Dmitry Olshansky wrote: On 16-Sep-2015 09:44, nazriel wrote: On Wednesday, 16 September 2015 at 05:54:03 UTC, Andrei Amatuni wrote: maybe I'm doing something wrong...but the output of running the default code snippet on the dlang.org homepage is: "unable to fork: Cannot allocate memory" not a good look Thank you for letting us know, This issue will be fixed very soon. Best regards, Damian Ziemba May I suggest you to record such conditions with automatic notification e.g. by e-mail. Only 1 in 10 of visitors will consider reporting an issue, of these only 1 in 10 will get to dlang forum to post a message. It is know for me issue. At the time I was working on runable examples, samples on the main page were way simpler. Not we are hitting some limitations of Container Dpaste's backend is running in. I am working on new version of backend (and new container) as we speak so it will be solved once and for all. 1-2 days more and we will be done with it so IMHO no need take any additionals steps for it right now.
Re: dpaste web site
On Wednesday, 16 September 2015 at 06:52:57 UTC, Ola Fosheim Grøstad wrote: How about just using a single click recaptcha: https://www.google.com/recaptcha/intro/index.html Used that before - still was getting spam. As Vladimir mentioned - it costs 0.001$ to get Captcha solved :)
Re: dpaste web site
On Wednesday, 9 September 2015 at 23:55:27 UTC, Vladimir Panteleev wrote: On Wednesday, 9 September 2015 at 22:59:42 UTC, nazriel wrote: I really have no idea, I tried to copy and paste those links and indeed they trigger recaptcha... Not sure if recaptcha is so weak or indeed it is a human posting those links %) It costs 0.1 cent ($0.001) to have a human solve a reCAPTCHA. I will look into methods used in this forum and vibe.d forum. For forum.dlang.org and wiki.dlang.org I created DCaptcha, which asks a D programming question: https://github.com/CyberShadow/dcaptcha It is only activated if Akismet or other spam detectors report "spam". It used to have many questions of various difficulty, but currently it only asks 1 type of question. So far this blocked 100% of spam. AFAIK vibe.d forum uses a Bayesian filter which IIRC generally works well but had to be tweaked once or twice. This could work well for DPaste if it's trained to distinguish D code from not-code. Nice, I've tried your idea (somehow). Lets see if it helps. Anyways: * I've implemented better captcha mechanism + blocking system. If you fail captcha for 3 times in a row - pasting will be disabled for 15 minutes. * I've fixed registration with GitHub, Facebook and internal database (captcha wasn't working there and api keys expired for those services) The next step will be improving Backend itself so I will get rid of errors when running examples on main dlang page. Also @Vladimir, thanks for the pull request regarding examples and for making me a "watcher" in dpaste related issues on bugzilla. Best regards, Damian Ziemba
Re: dpaste web site
On Wednesday, 9 September 2015 at 12:50:17 UTC, BBasile wrote: On Wednesday, 9 September 2015 at 04:17:13 UTC, nazriel wrote: On Sunday, 30 August 2015 at 15:05:41 UTC, BBasile wrote: On Wednesday, 26 August 2015 at 05:54:44 UTC, nazriel wrote: [...] since mothes 90% of the new content is spam. http://dpaste.dzfl.pl/pastes?p=8 Ok I've changed algorithm for spam detection Also tried to remove some of the spam already posted. There are still some links sent. Either the bot who targets DPaste works well or...no i can't believe this actually a human being who send this manually ?! I really have no idea, I tried to copy and paste those links and indeed they trigger recaptcha... Not sure if recaptcha is so weak or indeed it is a human posting those links %) I will look into methods used in this forum and vibe.d forum. They are using some 3rd party spam checking services I think. Maybe it will be worth a shot. However thx, a lot, i think that the biggest doleance that people had was to have an up-to-date compiler.
Re: dpaste web site
On Sunday, 30 August 2015 at 15:05:41 UTC, BBasile wrote: On Wednesday, 26 August 2015 at 05:54:44 UTC, nazriel wrote: On Thursday, 20 August 2015 at 20:28:48 UTC, Steven Schveighoffer wrote: [...] I will work on it. Should be fixed before weekend. I will also open source dpaste frontend and backend so such problems can be avoided in the future. Got a little bit behind with D related stuff and auto-updates of DMD stopped working for some reason. That's why we are on 2.065. Regards, Damian Ziemba since mothes 90% of the new content is spam. http://dpaste.dzfl.pl/pastes?p=8 Ok I've changed algorithm for spam detection Also tried to remove some of the spam already posted.
Re: dpaste web site
On Monday, 31 August 2015 at 22:24:22 UTC, Steven Schveighoffer wrote: On 8/31/15 8:22 AM, nazriel wrote: Anyways, dmd is up to 2.068. Awesome, thank you very much! Any chance the git version could be updated as well? Still seems to be old (2013). Consider it done ;) (I should fix it tomorrow) Open sourcing will take little bit more time. Auto-update script is updated too. Thanks Martin! Seconded! -Steve
Re: dpaste web site
On Thursday, 3 September 2015 at 15:59:16 UTC, ixid wrote: On Monday, 31 August 2015 at 22:24:22 UTC, Steven Schveighoffer wrote: On 8/31/15 8:22 AM, nazriel wrote: Anyways, dmd is up to 2.068. Awesome, thank you very much! Any chance the git version could be updated as well? Still seems to be old (2013). Open sourcing will take little bit more time. Auto-update script is updated too. Thanks Martin! Seconded! -Steve Further to this thread. I believe this has been updated to the latest DMD but the weather code sample on the front page is still killed. This is due to the constrainer of the container dpaste is running in. I will try to get in touch with Vladimir to discuss alternatives to UserModeLinux because it is the problem currently. Once we move to something more performant and less restrictive (LXC, Docker, some SELinux stuff, Qemu?) - we should be fine with all errors. Best regards, Damian Ziemba
Re: dpaste web site
On Sunday, 30 August 2015 at 15:05:41 UTC, BBasile wrote: On Wednesday, 26 August 2015 at 05:54:44 UTC, nazriel wrote: On Thursday, 20 August 2015 at 20:28:48 UTC, Steven Schveighoffer wrote: dpaste.dzfl.pl is severely out of date. Who maintains this and can we get it updated? It's going to start hurting us pretty severely if we use it as our go-to site for pasting compiled-and-run d snippets, but it's only at version 2.065. -Steve I will work on it. Should be fixed before weekend. I will also open source dpaste frontend and backend so such problems can be avoided in the future. Got a little bit behind with D related stuff and auto-updates of DMD stopped working for some reason. That's why we are on 2.065. Regards, Damian Ziemba since mothes 90% of the new content is spam. http://dpaste.dzfl.pl/pastes?p=8 Looks like the recaptcha isn't working too well. I will try to look into this soon. Anyways, dmd is up to 2.068. Open sourcing will take little bit more time. Auto-update script is updated too. Thanks Martin! Regards, Damian Ziemba
Re: dpaste web site
On Thursday, 20 August 2015 at 20:28:48 UTC, Steven Schveighoffer wrote: dpaste.dzfl.pl is severely out of date. Who maintains this and can we get it updated? It's going to start hurting us pretty severely if we use it as our go-to site for pasting compiled-and-run d snippets, but it's only at version 2.065. -Steve I will work on it. Should be fixed before weekend. I will also open source dpaste frontend and backend so such problems can be avoided in the future. Got a little bit behind with D related stuff and auto-updates of DMD stopped working for some reason. That's why we are on 2.065. Regards, Damian Ziemba
Re: D Cookbook on reddit
On Wednesday, 6 August 2014 at 15:33:51 UTC, Andrei Alexandrescu wrote: http://www.reddit.com/r/programming/comments/2cpkz3/d_cookbook_review_win_an_ebook/ Andrei Really cool to see growing interest in D among fellow countrymen. Very nice blog note!
Re: DConf 2014: Adam D Ruppe's amazing slideless talk on x86 Bare Metal and Custom Runtime Programming
On Friday, 18 July 2014 at 06:45:57 UTC, w0rp wrote: On Thursday, 17 July 2014 at 17:41:59 UTC, Adam D. Ruppe wrote: BTW here's the post Andrei made on the day of with the little notebook paper I used for a topic list and some discussion we had in May: http://forum.dlang.org/thread/llo7i8$e4e$1...@digitalmars.com I watched your talk and it was awesome. Thanks for doing it. I like it when people can carry a talk without slides. I've seen a few presenters in my time who were hanging off of PowerPoint, and they always felt so awkward. Ditto. I already mentioned it on IRC but once again: Awesome talk Adam! Thanks! -- Best regards, Damian Ziemba
Re: Swift is based LLVM,what will the D's LDC do?
On Thursday, 5 June 2014 at 14:30:46 UTC, Dicebot wrote: On Thursday, 5 June 2014 at 14:01:43 UTC, bioinfornatics wrote: On Thursday, 5 June 2014 at 06:40:17 UTC, Walter Bright wrote: On 6/4/2014 9:25 AM, Iain Buclaw via Digitalmars-d wrote: This likewise gdc too. All you need to do is look at the downloads page on dlang.org ! It still says nothing about doing: sudo apt-get install gdc on Ubuntu! Why keep it a secret? :-) On Fedora sudo yum install ldc ;-) pacman -Sy dlang-ldc pacman -Sy dlang-gdc ;) 3 ;)
Re: D Users Survey: Primary OS?
On Thursday, 29 May 2014 at 18:24:57 UTC, Tom Browder via Digitalmars-d wrote: Has anyone done a survey of the primary OS of D users? I (a D newbie) use Debian Linux (64-bit), but I get the feeling that many (if not most) users are on some version of Windows. Thanks. Best regards, -Tom Arch Linux x86_64 :)
Re: Video of my LDC talk @ FOSDEM'14
On Monday, 26 May 2014 at 05:59:35 UTC, Kai Nacke wrote: Hi all, the video of my LDC talk @ FOSDEM'14 in February is now online. Here is the link: http://video.fosdem.org/2014/K4401/Sunday/LDC_the_LLVMbased_D_compiler.webm In the same folder are also the videos of the other LLVM related talk. Enjoy! Regards, Kai Awesome! Regards,