Awesome work, thank you
replay -> reply
:56 AM, Robert Schadek wrote:
So stop talking, and start creating PR's.
Yup!
and replay, create an PR that puts it on the list ;-)
I complaint before that D and phobos needs more stuff.
But I can't do it all by myself, but I can ask for help.
So here it goes https://github.com/burner/textbasedfileformats
As on the tin, text based file formats is a library of SAX and
DOM parsers for text based file formats.
I would like
cool, keep up the good work.
Yes please, sign me up
On Wednesday, 5 January 2022 at 12:32:10 UTC, Elronnd wrote:
Cool project!
The mechanism you use is very special-purpose, in that you have
to write a lot of specific code to get such nice output.
There's a trick I came up with, that I've been meaning to post
about, which gives slightly less
In
https://forum.dlang.org/post/tfdycnibnxyryizec...@forum.dlang.org
I complained
that error message related to range primitives like isInputRange,
especially on
template constraints, are not great.
As talk is cheap, and you put your code where your mouth is, I
created
Awesome congratulations
for nvim with coc's I do
```js
{
"languageserver": {
"d": {
"command":
"/home/burner/.dub/packages/serve-d-0.7.0/serve-d/serve-d",
"filetypes": ["d"],
"trace.server": "on",
"rootPatterns":
If you deal with people in your software at some point these
three,
countries, currencies, and languages will become relevant.
Instead of hacking it why not use structured recognized
information.
This is where
https://code.dlang.org/packages/countries_currencies_languages
comes in. As the
Very cool
very nice, thank you
Thank you, very nice test
On Thursday, 23 January 2020 at 20:50:09 UTC, Sebastiaan Koppe
wrote:
Haven't tried Inclusive.no yet. I'll leave that to someone else.
Indirectly you already did, invert turns Inclusive.yes bound into
Inclusive.no bounds.
dud needs your help.
I'm starting work on the dependency resolution and for that I had
to implement proper handling for Semantic Versions, Version
Ranges,
and Version Unions(VersionUnion is basically a VersionRange[]).
The dependency resolution algorithm I want to implement (based on
the
On Saturday, 21 December 2019 at 10:43:05 UTC, Andre Pany wrote:
On Saturday, 21 December 2019 at 09:15:26 UTC, Robert burner
Schadek wrote:
On Friday, 20 December 2019 at 21:26:00 UTC, Andre Pany wrote:
In the new iX (1 Januar 2020) there is also a Leserbrief for
the article;)
Kind regards
But be aware, even though the bool is returned from a
synchronized block,
its actual value has no meaning at all.
All the meaning you get out of that bool is that the MessageBox
was closed
when you called that function.
If there is a function in MessageBox that can reopen the instance,
you
On Monday, 25 November 2019 at 13:14:09 UTC, Sebastiaan Koppe
wrote:
The biggest thing for me would be incremental compilation. As
well as a dub build and test 'watch' mode to avoid scanning the
dependencies every time.
I think there are two levels to incremental compilation (IC).
1. File
Regarding dependency resolution:
Did anybody here had a look at what the Dart people are
doing with pubgrab?
https://github.com/dart-lang/pub/blob/master/doc/solver.md
https://medium.com/@nex3/pubgrub-2fb6470504f
https://www.youtube.com/watch?v=Fifni75xYeQ
Especially the error reporting looks
I can only recommend to get in contact
with the magazine if anybody feels they have something to say.
Everybody I had contact with at the
magazine was nice and helpful.
It was a very interesting, and good
experience to write that article.
shameless_promotion_on()
Buy the magazine.
If Our know D already you get a lot
more out of the other articles in it.
shameless_promotion_off()
I assume you don't mean the documentation for std.array
specifically,
but the act of having documentation of the module.
Then, yes I do think documentation should not be needed.
I think it would be far better if I only needed the signatures of
the functions and the members of the structs to
On Tuesday, 19 November 2019 at 17:13:49 UTC, Nick Sabalausky
(Abscissa) wrote:
On 11/19/19 11:30 AM, Steven Schveighoffer wrote:
And I would complain that the fact json exists as a file
format already screws up dub add -- using dub add removes ALL
comments in an SDL file, and rewrites the
On Tuesday, 19 November 2019 at 16:30:26 UTC, Steven
Schveighoffer wrote:
And I would complain that the fact json exists as a file format
already screws up dub add -- using dub add removes ALL comments
in an SDL file, and rewrites the file in the order it sees fit.
result: I don't use dub add
On Monday, 18 November 2019 at 12:59:25 UTC, Joseph Rushton
Wakeling wrote:
Cool :-) Since I have also been experiencing a fair bit of
production-use DUB pain in the last year, I really appreciate
your taking action on this.
A few things that would be good to understand up front:
* what
On Monday, 18 November 2019 at 16:31:09 UTC, Nick Sabalausky
(Abscissa) wrote:
On 11/18/19 7:59 AM, Joseph Rushton Wakeling wrote:
- I would imagine getting dependency resolution really
right
would be top of the list -- it would be good to aim
to fix
issues like
On Monday, 18 November 2019 at 23:08:13 UTC, Laurent Tréguier
wrote:
I don't understand why this would apply to JSON specifically.
Whatever the language is, the config files will be
hand-written; spelling errors are pretty universal, and
anything we write is prone to mistakes to some extent
On Friday, 15 November 2019 at 10:29:07 UTC, FeepingCreature
wrote:
Are you looking to replace dub as the reference build tool for
D? (Please say yes...)
reference build tool, I don't know. We will see.
Any estimate what the schedule looks like until dud can be used
in practice?
dub
So dub has some problems, and personally I find its code base
very hard to get
into.
At Symmetry we are a very heavy user of dub, resulting in many
wasted hours.
So I started to write dud [1]. I kept some boring/nice parts from
dub, but most
code so far is a complete rewrite.
The goal of
very sweet! Blog Post please
As the name says on the tin, juliad is a library to call Julia
from D and call D from Julia.
The calling D from Julia part is not there yet.
Its still very rough, not only on the edges, but it is a running
start.
https://github.com/symmetryinvestments/juliad
classic noob error: forget the urls
* https://code.dlang.org/packages/dubproxy
* https://github.com/symmetryinvestments/dubproxy
# dubproxy
dubproxy is a library and cli to efficently use private dub
packages and mirror
code.dlang.org, all without a private registry.
It is a standalone library/cli and is completely transparent for
dub.
## private libraries
Sometimes a dub project needs access to private library.
sweet!
any change to get a stl, so I can put it on my 3d printer
On Wednesday, 20 March 2019 at 21:30:29 UTC, Cym13 wrote:
This looks nice! I'm familiar with pegged which uses PEG
grammars, could you maybe comment on the differences and
possible benefits of Darser in comparison?
Pegged can recognise a lot more than LL(1)
(left-recursion,retry,...),
At Symmetry [6] we needed a graphql [1] backend.
So I wrote one.
Grapqhl is a query language, initially developed by facebook,
that can be considered to be a replacement for REST.
Grapqhl allows you efficiently query an endpoint and select what
data you actually want.
Clients are trivial to
To get graphqld up and running I needed a parser/ast/visitor.
Being lazy, I created parser/ast/visitor generated for that.
Darser is the result.
Given a language BNF, as e.yaml, darser will generate a recursive
decent parser, a set of classes making up the AST, a visitor
class and a AST
https://code.dlang.org/packages/darser
https://github.com/burner/Darser
FakeD [2,3] is a fake data generator with support for
localisation.
It is based on faker.js [1].
See [4] for a list of available methods.
void main() {
import std.stdio;
import faked;
auto f = new Faker(/*random seed */ 1337);
writeln(f.loremText());
On Saturday, 10 November 2018 at 10:55:04 UTC, Dave wrote:
Could you please elaborate a bit on your workflow for D with
Vim? E.g. what do you use for debugging, refactoring, ... ?
I had a lot of functions looking like this
void chart_axis_set_name(lxw_chart_axis* handle, const(char)*
dpp and a handful of vim macros did most of the work
On Wednesday, 7 November 2018 at 16:49:58 UTC, H. S. Teoh wrote:
Is there support for reading xlsx files too?
No, Pull Requests are welcome
https://code.dlang.org/packages/xlsxd
Announcing xlsxd a OO wrapper for the C library libxlsxwriter [1].
Run:
import libxlsxd;
auto workbook = newWorkbook("demo.xlsx");
auto worksheet = workbook.addWorksheet("a_worksheet");
worksheet.write(0, 0, "Hello to Excel from D");
and
On 07/10/2014 05:59 PM, Dicebot via Digitalmars-d wrote:
On Thursday, 10 July 2014 at 15:52:45 UTC, Andrei Alexandrescu wrote:
On 7/10/14, 8:29 AM, Sean Kelly wrote:
Robert's struggle with getting std.logger accepted is the stuff told to
children around the campfire so they don't venture out
On 07/10/2014 06:05 PM, Sean Kelly via Digitalmars-d wrote:
On Thursday, 10 July 2014 at 15:52:45 UTC, Andrei Alexandrescu wrote:
On 7/10/14, 8:29 AM, Sean Kelly wrote:
Robert's struggle with getting std.logger accepted is the stuff told to
children around the campfire so they don't venture
On 07/10/2014 10:31 PM, Walter Bright via Digitalmars-d wrote:
On 7/10/2014 12:57 PM, Robert Schadek via Digitalmars-d wrote:
I know this is a bit OT and personal, but could somebody please merge
indexOfNeither aka indexOfNone. I just hate to copy this function from
one personal project
On 07/05/2014 07:00 PM, Russel Winder via Digitalmars-d wrote:
SCons 2.3.2 has been released which has the revamped D tooling.
I appreciate Dub is becoming the build system of choice for new D
projects, so I will maintain the D support in SCons but definitely in
maintenance mode rather than
On 07/04/2014 01:17 AM, Jonathan Crapuchettes via Digitalmars-d-announce
wrote:
After the success of the last D hackday, EMSI is going to attempt to have
a D hackday once a month as close as we can to the first Friday of the
month. Our next round will be Friday July 11.
Last time 24 issues
On 06/30/2014 07:29 AM, Adam Wilson via Digitalmars-d wrote:
On Sun, 29 Jun 2014 21:57:22 -0700, Suliman everm...@live.ru wrote:
Post screenshots please...
Sadly I don't have anything that is visually beyond what I demoed at
DConf so it's still just a blank window. I'm still down in the
On 06/27/2014 09:16 AM, Walter Bright via Digitalmars-d-announce wrote:
On 6/26/2014 2:26 PM, Brian Schott wrote:
https://github.com/economicmodeling
Stuff that's been made available:
* D implementation of the DDoc macro processor
* Documentation generator that doesn't need the compiler
On 06/20/2014 02:34 PM, Nick Treleaven via Digitalmars-d wrote:
On 20/06/2014 13:32, Nick Treleaven wrote:
It apparently shows the 3 main D compilers producing slower code than
Go, Rust, gcc, clang, Nimrod:
Also, it does appear to be using the correct compiler flags (at least
for dmd):
On 06/20/2014 02:56 PM, David Nadlinger via Digitalmars-d wrote:
On Friday, 20 June 2014 at 12:34:55 UTC, Nick Treleaven wrote:
On 20/06/2014 13:32, Nick Treleaven wrote:
It apparently shows the 3 main D compilers producing slower code than
Go, Rust, gcc, clang, Nimrod:
Also, it does appear
On my way back from DConf I was bored with in the in-flight
entertainment and start to hack.
The result is inifiled a compile time ini file reader and writer that
fills and stores a annotated struct.
It excepts typical ini files with sections, comments and to some extend
nesting and arrays. The
On 06/16/2014 11:11 PM, Dicebot via Digitalmars-d-announce wrote:
On Monday, 16 June 2014 at 06:51:41 UTC, Jacob Carlborg wrote:
Pretty cool idea. Are you aware of that in D you can, at compile
time, parse the doc string and generate a command line parser for
that particular documentation.
I
On 06/13/2014 04:03 AM, Steven Schveighoffer via Digitalmars-d wrote:
On Thu, 12 Jun 2014 21:22:25 -0400, Kapps opantm2+s...@gmail.com wrote:
I could be wrong about this, but from what I remember this comes down
to DMC's runtime library. The max number of open file descriptors
with apis such
Currently I have problems with my Logger PR. It magically fails from
time to time.
Whenever it fails std.socket fails with:
Open file hard limit too low
As far as I can see that is why my tests fail as well. Is this limit a
known problem? Suggestions?
On 06/06/2014 12:29 PM, Tom Browder via Digitalmars-d wrote:
Can anyone point me to a text version of the D grammar in some kind of
BNF or EBNF format? The D lang web site's info is close, but it's
buried in html which I'ld rather not have to wrestle with.
My purpose is to attempt to write a
On 06/06/2014 12:22 PM, Damian Day via Digitalmars-d-learn wrote:
I'm having some trouble with building Phobos documentation locally on
Win32.
I've been referring to this guide:
http://wiki.dlang.org/Building_DMD#Building_the_Docs
I don't want to pull it from github and I don't really need
Is there a function in phobos that lets me do something like
DateTime.format(MM:DD: ) with a DateTime instance?
On 06/03/2014 07:12 PM, Jonathan M Davis via Digitalmars-d-learn wrote:
On Tue, 03 Jun 2014 17:07:02 +0200
Robert Schadek via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com wrote:
Is there a function in phobos that lets me do something like
DateTime.format(MM:DD:
On 06/03/2014 08:22 PM, Jonathan M Davis via Digitalmars-d-learn wrote:
On Tue, 03 Jun 2014 19:39:14 +0200
Robert Schadek via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com wrote:
On 06/03/2014 07:12 PM, Jonathan M Davis via Digitalmars-d-learn
wrote:
On Tue, 03 Jun 2014 17:07:02
On 05/30/2014 09:49 PM, Tobias Pankrath via Digitalmars-d wrote:
I know this is very early, but I work slowly :o)
* Something like boost::log
phobos PR #1500 https://github.com/D-Programming-Language/phobos/pull/1500
* Something like boost::program_options
phobos PR #2072
On 05/29/2014 12:41 PM, Jacob Carlborg via Digitalmars-d wrote:
On 2014-05-29 12:09, Atila Neves wrote:
The GC is preventing me from beating Java, but not because of
collections. It's the locking it does to allocate instead! I
don't know about the rest of you but I definitely didn't see that
On 05/14/2014 06:15 AM, Jesse Phillips via Digitalmars-d-learn wrote:
On Tuesday, 13 May 2014 at 17:05:15 UTC, Chris Piker wrote:
I tried that, but you're using private members of std.getopt
(which of course is okay for the way you intended the code
to be used) so I stopped pursuing this
On 05/13/2014 05:40 AM, Chris Piker via Digitalmars-d-learn wrote:
On Monday, 12 May 2014 at 23:11:57 UTC, Robert Schadek via
Digitalmars-d-learn wrote:
Okay, I replaced the std.getopt that came with dmd with your
version. My code compiles, but of course it doesn't link
against the old
On 05/12/2014 10:44 PM, Chris Piker via Digitalmars-d-learn wrote:
On Saturday, 10 May 2014 at 11:59:03 UTC, Robert Schadek via
Digitalmars-d-learn wrote:
On 05/10/2014 01:09 AM, Chris Piker via Digitalmars-d-learn wrote:
Phobos' std.getopt is a bit spare for my taste, as there is
no builtin
On 05/10/2014 01:09 AM, Chris Piker via Digitalmars-d-learn wrote:
Phobos' std.getopt is a bit spare for my taste, as there is
no builtin general help facility with word-wrapping.
Does anyone have a recommendation on which of the existing
command line option parsing libraries floating around
On 05/07/2014 06:32 AM, Walter Bright via Digitalmars-d wrote:
I had a car last year, and we stuffed it to the gills with people
going between FB and Aloft. Will do so again this year.
I will have a car as well, but I'm staying on the other side of the bay.
I can take three people from FB to
On 05/07/2014 08:21 AM, Jack via Digitalmars-d-learn wrote:
First off a Disclaimer: I'm a noob and still learning. Please
don't bash me like some forums.
Now to the questions: I'm searching for a quick and easy way to
integrate SQLite3 in my application. I came across the
etc.c.sqlite3 and
On 03/13/2014 07:40 PM, Vladimir Panteleev wrote:
Looks like most of these are on compiler bugs.
The only Phobos one is the std.getopt one, however its situation is
two abandoned patches and no clear goal as to what constitutes a
change worthy of marking the issue as fixed and paying out the
On 04/16/2014 01:55 PM, justme wrote:
You may be on to something here.
Maybe I should create a wanted feature list and get started. Any feature
you would like to see?
Lately I had to write some sqlite3 code in D. And I really hated writing
it. So I wrote me some CTFE generator for it. It uses all the fun UDA,
CTFE string mixin template magic, we all love. The generated code is as
fast as the hand written one. I wrote some of it down.
http://rburners.tumblr.com/
On 04/15/2014 07:05 PM, Dicebot wrote:
Some quick observations:
1) toStringz(insertStmt) - as inserStmt is actually a string literal,
no need to use toStringz, literals are alway null-terminated.
did not know that. Thanks
2) in block immediately after `throw` has extra level of indentation
replace .. with : to make lexing easier, please
On 03/17/2014 11:24 PM, H. S. Teoh wrote:
On Mon, Mar 17, 2014 at 11:16:12PM +0100, Robert Schadek wrote:
replace .. with : to make lexing easier, please
auto b = arr[(someCondition) ? w:x : y:z];
:-(
T
Thats a parsing problem.
1..1 makes you think you got a prefix of a float 1
On 03/17/2014 11:43 PM, Timon Gehr wrote:
No, it does not. The lexer does not need to change.
you're right, but at some distant future I would like .. to be replaced
by :
Writing gui's by hand is not that much fun. Using glade files is also
not so entertaining. GladeD creates class, out of glade files, you can
inherited and implement.
Glade is just a very small tool, I thought other people might find hand.
Check: https://github.com/burner/gladeD
On 03/13/2014 11:26 PM, captaindet wrote:
very neat!
the test worked under windows as well. just a few tweaks were
necessary cause i did not want to move yr logger into std, ... yet.
well, a boy must have dreams ;-) I didn't expect it to run under win,
but hey, nice to hear
i have been
On 03/12/2014 05:44 PM, Andrei Alexandrescu wrote:
On 3/12/14, 4:08 AM, Iain Buclaw wrote:
Andrei, I'm looking at you.
Hope not in a sexy way :o). I'm not sure that's a good idea - those
are adult domains.
Andrei
bad publicity is better than none at least we're not as uptight as
go.sexy
On 03/07/2014 12:56 PM, Vladimir Panteleev wrote:
I'm glad I'm not the only one who feels this way. Implicit decoding
must die.
I strongly believe that implicit decoding of character points in
std.range has been a mistake.
- Algorithms such as countUntil will count code points. These
this one is just annoying, at least to me
https://d.puremagic.com/issues/show_bug.cgi?id=648
I'm searching the docs for something similar to:
copy(someInputRange, firstOutputRange, secondOutputRange, );
I know how to write it by hand, but I'm suspecting that something like
this is already in phobos.
And secondly, is there some function that gives me a forward range to
some input
On 12/21/2013 10:43 PM, Andrej Mitrovic wrote:
The compiler matches the missing symbol with the selective import
writeln, so it knows it only has to load std.stdio, *but not*
std.algorithm.
Test-case 3:
-
import std.stdio : writeln;
import std.algorithm : map;
import std.range; //
On 12/04/2013 09:24 PM, Andrej Mitrovic wrote:
On 11/1/13, Marenz mathias.baum...@sociomantic.com wrote:
we at Sociomantic Labs are once again (or still) looking for
D-Developers in Berlin.
Does that imply only people living near to Berlin should apply? If
not, what does Sociomantic offer for
On 11/06/2013 02:21 PM, Dicebot wrote:
I see
On 11/04/2013 06:27 PM, Dicebot wrote:
On Monday, 4 November 2013 at 17:08:21 UTC, Robert Schadek wrote:
4.
Static namespace classes are redundant and should be replaced with
module-scope globals.
not sure either
My concern here is that if we need explicit additional symbol
qualification
On 11/05/2013 11:56 AM, t-dog wrote:
+1
On 11/04/2013 06:48 AM, Philippe Sigaud wrote:
On Sun, Nov 3, 2013 at 7:08 PM, Timothee Cour
thelastmamm...@gmail.com mailto:thelastmamm...@gmail.com wrote:
On Sun, Nov 3, 2013 at 1:13 AM, Philippe Sigaud
philippe.sig...@gmail.com mailto:philippe.sig...@gmail.comwrote:
My
On 11/04/2013 06:52 AM, Philippe Sigaud wrote:
On Mon, Nov 4, 2013 at 1:55 AM, Timothee Cour
thelastmamm...@gmail.com mailto:thelastmamm...@gmail.com wrote:
I guess I'll have to write a CT-compatible LALR(1) engine...
D does not fit into LALR(1), you need glr.
On 11/04/2013 02:46 PM, Dicebot wrote:
On Monday, 14 October 2013 at 11:39:52 UTC, Dicebot wrote:
As `std.logger` is still marked as work in progress this thread is
less formal that typical pre-voting review. Goal is to provide as
much input about desirable `std.logger` functionality and
On 11/03/2013 09:13 AM, Philippe Sigaud wrote:
Oh, for D it works (it's even the biggest grammar I know), but it's
too slow to be of practical interest. But that just means the
generated parser is not top-notch, which is reasonable: I'm not a
parsing pro, just a guy doing this during his free
On 10/29/2013 11:02 AM, Dicebot wrote:
On Tuesday, 29 October 2013 at 07:30:41 UTC, ilya-stromberg wrote:
It looks like we finished std.logger review.
Is it time to make some conclusion?
Sorry, having lot of distraction lately. I am hoping to make a summary
for std.logger and proceed with
On 10/21/2013 06:19 AM, SomeDude wrote:
On Tuesday, 15 October 2013 at 08:47:00 UTC, Robert Schadek wrote:
On 10/15/2013 09:32 AM, Sönke Ludwig wrote:
Am 15.10.2013 09:08, schrieb Jacob Carlborg:
On 2013-10-14 23:22, Dicebot wrote:
If we need to care about that, D module system is a failure
On 10/21/2013 08:27 AM, SomeDude wrote:
In practive, you really want a powerful logging facility.
Another feature I used once in a project, was to log to RAM. We
decided to log TRACE logs in production in order to catch a rare bug,
but of course, it would output too many logs. So we decided
On 10/21/2013 10:19 PM, Dejan Lekic wrote:
On Mon, 14 Oct 2013 13:39:51 +0200, Dicebot wrote:
As `std.logger` is still marked as work in progress this thread is
less formal that typical pre-voting review. Goal is to provide as much
input about desirable `std.logger` functionality and current
On 10/20/2013 08:52 AM, ilya-stromberg wrote:
Also, Tango have log module:
https://github.com/SiegeLord/Tango-D2/blob/d2port/tango/util/log/Log.d
I looked through the source and IMO the tango logger is my logger + (
configuration and more default logger) or the other way round. And this
thread
On 10/18/2013 02:55 PM, Dicebot wrote:
Can you please re-generate the documentation after all recent updates?
I usually do that. The only documentation missing is for MultiLogger, as
I'm not sure if the current implementation is done.
On 10/18/2013 03:49 PM, Dicebot wrote:
On Friday, 18 October 2013 at 13:35:19 UTC, Robert Schadek wrote:
On 10/18/2013 02:55 PM, Dicebot wrote:
Can you please re-generate the documentation after all recent updates?
I usually do that. The only documentation missing is for MultiLogger, as
I'm
On 10/17/2013 09:34 AM, qznc wrote:
On Thursday, 17 October 2013 at 02:13:12 UTC, Eric Anderton wrote:
The strength of this is that it would allow us to freely integrate D
libraries that use std.logger, yet filter their log output from
*outside* the library through the std.logger API.
This
1 - 100 of 191 matches
Mail list logo