Re: Error: incompatible types for 'shared(SysTime)' and 'shared(SysTime)'

2016-07-04 Thread ketmar via Digitalmars-d-learn
On Monday, 4 July 2016 at 20:54:53 UTC, Luke Picardo wrote: if (curTime - lastMsgTime).total!"seconds") ... Both are shared Durations. also when I try to do lastMsgTime = curTime; Gives me Error: non-shared method std.datetime.SysTime.opAssign is not callable using a shared object. cast

Re: D is crap

2016-07-04 Thread ketmar via Digitalmars-d
On Monday, 4 July 2016 at 16:25:24 UTC, Ola Fosheim Grøstad wrote: p.s. as nobody in his sane mind is not reading this thread anymore, i can even reveal that my work on SSA-based backend is not completely stalled. it will be universal library, but i'm planning to augment DMD with it too. while

Re: D is crap

2016-07-04 Thread ketmar via Digitalmars-d
On Monday, 4 July 2016 at 16:25:24 UTC, Ola Fosheim Grøstad wrote: But that is actually good news, I thought you had lost your spark of passion ;-). i lost interest in trying to improve mainline: it is more like C++ now, with legacy features "untouchable", and new breaking features

Re: Commit size and Page fault's very large for simple program

2016-07-04 Thread thedeemon via Digitalmars-d-learn
On Monday, 4 July 2016 at 11:56:14 UTC, Rene Zwanenburg wrote: On Monday, 4 July 2016 at 11:42:40 UTC, Rene Zwanenburg wrote: ... I forgot to mention: If you're on Windows compilation defaults to 32 bit, false pointers can be a problem with D's current GC in 32 bit applications. This isn't

Re: Probably trivial Linux link problem that I've spent hours on.

2016-07-04 Thread lobo via Digitalmars-d-learn
On Tuesday, 5 July 2016 at 03:32:25 UTC, WhatMeWorry wrote: Just learning Linux. Got my first vibe/dub project which dies at: [...] You need to install sqlite3, or download and build it yourself, to get libsqlite3.a. I don't use Ubuntu so not sure of the package but you will be able to

Re: Probably trivial Linux link problem that I've spent hours on.

2016-07-04 Thread via Digitalmars-d-learn
On Tue, Jul 05, 2016 at 03:32:25AM +, WhatMeWorry via Digitalmars-d-learn wrote: > $ sudo apt-get install sqlite3 I'm just guessing, but try install sqlite3-devel too

Probably trivial Linux link problem that I've spent hours on.

2016-07-04 Thread WhatMeWorry via Digitalmars-d-learn
Just learning Linux. Got my first vibe/dub project which dies at: Compiling diet template 'index.dt'... Linking... /usr/bin/ld: cannot find -lsqlite3 collect2: error: ld returned 1 exit status I downloaded DUB's d2sqlite3 and built it fine. I've got sqlite3 on my system by default (came with

[Issue 16228] Insufficient diagnostics for wrong application of DIP25

2016-07-04 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16228 --- Comment #5 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/facb2aefd3d4509c0f1976287824af20d29addd6 fix Issue 16228 - Insufficient diagnostics for wrong

Re: Initializing static array with contents of (static and dynamic) arrays

2016-07-04 Thread Rene Zwanenburg via Digitalmars-d-learn
On Monday, 4 July 2016 at 19:22:52 UTC, Johannes Loher wrote: This looks really nice, but I have several occurences of this, with different arrays (and lengths), so i would need to create several of those structs. But it looks really clean :) You can use a template to remove the boilerplate.

Error: incompatible types for 'shared(SysTime)' and 'shared(SysTime)'

2016-07-04 Thread Luke Picardo via Digitalmars-d-learn
if (curTime - lastMsgTime).total!"seconds") ... Both are shared Durations. also when I try to do lastMsgTime = curTime; Gives me Error: non-shared method std.datetime.SysTime.opAssign is not callable using a shared object.

[Issue 15831] IFTI voldemort type exploding bloat

2016-07-04 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15831 --- Comment #11 from Steven Schveighoffer --- (In reply to Rainer Schuetze from comment #10) > The PR fails because it seems there are some issues with building shared > libraries. This is something I can't really help, but

