Re: D User Survey

2017-12-09 Thread wobbles via Digitalmars-d-announce
On Thursday, 7 December 2017 at 14:31:01 UTC, Chris wrote: I didn't know Ireland was so unknown, unless, of course, I'm supposed to choose "Great Britain". I also hated myself for clicking Great Britain :-)

Re: Passing array as an function argument.

2017-09-11 Thread wobbles via Digitalmars-d-learn
On Monday, 11 September 2017 at 12:20:08 UTC, Vino.B wrote: On Monday, 11 September 2017 at 12:03:32 UTC, wobbles wrote: On Monday, 11 September 2017 at 11:58:18 UTC, Vino.B wrote: [...] The type returned from Test1() is a `RangeT!(Array!string)`. This is due to the `[]` on the end of

Re: Passing array as an function argument.

2017-09-11 Thread wobbles via Digitalmars-d-learn
On Monday, 11 September 2017 at 11:58:18 UTC, Vino.B wrote: Hi All, Can some one help me on how to pass a container array as a function argument , the below code throws an error, Error: Error: function T3.Test2 (Array!string t1) is not callable using argument types (RangeT!(Array!string))

Re: {OT} My machines are dead

2017-06-06 Thread wobbles via Digitalmars-d
On Tuesday, 6 June 2017 at 12:46:21 UTC, Stefan Koch wrote: Hi Guys, bad news my dev machine and the backup machine are dead. The replacement hard-drive I ordered a week ago came today, but that's no longer the issue. If someone in the North Rhine-Westphalia area, wants get rid of a working

Re: vibe.d 0.8.0 and 0.7.31 beta releases

