Re: OT: Swift is now open source

2015-12-04 Thread Bubbasaur via Digitalmars-d
Seems controversial: https://github.com/apple/swift-evolution/blob/master/proposals/0004-remove-pre-post-inc-decrement.md Bubba.

Re: Microsoft to contribute to Clang and LLVM project

2015-12-09 Thread Bubbasaur via Digitalmars-d
On Monday, 7 December 2015 at 11:26:27 UTC, Bruno Medeiros wroçte: ... With these developments, one asks again, is it wise to spend any more time working and using the Digital Mars backend for D?... The problem are the companies to work, where I live today the main jobs are for C# or Java,

Re: Forum structure

2015-12-03 Thread Bubbasaur via Digitalmars-d
On Tuesday, 1 December 2015 at 10:31:55 UTC, Luis wrote: Being DUB very important for D language... why there isn't an entry for DUB on ecosystem ? Also, looks that DWT isn't very active. Not should be a "GUI" entry to talk about GtkD, TkD and other GUI toolkits, instead focusing on one that

Re: Three people out of four dislike SDL

2015-12-01 Thread Bubbasaur via Digitalmars-d
On Tuesday, 1 December 2015 at 17:26:13 UTC, Andrei Alexandrescu wrote: Independent on the topic at hand - wondering what your reasoning is. I just took a look and there are 205 votes. Not a large number, but quite a lot more than any voting we saw in the past (when consensus was proclaimed

Re: Three people out of four dislike SDL

2015-12-01 Thread Bubbasaur via Digitalmars-d
On Monday, 30 November 2015 at 22:59:04 UTC, retard wrote: Just voted at http://www.easypolls.net/poll.html?p=565587f4e4b0b3955a59fb67 - 140 votes, 75% are against SDL. That should count for something? Sonke? If you believe that, the votes changes "dramagically" and now it's 53% in favor of

Re: Three people out of four dislike SDL

2015-12-01 Thread Bubbasaur via Digitalmars-d
On Tuesday, 1 December 2015 at 19:05:38 UTC, CraigDillabaugh wrote: (S)onke (D)on't (L)ike JSON Hey, you can make all joke you want, but please don't be harsh with Sonke, because his contribution is awesome, and back then, he asked for direction and people pointed SDLang. Bubba.

TIOBE December 2015 - D rose 5 positions

2016-01-01 Thread Bubbasaur via Digitalmars-d
Good news! D rose from 28th to 23th! 2015 - http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html 2014 - http://web.archive.org/web/20141230025738/http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html Bubba.

Re: TIOBE December 2015 - D rose 5 positions

2016-01-01 Thread Bubbasaur via Digitalmars-d
On Friday, 1 January 2016 at 23:12:39 UTC, rsw0x wrote: doesn't seem very reliable haskell at 39? go at 50? doesn't even seem remotely close to Google Trend's data for programming languages, for example https://www.google.com/trends/explore#cmpt=q=/m/01kbt7,+/m/03j_q,+/m/09gbxjr=0-5-31 I see

Re: TIOBE December 2015 - D rose 5 positions

2016-01-03 Thread Bubbasaur via Digitalmars-d
On Sunday, 3 January 2016 at 14:50:48 UTC, Ola Fosheim Grøstad wrote: On Sunday, 3 January 2016 at 14:43:00 UTC, Bubbasaur wrote: 9 Assembly language 2.095% +0.92% 10 Ruby2.047% +0.92% This... haha... Do you really think people spend more time writing assembly code in

Re: TIOBE December 2015 - D rose 5 positions

2016-01-03 Thread Bubbasaur via Digitalmars-d
On Friday, 1 January 2016 at 20:38:31 UTC, Bubbasaur wrote: Good news... Well I'll stop this discussing about this list. I just posted this because I thought It would be good for the users. By the way, the Jan 2016 list is out and D rose 2 positions, now is 21th. Bubba.

Re: TIOBE December 2015 - D rose 5 positions

2016-01-03 Thread Bubbasaur via Digitalmars-d
On Sunday, 3 January 2016 at 12:43:13 UTC, Ola Fosheim Grøstad wrote: Github gives a better perspective on actual engagement outside the close source commercial sector. Well if you take for example Linux, which is one of big open source project out there and I use it, but if you compare

Re: TIOBE December 2015 - D rose 5 positions

2016-01-03 Thread Bubbasaur via Digitalmars-d
On Sunday, 3 January 2016 at 14:22:39 UTC, rsw0x wrote: because it's not in any way accurate I can't tell with that list is 100% accurate or not, but wouldn't agree that Java as first place? Even with all mobile trend and so on? Or C in second, Swift ahead of Object-C? You showed a link

Re: Browsing D compiler source code

2016-01-09 Thread Bubbasaur via Digitalmars-d
On Saturday, 9 January 2016 at 10:23:02 UTC, Jacob Carlborg wrote: On 2016-01-08 20:49, Bubbasaur wrote: Someone could explain what's the difference between having a source code browsable here vs github? If you read the whole post you can see that it's about generating documentation from

Re: Browsing D compiler source code

2016-01-08 Thread Bubbasaur via Digitalmars-d
On Thursday, 7 January 2016 at 14:32:32 UTC, Walter Bright wrote: ...the D compiler source should be, too... Someone could explain what's the difference between having a source code browsable here vs github? Bubba.

Re: Redesign of dlang.org

2015-12-21 Thread Bubbasaur via Digitalmars-d
On Monday, 21 December 2015 at 20:44:06 UTC, Dmitry wrote: On Saturday, 19 December 2015 at 14:33:35 UTC, Jacob Carlborg wrote: Here's another thread about redesign of dlang.org. I'm creating I want say that there are also people who most like the current design. Why? Reasons?

Re: Mockup of my doc dream ideas

2015-12-25 Thread Bubbasaur via Digitalmars-d
On Friday, 25 December 2015 at 14:13:56 UTC, Adam D. Ruppe wrote: On Friday, 25 December 2015 at 09:18:45 UTC, Israel wrote: Why not take it to the next level while youre at it? Add user comments that can be rated by users and sorted by date. My dream does not include user comments. I don't

Re: Mockup of my doc dream ideas

2015-12-25 Thread Bubbasaur via Digitalmars-d
On Friday, 25 December 2015 at 15:51:02 UTC, rcorre wrote: On Friday, 25 December 2015 at 14:24:34 UTC, Bubbasaur wrote: What happens when I see a DOC with comments is that sometimes the comments are more clear than the Doc itself, or there are tips or tricks that was not "well" documented.

Re: Mockup of my doc dream ideas

2015-12-25 Thread Bubbasaur via Digitalmars-d
On Friday, 25 December 2015 at 14:24:34 UTC, Bubbasaur wrote: On Friday, 25 December 2015 at 14:13:56 UTC, Adam D. Ruppe wrote: On Friday, 25 December 2015 at 09:18:45 UTC, Israel wrote: Why not take it to the next level while youre at it? Add user comments that can be rated by users and

Re: What is happening here?

2015-12-27 Thread Bubbasaur via Digitalmars-d
On Sunday, 27 December 2015 at 15:10:07 UTC, TheDGuy wrote: I don't understand this: https://www.youtube.com/watch?v=j_VCa-5VeP8=youtu.be The variable "discriminant" is below zero but it jumps right into the if statement? Please paste the code here: http://dpaste.dzfl.pl/ Bubba.

Re: D Consortium as Book / App Publisher... ?

2015-12-22 Thread Bubbasaur via Digitalmars-d
On Tuesday, 22 December 2015 at 15:24:23 UTC, Joakim wrote: On Tuesday, 22 December 2015 at 12:55:19 UTC, Jakob Jenkov wrote: All decent ideas- I've been thinking recently about setting up a paid blog for articles by D devs- but without someone to explore and push them, they will go nowhere,

Re: D Consortium as Book / App Publisher... ?

2015-12-22 Thread Bubbasaur via Digitalmars-d
On Tuesday, 22 December 2015 at 17:01:17 UTC, Joakim wrote: The problem is ads make no money for the vast majority of writers, so they have to write a book and sell it to make writing worth their time. This is why you have to pay for almost all the D books, with free online books like Ali's

Re: Redesign of dlang.org

2015-12-21 Thread Bubbasaur via Digitalmars-d
On Monday, 21 December 2015 at 16:50:31 UTC, anonymous wrote: On 21.12.2015 16:45, Adam D. Ruppe wrote: Let's not underestimate, but let's not overestimate either, I'm pretty confident these bugs could all be fixed in a day of tweaking, probably less than that. It looks reasonable right now.

Re: I hate new DUB config format

2015-11-27 Thread bubbasaur via Digitalmars-d
On Friday, 27 November 2015 at 20:47:04 UTC, Walter Bright wrote: On 11/27/2015 11:41 AM, Mathias Lang wrote: What is the problem in having multiple formats I posted a list twice upthread. Do you mind to link? This is a huge thread now!

Re: I hate new DUB config format

2015-11-29 Thread bubbasaur via Digitalmars-d
So we reached +200 replies... I'm here wondering if you will keep going with all this drama about this config format, remembering that you can choose one if you don't like the other. And all this drama while this group is small, I'm imagining what happens on a large group or language like

Re: This Week in D

2015-11-30 Thread Bubbasaur via Digitalmars-d
On Monday, 30 November 2015 at 14:07:03 UTC, Ola Fosheim Grøstad wrote: No drama, the sole purpose of the front page is to inform newcomers and it has much more impact than the forums. It would therefore be a good idea to keep the front page professional. If there is not enough factual

Re: Three people out of four dislike SDL

2015-11-30 Thread Bubbasaur via Digitalmars-d
On Monday, 30 November 2015 at 22:59:04 UTC, retard wrote: Just voted at http://www.easypolls.net/poll.html?p=565587f4e4b0b3955a59fb67 - 140 votes, 75% are against SDL. That should count for something? Sonke? What's going on here? There is a topic about this already, now another one? If

Re: This Week in D

2015-11-30 Thread Bubbasaur via Digitalmars-d
On Monday, 30 November 2015 at 12:52:43 UTC, Ola Fosheim Grøstad wrote: ... There we go, another +200 replies and drama.

Re: [dlang.org] new forum design - preview

2016-01-13 Thread Bubbasaur via Digitalmars-d
On Wednesday, 13 January 2016 at 06:01:41 UTC, Vladimir Panteleev wrote: http://beta.forum.dlang.org/ https://github.com/CyberShadow/DFeed/pull/51 Awesome, much better in style and space usage. May I suggest one thing? Could you put the page numbers on top instead of bottom? Because this is

Re: [dlang.org] new forum design - preview

2016-01-13 Thread Bubbasaur via Digitalmars-d
On Wednesday, 13 January 2016 at 10:02:47 UTC, Marc Schütz wrote: On Wednesday, 13 January 2016 at 06:01:41 UTC, Vladimir Panteleev wrote: http://beta.forum.dlang.org/ https://github.com/CyberShadow/DFeed/pull/51 It's much too white for my taste; the old version is more easy on the eyes.

Re: [dlang.org] new forum design - preview

2016-01-13 Thread Bubbasaur via Digitalmars-d
On Wednesday, 13 January 2016 at 13:55:36 UTC, Vladimir Panteleev wrote: As soon as anyone comes up with a way to fit it into the design that doesn't look awful. https://github.com/CyberShadow/DFeed/issues/16 Well, I don't see any problem here, like I said, right bellow

Re: [dlang.org] new forum design

2016-01-18 Thread Bubbasaur via Digitalmars-d
On Tuesday, 19 January 2016 at 01:33:34 UTC, Bubbasaur wrote: On Monday, 18 January 2016 at 10:20:13 UTC, Vladimir Panteleev wrote: ... Very good but like someone already said, one problem is the "light gray" or whatever color used on quoted text. Bubba. And by the way, after the first

Re: [dlang.org] new forum design

2016-01-18 Thread Bubbasaur via Digitalmars-d
On Monday, 18 January 2016 at 10:20:13 UTC, Vladimir Panteleev wrote: ... Very good but like someone already said, one problem is the "light gray" or whatever color used on quoted text. Bubba.

Re: Can I get more opinions on increasing the logo size on the site please

2016-02-10 Thread Bubbasaur via Digitalmars-d
On Wednesday, 10 February 2016 at 21:00:10 UTC, Brad Anderson wrote: https://dlang.org :P (the forums just haven't updated yet) Ohh. Yes that's better. :) Bubba.

Re: Can I get more opinions on increasing the logo size on the site please

2016-02-10 Thread Bubbasaur via Digitalmars-d
On Wednesday, 10 February 2016 at 21:01:11 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 10 February 2016 at 20:57:41 UTC, Bubbasaur wrote: Even with music, you can make "remix" and distribute for free legally, but of course you can't sell. No. You cannot make a remix or use samples without a

Re: Can I get more opinions on increasing the logo size on the site please

2016-02-10 Thread Bubbasaur via Digitalmars-d
On Wednesday, 10 February 2016 at 16:26:33 UTC, Gary Willoughby wrote: Can I get more opinions on increasing the logo size on the website please. See here for an example: https://github.com/D-Programming-Language/dlang.org/pull/1227 Destroy! I'd prefer this version but smaller. The current

Re: Can I get more opinions on increasing the logo size on the site please

2016-02-10 Thread Bubbasaur via Digitalmars-d
On Wednesday, 10 February 2016 at 20:25:05 UTC, anonymous wrote: ... COPYRIGHT © SUKIMASHITA 2006 ALL FREE TO USE. ONLY SELLING THESE IMAGES IS PROHIBITED. I'd understand that to allow derivative works, but disallow selling them. I'm not a lawyer, though. ... You're right, he would

Re: C++17

2016-01-26 Thread Bubbasaur via Digitalmars-d
Really I don't get this talk about convert someone from a language x to y. It will be very hard, some are programming since a long time and many don't want to change no matter what, and there are other issues like jobs and so on. I think we need to gather attention from new people that are

Re: Interested in D, spec confuses me.

2016-02-02 Thread bubbasaur via Digitalmars-d
On Wednesday, 3 February 2016 at 00:43:36 UTC, Dicebot wrote: Casting immutable and violating it is undefined behavior and once you do it all bets are off - compiler is even allowed to attempt formatting your hard drive when compiling this program :) The fact DMD doesn't do anything scary

