Re: This thread on Hacker News terrifies me

2018-09-04 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 09/04/2018 06:35 PM, Walter Bright wrote: Another example I read on HackerNews today: "I recall that during their most recent s3 outage Amazon's status page was green across the board, because somehow all the assets that were supposed to be displayed when things went wrong were themselves

Re: This thread on Hacker News terrifies me

2018-09-04 Thread Walter Bright via Digitalmars-d
Another example I read on HackerNews today: "I recall that during their most recent s3 outage Amazon's status page was green across the board, because somehow all the assets that were supposed to be displayed when things went wrong were themselves hosted on the thing that was down."

Re: This thread on Hacker News terrifies me

2018-09-04 Thread Ola Fosheim Grøstad via Digitalmars-d
On Monday, 3 September 2018 at 02:58:01 UTC, Nick Sabalausky (Abscissa) wrote: In the 50's/60's in particular, I imagine a much larger percentage of programmers probably had either some formal engineering background or something equally strong. I guess some had, but my impression it that it

Re: This thread on Hacker News terrifies me

2018-09-04 Thread Neia Neutuladh via Digitalmars-d
On Tuesday, 4 September 2018 at 11:21:24 UTC, Kagamin wrote: On Sunday, 2 September 2018 at 21:07:20 UTC, Nick Sabalausky (Abscissa) wrote: B. Physical interface: -- By this I mean both actual input devices (keyboards, controllers, pointing devices) and also the mappings

Re: This thread on Hacker News terrifies me

