Re: D Language Foundation April 2024 Monthly Meeting Summary
On Tuesday, 30 July 2024 at 11:50:50 UTC, Mike Parker wrote: The D Language Foundation's monthly meeting for April 2024 was held on Friday the 12th. It lasted an hour and 20 minutes. very interesting thanks
Re: Is D programming friendly for beginners?
On Wednesday, 24 July 2024 at 15:02:04 UTC, Matheus wrote: I work at home, but once I was at the office and I saw someone literally copying a SO answer direct to the project, and many times I saw code there were literally copied as is, I could tell because the way it was written, language etc. One of the cases was a LIB in Oracle to read JSON, it came with all the flaws you would expected, and the limitation of 32767 characters. The other day I saw a video of C++ (I think it was from Jason Tyler or a name like that), showing some code generated by AI, and he said it was very clever. Now I wonder about the future in this area... I mean for some will be a matter of copying from SO or AI. =] Matheus. AI will generate answers and then post them on the internet. Then AI will read the answers it sees on the internet, to reprogram itself. AI will eat itself.
Re: dmt: Python-like indentation in D programming language
On Monday, 28 March 2022 at 22:22:18 UTC, mw wrote: Just FYI: I found a working Python PEG grammar file here https://github.com/we-like-parsers/pegen/blob/main/data/python.gram it will be a great helper to to trans-compile Python to D. E.g. to try parse Python code and execute the parsed code: ``` git clone https://github.com/we-like-parsers/pegen cd pegen make demo ``` (I did that PR :-) Transcompilers are fun, but a heads-up before you get too invested in this, you'll either need to restrict the python code to a particular subset of python, or accept that you'll be writing a python interpreter in D, and not transpiling.
Re: Teaching D at a Russian University
On Sunday, 20 February 2022 at 03:44:42 UTC, Paul Backus wrote: On Saturday, 19 February 2022 at 20:26:45 UTC, Elronnd wrote: On Saturday, 19 February 2022 at 17:33:07 UTC, matheus wrote: By the way English isn't my first language but I think there is a small typo: "In D, such nuances are fewer, for header files are not required." I think it's missing the word "example": "In D, such nuances are fewer, for example header files are not required." I think it is fine as is. Yes, this is a perfectly correct use of "for" as a coordinating conjunction. [1] It may come across as a bit formal or old-fashioned, though—in normal speech, you'd usually use "since". [1] https://writing.wisc.edu/handbook/grammarpunct/coordconj/ for the benefit of ESL people, yes the two phrases are both grammatically correct, but they do have different meanings. 'For' here has a sense of 'because', implying the non-requirement of header files is the main reason. When we say 'for example', it's indicating one of a number of reasons.
Re: Added copy constructors to "Programming in D"
On Friday, 11 February 2022 at 10:06:32 UTC, bauss wrote: Didn't Scott Meyers cover exactly this in his "the last thing D needs" talk? It seems like a really bad idea. Well D has already taken the piss on that talk a long time ago. No offense to D overall, and I still love it. Rumours that Ali's next book will be called "Effective D++" are. true ;-)
Re: On the D Blog: A Gas Dynamics Toolkit in D
On Wednesday, 2 February 2022 at 23:03:57 UTC, Kyle wrote: I thought this was a great example of a sweet spot for D. I had similar work in mind way back when, and started writing a Qt and VTK (data visualisation) wrapper to work towards this. I'm wondering what they used for the visualisation in the blog post. To confirm, I used the open-source visualization software, Paraview (https://www.paraview.org/), to generate the image from the blog post. interesting, thanks Kyle
Re: On the D Blog: A Gas Dynamics Toolkit in D
On Wednesday, 2 February 2022 at 08:14:32 UTC, Mike Parker wrote: The University of Queensland's Centre for Hypersonics has [a gas dynamics toolkit](https://gdtk.uqcloud.net/) that, since 1994, has evolved from C, to C++, and now to D. Peter Jacobs, Rowan Gallon, and Kyle Damm wrote a little about it for the D Blog. The blog: https://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/ Reddit: https://www.reddit.com/r/programming/comments/sij99d/they_wrote_a_gas_dynamics_toolkit_in_d/ I thought this was a great example of a sweet spot for D. I had similar work in mind way back when, and started writing a Qt and VTK (data visualisation) wrapper to work towards this. I'm wondering what they used for the visualisation in the blog post.
Re: DConf Online 2020 Schedule
On Wednesday, 14 October 2020 at 12:41:34 UTC, Mike Parker wrote: The DConf Online schedule is now live on the website. I've got a blog post coming tomorrow which will, among other things, include an announcement about the schedule aimed at the world outside our community in a form suitable for /r/programming. https://dconf.org/2020/online/index.html It looks really interesting, thanks and looking forward to it...
Re: Talk by Herb Sutter: Bridge to NewThingia
On Saturday, 27 June 2020 at 15:48:33 UTC, Andrei Alexandrescu wrote: How to answer "why will yours succeed, when X, Y, and Z have failed?" https://www.youtube.com/watch?v=wIHfaH9Kffs Very insightful talk. Herb Sutter is a national treasure, C++ has become bearable, nay even useful, under his stewardship and that is really saying something
Re: D GUI Framework (responsive grid teaser)
On Tuesday, 28 May 2019 at 20:54:59 UTC, Robert M. Münch wrote: . The software we sell, would still fit on one floppy disk (if there are still people knowing what it is). And I'm always saying: "Every good software fits on one floppy-disk." Most people can't believe that this is still possible. I remember VisiCalc.com. And I remember when no program would need more than 640k RAM. But I also remember installing msoffice from 31 floppy discs
Re: Fireside chat with Walter Bright, the creator of the D programming language
On Wednesday, 20 February 2019 at 22:58:39 UTC, Bastiaan Veelo wrote: On Thursday, 14 February 2019 at 23:34:40 UTC, Ali Çehreli wrote: What specific questions would you like answered? What are the top D related activities that you spend most time on? If you had more time available, how would you wish to spend it? What would be the best next big thing to happen to D? Are there specific areas in our eco system that you think stand out as needing improvement? If so, what would be the best way to go about it? Say you had three skilled employees that you could tell what to do. What would you have them work on? Has D become the language that you envisioned it to be? Has it surpassed it, or not yet? How would you like to see it evolve? Are you happy with the D community? —Bastiaan. Great questions!
Re: [OT] My State is Illegally Preventing Me From Voting In The Upcoming 2018 US Elections
If you're serious then why not request an absentee ballot? Just out of curiosity, how does posting this info here help you in any way?
Re: The final form of the keyboard = ShionKeys
On Sunday, 25 March 2018 at 05:39:33 UTC, shion wrote: See, this is one of the idiots who suppress ShionKeys. I was just having a little joke, don't take it too seriously. Your story is reading like a tragedy: https://mastodon.social/@ShionKeys You need to take a holiday and visit your friends.
Re: The final form of the keyboard = ShionKeys
On Friday, 10 November 2017 at 15:06:20 UTC, Shion wrote: I want to make more people aware of my project of trying to change the world (ShionKeys), seek proliferation. More project content will be announced at sales time / crowdfunding time. Please administrator support this project do not delete, I have been many evil community management will be regarded as spam / advertising information and delete. github @ShionAt twitter @ShionKeys Sounds a bit https://www.urbandictionary.com/define.php?term=shonkey
Re: Ecoji-d v1.0.0 is released - Base1024 using emojis
On Wednesday, 14 March 2018 at 17:30:18 UTC, Anton Fediushin wrote: , I'm glad to announce that ecoji-d - pure D implementation of ecoji encoding version 1️⃣.0️⃣.0️⃣ is finally released❗ [...] Congratulations, it's a nice bit of fun.
Re: D User Survey
On Sunday, 10 December 2017 at 09:02:46 UTC, Nick Sabalausky (Abscissa) wrote: On 12/09/2017 07:58 AM, wobbles wrote: On Thursday, 7 December 2017 at 14:31:01 UTC, Chris wrote: I didn't know Ireland was so unknown, unless, of course, I'm supposed to choose "Great Britain". I also hated myself for clicking Great Britain :-) As an outsider, I'm curious about this. My (perhaps innacurate?) understanding was that "Great Britain" was more a geographical term referring to everything on the islands rather than a political boundary (as opposed to "UK" which is purely a political concept and includes some, but not all, of the countries on the same islands). Is that not enitrely correct? Or is that exactly the the part that's uncomfortable - that it's a "Country" field which lacks the actual country name and only offers a geographic collection in its place? I am half English and half Irish (Kilkenny). The English occupied / (occupy) Ireland and it was / (is) very unpopular. Hence an Irishman will not enjoy having to associate himself with his (former / current) occupiers.
Re: Dreams come true: Compiling and running linux apps on windows :)
On Saturday, 6 August 2016 at 17:34:14 UTC, Andre Pany wrote: Hi, there is a new feature with the recent windows 10 update. You now can compile and run your linux apps (console only) on windows. Install XMing and run GUI apps too!
Re: amoeba, a chess engine written in D
On Saturday, 21 May 2016 at 10:10:21 UTC, Richard Delorme wrote: On Saturday, 21 May 2016 at 00:29:13 UTC, extrawurst wrote: [...] Yes, It is a strong program, but far from the top programs yet. In the ccrl scale: http://www.computerchess.org.uk/ccrl/4040/ I guess its rating is close to 2700. The move generator is pretty fast, though: $ amoeba-linux-x64-sse4.2 perft -d 7 perft 7 : 3195901860 leaves in 17.920 s178344094 leaves/s [...] Congratulations 2700 is great, vastly better than I managed many years ago. Do you plan to take it further?
Re: Three Cool Things about D
On Monday, 21 December 2015 at 17:28:51 UTC, Andrei Alexandrescu wrote: https://www.reddit.com/r/programming/comments/3xq2ul/codedive_2015_talk_three_cool_things_about_d/ https://www.facebook.com/dlang.org/posts/1192267587453587 https://twitter.com/D_Programming/status/678989872367988741 Andrei A clip of the comedian that Andrei refers to can be seen here: https://www.youtube.com/watch?v=uEY58fiSK8E
Re: Official Announcement: 'Learning D' is Released
On Tuesday, 1 December 2015 at 06:17:17 UTC, Mike Parker wrote: Due to a minor mix up at the end of an otherwise enjoyable process, I wasn't notified that 'Learning D' was released on Nov 27. Today, I finally got that notification. Despite there already being a thread on the topic here in this forum, please forgive me for taking the opportunity to make my "official" announcement :) 'Learning D' is Congratulations! It looks good.
Re: Atrium - 3D game written in D
On Friday, 6 November 2015 at 09:04:05 UTC, Timur Gafarov wrote: Atrium (code name) is a work-in-progress science fiction game with physics based puzzles (gravity effects, force fields, etc) akin to Portal or Inverto. The game is fully written in D, it uses custom graphics engine based on OpenGL and SDL. Physics engine is also written from scratch. Source code: https://github.com/gecko0307/atrium IndieDB page: http://www.indiedb.com/games/atrium A precompiled demo for Windows: https://www.dropbox.com/s/qh8gai2n94qe8jj/atrium-testbuild-051115.zip?dl=0 It looks good and the physics simulation seems to work really well, congratulations.
Re: Blog post : OOP composition with mixins
On Monday, 24 August 2015 at 13:28:23 UTC, Atila Neves wrote: On Monday, 24 August 2015 at 11:10:16 UTC, Dicebot wrote: Rough summary of the talk I have given for recent Berlin D meetup event: https://blog.dicebot.lv/posts/2015/08/OOP_composition_with_mixins Nice. I've only just started exploring code reuse with template mixins, and used it to great effect in my last project. Blogs like this are useful since there aren't many examples in other languages (Ruby modules come to mind). Atila Inheritance certainly is 'the base class of all evil'. I have a theory that the reason inheritance is so overused in OOP languages lies in the way it is taught - the OOP aspects cover much of the syntax of the language and hence much teaching material revolves around inheritance. This makes the student believe that inheritance is therefore the 'right way' to proceed. Many years of pain have, however, taught me to avoid inheritance and to prefer composition - even/especially when using e.g. Java.
Re: Calypso: Direct and full interfacing to C++
On Tuesday, 12 May 2015 at 21:44:04 UTC, Kelly wrote: Well the first fully working example of a large library is finally working with Calypso. Elie has managed to get a Qt5 demo program to compile and run!! The demo is a D version of the Qt5 Widgets demo. This is a simple window with a pseudo address book app. The demo uses a D class inheriting from QWidget, calls 'super(parent)' from D code and uses the QStrings, QLabel, QLineEdit, QLayout, QGridLayout classes, among other things. You can see the code here: https://github.com/Syniurge/Calypso/blob/master/tests/calypso/qt5/qt5demo.d The demo is confirmed to work with Qt5.4 and Qt5.2.1. This really is a huge leap, congratulations!
Re: EMSI is hiring a D developer
On Tuesday, 14 April 2015 at 16:17:37 UTC, Justin Whear wrote: EMSI is hiring for an Engineer II to work on D codebases: https:// emsi.bamboohr.com/jobs/view.php?id=30 When it said Moscow I was thinking mmmh lots of traffic, a bit difficult to live in then I saw it was Moscow, Idaho.