TypeError: Cannot read properties of undefined (reading 'http')

[REQUIRED] Environment

Browser version: Opera 107 on Windows 11
AA SDK version: 3.4.2
Package: aa-accounts

[REQUIRED] Describe the problem
When I try to get Alchemy Rpc client I get the following error:
TypeError: Cannot read properties of undefined (reading 'http')
    at createAlchemyPublicRpcClient (rpcClient.js:15:86)
    at createLightAccountAlchemyClient (lightAccountClient.js:19:95)
    at connectProvider (useAAProvider.jsx:33:59)
    at async getProvider (index.jsx:80:24)
```

#### How to reproduce:
Problem seems to be in function `createLightAccountAlchemyClient`
Code snippet :
```javascript
import { createWalletClient, custom, http } from "viem";
import { WalletClientSigner } from "@alchemy/aa-core";
import { createLightAccountAlchemyClient } from "@alchemy/aa-alchemy";
import { createLightAccount } from "@alchemy/aa-accounts";
import { polygonMumbai } from "viem/chains";

export const rpcTransport = http(process.env.NEXT_PUBLIC_RPC_URL);

const chain = polygonMumbai;

function useAAProvider() {
  const createEOASigner = () => {
    const walletClient = createWalletClient({
      chain,
      transport: custom(window.ethereum),
    });

    const eoaSigner = new WalletClientSigner(
      walletClient,
      "json-rpc" //signerType
    );

    return eoaSigner;
  };

  const connectProvider = async (scaAddress) => {
    const eoaSigner = createEOASigner();
    const provider = await createLightAccountAlchemyClient({
      apiKey: process.env.NEXT_PUBLIC_ALCHEMY_API_KEY,
      chain,
      signer: eoaSigner,
      account: await createLightAccount({
        transport: rpcTransport,
        chain,
        signer: eoaSigner,
        accountAddress: scaAddress ? scaAddress : undefined,
      }),
    });

    return provider;
  };
  return { connectProvider };
}

export default useAAProvider;
```
I have also tried to add:
```javscript

      connectionConfig: {
        rpcUrl: process.env.NEXT_PUBLIC_RPC_URL,
      },