BulletD needs your help!

2016-07-04 Thread BLM768 via Digitalmars-d-announce
A couple of years ago, I started writing some bindings for the Bullet Physics library (bulletphysics.org). This was well before D's new C++ interop features, so I wrote a hacky little chain of build scripts (which generated each other about 3 levels deep!). The thing actually worked to a

Re: July D Boston Meetup gathering

2016-07-04 Thread Steven Schveighoffer via Digitalmars-d-announce
On 6/14/16 12:00 PM, Steven Schveighoffer wrote: Just announced. If you are in the area, come join us! http://www.meetup.com/Boston-area-D-Programming-Language-Meetup/events/231887464/ Just a reminder for those who are procrastinating -- This is happening on Thursday of this week. Already 6

Re: Using electron for IDE development

2016-07-04 Thread WebFreak001 via Digitalmars-d
On Monday, 4 July 2016 at 19:30:37 UTC, Dmitry wrote: On Monday, 4 July 2016 at 18:55:57 UTC, Gerald wrote: Visual Studio Code is based on electron and works very well for me with D when using the code-d plugin for it: Yes, it works prefect

Re: Using electron for IDE development

2016-07-04 Thread Ola Fosheim Grøstad via Digitalmars-d
On Monday, 4 July 2016 at 19:30:37 UTC, Dmitry wrote: On Monday, 4 July 2016 at 18:55:57 UTC, Gerald wrote: Visual Studio Code is based on electron and works very well for me with D when using the code-d plugin for it: Yes, it works prefect

Re: Using electron for IDE development

2016-07-04 Thread Dmitry via Digitalmars-d
On Monday, 4 July 2016 at 18:55:57 UTC, Gerald wrote: Visual Studio Code is based on electron and works very well for me with D when using the code-d plugin for it: Yes, it works prefect https://dl.dropboxusercontent.com/u/78963719/D/forum/vscode.png

Re: Initializing static array with contents of (static and dynamic) arrays

2016-07-04 Thread Johannes Loher via Digitalmars-d-learn
Am 04.07.2016 um 19:24 schrieb ZombineDev: > On Monday, 4 July 2016 at 14:31:41 UTC, Johannes Loher wrote: >> In a project I am currently working on, I have lot's of code of the >> following form: >> >> static immutable ubyte[4] sigma0 = [101, 120, 112, 97]; static >> immutable ubyte[4] sigma1 =

Re: Initializing static array with contents of (static and dynamic) arrays

2016-07-04 Thread Johannes Loher via Digitalmars-d-learn
Am 04.07.2016 um 20:33 schrieb Ali Çehreli: > On 07/04/2016 07:31 AM, Johannes Loher wrote: >> In a project I am currently working on, I have lot's of code of the >> following form: >> >> static immutable ubyte[4] sigma0 = [101, 120, 112, 97]; >> static immutable ubyte[4] sigma1 = [110, 100, 32,

Re: Using electron for IDE development

2016-07-04 Thread Basile B. via Digitalmars-d
On Monday, 4 July 2016 at 18:25:51 UTC, tcak wrote: As far as I known, and FEEL, one of the biggest problems of IDE development is cross platform user interface development. I haven't started using, but Electron seems like a good tool to develop applications by using HTML, JS, CSS. Because it

[Issue 16235] New: type of conditional expression (ternary operator) is widened when operands differ in constness

2016-07-04 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16235 Issue ID: 16235 Summary: type of conditional expression (ternary operator) is widened when operands differ in constness Product: D Version: D2 Hardware: All OS:

Re: Using electron for IDE development

2016-07-04 Thread Gerald via Digitalmars-d
On Monday, 4 July 2016 at 18:25:51 UTC, tcak wrote: As far as I known, and FEEL, one of the biggest problems of IDE development is cross platform user interface development. I haven't started using, but Electron seems like a good tool to develop applications by using HTML, JS, CSS. Because it

Re: Initializing static array with contents of (static and dynamic) arrays

