Re: Printing shortest decimal form of floating point number with Mir
On Tuesday, 29 December 2020 at 19:59:56 UTC, Ola Fosheim Grøstad wrote: On Tuesday, 29 December 2020 at 16:14:59 UTC, Atila Neves wrote: On Thursday, 24 December 2020 at 14:14:33 UTC, 9il wrote: On Thursday, 24 December 2020 at 14:08:32 UTC, welkam wrote: On Wednesday, 23 December 2020 at 18:05:40 UTC, 9il wrote: It was a mockery executed by Atila Read the all comments and didnt saw any mockery Yes, it wasn't explicit. He didn't write bad words, he did a bad decision. Bad for D. I apologise if what I wrote came across as mockery; it certainly wasn't intended that way. How would you have liked for me to have handled it better? I am not speaking for Ilya, but from skimming through the dialogue it struck me that you didn't respond from the perspective of managing the process, but from a pure engineer mindset of providing alternatives. It would've been better if you started by 1. understanding the issue 2. acknowledging that the type system has an obvious bug 3. looking at the issue from the perspective of the person bringing attention to the issue. I don't think anyone was looking for workarounds, but looking for 1. acknowledgment of the issue 2. acknowledgment of what the issue leads to in terms of inconvenience 3. a forward looking vision for future improvements +1
Re: Package for differential equation solvers
On 1/2/21 4:47 AM, Flávio wrote: Hi folks, I have started a repository to port Differential equation solver code to D. The goal is to have efficient implementations in D that have a much simpler interface for users than current C, C++, and FORTRAN libraries. Currently is just a couple of solvers quickly whipped together (probably with bugs) as a proof of concept. Please join me to help create this! https://github.com/fccoelho/D-DifferentialEquations Contributors are very, very, VERY MUCH welcome! Have you talked to Ilya Yaroshenko (9il) ? This might slot in well with libmir.
Re: I'm creating a game purely written in D with the arsd library
On 1/2/21 4:18 PM, H. S. Teoh wrote: On Sat, Jan 02, 2021 at 09:01:17PM +, Murilo via Digitalmars-d-announce wrote: [...] It's because I don't people to know the spoilers, so no one will see the source code. ... Providing source code is mainly for convenience to people who might want to compile it for platforms you do not have (thus spreading the word about your program). Yes, like me for example. My only graphical systems are Mac, whereas my linux machines are all headless. Sadly I have not been able to try the game.
Re: I'm creating a game purely written in D with the arsd library
On 1/2/21 2:10 PM, Murilo wrote: On Saturday, 2 January 2021 at 05:43:48 UTC, James Blachly wrote: On 1/1/21 11:12 PM, Murilo wrote: Here is the link https://drive.google.com/file/d/1Il1xLN8b5rzghYLXTQqq2apv5YMKv7rx/view?usp=sharing Bro I would be shocked if people are excited to run a mystery binary downloaded from Google Drive. The ELF binary does contain arsd symbols, and at least VMs and Unix systems give us privilege and resource isolation safety these days. Still, why not source code on Github? The reason why I won't show the source code is because I don't want anyone hacking the game or find out the surprises hidden in the game, I want the game to be a mystery, you have to play it to know what is gonna happen. I also don't want anyone stealing my idea. I promise I don't mean to be rude, just "confrontationally instructive." =) But as far as the game, the strings are all in the binary: ``` Alabaster Amphora Beautiful souvenir from Silmaria, you smell hippocrene water. Those are delicious, and healthy. Those are shiny gold Dracmas, use it well. This is a cheap weapon which you can throw at the enemy. Someone has been looking for this since 2003. This should be 100 Brazilian Reals. Eating this might teach me to speak Chinese. It says Davy Jones on the label of this product. ``` (incidentally it look like a funny game to be sure) And as far as the code, you have somehow imported the source text of one of your files into the binary: ``` // Starting items ItemForSale alabasterAmphora = ItemForSale("Alabaster Amphora", "Beautiful souvenir from Silmaria, you smell hippocrene water.", Image.fromMemoryImage(loadImageFromMemory(cast(immutable ubyte[]) import("items/alabaster amphora.jpeg"))), Image.fromMemoryImage(loadImageFromMemory(cast(immutable ubyte[]) import("icons/icon alabaster amphora.jpeg"))), 200, false), fruits = ItemForSale("Fruits", "Those are delicious, and healthy.", ``` Anyway, my point is -- try to not to worry to much that others will steal your code or your idea. A determined adversary will do what he wants. My final suggestion is that -- given this is a D programming enthusiasts' newsgroup, where we are interested in seeing D code, you might get great feedback on the code itself. Kind regards
Re: I'm creating a game purely written in D with the arsd library
On Saturday, 2 January 2021 at 04:12:29 UTC, Murilo wrote: Here is the link https://drive.google.com/file/d/1Il1xLN8b5rzghYLXTQqq2apv5YMKv7rx/view?usp=sharing I can't pass the first screen with a static photo and music. Help?
Re: Release D 2.095.0
On Saturday, 2 January 2021 at 20:15:16 UTC, Martin Nowak wrote: Glad to announce D 2.095.0, ♥ to the 61 contributors. This release comes with a much improved C++ header generation, template instantiation traces for deprecations, module-level function conflict detection, and better compiler flag support in dub. http://dlang.org/download.html http://dlang.org/changelog/2.095.0.html -Martin Thanks. I'm excited to test out some of the dub changes when I have a chance. I'd like to repeat a previous ask: that the change log mention the dub version somewhere. Thanks.
Re: I'm creating a game purely written in D with the arsd library
On Sat, Jan 02, 2021 at 09:05:03PM +, Murilo via Digitalmars-d-announce wrote: > On Saturday, 2 January 2021 at 19:15:44 UTC, evilrat wrote: > > On Saturday, 2 January 2021 at 19:10:59 UTC, Murilo wrote: > > > I also don't want anyone stealing my idea. > > > > Too late. You already posted it. Technically anyone could "steal" it > > from now. > > But they would have to write their own code, they can't copy paste my > code. Nope. Reverse-engineering is a thing. There's even tools out there to automate this stuff. T -- Trying to define yourself is like trying to bite your own teeth. -- Alan Watts
Re: Release D 2.095.0
On Saturday, 2 January 2021 at 20:15:16 UTC, Martin Nowak wrote: Glad to announce D 2.095.0, ♥ to the 61 contributors. This release comes with a much improved C++ header generation, template instantiation traces for deprecations, module-level function conflict detection, and better compiler flag support in dub. http://dlang.org/download.html http://dlang.org/changelog/2.095.0.html -Martin 🎉🍾
Re: I'm creating a game purely written in D with the arsd library
On Sat, Jan 02, 2021 at 09:01:17PM +, Murilo via Digitalmars-d-announce wrote: [...] > It's because I don't people to know the spoilers, so no one will see > the source code. IMO, that view is misguided, because as soon as some software runs on the user's PC, it's already open to reverse-engineering. Given enough time and effort, everything can be reverse-engineered. The catch is, "given enough time and effort". Meaning, it's *possible* to reverse-engineer everything, but whether or not someone will actually do it depends on whether they consider it worth their time and effort. I'd surmise practically everyone will consider it not worth the effort. By extension, given the source code, people might be curious to look at a couple of pages of it, but I honestly doubt they'd have the motivation to comb through every last page to ferret out any secrets you may have hidden. (And if they actually did, then congratulations, you've gained a dedicated follower. That's not a bad thing! You *want* users with that level of dedication.) Providing source code is mainly for convenience to people who might want to compile it for platforms you do not have (thus spreading the word about your program). T -- The two rules of success: 1. Don't tell everything you know. -- YHL
Re: I'm creating a game purely written in D with the arsd library
On Saturday, 2 January 2021 at 19:15:44 UTC, evilrat wrote: On Saturday, 2 January 2021 at 19:10:59 UTC, Murilo wrote: I also don't want anyone stealing my idea. Too late. You already posted it. Technically anyone could "steal" it from now. But they would have to write their own code, they can't copy paste my code.
Re: I'm creating a game purely written in D with the arsd library
On Saturday, 2 January 2021 at 19:38:37 UTC, Adam D. Ruppe wrote: On Saturday, 2 January 2021 at 05:43:48 UTC, James Blachly wrote: Still, why not source code on Github? Is this really any different? Do you actually audit the source? simpledisplay is 17,000 lines. How much of that code is pure evil? Part of my twisted desire to burn the entire universe into atoms then recreate the world in my own image? spoilers: all of it :P It's because I don't people to know the spoilers, so no one will see the source code. And here is the new link to it: https://madscientisthaven.blogspot.com/2021/01/an-awesome-new-game-for-you-to-have-fun.html
Release D 2.095.0
Glad to announce D 2.095.0, ♥ to the 61 contributors. This release comes with a much improved C++ header generation, template instantiation traces for deprecations, module-level function conflict detection, and better compiler flag support in dub. http://dlang.org/download.html http://dlang.org/changelog/2.095.0.html -Martin
Re: I'm creating a game purely written in D with the arsd library
On Saturday, 2 January 2021 at 05:43:48 UTC, James Blachly wrote: Still, why not source code on Github? Is this really any different? Do you actually audit the source? simpledisplay is 17,000 lines. How much of that code is pure evil? Part of my twisted desire to burn the entire universe into atoms then recreate the world in my own image? spoilers: all of it :P
Re: I'm creating a game purely written in D with the arsd library
On Saturday, 2 January 2021 at 19:10:59 UTC, Murilo wrote: I also don't want anyone stealing my idea. Too late. You already posted it. Technically anyone could "steal" it from now.
Re: I'm creating a game purely written in D with the arsd library
On Saturday, 2 January 2021 at 05:43:48 UTC, James Blachly wrote: On 1/1/21 11:12 PM, Murilo wrote: Here is the link https://drive.google.com/file/d/1Il1xLN8b5rzghYLXTQqq2apv5YMKv7rx/view?usp=sharing Bro I would be shocked if people are excited to run a mystery binary downloaded from Google Drive. The ELF binary does contain arsd symbols, and at least VMs and Unix systems give us privilege and resource isolation safety these days. Still, why not source code on Github? The reason why I won't show the source code is because I don't want anyone hacking the game or find out the surprises hidden in the game, I want the game to be a mystery, you have to play it to know what is gonna happen. I also don't want anyone stealing my idea.
Package for differential equation solvers
Hi folks, I have started a repository to port Differential equation solver code to D. The goal is to have efficient implementations in D that have a much simpler interface for users than current C, C++, and FORTRAN libraries. Currently is just a couple of solvers quickly whipped together (probably with bugs) as a proof of concept. Please join me to help create this! https://github.com/fccoelho/D-DifferentialEquations Contributors are very, very, VERY MUCH welcome!