Re: Interested in D, spec confuses me.

2016-02-02 Thread bubbasaur via Digitalmars-d
On Wednesday, 3 February 2016 at 00:41:31 UTC, Ali Çehreli wrote: I like this explanation: - A const parameter is a promise by the callee to not modify - An immutable parameter is a requirement for the caller to never modify Well this explanation on the matter was simple, solid and

Re: TIOBE February 2016.... 15 ?!

2016-02-03 Thread Bubbasaur via Digitalmars-d
On Wednesday, 3 February 2016 at 07:06:47 UTC, cym13 wrote: It's all true, D rose up 6 positions: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html Very good, and different from the other guy I think this list is very reasonable, just look the top languages and their positions

Re: [dlang.org] new forum design

2016-02-03 Thread Bubbasaur via Digitalmars-d
On Wednesday, 3 February 2016 at 14:19:14 UTC, ZombineDev wrote: That's strange. Here's what I get: http://imgur.com/SZbJedj on Chrome 48, Ubuntu 15.10 amd64. What browser, OS, etc. are you using? Using Chrome and I just have Ublock Origin here, I tried dev-tools and there are NO errors or

Re: [dlang.org] new forum design

2016-02-03 Thread Bubbasaur via Digitalmars-d
On Wednesday, 3 February 2016 at 16:59:13 UTC, ZombineDev wrote: And which version of Chrome are you using and on what OS? I think it's something with my OS (Windows), because in Firefox it isn't working too. And about the Chrome version it's the latest. On android/KitKat 4.4 I can see the

