Autor Beitrag
hathor
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Di 01.12.15 14:18 
Ja, sehr schaaade !

Zitat:
"I'm not sure who's interested, but you're the one that clicked the button... so here goes.

I'm a 69-yr old (as of 2008) retired programmer with a fondness for all of the topics that appear in this site. We live on a few acres in the Blue Ridge Mountains of Southwest Virginia.

I developed a love for mathematics and science largely because of Mr. Paul Bader and Mr. Robert Wellever, two great teachers from my high school days in Fenton, Michigan. I regret that I never got back in touch with them to tell them so. Without them, I probably wouldn't have enrolled in that first programming class at Michigan State University, on "Miliac", a vacuum tube behemoth that we programmed (in Fortran) by punching programs onto paper tapes. Paper tapes were carried to Miliac and returned the next day along with output paper tapes - which we carried to the printer so we could print results, find our errors, and try again. Most programmers today probably have never heard the term "desk checking". With 24 hour turnaround, one becomes very proficient at it!

Time passes - I graduated from MSU andI worked a few years for Rocketdyne in California, writing Fortran programs doing spectral analysis - trying to figure why our F2 rocket engines kept blowing up. (We did - the F2 powered the first Saturn rockets into space a few years later). I then worked for IBM for a few years developing BPS Card Fortran that ran on early System 360 computers. We weren't lucky enough to get to work on the "big" systems that had tape drives and 32kb or 64kb of memory (kb=kilobytes=1024 bytes) - our compiler had to run on a 16kb system! The compiler read in a deck of 80 column punched cards and punched out compiled code on another deck. As I recall, the compiler deck was made up of 13 smaller decks - each a phase of the compiler - and made a stack of cards about a foot high. The Fortran source code deck had to go into this deck between phases 1 and 2. Woe be to the person who dropped the deck! The compiler phases had to come and go while the program stayed in memory. Disk drives hadn't been invented yet. Gosh, just writing this is making me feel a lot older,

The years that followed included stints in Germany, Falls Church and Richmond, Virginia and finally 10 years with Aramco in Saudi Arabia ending at the time of the Gulf War. I learned and used Fortran, Assembler, RPG, Cobol, C, Pascal, and SAS programming languages during this time.

While in Saudi, I learned Turbo Pascal, Delphi's predecessor, while writing a paper for my Master's degree. An engineer buddy and I collaborated on TurboExpert - an expert system shell that diagnosed rotating equipment problems. Later converted to Delphi, TurboExpert earned me a degree and Jim and I a royalty contract with a company that marketed the product for 12 years. The income from the 6 months spent developing TurboExpert enabled early retirement for us both. So is it any wonder that Delphi has a spot reserved on my hearth?

Over the years, I had written many puzzle and game programs "just for fun". With 8 grandchildren now, I decided it would be nice to preserve some of them in case they were ever motivated to use programming to develop critical thinking (aka problem solving) skills. Programming is surely one of the best ways to build these skills (persistence and "divide and conquer" being the two biggies in my opinion).

So, now you can understand some of the motivation for this site. I'm disturbed by, but understand, the current Advanced Placement emphasis on C++ with a switch to Java on the horizon. Their job is to reflect what most colleges teach so that kids can get credit for some college classes. I haven't heard anyone try to defend C++ as the best first programming language. Or the advantage of taking college classes from teachers who are generally not as qualified as those employed by colleges and universities.

And sometimes it really does pay to take the road less traveled.

Gary Darby
"
Delphi-Laie
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1600
Erhaltene Danke: 232


Delphi 2 - RAD-Studio 10.1 Berlin
BeitragVerfasst: Di 01.12.15 16:10 
Ja, es dünnt sich langsam, aber sicher immer mehr aus, schade. Irgendwie sagt mir Gary Darby etwas, hatte schon mal mit dem Namen zu tun, weiß aber nicht mehr, in welchem Zusammenhang.

