Re: Breaking news: std.uni changes!

2022-12-26 Thread Robert Schadek via Digitalmars-d-announce
Awesome work, thank you

Re: text based file formats

2022-12-19 Thread Robert Schadek via Digitalmars-d-announce
replay -> reply

Re: text based file formats

2022-12-19 Thread Robert Schadek via Digitalmars-d-announce
: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 ;-)

text based file formats

2022-12-18 Thread Robert Schadek via Digitalmars-d-announce
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

Re: Initial release of newxml done!

2022-09-12 Thread Robert Schadek via Digitalmars-d-announce
cool, keep up the good work.

Re: DConf 2022 in London?

2022-02-16 Thread Robert Schadek via Digitalmars-d-announce
Yes please, sign me up

Re: Error message formatter for range primitives

2022-01-05 Thread Robert Schadek via Digitalmars-d-announce
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

Error message formatter for range primitives

2022-01-05 Thread Robert Schadek via Digitalmars-d-announce
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

Re: GDC has just landed v2.098.0-beta.1 into GCC

2021-11-30 Thread Robert Schadek via Digitalmars-d-announce
Awesome congratulations

Re: code-d 0.23.0

2021-11-21 Thread Robert Schadek via Digitalmars-d-announce
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":

countries_currencies_languages the most boring package ever

2021-07-09 Thread Robert Schadek via Digitalmars-d-announce
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

Re: From the D Blog: Driving with D

2021-06-02 Thread Robert Schadek via Digitalmars-d-announce
Very cool

Re: dub 502 bad gateway

2020-01-30 Thread Robert Schadek via Digitalmars-d-announce
very nice, thank you

Re: dud: A dub replacement

2020-01-24 Thread Robert Schadek via Digitalmars-d-announce
Thank you, very nice test

Re: dud: A dub replacement

2020-01-24 Thread Robert Schadek via Digitalmars-d-announce
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.

Re: dud: A dub replacement

2020-01-23 Thread Robert Schadek via Digitalmars-d-announce
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

Re: Article about D in the iX magazine

2019-12-21 Thread Robert Schadek via Digitalmars-d-announce
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

Re: What is the point of a synchronized lock on a single return statement?

2019-11-25 Thread Robert Schadek via Digitalmars-d-learn
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

Re: dud: A dub replacement

2019-11-25 Thread Robert Schadek via Digitalmars-d-announce
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

Re: dud: A dub replacement

2019-11-25 Thread Robert Schadek via Digitalmars-d-announce
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

Re: Article about D in the iX magazine

2019-11-23 Thread Robert Schadek via Digitalmars-d-announce
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.

Re: Article about D in the iX magazine

2019-11-23 Thread Robert Schadek via Digitalmars-d-announce
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()

Re: dud: A dub replacement

2019-11-20 Thread Robert Schadek via Digitalmars-d-announce
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

Re: dud: A dub replacement

2019-11-20 Thread Robert Schadek via Digitalmars-d-announce
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

Re: dud: A dub replacement

2019-11-20 Thread Robert Schadek via Digitalmars-d-announce
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

Re: dud: A dub replacement

2019-11-20 Thread Robert Schadek via Digitalmars-d-announce
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

Re: dud: A dub replacement

2019-11-19 Thread Robert Schadek via Digitalmars-d-announce
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

Re: dud: A dub replacement

2019-11-19 Thread Robert Schadek via Digitalmars-d-announce
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

Re: dud: A dub replacement

2019-11-17 Thread Robert Schadek via Digitalmars-d-announce
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

dud: A dub replacement

2019-11-11 Thread Robert Schadek via Digitalmars-d-announce
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

Re: Oberon to D

2019-10-23 Thread Robert Schadek via Digitalmars-d-announce
very sweet! Blog Post please

Juliad: A library for interop between D and Julia

2019-08-30 Thread Robert Schadek via Digitalmars-d-announce
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

Re: dubproxy: Easy private repos and code.dlang.org mirror

