Re: How to get the client's MAC address in Vibe

2024-02-07 Thread Mengu via Digitalmars-d-learn
On Wednesday, 7 February 2024 at 22:16:54 UTC, Alexander Zhirov wrote: Is there a way to identify a client by MAC address when using the Vibe library? The `NetworkAddress` [structure](https://vibed.org/api/vibe.core.net/NetworkAddress) does not provide such features. Or did I miss something?

Re: Effective String to Date conversion?

2024-01-28 Thread Mengu via Digitalmars-d-learn
On Monday, 22 January 2024 at 10:56:04 UTC, atzensepp wrote: Dear D-gurus, being new to D I am trying my first steps and the language is quite intuitive and appealing. When reading a file and creating a hash for the reocrds I want to get only the most recent ones. For this I need to convert

Re: Sociomantic Tsunami now under new community maintainership

2020-10-10 Thread Mengu via Digitalmars-d-announce
On Wednesday, 30 September 2020 at 08:31:25 UTC, Iain Buclaw wrote: Hello Everybody, Tsunami is a set of core libraries, applications, and tools that were used at sociomantic labs/dunnhumby Germany, and have been available as open-source software since 2017 under the direction and management

Re: Silicon Valley C++ Meetup - August 28, 2019 - "C++ vs D: Let the Battle Commence"

2019-09-01 Thread Mengu via Digitalmars-d-announce
On Saturday, 31 August 2019 at 13:18:46 UTC, Ali Çehreli wrote: On 08/31/2019 05:50 AM, a11e99z wrote: > my English is not very well Apparently mine is not either. My wife was hearing the video from a distance and saying it sounded exactly like Turkish when she could not distinguish the

Re: Redis client hunt-redis RC1 released

2019-07-31 Thread Mengu via Digitalmars-d-announce
On Saturday, 27 July 2019 at 17:25:50 UTC, Johannes Loher wrote: Am 27.07.19 um 16:00 schrieb zoujiaqing: [...] However, you do not seem to keep his copy right. In the whole project, there is not a single mention of Jedis or its author "Jonathan Leibiusky". The MIT license, under which

Re: Autonomous driving company is looking for D software engineers

2019-06-18 Thread Mengu via Digitalmars-d-announce
On Tuesday, 18 June 2019 at 19:05:05 UTC, Dragos Carp wrote: AID GmbH (https://aid-driving.eu) a subsidiary of AUDI AG is looking for experienced D-evelopers in Munich. If you want to employ your D expertise and be part of the autonomous driving revolution, apply under:

Re: How an Engineering Company Chose to Migrate to D

2018-06-23 Thread Mengu via Digitalmars-d-announce
On Wednesday, 20 June 2018 at 13:21:30 UTC, Mike Parker wrote: If you saw Bastiaan Veelo's DConf 2017 presentation, you'll know that his employer was evaluating D as a candidate for migrating their code base away from Extended Pascal. Recently, the decision was made and D was the coice. In

Re: Announcing Mecca

2018-05-05 Thread Mengu via Digitalmars-d-announce
On Friday, 4 May 2018 at 05:23:51 UTC, Shachar Shemesh wrote: Hello everybody, I am very happy to announce that Mecca version 0.0.1 (sorry, no more zeros than that) is now officially available. You can get the source code at https://github.com/weka-io/mecca. The API documentation is at

Re: Diamond mentioned in stackshare.io article

2018-05-05 Thread Mengu via Digitalmars-d-announce
On Saturday, 5 May 2018 at 10:00:16 UTC, Bauss wrote: Read article here: https://stackshare.io/posts/dev-tools-roundup-april-2018 Why is this relevant? Because it means that D is getting some exposure to industrial development! congratulations!

Re: DConf hotel poor QoS

2018-03-13 Thread Mengu via Digitalmars-d
On Monday, 12 March 2018 at 19:30:06 UTC, Luís Marques wrote: On Friday, 9 March 2018 at 15:26:24 UTC, Luís Marques wrote: Mar-9: I send them an email saying I continue to await a correction to my reservation. Mar-12: I get an email saying that "the event is fully booked for the dates

Re: Release D 2.079.0

2018-03-03 Thread Mengu via Digitalmars-d-announce
On Saturday, 3 March 2018 at 01:50:25 UTC, Martin Nowak wrote: Glad to announce D 2.079.0. This release comes with experimental `@nogc` exception throwing (-dip1008), a lazily initialized GC, better support for minimal runtimes, and an experimental Windows toolchain based on the lld linker

Re: Quora: Why hasn't D started to replace C++?

2018-02-09 Thread Mengu via Digitalmars-d
On Thursday, 8 February 2018 at 15:29:08 UTC, Ralph Doncaster wrote: On Wednesday, 7 February 2018 at 22:31:58 UTC, John Gabriele wrote: I'm not sure how long dub has been around, but having an easy to use CPAN-alike (online module repo) is HUGE. Dub is great for sales. The better dub and the

Re: Bootstrap D template

2018-01-30 Thread Mengu via Digitalmars-d-announce
On Monday, 29 January 2018 at 11:04:19 UTC, Seb wrote: Have you ever wanted to use D in a project where not everyone had D installed or maybe you wanted to fix the compiler to a specific version? [...] clojure's lein support starter templates. it'd be great if dub did such a thing too.

Re: Tuple DIP

2018-01-13 Thread Mengu via Digitalmars-d
On Friday, 12 January 2018 at 22:44:48 UTC, Timon Gehr wrote: As promised [1], I have started setting up a DIP to improve tuple ergonomics in D: [...] how do we vote for / support this DIP?

Re: Creating Struct for an output of a program.

2018-01-09 Thread Mengu via Digitalmars-d-learn
On Tuesday, 9 January 2018 at 07:57:19 UTC, Vino wrote: Hi All, Request your help on how to create a struct with the output of the below program. Program: import std.algorithm: all, map, filter; import std.stdio: File, writeln; import std.typecons: Tuple, tuple; import std.container.array;

Re: The D Blog in 2017

2018-01-07 Thread Mengu via Digitalmars-d-announce
On Saturday, 6 January 2018 at 16:08:06 UTC, Mike Parker wrote: My annual retrospective on the D Blog is up. Managing the blog really is a lot of fun for me. Every time I click the publish button I stay glued to reddit and the stats page to see how it's being received, with a glance now and

Re: C++ Interop

2018-01-06 Thread Mengu via Digitalmars-d-learn
On Friday, 5 January 2018 at 13:02:12 UTC, qznc wrote: I'm exploring [0] C++ interop after watching Walter's presentation [1]. I hit a block with classes as template parameters. This means vector works, but vector does not. D seems to map vector!Foo to vector. Likewise shared_ptr is a

Re: How do you use D?

2018-01-04 Thread Mengu via Digitalmars-d
On Wednesday, 3 January 2018 at 16:20:48 UTC, Joakim wrote: On Wednesday, 3 January 2018 at 11:43:35 UTC, Paulo Pinto wrote: On Wednesday, 3 January 2018 at 11:13:04 UTC, Joakim wrote: On Wednesday, 3 January 2018 at 10:29:05 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 3 January 2018 at

Re: What don't you switch to GitHub issues

2017-12-31 Thread Mengu via Digitalmars-d
On Sunday, 31 December 2017 at 19:49:07 UTC, Meta wrote: On Sunday, 31 December 2017 at 11:18:26 UTC, Seb wrote: On Saturday, 30 December 2017 at 02:50:48 UTC, Adam D. Ruppe wrote: Bugzilla was the most well-known solution at the time. Keep in mind the D bugzilla has been around since 2006. As

Re: How do you safely deal with range.front?

2017-12-30 Thread Mengu via Digitalmars-d-learn
On Saturday, 30 December 2017 at 19:00:07 UTC, aliak wrote: On Friday, 29 December 2017 at 20:47:44 UTC, Dukc wrote: [...] Hmm, interesting. Not sure that's what I'm looking for but I like it anyway :) I'm more looking to deal with situations like this: Instead of this: auto result =

Re: structs inheriting from and implementing interfaces

2017-12-29 Thread Mengu via Digitalmars-d-learn
On Friday, 29 December 2017 at 13:08:38 UTC, rikki cattermole wrote: On 29/12/2017 12:59 PM, rjframe wrote: On Fri, 29 Dec 2017 12:39:25 +, Nicholas Wilson wrote: [...] I've actually thought about doing this to get rid of a bunch of if qualifiers in my function declarations. `static

Re: Maybe D is right about GC after all !

2017-12-28 Thread Mengu via Digitalmars-d
On Friday, 29 December 2017 at 00:26:04 UTC, codephantom wrote: On Thursday, 28 December 2017 at 08:53:25 UTC, Russel Winder wrote: [...] I disagree. [...] syntax is not weird at all. it is ML-ish.

Re: How do I set a class member value by its name in a string?

2017-12-28 Thread Mengu via Digitalmars-d-learn
On Wednesday, 27 December 2017 at 23:47:14 UTC, Biotronic wrote: [...] much, much better. thanks biotronic.

Re: How do I set a class member value by its name in a string?

2017-12-27 Thread Mengu via Digitalmars-d-learn
On Wednesday, 27 December 2017 at 21:39:49 UTC, Mengu wrote: On Wednesday, 27 December 2017 at 20:54:17 UTC, bitwise wrote: [...] there's also a simple workaround for fields with the same type: https://run.dlang.io/is/dsFajq import std.stdio; struct S { int x; int y; } auto

Re: How do I set a class member value by its name in a string?

2017-12-27 Thread Mengu via Digitalmars-d-learn
On Wednesday, 27 December 2017 at 20:54:17 UTC, bitwise wrote: On Wednesday, 27 December 2017 at 20:04:29 UTC, Marc wrote: I'd like to set the members of a class by its name at runtime, I would do something like this: __traits(getMember, myClass, name) = value; but since name is only know

Re: D as a betterC a game changer ?

2017-12-27 Thread Mengu via Digitalmars-d
On Wednesday, 27 December 2017 at 14:06:51 UTC, Dan Partelly wrote: On Wednesday, 27 December 2017 at 09:39:22 UTC, codephantom wrote: [...] Well, C++ had to evolve over a very long period of time, and maintain compatibility with C. No other programming language had to deal with technical

Re: Article: Finding memory bugs in D code with AddressSanitizer

2017-12-26 Thread Mengu via Digitalmars-d-announce
On Tuesday, 26 December 2017 at 08:03:44 UTC, Temtaime wrote: The main font is very ugly. Code font looks ok tw. on the contrary, post font is very readable (might use some letter spacing), clear and beautiful. that is on a retina macbook pro. code blocks are very readable too.

Re: partial application for templates

2017-12-26 Thread Mengu via Digitalmars-d-learn
On Monday, 25 December 2017 at 22:58:50 UTC, David Nadlinger wrote: On Monday, 25 December 2017 at 20:39:52 UTC, Mengu wrote: is partially applying templates possible? Check out std.meta.Apply{Left, Right}. — David thanks a lot mr. smith & david.

Re: Can I use memoize with a non-static struct method?

2017-12-26 Thread Mengu via Digitalmars-d-learn
On Tuesday, 26 December 2017 at 00:47:14 UTC, Marc wrote: something like this: struct S { // variables... string doGen(int n) { return ""; } alias gen = memoize!doGen; } The error I got is: Error: need 'this' for 'doGen' of type 'string(int n)' I can't make doGen static because it

partial application for templates

2017-12-25 Thread Mengu via Digitalmars-d-learn
is partially applying templates possible?

Re: Define enum value at compile time via compiler argument?

2017-12-25 Thread Mengu via Digitalmars-d-learn
On Monday, 25 December 2017 at 16:13:48 UTC, Thomas Mader wrote: Hello, I would like to set the path to a directory at compile time but it doesn't seem to be possible yet. I tried it with a -version=CustomPath argument and inside the version statement in the code I tried to read the value

Re: Does to!(string)(char[]) do any memory allocation on conversion?

2017-12-25 Thread Mengu via Digitalmars-d-learn
On Monday, 25 December 2017 at 14:12:32 UTC, Marc wrote: Does to!(string)(char[]) do any memory allocation on conversion or is this similar to a cast or what else? yes, it is allocating memory. you can test such cases with @nogc [0]. you can get a char[] via .dup of a string and then you

Re: Converting array in to aliased tuple type.

2017-12-25 Thread Mengu via Digitalmars-d-learn
On Monday, 25 December 2017 at 12:03:32 UTC, aliak wrote: Hi, been looking for a way to convert an array to a tuple, but can't seem to find one. Is there one? Looking for something like: alias Point = Tuple!(int, "x", int, "y"); enum data = "1,2:8,9"; auto points = data .split(':')

Re: excel-d v0.2.16 - now with more @Async

2017-12-24 Thread Mengu via Digitalmars-d-announce
On Saturday, 23 December 2017 at 22:19:50 UTC, Laeeth Isharc wrote: On Friday, 22 December 2017 at 22:08:23 UTC, Mengu wrote: On Friday, 22 December 2017 at 00:41:31 UTC, Atila Neves wrote: excel-d lets you write plain D code that can be run from Excel unmodified via the magic of compile-time

Re: One liner for creating an array filled by a factory method

2017-12-23 Thread Mengu via Digitalmars-d-learn
On Saturday, 23 December 2017 at 08:57:18 UTC, kerdemdemir wrote: On Friday, 22 December 2017 at 23:33:55 UTC, Mengu wrote: On Thursday, 21 December 2017 at 21:11:58 UTC, Steven Schveighoffer wrote: On 12/21/17 4:00 PM, kerdemdemir wrote: I have a case like : http://rextester.com/NFS28102 I

Re: One liner for creating an array filled by a factory method

2017-12-22 Thread Mengu via Digitalmars-d-learn
On Thursday, 21 December 2017 at 21:11:58 UTC, Steven Schveighoffer wrote: On 12/21/17 4:00 PM, kerdemdemir wrote: I have a case like : http://rextester.com/NFS28102 I have a factory method, I am creating some instances given some enums. My question is about : void PushIntoVector(

Re: Don't expect class destructors to be called at all by the GC

2017-12-22 Thread Mengu via Digitalmars-d-learn
On Thursday, 21 December 2017 at 18:45:27 UTC, Adam D. Ruppe wrote: On Thursday, 21 December 2017 at 18:20:19 UTC, H. S. Teoh wrote: When the scoped destruction of structs isn't an option, RefCounted!T seems to be a less evil alternative than an unreliable class dtor. :-/ Alas, RefCounted

Re: Converting member variables to strings with using reflection from base class

2017-12-22 Thread Mengu via Digitalmars-d-learn
On Friday, 22 December 2017 at 22:09:05 UTC, H. S. Teoh wrote: On Fri, Dec 22, 2017 at 09:13:31PM +, kerdemdemir via Digitalmars-d-learn wrote: I want to make a logging function for member variables by using reflection. [...] class B { void Log() { auto a =

Re: alias to struct method

2017-12-22 Thread Mengu via Digitalmars-d-learn
On Friday, 22 December 2017 at 17:53:34 UTC, Marc wrote: How can I create a alias to a struct method? struct S { string doSomething(int n) { return ""; } } I'd like to do something like this (imaginary code): alias doSomething = S.doSomething; then call it by doSomething(3) I got the

Re: excel-d v0.2.16 - now with more @Async

2017-12-22 Thread Mengu via Digitalmars-d-announce
On Friday, 22 December 2017 at 00:41:31 UTC, Atila Neves wrote: excel-d lets you write plain D code that can be run from Excel unmodified via the magic of compile-time reflection. [...] can we use excel-d with office for mac?

Re: why @property cannot be pass as ref ?

2017-12-20 Thread Mengu via Digitalmars-d-learn
On Wednesday, 20 December 2017 at 18:04:57 UTC, Ali Çehreli wrote: On 12/20/2017 07:02 AM, ChangLong wrote: > [...] is not > [...] The problem is not with opAssign but with left(), which returns an rvalue. It's by design that rvalues cannot be bound to references in D. [...] was just

Re: Can I run this at compile time?

2017-12-20 Thread Mengu via Digitalmars-d-learn
On Wednesday, 20 December 2017 at 16:54:35 UTC, Marc wrote: Give this function I'd like to run it at compile time: import std.concurrency : Generator, yield; [...] but when I do: [...] I get the following erros:

Re: Maybe D is right about GC after all !

2017-12-19 Thread Mengu via Digitalmars-d
On Tuesday, 19 December 2017 at 10:09:41 UTC, Walter Bright wrote: On 12/19/2017 2:02 AM, rikki cattermole wrote: On 19/12/2017 9:54 AM, Walter Bright wrote: "C, Python, Go, and the Generalized Greenspun Law" http://esr.ibiblio.org/?p=7804 I must agree, GC is a wonderful fallback. I tend

Re: weird exception on windows

2017-12-18 Thread Mengu via Digitalmars-d-learn
On Saturday, 16 December 2017 at 14:05:28 UTC, Vino wrote: On Saturday, 16 December 2017 at 13:59:11 UTC, Vino wrote: On Saturday, 16 December 2017 at 12:39:53 UTC, Kagamin wrote: [...] H, All, Are are also getting the same exception on Windows after updating the dmd to version v2.077.1,

Re: A list of all the awesome people who made D possible

2017-12-18 Thread Mengu via Digitalmars-d-announce
On Monday, 18 December 2017 at 15:58:59 UTC, Seb wrote: D wouldn't be this powerful, rocking language as it is today without all its contributors who worked very hard on improving. To start showing our gratitude and as a token of appreciation, we have started listing all the awesome people who

Re: Deploying D web servers

2017-12-17 Thread Mengu via Digitalmars-d
On Sunday, 17 December 2017 at 21:07:45 UTC, bauss wrote: On Sunday, 17 December 2017 at 17:06:32 UTC, cloutiy wrote: Hi, In the Javascript world there are services that provide a quick and simple means of deploying websites. I've used things like surge.sh, netlify. I'm sure there are many

Re: GUI program on Mac OS in D?

2017-12-14 Thread Mengu via Digitalmars-d-learn
On Thursday, 14 December 2017 at 14:07:25 UTC, Adam D. Ruppe wrote: I was playing with this myself based on Jacob's code and made it look like this: extern (Objective-C) interface ViewController : NSViewController { extern (C) @ObjCMethodOverride("loadView") static

Re: run.dlang.io - a modern way to run D code

2017-12-14 Thread Mengu via Digitalmars-d-announce
On Thursday, 14 December 2017 at 06:43:58 UTC, Mike Franklin wrote: On Thursday, 14 December 2017 at 06:26:16 UTC, Seb wrote: It's interesting to see that no one complained about gdc not being there - I thought that this would be the first comment. Allow me to be the first. But seriously,

Re: Druntime and non-D threads

2017-12-11 Thread Mengu via Digitalmars-d
On Monday, 11 December 2017 at 16:25:42 UTC, Ali Çehreli wrote: On 12/08/2017 02:54 AM, Nemanja Boric wrote: [...] So, in cases where D is just a portable library, the only sane thing to do seems to be what Kagamin suggested: create a D thread and send requests to it. That way, we would

Re: GSoC 2018 - Your project ideas

2017-12-10 Thread Mengu via Digitalmars-d-announce
On Sunday, 10 December 2017 at 19:04:54 UTC, Seb wrote: On Sunday, 10 December 2017 at 13:01:43 UTC, Mengu wrote: On Tuesday, 5 December 2017 at 18:20:40 UTC, Seb wrote: [...] do i have to be an actual student in order to participate? I redirect your question to Google's official FAQ:

Re: Invoking writeln() from a lot of threads running concurrently --> crash

2017-12-10 Thread Mengu via Digitalmars-d
On Saturday, 9 December 2017 at 10:36:08 UTC, Messenger wrote: On Saturday, 9 December 2017 at 09:38:05 UTC, IM wrote: For purposes of debugging, I'm using writeln() to print stuff out from tasks running concurrently on many threads. At some point it crashes with the following stack trace:

Re: D User Survey

2017-12-10 Thread Mengu via Digitalmars-d-announce
On Friday, 8 December 2017 at 22:22:14 UTC, Nick Sabalausky (Abscissa) wrote: On 12/08/2017 05:53 AM, Chris wrote: [...] Speaking as a US citizen, it's long been my observation that americans (and I only mean collectively, of course, it's difficult to generalize down to individuals since

Re: GSoC 2018 - Your project ideas

2017-12-10 Thread Mengu via Digitalmars-d-announce
On Tuesday, 5 December 2017 at 18:20:40 UTC, Seb wrote: Hi all, Google Summer of Code (GSoC) 2018 is about to start soon [1] (the application period for organizations is in January 2018). Hence, I would very happy about any project ideas you have or projects which are important to you. And,

Re: Post about comparing C, C++ and D performance with a real world project

2017-12-08 Thread Mengu via Digitalmars-d
On Friday, 8 December 2017 at 15:40:08 UTC, Steven Schveighoffer wrote: On 12/7/17 8:11 PM, Mengu wrote: On Thursday, 7 December 2017 at 22:39:44 UTC, Daniel Kozak wrote: The other slowdown is caused by concatenation. Because std::string += is more simillar to std.array.(Ref)Appender wait, i

Re: Post about comparing C, C++ and D performance with a real world project

2017-12-07 Thread Mengu via Digitalmars-d
On Thursday, 7 December 2017 at 22:39:44 UTC, Daniel Kozak wrote: The other slowdown is caused by concatenation. Because std::string += is more simillar to std.array.(Ref)Appender wait, i thought appenders performed better than concatenation. is that not true or did i just misunderstand your

Re: Sort characters in string

2017-12-07 Thread Mengu via Digitalmars-d-learn
On Wednesday, 6 December 2017 at 12:43:09 UTC, Fredrik Boulund wrote: On Wednesday, 6 December 2017 at 10:42:31 UTC, Dgame wrote: Or you simply do writeln("longword".array.sort); This is so strange. I was dead sure I tried that but it failed for some reason. But after trying it

Re: lower case only first letter of word

2017-12-05 Thread Mengu via Digitalmars-d-learn
On Tuesday, 5 December 2017 at 14:34:57 UTC, Mengu wrote: On Tuesday, 5 December 2017 at 14:01:35 UTC, Marc wrote: On Tuesday, 5 December 2017 at 13:40:08 UTC, Daniel Kozak wrote: [...] Yes, this is not what I want. I want to convert only the first letter of the word to lower case and left

Re: lower case only first letter of word

2017-12-05 Thread Mengu via Digitalmars-d-learn
On Tuesday, 5 December 2017 at 14:01:35 UTC, Marc wrote: On Tuesday, 5 December 2017 at 13:40:08 UTC, Daniel Kozak wrote: but this will change all other uppercase to lowercase, so maybe it is not what you want. If you really want just change first char to upper, then there is nothing wrong to

Re: git workflow for D

2017-12-03 Thread Mengu via Digitalmars-d-learn
On Sunday, 3 December 2017 at 20:05:47 UTC, bitwise wrote: I've finally started learning git, due to our team expanding beyond one person - awesome, right? Anyways, I've got things more or less figured out, which is nice, because being clueless about git is a big blocker for me trying to do

Re: D User Survey

2017-12-01 Thread Mengu via Digitalmars-d-announce
On Friday, 1 December 2017 at 18:56:50 UTC, WebFreak001 wrote: Hi everyone, I made a public survey (everyone can look at the responses) and it would be great if you took some time and answered it. I think it will greatly benefit D as a whole if we had more anonymous data on users. I'm also

Re: tour.dlang.org is less than useless

2017-11-28 Thread Mengu via Digitalmars-d
On Tuesday, 28 November 2017 at 02:08:24 UTC, codephantom wrote: Why do we have this link? https://tour.dlang.org I cannot recall it ever working. (is it just something at my end?) What is it meant to take us to? it is most definitely not. it just sometimes fails to load. i have no idea

Re: remake of remake of Konami's Knightmare

2017-11-28 Thread Mengu via Digitalmars-d-announce
On Tuesday, 28 November 2017 at 07:47:14 UTC, Nick Sabalausky (Abscissa) wrote: On 11/24/2017 08:28 PM, ketmar wrote: quickfix. forgot to properly set requested OpenGL version. http://files.catbox.moe/lx02hz.7z Very cool! Works under wine for me. Not a game I was familiar with, so it's

Re: Intellij D Language v1.15.2

2017-11-28 Thread Mengu via Digitalmars-d-announce
On Thursday, 23 November 2017 at 20:11:01 UTC, singingbush wrote: Hi all. A new release intellij-dlanguage plugin has been made available for download from the Jetbrains repository this week. The speed at which features and bug fixes are being done has picked up recently. We've had 4 releases

Re: A note on troll engagement

2017-11-27 Thread Mengu via Digitalmars-d
On Monday, 27 November 2017 at 17:44:54 UTC, Andrei Alexandrescu wrote: All: we have had an increase in troll posts lately. Please avoid engaging them and resist the urge to correct assertions no matter how wrong, indignating, etc. The best response to troll posts is spending the time that

Re: Project Highlight: Diamond MVC Framework

2017-11-21 Thread Mengu via Digitalmars-d-announce
On Tuesday, 21 November 2017 at 05:27:50 UTC, bauss wrote: On Monday, 20 November 2017 at 14:39:43 UTC, Mike Parker wrote: You may have seen announcements regarding Diamond here in the forums. The project maintainer, Jason Jensen, a.k.a bauss, provided me with some info about it for a Project

Re: [OT] Windows dying

2017-10-31 Thread Mengu via Digitalmars-d
On Monday, 30 October 2017 at 13:32:23 UTC, Joakim wrote: I don't know how intense your data analysis is, but I replaced a Win7 ultrabook that had a dual-core i5 and 4 GBs of RAM with an Android tablet that has a quad-core ARMv7 and 3 GBs of RAM as my daily driver a couple years ago, without

Re: Beta 2.077.0

2017-10-28 Thread Mengu via Digitalmars-d-announce
On Saturday, 21 October 2017 at 10:10:42 UTC, Martin Nowak wrote: On 10/16/2017 06:45 PM, Martin Nowak wrote: First beta for the 2.077.0 release. Second beta live now. This adds a missing core.sys.linux.netinet.in_ header which is used by vibe.d. Happy Testing - -Martin this was the

Re: Note from a donor

2017-10-28 Thread Mengu via Digitalmars-d
On Saturday, 28 October 2017 at 02:50:39 UTC, codephantom wrote: On Saturday, 28 October 2017 at 01:08:57 UTC, Mengu wrote: looks like d has a long way to go on freebsd as well. I've had no issues with D in FreeBSD at all... ...and it's been a really smooth transition to D...so far... I

Re: Note from a donor

2017-10-28 Thread Mengu via Digitalmars-d
On Saturday, 28 October 2017 at 14:43:38 UTC, codephantom wrote: On Saturday, 28 October 2017 at 14:00:14 UTC, Jerry wrote: On Saturday, 28 October 2017 at 07:39:21 UTC, codephantom wrote: btw. (and I do realise we've gone way of the topic of this original thread)...but... if it interests

Re: Note from a donor

2017-10-27 Thread Mengu via Digitalmars-d
On Friday, 27 October 2017 at 11:25:13 UTC, codephantom wrote: On Friday, 27 October 2017 at 05:20:05 UTC, codephantom wrote: That's it! I've had enough! 4 hours wasted! ok... I must have done something wrong.. But still, I started testing this whole process at 12:04pm today. It's now

Re: D for microservices

2017-10-22 Thread Mengu via Digitalmars-d
On Sunday, 22 October 2017 at 02:48:57 UTC, Joakim wrote: I just read the following two week-old comment on the ldc issue tracker, when someone tried to run D on Alpine linux: [...] rock solid, easy, common-dev-proof, huge std lib. like that of golang.

Re: 350$ Job

2017-10-22 Thread Mengu via Digitalmars-d
On Sunday, 22 October 2017 at 17:43:04 UTC, Suliman wrote: Man, you are give to low money for too big job. It's not 350$ for a projects it's much more. You codebase is very dirty and out of date. It's better to you find money to rewrite all from scratch. love that how in each post the money

Re: Silicon Valley D Meetup - October 26, 2017 - "D Fibers" by Ali Çehreli

2017-10-21 Thread Mengu via Digitalmars-d-announce
On Saturday, 21 October 2017 at 18:20:13 UTC, Ali Çehreli wrote: [We're at a very convenient location again this time: Downtown Mountain View.] [...] allahiniz varsa kaydedersiniz. :)

Re: sample collaborative notepad implementation

2017-10-13 Thread Mengu via Digitalmars-d-announce
On Thursday, 12 October 2017 at 01:43:00 UTC, ketmar wrote: in the wootedit repo[0] you can find a very simple (but working) collaborative notepad implementation, based on WOOT algorithm[1][2]. if you ever wanted to know how all those collaborative editors were done... look no further! ;-)

Re: D on quora ...

2017-10-06 Thread Mengu via Digitalmars-d
On Friday, 6 October 2017 at 17:14:51 UTC, Rion wrote: https://www.quora.com/What-is-your-review-of-D-programming-language It seems that D still has the GC being mentioned up to today. Maybe its better to move the standard library slower to a non gc version in the future... as a d user, i

Re: Silicon Valley D Meetup - September 28, 2017 - "Open Methods: From C++ to D" by Jean-Louis Leroy

2017-10-01 Thread Mengu via Digitalmars-d-announce
On Sunday, 1 October 2017 at 02:35:54 UTC, Jonathan M Davis wrote: On Saturday, September 30, 2017 15:30:48 Ali Çehreli via Digitalmars-d- announce wrote: [...] Honestly, it seems a weird that this sort of thing is so hard to get to work, but for some reason, it seems to be the sort of

Re: Silicon Valley D Meetup - September 28, 2017 - "Open Methods: From C++ to D" by Jean-Louis Leroy

2017-09-30 Thread Mengu via Digitalmars-d-announce
On Friday, 29 September 2017 at 21:06:56 UTC, Ali Çehreli wrote: The slides: https://jll63.github.io/openmethods.d/dlang-meetup-2017-09-28/ Unfortunately, there is no video. it's been years yahu, insan bi kamera ayarlar :) Ali On 09/18/2017 10:38 PM, Ali Çehreli wrote: We're excited

Re: Is it possible to specify the address returned by the address of operator?

2017-09-29 Thread Mengu via Digitalmars-d-learn
On Friday, 29 September 2017 at 02:34:08 UTC, DreadKyller wrote: On Thursday, 28 September 2017 at 14:01:33 UTC, user1234 wrote: [...] I understand that, but because the operator isn't defined normally for classes unless overloaded, then your statement about this being an inconsistency on

Re: What does ! mean?

2017-09-27 Thread Mengu via Digitalmars-d-learn
On Wednesday, 27 September 2017 at 17:58:27 UTC, Ali Çehreli wrote: On 09/27/2017 08:33 AM, Ky-Anh Huynh wrote: > [...] Wissner wrote: > [...] The fact that such an important operator is explained so late in the book is due to the book's strong desire to have a linear flow. [...] ustad,

Re: segfault on gc.impl.conservative.gc.Gcx.smallAlloc

2017-09-26 Thread Mengu via Digitalmars-d-learn
On Tuesday, 26 September 2017 at 17:06:28 UTC, drug wrote: 26.09.2017 00:34, Mengu пишет: [...] not big deal probably, but isn't ~32GB enormous value here? I would check why bigDataFun return this. i could not find out why. d certainly needs to improve on freebsd. i don't think devs

Re: segfault on gc.impl.conservative.gc.Gcx.smallAlloc

2017-09-26 Thread Mengu via Digitalmars-d-learn
On Monday, 25 September 2017 at 21:34:40 UTC, Mengu wrote: hi all this following code block [0] is exiting with "terminated by signal SIGBUS (Misaligned address error)" error. it processes like 200K rows and then fails. any ideas? [...] hi all does anyone else have any ideas?

Re: segfault on gc.impl.conservative.gc.Gcx.smallAlloc

2017-09-26 Thread Mengu via Digitalmars-d-learn
On Tuesday, 26 September 2017 at 00:36:36 UTC, Vladimir Panteleev wrote: On Monday, 25 September 2017 at 21:34:40 UTC, Mengu wrote: delete fileContents; This looks suspicious - it is a slice of the memory-mapped file, not memory on the GC-managed heap, so "delete" is inapplicable to it.

segfault on gc.impl.conservative.gc.Gcx.smallAlloc

2017-09-25 Thread Mengu via Digitalmars-d-learn
hi all this following code block [0] is exiting with "terminated by signal SIGBUS (Misaligned address error)" error. it processes like 200K rows and then fails. any ideas? void getHotels() { import std.parallelism : taskPool; import std.functional : partial; auto sunHotels =

how to build project with locally compiled phobos

2017-09-23 Thread Mengu via Digitalmars-d-learn
hi all i've successfully compiled phobos master with gmake on freebsd. (make fails, i've no clue at all as to why) how do i compile my project now against my local phobos with dub? with plain dmd? i tried (in dub.sdl): - full path to new libphobos.so with -defaultlib to dflags - full path

Re: [FreeBSD] 0x000000000061d8cd in rt.aaA.Impl.findSlotLookup(ulong, const(void*), const(TypeInfo)) inout ()

2017-09-23 Thread Mengu via Digitalmars-d-learn
On Saturday, 23 September 2017 at 11:23:26 UTC, Nicholas Wilson wrote: On Saturday, 23 September 2017 at 08:45:00 UTC, Mengu wrote: [...] So it fails: trying to find if an element exists in an AA in a regex invoked as a callback from curl inside a parallel foreach. Interesting that it just

[FreeBSD] 0x000000000061d8cd in rt.aaA.Impl.findSlotLookup(ulong, const(void*), const(TypeInfo)) inout ()

2017-09-23 Thread Mengu via Digitalmars-d-learn
hello everyone i have a small program that parses an xml file, holding a list with 13610 elements. after making the list, it iterates over the list (paralele), goes to a web site and grabs the related data for that element. it works perfect for the first 1K element in the list. after that

Re: D Tour is down

2017-08-28 Thread Mengu via Digitalmars-d
On Monday, 28 August 2017 at 17:16:59 UTC, Mengu wrote: On Monday, 28 August 2017 at 08:19:10 UTC, Petar Kirov [ZombineDev] wrote: On Monday, 28 August 2017 at 07:52:00 UTC, Joakim wrote: On Monday, 28 August 2017 at 07:44:48 UTC, Wulfklaue wrote: On Sunday, 27 August 2017 at 22:27:45 UTC,

Re: D Tour is down

2017-08-28 Thread Mengu via Digitalmars-d
On Monday, 28 August 2017 at 08:19:10 UTC, Petar Kirov [ZombineDev] wrote: On Monday, 28 August 2017 at 07:52:00 UTC, Joakim wrote: On Monday, 28 August 2017 at 07:44:48 UTC, Wulfklaue wrote: On Sunday, 27 August 2017 at 22:27:45 UTC, Mengu wrote: d tour page is down for at least a week now.

D Tour is down

2017-08-27 Thread Mengu via Digitalmars-d
d tour page is down for at least a week now. someone please fix that. thanks.

Re: D as a Better C

2017-08-25 Thread Mengu via Digitalmars-d-announce
On Friday, 25 August 2017 at 00:24:14 UTC, Michael V. Franklin wrote: On Thursday, 24 August 2017 at 19:21:31 UTC, Walter Bright wrote: [...] Great! I look forward to seeing improvements and hope to help. [...] i believe that should be an opt-out. what about newcomers? will they have to

Re: How to specify a template that uses unqualified type, like any normal function

2017-08-14 Thread Mengu via Digitalmars-d-learn
On Monday, 14 August 2017 at 13:48:36 UTC, Dominikus Dittes Scherkl wrote: if I use fixed-type functions, I can do the following: uint foo(uint n) { ++n; // modify n - as this function has received a copy of n, this is always possible return 42; } uint bar(const uint n) {

Re: Need some vibe.d hosting advice

2017-08-11 Thread Mengu via Digitalmars-d
On Friday, 11 August 2017 at 13:06:54 UTC, aberba wrote: So I'm into this platform with a vibe.d api server + back-end and I'm confused/curious to know the hosting package to use. I will have a lot of images uploaded by users. 1. For sometime, I've been looking at heroku which is fine with

Re: Calling C++ "void foo(Klass&)"

2017-08-10 Thread Mengu via Digitalmars-d
On Thursday, 10 August 2017 at 07:58:55 UTC, Arjan wrote: On Thursday, 10 August 2017 at 00:32:40 UTC, Mengu wrote: my second question is: i have no idea what's going on in this file: https://github.com/whoshuu/cpr/blob/master/include/cpr/body.h i'd appreciate some pointers. A new 'type'

Re: Calling C++ "void foo(Klass&)"

2017-08-09 Thread Mengu via Digitalmars-d
On Tuesday, 8 August 2017 at 21:04:23 UTC, Jacob Carlborg wrote: On 2017-08-08 20:51, Johan Engelen wrote: Hi all, Currently, it is not possible to call the C++ function "void foo(Klass&)" when Klass is an extern(C++) _class_ on the D side. You have to declare Klass as a D _struct_,

Re: gtkD load images

2017-08-03 Thread Mengu via Digitalmars-d-learn
On Thursday, 3 August 2017 at 03:59:40 UTC, Johnson Jones wrote: How can be use gtkD to load images, I assume through gdkpixbuf? While I am getting errors loading images through glade's image: (test.exe:8188): Gtk-WARNING **: Could not load image 'a.jpg': Couldn't recognize the

Re: dlang-requetst: openssl 1.1 compatible release

2017-08-03 Thread Mengu via Digitalmars-d-announce
On Thursday, 3 August 2017 at 10:02:24 UTC, Temtaime wrote: On Thursday, 3 August 2017 at 09:57:11 UTC, Suliman wrote: On Thursday, 3 August 2017 at 06:33:38 UTC, ikod wrote: Hello, Since version 0.5.0 dlang-requests has become compatible with both 1.0.x and 1.1.x versions of openssl

Re: Abusive posts

2017-06-19 Thread Mengu via Digitalmars-d
On Monday, 19 June 2017 at 01:06:41 UTC, Meta wrote: On Sunday, 18 June 2017 at 19:57:26 UTC, Walter Bright wrote: There have been a handful of abusive posts here lately. These are not welcome. If you see one, please forward it to me or otherwise let me know, and let me deal with it. Do not

Re: dmd download spike

2017-01-08 Thread Mengu via Digitalmars-d
On Saturday, 7 January 2017 at 13:52:12 UTC, Benjiro wrote: On Saturday, 7 January 2017 at 13:22:02 UTC, rikki cattermole wrote: Btw, I based this mostly off the number of newbies coming on to IRC. There has been quite a large number :) At least compared to the rest of the yar. Interesting.

Re: Crazy, sad but ... would you use D for your own facebook or pinterest?

2017-01-03 Thread Mengu via Digitalmars-d
On Monday, 2 January 2017 at 21:49:03 UTC, aberba wrote: I'm not building Facebook/pinterest but I'm trying to work on a platform like "pinterest-like" but on a small scale. I want it to be easy to write, fast, ... you know. D is obviously that (IMO). About scalability, would you recommend

Re: asd

2016-07-25 Thread Mengu via Digitalmars-d
On Monday, 25 July 2016 at 09:10:05 UTC, ahahah wrote: haro herro

  1   2   >