```
but that didn't solve the issue.

there's a bug in this syntax. the account param should be an object not an instance
Change:
const provider = await createLightAccountAlchemyClient({
      apiKey: process.env.NEXT_PUBLIC_ALCHEMY_API_KEY,
      chain,
      signer: eoaSigner,
      account: await createLightAccount({
        transport: rpcTransport,
        chain,
        signer: eoaSigner,
        accountAddress: scaAddress ? scaAddress : undefined,
      }),
    });

to:
const provider = await createLightAccountAlchemyClient({
      apiKey: process.env.NEXT_PUBLIC_ALCHEMY_API_KEY,
      chain,
      account: {
        transport: rpcTransport,
        chain,
        signer: eoaSigner,
        accountAddress: scaAddress ? scaAddress : undefined,
      },
    });

Thank you for the quick response!
Unfortunately, that doesn't solve the issue. The same error still appears and also that code was pretty much taken from the documentation like here

Updated everything to 3.5.1. and some other changes and that error disappeared. Probably it was some conflict between versions.
The main difference was using createSmartAccountClient instead of createLightAccountAlchemyClient


Kill tasks does not delete all segments from S3

I have these segment files on S3:
.
└── <HADOOP_DATASOURCE>
    └── 2016-05-01T00:00:00.000Z_2016-06-01T00:00:00.000Z
        └── 2016-05-20T12:11:10.881Z
            └── 0
                ├── descriptor.json
                ├── index.zip
                └── index.zip.0

These were created with Hadoop Batch ingestion. I'm not sure exactly how the segment files work, but I assume the index.zip.0 file is a newer version of the same segment?
I then submit the this kill task to http://druid-overlord:8090/druid/indexer/v1/task
{
  "type": "kill",
  "id": "byebye",
  "dataSource": "<HADOOP_DATASOURCE>",
  "interval" : "2016-01-01/2016-09-30"
}

The tasks runs successfully without exceptions and nothing funky in the logs.
However, when I look again in S3, the directory looks like this:
.
└── <HADOOP_DATASOURCE>
    └── 2016-05-01T00:00:00.000Z_2016-06-01T00:00:00.000Z
        └── 2016-05-20T12:11:10.881Z
            └── 0
                └── index.zip.0

It seems like the versioned files are not removed.

Have you found out why

We have the same problem too. Kill removed segments in PostgreSQL and historical nodes but not in S3.

same problem here. we can still find all the segments in hdfs.
looks like kill tasks are not trying to delete deep storage files.


UI: Apply workaround to TreeNode for iTwinUI-react Checkbox bug

Details regarding the Checkbox bug
The bug affects all iTwin.js versions starting from 3.0.0-dev.4.
Once the bug is fixed on the iTwinUI-react side, this workaround should be removed.

It is a fix on dev version, how urgent is to deliver it? Cant we just fix it in iTwinUI instead?

Somehow I cannot go to the files tab to approve this PR

So as long as there is a track on iTwinUI bug and this workaround will be removed, its ok.
Also, would be good to have all the builds passing too.

@bsteinbk @veekeys Please review

@Mergifyio backport release/3.0.

https://github.com/Mergifyio backport release/3.0.x


Disapearing tsconfig.json

Hi,
i have a project with multiples tsconfig.json (one in each folder, because of scope issues).
The problem is that the tsconfig.json don't show up anymore in the files "tree".
I have tried to reproduce with a small project, but i can't.
What could i do ?

Thank you.

We have done absolutely nothing to the tree view, so not an issue to report to us :rose:
TIP: Make sure you haven't asked atom to hide it :

You can report it to https://github.com/atom/tree-view/issues if you still have problems :rose:


Added Dutch and Spanish (Spain) style guides

Docs Build status updates of commit c8a7a74:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

globalization/localization/ministyleguides/mini-style-guide-dutch.md
:white_check_mark:Succeeded
View

globalization/localization/ministyleguides/mini-style-guide-spanish-spain.md
:white_check_mark:Succeeded
View

globalization/localization/styleguides.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Support for Aws\Credentials\Credentials ?

Would you consider adding support for Aws\Credentials\Credentials to specify credentials, in place of a ~/.aws/credentials profile? Or will you accept a PR for this?
Thanks!

This is a feature that should be added in the component: oasis/aws-wrappers
I have added support for 'credentials' key in 2.6.0 of that component, and updated the ODM lib to v0.4.20 for that change. So I think you can run a composer update aiming for the latest version and get the support of credentials now
Let me know if this doesn't work, my simple UT suggests okay under my env


feat: view and edit allowance permissions

Describe the changes you have made in this PR
Title
Link this PR to an issue [optional]
Fixes #1820
Type of change
(Remove other not matching type)

feat: New feature (non-breaking change which adds functionality)

Screenshots of the changes [optional]

How has this been tested?
Manually using astral.ninja
Checklist

[x] My code follows the style guidelines of this project and performed a self-review of my own code
[x] New and existing tests pass locally with my changes
[x] I checked if I need to make corresponding changes to the documentation (and made those changes if needed)

Just for reference: changed disablePermissions to togglePermissions as that's what we need here

we got a permissions folder for the actions: https://github.com/getAlby/lightning-browser-extension/pull/1819/files
best follow that one and also add the list action there. (build on that other PR, or we merge that other PR first)
I'd also delete the actual permission and not set it to enable: false - we currently do not have much settings there. (either it exists and the allowance has that permission, or not)

we got a permissions folder for the actions: https://github.com/getAlby/lightning-browser-extension/pull/1819/files best follow that one and also add the list action there. (build on that other PR, or we merge that other PR first)
I'd also delete the actual permission and not set it to enable: false - we currently do not have much settings there. (either it exists and the allowance has that permission, or not)

So that means that the switch-input in that list will add or delete a permission? And not just set enabled true/false?

Thanks for the suggestions, @lisabaut 🙌
Made all the necessary changes, ready for another review!

Everything is ready now, just have to decide the copy for the permissions

Go to https://branle.netlify.app
Enable and agree and save to public-key permission
Post a message and save permission
Disable permission in Alby
Go to https://branle.netlify.app
Post a message and save permission
-> Permission doubled

Turning off a permission and "save" is throwing "route not found"

I find it a bit confusing that after "disabling" a permission and reloading the tab the permission is gone. But I guess that's because we do not use enable/disable yet, right?

Yup +1 on that but it's a temporary change as per what @bumi said; it's just because of deleting permissions instead of disabling them.

@escapedcat why did you approve this? I don't think "random subtitle" should be merged.
btw. @im-adithya from my experience it is never good to use dummy text in an app (like lorem ipsum or random subtitle) this will somehow end up in production.
having an enable flag in the DB was a mistake, I should have not proposed this. it seems to come up too often and cause confusion.

why did you approve this? I don't think "random subtitle" should be merged.

Totally didn't see this... thanks

Still have to decide:

Migrations for webln methods (lnd and commando)
Copy for nostr methods

Went with webln/connectorName/method and nostr/method
(found a way to avoid nostr/nostr/method) see https://github.com/getAlby/lightning-browser-extension/pull/1821/commits/b384c6e0291ed2c88123f90dc9ebb76e2546625f#diff-1b329da99ce24a934532ca1ee401d135a5d5917619b62db9711da859ce47f987R243-R253

Summary of the discussion I just had with René:

Unify the "nostr" permissions being used in Alby Prompts and in the Permission Popup to use the same descriptions (except for signMessage)
Delete the webln/methods as discussed before in a migration, allowing connectorName to be part of the methods from now on webln/connectorName/methods

(Modifying tests to follow the second step would fix the unit tests)


Seeing weird error messages in VS 15.5 preview 3

Severity	Code	Description	Project	File	Line	Suppression State
Error	FS3160	Problem reading assembly 'D:\code\Paket\bin\Paket.Core.dll': Build was not evaluated, expected the results to be ready after 'Eval' (GetCheckResultsAndImplementationsForProject, data = ("FinalizeTypeCheck", [|Id 1007; Id 1008; Id 1009; Id 1010; Id 1011|], Id 1013,
false, None)).	Paket.IntegrationTests	D:\code\Paket\integrationtests\Paket.IntegrationTests\BasicResolverSpecs.fs	1	Active

Closing as dupe of #3545


use pytube3 for python 3 (could close #672)

@maphew i believe that is a different library entirely so I'm a bit unclear if it fixes the root issue or replaces pytube with a different library when loading
We likely need to update our requirements.txt -- would definitely appreciate assistance here!

@RONNCC Thanks for the prompt attention. I didn't realize pytube & pytube3 are in a state of flux, once forked and now trying to come back together. The PR was just a naive implementation of the comments in #672. I'll see if I can find a way to help. There's also the fork-of-fork https://github.com/H4KKR/pytubeX.
A suggestion:  create an issue out of the "actively calling for maintainers" part of the Readme. Pin it. Then reach out to folks like @H4KKR who have been active fixing bugs and making PRs in recent months.

(and: I'll close this PR after you've read it. It doesn't serve the right purpose)

@RONNCC Thanks for the prompt attention. I didn't realize pytube & pytube3 are in a state of flux, once forked and now trying to come back together. The PR was just a naive implementation of the comments in #672. I'll see if I can find a way to help. There's also the fork-of-fork https://github.com/H4KKR/pytubeX.

I'm not really sure how they go together/work - need to dive into that more  😄

A suggestion: create an issue out of the "actively calling for maintainers" part of the Readme. Pin it. Then reach out to folks like @H4KKR who have been active fixing bugs and making PRs in recent months.
Good idea!  Done in #698


Reinventing the wheel

JSON + human readability + comments + smaller file sizes = YAML
Try it ;)

You forgot "+ turing complete". yaml goes way too far.
On Mon, Feb 3, 2020 at 10:20 AM roBsonn Null<EMAIL_ADDRESS>wrote:

JSON + human readability + comments + smaller file sizes = YAML
Try it ;)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

https://json5.org also addresses the issues

I originally looked into json5. It suffers the usual fate of standard extensions, in that it adds more than is strictly necessary to solve the problem. Still, if it were widely used and had developed all the Go tooling I would expect of a widely used standard, I would have gone with it. But it doesn't, so it was easier to spend a couple days doing this.
Long-term, if the contents of our configuration files stabilizes and we are confident it won't change, we may come up a custom format to represent it.

FWIW there's also https://github.com/rogpeppe/rjson.

These days, I'm actually a fan of Cue's syntax. If you use a strictly concrete subset, I think that could make a great JSON-alternative. I think it could be worth doing that as a standalone thing.

I'm excited to use this; a simple config format that I already know the semantics of with a few basic improvements.  ++

obligatory xkcd: https://xkcd.com/927/

Or HJSON which already covers this and has the name...

HSON goes too far, IMO. YAML also went that path where they just kept adding stuff.
tailscale/hujson is JSON + comments. Not multiline strings, omitting commas, omitting quotes, etc. At a certain point it gets hard to even recognize it as JSON.

obligatory xkcd: https://xkcd.com/927/


Load pre-trained models by name

Add argument wakeword_model_names so that you can load a pre-trained model by name.
Example usage:
oww = Model(wakeword_model_names=['alexa', 'hey_mycroft'])

This allows loading of a pre-trained model without having to know the full path to the onnx model file, which is required to use wakeword_model_paths. Knowing the path to the file gets complicated when using Docker, or Python virtual environments.

@dalehumby, thanks for the PR! This is a good fix, especially when the number of pre-trained models increases.
Sorry for the delay in merging; I'm working on other features and fixes for an upcoming release and I will add this change as well.

This change was incorporated in #31 (see specific change here).


Rework settings panel 🎉

Needs https://github.com/revault/revaultd/pull/256
Stakeholder view:

(Sadly watchtowers are always dead 🤷🏻♀)
Manager view:

Wow this looks much better, just looking at the screenshots!
A nit: i'm not sure we should display the Emergency address. With it a manager could blackmail the stakeholders (cause he would have the signatures already). I know it's technically accessible on the "non-trusted" (:tm:) laptop but displaying it makes the matter worse imho.

Do you think that my xpub should be displayed? Is it useful information to have? If not, we could ditch the whole "My information" card altogether...

When in doubt, i'd say print less technical (confusing) stuff :)
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Le mardi 24 août 2021 à 6:20 PM, Daniela Brozzoni @.***> a écrit :

Do you think that my xpub should be displayed? Is it useful information to have? If not, we could ditch the whole "My information" card altogether...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Updated to reflect changes in https://github.com/revault/revaultd/pull/256

works great.
I am thinking that maybe we should label the cosigner that the stakeholder manage but we change that later
ACK 7f0da99e337b234b982c8fe716417495a654d088

Sadly only the managers see the cosigners :( I would love to label them (at least with the bitcoin public key) but it wasn't trivial...


[vue] Don't parse TSX

What version of vite are you using?
2.9.13
System info and storybook versions
System:
OS: macOS 12.0.1
CPU: (8) arm64 Apple M1 Pro
Binaries:
Node: 16.15.0 - /usr/local/bin/node
Yarn: 1.22.18 - /usr/local/bin/yarn
npm: 8.5.5 - /usr/local/bin/npm
Browsers:
Chrome: 103.0.5060.114
Safari: 15.1
npmPackages:
@storybook/addon-actions: ^6.5.6 => 6.5.9
@storybook/addon-essentials: ^6.5.6 => 6.5.9
@storybook/addon-interactions: ^6.5.6 => 6.5.9
@storybook/addon-links: ^6.5.6 => 6.5.9
@storybook/builder-vite: ^0.1.39 => 0.1.39
@storybook/vue3: ^6.5.9 => 6.5.9
Describe the Bug
vue use tsx
Link to Minimal Reproducible Example
No response
Participation

[ ] I am willing to submit a pull request for this issue.

Sorry, but can you provide some more details or a reproduction that we can take a look at?

I think this is related to an issue that was reported in discord, along with a reproduction: https://github.com/hirotaka/storybook-vite.
Removing the vite react plugin solves the issue in that case.  I think the two plugins are conflicting.


Set Raven.debug using angular RavenConfig

Raven must be loaded after Angular. We concatenate all our angular code, so if Angular loads first, our RavenConfig block is loaded before Raven, making it difficult to closurize window.Raven when RavenConfig is loaded. Might as well just stick debug onto RavenConfig since dsn is on there too, and initialize debug the angular way.

Updated to use void 0. Never seen that before...

Thanks! :cake:

Updated to use void 0. Never seen that before...

I've used it because that's what Underscore does. See: https://github.com/jashkenas/underscore/blob/6a76a31bfe7c0fdef9e5de2b0898e3ea620fdf48/underscore.js#L1324-L1326
I'm not entirely sure the differences, but Underscore tends to have the edge cases of these things figured out and I trust them.
Thanks again for the contribution. :)

Np. Huh... looked it up. I think it's because void 0 is 3 characters shorter than undefined.


Whisper doesn't work when @mentioning people

Describe the bug
When you @mention someone in a whisper, the message is not handled as a whisper.
To Reproduce
Steps to reproduce the behavior:

Type #@user1 @user2 in chat

Expected behavior
Whisper should work even if someone is mentioned in it
What device are you on?
UMAX VisionBook 14Wa

working for me. what browser are you in?

works for me as well...

It works for me

didn't mean to close

I will be closing this as there has not been any response from the author.

It appears to work normally now.


Performance translateX vs left

Thanks for the project! It makes it much easier for old browsers compatibility!
Is there any difference in performance between using translateX or left for an animation using velocity?
There's clearly a difference when using jQuery. Does it happen the same here?
$('.arrow').velocity({
    'translateY': '90px',
    'translateX': '95px'
}, 250, 'easeOutCubic');

//vs

$('.arrow').velocity({
    'top': '90px',
    'left': '95px'
}, 250, 'easeOutCubic');

Basically, a left change causes reflow, where as a transform:transition change may cause just repaint, which is way way faster.
Besides that, If I'm not mistaken (at least in CSS3 transitions/animations it is) left/right values are integers, where as transitions can have floating point values, so they appear much more smooth.
Usuaully for animation you'll want to use transition, but for some use-cases you'll have to resort to left.

I believe I had it wrong, it seems necessary to add the starting position as well:
$('.arrow').velocity({
    'translateY': [90, 0],
    'translateX': [95, 0]
}, 250, 'easeOutCubic');

Which makes things even more tedious to maintain, as the same initial values should be placed in the styles sheet having them duplicated.

This is a question better suited for Google. Short answer: translateX is faster.


[Test-Proxy] Failure to download recording assets in WSL (with Python)

https://github.com/Azure/azure-sdk-for-python/pull/30789 was motivated by issues with making test proxy setup requests in a WSL environment. In order to successfully make requests to both the test proxy and GitHub, HTTP clients need to explicitly provide the local certificate bundle that includes the test proxy certificate. Even if SSL_CERT_DIR and REQUESTS_CA_BUNDLE environment variables are set before communicating, requests fail with certificate errors without the linked PR's changes.
https://github.com/Azure/azure-sdk-for-python/pull/30789 doesn't fully fix the issue though; when tests are run in a clean environment, we successfully set up the certificate bundle, set the environment variables, download the test proxy tool, and set up a .assets directory with a correctly-named folder for the assets git repository -- but the git repository is never actually downloaded. While trying to start a playback session, we raise an error from the test proxy:
azure.core.exceptions.HttpResponseError: {"Message":"Recording file path /home/mcpatino/azure-sdk-for-python/.assets/E3DeprJNZT/python/sdk/keyvault/azure-keyvault-administration/tests/recordings/test_settings_client_async.pyTestSettingstest_update_settings[7.4].json does not exist.","Status":"NotFound"}

This suggests that when the test proxy tries to restore the package's recordings, it can correctly create the assets directory but fails to make the asset-fetching GitHub request. We end up with the folder -- in this case, E3DeprJNZT -- being empty, which causes the "Recording file path X does not exist" error.

https://github.com/Azure/azure-sdk-for-python/pull/30789 with the current proxy version does not repro these issues.


openssl genpkey leaves empty file if encryption passphrase does not match

As part of a build script, I want to ask the user to create a (encrypted) private key if no private key file exists yet.
For this I run e.g.
openssl genpkey -algorithm ed25519 -aes256 -out test.pem

This asks to enter the passphrase twice and fails as expected if they do not match.
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:
Verify failure
Error writing key(s)
4027F7AD31790000:error:1400006B:UI routines:UI_process:processing error:../crypto/ui/ui_lib.c:528:while reading strings
4027F7AD31790000:error:0480006D:PEM routines:PEM_def_callback:problems getting password:../crypto/pem/pem_lib.c:62:
4027F7AD31790000:error:07880109:common libcrypto routines:do_ui_passphrase:interrupted or cancelled:../crypto/passphrase.c:178:
4027F7AD31790000:error:1C80009F:Provider routines:p8info_to_encp8:unable to get passphrase:../providers/implementations/encode_decode/encode_key2any.c:116:

The problem is that this leaves an empty key file behind instead.
-rw------- 1 benpicco benpicco 0 Sep 11 22:47 test.pem

This signals make that a key file has been created and it won't ask to create one again.
I think this is a bug. If encrypting the key fails for whatever reason, no file should be created instead of an empty one.
OpenSSL 3.3.1 4 Jun 2024 (Library: OpenSSL 3.3.1 4 Jun 2024)

I can reproduce this issue with latest main as well as all the way to 3.0. The private key is also created even if I use an empty password (which is invalid).
$ openssl genpkey -algorithm ed25519 -aes256 -out test.pem
Enter PEM pass phrase: <EMPTY PASSWORD>
Error writing key(s)
40277D682E7E0000:error:14000065:UI routines:UI_set_result_ex:result too small:crypto/ui/ui_lib.c:875:You must type in 4 to 1024 characters
40277D682E7E0000:error:1400006B:UI routines:UI_process:processing error:crypto/ui/ui_lib.c:528:while reading strings
40277D682E7E0000:error:0480006D:PEM routines:PEM_def_callback:problems getting password:crypto/pem/pem_lib.c:62:
40277D682E7E0000:error:07880109:common libcrypto routines:do_ui_passphrase:interrupted or cancelled:crypto/passphrase.c:178:
40277D682E7E0000:error:1C80009F:Provider routines:p8info_to_encp8:unable to get passphrase:providers/implementations/encode_decode/encode_key2any.c:116:
$ ls -l test.pem
-rw------- 1 andrew andrew 0 Sep 13 23:20 test.pem

Are there any BIO_* functions that we can use to remove a created file? I was trying to look at the genpkey.c file and was trying to move the file creation after all the validation. But it seems like we are passing in the file handle to PEM_write_XX and i2d_PrivateKey_bio calls; so a clean way would be to delete the file when rv is less than 0. Any suggestions on how to delete the file?

Are there any BIO_* functions that we can use to remove a created file? I was trying to look at the genpkey.c file and was trying to move the file creation after all the validation. But it seems like we are passing in the file handle to PEM_write_XX and i2d_PrivateKey_bio calls; so a clean way would be to delete the file when rv is less than 0. Any suggestions on how to delete the file?

No, you will need to use functions from libc to delete the file. unlink() will do that.

I fixed this issue be deleting the outfile when the ret is not 0 at the end of the function, after the BIO_free_XXX.
    . . .
    BIO_free_all(out);
    . . .
    NCONF_free(conf);
    if (ret != 0 ){
        if (unlink(outfile) != 0 && errno != ENOENT)
            BIO_puts(bio_err, "Failed to delete file\n");
    }

Another possible approach
Instead of creating and deleting the file, we create a memory buffer and pass on this handle to all the calls like PEM_write_XX, i2d_PrivateKey_bio. This will work as expected, since all these calls are still expecting a BIO* See sample outline below
   BUF_MEM *mem_buffer = NULL;
   BIO *out = NULL, *mem_out = NULL;
   .
   .
   .
   // BEFORE: out = bio_open_owner(outfile, outformat, private);

   // create a memory buffer instead, we can safely pass in the handle
   // to all the PEM_write_XX and i2d_PrivateKey_bio with no change
   mem_out = BIO_new(BIO_s_mem());
   if (mem_out == NULL)
      goto end;
   .
   .
   .
   if(...){
     ...
      rv = PEM_write_bio_Parameters(mem_out, pkey);
     ...
   }
   .
   .
   .
   if(...){
     ...
      rv = PEM_write_bio_PrivateKey(mem_out, pkey, cipher, NULL, 0, NULL, pass);
     ...
   }
   .
   .
   .
   if(...){
     ...
     rv = i2d_PrivateKey_bio(mem_out, pkey);
     ...
   }

   if (ret != 0)
      ERR_print_errors(bio_err);
   else{
      // now we create the actual physical file
      out = bio_open_owner(outfile, outformat, private);
      rv = BIO_get_mem_ptr(mem_out,&mem_buffer);
      if ( rv > 0 ){
          rv = BIO_write(out,mem_buffer->data, mem_buffer->length);
          if ( rv < 0 )
              BIO_puts(bio_err, "Error writing to file\n");
      }
      else
          BIO_puts(bio_err, "Error reading from memory\n");
    }
    .
    .
    .
    BIO_free_all(mem_out);
    .
    .
    .
    BIO_free_all(out);

Personally, I like the second option because I have some concern that unlink() won't work on all platforms. Can you open a PR to get some more eyes on this?

Can someone please review these changes?

@coolshrid Can you open a PR from your fork into master and mention this issue (e.g. with Fixes #25440)?

Can we please use the pull request #25657

While I have no strong objections to buffering the content created bygenpkey(1) in memory and only writing it out when everything else went right. I feel obligated to point out that this too is insufficient to ensure that the creation operation is atomic.
The writes to the output file might still fail:

If there's not enough disk space
If the process is killed after creating/truncating the file, but before writing the output

The original problem reported here, is far better solved with:
$ tmpkey=$(mktemp key.XXXXXX.pem) &&
    openssl genpkey -out "$tmpkey" ... &&
    sync -d "$tmpkey" &&
    mv "$tmpkey" "realkey.pem"

# For world-readable output, replace "sync -d ..." with:
chmod 0644 "$tmpkey" && sync "$tmpkey" &&

There are many OpenSSL commands that perform non-atomic writes to PEM files.
In scripts that need to ensure atomicity, the author needs to arrange for the writes to happen to a suitable temporary file, which is renamed into place on success (and possibly made world-readable when applicable/desired).


CoE

Hi,
Have you thought about integrating CoE as a secondary channel?
The advantages are realtime values and sending states to the CAN Network.
Disadvantage is that the values are not autodiscoverable ...

I'm not getting anywhere with CAN - mostly because of me not knowing it.
I have a RPi and CAN module connected and candump shows values but no idea what to do with them.
My current CMI integration uses a custom build app to get the configuration from the CMI (web pages) and than use the API to poll every minute and publish to MQTT. -> https://github.com/schup/ta-monitor
Those values are than picked up by telegraf and shipped to a InfluxDB and homeassistant monitors individual values.
Goal would be to send values back that can be used on the TA (UVR16x2). e.g. room temperature or weather forecast.
Does anyone have an idea how to use CAN?
https://www.haustechnikdialog.de/Forum/t/188228/UVR16x2-ueber-CAN-auslesen has some starting points and an approach for getting the can node, can index and can sub index for a function. It requires a file created by TA-designer.
<Objekt_5 x_l="19" y_o="116" x_r="78" y_u="140" Sondertype="0" Bezeichnung="Heizkreis 1 Außentemperatur" simple_bez="Außentemperatur" Selectable="1" back_colour="65151" font_colour="12678" font_size="10" VorText="" Text="2,4°C" NachText="" align="0" changeable="10" can_knoten="2" can_index="11049" can_subindex="1" dat_numb="0" fkt_id="0" fkt_typ="1" dev_id="135" anw_sp="0" show_unit="1" numb_comma="-1"  Objekt_Typ="CAN_x2tech_Obj"/>

Ich hab mir in python einen verbinder von CoE auf mqtt zusammen gebasstelt.
Funktioniert bei mir seit ca 1 Monat ohne Probleme.
https://github.com/mhetzi/mqttRaspberry
Die für CoE zuständigen python dateien sind in Mods/CoE
Vlt hilft dir dass ein bisschen weiter?
Leider bin ich irgendwie zu blöd solche sachen in ha direkt zu implementieren...

I'm not getting anywhere with CAN - mostly because of me not knowing it. I have a RPi and CAN module connected and candump shows values but no idea what to do with them.
My current CMI integration uses a custom build app to get the configuration from the CMI (web pages) and than use the API to poll every minute and publish to MQTT. -> https://github.com/schup/ta-monitor
Those values are than picked up by telegraf and shipped to a InfluxDB and homeassistant monitors individual values.
Goal would be to send values back that can be used on the TA (UVR16x2). e.g. room temperature or weather forecast.
Does anyone have an idea how to use CAN?
https://www.haustechnikdialog.de/Forum/t/188228/UVR16x2-ueber-CAN-auslesen has some starting points and an approach for getting the can node, can index and can sub index for a function. It requires a file created by TA-designer.
<Objekt_5 x_l="19" y_o="116" x_r="78" y_u="140" Sondertype="0" Bezeichnung="Heizkreis 1 Außentemperatur" simple_bez="Außentemperatur" Selectable="1" back_colour="65151" font_colour="12678" font_size="10" VorText="" Text="2,4°C" NachText="" align="0" changeable="10" can_knoten="2" can_index="11049" can_subindex="1" dat_numb="0" fkt_id="0" fkt_typ="1" dev_id="135" anw_sp="0" show_unit="1" numb_comma="-1" Objekt_Typ="CAN_x2tech_Obj"/>

I actually did this the last few months. I took the temperature measurement of an Xiaomi Air Purifier and sent the number back to the UVR16x2 which controls floor heating in that room. It did work pretty flawlessly with Openhab. But I do want to switch to HA for other various reasons. That's why I would also be interested in CoE or any other method to feed a number back to CMI.

I have created a new integration that reads values from the C.M.I. via CoE, as @mhetzi suggested. For the integration you also need a HA addon, because integartion are not allowed to open ports and therefore can not receive values directly.
The integration is not yet included in the Standat HACS repo, but will be added within the next few days.


Roll Engine from 65a3dfe67df3 to c857f61d0bd7 (1 revision)

https://github.com/flutter/engine/compare/65a3dfe67df3...c857f61d0bd7
2022-04-10<EMAIL_ADDRESS>Roll Skia from ab4d4ae9e267 to 1a668363fdf0 (1 revision) (flutter/engine#32573)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


"RectButton" from 'react-native-gesture-handler' doesn't work on modal

Describe the bug
RectButton of 'react-native-gesture-handler' doesn't work inside the modal. Even though it's wrapped in GestureHandlerRootView
To Reproduce
Steps to reproduce the behavior:

Add 'react-native-gesture-handler'
Wrap "MagicModalPortal" in "GestureHandlerRootView"
Place a RectButton in a modal (eg. ExampleModal)
Try listening to onPress from RectButton. Nothing will come of it.

Expected behavior
I expected RectButton to work.
Desktop (please complete the following information):

OS: Windows 10
Browser Chrome
Version  99.0.4844.51

Smartphone (please complete the following information):

Device: LG K6+
OS: Android 9
Browser: Chrome
Version ??

Wrapped into Pressable (https://github.com/software-mansion/react-native-gesture-handler/issues/500)


IndexError: list index out of range

There's a IndexError: list index out of range in this run, and I also encountered it.
Another bug is that today's run shows that there's no new paper, which is again a bug I think.

This bug's in my queue, but much like the other bug this doesn't drop papers.
The lack of new papers is because ArXiv celebrates thanksgiving and there's a deferred mailing (https://info.arxiv.org/help/availability.html)


Monitor number of splits and merges

@sjboeing I simplified the interface. We now have a single variable each.

What I thought was to have a variable which is only modified in the splitting/merging routine that keeps track of the number in the individual time step, and another one (the sum)
which is incremented in these routines and reset after the diagnostic writes.

Okay, but if we do not dump the individual time steps, I do not see a purpose of the additional variables.

If you are okay, we may dump the individual number of splits and writes in debug mode (and or verbose) to an ASCII file.

Ah, maybe best to have a quick call so I understand correctly what is happening!


C#: Project failed to build, "A Godot Engine build callback failed"

Godot version:
3.1 alpha 2
OS/device including version:
Windows 10
Issue description:
My working alpha 1 project fails to build in alpha 2, without a specified reason.

Steps to reproduce:
Try building the attached project in alpha 2.
BeardHeroes.zip

i'm guessing .local/share/mono :) works now

@David-Ochoa Didn't work for me.

Getting this issue in Godot v3.1 beta 3 x64 mono.
I have Mono 5.18 SDK installed on a Windows x64 platform.
Previously followed directions here: https://github.com/godotengine/godot/issues/20013
This allowed me to get farther and not have ~20 errors on opening editor or trying to build.
Now I have the 1 Error above. Switching to VS Build seems to work also for me.
In my error log on build I see this #23825

I'm closing this as a duplicate of #23825. Let me know if that's not the case.
We're defaulting to MSBuild (VS Build Tools) where the problem is not present.


Creating the Botkube Flux Plugin for Day 2 operations

Description
Changes proposed in this pull request:

Creating the Botkube Flux Plugin for Day 2 operations

Preview: https://blog-post.botkube-docs.pages.dev/blog

Moved to Webflow with applied comments 👍  Thanks for the review!


Access user presence in Teams via an API

Is it possible to access a users Teams presence state (Online/Offline/etc.) from a custom web app via an API/Microsoft Graph?

@ryanbuening Thank you for submitting feedback and contributing to the docs. We are currently investigating this.


install via rancher ui fails (k8s: v1.17.4)

this is the catalog url inside rancher: apps/catalog/cattle-global-data:library-cert-manager
(don´t know which URL it is using)
Failed to install app cert-manager. Error: validation failed: unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta1"
I simply hit Launch after entering my email address in the letsencrypt field. no other changes.

We do not manage the deployment in the Rancher UI, could you file an issue with them for this?

sure I could, but isn´t that a helm installer issue? And where is that app isntaller coming from? I don´t think that rancher put it there. This is my sixth try to get it to work.

We do not use apps/v1beta1 any longer for a while now, not sure from where rancher is pulling the cert-manager chart if they use Helm.
I recommend using our official chart or static manifests: https://cert-manager.io/docs/installation/kubernetes/

I tried about 6 approaches and I also tried your tutorial. I could not manage to get it running. I mean it runs and it does find my ingress with the annotations but it does not call letsencrypt it only is issuing a self signed certificate. So I decided to just let it be and try again in a few weeks.

I recommend looking into https://cert-manager.io/docs/faq/acme/
Going to close this ticket for now.
/close

Only for others stumbling over that issue: I created an issue at Rancher/charts regarding that:
https://github.com/rancher/charts/issues/1345


Added Draco to base.yaml

As part of the effort to port point_cloud_transport https://github.com/john-maidbot/point_cloud_transport/pull/1 from ROS to ROS 2, we want to include draco as a dependency. It has binaries for some platforms

Wouldn't this interfere with https://github.com/ros/rosdistro/pull/37378 ?

Thanks for iterating. I think I'd still like to see the key called libdraco-dev to match the Debian package name and also allow for splitting the dev/runtime dependencies down the road, but this is acceptable as-is.

Added libdraco-dev


Help getting basics working on mac with ergodox infinity

I'm trying to get the very basics working on a macbook pro 2019 running macos 10.15.6 with karabiner elements already installed.
I built with unmerged fix from #95 and kmonad will run but I'm expecting to see z being typed but I'm getting a.
I got my iokit name from the karabiner elements keyboard dropdown menu. No idea if that's the right place. One thing that could be a problem is my keyboard is split and each half is an independent USB device although they seem to have identical names in karabiner. I also tried both "a" and "m" which are split between right and left halves of the keyboard and also the same position in qwerty and dvorak but still they come through unaltered.
My config and command line:
cat macbook-pro-2019.kbd
(defcfg
  input (iokit-name "Infinity_Ergodox/QMK (Input Club)")
  output (kext)
  fallthrough true
  allow-cmd false
)

(defsrc a)

(deflayer dvorak z)

sudo kmonad -l debug macbook-pro-2019.kbd
Opening KeySink
Initializing Mac key sink
Opening KeySource
Opening IOKit devices
IORegistryEntryCreateCFProperty error
Launching process: emitter_proc
aaaaaAAAA^CClosing process: emitter_proc
Closing KeySource
Closing IOKit devices
Encountered error in KeySource: Cannot translate from mac keycode:<PHONE_NUMBER>
Closing KeySink
Closing Mac key sink

Note the specific keycode in that error after I ctrl-c kmonad seems different every time.
CC @agile-jordi

Ah so I realize what I see in karabiner is probably "Device (Vendor)" so I changed to just "Infinity_ergodox/QMK" and now I see keypresses being handled by kmonad. They aren't "working" as I'd expect but I think the iokit-name is correct now.

I think I should get the built-in keyboard working as it seems close but I probably have to deal with qwerty/dvorak issues.

You can omit the product string ("Infinity_Ergodox/QMK" in your case) and kmonad will capture and modify input from all connected keyboards (though, at the moment, you may get the "IORegistryEntryCreateCFProperty error" which should be harmless). Also, you can list the product strings of all connected keyboards with:
cd c_src/mac
make
./list-keyboards

This used to be in the documentation (see my fork) but has been missing since a recent update (see #94). I'll have a look at your other issue now.

Hey @focusaurus, sorry for the slightly late reply. Dealing with a complicated, transatlantic move :-).
In regards to Dvorak-colemak issues you are probably right. KMonad tries to sit as 'low-down' as possible (i.e. as close to the Kernel in Linux, and using Low-Level hooks in Windows. What you Mac guys are doing, I don't know, but it seems to be working), with the consequence that any kind of OS-level remapping (like special german keys, or Dvorak remappings, etc) tend to interfere.
I think the best approach at the moment is to make sure you defsrc layer lines up with your input-events, and then to put all of the remapping into KMonad (and out of the OS).
Anyways, let me know how you are getting along, and if things are up and running, feel free to close the issue.

I'm going to close this for now as I think I'm at a local maximum until some bug fixes come through. For the record I'm not quite ready to rely on kmonad on mac yet. It's working fine as a systemd user unit on linux though so I'm all-in there. Here's where I am on mac:

For my macbook internal keyboard I'm going to leave the OS layout set to dvorak and only use kmonad for fancy things which will enable me to stop using karabiner-elements.
since it requires sudo and launchd is a pain, I'm just going to run it in a tmux pane and call it good with maybe some light scripting on login to fire it up
Last I checked my ergodox QMK setup was still crashing kmonad so I'm going to wait until some bug fixes land and then hopefully I can simplify my QMK stuff and instead rely on kmonad (which I have done already on the linux side)

Hey @focusaurus, sorry for the late reply, things have been incredibly hectic for me and I haven't gotten a chance to provide proper support. There is a fix basically in the pipeline, and when things calm down just a bit, I'll be able to polish it up and merge it into master. I'm going to reopen this issue if you don't mind, because dealing with this is at the top of my pile, and I reallllly hope to get to it if not this week, then next week. (Although, who knows what other interesting challenges life will throw at us before then :-)).

Just

Ah so I realize what I see in karabiner is probably "Device (Vendor)" so I changed to just "Infinity_ergodox/QMK" and now I see keypresses being handled by kmonad. They aren't "working" as I'd expect but I think the iokit-name is correct now.

Just wanted to mention how helpful this comment was. This is aside from the issue so I apologize before hand for that, but wanted to document it somewhere. My vendor ID which was shown by list-keyboards was "CTRL", looking in Karabiner it was actually "\"CTRL\"" add the escaped vendor ID was needed for it to properly filter my Drop CTRL keyboard. Thanks!


ui.ImageWidget: image scaling changes when resizing window

The following MWE shows image being scaled in funny ways; the inlined image is 1600x981 blue frame (and otherwise transparent); it is initially shown as tiny image in middle left, then resizes as the window is resized, but sometimes is much smaller than the window without any obvious constraint, sometimes fills the available space (without changing aspect ratio, which is expected).  A way to specify that the image should always occupy 100% width or something similar should be provided. I did not find a way to do it with style args:
blueframe='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABkAAAAPVAQMAAAAEUbSzAAAABlBMVEUAAAAAAP+IZVZCAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAAD2EAAA9hAag/p2kAAAAHdElNRQfgCRALAA31fReQAAADI0lEQVR42u3PAREAIAgEMJrbXDxaeM/WYNUhSkRERERERERERGRTpAJM5CZEjoiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIyIeRToj0RDKIiIiIiIiIiIiI7Ik8j2dJnAX2fgkAAAAASUVORK5CYII='

from flexx import app, ui

class ImgHt(ui.Widget):
    def init(self):
        with ui.VBox():
            ui.ImageWidget(source=blueframe)

app.launch(ImgHt)
app.start()

Thanks for using Flexx and reporting all these issues, its very useful! I am going to try and trick you into becoming a contributor ;) I think this should be relatively easy to fix by changing code here by hooking the JS load event to the  __resize_image method (via addEventListener), similar to here.

I was looking at that code already, but the I realized there was a layouting problem, so the example I added in the the edited issue does not change source at all.
It might also be my lack of understanding how PhosphorJS + Flex + CSS work all together. E.g. in Qt, a widget will (mostly) extend to the size of its parent widget (unless there is a layout applied), so e.g. putting ImageWidget inside a HBox would make the image span across the width, but perhaps I am applying desktop paradigms/habits too much. A way of saying: extend horizontally/vertically as much as possible would be useful.
For ImageWidget, what is the "good" way to access the HTML element it wraps? Is it ImageWidget.node? I tried setting its style, but I assume PhosphorJS does that on resize as well, so nothing was changing.

Please feel free to conclude this is a problem in Phosphor, it is really the layouting which does funny things when resizing.

Thanks, but I think this is an issue of Flexx, since Phosphor has little to do with this widget in particular. Will have a look for sure, but it's not my top priority right now :)  I marked it for 0.5 though, so I should get to it soonish.

I cannot reproduce this problem with the current version of Flexx. I'm pretty sure that I touched this code during the recent big refactoring. I'm therefore closing this. Please reopen if you still see the issue.


arch: armv7-a: Fix memory corruption in SMP mode

Summary

During the stress test with sabre-6quad:smp (QEMU), I noticed
that sometimes prefetch abort happens.
Finally, I found that g_irqtmp is corrupted.
This commit fixes this issue with the following changes

Allocate g_irqtmp for all CPUs
Load g_irqtmp only once in arm_vectorirq()
In SMP mode, the IRQ mode stack is set in arm_start_handler()
Also, access to the g_irqtmp is adjusted in arm_vectorirq()

Impact

IRQ handling for armv7-a

Testing

Tested with the following configs

sabre-6quad:smp (QEMU, dev board)
sabre-6quad:netnsh (QEMU)

armv7-a/arm_vectors.S: Assembler messages:
armv7-a/arm_vectors.S:204: Error: bad instruction `cpuindex r1'
Makefile:151: recipe for target 'armv7-a/arm_vectors.o' failed
armv7-a/arm_vectors.S: Line 108
#if !defined(CONFIG_SMP) && CONFIG_ARCH_INTERRUPTSTACK > 7
.macro  cpuindex, index
.mov    \index, #0
.endm
#endif

