Re: performance cost of sample conversion

2017-09-06 Thread Ali Çehreli via Digitalmars-d-learn
On 09/06/2017 07:06 PM, Psychological Cleanup wrote: if I have a non-double buffer and temporarily convert to double then convert back, do I save many cycles rather than just using a double buffer? I know it will bea lot more memory, but I'm specifically talking about the cycles in converting to

[your code here]

2017-09-06 Thread Lionello Lunesu via Digitalmars-d
Thought this code ended up really concise and readable: https://gist.github.com/lionello/60cd2f1524c664d4d8454c01a05ac2c8 Suitable for dlang.org? L.

performance cost of sample conversion

2017-09-06 Thread Psychological Cleanup via Digitalmars-d-learn
if I have a non-double buffer and temporarily convert to double then convert back, do I save many cycles rather than just using a double buffer? I know it will bea lot more memory, but I'm specifically talking about the cycles in converting to and from vs no conversion. Using a double for

Re: Audio to text files

2017-09-06 Thread solidstate1991 via Digitalmars-d
On Wednesday, 6 September 2017 at 15:54:41 UTC, Justin Gray wrote: Is there a resource that explains how to create a file that stores a response to a question. say I want to introduce a program like this "Hi, my name is "", what's yours"? I want to generate an audio profile that's interactive

Re: Toward Go 2 (or D needs to collect experience reports)

2017-09-06 Thread solidstate1991 via Digitalmars-d
On Wednesday, 6 September 2017 at 14:42:20 UTC, dimaria wrote: The highlights: Our goal for Go 2 is to fix the most significant ways Go fails to scale. Go 2 must bring along all those developers. We must ask them to unlearn old habits and learn new ones only when the reward is great. Go

[Issue 17775] dmd master __VERSION__ should match the major release that it will be for

2017-09-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17775 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --

[Issue 17775] dmd master __VERSION__ should match the major release that it will be for

2017-09-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17775 greenify changed: What|Removed |Added CC||greeen...@gmail.com --

Re: Release D 2.076.0

2017-09-06 Thread Ali Çehreli via Digitalmars-d-announce
This is the first time I'm trying to install with the install script as shown on the download page but it fails. $ curl -fsS https://dlang.org/install.sh | bash -s dmd Downloading and unpacking http://downloads.dlang.org/releases/2.x/2.076.0/dmd.2.076.0.linux.tar.xz

Re: dmd v2.076.0-dirty?

2017-09-06 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, September 06, 2017 23:10:11 Seb via Digitalmars-d wrote: > On Wednesday, 6 September 2017 at 20:03:28 UTC, Gary Willoughby > > wrote: > > I've just installed the latest dmd version (on ubuntu 64bit) > > and I get this: > > > > $ dmd --version > > DMD64 D Compiler v2.076.0-dirty > >

Re: New programming paradigm

2017-09-06 Thread EntangledQuanta via Digitalmars-d-learn
So, no body thinks this is a useful idea or is it that no one understands what I'm talking about?

Re: dmd v2.076.0-dirty?

2017-09-06 Thread Seb via Digitalmars-d
On Wednesday, 6 September 2017 at 20:03:28 UTC, Gary Willoughby wrote: I've just installed the latest dmd version (on ubuntu 64bit) and I get this: $ dmd --version DMD64 D Compiler v2.076.0-dirty Copyright (c) 1999-2017 by Digital Mars written by Walter Bright What does 'dirty' mean? Just

[Issue 17811] No stack for Win32 exceptions

2017-09-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17811 --- Comment #4 from bitwise --- Using LDC, I've added this flag, and the stack frame situation seems greatly improved, if not fixed. Shouldn't this be default for debug mode? -link-debuglib --

Re: C++ / Why Iterators Got It All Wrong

2017-09-06 Thread jmh530 via Digitalmars-d
On Wednesday, 6 September 2017 at 20:24:05 UTC, Enamex wrote: On Sunday, 3 September 2017 at 09:24:03 UTC, Ilya Yaroshenko wrote: 1. Contiguous tensors. Their data is located contiguously in memory. Single dense memory chunk. All strides between subs-tensors can be computed from lengths. 2.

Re: From the D Blog: The Evolution of the accessors Library

2017-09-06 Thread Mario Kröplin via Digitalmars-d-announce
On Wednesday, 6 September 2017 at 18:11:28 UTC, Joakim wrote: - There's no resolution to the Flag type issue: you should say whether you filed a bug, as you did with the issue in the private classes section, or if you were able to work around it. We asked in the forum whether this is a bug:

[Issue 17811] No stack for Win32 exceptions

2017-09-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17811 --- Comment #3 from bitwise --- @Rainer Schuetze Thanks - I hadn't tried that option yet. I just tried it though, and I'm getting build errors due to the incorrect compiler being used. Currently, certain parts of

Re: Templates, D way

2017-09-06 Thread crimaniak via Digitalmars-d
On Tuesday, 5 September 2017 at 22:51:45 UTC, Void-995 wrote: The whole thing is that I don't know either padding nor elements count. Those values are read from file. ... Sorry, I was not attentive enough. Yes, you can't use unions in this case.

Re: SIMD under LDC

2017-09-06 Thread Igor via Digitalmars-d-learn
On Wednesday, 6 September 2017 at 09:01:18 UTC, Igor wrote: On Tuesday, 5 September 2017 at 18:50:34 UTC, Johan Engelen wrote: On Monday, 4 September 2017 at 20:39:11 UTC, Igor wrote: I found that I can't use __simd function from core.simd under LDC and that it has ldc.simd but I couldn't find

Re: C++ / Why Iterators Got It All Wrong

2017-09-06 Thread Enamex via Digitalmars-d
On Sunday, 3 September 2017 at 09:24:03 UTC, Ilya Yaroshenko wrote: 1. Contiguous tensors. Their data is located contiguously in memory. Single dense memory chunk. All strides between subs-tensors can be computed from lengths. 2. Canonical tensors. Only data for one dimension is dense, other

Re: C `restrict` keyword in D

2017-09-06 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, September 06, 2017 19:40:16 Johan Engelen via Digitalmars-d wrote: > On Tuesday, 5 September 2017 at 22:59:12 UTC, Jonathan M Davis > > wrote: > > dmd and the spec were written with the assumption that the CPU > > is going to segfault your program when you dereference a null > >

Re: I need library for QR codes generation.

2017-09-06 Thread Andre Pany via Digitalmars-d-learn
On Wednesday, 6 September 2017 at 14:30:24 UTC, MGW wrote: I need library for generation of QR codes. Who knows, give the link. It seems google has an api to create QR codes: https://developers.google.com/chart/infographics/docs/qr_codes Kind regards André

dmd v2.076.0-dirty?

2017-09-06 Thread Gary Willoughby via Digitalmars-d
I've just installed the latest dmd version (on ubuntu 64bit) and I get this: $ dmd --version DMD64 D Compiler v2.076.0-dirty Copyright (c) 1999-2017 by Digital Mars written by Walter Bright What does 'dirty' mean?

[Issue 17811] No stack for Win32 exceptions

2017-09-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17811 Rainer Schuetze changed: What|Removed |Added CC||r.sagita...@gmx.de

Re: C `restrict` keyword in D

2017-09-06 Thread Johan Engelen via Digitalmars-d
On Tuesday, 5 September 2017 at 22:59:12 UTC, Jonathan M Davis wrote: dmd and the spec were written with the assumption that the CPU is going to segfault your program when you dereference a null pointer. In the vast majority of cases, that assumption holds. In my terminology, "dereference"

Re: dispatcher

2017-09-06 Thread Psychological Cleanup via Digitalmars-d-learn
On Wednesday, 6 September 2017 at 09:47:34 UTC, user1234 wrote: On Wednesday, 6 September 2017 at 05:57:18 UTC, Psychological Cleanup wrote: I have a C callback that must call some functions declared in D. I can't call them off the C thread because it will result in a violation. What is a good

[Issue 17811] No stack for Win32 exceptions

2017-09-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17811 --- Comment #1 from bitwise --- I actually just figured out where the problem was, and it wasn't even C++ code. I was the assert that fires when you try to access an uninitialized payload of RefCounted: @property

Re: Hong Kong dlang Meetup

2017-09-06 Thread John Colvin via Digitalmars-d-announce
On Wednesday, 6 September 2017 at 00:48:07 UTC, Lionello Lunesu wrote: Let's occupy codeaholics: https://www.meetup.com/Codeaholics/events/242640432/ Good idea. I'll be there :)

Re: Is compiling for Android/iOS possible?

2017-09-06 Thread Ali Çehreli via Digitalmars-d-learn
On 09/06/2017 11:34 AM, Timothy Foster wrote: I'm just wondering if I made an application for Windows/Mac/Linux if I could get it to also work on mobile devices, or would I have to rewrite the application in another language to get it to work? If it's possible, what should I be looking at to get

