|
Not a case of "May the Feces be with you" then...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
TonyManso wrote: Nobody's talked about that stuff for years that I know of
I saw a new job posting in the past week where they were looking for a RPG programmer. No other programming languages listed.
TonyManso wrote: Any of you guys still coding JSF or Applets?
I am under the impression that browsers do not support Java at all. FireFox does not.
|
|
|
|
|
RPG.. one of the languages I've managed to completely forget....
In college, we had to learn: VAX BASIC, VAX Assembler, Pascal, RPG and COBOL.
I can probably manage all of them now, except for RPG.. I'm good with that!
Since college, I've had to learn Fortran and C for work.. so the background has served me well.
|
|
|
|
|
|
I do not believe that is true for latest version. It must be explicitly turned on via a security exception, but perhaps that is what you mean.
In contrast Edge, the windows 10 browser, does not appear to support Java.
|
|
|
|
|
That's exactly what I mean.
Edge has never supported any legacy plugins except flash.
Chrome and Firefox both removed support for all legacy plugins other than flash a year or two ago.
IE is the only major browser still receiving security updates to support them.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Dan Neely wrote: That's exactly what I mean.
Ok, I understand now. Rereading you first post, I believe I misread it - it certainly seems clearer now.
|
|
|
|
|
I was recently approached by a company that wanted a java developer. I like to think they were not talking applets. It's academic anyway as I turned it down.
We're philosophical about power outages here. A.C. come, A.C. go.
|
|
|
|
|
My Saturday job requires using a web application that still uses good old Classic ASP...and it only works correctly in IE Compatibility Mode! They've been harping about an update for at least 5 years...not holding my breath.
At work, I'm migrating the last couple of Classic ASP sites I have left in preparation for a new server where I'd like avoid legacy issues. We also still use Flash for a dashboard in one of our web applications, though the horrible tool that was used to create it did not make the cut a few years back when I upgraded workstations.
"Go forth into the source" - Neal Morse
|
|
|
|
|
kmoorevs wrote: good old Classic ASP...and it only works correctly in IE Compatibility Mode!
You poor soul!!! Well then, JSF is not seeming so bad after all
On the other hand, you have different fingers. - Steven Wright
|
|
|
|
|
Sounds like you're working for the VA.
|
|
|
|
|
Once I had to update my business address and the process was to use the CD that came when I register business number and that loads applet in the browser and that suppose to allow you to update your address. I could not for life of me get it to work. In this day and age this is the process to update business address. After wasting hours I gave up. So yes there are dark places out there that still uses this thing.
Zen and the art of software maintenance : rm -rf *
Maths is like love : a simple idea but it can get complicated.
|
|
|
|
|
Wow
On the other hand, you have different fingers. - Steven Wright
|
|
|
|
|
I'm so sorry to hear that, but remember that tomorrow is another day. Don't let it ruin your entire day.
|
|
|
|
|
Client[] clients = Enumerable.Repeat(new Client(), 10).ToArray();
Hey Marc, why are all the client names the same as the last one???
|
|
|
|
|
|
Worse than that, this problem would most likely not have occurred when using for loops, since the most natural way to write it is the correct way.
|
|
|
|
|
harold aptroot wrote: since the most natural way to write it is the correct way. |
Hmmm. Writing:
Client[] clients = new Client[10];
for (int i=0; i<10; i++)
{
clients[i]=new Client();
}
Is painful to look at IMO.
Client[] clients = CreateArrayOf(()=>new Client(), 10);
or:
Client[] clients = CreateArrayOf<Client>(10);
or even:
Client[] clients = 10.CreateArrayOf<Client>();
is a lot better, IMO.
Then again:
Client[] clients = CreateClients(10);
would have at least hidden any ugly for loop.
|
|
|
|
|
All options good.. except for the hard-coded '10'; really dislike hard-coding any values.
|
|
|
|
|
The 10 was just to make the example simpler
|
|
|
|
|
Understood... but I see FAR too many examples where it isn't to 'make the example simpler', rather, it's the actual code.
|
|
|
|
|
Tim Carmichael wrote: rather, it's the actual code.
Yeah, I've seen that, written that kind of stuff too. In this case, "10" is the actually some number of child nodes in an XML path, which is validated elsewhere for correctness.
|
|
|
|
|
I'm surprised that one's even legal C#. It looks like the sort of dumpsterfire you'd see in frufru bogotyped scripting languages.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
RickZeeland wrote: This seems to be about the same problem
Yeah. I should have realized the problem because I wasn't required to use a lambda. Enumerable.Repeat(()=>new Client(), 10); would be the expected syntax.
RickZeeland wrote: But I also read that using for loops is a lot faster than using Linq ...
Meh. For a service that gets called once a day and creates at most 1 to maybe 5 instances, I don't really care. The real travesty IMO is the ToArray() call because the web service interface where this gets assigned requires an array.
Marc
|
|
|
|
|
Marc Clifton wrote: Hey Marc, why are all the client names the same as the last one???
Because it does what it says on the tin!
Possibly a The Weird and The Wonderful[^] candidate?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|