2016-07-04 Thread Ali Çehreli via Digitalmars-d-learn
On 07/04/2016 07:31 AM, Johannes Loher wrote: > In a project I am currently working on, I have lot's of code of the > following form: > > static immutable ubyte[4] sigma0 = [101, 120, 112, 97]; > static immutable ubyte[4] sigma1 = [110, 100, 32, 51]; > static immutable ubyte[4] sigma2 = [ 50,

Using electron for IDE development

2016-07-04 Thread tcak via Digitalmars-d
As far as I known, and FEEL, one of the biggest problems of IDE development is cross platform user interface development. I haven't started using, but Electron seems like a good tool to develop applications by using HTML, JS, CSS. Because it is based on node.js, it can run on many platforms.

Re: Initializing static array with contents of (static and dynamic) arrays

2016-07-04 Thread ZombineDev via Digitalmars-d-learn
On Monday, 4 July 2016 at 14:31:41 UTC, Johannes Loher wrote: In a project I am currently working on, I have lot's of code of the following form: static immutable ubyte[4] sigma0 = [101, 120, 112, 97]; static immutable ubyte[4] sigma1 = [110, 100, 32, 51]; static immutable ubyte[4] sigma2

Re: D is crap

2016-07-04 Thread Ola Fosheim Grøstad via Digitalmars-d
On Monday, 4 July 2016 at 07:58:29 UTC, ketmar wrote: On Monday, 4 July 2016 at 07:53:13 UTC, Ola Fosheim Grøstad wrote: Nah, this just means that you have gotten used to the quirks and learned to work around them and therefore no longer notice them as much. nope, i still hate all the things

Re: D is crap

2016-07-04 Thread Bauss via Digitalmars-d
On Monday, 4 July 2016 at 09:37:41 UTC, Chris wrote: On Sunday, 3 July 2016 at 04:37:02 UTC, D is crap wrote: [snip] I seriously don't know what to make of this post. It's a random compilation of complaints made about D over the last couple of years that lacks depth and useful information. As

Re: daffodil, a D image processing library

2016-07-04 Thread Edwin van Leeuwen via Digitalmars-d-announce
On Monday, 4 July 2016 at 15:10:30 UTC, Manu wrote: On 1 July 2016 at 18:19, Edwin van Leeuwen via Digitalmars-d-announce wrote: On Friday, 1 July 2016 at 08:11:37 UTC, Benjamin Schaaf wrote: On Friday, 1 July 2016 at 01:24:55 UTC, rikki cattermole

Re: daffodil, a D image processing library

2016-07-04 Thread Manu via Digitalmars-d-announce
On 1 July 2016 at 18:19, Edwin van Leeuwen via Digitalmars-d-announce wrote: > On Friday, 1 July 2016 at 08:11:37 UTC, Benjamin Schaaf wrote: >> >> On Friday, 1 July 2016 at 01:24:55 UTC, rikki cattermole wrote: >>> >>> On 01/07/2016 9:35 AM, Benjamin Schaaf

Re: [dpaste] compiler switch is broken

2016-07-04 Thread Seb via Digitalmars-d
On Monday, 4 July 2016 at 13:02:57 UTC, Nemanja Boric wrote: Not sure if the message should go here, but I can't find any contact info on dpaste. We've noticed today that compiler switch no longer works, it compiles only with latest DMD, no matter what option is chosen. Thanks! DPaste is

Initializing static array with contents of (static and dynamic) arrays

2016-07-04 Thread Johannes Loher via Digitalmars-d-learn
In a project I am currently working on, I have lot's of code of the following form: static immutable ubyte[4] sigma0 = [101, 120, 112, 97]; static immutable ubyte[4] sigma1 = [110, 100, 32, 51]; static immutable ubyte[4] sigma2 = [ 50, 45, 98, 121]; static immutable ubyte[4] sigma3 = [116,

[dpaste] compiler switch is broken

2016-07-04 Thread Nemanja Boric via Digitalmars-d
Not sure if the message should go here, but I can't find any contact info on dpaste. We've noticed today that compiler switch no longer works, it compiles only with latest DMD, no matter what option is chosen. Thanks!

Re: VRP and division/remainder by 0

