Re: Using core/sys/posix/mqueue.d on FreeBSD

2024-04-06 Thread Arjan via Digitalmars-d-learn
On Saturday, 6 April 2024 at 12:05:56 UTC, Jonathan M Davis wrote: Actually, since I'm usually the one who does the FreeBSD ones anyway, here you go: https://github.com/dlang/dmd/pull/16359 The declarations compile, and they should match the ones in C, since I copied them over and then

Re: Ali introduced D at Northeastern University

2022-10-05 Thread Arjan via Digitalmars-d-announce
On Tuesday, 4 October 2022 at 05:26:53 UTC, Ali Çehreli wrote: DConf 2022 speaker Mike Shah[1] had invited me to give a presentation for the computer science students at Northeastern University. I was there this past Friday having a great time not only presenting but also meeting with the

Re: Serial communication library

2022-09-24 Thread Arjan via Digitalmars-d-learn
On Saturday, 24 September 2022 at 08:52:42 UTC, Imperatorn wrote: On Thursday, 22 September 2022 at 12:05:00 UTC, Imperatorn wrote: Hi guys! What's the best/preferred library to use for serial communication (RS)? Thanks  I will give onyx-serial a try Also on code.dlang.org:

Re: What are (were) the most difficult parts of D?

2022-05-12 Thread Arjan via Digitalmars-d-learn
On Thursday, 12 May 2022 at 11:05:08 UTC, Basile B. wrote: On Wednesday, 11 May 2022 at 05:41:35 UTC, Ali Çehreli wrote: What are you stuck at? What was the most difficult features to understand? etc. To make it more meaningful, what is your experience with other languages? Ali Overhall

Re: error connecting to mongodb atlas with vibe.d

2022-05-01 Thread Arjan via Digitalmars-d-learn
On Saturday, 30 April 2022 at 14:29:56 UTC, notsteve wrote: Hi, I am trying to setup a simple webserver in D using vibe.d (0.9.4) and want to use mongoDB as a database. To achieve this, I've set up a mongoDB atlas instance with the following command inside the standard app.d file created by

Re: Our New Pull-Request and Issue Manager

2022-02-24 Thread Arjan via Digitalmars-d-announce
On Thursday, 24 February 2022 at 13:05:33 UTC, Mike Parker wrote: Everyone, please congratulate Dennis Korpel on his new job! Goed bezig! Veel plezier en succes Dennis.

Re: stripping binaries from LDC2

2022-02-07 Thread Arjan via Digitalmars-d-learn
On Monday, 7 February 2022 at 13:14:19 UTC, max haughton wrote: On Monday, 7 February 2022 at 12:16:53 UTC, Arjan wrote: In c++ our release builds are build `-O2 -g` and the resulting binaries are stripped with GNU/strip. Is this also possible with LDC2 generated binaries for D code? So build

stripping binaries from LDC2

2022-02-07 Thread Arjan via Digitalmars-d-learn
In c++ our release builds are build `-O2 -g` and the resulting binaries are stripped with GNU/strip. Is this also possible with LDC2 generated binaries for D code? So build D code with `-O2 -g` and then strip the resulting binary?

Re: Visual D 1.2.0 supports Visual Studio 2022

2022-01-15 Thread Arjan via Digitalmars-d-announce
On Saturday, 15 January 2022 at 09:06:23 UTC, Rainer Schuetze wrote: Hi, Visual D 1.2.0 has just been released. Major new features: * added support for Visual Studio 2022 Thank you very much, Rainer. Much appreciated!

Re: Why I Like D

2022-01-12 Thread Arjan via Digitalmars-d-announce
On Wednesday, 12 January 2022 at 16:14:54 UTC, Steven Schveighoffer wrote: On 1/12/22 10:41 AM, Adam D Ruppe wrote: On Wednesday, 12 January 2022 at 15:25:37 UTC, H. S. Teoh wrote: However it turns out that unless you are writing a computer game, a high frequency trading system, a web

Re: How to loop through characters of a string in D language?

2021-12-10 Thread Arjan via Digitalmars-d-learn
On Friday, 10 December 2021 at 06:24:27 UTC, Rumbu wrote: On Wednesday, 8 December 2021 at 11:23:45 UTC, BoQsc wrote: Let's say I want to skip characters and build a new string. The character I want to skip: `;` Expected result: ``` abcdefab ``` Since it seems there is a contest here: ```d

