Feature Request - full image with all game files (the "container" way)

Thank you very much for providing this well documented image. I wanted to start a dedicated server with it and just saw, that the game files are not included in this image.
Feature request: "container way"

Provide an image with the full game files (directly usable, no additional download or mounting of the "game files"). This means, that the game is already installed (via steamcmd) at the image creation.

The container way is that everything is in the image to use it directly. Especially no additional downloads of the game file. This would help for many operational things. Like updates: Download the new image in the background, restart the container and everything is up to date (because the new image is used). If you change something (in the container) and it goes wrong, you can just create a new container and you are up and running. And for Host with enough power: Have multiple servers on the same host uses only 1 time the space and only needs to download 1time the files.
I am aware that the image will have some GB in size (frankly: I don't know how many GBs). Of course this means some automation in image creation, if not already done. If you need help, I can provide you all information for a gitlab pipeline with gitlab-runners for automated image creation.
You could do this with a second tag so the existing image is not changed.
Happy automation :)

Hey!
Appreciate the request, but I'm not going to action this. There's been some discussion around this in the past, and while I appreciate your perspective (and generally do all that I can to comply with "the container way"; it's a core element of my job), it's a little flawed specifically for game servers. Upgrading/downgrading client-side is discouraged and often difficult to do, which is intentional. As such, it made sense in the beginning (before CSS offered official dedicated server builds and this image relied on client builds) to instead pull on launch, because users will auto-update by default, and they will encounter version mismatches. Of course, yes, you can lock your local and server version, but the average user won't.
It is very common for containers to pull the latest version of the respective service on startup (see the Plex Docker image for example), though it is also common for images to be statically versioned if the service files are small enough for it to make sense (and it usually does). Including the game files would result in the image ballooning to several GB (as you highlighted), which is a major factor as to why many images do not include static files.


CustomFs header mismatch when i chose implClass='csv'.

I set config header = "true"/ implClass="csv" both save and load files to Azure Blob. But the header mismatch when I chose 'csv' implClass.
result like:

It seems that the header setting does not take effect when uploading, but it takes effect when downloading.

Duplicate of #1679

The problem comes from spark configuration. Refer this doc:
https://spark.apache.org/docs/3.2.1/sql-data-sources-csv.html
Just set multiLine = "true" and you can fix it.


PowerShell extension make js and json Syntax Highlighting Broken

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:

1.55.0
提交: c185983a683d14c396952dd432459097bc7f757f
日期: 2021-03-30T16:01:05.981Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 20.4.0

OS Version:
mac  os Darwin x64 20.4.0

Steps to Reproduce:

install  PowerShell extension
"workbench.colorTheme": "PowerShell ISE", in settings.json
set other color theme, dont work. then unistall  PowerShell
js and json Syntax Highlighting Broken

I have searched it but no answer that resolved this problem.

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:

1.55.0
提交: c185983
日期: 2021-03-30T16:01:05.981Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 20.4.0

OS Version:
mac  os Darwin x64 20.4.0

Steps to Reproduce:

install  PowerShell extension
"workbench.colorTheme": "PowerShell ISE", in settings.json
set other color theme, dont work. then unistall  PowerShell
js and json Syntax Highlighting Broken

I have searched it but no answer that resolved this problem.

I disabled all builtin them.  I enable one , it works well.

@jackchoumine Is the problem solved?


Add option to keep cookies between redirected requests

Not sure if this is a common case, but I had to query a server which used basic auth for the initial authentication, but then sets a cookie for the session and redirects to the wanted resource.
This PR adds an option (:keep_cookie) to use the cookie received from the server via the set-cookie header for subsequent (redirected) requests.

Thanks for the PR. Do you know if other HTTP clients have something similar? This is the first time this use case is mentioned here.

No, not really.
Then it is probably better to not add this to req and I just make me a custom redirect step for my specific problem.


how to get embedding in np.array format

I want to use: low_dim_embs = tsne.fit(np.array(emb_matrix))
Actual behaviour is getting the class :TSNEEmbedding
what can I do

What about np.array(low_dim_embs)?

TSNEEmbedding is actually a subclass of np.ndarray, so you could treat it as such. If you want to get rid of the extra variables you can do np.array(low_dim_embs), as Dmitry has written, or you could do low_dim_embs.view(np.ndarray).


zlib explosion

PR #6317 has been quite disruptive (you can call it detrimental) to my attempts at building a reversable storage of cargo crates.
The goal of the project is to deduplicate files present in multiple versions of the crate and do the compression on the fly. This gives sweet improvements. The reason why #6317 was so disruptive is that I want to replicate the compression 100% so that there are no changes in Cargo.lock hashes. But for this I need to be able to run the the exact compression algorithm used. Now there are countless versions of the zlib library used in various OSs and I'm not sure whether all of them are even open source. That's why I said detrimental, as if proprietary versions of zlib are used, the project would be impossible.
A short term fix for the issue would be to revert the PR. A more long term fix would be to use a different format for the hashes used in the registry and Cargo.lock. Instead of hashing the entire tar.gz files, you could hash the .tar files only. There is a new upcoming version of Cargo.lock in which it could be adopted. Do you think that this is a good idea?

For my own edification, where can I learn more about these security problems?

Having done a small search I found:

"MasterKey" vulnerability Android bug 8219321 (CVE-2013-4787), discovered by Bluebox security in 2013, article 1, article 2, black hat talk, was about apks allowing multiple entries with the same name, and the signature verifier and the extraction code taking two different ones.
Various unnamed vulnerabilities (one, two).
Janus vulnerability (CVE-2017–13156), discovered by GuardSquare. The version 2 signatures and above are not vulnerable to it, but version 1 is (disallowed completely since Android 11). versions 3 and 4, which came later, add some refinements like key rotation or better streaming support.

Right now cargo/crates.io does it really well with hashing the entire tar.gz file's contents. My suggestion is to only use the tar file's contents for the hashing, allowing for better compression and deduplication to be done on the backend side. If we ever want to do signatures embedded in the tar.gz, some alternatives

via duplicate tarring, so having a .tar.gz file comprised of two files: signature.toml and files.tar, where signature.toml contains a textual representation of the raw bytes of the files.tar file. one needs to ensure that the outer .tar.gz file does not contain any files beyond those two, say files/foo/bar, which would then be added upon extraction.
one could also add signature.toml to the tar file itself as the very last file, the signature being computed from the tar file's contents up to the signature.toml entry, but this is a bit more dangerous as it is more complex and one needs to forbid any content after the signature.toml entry.

This might benefit #2526 as it would let us change migrate to additional compression algorithms while the checksum stays stable across all of them.

I was reminded of this at PackagingCon, and wanted to write it down before it slipped my mind. There is an existing battle hardened (file system|operating system|compression) agnostic file structure hash, the hashing algorithm used for git trees. It should be possible to compute this hash over any compressed version of the file or a checkout of the tree on the file system and get the same result. It does treat several filesystem properties as irrelevant and hashes other properties either of which could be wrong decisions in our use case. But it has the advantage of being battle hardened. Just a thought.


Broken link for "Write data with client libraries" documentation page.

Broken link for the "Write data with client libraries" documentation page. Page redirects to 404 not found route.
Relevant URLs
Broken link: https://docs.influxdata.com/influxdb/v2.0/tools/client-libraries/
Featured in: https://docs.influxdata.com/influxdb/v2.0/write-data/developer-tools/client-libraries/

Thank you, @brembo97 - now is fixed


instantly closes

instantly closes

sorry to hear that, there is no error with this code, please double check.


Adfs Module: Improve Inputs and Outputs for the AdfsApplicationGroup Cmdlets

This PR improves the descriptions for the Inputs and Outputs section of the following AdfsApplicationGroup cmdlets:

New-AdfsApplicationGroup
Disable-AdfsApplicationGroup
Enable-AdfsApplicationGroup
Get-AdfsApplicationGroup
Remove-AdfsApplicationGroup
Set-AdfsApplicationGroup

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

File
Status
Preview URL
Details

docset/windows/adfs/Disable-AdfsApplicationGroup.md
:white_check_mark:Succeeded

docset/windows/adfs/Enable-AdfsApplicationGroup.md
:white_check_mark:Succeeded

docset/windows/adfs/Get-AdfsApplicationGroup.md
:white_check_mark:Succeeded

docset/windows/adfs/New-AdfsApplicationGroup.md
:white_check_mark:Succeeded

docset/windows/adfs/Remove-AdfsApplicationGroup.md
:white_check_mark:Succeeded

docset/windows/adfs/Set-AdfsApplicationGroup.md
:white_check_mark:Succeeded

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.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@dariomws306 @get-itips @tseward
Peer review needed for this PR. Thanks.


Added Youtube Music to de.json

I added and translated the Youtube Music stuff in the de.json

looks good (native German speaker)

Sorry for not replying earlier. We've been busy with the transition to 2.0
We switched to the Lokalize platform for transitions:
https://github.com/music-assistant/frontend#translation-management


decreased RNA pol2 localization to chromatin PMID:29899453

decreased RNA pol2 localization to chromatin (occurs_at termination sites)
increased/decreased  transcription termination index
the ratio of protein sequence reads   in the region of the transcription termination site
2nd-to-last paragraph.
Can figure this? it doesn't seem to say precisely what it is a ratio of. I can only think its the signal in the termination region compared to the rest of the protein coding region. Let me know if you want me to double check.

decreased RNA pol2 localization to chromatin (occurs_at termination sites)

It'll be "decreased protein localization to chromatin at transcription termination site" or similar.
For the RNA pol II part, put the polymerase subunit gene(s) in assayed_using extensions.
For the (occurs_at termination sites) part, I could use SO:0002213 transcription_termination_signal or, if that's too specific, I can just leave it without a logical def.
I can make it specific for "RNA polymerase II termination site" if you want.

transcription termination index
...
it doesn't seem to say precisely what it is a ratio of

Yes it does: that's what figure 4d illustrates. The termination index (TI) is the ratio of signal in the region marked 'y' to signal in the region marked 'x' (and termination elongation index (TEI) is the 'z'-signal-to-'x'-signal ration).
That said, is it important to make a distinction between TI and any other measure? I'd be tempted just to use increased/decreased pol II transcription (both new, is_a FYPO:0004811 abnormal termination of RNA polymerase II transcription).

That said, is it important to make a distinction between TI and any other measure? I'd be tempted just to use increased/decreased pol II transcription

no, I'll do that....it was at the end of a very long paper and I was losing the will to live...

For the (occurs_at termination sites) part, I could use SO:0002213 transcription_termination_signal or, if that's too specific,

you can precompose this part...could be useful

OK, here are new terms:
decreased protein localization to chromatin at transcription termination site FYPO:0006612
decreased termination of RNA polymerase II transcription FYPO:0006613
increased termination of RNA polymerase II transcription FYPO:0006614
I'll close this, but reopen if anything looks amiss.
edit file: 1d2848996ab32bc5e021885e6e88b31ee293461a
release: e4683acfe7e1c93eeffbea434c48bdb1efdfe953


LFS corrupted after 256 bytes of write

Hi,
i have below configurations:
`uint8_t lfs_read_buf[256];
uint8_t lfs_prog_buf[256];
uint8_t attribute((aligned(8))) lfs_lookahead_buf[256] ;
uint8_t lfs_file_buf[256];
// configuration of the filesystem is provided by this struct
const struct lfs_config cfg = {
// block device operations
.read  = &user_provided_block_device_read,
.prog  = &user_provided_block_device_prog,
.erase = &user_provided_block_device_erase,
.sync  = &user_provided_block_device_sync,
// block device configuration for 8Mbytes memory
.read_size = 256,
.prog_size = 256,
.block_size = 32768,
.block_count = 256,
.cache_size = 256,
.lookahead_size = 256,
.attr_max = 1022,
.file_max = 8388608,
.block_cycles = 100,
.read_buffer = lfs_read_buf,
.prog_buffer = lfs_prog_buf,
.lookahead_buffer = lfs_lookahead_buf
};`
i am trying to write to file using lfs_file_write(), after 256 bytes written to file , LFS tries to relocate file and erases the flash address where previous tags and metadata was written. below is screenshot of code:

why is it considered as inline file.? How to resolve this? any changes to be made with respect to configuration?

It is normal. If your file is grater than your cache (or 1/4 of block size), lfs will find a new free block to write to and this file will not be anymore an inline one.
If lfs can't find a free block, there is an issue. Some questions that can help you to find your problem:

you really need a 256B lookahead buffer (it means, do you have more than 8*256 blocks in your device)? Maybe lfs is just trying to fill this buffer, but as your lookahead is so large, the fs take too much time to do it.
are you sure that lfs is trying to erase a metadata block?

Thanks for response @lsilvaalmeida,
just to test i have changed lookahead buffer size to 64 (I have 64*8 blocks in device)and i am still facing the same issue.
LFS corrupts after writing some bytes (it is not consistent).
"are you sure that lfs is trying to erase a metadata block?" - i mean if we mount lfs @0x00000000, the same address is being erased after writing few bytes to flash memory.

I have 648 blocks in device
The config shows that you have 256 blocks (328).

LFS corrupts after writing some bytes
It returns with LFS_ERR_CORRUPT or another error code?

Are you passing lfs_file_buf to the fs (i.e. are you using lfs_file_opencfg)? Or are you using a malloc to allocate this cache?
Just for curiosity, yours underlying functions (.read, .prog, etc) return 0 after a successful read/write/etc and something different than zero if not?

I have changed lookahead buff size to 64(64*8 blocks as per your previous
comment).
I am using malloc to allocate it.
I will come back to you on the error code type.
On Mon, Jul 8, 2019, 7:16 PM lsilvaalmeida<EMAIL_ADDRESS>wrote:

I have 64
8 blocks in device The config shows that you have 256 blocks (328).
LFS corrupts after writing some bytes
It returns with LFS_ERR_CORRUPT or another error code?
Are you passing lfs_file_buf to the fs (i.e. are you using
lfs_file_opencfg)? Or are you using a malloc to allocate this cache?
Just for curiosity, yours underlying functions (.read, .prog, etc) return
0 after a successful read/write/etc and something different than zero if
not?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ARMmbed/littlefs/issues/222?email_source=notifications&email_token=AMDC2CHIEDV2YGFXCWBIHDDP6NAM7A5CNFSM4H5SIHL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZNEFPY#issuecomment-509231807,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMDC2CEFDHD3NCNUFMIZHQDP6NAM7ANCNFSM4H5SIHLQ
.

@lsilvaalmeida  , after few bytes of write operation, if i try to mount lfs it throws -84 as error code.

attached screenshot of the same.
below is the configuration:

Hi @KRekha3, thanks for raising an issue, also thanks @lsilvaalmeida.
From your other issues, I believe you are using the MX25R? The MX25R has a minimum erase block of 4096 bytes, so your block_size must be a multiple of 4096. That might be the issue.
Also you mentioned you are using dynamic memory, if you set read_buffer/prog_buffer/lookahead_buffer to NULL, littlefs will dynamically allocate the correct amount. This may be a good way to sanity check that the buffers are set up correctly.

Thanks I will check and get back on this.
On Wed, Jul 10, 2019, 2:23 AM Christopher Haster<EMAIL_ADDRESS>wrote:

Hi @KRekha3 https://github.com/KRekha3, thanks for raising an issue,
also thanks @lsilvaalmeida https://github.com/lsilvaalmeida.
From your other issues, I believe you are using the MX25R? The MX25R has a
minimum erase block of 4096 bytes, so your block_size must be a multiple of
4096. That might be the issue.
Also you mentioned you are using dynamic memory, if you set
read_buffer/prog_buffer/lookahead_buffer to NULL, littlefs will dynamically
allocate the correct amount. This may be a good way to sanity check that
the buffers are set up correctly.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ARMmbed/littlefs/issues/222?email_source=notifications&email_token=AMDC2CGOY4LEQI6J7JP2XF3P6T3GBA5CNFSM4H5SIHL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZRPXKY#issuecomment-509803435,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMDC2CH4HJMHEH2X5UMDYODP6T3GBANCNFSM4H5SIHLQ
.

i have changed configuration with block size = 4096, i tested this before also also. but after making read, prog, file buffer as null and changed block size to 4kb , but stil LFS is corrupted.

`char test_arr[4096];
//static int Fileerr2 = 0;
string_t fName[] = "test1.bin";
        for (int i =0; i< sizeof(test_arr);i++){
            test_arr[i] = i;
        }

        if (lfs_mount(&lfs, &cfg)) {
          ASSERT(FALSE);
          // reformat if we can't mount the filesystem
          // this should only happen on the first boot
          if ( lfs_format(&lfs, &cfg) ) {
              printf("File not formatted\n");
              ASSERT(FALSE);
          }
          if (lfs_mount(&lfs, &cfg)) {
              ASSERT(FALSE);
          }
        }

        /* create and write/read (boot_count) file */
        printf("File open\n");
        if(lfs_file_open(&lfs, &file, fName, LFS_O_RDWR |LFS_O_APPEND | LFS_O_CREAT)) {
            ASSERT(FALSE);
        }
        int32_t fsize = lfs_file_size(&lfs, &file);
        printf("fsize = %d\n", fsize);

        memset(test_arr,'z',sizeof(test_arr));
        if (sizeof(test_arr) != lfs_file_read(&lfs, &file, &test_arr, sizeof(test_arr))) {
            ASSERT(FALSE);
        }

        printf("File Write\n");
        if (sizeof(test_arr) != lfs_file_write(&lfs, &file, test_arr,4096)) {
            ASSERT(FALSE);
        }

        fsize = lfs_file_size(&lfs, &file);
        printf("fsize after write = %d\n", fsize);
        printf("File Close\n");
        if (lfs_file_close(&lfs, &file)) {
            ASSERT(FALSE);
        }

        if ( lfs_unmount(&lfs) ) {
            ASSERT(FALSE);
        }`

1st time - LFS writes 4096 bytes successfully
2nd time- LFS mount works properly and starts writing 4096 bytes more to file.
3rd time - LFS mount corrupted, LFS tries to format the filesystem

I have resolved the issue. there was a mismatch in the block_size and erase function used. erase function was erasing more than expected area due to which i was getting error.

Ah! Glad to hear. That sounds like it was a nasty bug to track down.

Yes that's true
On Thu, Jul 18, 2019, 8:37 PM Christopher Haster<EMAIL_ADDRESS>wrote:

Ah! Glad to hear. That sounds like it was a nasty bug to track down.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ARMmbed/littlefs/issues/222?email_source=notifications&email_token=AMDC2CA4NUOLB47GN7DXQQTQACBKJA5CNFSM4H5SIHL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2IZCCA#issuecomment-512856328,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMDC2CBZON7IMS6NP6MBI6DQACBKJANCNFSM4H5SIHLQ
.

I went ahead and closed the issue, but feel free to reopen or create another issue if you run into any more problems. Best of luck 👍

Sure. Thank you very much
On Thu, Jul 18, 2019, 8:46 PM Christopher Haster<EMAIL_ADDRESS>wrote:

I went ahead and closed the issue, but feel free to reopen or create
another issue if you run into any more problems. Best of luck 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ARMmbed/littlefs/issues/222?email_source=notifications&email_token=AMDC2CCXBRJWYCL7J4DWRJ3QACCLLA5CNFSM4H5SIHL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2I2BFY#issuecomment-512860311,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMDC2CHDVOK6TJDSERIJVB3QACCLLANCNFSM4H5SIHLQ
.


Is this project dead?

There has been many attempts to fix some issues with it, but non merged for a while now. If it's dead and we need to make a new one, please tell us.

@lstrzebinczyk, I've merged all the PRs into https://github.com/almirsarajcic/waffle_gcs so you can use my fork.

@almirsarajcic Can you make it possible to open issues in your fork? So that we can move the ongoing work there?

Sure, they're open now.

Can we please transfer ownership of the project to almirsarajcic's repo, so it can be updated in hexdocs.pm etc.
Lots of bug fixes and other issues have been sorted out on that fork, and it would benefit the community a lot to have one working, maintained version. If you can spend a few minutes doing that, it would be highly appreciated

@kolorahl, can you help us in making the fork https://github.com/almirsarajcic/waffle_gcs the main repo?
We'd like to continue working on the package, but at the moment only users who know about the fork can use it and those who come from hex.pm use the stale version.

Apologies for the massive delay on this stuff. For some reason my notifications were disabled and I wasn't receiving any word about new issues or pull requests coming into this repo. Combine that with the fact I just became a father recently, I sort of just assumed no one was really using this project.
I'm looking over the PRs now and have enabled notifications again. I'd like to start working more on this project again once things calm down at home but if you feel I'm still a roadblock to quick, iterative progress (I won't be offended if you say so), I can absolutely look at transferring the Hex package to your project.