2016-07-04 Thread Andrei Alexandrescu via Digitalmars-d
On 7/3/16 7:18 PM, deadalnix wrote: Question is, what should VRP do when the denum range contains 0 ? I see 2 way forward: - 0 will fault, so not yield a result - hardware will fault. It can be ignored when doing VRP. - denum with 0 return a full range for division, union result's range while

Re: D is crap

2016-07-04 Thread Andrea Fontana via Digitalmars-d
On Monday, 4 July 2016 at 09:37:41 UTC, Chris wrote: On Sunday, 3 July 2016 at 04:37:02 UTC, D is crap wrote: The reason why this post is not taken too seriously is not because people here are religious about D - a reproach that is often used to prevent any real discussion. No, it is because

Re: Commit size and Page fault's very large for simple program

2016-07-04 Thread Rene Zwanenburg via Digitalmars-d-learn
On Monday, 4 July 2016 at 11:42:40 UTC, Rene Zwanenburg wrote: ... I forgot to mention: If you're on Windows compilation defaults to 32 bit, false pointers can be a problem with D's current GC in 32 bit applications. This isn't an issue for the sample application though, since you're not

Re: Commit size and Page fault's very large for simple program

2016-07-04 Thread Rene Zwanenburg via Digitalmars-d-learn
On Monday, 4 July 2016 at 01:57:19 UTC, Hiemlick Hiemlicker wrote: version(Windows) void main() { import std.random; while(getchar() != EOF) { auto x = new int[std.random.uniform(100, 1000)]; writeln("");

Re: Ocean preview finally open sourced

2016-07-04 Thread Ola Fosheim Grøstad via Digitalmars-d-announce
On Monday, 4 July 2016 at 08:34:15 UTC, Andrea Fontana wrote: On Thursday, 30 June 2016 at 16:45:43 UTC, Leandro Lucarella wrote: Hello again Dland! I'm happy to finally announce the open sourcing of our Ocean base library, just it time to keep our word and make it in June ;-)

Re: D is crap

2016-07-04 Thread Chris via Digitalmars-d
On Sunday, 3 July 2016 at 04:37:02 UTC, D is crap wrote: [snip] I seriously don't know what to make of this post. It's a random compilation of complaints made about D over the last couple of years that lacks depth and useful information. As such, it could be mere trolling. If the poster on

Re: Battle-plan for CTFE

2016-07-04 Thread Stefan Koch via Digitalmars-d-announce
On Monday, 4 July 2016 at 07:33:48 UTC, ZombineDev wrote: On Monday, 4 July 2016 at 07:29:49 UTC, ZombineDev wrote: Nice work! Any chance that you could also improve AliasSeq algorithms, like those in std.meta to compile faster and use less memory during compilation? Or is that too different

Re: mago-mi: Mago debugger GDB MI compatible interface

2016-07-04 Thread Vadim Lopatin via Digitalmars-d-debugger
On Saturday, 2 July 2016 at 21:50:13 UTC, WebFreak001 wrote: ok I finally added mago-mi to code-debug. Now you can install the extension in visual studio code by typing `ext install Mago` into the Ctrl-P dialog. Great. Debug variables are not fully supported yet - it's impossible to expand

Re: one-file pure D decoders for vorbis, flac and mp3

2016-07-04 Thread ketmar via Digitalmars-d-announce
On Monday, 4 July 2016 at 08:18:29 UTC, Basile B. wrote: On Monday, 4 July 2016 at 07:33:19 UTC, ketmar wrote: for me, test player is happy playing 7-Zip archives as mp3s, for example. ;-) lol, does that sounds like if an hard-knee compressor limits the output ? i'd say that it is like

Small excavator

2016-07-04 Thread Keyiwa via Digitalmars-d
Sany SY16C hydraulic excavator is a brand new product of Sany mini excavator lineup that offer multiple special configurations suitable to use in different countries and regions, featuring high reliability, strong adaptability, convenient maintenance, environmental protection and high safety.

Re: Ocean preview finally open sourced

2016-07-04 Thread Andrea Fontana via Digitalmars-d-announce
On Thursday, 30 June 2016 at 16:45:43 UTC, Leandro Lucarella wrote: Hello again Dland! I'm happy to finally announce the open sourcing of our Ocean base library, just it time to keep our word and make it in June ;-)

Release vibe.d 0.7.29

2016-07-04 Thread Sönke Ludwig via Digitalmars-d-announce
Main changes over 0.7.28: - Drops support for DMD frontend 2.066.x and below and adds support up to 2.071.1 - Removes all deprecated functionality, as well as the libev driver - Contains considerable performance improvements for URLRouter - Contains a critical fix for the Json struct,

Re: one-file pure D decoders for vorbis, flac and mp3

2016-07-04 Thread Basile B. via Digitalmars-d-announce
On Monday, 4 July 2016 at 07:33:19 UTC, ketmar wrote: for me, test player is happy playing 7-Zip archives as mp3s, for example. ;-) lol, does that sounds like if an hard-knee compressor limits the output ?

