Re: Solution to problems:

2015-03-24 Thread lobo via Digitalmars-d
On Wednesday, 25 March 2015 at 03:30:19 UTC, Jake The Baker wrote: On Tuesday, 24 March 2015 at 17:49:56 UTC, CraigDillabaugh wrote: On Tuesday, 24 March 2015 at 17:13:07 UTC, Jake The Baker wrote: You guys are complete ignoring 90% of the post. It is not just about configuration.

Re: The D Language: A sweet-spot between Python and C

2015-03-29 Thread lobo via Digitalmars-d
On Monday, 30 March 2015 at 00:57:06 UTC, Walter Bright wrote: http://blog.experimentalworks.net/2015/01/the-d-language-a-sweet-spot-between-python-and-c/ Reddit: https://www.reddit.com/r/programming/comments/30qqck/the_d_language_a_sweetspot_between_python_and_c/ The syntax was a big part

Re: DMD compilation speed

2015-03-30 Thread lobo via Digitalmars-d
On Monday, 30 March 2015 at 22:39:51 UTC, lobo wrote: On Sunday, 29 March 2015 at 23:14:31 UTC, Martin Krejcirik wrote: It seems like every DMD release makes compilation slower. This time I see 10.8s vs 7.8s on my little project. I know this is generally least of concern, and D1's

Re: They wrote the fastest parallelized BAM parser in D

2015-03-30 Thread lobo via Digitalmars-d
On Monday, 30 March 2015 at 20:25:33 UTC, CraigDillabaugh wrote: On Monday, 30 March 2015 at 20:09:35 UTC, Laeeth Isharc wrote: clip You're right about the lack of visualization being a shame. I have been thinking about porting Bokeh bindings to D. There isn't much too it on the server

Re: DMD compilation speed

2015-03-30 Thread lobo via Digitalmars-d
On Sunday, 29 March 2015 at 23:14:31 UTC, Martin Krejcirik wrote: It seems like every DMD release makes compilation slower. This time I see 10.8s vs 7.8s on my little project. I know this is generally least of concern, and D1's lighting-fast times are long gone, but since Walter often claims

Re: Benchmark block