Great news, thank you.

thats awesome news, glad you are back :)
Would be great to incorporate most/all of the upstream changes and publish that, and then we can collaborate on next steps, what needs to improve etc

There were some new PRs that weren't created in this repo.
Can you take a look at https://github.com/almirsarajcic/waffle_gcs/pulls?q=is%3Apr+is%3Aclosed and maybe create them here as well?

hey @kolorahl  Any timeline on when we can get this version to sync with the version from @almirsarajcic since some of us are using that now

I'm looking at the closed PRs right now and I'm going to see if I can just cherry-pick them into the master branch and get a new build going. I've been trying to look into current failures to the build and hoping it's just something config-related.

any update on this?

any update on this?

@almirsarajcic I've contacted Hex.pm for help in transferring the package ownership and what's required on my end to do so. I started the cherry picking process but life seems to be pulling me in a very different direction right now, sadly. I'll get in touch with you if I need anything on your end to complete the transfer. I'll keep this thread open until the transfer is complete so anyone watching this will know when the switch occurs.

@almirsarajcic I've contacted Hex.pm for help in transferring the package ownership and what's required on my end to do so. I started the cherry picking process but life seems to be pulling me in a very different direction right now, sadly. I'll get in touch with you if I need anything on your end to complete the transfer. I'll keep this thread open until the transfer is complete so anyone watching this will know when the switch occurs.

