Skip to content
  • 0 Votes
    9 Posts
    3 Views
    J
    Daniel Pfeffer wrote: I beg to differ. Ok, most people in the US speak proper English. ;P Jeremy Falcon
  • 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
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • whoohoo I'm doing it

    The Lounge design asp-net com graphics iot
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • 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
  • InstaPro 2 APK

    Work Issues question android com design security
    1
    0 Votes
    1 Posts
    9 Views
    No one has replied
  • Optimization woes. I love/hate embedded

    The Lounge design performance c++ css wpf
    3
    0 Votes
    3 Posts
    0 Views
    H
    I've considered preprocessing but many of these devices are connectible and you can't download SVGs if I don't support them. I don't know how big of a deal that is in practice, probably not much, but it would actually be a lot more work for me. I have codebases I'm pulling from, mainly a nanosvg port I completed for gfx 1.0, and plutosvg so I have quite a bit of the work more or less done, waiting to import and massage. If I switch to another format I have to redo all that code. TinyVG is interesting, and I'll keep it in my back pocket, until I hear that someone's actually using the format, as this is the first I've heard of it. One of the advantages of htcw_gfx is you don't need to preprocess most things. You can get your screens directly from your designers in SVG, PNG or whatever, and simply put them on the display. This saves time, especially when you have a lot of assets. It also makes the build process simpler since you're not doing any preprocessing of assets. So all that said, I like being able to support formats as they were intended, where possible. Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
  • I drew a smiley face!

    The Lounge design com graphics iot json
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 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.
  • How in the hell did it happen so fast?

    The Lounge design com graphics iot question
    25
    0 Votes
    25 Posts
    3 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
    12 Views
    No one has replied
  • Nephews - can recommend

    The Lounge design com graphics iot help
    19
    0 Votes
    19 Posts
    4 Views
    enhzflepE
    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.
  • Fear of UI - UPDATED

    The Lounge design question algorithms business announcement
    7
    0 Votes
    7 Posts
    0 Views
    D
    Richard Andrew x64 wrote: (That screenshot is from Mac, right?) I'm not a Mac user, but a couple of things give it away: - The red/yellow/green buttons in the top-right corner - The rounded corners - The skeuomorphism used, like that big knob control, and the shadow that is cast underneath it (which a coworker of mine would insist makes things look like they're dirty)
  • Man am I lucky today

    The Lounge graphics design help com hardware
    6
    0 Votes
    6 Posts
    1 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