@Donny9
Which configuration are you using?

@Donny9
Which configuration are you using?

In our own project, it used A7 SMP. and apply this patch, the compile is broken.

In our own project, it used A7 SMP. and apply this patch, the compile is broken.

@Donny9
Perhaps, your project does not set CONFIG_ARCH_INTERRUPTSTACK.
Is my understanding correct?

Yes, we set CONFIG_ARCH_INTERRUPTSTACK=0, and CONFIG_SMP=y, and this cpuindex don't find.

@Donny9
OK, I've just fixed for imx6 case.
Please apply the patch to your board.

Yes, we set CONFIG_ARCH_INTERRUPTSTACK=0, and CONFIG_SMP=y, and this cpuindex don't find.

@Donny9
OK, I've just fixed for imx6 case.
Please apply the patch to your board.

Yes， i try it. Thank you.

@masayuki2009  I enable ARM_THUMB， complie break:
{standard input}: Assembler messages:
{standard input}:69: Error: Thumb encoding does not support an immediate here -- `msr cpsr_c,#18'
Makefile:154: recipe for target 'armv7-a/arm_cpustart.o' failed

Converted to Draft, waiting until @xiaoxiang781216 verify if it can be fixed in assemble code

{standard input}:69: Error: Thumb encoding does not support an immediate here -- `msr cpsr_c,#18'