@almirsarajcic Sent an email to your icloud asking for the final piece of info to make the transfer. No rush; respond whenever you've got a moment and I'll see about getting the waffle_gcs hex package pushed to your account, then you can feel free to change the source repository and push new versions through your own hex account.

@almirsarajcic Sent an email to your icloud asking for the final piece of info to make the transfer. No rush; respond whenever you've got a moment and I'll see about getting the waffle_gcs hex package pushed to your account, then you can feel free to change the source repository and push new versions through your own hex account.

@almirsarajcic Sent an email to your icloud asking for the final piece of info to make the transfer. No rush; respond whenever you've got a moment and I'll see about getting the waffle_gcs hex package pushed to your account, then you can feel free to change the source repository and push new versions through your own hex account.

@almirsarajcic Sent an email to your icloud asking for the final piece of info to make the transfer. No rush; respond whenever you've got a moment and I'll see about getting the waffle_gcs hex package pushed to your account, then you can feel free to change the source repository and push new versions through your own hex account.

Sad to have to step back from a project like this, as I still use this at the moment, but better to let more active individuals with the time and dedication keep it alive and under whatever package name is most prolific. It's been an honor to start this package and take it to where I could in the relatively short time I was developing it and it's an honor to have people interested in carrying on the torch as I step aside. Hopefully one day I can come back and maybe submit patches to the "new" waffle_gcs source.

Sad to have to step back from a project like this, as I still use this at the moment, but better to let more active individuals with the time and dedication keep it alive and under whatever package name is most prolific. It's been an honor to start this package and take it to where I could in the relatively short time I was developing it and it's an honor to have people interested in carrying on the torch as I step aside. Hopefully one day I can come back and maybe submit patches to the "new" waffle_gcs source.

Hi @kolorahl, I was wondering what the status of this project is. I've been struggling with @almirsarajcic's fork and unfortunately there seems to be a problem with getting a Google Auth token.
Am I right in thinking that the "official" latest version (0.1.1) on Hex is yours?
The latest version of your repo on Hex seems to work, however there is the issue of the dependency resolution (which seems to be fixed in master).
It seems the main blocker to a new version of this being published to Hex is the Travis build failing due to an invalid/non-existant service account key for cloud storage. Clearly the tests rely on hitting GCS so a bucket is needed. Is this something easily fixable?
It would be great to get clarity on which is the right repo to be using for this package.
Many thanks for your work on it so far!

