All UI controls in the tool window are disabled

Before submitting your bug report

[X] I believe this is a bug. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that reports the same bug
[X] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS: macOS 14
- Continue: IntelliJ Plugin

Description
All UI controls in the tool window are disabled, can't type anything or click the Continue button.
BTW, I installed material theme ui and gerry themes pro, and  Continue works well in vs code.

To reproduce
No response
Log output
No response

@danny-su Sorry about this, but thanks for giving early feedback on the alpha version! We're waiting on JetBrains to accept our latest version, but if you'd like you can install it from disk using this .zip file here. This will fix the freezing problem and also match your color scheme.
To install from disk, open Intellij settings (command+comma), go to "Plugins" in the sidebar, click the gear icon at the top, and select "Install from Disk"
continue-intellij-extension-0.0.7.zip

@sestinj I installed the version 0.0.7, but this issue wasn't fixed.

Interesting, sorry to see that - I'll be sure that it's fixed before the official version is released to the store this week, and I'll share another zip before that if you are interested

This occasionally happens to me too with version 0.0.8, but I couldn't figure out what triggers it. Sometimes when I reopen the Continue pane it has that "Nothing to show" label in the middle and the UI doesn't respond. I can still "use" the plugin with keyboard shortcuts, but I can't click on anything.

@iamjackg good to know this isn't isolated. I've seen it on my machine as well, so I'm currently working through this and should hopefully have something new on the store by beginning of next week
In the times that it hasn't been frozen, have there been any other imperfections you've noticed? Working toward releasing this officially, so all feedback will help make it better!

Yeah, a couple things I noticed:

the window that shows an incremental diff as it's being returned by the LLM changes size and flickers with every update.
in the same window, the keyboard shortcuts at the bottom have Mac key labels (I'm on Linux)

Haven't tried v0.11 yet, so I don't know if those were already fixed :)

Usability: for some reason, ctrl+backspace erases the entire input textbox instead of just the previous word.

I just realized I can't copy-paste things in the textbox either. Right clicking does nothing, and ctrl+c and ctrl+v do nothing. This is on 0.11

@iamjackg

Should be ^ (ctrl) instead of cmd for Linux, right?
Is inability to ctrl+c only in the text box, or everywhere?

And should be quick fixes for the flickering and ctrl+backspace (JetBrains was overriding it so I had to implement the behavior manually, forgot that behavior is different on Windows/Linux vs. Mac). I'll have this in 0.0.12

^ is a common representation, yes, but if you want to keep with the JetBrains UX/UI you should probably use Ctrl.

Is inability to ctrl+c only in the text box, or everywhere?
Seems to be just in the textbox. I can select and ctrl+c the Tutorial text for example.

In general, the keyboard behaviour in the textbox is pretty weird :thinking: Ctrl+Left and Ctrl+Right are supposed to move left and right word-by-word, instead they go to the start and end of the text. If I press Ctrl+Shift+Left to select the previous word, it will select the whole text. At that point, if I press Shift+Left or Shift+Right to modify the selection, it will move the end of the selection that the caret was originally at. I have no idea if it's because you're implementing a custom textbox component for the webview, but this is all very confusing :laughing:

@iamjackg thanks, makes sense.
All of that weird behavior is the Mac default lol, all simulated manually by us : ) I'll change this to reflect the OS

I just realized I can't copy-paste things in the textbox either. Right clicking does nothing, and ctrl+c and ctrl+v do nothing. This is on 0.11

+1
Had the non responsive UI besides shortcuts as well, but not in 0.0.11 so far

Lots of improvements in 0.13! No more diff flickering :)
One more usability issue: when the diff becomes longer than what can be shown on the screen, I can't scroll to keep up with the changes, because every new token coming in resets the scroll position to the top of the diff.

@timdahlmanns I believe that ctrl+c has been been solved in 0.0.13, but ctrl+v might not be working yet
@iamjackg inability to scroll is a good point, I'll take a look at this for the next release
Does the stop button eventually return to saying Continue, or is it stuck indefinitely?

@timdahlmanns I believe that ctrl+c has been been solved in 0.0.13, but ctrl+v might not be working yet

For me (on Linux) neither ctrl+c nor ctrl+shift+c works but ctrl+shift+v for insert works, ctrl+v does not.

Does the stop button eventually return to saying Continue, or is it stuck indefinitely?

It does go back to saying Continue, it's just the first context item that stays stuck.

@timdahlmanns I've been testing a few things but don't have a linux machine to validate my guesses.
The few things I'm wondering:

We are mapping the keyboard shortcut incorrectly (does alt/option/any other + v work to paste?)
Perhaps there is a separate clipboard in the web view on linux. Are you able to copy text from within the webview and paste it elsewhere inside of the webview?
And the most important question: If you go to the settings page (gear icon in the bottom right of the Continue web view) are you able to copy/paste in the system prompt textarea? This would tell me immediately whether it's a bug specific to the input box