Re: TIOBE February 2016.... 15 ?!

2016-02-03 Thread bubbasaur via Digitalmars-d
On Wednesday, 3 February 2016 at 17:16:27 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 3 February 2016 at 16:45:02 UTC, Tobias Müller wrote: Tiobe is measuring search _results_, not queries. Tiobe is measuring signal + lots of noise. So like google trends. Bubba.

Re: TIOBE February 2016.... 15 ?!

2016-02-03 Thread Bubbasaur via Digitalmars-d
On Wednesday, 3 February 2016 at 19:28:29 UTC, Ola Fosheim Grøstad wrote: ... Whenever D is making a marketing push you get newbies in the forums complaining about lacking libraries, lacking IDE, lacking tooling. Then they leave, most likely with a bad impression, because they had higher

Re: TIOBE February 2016.... 15 ?!

2016-02-03 Thread Bubbasaur via Digitalmars-d
On Wednesday, 3 February 2016 at 18:29:00 UTC, Ola Fosheim Grøstad wrote: ... Man, this is all matter of opinion and I sincerely respect yours, but you're always being pessimistic, every good news here and I saw you undermining the effect. I take the TIOBE as good PR, because it always

Re: Interested in D, spec confuses me.

2016-02-02 Thread bubbasaur via Digitalmars-d
On Tuesday, 2 February 2016 at 23:41:07 UTC, H. S. Teoh wrote: Now, the same argument applies if immutable was used in place of const. However, the last line in main() illustrates why we need const rather than immutable in this case: we actually *want* to modify d.x in main(). We just don't