@Donny9
I've just fixed the compile error in thumb2 mode.

Hmmm, Lint failed...
error pulling image configuration: received unexpected HTTP status: 503 No healthy IP available for the backend
Warning: Docker pull failed with exit code 1, back off 1.046 seconds before retry.
/usr/bin/docker pull ghcr.io/github/super-linter:v3.15.5

Hmm,
Download action repository 'actions/download-artifact@v1'
Warning: Failed to download action 'https://api.github.com/repos/actions/download-artifact/tarball/18f0f591fbc635562c815484d73b6e8e3980482e'. Error: Resource temporarily unavailable
Warning: Back off 23.69 seconds before retry.
Warning: Failed to download action 'https://api.github.com/repos/actions/download-artifact/tarball/18f0f591fbc635562c815484d73b6e8e3980482e'. Error: Resource temporarily unavailable
Warning: Back off 13.689 seconds before retry.
Error: Resource temporarily unavailable

@xiaoxiang781216 @Donny9 is it working now? May we merge it?

I am working on this, and will provide a patch tonight or tomorrow morning.

I rebased the branch and fixed conflicts.

Refactor the inline assembly code in the set_irqstack()

@masayuki2009 , I will take a look tonight.

@masayuki2009 could you try this patch https://github.com/apache/incubator-nuttx/pull/3451?

