On Friday, 10 June 2022 at 15:57:40 UTC, Andrey Zherikov wrote:
On Friday, 10 June 2022 at 14:20:15 UTC, Vladimir Panteleev
wrote:
I invoke https://xkcd.com/927/ ! :)
:-D
I tried to improve one of the existing libs but it didn't go
well enough.
Assuming you're talking about your time with
On Sunday, 30 January 2022 at 16:08:17 UTC, SealabJaster wrote:
On Sunday, 30 January 2022 at 10:58:33 UTC, 9il wrote:
...
...
I missed the full example I wanted to give:
```fsharp
let (|Seconds|NotANumber|) (str : string) =
let mutable value = 0.0
match Double.TryParse(str, ) with
On Sunday, 30 January 2022 at 10:58:33 UTC, 9il wrote:
...
Nice work!
Anytime I see things like this it makes me wish D would adopt
some form of pattern matching.
I've been using F# a lot lately, and I'm in love with how
expressive it can be in certain cases, i.e.:
```fsharp
let
On Friday, 26 November 2021 at 14:32:55 UTC, russhy wrote:
One tip:
- avoid "import std", makes compile time increase for nothing
-
https://github.com/BradleyChatha/lumars/blob/master/source/lumars/emmylua.d#L3
-
# Lumars
Lumars is a high-level wrapper around the Lua API. It only
targets Lua 5.1 because of LuaJit. It bundles a precompiled
version of LuaJit for Windows and Posix x86_64 machines to make
it easier to include.
The main highlight of the latest release is the ability to create
On Wednesday, 13 October 2021 at 11:27:40 UTC, Andrey Zherikov
wrote:
...
Guess you got fed up with me not updating JCLI :3
Looks great either way, I really like what you've done with the
`.Parse!().PreValidate!()` chaining, looks clean.
Also happy to see your penchant for documentation is
https://github.com/SdlangInitiative
Since SDLang is quite closely related to D, as D is one of the
only real users of it, I felt this was "D appropriate" enough to
post.
I personally think SDLang is much better than the likes of JSON,
XML, and YAML for human-centered configuration files, so
On Wednesday, 25 August 2021 at 09:18:50 UTC, SealabJaster wrote:
...
Oh, I'd also like to redocument the code. The old code was almost
50% comments or something, and the rewrite has almost no comments.
I've rewritten JCLI, and this is the first release where I think
it's useable again: https://code.dlang.org/packages/jcli
Here's a snippet from the README
# Features
* Building:
* This library was primarily built using
[Meson](https://mesonbuild.com) as the build system, so should be
On Saturday, 29 May 2021 at 14:05:12 UTC, Iain Buclaw wrote:
...
Is joining just to lurk (no video, audio, and minimal text
chatter) acceptable (if it's still going >:3)?
On Tuesday, 19 January 2021 at 00:12:49 UTC, Max Haughton wrote:
The second category is a bit looser, as there are some things
I'd like to do that come under the community relations remit
that aren't as structured - e.g. I am very interested in
getting a proper working group together to try
On Wednesday, 11 December 2019 at 12:04:04 UTC, SealabJaster
wrote:
Final post of this series (also sorry for the necro, but it's
probably better than making a new post):
https://bradley.chatha.dev/BlogPost/JsonSerialiser/6-mixin-template-automate-dlang-tutorial-metaprogramming
Pretty
On Thursday, 27 February 2020 at 15:12:23 UTC, Adam D. Ruppe
wrote:
error: cannot implicitly convert argument of type interpolated
tuple to type string. Tip: use `.idup` to explicitly convert it
to string.
Oh, that pretty much sorts out my problem there, sorry if I
glanced over it being
On Thursday, 27 February 2020 at 09:30:30 UTC, Walter Bright
wrote:
You can make it behave like all those other languages simply
with:
f(format("hello $a"));
At that point, it begs the question of why even bother having
string interpolation.
I'd like to imagine that most
On Wednesday, 4 December 2019 at 03:13:28 UTC, SealabJaster wrote:
..
Final post of the year (and for a while) is out:
https://bradley.chatha.dev/Home/Blog?post=JsonSerialiser5
Once I've worked on the website's design + other things I want to
get done, then I'll finish off the series with
On Saturday, 23 November 2019 at 22:38:22 UTC, SealabJaster wrote:
On Tuesday, 12 November 2019 at 09:15:28 UTC, SealabJaster
wrote:
...
Just wanted to quickly explain the delay for the next post.
Basically just boils down to energy levels being non-existant,
and run.dlang.io still being
On Tuesday, 12 November 2019 at 09:15:28 UTC, SealabJaster wrote:
...
Just wanted to quickly explain the delay for the next post.
Basically just boils down to energy levels being non-existant,
and run.dlang.io still being broken (Don't want to have a backlog
of snippets to make).
On Monday, 11 November 2019 at 16:56:31 UTC, Steven Schveighoffer
wrote:
On 10/30/19 8:05 PM, SealabJaster wrote:
...
Looks like a great idea! Sounds very similar to what I've been
learning over the past 5 years or so.
See my dconf presentation from this year.
I had a quick skim, and
On Sunday, 3 November 2019 at 08:37:07 UTC, SealabJaster wrote:
...
Next post is out, I feel kind of iffy over how I went over
classes, but I think for the most part it came out ok. I probably
won't touch classes specifically in any future post though,
unless I can think of something
On Sunday, 3 November 2019 at 08:35:42 UTC, SealabJaster wrote:
On Friday, 1 November 2019 at 21:14:56 UTC, SealabJaster wrote:
...
Sorry, seems it cut out the first half of that reply.
New posts are out, and I don't want to spam Announce with new
threads, so I'm just replying to this one.
On Friday, 1 November 2019 at 21:14:56 UTC, SealabJaster wrote:
...
I've also made some changes to post #1 based on my last two
comments on this thread.
I'd also like to clarify that the main purpose of this series is
to demonstrate some of the thing of what D's metaprogramming can
do, via
On Friday, 1 November 2019 at 11:29:11 UTC, Ethan wrote:
You also want to catch const(char)[] and just plain char[] for
JSON serialisation purposes. So a template constraint that
catches all those is what you want instead of just is( T ==
string ).
I was definitely thinking of putting that
On Friday, 1 November 2019 at 10:39:42 UTC, Jacob Carlborg wrote:
On Thursday, 31 October 2019 at 00:05:06 UTC, SealabJaster
wrote:
https://bradley.chatha.dev/Home/Blog?post=JsonSerialiser1
FYI, string is a built-in type.
I feel it's more of a weird gray area. As Ethan said it's more
On Thursday, 31 October 2019 at 09:11:59 UTC, Paolo Invernizzi
wrote:
On Thursday, 31 October 2019 at 09:07:18 UTC, GreatSam4sure
wrote:
On Thursday, 31 October 2019 at 09:02:07 UTC, Paolo Invernizzi
wrote:
On Thursday, 31 October 2019 at 00:05:06 UTC, SealabJaster
wrote:
[...]
Great Job,
On Thursday, 31 October 2019 at 07:38:46 UTC, Walter Bright wrote:
Looks like a very nice initiative! Looking forward to more!
A thought - host it on github? That way people can easily
contribute suggestions to it. You'd be in charge, of course,
with what to do with those suggestions.
Happy
On Thursday, 31 October 2019 at 06:35:07 UTC, GreatSam4sure wrote:
On Thursday, 31 October 2019 at 00:05:06 UTC, SealabJaster
wrote:
https://bradley.chatha.dev/Home/Blog?post=JsonSerialiser1
Currently only the first post is out, as I'd like to collect
feedback before writing any more.
[...]
https://bradley.chatha.dev/Home/Blog?post=JsonSerialiser1
Currently only the first post is out, as I'd like to collect
feedback before writing any more.
The series is aimed at people new to D, or people who have heard
of D, but haven't really explored its metaprogramming too much,
hence
On Wednesday, 26 June 2019 at 14:58:08 UTC, Basile B. wrote:
I think we are several having written alternative getopt()
systems.
...
Here's another one to add to the list:
https://code.dlang.org/packages/jcli
Similar to you I'm pretty sure there's glaring issues I haven't
seen/fixed yet.
On Monday, 29 October 2018 at 16:40:20 UTC, FooledDonor wrote:
On Monday, 29 October 2018 at 16:01:38 UTC, Mike Parker wrote:
One of the easiest ways to support the D Language Foundation
is using smile.amazon.com when you make a purchase. Until Nov
2, they're running a special where they're
On Sunday, 11 March 2018 at 17:15:28 UTC, Seb wrote:
What could be done from your perspective to make the setup
easier?
(This is from the perspective of a novice programmer, who hasn't
really interacted with open source projects much)
When I first tried to compile dmd+druntime+phobos quite
30 matches
Mail list logo