Re: [dlang.org] new forum design

2016-02-02 Thread bubbasaur via Digitalmars-d
On Sunday, 24 January 2016 at 10:39:51 UTC, Vladimir Panteleev wrote: The font size looks larger than I recall seeing it in the iOS simulator. I'm switching OSes so can't look at the moment though. I'm thinking that the end-all solution would probably be a font size adjustment setting. So

Re: Interested in D, spec confuses me.

2016-02-02 Thread bubbasaur via Digitalmars-d
On Wednesday, 3 February 2016 at 02:00:09 UTC, Jack Stouffer wrote: Works for me. Something isn't loading properly for you. If you have any plugins, try disabling them to see if that helps. If that isn't it, hit alt-super-j if you're on chrome and paste here what it says there. I just have

Re: forum.dlang.org is now available via HTTPS

2016-01-21 Thread Bubbasaur via Digitalmars-d
On Thursday, 21 January 2016 at 17:02:39 UTC, Vladimir Panteleev wrote: I'm guessing you have an outdated certificate store. Make sure "DST Root CA X3" is in the list of your trusted root certificates. Do you have different certificates for the dlang.org and the forum? Because like I said:

Re: forum.dlang.org is now available via HTTPS

2016-01-21 Thread Bubbasaur via Digitalmars-d
On Wednesday, 20 January 2016 at 18:36:12 UTC, Vladimir Panteleev wrote: It took a while but I finally got around to adapting a Let's Encrypt ACME client to my hosting system with automatic renewals etc. Enjoy! https://forum.dlang.org/ Adam, your turn! I'm not Adam, but anyway I tried the