Re: KQueue and Fibers

2021-04-09 Thread Arjan via Digitalmars-d-learn
On Friday, 9 April 2021 at 09:00:17 UTC, rashir wrote: Goodmorning everyone, I'm trying to understand both Kqueue and Fiber's operation on Mac. Why don't I get the correct data as long as I read from the socket? It seems to be reading too early, but Kquue tells me that the socket is readable.

Re: Vibe.d diet template help

2021-02-07 Thread Arjan via Digitalmars-d-learn
On Sunday, 7 February 2021 at 00:05:51 UTC, Tim wrote: Hi all, I'm trying to render a diet template out to a WebSocket as a string to be inserted into a specific portion of the currently served page. Does anyone know how to go about this? Is the websocket really needed? Otherwise a plain

Re: Using a betterC dub package in ordinary D

2021-01-08 Thread Arjan via Digitalmars-d-learn
On Friday, 8 January 2021 at 20:19:59 UTC, Bastiaan Veelo wrote: Off topick, the original js implementation is documented to not generate results that are guaranteed to be correct. I could not find information on what the conditions are that cause deviations, and how large these then can be.

Re: Nasty supprise when using c 'anonymous struct and union' in D with 'static struct'

2020-12-29 Thread Arjan via Digitalmars-d-learn
On Tuesday, 29 December 2020 at 17:49:20 UTC, Steven Schveighoffer wrote: On 12/29/20 12:13 PM, Arjan wrote: On Tuesday, 29 December 2020 at 14:42:07 UTC, Steven Schveighoffer wrote: On 12/29/20 7:38 AM, Arjan wrote: see https://en.cppreference.com/w/c/language/struct structs only add

Re: Nasty supprise when using c 'anonymous struct and union' in D with 'static struct'

2020-12-29 Thread Arjan via Digitalmars-d-learn
On Tuesday, 29 December 2020 at 14:42:07 UTC, Steven Schveighoffer wrote: On 12/29/20 7:38 AM, Arjan wrote: see https://en.cppreference.com/w/c/language/struct I added in some printouts of the addresses of the variables. It appears that if you add static to the struct, it now becomes a

Nasty supprise when using c 'anonymous struct and union' in D with 'static struct'

2020-12-29 Thread Arjan via Digitalmars-d-learn
see https://en.cppreference.com/w/c/language/struct It seems the 'static' must NOT be used here to get the equivalent behavior of c, when left in the assertions will fail. Is this expected? ``` unittest { struct W { align(1): long k; long l; } struct V { align(1): union //

name enum vs static named enum

2020-11-07 Thread Arjan via Digitalmars-d-learn
What is the usage of `static` in this? : ``` static enum Status { NONE, BUSY, ... } ```

Dub cmdline overrides?

2020-11-07 Thread Arjan via Digitalmars-d-learn
Is there a cmdline switch to DUB to override certain dub.sdl settings for a dependency? Like the addition or override to lib dirs or link-libs? For example once and a while I run into linking issues with symbols not found due to the `soname` being different on my system than specified in

Re: How to use bootstrap with vibe.d.

2020-11-07 Thread Arjan via Digitalmars-d-learn
On Thursday, 5 November 2020 at 16:22:11 UTC, Alaindevos wrote: This is from the bootstrap documentation. I think you must adapt this to .dt files. dt files are basically pugjs https://pugjs.org/ files. When you use vscode with this extension:

Re: How to use bootstrap with vibe.d.