2018-09-04 Thread Kagamin via Digitalmars-d
On Sunday, 2 September 2018 at 21:07:20 UTC, Nick Sabalausky (Abscissa) wrote: B. Physical interface: -- By this I mean both actual input devices (keyboards, controllers, pointing devices) and also the mappings from their affordances (ie, what you can do with them: push

Re: This thread on Hacker News terrifies me

2018-09-04 Thread Kagamin via Digitalmars-d
On Sunday, 2 September 2018 at 21:07:20 UTC, Nick Sabalausky (Abscissa) wrote: GUI programming has been attempted a lot. (See Scratch for one of the latest, possibly most successful attempts). But there are real, practical reasons it's never made significant in-roads (yet). There are really

Re: This thread on Hacker News terrifies me

2018-09-03 Thread Guillaume Piolat via Digitalmars-d
On Saturday, 1 September 2018 at 11:36:52 UTC, Walter Bright wrote: I'm rather sad that I've never seen these ideas outside of the aerospace industry. Added to that is all the pushback on them I get here, on reddit, and on hackernews. Just chiming in to say you're certainly not ignored,

Re: This thread on Hacker News terrifies me

2018-09-03 Thread Walter Bright via Digitalmars-d
On 9/3/2018 8:33 AM, tide wrote: Yes why wouldn't a company want to fix a "feature" where by, if you have a scratch on a DVD you have to go buy another one in order to play it. Not playing it with an appropriate message is fine. Hanging the machine is not. It's obviously not that big of a

Re: This thread on Hacker News terrifies me

2018-09-03 Thread Gambler via Digitalmars-d
On 9/3/2018 1:55 PM, Gambler wrote: > There is this VR game called Fantastic Contraption. Its interface is > light-years ahead of anything else I've seen in VR. The point of the > game is to design animated 3D structures that solve the problem of > traversing various obstacles while moving from

Re: This thread on Hacker News terrifies me

2018-09-03 Thread Gambler via Digitalmars-d
I have to delete some quoted text to make this manageable. On 9/2/2018 5:07 PM, Nick Sabalausky (Abscissa) wrote: > [...] > GUI programming has been attempted a lot. (See Scratch for one of the > latest, possibly most successful attempts). But there are real, > practical reasons it's never made

Re: This thread on Hacker News terrifies me

2018-09-03 Thread tide via Digitalmars-d
On Saturday, 1 September 2018 at 20:48:27 UTC, Walter Bright wrote: On 9/1/2018 5:25 AM, tide wrote: and that all bugs can be solved with asserts I never said that, not even close. Are you in large implying it. But I will maintain that DVD players still hanging on a scratched DVD after 20

Re: This thread on Hacker News terrifies me

2018-09-03 Thread Kagamin via Digitalmars-d
On Saturday, 1 September 2018 at 11:32:32 UTC, Jonathan M Davis wrote: I think that his point was more that it's sometimes argued that software engineering really isn't engineering in the classical sense. If you're talking about someone like a civil engineer for instance, the engineer applies

Re: This thread on Hacker News terrifies me

2018-09-03 Thread Jonathan M Davis via Digitalmars-d
On Sunday, September 2, 2018 11:54:57 PM MDT Nick Sabalausky (Abscissa) via Digitalmars-d wrote: > On 09/03/2018 12:46 AM, H. S. Teoh wrote: > > Anything less is unsafe, because being > > in an invalid state means you cannot predict what the program will do > > when you try to recover it. Your

Re: This thread on Hacker News terrifies me

2018-09-02 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 09/03/2018 12:46 AM, H. S. Teoh wrote: On Sun, Sep 02, 2018 at 09:33:36PM -0700, H. S. Teoh wrote: [...] The reason I picked memory corruption is because it's a good illustration of how badly things can go wrong when code that is known to have programming bugs continue running unchecked.

Re: This thread on Hacker News terrifies me

2018-09-02 Thread H. S. Teoh via Digitalmars-d
On Sun, Sep 02, 2018 at 09:33:36PM -0700, H. S. Teoh wrote: [...] > The reason I picked memory corruption is because it's a good > illustration of how badly things can go wrong when code that is known to > have programming bugs continue running unchecked. [...] P.S. And memory corruption is also

Re: This thread on Hacker News terrifies me

2018-09-02 Thread H. S. Teoh via Digitalmars-d
On Mon, Sep 03, 2018 at 03:21:00AM +, tide via Digitalmars-d wrote: [...] > Any graphic problems are going to stem probably more from shaders and > interaction with the GPU than any sort of logic code. [...] > What he was talking about was basically that, he was saying how it > could be used

Re: This thread on Hacker News terrifies me

2018-09-02 Thread tide via Digitalmars-d
On Saturday, 1 September 2018 at 13:21:27 UTC, Jonathan M Davis wrote: On Saturday, September 1, 2018 6:37:13 AM MDT tide via Digitalmars-d wrote: On Saturday, 1 September 2018 at 08:18:03 UTC, Walter Bright wrote: > On 8/31/2018 7:28 PM, tide wrote: >> I'm just wondering but how would you

Re: This thread on Hacker News terrifies me

2018-09-02 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 09/02/2018 09:20 PM, Walter Bright wrote: On 9/1/2018 8:18 PM, Nick Sabalausky (Abscissa) wrote: [...] My take on all this is people spend 5 minutes thinking about it and are confident they know it all. Wouldn't it be nice if we COULD do that? :) A few years back some hacker claimed

Re: This thread on Hacker News terrifies me

2018-09-02 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 09/02/2018 07:17 PM, Gambler wrote: But in general, I believe the statement about comparative reliability of tech from 1970s is true. I'm perpetually impressed with is all the mainframe software that often runs mission-critical operations in places you would least expect. I suspect it may

Re: This thread on Hacker News terrifies me

2018-09-02 Thread Walter Bright via Digitalmars-d
On 9/1/2018 8:18 PM, Nick Sabalausky (Abscissa) wrote: [...] My take on all this is people spend 5 minutes thinking about it and are confident they know it all. A few years back some hacker claimed they'd gotten into the Boeing flight control computers via the passenger entertainment

Re: This thread on Hacker News terrifies me

2018-09-02 Thread Gambler via Digitalmars-d
On 9/1/2018 11:42 PM, Nick Sabalausky (Abscissa) wrote: > On 09/01/2018 05:06 PM, Ola Fosheim Grøstad wrote: >> >> If you have a specific context (like banking) then you can develop a >> software method that specifies how to build banking software, and >> repeat it, assuming that the banks you

Re: This thread on Hacker News terrifies me

2018-09-02 Thread Ola Fosheim Grøstad via Digitalmars-d
On Sunday, 2 September 2018 at 04:59:49 UTC, Nick Sabalausky (Abscissa) wrote: A. People not caring enough about their own craft to actually TRY to learn how to do it right. Well, that is an issue. That many students enroll into programming courses, not because they take pride in writing good

Re: This thread on Hacker News terrifies me

2018-09-02 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 09/01/2018 03:47 PM, Everlast wrote: It's because programming is done completely wrong. All we do is program like it's 1952 all wrapped up in a nice box and bow tie. WE should have tools and a compiler design that all work interconnected with complete graphical interfaces that aren't

Re: This thread on Hacker News terrifies me

2018-09-02 Thread Laeeth Isharc via Digitalmars-d
On Sunday, 2 September 2018 at 06:25:47 UTC, Nick Sabalausky (Abscissa) wrote: On 08/31/2018 07:47 PM, Jonathan M Davis wrote: However, many teachers really aren't great programmers. They aren't necessarily bad programmers, but unless they spent a bunch of time in industry before teaching,

Re: This thread on Hacker News terrifies me

2018-09-02 Thread Steven Schveighoffer via Digitalmars-d
On 9/1/18 6:29 AM, Shachar Shemesh wrote: On 31/08/18 23:22, Steven Schveighoffer wrote: 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

Re: This thread on Hacker News terrifies me

2018-09-02 Thread Patrick Schluter via Digitalmars-d
On Sunday, 2 September 2018 at 04:21:44 UTC, Jonathan M Davis wrote: On Saturday, September 1, 2018 9:18:17 PM MDT Nick Sabalausky (Abscissa) via Digitalmars-d wrote: So honestly, I don't find it at all surprising when an application can't handle not being able to write to disk. Ideally, it

Re: This thread on Hacker News terrifies me

2018-09-02 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 09/02/2018 02:06 AM, Joakim wrote: On Sunday, 2 September 2018 at 05:16:43 UTC, Nick Sabalausky (Abscissa) wrote: Smug as I may have been at the at the time, it wasn't until later I realized the REAL smart ones were the ones out partying, not the grads or the nerds like me. Why? Please

Re: This thread on Hacker News terrifies me

2018-09-02 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 09/02/2018 12:21 AM, Jonathan M Davis wrote: The C APIs on the other hand require that you check the return value, and some of the C++ APIs require the same. Heh, yea, as horrifically awful as return value errors really are, I have to admit, with them, at least it's actually *possible* to

Re: This thread on Hacker News terrifies me

2018-09-02 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 08/31/2018 07:47 PM, Jonathan M Davis wrote: However, many teachers really aren't great programmers. They aren't necessarily bad programmers, but unless they spent a bunch of time in industry before teaching, odds are that they don't have all of the software engineering skills that the

Re: This thread on Hacker News terrifies me

2018-09-02 Thread Joakim via Digitalmars-d
On Sunday, 2 September 2018 at 05:16:43 UTC, Nick Sabalausky (Abscissa) wrote: On 09/02/2018 12:53 AM, Jonathan M Davis wrote: Ouch. Seriously, seriously ouch. Heh, yea, well...that particular one was state party school, so, what y'gonna do? *shrug* Smug as I may have been at the at the

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 09/01/2018 09:15 AM, Jonathan M Davis wrote: I don't know if any DVD players have ever used Java, but all Blu-ray players do require it, because unfortunately, the Blu-ray spec allows for the menus to be done via Java (presumably so that they can be fancier than what was possible on DVDs).

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 09/02/2018 12:53 AM, Jonathan M Davis wrote: Ouch. Seriously, seriously ouch. Heh, yea, well...that particular one was state party school, so, what y'gonna do? *shrug* Smug as I may have been at the at the time, it wasn't until later I realized the REAL smart ones were the ones out

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 09/01/2018 02:15 AM, Ola Fosheim Grøstad wrote: The root cause of bad software is that many programmers don't even have an education in CS or software engineering, or didn't do a good job while getting it! Meh, no. The root cause trifecta is: A. People not caring enough about their

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 1, 2018 10:44:57 PM MDT Nick Sabalausky (Abscissa) via Digitalmars-d wrote: > On 09/01/2018 01:51 AM, rikki cattermole wrote: > > But in saying that, we had third year students starting out not > > understanding how cli arguments work so... > > How I wish that sort of thing

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 09/01/2018 01:51 AM, rikki cattermole wrote: But in saying that, we had third year students starting out not understanding how cli arguments work so... How I wish that sort of thing surprised me ;) As part of the generation that grew up with BASIC on 80's home computers, part of my

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 08/31/2018 07:20 PM, H. S. Teoh wrote: The problem is that there is a disconnect between academia and the industry. The goal in academia is to produce new research, to find ground-breaking new theories that bring a lot of recognition and fame to the institution when published. It's the

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 1, 2018 9:18:17 PM MDT Nick Sabalausky (Abscissa) via Digitalmars-d wrote: > On 08/31/2018 03:50 PM, Walter Bright wrote: > [From your comment in that thread] > > > fill up your system disk to near capacity, then try to run various > > apps and system utilities. > > I've

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 09/01/2018 05:06 PM, Ola Fosheim Grøstad wrote: If you have a specific context (like banking) then you can develop a software method that specifies how to build banking software, and repeat it, assuming that the banks you develop the method for are similar Of course, banking has changed

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 08/31/2018 05:09 PM, H. S. Teoh wrote: It's precisely for this reason that the title "software engineer" makes me cringe on the one hand, and snicker on the other hand. I honestly cannot keep a straight face when using the word "engineering" to describe what a typical programmer does in the

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 08/31/2018 03: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

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Norm via Digitalmars-d
On Saturday, 1 September 2018 at 20:48:27 UTC, Walter Bright wrote: On 9/1/2018 5:25 AM, tide wrote: and that all bugs can be solved with asserts I never said that, not even close. But I will maintain that DVD players still hanging on a scratched DVD after 20 years of development means

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Gambler via Digitalmars-d
On 9/1/2018 7:36 AM, Walter Bright wrote: > On 9/1/2018 2:15 AM, Paulo Pinto wrote: >> On Saturday, 1 September 2018 at 08:19:49 UTC, Walter Bright wrote: >>> On 8/31/2018 11:59 PM, Paulo Pinto wrote: > For example, in any CS program, are there any courses at all about > this? Yes, we

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Walter Bright via Digitalmars-d
On 9/1/2018 2:33 PM, Gambler wrote: Alan Kay, Joe Armstrong, Jim Coplien - just to name a few famous people who talked about this issue. It's amazing that so many engineers still don't get it. I'm inclined to put some blame on the recent TDD movement. They often to seem stress low-level code

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Gambler via Digitalmars-d
On 8/31/2018 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

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Ola Fosheim Grøstad via Digitalmars-d
On Saturday, 1 September 2018 at 11:32:32 UTC, Jonathan M Davis wrote: I'm not sure that I really agree that software engineering isn't engineering, but the folks who argue against it do have a point in that software engineering is definitely not like most other engineering disciplines, and

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Walter Bright via Digitalmars-d
On 9/1/2018 5:33 AM, tide wrote: It is vastly different, do you know what fly by wire is? Yes, I do. Do you know I worked for three years on critical flight controls systems at Boeing? I said so in the article(s). These ideas are not mine, I did not come up with them in 5 minutes at the

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Walter Bright via Digitalmars-d
On 9/1/2018 5:25 AM, tide wrote: and that all bugs can be solved with asserts I never said that, not even close. But I will maintain that DVD players still hanging on a scratched DVD after 20 years of development means there's some cowboy engineering going on, and an obvious lack of concern

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Walter Bright via Digitalmars-d
On 9/1/2018 1:18 AM, Walter Bright wrote: On 8/31/2018 7:28 PM, tide wrote: I'm just wondering but how would you code an assert to ensure the variable for a title bar is the correct color? Just how many asserts are you going to have in your real-time game that can be expected to run at 144+

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Everlast via Digitalmars-d
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