Zum Glück gibt es z.B. die Delphi-Fundgrube noch, die steuere ich gern an. Auch in den Delphifeeds findet man manchmal Goldstaub bzw. Zauberrezepte, ganz zu schweigen von den Programmiertips im Swissdelphicenter.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19272
Erhaltene Danke: 1740

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mi 02.12.15 00:39 
user profile iconDelphi-Laie hat folgendes geschrieben Zum zitierten Posting springen:
Zum Glück gibt es z.B. die Delphi-Fundgrube noch, die steuere ich gern an. Auch in den Delphifeeds findet man manchmal Goldstaub bzw. Zauberrezepte, ganz zu schweigen von den Programmiertips im Swissdelphicenter.
Nicht zu vergessen Seiten wie Delphi sorcery mit interessanten Blogeinträgen wie diesen:
delphisorcery.blogsp...-feature-in-xe7.html hat folgendes geschrieben:
There are new compiler intrinsic routines called
ausblenden Delphi-Quelltext
1:
2:
3:
function IsManagedType(T: TypeIdentifier): Boolean;
function HasWeakRef(T: TypeIdentifier): Boolean;
function GetTypeKind(T: TypeIdentifier): TTypeKind;

delphisorcery.blogsp...ramming-library.html hat folgendes geschrieben:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
TTaskEx.Run(
  procedure
  begin
    Sleep(2000);
    raise EProgrammerNotFound.Create('whoops')
  end)
  .ContinueWith(
  procedure(const t: ITaskEx)
  begin
    TThread.Queue(nil,
      procedure
      begin
        ShowMessage(t.ExceptObj.Message);
      end);
  end, OnlyOnFaulted);

Für diesen Beitrag haben gedankt: Mathematiker
Mathematiker Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2622
Erhaltene Danke: 1447

Win 7, 8.1, 10
Delphi 5, 7, 10.1
BeitragVerfasst: Mi 02.12.15 00:50 
Hallo jaenicke,
user profile iconjaenicke hat folgendes geschrieben Zum zitierten Posting springen:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
TTaskEx.Run(
  procedure
  begin
    Sleep(2000);
    raise EProgrammerNotFound.Create('whoops')
  end)
  .ContinueWith(
  procedure(const t: ITaskEx)
  begin
    TThread.Queue(nil,
      procedure
      begin
        ShowMessage(t.ExceptObj.Message);
      end);
  end, OnlyOnFaulted);

Ich verstehe Nichts! Deshalb (ernst gemeint!), ist das Beispiel Sarkasmus oder geht so etwas wirklich, und wenn ja, was macht es? Ich sage mal: Sleep zeugt von "Blödsinn". :nixweiss:

Beste Grüße
Mathematiker

_________________
Töten im Krieg ist nach meiner Auffassung um nichts besser als gewöhnlicher Mord. Albert Einstein
Delphi-Laie
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1600
Erhaltene Danke: 232


Delphi 2 - RAD-Studio 10.1 Berlin
BeitragVerfasst: Mi 02.12.15 00:51 
Das riecht in der Tat nach Programmierscherz!
Lemmy
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 792
Erhaltene Danke: 49

Windows 7 / 10; CentOS 7; LinuxMint
Delphi 7-XE10.1, VS 2015
BeitragVerfasst: Mi 02.12.15 08:24 
lest doch einfach den Link, den jaenicke direkt drüber geschrieben hat:

delphisorcery.blogsp...ramming-library.html

da steht doch alles drin. Und nein, ist kein Programmierscherz und Sleep deutet bei TTHread i.d.R. darauf hin, dass man eine "lange Berechnung" simulieren will.

Für diesen Beitrag haben gedankt: jaenicke, Mathematiker
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19272
Erhaltene Danke: 1740

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mi 02.12.15 10:12 
Kurzgefasst geht es darum eine Exception, die in dem gestarteten Thread passiert, gut behandeln zu können. Sprich man gibt mit ContinueWith an, dass die anonyme Funktion nach der Ausführung des Tasks ausgeführt werden soll und mit OnlyOnFaulted, dass dies nur im Fehlerfall passieren soll.

Sleep hat user profile iconLemmy ja in dem Zusammenhang schon erklärt und EProgrammerNotFound ist einfach eine wohl nicht ganz ernst gemeinte Exception, die es in Delphi so aber tatsächlich gibt. Vielleicht war sie ein Scherz der Delphientwickler.

