Then there are polytechnics which I went to for my degree, where the
focus was squarely on Industry and not on academia at all.
But in saying that, we had third year students starting out not
understanding how cli arguments work so...
Proper software engineering really takes 5+ years just to
On 01/09/2018 12:40 PM, tide wrote:
On Friday, 31 August 2018 at 22:42:39 UTC, Walter Bright wrote:
On 8/31/2018 2:40 PM, tide wrote:
I don't think I've ever had a **game** hung up in a black screen and
not be able to close it.
I've had that problem with every **DVD player** I've had in the
On Friday, 31 August 2018 at 22:05:18 UTC, H. S. Teoh wrote:
On Fri, Aug 31, 2018 at 09:40:50PM +, tide via
Digitalmars-d wrote:
On Friday, 31 August 2018 at 21:31:02 UTC, 0xEAB wrote:
[...]
> Furthermore, how often have we cursed about games that hung
> up with a blackscreen and didn't
On Monday, 27 August 2018 at 20:47:08 UTC, Stefam Koch wrote:
I guess I could help you out with coff.
generating it is not the problem but linking it on windows
currently requires the MS linker.
which may not be desired.
then again ... I think binutils do support coff as well.
I might need
On Friday, 31 August 2018 at 22:27:47 UTC, Walter Bright wrote:
On 8/31/2018 2:21 PM, tide wrote:
On Friday, 31 August 2018 at 19:50:20 UTC, Walter Bright wrote:
"Stopping all executing may not be the correct 'safe state'
for an airplane though!"
Depends on the aircraft and how it is
On Friday, 31 August 2018 at 22:42:39 UTC, Walter Bright wrote:
On 8/31/2018 2:40 PM, tide wrote:
I don't think I've ever had a **game** hung up in a black
screen and not be able to close it.
I've had that problem with every **DVD player** I've had in the
last 20 years. Power cycling is the
On Friday, 31 August 2018 at 23:47:40 UTC, Jonathan M Davis wrote:
The are plenty of cases where the teachers actually do an
excellent job teaching the material that the courses cover.
It's just that the material is often about theoretical computer
science - and this is actually stuff that can
On Fri, Aug 31, 2018 at 05:47:40PM -0600, Jonathan M Davis via Digitalmars-d
wrote:
[...]
> The school I went to (Cal Poly, San Luis Obispo) at least tries to
> focus on the practical side of things (their motto is "learn by
> doing"), and when I went there, they even specifically had a Software
On Friday, August 31, 2018 5:20:08 PM MDT H. S. Teoh via Digitalmars-d
wrote:
> A consequence of this disconnect is that the incentives are set up all
> wrong. Professors are paid to publish research papers, not to teach
> students. Teaching is often viewed as an undesired additional burden
>
On Fri, Aug 31, 2018 at 04:45:57PM -0600, Jonathan M Davis via Digitalmars-d
wrote:
> On Friday, August 31, 2018 4:23:09 PM MDT Walter Bright via Digitalmars-d
> wrote:
[...]
> > That won't fix anything, because there is NO conventional wisdom in
> > software engineering for how to deal with
On Friday, August 31, 2018 4:23:09 PM MDT Walter Bright via Digitalmars-d
wrote:
> On 8/31/2018 1:42 PM, Paulo Pinto wrote:
> > Some countries do have engineering certifications and professional
> > permits for software engineering, but its still a minority.
>
> That won't fix anything, because
On 8/31/2018 2:40 PM, tide wrote:
I don't think I've ever had a game hung up in a black
screen and not be able to close it.
I've had that problem with every DVD player I've had in the last 20 years. Power
cycling is the only fix.
On 8/31/2018 2:21 PM, tide wrote:
On Friday, 31 August 2018 at 19:50:20 UTC, Walter Bright wrote:
"Stopping all executing may not be the correct 'safe state' for an airplane
though!"
Depends on the aircraft and how it is implemented. If you have a plane that is
fly by wire, and you stop all
On 8/31/2018 1:42 PM, Paulo Pinto wrote:
Some countries do have engineering certifications and professional permits for
software engineering, but its still a minority.
That won't fix anything, because there is NO conventional wisdom in software
engineering for how to deal with program bugs. I
On Fri, Aug 31, 2018 at 09:40:50PM +, tide via Digitalmars-d wrote:
> On Friday, 31 August 2018 at 21:31:02 UTC, 0xEAB wrote:
[...]
> > Furthermore, how often have we cursed about games that hung up with
> > a blackscreen and didn't let us close them by any mean other than
> > logging off? If
On Friday, 24 August 2018 at 01:43:54 UTC, Walter Bright wrote:
Why can't syntax formatting be implemented, does anyone
disagree that is a useless feature?
It's a useless feature.
Formatting is needed for longer form text, which is not really
appropriate for the forum. Forum posts should be
On Friday, 31 August 2018 at 21:40:50 UTC, tide wrote:
The asserts being there still cause slow downs in things that
would otherwise not be slow. Like how D does assert checks for
indices.
After the bug is fixed and the app is debugged, there's no need
to keep those assertions.
The release
On Friday, 31 August 2018 at 21:31:02 UTC, 0xEAB wrote:
On Friday, 31 August 2018 at 21:21:16 UTC, tide wrote:
Depends on the software being developed, for a game? Stopping
at every assert would be madness. Let a lone having an over
ubundance of asserts. Can't even imagine how many asserts
On Friday, 31 August 2018 at 21:21:16 UTC, tide wrote:
Depends on the software being developed, for a game? Stopping
at every assert would be madness. Let a lone having an over
ubundance of asserts. Can't even imagine how many asserts there
would be in for something like a matrix
On Friday, 31 August 2018 at 19:50:20 UTC, Walter Bright wrote:
https://news.ycombinator.com/item?id=17880722
Typical comments:
"Stopping all executing may not be the correct 'safe state' for
an airplane though!"
Depends on the aircraft and how it is implemented. If you have a
plane that
On Fri, Aug 31, 2018 at 02:02:39PM -0700, Walter Bright via
Digitalmars-d-announce wrote:
> On 8/31/2018 1:19 PM, Nick Sabalausky (Abscissa) wrote:
> > (IF the programmer in question even has the expertise to implement
> > such a system correctly anyway - and most don't).
>
> The closer you can
On Fri, Aug 31, 2018 at 08:42:38PM +, Paulo Pinto via Digitalmars-d wrote:
> On Friday, 31 August 2018 at 19:50:20 UTC, Walter Bright wrote:
> > https://news.ycombinator.com/item?id=17880722
[...]
> > And on and on. It's unbelievable. The conventional wisdom in
> > software for how to deal
On 8/31/2018 1:19 PM, Nick Sabalausky (Abscissa) wrote:
(IF the
programmer in question even has the expertise to implement such a system
correctly anyway - and most don't).
The closer you can get to the ideal, the better. It's not all or nothing.
I'll have done my job if people would just
On Friday, 31 August 2018 at 19:50:20 UTC, Walter Bright wrote:
https://news.ycombinator.com/item?id=17880722
Typical comments:
"`assertAndContinue` crashes in dev and logs an error and keeps
going in prod. Each time we want to verify a runtime
assumption, we decide which type of assert to
On 8/31/18 3:50 PM, Walter Bright wrote:
https://news.ycombinator.com/item?id=17880722
Typical comments:
"`assertAndContinue` crashes in dev and logs an error and keeps going in
prod. Each time we want to verify a runtime assumption, we decide which
type of assert to use. We prefer
On 08/30/2018 05:31 PM, Walter Bright wrote:
https://www.reddit.com/r/programming/comments/9bl72d/assertions_in_production_code/
>
>High reliability is not achieved by making perfect designs, it is
>achieved by making designs that are tolerant of failure. Runtime
>checking is essential to
https://news.ycombinator.com/item?id=17880722
Typical comments:
"`assertAndContinue` crashes in dev and logs an error and keeps going in prod.
Each time we want to verify a runtime assumption, we decide which type of assert
to use. We prefer `assertAndContinue` (and I push for it in code
On Friday, 31 August 2018 at 19:41:59 UTC, Martin Nowak wrote:
Nice one.
I see that you're using ldc as bootstrap/host compiler. While
that will result in faster binaries (in particular useful for
dmd), the official binaries releases are still built with dmd
for now. Just worth noting as it
On Friday, 31 August 2018 at 18:44:23 UTC, Laurent Tréguier wrote:
The repo is used just like any other Copr repo:
sudo dnf copr enable tcg/devel
sudo dnf install dmd dub
Since Copr also allows building packages for EPEL and Mageia,
I'm launching builds for them as well.
[1]
On Friday, 24 August 2018 at 01:43:54 UTC, Walter Bright wrote:
Nearly 20 years of the D forum consumes 2,800,000 4K blocks, or
somewhat over a gigabyte. Not bad.
Using years is about a pointless as using lines of code to
evaluate a project. There's some sites that have received more
On Friday, 24 August 2018 at 01:43:54 UTC, Walter Bright wrote:
On 8/21/2018 2:41 PM, tide wrote:
What about if you accidentially press a button that posts the
comment?
That's really up to your NNTP client's design, which we didn't
implement. There are lots of NNTP clients to choose from.
https://issues.dlang.org/show_bug.cgi?id=19207
ajiesk...@gmail.com changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|
On Friday, 31 August 2018 at 17:50:17 UTC, Steven Schveighoffer
wrote:
What the C compiler is doing is storing it as data, and then
storing the symbol to point at the first element in the data.
When you use const char* in D, it's expecting a *pointer* to be
stored at that address, not the
https://issues.dlang.org/show_bug.cgi?id=15737
ajiesk...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
On Friday, 31 August 2018 at 17:18:58 UTC, Neia Neutuladh wrote:
On Friday, 31 August 2018 at 06:20:09 UTC, James Blachly wrote:
Hi all,
...
When linking to this library from D, I have declared it as:
extern __gshared const(char)* seq_nt16_str;
***But this segfaults when I treat it like an
Hello D people! (and especially, for this thread, RPM-based Linux
users)
As dmd 2.082.0 is coming very soon, I thought I'd share this here.
I've been using Fedora for quite a while now, and have made a
Copr repository to have some tools I didn't find in official
Fedora repositories [1].
It
On Friday, 31 August 2018 at 09:37:55 UTC, Chris wrote:
On Wednesday, 29 August 2018 at 23:47:11 UTC, Laeeth Isharc
wrote:
On Tuesday, 28 August 2018 at 08:51:27 UTC, Chris wrote:
9. I hope D will be great again
Are you someone who lives by hope and fears about things that
have a
On Friday, 31 August 2018 at 06:20:09 UTC, James Blachly wrote:
Hi all,
I am linking to a C library which defines a symbol,
const char seq_nt16_str[] = "=ACMGRSVTWYHKDBN";
In the C sources, this is an array of 16 bytes (17 I guess,
because it is written as a string).
In the C headers, it
On Friday, 31 August 2018 at 07:38:54 UTC, Marcin wrote:
https://github.com/dlang/dmd/blob/master/samples/listener.d
Can some one add more comment to that example?
I need to make code that connects to local application, very
similar to this.
Assumptions:
1. Create an application that
On 8/31/18 2:20 AM, James Blachly wrote:
Hi all,
I am linking to a C library which defines a symbol,
const char seq_nt16_str[] = "=ACMGRSVTWYHKDBN";
In the C sources, this is an array of 16 bytes (17 I guess, because it
is written as a string).
In the C headers, it is listed as extern
On 8/31/18 1:18 PM, Neia Neutuladh wrote:
On Friday, 31 August 2018 at 06:20:09 UTC, James Blachly wrote:
Hi all,
I am linking to a C library which defines a symbol,
const char seq_nt16_str[] = "=ACMGRSVTWYHKDBN";
In the C sources, this is an array of 16 bytes (17 I guess, because it
is
On Friday, 31 August 2018 at 12:52:17 UTC, bauss wrote:
In reality you're micro-optimizing something that doesn't
require it.
I think you misunderstood. I wasn't trying to optimize, I was
looking for a general way to iterate.
I can't see the benefit other than added complexity.
I just
On Friday, 31 August 2018 at 06:20:09 UTC, James Blachly wrote:
Hi all,
I am linking to a C library which defines a symbol,
const char seq_nt16_str[] = "=ACMGRSVTWYHKDBN";
In the C sources, this is an array of 16 bytes (17 I guess,
because it is written as a string).
In the C headers, it
On Friday, 31 August 2018 at 12:52:17 UTC, bauss wrote:
So basically ... Instead of copying the value, you're just
copying the address.
I can't see the benefit other than added complexity.
I assume a benefit could be observed if you are copying a large
struct instead of an int.
On Friday, 31 August 2018 at 08:36:27 UTC, Nick Treleaven wrote:
I hadn't understood the rationale for lazy variadic functions
https://dlang.org/spec/function.html#lazy_variadic_functions
I don't know if this has been updated too but this sentence makes
no sense :
"Then each of the
On Fri, Aug 31, 2018 at 03:13:30PM +, Chris via Digitalmars-d wrote:
> On Friday, 31 August 2018 at 14:38:36 UTC, H. S. Teoh wrote:
> > On Fri, Aug 31, 2018 at 09:37:55AM +, Chris via Digitalmars-d wrote:
> > [...]
> > > 3. moving the goal posts all the time and forcing you into a new
> >
On Friday, 31 August 2018 at 14:38:36 UTC, H. S. Teoh wrote:
On Fri, Aug 31, 2018 at 09:37:55AM +, Chris via
Digitalmars-d wrote: [...]
3. moving the goal posts all the time and forcing you into a
new paradigm every 1 1/2 years (first it was "ranges", then
"templates" and now it's
On Fri, Aug 31, 2018 at 09:37:55AM +, Chris via Digitalmars-d wrote:
[...]
> 3. moving the goal posts all the time and forcing you into a new
> paradigm every 1 1/2 years (first it was "ranges", then "templates"
> and now it's "functional", wait OOP will come back one day).
[...]
Wait, what?
On Thursday, 30 August 2018 at 10:34:33 UTC, Sobaya wrote:
On Monday, 27 August 2018 at 12:47:45 UTC, Nicholas Wilson
wrote:
On Monday, 27 August 2018 at 09:57:18 UTC, Sobaya wrote:
On Monday, 27 August 2018 at 09:41:34 UTC, 9il wrote:
On Monday, 27 August 2018 at 08:25:14 UTC, Sobaya wrote:
On Friday, 31 August 2018 at 09:59:20 UTC, Dukc wrote:
For me, it seems that for generality you should always add ref
into foreach loop variable. The reason is this:
import std.experimental.all;
struct NoCopies
{ @disable this(this);
int payload;
}
void main()
{ auto range = new
On Friday, 31 August 2018 at 12:21:48 UTC, aliak wrote:
auto ToUnderlyingType(alias a)() {
return cast(OriginalType!(typeof(a)))a;
}
void print(T...)(T args) {
writeln(staticMap!(ToUnderlyingType, args));
}
Oohhh. So easy! Killed 2 days - and templates and mixins tried...
And the
https://issues.dlang.org/show_bug.cgi?id=19202
Mike Franklin changed:
What|Removed |Added
Keywords||pull
--
https://issues.dlang.org/show_bug.cgi?id=19202
--- Comment #2 from Mike Franklin ---
Attempted fix: https://github.com/dlang/dmd/pull/8645
--
On Friday, 31 August 2018 at 10:51:51 UTC, Andrey wrote:
On Thursday, 30 August 2018 at 12:04:26 UTC, vit wrote:
On Thursday, 30 August 2018 at 11:34:36 UTC, Andrey wrote:
On Thursday, 30 August 2018 at 11:09:40 UTC, vit wrote:
[...]
I want to create a reusable template for this purpose.
https://issues.dlang.org/show_bug.cgi?id=19202
Mike Franklin changed:
What|Removed |Added
CC||slavo5...@yahoo.com
--- Comment #1 from
On Friday, 31 August 2018 at 10:37:05 UTC, rikki cattermole wrote:
On 31/08/2018 10:16 PM, Andrey wrote:
Any self-respecting website related to programming or
developing something, has in its composition a place where
people can comfortably and freely discuss pressing issues. Not
some weird
On Thursday, 30 August 2018 at 12:04:26 UTC, vit wrote:
On Thursday, 30 August 2018 at 11:34:36 UTC, Andrey wrote:
On Thursday, 30 August 2018 at 11:09:40 UTC, vit wrote:
[...]
I want to create a reusable template for this purpose.
Why I can't use "staticMap" so that compiler it self would
On Thursday, 30 August 2018 at 21:40:40 UTC, Everlast wrote:
On Thursday, 30 August 2018 at 00:10:42 UTC, Paul Backus wrote:
[...]
This is not true! You claim that I'm making a blanket statement
about what mathematicians would view then you do the same.
[...]
If ... implies "an arbitrary
On 31/08/2018 10:16 PM, Andrey wrote:
Any self-respecting website related to programming or developing
something, has in its composition a place where people can comfortably
and freely discuss pressing issues. Not some weird news group.
Feel free to argue this for projects like the Linux
On Friday, 24 August 2018 at 01:43:54 UTC, Walter Bright wrote:
On 8/21/2018 2:41 PM, tide wrote:
What about if you accidentially press a button that posts the
comment?
That's really up to your NNTP client's design, which we didn't
implement. There are lots of NNTP clients to choose from.
For me, it seems that for generality you should always add ref
into foreach loop variable. The reason is this:
import std.experimental.all;
struct NoCopies
{ @disable this(this);
int payload;
}
void main()
{ auto range = new NoCopies[20];
foreach(const ref el; range)
On Thursday, 30 August 2018 at 11:45:00 UTC, Joakim wrote:
(Quoting from the article I think).
Kuhn and Lakatos. Paradigm shifts don't take place when the
dominant paradigm is defeated by logical or empirical means.
Paradigm shifts take place when for some reason people say
"how about we
On Wednesday, 29 August 2018 at 23:47:11 UTC, Laeeth Isharc wrote:
On Tuesday, 28 August 2018 at 08:51:27 UTC, Chris wrote:
Julia is great. I don't see it as a competitor to D but for us
one way researchers might access libraries written in D. One
could do quite a lot in it, but I don't
https://issues.dlang.org/show_bug.cgi?id=17934
Mike Franklin changed:
What|Removed |Added
CC||slavo5...@yahoo.com
--- Comment #7 from
On Thursday, 23 August 2018 at 09:09:40 UTC, Shachar Shemesh
wrote:
Please see the thread about lazy [1] for a case where a
question actually has an answer, but nobody seems to know it
I updated the spec for lazy parameters to add a link to lazy
variadic functions at the end, and for the
https://issues.dlang.org/show_bug.cgi?id=19097
--- Comment #10 from Mike Franklin ---
Some comments from the forum worth visiting with regard to this proposal:
https://forum.dlang.org/post/plja2k$28r0$1...@digitalmars.com
https://forum.dlang.org/post/pljpnr$7g9$1...@digitalmars.com
--
https://issues.dlang.org/show_bug.cgi?id=19210
Mike Franklin changed:
What|Removed |Added
Keywords||safe
Severity|enhancement
https://issues.dlang.org/show_bug.cgi?id=19210
Issue ID: 19210
Summary: Poor error message for `return` function parameter
that is not `ref`
Product: D
Version: D2
Hardware: All
OS: All
Status:
https://github.com/dlang/dmd/blob/master/samples/listener.d
Can some one add more comment to that example?
I need to make code that connects to local application, very
similar to this.
Assumptions:
1. Create an application that listens to arguments.
2. Create an application that will send
Hi all,
I am linking to a C library which defines a symbol,
const char seq_nt16_str[] = "=ACMGRSVTWYHKDBN";
In the C sources, this is an array of 16 bytes (17 I guess,
because it is written as a string).
In the C headers, it is listed as extern const char
seq_nt16_str[];
When linking to
70 matches
Mail list logo