Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
R

Ralf Quint

@Ralf Quint
About
Posts
77
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Creative abuse of SI units
    R Ralf Quint

    Well, "mega" refers to "large", NOT "small", and yes, neither "micro" nor "mega" in this context has anything to do with SI units, beside that they have a common Greek origin... ("megas"="large"/"mighty", "mikros"="small") that "micromegs" is a rather strange word concontion for "rather small examples of (normally) large blood cells"...

    The Lounge question learning

  • Okay, old guys unite, what smartphone do you have?
    R Ralf Quint

    Used to have Sprint myself, since well before they became T-Mobile. Got a free update to a 5G phone two years ago, a Samsung Galaxy A13 G5, 4GB RAM/64GB storage (+microSD up to 1TB!). IMHO, runs circles around using a dreaded iPhone, does all I need, including a few emergency apps. New price back then would have been $280 (+tax, etc), it's currently $200 at Best Buy, starting at $150 on Amazon ("renewed" as little as $95) Battery has a decent runtime, up to two days of heavy use, which includes playing solitaire while on public transportation, also use GPS a lot for travel app, as well as email (have 5 Gmail accounts in use on it). Also uses a USB C charging port, which I can share with my GMRS radios, also using one and the same external battery packs for both...

    The Lounge ios mobile question

  • Windows Remote Desktop Connection Alternative
    R Ralf Quint

    Specially for inhouse connections between Windows machines, I am using TightVNC for years now. Pretty fast and I do work on a lot of headless machines, including constant copy&paste (both text as well as files) all day long. Also including about half a dozen VMs (mostly older Windows XP/7 hosts for software that doesn't exist or is retarded on newer versions of Windows)...

    The Lounge oracle help question

  • Fluent Api in Pascal, nothing earth-shattering ...
    R Ralf Quint

    You just do not want to understand, so I am just leaving it at that. EOT...

    The Lounge csharp delphi regex json

  • Fluent Api in Pascal, nothing earth-shattering ...
    R Ralf Quint

    Very interesting that you are trying to explain how Pascal works to someone who is programming in various versions of Pascal, as the main programming language, for 48 years now. Yes, the "with A, B" is (for decades, nothing new) just a shorter form of writing a nested "with A..with B". That alone is not a problem, never is, never was. The problem that I was pointing out, and you apparently didn't understand, is that within the nested WITH statements (regardless of how you write it), it IS POSSIBLE to create an unintentional ambiguity, which is NOT guaranteed to be always have the same precedence. If you think that, it clearly shows that you have not worked with a lot of different Pascal implementations. And the application of scopes within nested procedures/functions, that is completely different issue. THAT is clearly defined. But that would be also not related to the initial post of this thread.

    The Lounge csharp delphi regex json

  • Fluent Api in Pascal, nothing earth-shattering ...
    R Ralf Quint

    Well, as I mentioned in another reply in this thread, the problem with using "with" is that is you have multiple records/objects with the same names for data (of the same TYPE) or methods/procedures/functions, you can not be sure which one might be called/referred to. So the use of "with" blocks should be deliberate and limited in scope, in order to prevent any ill effects, even if it is that your source won't compile because of the stringent type checking of Pascal. At the very least it requires you to find out which element of which record/object is actually referred to, which then needs to be fixed by adding at least one non-ambiguous prefix to the code line(s). For example, if you have two records (A and B), which both have a element called C, a "with" block like with A, B do begin C := 1; C := 0; end; Not only looks wrong, but might actually yield unexpected results, if what you actually intended to write is A.C := 1; B.C := 0; The same goes for calling methods of the same name in different objects, so something like with A, B do begin C ("foo"); C ("bar"); end; when actually is intended to be A.C ("foo"); B.C ("bar"); With different types of parameters of the methods A.C() and B.C(), this won't compile, but if they happen to have the same parameter (or are parameter-less!), again, the outcome might now be what you have intended...

    The Lounge csharp delphi regex json

  • Fluent Api in Pascal, nothing earth-shattering ...
    R Ralf Quint

    Well, no. I must admit that I do not use C#, only know the very basics of it. "new" in C# is creating an instance of an previously defined object (MyFluentAPI) and executes those 3 methods. As for "Pascal", you did not mentioned which kind of Pascal you are using. In "standard" Pascal (including but not limited to ISO7185), the "with" statement is used to set the scope for the statements within the begin...end block, and is used in connection with "records" ("struct" in C) to save on some typing, as you would not have to precede each record element with its associated record name. But in this case, those elements within that record are purely data! It is purely what sometimes these days is referred to as "syntactic sugar". But the major difference is that the record (and in extension, this applies mostly to objects/classes in Object Pascal (Delphi/FreePascal) as well) needs to be existing (already instantiated) when you are referring to it using the "with" statement (block). If you are using the "with" statement in either standard/procedural Pascal or Object Pascal, you need to do this carefully, as, while it saves some typing and the source code lines shorter, it can lead to some nasty side effects/bugs (or features ;P ) if you have elements, like data or methods/procedure/functions with the same names in different records/methods/etc...

    The Lounge csharp delphi regex json

  • looking for a scanner to scan 11inch x 15inch size picture
    R Ralf Quint

    Here in the office of one of my clients (Architect), we are using an 11x17 All-In-One printer, Brother MFC6545DW, that works just peachy fine, with a rather low price tag. Only downside is that Brother is no longer producing this printer and I have not checked what they offer as replacement. That AIO was less than half the price of a standalone (networked) scanner we were trying to replace about 3 years ago....

    The Lounge com help question

  • Fortran
    R Ralf Quint

    Seems you are not quite up to date if you are making such statements. And thus don't know the difference between FORTRAN and Fortran... ;P

    The Lounge database com announcement

  • What song best describes you?
    R Ralf Quint

    Here I go again...

    The Lounge help question

  • Follow-up to that *slow* RAID setup from a few weeks ago...
    R Ralf Quint

    Well, the "RAID controller" of this box is certainly software based, as in software running on the CPU and the RAM integral to that box. And with a $160 price tag, this is certainly NOT a real hardware controller, those cost just by themselves as much. Looked at their manual, and it doesn't even remotely reveal anything about the internals. Looks fancy though... ;)

    The Lounge workspace visual-studio security performance

  • Follow-up to that *slow* RAID setup from a few weeks ago...
    R Ralf Quint

    But that enclosure must have some CPU (and RAM). And hopefully a hardware RAID controller. If it doesn't have a hardware RAID controller, all the work has to be done by the CPU (of the enclosure), with decent amount of RAM.And for RAID5, A LOT of calculation has to be done for the striping. RAID5 is aimed at use cases where the fault tolerance is of higher importance than performance, though read performance should suffer far less than write performance, as the later has the highest amount of computation and possibly data reordering... So if your enclosure is CPU+RAM only, with both a slow CPU and little RAM, then it is quite logical that that it will show a subpar performance.

    The Lounge workspace visual-studio security performance

  • These mice were supposed to outlast me...
    R Ralf Quint

    Yeah, those older ball-less MS Intellimouse weren't bad. But I am rather "mouse tolerant", though I definitely don't like a lot of those fancy gaming mice or those round "eagle claw" ones. Right now, here at the two computers I am daily using, I have a cheap Logitech M325 on one, and a M185 (from a wireless keyboard/mouse combo) on the other. Both are working just fine for a couple of years at last, and I have a Logitech M325c in my backpack that I take with me when I am visiting clients, so I do have a mouse to use if I run into a laptop with only touchpad (I am on war path with touchpads! ;P ). That one is probably 7-8 years old now and gets bounced around in that bag a lot. With no ill effects. Each one probably wasn't more than $20....

    The Lounge question

  • Survey - Windows Network Diagnostics....
    R Ralf Quint

    For me, no, it never really fixed anything. And any error message you get from Windows about a networking issue is more likely than not just a red herring, which will lead you nowhere... I am always glad in such situation that I can look back at 40 years of networking experience, which allows me to quickly check on some of the basics, which in most cases are revealing the problem at hand. The only thing I get stuck once in a while is the whole security/permission mess that comes with Windows, something where I really wish I could work with good old Novell Netware again, there everything was logical and made sense...

    The Lounge help sysadmin question lounge

  • 6502 Powered Whole Generation of Devices
    R Ralf Quint

    Sorry to chime in here, but the questions are just too funny and show how much folks today are removed from those early days of "personal computing"... ;) I learned 6502 assembler on my very first own computer, back in late 1976, a MOS Technology KIM-1. With 2KB ROM and un-upgraded, 1152 bytes of RAM... :-D Input was a hex keyboard, output was a 6-digit LED 7 segment display (think old calculator). Not very IDE friendly... ;) All programming at that point was done via entering hex addresses and opcodes, using the "monitor" contained in the onboard ROM. Only documentation was the manual that MOS provided with the board, which contained little more than the opcodes/mnemonics and a VERY brief description what they did. I think it was at least a couple more years before I bought Rodney Zaks' books "Programming the 6502" and "Programming the Z80", which were kind of the bibles for assembly programming back then... As that set very quickly limits on what I could do with it, I upgraded it to a whooping 4KB of RAM, which enabled me to painstakingly enter the hex codes for a version of Tiny BASIC. Saved and reloaded before use from a tape cassette recorder, this also didn't leave much room for further programming adventures and further memory upgrades and other stuff (video interface or serial terminal) were out of reach for my high school students budget. But by that time, 1977 had come around and the first "real" microcomputers, and while still too expensive for me to by one of those myself, I was able to access someone else's brand spanking new TRS-80 Model I and started to write my first programs for money, until, together with selling my KIM-1, allowed me to buy my own TRS-80 clone and started the long and winding road I am still on today... :laugh:

    The Lounge com question career

  • password reset: please commiserate with me
    R Ralf Quint

    Good luck waiting! Had that kind of issue with a client/neighbor of mine. Couldn't log into OneDrive as she didn't know the password to her Microsoft Live account. Didn't even know she had one, as her daughter set up the laptop a couple of years ago, didn't take note of it and doesn't remember. Went through all those trials and tribulations for two days, including trying to prove that she was really the person she said to be. After two weeks she gets an email from Microsoft that they can verify her identity and thus can't reset the password... That's why I always set up new computers with a local password, or use a dummy email account account and immediately uninstall OneDrive once I get to the desktop (and set up a local user next, and/or enable the local administrator account and take good note of that password).

    The Lounge com data-structures json help question

  • When is a backup not a backup?
    R Ralf Quint

    Honestly, standard procedure for me, as I do it also always at least once a month at my clients. Have rotating backups (in past to DLT or DAT tape, nowadays external hard drives) Mo-Fr (or Sun in case of a vet clinic that operates 7 days a week), with a double Fr (or Sun) media, of which are rotated to be taken off-side (as even be best working backup isn't worse **** if all the backup media is kept in the same burning building (or collapsing high rise). Do commonly a monthly restore test, at least one of the 5/7 media, on a different host, with a random folder selected, restored and SHA512 checked against the original. A lot of clients at first think that this is all overkill. Until soft brown matter hits a fast rotating appliance and they can NOT get some data back because they didn't follow the backup procedure meticulously... And disconnect any backup media (at least with an eject command, be it tape or USB mounting) as soon as it is done. This way, chances are minimal that you also lose your last backup when a ransomware virus strikes before you can be bothered to manually change media...

    The Lounge help question

  • "get off my lawn..."
    R Ralf Quint

    You might be careful mentioning this to Clint Eastwood, or you are going to hear "Make my day!" next... :laugh: Gran Torino Get Off My Lawn Scene - YouTube[^]

    The Lounge question

  • Amazon might as well take that feature away
    R Ralf Quint

    Well, that something exists doesn't necessarily mean that someone is able to offer it for sale...

    The Lounge help question announcement

  • removing blank / empty lines from editor ?
    R Ralf Quint

    Don't know (and IDC) about plugin into any development system, but for years, I am using PsPad as my go-to plain text editor on Windows, and it has a function to remove blanks lines (and many other options)...

    The Lounge question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups