On Fri, 05 Aug 2011 00:25:38 +0200, Kai Meyer k...@unixlords.com wrote:
I have a need for detecting incorrect byte sequences in multiple files
(2) at a time (as a part of our porting effort to new platforms.)
Ideally the files should be identical for all but a handful of byte
sequences (in
On Thu, 04 Aug 2011 21:56:16 +0200, Nick Sabalausky a@a.a wrote:
OT: Who the hell uses MSN?
Almost everyone below 60 in Sweden, at least a few years ago.
Hello,
I am running a script that creates a file which lists all the folders in a
directory:
foreach (string name; dirEntries(/Users/josh/, SpanMode.shallow)) {
append(/Users/dirList.txt, name ~ \n);
}
But it seems to stop appending after 255 lines (this particular folder has
On 08/04/2011 07:54 PM, bearophile wrote:
Kai Meyer:
Looking at std.algorithm, I think what you really want is minCount:
http://www.d-programming-language.org/phobos/std_algorithm.html#minCount
It's a bad design.
Bye,
bearophile
minCount is, or the usage of minCount in his particular
On 08/04/2011 05:03 PM, Timon Gehr wrote:
Kai Meyer wrote:
So the question is, how would you make it more D-ish? (Do we have a term
analogous to pythonic for D? :))
An easy first step to improve the D-Factor would be to replace all these for
loops
with foreach loops and ref foreach loops.
On 08/05/2011 03:02 AM, Pelle wrote:
On Fri, 05 Aug 2011 00:25:38 +0200, Kai Meyer k...@unixlords.com wrote:
I have a need for detecting incorrect byte sequences in multiple files
(2) at a time (as a part of our porting effort to new platforms.)
Ideally the files should be identical for all
On 08/05/2011 03:02 AM, Pelle wrote:
On Fri, 05 Aug 2011 00:25:38 +0200, Kai Meyer k...@unixlords.com wrote:
I have a need for detecting incorrect byte sequences in multiple files
(2) at a time (as a part of our porting effort to new platforms.)
Ideally the files should be identical for
Kai Meyer:
minCount is, or the usage of minCount in his particular problem?
Your usage seems OK. What I meant is that I don't like the design of
min/max/minCount. I have expressed my ideas here:
http://d.puremagic.com/issues/show_bug.cgi?id=4705
I'd like to know what Andrei thinks about it.
On 08/05/2011 11:13 AM, Jonathan M Davis wrote:
On 08/05/2011 03:02 AM, Pelle wrote:
On Fri, 05 Aug 2011 00:25:38 +0200, Kai Meyerk...@unixlords.com wrote:
I have a need for detecting incorrect byte sequences in multiple files
(2) at a time (as a part of our porting effort to new platforms.)
http://d-programming-language.org/interfaceToC.html
Originally the table just showed D and C types, the 32/64 bit columns
weren't there. On my last commit I had this:
D type | C type
c_long (in core.stdc.config) | long
c_ulong (in core.stdc.config) | unsigned long
long | long long
ulong |
Joshua Niehus Wrote:
Hello,
I am running a script that creates a file which lists all the folders in a
directory:
foreach (string name; dirEntries(/Users/josh/, SpanMode.shallow)) {
append(/Users/dirList.txt, name ~ \n);
}
But it seems to stop appending after 255
Andrej Mitrovic Wrote:
Don't forget having to minimize all the time
to chat to someone on MSN while playing a game. So there are some
benefits to having a browser based interface for a game, imo.
Older games work even better in windowed mode because they expect the screen
with 4:3 aspect
On 8/5/11, Kagamin s...@here.lot wrote:
Andrej Mitrovic Wrote:
Don't forget having to minimize all the time
to chat to someone on MSN while playing a game. So there are some
benefits to having a browser based interface for a game, imo.
Older games work even better in windowed mode because
On 2011-08-05 20:36, Andrej Mitrovic wrote:
http://d-programming-language.org/interfaceToC.html
Originally the table just showed D and C types, the 32/64 bit columns
weren't there. On my last commit I had this:
D type | C type
c_long (in core.stdc.config) | long
c_ulong (in core.stdc.config)
On 05.08.2011 19:35, Joshua Niehus wrote:
Hello,
I am running a script that creates a file which lists all the folders
in a directory:
foreach (string name; dirEntries(/Users/josh/, SpanMode.shallow)) {
append(/Users/dirList.txt, name ~ \n);
}
But it seems to stop appending
@Kagamin
What if
foreach(i;0..512) {
append(/Users/dirList.txt, text(line ,i,'\n'));
}
That works, but I misrepresented the problem and found that the following
may be the issue (this looks more like the code im using):
import std.conv, std.stdio;
void main()
{
string[] strArr;
16 matches
Mail list logo