Remove global -Wno-unused-parameter warning suppression

Add the suppression to wasm/lib/CMakeLists.txt because the source code there can't be modified but there are two unused parameters in signature_util.cc
Built different presets with both GCC and Clang. Built all conditionally built plugins.
Let me try again and see if I'm missing some other build configuration.

[approve ci]

[approve ci]

[approve ci]

Can't see the reason for the above failures in the console outputs. I'm not sure why.
I see only information like this
Build [Github_Builds » rocky #5437](https://ci.trafficserver.apache.org/job/Github_Builds/job/rocky/5437/) completed: FAILURE
[Pipeline] echo
Build of 'Github_Builds/rocky' returned result: FAILURE
[Pipeline] setGitHubPullRequestStatus
Setting pull request status Rocky to FAILURE with message: Failure - https://ci.trafficserver.apache.org/job/Github_Builds/job/rocky/5437/

Am I missing something again?

On Rocky:
../src/iocore/net/quic/QUICStreamManager.cc:105:79: error: unused parameter 'err' [-Werror=unused-parameter]
  105 | QUICStreamManager::create_stream(QUICStreamId stream_id, QUICConnectionError &err)

On OSX:
/Users/jenkins/workspace/Github_Builds/osx/src/plugins/experimental/fq_pacing/fq_pacing.cc:200:22: error: unused parameter 'instance' [-Werror,-Wunused-parameter]
TSRemapDoRemap(void *instance, TSHttpTxn txnp, TSRemapRequestInfo * /* rri ATS_UNUSED */)

On Fedora:
../example/cripts/example1.cc: In function 'void _do_init(TSRemapInterface*)':
../include/cripts/Preamble.hpp:49:62: error: unused parameter 'api_info' [-Werror=unused-parameter]
 49 | #define do_init()            void _do_init(TSRemapInterface *api_info)
    |                                            ~~~~~~~~~~~~~~~~~~^~~~~~~~
../example/cripts/example1.cc:29:1: note: in expansion of macro 'do_init'
 29 | do_init()
    | ^~~~~~~
In file included from ../example/cripts/example1.cc:255:
../include/cripts/Epilogue.hpp: In instantiation of 'bool wrap_post_remap(T*, bool, CaseTag<0>) [with T = Cript::Context]':
../include/cripts/Epilogue.hpp:342:20:   required from here
../include/cripts/Preamble.hpp:49:62: error:   342 |     wrap_post_remap(context, true, CaseArg);
../include/cripts/Preamble.hpp:49:62: error:       |     ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
../include/cripts/Epilogue.hpp:84:20: error: unused parameter 'context' [-Werror=unused-parameter]
 84 | wrap_post_remap(T *context, bool execute, CaseTag<0>) -> bool
    |                 ~~~^~~~~~~
../include/cripts/Epilogue.hpp:84:34: error: unused parameter 'execute' [-Werror=unused-parameter]
 84 | wrap_post_remap(T *context, bool execute, CaseTag<0>) -> bool
    |                             ~~~~~^~~~~~~
../include/cripts/Epilogue.hpp: In instantiation of 'bool wrap_delete_instance(T*, bool, CaseTag<0>) [with T = Cript::InstanceContext]':
../include/cripts/Epilogue.hpp:448:70:   required from here
../include/cripts/Epilogue.hpp:84:34: error:   448 |   bool                   needs_delete_instance = wrap_delete_instance(&context, false, CaseArg);
../include/cripts/Epilogue.hpp:84:34: error:       |                                                  ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
../include/cripts/Epilogue.hpp:231:25: error: unused parameter 'context' [-Werror=unused-parameter]
231 | wrap_delete_instance(T *context, bool execute, CaseTag<0>) -> bool
    |                      ~~~^~~~~~~
../include/cripts/Epilogue.hpp:231:39: error: unused parameter 'execute' [-Werror=unused-parameter]
231 | wrap_delete_instance(T *context, bool execute, CaseTag<0>) -> bool

On CentOS:
../../../../src/iocore/net/UnixUDPNet.cc:87:43: error: unused parameter 'send_at_hint' [-Werror=unused-parameter]
 87 |                          struct timespec *send_at_hint)
    |                          ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~

Thank you.
I'll close this pull request.
Don't know how I missed these especially rocky and fedora presets which I built.

[approve ci]

On OSX:
/Users/jenkins/workspace/Github_Builds/osx/src/src/tscore/hugepages.cc:64:23: error: unused parameter 'enabled' [-Werror,-Wunused-parameter]
ats_hugepage_init(int enabled)

On AuTest:
../tests/tools/plugins/conf_remap_stripped.cc: In function 'TSReturnCode TSRemapInit(TSRemapInterface*, char*, int)':
../tests/tools/plugins/conf_remap_stripped.cc:26:31: error: unused parameter 'api_info' [-Werror=unused-parameter]
   26 | TSRemapInit(TSRemapInterface *api_info, char *errbuf, int errbuf_size)
      |             ~~~~~~~~~~~~~~~~~~^~~~~~~~
../tests/tools/plugins/conf_remap_stripped.cc:26:47: error: unused parameter 'errbuf' [-Werror=unused-parameter]
   26 | TSRemapInit(TSRemapInterface *api_info, char *errbuf, int errbuf_size)
      |                                         ~~~~~~^~~~~~
../tests/tools/plugins/conf_remap_stripped.cc:26:59: error: unused parameter 'errbuf_size' [-Werror=unused-parameter]
   26 | TSRemapInit(TSRemapInterface *api_info, char *errbuf, int errbuf_size)
      |                                                       ~~~~^~~~~~~~~~~
../tests/tools/plugins/conf_remap_stripped.cc: In function 'TSReturnCode TSRemapNewInstance(int, char**, void**, char*, int)':
../tests/tools/plugins/conf_remap_stripped.cc:32:24: error: unused parameter 'argc' [-Werror=unused-parameter]
   32 | TSRemapNewInstance(int argc, char *argv[], void **ih, char * /* errbuf ATS_UNUSED */, int /* errbuf_size ATS_UNUSED */)
      |                    ~~~~^~~~
../tests/tools/plugins/conf_remap_stripped.cc:32:36: error: unused parameter 'argv' [-Werror=unused-parameter]
   32 | TSRemapNewInstance(int argc, char *argv[], void **ih, char * /* errbuf ATS_UNUSED */, int /* errbuf_size ATS_UNUSED */)
      |                              ~~~~~~^~~~~~
../tests/tools/plugins/conf_remap_stripped.cc:32:51: error: unused parameter 'ih' [-Werror=unused-parameter]
   32 | TSRemapNewInstance(int argc, char *argv[], void **ih, char * /* errbuf ATS_UNUSED */, int /* errbuf_size ATS_UNUSED */)
      |                                            ~~~~~~~^~
../tests/tools/plugins/conf_remap_stripped.cc: In function 'void TSRemapDeleteInstance(void*)':
../tests/tools/plugins/conf_remap_stripped.cc:38:29: error: unused parameter 'ih' [-Werror=unused-parameter]
   38 | TSRemapDeleteInstance(void *ih)
      |                       ~~~~~~^~
../tests/tools/plugins/conf_remap_stripped.cc: In function 'TSRemapStatus TSRemapDoRemap(void*, TSHttpTxn, TSRemapRequestInfo*)':
../tests/tools/plugins/conf_remap_stripped.cc:46:22: error: unused parameter 'ih' [-Werror=unused-parameter]
   46 | TSRemapDoRemap(void *ih, TSHttpTxn rh, TSRemapRequestInfo * /* rri ATS_UNUSED */)
      |                ~~~~~~^~
../tests/tools/plugins/conf_remap_stripped.cc:46:36: error: unused parameter 'rh' [-Werror=unused-parameter]
   46 | TSRemapDoRemap(void *ih, TSHttpTxn rh, TSRemapRequestInfo * /* rri ATS_UNUSED */)

@freak82 It looks like most of the CI builds are passing now. OSX and AuTest are still unhappy. :+1:

Thank you for the help.
I'll check these.
I built OSX like
cmake --preset ci-osx -DCMAKE_C_COMPILER=/usr/bin/clang-17 -DCMAKE_CXX_COMPILER=/usr/bin/clang++-17 -DENABLE_MAGICK=ON -DENABLE_MAXMIND_ACL=ON -DENABLE_OTEL_TRACER=ON -DENABLE_STEK_SHARE=ON -DENABLE_URI_SIGNING=ON -DENABLE_WASM=ON

cmake --build ./build-ci 2>&1 | tee /z/trafficserver/build-ci/build.log

but obviously I'm still missing some defines and build flags/configurations here and there.

Exhaustively testing build configurations is hard. It could come down to the existence of support for various features in the OS, to name one possibility. We seem to be very close now, and I don't know of a good way to catch these last cases locally without the right system or special setup, so I think it's fine to let CI catch the last few for us.

[approve ci]

On OSX:
/Users/jenkins/workspace/Github_Builds/osx/src/src/tscore/ink_cap.cc:89:43: error: unused parameter 'suid' [-Werror,-Wunused-parameter]
getresuid(uid_t *uid, uid_t *euid, uid_t *suid)
                                          ^
/Users/jenkins/workspace/Github_Builds/osx/src/src/tscore/ink_cap.cc:99:43: error: unused parameter 'sgid' [-Werror,-Wunused-parameter]
getresgid(gid_t *gid, gid_t *egid, gid_t *sgid)
                                          ^
/Users/jenkins/workspace/Github_Builds/osx/src/src/tscore/ink_cap.cc:336:21: error: unused parameter 'flag' [-Werror,-Wunused-parameter]
EnableCoreFile(bool flag)

Perhaps it needs -DENABLE_POSIX_CAP?
The ParentSelection regression test failed on CentOS. Although concerning, this is a transient failure and unrelated to these changes.

Ok. Thank you. I'll try with -DENABLE_POSIX_CAP to see if the build errors are reproducible.

[approve ci]

On OSX:
/Users/jenkins/workspace/Github_Builds/osx/src/src/iocore/net/UnixNetVConnection.cc:1514:52: error: unused parameter 'side' [-Werror,-Wunused-parameter]
UnixNetVConnection::set_tcp_congestion_control(int side)

Thank you.
This is related to a parameter which is unused in case TCP_CONGESTION is not defined.
As far as I checked this define is used in two places and the other one is correct.
Should I do a separate pull request for this single change or I should do apply it here?

There are more OSX specific issues than I expected. I have access to an OSX machine, so I will check out your branch and see how many warnings are left.

If you can post somewhere all of the warnings I can fix them and do a separate pull request for them then.

After adding [[maybe_unused]] to the parameter for when TCP_CONGESTION is undefined, it built successfully. I did have to disable some experimental plugins for things I don't have installed, but those are high level so they shouldn't have much platform specific code. Could you make a PR for that one change?

[approve ci osx]

🎉


Office documents comparation needed

