Re: API

2014-05-05 Thread MattCoder via Digitalmars-d
On Tuesday, 6 May 2014 at 00:54:33 UTC, Walter Bright wrote: On 5/5/2014 5:10 PM, Andrei Alexandrescu wrote: So I'm looking at creation functions and in particular creation functions for arrays. My bikeshed color comments: 2. why make instead of construct or factory? Or build ?

Re: Thanks for a great DConf

2014-05-24 Thread MattCoder via Digitalmars-d
I've watched all transmissions and I liked 'em all (without any exception). And I think the end of the conference should be a beginning of the new trend here. So instead of wait for DConf 2015, all those speakers should do more videos (at home etc.) sharing their thoughts. Matheus.

Re: Swift is based LLVM,what will the D's LDC do?

2014-06-04 Thread MattCoder via Digitalmars-d
On Wednesday, 4 June 2014 at 13:27:20 UTC, Iain Buclaw via Digitalmars-d wrote: No one wants to work on GDC/LDC, so they shall remain obscure in development and tailing behind current development. Please could you tell more about the requirements/background that a person needs to fill this

Re: Swift is based LLVM,what will the D's LDC do?

2014-06-04 Thread Mattcoder via Digitalmars-d
On Wednesday, 4 June 2014 at 16:22:22 UTC, Kai Nacke wrote: For LDC it should be quite easy. :-) First, build LDC from source. Instructions are here: http://wiki.dlang.org/Building_LDC_from_source. Building LLVM from source it not a requirement but helps in tracking down problems. Thanks

Re: Swift is based LLVM,what will the D's LDC do?

2014-06-04 Thread Mattcoder via Digitalmars-d
On Wednesday, 4 June 2014 at 16:32:54 UTC, Iain Buclaw via Digitalmars-d wrote: On 4 June 2014 16:44, MattCoder via Digitalmars-d digitalmars-d@puremagic.com wrote: For a (needs more detail) overview, see: http://gdcproject.org/contributing/ There's also a projects page: http://wiki.dlang.org

Re: [OT] Extra time spent

2014-06-06 Thread Mattcoder via Digitalmars-d
Well, some managers are mindless and that story about do it now or we will lose our customer, in most cases it's just a bluff/threat or call it what you want. The customers usually don't change their software like they change bakery if the bread is horrible. There are many costs envolved in

Re: For Chuck Allison: possible homework in D

2014-06-07 Thread MattCoder via Digitalmars-d
On Saturday, 7 June 2014 at 06:48:39 UTC, Philippe Sigaud wrote: ... But here is a possible idea: Trees... ...Thoughts? Do other people here have homework ideas? Yes this is interesting idead. -But If I remember well, he said to send him an e-mail with ideas. So I think you should point him

Re: For Chuck Allison: possible homework in D

2014-06-07 Thread MattCoder via Digitalmars-d
On Saturday, 7 June 2014 at 17:45:46 UTC, Philippe Sigaud via Digitalmars-d wrote: I will. I just wanted to see what other ideas people here could find. And I'm really glad that you did here, because as a D learner it will be nice to see those ideas. Matheus.

Re: pyd - continuous integration

2014-06-09 Thread MattCoder via Digitalmars-d
On Monday, 9 June 2014 at 22:37:20 UTC, Ellery Newcomer wrote: So pyd is at the point where it really needs some sort of test suite runner. * multiple versions of python (2.4 - 3.4, but I'm thinking of dropping 2.4 and 2.5 this year) Well done! -If you want a suggestion I think you should

Compilation Time

2014-06-10 Thread Mattcoder via Digitalmars-d
There is an article on reddit: http://www.reddit.com/r/programming/comments/27r6v1/jurassic_park_trespasser_cg_source_code_review/ Which is making some noise there, and one thing that called my attention was about the compilation time, back then (90's) it could consume a considerable amount

Re: Compilation Time

2014-06-10 Thread Mattcoder via Digitalmars-d
On Tuesday, 10 June 2014 at 18:19:02 UTC, Justin Whear wrote: I think porting 300k lines of 15+ year-old, heavily-templated C++ would have to be a labor of love. You certainly couldn't pay me to do it. I understand your point, but like I said on my post, I'm using this game as example, this

Re: A Perspective on D from game industry

2014-06-15 Thread MattCoder via Digitalmars-d
On Sunday, 15 June 2014 at 20:53:58 UTC, w0rp wrote: I'm going to try my hand at making a game with 2.066... It will be open-source? Can you tell what type of game you have in mind? Matheus.

Re: Is D production-ready?

2014-06-16 Thread MattCoder via Digitalmars-d
On Monday, 16 June 2014 at 10:24:46 UTC, John Petal wrote: Is it possible – for example – to write a simple 2D game, or an automation program, or a text editor in D? Speaking by myself, I was able to write both: Game and Text Editor, using Derelict2 and Cairo respectively. PS: I know the

Re: A Perspective on D from game industry

2014-06-16 Thread MattCoder via Digitalmars-d
On Tuesday, 17 June 2014 at 04:03:23 UTC, Mike Parker wrote: On 6/17/2014 12:16 PM, Caligo via Digitalmars-d wrote: My rant wasn't about his lack of fluency in the English language. You only learn once what a sentence is, and the concept translates over to most other natural languages. The

Re: Adding the ?. null verification

2014-06-18 Thread Mattcoder via Digitalmars-d
On Wednesday, 18 June 2014 at 15:42:04 UTC, Etienne wrote: it would be a little more practical to be able to write writeln(obj.member?.nested?.val); If one of these: member, nested or val == null, what will happen with writeln()? It will print null or it will be avoided? Matheus.

Re: Adding the ?. null verification

2014-06-18 Thread Mattcoder via Digitalmars-d
On Wednesday, 18 June 2014 at 19:04:34 UTC, Marc Schütz wrote: ... This means that if the one of the components is null, the entire expression needs to return a value of this type, presumably the `.init` value. I got it! Thanks. Matheus.

Re: Perlin noise benchmark speed

2014-06-20 Thread Mattcoder via Digitalmars-d
On Friday, 20 June 2014 at 13:14:04 UTC, dennis luehring wrote: write, printf etc. performance is benchmarked also - so not clear if pnoise is super-fast but write is super-slow etc... Indeed and using Windows (At least 8), the size of command-window (CMD) interferes in the result

Re: Perlin noise benchmark speed

2014-06-20 Thread Mattcoder via Digitalmars-d
On Friday, 20 June 2014 at 16:02:56 UTC, bearophile wrote: So this is the best so far version: http://dpaste.dzfl.pl/8dae9b359f27 Just one note, with the last version of DMD: dmd -O -noboundscheck -inline -release pnoise.d pnoise.d(42): Error: pure function

Re: Perlin noise benchmark speed

2014-06-20 Thread Mattcoder via Digitalmars-d
On Friday, 20 June 2014 at 18:32:22 UTC, dennis luehring wrote: it does not makes sense to optmized this example more and more - it should be fast with the original version (except the missing finals on the virtuals) Oh please, let him continue, I'm really learning a lot with these

Re: Perlin noise benchmark speed

2014-06-20 Thread Mattcoder via Digitalmars-d
On Friday, 20 June 2014 at 18:29:35 UTC, Mattcoder wrote: On Friday, 20 June 2014 at 16:02:56 UTC, bearophile wrote: So this is the best so far version: http://dpaste.dzfl.pl/8dae9b359f27 Just one note, with the last version of DMD: dmd -O -noboundscheck -inline -release pnoise.d

Re: Worrying attitudes to the branding of the D language

2014-07-02 Thread Mattcoder via Digitalmars-d
On Wednesday, 2 July 2014 at 11:56:43 UTC, w0rp wrote: I was talking to the designer I work with at my day job about my working on a new D site, and he actually put together a logo for me over lunch. http://www.mediafire.com/download/g7htvw3q61nas5z/D-logo.svg What does everyone think of

Re: Worrying attitudes to the branding of the D language

2014-07-03 Thread Mattcoder via Digitalmars-d
On Wednesday, 2 July 2014 at 20:04:50 UTC, Gary Willoughby wrote: The 'new' design by w0rp (http://w0rp.com:8010/) does none of those things. He's well intentioned but even things like basic text layout and white space usage are completely lacking. I didn't notice that link before, and if on

Re: discuss disqus

2014-08-01 Thread MattCoder via Digitalmars-d
On Friday, 1 August 2014 at 06:40:40 UTC, Jonathan M Davis wrote: ... or we should roll our own. And I don't think that rolling our own would be that hard. I'm with you. I think Disqus is for those who don't know how or don't want to write this kind of mechanism. I think this community has

Re: Programming Language for Games, part 3

2014-11-03 Thread MattCoder via Digitalmars-d
On Monday, 3 November 2014 at 21:11:07 UTC, Andrei Alexandrescu wrote: and then meeting for beers. -- Andrei Be aware that he doesn't drink (alcohol) too much: https://twitter.com/Jonathan_Blow/status/515268581525700608 Matheus.

Re: Phobos - breaking existing code

2014-12-01 Thread MattCoder via Digitalmars-d
On Tuesday, 2 December 2014 at 00:13:03 UTC, Andrei Alexandrescu wrote: One interesting tidbit is that downloads have been rising sharply through mid-November, to have a bit of a pullback recently: http://erdani.com/d/downloads.daily.png One note about this: I'm using D in my projects since

Re: i want my bounty!

2014-12-15 Thread MattCoder via Digitalmars-d
On Monday, 15 December 2014 at 10:11:37 UTC, ketmar via Digitalmars-d wrote: ... i'm accepting the fact that D is doomed to be a toy, which ocasionally used here and there. i tried to fight with this, but this fight is lost before it's started. and now i surrender. Well I don't post too much

Re: Lost a new commercial user this week :(

2014-12-15 Thread MattCoder via Digitalmars-d
On Tuesday, 16 December 2014 at 03:50:59 UTC, Rikki Cattermole wrote: I started writing a small booklet on this, if you got an email if you're interested or some way to send you. Please let me know. Do you mind to share with us all? :) Matheus.

Re: Lost a new commercial user this week :(

2014-12-16 Thread MattCoder via Digitalmars-d
On Tuesday, 16 December 2014 at 05:48:27 UTC, Rikki Cattermole wrote: https://drive.google.com/file/d/0B-EiBquZktsLc0czUzZVeGlLM00/view?usp=sharing No guarantees of how long it'll stay up there. And to reiterate, its only just a start. And I don't know if I ever complete it. There isn't really

Re: Lost a new commercial user this week :(

2014-12-19 Thread MattCoder via Digitalmars-d
On Friday, 19 December 2014 at 11:12:04 UTC, Rikki Cattermole wrote: ... I have about 10 pages to go. Uses cases, 1 design pattern, bunch of exploring of language support (LISP) and some misc stuff. So maybe sooner rather then later there will be an announcement. Please let us know!

Re: Lost a new commercial user this week :(

2014-12-19 Thread MattCoder via Digitalmars-d
On Friday, 19 December 2014 at 17:00:56 UTC, Rikki Cattermole wrote: Its hard to find your email! Email me? alphaglosined // gmail // com Done! :) Matheus.

Re: pathfinding benchmark

2014-12-20 Thread MattCoder via Digitalmars-d
On Saturday, 20 December 2014 at 14:51:54 UTC, Théo Bueno wrote: Anyway this benchmark and these numbers are crap, using the provided makefile I have totally different results on my laptop. According to the site: ...Feel free to submit improvements to the implementations! :) Matheus.

Re: ARMv7 vs x86-64: Pathfinding benchmark of C++, D, Go, Nim, Ocaml, and more.

2014-12-20 Thread MattCoder via Digitalmars-d
On Saturday, 20 December 2014 at 21:47:24 UTC, Walter Bright wrote: https://www.reddit.com/r/programming/comments/2pvf68/armv7_vs_x8664_pathfinding_benchmark_of_c_d_go/ Please take a look at this and ensure that the benchmark code is using D correctly... There is already a topic about this:

Re: DConf 2015?

2014-12-23 Thread Mattcoder via Digitalmars-d
On Monday, 22 December 2014 at 17:40:13 UTC, Adam D. Ruppe wrote: By this time last year, dconf 2014 preparations were already under way but I haven't heard anything this year. Is another one planned? Are you going to present us with more classics slides? :) http://m.imgur.com/hHCN3OL

Re: DConf 2015?

2014-12-23 Thread Mattcoder via Digitalmars-d
On Tuesday, 23 December 2014 at 17:19:23 UTC, Adam D. Ruppe wrote: The templates and operator overloads did all the work in showing the web responses. That's kinda cool. Indeed very cool, well done! Matheus.

GBAiD (GameBoy Advance in D)

2014-12-24 Thread MattCoder via Digitalmars-d
Hi, Not mine, just sharing: reddit: http://www.reddit.com/r/programming/comments/2qaxvs/gbaid_a_gameboy_advance_emulator_in_d/ github: https://github.com/DDoS/GBAiD Matheus.

Interesting model of article

2015-01-01 Thread MattCoder via Digitalmars-d
Hi, I found an article today on reddit which I think it would be nice to share: http://hookrace.net/blog/what-is-special-about-nim/#good-performance I'm pointing out this link because I think D should have some articles like this too. It's comprehensive and it seems popular to gather

Re: InternetAddress comparison fail

2015-01-02 Thread MattCoder via Digitalmars-d
On Saturday, 3 January 2015 at 01:16:39 UTC, Jonathan Marler wrote: Why doesn't the equals operator work on the InternetAddress class? It fails as the example below: import std.stdio; class foo{} void main(){ auto a = new foo; auto b = new foo; assert(a == b); } I believe you need to

Re: InternetAddress comparison fail

2015-01-02 Thread MattCoder via Digitalmars-d
On Saturday, 3 January 2015 at 01:59:40 UTC, MattCoder wrote: I believe you need to compare the values inside those class right? I forgot to paste an example: import std.stdio; class foo{ int i = 0; bool opEquals(foo obj){ return this.i == obj.i;} } void main(){ auto a = new foo;

Re: InternetAddress comparison fail

2015-01-03 Thread MattCoder via Digitalmars-d
On Saturday, 3 January 2015 at 16:39:05 UTC, Jonathan Marler wrote: Using toAddrString results in the following steps: 1. Allocate memory for the InternetAddress (GC memory by the way) 2. Convert the uint address to an IP Address string 3. Convert the ushort port to a string. 4. Do steps 1-3

Re: InternetAddress comparison fail

2015-01-03 Thread MattCoder via Digitalmars-d
On Saturday, 3 January 2015 at 17:37:19 UTC, Jonathan Marler wrote: my question was, should the InterenetAddress class have an opEquals or an opCmp or were they ommitted on purpose? Yes I understood your problem and like I said on the previous post I'm interested on the answer from the

Re: [WORK] groupBy is in! Next: aggregate

2015-01-23 Thread MattCoder via Digitalmars-d
On Friday, 23 January 2015 at 18:08:30 UTC, Andrei Alexandrescu wrote: So H.S. Teoh awesomely took https://github.com/D-Programming-Language/phobos/pull/2878 to completion. We now have a working and fast relational group by facility. See it at work! #!/usr/bin/rdmd void main() {

Re: auto return for some recursive functions in C++11

2015-01-14 Thread MattCoder via Digitalmars-d
On Wednesday, 14 January 2015 at 22:29:09 UTC, bearophile wrote: According to Wikipedia: http://en.wikipedia.org/wiki/C%2B%2B14#Function_return_type_deduction C++14 is able to compile code like this: auto correct(int i) { if (i == 1) return i; else return correct(i -

Re: auto return for some recursive functions in C++11

2015-01-14 Thread MattCoder via Digitalmars-d
On Thursday, 15 January 2015 at 00:24:09 UTC, Ola Fosheim Grøstad wrote: On Thursday, 15 January 2015 at 00:13:38 UTC, MattCoder wrote: So could you please tell me a good use case to for using return type deduction? Templates. Thanks! - In fact after posting I took a look and found this:

Re: dlang.org should do it in style

2015-01-17 Thread MattCoder via Digitalmars-d
On Saturday, 17 January 2015 at 15:28:57 UTC, Mathias LANG wrote: http://w0rp.com:8010/ I don't know about others but for me the layout above looks more attractive than the actual one. In fact yesterday I was showing the main page for a friend on his smartphone (Moto G), and the code

Re: New menus are up

2015-01-19 Thread MattCoder via Digitalmars-d
On Tuesday, 20 January 2015 at 03:29:23 UTC, Andrei Alexandrescu wrote: Take a look at http://dlang.org. New menus are in place for the main site and library. Well let be honest the site was in need of some fresh air. And the new menu is really good. Congratulations. Matheus.

Re: Better README.md for dlang.org

2015-01-19 Thread MattCoder via Digitalmars-d
On Monday, 19 January 2015 at 23:04:40 UTC, ponce wrote: Does IE7/IE8 are to be supported or IE9+ is the target? (IE9+ is more pleasant). Please let's bury those 2 altogether with IE9. :) Matheus.

Re: Please help me with improving dlang.org

2015-01-18 Thread MattCoder via Digitalmars-d
On Monday, 19 January 2015 at 01:41:04 UTC, Andrei Alexandrescu wrote: Content discussion to follow soon. -- Andrei As I asked in another Topic without any answer, I wasn't able to find (or at least is not easily visible) anything related to CONTRIBUTE even on sitemap. I think there should

Re: Please help me with improving dlang.org

2015-01-18 Thread MattCoder via Digitalmars-d
On Monday, 19 January 2015 at 02:19:30 UTC, Andrei Alexandrescu wrote: On 1/18/15 6:09 PM, MattCoder wrote: On Monday, 19 January 2015 at 01:41:04 UTC, Andrei Alexandrescu wrote: Content discussion to follow soon. -- Andrei As I asked in another Topic without any answer, I wasn't able to

Re: Idea: featuring forum content on dlang.org?

2015-01-18 Thread MattCoder via Digitalmars-d
On Monday, 19 January 2015 at 02:34:32 UTC, Andrei Alexandrescu wrote: With all this discussion on more dynamic content on dlang.org, I sat down (figuratively; I've been on a hike today) and thought - what is dynamic about D? Are you becoming a web-developer? :) We already have twitter which

Re: The ugly truth about ddoc

2015-01-18 Thread MattCoder via Digitalmars-d
On Monday, 19 January 2015 at 02:18:32 UTC, Andrei Alexandrescu wrote: TL;DR: I've uploaded new menu colors at http://erdani.com/d/, this time aiming for a more martian red ethos. Please let me know. Well I'd prefer less red-ish: http://i.imgur.com/AIvcoWl.png But you know this is a personal

Re: The ugly truth about ddoc

2015-01-18 Thread MattCoder via Digitalmars-d
On Monday, 19 January 2015 at 03:01:44 UTC, Andrei Alexandrescu wrote: No personal aspect to this. What hex colors did you use? -- background-color: #6E6E6E; And I cleaned: #cssmenu ul li a { font-size: 14px; display: block; background:

Re: Like Go/Rust, why not to have func keyword before function declaration

2015-01-20 Thread MattCoder via Digitalmars-d
On Tuesday, 20 January 2015 at 13:47:11 UTC, ketmar via Digitalmars-d wrote: void function foo () { ... } foo(); do you see the subtle difference? yes, that tiny whitespace in declaration. i borrowed that habit from some Oberon code decades ago, and it serves me well since then. Hmm,

Re: dlang.org redesign n+1

2015-01-21 Thread MattCoder via Digitalmars-d
On Wednesday, 21 January 2015 at 17:34:46 UTC, H. S. Teoh via Digitalmars-d wrote: z +1. I didn't like it either. But then again, the majority of people rarely agree with me, so I didn't say anything. But obviously I'm not alone in disliking this spaced-out layout. Well, of course it needs

Re: dlang.org redesign n+1

2015-01-21 Thread MattCoder via Digitalmars-d
On Wednesday, 21 January 2015 at 17:52:56 UTC, Kiith-Sa wrote: Suggested improvement: http://imgur.com/a/zgSJa Or: http://i.imgur.com/ciSn8vM.png Matheus.

Re: New menus are up

2015-01-21 Thread MattCoder via Digitalmars-d
On Wednesday, 21 January 2015 at 14:47:09 UTC, John Colvin wrote: On Wednesday, 21 January 2015 at 14:27:23 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 21 January 2015 at 13:38:25 UTC, MattCoder wrote: On Wednesday, 21 January 2015 at 13:28:22 UTC, Tofu Ninja wrote: On Tuesday, 20 January

Re: dlang.org redesign n+1

2015-01-21 Thread MattCoder via Digitalmars-d
On Wednesday, 21 January 2015 at 14:46:22 UTC, Sebastiaan Koppe wrote: Just for fun and proof-of-concept I went ahead and forked the dlang.org site. I basically took the `do-what-everybody-else-is-doing` approach: http://dlang.skoppe.eu Well like everyone else said, this is awesome. I

Re: New menus are up

2015-01-21 Thread MattCoder via Digitalmars-d
On Tuesday, 20 January 2015 at 03:29:23 UTC, Andrei Alexandrescu wrote: Suggestion: The font-style used in one menu differs from the other, ex: http://i.imgur.com/fRwdFNj.png Which I think it should be the same, and as you can see in the image above, some words doesn't fit in the menu

Re: dlang.org redesign n+1

2015-01-21 Thread MattCoder via Digitalmars-d
On Wednesday, 21 January 2015 at 19:57:25 UTC, H. S. Teoh via Digitalmars-d wrote: On Wed, Jan 21, 2015 at 05:52:06PM +, MattCoder via Digitalmars-d wrote: On Wednesday, 21 January 2015 at 17:34:46 UTC, H. S. Teoh via Digitalmars-d wrote: z +1. I didn't like it either. But then again

Re: dlang.org redesign n+1

2015-01-21 Thread MattCoder via Digitalmars-d
On Wednesday, 21 January 2015 at 19:51:57 UTC, Walter Bright wrote: On 1/21/2015 6:46 AM, Sebastiaan Koppe wrote: Just for fun and proof-of-concept I went ahead and forked the dlang.org site. I basically took the `do-what-everybody-else-is-doing` approach: Thank you very much for doing this!

Re: [DRAFT] This Week in D - Jan 18

2015-01-19 Thread MattCoder via Digitalmars-d
On Monday, 19 January 2015 at 11:57:51 UTC, Mengu wrote: hello all yesterday i took the liberty of asking a dear designer friend of mine to help us have a better newsletter. luckily, he was able to put some design together for it. please see it at http://bit.ly/1DTLuPS and let us know what

Re: dlang.org should do it in style

2015-01-17 Thread MattCoder via Digitalmars-d
On Saturday, 17 January 2015 at 19:35:01 UTC, Andrei Alexandrescu wrote: A tested PR would be great. Who can take this? -- Andrei A last note about this: using width:1024px will fix the mobile wrap-text problem, but the site will look like this on higher resolutions:

Re: dlang.org should do it in style

2015-01-17 Thread MattCoder via Digitalmars-d
On Saturday, 17 January 2015 at 17:59:07 UTC, Andrei Alexandrescu wrote: In fact yesterday I was showing the main page for a friend on his smartphone (Moto G), and the code example at main page looks awful, since it's all wrapped on mobile. Here is an example what I'm talking about:

Re: Eliminate comparison.html?

2015-01-17 Thread MattCoder via Digitalmars-d
On Sunday, 18 January 2015 at 01:13:53 UTC, H. S. Teoh via Digitalmars-d wrote: Maybe it can be replaced with one of the frames from: http://eusebeia.dyndns.org/~hsteoh/tmp/mascot.png :-) Well I can see a pattern there: http://i.imgur.com/k0FpgIn.png PS: I hope Walter don't mind! :)

Re: Eliminate comparison.html?

2015-01-17 Thread MattCoder via Digitalmars-d
On Sunday, 18 January 2015 at 02:33:24 UTC, MattCoder wrote: PS: I hope Walter don't mind! :) *Doesn't Matheus.

Re: Eliminate comparison.html?

2015-01-17 Thread MattCoder via Digitalmars-d
On Saturday, 17 January 2015 at 18:04:24 UTC, Andrei Alexandrescu wrote: I think http://dlang.org/overview.html is long in the tooth and needs a rewrite or replacement. It's not appropriate for D at this moment, e.g. questions like Why D? etc. don't need answered anymore. And please change

Re: Please help me with improving dlang.org

2015-01-17 Thread MattCoder via Digitalmars-d
On Sunday, 18 January 2015 at 02:18:16 UTC, Andrei Alexandrescu wrote: I took the better part of today working on this: https://github.com/D-Programming-Language/dlang.org/pull/780. See demo at http://erdani.com/d/. What do you all think? Is it an improvement over what we have now? Nice

Re: dlang.org should do it in style

2015-01-17 Thread MattCoder via Digitalmars-d
On Saturday, 17 January 2015 at 22:27:08 UTC, H. S. Teoh via Digitalmars-d wrote: Also, I am skeptical of a single style that will work for both desktop and mobile browsers. Isn't that what mobile stylesheets are for? We can have the same content, but we shouldn't break the desktop layout or

Re: [DRAFT] This Week in D - Jan 18

2015-01-19 Thread MattCoder via Digitalmars-d
Ok I'm afraid to ask this and sound like annoying person, but according to my sign: their 'attention to detail' is for a reason: to help others. So: Would be strange with get rid of : in this text: This Week in D: ? Because everytime that I look to it, this D: look like a sad face. :]

Re: [DRAFT] This Week in D - Jan 18

2015-01-19 Thread MattCoder via Digitalmars-d
On Monday, 19 January 2015 at 16:37:51 UTC, Adam D. Ruppe wrote: On Monday, 19 January 2015 at 11:57:51 UTC, Mengu wrote: yesterday i took the liberty of asking a dear designer friend of mine to help us have a better newsletter. luckily, he was Cool, thanks! I combined the two suggestions to

Re: [DRAFT] This Week in D - Jan 18

2015-01-19 Thread MattCoder via Digitalmars-d
On Monday, 19 January 2015 at 16:46:41 UTC, MattCoder wrote: On Monday, 19 January 2015 at 16:37:51 UTC, Adam D. Ruppe wrote: On Monday, 19 January 2015 at 11:57:51 UTC, Mengu wrote: yesterday i took the liberty of asking a dear designer friend of mine to help us have a better newsletter.

Re: 404 on dlang.org

2015-01-22 Thread MattCoder via Digitalmars-d
On Thursday, 22 January 2015 at 15:28:34 UTC, Andrei Alexandrescu wrote: Woke up, rebased, pushed. It's up folks, take a look! http://dlang.org. -- Andrei Neat! I think all the efforts you made till now is a improvement from what the original site was. I know It will be hard to please

Re: New menus are up

2015-01-21 Thread MattCoder via Digitalmars-d
On Wednesday, 21 January 2015 at 13:28:22 UTC, Tofu Ninja wrote: On Tuesday, 20 January 2015 at 03:29:23 UTC, Andrei Alexandrescu wrote: Can we have the old menus back : Why would you want that? Matheus.

Re: D on Slashdot

2015-01-21 Thread MattCoder via Digitalmars-d
On Wednesday, 21 January 2015 at 13:19:00 UTC, Adam D. Ruppe wrote: It is a lot easier to just run wine dmd and distribute the finished exe than it is to copy all the development files to the windows computer and run it there. For what I'm seeing Wine isn't an emulator like VMWare, it's a

Re: Use proper frameworks for building dlang.org

2015-01-18 Thread MattCoder via Digitalmars-d
On Sunday, 18 January 2015 at 14:06:06 UTC, weaselcat wrote: ... I agree that the current site seems like an ugly ddoc hack, I just recently tried to fix a broken link on the frontpage(should be easy, right?) and was confused by ddoc so I had to submit a bug request. You know, I quit my job

Re: while(...){ ... }else ...

2015-01-18 Thread MattCoder via Digitalmars-d
On Sunday, 18 January 2015 at 15:52:24 UTC, Jens Bauer wrote: ... Ah, much more readable. Maybe I misunderstood your question, but what you think about this way: while(1){ if(c = '0' c = '9') { /* number */ c = *s++; ... do something with c ... }

Re: Use proper frameworks for building dlang.org

2015-01-18 Thread MattCoder via Digitalmars-d
On Sunday, 18 January 2015 at 14:00:57 UTC, aldanor wrote: On Sunday, 18 January 2015 at 13:01:48 UTC, MattCoder wrote: On Sunday, 18 January 2015 at 10:24:29 UTC, Jacob Carlborg wrote: What do you think? I'm seeing a lot a topics regards about fixing website, styles an so on. Maybe is time

Re: Use proper frameworks for building dlang.org

2015-01-18 Thread MattCoder via Digitalmars-d
On Sunday, 18 January 2015 at 15:27:36 UTC, MattCoder wrote: You know, I quit my job for my own wish, you know I want a fresh air and do others things this year. I could try to help with the site, but there is two main problems: Sorry I'm not english, so I think the text above isn't quite

Re: dlang.org should do it in style

2015-01-18 Thread MattCoder via Digitalmars-d
On Sunday, 18 January 2015 at 10:01:37 UTC, Jacob Carlborg wrote: On 2015-01-17 19:39, MattCoder wrote: Indeed! But, if the body had a width setted this wouldn't occur. For example, adding width: 1024px on body in style.css it will now be fine to see on mobile. No, that's not the correct

Re: Use proper frameworks for building dlang.org

2015-01-18 Thread MattCoder via Digitalmars-d
On Sunday, 18 January 2015 at 10:24:29 UTC, Jacob Carlborg wrote: What do you think? I'm seeing a lot a topics regards about fixing website, styles an so on. Maybe is time to try to raise money and hire someone with good knowledge and of course freetime to work only on it? Matheus.

Re: while(...){ ... }else ...

2015-01-18 Thread MattCoder via Digitalmars-d
On Sunday, 18 January 2015 at 22:54:16 UTC, Jens Bauer wrote: On Sunday, 18 January 2015 at 16:03:24 UTC, MattCoder wrote: On Sunday, 18 January 2015 at 15:52:24 UTC, Jens Bauer wrote: ... First check: Is it a number; if so, get the entire number... If not, try the second check: is it a

Re: Please help me with improving dlang.org

2015-01-18 Thread MattCoder via Digitalmars-d
On Sunday, 18 January 2015 at 21:27:25 UTC, NVolcz wrote: Googles pagespeed also gives some nice guidelines: https://developers.google.com/speed/pagespeed/insights/?url=dlang.org Nice and for image processing/compression I'd like to recommend this free tool (Win/Linux/Mac):

The Redmonk programming language rankings 2015

2015-01-18 Thread MattCoder via Digitalmars-d
There you go: http://www.reddit.com/r/programming/comments/2su31i/the_redmonk_programming_language_rankings_january/ Unfortunately no D this time... YET! Matheus.

Re: The Redmonk programming language rankings 2015

2015-01-18 Thread MattCoder via Digitalmars-d
On Sunday, 18 January 2015 at 20:45:09 UTC, MattCoder wrote: Unfortunately no D this time... YET! I forgot to add: Compared with 2014 D grew: 2014 - http://sogrady-media.redmonk.com/sogrady/files/2014/01/lang-rank-114-wm-e1390419878523.png 2015 -

Re: dlang.org redesign n+1

2015-01-22 Thread MattCoder via Digitalmars-d
On Thursday, 22 January 2015 at 17:03:52 UTC, Meta wrote: On Thursday, 22 January 2015 at 17:00:55 UTC, MattCoder wrote: On Thursday, 22 January 2015 at 16:58:39 UTC, Meta wrote: On Thursday, 22 January 2015 at 05:27:04 UTC, Zekereth wrote: First of all I like the new design. Way better than

Re: dlang.org redesign n+1

2015-01-22 Thread MattCoder via Digitalmars-d
On Thursday, 22 January 2015 at 16:58:39 UTC, Meta wrote: On Thursday, 22 January 2015 at 05:27:04 UTC, Zekereth wrote: First of all I like the new design. Way better than what's here now. I'll just throw another site into the mix that I like which is Ocaml's site: https://ocaml.org/ .

Re: dlang.org redesign n+2 (the one with the bold red vertical menu)

2015-01-23 Thread MattCoder via Digitalmars-d
On Saturday, 24 January 2015 at 02:43:47 UTC, anonymous wrote: Inspired by the recent developments, and Sebastiaan Koppe's version [1] specifically, I gave it a go, too: http://ag0aep6g-dlang.rhcloud.com/ Interesting, and just for fun I changed the CSS a bit: http://i.imgur.com/ijLxXe2.png

Re: [WORK] groupBy is in! Next: aggregate

2015-01-23 Thread MattCoder via Digitalmars-d
On Friday, 23 January 2015 at 22:20:19 UTC, H. S. Teoh wrote: It's kind of a misnomer, because it actually only considers *consecutive runs* of equivalent elements; it doesn't look at the whole range before deciding what goes in which group. So technically it should be called

Re: dlang.org redesign n+2 (the one with the bold red vertical menu)

2015-01-23 Thread MattCoder via Digitalmars-d
On Saturday, 24 January 2015 at 04:09:58 UTC, Andrei Alexandrescu wrote: Interesting, and just for fun I changed the CSS a bit: http://i.imgur.com/ijLxXe2.png :) The red band at the top is a bit odd. Really? Oh yeah it's. I just was trying to fill the top with something... Bad luck! :)

Re: [website redesign] PR for the one with the big red menu bar

2015-01-28 Thread MattCoder via Digitalmars-d
On Wednesday, 28 January 2015 at 15:54:31 UTC, anonymous wrote: Here's a variant with a grey background and the old logo, suggested by veelo on GitHub: http://ag0aep6g-dlang.rhcloud.com/variants/grey-oldlogo/ I like it too! :) PS: One thing that I think which would be nice from this new

Re: Is this visible to all?

2015-01-10 Thread MattCoder via Digitalmars-d
On Sunday, 11 January 2015 at 03:36:20 UTC, Andrei Alexandrescu wrote: Some links on github are only visible to admins/committers. Is this available to all? https://github.com/pulls?user=D-Programming-Language Yes! Matheus.

Re: Thoughts on replacement languages (Reddit + D)

2015-01-10 Thread MattCoder via Digitalmars-d
PS: I'm not posting this to see any flamewar between languages there, but maybe some could enlighten the discussion with some nice facts. Matheus.

Thoughts on replacement languages (Reddit + D)

2015-01-10 Thread MattCoder via Digitalmars-d
I saw this post: http://www.reddit.com/r/programming/comments/2s0c3e/thoughts_on_replacement_languages/ And there this comment: http://www.reddit.com/r/programming/comments/2s0c3e/thoughts_on_replacement_languages/cnkzzq7 Comparing Go and D, but some replies are getting a bit harsh against

Re: Thoughts on replacement languages (Reddit + D)

2015-01-11 Thread MattCoder via Digitalmars-d
On Sunday, 11 January 2015 at 06:56:02 UTC, thedeemon wrote: At this moment I only see some popularity comparisons Yes in fact they are talking more about popularity between both languages. and I think they're generally correct... Since I'm relative new here, I want know from you agree

Re: Thoughts on replacement languages (Reddit + D)

2015-01-11 Thread MattCoder via Digitalmars-d
On Sunday, 11 January 2015 at 15:44:42 UTC, thedeemon wrote: ...For example, compare these stats: http://www.code2014.com/ http://code2013.herokuapp.com/ Interesting charts. But on the other hand, I remember that sometime ago Andrei posted (

Re: Thoughts on replacement languages (Reddit + D)

2015-01-11 Thread MattCoder via Digitalmars-d
On Sunday, 11 January 2015 at 13:57:54 UTC, Kiith-Sa wrote: That guy has been trolling every D thread in the last year. I didn't know that. Glad you said! Either way, D is definitely way more popular/active than it was a year ago, especially with a large jump around last summer but not

Re: Thoughts on replacement languages (Reddit + D)

2015-01-11 Thread MattCoder via Digitalmars-d
On Sunday, 11 January 2015 at 23:27:34 UTC, Nick B wrote: Perhaps its better to have a number (average or mean) than no number. Just ask 50 or 100 uers (or more) for their number of downloads for the last 12 or 18 months. This is turn will give you a guess-estimate as to the size of the

Re: Thoughts on replacement languages (Reddit + D)

2015-01-12 Thread MattCoder via Digitalmars-d
On Monday, 12 January 2015 at 21:13:10 UTC, Dicebot wrote: On Monday, 12 January 2015 at 21:02:54 UTC, Zach the Mystic wrote: On Monday, 12 January 2015 at 20:31:33 UTC, Dicebot wrote: Thanks, updated The section under Uncertain has a huge font size now and repeats what was just said.

Re: Even better navigation - thanks Nick Treleaven!

2015-01-07 Thread MattCoder via Digitalmars-d
On Wednesday, 7 January 2015 at 23:18:03 UTC, Andrei Alexandrescu wrote: ... from http://dlang.org/phobos/std_array.html#.Appender one can jump easily to its methods. Thanks, Nick! Well done! I just think that would be nice to have a link to go back (Like a Up Arrow on the right corner for

Re: Post increment and decrement

2015-03-11 Thread mattcoder via Digitalmars-d
On Wednesday, 11 March 2015 at 20:05:03 UTC, mattcoder wrote: On Wednesday, 11 March 2015 at 17:23:15 UTC, welkam wrote: Observation Nr. 1 People prefer to write var++ instead of ++var. Believe or not I always used pre-increment. But yes, I see the former in most of the codes out there.

Re: Post increment and decrement

2015-03-11 Thread mattcoder via Digitalmars-d
On Wednesday, 11 March 2015 at 17:23:15 UTC, welkam wrote: Observation Nr. 1 People prefer to write var++ instead of ++var. Believe or not I always used pre-increment. But yes, I see the former in most of the codes out there. Matheus.

  1   2   >