2019-08-16 Thread Robert Schadek via Digitalmars-d-announce
classic noob error: forget the urls * https://code.dlang.org/packages/dubproxy * https://github.com/symmetryinvestments/dubproxy

dubproxy: Easy private repos and code.dlang.org mirror

2019-08-16 Thread Robert Schadek via Digitalmars-d-announce
# 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.

Re: Started a neat 3D model project of D's mascot in Paint3D

2019-06-05 Thread Robert Schadek via Digitalmars-d-announce
sweet! any change to get a stl, so I can put it on my 3d printer

Re: Darser: A LL(1) to Recursive Decent Parser/AST/Visitor Generator

2019-03-21 Thread Robert Schadek via Digitalmars-d-announce
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,...),

graphqld: A graphql backend written in D

2019-03-20 Thread Robert Schadek via Digitalmars-d-announce
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

Darser: A LL(1) to Recursive Decent Parser/AST/Visitor Generator

2019-03-20 Thread Robert Schadek via Digitalmars-d-announce
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

Re: Darser: A LL(1) to Recursive Decent Parser/AST/Visitor Generator

2019-03-20 Thread Robert Schadek via Digitalmars-d-announce
https://code.dlang.org/packages/darser https://github.com/burner/Darser

FakeD

2019-02-19 Thread Robert Schadek via Digitalmars-d-announce
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());

Re: xlsxd: A Excel xlsx writer

2018-11-12 Thread Robert Schadek via Digitalmars-d-announce
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)*

Re: xlsxd: A Excel xlsx writer

2018-11-08 Thread Robert Schadek via Digitalmars-d-announce
dpp and a handful of vim macros did most of the work

Re: xlsxd: A Excel xlsx writer

2018-11-07 Thread Robert Schadek via Digitalmars-d-announce
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

xlsxd: A Excel xlsx writer

2018-11-07 Thread Robert Schadek via Digitalmars-d-announce
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

Re: Opportunities for D

2014-07-10 Thread Robert Schadek via Digitalmars-d
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

Re: Opportunities for D

2014-07-10 Thread Robert Schadek via Digitalmars-d
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

Re: Opportunities for D

2014-07-10 Thread Robert Schadek via Digitalmars-d
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

Re: SCons and D

2014-07-06 Thread Robert Schadek via Digitalmars-d
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

Re: D Hackday Round 2

2014-07-04 Thread Robert Schadek via Digitalmars-d-announce
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

Re: Update on Aurora

2014-07-02 Thread Robert Schadek via Digitalmars-d
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

Re: EMSI has a Github page

2014-06-27 Thread Robert Schadek via Digitalmars-d-announce
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

Re: Perlin noise benchmark speed

2014-06-20 Thread Robert Schadek via Digitalmars-d
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):

Re: Perlin noise benchmark speed

2014-06-20 Thread Robert Schadek via Digitalmars-d
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

Yet another CT ini file parser: inifiled

2014-06-16 Thread Robert Schadek via Digitalmars-d-announce
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

Re: D port of docopt

2014-06-16 Thread Robert Schadek via Digitalmars-d-announce
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

Re: AutoTester file limit

2014-06-13 Thread Robert Schadek via Digitalmars-d
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

AutoTester file limit

2014-06-12 Thread Robert Schadek via Digitalmars-d
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?

Re: D Grammar in BNF Text Form?

2014-06-06 Thread Robert Schadek via Digitalmars-d
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

Re: Building phobos documentation

2014-06-06 Thread Robert Schadek via Digitalmars-d-learn
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

DateTime custom string format

2014-06-03 Thread Robert Schadek via Digitalmars-d-learn
Is there a function in phobos that lets me do something like DateTime.format(MM:DD: ) with a DateTime instance?

Re: DateTime custom string format

2014-06-03 Thread Robert Schadek via Digitalmars-d-learn
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:

Re: DateTime custom string format

2014-06-03 Thread Robert Schadek via Digitalmars-d-learn
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

