Re: A new article about working with files in D
On Monday, 28 September 2015 at 17:15:38 UTC, Gary Willoughby wrote: On Monday, 28 September 2015 at 14:05:42 UTC, bachmeier wrote: This is the best way to market the language, by making it easy to do practical things. Good work. This is my thoughts exactly and why I wrote this article. Why I read the Go article which inspired this one I was shocked by how awful it was compared to working with files in D. Yes, Go has a few more functions available but all are a bit clunky to work with. D on the other hand is always simple and elegant. Cool! More Articles
Re: Vibemail - extensions for vibe's Mail class to send multi-part emails with attachments
On Tuesday, 29 September 2015 at 12:26:58 UTC, Robert M. Münch wrote: On 2015-09-29 03:53:44 +, Sebastiaan Koppe said: Not that I'm to deep into the code nor D but would it be possible to write it somehow like this: Mail email = new Mail; email.headers = [ "Date" Clock..., "Sender" ... ] This would be a much more descriptive approach, which I think makes a lot of sense for such things. And it follows the "dont repeat yourself" pattern. Nice observation
Re: Vibemail - extensions for vibe's Mail class to send multi-part emails with attachments
On Tuesday, 29 September 2015 at 13:10:55 UTC, Adam D. Ruppe wrote: On Tuesday, 29 September 2015 at 12:43:19 UTC, Daniel Kozak wrote: It would be nice to have all of yours stuff on code.dlang.org. I'm slowly working on it. Got some working just yesterday: http://code.dlang.org/packages/arsd-official but the repo doesn't let you show subpackages, argh. dub sucks, code.dlang.org sucks. +1 When am I going to see your dub?
Re: Vibemail - extensions for vibe's Mail class to send multi-part emails with attachments
On Tuesday, 29 September 2015 at 16:22:43 UTC, Adam D. Ruppe wrote: On Tuesday, 29 September 2015 at 14:57:13 UTC, Sebastiaan Koppe wrote: [...] dub forces me to do it that way. It isn't my preference, but reorganizing all my files and creating twenty or thirty different github repos to house them is unacceptable. [...] That is why npm sucks, but very helpful.
Re: Walter and I talk about D in Romania
On Sunday, 4 October 2015 at 13:04:19 UTC, mattcoder wrote: On Friday, 2 October 2015 at 11:25:44 UTC, Andrei Alexandrescu wrote: We need to start recording those events. 300 people could turn into 10 or 100 times more counting those who would like to watch the videos later. This is not the first time we heard about a conference about D without recording or it was improvised by good soul with a cam at last moment. Matheus. I couldn't agree more.
Re: Walter and I talk about D in Romania
On Saturday, 3 October 2015 at 23:05:41 UTC, deadalnix wrote: On Saturday, 3 October 2015 at 12:29:17 UTC, Marco Leise wrote: That's a lot of people. You must be some kind of programming national hero in Romania. Good luck and watch out for those C++ moroi in the audience! Time to get a Dman costume and some lycra costume ! I thought D-eveloper was the goto word.
Re: PowerNex - My 64bit kernel written in D
On Wednesday, 18 November 2015 at 11:25:55 UTC, Wild wrote: On Wednesday, 18 November 2015 at 11:20:58 UTC, Rikki Cattermole wrote: Will you being going down the path of libc/posix compat layer or straight up D all the way? I want to go D all the way. But if I have to get a libc, I will try and implement one in D. Cool. Really cool!!
Re: let (x,y) = ...
On Friday, 20 February 2015 at 09:12:26 UTC, Jacob Carlborg wrote: On 2015-02-19 05:38, thedeemon wrote: Creating tuples and returning them from functions is trivial in D: auto getTuple() { return tuple("Bob", 42); } but using them afterwards can be confusing and error prone auto t = getTuple(); writeln("name is ", t[0], " age is ", t[1]); I really missed the ML syntax to write let (name, age) = getTuple(); Didn't someone create a pull request for something like: auto(name, age) = getTuple(); Or was it a DIP? Waw! auto(name, age) = getTuple(); looks better :)
Re: DlangUI
On Tuesday, 14 April 2015 at 11:18:38 UTC, Vadim Lopatin wrote: On Tuesday, 20 May 2014 at 18:13:36 UTC, Vadim Lopatin wrote: Hello! I would like to announce my project, DlangUI library - cross-platform GUI for D. https://github.com/buggins/dlangui License: Boost License 1.0 I've added first DlangUI tutorial on DlangUI Wiki: https://github.com/buggins/dlangui/wiki/Getting-Started It covers creation of simple DlangUI helloworld project, and then illustrates layouts, standard controls, DML, and signals. Source code for all examples is available on GitHub https://github.com/buggins/dlangui-examples I'm looking forward for ideas for next tutorials. Maybe tutorial on Menus, tabs, list view, and a little excell app
dqml f Ubforun
I can't
dqml for Ubuntu Unity apps
I can't seem to wrap my head around using dqml and D backend for Ubuntu Unity app development. They have this UnityComponents qml module they use for UI in their SDK plus a C++ backend. Has anyone made effort on using dqml and D backend? Sample code or any help will be sweet!! I really dislike C++, And Canonical's C++ coding style and naming convention makes it worst.
Re: dqml for Ubuntu Unity apps
On Sunday, 20 December 2015 at 13:25:48 UTC, Karabuta wrote: I can't seem to wrap my head around using dqml and D backend for Ubuntu Unity app development. They have this UnityComponents qml module they use for UI in their SDK plus a C++ backend. Has anyone made effort on using dqml and D backend? Sample code or any help will be sweet!! I really dislike C++, And Canonical's C++ coding style and naming convention makes it worst. Sorry the forum is a little bit confusing. Too late until I realised I posted in the wrong place and I can't find a way to fix it.!Responsive WD.
Re: dqml for Ubuntu Unity apps
On Wednesday, 23 December 2015 at 19:14:53 UTC, Adam Stokes wrote: On Sunday, 20 December 2015 at 13:25:48 UTC, Karabuta wrote: I can't seem to wrap my head around using dqml and D backend for Ubuntu Unity app development. They have this UnityComponents qml module they use for UI in their SDK plus a C++ backend. Has anyone made effort on using dqml and D backend? Sample code or any help will be sweet!! I really dislike C++, And Canonical's C++ coding style and naming convention makes it worst. I don't have any experience using dqml with Unity Apps but I can certainly get you in touch with the right people to help you make sense of the c++ code so that you may better apply that with dqml. Is that something you'd be interested in? Anything specific that I can communicate to those developers that you currently have questions on? Feel free to reply here or email me directly They use their c++ backend to hookup to qml, configure bluetooth, network and stuff. I wanted to figure out how to transfer their UbuntuComponent qml module to dqml or rather use D in place of the C++ in a generated project from their SDK. However, I have no idea how to even start. I was hopping anyone had a sample code somewhere I could use as reference. This requires a D programmer who is into Ubuntu and their unity 8 stack I guess.
Re: dqml for Ubuntu Unity apps
On Wednesday, 23 December 2015 at 21:24:41 UTC, Karabuta wrote: On Wednesday, 23 December 2015 at 19:14:53 UTC, Adam Stokes wrote: On Sunday, 20 December 2015 at 13:25:48 UTC, Karabuta wrote: I can't seem to wrap my head around using dqml and D backend for Ubuntu Unity app development. They have this UnityComponents qml module they use for UI in their SDK plus a C++ backend. Has anyone made effort on using dqml and D backend? Sample code or any help will be sweet!! I really dislike C++, And Canonical's C++ coding style and naming convention makes it worst. Yeah, I get it somehow now, Ubuntu UI Toolkit has APIs for Go, C++, and JavaScript. Either they build a D API or we make bindings to the C++ API.
Logo for D
How do you see it? http://amazingws.0fees.us/wp-content/uploads/2016/01/dlang2.png Many variants are on the way.
Re: Logo for D
On Saturday, 16 January 2016 at 18:15:06 UTC, anonymous wrote: On 16.01.2016 18:55, karabuta wrote: [...] Do you intend to propose this for the official logo? If so, be aware that the logo is a delicate matter. There have been various proposals to change it from the current one, and all have been rejected. It's Walter himself who is rather strictly against any changes. [...] Nope. Just playing around. Why did they reject yours by the way?
Re: Logo for D
On Saturday, 16 January 2016 at 20:13:07 UTC, anonymous wrote: It's not been rejected outright. More like put on ice. Or maybe I'm just not getting the hints :) Andrei said: "Can we defer any changes to the logo so we don't get sidetracked in this? Just scale the existing logo to fit and defer any changes to it to later." -- http://forum.dlang.org/post/n591ec$aqv$1...@digitalmars.com Ohh! A great design is better seen by a designer. "Iron with steal, steel with gold, gold with diamond". Always room for improvement.
Re: Logo for D
On Monday, 18 January 2016 at 10:37:42 UTC, Adrian Matoga wrote: On Monday, 18 January 2016 at 10:28:48 UTC, Guillaume Piolat wrote: On Saturday, 16 January 2016 at 17:55:13 UTC, karabuta wrote: How do you see it? http://amazingws.0fees.us/wp-content/uploads/2016/01/dlang2.png Many variants are on the way. The current logo is very good and there is value in keeping it. Now if it didn't have this extremely 90s-looking borders, it would be even better. +1 Also, change just for the sake of change is just bad strategy. Do not make assumption on peoples opinion on "the need for change". The word here is not change as in literal "change", it means improvement :) "Iron with steal, steel with gold, gold with diamond". Always room for improvement.
Re: Logo for D
On Monday, 18 January 2016 at 22:48:52 UTC, Brad Anderson wrote: On Monday, 18 January 2016 at 10:28:48 UTC, Guillaume Piolat wrote: On Saturday, 16 January 2016 at 17:55:13 UTC, karabuta wrote: I've long wished the D and moons were what was considered the logo[1]. The current one has three borders, a drop shadow, and gradients up the wazoo. Anything tacked on beyond the iconic shape should just be done based on context (like using red or white for the logo, a background color, etc.) http://i.imgur.com/RSBLFDJ.png Doesn't it look so much better: http://i.imgur.com/QlrbCou.png Waw!! I never new the thing at the top was a moon when I was doing my version :) Is that a moon on the "D" and Mars below the D? :) I now get it. I agree it should be simple. You cannot embroid the depth and shadow in the current logo.
Re: Logo for D
On Wednesday, 20 January 2016 at 15:43:16 UTC, Simen Kjaeraas wrote: On Wednesday, 20 January 2016 at 14:09:53 UTC, karabuta wrote: On Monday, 18 January 2016 at 22:48:52 UTC, Brad Anderson wrote: http://i.imgur.com/RSBLFDJ.png Doesn't it look so much better: http://i.imgur.com/QlrbCou.png Waw!! I never new the thing at the top was a moon when I was doing my version :) Is that a moon on the "D" and Mars below the D? :) I now get it. Actually, the D is Mars. The other shapes are Phobos and Deimos, Mars' two moons. And of course two important D libraries. -- Simen Haha! So that the story :)
Re: very simple pure CPU raymarching demo
On Sunday, 24 January 2016 at 14:18:23 UTC, ketmar wrote: ok, just4fun, mulththreaded renderer[1]. set ThreadCount to number of your CPU cores to get some speedup. note: this is not how `std.concurrency` should be used! please, don't do wroker queues as i did! [1] http://ketmar.no-ip.org/dmd/zrm3_adam_trd_x4.d This is the kind of maths I hoped I could try to understand. The spirit is not there :)
Re: Terminix 0.51.0 Released
On Saturday, 27 February 2016 at 23:13:47 UTC, Gerald wrote: Terminix is a tiling Linux terminal emulator I've been working on designed for the Gnome 3 environment and using GtkD. This newest release fixes a number of bugs and adds some new features. I'm announcing it here primarily for D programmers interested in development using GtkD since this might be useful as a real world GtkD program that exercises a significant percentage of the GTK API. Also, if anyone wants to contribute to the effort I'm always looking for help. Terminix can be found here: https://github.com/gnunn1/terminix Sweet! Hope you will announce it in the elementary, Ubuntu and Linux G+ community, right?
Re: Dconf gets a new logo
On Wednesday, 2 March 2016 at 03:37:48 UTC, Andrei Alexandrescu wrote: Many thanks to https://github.com/aG0aep6G who contributed the DConf 2016 logo (the Berlin tower https://github.com/D-Programming-Language/dconf.org/pull/95). After discussing it with Sociomantic, they proposed a new one that is not Berlin-specific and also looks terrific on T-shirts. Take a look: http://dconf.org Very excited about the up-and-coming DConf 2016! Andrei Really rox!
Re: Argon: an alternative parser for command-line arguments
On Friday, 4 March 2016 at 17:34:08 UTC, Markus Laker wrote: On Friday, 4 March 2016 at 12:21:25 UTC, Jacob Carlborg wrote: No, I mean a longer description, more like documentation. Look at the help for git when using --help, it has different behavior than -h. The first one is more like a man page. Ah, I see. Sorry for the misunderstanding. An app could do that trivially: have a --short-help option with shortcut -h and a --help option with no shortcut, and then respond to the two switches differently. Mark the --short-help option as undocumented, and then it won't appear in an auto-generated syntax summary. Markus I think he meant: [git status --help], where you have three attributes with the last one being the flag. So in addition to: [status --help] by default, you also have: [git status --help] to get help on status only. By the way, that styles used by git seems confusing. Why not make it show the default help when you do: [git --help], whilst you can do: [git --help=status] OR [git --help status] for help on status only? git --help git -h git --help=status git --help status git -h=status
Re: Argon: an alternative parser for command-line arguments
On Wednesday, 9 March 2016 at 18:56:10 UTC, Markus Laker wrote: On Saturday, 5 March 2016 at 16:28:25 UTC, karabuta wrote: I think he meant: [git status --help], where you have three attributes with the last one being the flag. So in addition to: [status --help] by default, you also have: [git status --help] to get help on status only. Argon doesn't directly support subcommands. That probably stems from a bias of mine: that subcommands make it harder for the author to parse the command and to generate good error messages, and also that they make it harder for users to use unfamiliar commands, because users must read a man page that documents eleven things they have no interest in doing just to get to the one thing that they need to do in order to get on with their day. At work, where I have written and I still maintain many hundreds of commands, I've moved away from subcommands completely: every operation gets a command of its own. But I know that not everyone agrees with me, and that's OK. If we want to debate this topic further, we should probably move the discussion from Announce to General. .. It shouldn't be hard to write some reusable code to do this, if it were a common requirement. I don't like subcommands myself. That's why Linux is such as mess with so much inconsistencies.
Re: mondo - a d library for mongodb
On Monday, 21 March 2016 at 16:10:38 UTC, Andrea Fontana wrote: I just released on behalf of the company I work for (http://lab.2night.it) "mondo", a library to work with mongodb. Mondo is a collection of classes (and struct) built over mongo-c-driver. Low-level bindings are generated automatically using dstep + a small script to patch some issues with original source. More info on github page. It obviusly depends on mongo-c-driver library (quite easy to compile). GH: https://github.com/2night/mondo Dub: http://code.dlang.org/packages/mondo Comments are welcome. Andrea Fontana Sweet! Exactly what I waited for.
Re: GtkD 3.3.0 released, GTK+ with D.
On Wednesday, 23 March 2016 at 18:16:02 UTC, Mike Wey wrote: GtkD is a D binding and OO wrapper of Gtk+ and is released on the LGPL license. A new version of GTK was released today, and with that comes a new GtkD release so you can use the new features in D. GtkD 3.3.0 is now available on gtkd.org: http://gtkd.org/download.html Awesome! Great work.
Re: Upcoming appearance
On Sunday, 27 March 2016 at 06:18:26 UTC, Saurabh Das wrote: On Saturday, 26 March 2016 at 20:45:49 UTC, Andrei Alexandrescu wrote: I'll be at ACCU teaching a day-long tutorial on D (http://accu.org/index.php/conferences/accu_conference_2016/accu2016_sessions#The_D_Language,_or_The_Art_of_Going_Meta) and delivering a keynote (http://accu.org/index.php/conferences/accu_conference_2016/accu2016_sessions#Fastware). Hope to see some of you there! There has been high interest in the tutorial with over 30 registrations as of a while ago. Andrei Will there be a live stream? Thanks, Saurabh Record too :)
Re: XDG-APP and D
On Thursday, 21 April 2016 at 18:55:23 UTC, Gerald wrote: For those not familiar, xdg-app is a Linux virtualization system targeted at desktop apps, it's been under pretty heavy development and is available for use in Gnome 3.20. Mathias Clausen recently wrote a blog entry about creating his first xdg-app and the application he chose to play with was Terminix, a terminal emulator, which is written in D. He had some D specific challenges to deal with which may be interesting to others looking to support xdg-app. You can read his blog entry here: https://blogs.gnome.org/mclasen/2016/04/15/my-first-xdg-app. This whole sandbox apps seem interesting. Canonical also talking about snaps :)
Re: DlangUI on Android
On Sunday, 24 April 2016 at 11:57:18 UTC, Chris wrote: On Sunday, 24 April 2016 at 06:19:14 UTC, thedeemon wrote: On Saturday, 23 April 2016 at 18:16:38 UTC, Chris wrote: Anyone interested in taking DlangUI and turning it into something like Swing/JavaFX for D? What exactly do you mean by that? Embrace DlangUI or something based on it in the same way DUB was embraced. Atm, only Vadim works on it as a hobby. It would be a pity to see it come to a standstill one day - for what ever reason. I think a D based UI is important, especially now that D is getting some attention. +1
Re: pure D mpeg2 decoder
On Friday, 24 June 2016 at 07:35:51 UTC, Ruslan Mullakhmetov wrote: Hi all! I saw pure jpeg decoder was announced recently and I decided to publish pure D mpeg2 decoder that I wrote just for myself, with study aims. I didn't test it exhaustively, so don't judge me for bugs) Currently it supports only progressive sequences with no B frames. As for performance, it's 5 times slower than ffmpeg implementation, optimizations are required. link: https://github.com/theambient/mpeg2 Does someone want to write pure D AVC or HEVC decoder/encoder? =) P.S. It sometimes has some artifacts, I didn't try to fix them. Video decoder and encoder will be really helpful to me :)
Re: pure D mpeg2 decoder
On Friday, 24 June 2016 at 07:35:51 UTC, Ruslan Mullakhmetov wrote: Hi all! I saw pure jpeg decoder was announced recently and I decided to publish pure D mpeg2 decoder that I wrote just for myself, with study aims. I didn't test it exhaustively, so don't judge me for bugs) Currently it supports only progressive sequences with no B frames. As for performance, it's 5 times slower than ffmpeg implementation, optimizations are required. link: https://github.com/theambient/mpeg2 Does someone want to write pure D AVC or HEVC decoder/encoder? =) P.S. It sometimes has some artifacts, I didn't try to fix them. Does it or do you plan to super decoding and and encoding programmatically (using built-in APIs)?
Re: Vision document for H2 2016
On Thursday, 7 July 2016 at 19:55:51 UTC, Andrei Alexandrescu wrote: https://wiki.dlang.org/Vision/2016H2 -- Andrei Promote video tutorials? :)
Re: New Diet template engine almost complete, ready for comments
On Monday, 25 July 2016 at 09:29:38 UTC, Sönke Ludwig wrote: The Diet template language is aimed at providing a way to ... - Supports AngularJS special attribute names Is there a way to get react JS to work with vibe.d in anyway(server-side)?
Re: Joakim Intreviews Walter for the D Blog
On Tuesday, 30 August 2016 at 11:50:52 UTC, Mike Parker wrote: Joakim has put together an interview with Walter that's all about D. It's an enjoyable read. You can parse the interview at [1] and visit the reddit thread at [2]. I anticipate publishing more of Joakim's interviews on the blog in the future. [1] https://dlang.org/blog/2016/08/30/ruminations-on-d-an-interview-with-walter-bright/ [2] https://www.reddit.com/r/programming/comments/50aox1/ruminations_on_d_an_interview_with_walter_bright/ Good write-up. However the font-family and font-size makes reading a little difficult.
Re: mysql-native v0.1.6
On Thursday, 8 September 2016 at 21:21:24 UTC, Nick Sabalausky wrote: Another small update, v0.1.6, to fix this: Linker error when using dub to import *just* vibe-d:core, but not all of vibe.d. At least once code.dlang.org notices the new tag. Please add a little sample usage code in the README.
Re: SQLite-D goes beta!
On Monday, 30 May 2016 at 18:07:09 UTC, Stefan Koch wrote: It is my pleasure to announce that I now consider SQLite-D to be in Beta stage. The reader is now stable enough to read all the test tables I have been given. The fact that it took around 20 minutes to complete index-tree support convinced mt that I have chosen a solid design. I have received the request to add examples and documentation to sqlite-d. And I will do so as time permits. This project will be boost licensed. So don't be shy :) https://github.com/UplinkCoder/sqlite-d Great work! Can't wait to see sample code :)
Re: WinTab (wacom tablet API) and Windows Core Audio bindings - new DUB packages
On Thursday, 6 October 2016 at 07:10:29 UTC, Vadim Lopatin wrote: Hello, I've published two new DUB packages. derelict-wintab: derelict binding of WinTab32.DLL - API for Wacom digitizer tablets. wasapi: translation of Windows Core Audio interfaces (Core Audio interfaces: MMDevice, WASAPI, EndpointVolume API). I'm using them in my - Theremin-like synthesizer app which uses Wacom tablet as input device. Just in hope it might be useful for someone. Best regards, Vadim Nice stuff, will the SoundTab project work on Linux?
Re: PowerNex - The Userspace update! (also first birthday)
On Tuesday, 4 October 2016 at 11:08:51 UTC, Dejan Lekic wrote: On Sunday, 2 October 2016 at 22:46:17 UTC, Wild wrote: Congratulations!! It definitely looks promising, even though I really do not like the coding style, but that is just a matter of taste I guess. :) The coding convention is not the official Dlang type. I feels same way too.
Re: tanya event loop v0.1.0
On Saturday, 8 October 2016 at 19:43:16 UTC, Eugene Wissner wrote: A month ago I announced the first pre-alpha release of tanya, a general purpose library with an event loop. After a month of almost every day work, I think I can make a second announcement. [...] Really clean API design from the look of the above code. +1
Re: SoundTab Theremin software synthesizer
On Friday, 28 October 2016 at 08:28:41 UTC, Vadim Lopatin wrote: Hello, I've open sourced my project SoundTab: https://github.com/buggins/soundtab/ For better experience, use Wacom digitizer with pressure detection. These are are the kind of stuff needed to build enterprise level softwares for real-world use case. I really love to see more similar hardware interface libraries like reading from scanners, sensors, printing, PDF generators for printing, WebRTC, peer-to-peer, etc. and more IoT stuff/packages in dub registry. I think we have a QRCode library in dub so the more the better - D becomes more competitive for both hobbyists, independent and enterprise developers.
Re: SoundTab Theremin software synthesizer
On Wednesday, 2 November 2016 at 09:35:20 UTC, Vadim Lopatin wrote: On Monday, 31 October 2016 at 22:33:38 UTC, Karabuta wrote: On Friday, 28 October 2016 at 08:28:41 UTC, Vadim Lopatin wrote: Hello, I've open sourced my project SoundTab: https://github.com/buggins/soundtab/ I've published derelict-wintab (Wacom tablet API) and wasapi (windows audio API) libraries used for this project. +1