On Tue, 20 Jan 2015 15:51:17 -0500
Steven Schveighoffer via Digitalmars-d
wrote:
p.s. another point is that all mechanics compiler needs for doing such
checks is already there, so it's not a huge change to compiler
codebase. it's not something that requires adding a whole new analysis
code.
sig
On Tue, 20 Jan 2015 21:11:29 +
Meta via Digitalmars-d wrote:
> On Tuesday, 20 January 2015 at 20:50:49 UTC, ketmar via
> Digitalmars-d wrote:
> > this may be timestamp-related somehow, 'cause make looks only to
> > timestamps to determine which file(s) should be
On Tue, 20 Jan 2015 21:34:54 +
Freddy via Digitalmars-d wrote:
> On Tuesday, 20 January 2015 at 18:12:27 UTC, ketmar via
> Digitalmars-d wrote:
> > Hello.
> >
> > as there is no possibility to doing GC allocations in class
> > destructors, wouldn
On Tue, 20 Jan 2015 16:30:14 -0500
Steven Schveighoffer via Digitalmars-d
wrote:
> On 1/20/15 4:06 PM, ketmar via Digitalmars-d wrote:
> > On Tue, 20 Jan 2015 15:51:17 -0500
> > Steven Schveighoffer via Digitalmars-d
> > wrote:
> >
> > p.s. another point is that
On Tue, 20 Jan 2015 21:37:54 +
via Digitalmars-d wrote:
> On Tuesday, 20 January 2015 at 21:29:40 UTC, Steven Schveighoffer
> wrote:
> > How's that? The current runtime aborts on memory allocation
> > inside the GC collection routine, it's not a memory safety
> > issue.
>
> Spurious race
On Tue, 20 Jan 2015 21:41:15 +
Vladimir Panteleev via Digitalmars-d
wrote:
> >> Not an error, Make it a warning.
> > alas, attribute violations are errors. turning that into
> > warning means
> > that compiler needs new flags and new code to determine if that
> > is
> > "hard restriction" o
On Tue, 20 Jan 2015 22:15:43 +
Meta via Digitalmars-d wrote:
> On Tuesday, 20 January 2015 at 22:03:27 UTC, Meta wrote:
> > On Tuesday, 20 January 2015 at 21:57:56 UTC, Meta wrote:
> >> The only things in my path when I run make are:
> >>
> >> C:\D\dmd2\windows\bin
> >> C:\Program Files (x86)
On Tue, 20 Jan 2015 22:30:16 +
Meta via Digitalmars-d wrote:
> On Tuesday, 20 January 2015 at 22:25:18 UTC, ketmar via
> Digitalmars-d wrote:
> > if you'll make a PR, it would be good to change other
> > invocations too:
> > "optabgen" and "im
On Tue, 20 Jan 2015 15:40:57 -0800
"H. S. Teoh via Digitalmars-d" wrote:
> So, what do you think? Should we merge this, or should we not?
please, please, please! please, whoever can do it: just merge it right
away! you can revert chat changes later, but if it will go into another
discussion that
On Wed, 21 Jan 2015 00:29:21 +
Kapps via Digitalmars-d wrote:
> On Tuesday, 20 January 2015 at 18:12:27 UTC, ketmar via
> Digitalmars-d wrote:
> > let's see how this proposal will be rejected. will there be
> > some sane
> > reasons, or only the good old s
On Wed, 21 Jan 2015 00:51:26 +
bearophile via Digitalmars-d wrote:
> Kiith-Sa:
>
> > http://developers.slashdot.org/story/15/01/20/2026221/is-d-an-underrated-programming-language?utm_source=rss1.0mainlinkanon&utm_medium=feed
>
> One interesting comment:
> http://developers.slashdot.org/comm
On Wed, 21 Jan 2015 01:07:03 +
"Adam D. Ruppe via Digitalmars-d" wrote:
> On Wednesday, 21 January 2015 at 01:04:11 UTC, ketmar via
> Digitalmars-d wrote:
> > two days making dmd.exe work with Wine to write the simple
> > utility which i can write in two
On Wed, 21 Jan 2015 01:44:07 +
Vlad Levenfeld via Digitalmars-d wrote:
i can see how this thread slowly turning into "how i was forced to live
with windows and how painful it was" thread. ;-)
signature.asc
Description: PGP signature
On Tue, 20 Jan 2015 20:51:34 -0500
Steven Schveighoffer via Digitalmars-d
wrote:
> >> You can always put @nogc on the dtor if you want.
> > seems that you completely missing my point. (sigh)
>
> Nope, not missing it. The mechanics are there. You just have to annotate.
that is where you missing i
On Tue, 20 Jan 2015 18:06:59 -0800
"H. S. Teoh via Digitalmars-d" wrote:
> On Wed, Jan 21, 2015 at 01:56:32AM +, Vlad Levenfeld via Digitalmars-d
> wrote:
> > On Wednesday, 21 January 2015 at 01:52:51 UTC, ketmar via Digitalmars-d
> > wrote:
> > >On Wed,
On Tue, 20 Jan 2015 22:02:53 -0500
Steven Schveighoffer via Digitalmars-d
wrote:
> You may be able to, but I don't see the point. writeln can work
> perfectly fine for the most part inside dtors. But it can't be marked nogc.
now, that's really nice. "it's wrong, it can fail, it even marked as
on
On Wed, 21 Jan 2015 06:08:49 +
Israel via Digitalmars-d wrote:
> On Wednesday, 21 January 2015 at 01:07:04 UTC, Adam D. Ruppe
> wrote:
> > On Wednesday, 21 January 2015 at 01:04:11 UTC, ketmar via
> > Digitalmars-d wrote:
> >> two days making dmd.exe work wi
On Tue, 20 Jan 2015 22:43:04 -0800
"H. S. Teoh via Digitalmars-d" wrote:
> I almost nuked my
> entire system with a mistyped `rm -rf` command, as I'm sure every *nix
> person has at least once in his life
my expirience was simply doing `chmod -R 600 /` as root. lucky me. and
i really hate that pe
On Wed, 21 Jan 2015 07:56:47 +
Kagamin via Digitalmars-d wrote:
> On Wednesday, 21 January 2015 at 02:23:03 UTC, ketmar via
> Digitalmars-d wrote:
> > i even knew how to quit vi
> ctrl-c?
nope! it beeps. ;-)
> BTW, is there a way to make the shell autocomplete file n
On Wed, 21 Jan 2015 00:40:48 -0800
Walter Bright via Digitalmars-d wrote:
> I find this utterly baffling. Why make it so difficult to report a bug?
> Microsoft has always been like this, the only way I've ever been able to
> submit
> a bug report was if I had a friend on the inside who'd carry
On Wed, 21 Jan 2015 10:16:47 +
Paulo Pinto via Digitalmars-d wrote:
> On Wednesday, 21 January 2015 at 01:52:51 UTC, ketmar via
> Digitalmars-d wrote:
> > On Wed, 21 Jan 2015 01:44:07 +
> > Vlad Levenfeld via Digitalmars-d
> > wrote:
> >
> > i ca
On Wed, 21 Jan 2015 08:56:53 +
Kagamin via Digitalmars-d wrote:
> On Wednesday, 21 January 2015 at 08:19:39 UTC, ketmar via
> Digitalmars-d wrote:
> >> > i even knew how to quit vi
> >> ctrl-c?
> > nope! it beeps. ;-)
> Duh! Don't console programs
On Wed, 21 Jan 2015 13:36:46 +
MattCoder via Digitalmars-d wrote:
> On Wednesday, 21 January 2015 at 13:19:00 UTC, Adam D. Ruppe
> wrote:
> > It is a lot easier to just run "wine dmd" and distribute the
> > finished exe than it is to copy all the development files to
> > the windows comput
On Wed, 21 Jan 2015 10:39:14 -0800
Walter Bright via Digitalmars-d wrote:
> Why even ship such a product you have no intention of fixing bugs for? It's a
> net negative for one's image.
ah, that's a different question! i don't know why they still shipping
it instead of providing link to virtuald
On Thu, 22 Jan 2015 08:29:57 +
Kagamin via Digitalmars-d wrote:
> On Wednesday, 21 January 2015 at 16:34:26 UTC, ketmar via
> Digitalmars-d wrote:
> >> >> > i even knew how to quit vi
> >> >> ctrl-c?
> >> > nope! it beeps. ;-)
> &
On Thu, 22 Jan 2015 08:12:33 -0800
"H. S. Teoh via Digitalmars-d" wrote:
> On Thu, Jan 22, 2015 at 04:08:29PM +, Vladimir Panteleev via
> Digitalmars-d wrote:
> > On Thursday, 22 January 2015 at 14:00:54 UTC, CraigDillabaugh wrote:
> [...]
> > >So what you are saying is that at some point it
On Thu, 22 Jan 2015 19:39:24 +, Vladimir Panteleev wrote:
> On Thursday, 22 January 2015 at 19:37:11 UTC, weaselcat wrote:
>> Might be of use to someone, but I was looking for ways to speed up
>> dmd's albeit already fast compilation times.
>>
>> Just by dropping in jemalloc in place of glibc'
On Fri, 23 Jan 2015 12:50:31 +, Kagamin wrote:
> On Thursday, 22 January 2015 at 16:13:31 UTC, ketmar wrote:
>>> > somehow i can't close cmd.exe by hitting ctrl+c. don't console
>>> > programs know what ctrl+c is for?
>>> Well, maybe because it's a shell, not a utility?
>> shell is a console u
On Fri, 23 Jan 2015 23:28:28 +, Matthias Bentrup wrote:
> If the program ends before the next GC the destructor is never called.
nope.
class A {
~this () { import iv.writer; writeln("dtor"); }
}
void main () {
auto n = new A;
assert(0);
}
this outputs "dtor".
signature.
On Sat, 24 Jan 2015 21:16:13 +, Gen wrote:
> void write(FOO: bar.foo)()
> {
> }
>
> what does the colon mean? FOO: bar.foo
here is the link which explains alot of things: http://dlang.org/template
signature.asc
Description: PGP signature
On Sun, 25 Jan 2015 16:55:29 +, FrankLike wrote:
> On Sunday, 25 January 2015 at 16:22:20 UTC, AndyC wrote:
>
>> http://superuser.com/questions/269818/change-default-code-page-of-
windows-console-to-utf-8
>
> We can use 'chcp 65001',but for exe'consumer,it's difficult to use.
>
> Exe'Consum
On Sun, 25 Jan 2015 16:02:33 +, AndyC wrote:
> I was looking at this bug report:
>
> https://issues.dlang.org/show_bug.cgi?id=2138
>
> and sure enough it doesn't handle zipfiles with more than 65K files.
>
> and I checked the code and its pretty limited on what it will even read.
>
> Which
On Sun, 25 Jan 2015 20:56:04 +, AndyC wrote:
> Its handy, yes, until you hit one of its many limitations, then what
> will you do?
i didn't come into any limitations yet. my scripts and other software was
able to process any zips i trhowed at 'em.
but if i'll really hit any of std.zip limiti
On Sun, 25 Jan 2015 22:09:04 +, deadalnix wrote:
> 1. is the only viable plan.
...which, in turn, equals to "do nothing for another year or more".
instead of issuing warning to inform people that what they doing NOW is
bad. i'm pretty sure that people are very happy to know that their code
On Mon, 26 Jan 2015 02:00:01 +, Laeeth Isharc wrote:
> Imagine you move from a javascript browser to one without
dlang.org is imfunctional without js, so there is no sense to make
anything else working right without js.
signature.asc
Description: PGP signature
On Mon, 26 Jan 2015 02:13:26 +, deadalnix wrote:
> On Monday, 26 January 2015 at 00:39:18 UTC, ketmar wrote:
>> On Sun, 25 Jan 2015 22:09:04 +, deadalnix wrote:
>>
>>> 1. is the only viable plan.
>>
>> ...which, in turn, equals to "do nothing for another year or more".
>
> We are waiting
On Mon, 26 Jan 2015 02:09:17 +, Laeeth Isharc wrote:
> Is it worth creating a higher tier within code.dlang.org of libraries
> considered to be of high quality that may have a semi-official stamp?
> When you know your way around, you can see what is actively maintained
> and take a peek at th
On Mon, 26 Jan 2015 02:36:29 +, Vladimir Panteleev wrote:
> On Monday, 26 January 2015 at 02:13:44 UTC, ketmar wrote:
>> On Mon, 26 Jan 2015 02:00:01 +, Laeeth Isharc wrote:
>>
>>> Imagine you move from a javascript browser to one without
>> dlang.org is imfunctional without js, so there i
On Mon, 26 Jan 2015 02:33:26 +, Laeeth Isharc wrote:
> On Monday, 26 January 2015 at 02:17:29 UTC, ketmar wrote:
>> On Mon, 26 Jan 2015 02:09:17 +, Laeeth Isharc wrote:
>>
>>> Is it worth creating a higher tier within code.dlang.org of libraries
>>> considered to be of high quality that ma
On Mon, 26 Jan 2015 03:17:54 +, Vladimir Panteleev wrote:
> On Monday, 26 January 2015 at 03:14:00 UTC, ketmar wrote:
>> On Mon, 26 Jan 2015 02:36:29 +, Vladimir Panteleev wrote:
>>
>>> On Monday, 26 January 2015 at 02:13:44 UTC, ketmar wrote:
On Mon, 26 Jan 2015 02:00:01 +, Laeet
On Sun, 25 Jan 2015 19:37:00 -0800, H. S. Teoh via Digitalmars-d wrote:
> Shouldn't it be expanded by default and collapsed if JS is available?
my uneducated guess is that "collapser" is not using jquery, so it was
able to successfully collaspe the whole thing. and then "expander" is
using jque
On Mon, 26 Jan 2015 03:35:02 +, Vladimir Panteleev wrote:
> I see. Your issue is not that JS is disabled, it is that you are
> selectively blocking components of the webpage.
>
> As with any system, it is not unusual that it stops working as designed
> when you rip out arbitrary parts of it.
On Mon, 26 Jan 2015 03:56:36 +, Vladimir Panteleev wrote:
> On Monday, 26 January 2015 at 03:43:53 UTC, ketmar wrote:
>> On Sun, 25 Jan 2015 19:37:00 -0800, H. S. Teoh via Digitalmars-d wrote:
>>
>>> Shouldn't it be expanded by default and collapsed if JS is available?
>>
>> my uneducated gues
On Mon, 26 Jan 2015 09:29:40 +, Paolo Invernizzi wrote:
i'm scared. does that mean that my rants about "consistency" was sane
after all? and now i have to find something else to attack? (sigh) poor
me.
signature.asc
Description: PGP signature
On Mon, 26 Jan 2015 18:25:11 +, Robert burner Schadek wrote:
congrats!
signature.asc
Description: PGP signature
On Mon, 26 Jan 2015 19:46:21 +, Meta wrote:
> On Monday, 26 January 2015 at 19:44:18 UTC, Walter Bright wrote:
>> On 1/26/2015 8:13 AM, Foo wrote:
>>> You could do the same as C++ with override and final: they are only
>>> valid attributes if they appear _after_ the function/method. Elsewhere
this code: std.conv.parse!byte("-128") throws error: "Overflow in
integral conversion". but this is obviously not true, as signed
byte can hold such value.
the question is: is it bug, or it's intended behavior to limit
signed integrals to values which can be safely abs()ed?
ah, sorry, this is my own fault, there is no bug in parser. what
i'm doing is parse!byte("128") and then negating the result.
silly me.
On Sunday, 27 April 2014 at 00:04:15 UTC, ketmar wrote:
but this is definetely bug, i think:
void main() {
import std.stdio : writeln;
import std.conv : to;
writeln(to!int("29a", 16)); // 666
writeln(to!int("+29a", 16)); // Unexpected '+' when converting
from type string base 16 to type
ah, i see: if (radix == 10) return parse!Target(s); in Target
parse(Target, Source)(ref Source s, uint radix)
it cheating a little and using 'general' decimal number parser,
which accepts '+' and '-'. for other bases it uses another code
though, where '+' and '-' threats as digits, which lead
On Wednesday, 9 April 2014 at 14:59:35 UTC, Benjamin Thaut wrote:
E.g. it could look like this (alternative a new keyword
"explicit" could be introduced, but introduction of new
keywords is usually avoided if possible, AFAIK):
sorry for not reading the whole post and necroposting, but
please, p
On Tue, 29 Apr 2014 11:55:11 -0400
Etienne via Digitalmars-d wrote:
> That's funny b/c most people say RoR made them love web development.
> If the D community could organize itself the same way RoR is around
> web dev, I doubt any other web scripting language could pursue
> existence.
no, please
On Tue, 29 Apr 2014 14:41:17 +
James via Digitalmars-d wrote:
just show him vibe.d. it's what node.js wants to be, but failed. ;-)
signature.asc
Description: PGP signature
On Mon, 26 Jan 2015 17:56:00 -0800, Walter Bright wrote:
> On 1/26/2015 2:15 PM, Foo wrote:
>> Because you/we are community members and therefore "second-class
>> citizens". If we suggest or discuss something, it is not that
>> important. But if a small reddit post is made, it matters more.
>
> M
On Tue, 27 Jan 2015 02:11:55 +, Jonathan Marler wrote:
> This has become quite frustrating. I'm not sure how else to explain
> myself so maybe I'm just being dumb.
you are dumb. you can be dumb for some time, and then BANG! your proposal
is silently made "right". yet you're still dumb. that
On Tue, 27 Jan 2015 01:32:21 +, Mike wrote:
> In fact, it is the attitude against change that has put me on the fence
> about D, when I was quite an advocate about a year ago. It has also
> made me reluctant to put forth the necessary effort to study and make
> any significant contributions b
On Tue, 27 Jan 2015 08:30:43 +, Jonathan Marler wrote:
> On Tuesday, 27 January 2015 at 07:50:36 UTC, ketmar wrote:
>> On Tue, 27 Jan 2015 02:11:55 +, Jonathan Marler wrote:
>>
>>> This has become quite frustrating. I'm not sure how else to explain
>>> myself so maybe I'm just being dumb.
On Tue, 27 Jan 2015 08:44:17 +, deadalnix wrote:
> On Tuesday, 27 January 2015 at 08:07:11 UTC, ketmar wrote:
>> heh. i was very passionate about D, and i started the process of
>> migration of all our work projects (i'm a head of software company with
>> ~100 employees, if anybody is interest
On Tue, 27 Jan 2015 08:47:43 +, Paolo Invernizzi wrote:
> On Tuesday, 27 January 2015 at 08:07:11 UTC, ketmar wrote:
>> On Tue, 27 Jan 2015 01:32:21 +, Mike wrote:
>>
>> i started the process of migration of all our work projects
>> (i'm a head of software company with ~100 employees, if
On Tue, 27 Jan 2015 11:20:41 +0100, Jacob Carlborg wrote:
> On 2015-01-26 20:50, Walter Bright wrote:
>
>> It's good to have this discussion.
>>
>> Previously, it's all been advocacy and "break my code" by forcing a
>> change from pure => @pure.
>>
>> Just a few days ago on slashdot, an anonymous
On Tue, 27 Jan 2015 10:21:52 +, Jonathan Marler wrote:
> Interesting points. Thanks for the response, it's a relief to hear
> people making sense :)
the funny thing is that Ola is a kind of "bad child" too. heh.
signature.asc
Description: PGP signature
On Tue, 27 Jan 2015 10:43:12 +, Ola Fosheim Grøstad wrote:
> Hey, I have gray hairs in my beard!
me too!
signature.asc
Description: PGP signature
On Tue, 27 Jan 2015 16:22:17 +, Zach the Mystic wrote:
> On Tuesday, 27 January 2015 at 09:20:51 UTC, ketmar wrote:
>> i believe in D too, and i want it to succeed -- not only for me. that's
>> why i'm writing here. i'm not attacking it for the sake of attack, and
>> i deliberately took the po
On Wed, 28 Jan 2015 11:04:55 +1300, Rikki Cattermole wrote:
> First off, Derelict-Util/Derelict-GL3 is a biggy here. Its old code,
> lets admit it. Its also a standard for loading shared library functions.
please, not Derelict! it's a great work and all that, but it's habit to
load ALL functions
On Tue, 27 Jan 2015 23:07:44 +, Rikki Cattermole wrote:
> dlangui doesn't depend upon it.
that dependency was removed since then.
> And isn't aware of different versions.
of course. that's why it failed on my FreeImage: my library is older than
the one that Derelict is expecting to find, an
On Wed, 28 Jan 2015 06:58:41 +, Tom wrote:
> Or is there now the possibility of disabling the GC altogether, or
> replacing it with a refcounting 'GC' etc?
you still can do manual memory management with `malloc()` and friends.
but you must be very cautious with dynamic arrays and slices. may
On Wed, 28 Jan 2015 02:32:44 +, Tofu Ninja wrote:
> On Wednesday, 28 January 2015 at 00:58:41 UTC, ketmar wrote:
>> On Tue, 27 Jan 2015 23:07:44 +, Rikki Cattermole wrote:
>>
>>> dlangui doesn't depend upon it.
>> that dependency was removed since then.
>>
>>> And isn't aware of different
On Wed, 28 Jan 2015 10:36:22 +0900, Mike Parker wrote:
> On 1/28/2015 7:54 AM, ketmar wrote:
>> On Wed, 28 Jan 2015 11:04:55 +1300, Rikki Cattermole wrote:
>>
>>> First off, Derelict-Util/Derelict-GL3 is a biggy here. Its old code,
>>> lets admit it. Its also a standard for loading shared library
On Wed, 28 Jan 2015 19:53:09 +0100, Benjamin Thaut wrote:
> Microsoft does not have a offical C compiler. They only have a C++
> compiler. And as a result they are also not supporting C99, they only
> support that part of C which is required by C++ and afaik C99 is not
> required by the C++ standa
On Wed, 28 Jan 2015 15:20:56 +, david wrote:
> We're exclusively on Linux.
> And no - I don't want the strings during runtime.
> I understand generating strings can be time consuming.
> I'm willing to offload this to offline processing - during runtime, I
> just want access to the calltrace -
On Wed, 28 Jan 2015 21:17:24 +, Jonathan Marler wrote:
> They may not have known before but now they do! lol :) Robots are
> sniffing our sites with valid accounts! I was not expecting that...wow.
> Writing a generic robot that can create accounts and login with them
> seems like a tough pro
On Wed, 28 Jan 2015 18:54:27 +, Zach the Mystic wrote:
> I think a keyword is a keyword is a keyword. If it's a keyword to the
> right it should be one everywhere. How is somethign that's a built-in
> attribute one place and an identifier in another not context sensitive.
yep. that is "slave
On Wed, 28 Jan 2015 22:39:01 +, Jonathan Marler wrote:
> On Wednesday, 28 January 2015 at 22:36:13 UTC, Ola Fosheim Grøstad
> wrote:
>> On Wednesday, 28 January 2015 at 21:53:29 UTC, Jonathan Marler wrote:
>>> Using "safe" as both a function attribute and an identifier doesn't
>>> seem confus
On Wed, 28 Jan 2015 23:36:29 +, deadalnix wrote:
> On Wednesday, 28 January 2015 at 23:22:34 UTC, ketmar wrote:
>> On Wed, 28 Jan 2015 18:54:27 +, Zach the Mystic wrote:
>>
>>> I think a keyword is a keyword is a keyword. If it's a keyword to the
>>> right it should be one everywhere. How
On Thu, 29 Jan 2015 00:03:51 +, Brian Schott wrote:
> On Wednesday, 28 January 2015 at 23:22:34 UTC, ketmar wrote:
>> On Wed, 28 Jan 2015 18:54:27 +, Zach the Mystic wrote:
>>
>>> I think a keyword is a keyword is a keyword. If it's a keyword to the
>>> right it should be one everywhere. H
On Thu, 29 Jan 2015 00:29:26 +, Brian Schott wrote:
> On Thursday, 29 January 2015 at 00:14:51 UTC, ketmar wrote:
>> that's good. as we already have at least 4 codebases to build tools
>> upon,
>> and you gave up using that and insisting on writing another one, and
>> failed... i doubt that yo
On Thu, 29 Jan 2015 00:33:39 +, weaselcat wrote:
> Uncalled for IMO, Schott's tools are great.
sure. i wasn't talking about Brian in my text, that was my dumbiness that
paints the text personal.
signature.asc
Description: PGP signature
On Thu, 29 Jan 2015 17:17:44 +, deadalnix wrote:
> On Thursday, 29 January 2015 at 14:00:16 UTC, Jacob Carlborg wrote:
>> On 2015-01-29 01:19, Walter Bright wrote:
>>
>>> One of the other mistakes they make is the great idea of implicit
>>> declaration of variables, and then ruefully have to d
On Thu, 29 Jan 2015 14:58:51 +0100, Jacob Carlborg wrote:
> On 2015-01-28 23:27, Walter Bright wrote:
>
>> For example, people often realize that the ; statement terminator is
>> redundant, so they propose removing it. In trying it, however, it soon
>> becomes clear that error message clarity, re
On Fri, 30 Jan 2015 16:01:27 +, data man wrote:
> Right now I'm working on std.sevenzip (7-zip by Igor Pavlov).
is it bindings or complete port?
> My question is: how best to do - one big module std.sevenzip or divided
> into sub-modules:
submodules.
don't aim Phobos inclusion from the start
On Fri, 30 Jan 2015 18:08:13 +, Gary Willoughby wrote:
> We don't want the situation of C++ where people only use 80% of it's
> features and that 80% is different for everyone. I've recently been
> writing some Go code and it's become clear to me just how big of a
> language D really is.
that
https://issues.dlang.org/show_bug.cgi?id=14097
i know that bugzilla patches can be slow to review, but this is a
critical heisenbug which must be fixed ASAP, i believe. so i'm pinging
here.
signature.asc
Description: PGP signature
On Sun, 01 Feb 2015 03:09:15 +, ZombineDev wrote:
> I have made a pull request[1] with your fix, if you don't mind.
thank you.
signature.asc
Description: PGP signature
On Sun, 01 Feb 2015 03:27:06 +, ketmar wrote:
> On Sun, 01 Feb 2015 03:09:15 +, ZombineDev wrote:
>
>> I have made a pull request[1] with your fix, if you don't mind.
> thank you.
ah, and that caching is needed. `free()` in `AsyncRead::dispose` *can* be
executed before loop in `startthr
p.s. "and where is the fish?" one can ask me. alas, there is no fish in
this pool. there is no water too.
signature.asc
Description: PGP signature
today i was in need of a little utility that must download the file using
"wininet.dll". nothing fancy, just send a request and receive the
contents. no, curl was not a choice. and -- oh, well, wininet is a dll
which any windows box has, right? at least any windows box with XP and
higher, which
On Sun, 01 Feb 2015 09:52:46 +, Vladimir Panteleev wrote:
> On Sunday, 1 February 2015 at 09:42:49 UTC, ketmar wrote:
>> today i was in need of a little utility that must download the file
>> using "wininet.dll".
>
> You can find wininet.lib in the "lib" directory of the bindings
> repository
On Sun, 01 Feb 2015 10:03:30 +, Vladimir Panteleev wrote:
> This will not work and is not D's fault. The DLL does not contain
> information required to create a working import library (the size of
> parameters on the stack is included in the mangled name).
i wonder how mingw linker is able to
On Sun, 01 Feb 2015 10:41:04 +, Vladimir Panteleev wrote:
> On Sunday, 1 February 2015 at 10:33:51 UTC, ketmar wrote:
>> i wonder how mingw linker is able to use .dlls without corresponding
>> .lib files to link windows executables. maybe it's a weird art of
>> forbidden black magic or somethi
On Sun, 01 Feb 2015 11:39:17 +0100, Jacob Carlborg wrote:
> On 2015-02-01 10:42, ketmar wrote:
>> today i was in need of a little utility that must download the file
>> using "wininet.dll". nothing fancy, just send a request and receive the
>> contents. no, curl was not a choice
>
> I don't know
On Sun, 01 Feb 2015 11:04:38 +, Vladimir Panteleev wrote:
> On Sunday, 1 February 2015 at 10:54:20 UTC, ketmar wrote:
>> "-Wl,--enable-auto-import -Wl,--enable-stdcall-fixup"
>
> That's pretty cool.
yes. i was amazed by the fact that i finally can forget about all that
"implib/deffile" crap
On Sun, 01 Feb 2015 11:28:51 +, jkpl wrote:
> Shouldn't you compile with the following cmds ?
>
> dmd.exe test.d wininet.lib wininet.di -I
>
> ?
that doesn't really matter how i'll pass that .lib file to linker. and i
replaced part of the command line with ellipses, as there is no reason t
On Sun, 01 Feb 2015 11:25:04 +, eles wrote:
> On Sunday, 1 February 2015 at 09:44:27 UTC, ketmar wrote:
>
>> this pool. there is no water too.
>
> [OT] Just for the sake of it:
>
> https://www.youtube.com/watch?v=00509MQxRB8
ah, this is not OT at all, it perfercly illustrates my point! ;-)
On Sun, 01 Feb 2015 11:37:45 +, Vladimir Panteleev wrote:
> On Sunday, 1 February 2015 at 11:28:51 UTC, jkpl wrote:
>> Shouldn't you compile with the following cmds ?
>>
>> dmd.exe test.d wininet.lib wininet.di -I
>
> wininet.lib is unnecessary because wininet.d has `pragma(lib,
> "wininet");
On Sun, 01 Feb 2015 11:40:12 +, jkpl wrote:
> On Sunday, 1 February 2015 at 11:37:46 UTC, Vladimir Panteleev wrote:
>> On Sunday, 1 February 2015 at 11:28:51 UTC, jkpl wrote:
>>> Shouldn't you compile with the following cmds ?
>>>
>>> dmd.exe test.d wininet.lib wininet.di -I
>>
>> wininet.lib
On Sun, 01 Feb 2015 11:49:29 +, Vladimir Panteleev wrote:
> On Sunday, 1 February 2015 at 11:44:12 UTC, ketmar wrote:
>> yep, without properly compiled libraries there are constant complains
>> about missing structure initalizers. i got rid of that with simple
>> template, and wrote "auto pi =
On Sun, 01 Feb 2015 12:06:31 +, jkpl wrote:
> On Sunday, 1 February 2015 at 11:46:06 UTC, ketmar wrote:
>> it's not missing, it's in "sc.ini", along with other minor tweaks that
>> aren't interesting in the context of the story itself.
>
> Ok, you should add this precision in the initial post
On Sun, 01 Feb 2015 12:07:26 +, Vladimir Panteleev wrote:
> On Sunday, 1 February 2015 at 11:58:22 UTC, ketmar wrote:
>> yet dmd still insists on having that `.init`. and there are no non-zero
>> defaults for winapi bindings, so i'm fine with such hacks. ;-)
>
> Hmm, this:
>
> import win32.w
On Sun, 01 Feb 2015 12:31:25 +, Vladimir Panteleev wrote:
> On Sunday, 1 February 2015 at 12:18:41 UTC, ketmar wrote:
>> i *can* hack my build tool to add batch compilation,
>> but i don't want to.
>
> I don't think batch compilation is required. Separately compiling a
> module to an .obj fil
On Sun, 01 Feb 2015 13:27:27 +0100, Jacob Carlborg wrote:
> On 2015-02-01 12:01, ketmar wrote:
>
>> i have my own library to work with http. but you can substitute any
>> other windows dlls in place of of wininet, the story will not change.
>> the story is about (lack of) usability.
>
> I have s
901 - 1000 of 1995 matches
Mail list logo