@harrygr I can try to investigate why the Travis build failed and see if the solution is simple, hopefully just ensuring the appropriate bucket exists is enough, but ultimately I do not have enough free time at the moment to ensure that this repository is maintained and kept up-to-date. It looks like that could change in the near future, so fingers crossed for that.
I can confirm that version 0.1.1  (if that's still on hex.pm) was my last officially-published package from this repo. I'm pretty sure it worked (at least 99% working, certainly in all the common use cases). If you want to stick with that version for now, feel free. I transferred ownership of the repo to @almirsarajcic so any future versions would come from his repo. I may end up either fixing this one (my repo) or look to assisting with the new repo if I get the time to do so.
TL;DR
The fork (by @almirsarajcic) is the new official version of this package. Version 0.1.1 is the last published version of the package from my repo, and should be in a working condition for all common use cases. You might be able to use it, at least temporarily, if you are experiencing issues with newer versions.

thanks for the update. Indeed the current version on hex.pm (0.1.1) does work fine.
The only issue is that hex complains when you install it alongside the current version of waffle due to dependency resolution problems. This is covered in #4 and looks like it's been fixed in master but no release to hex.pm has been made since. I was just thinking that if the CI build could be fixed it would allow a new release that would solve the problem.
FWIW I got around the above issue by adding override: true to my waffle dependency.
Thanks again for your work on this. I'll try and have a look the separate problems with @almirsarajcic's fork when I get a chance, but to date it doesn't look like a release has been made from it.

Sorry for the late response, I thought I'd have more time to work on it.
Like Harry said, the issue is with the CI. But besides that, before transferring ownership I've merged a PR that started using new APIs and that messed up many tests. I haven't managed to find time to fix that properly.
@harrygr, if you're interested, you can take a look at that.


Suggestion:Introducing a dummy trading scenario for users to practice

The app provides users with insights into bitcoins, covering topics such as sending, receiving, recovery, etc. However, a significant number of users interested in learning about bitcoins are attracted by its increasing popularity in the trading sector. After the basic sessions, we should consider guiding them on how to trade bitcoins on the testnet. This could be in the form of a tutorial, similar to the experience of playing a game for the first time, where users are introduced to basics, hurdles, how to manage them, and basic controls.

We currently recommend users that finish the tutorials to trade with their friends, but I think having a dummy trade scenario might be a even better way to help new-comers onboard sending / receiving!
I'm thinking we can guide them along sending / receiving, but it's only a dummy scenario, so no actual sats are used (together with showing problems that might occur and how to solve them).
What do you think?

Do send a message to @thunderbiscuit, as he is in charge of the project! He will have a much clearer vision on what you can do or plan to do in the future!

I mailed him earlier.
Let me remind him again.

It would be great if you could share me his discord id or some group id of padawan wallet if any

Hi guys! Thank you for taking a look at the app and thinking about ways to make it better. Scenarios for learning how to trade bitcoin however, are fairly out of scope for the project, not only because it would be hard to recreate using testnet coins but also because it's not really what I'm after here. Trading is not the core of what makes bitcoin important IMO.


Improve editing UX (fix)

Added
Add an edit button inside fileActions menu ->   https://github.com/lbryio/lbry-app/issues/415
Fixes
Fix for https://github.com/lbryio/lbry-app/issues/467
Todo

[x] Test it
[x] Set label button to update instead of publish.
[x] Update changelog.md

This is also merged into branch v16 and will go out in the next update. This is a solid upgrade so I'd be okay releasing as-is, especially given the design sloppiness in publishing at the moment.
But the following design changes ought to happen if you'd be interested to try them:

Publish form accepts pre-filled state from outside
Publish page handles the edit logic and passes pre-fill state to the form
Publish form drops the logic handling loading values. The link on a name clash simply becomes a navigate to the proper URL.
Navigation logic is claim ID based rather than name based (we want to support multiple publishes to the same name, though we don't atm).
Update the title displayed in the address bar based on the action being an edit.

#540


closes #42

Works in sim.
Code feels inelegant. Is there a better way to approach this?
Also, unsure if the code changed in pico_pb/src/main.rs is correct

Is this how you want the book page to be formatted?


Added points do not appear in the Table

When I add points using the Add Point form, they do not appear in the Table.

This is still not functional for me.

ok- now it appears to be working. I'm closing. But I'm still suspicious of this table...


chore: remove logrus timestamp format

Force the Debug level as a workaround for now but we'll have to rethink how we handle logging in to the codebase.


Intro to Salt

Hi @Sudhishna and I are working on building this lesson. We've got a Saltstack container built on top of the ubuntu 16.04 docker image and here's the general outline of the stages:
Stage 1:  Part 1 - Salt Stack Master and Minion
Stage 2: Part 2 - Junos Proxy Minions
Stage 3: Part 3 - Executing Junos commands in Salt Stack
Stage 4: Part 4 - Pushing configuration onto Junos
Stage5: Part 5 - Reactor System
Please let us know if this is okay.
Thanks!
Vinayak.

Hi @Mierdin , we are running into this above error when we spin up our container and lessons in NRE Labs. We created a new container and used it in the syringe.yml file https://hub.docker.com/r/vinayaks009/nre-saltstack/
But we're not able to access the terminal for our container from the webpage. Can you please help us here?
@Sudhishna
Thanks,
Vinayak.

Can you post your syringe logs?

Yes, here is a part where I find an error:
time="2018-10-25T21:37:35Z" level=debug msg="Received request for lesson definition: &{Working with SaltStack 19 false [0xc4203a9920] [0xc4203a98c0] [] [0xc42036f3e0] custom map[1:0xc4203a99e0 2:0xc4203a9a40 3:0xc4203a9aa0] introductory https://raw.githubusercontent.com/Sudhishna/nre-salt-2/master/lessons/lesson-19/lessondiagram.png }"
<IP_ADDRESS> - - [25/Oct/2018:21:37:35 +0000] "GET /exp/lessondef/19 HTTP/1.1" 200 204
time="2018-10-25T21:37:35Z" level=debug msg="Scheduler received new request - &{0xc42015a900 2 8a68e470956234a50e0311c9661dfe26bd83841d74a78082f458073ee9ae5806 irtmsce2jdlibeb0 2}"
time="2018-10-25T21:37:35Z" level=info msg="Performing configuration of modified instance of lesson 19"
time="2018-10-25T21:37:35Z" level=error msg="Error creating InfluxDB UDP Client: lookup influxdb on <IP_ADDRESS>:53: no such host"
I keep seeing this message after a while and it keeps repeating.

You can ignore the influxdb stuff. Can you post the full syringe logs?

syringe-logs.txt
Here is full Syringe logs.
P.S: Thanks for replying so quickly!

You can ignore the influxdb stuff. Can you post the full syringe logs?

Hm. Looks okay to me. Maybe it's on the guac side. Can you get the antidote-web full logs too?

The syringe yaml file in your repository is missing "ports: [22]" under the saltstack1 image, under utilities.  It needs to be there.

@Mierdin @cloudtoad Thanks for your response. We terminated all the pods and ran the pods again, and we fixed this issue.

@Mierdin @cloudtoad we are facing another issue though.
issue 1:
we need to salt commands from root, but we are having issues running the saltstack1 linux machine as root.
issue 2:
we manually started the master and minion from the guac. but the master and minion gets terminated receiving SIGTERM (automatically) . is this some issue that you know about ?
Thanks for help.
--Sudhishna

Can you post a link to your branch so we can see your lesson definitions and docker files?

Git Repo:
https://github.com/Sudhishna/antidote
lesson we've added is:
https://github.com/Sudhishna/antidote/tree/master/lessons/lesson-30
image we created for saltstack:
https://github.com/Sudhishna/antidote/tree/master/images/saltstack

Excellent. Could you please open a pull request and mark it with the [WIP] label, and we can discuss there?

Closed via #114


Add volume and fix README

Using relative path only works with docker-compose, docker run would need an absolute path. So I added the volume so a anonymous volume will be created with a docker run without a mount given.

Indeed.
I will add docker-compose example to this project.
Thank for the fix


withDirectoryMode do nothing, ignored

What steps will reproduce the problem?
->withDirectoryMode(0777)
->withDirectoryLevel(0);
What is the expected result?
directory created with 0777
What do you get instead?
directory created with default 0775
Additional info

Q
A

Version
2.0.0

PHP version
8.1

Operating system
Linux Mint 20.3

Because of createDirectoryIfNotExists() in FileCache constructor building object with other than default directory mode will be ignored

Fixed by https://github.com/yiisoft/cache-file/pull/47

withDirectoryMode

Tests is pass. Can you give more details (OS, package version, example of code)?

This test only work if directoryLevel === 1. But if we change it to 0 (no sub directories) all subdirectories wiil be created with default permissions (0755) instead of 0777.
To reproduce simply add ->withDirectoryLevel(0) to line $newCache = $cache->withDirectoryMode(0777) in testDirMode() test:
    public function testDirMode(): void
    {
        if ($this->isWindows()) {
            $this->markTestSkipped('Can not test permissions on Windows');
        }

        $cache = new FileCache($this->tmpDir);
        $newCache = $cache->withDirectoryMode(0777)->withDirectoryLevel(0);

        $this->assertInstanceOf(FileCache::class, $newCache);
        $this->assertNotSame($cache, $newCache);

        $newCache->set('a', 1);
        $this->assertSameExceptObject(1, $newCache->get('a'));

        $cacheFile = $this->invokeMethod($newCache, 'getCacheFile', ['a']);
        $permissions = substr(sprintf('%o', fileperms(dirname($cacheFile))), -4);

        $this->assertEquals('0777', $permissions);
    }

Output (phpunit):
There was 1 failure:

1) Yiisoft\Cache\File\Tests\FileCacheTest::testDirMode
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'0777'
+'0775'

/home/sartor/projects/cache-file/tests/FileCacheTest.php:454


added more snippets

added the following snippets:

call
else
elif
super
alternate declaration for variables

@puranjayjain reviewing this now...

@puranjayjain since this is a Pull Request from an "unknown repository", I am not sure I can checkout this PR to test your work. What I will do is copy this to a branch, checkout that branch and test it locally. If all is good I will merge this original PR so you can still get the credit for the lines of code.
If there were other enhancements you added to your own repo that you previously copied, I would encourage you to fork this repo and make another PR :grin:

Ok @alohaas I'll do that I had screwed up fork earlier. Anyway I had added a few more snippets and a some additions to the docs and push the changes anyway. Ahhh don't tease me :grin: I understood your reference btw. Push changes anyhow. Will be forking and making another PR soon with a bunch of more changes. I also added this repo and the autocomplete repo to autocomplete provider wiki.

Didn't realize there was an autocomplete provider wiki, that's great!
These changes look good to me. I really like the Alt Variable snippet you added. I think the block snippet could be similarly improved.
But this LGTM :+1:
Mergin'


Tests: Fix race condition on Update cilium

Pods are scaling but no option to wait until pods are ready. The solution, waiting
until all pods are ready.
Set scale to 5, in PR only two nodes of Kubernetes, so pods will be
scheduled in both nodes.

Signed-off-by: Eloy Coto<EMAIL_ADDRESS>

test-me-please


Install Error

Hello, I've recently tried updating tea, it fails. Here is the error:
brew install teaxyz/pkgs/tea-cli
==> Fetching teaxyz/pkgs/tea-cli
==> Downloading https://github.com/teaxyz/cli/releases/download/v0.24.6/tea-0.24.6.tar.xz
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/430183021/0cc5c285-431c-4687-a582-66d0c3d1246f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20
######################################################################## 100.0%
==> Installing tea-cli from teaxyz/pkgs
==> deno task compile
Last 15 lines from /Users/usr/Library/Logs/Homebrew/tea-cli/01.deno:
      ~~~~~~~~
        at file:///private/tmp/tea-cli-20230226-54081-1nlg49c/tea-0.24.6/src/utils/index.ts:296:3

TS2322 [ERROR]: Type '"windows" | "linux" | "darwin" | "freebsd" | "netbsd" | "aix" | "solaris" | "illumos"' is not assignable to type '"windows" | "linux" | "darwin"'.
    build_ids: [platform, arch]
                ~~~~~~~~
    at file:///private/tmp/tea-cli-20230226-54081-1nlg49c/tea-0.24.6/src/utils/index.ts:317:17

TS2345 [ERROR]: Argument of type 'string | undefined' is not assignable to parameter of type 'string | Path'.
  Type 'undefined' is not assignable to type 'string | Path'.
    return new Path((() => {
                    ^
    at file:///private/tmp/tea-cli-20230226-54081-1nlg49c/tea-0.24.6/src/vendor/Path.ts:29:21

Found 3 errors.

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/teaxyz/homebrew-pkgs/issues

It's a consequence of this: https://github.com/denoland/deno/pull/17340


”Șieu-Măgheruș”, ”Arcalia”, ”Chintelnic” are listed in the drop-down menu

Description:
When user writes ”Șieu-Măgheruș”, ”Arcalia”, ”Chintelnic” the locations appear in the drop-down menu next to the comune and the county witch is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Șieu-Măgheruș"

Expected results
The location appears in the drop-down menu as "Șieu-Măgheruș, Bistrița-Năsăud (Șieu-Măgheruș)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Chintelnic"

Expected results
The location appears in the drop-down menu as "Chintelnic, Bistrița-Năsăud (Șieu-Măgheruș)".


Refactor add-or-remove cluster node operation feature

What type of PR is this?

/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for reviewers:

Does this PR introduced a user-facing change?

Additional documentation, usage docs, etc.:

Codecov Report

Merging #412 (1843e8c) into master (31dd99d) will decrease coverage by 0.14%.
The diff coverage is 27.77%.


Updated file locations for new website & tweaked the readme

File Structure Update
Why
Since my submission for the first CSS challenge was the voted winner (yay 🎉)
What? (Changes)

moved my website files to the root directory as per Shayans request & I also
updated the README to use an optimized image for the logo & tweaked the title.

P.S.
Thanks to everyone who participated in the first part of this challenge, I look forward to the second iteration where we make a project showcase page! Also if you want to use the SVG I made of the Illuminate logo, feel free to implement it into your website. It's located at assets/static/illuminate.svg
Also lmk if I need to change anything or if there are any issues @Lightshayan.

Great job! love your website - if you make an amazing projects page, then you could possibly win it!


Create 3rd page component

Create a function component in React to replicate the following:-

Use svg format and scss for other styling.

May I take this issue.

@sharmaaditya570191 From where can I get this image

@dibakar95 you can take the animation and the design from this template - https://foton.qodeinteractive.com/landing/
The design is at the bottom. You have to replicate it.

@sharmaaditya570191  Can I work on this issue?

IS this done ?. If not I can work on it @sharmaaditya570191


#86c0b8vp3: Impement Sentry generator using ast

@dmitryusenko review please!
FYI @ipakhomov

@RuslanAktaev Looks good to me overall! Please see a few suggestions above.

@dmitryusenko fixed

@RuslanAktaev Looks good to me, thanks!
@ipakhomov Could you please take a look?


feat(core): Initial implementation of exhaustive check

This implementation currently works only with StringLiteral and NumberLiteral.

There is a lot of work to do... I can implement it to work with CallExpression, Identifier etc, but a little bit later =)
I would like you to leave a comment if you are not ok with this implementation, I will fix it soon if here any.

Hmm. Looks really nice. I will check the code at the weekend. Thank you a lot for the contribution ^_^


Add Ukrainian and Russian languages

Could you please Resolve Conflicts.

@sabesansathananthan
Ok, will take a look when i have time

@sabesansathananthan
Conflicts resolved, please check


Spotify navbar partial text with missing icons

How to reproduce:

Install the Dribbblish theme. Instructions

Expected outcome:

Only the first three buttons are working (with three dots indicating hidden text). The rest are in partial text, and no icon.
Running on Linux Mint 19.3 Tricia.
I've attached the screenshot for reference.

#144 Follow this pr to solve the issue.


Texture Button: negative scale doesn't capture the click event

if you use the negative scale to mirror the image
it doesn't capture the click event

Closing as duplicate of #2596 since the latter has some more details.


Back button on species info does not go back to AddId

With the following navigation:
AddObsButton -> Camera -> Take a photo -> ObsEdit -> AddID -> any taxon info
If you then press the back button the app goes back to the observation list, and not back to observation flow (AddId) and the observation seems to be discarded as well (at least not reachable anymore from the observation list).

I think this would be fixed by moving everything out of the stack navigator and into the tab navigator. I wrote about it briefly in #528
But looks like when you press back on AddId (part of stack nav) it goes backwards to the "Home" screen which defaults to the Observation list tab.

@jtklein should the taxon page have the bottom tabs to begin with?

The taxon detail page does have a bottom tabs component in the designs currently, it is not the final design version yet though.


remove alpha level of AlertingRules which are GA since 4.14

/retest

/lgtm
from the Monitoring teams perspective.


[python] Configure choice of feature_importance_ in sklearn API

This is a PR following the discussion in #1466. Docs were updated according to the changes. Tagging @StrikerRUS
A small additional change was to include vim temporary files into gitignore

pylint is still red:

The docs were updated and the training space (my archenemy! :rofl: ), that was upsetting travis, was removed.
One idea came to my mind: is the specified in the constructor clarification  maybe misleading? Because one can also set any attribute via model.set_params() interface. And in fact a user might find it very handy to do that- he can do analysis of the different importance values fitting a model once and then extracting model.feature_importances_ for difference importance choices.
For the test suggestion. Could you elaborate on what would be the final goal of it? do we want to involve RCE or maybe just a dump of top-N features with the two importance choices? I'm not sure if that will be easy, as this needs particular dataset (i'm not sure what is the required dataset qualities, but i assume a categorical feature with a large number of classes is a must).

Speaking about the place for importance_type, I agree that setting this in constructor is rather misleading. Unfortunately, we cannot add this parameter directly in feature_importances_. I believe that set_params should works fine. I mean,
model = LGBMModel()
model.fit()
model.set_params(importance_type='gain')
model.feature_importances_

computes importance according to gain. Am I wrong?..
To speak about the test, actually any test is appreciated 😃 . It should check that different importance_type leads to different results of feature_importances_. Involving any sklearn feature selection tool will give us confidence that it works in probably most common cases in which users passes models to tools with sklearn feature selection interface.

You are right that the setter will work, I'm just in doubt if the comment in the documentation is not mis-leading, as a user might imagine that one needs to instantiate and train a new model to compare different choices (since we mention that the config is set in the constructor). Maybe it is self-evident and I overreact.
I think, we can have a basic check if the two arrays of feature importances is identical or not. This should be straightforward that implement and it would be triggered by a slightest change between two modes, thus we do not need to hand-craft a dataset

Yeah, got it!
Maybe it's really better to remove my clarification about the constructor... I thought that it will prevent users from doing such things:
model.feature_importances_(importance_type='gain')

OK, this test is fine. Could you please write it?

sure, will do in the next couple of days

ping @mlisovyi
This is rather useful enhancement, let's finish the PR!

sorry, I was overwhelmed with other duties in the past few weeks and also will be in the upcoming week. I can start working on it in 1 week (16-20 July)

Sure, no problem!
It was just to make sure you haven't abandoned or forgotten about this.

hi @StrikerRUS, it seems i have some time to work on the test this week. Could you mention if there is a script/tool to execute all defined (or a subset) of tests? Or how does one typically run those that are already in place?

Hi @mlisovyi ! Great!
We run tests by pytest tool. You can install it locally by simple pip install pytest. And then run a file or folder with tests:
https://github.com/Microsoft/LightGBM/blob/9187c75fbb85c93304183b16247bece2efd0d72b/.travis/test.sh#L56
You can pass only one file you are needed in (more precise: test_sklearn.py).

@StrikerRUS I've added a draft version of the test and also dropped the mention of constructor setting of the importance parameter, as we have discussed some time ago. Let me know what do you think. Thanks in advance

@mlisovyi Many thanks for implementing this enhancement! I hope it'll be useful thing.
The last remaining thing is pylint. Please fix it.
./tests/python_package_test/test_sklearn.py:179:29: E221 multiple spaces before operator
./tests/python_package_test/test_sklearn.py:179:57: E241 multiple spaces after ','
./tests/python_package_test/test_sklearn.py:181:1: W293 blank line contains whitespace

Unfortunately, at present something weird is happening with Travis macOS builds (https://github.com/travis-ci/travis-ci/issues/9865) and due to this I'm not able to merge this PR before all checks get green.

Travis failed, but it seems to be unrelated to the new additions.

Who could rerun the travis test or manually merge the PR?


change week display rule

Since the original code will NEVER show 2 months, this pr fixes that.
Signed-off-by: allencloud<EMAIL_ADDRESS>

ping @thaJeztah @vdemeester


Depth/opticalFlow/object segmentation images as visual observation

For visual observation, the code supports rendered image(s) from single camera, but there is no direct way to get the depth maps. I'm wondering if it is done or not?
I already did an environment that can generate depth/opticalFlow/object segmentation images along with RGB image... something similar to this project but not still not sure how can I use these images to train an agent using stable-baselines.. I'm looking for hints/tips that can help me understand more what are the things that should be modified in stable-baselines to stack multiple images of different type.
Thanks in advance.

Hello,
you should take a look at custom policies in the documentation (and at some issues in GitHub)
Don't forget to deactivate the automatic normalization.

Thanks @araffin, you mean by the automatic normalization the scaling part in observation_input in a2c/utils.py?
if (scale and  not np.any(np.isinf(ob_space.low)) and not np.any(np.isinf(ob_space.high)) and np.any((ob_space.high - ob_space.low) != 0)):
            # equivalent to processed_observations / 255.0 when bounds are set to [255, 0]
            processed_observations = ((processed_observations - ob_space.low) / (ob_space.high - ob_space.low))

Yes, it is called 'scale' in the constructor.


Version Kubernetes Agent Chart

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
<EMAIL_ADDRESS>Minor Changes

cf1cabf: Added an NFS watchdog to remove pods should the NFS mount become stale

@APErebus can I approve + merge this or wait for you to 👍 ?

@liam-mackie You can do it :)


Update setup.md in website/vpc-lattice

Creation of policy points to the wrong location
file://eks-workshop/manifests/modules/networking/vpc-lattice/controller/recommended-inline-policy.json
It should be
file://eks-workshop/modules/networking/vpc-lattice/controller/recommended-inline-policy.json
What this PR does / why we need it:
This PR fixes an issue with a command that includes the wrong path to a policy file.
Which issue(s) this PR fixes:
Fixes #
Quality checks

[ x] My content adheres to the style guidelines
[ x ] I ran make test or make e2e-test and it was successful

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks @dspaxton !


DerivedCollection resets when source ReactiveList item property changed

this.ModelsSource = new ReactiveList<TestModel>
{
	new TestModel(), new TestModel(), new TestModel()
};
this.ModelsSource.ChangeTrackingEnabled = true;

this.ViewModelsSource = this.ModelsSource.CreateDerivedCollection(
m => new TestViewModel(m));

If you change a property of TestModel, then derived ViewModelSource collection resets, as if she had received a reset signal. This behavior is annoying, because when you edit the text properties of the model, ItemsControl bound to ViewModelsSource is completely updated after each change, TextBox loses focus and so on.
TestReactiveListTrackingBug.zip

We found a simple solution to not recreate ViewModel at each change of Model: caching ViewModels.
private readonly Dictionary<TestModel, TestViewModel> vmCache = new Dictionary<TestModel, TestViewModel>();

this.ViewModelsSource = this.ModelsSource.CreateDerivedCollection(
				m => this.vmCache.GetOrAdd(m, () => new TestViewModel(m)));


[Doc] The rendering of REST APIs is wrong

Search before asking

[X] I searched in the issues and found nothing similar.

What issue do you find in Pulsar docs?
For example, see https://pulsar.apache.org/docs/3.0.x/admin-api-schemas/#set-schema-compatibility-check-strategy
The original document is:
Send a `GET` request to this endpoint: {@inject: endpoint|GET|/admin/v2/namespaces/:tenant/:namespace|operation/schemaCompatibilityStrategy?version=@pulsar:version_number@}

However, the website only shows GET|/admin/v2/namespaces/:tenant/:namespace. The complete URL path should be GET|/admin/v2/namespaces/:tenant/:namespace/schemaCompatibilityStrategy.
Besides, the query params are ignored as well but I think they are not important.
What is your suggestion?
We should parse the REST API after the @inject annotation with a correct way.
Any reference?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

This is indeed a bit strange, obviously the git repository is correct, but it is wrong to display it on the web page

I don't have too much time to fix it and I postpone it previously for waiting to the website redesign. Now the redesign is landed we can proceed this issue.
It's related about this code snippet when I first take a look at it:

You can try to propose a solution or I'm hopefully handle it in days.

@tisonkun cc my pr

Thanks for your contribution @shy-share! Merged.


remove nightly from CI/bors

Objective

After a few recent failures, nightly in CI seems too costly to keep

Solution

remove from CI/bors

goodnight nightly :zzz:

bors r+


Sage 377 use bioportal api for questionnaire codes

@oyisre The github secret for the Bioportal api key had to be added to the firebase scripts in order for the hosted version to have the apicalls authenticate correctly.


Support for more password lines

Added new password regexes
Added more test cases

Fixes #64

This change is

Reviewed 3 of 3 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Issue 11/update bug

resolves #19

removes file extension from pastebin scripts
fixes removeScript (type has only been set when the config would be deleted)

For testing:
1 - Install scm
pastebin run 1kKZ8zTS
scm update
2 - Install suicidePath
scm add suicidePath@jh0kMxQc
3 - Update suicidePath
scm update suicidePath
If it works then there should be no message with "File already exists".
"Script already exists" is ok, because the script will only be updated and not deleted entirely.

@ChristophLHR before reviewing, please read this #22

file extension of pastebin scripts should not be removed
converted the PR to draft to update it

should resolve #22 as well
waits for #32


[BUG] Switching collection routes does not update ProductGrid content

Describe the bug
Switching between collection routes does not update the page's content
To Reproduce
Example stackblitz: https://stackblitz.com/edit/shopify-hydrogen-ur4y8w?file=src/components/global/Header.client.jsx

In demo-store/src/components/global/Header.client.tsx add links to two different collections
Navigate between the two collections, the title and description change but not the ProductGrid content

Expected behaviour
The ProductGrid content on the collections route should change to the collection's content
Screenshots
https://user-images.githubusercontent.com/18604963/174907301-6a13635c-da75-4ef2-bf37-0ea29bca2c92.mp4
Additional context
Add any other context about the problem here. eg.

Reproduced on Stackblitz
Reproduced on this commit
NodeJS Version: v16.13.1
OS: Ubuntu 20.04 running on Windows Subsystem for Linux

Thanks for reporting. It should be fixed on the main branch, and will be deployed to Stackblitz on the next version publish.

Thanks @charlescatta!
If you can't wait for the next release here's the fix:
https://github.com/Shopify/hydrogen/pull/1704/files

Thank you!!


BZ 63627: Implement more fine-grained handling in RealmBase#authenticate(GSSContext, boolean)

Tests are pending, but I don't expect any related failures here.

If I don't see ayn objection, I'll merge this by tomorrow.

Thanks, tests are already running for backports...


Use rdf:about instead of rdf:resource for bf:Agent when converting 850 holdings.

This PR fixes issue #4

The Travis check for this PR failed, but for reasons that seem unrelated to this PR:
0.09s$ rake
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/home/travis/.rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in `eval'
/home/travis/.rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in `<main>'
(See full trace by running task with --trace)
The command "rake" exited with 1.

Fixed issue#4


BUG - The module broke the scenes on version 0.7.1 of foundry

Environment Details:
Foundry VTT Version: 0.7.1
Operating System: [Linux]
How Are You Using Foundry: [Linux,Native Application (Electron), Chrome]
Which Game System: Dungeons and Dragons 5th Edition, version 0.95
Modules Enabled?: yes
OS, Hosting, Browser (if applicable): Linux/Node/Chrome
Description of the issue:
It's a strange behaviour, after the module is enable, many of my scene have lost their customization settings.
There is no web console exception.
These are the steps for replicate the issue:

The module is disable at the start
Create a new scene
Select a new file for the background of the scene (in my use case it's a webm file)
Modify the background size scale from "1" to "2"
Save the scene
Refresh the page it's seem all good
Enable the module
After the refresh the scene it's "broken" like it's was cut and after a second refesh the scene it's reload with the original image  scale size set to "1" not "2"

I've not tested on 0.7.x yet, so I'm not entirely sure what could be happening.
I'm aiming to do some testing this week though, so hopefully I can replicate/fix soon

Hi @p4535992 and apologies for the delay on getting to this.
I've attempted to replicate the issue on 0.7.2, but haven't been able to.
Are you still seeing the issue on 0.7.2? My module doesn't interact with the background scalding at all, so I'm wondering if there was possibly a bug in 0.7.1 that caused the behavior you were seeing.

Problaby resolved on 0.7.2. Ty for the input. I close the ticket.


Color Picker: Hex toggle between upper and lowercase (and 3-digit notation)

📝 Provide a description of the new feature
What is the expected behavior of the proposed feature?  What is the scenario this woudl be used?
The convention of a lot of web developers writing CSS is to use lowercase hex characters when describing colors. Currently, the color picker only allows for upper case hex notation. Of course you can always transform it to lowercase after pasting (e.g. in VS Code), but a simple setting for this certainly wouldn't hurt.
Bonus: It would also be nice if there could be a setting to enable the 3-digit hex notation whenever applicable, e.g. #16e instead of #1166ee.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

Relate to #5379 where we track the ideas. Please write your comment there.

Should we close this?

These choices about uppercase/lowercase and short forms and all, are really just personal preferences. But, can't hurt to have the possibility...

@martinchrzan Yes, this can be closed as there is already #5379 where these ideas are tracked, as @htcfreek already mentioned. So I'm closing this issue now.


Defaulting --input-generate length is causing it to be the default.

Remove defaulting, move value to input processing code instead.

Fixed while working on #2


adding non-root user in dockerfile

Adding USER nobody in Dockerfile to run as non-privileged user

Can this be merged ? Please let me know if there is any issue.


Check if task is pending just before run

Description
Check if a task is pending the moment before executing it instead of checking for all pending tasks, then running all of them.
In the current version, when you run 'rake after_party:run', it collects all the pending tasks and queues them up. In the suggested change, it also does another check of each task before executing that task.
Why
We have a use case where we want to skip existing after_party tasks when starting a new environment, but then run all subsequent after party tasks. We accomplish this with something like this:
namespace :after_party do
  desc 'Deployment task: mark_all_tasks_run'
  task mark_all_tasks_run: :environment do

    Dir.glob("#{Rails.root}/lib/tasks/deployment/*").each do |file_name|
      puts "Marking #{file_name} as already run."
      AfterParty::TaskRecord.create(version: AfterParty::TaskRecorder.new(file_name.split('/').last).timestamp)
    end

    AfterParty::TaskRecord
      .create version: AfterParty::TaskRecorder.new(__FILE__).timestamp
  end
end

I found that putting an "abort" statement after persisting task completion works fine as workaround in our case. The container will exit after marking all tasks complete then restart (not running any after party tasks on the following call to after_party:run)


Pass job info by value to fix metrics for fallback jobs

Since we're re-using the job object now we need to pass by value here to avoid picking up values from the fallback job

LGTM but linting isn't happy


Revert "refactor(rust): use AuthorityNode directly in the app to enroll to a project"

It also fixes a problem about how we were handling the node that hosts the tcp-inlet.

@adrianbenavides could you amend the Revert commit message to a normal fix: please.. breaking the simple format hurts automation at various places

Didn't notice sorry! I'll fix in a second 🙏


Can't Be Hosted To Heroku

General Troubleshooting
Please check off these steps before suggesting a feature or reporting a bug:

[x] I am running the latest version:
[x] I have followed all instructions on the setup page (and if applicable, Raspberry Pi)
[x] I have read through the planned and suggested features

Issue
I Can't Host To Heroku, How To Host This
Issue Type

[x] Feature Request

Description
Hello! I Love My JMusic BOTS With The Features, But I Can't Host This To Make It Stay Online.
So, How To Host It On Heroku (Java Supported)
Pls Give Help! By Making a Tutorial... :(

I have it set up and running just fine on Heroku with the JVM Common buildpack. I'm using a single hobby worker dyno. Here is what I have in my procfile:
worker: java -jar JMusicBot-0.1.2.jar -nogui

ok thx

no need any more files? like package.json, maybe

can i have JMusic Bot "pom.xml" files?


Missing file: start-reload.sh

docker-compose.override.yml references a file named start-reload.sh:
https://github.com/tiangolo/full-stack-fastapi-postgresql/blob/master/{{cookiecutter.project_slug}}/docker-compose.override.yml#L54:

command: /start-reload.sh

But this file is nowhere to be found:
full-stack-fastapi-postgresql % find . -name "*.sh"
./scripts/dev-fsfp-back.sh
./scripts/dev-fsfp.sh
./scripts/dev-link.sh
./scripts/test.sh
./scripts/discard-dev-files.sh
./{{cookiecutter.project_slug}}/backend/app/prestart.sh
./{{cookiecutter.project_slug}}/backend/app/scripts/test-cov-html.sh
./{{cookiecutter.project_slug}}/backend/app/scripts/format-imports.sh
./{{cookiecutter.project_slug}}/backend/app/scripts/lint.sh
./{{cookiecutter.project_slug}}/backend/app/scripts/test.sh
./{{cookiecutter.project_slug}}/backend/app/scripts/format.sh
./{{cookiecutter.project_slug}}/backend/app/tests-start.sh
./{{cookiecutter.project_slug}}/backend/app/worker-start.sh
./{{cookiecutter.project_slug}}/scripts/build-push.sh
./{{cookiecutter.project_slug}}/scripts/build.sh
./{{cookiecutter.project_slug}}/scripts/deploy.sh
./{{cookiecutter.project_slug}}/scripts/test-local.sh
./{{cookiecutter.project_slug}}/scripts/test.sh

I am similarly unable to locate this file in the generated project:
# find . -name "*.sh"
./pull-and-deploy.sh
./scripts/deploy.sh
./scripts/build.sh
./scripts/build-push.sh
./scripts/test.sh
./scripts/test-local.sh
./backend/app/scripts/test-cov-html.sh
./backend/app/scripts/lint.sh
./backend/app/scripts/format-imports.sh
./backend/app/scripts/test.sh
./backend/app/scripts/format.sh
./backend/app/worker-start.sh
./backend/app/tests-start.sh
./backend/app/prestart.sh

Is the yml file incorrect, or is this file being generated at runtime somehow?

The start-reload.sh file is present inside the base image.
check the readme file: https://github.com/tiangolo/full-stack-fastapi-postgresql/tree/master/{{cookiecutter.project_slug}}

There is also a command override that runs /start-reload.sh (included in the base image) instead of the default /start.sh (also included in the base image). It starts a single server process (instead of multiple, as would be for production) and reloads the process whenever the code changes. Have in mind that if you have a syntax error and save the Python file, it will break and exit, and the container will stop. After that, you can restart the container by fixing the error and running again:

I saw that, but I'm not sure I understand what is meant by "base image" in this context. Can you please clarify?

Can you please clarify what "base image" is referring to in this context?

Thanks for the help here @we-shall ! 👏  🙇
Thanks for reporting back and closing the issue @abrichr  👍

Sorry for the long delay! 🙈  I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.


add dynamic versioning

Users of plugins that uses sql.nvim may encounter issues due to a possibly out-date version or unsupported version of sql.nvim.
Thus, this pr aims to help plugin developers by either

enabling them to add safe gurds that match what version they support with the value of sql.version, or
letting them inquire for the output of print(require'sql'.version) from their users.

TODOS:

[ ] find a way to set sql.version using github actions

If doc/version.txt exists then the version should content of version.txt + git commit hash

sql.nvim is becoming mature and stable to the point that this won't be important any more.


Bump 6.5 branch for 6.5.2 release

CI is failing because there are no snapshot builds yet as happened with the previous version bump https://github.com/elastic/elasticsearch-hadoop/pull/1218#issuecomment-440341531, merging.


Use timeout from dcos config for diagnostic download

Before core.timeout was ignored now it is taken into account
➜ dcos config set core.timeout 3
➜ time dcos diagnostics download
Error: Get "https://master.testing.mesosphe.re/system/health/v1/diagnostics/d4d84ac3-64c7-4134-8fbc-3b2c382620f1/file": context deadline exceeded
dcos diagnostics download  0,13s user 0,03s system 4% cpu 3,798 total
➜ time dcos diagnostics download
➜ dcos config set core.timeout 30
➜ time dcos diagnostics download
Error: context deadline exceeded
dcos diagnostics download  1,06s user 2,40s system 10% cpu 31,782 total
➜ config set core.timeout 300
➜  dcos diagnostics download
dcos diagnostics download  6,27s user 13,87s system 21% cpu 1:33,78 total

Fixes: https://jira.d2iq.com/browse/COPS-6584

@mesosphere-ci run mac integration tests

@mesosphere-ci run linux integration tests


Fix MenuItem creation

Ticket: None
Issue
This addresses a couple issues:

MenuItemFactory::build() is less specific than it could be, causing PHPStan to complain.
MenuItem constructor is still public, allowing for direct instantiation which would forgo Class Maps.

Impact
None.
Usage Changes
Consistent with the rest of the Factory usage.
Considerations
There are other Factories whose return values from ::build() could also be more specific. These are out of scope here.
Testing
Existing tests cover this functionality and are currently passing for me.

POLYMORPHIZE ALL THE THINGS!


chore: Deprecate old packages

Current dependencies on/for this PR:

main

PR #2468   👈

This comment was auto-generated by Graphite.


Patterns with \n produce scrambled output

I'm using Comby 1.0.0.
Reproducing
I'm using https://github.com/tianocore/edk2/blob/5a6d764e1d073d28e8f398289ccb5592bf9a72ba/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c for my tests.
For context: I'm trying to find instances that look like this: https://github.com/tianocore/edk2/blob/5a6d764e1d073d28e8f398289ccb5592bf9a72ba/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c#L275-L276
Status = Whatever...
ASSERT_EFI_ERROR (Status);

Describe the bug
First issue:
Somehow \n is inserted into the middle of the result.
This isn't actually a query for something useful. I was just experimenting with the query format, trying to build the query that I actually want.
> ./comby 'Status = :[x\n]' '' -match-only OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c
/home/zoid/cloudhome/hpe/taiwan/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c:185:Status = GetFvbInstanc\n(Instance, Global, &FwhInstance);
/home/zoid/cloudhome/hpe/taiwan/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c:223:Status = GetFvbInstanc\n(Instance, Global, &FwhInstance);
/home/zoid/cloudhome/hpe/taiwan/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c:275:Status = GetFvbInstanc\n(Instance, Global, &FwhInstance);
/home/zoid/cloudhome/hpe/taiwan/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c:364:Status = GetFvbInstanc\n(Instance, Global, &FwhInstance);
/home/zoid/cloudhome/hpe/taiwan/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c:376:Status     = OldAttrib\nes & EFI_FVB2_STATUS;
/home/zoid/cloudhome/hpe/taiwan/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c:377:Status     = *Attribut\n & EFI_FVB2_STATUS;
/home/zoid/cloudhome/hpe/taiwan/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c:628:Status    = GetFvbInst\nce (FvbDevice->Instance, mFvbModuleGlobal,
/home/zoid/cloudhome/hpe/taiwan/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c:665:Status = QemuFlashEras\nlock (StartingLba);
/home/zoid/cloudhome/hpe/taiwan/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c:851:Status      = Validate\nHeader (FwVolHeader);
/home/zoid/cloudhome/hpe/taiwan/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c:855:Status = EFI_VOLUME_CO\nUPTED;
/home/zoid/cloudhome/hpe/taiwan/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c:868:Status = GetFvbInfo (L\ngth, &GoodFwVolHeader);
/home/zoid/cloudhome/hpe/taiwan/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c:879:Status = QemuFlashEras\nlock (Offset / BlockSize);
/home/zoid/cloudhome/hpe/taiwan/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c:887:Status = QemuFlashWrit\n(
/home/zoid/cloudhome/hpe/taiwan/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c:947:Status = InitializeVar\nbleFvHeader ();
/home/zoid/cloudhome/hpe/taiwan/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c:955:Status      = Validate\nHeader (FwVolHeader);
/home/zoid/cloudhome/hpe/taiwan/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c:960:Status = GetFvbInfo (L\ngth, &FwVolHeader);
/home/zoid/cloudhome/hpe/taiwan/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c:1067:Status = PcdSetBoolS \ncdOvmfFlashVariablesEnable, TRUE);

Second issue:
Here it looks like it's overwriting the path to the input file partially with the second line of the match.
> pwd
/home/zoid/cloudhome/hpe/taiwan/edk2
> ./comby 'Status = :[hole\n] ASSERT_EFI_ERROR (Status)' '' -match-only OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c
\n  ASSERT_EFI_ERROR (Status)an/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c:185:Status = GetFvbInstance (Instance, Global, &FwhInstance);
\n  ASSERT_EFI_ERROR (Status)an/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c:223:Status = GetFvbInstance (Instance, Global, &FwhInstance);
\n  ASSERT_EFI_ERROR (Status)an/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c:275:Status = GetFvbInstance (Instance, Global, &FwhInstance);
\n  ASSERT_EFI_ERROR (Status)an/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c:364:Status = GetFvbInstance (Instance, Global, &FwhInstance);
\n      ASSERT_EFI_ERROR (Status)dk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c:879:Status = QemuFlashEraseBlock (Offset / BlockSize);

Hrmmmm probably a buffer/flush issue for parallel jobs.
Could you confirm:

this problem disappears when you add -sequential
your OS (Mac OS X or Linux or...)

Found the issue, can reproduce, think this is the same for both your cases. CRLF characters. Will look into fixing ASAP.


Implement stats middleware removing some duplicated code

Hey!
I've improved a bit this PR. The goal is to use on-headers and finish event to avoid to decorate all functions we use to respond the request. Well, to be honest on-headers decorates res.writeHead method, but is just one method instead of three.
Please, a CR would be appreciated.

For me, the idea is nice and makes sense: remove duplicated code and do the stats things in a file with a semantic valor.


Application error: a client-side exception has occurred

When I search in Chinese for "周杰伦是谁？" I get the following question

Same Problem. With all language

确实存在这个问题 希望能修复这个bug
此外希望一键部署的Velcal自定义参数字段里，支持openai代理地址的填写

@0smboy
I tried the phrase "周杰伦是谁？" several times in morphic.sh, but I couldn't reproduce the issue. Please provide the following three points of information:

In which environment did the issue occur?

Your local environment
Your hosting

Does it occur in morphic.sh?
At what point does the crash occur?
How frequently does the issue occur?

@0smboy
I tried the phrase "周杰伦是谁？" several times in morphic.sh, but I couldn't reproduce the issue. Please provide the following three points of information:

In which environment did the issue occur?

Does it occur in morphic.sh?

At what point does the crash occur?

How frequently does the issue occur?

Demo：
https://morphic-blond.vercel.app/
This is an environment deployed through Vercel with one-click deployment. During the deployment process, I filled in both OPENAI_API_KEY and TAVILY_API_KEY. The error message above appears regardless of whether a domain is bound or not.

@onlinedear
Thank you for sharing the preview URL.
I was able to confirm the reproduction of the issue.
(Please remove the preview URL from the comments, as it is publicly accessible)
Could you please provide the error logs from the Logs tab on the Vercel dashboard?

Here are the steps I took:
Step 1: I opened the GitHub address of this project and clicked "Deploy" - Host your own live version of Morphic with Vercel.
Step 2: After entering Vercel, I entered the project name.
Step 3: I input OPENAI_API_KEY and TAVILY_API_KEY.
Step 4: Wait and complete the deployment.
Step 5: Access the domain name assigned by the system, https://morphic-blond.vercel.app/
Step 6: I can access the home page of the deployed project and enter a question.
Step 7: An error occurred.
Step 8: Tried to bind a domain name, but the problem still exists.

I hope to have the option to fill in the proxy address before entering the OPENAI_API_KEY parameter on Vercel.

@onlinedear

Could you please provide the error logs from the Logs tab on the Vercel dashboard?

 AI_RetryError: Failed after 3 attemps. Last error: You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.     at (node_modules/ai/dist/index.mjs:670:0)     at (node_modules/ai/dist/index.mjs:791:0)     at (lib/agents/task-manager.tsx:7:17)     at (app/action.tsx:43:24) {   name: 'AI_RetryError',   reason: 'maxRetriesExceeded',   errors: [    AI_APICallError: You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.     at (node_modules/ai/openai/dist/index.mjs:448:0)     at (node_modules/ai/openai/dist/index.mjs:340:0)     at (node_modules/ai/openai/dist/index.mjs:776:0)     at (node_modules/ai/dist/index.mjs:658:0)     at (node_modules/ai/dist/index.mjs:791:0)     at (lib/agents/task-manager.tsx:7:17)     at (app/action.tsx:43:24) {   name: 'AI_APICallError',   url: 'https://api.openai.com/v1/chat/completions',   requestBodyValues: {   model: 'gpt-3.5-turbo',   logit_bias: undefined,   user: undefined,   max_tokens: undefined,   temperature: undefined,   top_p: undefined,   frequency_penalty: undefined,   presence_penalty: undefined,   seed: undefined,   messages: [   {   role: 'system',   content: 'As a professional web researcher, your primary objective is to fully comprehend the user\'s query, conduct thorough web searches to gather the necessary information, and provide an appropriate response.\n    To achieve this, you must first analyze the user\'s input and determine the optimal course of action. You have two options at your disposal:\n    1. "proceed": If the provided information is sufficient to address the query effectively, choose this option to proceed with the research and formulate a response.\n    2. "inquire": If you believe that additional information from the user would enhance your ability to provide a comprehensive response, select this option. You may present a form to the user, offering default selections or free-form input fields, to gather the required details.\n    Your decision should be based on a careful assessment of the context and the potential for further information to improve the quality and relevance of your response.\n    For example, if the user asks, "What are the key features of the latest iPhone model?", you may choose to "proceed" as the query is clear and can be answered effectively with web research alone.\n    However, if the user asks, "What\'s the best smartphone for my needs?", you may opt to "inquire" and present a form asking about their specific requirements, budget, and preferred features to provide a more tailored recommendation.\n    Make your choice wisely to ensure that you fulfill your mission as a web researcher effectively and deliver the most valuable assistance to the user.\n    ' },   {   role: 'user',   content: [   { type: 'text', text: '{"input":"Why is Nvidia growing rapidly?"}' } ] } ],   tool_choice: { type: 'function', function: { name: 'json' } },   tools: [   {   type: 'function',   function: {   type: 'function',   name: 'json',   description: 'Respond with a JSON object.',   parameters: {   type: 'object',   properties: { next: { type: 'string', enum: [ 'inquire', 'proceed' ] } },   required: [ 'next' ],   additionalProperties: false,   $schema: 'http://json-schema.org/draft-07/schema#' } } } ] },   statusCode: 429,   responseBody: '{\n    "error": {\n        "message": "You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.",\n        "type": "insufficient_quota",\n        "param": null,\n        "code": "insufficient_quota"\n    }\n}\n',   cause: undefined,   isRetryable: true,   data: {   error: {   message: 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.',   type: 'insufficient_quota',   param: null,   c

It seems that this error is due to insufficient quota for my account. Can you support Azure's API?

I hope to be able to fill in OPENAI_API_BASE= in the custom parameters on Vercel, and it would be great if Azure's API was supported.

It seems that this error is due to insufficient quota for my account

🫠

Can you support Azure's API?

https://github.com/miurla/morphic/issues/13

@0smboy @Adarshagupta
Could you please provide the error logs from the Logs tab on the Vercel dashboard?
If it is an account issue, this issue will be closed

I hope to be able to fill in OPENAI_API_BASE= in the custom parameters on Vercel,

I hope to be able to fill in OPENAI_API_BASE= in the custom parameters on Vercel,

The contributors have already addressed this.

https://github.com/miurla/morphic/pull/22
https://github.com/miurla/morphic

Unrelated matters should be commented on in a separate issue.
Otherwise, it becomes difficult to track the problem.

我希望能够在Vercel上的自定义参数中填写OPENAI_API_BASE=，

贡献者已经解决了这个问题。

将metadataBase URL 添加到元数据 #22
https://github.com/miurla/morphic

不相关的事项应在单独的问题中发表评论。 否则，很难跟踪问题。

Thank you very much for sharing such a great project, and also for your patient answers. I hope the project continues to improve and thrive.

When I encountered the same error, I found that the project was using the gpt-4 module.
 AI_APICallError: An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. The following tool_call_ids did not have response messages: call_uelZfMXmhZebZXcncc5vwE7s (request id:<PHONE_NUMBER>33282053438695TItDXJa)     at (node_modules/ai/openai/dist/index.mjs:448:0)     at (node_modules/ai/openai/dist/index.mjs:340:0)     at (node_modules/ai/openai/dist/index.mjs:807:0)     at (node_modules/ai/dist/index.mjs:658:0)     at (node_modules/ai/dist/index.mjs:1352:0)     at (lib/agents/query-suggestor.tsx:24:2)     at (app/action.tsx:69:4) {   name: 'AI_APICallError',   url: 'https://xxx.xxx/v1/chat/completions',   requestBodyValues: {   model: 'gpt-4-turbo-preview',   logit_bias: undefined,   user: undefined,   max_tokens: undefined,   temperature: undefined,   top_p: undefined,   frequency_penalty: undefined,   presence_penalty: undefined,   seed: undefined,   messages: [   {   role: 'system',   content: 'As a professional web researcher, your task is to generate a set of three queries that explore the subject matter more deeply, building upon the initial query and the information uncovered in its search results.\n\n    For instance, if the original query was "Starship\'s third test flight key milestones", your output should follow this format:\n\n    "{\n      "related": [\n        "What were the primary objectives achieved during Starship\'s third test flight?",\n        "What factors contributed to the ultimate outcome of Starship\'s third test flight?",\n        "How will the results of the third test flight influence SpaceX\'s future development plans for Starship?"\n      ]\n    }"\n\n    Aim to create queries that progressively delve into more specific aspects, implications, or adjacent topics related to the initial query. The goal is to anticipate the user\'s potential information needs and guide them towards a more comprehensive understanding of the subject matter.\n    ' },   {   role: 'user',   content: [ { type: 'text', text: '{"input":"周杰伦是谁"}' } ] },   {   role: 'assistant',   content: '\nError occurred while executing the tool',   tool_calls: [   {   id: 'call_uelZfMXmhZebZXcncc5vwE7s',   type: 'function',   function: {   name: 'search',   arguments: '{"query":"周杰伦","max_results":5,"search_depth":"basic"}' } } ] } ],   tool_choice: { type: 'function', function: { name: 'json' } },   tools: [   {   type: 'function',   function: {   type: 'function',   name: 'json',   description: 'Respond with a JSON object.',   parameters: {   type: 'object',   properties: {   items: {   type: 'array',   items: {   type: 'object',   properties: { query: { type: 'string' } },   required: [ 'query' ],   additionalProperties: false },   minItems: 3,   maxItems: 3 } },   required: [ 'items' ],   additionalProperties: false,   $schema: 'http://json-schema.org/draft-07/schema#' } } } ],   stream: true },   statusCode: 400,   responseBody: '{"error":{"message":"An assistant message with \'tool_calls\' must be followed by tool messages responding to each \'tool_call_id\'. The following tool_call_ids did not have response messages: call_uelZfMXmhZebZXcncc5vwE7s (request id:<PHONE_NUMBER>33282053438695TItDXJa)","type":"invalid_request_error","param":"messages","code":null}}',   cause: undefined,   isRetryable: false,   data: {   error: {   message: 'An assistant message with \'tool_calls\' must be followed by tool messages responding to each \'tool_call_id\'. The following tool_call_ids did not have response messages: call_uelZfMXmhZebZXcncc5vwE7s (request id:<PHONE_NUMBER>33282053438695TItDXJa)',   type: 'invalid_request_error',   param: 'messages',   code: null } } }

at (app/action.tsx:69:4) { name: 'AI_APICallError', url: 'https://xxx.xxx/v1/chat/completions', requestBodyValues: { model: 'gpt-4-turbo-preview',

The URL for OPENAI_API_BASE seems to be incorrect.

at (app/action.tsx:69:4) { name: 'AI_APICallError', url: 'https://xxx.xxx/v1/chat/completions', requestBodyValues: { model: 'gpt-4-turbo-preview',

The URL for OPENAI_API_BASE seems to be incorrect.

The URL in my environment is current. I replace it to xxx to arouse suspicion of advertising.

Ah, Okay. The search seems to have failed.
Are you sure you entered the correct value for TAVILY_API_KEY?

Ah, Okay. The search seems to have failed. Are you sure you entered the correct value for TAVILY_API_KEY?

Yes, all API keys are correct

I fixed to fill with spaces because an error occurs if the query parameter of the Tavily Search API is less than 5 characters.
Your search query 美国加息 was 4 characters long.
#28
Please use the latest code and try again.


Convert Menu.subs to a class structure, for consideration

This one was done in the most primitive way, bit of a straight refactor to a class, nothing fancy.   It all started because of if ($admin_include_data == false) so I went to see if it was really always a bool being returned, the rest is a quick rebuild since it was ugly.  Frankly so is the class but its the start of a path we can continue in 2.0.

It all started because of if ($admin_include_data == false)

/me knows the pain! LOL
At the moment I just skimmed through the diff, so I'm entirely sure my comment will make sense, but since it may not make sense even if I read carefully the code, I'll write it anyway. :stuck_out_tongue:
Would be a pain arrive to something like:
$menu = new Create_Menu($menuOptions);
$menu->addAreas($admin_areas);
...
$menu->addAreas($some_other_areas);
$menu->removeArea($area_id);
$menu_context = $menu->prepareMenu();
$menu->destroy();

the idea being: make the handling of menu areas separated from both the preparation and the instantiation of the menu.
What I'm after is being able to extend the menu at the "object" level instead of having to rely on the array. At this moment it doesn't really give many advantages, but in the middle/long term it should give some benefit (e.g. not having to pass-by-ref the whole array but instead pass the reference to the object).

I really like that idea to make the menus more modular, similar to what I did in https://github.com/live627/ModHelper/blob/master/src/Menu.php
Also @Spuds can you add tests for the menu?

Also @Spuds can you add tests for the menu?

Not yet 😇 can do ... I did at least update some of the doc comments at the top as they were missing several of the available options.

Would be a pain arrive to something like:

Of course it would 😛 I did say it was a primitive break up, you know when you find a 300 long line 10 deep nested if statement type of thing.  I'll add a couple of other methods, but I'm not going to go to crazy on this one at this time.

While consolidating the permission check ( https://github.com/elkarte/Elkarte/pull/2698/commits/4a95203b14fb176b7384acbb2bc825d667a79b52 ) I think there was an old error in the code https://github.com/elkarte/Elkarte/blob/development/sources/subs/Menu.subs.php#L119 Looking at that line it calls $area['permissions'] but area is not set ... I feel it should be $section['permissions'] at that point.  I tried to track it down and it seems to have appeared when the first attempt at moving this 🐷 to a class was reverted.

LOL .. failed tests, runs on my local though, sometimes Travis is a PITA
Anyway should someone want a go at this I'll leave the branch in my repo, but I'm closing this one out.
Note that I did add a few public methods addOptions and addAreas  which allow you to add / replace data in the menuOptions and menuData arrays.
I get that everyone wants more flexibility in this class, but I don't have the passion, all I really wanted to due was break it down to components this round.

Spuds wrote on 25/09/16 19:38:

LOL .. failed tests, runs on my local though, sometimes Travis is a PITA

Yup.
I'm not sure why from time to time it happens.. :-\

Anyway should someone want a go at this I'll leave the branch in my
repo, but I'm closing this one out.

Is there any reason not to merge it?

I get that everyone wants more flexibility in this class, but I don't
have the passion, all I really wanted to due was break it down to
components this round.
I'm more than happy with what you did!! It's wonderful to see code
become understandable! :D
Mine was an idea like I throw every time.
And any time I propose something is never with the intention of forcing
anyone to do anything (also because most of the times my ideas are at
least awkward). If I really feel it's something I'd like to see, I'll do
what I propose myself (unless someone beats me).

Your ideas were good, and I partially implemented them.
Then looking at things, in order to make it truly flexible, with it really needed a ground up redo vs the refactor to a class that I did.  Doing a ground up is not something I'm interested in for a little used function 😇
So I figured why change it now when it would get replaced anyway, its not a step forward then, just one sideways.
Anyway the work is in my repo, the tests, meh on the tests, no idea.  It worked fine locally, but failed on Travis.  Then I tried a couple of things to no avail and probably broke it to boot!

Test failed because PHP died. Apparently, Travis doesn't like PHP 4 style constructors.

Thanks!  A little renaming in the test fixed it.

np
On Tue, Sep 27, 2016 at 5:56 AM, Spuds<EMAIL_ADDRESS>wrote:

Thanks! A little renaming in the test fixed it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/elkarte/Elkarte/pull/2698#issuecomment-249856521, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAaWt8rCau9ZWyVvLOPeaxuPJNIWGPycks5quRKDgaJpZM4KFe6B
.

BTW:
http://xkcd.com/1739/
:joy_cat:

LOL ... so many WTF moments

And the hover is the best! lol


Add .gitignore to template output

It would be sweet when you create a new project via mint new that it would create a .gitignore file that's based on the template you selected.
e.g. it would know the name of the build directory based on the template you selected, and include that in the .gitignore file, along with other commonly ignored files and folders like .cache.
I could see a lot of devs accidentally committing their node_modules folder by accident.

Which templets arent getting a .gitignore they are supposed to

@KmBarnett I've tried react, svelte, and vue

@jasonbarry Odd I'm running through them and so far it has them from npm link ill install the global and check

@KmBarnett I'm on version 1.8.0, and select yarn as my package manager

@jasonbarry I am seeing the Error with the npm version Im looking into this


Deprecate Mac support

See https://github.com/cbiffle/ruckus/issues/2

@alanbernstein  If you incorporate the changes in my fork (zen3d/ruckus), you should be able to run on a Mac.

Thanks @zen3d


Italian translation

I've made the Italian translation and I'm ready to upload, let me know how to proceed. thanks

邮件已收到，谢谢！

README-it.md


Transition ViewController in Storyboard

Hi all,
I'm new member of this project, I using NavigationDrawerController and implement LeftViewController as UITableViewController.
How to transition to new view when user click on table row item

Welcome :)
Take a look at this Sample NavigationDrawerController project. You will want to look for line #62. If you need, please reopen the issue. All the best!


Iptables error during running/installing kuma via docker

Hey Guys,
I've encountered the following error during installation via Docker. I appreciate your assistance in this case 👍
Info
Uptime Kuma Version:  louislam/uptime-kuma:1
Using Docker?:
).

According to this, it's most likely a misconfiguration of iptables on your host machine. Have you checked that your docker is actually functioning correctly, i.e. can port forward a simple service like a nginx server?

@cmandesign Restarting the docker daemon will fix that, some tool in your system is modifying iptables after Docker create it's rules.
systemctl restart docker

Thanks @chakflying & @gaby  for the quick answers.
It has been fixed by rebooting the machine.


TIME variables support

Summary
We would like to request support for the TIME variable and other time-related variables (TIME_DAY, TIME_EPOCH, etc.) in Coraza WAF. These variables are critical for logging and rule creation, improving the granularity and usability of logs.
Basic example
For example, the rule like that would benefit from such variables:
SecRule ARGS:exec "@contains /bin/bash" "id:1234,log,deny,msg:'[%{TIME_EPOCH}] Request blocked.'"

These variables would provide more comprehensive information in logs:
[ModSecurity] [1699951234] Request blocked.

Motivation
Adding support for TIME and related variables would enhance Coraza's functionality, aligning it more closely with ModSecurity features. This is particularly useful for implementing time-based rules and improving the context of logged events, such as debugging and rule evaluation.
Could you also advise on the preferred approach for implementation? We are interested in contributing via a pull request and would like to align with project guidelines.

Noted. We are missing this feature


Mgc

Reference issue

What does this implement/fix?
Adds source code to MGC and guides, tutorials, docs, etc.
Additional information

only other comment is whether you've done any power sims with this implementation? Overall looks pretty good, just had minor syntax comments mostly