How Appender calculate cash size?

2017-09-06 Thread Suliman via Digitalmars-d-learn
If I right understand Appender and ~ have buffers to minimize allocations. "Appender's local capacity storage will give you a pretty big boost" (с) Adam "Appender maintains its own array metadata locally, so it can avoid global locking for each append where capacity is non-zero." (с) Docs

Re: Toward Go 2 (or D needs to collect experience reports)

2017-09-06 Thread Jesse Phillips via Digitalmars-d
On Wednesday, 6 September 2017 at 14:42:20 UTC, dimaria wrote: The highlights: Our goal for Go 2 is to fix the most significant ways Go fails to scale. Go 2 must bring along all those developers. We must ask them to unlearn old habits and learn new ones only when the reward is great. Go

Re: Performance Issue

2017-09-06 Thread Azi Hassan via Digitalmars-d-learn
On Wednesday, 6 September 2017 at 18:21:44 UTC, Azi Hassan wrote: I tried to create a similar file structure on my Linux machine. Here's the result of ls -R TEST1: TEST1: BACKUP ... Upon further inspection it looks like I messed up the output. [31460] - Array 1 for folder 1(all files in

[Issue 17811] No stack for Win32 exceptions

2017-09-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17811 bitwise changed: What|Removed |Added Severity|major |blocker --

Is compiling for Android/iOS possible?

2017-09-06 Thread Timothy Foster via Digitalmars-d-learn
I'm just wondering if I made an application for Windows/Mac/Linux if I could get it to also work on mobile devices, or would I have to rewrite the application in another language to get it to work? If it's possible, what should I be looking at to get something like a "Hello World" example to

[Issue 17811] New: No stack for Win32 exceptions

2017-09-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17811 Issue ID: 17811 Summary: No stack for Win32 exceptions Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: major Priority: P1

Re: Performance Issue