Re: forum.dlang.org is now available via HTTPS

2016-01-21 Thread Bubbasaur via Digitalmars-d
I forgot to say that the https://dlang.org works, so It's something with the Forums. Bubbasaur.

Re: [dlang.org] Let's talk about the logo

2016-01-21 Thread Bubbasaur via Digitalmars-d
On Thursday, 21 January 2016 at 23:46:26 UTC, anonymous wrote: ... For me the last one. It's simple and clear. I really don't think the currently Logo is good for the new layout, I really dislike the black border. I don't know what the big deal with changing the Logo, since any big

Re: Vision 2016 H1

2016-01-25 Thread Bubbasaur via Digitalmars-d
On Monday, 25 January 2016 at 19:41:53 UTC, Andrei Alexandrescu wrote: ... There definitely is room in the top ranks for one or more folks of that caliber. -- Andrei Scott Meyers!

Re: Website contains a virus?

2016-01-21 Thread Bubbasaur via Digitalmars-d
On Thursday, 21 January 2016 at 18:57:27 UTC, Brad Anderson wrote: Hold on, that may not have scanned like I expected since I used a URL...rerunning using a file upload... New results: ... Now to decide if it's a false positive... (we use NSIS which I could easily see being an easily thing to

Re: std.database

2016-03-04 Thread Bubbasaur via Digitalmars-d
On Friday, 4 March 2016 at 18:42:45 UTC, Erik Smith wrote: auto db = createDatabase("file:///testdb"); auto rowSet = db.connection().statement("select name,score from score").execute; foreach (r; rowSet) writeln(r[0].as!string,",",r[1].as!int); I'll track query as an alternative

Re: Pre-alpha D language online tour

2016-03-29 Thread Bubbasaur via Digitalmars-d
On Tuesday, 29 March 2016 at 16:26:27 UTC, André wrote: ... I would appreciate if people could do some proof reading and just create pull requests for the content: Nice work but I really think that the left content should be expandable. Some button like Try it or whatever should do the

Re: Writing a scalable chat room service in D

2016-01-04 Thread Bubbasaur via Digitalmars-d-announce
On Monday, 4 January 2016 at 10:19:52 UTC, Sönke Ludwig wrote: Finally published the article that I had prepared in autumn last year... Neat but just one thing, when I click in the link on the Reddit, Chrome warns: " Your connection is not private Attackers might be trying to steal your

Re: Writing a scalable chat room service in D

2016-01-04 Thread Bubbasaur via Digitalmars-d-announce
On Monday, 4 January 2016 at 17:02:01 UTC, Sönke Ludwig wrote: ...Maybe it's something specific to your OS/Chrome version? Well, I tried again on the same machine but using Firefox and it worked, then I tried on my Tablet (Android/KitKat) using both Chrome and Native Browser and worked too.