2020-11-07 Thread Arjan via Digitalmars-d-learn
On Thursday, 5 November 2020 at 16:22:11 UTC, Alaindevos wrote: This is from the bootstrap documentation. I think you must adapt this to .dt files. ``` ... ... html( lang='nl' ) head title #{pageTitle} meta( charset="utf-8") meta( name="viewport"

Re: Symmetry Investments and the D Language Foundation are Hiring

2020-08-30 Thread Arjan via Digitalmars-d-announce
On Sunday, 30 August 2020 at 14:13:36 UTC, Mike Parker wrote: Looking for a full-time or part-time gig? Not only is Symmetry Investments hiring D programmers, they are also generously funding two positions for ecosystem work under the D Language Foundation. And they've put up a bounty for a

Re: D binary io functions

2020-08-30 Thread Arjan via Digitalmars-d-learn
On Sunday, 30 August 2020 at 06:00:20 UTC, Andy Balba wrote: going nuts trying to figure out which D functions will read/write binary files see this blog: http://nomad.uk.net/articles/working-with-files-in-the-d-programming-language.html

Re: Visual D 1.0.0 released

2020-07-05 Thread Arjan via Digitalmars-d-announce
On Sunday, 5 July 2020 at 19:02:23 UTC, Rainer Schuetze wrote: I have added some documentation and screenshots here: https://rainers.github.io/visuald/visuald/Debugging.html#customization Thank you very much, Rainer. Your efforts on this and the gc are really appreciated.

Re: scope guard question

2020-06-30 Thread Arjan via Digitalmars-d-learn
On Tuesday, 30 June 2020 at 12:18:14 UTC, Steven Schveighoffer wrote: On 6/30/20 2:56 AM, Arjan wrote: On Monday, 29 June 2020 at 22:47:16 UTC, Steven Schveighoffer wrote: [...] Thanks for the assurance. The spec does state it like this: ``` The ScopeGuardStatement executes

Re: scope guard question

2020-06-30 Thread Arjan via Digitalmars-d-learn
On Monday, 29 June 2020 at 22:47:16 UTC, Steven Schveighoffer wrote: Yes. The return statement is inside the scope of the function, so it runs before the scope is exited. Are you saying the spec doesn't say that? Thanks for the assurance. The spec does state it like this: ``` The

scope guard question

2020-06-29 Thread Arjan via Digitalmars-d-learn
``` void main() { import std.stdio; auto f = (){ string[] t; { // inner scope t ~= "hello"; scope( exit ) t ~= "world"; } // inner scope exit return t; }; f().writeln; // ["hello", "world"] } ``` removing the inner scope in f() gives ["hello"] So when no

Re: On the D Blog: Lomuto's Comeback

2020-05-31 Thread Arjan via Digitalmars-d-announce
On Thursday, 14 May 2020 at 13:26:23 UTC, Mike Parker wrote: After reading a paper that grabbed his curiosity and wouldn't let go, Andrei set out to determine if Lomuto partitioning should still be considered inferior to Hoare for quicksort on modern hardware. This blog post details his

Vibed unix socket

2020-05-20 Thread Arjan via Digitalmars-d-learn
I noticed vibe has gained support for unix sockets. What is unclear (at least from API docs) how to create a raw unix stream socket. should `listenTCP` and `connectTCP` be used? Seems weird because those require a 'port'..

Re: Visual D debugger tuple _expand_field

2020-02-24 Thread Arjan via Digitalmars-d-debugger
On Sunday, 23 February 2020 at 17:22:13 UTC, Rainer Schuetze wrote: On 20/02/2020 23:03, BetaDamnit wrote: _expand_field takes up a huge amount of space for no reason. I think tuple scan be safely listed like arrays. We know they are tuples, no need to display _expand_field=, it just takes

Re: Program exited with code -11

2019-09-18 Thread Arjan via Digitalmars-d-learn
On Wednesday, 18 September 2019 at 13:22:03 UTC, Danny Arends wrote: Hey all, "Program exited with code -11" Not signal 11? On unix/linux I assume?

Re: Recommendations for best JSON lib?

2019-04-21 Thread Arjan via Digitalmars-d-learn
On Sunday, 21 April 2019 at 02:09:29 UTC, evilrat wrote: On Saturday, 20 April 2019 at 20:44:22 UTC, Guillaume Piolat wrote: On Saturday, 20 April 2019 at 18:49:07 UTC, Nick Sabalausky I also tried experimental std json, asdf and vibe.d. The only one that worked for me is vibe.d JSON

Re: Half-baked thought: Out-of-process asserts