2015-03-30 Thread lobo via Digitalmars-d
On Monday, 30 March 2015 at 23:29:40 UTC, Jonathan wrote: I have no idea if this has been discussed yet, but I was thinking it would be neat to have benchmark blocks that only run when specified, like how unittest works. Code: benchmarks { import std.conv : to; int a; void f() {auto b =

Re: D as System Language

2015-03-30 Thread lobo via Digitalmars-d
On Monday, 30 March 2015 at 15:39:07 UTC, Adam D. Ruppe wrote: On Monday, 30 March 2015 at 15:32:25 UTC, Columbus wrote: Is there usefull documentation about using D as OS language? I wrote briefly in my book some stuff that might help get you started

Re: DMD compilation speed

2015-03-31 Thread lobo via Digitalmars-d
On Wednesday, 1 April 2015 at 02:54:48 UTC, Jake The Baker wrote: On Tuesday, 31 March 2015 at 19:27:35 UTC, Adam D. Ruppe wrote: On Tuesday, 31 March 2015 at 19:20:20 UTC, Jake The Baker wrote: As far as memory is concerned. How hard would it be to simply have DMD use a swap file? That'd

Re: readln() doesn't stop to read the input.

2015-03-27 Thread lobo via Digitalmars-d
On Friday, 27 March 2015 at 04:37:34 UTC, jonaspm wrote: Please, i need your help, I tried this: write(Write p: ); readln(p); p = chomp(p); writeln(Write q: ); readln(q); q = chomp(q); but the result is: Write p: Write q: and doesn't pause to read keyboard input... what's wrong? Thanks in

Re: DMD compilation speed

2015-03-31 Thread lobo via Digitalmars-d
On Tuesday, 31 March 2015 at 19:20:20 UTC, Jake The Baker wrote: On Monday, 30 March 2015 at 22:47:51 UTC, lobo wrote: On Monday, 30 March 2015 at 22:39:51 UTC, lobo wrote: On Sunday, 29 March 2015 at 23:14:31 UTC, Martin Krejcirik wrote: It seems like every DMD release makes compilation

Re: Novel list

2015-03-25 Thread lobo via Digitalmars-d
On Wednesday, 25 March 2015 at 23:08:52 UTC, Walter Bright wrote: On 3/25/2015 7:52 AM, wobbles wrote: On Wednesday, 25 March 2015 at 12:21:32 UTC, Martin Krejcirik wrote: On Wednesday, 25 March 2015 at 12:01:15 UTC, wobbles wrote: The DOES POORLY AT... column is good reading here for how D

Re: Solution to problems:

2015-03-23 Thread lobo via Digitalmars-d
On Monday, 23 March 2015 at 21:34:09 UTC, Jake The Baker wrote: If D had an ide that could do the following I think development and testing could be better managed. 1. IDE that works with a centralized server to be able to change D versions at a drop of a time. e.g., click Master and it

Re: Benchmark of D against other languages

2015-04-02 Thread lobo via Digitalmars-d
On Thursday, 2 April 2015 at 09:06:52 UTC, Manu wrote: On 2 April 2015 at 08:15, Martin Nowak via Digitalmars-d digitalmars-d@puremagic.com wrote: On 04/01/2015 10:31 PM, novice2 wrote: Can DMD compiler do it itself, as one of optimizations? You could do it as part of LTO or whole program

Re: D casually mentioned and dismissed + a suggestion

2015-05-12 Thread lobo via Digitalmars-d
On Wednesday, 13 May 2015 at 05:13:55 UTC, Shachar Shemesh wrote: On 12/05/15 21:35, FujiBar wrote: Walter would probably violently disagree with the no decent development tools assessment. But I got to say that people used to Visual Studio and XCode (like myself) not being impressed by D's

Re: Pitching an investment bank on using D for their bond analytics

2015-04-15 Thread lobo via Digitalmars-d
On Wednesday, 15 April 2015 at 22:32:53 UTC, Kapps wrote: On Tuesday, 14 April 2015 at 12:08:54 UTC, D Denizen since a year wrote: A friend has been invited to be a consultant for an investment bank that would like to build a set of analytics for fixed income products. The team is currently

Re: Any plans to support STL value types?

2015-05-16 Thread lobo via Digitalmars-d
On Saturday, 16 May 2015 at 12:22:00 UTC, QAston wrote: On Saturday, 16 May 2015 at 09:20:37 UTC, Kagamin wrote: Currently D frontend can't use such idiom: it has classes, which support inheritance, but are reference types, it also has structs, which don't support inheritance and are value

Re: Why aren't you using D at work?

2015-06-18 Thread lobo via Digitalmars-d
On Thursday, 18 June 2015 at 01:13:10 UTC, Chris Piker wrote: On Thursday, 28 May 2015 at 14:38:51 UTC, Manu wrote: [...] I work in an academic setting, so there's alot of freedom. About the only thing really holding me back is that the local sys-admins can't: $ yum install gcd on

Re: Progress on Adam Wilson's Graphics API?

2015-05-30 Thread lobo via Digitalmars-d
On Saturday, 30 May 2015 at 14:35:29 UTC, Rikki Cattermole wrote: On 31/05/2015 2:31 a.m., ketmar wrote: On Sun, 31 May 2015 02:28:51 +1200, Rikki Cattermole wrote: On 31/05/2015 2:27 a.m., ketmar wrote: On Sun, 31 May 2015 01:35:41 +1200, Rikki Cattermole wrote: Great example, if you

Re: Progress on Adam Wilson's Graphics API?

2015-05-31 Thread lobo via Digitalmars-d
On Sunday, 31 May 2015 at 05:17:27 UTC, Adam D. Ruppe wrote: On Sunday, 31 May 2015 at 04:46:51 UTC, lobo wrote: Again, I wonder why would you reimplement what you get from libpng? I've actually had people ask me what magic I did with my png.d because it often generates smaller files than

Re: Progress on Adam Wilson's Graphics API?

2015-05-30 Thread lobo via Digitalmars-d
On Sunday, 31 May 2015 at 02:14:53 UTC, Rikki Cattermole wrote: You're missing a large part of what I'm saying. I understand what you're saying, I just disagree ;) I'd argue well tested and maintained dependencies are more important than what language they are written in. For people just

Re: std.database

2015-05-28 Thread lobo via Digitalmars-d
On Thursday, 28 May 2015 at 05:00:30 UTC, Rikki Cattermole wrote: On 28/05/2015 4:57 p.m., Robert burner Schadek wrote: On Thursday, 28 May 2015 at 04:45:52 UTC, Erik Smith wrote: Shouldn't the statement be reusable? Yes it should. I added this use case: auto stmt = con.statement(insert

Re: Working on new binary serialization module for phobos (hopefully)

2015-06-01 Thread lobo via Digitalmars-d
On Monday, 1 June 2015 at 19:41:58 UTC, Jacob Carlborg wrote: On 2015-06-01 21:22, CraigDillabaugh wrote: I noticed there hasn't been any activity on the Github repo for 8 months. Why is that? Do you consider this a completely finished product, or are you held up by the PHobos review

Re: Status of Deimos bindings

2015-05-25 Thread lobo via Digitalmars-d
On Monday, 25 May 2015 at 21:33:15 UTC, FreeSlave wrote: What's the current status of Deimos? I don't think that this kind of bindings is useless, since not everyone always wants dynamic bindings. E.g. for the sake of simplicity or static linking. Actually Walter even fixes issues in these

Re: What is the current status of D build systems?

2015-07-31 Thread lobo via Digitalmars-d
On Friday, 31 July 2015 at 23:59:07 UTC, Yuxuan Shui wrote: On Friday, 31 July 2015 at 22:40:25 UTC, Trent Forkert wrote: On Friday, 31 July 2015 at 00:13:42 UTC, Yuxuan Shui wrote: [...] Oh hey, that's me! [...] I've got a handful of work-in-progress changes I've yet to push publicly,

Re: DIP81: Writing files at compile time

2015-08-12 Thread lobo via Digitalmars-d
On Wednesday, 12 August 2015 at 18:57:05 UTC, Adam D. Ruppe wrote: I've been looking at a company's build system recently and it makes me think this is a bad idea: we have enough problems tracking import dependencies and changes as it is without other files being written in the middle of the

Re: Where will D sit in the web service space?

2015-08-18 Thread lobo via Digitalmars-d
On Tuesday, 18 August 2015 at 18:22:09 UTC, Mint wrote: On Thursday, 13 August 2015 at 14:31:10 UTC, karabuta wrote: Oh! someone thinks typescript is a programming language. Typescript runs in which browser? :) (Because when I use typescript, I worry about two things in my development

Re: D for Game Development

2015-07-30 Thread lobo via Digitalmars-d
On Thursday, 30 July 2015 at 21:27:09 UTC, deadalnix wrote: On Thursday, 30 July 2015 at 15:10:59 UTC, Brandon Ragland wrote: It's a dog because Java is a dog. But that's not because of the GC. It's not really that bad either, I can open up Minecraft at any time and have it sit in the

Re: D for Game Development

2015-08-06 Thread lobo via Digitalmars-d
On Thursday, 6 August 2015 at 22:48:50 UTC, Tofu Ninja wrote: I really feel like D needs to get over it's not invented here syndrome, a much easier path would to just use a pre existing cross platform windowing library. Its laughable that the people in D want to reinvent this stuff. It's been

Re: D for Game Development

2015-08-08 Thread lobo via Digitalmars-d
On Friday, 7 August 2015 at 04:56:39 UTC, Rikki Cattermole wrote: *whispers* Hey hey you. You want tests? Well here is something you'll like[0]. Oh and check out[1]. [0] http://www.libpng.org/pub/png/pngsuite.html [1] http://forum.dlang.org/post/zxbexpwmirzdkewhq...@forum.dlang.org Well

Re: Writing/Creating files at compile-time

2015-08-10 Thread lobo via Digitalmars-d
On Monday, 10 August 2015 at 07:50:29 UTC, Ola Fosheim Grøstad wrote: Ugh… please don't add more ugly features that has to be ripped out to bring the language to a sane state. A compiler should be able to compile all programs on a read only filesystem. If the language requires a filesystem

Re: Kinds of containers

2015-10-26 Thread lobo via Digitalmars-d
On Monday, 26 October 2015 at 19:31:26 UTC, Ulrich Küttler wrote: On Wednesday, 21 October 2015 at 18:49:26 UTC, Andrei Alexandrescu wrote: On 10/21/2015 12:25 PM, Jonathan M Davis wrote: My experience with immutable containers is that their performance is trash precisely because you can't

Re: zip packages to pack modules

2015-09-29 Thread lobo via Digitalmars-d
On Tuesday, 29 September 2015 at 05:24:49 UTC, tcak wrote: [snip] Why not DUB? I have never use DUB ever, and not planning to use it. Nobody else has to use it as well. I don't think anyone should be forced for this. The proposed feature allows to simplify downloading

Re: Shout out to D at cppcon, when talkign about ranges.

2015-09-30 Thread lobo via Digitalmars-d
On Wednesday, 30 September 2015 at 22:51:24 UTC, H. S. Teoh wrote: On Wed, Sep 30, 2015 at 10:32:16AM -0400, Andrei Alexandrescu [...] I watched most of the video (mainly the first half where he goes through the C++ version of the code), and I have to confess I couldn't help noticing just

Re: Shout out to D at cppcon, when talkign about ranges.

2015-09-30 Thread lobo via Digitalmars-d
On Thursday, 1 October 2015 at 01:54:22 UTC, bitwise wrote: On Thursday, 1 October 2015 at 01:32:17 UTC, bitwise wrote: I don't think it would be that hard to make something this possible: for(int x : iota(0, 5).to(3)) printf("%d ", x); Curiosity got the best of me:

Re: Shout out to D at cppcon, when talkign about ranges.

2015-10-01 Thread lobo via Digitalmars-d
On Thursday, 1 October 2015 at 05:47:25 UTC, Eric Niebler wrote: ...[snip]... Hope that clears things up. It does, thank you. Eric P.S. I see lots of people here assuming that C++ is playing catch-up to D because D has ranges and C++ doesn't yet. That is ignoring the long history of

Re: Idioms you use

2015-09-28 Thread lobo via Digitalmars-d
On Monday, 28 September 2015 at 21:40:45 UTC, Freddy wrote: Are any D idioms you use that you like to share? Heres one of mine --- enum ctfe = { return 0xdead & 0xbad; }(); --- What does this do and where would it be useful in my code? For D idioms I usually go here...you may want to

Re: Indicators and traction…

2015-09-23 Thread lobo via Digitalmars-d
On Wednesday, 23 September 2015 at 16:22:02 UTC, Nick Sabalausky wrote: [snip[ FWIW, Python hit pretty big success with a different approach: Appeal to people's innate desire for instant gratification. By the time they discover the downsides, they're already knee-deep. (Obviously I'm not

Re: Voting For std.experimental.ndslice

2015-12-13 Thread lobo via Digitalmars-d
On Sunday, 13 December 2015 at 05:10:17 UTC, Jack Stouffer wrote: This is the voting thread to decide if the proposed addition to Phobos, std.experimental.ndslice, should be accepted. [...] Yes

Re: 50% inative

2015-11-25 Thread lobo via Digitalmars-d
On Wednesday, 25 November 2015 at 08:41:05 UTC, Iain Buclaw wrote: On 24 November 2015 at 19:04, duff via Digitalmars-d < digitalmars-d@puremagic.com> wrote: [...] If members wish to leave, they may request to do so. Ousting people is not an acceptable attitude towards any member in our

Re: I hate new DUB config format

2015-11-28 Thread lobo via Digitalmars-d
On Wednesday, 25 November 2015 at 10:17:02 UTC, Suliman wrote: I think that using SDL format was big mistake. Not only I do not want to spend time in learning yet another dead config format that now use only one project -- DUB. In time when DUB used json it was not perfect, but at last it was

Re: I hate new DUB config format

2015-11-28 Thread lobo via Digitalmars-d
On Sunday, 29 November 2015 at 01:20:41 UTC, lobo wrote: On Wednesday, 25 November 2015 at 10:17:02 UTC, Suliman wrote: [...] A 20-page bikeshedding bonanza! Atypical D forums...and a pity that the priorities of core D devs is diverted to this spittle of a forum post when D has much bigger

Re: I hate new DUB config format

2015-11-30 Thread lobo via Digitalmars-d
On Tuesday, 1 December 2015 at 02:46:46 UTC, lobo wrote: On Monday, 30 November 2015 at 21:05:08 UTC, Ola Fosheim Grøstad wrote: On Monday, 30 November 2015 at 20:42:23 UTC, Suliman wrote: [...] No, I wasn't really talking about a build system for D, more like a hypothetic generic

Re: I hate new DUB config format

2015-11-30 Thread lobo via Digitalmars-d
On Monday, 30 November 2015 at 21:05:08 UTC, Ola Fosheim Grøstad wrote: On Monday, 30 November 2015 at 20:42:23 UTC, Suliman wrote: Should we try to implement yet another language for writing building config? No, I wasn't really talking about a build system for D, more like a hypothetic

Re: I hate new DUB config format

2015-12-01 Thread lobo via Digitalmars-d
On Tuesday, 1 December 2015 at 09:43:24 UTC, Idan Arye wrote: Red is not Rebol2 compatible - it's outright impossible to have a single script file that'll run without errors on both Rebol2 and Red. The reason is that Rebol2 requires the first thing in the file to be a `REBOL` preamble, while

Re: [dlang.org] getting the redesign wrapped up

2016-01-10 Thread lobo via Digitalmars-d
On Sunday, 10 January 2016 at 22:46:34 UTC, JohnCK wrote: First of all, the site looks better than the old version. Congratulations and now the criticism: I don't want to hurt anybody's feelings. But look the DMD's Image compared to GDC and LDC: http://i.imgur.com/TrnuxcB.jpg Really looks

Re: std.experimental.checkedint is ready for comments!

2016-06-16 Thread lobo via Digitalmars-d
On Thursday, 16 June 2016 at 03:56:02 UTC, tsbockman wrote: On Thursday, 16 June 2016 at 02:53:38 UTC, Andrei Alexandrescu wrote: [...] Numerous other mentions were made of this project in various contexts on the forums, in GitHub pull requests, and on the bug tracker - including

Re: D vs Rust

2016-01-28 Thread lobo via Digitalmars-d
On Thursday, 28 January 2016 at 22:30:51 UTC, nbro wrote: I have loved C++ when I first started learning it a pair of years ago (then I stopped for some time for some work reasons), and quite recently I have discovered D, which seems apparently a better language from the design point of view,

Re: OT: 'conduct unbecoming of a hacker'

2016-02-10 Thread lobo via Digitalmars-d
On Wednesday, 10 February 2016 at 02:11:25 UTC, Laeeth Isharc wrote: http://sealedabstract.com/rants/conduct-unbecoming-of-a-hacker/ (His particular suggestion about accept patches by default is not why I post this). ' We’re all talk [...] On Wednesday, 10 February 2016 at 02:11:25 UTC,

Re: Females in the community.

2016-03-19 Thread lobo via Digitalmars-d
On Thursday, 17 March 2016 at 22:36:41 UTC, maarten van damme wrote: This very sexist and you are clearly either very young or a closet misogynist Great, so you answer a poorly thought out attempt to encourage women to join this community by bashing on younger people? The comments don't

Re: Females in the community.

2016-03-19 Thread lobo via Digitalmars-d
On Thursday, 17 March 2016 at 16:17:46 UTC, Karabuta wrote: Are there any female programmers using D? :) Moreover, the socia Media representation of D sucks. I think we need a female, at least someone soft and mortal who actually understand how to communicate and build a community. Coders

Re: Does a Interpretation-Engine fit in phobos ?

2016-06-30 Thread lobo via Digitalmars-d
On Thursday, 30 June 2016 at 11:09:10 UTC, ketmar wrote: On Thursday, 30 June 2016 at 10:36:44 UTC, qznc wrote: Off-topic: Is it possible/feasible/desirable to let dmd use dub packages? please, no. not everybody out there is dub fan. You can always use dub to fetch packages into

Re: dpldocs: xlinking and Documented destructors and postblits

2017-03-01 Thread lobo via Digitalmars-d
On Wednesday, 1 March 2017 at 06:19:30 UTC, lobo wrote: On Wednesday, 1 March 2017 at 05:18:59 UTC, Adam D. Ruppe wrote: I stumbled across std.typecons.Unique in my doc website today and realized there was a postblit in the source, but I didn't display the documentation comment. [...] Is

Re: dpldocs: xlinking and Documented destructors and postblits

2017-02-28 Thread lobo via Digitalmars-d
On Wednesday, 1 March 2017 at 05:18:59 UTC, Adam D. Ruppe wrote: I stumbled across std.typecons.Unique in my doc website today and realized there was a postblit in the source, but I didn't display the documentation comment. [...] Is it possible to use your tool to generate the docs for my

Re: DerelictSDL2 crashes

2016-08-26 Thread lobo via Digitalmars-d
On Friday, 26 August 2016 at 21:26:13 UTC, unDEFER wrote: Hello! I'm trying compile SDL "Hello, World" --- import std.stdio; import derelict.sdl2.sdl; //Screen dimension constants const int SCREEN_WIDTH = 640; const int SCREEN_HEIGHT = 480; int main() { DerelictSDL2.load();

Re: ESA's Schiaparelli Mars probe crashed because of integer overflow

2016-11-27 Thread lobo via Digitalmars-d
On Sunday, 27 November 2016 at 05:43:11 UTC, Shachar Shemesh wrote: On 26/11/16 07:50, Walter Bright wrote: I'd like to know what really happened with the code. But as someone who has worked on flight critical systems for airliners, the designs are required to account for any single failure

Re: PDF generation in D?

2016-11-15 Thread lobo via Digitalmars-d
On Tuesday, 15 November 2016 at 15:23:29 UTC, Adrian Matoga wrote: On Tuesday, 15 November 2016 at 11:13:54 UTC, Jot wrote: On Tuesday, 15 November 2016 at 09:39:09 UTC, Adrian Matoga wrote: On Friday, 11 November 2016 at 09:47:21 UTC, Robert burner Schadek wrote: I used text files and LaTeX

Re: Linux Kernel in D?

2016-12-17 Thread lobo via Digitalmars-d
On Sunday, 18 December 2016 at 03:05:13 UTC, Whatsthisnow wrote: On Sunday, 18 December 2016 at 00:10:47 UTC, sarn wrote: [...] I am basing the kernel on Linux because, well, I like Linux, and its the only complete kernel with free source that I currently know of. Given that it is widely

Re: Gui in D: I miss this project

2017-01-11 Thread lobo via Digitalmars-d
On Thursday, 12 January 2017 at 07:24:43 UTC, aberba wrote: On Wednesday, 11 January 2017 at 15:33:36 UTC, Sai wrote: After all, when someone wants a cross platform D GUI library, the ONLY current usable choice is DLangUI. I disagree. There is no need for a pure D GUI library. It is a

Re: wrong isInputRange design

2016-12-03 Thread lobo via Digitalmars-d
On Saturday, 3 December 2016 at 17:29:47 UTC, rumbu wrote: On Saturday, 3 December 2016 at 16:37:21 UTC, Jerry wrote: On Saturday, 3 December 2016 at 11:52:00 UTC, rumbu wrote: [...] [...] [...] Is that the exact code? isInputRange checks to see if the type has "front" defined.

Re: D future ...

2016-12-19 Thread lobo via Digitalmars-d
On Tuesday, 20 December 2016 at 04:38:03 UTC, Jerry wrote: On Tuesday, 20 December 2016 at 04:14:33 UTC, Andrei Alexandrescu wrote: On 12/19/2016 11:12 PM, Andrei Alexandrescu wrote: [...] https://issues.dlang.org/show_bug.cgi?id=16991 Another issue onto the list of thousands, to collect

Re: D future ...

2016-12-20 Thread lobo via Digitalmars-d
On Tuesday, 20 December 2016 at 08:20:32 UTC, LiNbO3 wrote: On Tuesday, 20 December 2016 at 06:42:10 UTC, lobo wrote: On Tuesday, 20 December 2016 at 04:38:03 UTC, Jerry wrote: On Tuesday, 20 December 2016 at 04:14:33 UTC, Andrei Alexandrescu wrote: On 12/19/2016 11:12 PM, Andrei Alexandrescu

Re: anyone using msgpackrpc-d ? it's currently broken and doesn't seem maintained

2017-06-15 Thread lobo via Digitalmars-d
On Thursday, 15 June 2017 at 04:14:22 UTC, Timothee Cour wrote: Msgpack rpc with vibe.d works. We used it. you mean with msgpackrpc-d? If so, it works, until you run into https://github.com/msgpack-rpc/msgpack-rpc-d/issues/16 (when server sends >= 4090 bytes, client hangs forever). we

Re: D needs to get its shit together!

2017-06-16 Thread lobo via Digitalmars-d
On Friday, 16 June 2017 at 03:53:18 UTC, Mike B Johnson wrote: Seriously! D is starting to gain momentum and if things are not stabilized it's going to slow D down. [...] I don't know what is so hard about tar -zxvf dmd.XYZ.tar.xz or unzip dmd.XYZ.zip. Am I missing something? Perhaps

Re: D-Man emoji

2017-09-11 Thread lobo via Digitalmars-d
On Monday, 11 September 2017 at 23:24:32 UTC, user1234 wrote: On Monday, 11 September 2017 at 23:01:06 UTC, Walter Bright wrote: Here are some D-Man cartoons: https://github.com/dlang/dlang.org/pull/1648 which we sometimes use to decorate D related web pages: http://dlang.org/safed.html

Re: Symbols missing, unmangle!

2017-08-30 Thread lobo via Digitalmars-d
On Wednesday, 30 August 2017 at 20:23:18 UTC, Johnson Jones wrote: It would be nice if, when symbols are missing, they are unmangled! Error 42: Symbol Undefined _D12mMunchhousin12iMunchhousin11__T4GoTsZ4GoMFS12mMunchhousin18__T10MunchhousinTsZ10sMunchhousinfE12mMunchhousin9eGoffZv (void

Re: HTOD

2017-08-23 Thread lobo via Digitalmars-d
On Wednesday, 23 August 2017 at 13:25:20 UTC, 12345swordy wrote: On Tuesday, 22 August 2017 at 19:55:53 UTC, Jacob Carlborg wrote: On 2017-08-22 19:47, 12345swordy wrote: Use Clang frontend? DStep [1] is doing that. It handles both GCC and Microsoft extensions. [1]

Re: HTOD

2017-08-23 Thread lobo via Digitalmars-d
://github.com/Syniurge/Calypso/issues/41, hoping someone can help here! On Wed, Aug 23, 2017 at 3:57 PM, lobo via Digitalmars-d <digitalmars-d@puremagic.com> wrote: [...] Thanks, I'll revisit Nim. As a team we're testing new languages as a larger plan to switch from C++. Nim we struck

Re: HTOD

2017-08-24 Thread lobo via Digitalmars-d
On Thursday, 24 August 2017 at 05:56:02 UTC, Timothee Cour wrote: On Wed, Aug 23, 2017 at 10:38 PM, lobo via Digitalmars-d <digitalmars-d@puremagic.com> wrote: On Thursday, 24 August 2017 at 01:51:25 UTC, Timothee Cour wrote: [...] nim: it supports both targetting C++ (as wel

Re: Symbols missing, unmangle!

2017-08-30 Thread lobo via Digitalmars-d
On Wednesday, 30 August 2017 at 22:21:52 UTC, Johnson wrote: On Wednesday, 30 August 2017 at 22:07:29 UTC, lobo wrote: On Wednesday, 30 August 2017 at 20:23:18 UTC, Johnson Jones wrote: [...] Your error message already displays "void Munchhousin.Munchhousin.Go!(short).Go()" Is this not

Re: [OT] vim tip with column limits

2017-10-08 Thread lobo via Digitalmars-d
On Monday, 9 October 2017 at 00:24:02 UTC, Jonathan M Davis wrote: I've wanted this for ages and just figured out how to do it, so I figured that I'd share for those vim users who care. [...] This presentation gave me a few vim ideas, you might also like it.

Re: [OT] Re: Introducing Nullable Reference Types in C#. Is there hope for D, too?

2017-11-24 Thread lobo via Digitalmars-d
On Friday, 24 November 2017 at 23:36:08 UTC, Bobb wrote: On Friday, 24 November 2017 at 20:29:23 UTC, codephantom wrote: On Friday, 24 November 2017 at 12:10:28 UTC, Nick Treleaven wrote: On Thursday, 23 November 2017 at 06:35:17 UTC, codephantom wrote: I love not being able to edit posts.

Re: @ctfeonly

2017-12-06 Thread lobo via Digitalmars-d
On Thursday, 7 December 2017 at 01:21:11 UTC, Nicholas Wilson wrote: I'd like to add an attribute to indicate that the annotated function is only available at compile time so that in cases where the operation is invalid at runtime (strings and concatenation on a GPU for instance) but the

Re: My first experience as a D Newbie

2017-10-19 Thread lobo via Digitalmars-d
On Thursday, 19 October 2017 at 21:18:43 UTC, Rion wrote: On Thursday, 19 October 2017 at 18:10:04 UTC, H. S. Teoh wrote: Told by whom? The responses here seem to be a good indicator that he is wasting his time. The past responses in similar topics. Even Andrei or Walter can be convinced

Re: Maybe D is right about GC after all !

2018-01-01 Thread lobo via Digitalmars-d
On Monday, 1 January 2018 at 05:29:06 UTC, Ali wrote: On Tuesday, 19 December 2017 at 09:54:05 UTC, Walter Bright wrote: "C, Python, Go, and the Generalized Greenspun Law" http://esr.ibiblio.org/?p=7804 So .. and this is more of a question, to the maintainers and creators of D, what does

Re: Shouldn't invalid references like this fail at compile time?

2018-01-23 Thread lobo via Digitalmars-d
On Wednesday, 24 January 2018 at 02:28:12 UTC, Mike Franklin wrote: On Wednesday, 24 January 2018 at 01:44:51 UTC, Walter Bright wrote: Microcontroller code tends to be small and so it's unlikely that you'll need to worry about it. I think you need to get involved in programming

Re: Shouldn't invalid references like this fail at compile time?

2018-01-24 Thread lobo via Digitalmars-d
On Wednesday, 24 January 2018 at 04:15:27 UTC, Mike Franklin wrote: On Wednesday, 24 January 2018 at 03:46:41 UTC, lobo wrote: Well if your embedded device has all that on it you should be sitting on an OS with proper memory management support. I don't see how the OS can help if the

std.logger sharedLog usage

2015-03-28 Thread lobo via Digitalmars-d-learn
Hi, I'm trying to use std.experimental.logger and I'd like the logf(), tracef() style functions to log to a file and stdout. (note: I can use sharedLog.logf(), sharedLog.tracef(), but I prefer just logf()) So I did this: shared static this() { auto ml = new MultiLogger();

Re: std.logger sharedLog usage

2015-03-29 Thread lobo via Digitalmars-d-learn
On Sunday, 29 March 2015 at 12:37:23 UTC, Robert burner Schadek wrote: On Sunday, 29 March 2015 at 01:36:24 UTC, lobo wrote: Hi, I'm trying to use std.experimental.logger and I'd like the logf(), tracef() style functions to log to a file and stdout. (note: I can use sharedLog.logf(),

Re: Passing myself, a struct, as a C callback context

2015-03-29 Thread lobo via Digitalmars-d-learn
On Monday, 30 March 2015 at 02:53:36 UTC, Paul O'Neil wrote: I'm registering a callback with some C code. The simplified story is here, but the actual code is on GitHub [1] at the end if you care. The call looks something like this. void register(void(*fp)(void*), void* context); I have a

Re: std.logger sharedLog usage

2015-03-28 Thread lobo via Digitalmars-d-learn
On Sunday, 29 March 2015 at 01:36:24 UTC, lobo wrote: Hi, I'm trying to use std.experimental.logger and I'd like the logf(), tracef() style functions to log to a file and stdout. (note: I can use sharedLog.logf(), sharedLog.tracef(), but I prefer just logf()) So I did this: shared static

Re: Release D 2.067.0

2015-03-28 Thread lobo via Digitalmars-d-announce
On Saturday, 28 March 2015 at 14:12:19 UTC, Vladimir Panteleev wrote: On Saturday, 28 March 2015 at 05:35:57 UTC, ketmar wrote: On Sat, 28 Mar 2015 04:55:47 +, Vladimir Panteleev wrote: But honestly, there already exists so much information on how to use DustMite... ...that people in

Re: Gary Willoughby: Why Go's design is a disservice to intelligent programmers

2015-03-25 Thread lobo via Digitalmars-d-announce
On Thursday, 26 March 2015 at 02:34:04 UTC, Jakob Ovrum wrote: On Thursday, 26 March 2015 at 02:04:26 UTC, Laeeth Isharc wrote: [snip] It would have been better if several languages were used in comparison to Go. Overall the blog post is a bit immature with little rigor and too much

Re: Calypso: Direct and full interfacing to C++

2015-04-15 Thread lobo via Digitalmars-d-announce
On Thursday, 16 April 2015 at 00:47:31 UTC, Elie Morisse wrote: Sorry for the lack of updates, progress was a bit boring for the past 2 months and consisted mostly in crawling my way up a bottomless pit of errors generated by « import (C++) Ogre.Light; ». And then this happens:

Re: dsource.org moved

2015-04-16 Thread lobo via Digitalmars-d-announce
On Thursday, 16 April 2015 at 23:32:17 UTC, Stewart Gordon wrote: On 16/04/2015 03:35, Rikki Cattermole wrote: On 16/04/2015 11:25 a.m., Stewart Gordon wrote: snip How would we go about committing updates to it when this is done? Let's say there is a new function in gdi.h added. You would

Re: mixin template question

2015-04-11 Thread lobo via Digitalmars-d-learn
On Sunday, 12 April 2015 at 03:51:03 UTC, Paul D Anderson wrote: I don't understand why the following code compiles and runs without an error: import std.stdio; mixin template ABC(){ int abc() { return 3; } } mixin ABC; int abc() { return 4; } void main() { writefln(abc() = %s, abc());

Re: dsource.org moved

2015-04-17 Thread lobo via Digitalmars-d-announce
On Friday, 17 April 2015 at 21:34:07 UTC, Stewart Gordon wrote: On 17/04/2015 02:19, lobo wrote: On Thursday, 16 April 2015 at 23:32:17 UTC, Stewart Gordon wrote: snip I don't understand - how would an average member of the D community get into the DMD package on dlang.org in order to apply

Re: Arch Linux D package update

2015-06-05 Thread lobo via Digitalmars-d-announce
On Thursday, 4 June 2015 at 14:46:39 UTC, Dicebot wrote: gdc - now uses 5.1 gcc base and 2.066.1 frontend - patched to correctly use system zlib library (resulted in linker errors before) dtools - switched back to use dmd as default compiler dub - switched back to use dmd

optimizing struct/class members

2015-07-06 Thread lobo via Digitalmars-d-learn
Hi, In C++ it's important to layout struct/class members correctly for performance reasons. Is the same true in D? Thanks, lobo

Re: optimizing struct/class members

2015-07-06 Thread lobo via Digitalmars-d-learn
On Tuesday, 7 July 2015 at 00:23:38 UTC, John Colvin wrote: On Monday, 6 July 2015 at 23:24:00 UTC, lobo wrote: Hi, In C++ it's important to layout struct/class members correctly for performance reasons. Is the same true in D? Thanks, lobo Short answer: yes. thanks, lobo

Re: Necessity of D Library (and/or Core Library)

2015-05-23 Thread lobo via Digitalmars-d-learn
On Saturday, 23 May 2015 at 06:35:50 UTC, Anthony Monterrosa wrote: Does D require the standard library to function? Or to be more direct, does D as a language need its library, or core library, to function correctly? I have become very interested in how programming languages do

Re: Why approxEqual not working for integers in dmd 2068-b2

2015-07-28 Thread lobo via Digitalmars-d-learn
On Tuesday, 28 July 2015 at 07:42:32 UTC, Daniel Kozák wrote: Even if this will be considered as non compiler bug, it is a regression on phobos side and should be addressed. So please fill a bug report on http://issues.dlang.org done, thanks https://issues.dlang.org/show_bug.cgi?id=14842

Why approxEqual not working for integers in dmd 2068-b2

2015-07-27 Thread lobo via Digitalmars-d-learn
Hi all, I have a bunch of unittests for template code taking any numeric type. Because I'm lazy I just use the approxEqual for both floating point and integer comparisons in these tests. In DMD 2067.1 everthing compiled OK but in 2068-b2 I get the errors shown at the end of this post for

Re: asm+D build bootloader

2015-10-27 Thread lobo via Digitalmars-d-learn
On Tuesday, 27 October 2015 at 12:13:13 UTC, guodemone wrote: sorry,My english is poot. file asm.h [...] Can ldc work with C header files? I don't think it can but I could be wrong. Here's how I build my 32-bit bootloader and link with my kernel main (you will have to replace names

Re: Can you give me your files[kickstart32.s kmain.d linker32.ld makefile]?

2015-10-28 Thread lobo via Digitalmars-d-learn
On Wednesday, 28 October 2015 at 11:01:14 UTC, guodemone wrote: My english is poor. My code to build is wrong.so need make some improvements. I would like to refer to your 32-bit code, make some improvements. My Email: 704975...@qq.com very very thank you. I've uploaded a dummy kernel

Re: very very thank you

2015-10-29 Thread lobo via Digitalmars-d-learn
On Thursday, 29 October 2015 at 06:13:17 UTC, guodemone wrote: 衷心的谢谢你,(very veryvery thank you in english) You're welcome, hope it helps :)

Re: why does this error out?

2015-11-09 Thread lobo via Digitalmars-d-learn
On Tuesday, 10 November 2015 at 04:34:22 UTC, Cauterite wrote: Here's the output I get (DMD v2.068.2): [1, 3, 10, 12, 21, 30, 100, 102, 111, 120, 201, 210] core.exception.AssertError@std\range\package.d(4603): Assertion failure iota.front() is complaining the range is empty from this line.

Re: why does this error out?

2015-11-11 Thread lobo via Digitalmars-d-learn
On Thursday, 12 November 2015 at 02:36:23 UTC, lobo wrote: On Tuesday, 10 November 2015 at 14:25:19 UTC, steven kladitis wrote: On Tuesday, 10 November 2015 at 05:14:29 UTC, lobo wrote: [...] with dmd 2.069 I always get --> [1 and then the error no matter what I canhe that line to. Hmm,

Re: why does this error out?

2015-11-11 Thread lobo via Digitalmars-d-learn
On Tuesday, 10 November 2015 at 14:25:19 UTC, steven kladitis wrote: On Tuesday, 10 November 2015 at 05:14:29 UTC, lobo wrote: On Tuesday, 10 November 2015 at 04:34:22 UTC, Cauterite wrote: Here's the output I get (DMD v2.068.2): [1, 3, 10, 12, 21, 30, 100, 102, 111, 120, 201, 210]

Re: Looking for a language to hang my hat on.

2015-11-16 Thread lobo via Digitalmars-d-learn
On Monday, 16 November 2015 at 22:39:17 UTC, Dan wrote: I am a very new c++ programmer, having just learned the language this year. A few months ago I completed a course on Coursera that dealt with the security aspect of c (which I don't know, but it is similar enough):

Re: Atila's article on Reddit: "Rust impressions from a C++/D programmer, part 1"

2015-11-15 Thread lobo via Digitalmars-d-announce
On Monday, 16 November 2015 at 00:50:50 UTC, Adam D. Ruppe wrote: On Monday, 16 November 2015 at 00:40:33 UTC, The Old One wrote: My point: until you can easily write D bare-metal code, without any runtime, and honestly without garbage collection, it just isn't a Real Systems Language. It

  1   2   >