Re: 1st Call for Ideas for Google Summer of Code 2015

2014-06-02 Thread Robert Schadek via Digitalmars-d
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

Re: The GC and performance, but not what you expect

2014-05-29 Thread Robert Schadek via Digitalmars-d
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

Re: Recommendation on option parsing

2014-05-14 Thread Robert Schadek via Digitalmars-d-learn
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

Re: Recommendation on option parsing

2014-05-13 Thread Robert Schadek via Digitalmars-d-learn
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

Re: Recommendation on option parsing

2014-05-12 Thread Robert Schadek via Digitalmars-d-learn
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

Re: Recommendation on option parsing

2014-05-10 Thread Robert Schadek via Digitalmars-d-learn
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

Re: [OT] DConf - How to survive without a car?

2014-05-07 Thread Robert Schadek via Digitalmars-d
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

Re: SQLite3

2014-05-07 Thread Robert Schadek via Digitalmars-d-learn
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

Re: Bountysource activity

2014-04-16 Thread Robert Schadek
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

Re: sqlite-statement CTFE Generation (UniformAccess) / Benchmark

2014-04-16 Thread Robert Schadek
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?

sqlite-statement CTFE Generation (UniformAccess) / Benchmark

2014-04-15 Thread Robert Schadek
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/

Re: sqlite-statement CTFE Generation (UniformAccess) / Benchmark

2014-04-15 Thread Robert Schadek
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

Re: DIP58: .. as a Binary Operator

2014-03-17 Thread Robert Schadek
replace .. with : to make lexing easier, please

Re: DIP58: .. as a Binary Operator

2014-03-17 Thread Robert Schadek
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

Re: DIP58: .. as a Binary Operator

2014-03-17 Thread Robert Schadek
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 :

GladeD - Gtk Glade Files to GtkD classes

2014-03-13 Thread Robert Schadek
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

Re: GladeD - Gtk Glade Files to GtkD classes

2014-03-13 Thread Robert Schadek
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

Re: dlang.sexy

2014-03-12 Thread Robert Schadek
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

Re: Major performance problem with std.array.front()

2014-03-07 Thread Robert Schadek
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

Re: Top-3 for 2.066

2014-02-25 Thread Robert Schadek
this one is just annoying, at least to me https://d.puremagic.com/issues/show_bug.cgi?id=648

std.copy (to multiple output ranges),

2014-01-27 Thread Robert Schadek
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

Re: phobos dependencies

2014-01-07 Thread Robert Schadek
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; //

Re: D Programmer Jobs at Sociomantic Labs

2013-12-04 Thread Robert Schadek
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

Re: Early review of std.logger

2013-11-06 Thread Robert Schadek
On 11/06/2013 02:21 PM, Dicebot wrote: I see

Re: Early review of std.logger

2013-11-05 Thread Robert Schadek
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

Re: D Programmer Jobs at Sociomantic Labs

2013-11-05 Thread Robert Schadek
On 11/05/2013 11:56 AM, t-dog wrote: +1

Re: D parsing

2013-11-04 Thread Robert Schadek
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

Re: D parsing

2013-11-04 Thread Robert Schadek
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.

Re: Early review of std.logger

2013-11-04 Thread Robert Schadek
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

Re: D parsing

2013-11-03 Thread Robert Schadek
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

Re: review queue: next?

2013-10-29 Thread Robert Schadek
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

Re: Early review of std.logger

2013-10-21 Thread Robert Schadek
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

Re: Early review of std.logger

2013-10-21 Thread Robert Schadek
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

Re: Early review of std.logger

2013-10-21 Thread Robert Schadek
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

Re: Early review of std.logger

2013-10-20 Thread Robert Schadek
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

Re: Early review of std.logger

2013-10-18 Thread Robert Schadek
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.

Re: Early review of std.logger

2013-10-18 Thread Robert Schadek
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

Re: Early review of std.logger

2013-10-17 Thread Robert Schadek
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   2   >