Issue Type: Feature Request
It seems that in TortoiseGit, we can directly compare office documents such as 'word', 'excel'……ect by opening both of the files in an office application. But we cannot compare office documents in GitLen now in VSC because it says we cannot open binary files, which is either too large to compare....:(
Would you mind adding this feature?
Extension version: 8.3.1
VS Code version: Code 1.23.1 (d0182c3417d225529c6d5ad24b7572815d0de9ac, 2018-05-10T17:11:38.209Z)
OS version: Windows_NT ia32 6.3.9600

GitLens builds upon the built-in diff support in vscode itself. I would recommend opening an issue with vscode itself to ask for this feature. Once vscode supported diffing office documents, GitLens would natively support it. Although, GitLens also provides commands to compare files in an external diff tool (configured in your git config), and using an external tool such as Beyond Compare could provide the support you are looking for.
Hope that helps.


[BUG] Version 112 freezes when opening a new page

Environment

chromium Version: 112
puppeteer / puppeteer-core Version: 19.8.0
Node.js Version: 18.15.0
Lambda / GCF Runtime: x86_64 Image

Expected Behavior
Launching the browser should work
Current Behavior
Browser silently hangs without any errors
Steps to Reproduce
I use this code in AWS Lambda Docker image. Chromium is built into the image to /opt/chr/chromium. All the uncompressed files files from require('@sparticus/chromium').executablePath() are moved to /opt/chr and LD_LIBRARY_PATH is adjusted accordingly.
  ...
  const executablePath = process.env.AWS_EXECUTION_ENV
    ? path.join('/opt', 'chr', 'chromium')
    : puppeteer.executablePath();

  const browser = await puppeteer.launch({
    args: chromium.args,
    defaultViewport: chromium.defaultViewport,
    executablePath,
    headless: chromium.headless,
    ignoreHTTPSErrors: true,
  });
  const page = await browser.newPage();    // <--- This is where it hangs
  await page.setContent(html);
  ...

Possible Solution
Downgrading this library to version 111 fixes the issue. I'm looking for a more future-proof solution :-)

Not sure if related, but version 112 hangs for me while being executed in a Docker image based AWS Lambda context. The error I'm seeing is this:
prctl(PR_SET_NO_NEW_PRIVS) failed

The two things i would try,

set chromium.setHeadlessMode = true. This will set the headless mode for 112 back to legacy. This should be done before launching chromium.

investigate the new args and see if one of the new ones is causing problems. I basically copied all of puppeteers default args, which we were missing some, so maybe one of them is the problem.

Also try args: [...chromium.args, "--single-process"]

I can confirm that using version 112.0.0 works.

Adding --single-process arg to 112.0.1 also makes it work.

Fixed in 112.0.2

@Sparticuz I don't think it's fixed I'm still seeing this behaviour


Add Terraform Migration Offer dropdown value on Contact Us Form/Page

Add Terraform Migration Offer value on Contact Us Form/Page

Need to add a new value to the Why are you contacting us today? dropdown field on the Contact Us page (https://www.pulumi.com/contact/) called "I want to redeem the Terraform Migration Offer".

[x] Create a contact us form called "Contact Us | Terraform Migration Offer" in HubSpot
[x] Add Campaign Member Status called, "Terraform Migration Offer Requested" in SFDC Campaign
[x] Update SFDC workflow that stamps form conversion dates/times
[ ] Add value "I want to redeem the Terraform Migration Offer" to the dropdown list
[ ] Anchor link (https://www.pulumi.com/contact/?form=tf-migration) to bring up the right Contact Us form
[ ] Push changes live to website

Contact Us | Terraform Migration Offer Form Information:

Form ID: 8c64aa2d-7c77-4d8e-9012-94d1acaefa74
Code:

Could we also get an anchor link where if someone goes to https://www.pulumi.com/contact/?form=tf-migration, it automatically brings up the Contact Us | Terraform Migration Offer form on the webpage?

@zchase I think everything should be good from the HS/SFDC end. Let me know if you need anything else to push this live!


Getting error when trying to install on OS X

Hi,
I get the following output, when trying to install IONIC (sudo npm install - g ionic) on OSX.
I already reinstalled node, npm and cordova and I consistently get this error output (have also tried with the latest Node and npm versions):
npm ERR! Darwin 15.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "ionic"
npm ERR! node v4.4.4
npm ERR! npm  v2.15.1
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR<EMAIL_ADDRESS>install: node scripts/install.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node scripts/install.js'.
npm ERR! This is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node scripts/install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls node-sass
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /usr/local/npm-debug.log
I also added the npm-debug.log
npm-debug.log.txt
Thanx for your support
Marco
P.S.: Probably I am not the first having this issue - and I spent a lot of time searching for an existing solution but didn't find one yet. So, if you are able to help me find solutions by myself better in the future/or even on this issue - be my guest - but for now I do not have starting points for the search anymore.

You should never use npm with sudo. This prevents lifecycle scripts from running which many packages rely on. If you're recieving permission errors when doing npm install -g you should fix the permission of the directory on your machine.
If you_must_ use sudo with npm you'll need to use the --unsafe-perms flag.
sudo npm install -g --unsafe-perms ...

Thanks a ton - this actually worked.


Processing time is really long

Hello, I tested your library yesterday and noticed that it is generally slow.
I'm wondering if there are any plans to optimize matrix multiplication and manipulation?

Although I hadn't originally planned to look at optimization, it's not completely out of the question. You're also more than welcome to put in a PR if you want to.


Implement Renly Baratheon (TtB)

Let me know if you think the character test is too much. I don't most cards needs such a test, or even this one specifically TBH, but it was a good opportunity to help flesh out the test framework a bit more.

FWIW, I think every card should have a test for its specification. It's the only way to make sure we can in the long term make significant refactorings with confidence we aren't breaking the world with them.
If the tests becomes too long to write or too onerous to maintain, we should look at ways of simplifying them (e.g., by factoring out deck archetypes, or common play scenarios), rather than avoid adding them.
YMMV


Use AS_XMEM_KEY_TYPE_MASK to check xmem key type.

One thing to note, now the condition on line 1224 is impossible to fail. Not sure if it should be left for clarity, or if MAX_INST is implied by the number of bits used for the instance ID and so it's not really necessary.

On the condition on 1224 being impossible to fail: Yes, but if someone were
to change the maximum instance to, say 12, I would like to capture that.
On Wed, Jul 13, 2022 at 5:29 PM ClaytonKnittel @.***>
wrote:

One thing to note, now the condition on line 1224 is impossible to fail.
Not sure if it should be left for clarity, or if MAX_INST is implied by the
number of bits used for the instance ID and so it's not really necessary.
—
Reply to this email directly, view it on GitHub
https://github.com/aerospike/asmt/pull/3#issuecomment-1183812597, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTANYMUAAWJDDZ3EK635R3VT5NPBANCNFSM53QPEEOA
.
You are receiving this because your review was requested.Message ID:
@.***>


Add Notion Importer

The Notion Importer!
Process:

In parallel, reads all files from the selected folders and creates two objects in memory, idsToFileInfo and pathsToAttachmentInfo.
Then synchronously:

Reconciles duplicate filenames (allowed in Notion but not Obsidian) by prefixing numbers onto duplicates
Converts .html to .md, translating links and relations to the correct Obsidian internal links

In parallel, writes files to the target folder, setting appropriate metadata from file properties

Also moves all attachments into the user's Attachments directory

Notes:

Any relations/links to Notion files which aren't included in the import become Obsidian links to files that don't exist yet. This enables gradually importing Notion without losing internal links.
The only issue I'm currently aware of is that date and time property fields are parsed as text by Obsidian automatically. I tried to access the app.metadataManager internal API to force the change, but it didn't work.

This is for bounty #14, we still have a full week left. It's ready for testing for everyone interested.
@joshuatazrein : I see you've resolving some issues with helpful testers on Discord, do you wanna keep doing that before we review the code?

I've resolved the issues so far mention on Discord, so I believe it's ready for testing now!

Ok, some issues which have arisen just now:

[ ] I'm stumped on this, but somehow some notes are not being imported which are found neither in "failed" or "skipped" files. I'm not sure which notes these are or what is failing. Could be a filename duplicate?
[ ] Need to handle behavior for these attachment folder settings:

[ ] Same folder as current file
[ ] In subfolder under current folder

When iterating objects, I'd prefer to use simple for-in with hasOwnProperty, or a for-of with Object.keys, rather than using Object.entries() 🙏
One thing to note is that Obsidian's htmlToMarkdown will actually also accept a DOM node. Instead of manually matching HTML strings, consider using DOMParser to get a DOM tree to work with.

Very good to know. The DOMParser will fix a lot of the finnicky RegEx. I'll switch to that as well as the for-of with Object.keys.

I labelled it "Changes requested" for now. You can re-label it when you're done addressing the comments, thanks!

@ericaxu I have finished incorporating changes but can't change tags on the pull request for some reason.

@ericaxu I have finished incorporating changes but can't change tags on the pull request for some reason. @lishid I have incorporated the DOMParser node which simplified things quite significantly.

Will change it for you!

Hmm might need a merge with master to get the latest change in. In general I would prefer not to perform formatting changes for files outside of/unrelated to this PR to avoid conflicts ❤.
The new master changes lays the groundwork for mobile support soon. I would also prefer to see us rely less on NodeJS APIs here if possible, though selecting folders don't work on mobile yet due to some technical limitations, so it might end up having to read everything from a zip.

Hmm might need a merge with master to get the latest change in. In general I would prefer not to perform formatting changes for files outside of/unrelated to this PR to avoid conflicts ❤.
The new master changes lays the groundwork for mobile support soon. I would also prefer to see us rely less on NodeJS APIs here if possible, though selecting folders don't work on mobile yet due to some technical limitations, so it might end up having to read everything from a zip.

Sorry, that's Prettier autoformatting. I can unstage that

Merged with master as well as updated @lishid's comments.

Hi there, can you please take a look at the CLA agreement located here? This is one of the steps needed before we can merge your change.
If you agree to it, please reply with "I have read the CLA agreement and I hereby sign the CLA".

Uh so after the previous updates it seems like folderPaths has been removed from the FormatImporter class. This is something I need for my importer, can you please add it back in? Without knowing which folders the user picked it's impossible to normalize the paths. Also there doesn't seem to be a folderChooserSetting anymore and my importer only works with choosing folders. Since I can't test without these can you fix ASAP?

Hmmm I see what you mean - Does notion expert into a zip the user has to manually unzip? I think we might be able to let the user keep using the zip format instead - I am working in parallel to incorporate a shared zip utility because it seems like multiple exports uses zips.
In the meantime feel free to continue working without a rebase, sorry for the oversight!

Hmmm I see what you mean - Does notion expert into a zip the user has to manually unzip? I think we might be able to let the user keep using the zip format instead - I am working in parallel to incorporate a shared zip utility because it seems like multiple exports uses zips.
In the meantime feel free to continue working without a rebase, sorry for the oversight!

Yes, the user has to manually unzip. It would be a lot less confusing to let them import from just the zip.

I have just implemented the zip reader - let me know if it works for you. Here's how to use it:
await file.readZip(async zip => {
	let entries = await zip.getEntries();
	for (let zipFile of entries) {
		// Metadata
		console.log(zipFile.filename, zipFile.uncompressedSize);
		// Contents as string
		console.log(await zipFile.getData(new TextWriter()));
		// Contents as ArrayBuffer
		console.log(await (await zipFile.getData(new BlobWriter())).arrayBuffer());
	}
});

I have just implemented the zip reader - let me know if it works for you. Here's how to use it:

await file.readZip(async zip => {

	let entries = await zip.getEntries();

	for (let zipFile of entries) {

		// Metadata

		console.log(zipFile.filename, zipFile.uncompressedSize);

		// Contents as string

		console.log(await zipFile.getData(new TextWriter()));

		// Contents as ArrayBuffer

		console.log(await (await zipFile.getData(new BlobWriter())).arrayBuffer());

	}

});

This is great, solves all the previous issues quite elegantly! Thanks.

I have just implemented the zip reader - let me know if it works for you. Here's how to use it:
await file.readZip(async zip => {
	let entries = await zip.getEntries();
	for (let zipFile of entries) {
		// Metadata
		console.log(zipFile.filename, zipFile.uncompressedSize);
		// Contents as string
		console.log(await zipFile.getData(new TextWriter()));
		// Contents as ArrayBuffer
		console.log(await (await zipFile.getData(new BlobWriter())).arrayBuffer());
	}
});

I'm not sure where the TextWriter class is; I'm not finding it. Where do I import it from?

You get them from<EMAIL_ADDRESS>

I've run into a problem. Here's the code:
         for (let zip of files) {
		await zip.readZip(async (zip) => {
			const entries = await zip.getEntries();

			for (let file of entries.filter((file) =>
				file.filename.endsWith('.html')
			)) {
				console.log('getting text', file.filename);

				const text = await file.getData(new TextWriter('utf-8'));

				console.log('got text', text);

The TextWriter seems to throw an error:

Oh huh, that seems to be the same problem as the other PR (https://github.com/obsidianmd/obsidian-importer/pull/32#discussion_r1283994590)
I wonder why I can't repro this issue.

Yeah it's very strange. Would any extra info help from my end?

As @lishid has mentioned, I got the same problem, @joshuatazrein if it's blocking you, comment out the alias for @zip.js in the esbuild.config.mjs file.

Thanks so much, working now!

I've reproduced the issue and committed a fix on master, let me know if that solves the problem!

The .zip imports are now working, I think this is ready to merge!

Oops, seems like the merge has duplicated all the files.

I will do one last pass over this PR once it's fixed. Do you happen to have a test/sample file that you can share?

Fixed! Here is my test folder (.zip of multiple .zips)
zips.zip

Sorry for the mess of the merge with master, seems like it's still reverting quite some changes 😬

Is it OK now? Seems fine on my end.

Hmm it seems like the conflict was resolved, but your PR now undoes the last few commits on master. For example see here: https://github.com/obsidianmd/obsidian-importer/pull/34/files#diff-3817194cf9ed55204dc4518448fc9ad1f788b08fec4b4d3aa16b8a989a28ba86

Cool that fixed it up.

Ok I've resolved all conflicts. Good to go?

The other thing that would help is if some comments and examples can be provided for specific parts of the conversion, especially when a regex is involved and the conversion doesn't seem obvious (example).

So I'm going over the main logic of the parser and it seems that it is reading the contents of the entire zip, and reading every single attachment into memory before parsing and processing them. I'm not sure this works well for large exports or low-ram devices like on mobile.
I am not seeing any cross-file dependencies that would require reading all files before we can process them - seems like the deduplication process only works on file names, but let me know if I'm misunderstanding any of that. Seems like we are getting an ID from an <article>, I'm wondering if we can get it from the filename instead.
I would prefer if the code would do something more like:

Read the list of files (but not the contents just yet)
Make decisions about duplicates, etc
Parse each note, process it, then save it to disk before moving onto the next
Read each attachment and save it to disk

Doing so ensures that the memory used for previous files can get garbage collected, so that we aren't holding references to the contents every single file at any point in time.

Yeah, I switched to reading the attachments first today, to only read .zip files once. I can wait to load them until the end when I'll just re-read the .zips at that point.

I've changed the process to optimize memory:

Read .zips and store filenames (still parsing HTML, but not saving it)
Resolve duplicates within idsToFileInfo
Read .zips again and convert each .html file to .md, then immediately write to disc.

I think all changes have been addressed. Is there anything else I should look at before we merge?

Changed to using .findAll instead of querySelectorAll
Updated to use ProgressReporter
checkout formats/yarle and manifest.json from master
Merge main.ts with master

Ok, I've dealt with a few more issues on Discord and I think this is ready to merge.


Bugs / Feature Requests; ONLY as help, I'm loving the software!

Some Amiga TOPAZ characters aren't displaying... [take a screenshot WITH the chars,
too.]

[Notice, this above pic is Syncterm - the Amiga TOPAZ chars don't show in icy_term, ever... on 2oFB, press "S", "C" from Main Menu to see.]
When shift is held, backspace doesn't work - or, can't get input from two
buttons at once.
Import syncterm.lst or netrunner.phn? [MagiTerm, Muffinterm... supply example
phonebook files.]
Downloads don't start automagically; have to click the icon.
Uploads/Downloads don't end correctly for me; connection hangs and keyboard
presses display weird ANSi like characters... both on SSH & TELNET. Have to
disconnect to 'fix' - transfers are br0ken.

After the above 'issue', reconnects dont work either - still in that 'mode' or - characters dont display/type correctly... still connected in the BG??? or...
I just tested TODAY and a download exited perfectly, so... hmmmm. [More testing]

No scrollback buffer???
4:3 mode? The aspect ratio seems stuck to 16:9 or similar - I'd prefer true
CRT/4:3 screen size. [Can't change by dragging; but I'd PREFER a menu options -
16:9 (or whatever it currently is) or 4:3...]
SSH is only connecting intermittently [More testing is being done to dial in the 'when']

I'm running Arch Linux in a Wayland environment...
$ uname -a
Linux arch-frame 6.7.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 08 Mar 2024 01:59:01 +0000 x86_64 GNU/Linux

Having some hangups about both Syncterm AND Netrunner and would really get behind icy_term; understand if some of my feature requests aren't in your wheelhouse or perview, but wanted to suggest them anyway. I'll further test any of the listed bugs and am driving icy_term as my daily now - so I'll be keeping a lit of all future things that I come across, too. Again, ONLY to help - don't worry if you don't want to get to all the things or whatnot, but I think this could become a very full-featured BBS terminal.

I'll look at them - no worries. ATM I'm busy reorganizing my projects in general. It has grown too much.  I'll move that repo and I'm investing too much in icy_bbs now but icy_term is something I'll look at.
The main issue I didn't that much effort the last ~6 months in term/draw/view is that I might switch to another ui library. Depends on the new pop os cosmic desktop's design choices.  If I feel it's worth fitting in their new cosmic deskotp I'll switch the UI lib.


[Backport 1.0] Username validation for special characters (#2277)

Description
Username validation for special characters (#2277)

Only prevent user creation on colon characters, separate out tests

Signed-off-by: Rutuja Surve<EMAIL_ADDRESS>Signed-off-by: Rutuja Surve<EMAIL_ADDRESS>Signed-off-by: Peter Nied<EMAIL_ADDRESS>Co-authored-by: Peter Nied<EMAIL_ADDRESS>(cherry picked from commit efbc48b)

@rutuja-amazon I've restarted the tests - could you look into the failures if there are any?

@peternied CI is still failing.
Could we re-trigger the test for PR for 1.1 backport as well?

@peternied CI is still failing. Could we re-trigger the test for PR for 1.1 backport as well?

@rutuja-amazon CI isn't building at all, could you look into the failure [link] if you'd like this change merged?  While bypassing flaky tests is typical in our v1 series of branches merging without a build seems rife for problems consuming this or future backports.
The maintainers do not support these older versions directly, but would happily accept additional changes if you'd like to fix the issues seen here.

@rutuja-amazon I haven't seen updates for a while, I'm going to close out this pull request, please let me know if you'd like me to reopen it.

Hi @peternied , can we re-open to PR to re-run the CI pipeline, I'm unable to see the re-open option

Not sure what caused the CI failure earlier as logs were deleted, re-running the test to ensure everything is cleanly passing

@opensearch-project/security Figured out what was making these logs harder to read, and posted a stack overflow question / answer to help others.  Please take a look and comment or +1 if you think it is useful.

GitHub Action job step failed with Error: The log was not found. message instead of expected log files


Added more tests por pages

Added more tests for mezzanine pages to increase code coverage.
Found a bug in models_for_pages (commented test fails with "PageAdmin.get_content_models() requires self argument")

Thanks for this! Could you either remove the commented code or fix the issue with it?

Not sure about how to fix the bug so I removed the commented test

Not sure about how to fix the bug so I removed the commented test

Thank you!


Issue Credential: initiate with issue message

Issue Credential as a protocol was formulated with support for credential formats like AnonCreds that require exchange of key cryptographic primitives prior to issuance. This resulted in the offer-request-issue-ack and proposal-offer-request-issue-ack flows we have today. However, not all credential formats have these requirements. LDP-VC credentials can skip straight to the issuing a credential in many circumstances. The protocol as specified right now requires that all issuer-initiated flows start from the offer message, despite the differing requirements between credential formats.
This has been discussed on the Aries WG call and the resolution was that it's fine for credential formats that don't require prior steps to begin with the issue message.
We should update the protocol to reflect this resolution.
Implications to discuss: how does this affect the version of the protocol?
cc @TelegramSam

cc @chumbert

According to what I see in the text of the RFC, offer is an optional step — https://github.com/hyperledger/aries-rfcs/tree/main/features/0453-issue-credential-v2#messages

offer-credential - Issuer to potential Holder (optional for some credential implementations; required for Hyperledger Indy).

I certainly remember when we defined this protocol that Offer was not supposed to be required for all credential formats, so I believe that is the expectation.  I’m good with this being a clarification.

Yes — we need to convert all the language in the RFCs to replace Indy with AnonCreds where it references the AnonCreds credential format.  That gets a tad tricky where the refrerences are in data models.  In that case, we change the text, but include a note to indicate why the data items reference “indy”.

@swcurran based on current wording, I think the statement that the offer is optional implies that the exchange can start with a request but no alternatives where the issuer initiates are given. As a result of this language, as a concrete example, ACA-Py expects (requires) that a credential request must always be received no matter the credential type or who initiated it. I think we could probably still get away with having this just be a clarification and not a version bump but if implementations were strictly adhering to this language like ACA-Py does, we might see some compatibility issues.

In the last comment — did you mean to say "expects (requires) that a credential request offer must always be…”?
The challenge happens with credential types that don’t specify what is needed to issue a credential. AnonCreds defines both data models and the interactions needed to issue a credential. That level of opinion makes it easier to know what to do. With a JSON-LD W3C credential using LD-Signatures), where only a data model is defined, there is no guidance on any steps in the issuance. An issuer doesn’t even need a credential request.  If the issuer wanted some sort of SubjectID to put into the credential, they might require a credential request from the holder. They might even explicitly ask for that from the holder via a credential offer (which is what happens in AnonCreds — including the use of a nonce to prevent a replay attack by the holder).
I think the approach that is needed is that the base protocol issue-credential should define the options, and it is up to the RFCs that defines the usage for a specific credential type.
I agree that if there is a credential type that supports starting with a credential request, it should be possible in the concrete implementations.  I’d be interested in knowing what assumptions are built into ACA-Py’s support for JSON-LD W3C credentials with LD-Signatures and BBS+ signatures.

Sorry — I thought you were saying you wanted to start at the request-credential, but you are talking about starting at issue-credential without the prior steps.  I don’t think that was necessarily anticipated in the discussions we had at the time we defined this protocol, but I don’t see that is against the spirit of the protocol. The idea is support the needs of different formats. I would be interested in what RFC 0593 (LD Signatures) and RFC 0646 (BBS+ Signatures) say they should support.  Do they talk about being able to start with an “issue”?  Yes, I know — I could look… :-)
I would be open to a PR that clarifies the starting point as being flexible, and then once we see the wording (and perhaps how you want to use it) we can see if that is a clarification of the existing protocol, or would require a version change.  I’m betting on clarification, but we’ll see :-).

Starting at issue credential makes sense to me. Also because the jsonld format doesn't provide a way to do proof of possesion of the subject did, so that would need to be handled separately. That's how an offer/request flow would be most useful

If it happens to be the same DID as the DIDComm connection, then proof of possession is automatic. If not, we'd need to include a separate proof of possession as @TimoGlastra describes.


Ideas for deployment

Some ideas for the deployment of the ML models.
You can do something simple with cherrypy, like https://github.com/miguelgfierro/sciblog_support/blob/main/Intro_to_Machine_Learning_API/Intro_to_Cloud_ML_with_Flask_and_CNTK.ipynb
Something more advanced would involve Kubernetes, like in this notebook: https://github.com/microsoft/recommenders/blob/main/examples/05_operationalize/als_movie_o16n.ipynb

Started exploring the Kubernetes solution for the deployment and created a new branch (cloud_features) for this issue.

Successfully created IaC for data bricks in Azure and linked Github repo for scheduling jobs with @pabloortegaa .
Next steps to take:

[ ] Migration of load_data.py from Google Drive API to Azure Blob Storage.
[ ] Create environment variables for the keys in Azure and include them in data bricks jobs.
[ ] Learn how to import the repo as a package in data bricks notebooks (ideally through the repo instead of a wheel file).
[ ] Design a good workflow with Delta Live Tables for the data prep stage.
[ ] Migrate example notebook to data bricks (especially the feature engineering part).
[ ] Make research on whether we want the model running in data bricks or Azure ML Services.

Deployed to Azure with the recommended advanced architecture


Add management api for continuous export of branches

Part of #534.

Codecov Report

Merging #844 into master will increase coverage by 0.42%.
The diff coverage is 62.80%.

@@            Coverage Diff             @@
##           master     #844      +/-   ##
==========================================
+ Coverage   42.90%   43.33%   +0.42%
==========================================
  Files         135      137       +2
  Lines       10571    10769     +198
==========================================
+ Hits         4536     4667     +131
- Misses       5444     5494      +50
- Partials      591      608      +17

Impacted Files
Coverage Δ

catalog/cataloger.go
68.14% <ø> (ø)

api/api_controller.go
38.21% <56.89%> (+0.73%)
:arrow_up:

catalog/cataloger_export.go
68.25% <68.25%> (ø)

catalog/views.go
97.01% <0.00%> (-1.65%)
:arrow_down:

catalog/cataloger_merge.go
60.81% <0.00%> (-0.53%)
:arrow_down:

config/config.go
33.55% <0.00%> (-0.23%)
:arrow_down:

catalog/diff.go
18.51% <0.00%> (ø)

auth/metadata.go
0.00% <0.00%> (ø)

catalog/cataloger_create_repository.go
65.38% <0.00%> (ø)

catalog/db_lineage_reader.go

... and 8 more

Continue to review full report at Codecov.

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

LGTM

Thanks!


Version-1

Layout of website.

@shreevari  how to resolve this

It can be reviewed easily after #33 is taken care of. Change the target branch of this PR to the development branch. Content has to be reviewed carefully.


[Feature Request] Add UI configuration & compatibility with Combat Roll & compatibility with Bonfires

UI config to tweak its place on screen:

Combat Roll: https://github.com/LukeGrahamLandry/CombatRoll
make this, this or this valid when player are rolling.
Bonfires:
https://github.com/Wehavecookies56/Bonfires
https://www.curseforge.com/minecraft/mc-mods/bonfires
Make gear in this mod can be reinforced by it.
It would be nice if you can do that.

Very much agree, maybe also an option to move it's position? Or change the keybinds?

I second wanting Combat Roll support, as I like it much better than ED2. It looks a lot more like the MCDungeons roll as well.


Can't find chan method

The below code give an error: socket.chan is not a function
https://github.com/phoenixframework/phoenix_live_reload/blob/master/priv/static/phoenix_live_reload.js#L33
Should I upgrade phoenix to the latest one? I am currently using 0.12.0

@ruanwz so you are on this weird spot between Phoenix releases. We are releasing a new Phoenix version and have already released a Phoenix live reload plugin. You can either use Phoenix master or downgrade phoenix_live_reload one version. Sorry for the issues. :)


Allow to limit by which PRs are triggered by either PR number(s) or branch format

I want to be able to create a pipeline for a specific PR while still getting the git hooks that this resource provides, but currently that isn't possible without also providing a git reference for that PR which is too limiting (via the version).
Either limiting by a pr number or based on a branch name or branch regex would be useful.
I've created a fork to test by filtering by a specific PR number which does exactly what I need, happy for more feedback on it: https://github.com/jtarchie/github-pullrequest-resource/compare/master...roryp2:master

Why not just create a pipeline for the branch in question, ignoring the PR aspect of it all together?

This is still useful for the PR hooks, but I guess it would be easier just to use the git resource and create a separate PR hook resource


fix: bug RangePicker with componentProps valueFormat ('YYYY-MM-DD') does not return the formatted value when using form validate() method. #3690

General

✏ Mark the necessary items without changing the structure of the PR template.

[x] Pull request template structure not broken

Type

ℹ What types of changes does your code introduce?

👉 Put an x in the boxes that apply

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist

ℹ Check all checkboxes - this will indicate that you have done everything in accordance with the rules in CONTRIBUTING.

👉 Put an x in the boxes that apply.

[x] My code follows the style guidelines of this project
[x] Is the code format correct
[x] Is the git submission information standard?
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

nice catch!


Fix HMR when parent directory starts with '.'

@timneutkens
This simple change seems to work for me:
const ignored = [
    '**/.*',
    'node_modules'
]

I believe the regex is used here to try and work on windows as well. So, I wasted a bunch of time trying to figure out how to use a regex and/or the path module to ignore the parent directories until I noticed the following:

glob patterns are not filepaths. They are a type of regular language that is converted to a JavaScript regular expression. Thus, when forward slashes are defined in a glob pattern, the resulting regular expression will match windows or POSIX path separators just fine.

this is from the anymatch documentation which is what webpack uses accoring to this:
https://webpack.js.org/configuration/watch/#watchoptions-ignored
I've verified this glob pattern solves the problem in my environment, can someone test and verify that this works on windows?
:+1:

Updated to only ignore .next/ and node_modules/ per conversation with @timneutkens

How about .git ?

@rauchg good point, in fact that would clearly be more of a problem than .next. I can add that to the PR real quick, or someone can test the **/.* anymatch glob on windows, from what I've read that may work I just don't have access to a windows machine. Although it is likely to have the same problem if the matching is being passed the full path names :man_shrugging:
Maybe we could ask @arunoda if there was a specific reason for this? Outside of .git and node_modules which could both be rather large I don't see how this could really eat that much cpu :thinking:

Threw in /\.git/ which also covers .gitignore


bug: Weird Scrollbar Appears on UI

Did you check docs and existing issues?

[X] I have read all the noice.nvim docs
[X] I have updated the plugin to the latest version before submitting this issue
[X] I have searched the existing issues of noice.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
v0.10.1
Operating system/version
MacOS 14.6.1
Describe the bug

This weird scrollbar keeps randomly appearing on the UI.
Once it shows up, it doesn't go away.
When I quit NeoVim and reopen, it goes away but it appears again shortly.
This seems like it has something to do with the dialog box of the API doc (Shift + K shows these dialog boxes).
I'm using LazyVim by the way.
Steps To Reproduce

Open a TypeScript file with Neovim.
Start writing some code.
View the API doc of a certain API by placing the cursor over it and press Shift + K.

Expected Behavior
The weird scrollbar shouldn't appear on the UI.
Repro
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    { "folke/noice.nvim", opts = {} },
    -- add any other plugins here
  },
})

Can confirm! Same neovim version and OS as the OP. I haven't been able to figure out what triggers it to appear...

I experience the same bug.
Neovim version: 0.10.1
Operating system: Debian 12

Same issue.

Same issue.

Same issue.

Same issue.

I can't reproduce this and never saw this before.
Please provide a step by step repro so I can look into this.

I had the same issue but doing this removed the scrollbar so it doesn't show up anymore therefore doesn't stick around after the hover view disappears:
views = {         hover = {           scrollbar = false,         }       },

I can't reproduce this and never saw this before. Please provide a step by step repro so I can look into this.

@folke Managed to get a reproduction. I think it happens in insert mode, if the API doc overflows the pane and is then dismissed by typing. Bit hard to explain with text but I got it on video:
https://github.com/user-attachments/assets/fcc78bf8-1424-42b6-ba37-ecd15e5f8f4f
Three things to see in the video:

When the screen is too small vertically, the scrollbar stays (Happens at around 7 seconds)
When it has enough space, no scrollbar disappears correctly (Around 30 seconds)
When it doesn't have enough horizontal space, due to the split it happens again (34 seconds)

Please let me know if this doesn't make sense. The repo I used is here: https://github.com/MikeBellika/noice-scroll-repro
PS. Thank you for LazyVim, it's the best editor I've used so far!

When using the :Noice history command, if the content height is too high and a scrollbar appears, the scrollbar does not disappear when the window is closed.


Use cloudevents library in dynatrace-service

Currently, the cloudevents are manually decoded. Use the cloudevents library.

This issue is still valid.

this has been solved as a by-product of #1177


after upgrading to v2023.4.0 repeated error code: -32097, black formatter failing to connect to server

currently reverted back to an older version (v2023.2.0) to use it.
Here's an excerpt from the Black Formatter Log:
.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/libs/typeguard/_checkers.py", line 770, in load_plugins
2023-07-07 20:36:08.418 [info]     for ep in entry_points(group="typeguard.checker_lookup"):
TypeError: entry_points() got an unexpected keyword argument 'group'
2023-07-07 20:36:08.573 [info] [Error - 20:36:08] Server initialization failed.
2023-07-07 20:36:08.573 [info]   Message: Pending response rejected since connection got disposed
Code: -32097
2023-07-07 20:36:08.573 [info] [Error - 20:36:08] The Black Formatter server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
2023-07-07 20:36:08.573 [info] [Error - 20:36:08] Black Formatter client: couldn't create connection to server.
2023-07-07 20:36:08.573 [info]   Message: Pending response rejected since connection got disposed
Code: -32097
2023-07-07 20:36:08.573 [info] [Error - 20:36:08] Restarting server failed
2023-07-07 20:36:08.573 [info]   Message: Pending response rejected since connection got disposed
Code: -32097

@sirEven Can you share the full logs? This can happen if you have older typeguard, and you are using fromEnvironment for importStrategy

@karthiknadig thanks for responding so quickly was about to close it because sb else already opened a few hours ago, here is the log:
2023-07-07 20:50:26.804 [info] Name: Black Formatter
2023-07-07 20:50:26.804 [info] Module: black
2023-07-07 20:50:26.804 [info] Python extension loading
2023-07-07 20:50:26.804 [info] Waiting for interpreter from python extension.
2023-07-07 20:50:26.804 [info] No interpreter found from setting black-formatter.interpreter
2023-07-07 20:50:26.804 [info] Getting interpreter from ms-python.python extension for workspace /Users/eversin/Software Projects/technical_trading/custom_trading_bot/ta_trading_bot
2023-07-07 20:50:26.804 [info] Python extension loaded
2023-07-07 20:50:26.804 [info] Interpreter from ms-python.python extension for /Users/eversin/Software Projects/technical_trading/custom_trading_bot/ta_trading_bot: /Users/eversin/miniconda3/envs/ta_bot/bin/python
2023-07-07 20:50:26.804 [info] No interpreter found from setting black-formatter.interpreter
2023-07-07 20:50:26.804 [info] Getting interpreter from ms-python.python extension for workspace /Users/eversin/Software Projects/technical_trading/custom_trading_bot/ta_trading_bot
2023-07-07 20:50:26.804 [info] Interpreter from ms-python.python extension for /Users/eversin/Software Projects/technical_trading/custom_trading_bot/ta_trading_bot: /Users/eversin/miniconda3/envs/ta_bot/bin/python
2023-07-07 20:50:26.804 [info] Server run command: /Users/eversin/miniconda3/envs/ta_bot/bin/python /Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/tool/lsp_server.py
2023-07-07 20:50:26.804 [info] Server: Start requested.
2023-07-07 20:50:28.183 [info] Traceback (most recent call last):
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/tool/lsp_server.py", line 41, in
2023-07-07 20:50:28.183 [info]     from pygls import server, uris, workspace
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/libs/pygls/server.py", line 27, in
2023-07-07 20:50:28.184 [info]     from pygls.lsp import ConfigCallbackType, ShowDocumentCallbackType
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/libs/pygls/lsp/init.py", line 36, in
2023-07-07 20:50:28.184 [info]     from typeguard import check_type
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/libs/typeguard/init.py", line 47, in
2023-07-07 20:50:28.185 [info]     load_plugins()
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/libs/typeguard/_checkers.py", line 770, in load_plugins
2023-07-07 20:50:28.187 [info]     for ep in entry_points(group="typeguard.checker_lookup"):
TypeError: entry_points() got an unexpected keyword argument 'group'
2023-07-07 20:50:28.450 [info] [Error - 20:50:28] Server initialization failed.
2023-07-07 20:50:28.451 [info]   Message: Pending response rejected since connection got disposed
Code: -32097
2023-07-07 20:50:28.451 [info] [Info  - 20:50:28] Connection to server got closed. Server will restart.
2023-07-07 20:50:28.451 [info] true
2023-07-07 20:50:28.451 [info] [Error - 20:50:28] Black Formatter client: couldn't create connection to server.
2023-07-07 20:50:28.451 [info]   Message: Pending response rejected since connection got disposed
Code: -32097
2023-07-07 20:50:29.478 [info] Traceback (most recent call last):
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/tool/lsp_server.py", line 41, in
2023-07-07 20:50:29.478 [info]     from pygls import server, uris, workspace
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/libs/pygls/server.py", line 27, in
from pygls.lsp import ConfigCallbackType, ShowDocumentCallbackType
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/libs/pygls/lsp/init.py", line 36, in
2023-07-07 20:50:29.480 [info]     from typeguard import check_type
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/libs/typeguard/init.py", line 47, in
load_plugins()
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/libs/typeguard/_checkers.py", line 770, in load_plugins
for ep in entry_points(group="typeguard.checker_lookup"):
TypeError: entry_points() got an unexpected keyword argument 'group'
2023-07-07 20:50:29.626 [info] [Error - 20:50:29] Server initialization failed.
2023-07-07 20:50:29.626 [info]   Message: Pending response rejected since connection got disposed
Code: -32097
2023-07-07 20:50:29.626 [info] [Info  - 20:50:29] Connection to server got closed. Server will restart.
2023-07-07 20:50:29.626 [info] true
2023-07-07 20:50:29.632 [info] [Error - 20:50:29] Black Formatter client: couldn't create connection to server.
2023-07-07 20:50:29.632 [info]   Message: Pending response rejected since connection got disposed
Code: -32097
2023-07-07 20:50:29.632 [error] Server: Start failed: Error: Pending response rejected since connection got disposed
2023-07-07 20:50:31.111 [info] Traceback (most recent call last):
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/tool/lsp_server.py", line 41, in
2023-07-07 20:50:31.112 [info]     from pygls import server, uris, workspace
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/libs/pygls/server.py", line 27, in
from pygls.lsp import ConfigCallbackType, ShowDocumentCallbackType
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/libs/pygls/lsp/init.py", line 36, in
from typeguard import check_type
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/libs/typeguard/init.py", line 47, in
load_plugins()
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/libs/typeguard/_checkers.py", line 770, in load_plugins
for ep in entry_points(group="typeguard.checker_lookup"):
TypeError: entry_points() got an unexpected keyword argument 'group'
2023-07-07 20:50:31.341 [info] [Error - 20:50:31] Server initialization failed.
2023-07-07 20:50:31.342 [info]   Message: Pending response rejected since connection got disposed
Code: -32097
2023-07-07 20:50:31.342 [info] [Info  - 20:50:31] Connection to server got closed. Server will restart.
2023-07-07 20:50:31.342 [info] true
2023-07-07 20:50:31.342 [info] [Error - 20:50:31] Black Formatter client: couldn't create connection to server.
2023-07-07 20:50:31.342 [info]   Message: Pending response rejected since connection got disposed
Code: -32097
2023-07-07 20:50:31.342 [info] [Error - 20:50:31] Restarting server failed
2023-07-07 20:50:31.342 [info]   Message: Pending response rejected since connection got disposed
Code: -32097
2023-07-07 20:50:32.983 [info] Traceback (most recent call last):
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/tool/lsp_server.py", line 41, in
from pygls import server, uris, workspace
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/libs/pygls/server.py", line 27, in
from pygls.lsp import ConfigCallbackType, ShowDocumentCallbackType
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/libs/pygls/lsp/init.py", line 36, in
from typeguard import check_type
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/libs/typeguard/init.py", line 47, in
2023-07-07 20:50:32.983 [info]     load_plugins()
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/libs/typeguard/_checkers.py", line 770, in load_plugins
2023-07-07 20:50:32.984 [info]     for ep in entry_points(group="typeguard.checker_lookup"):
TypeError: entry_points() got an unexpected keyword argument 'group'
2023-07-07 20:50:33.298 [info] [Error - 20:50:33] Server initialization failed.
2023-07-07 20:50:33.298 [info]   Message: Pending response rejected since connection got disposed
Code: -32097
2023-07-07 20:50:33.298 [info] [Info  - 20:50:33] Connection to server got closed. Server will restart.
2023-07-07 20:50:33.298 [info] true
2023-07-07 20:50:33.299 [info] [Error - 20:50:33] Black Formatter client: couldn't create connection to server.
2023-07-07 20:50:33.299 [info]   Message: Pending response rejected since connection got disposed
Code: -32097
2023-07-07 20:50:33.299 [info] [Error - 20:50:33] Restarting server failed
2023-07-07 20:50:33.299 [info]   Message: Pending response rejected since connection got disposed
Code: -32097
2023-07-07 20:50:35.014 [info] Traceback (most recent call last):
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/tool/lsp_server.py", line 41, in
2023-07-07 20:50:35.014 [info]     from pygls import server, uris, workspace
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/libs/pygls/server.py", line 27, in
from pygls.lsp import ConfigCallbackType, ShowDocumentCallbackType
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/libs/pygls/lsp/init.py", line 36, in
2023-07-07 20:50:35.015 [info]     from typeguard import check_type
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/libs/typeguard/init.py", line 47, in
load_plugins()
File "/Users/eversin/.vscode/extensions/ms-python.black-formatter-2023.4.0/bundled/libs/typeguard/_checkers.py", line 770, in load_plugins
2023-07-07 20:50:35.015 [info]     for ep in entry_points(group="typeguard.checker_lookup"):
TypeError: entry_points() got an unexpected keyword argument 'group'
2023-07-07 20:50:35.283 [info] [Error - 20:50:35] Server initialization failed.
2023-07-07 20:50:35.283 [info]   Message: Pending response rejected since connection got disposed
Code: -32097
2023-07-07 20:50:35.283 [info] [Error - 20:50:35] The Black Formatter server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
2023-07-07 20:50:35.283 [info] [Error - 20:50:35] Black Formatter client: couldn't create connection to server.
2023-07-07 20:50:35.283 [info]   Message: Pending response rejected since connection got disposed
Code: -32097
2023-07-07 20:50:35.283 [info] [Error - 20:50:35] Restarting server failed
2023-07-07 20:50:35.283 [info]   Message: Pending response rejected since connection got disposed
Code: -32097

@sirEven Can you share your settings? Is the importStrategy fromEnvironment. Would it be possible for you to use the bundled black by setting useBundled?

black formatter import strategy is set to fromEnvironment
and here is my settings.json
{
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"python.testing.pytestArgs": [
"tests"
],
"todo-tree.tree.showBadges": true,
"todo-tree.tree.showCountsInTree": true,

"python.analysis.typeCheckingMode": "basic",

"[python]": {
    "editor.defaultFormatter": "ms-python.black-formatter",
    "editor.formatOnSave": true,
},

"python.formatting.provider": "none",

}
As you suggested, i changed it to bundled for now, and it seems to fix the error, the log looks okay now, and no error messages:
All done! ✨ 🍰 ✨
1 file reformatted.
2023-07-07 21:07:55.227 [info] [Trace - 21:07:55] Received response 'textDocument/formatting - (2)' in 91ms.
2023-07-07 21:07:55.235 [info] [Trace - 21:07:55] Sending notification 'textDocument/didChange'.
2023-07-07 21:07:58.057 [info] [Trace - 21:07:58] Sending request 'textDocument/formatting - (3)'.
2023-07-07 21:07:58.059 [info] [Trace - 21:07:58] Received notification 'window/logMessage'.
2023-07-07 21:07:58.059 [info] /Users/eversin/miniconda3/envs/ta_bot/bin/python -m black --stdin-filename /Users/eversin/Software Projects/technical_trading/custom_trading_bot/ta_trading_bot/src/main.py -
2023-07-07 21:07:58.059 [info] [Trace - 21:07:58] Received notification 'window/logMessage'.
2023-07-07 21:07:58.059 [info] CWD formatter: /Users/eversin/Software Projects/technical_trading/custom_trading_bot/ta_trading_bot
2023-07-07 21:07:58.081 [info] [Trace - 21:07:58] Received notification 'window/logMessage'.
2023-07-07 21:07:58.081 [info] All done! ✨ 🍰 ✨
1 file left unchanged.
2023-07-07 21:07:58.081 [info] [Trace - 21:07:58] Received response 'textDocument/formatting - (3)' in 24ms.
thanks for helping out!


Storytelling Chatbot client crashes with client-side exception

Storytelling Chatbot client sometime reports the following error on opening http://<IP_ADDRESS>:7860:
Application error: a client-side exception has occurred (see the browser console for more information).

Here is the browser console log:
TypeError: Cannot read properties of undefined (reading 'ondevicechange')
    at nx (d50e61c5-729bf43d5cce1859.js:19:31033)
    at Z.startListeningForDeviceChanges (d50e61c5-729bf43d5cce1859.js:19:42326)
    at new Z (d50e61c5-729bf43d5cce1859.js:19:49895)
    at Function.value (d50e61c5-729bf43d5cce1859.js:19:118289)
    at 647-07448eb149f02d56.js:1:32531
    at aI (fd9d1056-15205bcf7b0e6812.js:1:72882)
    at a3 (fd9d1056-15205bcf7b0e6812.js:1:84323)
    at a5 (fd9d1056-15205bcf7b0e6812.js:1:84961)
    at a8 (fd9d1056-15205bcf7b0e6812.js:1:84845)
    at a5 (fd9d1056-15205bcf7b0e6812.js:1:84941)

In the cases I don't get the above error, I get the following message:
This demo is currently at capacity. Please try again later.

To summarize, this demo doesn't work for me, or I don't know how to run it.

Hi. This error occurs when you run the demo on a host that is not localhost. This is because browsers will block access to mic and camera on anything other than localhost (this is by design.) I think we mention this in the README, but if not, I will update.
Try this: python bot_runner.py --host localhost
If that doesn't work, give it a try with ngrok.


Import Jenkins data to Firestore

Develop a program that uses the Jenkins API to import all builds for a given job to Firebase. This should be idempotent. The program will run on a schedule and constantly update Firestore with the latest builds.

Name
Description

buildId
unique identifier of the build

buildDate
date the build was started

buildQueued
the amount of time the build spent waiting to execute

buildDuration
the amount of time the build took to execute (does not include queue time)

buildSuccessful
boolean for if the build was successful or not

Completed.


Lack the tag v3

So uses: mxcl/xcodebuild@v3 causes the error.

Apologies, the github action to create these must have failed.


Function does not stop at SIGINT

Reporting a bug

[x] I am using the latest released version of Numba (most recent is visible in
the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
[x] I have included below a minimal working reproducer (if you are unsure how
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).

In [1]: import numba

In [2]: numba.__version__
Out[2]: '0.48.0'

In [3]: from numba import njit

In [4]: @njit
   ...: def S(e, x):
   ...:     S = 0
   ...:     k = 0
   ...:     while True:
   ...:         S_old = S
   ...:         S += (e - 1 / (2 * k + 3)) * x ** k
   ...:         k += 1
   ...:         if S == S_old:
   ...:             return S
   ...:

In [5]: S(0.995, -0.0007)
Out[5]: 0.6611105839137097

In [6]: S(0.995, -0.1)
Out[6]: 0.589886277949347

In [7]: S(0.995, -1.0)  # Hangs
^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C

With NUMBA_DISABLE_JIT=1 one can stop the function, which will otherwise take a very long time:
In [5]: S(0.995, -1.0)
^C---------------------------------------------------------------------------
KeyboardInterrupt                         Traceback (most recent call last)
<ipython-input-5-9499cc8a1c18> in <module>
----> 1 S(0.995, -1.0)

<ipython-input-1-8677963fd0a4> in S(e, x)
      8     while True:
      9         S_old = S
---> 10         S += (e - 1 / (2 * k + 3)) * x ** k
     11         k += 1
     12         if S == S_old:

KeyboardInterrupt:

On the other hand, if one forces a Python overflow:
In [8]: S(0.995, -2.0)
---------------------------------------------------------------------------
OverflowError                             Traceback (most recent call last)
<ipython-input-8-1b2a088ebc3f> in <module>
----> 1 S(0.995, -2.0)

<ipython-input-1-8677963fd0a4> in S(e, x)
      8     while True:
      9         S_old = S
---> 10         S += (e - 1 / (2 * k + 3)) * x ** k
     11         k += 1
     12         if S == S_old:

OverflowError: (34, 'Numerical result out of range')

the njit-ted function gets stuck as well. And finally, it also happens with a NumPy overflow:
In [3]: S(0.995, np.array(-2.0))
<ipython-input-1-8677963fd0a4>:10: RuntimeWarning: overflow encountered in power
  S += (e - 1 / (2 * k + 3)) * x ** k
<ipython-input-1-8677963fd0a4>:10: RuntimeWarning: invalid value encountered in double_scalars
  S += (e - 1 / (2 * k + 3)) * x ** k
^C---------------------------------------------------------------------------
KeyboardInterrupt                         Traceback (most recent call last)
<ipython-input-3-d0e625ea240a> in <module>
----> 1 S.py_func(0.995, np.array(-2.0))

<ipython-input-1-8677963fd0a4> in S(e, x)
      8     while True:
      9         S_old = S
---> 10         S += (e - 1 / (2 * k + 3)) * x ** k
     11         k += 1
     12         if S == S_old:

KeyboardInterrupt:

Code to copy-paste:

import numpy as np
import numba
numba.__version__
from numba import njit
@njit
def S(e, x):
    S = 0
    k = 0
    while True:
        S_old = S
        S += (e - 1 / (2 * k + 3)) * x ** k
        k += 1
        if S == S_old:
            return S

S(0.995, -0.0007)
S(0.995, -0.1)
S(0.995, -1.0)  # Hangs
S(0.995, -2.0)  # Overflows
S(0.995, np.array(-2.0))  # NumPy-overflows

Thanks for the report. I presume the issue here is lack of response to SIGINT opposed to anything about the algorithm/behaviours?

Yes, I copied the function just to have some code to reproduce. I tried some simple approaches but numba is too smart about them:
In [1]: from numba import njit

In [2]: @njit
   ...: def foo():
   ...:     while True:
   ...:         pass
   ...:

In [3]: foo()
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-3-c19b6d9633cf> in <module>
----> 1 foo()

RuntimeError: missing Environment

Great, thanks for the update. This is a known issue, I'm fairly sure there's another ticket about it somewhere, if I find it I'll cross reference. As a work around, from the terminal, I usually just ^z then kill %<jobspec>.

@stuartarchibald I also face this issue often, if I run long-computational Numba @njit-ed function in terminal then pressing Ctrl-C (SIGINT) doesn't stop program.
For me this is a long awaited feature for Numba to support signals handling (at least SIGINT).
Would be great for Numba to support installing any signal hook, like below:
@numba.njit
def f():
    sigint_fired = False
    def sigint_hook():
        nonlocal sigint_fired
        sigint_fired = True
    numba.signals.install(numba.signals.SIGINT, sigint_hook)   # imaginary module numba.signals and function install()

    for i in range(1 << 20):
        if sigint_fired:
            break
        for j in range(1 << 20):
            SomeWork(i, j)
    assert not sigint_fired

@stuartarchibald @astrojuanlu
I decided to implement small workaround for Ctrl-C issue using CFFI (C code).
Windows-only part of code in my snippet is only written by me for reference, it is not used, because other branch with standard function signal() from signal.h header implemented and works on all operating systems (including Windows), hence Windows-only code (#if 0 && defined(_WIN32) branch) is not needed and can be removed.
Running my code needs MSVC to be installed on Windows (and GCC on Linux) to compile C CFFI module.
Run demo code, wait for a while till it is prepared and compiled and then you can press Ctrl-C to see demo in action. If you will modify C source then you have to deleted files _numba_ctrl_c.* in order for module to be recompiled.
Try it online!
print('Preparing, wait...')
import numba

def import_numba_ctrl_c():
    def mod_compile():
        import cffi
        print('Compiling Numba Ctrl-C support...')
        ffi = cffi.FFI()
        ffi.set_source('_numba_ctrl_c', """
            #include <stdio.h>

            static int g_interrupted = 0;

            #if 0 && defined(_WIN32)
                // Windows version

                #include <windows.h>

                static BOOL WINAPI CtrlHandler(DWORD fdwCtrlType)
                {
                    // https://docs.microsoft.com/en-us/windows/console/registering-a-control-handler-function
                    switch (fdwCtrlType)
                    {
                        case CTRL_C_EVENT:
                            g_interrupted = 1;
                            return TRUE;
                        default:
                            return FALSE;
                    }
                }

                int Init() {
                    return SetConsoleCtrlHandler(CtrlHandler, TRUE);
                }
            #else
                // Linux version and Actually any OS version

                #include <signal.h>

                void CtrlHandler(int sig) {
                    g_interrupted = 1;
                }

                int Init() {
                    signal(SIGINT, CtrlHandler);
                    return 1;
                }
            #endif

            int Interrupted() {
                return g_interrupted;
            }
        """)
        ffi.cdef("""
            int Init();
            int Interrupted();
        """)
        ffi.compile()
    try:
        import _numba_ctrl_c
    except Exception:
        mod_compile()
        import _numba_ctrl_c
    import numba.core.typing.cffi_utils as cffi_support
    cffi_support.register_module(_numba_ctrl_c)
    return _numba_ctrl_c.lib

ctrl_c = import_numba_ctrl_c()

@numba.njit
def demo():
    ctrl_c.Init()
    with numba.objmode():
        print('Started long computation, press Ctrl-C.')
    x = 0
    for i in range(1 << 20):
        assert not ctrl_c.Interrupted(), 'Ctrl-C pressed!'
        for j in range(1 << 16):
            x *= i
            x += j
    return x

demo()


fix(CSS): fix for TypeScript 3.9+

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows Conventional Commits
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Refactoring (no functional changes, no api changes)
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

You can use typeof CSS to get type with both static methods from CSS namespace. Example

I knew I can do typeof CSS but CSS is also the name of token so it didn't work, although I haven't thought of creating utility type in a separate file. Seems like a better way to handle it, thanks for bringing it up!

Tried it and it didn't work, unfortunately naming convention for Angular token makes token name the same CSS as global CSS so we cannot do typeof :(

Right, my bad that I've missed local CSS name. And typeof window.CSS will only work after 3.6 😞
I'm sorry for unnecessary ping.


Update src/main/java/org/testng/asserts/SoftAssert.java

getMessage is null for the IAsserts created by SoftAssert.assertX(), so printing the AssertionError message is more useful.

Already done with https://github.com/cbeust/testng/commit/5bd1e02a14a684d6932ea114255c3b25e489791d


Fix Upload Geojson file rasterize poly cell size

"The default cell size should be 0.001.  And I would specify “degrees” after it so that folks know that we are not rasterizing in a projection."

fixed in v1.0.5


mrb_get_args function returns 0 unexpectedly.

When I called mrb_get_args function like below, it returns 0.
mrb_get_args(mrb, "&", &proc);

Is this correct? It looks incorrect for me.

mrb_get_args returns number of (real) arguments processed, and "&" is a implicit argument that is not counted in arguments.  So zero is the right value to return.

Hi @matz,
Thank you for replying.
I understood that block is a implicit argument.
But, I don't know what I should do when I want to know the block is given or not.
Should I call Kernel.block_given? method via mrb_funcall?
Is there another more convenient way?
I think, I don't have to check the value returned from mrb_get_args. And I ought to verify proc is nil or not instead. Is this right?

mrb_get_args("&") will give  you nil when there's no block to pass.

I see. Thank you!


Does Familia support the training of topic models?

I don't speak Chinese and it's hard to figure out what the purpose of this project is.
Does Familia support the training of different topic models(sentenceLDA, LDA or TWE) on custom datasets?
Or is it inference of unseen data using pre-trained models (download_models.sh) only?

Yes, it is only the inference using pre-trained models.

Thanks for your fast reply. Is it planned to release the code for training the models?

We don't have this plan for the moment, sorry.


adding updating requirements to the major version of XRootD (software…

…-4137)

Yes, the plugins are supposed to be ABI compatible only among major versions of XRootD and Yes, we will have to have 2 versions of the plugins available in the repos. At the moment we have the plugins for 5 in upcoming


Not Recognising .html file , instead recognising .htm file as .html file

Type: Bug
When I try to create .html file, it only recognises it as a simple text file, but when I put it as .htm file vs code recognises it as an executable file . when running .html file it shows vscode config file and an error as "Node js file depreciated". ".htm" file directly runs into chrome or any web browser through running from vs code
VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i5-11300H @ 3.10GHz (8 x 3110)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
7.79GB (1.13GB free)

Process Argv
--crash-reporter-id 9eafca6a-5cab-4b5c-891b-ac5cde80dd25

Screen Reader
no

VM
0%

Extensions (77)

Extension
Author (truncated)
Version

html-snippets
abu
0.2.1

vscode-css-formatter
aes
1.0.2

aessoft-class-autocomplete
AES
0.1.0

vscode-sqlite
ale
0.14.1

html-class-suggestions
And
1.2.1

html-end-tag-labels
ant
1.0.0

vscode-django
bat
1.10.0

htmlplay
bia
0.0.10

boto3-ide
Bot
0.5.4

vscode-tailwindcss
bra
0.9.13

doxdocgen
csc
1.4.0

flask-snippets
cst
0.1.3

dart-code
Dar
3.71.20230801

flutter
Dar
3.70.0

python-environment-manager
don
1.0.4

python-extension-pack
don
1.7.0

vscode-html-css
ecm
1.13.1

eppz-code
epp
1.2.52

prettier-vscode
esb
10.1.0

html-preview-vscode
geo
0.2.5

copilot
Git
1.104.341

pyscript
Har
0.1.1

CppSnippets
har
0.0.15

db2forzosdeveloperextension
IBM
2.1.1

better-cpp-syntax
jef
1.17.2

cpptask
kay
0.0.1

vsc-python-indent
Kev
1.18.0

unity-code-snippets
kle
2.2.5

vscode-clang
mit
0.2.4

vscode-html-format
moh
0.1.2

vscode-docker
ms-
1.26.0

csharp
ms-
2.0.376

vscode-dotnet-runtime
ms-
1.7.0

isort
ms-
2023.10.1

python
ms-
2023.15.12301911

jupyter
ms-
2023.7.1002162226

jupyter-keymap
ms-
1.1.2

jupyter-renderers
ms-
1.0.17

vscode-jupyter-cell-tags
ms-
0.1.8

vscode-jupyter-slideshow
ms-
0.1.5

remote-containers
ms-
0.304.0

remote-ssh
ms-
0.102.0

remote-ssh-edit
ms-
0.86.0

remote-wsl
ms-
0.81.0

cmake-tools
ms-
1.16.2

cpptools-extension-pack
ms-
1.3.0

remote-explorer
ms-
0.4.1

sqltools
mtx
0.28.0

awesome-flutter-snippets
Nas
4.0.1

live-server-preview
neg
0.1.4

autodocstring
njp
0.6.1

neppz
nur
0.1.0

dart-syntax-highlighting-only
osc
1.0.1

vscode-css-peek
pra
4.4.1

sqlite-viewer
qwt
0.3.13

java
red
1.21.0

format-html-in-php
rif
1.7.0

LiveServer
rit
5.7.9

vs-code-prettier-eslint
rve
5.1.0

vscode-scss-formatter
sib
3.0.0

html5-boilerplate
sid
1.1.1

html-to-css-autocompletion
sol
1.1.2

unity-tools
Tob
1.2.12

cmake
twx
0.0.17

unity-debug
Uni
3.0.2

vscode-lldb
vad
1.9.2

intellicode-api-usage-examples
Vis
0.2.7

vscodeintellicode
Vis
1.2.30

vscode-java-debug
vsc
0.53.0

vscode-java-dependency
vsc
0.23.1

vscode-java-pack
vsc
0.25.13

vscode-java-test
vsc
0.39.1

vscode-maven
vsc
0.42.0

vscode-icons
vsc
12.5.0

jinja
who
0.0.8

html-css-class-completion
Zig
1.20.0

mono-snippets
zra
0.0.2

(3 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30803845
282f8724:30602487
89544117:30613380
showlangstatbar:30737416
03d35959:30757346
pythonfmttext:30731395
pythoncmv:30756943
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
gsofa:30804715
pythonnosmt12:30797651
pythonidxptcf:30805731
pythonnoceb:30805159
asynctok:30815620
dsvsc013:30795093
dsvsc014:30804076
diffeditorv1:30812748

/pleaseConfirm
Also do you have any files.associations in your User or Workspace settings?

/confirmPlease

Please perform the following three tasks to diagnose the root cause of the issue:

[ ] 1.) Disable Extensions

Select View and pick Command Palette...
Run Developer: Reload With Extensions Disabled
👉 See if the issue reproduces

[ ] 2.) Disable Configuration

Select View and pick Command Palette...
Run Profiles: Create a Temporary Profile
👉 See if the issue reproduces

[ ] 3.) Try VS Code Insiders

Download VS Code Insiders
Install and Run it
👉 See if the issue reproduces

Then pick one of the three resolutions depending on which step has helped:

Disabling my Extensions helped
Please run the command Start Extension Bisect and follow the instructions to find the extension that is causing this issue.

Please report the issue to the extension causing this.

Disabling my configuration helped
Please report back more details about your configuration, including settings.

Using VS Code Insiders has helped
✅ This likely means that the issue has been addressed already and will be available in an upcoming release. You can safely use VS Code Insiders until the new stable version is available.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Regression in Blink causes memory leak when searching contents of "view-source" page

A Chromium/Supermium renderer process leaks memory and may crash when searching the contents of certain web pages in "view-source" mode. This is known to happen in Google Chrome 126, Supermium 124 and Supermium 126. It does not happen in a Chromium 103 nightly I just used.
The fix is designated for the next major release of Supermium.

I've narrowed it down to occurring between 119 and 122.
Anyway, enabling "word wrap" on the source alleviates the leak and the performance issue, which both seem to be caused by a line being of excessive length.

I managed to fix the memory leak, but the performance is still nothing to write home about.
The memory leak was caused by the changes in this commit and worsened by other commits: https://github.com/chromium/chromium/commit/18e5fcceb38d3cb42ba12379c08b698df9592876
So it appears the "garbage collection" does not account very well for the allocated "runs" instances inside ShapeResult when the lines are very long on a page. The solution is to free the "runs" when we're done with an instance of ShapeResult.

Do you report such things upstream to the Chromium guys bugtracker?


[Bug] grafana operator 4.6.1 upgrade issues openshift

Describe the bug
We are unable to upgrade to grafana-operator.v.5.6.1 from grafana-operator.v.5.6.0
We have a development cluster where we have automatic upgrades for the operators enabled.
This morning our cluster tried to upgrade grafana to 5.6.1 but encountered the following error:
install strategy failed: Deployment.apps "grafana-operator-controller-manager" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/managed-by":"olm", "app.kubernetes.io/name":"grafana-operator"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable
Version
v.5.6.0
To Reproduce

Install grafana operator v.5.6.0.
Approve install-plan for v.5.6.1.
Check the events of the v.5.6.1  operator csv.

Expected behavior
Successful installation of v.5.6.1
Runtime (please complete the following information):
OS: Linux
Grafana Operator Version v5.6.0
Environment: Openshift 4.12.26
Deployment type: Deployed via operatorhub

bug title is wrong, it's about upgrade from 5.6.0 -> 5.6.1. Other than that can confirm, I'm having the same issue

Excuses, corrected it

This issue was introduced in https://github.com/grafana/grafana-operator/pull/1373

Thanks for the fast reply @NissesSenap , happy to know a fix is in the works.

The fix has been applied and I have created the upstream PR to release it to OLM, hopefully it will be merged tonight.
https://github.com/redhat-openshift-ecosystem/community-operators-prod/pull/4000

Thanks for the fix @NissesSenap, only unfortunate thing is that 5.6.1 still exists on operatorhub.
meaning we cant follow the upgrade paths with automatic update on since we cant update to 5.6.1
We would then need to uninstall the operator and install 5.6.2 directly

Can't you go from 5.6.0 manually over to 5.6.2?

In openshift you can't, its either follow the different patches or uninstall the operator and install a specific version.

I haven't used OCP in years. But back in the days you could change an object called something like operatorgroup https://docs.openshift.com/container-platform/4.10/operators/understanding/olm/olm-understanding-olm.html
You should be able to set the version manually. If you can try that, it would be great, so we at least know it works.
I will try to create a PR upstream to OLM, but it won't be able to merge automatically. So I will have to get in contact with someone at redhat and normally that isn't the quickest.

Thanks a bunch @NissesSenap

If someone wants a Quick And Dirty™ to resolve this, all you need to do is remove deployment grafana-operator-controller-manager from openshift-operators namespace. The operator will re-create it automatically and proceed with update to 5.6.1 normally. I've noticed no other side-effects in any grafana instance, then again, the cluster I tested it on is not a critical/production one so your mileage may vary.

That is a very good point @tkolo , the only thing that will happen is when the operator restarts it will reconcile any potential changes that could have been done while it was gone. This happens the same way when the operator is restarted.
So it should be fine to do in a production env.

What feels like my 10th try to fix this: https://github.com/redhat-openshift-ecosystem/community-operators-prod/pull/4017
Hopefully the skip part will solve it.
Please give it a try @ginokok1996 when you got the time.

Not sure if its something on my end yet, will check further.
But it now says that its up to date even though there are new versions.

Well, that is worrying....
Don't know if OLM got some cronjob to push updates and if they do, when does it come. But I think you should have seen the other versions any way.
But I have done changes to the patch flow it was , 5.6.0 -> 5.6.1 -> 5.6.2 -> 5.6.3
And in 5.6.3 it says that you should skip 5.6.1.
So I guess it is 5.6.0 -> 5.6.2 -> 5.6.3 at least that was my intention.
And if this makes OLM break it will drive me nuts since that was the suggested workaround :D

OLM isn't making this easy haha.
Lets give it some time maybe it still needs to process some stuff.

@ginokok1996 Can you please navigate to the search tab, and search for ClusterServiceVersion in the namespace o which you've installed the grafana-operator, that'll give us some clue as to what's going on

I also reinstalled grafana 5.6.0 and restarted all the OLM pods in the lifecycle namespace.
It still says there are no updates.

We are also facing the same issue in our clusters.
Automatic update from 5.6.0 fails with the same message
        install strategy failed: Deployment.apps
        "grafana-operator-controller-manager" is invalid: spec.selector: Invalid
        value:
        v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/managed-by":"olm",
        "app.kubernetes.io/name":"grafana-operator"},
        MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable

Hey folks, for now, can you try to delete the grafana-operator-controller-manager deployment? This should unblock the update and allow it to proceed to the latest release.
Apologies for the inconvenience.
I've tested this on one of my clusters, and it unblocked the update path. Unfortunately, those that tried to update to 5.6.2 from 5.6.1 will have to do this. 5.6.3 shouldn't have this issue (I hope)

Hey folks, for now, can you try to delete the grafana-operator-controller-manager deployment? This should unblock the update and allow it to proceed to the latest release. Apologies for the inconvenience.
I've tested this on one of my clusters, and it unblocked the update path. Unfortunately, those that tried to update to 5.6.2 from 5.6.1 will have to do this. 5.6.3 shouldn't have this issue (I hope)

OLM should be able to re-deploy the operator with a new deployment, thus avoiding the "immutability issue". It shouldn't affect your running Grafana deployments

I verified it in my development environment.
I deleted the grafana-operator-controller-manager and the operator upgraded successfully to 5.6.1 and then to 5.63

Still facing the issue that when you're on version 5.6.0 openshift thinks its up to date and there are no new versions.

There is no solution for this other than what is written here: https://github.com/grafana/grafana-operator/issues/1399#issuecomment-1938523752 @ginokok1996 .
OLM have its limitations, and we can't force your cluster from doing what it was doing.
The easiest way forward you have is to just delete the old operator deployment, and it will get solved.
We have created an issue upstream about this, but it's not like a fix will come out soon.

Deleting the deployment will work to upgrade from 5.6.1 a higher version since it will then be allowed to change the labels.
However we can't even go from 5.6.0 to 5.6.1 now.
We would need to uninstall grafana and install the latest version.
Isn't the biggest issue but seems like a different problem than whats stated above.

If you have the operator from community-operators catalog, you can try restarting (deleting) pods from openshift-marketplace/community-operatros deployment. That usually does the trick for me.

What @tkolo wrote.
No matter, there is nothing the grafana-opreator maintainers can do to stop having your cluster in bad state. All we can do is apologize for the inconveniences and point to the workarounds.


tools/pipeline can not open

Describe your issue here
I have set a pipeline ,but I can not open tools/pipeline  setting always loading...

Useful
Info

Versions
Rancher v2.3.6 UI: v2.3.40

Route
authenticated.project.pipeline.pipelines.index

Could you share the error log in your Chrome console log?


Broken link to Windows plan

The link https://github.com/Microsoft/appcenter/blob/windows/specs/2019-04/Windows-Plan.md doesn't work

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

ID: 5756765e-fef2-e8d9-f8d9-5c01690095b8
Version Independent ID: b474e30a-6e59-97fc-476a-92be5ec3a01a
Content: App Center Crashes for UWP - Visual Studio App Center
Content Source: docs/sdk/crashes/uwp.md
Service: vs-appcenter
GitHub Login: @elamalani
Microsoft Alias: emalani

@bezysoftware thanks for catching, I'll fix.


404 found error

Hi,
i am getting following error
(index):31 Error: (SystemJS) XHR error (404 Not Found) loading http://localhost:3000/ng2-gantt
and i am not using angular cli

i have added like below in my systemjs.config.js file
  'ng2-gantt': {                 main: './index.js',                 defaultExtension: 'js'             },
and  i am getting error like this


docs: interval datatype

added new datatype: Interval.
This PR also updated the filenames of other data types to make the links a little bit shorter. For example, 20-data-type-time-date-types.md to datetime.md.
fixed the related broken links due to the filename changes.

Please wait https://github.com/databendlabs/bendsql/pull/536 merged. Now bendsql do not support query interval type.

Please wait databendlabs/bendsql#536 merged. Now bendsql do not support query interval type.

This PR is merged, need publish a new bendsql version or not?

Please wait databendlabs/bendsql#536 merged. Now bendsql do not support query interval type.

This PR is merged, need publish a new bendsql version or not?

Need publish new version.


read noise in PCM model

Description
Read noise implementation and documentation are different.
Here g_prog is being used
https://github.com/IBM/aihwkit/blob/647efaad59fcb8e2ca51f13cc2c6c114016274d7/src/aihwkit/inference/noise/pcm.py#L141-L142
while in the documentation at
https://github.com/IBM/aihwkit/blob/647efaad59fcb8e2ca51f13cc2c6c114016274d7/docs/source/pcm_inference.rst#L157
g_T is used.
Which one is correct?
I can send a PR if you guide me.

@maljoras

Hi @matifali ,
indeed, the documentation is correct and there is a slight inaccuracy in the code that the programmed conductance is taken and not the target conductance. The g_target is not given as the input to the function, so it is slightly simpler in the implementation to take just the g_prog. The results will be very similar, however, as the programming noise is typically a couple of percent variation, which will not significantly change the Q_s. But if you want, you could open up a PR to correct for this.  The code is indeed not 100% correct.
Thanks!
Best,
Malte

Also, the read noise is applied inside the drift_analog_weights(). So if we are not drifting the weights are we assuming there is no read noise? I mean, if I am using a PCM noise model for inference only with a  pre-trained network and I am not drifting the weights. Is there any read_noise being applied to every single inference?
https://github.com/IBM/aihwkit/blob/647efaad59fcb8e2ca51f13cc2c6c114016274d7/src/aihwkit/inference/noise/pcm.py#L123

If you only use the drift analog weights only the long-term effects to the weights are modeled. Once you call the drift_analog_weights the weights are fixed for subsequent inference calls.  If you want to add more short-term read-noise that is applied to any mat-vec, the you need to use additionally the rpu_config.forward.w_noise and rpu_config.forward.w_noise_type=WeightNoiseType.PCM_READ (see here ). This would model an additional short-term weight noise that is added to the output each time a mat-vec is done  with the same characteristics as the 1/f noise in the PCM noise model. Note that in addition there is also out_noise and inp_noise that also effect the MVM noise.


optional dependencies

I don't know if I can post this question here. Feel free to reject it, please.
What if my universal module need underscore OR lodash? May I be explicit about that in my module definition?
Thanks,
Adriano

I would love to hear about that as well.
Let say I've an UMD module which contains tons of submodules, some of these submodules depends on libraries (let say moment.js) that are not necessary for others to work. I would like for my module to be properly initialized even if those dependencies are not defined.
This behavior works fine for the global exports of the wrapper because if root.whatever is not defined well the module will be initialized with this dependency beeing undefined. But in case of AMD and commonjs it just crashes because require('something-which-doesntexist') and define(['something-which-doesntexist']) throws.

Please fix mine.


Have overlays disappear when sim is not running

First of all, thank you for this app!  Very useful in my iRacing, along with iOverlay.
One thing iOverlay does that I really appreciate is that it hides the overlays when iRacing is not actively running a driving session.  This allows me to keep iOverlay running all the time, knowing that the overlays will only show up on my screen when I need them.
SharpOverlay's spotter bars work like this, in the sense that they will not show up on the screen unless I am driving in the sim and a car is next to me.  But the Input Graph overlay is there as a grey box (by default), on my screen, even when I am not in a driving session and even when iRacing is completely closed.  It would be great if it was hidden when not in a driving session, so I can keep SharpOverlay running and have it show me the overlays when I need them.  Thanks!

Hey, I'll implement this in the next release (though I'm not sure when that will be as I've been quite busy lately).
For the meantime you can achieve this using iRacing Manager (https://members.iracing.com/jforum/posts/list/3633292.page), it will automatically open and close your selected apps when you enter a driving session.


lint: add linting tool(s) to validate experiment yamls

Some amount of work has been done in this regard. Anyone wanting to work on this should communicate here first.


Display subwindow icon on DockPaneStrip

Fixed an issue where the subwindow icons are not displayed.

Thanks for collaboration, will merge after I'm done with custom color scheme.


No option for SSL connection

Currently there seems to be no option to use an SSL connection.
We would need a new connection parameter called sslProtocol or something.
When this parameter is set we'll need to call factory.useSslProtocol("TLSv1.2"); with the given protocol.

I'll submit a pull request later today.

Is this fixed? When can we expect to have SSL config parameter?

The SSL support will be added in the next weeks. Sorry for the delay.

I'm still have no option for SSL connection


#488 Clear localStorage on tab start

Thanks for this! We'll run some tests on this soon.

Thanks for the pull request!


Add Gen AI support for metadata forms

As part of https://github.com/data-dot-all/dataall/issues/1065 I would like data.all to offer Gen AI capabilities to look at my glue schemas and my underlying data (if enabled) to propose values for all my metadata form fields. I would like the UI to be very easy to use and have a single icon to click on the every field which would suggest a value I can use which I can edit before saving.

@anmolsgandhi fyi

Hi @zsaltys, first genAI github issue. One question, the genAI feature refers to the generation of metadata values right? not the metadata form #metadata forms developed in https://github.com/data-dot-all/dataall/issues/1065?


Missing CONTRIBUTING.md file

We can have Contribution file explaining the procedure to submit the pull request for the changes.

Isn't it typically called CONTRIBUTING?

Fixed.  https://github.com/kkuchta/css-only-chat/blob/master/CONTRIBUTING.md