I really don't know what's going on, but I cannot get Continue to use my OpenAI token when editing code. It seems to always revert back to the free trial.
[2023-11-07 17:03:22,753] [DEBUG] ------ Begin Logs ------
[2023-11-07 17:03:23,022] [DEBUG] Loaded Continue config file from /home/jack.gaino/.continue/config.py
[2023-11-07 17:03:23,055] [DEBUG] Starting context manager
[2023-11-07 17:03:23,056] [WARNING] Failed to load saved_context_groups.json: Expecting value: line 1 column 1 (char 0). Reverting to empty list.
[2023-11-07 17:03:23,093] [DEBUG] Sending session id: 7beec213-5f64-457a-978b-c4d42c41e19c
[2023-11-07 17:03:23,098] [DEBUG] Loading Meilisearch index...
[2023-11-07 17:03:23,134] [DEBUG] Error loading meilisearch index: 'list' object has no attribute 'items'
[2023-11-07 17:03:23,136] [WARNING] Failed to kill process on port 7700 (access denied)
[2023-11-07 17:03:23,136] [DEBUG] Using MeiliSearch at URL: http://localhost:7700
[2023-11-07 17:03:23,182] [DEBUG] Loaded 0 documents into meilisearch in 0.0034575462341308594 seconds for context provider code
[2023-11-07 17:03:23,188] [DEBUG] Loaded 1 documents into meilisearch in 0.00953054428100586 seconds for context provider diff
[2023-11-07 17:03:23,193] [DEBUG] Loaded 1 documents into meilisearch in 0.014801263809204102 seconds for context provider terminal
[2023-11-07 17:03:23,194] [DEBUG] Loaded 1 documents into meilisearch in 0.015567779541015625 seconds for context provider url
[2023-11-07 17:03:23,617] [DEBUG] Received websocket connection at url: ws://localhost:65432/gui/ws?session_id=7beec213-5f64-457a-978b-c4d42c41e19c
[2023-11-07 17:03:23,617] [DEBUG] Session started
[2023-11-07 17:03:23,617] [DEBUG] Registered websocket for session 7beec213-5f64-457a-978b-c4d42c41e19c
[2023-11-07 17:03:23,733] [DEBUG] Received websocket connection at url: ws://localhost:65432/gui/ws?session_id=7beec213-5f64-457a-978b-c4d42c41e19c
[2023-11-07 17:03:23,734] [DEBUG] Session started
[2023-11-07 17:03:23,734] [DEBUG] Registered websocket for session 7beec213-5f64-457a-978b-c4d42c41e19c
[2023-11-07 17:03:24,003] [DEBUG] Loaded 757 documents into meilisearch in 0.8251471519470215 seconds for context provider file
[2023-11-07 17:03:24,005] [DEBUG] Loaded Meilisearch index
[2023-11-07 17:04:04,084] [DEBUG] Received GUI message {"messageType":"main_input","data":{"input":"/edit Refactor this to use a Module class instead of dumping all the info in module_data as a dictionary"}}
[2023-11-07 17:04:04,827] [ERROR] Error while running step:
Traceback (most recent call last):

  File "server/continuedev/core/autopilot.py", line 437, in _run_singular_step

  File "/tmp/_MEILRTglD/continuedev/core/main.py", line 376, in __call__
    return await self.run(sdk)

  File "/tmp/_MEILRTglD/continuedev/core/steps.py", line 816, in run
    await self.stream_rif(rif, sdk)

  File "/tmp/_MEILRTglD/continuedev/core/steps.py", line 655, in stream_rif
    async for chunk in generator:

  File "/tmp/_MEILRTglD/continuedev/core/steps.py", line 635, in gen
    async for chunk in model_to_use.stream_chat(

  File "/tmp/_MEILRTglD/continuedev/libs/llm/base.py", line 406, in stream_chat
    async for chunk in self._stream_chat(messages=messages, options=options):

  File "/tmp/_MEILRTglD/continuedev/libs/llm/openai_free_trial.py", line 79, in _stream_chat
    async for item in resp:

  File "/tmp/_MEILRTglD/continuedev/libs/llm/proxy_server.py", line 67, in _stream_chat
    raise Exception(await resp.text())

Exception: Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 98, in receive
    return self.receive_nowait()
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 93, in receive_nowait
    raise WouldBlock
anyio.WouldBlock

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 78, in call_next
    message = await recv_stream.receive()
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 118, in receive
    raise EndOfStream
anyio.EndOfStream

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 108, in __call__
    response = await self.dispatch_func(request, call_next)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/main.py", line 114, in rate_limit_ip_middleware
    response = await call_next(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 84, in call_next
    raise app_exc
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 70, in coro
    await self.app(scope, receive_or_disconnect, send_no_error)
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 83, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
    raise exc
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
    raise e
  File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
    response = await func(request)
               ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 241, in app
    raw_response = await run_endpoint_function(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 167, in run_endpoint_function
    return await dependant.call(**values)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/main.py", line 213, in stream_chat
    args = parse_args(body)
           ^^^^^^^^^^^^^^^^
  File "/app/main.py", line 158, in parse_args
    raise ValueError(
ValueError: Invalid model: gpt-3.5-turbo-0613. Only 'gpt-3.5-turbo' and 'gpt-4' are supported.

You have reached your limit for free usage of our token. You can continue using Continue by entering your own OpenAI API key in VS Code settings.

My config file looks like this.

@iamjackg very likely it's because there's an error in the config file, but previously this would get reported in the UI and recently this functionality regressed. Working on putting it back in place right now.
And the Invalid model error is separate, this will be fixed as well

That's odd. It happens even if I delete the config file, let the server recreate it, then use the UI to set up a model again. And even if I follow the instructions in the documentation to do it manually. The server logs don't mention any error in validating the config file either.

Interesting, it's possible I'm wrong then.
What are server and extension version so I can test directly?

Running Continue server version 0.0.350

The extension is at 0.0.14
I suppose I could install the server manually as a package and debug through that. The bundled binary makes that difficult.

Heh, if I try running the server manually from a virtualenv I run into #597. Nevermind I guess :laughing:

Updated the extension to 0.0.16, which downloads a new version of the server, which doesn't start...
[2224772] Error loading Python lib '/tmp/_MEIfFYMGC/libpython3.11.so.1.0': dlopen: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /tmp/_MEIfFYMGC/libpython3.11.so.1.0)

@iamjackg Are you on ubuntu 20.04 by chance? There was a breaking change in one of our dependencies that forced us to build on 22.04 until we have a better solution, which could cause what you're seeing with GLIBC
Previously I believe the issue was that the server version was out of date. 0.0.350 would have been a server version from an older VS Code extension version prior to the refactor, making it incompatible. As long as you can get a newer version of the server, it should work with IntelliJ 0.16. Unfortunately due to GLIBC best path might be python -m contiuedev

Can you share what exactly you tried that led to the #597 error? Want to be sure of the continuedev package version and anything else relevant about the environment so I can test this myself.
I do believe that 597 was prior to refactor

I think #597 was caused by a version mismatch: I was using 0.0.14 with the latest version of continuedev straight from the repo.
I finally got it to work by installing the latest stable version from pypi, although I still run into strange behaviour from the extension: if I start the server manually and then start the IDE, the plugin will show the "Connecting to server" spinner forever. I have to click on the + to start a new session before I can actually interact with it.

@iamjackg I was absolutely seeing the same thing (spinning until you click "+") yesterday and was able to fix it for version 0.0.18

Starting today, I've been getting this on startup. Clicking on Continue does take me to the usual input box.

@iamjackg Sorry about this bug. We have a huge update to JetBrains coming down the pipeline for early next week, which is why so few updates in the last couple weeks. Will share an update here when it's ready. Biggest thing is removing the need for the Python server

This issue is getting a bit unwieldy and related issues have been brought up for most of the sub-issues that I recall having been mentioned, so I am going to close this. Please do create separate issues if you'd like!
Also, the newest JetBrains version solves the r.map error above and many of the bugs mentioned previously


Tracking issue for v0.2.0

Unresolved problems

[x] #8
[x] Update README (#10).

positions v0.2.0 has been released.


Even examples shouldn't have massive security holes.

The example code given for the PHP documentation has a massive security hole.
$response = FroalaEditor_File::delete($_POST['src']);

public static function delete($src) {

    $filePath = $_SERVER['DOCUMENT_ROOT'] . $src;
    // Check if file exists.
    if (file_exists($filePath)) {
      // Delete file.
      return unlink($filePath);
    }

    return true;
  }

That code allows anyone who knows what the delete URL is, to delete any file off the server, that PHP has permissions to delete.
This is sub-optimal.
Even though it is just example code, there should be some example lines that check that the file being deleted is under the appropriate directory, and probably also a note that there should be a permissions check to ensure the user is allowed to delete images.

Hi @Danack ,
I don't think the verifications should happen on the DiskManagement Class, so I updated the examples as you can see:
<?php

require __DIR__ . '/vendor/froala/wysiwyg-editor-php-sdk/lib/FroalaEditor.php';

try {
	$src = $_POST['src'];
	$upload_folder = "/uploads/";

	// If the file is inside the uploads folder
	if (substr($src, 0, strlen($upload_folder)) === $upload_folder)
	{
		$response = FroalaEditor_File::delete($src);
		echo stripslashes(json_encode('Success'));
	}
	else
	{
		echo stripslashes(json_encode('Error'));
	}
} catch (Exception $e) {
	echo $e->getMessage();
	http_response_code(404);
}

Regarding the permissions any idea to approach this? It may depend on the developers choice to do this

Hi @stefanneculai
This is an example and this security hole can be taken care by a programmer because it depends where he wants to upload his files/images, so can he only put a check on it that the user is not trying to delete anything from somewhere else.
Thank You

@shreypasari-accolite can we update the examples with some code to avoid that? Thanks in advance.

@stefanneculai
Raised PR for the mentioned thing in the examples.
Thank You

It's updated now on https://github.com/froala/editor-php-sdk-example, we'll update shortly on the website too.


Fix for issue #8

It appears that GetPowerStationPowerAndIncomeByDay returns figures for multiple dates.
Hence this "fix" in order to ensure that the correct one is taken into account.
The code could probably be cleaner but knowing that it is not 100% sur how the GoodWe API works, it is robust as such.

Should be fixed in release 1.3.2.


[Bug] I can't send the message after I unchecked the User Properties

What did I do
I want to send a message without User Properties, so I unchecked the User Properties, then I find I can't send the message.
What happened
I can't send the message
Expected
I can send the message without the User Properties
Environment

OS: Windows11 Pro for Workstations 22621.1344
MQTTX version, v1.9.1

More detail

@Seamain Hi, thanks for your feedback. Yes, this is a BUG. we will fix it in the next release.

Fixed in https://github.com/emqx/MQTTX/releases/tag/v1.9.2
Thanks


nixos/luksroot: add fido2luks options

Description of changes
fido2luks requires the flag --pin if the authenticator requires a PIN for FIDO2 operations.
The current setup only allowed authenticators without a PIN which is insecure with passwordLess set to true.
With this PR, the following options will be added:

requiresPIN to add the flag --pin to fido2luks.
salt to specify a static salt. This could replace the option passwordLess some day.
slot to specify the slot of the authenticator.
maxRetries to allow multiple tries to unlock before falling back to the usual passphrase prompt.

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Related: https://discourse.nixos.org/t/using-fido2-luks-with-yubikey-pin/15484

cc @dadada since you worked a bunch with this iirc

LGTM
An alternative would be to use an attribute set with arbitrary keys like it is done with settings to anticipate new command line options.
I only added some documentation on how to use FIDO2 with systemd initrd and systemd-cryptenroll. There also is documentation on FIDO2 with the default initrd which you may want to update with the new options. https://github.com/NixOS/nixpkgs/blob/master/nixos/doc/manual/configuration/luks-file-systems.section.md#fido2-sec-luks-file-systems-fido2
On December 20, 2023 11:13:06 PM GMT+01:00, Janik @.***> wrote:

cc @dadada since you worked a bunch with this iirc
--
Reply to this email directly or view it on GitHub:
https://github.com/NixOS/nixpkgs/pull/263631#issuecomment-1865213435
You are receiving this because you were mentioned.
Message ID: @.***>


Confidential Compute GPUs Ready state: not-ready even after attestation

My machine's specs:
CPU: Dual AMD EPYC 9224 16-Core Processor
GPU: H100 10de:2331 (vbios: 96.00.5E.00.03 cuda: 12.2 nvidia driver: 535.86.10)
Host OS: Ubuntu 22.04 with 5.19.0-rc6-snp-host-c4daeffce56e kernel
Guest OS: Ubuntu 22.04.2 with 5.19.0-rc6-snp-guest-c4daeffce56e kernel
On the guest VM, run
cclab@guest:~$ source /shared/nvAttest/bin/activate
(nvAttest) cclab@guest:~$ python3 -m verifier.cc_admin --user_mode

and the results are as follows;
Number of GPUs available : 1
-----------------------------------
Fetching GPU 0 information from GPU driver.
Using the Nonce generated by Local GPU Verifier
VERIFYING GPU : 0
	Driver version fetched : 535.86.10
	VBIOS version fetched : 96.00.5e.00.01
	Validating GPU certificate chains.
		GPU attestation report certificate chain validation successful.
			The certificate chain revocation status verification successful.
	Authenticating attestation report
		The nonce in the SPDM GET MEASUREMENT request message is matching with the generated nonce.
		Driver version fetched from the attestation report : 535.86.10
		VBIOS version fetched from the attestation report : 96.00.5e.00.01
		Attestation report signature verification successful.
		Attestation report verification successful.
	Authenticating the RIMs.
		Authenticating Driver RIM
			Fetching the driver RIM from the RIM service.
			RIM Schema validation passed.
			driver RIM certificate chain verification successful.
			The certificate chain revocation status verification successful.
			driver RIM signature verification successful.
			Driver RIM verification successful
		Authenticating VBIOS RIM.
			Fetching the VBIOS RIM from the RIM service.
			RIM Schema validation passed.
			vbios RIM certificate chain verification successful.
			The certificate chain revocation status verification successful.
			vbios RIM signature verification successful.
			VBIOS RIM verification successful
	Comparing measurements (runtime vs golden)
			The runtime measurements are matching with the golden measurements.
		GPU is in expected state.
	GPU 0 verified successfully.
	GPU Attested Successfully

However, the Confidential Compute GPUs Ready state is still not ready.
(nvAttest) cclab@guest:~$ nvidia-smi conf-compute -grs
Confidential Compute GPUs Ready state: not-ready

Do you have any idea for this?

You need to
sudo nvidia-smi conf-compute -srs 1

to manually enable this. This attestation script will not set this flag.

@hiroki-chen
Do you know what's differences between Confidential Compute GPUs Ready state and CC status ?
I thought that if the attestation on the guest VM is success, the Confidential Compute GPUs Ready state becomes Ready.
And I thouhgt that CC status on the guest VM shows just whether the CC mode on or off from the host.
Am I correctly understanding?

CC state is configured by the host.Ready state is configured by the guest admin or attestation tool.

@Tan-YiFan
then, if python3 -m verifier.cc_admin --allow_hold_cert --user_mode is successfully executed (True), onfidential Compute GPUs Ready state should become 'Ready' from 'not-ready' right?

The verifier calls set_gpu_ready_state to change the ready state. You could search this function in the repo and trace it if it is called.

@Tan-YiFan
Then, in this case, the verifier did not to change the ready state? So, it seems a bug?

Possibly. I have little knowledge about attestation and this tool.

@Tan-YiFan
Then, in this case, the verifier did not to change the ready state? So, it seems a bug?

You should run the script as sudo to change the status.

@seungsoo-lee
I second @hiroki-chen 's response.
The GA version will have a better / cleaner documentation of the tool but when you specify "user_mode", you are essentially saying the SDK to skip setting the GPU to ready state but in order for setting the GPU to a ready state (non user mode), you should execute the SDK as sudo user.
Please re-open this issue if required.


Where is the class label documentation?

@zllrunning
Sorry to disturb, could you please provide the 19 class labels documentation in your readme?
Thanks very much!

@weiweiwang @zllrunning
Look at https://github.com/zllrunning/face-parsing.PyTorch/blob/d2e684cf1588b46145635e8fe7bcc29544e5537e/test.py#L16
and compare with this list
   ["background",'skin', 'l_brow',
                    'r_brow', 'l_eye', 'r_eye',
                     'eye_g', 'l_ear', 'r_ear',
                     'ear_r','nose','mouth',
                     'u_lip', 'l_lip', 'neck',
                     'neck_l', 'cloth', 'hair', 'hat']

Should be correct, no?


opt q21 anti and semi join reorder

Proposed changes
estimation of anti and semi join need re-work. we just let tpch q21 pass.
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 33.58 seconds
load time: 450 seconds
storage size:<PHONE_NUMBER>8 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221107165247_clickbench_pr_41297.html


[Question] Will you release e.g. 4.2.0 on cocoapods with latest commit regarding Apple Silicon support?

As on title, do you plan releasing new version with Apple Silicon support?

Looking forward to next release with changes regarding Apple Silicon support.
Definitely need this, especially because of Xcode 14.3 upcoming release.

That's exactly what I am doing, thank you @lorenc-tomasz. A version bump-up would be much better.

You can use
pod 'Google-Maps-iOS-Utils', :git => 'https://github.com/googlemaps/google-maps-ios-utils.git', :commit => '637954e5bcb2a879c11a6f2cead153a6bad5339f'

but it's not official release and doesn't look good on code review.

How and where i need to put this i Podfile? Thanks

We use it as a dependency in our Capacitor Google Maps plugin, so we can't do the Podfile trick since we declare the dependency in the .podspec and, as far as I know, you can't do the commit thing in the .podspec.
So a release would be very helpful.

v4.2.0 is available now via CocoaPods and SPM.

Sorry, had some build and release issues. v4.2.2 should work.

Thank you for information.


Tag Shapes Property - Rounded vs Pill

Summary
Hey, just wanted to point out that the pill shape buttons and rounded shape buttons in the UI components seem to be swapped. I could be totally wrong, but I thought I'd ask if that's what you intended. I'd like to make a PR for this if this was unintentional :)
Possible solution
In the shape property for the tag-input.tsx component, rounded could be rounded-lg and pill could be rounded-full, like the image I found online on the right:

Current screenshots from demo website:
Rounded (for shadcn-tag-input):

Pill (for shadcn-tag-input):

Hey, this was unintentional. Thanks for pointing that out. Create the PR, and I'll approve it right away


[fix] 2016 -> 2017

Hi
It is a new year.
Repaired footer.

@acburst @Dogfalo Please look into it and do the needful

Thanks!

@Dogfalo Finally a PR merged. With so many PRs pending i was wondering if anyone is looking in the framework anymore

@developeranirudhprabhu seemingly you're new to the open source world. Here there's no clients vs tradepeople but it's up to everyone to collaborate as much as he want, while being conscious that it's a luck to have a free framework that everyone can use. You just cannot keep complaining and spamming every PR because things doesn't work how you want them to work. If one is disagree he can use another framework, create one itself, stop using work of other dev or fork the original framework.
Otherwise it's true that Materialize team always, at least since 1 year, had always hundreds of open PRs and issues and they really should be more agressive by closing old issues, creating guidelines for issues but first of all look and close/merge as much of PR as possible. Tough it's up to them, if you don't  agree just leave.

We do have guidelines for issues but they are often ignored which can be frustrating. Worse is that people often treat GitHub as a Stack Overflow and open many support issues thereby burying more important issues. It takes time to look through these issues and figure out which are legitimate and sometimes they are confusingly worded thus making this task even harder. Pull Requests are even harder to look through, many times there are unexplained, incorrect changes or improper styling.
@developeranirudhprabhu what you can do to help in this regard, is to try and go further in your helping us. Instead of just telling us to look at a Pull Request or Issue, review the code yourself and tell us  if you think there are some undesirable side effects in the code or if you think there is a better solution, please comment with it. You have done this on some issues and it helps expedite the process.

@Dogfalo Thanks for the constructive feedback. I will test the PR and leave the comments accordingly. I'm new to this contribution thing so there are chances of me breaking some rules accidentally.
@NitroBAY You need to learn how to give constructive feedback in 1st place instead saying spam and asking devs to leave which seems like you are showcasing your attitude over nothing.

I agree with @NitroBAY
@Dogfalo  could you please, really be more aggressive by closing old issues

@NitroBAY I'm sorry if i sounded rude. But your response felt bit harsh. I'm new to contributing to frameworks. I liked this framework and felt i could leverage my knowledge to contribute a little here.
Hope you will understand.

@developeranirudhprabhu yes I understand. I did not ask to leave I just wanted to underline that when you get "free code" you don't complain by tagging contributors on every PR but you're thankful and you respect the rules : this is a place of free collaboration so one may not comment every PR with the same message or people shouldn't, if dogfalo forbids it, open issues just to ask for support etc. Everything is open in the Open Source world so we need to be respectful.


Namespace issue

Hi @chentong319 why do we need to give special types (string, seq) in ONNX Dialect special namespaces?
As in: https://github.com/onnx/onnx-mlir/blob/50bb626d67ca270cf947c1a59cbba57f0efbdd09/src/Dialect/ONNX/ONNXOps.hpp#L51

Does mlir provide support for these types now?


tests: fix nil point error for kubeClient

testInit is later than usage of kubeClient, this
would lead to nil pointer error when do go_parallel_test
Signed-off-by: Howard Zhang<EMAIL_ADDRESS>Release note:
None

cc: @brianmcarey @dhiller

Hm, this is weird. Our ginkgo_test binary runs tests in parallel via ginkgo and each of the parallel runs has its own initialization and process (unlike golang built-in parallel testing).

/lgtm
/approve
I am not sure if this is really related to the ginkgo_test target, but the fix makes either way sense.

Hm, this is weird. Our ginkgo_test target runs tests in parallel via ginkgo and each of the parallel runs has its own initialization and process (unlike golang built-in parallel testing).

Hi Roman, I tried in my local server, when parallel nodes number is larger than 40. It will easily meet the error:
•! [PANICKED] [0.001 seconds]
ImageUpload
pkg/virtctl/imageupload/imageupload_test.go:52
  Upload fails
  pkg/virtctl/imageupload/imageupload_test.go:618
    [It] Upload fails when using a nonexistent storageClass
    pkg/virtctl/imageupload/imageupload_test.go:669

  Test Panicked
  In [It] at: GOROOT/src/runtime/panic.go:221

  runtime error: invalid memory address or nil pointer dereference

  Full Stack Trace
    pkg/virtctl/imageupload/go_default_test_test.glob..func1.32.6()
        pkg/virtctl/imageupload/imageupload_test.go:671 +0x28

From my understanding, when doing parallel testing, ginkgo will randomly pickup tests and run them in a thread. If the test It("Upload fails when using a nonexistent storageClass", func() is pickup as the first test in a thread, kubeClient is used before calling testInit and this panic occurs.

Ah ok, so it is related to the random text execution ( not parallel testing). That makes sense.

/retest-required

/retest-required

/retest

/retest

/retest-required

/retest-required

/test pull-kubevirt-fossa


Is doesn't work(set ListView.SelectedItem in codebehind)

Hello John,
the ExtendedViewCell for SelectedBackgroundColor is doesn't work.
For example:
protected override void OnAppearing()
{
     base.OnAppearing();
     ListView.SelectedItem = Source[1];
}

The selected item is orange.
Do you have any idea?
Regards

Hi @myisoria I'm sorry, I don't, off the top of my head... but the xamarin folks have moved so much stuff around now, I'm kind of surprised it even got that far with you...
Did you have a look at the blog post at https://blog.wislon.io/posts/2017/04/11/xamforms-listview-selected-colour - where I've detailed some issues that started cropping up with it, and how far I got. Unfortunately, I have not been able to solve it completely.
One hopes that their new BindableCollections and CollectionView things will make this a problem of the past, tho I'm not looking forward to a refit of a bunch of my projects ;)


Update README.md to confirm archival

Update slightly to confirm this repo is archived and help folks find our new dev container home!

Also commented on the existing archive issue and updated its title to reflect the archival will have happened this month: https://github.com/microsoft/vscode-dev-containers/issues/1762#issuecomment-1832820505.


absent female preputial gland

Please add:
absent female preputial gland
DEF: absence of the paired, lobulated, modified sebaceous glands located on the side of the clitoris in female rodents; in contrast to the preputial glands in male rodents, clitoral glands are a minor source of olfactory stimuli contributing to sexual attractivity; unlike other sebaceous glands, they undergo progressive atrophy of the glandular portion with marked ductal ectasia as rodents age; there is no true anatomical equivalent in humans
SYN: absent clitoral gland
From J:47974
Thanks
Anna

New term added:
absent female preputial gland  MP:0013901


Transmission support for generalized_schlick_bsdf

The generalized_schlick_bsdf node is missing support for transmission in GLSL and OSL.
Marked with TODO's in code here:
https://github.com/materialx/MaterialX/blob/main/libraries/pbrlib/genglsl/mx_generalized_schlick_bsdf.glsl#L41
https://github.com/materialx/MaterialX/blob/main/libraries/pbrlib/genosl/mx_generalized_schlick_bsdf.osl#L6
For MDL it's already supported.
Linking this issue to the following PR in glTF that reported this problem:
https://github.com/KhronosGroup/MaterialX/pull/1

Thanks for this report, @niklasharrysson, and this has been addressed in #918 (GLSL) and #934 (OSL).


Error after run an example command in README - AttributeError: 'ScienceWorldEnv' object has no attribute 'get_task_names'

After run python examples/random_agent.py --task-num=13 --num-episodes=5 --simplifications-preset easy I got
ScienceWorld 1.0 API Examples - Random Agent
Traceback (most recent call last):
  File "examples/random_agent.py", line 213, in <module>
    main()
  File "examples/random_agent.py", line 209, in main
    randomModel(args)
  File "examples/random_agent.py", line 22, in randomModel
    taskNames = env.get_task_names()
AttributeError: 'ScienceWorldEnv' object has no attribute 'get_task_names'

@MarcCote Nice thanks! Let me try.

@MarcCote It's working! Thanks. Maybe you can include build from source guide? for next next people.

Great. Thanks for the suggestion. I have updated the README.


Use a slightly older revision of kitchen-ec2 (40d29858e8ee8ba14492ca5…

…4c881d961860b2ae7~1)

This was merged.


Tab names and sequencing to be corrected.

PS the link below and correct the program, tab names and program sequencing as per the sheet.
https://docs.google.com/spreadsheets/d/1uKLCnFu36P09NOL0qGgIiQABqUFnVabOKwjsUlEEzww/edit#gid=0
Column A will suggest the sequencing of the Programs to be seen on Dashboard
Column B will suggest the Program name and Spelling and casing (UPPER case or lower case)
Column C is having the old tab name that comes after clicking the Program Card-Access Dashboard (just for reference)
Column D will provide the new tab name for Column C names.
Column E will show the sequence of the tabs.
IMPORTANT : PLEASE START WITH THE ONES MARKED IN GREEN
@surendrasinghs can you pls help tagging with Projects.

All the rows have been updated. Please configure.

Duplicated Record Created


Add API policy resolve and elect for resources

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues in the following format: Resolves issue1, issue2, etc.

Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email<EMAIL_ADDRESS>to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to<EMAIL_ADDRESS>and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no
Ran FindSecurityBugs plugin and verified report? yes/no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

Codecov Report
Base: 32.63% // Head: 32.36% // Decreases project coverage by -0.28% :warning:

Coverage data is based on head (e1ec720) compared to base (c057545).
Patch coverage: 36.78% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #679      +/-   ##
==========================================
- Coverage   32.63%   32.36%   -0.28%
==========================================
  Files         135      146      +11
  Lines       14566    15248     +682
  Branches     4194     4459     +265
==========================================
+ Hits         4754     4935     +181
- Misses       9706    10204     +498
- Partials      106      109       +3

Impacted Files
Coverage Δ

...ernal/operator/apis/dp/v1alpha1/apipolicy_types.go
100.00% <ø> (ø)

...operator/apis/dp/v1alpha1/zz_generated.deepcopy.go
0.00% <0.00%> (ø)

adapter/internal/oasparser/model/http_route.go
10.15% <57.14%> (+10.15%)
:arrow_up:

idp/idp-domain-service/ballerina/DCRMUtil.bal
67.13% <0.00%> (ø)

...idp-domain-service/ballerina/oauth-api_service.bal
13.04% <0.00%> (ø)

idp/idp-domain-service/ballerina/LoginClient.bal
0.00% <0.00%> (ø)

...p/idp-domain-service/ballerina/dcr-api_service.bal
100.00% <0.00%> (ø)

idp/idp-domain-service/ballerina/DCRModels.bal
77.77% <0.00%> (ø)

idp/idp-domain-service/ballerina/Oauth2Types.bal
0.00% <0.00%> (ø)

idp/idp-domain-service/ballerina/Utils.bal
0.00% <0.00%> (ø)

... and 4 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


DBZ-6355 Fix test failure - race condition

https://issues.redhat.com/browse/DBZ-6355

@Naros Applied, thanks


Error: Property 'present' doesn't exist on type 'Toast'

Short description of the problem:
Using the Toast component from ionic-angular and Toast plugin from ionic-native results in the error about the missing method name 'present'.
What behavior are you expecting?
I expect the toast component to work like the loading component. The former throws the error but  the latter doesn't.
import { Toast }           from 'ionic-native';
import { ToastController } from 'ionic-angular';

private toastCtrl: ToastController;

constructor(toastCtrl: ToastController){
  this.toastCtrl = toastCtrl;
  this.showToastMessage('Hi! I am toasted.');
}

private showToastMessage(msg: string): any {
  let toast: Toast = this.toastCtrl.create({
    message: msg,
    duration: 3000,
    position: 'middle',
  });
  toast.present();
}

Which Ionic Version? 2.x
Run ionic info from terminal/cmd prompt: (paste output below)
Cordova CLI: 6.2.0
Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.11
Ionic CLI Version: 2.0.0-beta.32
Ionic App Lib Version: 2.0.0-beta.18
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Mac OS X El Capitan
Node Version: v5.11.1
Xcode version: Xcode 7.3.1 Build version 7D1014

Got it! That was a simple one.
It should be:
import { Toast, ToastController } from 'ionic-angular';
The component Toast (from ionic-angular) has the method name present but not the plugin Toast (from ionic-native). Unfortunately both of them have a class by name Toast


OS_Windows::execute - Expand variables in arguments

When attempting to Export to a Linux target from a Windows host, I tried to use %LOCALAPPDATA% from "Extra Args SSH", so I could specify some paths in a shorter way.
This didn't work, since ssh and its arguments are passed to OS_Windows::execute and used for CreateProcessW , so it's run directly, without Cmd.exe being involved. Because of this, the variables are not expanded.
I think it can be useful to expand variables in arguments as it would also make it easier to eg. reuse the same extra args for multiple machines.

What's the current behavior of execute on Linux/macOS? It might require the similar change.

That's true. OS_Unix::execute uses popen and that won't expand environment variables either.
In that case, maybe we should have a generic "expand environment variables" method (expand_envvars?) that has specific implementations for OS_Windows and OS_Unix? Should that be implemented in this PR or is it fine to do it in a followup?


externalGrophic issue

In previous version of mapfish print (3.9.0) I was able to customize externalGraphic url based on the feature attribute (GroupColorPrint in my case) like here:
...
"strokeWidth": 2,
"version": 2,
[Use = 0]": {
              "symbolizers": [
                {
                  "type": "point",
                  "externalGraphic": "http://myserver/dynamicimage/api/image/site/${GroupColorPrint}.svg"
                }
              ]
            },
...

I've used that to generate svg and ${GroupColorPrint} is hexadecimal code of the color that I want to achieve. And in my case every feature has different color of the svg image.
Now mapfish throws an error like:
 Illegal character in path at index 56: http://myserver/dynamicimage/apii/image/site/${GroupColorPrint}.svg
Or maybe there is another way that I can color my custom symbols based on the feature attribute.

Have you sorted this out?
I know the correct syntax would be (i don't think you can concatenate a string with a feature property value...)
"externalGraphic":[GroupColorPrint]
having the property "GroupColorPrint" in the feature with the full url like
{ "type": "Feature","properties":{"GroupColorPrint": "http://myserver/dynamicimage/api/image/site/#123456.svg"}...}
but another problem arises (using MFP 3.17.0).
java.net.MalformedURLException: no protocol: ["GroupColorPrint"]
If i put the url directly in the vector style like
"externalGraphic": "http://server/image/image.png"
there's no problem
But if i put that on the feature property and try to use it as a parameter on the vector style then the exception arises.
Anyone has a solution for this?

Are you sure the processor order is correct in your YAML file?

I don't think this is yaml related. but which processor are you refering to?

Since some time, the print doesn't re-order automagically the processors. Can you show me the processors: section of your config.yaml?

But, for externalGraphics, looking at the code, the parseExpression method doesn't seem to be called:
https://github.com/mapfish/mapfish-print/blob/728622bb3444c1faad72dd6f41dadfb53a649332/core/src/main/java/org/mapfish/print/map/style/json/JsonStyleParserHelper.java#L190
And this line didn't change for the last 4 years.
If you look at graphicOpacity, for example, you'll see that parseExpression is invoked:
https://github.com/mapfish/mapfish-print/blob/728622bb3444c1faad72dd6f41dadfb53a649332/core/src/main/java/org/mapfish/print/map/style/json/JsonStyleParserHelper.java#L240-L241
So, to me, you cannot get values from the feature's attributes for externalGraphics. This could easily be changed in the code, though.

yes you're right! thanks
maybe a pull request for this


Allow configuration to force processing of rules on methods marked @Suppress or @SuppressWarning

Expected Behavior
If ignoreSupress: true is in the config: section of the configuration file, process rules on all methods, even methods marked with @ Suppress
if ignoreSupressWarning: true is in the config: section of the configuration file, process rules on all methods, even methods marked with @ SuppressWarning
Current Behavior
(As designed) when a method is marked with @ Suppress or @ SuppressWarning, the specified rule is not reported for that method
Context
I've been asked to analyze code that I don't own. I'd like a complete picture of results, not just the results that the author(s) want to see.

Agree, that's really valuable to track.
I was also thinking that right now we just "discard" a report if a @Suppress is discovered. Instead we could carry over this information on the report, and display a note like "X issues were identified but not reported as they were suppressed in the baseline/locally, etc."

Good idea! Probably that's a big breaking change but we should do that for 2.0. I imagine the API like this:
class Finding(
  ...
  val suppressedReasons: List<String>
) {
  val suppressed: Boolean
    get() = suppressedReasons.isNotEmpty()
}

I was working on this issue and was thinking what to do with the suppressors. Even with that name we should probably don't allow to inspection them. If I configure a rule to don't check functions with @Composable annotation we shouldn't consider that like a "suppresion", it's part of the rule configuration. It's similar to say "don't complain about the name of overrided functions". We could consider that a kind of "suppression" but it have really little sense.


build: prepare for kotlin DSL migration

Most of the changes required to migrate the build scripts to Kotlin DSL can be implemented up front and as supported in the Groovy DSL. Update the Gradle build script and settings to

Use " instead of '
Use parentheses for function calls
Exclude parentheses for core plugins, as these will be treated differently
Use task prefix to differentiate task config vs plugin config
Use .set() for some config known to use Kotlin val

TIS21-SHED

@JosephKelly FYI, we can do a lot of the work upfront without having to actually switch to Kotlin. I'm thinking this is probably the easiest way to start, get all repos standardised and then big-bang move everything to Kotlin to avoid haven't a mix of DSLs.
This is the post-migration part: https://github.com/Health-Education-England/tis-trainee-details/compare/build/migrateGradleToKotlinDsl...build/migrateGradleToKotlinDsl2?expand=1


Duplicate/clone an instance of a Model with a new $modelId

Hi, I'm really impressed by how great this library is! I would say the keystone (and mobx) makes me more fun to code than other libraries.
Now, I'm wondering what is the right way to go if you want to duplicate an instance which has a different $modelId. I hope I'm not missing something. What I would like to do is something like this (simplified):
// in a model file
const initialParams = {
  // ...
};

@model("ItemModel")
class ItemModel extends Model({
  params: prop(() => initialParams),
}) {
  @action clone() {
    const clonedItem = this.......; // Maybe I can do something here?
    return clonedItem;
  }
}

@model('ArticleModel')
export class ArticleModel extends ExtendedModel(ItemModel, {}) {}

@model('PageModel')
export class PageModel extends ExtendedModel(ItemModel, {}) {}

// in a component file
export const ArticleComponent = (someList) => {
  const article = new ArticleModel({})

  const duplicate = () => {
    const clonedArticle = article.clone();
    someList.push(clonedArticle);
  };

  const create = () => {
    // ...
  };

  return (
    <>

Title: {article.title}

      <button onClick={duplicate}> Duplicate </button>
      <button onClick={create}> Add new </button>
    </>
  );
};

You can easily clone an instance via snapshots. Take a look here for a helper method that does exactly that.
import { clone } from 'mobx-keystone';

const clonedArticle = clone(article);

Oh my, apologies. I don't know why I wasn't able to find it. I gave it a shot and it exactly solved my problem. Thanks a lot!


Algolia crawler automated job

Algolia Sales team quoted $20K/year! For a markdown crawler!! So we have to build our own based on our SamePage logic
docs on how to incorporate

Closing this for now - we have the algolia.yaml action which should get us pretty far


Check if archived external links are available again

This should be part of the external checks. Sometimes links that weren't available and were replaced by links to the archive become available again. We should also check for this.

Is covered by #125


No default jsDelivr CDN file set

This package doesn't have a default file set. You can set it via jsdelivr, browser, or main field in package.json

Hi @rhymiz, thank you, we’re aware—it’s coming with the next patch: #5667.


I want to know about other microcontrollers, you can refer to this example

I have a development board of esp32-c3-rust. I want to do some development on it. I have seen the example of ESP IDF

@eldruin Hi, can I do this

Hi @Jzow I would refer you to the support project about that microcontroller:
https://github.com/esp-rs/esp-hal/tree/main/esp32c3-hal
You can find some examples there.
Closing as unrelated.

@eldruin thanks, I will find a raspberry pie to study


jpm run broken in firefox 47 beta 3 onwards

Not sure what's going on here but our tests are broken in Firefox 47 beta 3 onwards. *Not, weirdly in the 48 branch (yet).
On beta 2 I see this message:
DEPRECATION WARNING: This path to Console.jsm is deprecated.  Please use Cu.import("resource://gre/modules/Console.jsm") to load this module.
You may find more details about this deprecation at: https://bugzil.la/912121
resource://gre/modules/devtools/Console.jsm 19 null
resource://simple-socks/data/freedom-for-firefox/freedom-for-firefox.jsm 9117 require<[43]</<
resource://simple-socks/data/freedom-for-firefox/freedom-for-firefox.jsm 9112 require<[43]<
resource://simple-socks/data/freedom-for-firefox/freedom-for-firefox.jsm 22 s
resource://simple-socks/data/freedom-for-firefox/freedom-for-firefox.jsm 22 e
resource://simple-socks/data/freedom-for-firefox/freedom-for-firefox.jsm 22 null
resource://gre/modules/commonjs/toolkit/loader.js -> resource://simple-socks/index.js 5 null
resource://gre/modules/commonjs/toolkit/loader.js 279 evaluate
resource://gre/modules/commonjs/toolkit/loader.js 331 load
resource://gre/modules/commonjs/toolkit/loader.js 768 main
resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/addon/runner.js 147 run
resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/addon/runner.js 87 startup/</<
resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js 937 Handler.prototype.process
resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js 816 this.PromiseWalker.walkerLoop
resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js 750 this.PromiseWalker.scheduleWalkerLoop/<

I know you said you already tried this, but when I ran the simple socks demo with patched freedom-for-firefox (https://github.com/freedomjs/freedom-for-firefox/tree/soycode-consolepath) I didn't see this error message. I'll keep investigating, let me know if that works for you - thanks!

Having changed the path I no longer see the warning but Simple SOCKS still doesn't work.
Investigating some more, I see the problem is that, despite running Firefox via jpm run, the extension remains disabled because it's not verified (open about:addons). This page suggests the override would disappear in Firefox 47:
https://wiki.mozilla.org/Add-ons/Extension_Signing
Since there's no mention that jpm would suddenly stop working on official builds - and moving all our testing to developer edition builds (explains why our "canary" Docker runs still pass) is, um, inconvenient to say the least - I've opened a thread with the add-ons mailing list:
https://groups.google.com/forum/?fromgroups#!topic/mozilla-labs-jetpack/e0zaG1QyrRk

Ugh, and nice work chasing this down.

Very happy to say I just tested this again and jpm seems to be working just fine in Firefox 47, 48, and 49. Must have been a bug in 47b3.
Bullet: dodged.

Happening again in 48b7!


Error Output Message

Type: Bug
Acquiring model
Acquiring model 'intellisense-members-lstm-pylance'
Acquiring model 'intellisense-members-lstm-pylance'
vs-intellicode-python was passed a model: {}.
Found bundled model for python
Activating Python extension
Error while activating Python: {"code": -4}
I think you are right, the problem lies in the Pylance extension
VS Code version: Code 1.94.1 (e10f2369d0d9614a452462f2e01cdc4aa9486296, 2024-10-05T05:44:32.189Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz (8 x 2419)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
undefined

Memory (System)
15.77GB (7.56GB free)

Process Argv
--crash-reporter-id 7f1adb6e-c611-4f52-8975-a15aa8fd6722

Screen Reader
no

VM
0%

Extensions (56)

Extension
Author (truncated)
Version

rust-bundle
1Yi
1.0.0

project-manager
ale
12.8.0

fsharp-interactive-datascience
and
1.0.12

pythonrepl
ast
0.3.1

gitignore
cod
0.9.0

githistory
don
0.6.20

python-environment-manager
don
1.2.4

python-extension-pack
don
1.7.0

rust-syntax
dus
0.6.1

gitlens
eam
15.6.0

fsharp-language-server-updated
fal
0.1.82

dependi
fil
0.7.10

code-runner
for
0.12.2

c-cpp-runner
fra
9.4.9

pythonsnippets
frh
1.0.2

fsharp-language-server
geo
0.1.28

vscode-test-explorer
hbe
2.22.1

Ionide-FAKE
Ion
1.2.3

Ionide-fsharp
Ion
7.21.2

vscode-csharp-snippets
jor
1.1.0

juliahub
Jul
0.7.8

language-julia
jul
1.124.2

rust-flash-snippets
lor
3.1.0

r
Mik
0.0.32

rust-assist
moo
0.2.3

csdevkit
ms-
1.11.14

csharp
ms-
2.50.25

dotnet-interactive-vscode
ms-
1.0.5229040

vscode-dotnet-pack
ms-
1.0.13

vscode-dotnet-runtime
ms-
2.2.0

vscodeintellicode-csharp
ms-
2.1.11

debugpy
ms-
2024.10.0

python
ms-
2024.16.1

vscode-pylance
ms-
2024.10.1

jupyter
ms-
2024.9.1

jupyter-keymap
ms-
1.1.2

jupyter-renderers
ms-
1.0.19

vscode-jupyter-cell-tags
ms-
0.1.9

vscode-jupyter-powertoys
ms-
0.1.1

vscode-jupyter-slideshow
ms-
0.1.6

cmake-tools
ms-
1.19.52

cpptools
ms-
1.21.6

cpptools-extension-pack
ms-
1.3.0

test-adapter-converter
ms-
0.2.0

r-debugger
RDe
0.5.5

r
REd
2.8.4

LiveServer
rit
5.7.9

rust-analyzer
rus
0.3.2137

tabnine-vscode
Tab
3.172.0

cmake
twx
0.0.17

vscode-lldb
vad
1.11.0

intellicode-api-usage-examples
Vis
0.2.8

vscodeintellicode
Vis
1.3.1

vscodeintellicode-completions
Vis
2.0.0

vscodeintellicode-insiders
Vis
1.1.10

vscode-open-in-github
ziy
1.3.6

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
724cj586:31013169
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
newcmakeconfigv2:31071590
impr_priority:31102340
nativerepl2:31139839
refactort:31108082
pythonrstrctxt:31112756
wkspc-onlycs-t:31132770
nativeloc1:31134641
wkspc-ranged-t:31151552
cf971741:31144450
defaultse:31146405
notype1:31151523
showbadge:31153266
5fd0e150:31146321

Thanks for reaching out. Could you provide more logs as outlined in our troubleshooting guide here?

Hi,
The problem appears every time I start a Python file or when I run a Python script.  I have been complaining about it many times but I do Microsoft can fix the Pylance extension.
Regards,
--- Andrew Goh
On Saturday, 19 October 2024 at 05:23:53 am SGT, Stella<EMAIL_ADDRESS>wrote:

Thanks for reaching out. Could you provide more logs as outlined in our troubleshooting guide here?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Now do I het the logs?
--- Andrew Goh
On Tuesday, 22 October 2024 at 01:12:21 am SGT, Stella<EMAIL_ADDRESS>wrote:

Could you please share the logs as described above? Without them, we can’t determine whether the issue is with the Pylance extension or what the problem might be if it is related to Pylance. Thanks!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Are you asking how to get the logs? Please see https://github.com/microsoft/pylance-release/blob/main/TROUBLESHOOTING.md#filing-an-issue.


BUG: API reference documentation has no main page

Describe your issue.
This isn't really a problem with scipy itself, but the documentation has a broken link. The main documentation page (https://docs.scipy.org/doc/scipy/reference/) has a link for API reference, which takes me to what looks like an unformatted version of the same page, but which has an extra /reference in the URL (https://docs.scipy.org/doc/scipy/reference/reference/index.html#scipy-api). If I click the same link again from the unformatted page, it tries to add a third /reference to the URL and then gives me a 404 error, since the page doesn't exist.
All of the API reference docs are still there, but they're only accessible by either web-searching the specific subpackage/function or else using a link from somewhere else in the docs, such as this list from the tutorial introduction (which is what I've currently bookmarked instead of the missing title page).
Reproducing Code Example
n/a

Error message
n/a

SciPy/NumPy/Python version information
n/a

Thank you for reporting @jacione. I will close it as we are tracking this in #14267


numpy.dtype error

I am using Python2.7 of ArcGIS 10.5 (cannot update python version). Installed pyxDamerauLevenshtein (1.5.3) and numpy 1.16.2 in a virtual environment as ArcGIS use numpy 1.9.3 for its core moudles.
When I run, the script run under virtual environment but I got this error..
File "__init__.pxd", line 206, in init pyxdameraulevenshtein
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 56 from C header, got 52 from PyObject

_

I just tried creating a fresh Python 2.7 virtual environment to try this out, and I got no error:
~/projects/py2test$ virtualenv -p /usr/bin/python2.7 env
Running virtualenv with interpreter /usr/bin/python2.7
New python executable in /home/gfairchild/projects/py2test/env/bin/python2.7
Also creating executable in /home/gfairchild/projects/py2test/env/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
~/projects/py2test$ source env/bin/activate
(env) ~/projects/py2test$ pip install --upgrade pip setuptools wheel
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already up-to-date: pip in ./env/lib/python2.7/site-packages (19.0.3)
Requirement already up-to-date: setuptools in ./env/lib/python2.7/site-packages (41.0.0)
Requirement already up-to-date: wheel in ./env/lib/python2.7/site-packages (0.33.1)
(env) ~/projects/py2test$ pip install pyxDamerauLevenshtein
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting pyxDamerauLevenshtein
Collecting numpy>=1.16.1 (from pyxDamerauLevenshtein)
  Using cached https://files.pythonhosted.org/packages/c4/33/8ec8dcdb4ede5d453047bbdbd01916dbaccdb63e98bba60989718f5f0876/numpy-1.16.2-cp27-cp27mu-manylinux1_x86_64.whl
Installing collected packages: numpy, pyxDamerauLevenshtein
Successfully installed numpy-1.16.2 pyxDamerauLevenshtein-1.5.3
(env) ~/projects/py2test$ python
Python 2.7.15rc1 (default, Nov 12 2018, 14:31:15)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.version.version
'1.16.2'
>>> import pyxdameraulevenshtein
>>> exit()

Are you positive that you've got the right version of NumPy installed in the venv you're using? Can you repeat the same thing I just did above and show me your output?

Ys I installed numpy 1.16.2 in the virtual virtualenv.
And just I found that, when I run, it imported the numpy from original location, of course older version, outside of virtual env that I cannot upgrade for compatibility with other modules. This happen when I run the script as ArcToolbox. How can I enforce to code to import the right numpy version?
It worked fine now when I run that virtual evn from outside of ArcGIS.

I'm glad you were able to get it working and that it's not a problem on this project's end.
Regarding how to enforce ArcGIS to use the right version of NumPy, I unfortunately can't really help you because I don't have ArcGIS to help with. Is there an ArcGIS forum you can post on to get help? What you really want is for ArcGIS to respect your local virtual environment.

Ys I have posted the question on http://stackoverflow.com/
The reason I am working with virtual environment is that ArcGIS has older numpy and pandas modules come along with ArcGIS installer. I am sure there are certain processing tools in ArcGIS that use these modules. And it does not allow me upgrade numpy and pandas unless it is in virtual environment.
I am creating a tool to match geographic names in databases/tables with standard names in a reference table. More over it will add standard codes (PCODE) for the names that will enable linking with other datasets from different sectors. If I can create a tool that will work on ArcGIS, standard name matching and PCODE insertion in spatial formats and spatial databases will be easier.
I have also made a branch for creating a plugin for QGIS and it does not have such problem.

One alternative is that you could just compile pyxDL yourself in whatever environment ArcGIS uses. If you compile it yourself, it'll work against whatever version of NumPy ArcGIS includes. That's probably the simplest thing to do at this point.

Thanks for the advice. But I have not much knowledge on compiling modules except pip install. What will be the out come from such compilation? a .DLL file or .pyd?

Anyway I tried after some googling. but got error at end

Ah, you're on Windows - I unfortunately can't really help you with compilation on Windows. :(

@knwin, were you able to make any progress on this?

no luck. same error
it seems there is a conflict with arcgis core library. The codes run fine outside of ArcGIS in the same python installed by ArcGIS.
`>>> execfile(r'C:\Python27\ArcGIS10.7\venv\pyxdl\Scripts\activate_this.py', {'file': r'C:\Python27\ArcGIS10.7\venv\pyxdl\Scripts\activate_this.py'})

from pyxdameraulevenshtein import normalized_damerau_levenshtein_distance_ndarray as ndldn
Runtime error
Traceback (most recent call last):
File "", line 1, in
File "init.pxd", line 206, in init pyxdameraulevenshtein
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 56 from C header, got 52 from PyObject
`

Hi gfairchild,
since last time, I migrated to ArcGIS 10.7 but did not install pyxDL untill your message. I came back to github and read your instruction and I installed pyxDL in venv folder with pip. Then I installed Cython too. after the reply post above, I found some clues online that Cython cause this error. So unistalled it and it is working from inside ArcGIS.
Thanks.

![image](https://user-images.githubusercontent.com/6437533/60093153-bc213380-976e-11e9-95ae-7b7a890898a3.png

To be clear, you shouldn't actually need Cython. All Cython does is create the C file (pyxdameraulevenshtein.c) from the pyx source (pyxdameraulevenshtein.pyx). All you should need is a C compiler to compile the C file for Windows. I unfortunately don't have experience doing this (all of my Python development occur on a Mac or Linux system). However, https://docs.python.org/3/extending/windows.html or https://wiki.python.org/moin/WindowsCompilers might be good places to help figure this out.

Were you able to get this fixed?

I did not try to use it on ArcGIS after a few attempts. Instead I am using it as stand alone with geopandas to read spatial vector formats. I will try again on ArcGIS as I have upgraded to 10.7 and ArcGIS Pro.


latex bucket 2 tech reborn rubber smelting

title, add recipe remainder to bucket so it retains empty bucket. i hope.

doesnt work.


first crack at it...

here's a working implementation.. it's not too pretty, and it uses localStorage.
obviously this thing didn't need Redux, but I have to use a thing to really learn it.. and I'm learning Redux.
In case the UI isn't clear.. you can click the questions to change the "response"
https://github.com/codyloyd/loser
http://codyloyd.com/loser/

Nice work!
Take a look at "10 Tips for Better Redux Architecture". You might notice a couple ways to improve your reducer.
I noticed a small issue in your calculation logic:
const calculateScore = (state) => {
  return state.reduce((score,q) => {
    if (q.response == 'N') {
      return score += 10;
    } else if (q.response == 'Y') {
      return score += 1;
    }
    return score;
  },0)
}

The += operator is a reassignment operator, but score in this context can't be reassigned. You should use the + operator, instead to make it more clear what's really going on.
Auto-increment Ids Collide
Check out cuid for safe client-generated ids.

great.. thanks!
I'm going to finish going through the Abramov course (and maybe the second one) and read the article, then come back and refactor.


[1.20.1] Geckolib Display Issues on Legendary Tooltips

https://github.com/iron431/Irons-Spells-n-Spellbooks/issues/119
Reposted here because Irons-Spells-n-Spellbooks says it's Geckolib's issue

It's not their issue, yeah
But I'm not sure it's geckolib's either
I'd be looking at legendary tooltips for this
Either way I don't see what geckolib is doing that would be causing this at a glance - and since it's in legendary tooltips that it's broken, I'd be reporting it to them too


Compatibility issues with GTSAM v4.2 fixed

Dear Developer
firstly, nice job on your accomplishment on developing this dynamic factor graph.
i was playing with your source and faced some couple of issues that breaks your code with GTSAM 4.2 structure.
i will be honored if you check the fixes plus some notes in README.md file
also i have another question about the implementation itself. the simulation runs well till t=50s for FourBar mechanism then the constrains start to break. do you have any clue why?
Warm Regards
Amir Saman Mirjalili

Hi @AmirSamanMirjalili !
Thanks a lot for your interest in the project and your contribution.
I'm closing this PR since I needed to add some clarifications in the original README, so let me explain a couple of proposed changes so you can open a new PR:

As it is now explained in the README, the code was designed to work with the latest GTSAM version (>=4.3), but since 1+ years passed and it's now released yet, let's make the default branch "master" compatible with GTSAM 4.2 (most of your changes), leaving the original code in another branch for the newer versions to come.

I think you deleted a note on a "TO DO" related to TBB. That's still a real issue: GTSAM must be built WITHOUT TBB, or the factor graphs will not be evaluated right. There's a need for a significant refactoring before getting rid of that... But at least, leave the comment with the warning! :-)

Please, place your example mechanism under config/mechanism for coherence with the rest of examples (??).

Please, pass clang-format-14 to your copy and commit the changes to ensure a consistent formatting. See my note at the end of the new version of the README.md.

Cheers!


concurrent access to charsetfix method throws IllegalStateException bugfix

Description:
java.nio.charset.CharsetEncoder.canEncode throws IllegalStateException if an encoding
operation is already in progress.And
org.apache.druid.java.util.common.parsers.JSONFlattenerMaker has a private final
CharsetEncoder enc = StandardCharsets.UTF_8.newEncoder() as its member variable and the
charsetFix() executes  "if (s != null && !enc.canEncode(s))" which makes charsetFix()
cannot be accessed concurrently either.
Fixed the bug: access  JSONFlattenerMaker charsetFix() concurrently  throws IllegalStateException
Stack Trace:
java.lang.IllegalStateException: Current state = CODING_END, new state = CODING
at java.nio.charset.CharsetEncoder.throwIllegalStateException(CharsetEncoder.java:992)
at java.nio.charset.CharsetEncoder.canEncode(CharsetEncoder.java:904)
at java.nio.charset.CharsetEncoder.canEncode(CharsetEncoder.java:985)
at org.apache.druid.java.util.common.parsers.JSONFlattenerMaker.charsetFix(JSONFlattenerMaker.java:144)
at org.apache.druid.java.util.common.parsers.JSONFlattenerMaker.valueConversionFunction(JSONFlattenerMaker.java:116)
at org.apache.druid.java.util.common.parsers.JSONFlattenerMaker.getRootField(JSONFlattenerMaker.java:71)
at org.apache.druid.java.util.common.parsers.JSONFlattenerMaker.getRootField(JSONFlattenerMaker.java:44)
at org.apache.druid.java.util.common.parsers.ObjectFlatteners.lambda$create$0(ObjectFlatteners.java:54)
at org.apache.druid.java.util.common.parsers.ObjectFlatteners$1$1.get(ObjectFlatteners.java:112)
at org.apache.druid.data.input.MapBasedRow.getRaw(MapBasedRow.java:85)
at org.apache.druid.segment.incremental.IncrementalIndex.toIncrementalIndexRow(IncrementalIndex.java:675)
at org.apache.druid.segment.incremental.IncrementalIndex.add(IncrementalIndex.java:609)
at org.apache.druid.segment.realtime.plumber.Sink.add(Sink.java:179)
at org.apache.druid.segment.realtime.appenderator.AppenderatorImpl.add(AppenderatorImpl.java:253)
at org.apache.druid.segment.realtime.appenderator.BaseAppenderatorDriver.append(BaseAppenderatorDriver.java:403)
at org.apache.druid.segment.realtime.appenderator.StreamAppenderatorDriver.add(StreamAppenderatorDriver.java:180)
at org.apache.druid.indexing.seekablestream.SeekableStreamIndexTaskRunner.runInternal(SeekableStreamIndexTaskRunner.java:602)
at org.apache.druid.indexing.seekablestream.SeekableStreamIndexTaskRunner.run(SeekableStreamIndexTaskRunner.java:251)
at org.apache.druid.indexing.seekablestream.SeekableStreamIndexTask.run(SeekableStreamIndexTask.java:146)
at org.apache.druid.indexing.overlord.SingleTaskBackgroundRunner$SingleTaskBackgroundRunnerCallable.call(SingleTaskBackgroundRunner.java:419)
at org.apache.druid.indexing.overlord.SingleTaskBackgroundRunner$SingleTaskBackgroundRunnerCallable.call(SingleTaskBackgroundRunner.java:391)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Key changed/added classes in this PR
JSONFlattenerMaker

Codecov Report

Merging #8956 into master will increase coverage by 0.89%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #8956      +/-   ##
============================================
+ Coverage     62.87%   63.77%   +0.89%
+ Complexity    21807    21804       -3
============================================
  Files          2902     2786     -116
  Lines        120804   114653    -6151
  Branches      16684    15304    -1380
============================================
- Hits          75952    73116    -2836
+ Misses        37885    34792    -3093
+ Partials       6967     6745     -222

Impacted Files
Coverage Δ
Complexity Δ

...d/java/util/common/parsers/JSONFlattenerMaker.java
85.71% <100%> (ø)
30 <2> (ø)
:arrow_down:

...apache/druid/data/input/impl/prefetch/Fetcher.java
86.31% <0%> (-3.16%)
33% <0%> (ø)

.../druid/indexing/kinesis/KinesisRecordSupplier.java
54.43% <0%> (-1.59%)
33% <0%> (ø)

...egment/loading/SegmentLoaderLocalCacheManager.java
85.92% <0%> (-1.49%)
32% <0%> (-1%)

...he/druid/query/lookup/LookupReferencesManager.java
75.49% <0%> (-1.19%)
51% <0%> (-1%)

...query/groupby/epinephelinae/ConcurrentGrouper.java
70.8% <0%> (-0.73%)
28% <0%> (-1%)

...he/druid/server/coordinator/HttpLoadQueuePeon.java
61.31% <0%> (-0.42%)
15% <0%> (-1%)

...rdinatorBasicAuthorizerMetadataStorageUpdater.java
63.32% <0%> (-0.41%)
76% <0%> (-1%)

...nsole/src/components/show-history/show-history.tsx

web-console/src/components/loader/loader.tsx

... and 119 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 fba876b...30e160b. Read the comment docs.

IMO it's better to keep this change in your fork, described in #8967:

For performance reasons, I need to process multiple rows concurrently in SeekableStreamIndexTaskRunner.runInternal().

If someone isn't using that modified Druid version, this change will unnecessarily create encoder instances.

Thx for ur advice.
IMO,
1.

"For performance reasons, I need to process multiple rows concurrently in SeekableStreamIndexTaskRunner.runInternal()." described  the background I encountered this issue.
Actually，I mean the method  charsetFix() is not thread safe which can be simply fixed by using "CharsetsEncoder enc" as a local variable rather than a member variable.

As "CharsetEncoder enc" is only used in charsetFix() and charsetFix () can not be accessed concurrently just due to the member variable CharsetEncoder enc. As an  open source project, using "CharsetEncoder enc“ as a local variable may be more extensible  and friendly.
3.
Teaching fish to swim, using "CharsetEncoder enc" as a local variable does cause createing CharsetEncoder many times. But,I think it is a better choice under the trade-off between extensibility and memory space .To some extent,The statement “private final CharsetEncoder enc = StandardCharsets.UTF_8.newEncoder(); “ is executed before the  constructor (although someone do not want to call charsetFix() method) which may cause unnecessarily creating encoder instances too. And the lifecycle is longer than using it as a local variable.

Is there a way to structure this change such that concurrent access to charsetFix() works, but encoders aren't unnecessarily created when using standard Druid?

1.Yeah. There are many ways to achive this such as rewriting JDK's canEncode() method  to support
concurrent access.But,I don't think it's wise to do that because it complicates simple problem.
2.Reviewing code again,it doesn't make sense to using  CharsetEncoder enc as a member variable for it is only used in charsetFix() method and charsetFix() can not be  accessed concurrently.
3.To some extent,I don't think it consumes less memory to using CharsetEncoder enc as a member variable than as a local variable for the former holds the CharsetEncoder enc in memory while the latter releases it when the method is finished even though it creates CharsetEncoder object much more times.
4.What is more,As an open source project, it's worth sacrificing so small memory for thread safe and good extendibility if  it does take more memory space.

Hi @yongmeibian, thanks for your PR. I think the issue here is not memory consumption, but JSONFlattenerMaker is not designed to be thread-safe. The indexing tasks in Apache Druid are not designed to use multiple threads to process the same input data. If you want to change this architecture design, we should discuss what would be the new architecture and how we want it first.

4.What is more,As an open source project, it's worth sacrificing so small memory for thread safe and good extendibility if it does take more memory space.

Setting aside the discussion on memory usage for now, given that you're already maintaining a fork with presumably larger changes related to multithreaded ingestion, why do you believe that this one change is such a maintenance burden that it needs to be merged upstream?
We don't have any plans at the moment to enforce thread safety on JSONFlattenerMaker going forward, so there's additionally no guarantee that future changes in this area won't affect your fork.

hi @jon-wei @jihoonson yeah,I am already maintaining a fork myself,And I have no intention of upgrading the druid version in the future. So,it is not about maintenance burden. I am just intent on making JSONFlattenerMaker to support  multithreaded access with little effort and changes. Maybe it can help other developers.


Aggregated on R-bloggers

On your blog, it says that your blog is connected to R-bloggers, but I don't see it on the list of contributing blogs

Yes, for some reason, my humble little blog has not been accepted yet.  I filled out the request.
Maybe @talgalili knows why.

Will close in hopes that the newly discussed R blog aggregator eventually takes over.  Thx @kferris10

Hi Timely, which of your blogs is not connected?

@talgalili http://buildingwidgets.com/blog .  Would appreciate getting on the list.  TimelyPortfolio is less active now that I have committed to building a htmlwidget each week :)

o.k., I see two issues:

you didn't supply an RSS feed (not can I find it from your blog)
you are using base64 images instead of regular png. These cannot be aggregated. The solution is to have an rbloggers dedicated tag + feed, and make sure that in it, you will only give posts with png figures.
Can you make that work?


Fix FindPythonModule for cmake >= 3.19

find_package_handle_standard_args is no more usable outside a find_package function
Mimick it with basic if tests

Please retest


Exclude 'Unable to delete' on 22 upgrades on Windows

'Unable to delete' from SSTableDeletingTask is expected on Windows on older versions during upgrades.

Looks fine to me -- All the errors this will catch are logged in the same kind of error:
https://github.com/apache/cassandra/search?utf8=✓&q="unable+to+delete"
Merge away!


OneHotEncoder no longer uses sparse keyword

Line 170 in utils/transformers.py uses OneHotTransformer using the keyword sparse. This has been changed to sparse_output since version 1.2 of scikit-learn.
https://github.com/adriangb/scikeras/blame/9ec5ca6fbebaa00c98ba52c8c56d4e7355efabb5/scikeras/utils/transformers.py#L170
Documentation for reference:
https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.OneHotEncoder.html

Yes an update to this library is needed, this has laready been reported

Could you please try #317 (pip install -U 'git+https://github.com/adriangb/scikeras.git@keras-3') and see if it fixes your problem? Thanks!

This should be fixed now. Please let me know if this is still not fixed with SciKeras 0.13.0. Thanks!


Support for required element inside array [Friend!]!

I saw this was on the test schema but it don't work on my scheme. Is it implemented ? I can try to help you implement this feature if you want !

After taking look at the code it's just a recursive call that's missing. But i can't find where it should be :/
In the Render::struct_name_token() ?

Would also love to have this.

No sorry :disappointed: this lib is a codegen and it was missing other features so i just use is one time and edit all the code to solves the different issues. You can just remove the ! and the codegen it will work :wink:


Create generic transaction execution abstraction

What is wrong?
Currently, there is a lot of code duplication in the execute_transaction functions.

Frontier
Sharding

How can it be fixed
A basic abstraction for the execute_transaction functionality.
The functions are currently divided into 3 distinct logical sections.  It would be pretty straight forward to create a class which implements hooks for each of these sections.
class BaseTransactionExecution:
    def __call__(self, vm_state, transaction):
        message = self.run_pre_computation(vm_state, transaction)
        computation = self.run_computation(vm_state, message)
        return self.run_post_computation(vm_state, computation)

    def run_pre_computation(vm_state, transaction):
        raise NotImplementedError(...)

    def self.run_computation(vm_state, message):
        raise NotImplementedError(...)

    def run_post_computation(vm_state, computation):
        raise NotImplementedError(...)

@pipermerriam I plan to work on this. Do we want the abstraction only on sharding branch, or also want it backported to master?

@onyb 👍
Lets do it in master.  We should have

a stubbed out Base implementation that only raises NotImplementedErrors.
A FrontierXXX implementation with the current frontier logic.
A SpuriousDragonXXX implementation with the small bit of extra logic in the run_post_computation portion.


[BUG] - dropdown opens and immediately closes for me

NextUI Version
2.4.8
Describe the bug
Deployed to production on Vercel and when I click on dropdown it opens and immediately closes!
This did not happen during local development and everything worked great!
yarn 4.5.1
node 20.15.1
vite 5.2.0
react 18.3.1
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue

Deployed to Vercel
Click on dropdown

Expected behavior
It should open and not close until I close it.
Screenshots or Videos
https://github.com/user-attachments/assets/fa32648c-0f81-4711-8371-d11c2856e870
Operating System Version
macOS
Browser
Chrome

I created a clean project for testing from scratch and added the default Dropdown component and deployed it to Vercel
The problem remains!
https://github.com/user-attachments/assets/a8efd727-12f5-48c7-a436-921f18235bac
site - https://test-nestui-dropdown.vercel.app/
code - https://github.com/IvanHoliak/test-nestui-dropdown

I'm having the same problem with the Drawer on my mobile device in Chrome; I have to hold down the button to open it.
Uploading screen-20241115-232555_Mswo9Q2R.mp4…

I'm having the same problem with the Drawer on my mobile device in Chrome; I have to hold down the button to open it.
https://github.com/user-attachments/assets/acb45c86-ac07-4fec-be5e-9e3f6e8cd87e

hey @IvanHoliak , I am not able to produce this in local environment

hi @SaiSawant1 , Yes, I forgot to indicate in the description that everything works fine locally
changed the description


advanced require

update require function to read files from modules, not just bundled modules on jsdelivr.

this works for sqed folder example, and has a lot of console.log ...
I had to chenge things around a bit to work with how jsdelivr handles files, and alos add support fore require of .json .. and this can be seen as a gateway to supporting require .stl


docs:add metering design docs

Signed-off-by: 晓杰<EMAIL_ADDRESS>add metering design and proposal and how to write resource-controller

/assign @zzjin


style, ref(app): 12127, 12144 - panels grid layout

width -1920px

width - 1440px

width - mobile

Screenshots LGTM. Please check:

folded panel has same width as unfolded one
on mobile the disaster shape is fit in between the buttons and not under them

boxshadow is different

@IlyaIzr I'm on mac screen 16 and all panels on one side.
Looks like something expected for 1440px

scroll is broken when panel is minimized
medium position scroll

bottom position scroll

Looks like something expected for 1440px
for now it's better to have 1920px+ design, mobile design, and the middle-laptop design, it's not strictly <1440px. I think

oh, Layers panel still collapses in case of other panels opened


spr up seems to always trigger duplicate synchronize webhooks

Hi, I'm enjoying this project a lot. It really helps the dev workflow on github. Thanks!
I'm encountering one issue - whenever I do a git spr up on an existing PR, it causes github to emit two identical synchronize webhooks. As a result, my CI system runs two duplicate builds.
AFAIK synchronize should only be issued when the source branch is updated. But whatever spr is doing under the hood causes github to issue it twice. Oddly, the contents are identical - even the headers are the same, except for the X-GitHub-Delivery value. (actually, not always, sometimes there is a 1 second difference in the pushed_at fields).
Here is an example log output of when it happens
❯ git spr up --detail
> git rev-parse --show-toplevel
> git fetch
> git rebase origin/main --autostash
> github fetch pull requests
> git branch
> git log origin/main..HEAD
> git status --porcelain --untracked-files=no
> git push --force --atomic origin 12461fb8173a3372c5f2d92c049525137edcf40a:refs/heads/pr/jsravn/fix-cd-controller-deploy/7cb948cd
> github update 545 - cd: Fix cd-controller role to be namespaced
> github fetch pull requests
> git branch

Might be the git push followed by the github update that causes it?

You should be able to remove the github update call to test out your theory.
This call is there to update the stack part of the pr message body but it is not functionally required, so I think everything should still work ok. If this is the case, we can add a feature flag to disable the stack display of the pr message body.
`diff --git a/spr/spr.go b/spr/spr.go
index fa72383..d2e634c 100644
--- a/spr/spr.go
+++ b/spr/spr.go
@@ -191,7 +191,8 @@ func (sd *stackediff) UpdatePullRequests(ctx context.Context, reviewers []string
sd.profiletimer.Step("UpdatePullRequests::updatePullRequests")
    for _, pr := range updateQueue {

          sd.github.UpdatePullRequest(ctx, githubInfo, pr.pr, pr.commit, pr.prevCommit)

          //      sd.github.UpdatePullRequest(ctx, githubInfo, pr.pr, pr.commit, pr.prevCommit)

          _ = pr
  }

  sd.profiletimer.Step("UpdatePullRequests::commitUpdateQueue")`

Thanks, I'll give it a try. It sort of feels like a github bug to be honest - maybe there is a race between the api and the git push.

I also ran into this duplicate issue with a CI workflow that had both push and pull_request events configured:
on:
  push:
    branches: [master]
  pull_request:
    branches: [master]

As spr does a push followed by an update of the pull request, as mentioned above, it was triggering this workflow twice. For now, I ended up switching to triggering on all push events instead, which seems to works ok for this workflow as it still triggers for PRs and merges to master.
on:
  push:

Looks like the right approach is to use push events rather than pull_request events.
Could be worth while to add this into the readme somewhere.

@jsravn Did you ever figure out the issue?
I have a tool that does pretty much exactly the same (git push followed by gh pr edit),
and I'm observing the same behaviour where the pull_request synchronize event is triggered twice.


Simpler cancelable, asyncIterator support

https://github.com/TooTallNate/once

Cancelable is postponed until asynt iterators support, not available yet.

Symbol.dispose is the right replacement.

Whoops. AsyncIterator support is different.

Ok, done.


Add Notes File From Manual Testing

Co-authored-by: AnthonyJCampbell<EMAIL_ADDRESS>Description
Adding a list of suggestions/change requests for the backend after manual testing.

 Test Endpoints HTTP & Update Backend Documentation

Closing this to clean up PRs. All comments are in Benjamins PR


Upgrade to Java 8

VicariousThreadLocal is not used anymore. The question would be: Is it still useful?

VicariousThreadLocal might still be used, but it shouldn't be here.  I propose we delete and reintroduce in a more appropriate location if someone downstream is using this copy.

By "here" you mean Striped64 or statistics in general? So I should delete it entirely from statistics?

I meant 'here' as in the statistics module. The copy of VicariousThreadLocal in this repo is only intended to be for internal consumption.  Anyone using this copy from outside is doing something wrong.  Lets delete it from statistics, and we will fix any breakage.

Cool. Should be ready to merge now. Conversion to lambda and some other cleanup will come afterwards

What do we do for the project version? Minor bump only? Major bump?
Also note that we need to adapt build infra ... that's the main reason this build is failing so far.

test this please


Kernelspec properly catched by Kernels not available

Hi,
in the hydrogen settings, I see that the tool has been able to fill on its own the "Kernel Spec" field, with this:
{
  "kernelspecs": {
    "venvpy2": {
      "resources_dir": "/usr/local/share/jupyter/kernels/venvpy2",
      "spec": {
        "language": "python2",
        "display_name": "Python Venv 2",
        "env": {},
        "argv": [
          "/home/vagrant/.virtualenvs/venvpy2/bin/python",
          "-m",
          "ipykernel",
          "-f",
          "{connection_file}"
        ]
      }
    },
    "venvpy3": {
      "resources_dir": "/usr/local/share/jupyter/kernels/venvpy3",
      "spec": {
        "language": "python3",
        "display_name": "Python Venv 3",
        "env": {},
        "argv": [
          "/home/vagrant/.virtualenvs/venvpy3/bin/python",
          "-m",
          "IPython.kernel",
          "-f",
          "{connection_file}"
        ]
      }
    },
    "python2": {
      "resources_dir": "/usr/local/lib/python2.7/dist-packages/ipykernel/resources",
      "spec": {
        "language": "python",
        "display_name": "Python 2",
        "env": {},
        "argv": [
          "/usr/bin/python",
          "-m",
          "ipykernel",
          "-f",
          "{connection_file}"
        ]
      }
    }
  }
}

Also, if i trigger the command "Hydrogen: Update Kernels", it looks like Hydrogen finds successfully the kernels, as a little blue popup info window open on the upper right with the list of detected kernels.
However, when I open a *.py file, and that i want to switch kernel,  the list of kernels does not appear on the bottom left.
I am running Atom 1.6.2 on Ubuntu 14.04 and Hydrogen 0.8.3
What's wrong ?

This behaviour is not ideal at the moment. The functionality to switch kernels is enabled only after a kernel is already running.
Do you know that GrammarToKernel in the Hydrogen settings can be used to define the default kernel for a language?

The workaround at the moment i have found is to launch atom from within the corresponding virtualenv.
In this case, at least I can use the corresponding kernel.
I tried to put the following config in the GrammartoKernel box, but without success:
{"python2":"Python Venv 2"}
Thks for the quick reply

You can try this in grammarToKernel:
{"python": "Python Venv 2"}

I use something similar to change the default between Python 2 and Python 3.

We should make these settings more user friendly, but we have to wait until we're done tidying up the code dealing with the kernel manager.

Yep, trying in grammarToKernel:
{"python": "Python Venv 2"}

confirmed it works !


Withdrawal DFI Electreum

Hello, I need help with withdrawal my dfi tokn from Electreum
Please give me server to working network
Thank You!!

Our public server was down due technical issue, and it should be accessible again as described in the README. However, use any public server (included us) at your own risk. It is encouraged to run your own defichain-electrumx server to ensure server up time.
Disclaimer:

This repository is not actively maintained and not part of DeFiChain's team effort, no continuous maintenance could be expected.
Our public accessible defichain-electrumx server is meant for development purpose only.


[ko]Translate docs/tasks/job/pod-failure-policy into Korean

This is a Feature Request

What would you like to be added

Translate docs/tasks/job/pod-failure-policy.md into Korean
Why is this needed
It's not translated yet.
I know that a duplicate issue (#36719) exists, but it has a lifecycle/rotten label on it.
And I think that it should've been closed because more than 30 days have passed since the label was applied.
Comments

Page to Update : https://kubernetes.io/docs/tasks/job/pod-failure-policy

/language ko
/assign

@bugoverdose 님! 이슈 제안 감사합니다.
기존에 동일 #36719 이슈가 열려 있긴 한데, rotten 되어 있어서 현재 기존 기여자의 현황을 간단히  확인하고 있습니다. :)

현황을 확인하였고 이전 이슈가 close 되었습니다.
감사합니다!
/triage accepted


incorrect calculate result of some function

test.csv
header
2.042
2.040
2.040
2.043
2.042
2.043
2.039
2.030
2.040
2.043
2.042
2.041
2.039
2.039

SmplStdCol

it will return 0.0
it is incorrect.
Thanks!

I suppose this is fixed by #169?

i doubt that there exists other problem...
test.csv
1
2
3

SmplVarCol

the result is 1.00, it is  right.

but
10
20
30

the result should be 100.00, because the number times 10, the variance must times 100. like this.

SmplVarCol

however, the result is 50.00.
if use
0.1
0.2
0.3

it will also return an incorrect answer 0.13.

i thought it is because accuracy, but now i doubt the function to calculate variance perhaps is not 100% correct.

Hm, I personally do not use the standard deviation and this has been contributed. Perhaps there is a problem, yes.

can you please check again?

Make sure to disable headerlines, if you do not use one:
let b:csv_headerline=0

let b:csv_headerline=0

when test1.csv is
10
20
30

SmplVarCol

its result is 100. now it is right.
when test2.csv is
0.1
0.2
0.3

the result is 0.07, it should be 0.01.
Although i can use the result of test1.csv to calculate 100/10000=0.01, but if it can return a correct result correctly, it will be better:)

when test2.csv is
0.1
0.2
0.3
the result is 0.07, it should be 0.01.

This does print for me 0.01

I forget to update. Sorry:(


fallback to window if this is undefined

John,
Regarding the conversation in https://github.com/johnculviner/jquery.fileDownload/pull/133 -- I decided to refactor the implementation to avoid the issue I referenced previously.
I am resubmitting the original PR that provided the fallback of window if this is undefined

Cool, thanks!


Transformation Restructure

Removed hierarchical structure in transformations by putting all the handlers into BaseTransformation.
Added a class (that should be renamed) to better allow transformation to share code.
Includes an example transformation in the new format: MonomorphizationValidation.

We went with a different setup.