2018-09-04 Thread Arjan via Digitalmars-d
On Tuesday, 4 September 2018 at 03:39:04 UTC, Nick Sabalausky (Abscissa) wrote: It seems pretty well established around here that: 1. Doing anything after a process has entered an unknown state is dangerous, and the more activity, the more danger (Note also, the transition to an unknown state

install.sh gives Invalid signature error

2018-06-15 Thread Arjan via Digitalmars-d
Trying to execute the install.sh on a centos7.5 system gives an error: Invalid signature http://downloads.dlang.org/releases/2.x/2.080.1/dmd.2.080.1.linux.tar.xz.sig For each version I tried. Whats wrong?

Re: Remember the Vasa! by Bjarne Stroustrup

2018-05-29 Thread Arjan via Digitalmars-d
On Tuesday, 29 May 2018 at 01:46:47 UTC, Walter Bright wrote: A cautionary tale we should all keep in mind. http://open-std.org/JTC1/SC22/WG21/docs/papers/2018/p0977r0.pdf https://www.reddit.com/r/programming/comments/8mq10v/bjarne_stroustroup_remeber_the_vasa_critique_of/

Re: Favorite GUI library?

2018-04-24 Thread Arjan via Digitalmars-d
On Tuesday, 24 April 2018 at 18:43:54 UTC, H. S. Teoh wrote: This reminds me of Nick Sabalausky's rant once that back in the 80's we used to run programs on 64KB RAM and 8kHz CPUs, and lived with the slow performance, and nowadays we have GB's of RAM and multicore GHz CPUs, and we are finally

dub default settings

2018-03-19 Thread Arjan via Digitalmars-d-learn
I find myself typing over and over again the same things like '-a x86_64'. Is it somehow possible to set those defaults?

Re: D beyond the specs

2018-03-17 Thread Arjan via Digitalmars-d
On Friday, 16 March 2018 at 19:27:40 UTC, Walter Bright wrote: On 3/16/2018 4:44 AM, Chris wrote: Would it be possible to find out at DConf in Munich why exactly D is so popular in Germany (my impression) and in other countries of Europe (and that general post code) like France, Italy, GB,

Re: howto run unittest of a single module in dub driven project?

2018-03-05 Thread Arjan via Digitalmars-d-learn
On Monday, 5 March 2018 at 11:26:37 UTC, Atila Neves wrote: On Sunday, 4 March 2018 at 10:43:06 UTC, Arjan wrote: Is it somehow possible to only run the unittests of a single d file within a dub project? Of course without resorting to typing the complete commandline with all versions includes

Re: howto run unittest of a single module in dub driven project?

2018-03-05 Thread Arjan via Digitalmars-d-learn
On Sunday, 4 March 2018 at 16:51:06 UTC, Basile B. wrote: [1] https://github.com/BBasile/Coedit/commit/f8c5e686c8c6aaa7dc2c770121767e3e59806a0e Thanks for givin me the idea original poster. Guess I will have to give coedit another try then.. ;-) So you do use dub behind the scenes so it

howto run unittest of a single module in dub driven project?

2018-03-04 Thread Arjan via Digitalmars-d-learn
Is it somehow possible to only run the unittests of a single d file within a dub project? Of course without resorting to typing the complete commandline with all versions includes switches etc.

Re: Debugging bad requests with vibe

2018-02-09 Thread Arjan via Digitalmars-d-learn
On Friday, 9 February 2018 at 11:46:31 UTC, Nicholas Wilson wrote: On Friday, 9 February 2018 at 08:06:53 UTC, Seb wrote: On Thursday, 8 February 2018 at 17:09:44 UTC, Nicholas Wilson wrote: Is there a way I can see/log what requests are being made? I can change both the client and server.

Re: Vibe.d rest & web service?

2018-02-08 Thread Arjan via Digitalmars-d-learn
On Wednesday, 7 February 2018 at 20:23:10 UTC, Nicholas Wilson wrote: On Wednesday, 7 February 2018 at 19:50:31 UTC, Jacob Carlborg wrote: Have you tried this? No. But apart from the fact that I forgot to make the class inherit from an interface to that the rest interface would actually

Re: Release D 2.078.1

2018-01-31 Thread Arjan via Digitalmars-d-announce
On Wednesday, 31 January 2018 at 15:58:02 UTC, Atila Neves wrote: On Thursday, 25 January 2018 at 20:11:54 UTC, Rainer Schuetze wrote: On 25.01.2018 14:54, Atila Neves wrote: [...] Visual Studio is supposed to be detected by dmd now, either from the environment or from the registry.

Re: Adding Markdown to Ddoc

2017-12-08 Thread Arjan via Digitalmars-d
On Thursday, 7 December 2017 at 10:21:21 UTC, Jacob Carlborg wrote: On 2017-12-06 05:11, Walter Bright wrote: https://help.github.com/articles/basic-writing-and-formatting-syntax/ Anyone interested in picking up the flag? (I know this has come up before, and I've been opposed to it, but I've

Re: R.filter!(..).sort!(..)

2017-11-28 Thread Arjan via Digitalmars-d-learn
On Tuesday, 28 November 2017 at 13:24:09 UTC, Steven Schveighoffer wrote: On 11/28/17 8:10 AM, Arjan wrote: [...] The library is correctly telling you that your filtered range is not random access. It can't be, because it lazily applies the filter (that is, it filters on each element as you

R.filter!(..).sort!(..)

2017-11-28 Thread Arjan via Digitalmars-d-learn
When applying a sort!() on a filtered range I get this compiler error: Error: template std.algorithm.sorting.sort cannot deduce function from argument types !((a, b) => a.name < b.name)(FilterResult!(__lambda3, RangeT!(Array!(IssueType, candidates are:

Re: [OT] Windows dying

2017-11-07 Thread Arjan via Digitalmars-d
On Tuesday, 7 November 2017 at 13:59:26 UTC, codephantom wrote: But I think what really made it take off so fast and unexpectadly, was the convergence of mobile devices, mobile communication technology (i.e wifi, gps and stuff), and of course the internet... as well as the ability to find

Re: London senior DevOps job and two London [D-ish] developer roles

2017-10-20 Thread Arjan via Digitalmars-d-announce
On Thursday, 19 October 2017 at 20:01:20 UTC, Laeeth Isharc wrote: Hi. Symmetry Investments is looking to hire ... Please feel free to drop me a line if you're interested or know of someone who might be - for this role or for the others. How would one contact you?

Re: debugging in vs code on Windows

2017-10-17 Thread Arjan via Digitalmars-d-learn
On Tuesday, 17 October 2017 at 03:10:52 UTC, Dmitry wrote: On Tuesday, 17 October 2017 at 02:32:49 UTC, Domain wrote: Can you share your tasks.json and launch.json? tasks.json - I don't have this file. launch.json: { "version": "0.2.0", "configurations": [ {

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

2017-08-10 Thread Arjan via Digitalmars-d
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' named Body which IS-A std::string is defined. To construct a

Re: Visual Studio Code code-d serve-d beta release

2017-08-09 Thread Arjan via Digitalmars-d-announce
On Wednesday, 9 August 2017 at 05:24:37 UTC, Dmitry wrote: On Tuesday, 8 August 2017 at 17:13:18 UTC, WebFreak001 wrote: Use my other extension `code-debug` (or `Native Debug`) for that Is there somebody who used it successfully on Windows? You mean the code-debug? No because there is at

Re: Visual Studio Code code-d serve-d beta release

2017-08-08 Thread Arjan via Digitalmars-d-announce
On Tuesday, 8 August 2017 at 17:27:30 UTC, Johannes Pfau wrote: Am Tue, 08 Aug 2017 17:13:18 + schrieb WebFreak001 : On Tuesday, 8 August 2017 at 08:03:05 UTC, Arjan wrote: > Small request: could the setting "d.stdlibPath" be inferred > from the compiler in use? DMD

Re: Visual Studio Code code-d serve-d beta release

2017-08-08 Thread Arjan via Digitalmars-d-announce
On Saturday, 5 August 2017 at 22:43:31 UTC, WebFreak001 wrote: ... Thanks a lot! Will give it a try. Small request: could the setting "d.stdlibPath" be inferred from the compiler in use? DMD and LDC both have a conf file in which the paths are already set. What about the debugging

Re: Are there any known remaining deadlock bugs in OPTLINK?

2017-05-25 Thread Arjan via Digitalmars-d
On Thursday, 25 May 2017 at 14:16:41 UTC, Vladimir Panteleev wrote: - Does OPTLINK use threads or thread synchronization primitives? - Is anyone aware of any threading/deadlock bugs in OPTLINK? - Any known workarounds? Like setting CPU affinity? Back in the days when I was using the

Re: Binderoo - we're open sourcing our binding system

2016-08-17 Thread Arjan via Digitalmars-d
On Tuesday, 16 August 2016 at 14:31:54 UTC, Ethan Watson wrote: Slides are up at http://www.slideshare.net/EthanWatson5/d-using-an-emerging-language-in-quantum-break I'm getting an error and can't see the slide content. Is it just me?

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

2016-05-07 Thread Arjan via Digitalmars-d
On Friday, 6 May 2016 at 14:13:35 UTC, Andrei Alexandrescu wrote: The atmosphere here is great, and I'm curious how it feels for those who are watching remotely. Is the experience good? What can we do better? Also: we're talking about the DConf 2017 location. Please share any initial

Re: DConf keynote speaker ideas

2015-11-18 Thread Arjan via Digitalmars-d
On Tuesday, 17 November 2015 at 18:47:58 UTC, Andrei Alexandrescu wrote: I'm thinking of inviting a notable industry luminary to deliver a conference keynote. Please reply to this with ideas! -- Andrei Chris Lattner Howard Hinnant Bill Joy Ray Kurzweil

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

2015-09-30 Thread Arjan via Digitalmars-d
On Wednesday, 30 September 2015 at 01:55:43 UTC, deadalnix wrote: On Wednesday, 30 September 2015 at 01:45:49 UTC, deadalnix wrote: https://www.youtube.com/watch?v=mFUXNMfaciE From http://wiki.dlang.org/Component_programming_with_ranges Congrat H. S. Teoh Shared on reddit:

Re: This Week in D #23 - Interview with Dmitry Olshansky, dmd beta, std.experimental.color

2015-06-30 Thread Arjan via Digitalmars-d-announce
On Monday, 29 June 2015 at 03:46:55 UTC, Adam D. Ruppe wrote: http://arsdnet.net/this-week-in-d/jun-28.html great interview.

Re: best way to interface D code to Excel

2015-06-18 Thread Arjan via Digitalmars-d-learn
On Wednesday, 17 June 2015 at 18:35:36 UTC, Laeeth Isharc wrote: Hi. Any thoughts on the best way to write D functions that I can call from Excel? I am completely unfamiliar with Windows programming and COM (last time I wrote this kind of thing was in the mid-90s I think using xloper and

Re: A few notes on choosing between Go and D for a quick project

2015-03-20 Thread Arjan via Digitalmars-d
One underused resource seems to be all the examples bearophile has put on Rosetta Code: http://rosettacode.org/wiki/Category:D Indeed, I found myself frequently looking though these examples. Thank you bearophile! If he, Adam, or some other proficient D user were to do a weekly series

Re: Dutch D Meetup

2015-02-23 Thread Arjan via Digitalmars-d
On Monday, 23 February 2015 at 21:07:04 UTC, George Sapkin wrote: Seems like there are some local meetups starting across the globe, but no Dutch one so far. Are there any D users from the Netherlands that would want to meetup and share their D stories? Cheers. I would surely come. Though

Re: dub.json dependencies per configuration?

2015-02-10 Thread Arjan via Digitalmars-d-learn
On Wednesday, 11 February 2015 at 01:06:02 UTC, Mike Parker wrote: On 2/11/2015 8:38 AM, Arjan wrote: Snippet from: https://github.com/buggins/ddbc/blob/master/dub.json#L7 ddbc has a dependencies on mysql-native: =0.0.12. But this is only true for configurations: MySQL. Is it allowed to put

dub.json dependencies per configuration?

2015-02-10 Thread Arjan via Digitalmars-d-learn
Snippet from: https://github.com/buggins/ddbc/blob/master/dub.json#L7 ddbc has a dependencies on mysql-native: =0.0.12. But this is only true for configurations: MySQL. Is it allowed to put the dependency within the configuration section for MySQL?. dependencies: { mysql-native:

Re: Learning to XML with D

2015-02-07 Thread Arjan via Digitalmars-d-learn
On Friday, 6 February 2015 at 09:15:54 UTC, Derix wrote: So, I set sails to transform a bunch of HTML files with D. This, of course, will happen with the std.xml library. There is this nice example : http://dlang.org/phobos/std_xml.html#.DocumentParser that I put to some use already, however

Re: Why hibernated does not create tables automatically?

2015-02-06 Thread Arjan via Digitalmars-d-learn
On Friday, 6 February 2015 at 09:42:09 UTC, zhmt wrote: class Card { import hibernated.core; @Id @Generated long id; @UniqueKey string pwd; } MySQLDriver driver = new MySQLDriver(); string url =

Re: Why hibernated does not create tables automatically?

2015-02-06 Thread Arjan via Digitalmars-d-learn
On Friday, 6 February 2015 at 08:53:12 UTC, zhmt wrote: The app compiles fine, but It throw an exception when I try to save data to mysql : hibernated.type.MappingException@../../../zhmt/.dub/packages/hibernated-0.2.19/source/hibernated/metadata.d(3332): Cannot find entity by class

Re: Problem interfacing with GSL

2014-12-01 Thread Arjan via Digitalmars-d-learn
On Sunday, 30 November 2014 at 16:26:53 UTC, Joseph Rushton Wakeling via Digitalmars-d-learn wrote: On 30/11/14 13:21, Arjan via Digitalmars-d-learn wrote: Hi! D noob here. I'm trying to call this function from the GSL lib: Out of curiosity (since your question has already been answered

Problem interfacing with GSL

2014-11-30 Thread Arjan via Digitalmars-d-learn
Hi! D noob here. I'm trying to call this function from the GSL lib: double gsl_stats_long_double_mean (const long double [], const size_t, const size_t); linking with: -L-lgsl -L-lgslcblas -L-lm I have tried different configurations, refering to http://dlang.org/interfaceToC.html and the

Re: Problem interfacing with GSL

2014-11-30 Thread Arjan via Digitalmars-d-learn
On Sunday, 30 November 2014 at 13:09:15 UTC, John Colvin wrote: On Sunday, 30 November 2014 at 12:21:51 UTC, Arjan wrote: Hi! D noob here. I'm trying to call this function from the GSL lib: double gsl_stats_long_double_mean (const long double [], const size_t, const size_t); linking with:

Re: Example of the perils of binding rvalues to const ref

2014-09-17 Thread Arjan via Digitalmars-d
On Tuesday, 16 September 2014 at 15:30:49 UTC, Andrei Alexandrescu wrote: http://www.slideshare.net/yandex/rust-c C++ code: std::string get_url() { return http://yandex.ru;; } string_view get_scheme_from_url(string_view url) { unsigned colon = url.find(':'); return url.substr(0,

Re: D Users Survey: Primary OS?

2014-05-29 Thread Arjan via Digitalmars-d
On Thursday, 29 May 2014 at 18:24:57 UTC, Tom Browder via Digitalmars-d wrote: Has anyone done a survey of the primary OS of D users? I (a D newbie) use Debian Linux (64-bit), but I get the feeling that many (if not most) users are on some version of Windows. Thanks. Best regards, -Tom

Re: Video of my LDC talk @ FOSDEM'14

2014-05-27 Thread Arjan via Digitalmars-d-announce
Enjoy! Besides the noise, I did! Great talk! And thanks for your efforts to make LDC a success.

Re: SQLite3

2014-05-08 Thread Arjan via Digitalmars-d-learn
On Thursday, 8 May 2014 at 10:29:16 UTC, Jack wrote: On Wednesday, 7 May 2014 at 19:03:34 UTC, Arjan wrote: On Wednesday, 7 May 2014 at 06:21:10 UTC, Jack wrote: First off a Disclaimer: I'm a noob and still learning. Please don't bash me like some forums. Now to the questions: I'm searching

Re: SQLite3

2014-05-08 Thread Arjan via Digitalmars-d-learn
On Thursday, 8 May 2014 at 11:48:14 UTC, Jack wrote: On Thursday, 8 May 2014 at 11:07:06 UTC, Arjan wrote: On Thursday, 8 May 2014 at 10:29:16 UTC, Jack wrote: On Wednesday, 7 May 2014 at 19:03:34 UTC, Arjan wrote: On Wednesday, 7 May 2014 at 06:21:10 UTC, Jack wrote: First off a Disclaimer:

Re: DOSNEWSIZE Error

2014-05-08 Thread Arjan via Digitalmars-d-learn
On Thursday, 8 May 2014 at 14:49:09 UTC, Jack wrote: I had a compiler error with just a DOSNEWSIZE Error with no more information. Code: http://pastebin.com/UDAgmjtx I was trying to learn to implement SQLite connections to a local file with only the path to the file and no port or localhost

Re: SQLite3

2014-05-07 Thread Arjan via Digitalmars-d-learn
On Wednesday, 7 May 2014 at 06:21:10 UTC, Jack wrote: First off a Disclaimer: I'm a noob and still learning. Please don't bash me like some forums. Now to the questions: I'm searching for a quick and easy way to integrate SQLite3 in my application. maybe: https://github.com/buggins/ddbc/wiki