On Sunday, 12 November 2017 at 22:39:36 UTC, Walter Bright wrote:
On 11/10/2017 2:54 PM, codephantom wrote:
MSFT fanboy...at it again...
Knock it off, everyone.
Oh gee..Sorry daddy.
...maybe you have jumped in a few 100 threads ago, and addressed
your response to the actual perpertrator
https://issues.dlang.org/show_bug.cgi?id=16398
Basile B. changed:
What|Removed |Added
Keywords||pull
--- Comment #2 from
https://issues.dlang.org/show_bug.cgi?id=12064
Basile B. changed:
What|Removed |Added
Keywords||pull
CC|
On Sunday, 12 November 2017 at 21:45:56 UTC, Anonymouse wrote:
But a "status change" for a reading Socket is "stuff can now
connect", for a writing one "connection established", and not
sure about the error ones. It doesn't seem to be "there's data
waiting to be read" which I'd hoped for,
I am getting the message from my program execution:
"Segmentation fault (core dumped)"
But I don't see a core file in the current directory or in my
home directory. Is there one somewhere? Would I be able to do
anything meaningful with it if it exists?
On Sunday, 12 November 2017 at 08:04:37 UTC, MGW wrote:
QtE5 - gained further development. The new mechanism of
operation with memory
is realized that allowed will get rid of crash of applications
in case of completion.
The summary code amount increases all the time. New classes
from Qt are
On 11/8/2017 1:36 PM, Joakim wrote:
You don't want to own up to the fact that
Please refrain from berating others here.
On Sunday, 12 November 2017 at 00:24:31 UTC, codephantom wrote:
On Saturday, 11 November 2017 at 20:35:40 UTC, Jerry wrote:
Taking away the start button wasn't that big of a deal.
Thanks...another qoute to add to:
'The famous quotes of Jerry the MSFT fanboy'.
It's easy to take a single
On Sunday, 12 November 2017 at 16:47:02 UTC, bauss wrote:
I told you once and I'll tell you twice.
I'm definitely not a MSFT fan boy.
The only thing I have in my development environment that's
related to MS is their linker from Visual Studio, but I don't
have anything else installed from
On Monday, 13 November 2017 at 00:47:46 UTC, codephantom wrote:
On Monday, 13 November 2017 at 00:41:32 UTC, Jerry wrote:
harassing people isn't defending your argument.
Yeah...it's not nice...being harassed..is it.
You have to be harassed to know what if feels like.
That was my objective.
On Monday, 13 November 2017 at 01:03:17 UTC, helxi wrote:
In this program, casting using to does not work as intended
(returning 23/11) on the struct. However, calling opCast
directly seems to do the job. Why is that?
to!string calls a function called `string toString() {}` on the
struct,
On 11/10/2017 3:28 AM, Joakim wrote:
Your logic is extremely confused.
[...]
You seem to be confused
Please stop berating others here.
On Monday, 13 November 2017 at 05:37:12 UTC, codephantom wrote:
On Monday, 13 November 2017 at 05:01:18 UTC, Tony wrote:
I am getting the message from my program execution:
"Segmentation fault (core dumped)"
But I don't see a core file in the current directory or in my
home directory. Is
On Monday, 13 November 2017 at 00:22:46 UTC, codephantom wrote:
It's so like people these days, and even on these forums, to
attack the ones sticking up for themselves, rather than
stopping them from being attacked in the first place, just for
having a different opinion - or god
On Monday, 13 November 2017 at 00:40:29 UTC, codephantom wrote:
On Monday, 13 November 2017 at 00:36:17 UTC, Jerry wrote:
It's easy to take a single sentence out of context maybe i
should just keep everything as one long protruding sentence so
that you are forced to quote everything so that
On Monday, 13 November 2017 at 00:36:17 UTC, Jerry wrote:
It's easy to take a single sentence out of context maybe i
should just keep everything as one long protruding sentence so
that you are forced to quote everything so that you you won't
misinterpret what it means by what I don't know
On Saturday, 11 November 2017 at 14:11:50 UTC, Neia Neutuladh
wrote:
I can make a prebuild script to generate code for this, but I'm
wondering: do other people find themselves needing this
periodically? If so, I can write a DIP for it, or at least
publish a codegen tool that other people can
struct Fraction
{
private:
int numerator = 1, denominator = 1;
public:
string opCast(T : string)() const
{
import std.conv : to;
return numerator.to!string() ~ "/" ~ denominator.to!string();
}
}
void main()
{
import
On Wednesday, 8 November 2017 at 09:40:01 UTC, Theresa Henson
wrote:
The update is compatible with the latest Android OS as well as
all others over Android 4.0
Was this (at least partly) developed using D? Or you just using
the forum to promote this product?
On 11/12/2017 10:25 PM, Tony wrote:
>>> "Segmentation fault (core dumped)"
I've been assuming that if it says "dumped", the core is dumped.
> I am on Ubuntu 16.04. Thanks, I didn't know that "producing a core file"
> was configurable, and it appears that it isn't.
It is. If you search for
https://issues.dlang.org/show_bug.cgi?id=17976
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=17976
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/bfa0da8d413ed283868fcd103ee398e41a29deef
Fix Issue 17976 -
On Sunday, 12 November 2017 at 16:47:02 UTC, bauss wrote:
I told you once and I'll tell you twice.
I'm definitely not a MSFT fan boy.
Well, you were pretty quick to jump into the middle of a
conversation, just to have a long..drawn outgo at me, because
I had some critical comments to
On Monday, 13 November 2017 at 00:41:32 UTC, Jerry wrote:
You weren't attacked and you aren't a victim ...
Another quote to add..thanks.
Keep em' coming... I could make money of this...
On Monday, 13 November 2017 at 00:41:32 UTC, Jerry wrote:
harassing people isn't defending your argument.
Yeah...it's not nice...being harassed..is it.
You have to be harassed to know what if feels like.
That was my objective. Not to harass you, but to let you know how
I felt when you
On Sunday, 12 November 2017 at 15:57:19 UTC, kinke wrote:
Hi everyone,
on behalf of the LDC team, I'm glad to announce the first beta
for LDC 1.6. The highlights of this version in a nutshell:
* Based on D 2.076.1.
* Experimental support for dynamic codegen at runtime ('manual
JIT').
*
On Friday, 25 August 2017 at 21:25:37 UTC, Enjoys Math wrote:
Something like this:
module file_watcher;
import std.concurrency;
import std.file;
import std.signals;
import std.datetime;
void fileWatcher(Tid tid, string filename, int loopSleep) {
auto modified0 =
On Monday, 13 November 2017 at 05:01:18 UTC, Tony wrote:
I am getting the message from my program execution:
"Segmentation fault (core dumped)"
But I don't see a core file in the current directory or in my
home directory. Is there one somewhere? Would I be able to do
anything meaningful with
On Sunday, 12 November 2017 at 13:34:50 UTC, Dmitry Olshansky
wrote:
if (a & (flag1 | flag2))
to
if ((a & (flag1 | flag2)) != 0)
When the first is quite obvious.
Just change the typing of the if-conditional to:
if (boolean|integral) {…}
On Sunday, 12 November 2017 at 16:00:28 UTC, Ola Fosheim Grøstad
wrote:
On Sunday, 12 November 2017 at 13:34:50 UTC, Dmitry Olshansky
wrote:
if (a & (flag1 | flag2))
to
if ((a & (flag1 | flag2)) != 0)
When the first is quite obvious.
Just change the typing of the if-conditional to:
if
On Sunday, 12 November 2017 at 02:07:03 UTC, codephantom wrote:
On Saturday, 11 November 2017 at 20:35:40 UTC, Jerry wrote:
When I joined the forum a little while back, I dared to
suggest that D should be able to compile a 64bit binary on
Windows, without having to relying on gigabytes of
On Sunday, 12 November 2017 at 10:18:09 UTC, Tony wrote:
But those humans at the top, working for public companies, are
monitored by a board and stockholders who place "making money"
as the main, and normally only, measure of their job
performance.
Sure, when you get a leader that is weak on
On Sunday, 12 November 2017 at 16:04:59 UTC, Temtaime wrote:
There's no force change.
if explicitly converts cond to bool.
Yes, but that is a flaw IMO. E.g. NaN will convert to true.
On Sunday, 12 November 2017 at 13:34:50 UTC, Dmitry Olshansky
wrote:
However, I’d hate to rewrite things like:
if (a & (flag1 | flag2))
to
if ((a & (flag1 | flag2)) != 0)
When the first is quite obvious.
I don't think the proposal to deprecate integer literal
conversions to `bool` would
Have anybody added logic to Emacs' `comment-dwim` that
automagically inserts a (Ddoc-style) multi-line comment like
/** ...
*/
void foo
{
}
if the cursor is currently in front of a (function) definition
(or declaration)?
I realize that the challenge here is context detection; perhaps
On Sunday, 12 November 2017 at 12:52:48 UTC, Nordlöw wrote:
Have anybody added logic to Emacs' `comment-dwim` that
automagically inserts a (Ddoc-style) multi-line comment like
Posted also here:
https://stackoverflow.com/questions/47249052/automatic-insertion-of-multiline-declaration-comments
On Sunday, 12 November 2017 at 12:52:48 UTC, Nordlöw wrote:
Have anybody added logic to Emacs' `comment-dwim` that
automagically inserts a (Ddoc-style) multi-line comment like
/** ...
*/
void foo
{
}
if the cursor is currently in front of a (function) definition
(or declaration)?
I
On Sunday, 12 November 2017 at 13:49:51 UTC, Michael V. Franklin
wrote:
I don't think the proposal to deprecate integer literal
conversions to `bool` would affect that as there doesn't appear
to be an integer literal in the code.
Nevermind. I see what you mean now.
Mike
On Sunday, 12 November 2017 at 04:40:21 UTC, codephantom wrote:
On Sunday, 12 November 2017 at 01:00:46 UTC, bauss wrote:
I'm tired so I will end my post here.
And I'm going to end all my posts here, cause I'm sick of
arguing with MSFT fanboys, who want to restrain D's development
by tying
https://issues.dlang.org/show_bug.cgi?id=17979
Alexey Kulentsov changed:
What|Removed |Added
Hardware|x86_64 |All
https://issues.dlang.org/show_bug.cgi?id=17979
Issue ID: 17979
Summary: Improve documentation for lazy parameters
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
On 11/12/2017 08:54 AM, Michael V. Franklin wrote:
On Sunday, 12 November 2017 at 13:49:51 UTC, Michael V. Franklin wrote:
I don't think the proposal to deprecate integer literal conversions to
`bool` would affect that as there doesn't appear to be an integer
literal in the code.
Nevermind.
On Sunday, 12 November 2017 at 10:26:33 UTC, user1234 wrote:
Hello, i was a bored yesterday and between two movies tried to
install it (it was before the announce) and i have to say that
it's not clear at all and delete it.
The main reason is that i expected the top level dub JSON to
produce
On Friday, 10 November 2017 at 14:28:10 UTC, Ola Fosheim Grøstad
wrote:
On Friday, 10 November 2017 at 12:55:24 UTC, Tony wrote:
Very few companies are not "all about making money". That is
why Americans were laid off by the millions and replaced by
workers in countries with much cheaper labor
On Sunday, 12 November 2017 at 08:33:34 UTC, Satoshi wrote:
I'm going to start focusing my attention on rewriting (some)
of FreeBSD userland, using D ..and see what happens. (btw.
such programs can easily be migrated to Linux/OSX too...or the
new 'System D' ..when it arrives ;-)
You should
It's for you!
https://i.imgur.com/NNgrSyP.png
On Sunday, 12 November 2017 at 08:59:05 UTC, Satoshi wrote:
It's for you!
https://i.imgur.com/NNgrSyP.png
If you're actually taking bets on that...then put me down for
$10_000.00
on the MSFT fanbois that is ;-)
Nice stuff with Trinix. I'll cross you off my list of
fanboys...for now.
On Sunday, 12 November 2017 at 11:01:39 UTC, Dibyendu Majumdar
wrote:
Hi,
I have recently started work on building a VM for Lua (actually
a derivative of Lua) in X86-64 assembly. I am using the dynasm
tool that is part of LuaJIT. I was wondering whether I could
also write this in D's inline
On Sunday, 12 November 2017 at 11:01:39 UTC, Dibyendu Majumdar
wrote:
Hi,
[...]
The assembly code uses static allocation of registers, but
because of the differences in how registers are used in Win64
versus Unix X64 - different registers are assigned depending on
the architecture. dynasm
On Sunday, 12 November 2017 at 12:17:51 UTC, Dibyendu Majumdar
wrote:
On Sunday, 12 November 2017 at 11:55:23 UTC, Eugene Wissner
wrote:
[...]
Thank you - I probably could use something like this. It is
uglier than the simpler approach in dynasm of course.
How about when I need to combine
On Sunday, 12 November 2017 at 03:25:47 UTC, codephantom wrote:
But everyone wants a more modular, more refined, more modern,
more secure operating system ...and a more secure systems
programming language.
How rewriting Linux from scratch will enhance security of the OS?
By introducing
On Monday, 6 November 2017 at 16:12:14 UTC, Martin Tschierschke
wrote:
On Saturday, 4 November 2017 at 00:16:35 UTC, Ali Çehreli wrote:
On 11/03/2017 05:12 PM, Fra Mecca wrote:
https://github.com/FraMecca/D_Libraries_Registry
This effort should be combined with the current work being
done
Hi, that might be some interesting project to add D to, for interactive
exploration.
http://jupyter.org
Project Jupyter exists to develop open-source software, open-standards,
and services for interactive computing across dozens of programming
languages.
--
Robert M. Münch
On Sunday, 12 November 2017 at 12:00:00 UTC, Basile B. wrote:
On Sunday, 12 November 2017 at 11:01:39 UTC, Dibyendu Majumdar
wrote:
[...]
The assembly code uses static allocation of registers, but
because of the differences in how registers are used in Win64
versus Unix X64 - different
On Sunday, 12 November 2017 at 12:12:43 UTC, Robert M. Münch
wrote:
Hi, that might be some interesting project to add D to, for
interactive exploration.
http://jupyter.org
Project Jupyter exists to develop open-source software,
open-standards, and services for interactive computing across
QtE5 - gained further development. The new mechanism of operation
with memory
is realized that allowed will get rid of crash of applications in
case of completion.
The summary code amount increases all the time. New classes from
Qt are added.
Now the code amount reached:
qte5.d
Hi,
I have recently started work on building a VM for Lua (actually a
derivative of Lua) in X86-64 assembly. I am using the dynasm tool
that is part of LuaJIT. I was wondering whether I could also
write this in D's inline assembly perhaps, but there is one
aspect that I am not sure how to
On Sunday, 12 November 2017 at 04:40:21 UTC, codephantom wrote:
On Sunday, 12 November 2017 at 01:00:46 UTC, bauss wrote:
I'm tired so I will end my post here.
And I'm going to end all my posts here, cause I'm sick of
arguing with MSFT fanboys, who want to restrain D's development
by tying
On Sunday, 12 November 2017 at 11:01:39 UTC, Dibyendu Majumdar
wrote:
Hi,
I have recently started work on building a VM for Lua (actually
a derivative of Lua) in X86-64 assembly. I am using the dynasm
tool that is part of LuaJIT. I was wondering whether I could
also write this in D's inline
On Sunday, 12 November 2017 at 11:55:23 UTC, Eugene Wissner wrote:
On Sunday, 12 November 2017 at 11:01:39 UTC, Dibyendu Majumdar
wrote:
I have recently started work on building a VM for Lua
(actually a derivative of Lua) in X86-64 assembly. I am using
the dynasm tool that is part of LuaJIT. I
On Saturday, 11 November 2017 at 14:54:42 UTC, Jonathan M Davis
wrote:
On Saturday, November 11, 2017 13:40:23 Michael V. Franklin via
Digitalmars- d wrote:
What's the official word on this:
https://github.com/dlang/dmd/pull/6404
Does it need a DIP?
If I revive it will it go anywhere?
What
https://issues.dlang.org/show_bug.cgi?id=17957
--- Comment #3 from Nicolas F. ---
fwiw, you can get rid of the naughty pthread_join call which would result in
undefined behaviour for detached threads by replacing it with a simple
sleep(3), which will result in the same
On Sunday, 12 November 2017 at 12:32:09 UTC, Basile B. wrote:
On Sunday, 12 November 2017 at 12:17:51 UTC, Dibyendu Majumdar
wrote:
On Sunday, 12 November 2017 at 11:55:23 UTC, Eugene Wissner
wrote:
[...]
Thank you - I probably could use something like this. It is
uglier than the simpler
On Saturday, 11 November 2017 at 14:26:34 UTC, Nordlöw wrote:
Have anybody used allocators to construct class instances?
I might be wrong, but I think you are looking for
std.experimental.allocator.make [0]
[0] -
https://dlang.org/phobos/std_experimental_allocator.html#make
On Sunday, 12 November 2017 at 15:25:43 UTC, Dibyendu Majumdar
wrote:
On Sunday, 12 November 2017 at 12:32:09 UTC, Basile B. wrote:
On Sunday, 12 November 2017 at 12:17:51 UTC, Dibyendu Majumdar
wrote:
On Sunday, 12 November 2017 at 11:55:23 UTC, Eugene Wissner
wrote:
[...]
Thank you - I
On Sunday, 12 November 2017 at 18:34:42 UTC, Eduard Staniloiu
wrote:
On Saturday, 11 November 2017 at 14:26:34 UTC, Nordlöw wrote:
Have anybody used allocators to construct class instances?
I might be wrong, but I think you are looking for
std.experimental.allocator.make [0]
[0] -
On Sunday, 12 November 2017 at 18:48:02 UTC, Eugene Wissner wrote:
https://dlang.org/spec/iasm.html#agregate_member_offsets
aggregate.member.offsetof[someregister]
Sorry I didn't phrase my question accurately. Presumably to
use above with the mnemonics I would need additional mixin
I've been using blocking Sockets with timeouts for a while now,
but wherever I look the word is "do consider using a non-blocking
socket". Even the docs for std.socket.setOption;
In a typical application, you might also want to consider using
a non-blocking socket instead of setting a timeout
https://issues.dlang.org/show_bug.cgi?id=16318
ponce changed:
What|Removed |Added
CC||alil...@gmail.com
--- Comment #6
On Sunday, 12 November 2017 at 21:27:28 UTC, Dibyendu Majumdar
wrote:
On Sunday, 12 November 2017 at 18:48:02 UTC, Eugene Wissner
wrote:
https://dlang.org/spec/iasm.html#agregate_member_offsets
aggregate.member.offsetof[someregister]
Sorry I didn't phrase my question accurately. Presumably
On Sunday, 12 November 2017 at 22:00:58 UTC, Basile B. wrote:
On Sunday, 12 November 2017 at 21:27:28 UTC, Dibyendu Majumdar
Does the compiler generate appropriate unwind information on
Win64? Prsumably if a function is marked 'naked' then it
doesn't?
yeah about stack frame..., also don't
On Sunday, 12 November 2017 at 22:20:46 UTC, Dibyendu Majumdar
wrote:
On Sunday, 12 November 2017 at 22:00:58 UTC, Basile B. wrote:
On Sunday, 12 November 2017 at 21:27:28 UTC, Dibyendu Majumdar
I am not sure I have understood above; will DMD generate the
right Win64 unwind info for this
On Sunday, 12 November 2017 at 18:46:54 UTC, Per Nordlöw wrote:
On Sunday, 12 November 2017 at 18:34:42 UTC, Eduard Staniloiu
wrote:
On Saturday, 11 November 2017 at 14:26:34 UTC, Nordlöw wrote:
Have anybody used allocators to construct class instances?
I might be wrong, but I think you are
On Sunday, 12 November 2017 at 16:00:28 UTC, Ola Fosheim Grøstad
wrote:
On Sunday, 12 November 2017 at 13:34:50 UTC, Dmitry Olshansky
wrote:
if (a & (flag1 | flag2))
to
if ((a & (flag1 | flag2)) != 0)
When the first is quite obvious.
Just change the typing of the if-conditional to:
if
On Sunday, November 12, 2017 19:13:00 Dmitry Olshansky via Digitalmars-d
wrote:
> On Sunday, 12 November 2017 at 16:00:28 UTC, Ola Fosheim Grøstad
>
> wrote:
> > On Sunday, 12 November 2017 at 13:34:50 UTC, Dmitry Olshansky
> >
> > wrote:
> >> if (a & (flag1 | flag2))
> >>
> >> to
> >>
> >> if
On Sunday, 12 November 2017 at 20:41:03 UTC, Basile B. wrote:
No, the classes and structs of the examples are simply declared
as 'static' because they are located in a 'unittest' block. You
can ignore the keyword...it just means that they are declared
as if they would stand at the global
On Sunday, 12 November 2017 at 15:57:19 UTC, kinke wrote:
Hi everyone,
on behalf of the LDC team, I'm glad to announce the first beta
for LDC 1.6. The highlights of this version in a nutshell:
* Based on D 2.076.1.
* Experimental support for dynamic codegen at runtime ('manual
JIT').
*
On Sunday, 12 November 2017 at 16:57:05 UTC, Andrei Alexandrescu
wrote:
A DIP could be formulated to only address the problem at hand.
BTW, here's a really fun example:
void fun(long) { assert(0); }
void fun(bool) {}
enum int a = 2;
enum int b = 1;
void main()
{
fun(a - b);
}
The
On 11/10/2017 2:54 PM, codephantom wrote:
MSFT fanboy...at it again...
Knock it off, everyone.
On Sunday, 12 November 2017 at 22:24:08 UTC, Basile B. wrote:
On Sunday, 12 November 2017 at 22:20:46 UTC, Dibyendu Majumdar
wrote:
On Sunday, 12 November 2017 at 22:00:58 UTC, Basile B. wrote:
On Sunday, 12 November 2017 at 21:27:28 UTC, Dibyendu Majumdar
I am not sure I have understood
https://issues.dlang.org/show_bug.cgi?id=16398
Basile B. changed:
What|Removed |Added
CC||b2.t...@gmx.com
--- Comment #1
https://issues.dlang.org/show_bug.cgi?id=16398
Basile B. changed:
What|Removed |Added
Summary|aligned allocator: aligned |aligned allocator: add
https://issues.dlang.org/show_bug.cgi?id=16398
Basile B. changed:
What|Removed |Added
Summary|aligned allocator: add |experimental allocators,
83 matches
Mail list logo