Skip to content
  • Parts left over, but it works

    The Lounge design com graphics iot tools
    14
    0 Votes
    14 Posts
    0 Views
    H
    Say what you will about the complexity of modern machines - often a fair criticism - I've noticed a LOT MORE thought goes into maintenance on say, newer vehicles than old relics. I wouldn't doubt that applies to old diesel locomotives vs the new diesel-electric pushers, for example. The latter may have more stuff to go wrong, but the stuff that commonly goes wrong is easier to get to overall. I watch a lot of classic car restoration and customization shows (anxiety precludes me from watching other sorts of television due to drama) and what I've seen from 80 year old cars - regardless of condition - would curl your hair in terms of servicing them, and that's not accounting for not being able find parts. :~ Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    5 Posts
    19 Views
    M
    Thank you. All POS printers we use support ESC/POS mode. Do the graphic files need to be converted? If yes how?
  • In my best 'Sneakers' voice

    The Lounge csharp design dotnet com graphics
    7
    0 Votes
    7 Posts
    0 Views
    H
    I'd be fine with 7.1. Or for .NET Framework to hurry up and go away. Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
  • 0 Votes
    3 Posts
    4 Views
    H
    A regex is kind of complicated for that. I prefer using my looping dual state state machine (state is just represented by the isQuote bool. The technique i presented above is used in the latest GitHub bits of the project here: Program.Base: Drop In Command Line Application Functionality for Your Projects[^] It does: Command line parsing, using screen generation, error handling, file and argument object lifetime management, word wrapping (necessary for using screen anyway so i exposed it) stale file checking and progress reporting. It's a drop in file with no dependencies, and is targeted to .NET Framework as well as the newer stuff. (I have two files for it but the only difference between them is the .NET Framework (DNF) file does not have #nullable disable at the top, which shuts up nullable reference type warnings in the newer C#. You just pick the one you need. If you can get it approved by your work you're more than welcome to it. I developed it because I got sick of writing essentially the same code over and over again. This is less work than that System.CommandLine stuff, and does more. Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
  • Upgrade adventure time

    The Lounge design com graphics iot tools
    12
    0 Votes
    12 Posts
    0 Views
    H
    That's probably due to the firmware bug on the early 2TB models. That has been sorted out. I've never had problems with mine, and I'm running two of them currently, but I patched the firmware before formatting. Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
  • 0 Votes
    1 Posts
    2 Views
    No one has replied
  • 0 Votes
    7 Posts
    6 Views
    L
    void UpdateGame() { MessageBox(hWnd, "Doing the update", "Game", MB_OK); } :laugh: :laugh:
  • You know what feels good?

    The Lounge design com graphics iot question
    10
    0 Votes
    10 Posts
    0 Views
    S
    Another example is going to bed with a performance problem on a gigantic persistent hash table and waking up with a solution that doesn't require a multi-hour table rebuild, because the hashing doesn't change.
  • 0 Votes
    1 Posts
    1 Views
    No one has replied
  • Did I miss the code contest this month?

    The Lounge design com graphics iot question
    3
    0 Votes
    3 Posts
    0 Views
    N
    seems so M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
  • 0 Votes
    7 Posts
    0 Views
    H
    I do. Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
  • In .NET enumeration is slow

    The Lounge csharp design linq com graphics
    52
    0 Votes
    52 Posts
    1 Views
    T
    If you do buddy with a set of freelist heads, one for each size, and your buddy combiner orders the freelist, you have an extra benefit of locality: most accesses would go to the lower end of the heap, making better use of virtual memory (less paging). A background GC could unhook a freelist (maybe leaving a couple entries in the list for use while the GC was working), returning with one shorter list for the original freelist and one list of combined buddies to be put into the next higher size freelist. The head end of the freelist may be rather unordered - this is where all the allocation and freeing is taking place. If the list is long - it hasn't been emptied for quite some time - the tail end may be perfectly sorted after the previous GC/combination round. If you do sorting e.g. by Smoothsort, handling the already sorted part has complexity O(n), so most likely, the long freelist will not required much effort. You find buddies by traversing a sorted list, so the list of buddy pairs will also be sorted. If the next higher freelist is also mostly sorted, all buddy pairs is inserted into this is list in a single traversal. I would do real timing tests with a synthetic heap load (modeled after a relevant usage scenario) to see if it really is worthwhile the resource cost of an asynchronous GC thread - strongly suspecting that a finely tuned incremental but synchronous buddy manager can do it both at a lower total resource cost and with so small delays that it would be a much better solution. Final remark: "you've finished doing useful work and you don't need to make the user wait for the collection". In most systems, each process has its own heap. Multiple processes allocating from one common global heap requires a lot of resource consuming synchronization. Most CLI programs are run in their own processes. So when they complete, noone cares about what their heap looks like at that time. There is no reason to do any garbage collection at that time. The entire data segment holding the heap is released en bloc. In an embedded system, you often have a single systemwide heap. But few embedded system have CLI interfaces for running arbitrary programs that start up and terminate as a function of user operations. Even if the embedded system has some sort of UI, user actions are usually limited to activating specific built-in operations in the embedded code, not separate CLI oriented programs. But of course, there may be exceptions :-) Religious freedom is the freedom to say th
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • We are doomed

    The Insider News graphics help
    3
    0 Votes
    3 Posts
    0 Views
    D
    Marc Clifton wrote: what hardware on what platform is less of an issue, IMO, unless you need real performance. Ah, but that, IMO, is where the real challenges lie. Writing performant code for a resource-intensive task is the kind of challenge that I really enjoy. Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
  • I have article anxiety!

    The Lounge design com graphics iot announcement
    11
    0 Votes
    11 Posts
    0 Views
    J
    Daniel Pfeffer wrote: you look up statistics on how many peer-reviewed articles are withdrawn either before or after publication. If only the pay to publish market had that same withdrawal rate.
  • Shame on me

    The Lounge design com graphics iot regex
    5
    0 Votes
    5 Posts
    0 Views
    J
    Been there, done that. In grad school, I would sleep on foam rubber pallet in the corner of the computer lab so I wouldn't have to make the drive home and then back again. This could on for 2-3 days, a week, until a goal was reached. "loopy" is a good description. The next day it's all in the past. I remember visiting this code several years later, "what the hell was I thinking". We didn't have a work remotely option in those days. Only slow baud rate modem stuff. "A little time, a little trouble, your better day" Badfinger
  • 0 Votes
    5 Posts
    0 Views
    D
    I use Babylonian cuneiform on clay tablets. All my numbers are in sexagesimal. Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
  • 0 Votes
    1 Posts
    0 Views
    No one has replied