solve the problem using windows 10 ;) Those that put *class* in JavaScript are the same that put *var* in C#
Martin ISDN
Posts
-
It's not about the money... -
Pretty confident we have nothing to worry about AI"I just want to close one of *4* cards I have with them" may the force be with you i tried to close one of my cards that didn't have any changes on it for a period of 12 years, until i gave up. and this was with a human. i must say i tried peacefully to do it, over the counter. i would go there, ask them to erase my card out of existence. they would ask why, to which i always replied, i don't want to find out in the future that i owe you some money. they would say, but sir you account equals zero for X years, and i would say, i'm afraid that some day it would equal -zero, and then -0.000000001$ and then after 15 years it would equal X * -1463$ they always responded, ok we'll mark it for deletion if there is no usage of this account within next 3 months. after 3 years passed i went to check on the account and it was still active. i have repeated the procedure +2 times, without successes and then i gave up. “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 - this should be written on every wall Those that put *class* in JavaScript are the same that put *var* in C#
-
Say goodbye to C++, Java and JavaScript"Hexagony is the first two-dimensional esoteric programming language..." When I hear the word esoteric, I reach for my gun Those that put *class* in JavaScript are the same that put *var* in C#
-
Amber alert madnessreminds me of the emergency drills they had in the USSR. probably they had some in the USA, too. just the US was not obsessed with the drills like the USSR. in the past 3 years the west has got a lot traits of the Warsaw Pact countries. sadly... Those that put *class* in JavaScript are the same that put *var* in C#
-
How does one know when middle and senior management have no clue? Here's your sign...."Their bad decisions are catching up with them." they'll just update their cv and start fishing for a new job Those that put *class* in JavaScript are the same that put *var* in C#
-
Universal App Platformsnow you have 3 suggestions to use html5 and javascript i have personally used electron vs wfp/c#, because for me javascript is soul remedy compared to c#, although the new versions of the language aren't that stiff. speed wise wpf gui seemed much faster, if that is of importance .net maui is micro$oft, flutter is alphabet inc. and i wouldn't do my part to help them eradicate the rest even if my contribution to their success is infinitesimal. even if my success is on the steak Those that put *class* in JavaScript are the same that put *var* in C# - I Against I
-
ChatGPT literature referencesthe AI adventure may be fun, but it's going to end ugly those that put *class* in JavaScript are the same that put *var* in C# - I against I
-
Visual Basic - when to switch?never switch. VB Classic was right only now in C# you can write code without
XYZ partial class App public static void main SubscriberMethodController... cough cough
Starting in C# 9, you don't have to explicitly include a Main method in a console application project. Instead, you can use the top-level statements feature to minimize the code you have to write. In this case, the compiler generates a class and Main method entry point for the application. guess what, we had that since VB 1.0, any language had that, the compiler behind the scenes generated the _app & _main. i wonder when they are going to get rid ofnew
in C#, since the instances of a class are not created on the stack anyway... VB Classic will outlive VB .NET. if not, waiting for the shameful M$ narrative when they bring back the apparent syntax of VB to VB.NET those who put *class* in JavaScript are the same who put *var* in C# -
How did you find find CodeProject?seeking voodoo knowledge COM in plain C bonus: Web Frameworks - A Solution Looking for a Problem?
-
Death[Motörhead - Killed by Death [Live at Wacken 2009 - HD DVD] - YouTube](https://www.youtube.com/watch?v=ZRBU3kteH48)
-
Thermal paste - does it matter how I apply it?i have studied physics at the university, but i doubt that will help... scientific progress is mostly of empirical nature and it will emerge that despite the theoretical beauty of the explanation to applying thermal paste, there is a nano-particle catch that yields a totally different result from intuition but i can tell you what i am doing and what has worked for me in decades. i stopped using thermal paste. there was some tutorial about it that made sense to me. the tutorial was so long ago that maybe was from the previous century, but i remember that the problem i was researching was about how the thermal paste lose it's physical properties in time. after so many working hours at high temperatures since then i would clean the surface of the heat sink and the CPU cap to a crystal mirror clear state and then mount the heat sink. that's it the moral of the story is: either use some very expensive HQ thermal paste, either not use paste at all cheers ps - "Ivy Bridge(22 nm) temperatures are reportedly 10 °C higher compared to Sandy Bridge(32 nm) when a CPU is overclocked, even at default voltage setting. Impress PC Watch, a Japanese website, performed experiments that confirmed earlier speculations that this is because Intel used a poor quality (and perhaps lower cost) thermal interface material (thermal paste, or "TIM") between the chip and the heat spreader, instead of the fluxless solder of previous generations. The mobile Ivy Bridge processors are not affected by this issue because they do not use a heat spreader between the chip and cooling system. Socket 2011 Ivy Bridge processors continue to use the solder"
-
Back to the Future - MS Editioni skipped windows vista and windows 7 and went directly to windows 8.1, because in windows explorer there was no "up directory" button people trying to explain to me that i am stupid and that breadcrumbs are a better way to navigate the file system just made my decision firm to stay on windows xp. i am infinitely more grateful if someone declares that my opinion doesn't matter at all, than telling me that they switched to a better solution for me, that i would love to use cheers
-
Best error message of the dayin the good old days the C64 BASIC might greet you with a: ?FORMULA TOO COMPLEX ERROR READY.
-
Would you work at Twitter now?ok, it is now clear what are you saying by top talent. to me, working as a programmer in a company like twitter would be considered only if i want to work as less as i can without getting expelled. sort of like, be invisible in the huge number of developers that have a job of taking care of the functionality of twitter. because i'm sure, from what i see, that twitter can be maintained by 8 competent and 2 high class developers. and those competent developers are in no way skilled like the guys who made Doom or Quake or who won the 4th place at the Assembly Demo Competition or the Apollo 11 team working under Margaret Hamilton. at any point past 2014 twitter had hundreds of developers. don't underestimate "working undetected", because sometimes that is exactly what i want. sometimes, i need a 2-3 years break to study: lisp, tcl, perl, forth, assembly for vga under ms-dos or simply enjoy reading novels while i am at work. because, you cannot get a job that will improve your lisp/forth skills. you can only get a job that can improve your: JavaScript, C#, Java, C++, php... skills
-
Would you work at Twitter now?i assume you talk about the programmers at twitter "My guess is his top talent has already fled" what exactly do you mean when you say top talent from the pool of twitter programmers? Jonathan Blow on Software Quality at the CSUA GM2 at the beginning of 2016: twitter had close to 4000 employees, space_x had 450 and they build and lunch rockets into space ps - i'm not saying that i'm better than the twitter programmers, but i'm definitely not in the space_x league
-
Linter?jschell wrote: Err...except of course that when C was created.... Compilers were not doing strong error detection. have you tried PL/I, Algol68 or Pascal? now, that is strong error detection. each of those languages predates C. forcing strict rules doesn't depend on the year of creation of the language, but on the nature of it's creators. Dennis MacAlistair Ritchie (et al) did not create C to defeat the evils of the world, nor to purge the wicked. what he did has it's place on the list of things that helped humanity. and help he did... "C is a general-purpose language that features economy of expression" "But it's absence of restrictions make it more convenient and effective for many tasks than supposedly more powerful languages" 1978 Brian W. Kernighan Dennis M. Ritchie ps - "where strong type checking is desirable, a separate version of the compiler is used. This program is called lint" it's up to you, how you make use of it
-
Linter?in my opinion, it's one of the greatest ideas. in the spirit of non-standardized C, from the original K&R book: "For those situations where strong type checking is desirable, a separate version of the compiler is used. This program is called lint, apparently because it picks bits of fluff from one's programs. lint does not generate code, but instead applies a very strict check to as many aspects of a program as can be verified at compile and load time. It detects type mismatches, inconsistent argument usage, used or apparently uninitialized variables, potential portability issues, and the like." this is the ultimate separation of concern. you can have original C type checking: "Existing compilers provide no run-time checking of array subscripts, argument types, etc." or you can have strong type checking (as strong as it gets), but it's up to you. more in a hippie manner, than in a ____ wing political manner, telling you what is good (therefore allowed) and what is evil (therefore forbidden). cheers
-
Python - no arguments, pleasei have zero learning hours of python and yet i have never had problem a reading Python code. to be real, that was only 3-4 times and the code was short the first time i saw Python was in the book Foundations of Python Network Programming. somehow i got this book in my hand and i started reading immediately. i was surprised how easy i understood the language. it was so clear that i didn't bother to write the examples in Python, but i translated them on the fly to C on the Windows platform. the only gotchas were the ones with the Win32 API next comes what's important about C# and Python, that i think is highly subjective. at the moment i get my living from writing C# code. i'm not good at it, just barely good enough for people to put up with me. i feel repulsion with languages like Java and C#. i was assigned to read data from a server and luckily from me i found code examples: https://github.com/flightaware/firehose\_examples i was looking at the C# example and looking and looking... even had it compiled and it was working, but still i couldn't grasp it. then i turned to the Python example and i immediately understood what needs to be done. what is the essence. that's what i mean when i say your question is highly subjective. there is no "the right language" and "the only right thing to do for the common good", because too much right turns into left i believe, no matter what others say (although some of those people i know for decades and value their opinion highly), based on my experience, that Python is clean and very good language for introduction into programming. regardless if it will potentially introduce bad habits on may-have-been-future professional programmers. you know when you ask how to do something in git and you get a 10 page explanation of the theoretical possibilities and historical background of all version control software VS an answer saying: type this 4 words and it will do? for me, the former is C# and the latter is Python cheers
-
I like C more than I thought I wouldhoney the codewitch wrote: I'm surprised this astonished you, as it's the default in most any programming language including asm, where the most natural way to call is to put a *copy* of a value in a register or onto the stack. Indeed to pass by reference you need to put the *address* of the object in a register or on the stack. BASIC facilitates this using the Byref keyword, C# with the ref and out keywords, but it's pretty much always extra typing. The exception is arrays including strings, because you *reference* them (in C by referencing the first element), and while in theory you could push each element onto the stack in practice that's prohibitive. probably i wanted to give Dennis more credit than he deserves. once an idea like "i have underrated C, Dennis was more clever and foreseeing than i thought. he made the right compromises" appeared in my mind it is constantly working in the background trying to find new prof of greatness. cannot test it, but the BASICs on the home computers may have been default to pass by reference. that set the intuition that the function changes the callers arguments at very young age :( though, he made copy by value the only way to pass. except for that array! i often wonder at length, why he did so. the default way is to pass it by reference i suppose for economical reasons. there is a way to pass it by copy if you put it inside a struct. or simply, cast the array as a struct. i wish i could find some paper written by Ritchie about this or "the other things, not because they are easy, but because they are hard"
-
I like C more than I thought I would"Also, using the preprocessor freely is kind of liberating" C will set you free. the oldest dogmas i've heard were: goto is evil and macros are evil i remember you once said (probably here on The Lounge) that you prefer C++ and even that you work with it like it is C# (translating C++ to C# in your head and vice versa) what i don't like about C is the standards. there are nice things in every standard that benefit, but they push with the Undefined Behavior as a way to shame and discipline the coder. what the creators of C didn't put in the language, they try to force thru the standards the spirit of C is kind of hippie, uncertain. that made me search for the first edition of The C Programming Language: "C is a general-purpose programming language with features economy of expression...", "its absence of restrictions and its generality make it more convenient and effective for many tasks than supposedly more powerful languages." "...the run-time library required to implement self-contained programs is tiny.", "...efficient enough that there is no compulsion to write assembly language instead." - this seems like something that is not important now, but lets think of the energy consumption. "Existing compilers provide no run-time checking of array subscripts, argument types, etc." - wooow, you just put an
int
where the function takes afloat
, the sizeoffloat
bytes are copied from the address of the integer object to the stack frame. the function treats the data asfloat
. the most astonishing for me has always been "The arguments to functions are passed by copying the value of the argument, and it is impossible for the called function to change the actual argument in the caller", i interpret as Ritchie's intention towards pure functions. yes, you can passPerson
's pointer to a function, but the default is passing a copy ofPerson
. i chose C because it doesn't change, although C++ was my first choice. C++ now changes every 3 years? i cannot even recognize the language. anyway, i'm not a competent programmer.