Skip to content
  • Color me chagrined

    The Lounge design com graphics iot
    7
    0 Votes
    7 Posts
    0 Views
    R
    Did you try plugging it in and out ? Do not escape reality : improve reality !
  • Laptop debugging

    The Lounge design com graphics iot
    3
    0 Votes
    3 Posts
    0 Views
    T
    I've got two of those laptops, and one large floor model. The laptops provide rodent control, the latter wet kisses and ball retrieval services. There are no solutions, only trade-offs.    - Thomas Sowell A day can really slip by when you're deliberately avoiding what you're supposed to do.    - Calvin (Bill Watterson, Calvin & Hobbes)
  • Damn this SVG spec

    The Lounge graphics design com iot performance
    3
    0 Votes
    3 Posts
    0 Views
    H
    It's only project related in that it's part of my graphics library that I use for projects. I've expanded some in email. Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
  • whoohoo I'm doing it

    The Lounge design asp-net com graphics iot
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Woohoo, peephole parsing big content

    The Lounge design com graphics iot json
    4
    0 Votes
    4 Posts
    0 Views
    H
    Here's my float routine. It uses my ml_reader markup peephole parser Basically I keep a running cursor over the current buffer (**current) as well as the rdr for when I need to fetch the next string. The rest is just state machine stuff. result_t parse_float(ml_reader_base& rdr, const char** current, float* result) { char* end = NULL; double res = 0.0, sign = 1.0; long long intPart = 0, fracPart = 0; int fracCount = 0; long expPart = 0; char expNeg = 0; char hasIntPart = 0, hasFracPart = 0, hasExpPart = 0; int state = 0; // Parse optional sign if (**current == '+') { (*current)++; } else if (**current == '-') { sign = -1; (*current)++; } while (state<7) { if (\*\*current) { switch (state) { case 0: // int part if (!isdigit(\*\*current)) { state = 1; break; } hasIntPart=1; intPart = (intPart\*10)+(\*\*current-'0'); ++(\*current); break; case 1: \*result = (float)intPart; if(\*\*current!='.') { state = 3; break; } ++(\*current); state = 2; break; case 2: // frac part if (!isdigit(\*\*current)) { state = 3; break; } ++fracCount; hasFracPart=1; fracPart = (fracPart\*10)+(\*\*current-'0'); ++(\*current); break; case 3: if(hasFracPart) { \*result += (double)fracPart/pow(10.0,(double)fracCount); } if(\*\*current=='E' || \*\*current=='e') { ++(\*current); state = 4; } else { state = 6; } break; case 4: if(\*\*current=='+') { ++(\*current); } if(\*\*current=='-') { expNeg = 1; ++(\*current); }
  • On this day, 23 years ago...

    The Lounge design com graphics iot security
    10
    0 Votes
    10 Posts
    1 Views
    W
    Thank you for posting this. Never Forget
  • I drew a smiley face!

    The Lounge design com graphics iot json
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Why is there so much to SVG?

    The Lounge graphics database hardware question
    3
    0 Votes
    3 Posts
    0 Views
    H
    You're right, a lot of people have no idea what they need, and that SVG isn't special in its bloat. It's just overwhelming to deal with. But I really want nice pretty vector graphics for my little ARMs and stuff, and now the 32 bit ones have enough ooomph to do it. I just got sick of interfaces that look like they were crafted in the mid 1990s. LVGL seems to find its way around that, even with raster graphics, but I couldn't make heads or tails of its rendering process. I wasn't really going to do a whole vector engine, aside from loading and rendering a reasonable SVG subset which I already had finished, but not one with an exposed API you could draw with. The reason I did is I could not find efficient algorithms for doing anti-aliased draws with alpha-blending. The anti-aliasing would cause pixels to be drawn in the same place twice, which fouls alpha-blending. With vector graphics you get the mess basically as a series of polygons except all the lines are actually bezier curves. When you go to render, the way it's done, the issue above isn't an issue. But it's sort of an all or nothing deal because the latter works nothing like the former at all. Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
  • I hate being hung up and indecisive.

    The Lounge graphics design wpf wcf com
    7
    0 Votes
    7 Posts
    0 Views
    C
    Okay, I concede that your requirements are a bit more than mine ever were. Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.
  • It's beautiful

    The Lounge graphics c++ performance
    4
    0 Votes
    4 Posts
    0 Views
    J
    A lot of work, but job well done. "A little time, a little trouble, your better day" Badfinger
  • How in the hell did it happen so fast?

    The Lounge design com graphics iot question
    25
    0 Votes
    25 Posts
    0 Views
    C
    True, maybe compromise over something? Just keep trying. I'm in the middle of this battle as well. Technically retired at the end of June, wife prefers sewing, I prefer other projects, we're trying to start walking again (Autumn is just around the corner). Weird, as soon as I retired, she decided to do the same - we crunched all the #s and decided we could do this. Two weeks later, MIL who has dementia managed to trip and fall, breaking her hip. She argued for 4 hours before my fil just said elephant this, and called 911. That happened on my 46th wedding anniversary. To say from that day to now has been complete and utter hell is an understatement. Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.
  • 0 Votes
    1 Posts
    7 Views
    No one has replied
  • Nephews - can recommend

    The Lounge design com graphics iot help
    19
    0 Votes
    19 Posts
    4 Views
    E
    Yes, yes and YES. I've got 6 of the little critters - two from my sister and 2 each from my Darling's sisters. Currently driving 2 of them home from (a special) school every day and really enjoying the time we spend together. Started with the 12 year old about a 15 months ago and his 14 year old brother about a school term ago. I just can't stop pinching myself at how much the younger has improved in that time. Went from being a self-centered, psychopathic little shyte into a respectful, empathetic little boy. Their parents seem not to have had the energy to devote to them that I have and it seems everyone is benefitting from my input. Different sorts of problems to solve than when I was coding all the time, but I wouldn't give it up for the world. We've all grown and become better versions of ourselves. The others are 5 & 7, and 17 & 19. It's been interesting to see how I relate best to the middle pair. There seems to be an inverse relationship between how I relate to the parents and how I get along with the kids - absolutely fascinating. As far as I'm concerned, the oldest 4 are all simply inexperienced adults. Treating them as such seems to give me an edge. Happy days. :-D
  • I feel so nekkid

    The Lounge design c++ visual-studio com graphics
    6
    0 Votes
    6 Posts
    0 Views
    H
    I needed the C++ compiler locally, not the IDE. Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
  • O'Reilly HTTP guide for cat people

    The Lounge design com graphics iot tutorial
    5
    0 Votes
    5 Posts
    0 Views
    D
    TIL there's a .cat TLD. What a time to be alive.
  • Man am I lucky today

    The Lounge graphics design help com hardware
    6
    0 Votes
    6 Posts
    0 Views
    H
    It uses some code from Freetype, and my license documentation will reflect that. I'm actually pouring over all the code to convert it to C++ and do things like integrate it such that it uses my bitmap class instead of its own - that sort of thing, so I'm pretty familiar with where the codebase comes from. And I've worked with FreeType before and am familiar with it, which is why I made TinyTTF - and contributed that to LVGL as it runs in more places. That said, the freetype bits used in pluto isn't very heavy - just typedefs and rasterization algorithms. 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
    18 Posts
    2 Views
    H
    Yeah, for some reason when I was looking through installed targeting packs I didn't see x86 for some reason. It's there. I just missed it the first time. 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
    28 Posts
    0 Views
    D
    Oh no it wasn't anything inherent to VB, writing 1000 lines undocumented functions can be done (and I saw it multiple times by so-called professionals) in any language. I worked a lot on VB6 in my first company and honestly I liked it. It lacked some features and had a few quirks but for its role it's really comfortable. It gives a lot less bad habits than its strongest current competitor, which in my opinion is Python. As a quick GUI to call library functions it's just unbeatable, but take my opinion with a massive grain of salt - if some crazy mofo in MS will ever release a VB7 I'd jump on it in .3 nanoseconds. GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X The shortest horror story: On Error Resume Next
  • I'm too sick for this nonsense

    The Lounge design help com graphics
    7
    0 Votes
    7 Posts
    0 Views
    B
    I've spent all day beating on a problem with no success. Then: 1) I put it away, the next morning I spot the problem in 3 seconds. 2) Or, I call someone over; they spot the problem in 3 seconds. 3) Or, I call someone over; then *I* spot the problem in 3 seconds. Of course, I've had co-workers call me to help, and I spot the problem in 3 seconds. Typically, the person feels stupid, but the reality is that after staring at something too long, we don't see what's there -- we see what we expect to be there. The best course of action is to walk away for an hour -- do something else, then come back. To be fair, not all problems are solved so easily. My freshman year in college, working on a DEC/VAX, the program I wrote was failing to compile on a specific line, and the error made no sense. I took it to the professor, and he acted disgusted, expecting a newbie programmer problem. He read through that section twice. Frowned, and said, "That is written correctly." He thought for another moment and said, "Delete that line plus the one above and below. Retype them." An unprintable character had been inserted into the file and the compiler choaked on it. Retyping those 3 lines solved it.
  • 0 Votes
    8 Posts
    0 Views
    N
    I recommend you to see: Backstabbing for Beginners (2018) - IMDb[^] Goes pretty much in the line of your comment. 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.