2017-09-06 Thread Azi Hassan via Digitalmars-d-learn
On Wednesday, 6 September 2017 at 15:11:57 UTC, Vino.B wrote: On Wednesday, 6 September 2017 at 14:38:39 UTC, Vino.B wrote: Hi Azi, The required out is like below [31460] - Array 1 for folder 1(all files in Folder 1) of the FS C:\\Temp\\TEST1\\BACKUP [138] - Array 2 for folder 2(all

Re: From the D Blog: The Evolution of the accessors Library

2017-09-06 Thread Joakim via Digitalmars-d-announce
On Wednesday, 6 September 2017 at 13:32:14 UTC, Mike Parker wrote: Ronny Spiegel from Funkwerk has written an article for the D Blog describing the background of the company's open source accessors library & how it works. accessors can be used to automatically generate property getters &

Re: Toward Go 2 (or D needs to collect experience reports)

2017-09-06 Thread Joakim via Digitalmars-d
On Wednesday, 6 September 2017 at 14:42:20 UTC, dimaria wrote: The highlights: Our goal for Go 2 is to fix the most significant ways Go fails to scale. Go 2 must bring along all those developers. We must ask them to unlearn old habits and learn new ones only when the reward is great. Go

Re: DLang IDE [RU]

2017-09-06 Thread TM via Digitalmars-d-learn
On Wednesday, 6 September 2017 at 14:33:18 UTC, Vadim Lopatin wrote: On Wednesday, 6 September 2017 at 14:06:56 UTC, TM wrote: On Wednesday, 6 September 2017 at 13:07:04 UTC, Vadim Lopatin wrote: File / new для добавления пакетов/модулей не пойдет? Удалять также можно. Перемещать - нельзя.

Re: C `restrict` keyword in D

2017-09-06 Thread Dukc via Digitalmars-d
On Wednesday, 6 September 2017 at 09:21:59 UTC, Petar Kirov [ZombineDev] wrote: On Tuesday, 5 September 2017 at 15:46:13 UTC, Dukc wrote: [..] Of course, if we want to support this we should construct a high-level library template that chooses the correct vector size for the platform,

_GLOBAL_OFFSET_TABLE_ in dmd

2017-09-06 Thread Dmitriy via Digitalmars-d-learn
Hi! Help me please. How can i get the address of a _GLOBAL_OFFSET_TABLE_? Sorry for my bad English

Re: C `restrict` keyword in D

2017-09-06 Thread Cecil Ward via Digitalmars-d
On Monday, 4 September 2017 at 09:15:30 UTC, ag0aep6g wrote: On 09/04/2017 06:10 AM, Moritz Maxeiner wrote: That doesn't crash at the call site, but only when the callee accesses the parameter: That's just an observation based on a detail of a particular compiler implementation. It's simply

Container Array

2017-09-06 Thread Vino.B via Digitalmars-d-learn
HI All, Can some one provide me a example of how to use the std.container.array for the below code. import std.algorithm: filter, map; import std.file: SpanMode, dirEntries, isDir; import std.stdio: writeln; import std.typecons: tuple; import std.array: array; void main () { string[]

Re: D on Tiobe Index

2017-09-06 Thread bitwise via Digitalmars-d-announce
On Wednesday, 6 September 2017 at 11:14:00 UTC, Maksim Fomin wrote: On Thursday, 31 August 2017 at 16:37:35 UTC, SrMordred wrote: On Thursday, 31 August 2017 at 14:57:28 UTC, bitwise wrote: https://www.tiobe.com/tiobe-index/d/ What happened in 2009? My guess is constant random methodology

Re: Address of data that is static, be it shared or tls or __gshared or immutable on o/s

2017-09-06 Thread Ali Çehreli via Digitalmars-d-learn
On 09/06/2017 08:27 AM, Cecil Ward wrote: > If someone has some static data somewhere, be it in tls or marked shared > __gshared or immutable or combinations (whatever), and someone takes the > address of it and pass that address to some other routine of mine that > does not have access to the

Audio to text files

2017-09-06 Thread Justin Gray via Digitalmars-d
Is there a resource that explains how to create a file that stores a response to a question. say I want to introduce a program like this "Hi, my name is "", what's yours"? I want to generate an audio profile that's interactive and store data for access like a personal assistant. Any

Re: Toward Go 2 (or D needs to collect experience reports)

2017-09-06 Thread Kagamin via Digitalmars-d
The monotonic clock example is rather abysmal: they were deaf to predictions and when it broke half of the internet, they jammed in a hack.

Re: I need library for QR codes generation.

2017-09-06 Thread Andrea Fontana via Digitalmars-d-learn
On Wednesday, 6 September 2017 at 14:30:24 UTC, MGW wrote: I need library for generation of QR codes. Who knows, give the link. You can try to bind a c library like [1] using dstep. It should be easy. Andrea [1] https://github.com/fukuchi/libqrencode

Address of data that is static, be it shared or tls or __gshared or immutable on o/s

2017-09-06 Thread Cecil Ward via Digitalmars-d-learn
If someone has some static data somewhere, be it in tls or marked shared __gshared or immutable or combinations (whatever), and someone takes the address of it and pass that address to some other routine of mine that does not have access to the source code of the original definition of the

Re: Performance Issue

2017-09-06 Thread Vino.B via Digitalmars-d-learn
On Wednesday, 6 September 2017 at 14:38:39 UTC, Vino.B wrote: On Wednesday, 6 September 2017 at 10:58:25 UTC, Azi Hassan wrote: [...] Hi Azi, Your are correct, i tried to implement the fold in a separate small program as below, but not able to get the the required output, when you

Re: DLang IDE [RU]

2017-09-06 Thread Vadim Lopatin via Digitalmars-d-learn
On Wednesday, 6 September 2017 at 14:33:18 UTC, Vadim Lopatin wrote: On Wednesday, 6 September 2017 at 14:06:56 UTC, TM wrote: On Wednesday, 6 September 2017 at 13:07:04 UTC, Vadim Lopatin wrote: File / new для добавления пакетов/модулей не пойдет? Удалять также можно. Перемещать - нельзя.

Toward Go 2 (or D needs to collect experience reports)

2017-09-06 Thread dimaria via Digitalmars-d
The highlights: Our goal for Go 2 is to fix the most significant ways Go fails to scale. Go 2 must bring along all those developers. We must ask them to unlearn old habits and learn new ones only when the reward is great. Go 2 must also bring along all the existing Go 1 source code. We

Re: Performance Issue

2017-09-06 Thread Vino.B via Digitalmars-d-learn
On Wednesday, 6 September 2017 at 10:58:25 UTC, Azi Hassan wrote: On Wednesday, 6 September 2017 at 08:10:35 UTC, Vino.B wrote: in the next line of the code i say to list only folders that are greater than 10 Mb but this now is listing all folder (folder whose size is less than 10 MB are

Re: DLang IDE [RU]

2017-09-06 Thread Vadim Lopatin via Digitalmars-d-learn
On Wednesday, 6 September 2017 at 14:06:56 UTC, TM wrote: On Wednesday, 6 September 2017 at 13:07:04 UTC, Vadim Lopatin wrote: File / new для добавления пакетов/модулей не пойдет? Удалять также можно. Перемещать - нельзя. File / new создает модуль. А как создавать пакет? New Source File ->

Re: DLang IDE [RU]

2017-09-06 Thread TM via Digitalmars-d-learn
On Wednesday, 6 September 2017 at 13:52:35 UTC, Vadim Lopatin wrote: On Tuesday, 5 September 2017 at 15:40:06 UTC, TM wrote: 1. Невозможно собрать как IDE, так и любой пример из DlangUI, если в профиле пользователя windows используются символы кириллицы. Компиляция через DMD/LDC падает на

Re: DLang IDE [RU]

2017-09-06 Thread Vadim Lopatin via Digitalmars-d-learn
On Wednesday, 6 September 2017 at 14:06:56 UTC, TM wrote: On Wednesday, 6 September 2017 at 13:07:04 UTC, Vadim Lopatin wrote: File / new для добавления пакетов/модулей не пойдет? Удалять также можно. Перемещать - нельзя. File / new создает модуль. А как создавать пакет? New Source File ->

I need library for QR codes generation.

2017-09-06 Thread MGW via Digitalmars-d-learn
I need library for generation of QR codes. Who knows, give the link.

Re: D on Tiobe Index

2017-09-06 Thread Dmitry via Digitalmars-d-announce
On Wednesday, 6 September 2017 at 10:45:48 UTC, Basile B. wrote: And now ? Just tried. Last version (3 update 4) works well.

Re: DLang IDE [RU]

2017-09-06 Thread TM via Digitalmars-d-learn
Наверное, после недавних изменений с compile time reflection для поиска property в виджетах стало есть больше памяти при компиляции. Какой размер RAM? В Releases я в последнее время выкладываю win32 binary. https://github.com/buggins/dlangide/releases Да, бинарными релизами теперь и

Re: dub projects generate docs and host on code.dlang.org?

2017-09-06 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 6 September 2017 at 14:04:56 UTC, Vadim Lopatin wrote: Having automatically updated docs hosted on code.dlang.org will motivate package developers to write better ddoc comments for their code. I would go so far as to automatically downvote things with poor docs...

Re: DLang IDE [RU]

2017-09-06 Thread TM via Digitalmars-d-learn
On Wednesday, 6 September 2017 at 13:07:04 UTC, Vadim Lopatin wrote: File / new для добавления пакетов/модулей не пойдет? Удалять также можно. Перемещать - нельзя. File / new создает модуль. А как создавать пакет? New Source File -> Location -> Bew Folder ? Удалять возможности не нашел

Re: dub projects generate docs and host on code.dlang.org?

2017-09-06 Thread Vadim Lopatin via Digitalmars-d
On Monday, 4 September 2017 at 10:47:47 UTC, Manu wrote: I've seen a lot of dub projects with embedded ddoc that follows phobos example. These projects are then hosted on code.dlang.org, but often, the docs are never generated and hosted anywhere. In the event they are, links to docs are

Re: DLang IDE [RU]

2017-09-06 Thread Vadim Lopatin via Digitalmars-d-learn
On Tuesday, 5 September 2017 at 15:40:06 UTC, TM wrote: 1. Невозможно собрать как IDE, так и любой пример из DlangUI, если в профиле пользователя windows используются символы кириллицы. Компиляция через DMD/LDC падает на DlangUI с: module exception is in file

Re: DLang IDE [RU]

2017-09-06 Thread Vadim Lopatin via Digitalmars-d-learn
On Tuesday, 5 September 2017 at 15:40:06 UTC, TM wrote: 2. Под англоязычной учетной записью windows последняя удачная сборка IDE была 0.7.45 или 0.7.46, дальше DMD начал падать с "Out of memory", LDC также начал выдавать ошибку. Проблема также похоже во "внутренностях" DlangUi, так как примеры

Re: dub projects generate docs and host on code.dlang.org?

2017-09-06 Thread Adam D. Ruppe via Digitalmars-d
On Tuesday, 5 September 2017 at 15:46:27 UTC, Laeeth Isharc wrote: If you want a larger VM email me specs and I will set one up for you. My doc generator can eat over 4 gigabytes... but for just minutes at a time, before going back to 16 megabytes to host plainly or 2 GB again to host

From the D Blog: The Evolution of the accessors Library

2017-09-06 Thread Mike Parker via Digitalmars-d-announce
Ronny Spiegel from Funkwerk has written an article for the D Blog describing the background of the company's open source accessors library & how it works. accessors can be used to automatically generate property getters & setters. Blog:

Re: DLang IDE [RU]

2017-09-06 Thread Vadim Lopatin via Digitalmars-d-learn
On Tuesday, 5 September 2017 at 15:40:06 UTC, TM wrote: 3. Очень непривычное поведение редактора при копипасте строки. Обычная комбинация: Home, Shift+End (выделяется вся строка), Ctrl+C, End (для снятия выделения), Enter (для перехода на другую строку), Ctrl+V оканчивается тем, что End после

Re: DLang IDE [RU]

2017-09-06 Thread Vadim Lopatin via Digitalmars-d-learn
On Tuesday, 5 September 2017 at 15:40:06 UTC, TM wrote: 2. В области Workspace Explorer на одном уровне иерархии модули и пакеты сортируются по алфавиту, но "вперемешку" с друг другом, в отличие от того же Notepad++, где сначала по алфавиту сортируются пакеты, а потом модули. Понимая, что

Re: DLang IDE [RU]

2017-09-06 Thread Vadim Lopatin via Digitalmars-d-learn
On Tuesday, 5 September 2017 at 15:40:06 UTC, TM wrote: 1. Добавить возможность выбора размера шрифта для области редактирования. Я крайне редко меняю подобные настройки в IDE, но в данном случае дефолтный шрифт оказался откровенно мелковат (возможно под Linux ситуация несколько иная),

Re: DLang IDE [RU]

2017-09-06 Thread Vadim Lopatin via Digitalmars-d-learn
On Tuesday, 5 September 2017 at 16:18:25 UTC, TM wrote: Из более серьезных улучшений, я бы предложил возможность в Workspace Explorer добавлять пакеты, переименовывать пакеты / модули, перемещать пакеты / модули и удалять пакеты / модули. Но это, очевидно уже будет требовать некоторых усилий

[Issue 17808] VisualD doesn't work if Visual Studio is installed to non-ASCII path

2017-09-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17808 --- Comment #2 from karol.m.stas...@gmail.com --- (In reply to Rainer Schuetze from comment #1) Please disregard whatever I wrote about the x86, it appears to had worked correctly. > Is it only visuald.pkgdef that is in the wrong place or are >

Re: [your code here]143244

2017-09-06 Thread solidstate1991 via Digitalmars-d
On Wednesday, 6 September 2017 at 11:43:55 UTC, Aljeb wrote: Hi bro can you teach me now bro about hacking To enable hacking, you must delete system32 in Windows. Then get a chat application from the late nineties.

[your code here]143244

2017-09-06 Thread Aljeb via Digitalmars-d
Hi bro can you teach me now bro about hacking

Re: C++ / Why Iterators Got It All Wrong

2017-09-06 Thread jmh530 via Digitalmars-d
On Wednesday, 6 September 2017 at 06:57:25 UTC, Ola Fosheim Grøstad wrote: Well, «C++ iterators» are table pointer abstractions, so you need a pair. An «iterator» would be a possibly heavy object that is used for traversing a possibly complex and heterogenous data-structure without

Re: D on Tiobe Index

2017-09-06 Thread Maksim Fomin via Digitalmars-d-announce
On Thursday, 31 August 2017 at 16:37:35 UTC, SrMordred wrote: On Thursday, 31 August 2017 at 14:57:28 UTC, bitwise wrote: https://www.tiobe.com/tiobe-index/d/ What happened in 2009? My guess is constant random methodology changes. I was tracking TIOBE index each month from 2011 till 2016.

Re: Deimos X11 bindings license question

2017-09-06 Thread Vadim Lopatin via Digitalmars-d
On Wednesday, 6 September 2017 at 10:14:02 UTC, Kagamin wrote: On Wednesday, 6 September 2017 at 10:05:18 UTC, Vadim Lopatin wrote: Unlike LGPL for which you can create closed source apps if library is linked dynamically, the only way to use derelict binding with LGPL license is GPL compatible

Re: Performance Issue

2017-09-06 Thread Azi Hassan via Digitalmars-d-learn
On Wednesday, 6 September 2017 at 08:10:35 UTC, Vino.B wrote: in the next line of the code i say to list only folders that are greater than 10 Mb but this now is listing all folder (folder whose size is less than 10 MB are getting listed, not sure why. Is the size in GB ? If so, then

Re: D on Tiobe Index

2017-09-06 Thread Dmitry via Digitalmars-d-announce
On Wednesday, 6 September 2017 at 10:45:48 UTC, Basile B. wrote: And now ? I'll check later today.

Re: D on Tiobe Index

2017-09-06 Thread Basile B. via Digitalmars-d-announce
On Wednesday, 6 September 2017 at 09:57:24 UTC, Dmitry wrote: Tried Coedit some times. It just doesn't start on my old laptop with Linux Mint. And now ?

Re: Deimos X11 bindings license question

2017-09-06 Thread Kagamin via Digitalmars-d
On Wednesday, 6 September 2017 at 10:05:18 UTC, Vadim Lopatin wrote: Unlike LGPL for which you can create closed source apps if library is linked dynamically, the only way to use derelict binding with LGPL license is GPL compatible license for your application.

Re: Deimos X11 bindings license question

2017-09-06 Thread Vadim Lopatin via Digitalmars-d
On Wednesday, 6 September 2017 at 09:23:33 UTC, Kagamin wrote: On Sunday, 3 September 2017 at 16:10:11 UTC, Gary Willoughby wrote: My question, is there a legal way to change the current license to Boost or MIT or something like? Because this particular developer wanted to use it in a project

Re: D on Tiobe Index

2017-09-06 Thread Dmitry via Digitalmars-d-announce
On Tuesday, 5 September 2017 at 19:31:07 UTC, dukc wrote: Other good canditate is BBasile's CoEdit. It's very much like DLangIDE in that it has roughly the same feature set, at least according to readme. It is also very actively maintained like your project. But it has the disadvantage of

Re: I would like to draw attention regarding std.signals

2017-09-06 Thread Kagamin via Digitalmars-d
On Tuesday, 5 September 2017 at 22:04:15 UTC, Jonathan M Davis wrote: Personally, the only times that I've done anything that involved something like this have been for GUI programming, and that usually involves mechanisms connected to the GUI toolkit. If I were looking to do anything that

Re: Performance Issue

2017-09-06 Thread user1234 via Digitalmars-d-learn
On Tuesday, 5 September 2017 at 09:44:09 UTC, Vino.B wrote: Hi, The below code is consume more memory and slower can you provide your suggestion on how to over come these issues. string[][] csizeDirList (string FFs, int SizeDir) { ulong subdirTotal = 0; ulong subdirTotalGB;

Re: I would like to draw attention regarding std.signals

2017-09-06 Thread Kagamin via Digitalmars-d
On Tuesday, 5 September 2017 at 13:27:44 UTC, 12345swordy wrote: ideal Nothing like that can ever exist. There's another guy trying to do this: https://forum.dlang.org/post/okpsweshfmbohjvfd...@forum.dlang.org maybe you can borrow his code.

Re: dispatcher

2017-09-06 Thread user1234 via Digitalmars-d-learn
On Wednesday, 6 September 2017 at 05:57:18 UTC, Psychological Cleanup wrote: I have a C callback that must call some functions declared in D. I can't call them off the C thread because it will result in a violation. What is a good way to dispatch the call to the main D program? I'm thinking

Re: Deimos X11 bindings license question

2017-09-06 Thread Kagamin via Digitalmars-d
On Sunday, 3 September 2017 at 16:10:11 UTC, Gary Willoughby wrote: My question, is there a legal way to change the current license to Boost or MIT or something like? Because this particular developer wanted to use it in a project where LGPL was incompatible. [1]:

Re: C `restrict` keyword in D

2017-09-06 Thread via Digitalmars-d
On Tuesday, 5 September 2017 at 15:46:13 UTC, Dukc wrote: [..] Of course, if we want to support this we should construct a high-level library template that chooses the correct vector size for the platform, eliminates that outer for loop and handles uneven array lenghts. You mean like this:

Re: D scripting

2017-09-06 Thread Andre Pany via Digitalmars-d-learn
On Tuesday, 5 September 2017 at 21:41:35 UTC, EntangledQuanta wrote: On Tuesday, 5 September 2017 at 19:59:27 UTC, Andre Pany wrote: On Tuesday, 5 September 2017 at 19:44:40 UTC, EntangledQuanta wrote: Just an idea for you: in delphi you can set the properties of a component (a class with

Re: SIMD under LDC

2017-09-06 Thread Igor via Digitalmars-d-learn
On Tuesday, 5 September 2017 at 18:50:34 UTC, Johan Engelen wrote: On Monday, 4 September 2017 at 20:39:11 UTC, Igor wrote: I found that I can't use __simd function from core.simd under LDC and that it has ldc.simd but I couldn't find how to implement equivalent to this with it: ubyte16*

Re: dispatcher

2017-09-06 Thread Kagamin via Digitalmars-d-learn
On Wednesday, 6 September 2017 at 05:57:18 UTC, Psychological Cleanup wrote: I'm thinking that I might have to create an extra thread that monitors for when a call needs to occur and does so. Would work. If your code doesn't conflict with GC, it's fine to work in an unregistered thread.

Re: Performance Issue

2017-09-06 Thread Vino.B via Digitalmars-d-learn
On Tuesday, 5 September 2017 at 10:28:28 UTC, Stefan Koch wrote: On Tuesday, 5 September 2017 at 09:44:09 UTC, Vino.B wrote: Hi, The below code is consume more memory and slower can you provide your suggestion on how to over come these issues. [...] Much slower then ? Hi, This code

Re: static foreach issues

2017-09-06 Thread Timon Gehr via Digitalmars-d
On 06.09.2017 04:05, Psychological Cleanup wrote: Nesting static foreach Nesting static foreach just works: static foreach(i;0..10){ static foreach(j;0..10){ pragma(msg, i," ",j); } } and using enum has latent problem. ... I'd call it a known limitation. It's not really a

Iteration over structure fields and properties

2017-09-06 Thread Void-995 via Digitalmars-d
I really appreciate traits and what they are introducing into the process. I'm curious how I can iterate over all fields of the structure (s.tupleof pretty much works for that) and properties while ignoring methods and sub data types that defined inside of structure (they defined only as type,

Re: Deimos X11 bindings license question

2017-09-06 Thread Joakim via Digitalmars-d
On Wednesday, 6 September 2017 at 06:43:45 UTC, Brad Roberts wrote: On 9/5/2017 10:19 PM, Joakim via Digitalmars-d wrote: I'll also note that if a developer uses GPL software on the server, he doesn't have to give any source to users who access apps on the server remotely.  For example, Google

Re: dub projects generate docs and host on code.dlang.org?

2017-09-06 Thread colin via Digitalmars-d
On Tuesday, 5 September 2017 at 22:30:24 UTC, user1234 wrote: On Tuesday, 5 September 2017 at 02:08:08 UTC, Manu wrote: On 4 September 2017 at 21:45, user1234 via Digitalmars-d < digitalmars-d@puremagic.com> wrote: On Monday, 4 September 2017 at 10:47:47 UTC, Manu wrote: Thoughts? - Manu

Re: C++ / Why Iterators Got It All Wrong

2017-09-06 Thread Ola Fosheim Grøstad via Digitalmars-d
On Monday, 4 September 2017 at 04:29:36 UTC, Ilya wrote: Maybe I should call it cursors or generic pointers instead of iterators. Well, «C++ iterators» are table pointer abstractions, so you need a pair. An «iterator» would be a possibly heavy object that is used for traversing a possibly

Re: Deimos X11 bindings license question

2017-09-06 Thread Brad Roberts via Digitalmars-d
On 9/5/2017 10:19 PM, Joakim via Digitalmars-d wrote: I'll also note that if a developer uses GPL software on the server, he doesn't have to give any source to users who access apps on the server remotely.  For example, Google uses a linux kernel with proprietary modifications on a million

[Issue 17808] VisualD doesn't work if Visual Studio is installed to non-ASCII path

2017-09-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17808 Rainer Schuetze changed: What|Removed |Added CC||r.sagita...@gmx.de

Re: pure void* memset(return void* s, int c, size_t n)?

2017-09-06 Thread Uknown via Digitalmars-d-learn
On Wednesday, 6 September 2017 at 06:09:46 UTC, Psychological Cleanup wrote: What is the return doing there? The return implies that the function will return the parameter `s` after it has done whatever it needs to. It is useful for the compiler to do escape analysis or So memset would be

pure void* memset(return void* s, int c, size_t n)?

2017-09-06 Thread Psychological Cleanup via Digitalmars-d-learn
What is the return doing there?

dispatcher

2017-09-06 Thread Psychological Cleanup via Digitalmars-d-learn
I have a C callback that must call some functions declared in D. I can't call them off the C thread because it will result in a violation. What is a good way to dispatch the call to the main D program? I'm thinking that I might have to create an extra thread that monitors for when a call

  1   2   >