Re: My LLVM talk @ FOSDEM'16

2016-01-07 Thread Bubbasaur via Digitalmars-d-announce
It will be recorded or live? Bubba.

Re: D Cookbook [eBook] Free on PackPub

2016-01-06 Thread Bubbasaur via Digitalmars-d-announce
On Wednesday, 6 January 2016 at 09:52:14 UTC, Rory McGuire wrote: Today's free ebook on PacktPub is "D Cookbook [eBook]". Thanks and I got my copy, and if I like it I'll buy it to encourage the writer. Bubba.

DMD -L Flag, maybe a bug?

2015-12-25 Thread Bubbasaur via Digitalmars-d-learn
If you follow the link below: https://dlang.org/dmd-windows.html#switch-L It's written: " -Llinkerflag pass linkerflag to the linker link.exe , for example, -L/ma/li " But at least on Windows, you need to put a space between -L and the PATH. Which It's weird, since with "-I" flag you

Re: DMD -L Flag, maybe a bug?

2015-12-25 Thread Bubbasaur via Digitalmars-d-learn
On Friday, 25 December 2015 at 15:06:27 UTC, anonymous wrote: ... You can try removing the "-L" entirely. If it still works... In fact it works without the "-L". Which makes me wonder if I was using it wrongly? What exactly are trying to pass to the linker? A lib: GtkD. Can you give a

Re: GTKD - Get the size of the context

2015-12-26 Thread Bubbasaur via Digitalmars-d-learn
On Saturday, 26 December 2015 at 13:28:31 UTC, TheDGuy wrote: I get the error "value of 'this' is not known at compile time" which refers to the line where i create the int-array "space" Why is it not possible to use it there? Just for future newcomers, the answer for the above was given

Re: DMD -L Flag, maybe a bug?

2015-12-26 Thread Bubbasaur via Digitalmars-d-learn
On Saturday, 26 December 2015 at 11:19:27 UTC, anonymous wrote: ... Note that in the docs I linked it's `dmd hello.d -L+gtkd.lib` with a plus sign. I'm not sure if it's significant, but it's a difference. There are two ways in the doc you linked: dmd hello.d -L+gtkd.lib or dmd hello.d

Re: DMD -L Flag, maybe a bug?

2015-12-26 Thread Bubbasaur via Digitalmars-d-learn
On Saturday, 26 December 2015 at 11:53:55 UTC, Ivan Kazmenko wrote: Note that -L passes flags (options) but not necessarily arguments or paths. For example, I use "dmd -L/STACK:268435456" by default along with other options to increase the default stack size to 256Mb. Your comment is

Re: DMD -L Flag, maybe a bug?

2015-12-25 Thread Bubbasaur via Digitalmars-d-learn
On Friday, 25 December 2015 at 23:45:42 UTC, anonymous wrote: ... That means a .lib file, right? Yes. The GtkD docs say to use -L though [2], so I suppose that should work too. Maybe show your exact complete command line, if you want to find out why it doesn't work for you. It's almost

Re: Variable below zero but if statement doesn't grab?

2015-12-27 Thread Bubbasaur via Digitalmars-d-learn
On Sunday, 27 December 2015 at 15:53:55 UTC, TheDGuy wrote: Any idea what i am doing wrong? https://www.youtube.com/watch?v=j_VCa-5VeP8 Tell me one thing, what is the value returned? Well It's working here: http://dpaste.dzfl.pl/18b27ea26b08 Maybe you would like to change the code above to

Re: Double precision?

2015-12-27 Thread Bubbasaur via Digitalmars-d-learn
On Sunday, 27 December 2015 at 20:06:53 UTC, TheDGuy wrote: I don't know what my computer is doing today: x and y are coordinates and if x is any number from 0 to 150 the result of x/width is always zero Dividing Integers will result in Integer: int x = 10, width = 50;

Re: Small minesweeper game in D

2015-12-21 Thread bubbasaur via Digitalmars-d-announce
On Monday, 21 December 2015 at 02:28:27 UTC, Adam D. Ruppe wrote: On Sunday, 20 December 2015 at 17:24:41 UTC, jmh530 wrote: The code looks easy to understand also. You might consider writing this up into a blog post. I might if I had a blog... which I need to set up at some point but