#3451 resolved this issue.
So close this PR.


Skeleton themes

Update tailwind plugin to only generate shade colors if not present in theme (ex. Skeleton provides the shades 100-900).  Map {color}-500 to {color} if not defined. Generate neutral color if not defined
Map Skeleton themes to Svelte UX themes

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #167

PR #184   👈
PR #146
PR #137

This stack of pull requests is managed by Graphite.


Implement logs subcommand

thanks for this! reference https://kubernetes.slack.com/archives/C6L3G051C/p1517698041000028 a discussion of watching the log files for sonobuoy while the processes are running, so that you get intermediate output prior to the full report.


Backup of Media files

Backup of Media files
Media files for uploaded files, including threat models and risk acceptance, are stored in a docker volume. This volume needs to be backed up regularly.
How can I do this ? There is no information in Docs.

Hi @sergeymeleschenko, did you find a way to do this?
If yes, could you please make a PR on how you did it to document it?


Is there any way to hide "Change Account" during setup?

I notice you can disable local admin capabilities on the device, but if the user chooses "Change account" on the sign-in page, they can choose to Azure AD-join the device, and then the device does not go through its normal AutoPilot setup - so the user is still a local admin on the box, and they see the EULA.
Is there any way to hide the "Change Account" function during setup? It also would be helpful as an anti-theft measure for company devices. Thanks!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ded38a54-e056-3af1-51ea-58b90607c45e
Version Independent ID: 8c3e2f28-a8a8-2bf4-87cf-08d54c890ae2
Content: Configure Autopilot profiles
Content Source: windows/deployment/windows-autopilot/profiles.md
Product: w10
GitHub Login: @greg-lindsay
Microsoft Alias: greg-lindsay

@officedocsbot assign @mypil

@thedrum808  - Thank you for submitting feedback.
I will get this issue over to the Win10 ITPro writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@thedrum808 There is a way to do that starting with Windows 10 1809 or later:
https://docs.microsoft.com/en-us/intune/enrollment-autopilot
"Hide change account options (requires Windows 10, version 1809 or later): Choose Hide to prevent change account options from displaying on the company sign-in and domain error pages. This option requires company branding to be configured in Azure Active Directory."

@thedrum808 - From our understanding, the issue you raised has been answered by VLG17. If you feel it hasn't been answered, please re-open this issue.
Thank you for your contribution to make the docs better! Much appreciated!

@officedocsbot close


Occlusion culling fixes

Fixes some issues found by UBSAN and other misc things:

Fixed memory leak on exit.
Fixed ray masks.
Properly align ray packet buffer to 64 bytes.
I added a local hack to get an aligned buffer while using Godot's memalloc (as opposed to using aligned_alloc directly). We might want to eventually add some aligned_memalloc() function if we need aligned allocations in more places. Alignment could even be a template parameter in LocalVector if we want to go overboard :P
Added some compiler flags from Embree's build system.
I'm not a 100% sure of the impact of most of those flags and everything seemed to work fine without them, but I have to assume they are there for a good reason and it's better to have them.

@akien-mga On my end this looks great, feel free to merge when you feel its ready.

Thanks!


Docs.MS Release Updates for Azure.Messaging.ServiceBus

Update docs metadata and targeting for release of Azure.Messaging.ServiceBus

