[-] [email protected] 1 points 11 months ago

They just moved the production of Nucs to Asus.

[-] [email protected] 1 points 11 months ago
[-] [email protected] 9 points 11 months ago

I work better at night.

[-] [email protected] 2 points 11 months ago

Lol, no worries.

It takes webp, not gif. Look for what you want as a gif, convert it to webp, and upload it. :)

[-] [email protected] 2 points 11 months ago* (last edited 11 months ago)

What's with the avatar?

[-] [email protected] 5 points 11 months ago

Thanks for moving the content from Reddit. I did the same as well, for the important content. :)

[-] [email protected] 2 points 11 months ago

Hello there, and welcome to our community! I hope you like it in here.

Could you please paraphrase your post title as a question? It’s our first rule. Thank you :)

[-] [email protected] 1 points 11 months ago

Hello there, and welcome to our community! I hope you like it in here.

Could you please paraphrase your post title as a question? It’s our first rule. Thank you :)

[-] [email protected] 3 points 11 months ago

I don't think the housing cooling down is going to be for a long term. Sure the interest rates are high, and housing has gotten more expensive. However, I think a factor that doesn't get discussed is house building costs.

I'm currently shopping for insurance and realized the cost to re-build per square ft is ~$330, and that was based on the Louisville fires so it's recent. If your house is 1,750 sq ft, that's $577,500... So, you're technically buying a house for cheaper than it costs to build.

[-] [email protected] 1 points 11 months ago

How has it been so far?

I have no trust in RTD, especially the drivers they hire. That was during the pandemic though. I'd love for the experience to change so I use it more.

[-] [email protected] 3 points 11 months ago

It's never going to be enough, they made profit in an area that should be regulated well and a utility.

[-] [email protected] 2 points 11 months ago

Hello there, and welcome to our community! I hope you like it in here.

Could you please include TIL in your post's title? It's our first rule. Thank you :)

7
submitted 1 year ago by [email protected] to c/[email protected]
4
submitted 1 year ago by [email protected] to c/[email protected]
3
submitted 1 year ago by [email protected] to c/[email protected]
2
submitted 1 year ago by [email protected] to c/[email protected]
7
submitted 1 year ago by [email protected] to c/[email protected]
1
submitted 1 year ago by [email protected] to c/[email protected]
1
submitted 1 year ago by [email protected] to c/[email protected]

cross-posted from: https://lemmy.world/post/704147

cross-posted from: https://lemmy.world/post/704145

Yes, live.

I've looked for this for a while and didn't find much. Being a stubborn ass (The Boondocks voice) I kept looking until I got it down. There are trackers for the options you've sold, call and put screeners, calculators to avoid CSP risk, holdings, and a singular location for cost basis so you don't do something dumb like Idk sell SPCE CCs at $20 when your cost basis is $22 but you thought it was $18. I definitely didn't do that.

Google Sheet

You'll need to add a custom script:

  1. Tools
  2. Script Editor
  3. Add file
  4. Name it SAMPLE
  5. Paste this into it:

The code is thanks to tanaike

Code source: https://stackoverflow.com/questions/64437503/importxml-not-producing-correct-values

function SAMPLE(url) {
  const res = UrlFetchApp.fetch(url, {muteHttpExceptions: true});
  const tables = [...res.getContentText().matchAll(/(<table[\w\s\S]+?<\/table>)/g)];
  if (tables.length < 2) return "No tables. Please confirm URL again.";
  const values = tables.reduce((ar, [,table]) => {
    if (table) {
      const root = XmlService.parse(table).getRootElement();
      const temp = root.getChild("tbody", root.getNamespace()).getChildren().map(e => e.getChildren().map(f => isNaN(f.getValue()) ? f.getValue() : Number(f.getValue())));
      ar = ar.concat(temp);
    }
    return ar;
  }, []);
  return values[0].map((_, i) => values.map(r => r[i]));
}

The result: It returns a table, so you need to use INDEX with it in order to point to a specific row/column. The method itself is SAMPLE, which takes a URL and returns a table. So you'll need to use Concatenate in order to make up the URL for a Yahoo link.

Google Sheet function:

=INDEX(SAMPLE(CONCATENATE("https://finance.yahoo.com/quote/", $A7, RIGHT(YEAR($E7), 2), TEXT(MONTH($E7), "00"), TEXT(DAY($E7),"00"), IF(B7 = "PUT", "P", "C"), SUBSTITUTE(TEXT($M7,"00000.000"), ".", ""), "?p=", $A7, RIGHT(YEAR($E7), 2), TEXT(MONTH($E7), "00"), TEXT(DAY($E7),"00"), "C", SUBSTITUTE(TEXT($M7,"00000.000"), ".", ""))), 2, 3) 

Known issues:

  1. Loading from mobile is not reliable. You may have to erase the cell and undo, or reload, or get on a laptop/desktop.
  2. Sorting recalculates the numbers and sometimes it stops working. I just don't sort anymore, but it'll eventually fix itself.
  3. It doesn't calculate if you change values. Just erase the cell and undo, it'll do it correctly.
  4. Not all options are available on Yahoo, especially if you're looking 30+ days.

Full page, two words: ~~Fuck you~~ good luck!

P.S. Yahoo dev: If you're seeing this, please let me be. This was already hard enough to put together. Plz.

2
submitted 1 year ago by [email protected] to c/[email protected]

cross-posted from: https://lemmy.world/post/704145

Yes, live.

I've looked for this for a while and didn't find much. Being a stubborn ass (The Boondocks voice) I kept looking until I got it down. There are trackers for the options you've sold, call and put screeners, calculators to avoid CSP risk, holdings, and a singular location for cost basis so you don't do something dumb like Idk sell SPCE CCs at $20 when your cost basis is $22 but you thought it was $18. I definitely didn't do that.

Google Sheet

You'll need to add a custom script:

  1. Tools
  2. Script Editor
  3. Add file
  4. Name it SAMPLE
  5. Paste this into it:

The code is thanks to tanaike

Code source: https://stackoverflow.com/questions/64437503/importxml-not-producing-correct-values

function SAMPLE(url) {
  const res = UrlFetchApp.fetch(url, {muteHttpExceptions: true});
  const tables = [...res.getContentText().matchAll(/(<table[\w\s\S]+?<\/table>)/g)];
  if (tables.length < 2) return "No tables. Please confirm URL again.";
  const values = tables.reduce((ar, [,table]) => {
    if (table) {
      const root = XmlService.parse(table).getRootElement();
      const temp = root.getChild("tbody", root.getNamespace()).getChildren().map(e => e.getChildren().map(f => isNaN(f.getValue()) ? f.getValue() : Number(f.getValue())));
      ar = ar.concat(temp);
    }
    return ar;
  }, []);
  return values[0].map((_, i) => values.map(r => r[i]));
}

The result: It returns a table, so you need to use INDEX with it in order to point to a specific row/column. The method itself is SAMPLE, which takes a URL and returns a table. So you'll need to use Concatenate in order to make up the URL for a Yahoo link.

Google Sheet function:

=INDEX(SAMPLE(CONCATENATE("https://finance.yahoo.com/quote/", $A7, RIGHT(YEAR($E7), 2), TEXT(MONTH($E7), "00"), TEXT(DAY($E7),"00"), IF(B7 = "PUT", "P", "C"), SUBSTITUTE(TEXT($M7,"00000.000"), ".", ""), "?p=", $A7, RIGHT(YEAR($E7), 2), TEXT(MONTH($E7), "00"), TEXT(DAY($E7),"00"), "C", SUBSTITUTE(TEXT($M7,"00000.000"), ".", ""))), 2, 3) 

Known issues:

  1. Loading from mobile is not reliable. You may have to erase the cell and undo, or reload, or get on a laptop/desktop.
  2. Sorting recalculates the numbers and sometimes it stops working. I just don't sort anymore, but it'll eventually fix itself.
  3. It doesn't calculate if you change values. Just erase the cell and undo, it'll do it correctly.
  4. Not all options are available on Yahoo, especially if you're looking 30+ days.

Full page, two words: ~~Fuck you~~ good luck!

P.S. Yahoo dev: If you're seeing this, please let me be. This was already hard enough to put together. Plz.

2
submitted 1 year ago by [email protected] to c/[email protected]

3
submitted 1 year ago by [email protected] to c/[email protected]

cross-posted from: https://lemmy.world/post/511274

Got Stable Diffusion running locally and had to try this out.

8
submitted 1 year ago by [email protected] to c/[email protected]

Got Stable Diffusion running locally and had to try this out.

2
submitted 1 year ago by [email protected] to c/[email protected]
view more: ‹ prev next ›

_MoveSwiftly

joined 1 year ago
MODERATOR OF