Re: Unhelpful comments
I have actually, which is why I know that road signs there serve no purpose whatsoever and in fact just provide something else for people to hit.
692 publicly visible posts • joined 3 Aug 2020
I'm fairly confident that I would have gotten a 0 if I had included unnecessary obscenities in pretty much anything I ever submitted to a class. I'm thinking through all of my profs. I think their reactions would have ranged from " low-grade and a stern note in the edit" to "don't come back to my class".
I'll just say, I'm self-taught and my current project at work is refactoring code that was written by somebody with a proper degree. That code is so scary that nobody wants to even think about it (except me, because I'm stoopid and volunteered).
Large sections of code, commented out with no explanation. Chains of three or four functions calling each-other, with names that only differ by one letter (so knowing which one you are actually supposed to call is Russian Roulette). An entire thread just for managing the window size. Completely pointless derived classes (because at some point 2 years ago they thought there MIGHT be two versions that differed in a particular way, which there won't ever be, as evidenced by the fact that one of the derived versions stopped working ages ago due to changes in the base).
When I started my job a year ago, I was worried that my liberal arts background was going to be a problem. I no longer have that fear.
Intent is a critical part of the law. If I drive a car into my deepest enemy on purpose, that is murder. If a traffic light malfunctions and I hit my deepest enemy because we both had green (lets say its night time and they are wearing all-black, so I had no hope of seeing them), that is not a crime because I had no intent to do anything either malicious or negligent.
If you can demonstrate (to the "reasonable man" standard) that an email was sent for no purpose other than gaining legal protection, I do not believe that deeming that email unprotected weakens the legitimate use of attorney-client privilege. It would be a very difficult thing to prove, it would probably be impossible for only a single email exchange. You would need a pattern of abuse...like this...
I could never get into any of the "not being able to hover over the name of any variable and see its current value while paused during debugging" crap.
Or the "not having a single interface that shows me the call stack of all running threads, and allows me to jump to the code for any point in that call stack with one click" crap.
Or the "not having an intelligent renaming tool that actually does semantic analysis to see which instances it should rename instead of just doing text substitution against the whole file" crap.
Or the "only telling me that an #include cannot be found when I compile, instead of immediately when I write 'strign' instead of 'string' " crap.
I taught myself C++ by writing a networked program between an SGI Indy and Windows. Most of the time I wrote the IRIX code on the Indy using Nedit and the Windows code in VS. I learned a lot of stuff about build systems and translation units and stuff from the Indy, but I got considerably more actual work done (and learned more about C++ itself) on the Windows side.
I'd rather have a program that consumes a bit too much memory and does what I want than a program that does almost nothing very efficiently. I've got 32GB, I can live with it.
PS: VS code doesn't get a pass...it manages to do less AND be inefficient under the hood!
100 percent. Another article on here said that VS code was "closer to the metal" because it requires you to directly edit settings files instead of having a proper UI.
Yes, that's right, the electron program is closer to the metal than the C++ program because it doesn't have a GUI. Somebody doesn't know what "closer to the metal" means.
I like Visual Studio. It has lots of exciting tools that I use to actually get work done, and has organized the myriad of configuration options in a way that at least starts to be approachable.
There is a mental exercise I like to do...at what year was there more memory in the world than there is in my GPU right now? When I have a 1060 6GB I worked out that it was probably around the second year(1983-1984) of the C64...the huge amount of memory in that machine combined with its sales.
Now I have 16GB...actually, it's probably still the same year. Exponential growth!
I more meant that I would check that the file structure had a signature that was at least kind of intelligible. Like in this case, the size was way out of whack. If we are expecting 2 MBs of files per transaction, lets flag up a 5 GB transfer as no-go. Without knowing exactly what kind of files were involved, its hard to say what the right signature to look for is.
But this is all with hindsight of having read the story, which is why I say I "hope" that I would have done that. But really, who knows.
This was an error in the program IMO. Programs should be designed defensively, so that a single misstep cannot cause disaster. This is triple-true where file handling is concerned. I hope that I would have added a "does this folder make sense" check before sending it to users, especially non-techie users.
How
is
decimal
digit
overflow
still
a
problem
If you think you are a good dev, and you wrote customer-facing code that is affected by this issue, then you are wrong. You should not assume that a number you don't control will fit in X number of digits, especially if you know that it is just going to increase over time. Why does anybody even need to say that?
If you are looking at a number encoded as a string, your number one goal in life should be to parse it to a numeric data type as quickly and cleanly as possible. If you don't know for sure that number will fit in one byte for as long as the universe still exists (or at least until next time you can recompile your code), then use 2 bytes (and so on for 2, 4, and 8). This is both obvious and not hard.
JavaScript's silent type conversions strike again.
Installing? What installing? Is a program installed when I put it in a folder called "programs"? I agree, it's so easy to rephrase discussions by using a term like this. It's some binary, I'd like my CPU to execute it. THANK YOU VERY MUCH, GOOD DAY SIR.
Same. I bought a Vero 4K+, even though technically the TV itself will technically do everything that I need. For any number of reasons, that thing gets connected to the internet (via LAN, don't want it to ever know my wi-fi) when I know there is a firmware update of interest. Never ever for another reason.
I do not want to hear "powerful stories" from advertisers. I doubt that such a thing exists, but whatever a marketing person thinks it is...has no place in my brain. I need those parts of my brain for thinking about dead kittens and the inevitability of death. I wouldn't want something depressing like an ad for air freshners taking up valuable space.
I've never gotten that far, but I once spent a couple hours searching every nook and cranny of a very disorganized workshop looking for every single SCSI thing we had, so I had the best possible chance of getting computers and drives spanning two decades to work together.
Centronics, 50-pin external, 50-pin internal, 64-pin, 80-pin, VHDCI, various generations of terminators, powered drive boxes...and in the end, I was just about able to get some machines to behave themselves and communicate with something.
In fact, I ordered a bunch of 50-pin external SCSI cables on Saturday so I wouldn't have to do yet another IRIX installation with the case open and an ODD hanging out, running of the internal SCSI connector...
I was in a quasi-technical program at a college, and one of the younger students showed me this image: https://cdn.quotesgram.com/img/28/67/1517862763-funny-picture-there-is-always-a-way.jpg
He insisted that this would work, and would merely be very slow. No amount of "but you are connecting a serial USB device, via a PS/2 adapter of unknown construction, to a parallel SCSI interface" would convince him.
He wasn't that bright.
considering that Epic created a series of mega smash-hit games, then licensed UE3 to half the games industry for a decade, and now looks to be continuing to do so with UE4...I think the claim that they have never been profitable needs to substantiated.
Addendum:
A couple weeks ago I replaced my top-end 2007 Sony XBR2 television with a top-end 2021 Sony A90J.
Yes, the new TV is clearly superior in all areas (except in brightness and burn-in concerns, because OLED) and I am happy for the upgrade. But is it 13 years better? Probably not...certainly not in the same way that my 6800XT is superior to a 2007 GeForce 8800 Ultra, or a Ryzen 5000 is superior to a Core 2.
Those PC upgrade examples are comical, the old parts would now be considered effectively unusable for anything (power and heat concerns basically invalidate them for any use they would still be capable of). OTOH, this change between TVs for me has merely been "a nice improvement". And the old XBR? Going to a recent grad, who will undoubtedly get many more years of high quality, trouble free service out of it.
I am in the "wow I want a Linux version" department. It would really promote my adoption of Linux as a primary platform. In what universe is being built in JavaScript a good thing? (unless your main goal is being cross-platform)
Aside from the overall feature set of VS being so substantial for C++, I don't really like the philosophy of CS Code. I am capable of working a terminal and JSON for commands and configuration, but I don't want to. Since I don't use each individual command or configuration very often, I'm not going to have memorized a lot of the things I will need these tools to do. Hence, I'm often going to wind up having the manual open on another monitor so I can know what values are appropriate for a setting, or what command does what I want.
Here's a thought: what if I wrote an add-on that allowed me to link the IDE with the browser, and when I clicked on the text for a particular command it would be automatically executed by the terminal? Saves me from having to type it, keeps the click/keystroke count down. The add-on would just tell the command to park it's butt on to the terminal.
Joking aside, I appreciate having terminals and raw config files AS AN OPTION. However, unless I do something frequently enough to have memorized it, a GUI makes more sense. Try sitting somebody down with a C64 and no manual. Ask them to load a game from a disk. That's going to be a long and painful experience (LOAD, 8, 1 obviously!). This is why we invented the WIMP interface; humans prefer to learn through the UI, rather than through reams of documentation. People want to get things done, not read docs (I should know, I used to write docs).
Cue the downvotes.
The problem with C/C++ is that it doesn't runtime bounds/pointer check.
The good thing about C/C++ is that you don't have to pay the performance cost of a runtime bounds/pointer check.
Even if there were dedicate hardware to bounds/pointer check, that would still consume power and die space, so in effect there is still a cost. Hopefully it would be a low cost, low enough that high performance computing applications can feel good about it.