Re: NanoVG and OUI ports

2016-07-04 Thread ketmar via Digitalmars-d-announce
also, i'm slowly working on Yet Another Immediage GUI Library based on Blendish and simplified flex box model. for now, it can do layouting (with line wrapping, and determining minimal window size) and has some basic controls, like buttons, labels, checkboxes. also, i changed NanoVG API a

Re: one-file pure D decoders for vorbis, flac and mp3

2016-07-04 Thread ketmar via Digitalmars-d-announce
On Monday, 4 July 2016 at 05:16:50 UTC, sam wrote: https://my.mixtape.moe/cjekko.mp3 pushed small update, it works now. i accidentally forgot to include ID3v2 tag skiping at all, sorry! ;-) thank you for report, feel free to report even more! ;-)

Re: D is crap

2016-07-04 Thread ketmar via Digitalmars-d
On Monday, 4 July 2016 at 07:53:13 UTC, Ola Fosheim Grøstad wrote: Nah, this just means that you have gotten used to the quirks and learned to work around them and therefore no longer notice them as much. nope, i still hate all the things i hated years ago, with the same passion. after all,

Re: D is crap

2016-07-04 Thread Ola Fosheim Grøstad via Digitalmars-d
On Monday, 4 July 2016 at 07:20:05 UTC, ketmar wrote: i'm guilty of this myself (ranting and so on), so i've been on both sides. when i just came to D, i've immediately noticed alot of obvious things that should be fixed for good, and sometimes wrote about that in "hey, listen to me, i know

Re: Battle-plan for CTFE

2016-07-04 Thread ZombineDev via Digitalmars-d-announce
On Monday, 4 July 2016 at 07:29:49 UTC, ZombineDev wrote: On Monday, 4 July 2016 at 01:54:29 UTC, Stefan Koch wrote: On Thursday, 30 June 2016 at 14:26:29 UTC, Stefan Koch wrote: On Thursday, 30 June 2016 at 14:17:30 UTC, Timon Gehr wrote: Sorry, I had missed this. I see you were able to

Re: one-file pure D decoders for vorbis, flac and mp3

2016-07-04 Thread ketmar via Digitalmars-d-announce
On Monday, 4 July 2016 at 05:16:50 UTC, sam wrote: But I noticed that any MP3 with embedded album art is reported as invalid by the library. Here's a sample one: https://my.mixtape.moe/cjekko.mp3 yep, mp3 detection is very basic. while it *tries* to do some work on it, you'd better not rely

Re: Battle-plan for CTFE

2016-07-04 Thread ZombineDev via Digitalmars-d-announce
On Monday, 4 July 2016 at 01:54:29 UTC, Stefan Koch wrote: On Thursday, 30 June 2016 at 14:26:29 UTC, Stefan Koch wrote: On Thursday, 30 June 2016 at 14:17:30 UTC, Timon Gehr wrote: Sorry, I had missed this. I see you were able to make progress. It's fine. Honestly the hardest thing was to

Re: D is crap

2016-07-04 Thread ketmar via Digitalmars-d
On Monday, 4 July 2016 at 00:17:20 UTC, Adam D. Ruppe wrote: D is similar to me: it makes things easier for me, so I use it. Saves a lot of time which is a reward itself. If it doesn't work for you, meh, whatever. yep. D is just a tool. a great tool, way better than most tools in the similar