2017-01-31 Thread wobbles via Digitalmars-d-announce
On Tuesday, 31 January 2017 at 11:11:28 UTC, Sönke Ludwig wrote: The first release of the revamped core module [1] is nearing, and along with that, a compatible vibe.d release (0.8.0). The new core module is still opt-in in this release and can be activated using a `subConfiguration

Re: What are you planning, D related, for 2017 ?

2017-01-03 Thread wobbles via Digitalmars-d
I'm close to releasing a web-app built fully in vibe-d. I'm thinking of attempting a native android app using D based on the same project as above. Continue my 2D game dev project (which is going super slow lately).

Re: Detect that a child is waiting for input

2016-11-23 Thread wobbles via Digitalmars-d
On Wednesday, 23 November 2016 at 15:54:30 UTC, unDEFER wrote: On Tuesday, 22 November 2016 at 22:30:06 UTC, wobbles wrote: Easier said than done as there's no signal the child sends to say "OK, I'm waiting now". You can use expect to do this, if you know what the output of the child will be

Re: Detect that a child is waiting for input

2016-11-22 Thread wobbles via Digitalmars-d
On Monday, 21 November 2016 at 07:29:55 UTC, unDEFER wrote: On Sunday, 20 November 2016 at 21:03:57 UTC, John Colvin wrote: If blocking is an error, you could close stdin and assuming the process checks the error codes correctly No, I mean blocking is not error. One method to find it, run

Re: [vibe.d] showing images

2016-10-26 Thread wobbles via Digitalmars-d-learn
On Wednesday, 26 October 2016 at 12:42:09 UTC, Nicholas Wilson wrote: [...] When you get the 404, do you see the contents of 'writeln(images);' in your terminal?

Re: SOme fun with D compiler

2016-10-18 Thread wobbles via Digitalmars-d
On Tuesday, 18 October 2016 at 11:06:08 UTC, wobbles wrote: On Tuesday, 18 October 2016 at 08:21:09 UTC, Daniel Kozak wrote: Try to compile this: import std.stdio; auto xxx(T)() { return this; } struct S { mixin xxx!(typeof(this)); alias xxx this; } void foo(S pos) {

Re: SOme fun with D compiler

2016-10-18 Thread wobbles via Digitalmars-d
On Tuesday, 18 October 2016 at 08:21:09 UTC, Daniel Kozak wrote: Try to compile this: import std.stdio; auto xxx(T)() { return this; } struct S { mixin xxx!(typeof(this)); alias xxx this; } void foo(S pos) { writefln("(%.2f|%.2f)", pos.x, pos.y); } void main() { } Or

Re: Your connection is not private

2016-10-01 Thread wobbles via Digitalmars-d-learn
On Saturday, 1 October 2016 at 03:21:05 UTC, rikki cattermole wrote: On 01/10/2016 11:51 AM, Joel wrote: I get this when I click Learn at the top of the screen in dlang. This is on Chrome Mac (Sierra 10.12). Yup, you need to be on https. Chrome just started warning when using http in the

Re: Why I am switching to Go

2016-09-20 Thread wobbles via Digitalmars-d
On Tuesday, 20 September 2016 at 20:35:49 UTC, Daniel Kozak wrote: Dne 20.9.2016 v 22:01 Karabuta via Digitalmars-d napsal(a): On Tuesday, 20 September 2016 at 19:47:12 UTC, WebFreak001 wrote: On Tuesday, 20 September 2016 at 19:14:41 UTC, Intersteller wrote: Vibe.d looks great on the

Re: Countries where D is used

2016-09-16 Thread wobbles via Digitalmars-d
On Friday, 16 September 2016 at 11:34:31 UTC, Chris wrote: I've noticed that there is a lot of enthusiasm for D in France, Germany and Russia (alphabetic order) where it is also used for production. I see there's a company in Belarus that uses D, and D is also used in Italy, Austria and the

Re: vibe.d PaaS

2016-09-14 Thread wobbles via Digitalmars-d-learn
On Wednesday, 14 September 2016 at 16:03:50 UTC, Guillaume Piolat wrote: On Wednesday, 14 September 2016 at 10:56:57 UTC, llaine wrote: No PaaS service, but you can pretty simply use Heroku to deploy any vibe.d application. Check the tour.dlang.io

Re: vibe.d PaaS

2016-09-14 Thread wobbles via Digitalmars-d-learn
On Wednesday, 14 September 2016 at 09:01:11 UTC, Guillaume Piolat wrote: Is there vibe.d hosting sold anywhere? Not that I know, but any VPS you rent would be capable of hosting it. I guess you don't want to deal with all of the other services you'd need? (nginx / security / dbs etc etc ?)

Re: Mysql-native with LAMPP

2016-09-12 Thread wobbles via Digitalmars-d-learn
On Monday, 12 September 2016 at 05:31:46 UTC, Geert wrote: Hi all! I tried the client driver for MySQL/MariaDB "mysql-native". https://github.com/mysql-d/mysql-native Everything works well with an individually installed version of MySql. But I would like to know if there is a way to make D

Re: Compiling vibe.d application for Amazon ec2 instance

2016-09-12 Thread wobbles via Digitalmars-d-learn
On Sunday, 11 September 2016 at 23:12:15 UTC, crimaniak wrote: Hi all! I made vibe-d application, and client give me already taken hosting for it on Amazon aws ec2, uname -a: Linux ip-xxx-xx-xx-xx 4.4.11-23.53.amzn1.x86_64 #1 SMP Wed Jun 1 22:22:50 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Re: Get all files imported by a D source file

2016-09-09 Thread wobbles via Digitalmars-d-learn
On Thursday, 8 September 2016 at 07:20:52 UTC, Yuxuan Shui wrote: On Thursday, 8 September 2016 at 06:33:00 UTC, Jacob Carlborg wrote: On 2016-09-08 07:39, Yuxuan Shui wrote: Hi, I wonder if there's standardized way to gather which files are imported by a source file. I know I can run "dmd

Re: Use of StackOverflow

2016-09-08 Thread wobbles via Digitalmars-d
On Thursday, 8 September 2016 at 09:04:27 UTC, cym13 wrote: On Thursday, 8 September 2016 at 08:54:16 UTC, Russel Winder wrote: Do people operate on StackOverflow for D questions and answers? Yes, from my experience most questions get answered quickly (within an hour) thanks to the IRC bot

Re: vibed.org is down

2016-09-02 Thread wobbles via Digitalmars-d
On Friday, 2 September 2016 at 07:23:51 UTC, Mike Parker wrote: On Friday, 2 September 2016 at 07:02:20 UTC, finalpatch wrote: Probably not good for publicity. meh. It's the internet. Sometimes servers go down. code.dlang.org is down too :-(

Re: Template not seeming to instantiate a second time with default alias parameter

2016-08-31 Thread wobbles via Digitalmars-d-learn
On Tuesday, 30 August 2016 at 21:35:29 UTC, ag0aep6g wrote: On 08/30/2016 11:28 PM, wobbles wrote: I'll have to try find a workaround for now :/ This seems to work and isn't too ugly: class Node(T, alias func) {/*...*/} alias Node(T) = Node!(T, (T t) => t*t); Excellent - thanks

Re: Template not seeming to instantiate a second time with default alias parameter

2016-08-30 Thread wobbles via Digitalmars-d-learn
On Tuesday, 30 August 2016 at 20:55:20 UTC, ag0aep6g wrote: On 08/30/2016 10:41 PM, wobbles wrote: class Node(T, alias func = (T t => t*t))(){ //whatever } //instantiate Node!(int) intNode; Node!(float) floatNode; // fails as lambda func expects an int. Am I doing something wrong or is

Template not seeming to instantiate a second time with default alias parameter

2016-08-30 Thread wobbles via Digitalmars-d-learn
Hi, Code here: https://gist.github.com/grogancolin/066a8a8c105fa473dfee961e2481a30e Basically, it seems when a template has an alias parameter like class Node(T, alias func = (T t => t*t))(){ //whatever } //instantiate Node!(int) intNode; Node!(float) floatNode; // fails as lambda func

Realtime monitoring of GC

2016-08-26 Thread wobbles via Digitalmars-d
In the Java world, the JVM offers hooks to allow tools to monitor in real time what is happening under the hood of your application. I think this sort of tooling would be very useful in D. Especially in my current Game Dev project (it'd be really nice to see in real time where you're

Re: Autotester farm is down

2016-08-18 Thread wobbles via Digitalmars-d
On Wednesday, 17 August 2016 at 23:13:52 UTC, Brad Roberts wrote: On 8/17/16 3:27 PM, wobbles via Digitalmars-d wrote: On Monday, 15 August 2016 at 22:33:26 UTC, Brad Roberts wrote: [...] I wonder how much it would cost to host this in AWS? I imagine it wouldn't be that big a job (famous

Re: Autotester farm is down

2016-08-17 Thread wobbles via Digitalmars-d
On Monday, 15 August 2016 at 22:33:26 UTC, Brad Roberts wrote: Network connectivity issues. That set of machines runs out of my house and the comcast connection isn't happy, apparently. On 8/15/16 12:55 PM, Lodovico Giaretta via Digitalmars-d wrote: I don't know much about PRs and the

Re: Windows defender thinks dmd-2071.1.exe is a virus

2016-08-14 Thread wobbles via Digitalmars-d
On Sunday, 14 August 2016 at 09:55:07 UTC, Seb wrote: On Sunday, 14 August 2016 at 09:49:48 UTC, wobbles wrote: This is the exact link I downloaded from: http://downloads.dlang.org/releases/2.x/2.071.1/dmd-2.071.1.exe I am not sure - it will take over the world, but do you classify this as

Windows defender thinks dmd-2071.1.exe is a virus

2016-08-14 Thread wobbles via Digitalmars-d
This is the exact link I downloaded from: http://downloads.dlang.org/releases/2.x/2.071.1/dmd-2.071.1.exe ( In case it was hacked and is indeed a virus now :) )

Re: Release DUB 1.0.0

2016-06-21 Thread wobbles via Digitalmars-d-announce
On Monday, 20 June 2016 at 15:52:46 UTC, Sönke Ludwig wrote: I'm pleased to announce the release of the first stable version of the DUB package manager. Stable in this case means that the API, the command line interface and the package recipe format will only receive fully backwards compatible

Re: Cross platform android ldc compiler

2016-06-17 Thread wobbles via Digitalmars-d
On Friday, 17 June 2016 at 13:35:01 UTC, Andre Pany wrote: On Friday, 17 June 2016 at 12:26:18 UTC, Gerald wrote: On Friday, 17 June 2016 at 11:48:23 UTC, Andre Pany wrote: [...] For windows and mac VirtualBox is included in the docker installation routine. Most users won't even notice

Re: OpenGL Setup?

2016-06-16 Thread wobbles via Digitalmars-d-learn
On Thursday, 16 June 2016 at 19:52:58 UTC, OpenJelly wrote: Last time I worked on anything OpenGL in D I was using a Linux machine, and I had to really bend over backward to get set up. I'm using Windows 7 at the moment and I'd like to work on some graphics stuff but I'm pretty lost... I

Re: Release candidate 1.0.0-rc.1 is out

2016-06-16 Thread wobbles via Digitalmars-d-announce
On Wednesday, 15 June 2016 at 17:54:00 UTC, Sönke Ludwig wrote: Am 07.06.2016 um 11:54 schrieb Sönke Ludwig: [...] The first release candidate is out now! If nothing else comes up, the release is scheduled for next Monday. For this release, I've restricted the recipe comments to the /+ +/

Re: Recommended coding convention for combining unix and windows code ?

2016-06-07 Thread wobbles via Digitalmars-d-learn
On Tuesday, 7 June 2016 at 15:33:57 UTC, chmike wrote: Hello I'm writing some code that I want to be portable across Posix and Windows. What is the recommended code convention for such type of code ? 80% of the class implementation is the same for both OS. Should I write the following and

Re: Beta release DUB 1.0.0-beta.1

2016-06-07 Thread wobbles via Digitalmars-d-announce
On Tuesday, 7 June 2016 at 09:54:19 UTC, Sönke Ludwig wrote: DUB 1.0.0 is nearing completion. The new feature over 0.9.25 is support for single-file packages, which can be used to write shebang-style scripts on Posix systems: [...] This is great - very nice feature. That was one of the

Re: D plugin for Visual Studio Code

2016-05-24 Thread wobbles via Digitalmars-d
On Tuesday, 24 May 2016 at 09:01:15 UTC, akaDemik wrote: On Sunday, 22 May 2016 at 21:33:49 UTC, WebFreak001 wrote: windows hates me too much, these permission issues don't make any sense. Why wouldn't dub be able to write the lib file to the project directory? Fixing workspace-d-installer is

Re: Better Voldemort types

2016-05-24 Thread wobbles via Digitalmars-d-announce
On Tuesday, 24 May 2016 at 01:29:53 UTC, Steven Schveighoffer wrote: Blog post on making Voldemort types without the disk-space issues: http://www.schveiguy.com/blog/2016/05/have-your-voldemort-types-and-keep-your-disk-space-too/ -Steve Very useful - thanks!

Re: How are you enjoying DConf? And where to go next?

2016-05-09 Thread wobbles via Digitalmars-d
On Monday, 9 May 2016 at 15:12:25 UTC, krzaq wrote: On Monday, 9 May 2016 at 09:58:32 UTC, Mark Isaacson wrote: Full recognition that there was way less demand for another US DConf... so perhaps somewhere easier to fly to? Reykjavik? Dublin? Oslo? Stockholm? Barcelona? London? Those are

Re: Adventures in D Programming

2016-05-08 Thread wobbles via Digitalmars-d-announce
On Sunday, 8 May 2016 at 19:12:17 UTC, Adam D. Ruppe wrote: On Sunday, 8 May 2016 at 19:09:07 UTC, Daniel Kozak wrote: I remember that I have mentioned that once here, but I thing there was not big interest at it :( I'm doing it on dpldocs.info as soon as I leave the alpha period (which is

Re: How to convert this code: (is(ToString(t))

2016-05-08 Thread wobbles via Digitalmars-d
On Sunday, 8 May 2016 at 18:55:58 UTC, Pablo wrote: This is part of the old dparse.d file: private import std.string : ToString = toString ; char[] string() { static if(str) { static if(is(T == char[]))

Re: How are you enjoying DConf? And where to go next?

2016-05-08 Thread wobbles via Digitalmars-d
On Saturday, 7 May 2016 at 07:40:59 UTC, Russel Winder wrote: On Fri, 2016-05-06 at 20:59 +, John Colvin via Digitalmars-d wrote: On Friday, 6 May 2016 at 14:57:59 UTC, Chris wrote: > [...] Dublin has cheap direct flights from quite a few places in the US, as well as pretty much

Re: TTS Synthesis: D and vibe.d in Action

2016-04-12 Thread wobbles via Digitalmars-d-announce
On Tuesday, 12 April 2016 at 10:22:03 UTC, Chris wrote: Hi, Just to inform you that we successfully use D and vibe.d for two things: [...] Great to see some fellow Irish D users!

Re: Release D 2.071.0

2016-04-11 Thread wobbles via Digitalmars-d-announce
On Monday, 11 April 2016 at 11:43:20 UTC, wobbles wrote: On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote: Glad to announce D 2.071.0. http://dlang.org/download.html This release fixes many long-standing issues with imports and the module system. See the changelog for more

Re: Release D 2.071.0

2016-04-11 Thread wobbles via Digitalmars-d-announce
On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote: Glad to announce D 2.071.0. http://dlang.org/download.html This release fixes many long-standing issues with imports and the module system. See the changelog for more details. http://dlang.org/changelog/2.071.0.html -Martin

Re: execute bash?

2016-04-10 Thread wobbles via Digitalmars-d-learn
On Sunday, 10 April 2016 at 00:47:28 UTC, Puming wrote: On Saturday, 9 April 2016 at 08:56:17 UTC, wobbles wrote: On Friday, 8 April 2016 at 23:06:06 UTC, Puming wrote: On Friday, 8 April 2016 at 18:23:32 UTC, wobbles wrote: On Friday, 8 April 2016 at 16:07:13 UTC, Adam D. Ruppe wrote: On

Re: execute bash?

2016-04-09 Thread wobbles via Digitalmars-d-learn
On Friday, 8 April 2016 at 23:06:06 UTC, Puming wrote: On Friday, 8 April 2016 at 18:23:32 UTC, wobbles wrote: On Friday, 8 April 2016 at 16:07:13 UTC, Adam D. Ruppe wrote: On Friday, 8 April 2016 at 15:20:09 UTC, Puming wrote: I tried with signal, but didn't catch SIGTTOU, it seems that

Re: execute bash?

2016-04-08 Thread wobbles via Digitalmars-d-learn
On Friday, 8 April 2016 at 16:07:13 UTC, Adam D. Ruppe wrote: On Friday, 8 April 2016 at 15:20:09 UTC, Puming wrote: I tried with signal, but didn't catch SIGTTOU, it seems that spawnProcess with `bash -i -c` will signal with SIGTTIN. Oh, surely because it wants to be interactive and is thus

Re: Release D 2.071.0

2016-04-06 Thread wobbles via Digitalmars-d-announce
On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote: Glad to announce D 2.071.0. http://dlang.org/download.html This release fixes many long-standing issues with imports and the module system. See the changelog for more details. http://dlang.org/changelog/2.071.0.html -Martin

Re: Does something like std.algorithm.iteration:splitter with multiple seperators exist?

2016-03-28 Thread wobbles via Digitalmars-d-learn
On Sunday, 27 March 2016 at 07:45:00 UTC, ParticlePeter wrote: On Wednesday, 23 March 2016 at 20:00:55 UTC, wobbles wrote: [...] Thanks Wobbles, I took your approach. There were some minor issues, here is a working version: [...] Great, thanks for fixing it up!

Re: Does something like std.algorithm.iteration:splitter with multiple seperators exist?

2016-03-23 Thread wobbles via Digitalmars-d-learn
On Wednesday, 23 March 2016 at 11:57:49 UTC, ParticlePeter wrote: I need to parse an ascii with multiple tokens. The tokens can be seen as keys. After every token there is a bunch of lines belonging to that token, the values. The order of tokens is unknown. I would like to read the file in as

Re: OpenCV bindings for D

2016-03-21 Thread wobbles via Digitalmars-d
On Monday, 21 March 2016 at 16:01:59 UTC, Guillaume Piolat wrote: On Monday, 21 March 2016 at 15:45:36 UTC, wobbles wrote: Hi Folks, I have a project in mind that I'd like to run on my new Raspberry Pi 3. Essentially a security camera that will only record when it detects changes between

OpenCV bindings for D

2016-03-21 Thread wobbles via Digitalmars-d
Hi Folks, I have a project in mind that I'd like to run on my new Raspberry Pi 3. Essentially a security camera that will only record when it detects changes between frames. Now, this is already a solved problem I believe, however in the interest of learning I want to do it myself. Ideally,

Re: Enabling Only Top-Level Unittests

2016-03-21 Thread wobbles via Digitalmars-d-learn
On Monday, 21 March 2016 at 10:37:31 UTC, ZombineDev wrote: On Monday, 21 March 2016 at 10:29:36 UTC, Nordlöw wrote: I want to enable unittests only at the top-level of a module compilation. If I have a module top.d that imports dep1.d dep2.d ... which all contain

Re: write to file array by lines

2016-03-15 Thread wobbles via Digitalmars-d
On Tuesday, 15 March 2016 at 12:55:17 UTC, Suliman wrote: I created better example to show. string [] myarr = ["foo", "bar", "baz"]; myarr ~= "new"; File file = File(`result.txt`, "w"); file.write(myarr); is any way to write myarr to file in byLine mode void main(){ import std.stdio;

Re: write to file array by lines

2016-03-15 Thread wobbles via Digitalmars-d
On Tuesday, 15 March 2016 at 12:55:17 UTC, Suliman wrote: I created better example to show. string [] myarr = ["foo", "bar", "baz"]; myarr ~= "new"; File file = File(`result.txt`, "w"); file.write(myarr); is any way to write myarr to file in byLine mode myarr .each!(line =>

Re: write to file array by lines

2016-03-15 Thread wobbles via Digitalmars-d
On Tuesday, 15 March 2016 at 10:58:16 UTC, Suliman wrote: I have got: string [] total_content; I am appending to it data on every iteration. total_content ~= somedata File file = File(`D:\code\2vlad\result.txt`, "a+"); file.write(total_content); I need to write it's to file by lines. Like:

Re: C++ UFCS update

2016-02-24 Thread wobbles via Digitalmars-d
On Wednesday, 24 February 2016 at 07:23:03 UTC, Suliman wrote: On Wednesday, 24 February 2016 at 07:19:02 UTC, Walter Bright wrote: On 2/23/2016 12:35 PM, Ola Fosheim Grøstad wrote: [...] Hardly. ! is not an overloadable operator in D, and ! has no binary operator meaning other than for

Re: Updated plotcli (version 0.8.0). Now build on ggplotd

2016-02-15 Thread wobbles via Digitalmars-d-announce
On Monday, 15 February 2016 at 21:43:27 UTC, Edwin van Leeuwen wrote: On Monday, 15 February 2016 at 20:17:00 UTC, wobbles wrote: This looks very cool - does it take long to export the png file? Particularly with the -f flag, if the data file is updated, how long until does it take to

Re: Updated plotcli (version 0.8.0). Now build on ggplotd

2016-02-15 Thread wobbles via Digitalmars-d-announce
On Monday, 15 February 2016 at 12:11:39 UTC, Edwin van Leeuwen wrote: Plotcli[1] is a command line application that can create plots by parsing text/csv files and from piped data, making it useful during data analysis. Plotcli v0.8.0 has been largely rewritten to use ggplotd[2] as its

Re: voldemort stack traces (and bloat)

2016-02-08 Thread wobbles via Digitalmars-d
On Monday, 8 February 2016 at 13:01:44 UTC, Steven Schveighoffer wrote: On 2/7/16 12:18 AM, Steven Schveighoffer wrote: I have a library where I was using very many voldemort types a la std.range. [snip] Is there a better way we should be doing this? I'm wondering if voldemort types are

Github woes

2016-02-07 Thread Wobbles via Digitalmars-d
Just curious, is there a backup plan for D if github.com goes by the wayside? Now that there seems to be community back-lash against it (at least on reddit) maybe a contingency plan would be useful. Obviously not today or tomorrow, but you never know what's down the road.

Re: reduce -> fold?

2016-01-29 Thread wobbles via Digitalmars-d
On Friday, 29 January 2016 at 12:08:01 UTC, Andrei Alexandrescu wrote: As has been discussed before there's been discussion about std.algorithm.reduce taking the "wrong" order of arguments (its definition predates UFCS). I recall the conclusion was there'd be subtle ambiguities if we worked

Re: Next London D Meetup: Wednesday 20th January 2016

2016-01-22 Thread wobbles via Digitalmars-d-announce
On Thursday, 21 January 2016 at 20:27:14 UTC, Wyatt wrote: On Sunday, 10 January 2016 at 22:01:05 UTC, Kingsley wrote: This time we peek into the mind and code of Ross McKinlay who will give us a tour of some of his D efforts. I'm watching the recording right now. It's pretty exciting to

Re: Speed of csvReader

2016-01-21 Thread wobbles via Digitalmars-d-learn
On Thursday, 21 January 2016 at 15:17:08 UTC, data pulverizer wrote: On Thursday, 21 January 2016 at 14:56:13 UTC, Saurabh Das wrote: On Thursday, 21 January 2016 at 14:32:52 UTC, Saurabh Das wrote: [...] Actually since you're aiming for speed, this might be better: sw.start(); auto records

Re: Do D need a popular framework? like ruby's rails? or java 's ssh?

2016-01-19 Thread wobbles via Digitalmars-d-announce
On Tuesday, 19 January 2016 at 13:22:48 UTC, beck wrote: Do D need a popular framework? in china ,a little peopel use dlang. i just use it do some simple work for myself. yet,i have learn d for a week .. i ask so many friends ,they don't use D at all.we use golang more than dlang. There is

Re: core.time Duration how to get units in double/float format?

2016-01-19 Thread wobbles via Digitalmars-d-learn
On Tuesday, 19 January 2016 at 14:07:50 UTC, Borislav Kosharov wrote: On Monday, 18 January 2016 at 12:46:31 UTC, Jonathan M Davis wrote: [...] I want to use float time in a game where I call the update method passing the delta time as float seconds. It's more easy to multiply the dt with a

Re: [dlang.org] new forum design

2016-01-18 Thread wobbles via Digitalmars-d
On Monday, 18 January 2016 at 10:20:13 UTC, Vladimir Panteleev wrote: As the new design rolled out on dlang.org, I decided to push the changes on forum.dlang.org as well. From what I gathered from the previous feedback thread, I believe we've addressed the most stringent issues. Once again

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

2016-01-13 Thread wobbles 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 I like it, it looks very well and I like how it mirrors the front pages design. As others have said, maybe utilizing more horizontal space would

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

2016-01-11 Thread wobbles via Digitalmars-d
On Monday, 11 January 2016 at 12:54:46 UTC, deadalnix wrote: On Sunday, 10 January 2016 at 23:31:07 UTC, anonymous wrote: On 10.01.2016 22:14, deadalnix wrote: - Learn barely make the cut on my 15' monitor. That's way too low. If one doesn't know D, one doesn't care about news, community or

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

2016-01-11 Thread wobbles via Digitalmars-d
On Monday, 11 January 2016 at 14:27:51 UTC, Adam D. Ruppe wrote: On Monday, 11 January 2016 at 13:18:26 UTC, wobbles wrote: What was Adams gripe with :hover? I can't see a problem with it, as long as clicking still works as it does now (for mobile). I click on my URL bar and punch in

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

2016-01-11 Thread wobbles via Digitalmars-d
On Monday, 11 January 2016 at 15:06:40 UTC, Adam D. Ruppe wrote: On Monday, 11 January 2016 at 14:54:12 UTC, wobbles wrote: How else would you lay it out? I dont think you could put all the content in that top bar pre-expanded - so you'd have all the menus on the left as it is on the current

Re: D Cross Platform Status + OpenGL Status ?

2016-01-09 Thread wobbles via Digitalmars-d
On Saturday, 9 January 2016 at 19:43:03 UTC, Jakob Jenkov wrote: And what about OpenGL support? Is that easy? And does it work easily across platforms? http://code.dlang.org/packages/derelict-gl3 This is the OpenGL binary. Have used it on both Windows and Linux, I just got a window up and

Re: Regex benchmarks in Rust, Scala, D and F#

2016-01-06 Thread wobbles via Digitalmars-d
On Wednesday, 6 January 2016 at 07:05:43 UTC, israel wrote: On Tuesday, 5 January 2016 at 17:52:39 UTC, Karthikeyan wrote: Hi, Came across this post in rust-lang subreddit about the regex benchamrks. Scala surprisingly outperforms D. LDC also gives a good advantage for efficiency of D.

Re: What are you planning for 2016?

2016-01-06 Thread wobbles via Digitalmars-d
On Wednesday, 6 January 2016 at 11:16:20 UTC, Chris wrote: Don't think I'll have time for that and once you use D, you lose interest in other languages :-) Amen to that. Had to write some Java recently and kept trying to go call functions UFCS style. And if I have to match up angle brackets

Re: What are you planning for 2016?

2016-01-06 Thread wobbles via Digitalmars-d
On Tuesday, 5 January 2016 at 12:27:12 UTC, Ola Fosheim Grøstad wrote: I wonder what kind of programming people plan or _hope_ to use D for in 2016? Do you have plans to: 6. create runtime less programs (games, embedded)? Am currently knee deep in my first game in D. Using DTiled and DSFML,

Re: DMD now does Dwarf style exception handling!

2016-01-05 Thread wobbles via Digitalmars-d
On Tuesday, 5 January 2016 at 01:39:51 UTC, Temtaime wrote: On Sunday, 3 January 2016 at 02:05:38 UTC, Walter Bright wrote: On 1/2/2016 4:17 PM, Jack Stouffer wrote: What is involved in catching C++ exceptions? Was this the hard part of the whole thing? DMD doesn't catch them yet. But C++

Re: Redesign of dlang.org

2015-12-23 Thread wobbles via Digitalmars-d
On Wednesday, 23 December 2015 at 17:22:25 UTC, Andrei Alexandrescu wrote: Third I think I'm being reasonable if I ask to introduce new or custom technology dependencies only with good reason. Andrei I think that's very fair. On your earlier point of getting people to work on the website

Re: Small minesweeper game in D

2015-12-21 Thread wobbles via Digitalmars-d-announce
On Sunday, 20 December 2015 at 02:11:58 UTC, Adam D. Ruppe wrote: code here: http://arsdnet.net/dcode/minesweeper.d [...] On Ubuntu 64 bit: $ dmd minesweeper.d simpledisplay.d color.d simpledisplay.d(4477): Error: cannot implicitly convert expression (XCreatePixmapCursor(this.display, pm,

Re: Redesign of dlang.org

2015-12-21 Thread wobbles via Digitalmars-d
On Sunday, 20 December 2015 at 13:50:53 UTC, Jacob Carlborg wrote: On 2015-12-20 06:12, Charles wrote: kind of a neat project here... mind if I help out? Sure, that would be great. Although I don't really want to do anything until Walter and Andrei approve the design. On that - have you

Re: Redesign of dlang.org

2015-12-21 Thread wobbles via Digitalmars-d
On Monday, 21 December 2015 at 15:28:44 UTC, Jacob Carlborg wrote: The original code is written in HTML, JavaScript and Less (CSS). See repository for build instructions [1]. If I move forward with this I would go with vibe.d. +1

Re: Redesign of dlang.org

2015-12-19 Thread wobbles via Digitalmars-d
On Saturday, 19 December 2015 at 23:38:17 UTC, JohnCK wrote: On Saturday, 19 December 2015 at 23:11:33 UTC, Jacob Carlborg wrote: I changed the permissions, does it work now? Now it's working! Well... it's clean, but of course needs more polishing, like taking out a few border colors for

Re: Some feedback on the website.

2015-12-17 Thread wobbles via Digitalmars-d
On Thursday, 17 December 2015 at 08:06:28 UTC, Jacob Carlborg wrote: On 2015-12-17 00:46, Andrei Alexandrescu wrote: Overall I think a few additions to the macro engine could be very beneficial. E.g. while working on dconf.org I could use $(IF a, b, c) to expand b if a is nonempty and c

Trying to build dlang.org - what am I doing wrong

2015-12-17 Thread wobbles via Digitalmars-d
So - the conversation about the website/documentation piqued my interest a bit and I decided to have a go at making the documentation more readable. However, reading the instructions from: http://wiki.dlang.org/Starting_as_a_Contributor#Fetch_and_build_dlang.org It should be a simple matter

Re: We need better documentation for functions with ranges and templates

2015-12-15 Thread wobbles via Digitalmars-d
On Monday, 14 December 2015 at 19:04:46 UTC, bachmeier wrote: It's unanimous, at least among the three of us posting in this Reddit thread: https://www.reddit.com/r/programming/comments/3wqt3p/programming_in_d_ebook_is_at_major_retailers_and/cxyqxuz Something has to be done with the

Re: We need better documentation for functions with ranges and templates

2015-12-15 Thread wobbles via Digitalmars-d
On Tuesday, 15 December 2015 at 08:08:10 UTC, landaire wrote: On Tuesday, 15 December 2015 at 02:39:16 UTC, Steven Schveighoffer wrote: [...] I started exploring D a couple of months ago and I was the original poster in the reddit thread who sparked this discussion. While on the topic of

Re: Balanced match with std.regex

2015-12-15 Thread wobbles via Digitalmars-d-learn
On Tuesday, 15 December 2015 at 02:35:34 UTC, Xinok wrote: On Tuesday, 15 December 2015 at 01:29:39 UTC, Jakob Ovrum wrote: Thanks, that makes sense. String manipulation in D without regex is pretty nice anyway, so it's not a big loss. There is a library named Pegged which can match against

Re: Use https: for wikipedia links

2015-12-14 Thread wobbles via Digitalmars-d
On Monday, 14 December 2015 at 14:53:20 UTC, Kagamin wrote: On the other hand there's a move to make encrypted protocol the default and leave unencrypted as legacy, so maybe WEB macro should be silently upgraded to https? Full links look better and more intuitive IMO. I think this would be

Re: D is on his way to Top 20 in Tiobe

2015-12-11 Thread wobbles via Digitalmars-d
On Friday, 11 December 2015 at 14:32:38 UTC, JohnCK wrote: On Friday, 11 December 2015 at 12:00:41 UTC, Ozan wrote: the TIOBE Index for December 2015 lists D in rank 23. You know what: for a language that is about 14 years old I was expecting more by now. I think D maybe lost it momentum,

Re: DConf 2016 news: 20% sold out, book signing

2015-12-08 Thread wobbles via Digitalmars-d-announce
On Monday, 7 December 2015 at 20:42:21 UTC, Adam D. Ruppe wrote: On Monday, 7 December 2015 at 19:37:11 UTC, deadalnix wrote: Adam won't be coming ? I haven't decided for sure yet, but probably not. I don't like travel at all and the thought of a trans-atlantic flight strikes me as the

Re: Another cool mini-project: advance a range within n steps from its end

2015-12-04 Thread wobbles via Digitalmars-d
On Friday, 4 December 2015 at 20:01:10 UTC, Jacob Carlborg wrote: On 2015-12-04 17:37, Andrei Alexandrescu wrote: Like "tail" in Unix. Given a range R r and a number size_t n, return a TakeExactly!R that's r at no more than n steps from its end: TakeExactly!R advanceWithin(R)(R r, size_t n)

Re: Strange behaviour of to!string and JSON

2015-12-03 Thread wobbles via Digitalmars-d
On Thursday, 3 December 2015 at 08:46:44 UTC, Suliman wrote: void login(HTTPServerRequest req, HTTPServerResponse res) { Json request = req.json; writeln(to!string(request["username"])); writeln(request["username"].to!string); } Why first code print output with quotes, and second not? "asd"

Re: I hate new DUB config format

2015-11-27 Thread wobbles via Digitalmars-d
On Friday, 27 November 2015 at 11:04:09 UTC, Chris wrote: Our house doesn't stand properly yet and we're discussing effin bikesheds. +10 Everyones opinion is different, no one is right, no one is wrong - It's all just opinion. The only thing it's served to do is piss off a very important

Re: I hate new DUB config format

2015-11-27 Thread wobbles via Digitalmars-d
On Friday, 27 November 2015 at 13:52:13 UTC, wobbles wrote: On Friday, 27 November 2015 at 11:04:09 UTC, Chris wrote: Our house doesn't stand properly yet and we're discussing effin bikesheds. +10 Everyones opinion is different, no one is right, no one is wrong - It's all just opinion.

Re: I love any DUB config format

2015-11-26 Thread wobbles via Digitalmars-d
On Thursday, 26 November 2015 at 20:35:28 UTC, mattcoder wrote: On Thursday, 26 November 2015 at 18:56:20 UTC, Sebastiaan Koppe wrote: On Thursday, 26 November 2015 at 08:50:42 UTC, Sönke Ludwig wrote: Thanks, Sönke Thank you (and others) for your time developing dub. I don't understand

Re: Silicon Valley D Meetup November 19, 2015

2015-11-19 Thread Wobbles via Digitalmars-d-announce
On Wednesday, 18 November 2015 at 20:35:31 UTC, Ali Çehreli wrote: "Fireside Chat with Andrei, Foundation Update, Q4 Technical Update" http://www.meetup.com/D-Lang-Silicon-Valley/events/226112242/ Andrei will attend over Google+, Walter is a slight possibility. I will update this thread

Re: 2.069.0 Installation problem with .exe for Windows

2015-11-11 Thread wobbles via Digitalmars-d-announce
On Wednesday, 11 November 2015 at 08:41:41 UTC, Mike James wrote: On Wednesday, 11 November 2015 at 03:13:18 UTC, Martin Nowak wrote: On Tuesday, 10 November 2015 at 14:17:28 UTC, Mike James wrote: The x64 sub-directory does not exist on my system. We found the bug and I build a new

Re: String interpolation

2015-11-10 Thread wobbles via Digitalmars-d-learn
On Tuesday, 10 November 2015 at 10:21:32 UTC, tired_eyes wrote: Hi, The only example of string interpolation I've found so far is on Rosetta Code: void main() { import std.stdio, std.string; "Mary had a %s lamb.".format("little").writeln; "Mary had a %2$s %1$s

Re: String interpolation

2015-11-10 Thread wobbles via Digitalmars-d-learn
On Tuesday, 10 November 2015 at 10:41:52 UTC, tired_eyes wrote: On Tuesday, 10 November 2015 at 10:33:30 UTC, Tobias Pankrath wrote: On Tuesday, 10 November 2015 at 10:21:32 UTC, tired_eyes wrote: [...] std.string.format and std.format are the standard options. What are you missing? Ruby:

Re: Please vote for the DConf logo

2015-11-04 Thread wobbles via Digitalmars-d-announce
On Wednesday, 4 November 2015 at 09:30:30 UTC, Andrei Alexandrescu wrote: Reply to this with 1.1, 1.2, 2, or 3: 1) by ponce: Variant 1: https://github.com/p0nce/dconf.org/blob/master/2016/images/logo-sample.png Variant 2:

Re: Release D 2.069.0

2015-11-04 Thread wobbles via Digitalmars-d-announce
On Wednesday, 4 November 2015 at 01:50:38 UTC, Martin Nowak wrote: Glad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/ This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions,

  1   2   3   >