Re: This thread on Hacker News terrifies me

2018-09-01 Thread rikki cattermole via Digitalmars-d
On 02/09/2018 1:15 AM, Jonathan M Davis wrote: On Saturday, September 1, 2018 6:46:38 AM MDT rikki cattermole via Digitalmars-d wrote: On 02/09/2018 12:21 AM, tide wrote: On Saturday, 1 September 2018 at 05:53:12 UTC, rikki cattermole wrote: On 01/09/2018 12:40 PM, tide wrote: On Friday, 31

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 1, 2018 6:37:13 AM MDT tide via Digitalmars-d wrote: > On Saturday, 1 September 2018 at 08:18:03 UTC, Walter Bright > > wrote: > > On 8/31/2018 7:28 PM, tide wrote: > >> I'm just wondering but how would you code an assert to ensure > >> the variable for a title bar is the

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 1, 2018 6:46:38 AM MDT rikki cattermole via Digitalmars-d wrote: > On 02/09/2018 12:21 AM, tide wrote: > > On Saturday, 1 September 2018 at 05:53:12 UTC, rikki cattermole wrote: > >> On 01/09/2018 12:40 PM, tide wrote: > >>> On Friday, 31 August 2018 at 22:42:39 UTC, Walter

Re: This thread on Hacker News terrifies me