Für diesen Beitrag haben gedankt: Mathematiker
SMO
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 120
Erhaltene Danke: 18


D2005 Personal
BeitragVerfasst: Mi 02.12.15 21:28 
user profile iconMathematiker hat folgendes geschrieben Zum zitierten Posting springen:
Hallo,
nachdem es den Ärger mit Torry.net gab, ist seit heute Nacht 0 Uhr eine weitere sehr schöne Delphi-Seite Offline.
www.delphiforfun.org von Gary Darby ist nicht mehr erreichbar.
Sehr Schade. :cry:


Das ist wirklich schade.
Hey, moment, die Seite ist wieder verfügbar! Wer archiviert sie schnell für die Nachwelt, bevor sie wieder verschwindet? :)


Zum Thema Antivirus habe ich gerade letzte Woche wieder etwas erlebt.
Ein Benutzer hat mir berichtet, dass sowohl eine kleine Konsolenanwendung als auch eine simple VCL-App, beide von mir mit Delphi XE6 erstellt, bei ihm einfach nicht laufen wollten.
Beim Versuch sie zu starten, hingen angeblich plötzlich 3 Kopien des jeweiligen Prozesses im Speicher, die sich aber weder mit dem Taskmanager noch dem Process Explorer killen ließen (Neustart war erforderlich). Aber Konsole/Fenster der Programme wurden einfach nicht angezeigt.
Nach einigem hin und her hatten wir den Schuldigen gefunden: Avast Antivirus. Hat wohl nicht mal eine Meldung gezeigt, sondern die Ausführung meiner Programme irgendwie blockiert, bzw. sich bei deren Überprüfung verschluckt. Und das obwohl meine Programme nichts Verdächtiges machen (aus meiner Sicht natürlich). Laut virustotal.com hat Avast auch nicht mal bei diesen Programmen etwas gefunden, war wahrscheinlich also irgendein Bug.
Avast ist jetzt jedenfalls einen weiteren Kunden los. :P

Für diesen Beitrag haben gedankt: Mathematiker
ub60
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 762
Erhaltene Danke: 127



BeitragVerfasst: Mi 02.12.15 22:10 
Zu delphiforfun:

Da scheint wohl jemand den Server gehackt zu haben. Die Deep-Links funktionieren noch. Wenn man als Startseite www.delphiforfun.org/default.html verwendet, geht alles noch.
Bei www.delphiforfun.org lande ich immer auf www.easycgi.com/.
Das Ganze gilt bei mir für Firefox. Im IE funktioniert alles.

Hat jemand dafür eine Erklärung?

ub60

Für diesen Beitrag haben gedankt: Mathematiker
Mathematiker Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2622
Erhaltene Danke: 1447

Win 7, 8.1, 10
Delphi 5, 7, 10.1
BeitragVerfasst: Mi 02.12.15 22:17 
Hallo,
sehr schön, dass www.delphiforfun.org/default.html weiterhin funktioniert. :D
user profile iconub60 hat folgendes geschrieben Zum zitierten Posting springen:
Im IE funktioniert alles.

Beim IE funktioniert es bei mir gerade nicht. Merkwürdig, sehr merkwürdig.

Beste Grüße
Mathematiker

_________________
Töten im Krieg ist nach meiner Auffassung um nichts besser als gewöhnlicher Mord. Albert Einstein
hathor
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mi 02.12.15 22:46 
user profile iconMathematiker hat folgendes geschrieben Zum zitierten Posting springen:
Beim IE funktioniert es bei mir gerade nicht. Merkwürdig, sehr merkwürdig.

Beste Grüße
Mathematiker


Gar nicht merkwürdig....
Wenn alle Ports belegt sind (wg. Web-Site-Kopie) kommt kein anderer rein!
Anwender
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 62
Erhaltene Danke: 9



BeitragVerfasst: So 06.12.15 17:39 
www.Torry.net hat ein neues Design.

• ob das nun was zu sagen hat (neuer Eigentümer?/ verkauft?)
• ob das nun besser ist, als das alte ... (eher nicht

weiß ich nicht.

LG

_________________
neu hier