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
J

jschell

@jschell
About
Posts
10.0k
Topics
141
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Was I wrong about Analyst Programmers?
    J jschell

    5teveH wrote:

    His mind-set is 100% that of a developer He has that "blind spot".

    What you are describing is a business problem. Titles have nothing to do with it. The basic hierarchy is - Customer - Requirement/business cases - Architecture - Design - Implementation - Test - Delivery - Repeat steps as necessary. And there are other factors that influence that. - Providing a solution that is robust, fast, etc. - Updating old code - Security - Making sure that something is delivered so money can be made to pay the bills. - etc The roles that any one person might successfully fulfill depend on their own experience and their coworkers skill as well. An 'architect' might be able to fulfill the first 4 roles but not be great at the detail work needed for the levels under that. A developer might seem to have adequate knowledge of both the business and the code but fail when the business changes. Of course failures can come from many places. I know of specific case where a service was created, delivered and successfully used but a contract very early in the company history guaranteed they could not make enough money to keep going. In another case a design or perhaps implementation decision lead to a multi-billion dollar company failing in less than a year due to a security problem. Or a developer that was handed a detailed design and decided to ignore it producing a solution that did not meet the business needs the design dealt with. This is all impacted by complexity. A single man shop would need to provide all of that. But when a company has thousands of employees single employees just cannot learn everything needed to manage all roles. I have worked at companies where test automation was handled by a team of employees.

    The Lounge business css testing collaboration beta-testing

  • Preemptive goodbyes
    J jschell

    fgs1963 wrote:

    On the chance that CP goes the way of the Dodo

    Just noticed that the popup ads are gone from the side and top. Myself I certainly don't block them so that is another scary factor.

    The Lounge

  • Code to capture and send ip packets
    J jschell

    Member 16391238 wrote:

    What if rephrase the question to lookf or to capture frames from NIC?

    And then what? How do you view them? How do you collect them? You are going to need more than just that.

    Member 16391238 wrote:

    an academic project

    This is going to be a complex project. FIRST, you would need to learn how to write a driver, and driver. And figure out how to do it for the target OS. Either Windows or Linux. Then you would need to find a NIC that you can actually find internal documentation for. So you can access it. Following is the layers you would be looking to replace. And it took me a bit to even find that diagram. The Internet Protocol Stack[^] I suspect you would need to create a IP layer. I think you can do that these days with C++. However you are going to need to really understand how linking works and API interfaces. And probably a bit of hardware knowledge also. It will likely also require special compilation macros to insure that your API is constructed correctly. Internally you might be able to use OO but for the API methods they will not be class methods. It is possible that one of the small hobby computers (like 'Basic Stamp') might be workable mainly because it might be easier to find hardware details. But with that you are then also going to learn how to use that and to create binaries for it.

    C / C++ / MFC c++

  • Eliminating old books
    J jschell

    dandy72 wrote:

    Which doesn't make them valueless.

    But you said "...books were just taking up place in a number of boxes on the floor of a closet." You wanted the storage. You didn't want to build an addition onto your house to provide that storage. Which is the same problem the library has. Except multiplied by thousands.

    The Lounge csharp php asp-net xml

  • Eliminating old books
    J jschell

    The Dragon book. Since the newest one costs something like $150 I figure I will hang on to the older version if I want to look something up.

    The Lounge csharp php asp-net xml

  • Eliminating old books
    J jschell

    dandy72 wrote:

    They wouldn't take anything older than 5 years. Yet these are the same people who are constantly complaining they're underfunded. They weren't junk, and I'm sure if I had bothered I might have found some buyers, even if only for historical value.

    Err...except you just stated that some of them you had never read and that you would never use them again. Libraries of course must either store books or dispose of them. Which costs money. You know the part where funding comes in. And computing has impacted them as well. So they can easily track titles and genres which people do read and those that they don't. So they maximize the potential.

    The Lounge csharp php asp-net xml

  • Drivers
    J jschell

    I believe way back when there was a graphics card for either the Apple II or IBM-PC, before VGA, that if used incorrectly would destroy the CRT it was hooked to.

    Hardware & Devices tutorial question lounge

  • MS Word bugs
    J jschell

    trønderen wrote:

    deciding to move paragraphs, sentences and words around (that happens quite often)

    Just noting that I never do that. I do move large blocks of text. But I do not drag. I never move a single word.

    The Lounge announcement help question

  • IT history
    J jschell

    trønderen wrote:

    I certainly would not use the TIOBE Index as a reliable source of truth, though.

    Do feel free to provide an alternative. Every other source that I have ever seen was driven by confirmation bias and/or used very small samples. For example a consulting company that specializes in Python finds, amazingly, that 50 large companies are considering starting a project in the next year using Python.

    trønderen wrote:

    To take one example: Last month, C popularity dropped by 2.38%, in a single month. No, that is not for real

    Naturally one understands that a single month is not representative. The trends over time are what matter.

    trønderen wrote:

    Something is not 100% reliable in their collection of data.

    Rather certain that no one claimed they were 100% reliable. Certainly I did not claim that in my first response.

    The Lounge question

  • Why should I bother?
    J jschell

    Gary Stachelski 2021 wrote:

    I believe that there are tens of thousands of frustrated, really talented technical people who feel trapped by the toxic environments that they are forced to work in,

    History, history, history. Back in the good ol' days one started as a key puncher. After doing that a couple of years, one got to be a junior programmer. And no that is not like now where a junior programmer might get to work on real problems. Because after all when a job that an entire team is waiting on it might take an hour just to report obscure syntax errors. So manually checking code becomes something that everyone does. Character by character. Certainly leads to frustration. Not to mention of course that touchy feely was not even a thought back then. So violent explosive verbal tirades were considered, if not normal, then certainly a likelihood when mistakes were made. Then look to the environment that Steve Jobs produced between Apple and Macintosh development.

    Gary Stachelski 2021 wrote:

    Take Microsoft's latest disaster.

    Versus what? OLE? I never figured out what happened to that. What was the attempt before that? Or the original Microsoft library that was 'supposed' to be Object Oriented which wrapped the Microsoft C API and definitely was not OO. Of course there was IBM's fubar on the original contract with Microsoft over DOS. There was the DEC Alpha. Fast windows (then.) At only about $500,000 a machine. Steve Jobs the wunderkind but not so much with Next. Can't remember the name but they needed to replace the airline reservation system in the 90s or so. The failure to deliver and vast cost overruns which spawned multiple lawsuits.

    Gary Stachelski 2021 wrote:

    and I might add, the vision to know that the software is useful, solves a problem and will be a strong foundation for future applications.

    People that can predict the future should probably focus on that. Maybe do some stock investing. Otherwise don't design and certainly do not implement code based on wild guesses as to what the future might bring. Rathe deliver something based on what is known.

    The Lounge design oracle com graphics iot

  • Why should I bother?
    J jschell

    honey the codewitch wrote:

    If big companies like MS are pushing user expectations downward in terms of software quality, it makes me wonder.

    Versus who? Versus when?

    honey the codewitch wrote:

    why do I care if my code works, if Microsoft doesn't?

    One reason for that is that companies like that exist to make money. Not code. And in the modern era that is even stressed more as there are more measurable factors that one can see to know if a company is making money. Not to mention growth, return on investment, etc. Just because a developer wants to eliminate a single error that occurs in one million successful transactions it doesn't mean it is cost effective (money) to allow them to spend 2 weeks or 6 months to do so.

    The Lounge design oracle com graphics iot

  • IT history
    J jschell

    The question does not have a definitive answer. You can't even answer the same question now and there are more ways to collect data. Following is the source I have used for a very long time. And I consider the data collection better than others but it is certainly open to question. TIOBE Index - TIOBE[^]

    The Lounge question

  • MS Word bugs
    J jschell

    Not sure what version I have (not 365) but certainly newer. Does it do it? No. Is it a bug? No. It shows a 'not allowed' icon when I attempt it so it is defined behavior.

    trønderen wrote:

    while marking (double clicking) a word, and drag the word to a new position.

    Just noting that as a touch typist I would never do that anyways. Never attempted even long ago when I still needed to look at the keyboard.

    The Lounge announcement help question

  • Interface with a default implementation
    J jschell

    Richard Andrew x64 wrote:

    default method in an interface works.

    Default interface methods - C# feature specifications | Microsoft Learn[^] "to add methods to an interface in future versions without breaking source or binary compatibility with existing implementations of that interface." The feature is a hack which should be avoided if possible. It does not fit your case. An abstract class is a better starting point for your example.

    C# debugging help question

  • How to use functions of a dll in another dll "on the fly"
    J jschell

    Presumably you have a well designed understanding of what the additional functionality is in general. There are a number of design patterns that might be useful in structuring the code. - Chain of responsibility - Fly weight - Decorator - Composite - Template As suggested other response you use reflection to load classes dynamically. Those will need either an interface or base class for your code to interact with it. You will need to at least consider dependencies (other dlls required by the dll that is loaded) in that they must be located somewhere. Either load those also dynamically or insure that the application can find them.

    AtaChris wrote:

    with reduced functionality

    That is a design and business consideration which cannot be addressed generically. For example perhaps you want to switch out your database driver. But the application cannot operate without any database. Same thing with supporting multiple card card processor interfaces. If you expect two but only find one then that is ok. But if you find none then the application probably cannot continue. There are ways around failure cases but they add significant complexity and even business risk.

    C# visual-studio help tutorial

  • Software point update...
    J jschell

    StarNamer@work wrote:

    ..which turned out to be a boot disk for SpinRite 6.0!

    After doing all that just to find it, do you really need to upgrade that tool?

    The Lounge announcement data-structures tools learning

  • Investments in your work equipment/tools, what would you expect?
    J jschell

    If you have a real day to day need for 8 VMs then I would expect you to need more than 1TB for storage. Although not sure why you need 8 VMs day to day. Only reason I can think of is a Microservice Architecture which is not actually keeping the interfaces between each Microservice clean. Thus requiring frequent multi-service debug sessions. And if that is the case then better if the company spend money on fixing that.

    The Lounge tools question career

  • What's the syntax error?
    J jschell

    Interesting. Not a new problem apparently https://stackoverflow.com/questions/5967035/using-function-as-a-parameter-when-executing-a-stored-procedure[^]

    Database sql-server database help question

  • Life not from Earth? Intelligent?
    J jschell

    jmaida wrote:

    However, as Enrico Fermi put it in a brief quote "Where is everybody?"

    The implicit assumption in that statement is that there is some way to get from there to here and they have it. That ignores the substantial evidence that we have that it is not possible.

    The Lounge com question

  • DON'T stack laptops...
    J jschell

    dandy72 wrote:

    How else have you repurposed some everyday thing in a way it wasn't really intended?

    Not me, but apparently this couple did. https://www.nbcnews.com/news/us-news/colorado-funeral-home-owners-accused-storing-190-decaying-bodies-are-c-rcna148016[^] Doesn't say whether they used foam or whether it was on the side or not.

    The Lounge dotnet com data-structures help 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