2018-09-01 Thread tide via Digitalmars-d
On Saturday, 1 September 2018 at 13:03:50 UTC, rikki cattermole wrote: On 02/09/2018 12:57 AM, tide wrote: On Saturday, 1 September 2018 at 12:49:12 UTC, rikki cattermole wrote: On 02/09/2018 12:37 AM, tide wrote: On Saturday, 1 September 2018 at 08:18:03 UTC, Walter Bright wrote: On

Re: This thread on Hacker News terrifies me

2018-09-01 Thread rikki cattermole via Digitalmars-d
On 02/09/2018 12:57 AM, tide wrote: On Saturday, 1 September 2018 at 12:49:12 UTC, rikki cattermole wrote: On 02/09/2018 12:37 AM, tide wrote: On Saturday, 1 September 2018 at 08:18:03 UTC, Walter Bright wrote: On 8/31/2018 7:28 PM, tide wrote: I'm just wondering but how would you code an

Re: This thread on Hacker News terrifies me

2018-09-01 Thread tide via Digitalmars-d
On Saturday, 1 September 2018 at 12:49:12 UTC, rikki cattermole wrote: On 02/09/2018 12:37 AM, tide wrote: On Saturday, 1 September 2018 at 08:18:03 UTC, Walter Bright wrote: On 8/31/2018 7:28 PM, tide wrote: I'm just wondering but how would you code an assert to ensure the variable for a

Re: This thread on Hacker News terrifies me

2018-09-01 Thread rikki cattermole via Digitalmars-d
On 02/09/2018 12:21 AM, tide wrote: On Saturday, 1 September 2018 at 05:53:12 UTC, rikki cattermole wrote: 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

Re: This thread on Hacker News terrifies me

2018-09-01 Thread rikki cattermole via Digitalmars-d
On 02/09/2018 12:37 AM, tide wrote: On Saturday, 1 September 2018 at 08:18:03 UTC, Walter Bright wrote: On 8/31/2018 7:28 PM, tide wrote: I'm just wondering but how would you code an assert to ensure the variable for a title bar is the correct color? Just how many asserts are you going to

Re: This thread on Hacker News terrifies me

2018-09-01 Thread tide via Digitalmars-d
On Saturday, 1 September 2018 at 08:18:03 UTC, Walter Bright wrote: On 8/31/2018 7:28 PM, tide wrote: I'm just wondering but how would you code an assert to ensure the variable for a title bar is the correct color? Just how many asserts are you going to have in your real-time game that can be

Re: This thread on Hacker News terrifies me

2018-09-01 Thread tide via Digitalmars-d
On Saturday, 1 September 2018 at 08:05:58 UTC, Walter Bright wrote: On 8/31/2018 5:47 PM, tide wrote: I've already read them before. Why don't you explain what is wrong with it rather than posting articles. Because the articles explain the issues at length. Explaining why your proposal is

Re: This thread on Hacker News terrifies me

2018-09-01 Thread tide via Digitalmars-d
On Saturday, 1 September 2018 at 07:59:27 UTC, Walter Bright wrote: On 8/31/2018 5: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.

Re: This thread on Hacker News terrifies me

2018-09-01 Thread tide via Digitalmars-d
On Saturday, 1 September 2018 at 05:53:12 UTC, rikki cattermole wrote: 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

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Walter Bright via Digitalmars-d
On 9/1/2018 3:49 AM, Dennis wrote: On Friday, 31 August 2018 at 22:23:09 UTC, Walter Bright wrote: For example, in any CS program, are there any courses at all about this? In Year 1 Q4 of my Bachelor CS, there was a course "Software Testing and Quality Engineering" which covered things like

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Walter Bright via Digitalmars-d
On 9/1/2018 2:15 AM, Paulo Pinto wrote: On Saturday, 1 September 2018 at 08:19:49 UTC, Walter Bright wrote: On 8/31/2018 11:59 PM, Paulo Pinto wrote: For example, in any CS program, are there any courses at all about this? Yes, we had them on my degree, I'm curious how the courses you took

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Dennis via Digitalmars-d
On Saturday, 1 September 2018 at 08:18:03 UTC, Walter Bright wrote: On 8/31/2018 7:28 PM, tide wrote: I'm just wondering but how would you code an assert to ensure the variable for a title bar is the correct color? Just how many asserts are you going to have in your real-time game that can be

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 1, 2018 2:19:07 AM MDT Kagamin via Digitalmars-d wrote: > On Friday, 31 August 2018 at 21:09:21 UTC, H. S. Teoh wrote: > >> Some countries do have engineering certifications and > >> professional permits for software engineering, but its still a > >> minority. > > > > [...]

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 1, 2018 1:59:27 AM MDT Walter Bright via Digitalmars- d wrote: > On 8/31/2018 5: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

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Dennis via Digitalmars-d
On Friday, 31 August 2018 at 22:23:09 UTC, Walter Bright wrote: For example, in any CS program, are there any courses at all about this? In Year 1 Q4 of my Bachelor CS, there was a course "Software Testing and Quality Engineering" which covered things like test types (unit, end-to-end, smoke

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Shachar Shemesh via Digitalmars-d
On 31/08/18 23:22, Steven Schveighoffer wrote: 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

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Paulo Pinto via Digitalmars-d
On Saturday, 1 September 2018 at 08:19:49 UTC, Walter Bright wrote: On 8/31/2018 11:59 PM, Paulo Pinto wrote: For example, in any CS program, are there any courses at all about this? Yes, we had them on my degree, I'm curious how the courses you took compared with the articles I wrote about

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Kagamin via Digitalmars-d
On Friday, 31 August 2018 at 21:09:21 UTC, H. S. Teoh wrote: Some countries do have engineering certifications and professional permits for software engineering, but its still a minority. [...] It's precisely for this reason that the title "software engineer" makes me cringe on the one hand,

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Walter Bright via Digitalmars-d
On 8/31/2018 7:28 PM, tide wrote: I'm just wondering but how would you code an assert to ensure the variable for a title bar is the correct color? Just how many asserts are you going to have in your real-time game that can be expected to run at 144+ fps ? Experience will guide you on where to

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Walter Bright via Digitalmars-d
On 8/31/2018 11:59 PM, Paulo Pinto wrote: For example, in any CS program, are there any courses at all about this? Yes, we had them on my degree, I'm curious how the courses you took compared with the articles I wrote about it.

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Walter Bright via Digitalmars-d
On 8/31/2018 5:47 PM, tide wrote: I've already read them before. Why don't you explain what is wrong with it rather than posting articles. Because the articles explain the issues at length. Explaining why your proposal is deeply flawed was the entire purpose I wrote them. You are just

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Walter Bright via Digitalmars-d
On 8/31/2018 5: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

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Paulo Pinto via Digitalmars-d
On Saturday, 1 September 2018 at 05:57:06 UTC, rikki cattermole wrote: It all comes down to, not enough time to cover the material. Programming is the largest scientific field in existence. It has merged material from Physics, Chemistry, Psychology (in a BIG WAY), Biology, you name it and

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Paulo Pinto via Digitalmars-d
On Friday, 31 August 2018 at 22:23:09 UTC, Walter Bright 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 there is NO conventional

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Ola Fosheim Grøstad via Digitalmars-d
On Friday, 31 August 2018 at 23:20:08 UTC, H. S. Teoh wrote: The problem is that there is a disconnect between academia and the industry. No, there isn't. Plenty of research is focused on software engineering and software process improvement. Those are separate research branches. The

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Ola Fosheim Grøstad via Digitalmars-d
On Saturday, 1 September 2018 at 05:51:10 UTC, rikki cattermole wrote: 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 the teaching is based on research in a good engineering school... But in saying that,

Re: This thread on Hacker News terrifies me

2018-09-01 Thread rikki cattermole via Digitalmars-d
It all comes down to, not enough time to cover the material. Programming is the largest scientific field in existence. It has merged material from Physics, Chemistry, Psychology (in a BIG WAY), Biology, you name it and that ignores Mathematics. Three to four years is just scratching the

Re: This thread on Hacker News terrifies me

2018-08-31 Thread rikki cattermole via Digitalmars-d
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

Re: This thread on Hacker News terrifies me

2018-08-31 Thread rikki cattermole via Digitalmars-d
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

Re: This thread on Hacker News terrifies me

2018-08-31 Thread tide via Digitalmars-d
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

Re: This thread on Hacker News terrifies me

2018-08-31 Thread tide via Digitalmars-d
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

Re: This thread on Hacker News terrifies me

2018-08-31 Thread tide via Digitalmars-d
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

Re: This thread on Hacker News terrifies me

2018-08-31 Thread RhyS via Digitalmars-d
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

Re: This thread on Hacker News terrifies me

2018-08-31 Thread H. S. Teoh via Digitalmars-d
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

Re: This thread on Hacker News terrifies me

2018-08-31 Thread Jonathan M Davis via Digitalmars-d
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 >

Re: This thread on Hacker News terrifies me

2018-08-31 Thread H. S. Teoh via Digitalmars-d
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

Re: This thread on Hacker News terrifies me

2018-08-31 Thread Jonathan M Davis via Digitalmars-d
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

Re: This thread on Hacker News terrifies me

2018-08-31 Thread Walter Bright via Digitalmars-d
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.

Re: This thread on Hacker News terrifies me

2018-08-31 Thread Walter Bright via Digitalmars-d
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

Re: This thread on Hacker News terrifies me

2018-08-31 Thread Walter Bright via Digitalmars-d
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

Re: This thread on Hacker News terrifies me

2018-08-31 Thread H. S. Teoh via Digitalmars-d
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

Re: This thread on Hacker News terrifies me

2018-08-31 Thread 0xEAB via Digitalmars-d
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

Re: This thread on Hacker News terrifies me

2018-08-31 Thread tide via Digitalmars-d
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

Re: This thread on Hacker News terrifies me

2018-08-31 Thread 0xEAB via Digitalmars-d
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

Re: This thread on Hacker News terrifies me

2018-08-31 Thread tide via Digitalmars-d
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

Re: This thread on Hacker News terrifies me

2018-08-31 Thread H. S. Teoh via Digitalmars-d
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

Re: This thread on Hacker News terrifies me

2018-08-31 Thread Paulo Pinto via Digitalmars-d
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

Re: This thread on Hacker News terrifies me

2018-08-31 Thread Steven Schveighoffer via Digitalmars-d
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

  1   2   >