Re: tshare/1.0 a fast way to share file using transfer.sh

2023-10-07 Thread Andrea Fontana via Digitalmars-d-announce
On Wednesday, 4 October 2023 at 23:02:39 UTC, Andrea Fontana 
wrote:
I've just released a simple tool for sharing files (similar to 
WeTransfer) directly from the terminal.



News:
- Added support for encryption (if gpg is available)
- Added binaries built by github
- Improved UI

Question:
- Is there a way to compile curl statically with ldc for windows? 
If I try (using -static), it throws a runtime error.


Andrea




Re: From the D Blog: Crafting Self-Evident Code in D

2023-10-07 Thread sighoya via Digitalmars-d-announce

On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote:
It's been a long, long while since I published anything on the 
blog. I do intend to get pick it up again down the road, but 
Walter recently surprised me with plans of his own. He's taken 
the topic of his DConf '23 talk and derived a blog post from it:


https://dlang.org/blog/2023/10/02/crafting-self-evident-code-with-d/

I guess he got impatient with the pace at which I'm getting the 
talk videos uploaded :-)


And for anyone who'd like to engage in any Reddit discussion 
that comes up:


https://www.reddit.com/r/programming/comments/16y2h36/crafting_selfevident_code_in_dlang/


Thanks, I think we need more of this as D has become a large 
language already.

There were some points I even never considered before.

I disagree however in all binary types should be just boolean.
I prefer machineState=State.On or State.Off than isMachineOn=true 
or false.