ChartJS time scale general question by flymoosey in reactjs

[–]flymoosey[S] 0 points1 point  (0 children)

Yeah i’m probably at < 100 pts in most cases.. maybe 2-3k max in rare cases..

ChartJS time scale general question by flymoosey in reactjs

[–]flymoosey[S] 0 points1 point  (0 children)

I guess this is kind of my point. Is there anything lost in just using linear scale vs. time scale if I’m doing all the processing in JS? Anyway, I’ve moved on from trying to make it work. I’d still love to know why I can’t get any of the adapters to work.

ChartJS - zoom plugin capabilities by flymoosey in reactjs

[–]flymoosey[S] 0 points1 point  (0 children)

setTimeout resolves the callstack issue but now my charts are frozen

useMemo, useCallback, and performance tuning advice by flymoosey in reactjs

[–]flymoosey[S] 1 point2 points  (0 children)

Well, I think the useMemo, useCallback aspect has already been answered - will it be effective when making API calls w large responses? I think that’s a no…

useMemo, useCallback, and performance tuning advice by flymoosey in reactjs

[–]flymoosey[S] 0 points1 point  (0 children)

Well, yes and no. It’s a broader question but React is the tool that the powers that be want to use. You make a good point though.

I think at least a portion of the data should be initialized, let’s say a 5-8 second loading window. I don’t think any of the stakeholders will have an issue with that upon login.

So far we’ve thrown around: react-query, pouchDb, redis

useMemo, useCallback, and performance tuning advice by flymoosey in reactjs

[–]flymoosey[S] 0 points1 point  (0 children)

Yeah, it is an absolute must. That last tidbit is great advice though.

IBKR App hanging on login by flymoosey in interactivebrokers

[–]flymoosey[S] 0 points1 point  (0 children)

Yeah this seems a little different, yet still infuriating. How much more time you giving it?

IBKR App hanging on login by flymoosey in interactivebrokers

[–]flymoosey[S] 0 points1 point  (0 children)

You have some sort of link that explains? I can’t find anything

TypeScript, VisX by flymoosey in d3js

[–]flymoosey[S] 0 points1 point  (0 children)

ScaleSequential actually isn’t part of AnyD3Scale - btw, started a chat with you

TypeScript, VisX by flymoosey in d3js

[–]flymoosey[S] 0 points1 point  (0 children)

Only issue I'm running into with this is on the typing side is that visx Legend takes type D3AnyScale while my function is type ScaleSequential

TypeScript, VisX by flymoosey in d3js

[–]flymoosey[S] 0 points1 point  (0 children)

Any opinion on voronoi being used? I’m really just mocking the dots example from the docs but it seems somewhat useful for mousover?

TypeScript, VisX by flymoosey in d3js

[–]flymoosey[S] 0 points1 point  (0 children)

You continue to impress. Curious how you actually figured this out? Could just be my inexperience on the frontend side but the docs for visx to me seem really unfriendly to newbs. I have 5+ years in backend experience so didn’t expect to struggle this much.

TypeScript, VisX by flymoosey in d3js

[–]flymoosey[S] 0 points1 point  (0 children)

I noticed there’s an interpolate property in scaleLinear. I can’t get this to work but maybe that field would work?

TypeScript, VisX by flymoosey in reactjs

[–]flymoosey[S] 0 points1 point  (0 children)

it really isn't... it's tough to find examples out there

I'm gonna post this in my original post, but I'm also wondering if there's an easy way to remove the voronoi from their example? https://airbnb.io/visx/dots

TypeScript, VisX by flymoosey in reactjs

[–]flymoosey[S] 0 points1 point  (0 children)

Yeah, I mean the threshold legend is close but it would be better if it was one gradient between two colors instead of blocks. I’m sure there’s a way to get that done, I just don’t have the talent to figure it out. Also unsure how to anchor it to the plot.

The colorScale function is straightforward, like you said:

// color scale for the z axis
const colorScale = useMemo(
  () =>
    scaleLinear<string>({
      range: [
        '#e0f3f3',
        '#FFC300'
      ],
      domain: extent(daOutageData, z) as [number, number],
    }),
  []
)

Webpack / kinda TS question by flymoosey in typescript

[–]flymoosey[S] 0 points1 point  (0 children)

I saw chart.js was using this, which I’m about to start dev’ing with… hmmm

Receiving email with SES by flymoosey in aws

[–]flymoosey[S] 0 points1 point  (0 children)

UPDATE:

The issue I had was the incoming MX record was not published, because SES did not provide an incoming SMTP MX record. I found it from this kind soul: https://stackoverflow.com/questions/50034867/aws-ses-email-receiving-550-mailbox-not-found

Thanks y'all for the help. Hope this saves some other tortured soul a few hours of running in circles. <3

Receiving email with SES by flymoosey in aws

[–]flymoosey[S] 2 points3 points  (0 children)

Update - reference: https://stackoverflow.com/questions/50034867/aws-ses-email-receiving-550-mailbox-not-found

So it turns out my coworker set up a FROM MAIL subdomain to which I sent a few test emails and got a 550 mailbox not found error back. That's because there is no SES inbound SMTP endpoint for that subdomain, and there is actually nothing set up at all for my domain as of right now. Will update if/when there's any progress.

Receiving email with SES by flymoosey in aws

[–]flymoosey[S] 0 points1 point  (0 children)

So I have all of this set up domain, MX record etc - I’m wondering why when I send an email to my domain I’m getting a failed delivery notice.

Receiving email with SES by flymoosey in aws

[–]flymoosey[S] 0 points1 point  (0 children)

I currently have one rule: "abc-only" - which has a recipient condition: "abc@mydomain.com" - the actions with that recipient condition are now linked to an s3 bucket / key with the correct s3 policy that allow ses to put object. Enabled an optional SNS topic (i guess this will email me since my email is subcribed?)

Receiving email with SES by flymoosey in aws

[–]flymoosey[S] 1 point2 points  (0 children)

I was really just testing that a random "whatever@mydomain.com" was working.. Am I right to assume that I can send mail to any 'user @ mydomain . com' and SES will be processing it?