Docs Build status updates of commit 51b513e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/overview/azure/messaging.servicebus-readme-pre.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Added assertion description to throwable type assert (#1007)

Check List:

Fixes #1007
Unit tests : YES

Thanks @fiery-phoenix , I will review your PR this we !

Thanks a lot @fiery-phoenix !


Adapting installation commands of the prerequisites in Fedora Linux.

Changing yum to dnf since yum is deprecated in the current version of Fedora.

Ah thanks, it's been a while since I have used Fedora.


furnace: 0.6pre2 -> 0.6pre3

Description of changes
Tested by playing one of the demo modules.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

It looks like https://github.com/tildearrow/furnace/commit/0eb02422d5161767e9983bdaa5c429762d3477ce which is the fix for CVE-2022-1289 does not apply cleanly on top of the 0.6pre1.5 version we have on 22.11. Bumping from 0.6pre1.5 to 0.6pre3 might be best but 0.6pre2 seems to be quite large: https://github.com/tildearrow/furnace/releases/tag/v0.6pre2

GitHub says the patch is already in pre1.5, and even pre1.

You are correct, sorry for the noise. I have been confused confused by the CPE information associated with the CVE.


feat: make setup call optional to ease usage

motivated by @nullchilly's comment, see https://github.com/nullchilly/fsread.nvim
we could provide the toggle :NoNeckPain on the package import directly e.g. use "shortcuts/no-neck-pain.nvim"

can confirm it already works, just not documented!


Disable first spawn if spout is found.

This "bug" has been reported a lot. This is not a bug with Multiverse, but with Spout.
I will be adding a Feature to Multiverse to detect spout, and disable the MV feature of firstworldspawn.
This issue was first discovered in #329

Let me provide some further explanation:
A user said:

Yes I am using spout. However even with spout this does not happen on 419

I understand how it's difficult for people to understand how a change we made broke mv but only with Spout. The issue is that spout breaks the Bukkit API for this. Bukkit provided a new api in R1 that allows us to easily detect new players. With spout installed, this API is returning true always, making MV assume that all players are new.
This is caused by Spout modifying CraftBukkit in ways to allow for their expanded api. No one is wrong here, there's just a bug in Spout that hasn't been fixed yet.
I hope this helps with the confusion,
--FF


Bump intl dependency to 0.19.0

Flutter needs to update its intl dependency to 0.19.0 to fix https://github.com/flutter/flutter/issues/139861.
Attempting to update Flutter's intl dependency fails with:
Because unified_analytics >=0.1.1 depends on intl ^0.18.0 and flutter_tools depends on intl 0.19.0, unified_analytics >=0.1.1 is
  forbidden.

Part of https://github.com/flutter/flutter/issues/139861

[x] I’ve reviewed the contributor guide and applied the relevant portions to this PR.

Contribution guidelines:

See our contributor guide for general expectations for PRs.
Larger or significant changes should be discussed in an issue before creating a PR.
Contributions to our repos should follow the Dart style guide and use dart format.
Most changes should add an entry to the changelog and may need to rev the pubspec package version.
Changes to packages require corresponding tests.

Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.

@eliasyishak FYI I don't have merge permissions :)


Editorial: Add note about locale or scripts without any direction.

Address #90

This reflects the current spec. But should we discuss it with TG2?


Karpenter killing new nodes before pod can be deployed, causing infinite loop of node creation/destruction

Description
Observed Behavior:
I have configured Terraform to deploy an AWS EKS cluster, and I'm trying to move some default applications to Karpenter provisioned nodes.  All of this was working when I was deploying everything on an AWS node group that I manage, but after moving to Karpenter, my cluster gets stuck in an endless loop of spinning up and destroying nodes.
To use Karpenter, I have one node group that I manage, where I install Karpenter, Cilium, and a few other apps. Then I install the applications that are configured to run on Karpenter managed nodes, and the first few applications spin up successfully.  One of these apps is aws-ebs-csi-driver, which allows me to use EBS volumes in StatefulSets.
The problem begins when I install my first application that is deployed as a StatefulSet. Up until this point, two Karpenter nodes automatically spin up with no problems, but this application requires 3 nodes, and they use the same ports on the hostNetwork, which requires a new Karpenter node. I can see this node spin up, and the node is tainted by the Cilium Operator until a cilium agent from a daemonset is running.  But I expect the pod should eventually be deployed to this node. Instead, Karpenter destroys the node before it is ready and retries forever.
Here are some event logs from the pod being destroyed:
  Warning  FailedScheduling        30m                 default-scheduler        running PreBind plugin "VolumeBinding": binding volumes: failed to get node "ip-10-155-5-42.ec2.internal": node "ip-10-155-5-42.ec2.internal" not found
  Normal   Nominated               30m                 karpenter                Pod should schedule on: nodeclaim/karp-node-pool-zjm4p
  Normal   Nominated               28m                 karpenter                Pod should schedule on: nodeclaim/karp-node-pool-5r887, node/ip-10-155-5-123.ec2.internal
  Normal   Nominated               26m                 karpenter                Pod should schedule on: nodeclaim/karp-node-pool-nqq26
  Warning  FailedScheduling        25m (x12 over 35m)  default-scheduler        0/4 nodes are available: 1 node(s) had untolerated taint {eks: control-plane}, 1 node(s) had untolerated taint {node.kubernetes.io/not-ready: }, 2 node(s) didn't have free ports for the requested pod ports. preemption: 0/4 nodes are available: 2 No preemption victims found for incoming pod, 2 Preemption is not helpful for scheduling..
  Normal   Nominated               23m                 karpenter                Pod should schedule on: nodeclaim/karp-node-pool-fjdg2
  Normal   Nominated               21m                 karpenter                Pod should schedule on: nodeclaim/karp-node-pool-xtlsb
  Normal   Nominated               19m                 karpenter                Pod should schedule on: nodeclaim/karp-node-pool-jrrqm
  Warning  FailedScheduling        16m (x21 over 29m)  default-scheduler        (combined from similar events): running PreBind plugin "VolumeBinding": binding volumes: failed to get node "ip-10-155-6-221.ec2.internal": node "ip-10-155-6-221.ec2.internal" not found

Karpenter logs repeat the following error:
{"level":"ERROR","time":"2024-01-20T00:09:30.944Z","logger":"controller.provisioner","message":"Could not schedule pod, incompatible with nodepool \"karp-node-pool\", daemonset overhead={\"cpu\":\"550m\",\"memory\":\"768Mi\",\"pods\":\"3\"}, key kubernetes.io/hostname, kubernetes.io/hostname DoesNotExist not in kubernetes.io/hostname In [hostname-placeholder-0111]; incompatible with nodepool \"test-node-pool\", daemonset overhead={\"cpu\":\"550m\",\"memory\":\"768Mi\",\"pods\":\"3\"}, did not tolerate purpose=karpenter-test:NoSchedule","commit":"2dd7fdc","pod":"cilium/hubble-relay-5856fb7dc5-vswgg"}

This pod should be deployed in the karp-node-pool nodePool. I believe that Karpenter is preemptively destroying the nodeClaims that the pod should be deployed on before the node is ready.   I can then resume Karpenter and everything works as expected.
Expected Behavior:
I expect the third pod from the statefulset should cause Karpenter to spin up a new node, and then all of the pods will be healthy.
Reproduction Steps (Please include YAML):
NodePool:
apiVersion: karpenter.sh/v1beta1
kind: NodePool
metadata:
  name: karp-node-pool
spec:
  disruption:
    consolidationPolicy: WhenUnderutilized
    expireAfter: 720h
  template:
    metadata:
      labels:
        nodeGroupManagedBy: karpenter
    spec:
      nodeClassRef:
        name: karp-node-class
      requirements:
      - key: kubernetes.io/arch
        operator: In
        values:
        - amd64
      - key: kubernetes.io/os
        operator: In
        values:
        - linux
      - key: karpenter.sh/capacity-type
        operator: In
        values:
        - on-demand
      - key: karpenter.k8s.aws/instance-category
        operator: In
        values:
        - c
        - m
      - key: karpenter.k8s.aws/instance-cpu
        operator: Gt
        values:
        - "2"
      - key: karpenter.k8s.aws/instance-generation
        operator: Gt
        values:
        - "2"
      taints:
      - effect: NoSchedule
        key: dedicated
        value: karp

EC2NodeClass:
apiVersion: karpenter.k8s.aws/v1beta1
kind: EC2NodeClass
metadata:
  annotations:
    kubernetes.io/description: "karp node class"
  finalizers:
  - karpenter.k8s.aws/termination
  name: karp-node-class
spec:
  amiFamily: AL2
  amiSelectorTerms:
  - id: <ami-id>
  detailedMonitoring: true
  instanceProfile: <instance profile>
  metadataOptions:
    httpEndpoint: enabled
    httpProtocolIPv6: disabled
    httpPutResponseHopLimit: 2
    httpTokens: required
  securityGroupSelectorTerms:
  - id: <sg-id>
  subnetSelectorTerms:
  - id: <subnet-id>
  tags:
    OwnerContact: me

The StatefulSet pods are configured with a nodeSelector that selects Karpenter nodes from the karp-node-pool, and they tolerate the 'dedicated karp' taint.
Versions:

Chart Version: v0.33.0
Kubernetes Version (kubectl version): v1.27.9-eks-5e0fdde

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

This issue seems similar to this section of the troubleshooting page, and my EC2 instances are indeed using encrypted EBS root volumes, but Karpenter is not having trouble spinning up other nodes, and I would expect the nodes to fail when I destroy the Karpenter deployment instead of finally breaking out of the create/destroy cycle.

I can see this node spin up, and the node is tainted by the Cilium Operator until a cilium agent from a daemonset is running. But I expect the pod should eventually be deployed to this node. Instead, Karpenter destroys the node before it is ready and retries forever

I'm noticing in the NodePool spec that you are using that there's no mention of spec.startupTaints. Do you use this functionality? Startup taints enable Karpenter to be aware when it should consider the node "initialized" so that it can start considering the node for disruption after that point in time. If a node is getting tainted right after Readiness and Karpenter is unaware of it, Karpenter will mark the node initialized too early and start trying to disrupt it if there are no pods scheduled. Startup taints get around this problem by telling Karpenter to wait until the taint is removed.

This was the issue. Thanks for the help.


Fix Pinboard JSON duplicate timestamps error

If the JSON exported by Pinboard contains duplicate timestamps, Python
returns a TypeError exception:
TypeError: argument of type 'float' is not iterable
This is because time.mktime() returns a floating point number.
Encasing time.mktime() in str() fixes the data type not being
iterable.
time.mktime() has also been encased in int() to remove the
unnecessary decimal value (.0) that gets returned for each time value,
and to keep the script consistent with the other export functions.
Full Error:
$ env CHROME_BINARY=google-chrome-stable ./archive.py ~/tmp/test
[+] [2017-07-01 02:57:35] Starting archive from /home/bah/tmp/test export file.
Traceback (most recent call last):
  File "./archive.py", line 468, in <module>
    create_archive(export_file, service=export_type, resume=resume_from)
  File "./archive.py", line 412, in create_archive
    links = uniquefied_links(links)         # fix duplicate timestamps, returns sorted list
  File "./archive.py", line 283, in uniquefied_links
    link['timestamp'] = next_uniq_timestamp(seen_timestamps, link['timestamp'])
  File "./archive.py", line 251, in next_uniq_timestamp
    if '.' in timestamp:
TypeError: argument of type 'float' is not iterable

JSON test data:
[{"href":"https:\/\/pushover.net\/","description":"Pushover: Simple Notifications for Android, iOS, and Desktop","extended":"","meta":"1e68511234d9390d10b7772c8ccc4b9e","hash":"bb93374ead8a937b18c7c46e13168a7d","time":"2014-06-14T15:51:42Z","shared":"no","toread":"no","tags":"app android"},
{"href":"http:\/\/www.reddit.com\/r\/Android","description":"r\/android","extended":"","meta":"18a973f09c9cc0608c116967b64e0419","hash":"910293f019c2f4bb1a749fb937ba58e3","time":"2014-06-14T15:51:42Z","shared":"no","toread":"no","tags":"reddit android"}]

Output after fix:
$ env CHROME_BINARY=google-chrome-stable ./archive.py ~/tmp/test
[+] [2017-07-01 04:09:17] Starting archive from /home/bah/tmp/test export file.
[*] [2017-07-01 04:09:17] Created archive index with 2 links.
[*] Checking Dependencies:
/bin/google-chrome-stable
/bin/wget
/bin/curl
[+] [1402786302 (2014-06-14 15:51:42)] "Pushover: Simple Notifications for Android, iOS, and Desktop": pushover.net/
    - Downloading Full Site
    - Printing PDF
      Exception: Exception Failed to print PDF
    - Snapping Screenshot
    - Submitting to archive.org
    - Fetching Favicon
[+] [1402786302.1 (2014-06-14 15:51:42)] "r/android": www.reddit.com/r/Android
    - Downloading Full Site
    - Printing PDF
      Exception: Exception Failed to print PDF
    - Snapping Screenshot
    - Submitting to archive.org
    - Fetching Favicon
[√] [2017-07-01 04:09:39.035009] Archive update complete.

Awesome PR, thanks so much!
Would you mind actually also commiting your test file under examples/pinboard.json.  It's a useful testcase to have in the repo.


[BUG] TimestampSuite is run on Spark 3.3.0 only

While fixing a recent merge conflict, I noticed that there's a TimestampSuite file that appears to be applicable to any Spark >= 3.3.0.  However it's in the test/src/test/330/ directory (the only thing in that directory), but all other non-common files are in the 320+ or 330+ directories.

This can be fixed by https://github.com/NVIDIA/spark-rapids/pull/5749.

ok to close


Fixes for CASSANDRA-10938

This introduces a new test to simulate connection failures and test that COPY TO handles them correctly. It should also fix the occasional failures for test_bulk_round_trip_blogposts as described in CASSANDRA-10938.

Other than my style comment, this looks good. Could you address that? Then feel free to merge. Thanks!

Style comment addressed, thanks. Let's merge after CASSANDRA-10938 is committed, otherwise test_bulk_round_trip_blogposts_with_max_connections will fail.


[SMALLFIX] Simplified equals implementation of UnmountOptions

Simplified the equals implementation of the UnmountOptions class.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9646/
Test PASSed.

+1 LGTM
thanks for the improvement!


How to use it?

I want to know how to use the "ng2-emoji"?
I want to use twemoji in my program(angular2 + typescript), but I don't know how to import it?
It's different in angular1.

Hi. I have updated the documentation. You can check how to import it.
Thanks for asking the question.


SSL not showing up in production (after not touching app)

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

App Id
d3hp54chnllm3g
AWS Region
us-east-1
Amplify Hosting feature
Custom domain
Frontend framework
React
Next.js version
^12.3.1
Next.js router
App Router
Describe the bug
Production SSL is not working. No changes have been made to the app or console since last time it was. I suspect the cert is not refreshing?

Expected behavior
That the cert doesn't expire at all.
Reproduction steps

Do nothing
See that your production environment is not able to use HTTPS

Build Settings
version: 1
backend:
  phases:
    build:
      commands:
        - '# Execute Amplify CLI with the helper script'
        - amplifyPush --simple
frontend:
  phases:
    preBuild:
      commands:
        - npm ci
    build:
      commands:
        - npm run build
  artifacts:
    baseDirectory: .next
    files:
      - '**/*'
  cache:
    paths:
      - node_modules/**/*

Log output

# Put your logs below this line
n/a

Additional information
NA

Hi @behaviary 👋 , thanks for reaching out to us!
It seems that the certificate generated by AWS Certificate Manager (ACM) for the Amplify app d3hp54chnllm3g has expired. The custom domain sophonaut.com (root) was created/connected to the app on 2022-06-09T21:16:10Z (~13 months ago).
The certificate generated by AWS Certificate Manager (ACM) is valid for 13 months and renews automatically as long as the CNAME verification record has not been modified or deleted in the DNS settings with your domain provider. If this CNAME record was modified or deleted, Amplify Hosting cant renew the certificate for the custom domain. The only workaround is to delete and add the domain again in the Amplify console.
Additionally, if you are using Route53 as your domain provider you can configure a custom event pattern that will notify you when changes are made to Route53 hosted zone records: https://repost.aws/knowledge-center/route53-change-notifications

Okay I’ll take a look, thanks for the heads up.
On Mon, Jul 10 2023 at 12:27 PM, Jay Raval < @.*** > wrote:

Hi @behaviary ( https://github.com/behaviary ) 👋 , thanks for reaching out
to us!
It seems that the certificate generated by AWS Certificate Manager (ACM)
for the Amplify app d3hp54chnllm3g has expired. The custom domain sophonaut.com
(root) was created/connected to the app on 2022-06-09T21:16:10Z (~13 months
ago).
The certificate generated by AWS Certificate Manager (ACM) is valid for 13
months and renews automatically as long as the CNAME verification record
has not been modified or deleted in the DNS settings with your domain
provider. If this CNAME record was modified or deleted, Amplify Hosting
cant renew the certificate for the custom domain. The only workaround is
to delete and add the domain again in the Amplify console.
Additionally, if you are using Route53 as your domain provider you can
configure a custom event pattern that will notify you when changes are
made to Route53 hosted zone records: https://repost.aws/knowledge-center/route53-change-notifications
—
Reply to this email directly, view it on GitHub (
https://github.com/aws-amplify/amplify-hosting/issues/3580#issuecomment-1629595753
) , or unsubscribe (
https://github.com/notifications/unsubscribe-auth/ABS6YAQTKULI2Q4TARJCNILXPRJQ3ANCNFSM6AAAAAA2EZTLR4
).
You are receiving this because you were mentioned. Message ID: <aws-amplify/amplify-hosting/issues/3580/1629595753
@ github. com>

We were able to resolve this on our own, thank you for the tip!


Support Torch 2.0

Support Torch 2.0

The autogluon conda-forage package v0.8.0 now supports Windows. However, installing autogluon will downgrade pytorch cuda to pytorch cpu. This is probably caused by the pytorch version pin in the recipe pytorch >=1.9,<1.14. If autogluon can support torch 2.0, then autogluon on Windows will also have GPU support.
conda create -n ag python=3.10
conda activate ag
conda install -c conda-forge mamba
mamba install pytorch torchvision pytorch-cuda -c pytorch -c nvidia
mamba install -c conda-forge autogluon

Added Torch 2.0 support to AutoGluon v1.0


compile script setup components to components with setup() returning a render function

What problem does this feature solve?
Currently script setup components are compiled to a code where setup() function returns all data used in the template, components have also components property like you'd define it in normal script.
In Vue 3 setup() returns a render function that is accessing local variables and imported components directly which results in a smaller size of the bundle not only because of shorter code before minification but also because all variable and component names can be shortened to single letters. Would be great if Vue 2 behaved the same way, maybe some compiler configuration option could be used to force this?
What does the proposed API look like?
{
      __name: 'MyComponent',
      props: { prop1: Object, prop2: Boolean },
      setup (s) {
        const e = s, d = whatever();
        return () => h(a.B, ...)
      }
    }

instead of
{
      __name: 'MyComponent',
      components: { Foo: a.B, Bar: c.d },
      props: { prop1: Object, prop2: Boolean },
      setup (s) {
        const e = s, d = whatever();
        return { __sfc: !0, props: e, someData: d };
      }
    }

This is currently a non-goal because Vue 2's template-to-render-fn compilation was written in a way that does not perform any JS expression parsing (it is done in a separate pass with other tools). So the whole process does not have the necessary information to prefix/unwrap refs based on <script setup> scope information. This is only possible if we completely rework Vue 2's template compilation, but that would be a big and risky refactor which we for now don't plan to do.


Can't run Docker Image on windows

Hi,
I have a script which compiles some c++ code in a docker container, and it works fine in macOs, but when my friend tried running it on Windows he got this error.

Do you have any possible fixes, I've seen someone having a similiar one over on docker py repo, but no fix was given afaik, here's the link to it:
https://github.com/docker/docker-py/issues/2524
Here's my script, it's on a private repo so i'm sending you the paste
https://pastebin.com/cVt2JDaQ

Any updates on this?

In my memory it worked fine on my win pc (maybe py@3.7), so I guess whether there's some problems with your python version.
Library changes with version number, please be aware before any upgrading.


[Optim] No need to broadcastablize coefficients during init

Technically speaking, .view() should not actually trigger a memory reformatting (at least for GPUs; XLA is relatively unclear as it brings in extra complexity); therefore, the tensors that contain the different coefficients for different models could be .view() during the optmizer update .step() (i.e., on-the-fly) to match the parameter dimensions. In this way, we might be able to support APEX AMP out-of-the-box as well.
Currently, this issue is not a priority. Should check back after MLSys.

Fixed with #41


0.11.0 - FreeBSD 11 compile fix

When testing the latest release 0.11.0 I had some issues compiling on FreeBSD.
There was a problem with a few missing link libraries that I added to the makefile and there was also a problem with backtrace in assert returning a size_t on FreeBSD as compared to int on other systems like Linux.
I added a define check that uses a size_t if PLATFORM_IS_FREEBSD is defined and otherwise uses int.
It has been compile tested on both FreeBSD 11.0-STABLE and on OpenSUSE Tumbleweed 20170303 and appears to build a working ponyc that compiled my test programme without issues.

@andkem there seem to be a bunch of extraneous commits in this PR, can you create a new PR where you create a branch off the latest master or as I know you don't have a lot of time, I can recreate your changes on a fresh PR.

@SeanTAllen
If you don't mind doing that, since I've screwed up once already, I'd be grateful.

Closing in favor of #1658
Thanks @andkem!


added alt's to all the images I could find

I hope this helps

how many img's attribute did you find to add alt attribute I could only find one


IOS Cross Site tracking Safari/Duck&Go/Firefox/Chrome - User must adjust their Settings to enable Negotiation of Tokens (Iframe communication))

From updates to security policies starting around 2017, the latest default setting for Mobile Safari Web is to block iframes from loading.
Image attached: Showing which setting must be switched off 'Prevent Cross Site Tracking' to allow for negotiation of tokens.

https://discussions.apple.com/thread/250304102

@nicktaras , did you try and discover that issue for some of our examples?
Possibly it not affet us, because we dont save cookies from iframe, we just read cookies and communicate with postMessages.

@nicktaras just confirmed that negotiator_v1 affected to.
In that case we have to replace iframes with browser tab and browser can use same postMessages like we use for iframes right now.
JS can open/close tabs and tabs are visible for user, so browser security policy should not block it in meantime.
for example twitter opens seperate tab to login user.
cc @AW-STJ

Closing this issue with solution tickets in progress.


allow specification of serialization type for exported RDF

presently, the retrieval function has a param that defaults to ld+json, but there's no facility to override that in the calling functions, and there's nothing like class level configuration (because it's just loose functions at the moment).
spawned by #1

if this is for the user to specify, then out of scope for this work cycle.

fwiw, it'd be pretty easy to allow whoever is running export to specify the serialization format, as long as it's something trellis supports (because we just have to tell trellis which format to use for serving the requested content).

Can you please put file extensions on the exported data?
The LC BF2MARC conversion is now available; however it is looking for rdf/xml as the input format.  For most people, the easiest way to review that conversion is with MarcEdit because it requires no programming ability, but again, it requires rdf/xml.  Therefore, we need to be able to export our data in a choice of serializations, but most urgently in rdf/xml.
BF2MARC conversion requires the merging of BF Work and Instance data to create a MARC record (where the data is intertwined).  In order to do that, we need the option to export our Sinopia data as a single ref/xml file, rather than a bunch of individual, discrete files.
It would be useful to be able to specify what we want to export, e.g., only Works and Instances, not Items and AdminMetadata.  Currently, we have no way to tell what kind of resource a single json file represents, which is annoying since you have to open each one individually.  At this point, we don't know how or if the BF2MARC conversion will process AdminMetadata and Items, so the ability to include/exclude certain resource types from export would be useful.
Thanks!


Interacting with long running makers.

I have a maker I'm working on that can run in "oneshot" mode where it reports warnings/errors, then exits, but also has a daemon mode where it can cache compilations and just report warnings/errors when queried on stdin. However, I don't think neomake currently supports a workflow like this?
Ideally neomake would launch the maker job initially, and upon further maker runs for that job write something to stdin and wait for errors to back from stdout. Is there a way to do this currently, and if not, how hard would it be to add this?

There is nothing like this currently.
As for now you could have a maker for the daemon mode that automatically would also start the daemon, and then communicates with it.  This could be done in the makers fn function (not documented IIRC, but tested/used).
For starting the daemon with both Vim and Neovim it would be helpful to factor out the code to start jobs into a public API (so that you do not have to handle the different cases yourself).
Can you provide more details on the maker / your progress so far?


HOSTEDCP-1301:	hotfix rehearsal

What this PR does / why we need it:
It does nothing. It only serves to rehearse the hotfix process
Fixes #HOSTEDCP-1301
Checklist

[ ] Subject and description added to both, commit and PR.
[x] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/area ci-tooling

/lgtm

/lgtm

/retest


[VS Code] An error occurred while sending the request.

Error:
An error occurred while sending the request.
Steps to Reproduce:

Version Data

extensionName
VSLS

extensionVersion
0.3.535

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.25.1

platformName
MacOS

platformVersion
17.7.0

Thanks for reporting this! We’re already tracking this issue via #640, so I’m going to close it as a duplicate.


Needed updates for translations

After going through the French language file in #281, I realized a few enhancements are needed for translation purposes.

\damagename needs to be parameterized so that "fire damage" can become "dégâts de feu".
Whereas the English version has every header in a monster stat block as the plural form of the word, the French translation will use singular or plural based on whether there is one or more of the thing. For instance, saving throws can be "Compétence" or "Compétences". We could do a detection of singular or plural based on commas, similarly to how we detect whether a spell list has more than 1 spell in it to determine which version of number/day to use innate spellcasting.

If there are enhancements needed for other language translations, please add them to this issue.

If there are enhancements needed for other language translations, please add them to this issue.

Following up on #310.

\tocchapterabbreviationname{Ch.} needs a reference to the chapter number for the translation: 第|1|章

\pageabbreviationname{pg.} needs a reference to the page number: |1|ページ

The following translations need to have the colon added to them (with an update required in #310):

\innateatwillname
\numberperdayname
\numberperdayeachname

The following translations already have a Japanese colon (：) in them, so the colon should be attend to the translation:

\meleeattackname
\rangedattackname
\meleeorrangedattackname

Ideally, the spaces around \xpname, \unitsname, \orname and \plusname (at least) should be part of the translation, since there is no space around them in Japanese. Same thing for the comma (、 in Japanese) and the period (。 in Japanese):

Following up on #310.

\tocchapterabbreviationname{Ch.} needs a reference to the chapter number for the translation: 第|1|章

\pageabbreviationname{pg.} needs a reference to the page number: |1|ページ

The following translations need to have the colon added to them (with an update required in #310):

\innateatwillname
\numberperdayname
\numberperdayeachname

The following translations already have a Japanese colon (：) in them, so the colon should be attend to the translation:

\meleeattackname
\rangedattackname
\meleeorrangedattackname

Ideally, the spaces around \xpname, \unitsname, \orname and \plusname (at least) should be part of the translation, since there is no space around them in Japanese. Same thing for the comma (、 in Japanese) and the period (。 in Japanese):

Portuguese and Spanish languages also need the two features mentioned for French.
This would solve issue #324


Disable local install of Yosys binary.

Use Conda if you need Yosys.
Signed-off-by: Tim Callahan<EMAIL_ADDRESS>

The large number of "Test projects" Renode tests were relying on Yosys for their Amaranth processing; they don't currently use Conda.
Before we switch these tests over to using Conda, I will probably look into this lead that @danc86 found: https://github.com/conda-incubator/setup-miniconda#caching-environments to use caching to improve Conda performance; it might also help with some likely rate limiting we saw recently.
Also, I will probably create another environment configuration that just has Yosys and whatever else is needed for these Renode CI tests.
Then potentially if we can assume that we're always using Conda, we might be able to simplify some of the other dependencies that we install either with apt or by cloning (e.g. meson).

FYI - @PiotrZierhoffer

FYI @PiotrZierhoffer @robertszczepanski -- I updated the test-projects workflow to use Conda (with caching).   The individual tests no longer get the riscv32 gcc toolchain using wget from sifive.   They now get it via Conda.


Update CONTRIBUTING.md

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #101 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #101   +/-   ##
=======================================
  Coverage   82.88%   82.88%
=======================================
  Files          69       69
  Lines        3628     3628
  Branches      667      667
=======================================
  Hits         3007     3007
  Misses        413      413
  Partials      208      208

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cfe90d2...b63f355. Read the comment docs.


Use cmdk for Chrome Extension

I am trying to add cmdk for the react-based chrome extension.
But Command.Dialog appears at the end of the page without any styling.
For example, how it looks on github.com:

Do you have any idea what went wrong?

The component is unstyled out of the box for customization. You can copy and paste styles as a starting point from here.


fix/code cov

fixes decorator
new release
fixes doc links
new release

Codecov Report

Merging #6 into master will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master       #6   +/-   ##
=======================================
  Coverage   96.87%   96.87%
=======================================
  Files           1        1
  Lines          32       32
  Branches        3        3
=======================================
  Hits           31       31
  Partials        1        1

Impacted Files
Coverage Δ

pydantic_webargs/__init__.py
96.87% <100.00%> (ø)


Offline option for dlang.org makefile

hsteoh reported this on 2018-03-02T22:48:51Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=18550
CC List

Seb

Description
The current dlang.org makefile has all sorts of bells and whistles that take up tons of time and requires network access, like downloading tarballs, cloning git repos, *compiling* old compiler releases, and so forth.

Can we pretty please have an `offline` target that builds just the HTML and *nothing* else?  All I want to do is to test local doc changes (spec / Phobos); I should not have to download gobs of stuff that's only relevant for the actual dlang.org site, not for local testing of doc changes.

hsteoh commented on 2018-03-27T18:39:09Z
Argh, is there a way to tell the `phobos-prerelease` target to just use the local dmd repo instead of yet another remote cloning?

greensunny12 commented on 2018-03-27T00:20:43Z
> The current dlang.org makefile has all sorts of bells and whistles that take up tons of time and requires network access, like downloading tarballs, cloning git repos, *compiling* old compiler releases, and so forth.

Note that:
- it's not an "old" compiler release, it's the current stable one (i.e. the latest release)
- all binaries etc. will only be fetched once and are put in .generated, so subsequent runs will be much faster

> Can we pretty please have an `offline` target that builds just the HTML and *nothing* else?

Hmm, it's already there for a few releases?

HTML pages (e.g. spec)

make -f posix.mak html DIFFABLE=1

Phobos pages:

make -f posix.mak phobos-prerelease

> should not have to download gobs of stuff that's only relevant for the actual dlang.org site,

The Makefile is already setup to only download and build what's needed for your selected target.

> Why generating HTML docs should depend on compiling a cloned remote repo escapes me.

We need to build the compiler once though because we now use DMD as a library in a custom Ddoc preprocessor

> Not to mention, the makefile outright fails because it makes assumptions incompatible with my system,

What are those?

hsteoh commented on 2018-03-02T22:50:29Z
(Not to mention, the makefile outright fails because it makes assumptions incompatible with my system, therefore one of the compilation targets fail. Why generating HTML docs should depend on compiling a cloned remote repo escapes me.)


bugfix fix PlannerTest testEliminatingSortNode

Proposed changes
Issue Number: close #xxx
testEliminatingSortNode needs to check if SortNode is existed in plan tree, so it should check plan1.contains("order by:"), but rather than plan1.contains("SORT INFO:") or plan1.contains("SORT LIMIT:").
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Is there are possbility to set standard / add defines?

I have project which is compiled with gcc in c++23, compile-commands.json looks like
{
  "directory": "somedir",
  "command": "g++ -std=c++23 ..."
  "file": "somefile",
  "output": "someoutput.o"
},

But clangd does not sees excepted from C++23 stdlib (define __cpp_concepts too small)
What i can do to fix it?

i added -D__cpp_concepts=mydigit to all compile commands in .json (yes i know... but it works)

This particular issue (the value of the __cpp_concepts macro) was an inconsistency between gcc and clang (which affected the ability to compile some libstdc++ headers like <expected> with clang, too, i.e. nothing clangd-specific). It was resolved recently in https://github.com/llvm/llvm-project/pull/87998 for llvm 19.