Silent timeouts

Thanks for making the great extension!
When the phpstan times out it's not really clear that it happened. I never saw extension reporting the error and I only saw it in my git hook. After looking into vscode output for your extension I noticed the timeout. Increasing the timeout solved the problem
Would it be possible to show notification when timeout happens? You could also add setting to hide these notifications

Thanks for the fast response!

I just tested it and it looks good, thanks again!


queries of REST API

Hi , how to access queries of REST API? When i configure mediator, queries of grpc success completed, but rest api didn't complete

Currently mediator only support gRPC requests, but it will transparent proxy other protocol requests


Microsoft Entra Authentication for Speech Service

I have been trying to configure Microsoft Entra authentication for the Speech Service, as explained in these docs, yet it only seems to work from the browser.
My setup is Speech Service with public access disabled, and a private endpoint from a VNet. I have then connected to this VNet. The custom domain for the speech service has the same name as the resource itself.
I have run this sample, which uses the custom domain and Microsoft Entra for authentication, and this works well.
I've then tried to copy the same form of authentication in a Node example, but using speech-to-text on a file, but it doesn't work. I get no output.
const fs = require("fs");
const { DefaultAzureCredential } = require("@azure/identity");
const sdk = require("microsoft-cognitiveservices-speech-sdk");

(async () => {
  const SUBSCRIPTION_ID = ""
  const RESOURCE_GROUP = ""
  const SPEECH_SERVICE_NAME = ""
  const SPEECH_SERVICE_KEY = ""
  const AUDIO_FILE_NAME = "audio1.wav"

  const token = (await new DefaultAzureCredential().getToken("https://cognitiveservices.azure.com/.default")).token;
  const resourceId = `/subscriptions/${SUBSCRIPTION_ID}/resourceGroups/${RESOURCE_GROUP}/providers/Microsoft.CognitiveServices/accounts/${SPEECH_SERVICE_NAME}`;
  const speechToken = `aad#${resourceId}#${token}`;

  const speechConfig = sdk.SpeechConfig.fromEndpoint(new URL(`wss://${SPEECH_SERVICE_NAME}.cognitiveservices.azure.com/stt/speech/universal/v2`));
  speechConfig.authorizationToken = speechToken;

  speechConfig.speechRecognitionLanguage = "en-US";

  const pushStream = sdk.AudioInputStream.createPushStream();

  fs.createReadStream(AUDIO_FILE_NAME).on('data', function (arrayBuffer) {
    pushStream.write(arrayBuffer.buffer);
  }).on('end', function () {
    pushStream.close();
  });

  const audioConfig = sdk.AudioConfig.fromStreamInput(pushStream);

  const recognizer = new sdk.SpeechRecognizer(speechConfig, audioConfig);

  recognizer.recognized = function (s, e) {
    console.log(`Recognised: ${e.result.text}`);
  };

  recognizer.recognizeOnceAsync(() => {
    recognizer.close();
  });
})();

If I change
const speechConfig = sdk.SpeechConfig.fromEndpoint(new URL(`wss://${SPEECH_SERVICE_NAME}.cognitiveservices.azure.com/stt/speech/universal/v2`));
speechConfig.authorizationToken = speechToken;

to
const speechConfig = sdk.SpeechConfig.fromEndpoint(new URL(`wss://${SPEECH_SERVICE}.cognitiveservices.azure.com/stt/speech/universal/v2`), SPEECH_SERVICE_KEY);

Then it works, and I get the transcription.
I also tried in Python:
import azure.cognitiveservices.speech as speechsdk
from azure.identity import DefaultAzureCredential

SUBSCRIPTION_ID = ""
RESOURCE_GROUP = ""
SPEECH_SERVICE_NAME = ""
AUDIO_FILE_NAME = "audio1.wav"

token = DefaultAzureCredential().get_token("https://cognitiveservices.azure.com/.default").token
resource_id = f"/subscriptions/{SUBSCRIPTION_ID}/resourceGroups/{RESOURCE_GROUP}/providers/Microsoft.CognitiveServices/accounts/{SPEECH_SERVICE_NAME}"
speech_token = f"aad#{resource_id}#{token}"

speech_config = speechsdk.SpeechConfig(
    endpoint=f"wss://{SPEECH_SERVICE_NAME}.cognitiveservices.azure.com/stt/speech/universal/v2",
)
speech_config.authorization_token = speech_token
speech_config.speech_recognition_language = "en-US"

audio_config = speechsdk.audio.AudioConfig(filename=AUDIO_FILE_NAME)

recognizer = speechsdk.SpeechRecognizer(speech_config, audio_config)

result = recognizer.recognize_once_async().get()

if result.reason == speechsdk.ResultReason.RecognizedSpeech:
    print(f"Recognised: {result.text}")
elif result.reason == speechsdk.ResultReason.Canceled:
    cancellation_details = result.cancellation_details
    print(f"Cancelled: {cancellation_details.reason}")
    print(f"Error: {cancellation_details.error_details}")

Which gives the following output:
Cancelled: CancellationReason.Error
Error: WebSocket upgrade failed: Authentication error (401). Please check subscription information and region name. SessionId: 178b631d2deb4f10bf7d69de0dc7de1c

Why does it work from the browser but not when using Node/Python? Is it documented where it does and doesn't work?

To add to this, I've done some more testing, particularly with enabling and disabling the disableLocalAuth property on the speech service resource, and I'm getting mixed results.
For example, it works initially, I then set disableLocalAuth: true, it stops working, I set disableLocalAuth: false, and it's still not working

Closing, as getting mixed and inconsistent results


Attr query by class variables.

Hi team,
So I've had a look at the mechanism for querying and I feel as if it's very close to complete. My only question would be to perhaps rework the way that the query works to allow for the feeding in of class and its hinted variables. Then the work is offloaded to the Attr library internally.
This would allow for auto-completion when querying an object. I haven't played with the library but from the looks of it, you won't get static analysis on those variables from the Attr class.
This I think would be the final implementation change that would make the library extra-ordinary and bring it into wide usage.
I will re-iterate that this library is fantastic and I'm extremely grateful for the work already done on it. I'm curious if I can find a way to implement the above so I'll try take a look at it.

That's a great idea. I'm not sure if there's a way to automatically treat the types of the class (e.g. MyTable.some_field) as Attr while still keeping MyTable(...).some_field as the original type defined, at least for the purposes of autocompletion. If you can find some way, that would be fantastic.
It looks like SQLAlchemy uses Mapped to provide this functionality, but this requires hinting all fields as Mapped[int], etc.


Bug: Application error: i.replace is not a function

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Error message: i.replace is not a function
Error stack:
TypeError: i.replace is not a function
    at e.hydrate (altair://-/main.js:3:269881)
    at altair://-/main.js:3:270437
    at Array.map (<anonymous>)
    at e.hydrateHeaders (altair://-/main.js:3:270395)
    at e.hydrateAllHydratables (altair://-/main.js:3:572190)
    at sbe.project (altair://-/main.js:3:2361343)
    at sbe._tryNext (altair://-/main.js:3:213042)
    at sbe._next (altair://-/main.js:3:212960)
    at sbe.next (altair://-/main.js:3:11238)
    at sbe.notifyNext (altair://-/main.js:3:213380)
    at w1._next (altair://-/main.js:3:188469)
    at w1.next (altair://-/main.js:3:11238)
    at ei._next (altair://-/main.js:3:17936)
    at ei.next (altair://-/main.js:3:11238)
    at wct.notifyNext (altair://-/main.js:3:656046)
    at i9e._next (altair://-/main.js:3:196230)
    at i9e.next (altair://-/main.js:3:11238)
    at altair://-/main.js:3:186505
    at t.invoke (altair://-/polyfills.js:3:25067)
    at Object.onInvoke (altair://-/main.js:3:87510)
    at t.invoke (altair://-/polyfills.js:3:25007)
    at F.run (altair://-/polyfills.js:3:20373)
    at altair://-/polyfills.js:3:35248
    at t.invokeTask (altair://-/polyfills.js:3:25686)
    at Object.onInvokeTask (altair://-/main.js:3:87326)
    at t.invokeTask (altair://-/polyfills.js:3:25607)
    at F.runTask (altair://-/polyfills.js:3:21007)
    at R (altair://-/polyfills.js:3:27718)
    at invokeTask (altair://-/polyfills.js:3:26770)
    at invoke (altair://-/polyfills.js:3:26641)
    at A.n.args.<computed> (altair://-/polyfills.js:3:46491)

Expected Behavior
No errors should occur
Steps To Reproduce
?
Environment
- OS:
- Browser:
- Platform:
- Version: 6.3.1

Additional context
?

Upgrading should fix this.

@imolorhe I have the same behavior with v7.3.6

I'm trying to add altair into my springboot application as a local static source. I installed it using npm i altair-static and placed the  contents of dist in my apps static resources dir. In my index.html as initialize altair like this:
<script>
    document.addEventListener('DOMContentLoaded', () => {
        AltairGraphQL.init()
    })
</script>

@fdulger did you have Altair setup previously? It might be related to a previous invalid state or setup of Altair (e.g. initializing Altair with invalid options). You can clear the state of the app to fix any invalid state you might have.

Thanks, after clearing the data using developer tools, it's working as normal.


Loading more comments is slow

Trying to load a large block of additional comments e.g. │More comments [427] takes a very very long time and a large number of http requests. I remember looking into this a while ago and finding out it was a limitation in the Reddit API itself. Never the less, we should try to find out if PRAW has an alternative method to the praw.objects.MoreComments().comments() which is currently being used.

What about loading the next comments in the background?

yeah, prefetching!

^I just learned a word.

Referenced at https://github.com/praw-dev/praw/issues/391

Fixed d051e5e. Implementation is sort of a hack right now to work around praw. Hopefully there will be an opportunity to clean this up when praw gets updated.


fix(euclidean_cluster): enable downsample as default

Description

This PR change default parameter to enable pointcloud downsample before Eucliean cluster to avoid high pointcloud density around ego.
Tests performed

Not applicable.
Effects on system behavior

Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@badai-nguyen
Can we close this PR since https://github.com/autowarefoundation/autoware.universe/pull/4999 covers this problem?

I close this PR since it is covered by

https://github.com/autowarefoundation/autoware.universe/pull/4999


can filter Frontmatter ？

vitepress support Frontmatter
when using it, search result looks strange。
for my doc.md
---
outline: deep
---

# Lint 规则

results

fixed in https://github.com/emersonbottero/vitepress-plugin-search/pull/49


table view is not selectable

I putted a table view inside a  ViewController  and when I present the view controller with the panmodal pod

and then make  this var longFormHeight: PanModalHeight {
return .contentHeight(contentheight)
}
-the table is not selectable (didSelectRowAt didn't get called )

Hi @israahamed112
Could you provide more information on this?
I.e. are the other delegate methods for the tableView called? Do the tableViewCells get highlighted on selection?


Pop-up when leaving a dashboard with unsaved changes

Proposal
It would be great to show a pop-up asking the user to either save the dashboard or discard changes when attempting to leave a dashboard in edit mode with unsaved changes.

I think this feature was implemented actually. Maybe it has been removed since

Oh you're right I forgot that.. it was initially implemented with https://github.com/perses/perses/pull/699 then amended with https://github.com/perses/perses/pull/834.
Well at least on my side I'm currently not getting any pop-up in case of unsaved dashboard change.


Strange compilation error while migrating to RTIC v1

I've tried to migrate to rtic v1 here: https://github.com/TeXitoi/keyseebee/tree/rtic1 but I have a strange error:
$ cargo build --release
   Compiling keyseebee v0.1.0 (.../keyseebee/firmware)
error[E0080]: evaluation of constant value failed
  --> src/main.rs:42:1
   |
42 | #[app(device = crate::hal::pac, peripherals = true, dispatchers = [CEC_CAN])]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 5_usize`, which would overflow
   |
   = note: this error originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0080`.
error: could not compile `keyseebee` due to previous error

I've tried to force using the v1.0.0 version, but I have the same error:
$ git diff Cargo.toml
diff --git a/firmware/Cargo.toml b/firmware/Cargo.toml
index 8026e51..c3b6091 100644
--- a/firmware/Cargo.toml
+++ b/firmware/Cargo.toml
@@ -10,11 +10,15 @@ cortex-m = "0.7"
 cortex-m-rt = { version = "0.7.1", features = ["device"] }
 panic-halt = "0.2.0"
 keyberon = { git = "https://github.com/TeXitoi/keyberon", branch = "master" }
-cortex-m-rtic = "1.1.1"
+cortex-m-rtic = "=1.0.0"
+cortex-m-rtic-macros = "=1.0.0"
 embedded-hal = "0.2"
 usb-device = "0.2.0"
 nb = "1.0.0"

+[dev-dependencies]
+rtic-syntax = "=1.0.0"
+
 [profile.release]
 lto = true
 incremental = false
$ cargo outdated
    Updating git repository `https://github.com/TeXitoi/keyberon`
Name                                 Project  Compat  Latest  Kind         Platform
----                                 -------  ------  ------  ----         --------
cortex-m-rtic                        1.0.0    ---     1.1.1   Normal       ---
cortex-m-rtic->cortex-m-rtic-macros  1.0.0    ---     1.1.0   Normal       ---
cortex-m-rtic-macros                 1.0.0    ---     1.1.0   Normal       ---
cortex-m-rtic-macros->rtic-syntax    1.0.0    ---     1.0.1   Normal       ---
rtic-syntax                          1.0.0    ---     1.0.1   Development  ---

For Cortex-M, tasks can have priorities in the range 1..=(1 << NVIC_PRIO_BITS) where NVIC_PRIO_BITS is a constant defined in the device crate.

OK, I have NVIC_PRIO_BITS = 2, so 4 is the maximum priority, and I had a priority of 5.
Could be great if the error was more readable.

Let's reopen this to track that we need to improve the error message, thank you for reporting!


Cleopatra with Next.js

Hi @moesaid, can I recreate this project using Next.js?

the project built with native js but yeah you can use It with any web-related technology. :)

the project built with native js but yeah you can use It with any web-related technology. :)


Add setting to disable Time tracking ?

Hi,
Kanboard is an excellent tools to plan stuff. But, the time tracking is a bit anoying for people like me who don't want to use it.
Is it possible to add a setting to disable this feature ?

There is now a settings to disable that.

Thanks !

Sorry, I can not find this, where can I set to disable time tracking?

Hi,
My kanboard is in french. But you can find this option,  in global setting of Kanboard app : in the menu "agenda parameter".
There a group options called "Suivi du temps par rapport aux sous-tâches" (sorry I can't translate).

Settings > Project Settings > Trigger automatically subtask time tracking
or
Préférences > Paramètres du projet > Déclencher automatiquement le suivi du temps pour les sous-tâches


Add option to build as static library

Add option to build iqs as a static library.
If built by default, it builds as a shared library. If build via cmake -DBUILD_STATIC=ON .. it builds as a static library.

Hi Grant,
some tips to complete this PR:

introduce a boolean "option" in cmake, possibly called "IqsBuildAsStatic"
base the if/else condition on that option be set to ON and not on an env variable
update the README mentioning the cmake options to the user (the section may be missing or incomplete)
update cmake to write the option value in config.status

Gian

Thanks Gian,
I added changes to the cmake files and readme.
Grant

Hi Grant, I activated the regular CI/CD for this PR.
A couple of workflows failed.
I believe this is because googletest framework changed from the default branch name from "master" to "main".
Can you confirm it and, in case, fix the issue in https://github.com/iqusoft/intel-qs/blob/master/cmake/gtest.cmake.in?

Thanks Gian,
I changed it from master to main, and it appears to be working when I build it now.

Hi Grant, I am merging the PR.
General feedback:
To merge into the "master" branch it is important to be fully "backward compatible".
This is indeed the case for this PR.
Moving forward, consider merging into "development" branch, especially for larger contributions.


outAnimationEnd.tlt

Hello,
Im noticing that everytime I test the OutAnimationEnd of the script, it does not fire accordingly.
e.g.
$('.tlt').on('outAnimationEnd.tlt', function () {
alert("animation has ended");
});
I have 3 separate strings. The first one always fails to fire the event, but the other 2 does fire it properly.

I confirm I have the same issue. But in my case it does not fire at all


Add a Gitter chat badge to README.md

gilt/gfc-concurrent now has a Chat Room on Gitter
@gheine has just created a chat room. You can visit it here: https://gitter.im/gilt/gfc-concurrent.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Coverage remained the same at 73.214% when pulling 694cccfb1cda0560e671110c07bc2ef4ef0c1736 on gitter-badger:gitter-badge into f17306971d990b0fc036ddd05361449f552b5116 on gilt:master.


RecvPacket core handler should always store the receipt when none is present in the store

We currently only store the receipt if the error returned by ctx.get_packet_receipt() is PacketReceiptNotFound. This is brittle; we shouldn't rely on the host to craft just the right error message.
Note also that ibc-go has no such requirement on the context.

Note that this is fixed with the {Validation,Execution}Context API in #377


App closes when getting image

My app is terminating when I try to get the drawing image both in android and ios. I'm running Nativescript 7.0.11 with the following configuration:
"dependencies": {
"@nativescript-community/drawingpad": "^4.0.0",
"@nativescript/core": "~7.0.0",
"nativescript-color-picker": "^1.6.0"
},
"devDependencies": {
"@nativescript/android": "7.0.1",
"@nativescript/ios": "7.0.6",
"@nativescript/types": "^7.0.4",
"@nativescript/webpack": "~3.0.0",
"node-sass": "^4.14.1",
"tslint": "~6.1.3",
"typescript": "~3.9.0"
},
My file does have the following import statement:
import { ImageSource, Observable, Page, Slider } from "@nativescript/core";
It fails in the following function when I attempt to get the Image:
saveDrawing() {
this.drawingPad.getDrawing().then(res => {
console.log(res);
// convert native image data (bitmap on android) to imageSource for NS
const image = ImageSource.fromDataSync(res);
console.log("trying to save image");
this.set("drawingImage", image);
});
}
Both in android and ios the console.log(res) statement shows res to be an object but the app terminates when it runs the statement const image = ImageSource.fromDataSync(res). When I stop it in debug before the statement and attempt to evaluate it in the console, I'm seeing the following error: ReferenceError: ImageSource is not defined.
Just for testing I was able to run the following statement successfully after the console.log(res) statement:
const imgSource = new ImageSource(); So the function does see the ImageSource class. I then attempted to get the image by using: const image = imgSource.loadFromData(res) but then I receive a deprecated error and the app terminates.
Do you have any ideas as to what I need to do?

Please close this issue. First of all because it has to do with the saving the image which isn't the plugins issue. I also was abel to save the image by changing the statement "const image = ImageSource.fromDataSync(res);" to "const image = new ImageSource(res);"


When I use mm_sd_v15_v2, I get an error.

Used commit : 1904a01117824d7d294227059f6b684972c5a8b6
When I updated to the latest version and ran the script, I got the error below.
(animatediff) C:\Users\toyxy\AnimateDiff>python -m scripts.animate --config configs/prompts/v2/5-RealisticVision.yaml
A matching Triton is not available, some optimizations will not be enabled.
Error caught was: No module named 'triton'
Cannot initialize model with low cpu memory usage because accelerate was not found in the environment. Defaulting to low_cpu_mem_usage=False. It is strongly recommended to install accelerate for faster and less memory-intense model loading. You can do so with:
pip install accelerate

.
The config attributes {'scaling_factor': 0.18215} were passed to AutoencoderKL, but are not expected and will be ignored. Please verify your config.json configuration file.
Some weights of the model checkpoint at models/StableDiffusion/stable-diffusion-v1-5 were not used when initializing AutoencoderKL: ['encoder.mid_block.attentions.0.to_k.weight', 'encoder.mid_block.attentions.0.to_q.bias', 'decoder.mid_block.attentions.0.to_v.bias', 'encoder.mid_block.attentions.0.to_out.0.bias', 'encoder.mid_block.attentions.0.to_v.bias', 'decoder.mid_block.attentions.0.to_v.weight', 'decoder.mid_block.attentions.0.to_out.0.bias', 'encoder.mid_block.attentions.0.to_v.weight', 'encoder.mid_block.attentions.0.to_out.0.weight', 'decoder.mid_block.attentions.0.to_q.weight', 'decoder.mid_block.attentions.0.to_k.bias', 'decoder.mid_block.attentions.0.to_q.bias', 'decoder.mid_block.attentions.0.to_out.0.weight', 'encoder.mid_block.attentions.0.to_k.bias', 'decoder.mid_block.attentions.0.to_k.weight', 'encoder.mid_block.attentions.0.to_q.weight']

This IS expected if you are initializing AutoencoderKL from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
This IS NOT expected if you are initializing AutoencoderKL from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
Some weights of AutoencoderKL were not initialized from the model checkpoint at models/StableDiffusion/stable-diffusion-v1-5 and are newly initialized: ['decoder.mid_block.attentions.0.query.weight', 'decoder.mid_block.attentions.0.query.bias', 'decoder.mid_block.attentions.0.proj_attn.bias', 'encoder.mid_block.attentions.0.query.weight', 'encoder.mid_block.attentions.0.proj_attn.bias', 'decoder.mid_block.attentions.0.proj_attn.weight', 'decoder.mid_block.attentions.0.value.bias', 'encoder.mid_block.attentions.0.value.weight', 'encoder.mid_block.attentions.0.key.bias', 'decoder.mid_block.attentions.0.key.weight', 'encoder.mid_block.attentions.0.query.bias', 'decoder.mid_block.attentions.0.value.weight', 'decoder.mid_block.attentions.0.key.bias', 'encoder.mid_block.attentions.0.proj_attn.weight', 'encoder.mid_block.attentions.0.key.weight', 'encoder.mid_block.attentions.0.value.bias']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
loaded temporal unet's pretrained weights from models/StableDiffusion/stable-diffusion-v1-5\unet ...
The config attributes {'addition_embed_type': None, 'addition_embed_type_num_heads': 64, 'addition_time_embed_dim': None, 'class_embeddings_concat': False, 'conv_in_kernel': 3, 'conv_out_kernel': 3, 'cross_attention_norm': None, 'encoder_hid_dim': None, 'encoder_hid_dim_type': None, 'mid_block_only_cross_attention': None, 'num_attention_heads': None, 'projection_class_embeddings_input_dim': None, 'resnet_out_scale_factor': 1.0, 'resnet_skip_time_act': False, 'time_cond_proj_dim': None, 'time_embedding_act_fn': None, 'time_embedding_dim': None, 'time_embedding_type': 'positional', 'timestep_post_act': None, 'transformer_layers_per_block': 1} were passed to UNet3DConditionModel, but are not expected and will be ignored. Please verify your config.json configuration file.
Traceback (most recent call last):
File "C:\Users\toyxy\anaconda3\envs\animatediff\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\toyxy\anaconda3\envs\animatediff\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\toyxy\AnimateDiff\scripts\animate.py", line 159, in
main(args)
File "C:\Users\toyxy\AnimateDiff\scripts\animate.py", line 53, in main
unet         = UNet3DConditionModel.from_pretrained_2d(args.pretrained_model_path, subfolder="unet", unet_additional_kwargs=OmegaConf.to_container(inference_config.unet_additional_kwargs))
File "C:\Users\toyxy\AnimateDiff\animatediff\models\unet.py", line 484, in from_pretrained_2d
model = cls.from_config(config, **unet_additional_kwargs)
File "C:\Users\toyxy\anaconda3\envs\animatediff\lib\site-packages\diffusers\configuration_utils.py", line 210, in from_config
model = cls(**init_dict)
File "C:\Users\toyxy\anaconda3\envs\animatediff\lib\site-packages\diffusers\configuration_utils.py", line 567, in inner_init
init(self, *args, **init_kwargs)
File "C:\Users\toyxy\AnimateDiff\animatediff\models\unet.py", line 188, in init
raise ValueError(f"unknown mid_block_type : {mid_block_type}")
ValueError: unknown mid_block_type : UNetMidBlock2DCrossAttn

https://github.com/huggingface/diffusers/issues/4969

huggingface/diffusers#4969

I am not understanding how this is related?


PentestGPT with gpt4all don't work

Can't use local gpt4all installation with https://github.com/GreyDGL/PentestGPT#custom-models-and-local-llms
Can you help me with that?
Both works, but can't connect them.

There were some changes with GPT4all and within the PentestGPT source that broke this feature. I have just created a PR fixing this issue.
https://github.com/GreyDGL/PentestGPT/pull/179


Automatically create index.html for analysis directory and auto-push to S3

If we can automatically create a minimal index.html for the analysis directory, we can push it to AWS to make it easy to view/download the results via html.
This could either be a single monolithic index or some nested index.html files in individual directories.

Initial version implemented in #51


Update @actions/core to 1.10.0

This updates @actions/core to use the file version of save-state and
set-output workflow commands.

Would fix #589

Thank you @dmitry-shibanov! It was end of day and I couldn't wrap my head around that failure, nor could reproduce it locally 😄 Reverted all the unnecessary changes I was using to debug this in my fork.

Thank you @dmitry-shibanov! It was end of day and I couldn't wrap my head around that failure, nor could reproduce it locally 😄 Reverted all the unnecessary changes I was using to debug this in my fork.

You're welcome. I'm going to merge your pull request. Falling for yarn 1 is not related to your changes.

signed-off-by Randy D White<EMAIL_ADDRESS>


Updated .gitignore file.

Please submit your PR against the staging branch.
I cleaned up the gitignore file and added a few items.  Let me know if this breaks someones work flow.

👍


create a 'book contribution guidelines' document

To help internal (& potentially external too) contributors.
Include tips, tricks & gotchas.
See this which is similar :
https://github.com/Robinlovelace/geocompr/blob/master/our-style.md

https://github.com/afrimapr/afrimapr-book/blob/main/CONTRIBUTION_GUIDE.md
please use & add to the contribution guide @martynabogacz @Julie-AnneTangena @LaurieLBaker @anelda @ClintyNkolokosa


Fix multiple errors when passing wrong variable types to an option

Reduce indent
Fix multiple errors when passing wrong variable types to an option

Problem:    Passing a wrong variable type to an option gives multiple
errors.
Solution:   Bail out early when getting the new value fails.


Preselect template for user template provision source

Pull Request Test Coverage Report for Build 161

6 of 6 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.6%) to 55.805%

Totals

Change from base Build 156:
0.6%

Covered Lines:
290

Relevant Lines:
468

💛  - Coveralls

Pull Request Test Coverage Report for Build 209

6 of 6 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.6%) to 55.805%

Totals

Change from base Build 156:
0.6%

Covered Lines:
290

Relevant Lines:
468

💛  - Coveralls

@suomiy fixed all


Use system DNS instead of Google

It would be great to use the system DNS instead of relying to Google by default.

If you're referring to using the DNS server configured in the operating system, I also imagine that would be great.
The biggest challenge for this would be to implement for each operating system. I've thought about doing this, but it never left the field of imagination.

I don't know if that's what you're talking about, but I started writing code to work on Windows like this:

create a global dns client, in which the dns server for consultation is the internet connection; and
maps the file C:\Windows\System32\drivers\etc\hosts to have a quick cache for lookup predefined names.

From what I've studied, several operating systems have this hosts file. I'm going to take a look at linux and try to at least make it for these two operating systems, which are the most used.

Partially implemented in this commit for Windows, Linux and Bsd.


V2 - Contributor Console - Not able to view downloaded templates

Prerequisite

Create a CLA group with CCLA enabled
Add github repository for the CLA group

Steps to Follow

Login to Github as corporate contributor
Navigate to the repository used in prerequisite
Create PR
CLA check fails
Click on CLA NOT SIGNED
Contributor is redirected to Contributor Console
Download CCLA or ICLA pdf
Not able to open the file due to below error
{"Code":"NoSuchKey","Message":"NoSuchKey: The specified key does not exist.\n\tstatus code: 404, request id: EEA6120E648FE9FD, host id: KC5Q++dcAxm7P7QYCpt4dpZk4KjZNHl6YiNGYIsFF9SxeblFPI/nY4IqiQ+aChKjSuXVgqHaRuQ="}

Issue reported by Steve
The Download PDF buttons are not working correctly. Each one downloads a .pdf file which is empty, and consists of the following in plain text:
{"Code":"NoSuchKey","Message":"NoSuchKey: The specified key does not exist.\n\tstatus code: 404, request id: 42922397AECB02C1, host id: UT1CykflO2wABPqncznHMZn+Fg9rDVLad19mw4PMxmSZXoN17u7/JA5bNb4+/gI+9koDrGmAsEk="}

Pushed PR: https://github.com/communitybridge/easycla/pull/1904 to resolve this issue.

Seems to be resolved in DEV... awaiting QA confirmation.

Verified that the issue is fixed
CCLA

ICLA


x/tools/gopls: releases

This issue will include announcements about new tagged versions of gopls.

v0.1.3
Fixes some deadlocking issues. Adds experimental support for documentation in completion items.

v0.1.4

Speed improvements for import organization (@suzmue)
Autocompletion for unimported packages (@suzmue)
Experimental support for deep completion and fuzzy matching (@muirrn)
Fix for https://github.com/golang/go/issues/29313 (@muirrn)
Many bug fixes in caching
Documentation for completion items

v0.1.5

Config settings were not being respected in v0.1.4, so released a fix for that specific issue

v0.1.6

Fix an issue with URI escaping on Windows

v0.1.6

Fix issue with configurations not being respected
Fix issue with test variants and go/packages (caused import organization to not cause a cache invalidation)

v0.2.0-pre2

Pre-release for the next version of gopls. Please test and report bugs if you can!

v0.2.1

Fix for parse errors showing up as errors on the whole package (CL 206597).

v0.2.2

Fix concurrent map read and write when a file is created (CL 210199).
Fix issue that caused errors to show up when a new file was created (CL 209978).

v0.3.1

https://github.com/golang/go/issues/36975: Handle nil pointer in builtin packages if workspace load fails.
https://github.com/golang/go/issues/36999: Fix panic on files that contain % in them.
Fix memory leak caused by autocompletion (CL 217677). Users were seeing huge memory usage over long sessions. Please comment on https://github.com/golang/go/issues/36943 if you're still seeing this issue with gopls/v0.3.1.

v0.3.1

https://github.com/golang/go/issues/36975: Handle nil pointer in builtin packages if workspace load fails.
https://github.com/golang/go/issues/36999: Fix panic on files that contain % in them.
Fix memory leak caused by autocompletion (CL 217677). Users were seeing huge memory usage over long sessions. Please comment on https://github.com/golang/go/issues/36943 if you're still seeing this issue with gopls/v0.3.1.

v0.3.2

https://github.com/fatih/vim-go/issues/2701: Fix a crash in references on builtin symbols.
golang/go#37104: Fix crash in completion of recursive pointer types (for example, type foo *foo).
golang/go#37108: Fix handling of build flags in imports code.
golang/go#34955: Import organization was corrupting file contents for untracked files. This is now fixed.
CL 219203: Disable nilness analyzer. This is the only analyzer that requires go/ssa, which is expensive to compute. If you are still seeing excessive memory usage with gopls/v0.3.2, please read https://github.com/golang/go/issues/36943 and open a new issue.

v0.3.3

Support for workspace symbols. (@daisuzu)
Various completion improvements, including fixes for completion in code that doesn't parse. (@muirdm)
Limit diagnostic concurrency, preventing huge spikes in memory usage that some users encountered. (@heschik)
Improved handling for URIs containing escaped characters. (@heschik)
Module versions from "go list" in pkg.go.dev links. (@ridersofrohan)
Upgrade module dependencies via a code lens on go.mod files. (@ridersofrohan)
Opt-in:
Support for multiple concurrent clients. See golang/go#34111 for more details. (@findleyr)
tempModFile: Additional diagnostics and quick fixes for missing dependencies. (@ridersofrohan)

v0.3.4

golang.org/cl/222979: fix for a nil pointer exception in completion (@muirdm)
golang.org/cl/222980: fix a concurrent map write and iteration (@ridersofrohan)

v0.4.0

Improved support for working with modules (@ridersofrohan). A detailed walk-through of the new features can be found here. A quick summary:

Use the -modfile flag to suggest which modules should be added/removed from the go.mod file, rather than editing it automatically.
Suggest dependency upgrades in-editor and provide additional language features, such as formatting, for the go.mod file.

Inverse implementations (@muirdm). "Go to implementations" on a concrete type will show the interfaces it implements.
Completion improvements (@muirdm). Specifically, improved completion for keywords. Also, offer if err != nil { return err } as a completion item.
Jumping to definition on an import statement returns all files as definition locations (@danishprakash).
Support for running go generate through the editor, via a code lens (@marwan-at-work).
Command-line support for workspace symbols (@daisuzu).

Opt-in:

Code actions suggesting gofmt -s-style simplifications (@ridersofrohan). To get these on-save, add the following setting:

"[go]": {
	"editor.codeActionsOnSave": {
		"source.fixAll": true,
	}
}

Code actions suggesting fixes for type errors, such as missing return values (goreturns-style), undeclared names, unused parameters, and assignment statements that should be converted from := to = (@ridersofrohan). Add the following to your gopls settings to opt-in to these analyzers. In the future, they will be on by default and high-confidence suggested fixes may be applied on save.

"gopls": {
	"analyses": {
		"fillreturns": true,
                "undeclarename": true,
                "unusedparams": true,
                "nonewvars": true,
	}
}

Further improvements in the support for multiple concurrent clients (@findleyr). See #34111 for all details.

For a complete list of the issues resolved, see the gopls/v0.4.0 milestone.

v0.4.1
This release contains mostly stability improvements and smaller bug fixes. A list of all of the issues fixed in this release can be found in the gopls/v0.4.1 milestone. A notable change is that type error analyzers (fillreturns, undeclaredname, unusedparams, nonewvars) are now on by default.

v0.4.2
Release notes: https://github.com/golang/tools/releases/tag/gopls%2Fv0.4.2.
We are migrating away from using this issue. New releases will be announced via a GitHub Release.

Closing this issue, as we are now using GitHub Releases. Please see https://github.com/golang/tools/releases for future updates.

For those wondering "how should I be notified of releases now?", you can watch the tools repository just for new releases instead of all activity:

I think that feature is fairly recent - I don't think it existed a couple of years ago when we first suggested using an issue to announce releases.

Uh, we need to update the release note link hardcoded in vscode-go. :-)


Change the color of approving a request checkmark in privacy (for consistency)

Currently let's say when rejecting a privacy request, the button is red and when you click on it the checkmark for confirming is also red, but when we press on approve, the approve button is blue but it's checkmark for confirming the action is again red, so let's try to change the approve checkmark on the approve request button to be also blue.

Denis: This must be rethought a bit (not only the colours part, the whole ux). I'll prepare and schedule for the next sprint.

branch name for 23.3 and 22.9 2022.9.x-feature-improve-btn-consistency-in-privacy

Just tested this and I can confirm that this is now looking good.
@katrinDY Can you just include the entry for the ChangeLog here on the ticket?

@Bojan-Svirkov
Changelog:
Changed:
What: The color of the button for confirming the action to accept a privacy request was changed.
Why: This was done to match the same color pattern as the colors when confirming/denying the action to reject a privacy request. This also improves consistency and UX.
How: The color was changed to dark blue.

Added to the CL.


VSCode  Extension host crashed

Version: 1.28.2 (user setup)
Commit: 7f3ce96ff4729c91352ae6def877e59c561f4850
Date: 2018-10-17T00:23:51.859Z
Electron: 2.0.9
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64
Opening VSCode shows Extension host terminated unexpectedly and Search is not working(maybe it is an extension internally)
{ errorCode: 'load',
  moduleId: 'iconv-lite',
  neededBy: [ 'vs/base/node/encoding', 'vs/code/node/cli' ],
  detail: { Error: Cannot find module 'iconv-lite'
    at Function.Module._resolveFilename (module.js:543:15)
    at Function.Module._load (module.js:473:25)
    at Module.require (module.js:586:17)
    at require (internal/module.js:11:18)
    at t.load (C:\Users\SamvelRaja\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:16:408)
    at e.load (C:\Users\SamvelRaja\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:13:813)
    at i (C:\Users\SamvelRaja\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:28:217)
    at Object.errorback (C:\Users\SamvelRaja\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:28:338)
    at e.triggerErrorback (C:\Users\SamvelRaja\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:14:176)
    at C:\Users\SamvelRaja\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:13:883
    at ReadFileContext.callback (C:\Users\SamvelRaja\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:16:619)
    at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:420:13) code: 'MODULE_NOT_FOUND' } }
{ errorCode: 'load',
  moduleId: 'minimist',
  neededBy: [ 'vs/platform/environment/node/argv' ],
  detail: { Error: Cannot find module 'minimist'
    at Function.Module._resolveFilename (module.js:543:15)
    at Function.Module._load (module.js:473:25)
    at Module.require (module.js:586:17)
    at require (internal/module.js:11:18)
    at t.load (C:\Users\SamvelRaja\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:16:408)
    at e.load (C:\Users\SamvelRaja\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:13:813)
    at i (C:\Users\SamvelRaja\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:28:217)
    at Object.errorback (C:\Users\SamvelRaja\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:28:338)
    at e.triggerErrorback (C:\Users\SamvelRaja\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:14:176)
    at C:\Users\SamvelRaja\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:13:883
    at ReadFileContext.callback (C:\Users\SamvelRaja\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:16:619)
    at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:420:13) code: 'MODULE_NOT_FOUND' } }

Does this issue occur when all extensions are disabled?: Yes
Extension and task log files  are empty
SharedProcess log scanned 0 user extensions. as don't have any extensions installed. Deleted the %USERPROFILE%/.vscode/ folder

Re-installing didn't help
One improvement though
In cmd, Tried opening via code
It showed the above error.
Did npm install iconv-lite minimist This opened the app, but upon opening same Extension Host Terminated unexpectedly came.
In dev tools The below error is available.

I can't install node-pty as the post-install script requires few build tools which are not installed which are conflicting with my development.
For me, the search is not working at all in this app now.
Hope this helps.

The console messages refer to a system level install under C:\Program Files and you refer to a user level install under your user dir. Maybe the system level install is corrupt. Could you uninstall both, make sure they are gone (check the folders) and then reinstall?

Also: Reboot before you uninstall, just to make sure there can be no leaked process hanging on to the installed files.

@chrmarti  That's my bad. I am trying out in both system level install and user level install (Took the screenshot wrongly). And yeah it is happening on both installers. I even tried out the .Zip variation :(
Regarding reboot, It is a clean install, removed all extensions, made sure all processes killed. Even deleted the extensions folder every time (As I mentioned before).
Does opening the installer via cmd helps in getting installer logs? Sometimes squirrel logs would get caught in that way for my projects. I know VSCode is not using squirrel. Any ideas in that front?

@chrmarti
I can see node-pty available in node_modules.asar.unpacked folder but requiring it is not working in the extension host code 🤔

It is the zipped version downloaded.

Regarding Virus scanner, it is not problem with that.

@SamvelRaja Can you please try precisely these steps:

download win32 zip or win64 zip

extract it to a new top level folder e.g. C:\test --- to avoid any long path name issues or unicode characters in path name problems.

open from the explorer C:\test\Code.exe --- to avoid any environmental variables that might be set by accident in some consoles.

@alexandrudima No luck 😢  I need vscode back :/

@SamvelRaja Those node modules are definitely present, but they are packed inside resources\app\node_modules.asar. Those error messages are an indication that reading from the .asar file fails. Electron provides the following enviornmental variables for dealing with .asar archives:

ELECTRON_NO_ASAR - did you perhaps define this in your environment by any chance? If yes, then please unset it.
ELECTRON_LOG_ASAR_READS - logs reads

Can you perhaps try the following:
# close all instances of code and unset ELECTRON_NO_ASAR and enable asar logging
> set ELECTRON_NO_ASAR=
> SET ELECTRON_LOG_ASAR_READS=1
> Code.exe

Then, open developer tools F1 > Developer: Toggle Developer Tools and check the log locations. Then we can compare with e.g. my logs and check if something is off.

@alexandrudima I got my Vscode back 😄
Yus ELECTRON_NO_ASAR  does the trick.
Lessons learnt 🗡
Closing this issue.
Thanks for the awesome support and product


Adding drones

Hi,
I add some commercial drones interesting hacks
Regards,
Pedro

LGTM. Merged. Thanks!


Pypi integration on build

[ ] The azure build tools needs to be updated to create a new pypi package deepforest_pytorch.

Building azure pipelines here, it will fail at first and then can debug
https://dev.azure.com/benweinstein2010/DeepForest/_build

Creating first release for azure to build on tags and pull requests https://dev.azure.com/benweinstein2010/DeepForest/_releaseProgress?_a=release-environment-logs&releaseId=94&environmentId=177

Pypi build pushed.
https://pypi.org/project/deepforest-pytorch/

not quite right though. Pip install works fine.
pip install deepforest-pytorch

(test) benweinstein@Bens-MacBook-Pro NeonTreeEvaluation % python
Python 3.8.5 (default, Sep  4 2020, 02:22:02)
[Clang 10.0.0 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from deepforest import deepforest
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'deepforest' from 'deepforest' (unknown location)
>>> import deepforest
>>>

Its also not
>>> from deepforest_pytorch import deepforest
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'deepforest_pytorch'

Maybe need to define an entry point? We want to python module to be named deepforest, but pip install to distinguish between deepforest-pytorch and the original?
@henrykironde do you know the answer to this?

Checking it out right now

It should be from deepforest import ........

Example usage
>>> from deepforest import *
>>> from deepforest import training
>>> from deepforest import preprocess

ugh! obviously. I had renamed deepforest/deepforest.py -> deepforest/main.py and forgot between versions. Sorry.


Automated Contour version update 1.21.0

Automated changes by the cron-contour-update GitHub action

Testgrid passes, so ingress still works with this 😄


warning when linking into an iOS widget build

I'm getting warning about linking to the SwiftAA library in a widget app.  It says it's not safe.  Is there some way around this?  Why is it considered unsafe for an iOS extension?
ld: warning: linking against a dylib which is not safe for use in application extensions: /Xcode/DerivedData/Build/Products/Debug-iphoneos/PackageFrameworks/SwiftAA.framework/SwiftAA

Hi. Good question, I have no idea. This is the first time this problem is reported to me.

This is the only thing I've found that offers a suggestion of something that might help
https://stackoverflow.com/questions/52885293/warning-message-linking-against-a-dylib-which-is-not-safe-for-use-in-application
I'll look into building the code myself so that I might be able to tweak the build settings a bit.

I wound up just passing the needed data to the widget using user settings.


Crash if csv is ending with carriage-return

user=> (charred.api/read-csv "header\r1\r")
Error printing return value at charred.CharReader/unread (CharReader.java:122).
Unread too far - current buffer empty

Since carriage-return seems to be a supported line separator, this is clearly an error.
There seems to be a related problem in clojure.data.csv. It doesn't crash, but it doesn't trim the last newline as it does for \n
user=> (clojure.data.csv/read-csv "header\r1\r")
(["header"] ["1"] [""])

This is with charred 1.007

Agreed - Definitely an error

Fixed 1.008 - thanks great detailed catch.

Thanks for a super quick fix!


feat(pinia-orm): Add single table inheritance support

Thoughts
Add single table inhertance support back for v1 since it seems to be used. Also tried to fix known vuex-orm issues
ToDo

[x] Basic Functionality
[x] Relation Handling
[x] Tests
[x] Docs

Related Issues
https://github.com/vuex-orm/vuex-orm/issues/606, https://github.com/vuex-orm/vuex-orm/issues/581, https://github.com/vuex-orm/vuex-orm/issues/519, https://github.com/vuex-orm/vuex-orm/issues/606, https://github.com/vuex-orm/vuex-orm/issues/512, https://github.com/vuex-orm/vuex-orm/issues/443

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@646a74d). Click here to learn what that means.
The diff coverage is 99.04%.

@@            Coverage Diff            @@
##             master     #117   +/-   ##
=========================================
  Coverage          ?   99.60%
=========================================
  Files             ?       53
  Lines             ?     4512
  Branches          ?      370
=========================================
  Hits              ?     4494
  Misses            ?       18
  Partials          ?        0

Impacted Files
Coverage Δ

packages/pinia-orm/src/database/Database.ts
100.00% <ø> (ø)

packages/pinia-orm/src/query/Query.ts
99.75% <97.95%> (ø)

packages/pinia-orm/src/composables/useRepo.ts
100.00% <100.00%> (ø)

packages/pinia-orm/src/model/Model.ts
100.00% <100.00%> (ø)

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 646a74d...4dcd101. Read the comment docs.


Fixes streching of view on keyboard open

Fixes stretching of view on keyboard open in Android (Lollipop)
https://crosswalk-project.org/jira/browse/XWALK-3547?focusedCommentId=33278&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-33278

@fujunwei

This fixed the issue in our app and made it possible to move forward with crosswalk.
I'll be forking the project until this gets straightened out.
Thank you for the fix!

The intention was that Animatable would be false by default. If that's not what's happening, then how about taking out the "if" and adding in:
XWalkPreferences.setValue(XWalkPreferences.ANIMATABLE_XWALK_VIEW, prefAnimatable || manifestAnimatable);

@axinging @fujunwei
I was looking at the docs for CrosswalkAnimatable, I was wondering why CrosswalkAnimatable, true is important as the default for cordova-plugin-crosswalk-webview. I see the default for XWalkPreferences is false but this has been changed in the plugin, and that the docs mention there are performance advantages using SurfaceView over TextureView which exposes this bug.
Would it be possible to add an option in cordova's config.xml for dev's to choose their preference?
Cheers,
Charles Mitchell
https://crosswalk-project.org/apis/embeddingapidocs/reference/org/xwalk/core/XWalkPreferences.html#ANIMATABLE_XWALK_VIEW

I wonder who and which party owns the resolution of this issue. It's a big usability problem when interacting with input fields. From what I can see there's no indication that the reasons for the faulty behaviour are fully understood.
Cordova, Crosswalk, Android?

Yeah, this would fix my ionic framework app on Android 5

It have been implemented in https://github.com/crosswalk-project/crosswalk/pull/3089.

any information when this will land in a release? thanks for your work!

Duplicate with https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview/commit/f82d5e41eb438cd810494d8511eae5006d82c1f9 that have merged into master, so close it.


[Feature] Add TraitDefinition for Secret & PVC

Is your feature request related to a problem? Please describe.

We need add TraitDefinition for Kubernetes basic objects: Secret & PersistentVolume.
Describe the solution you'd like

Describe alternatives you've considered

Additional context

@Somefive I am interested in picking this issue. Can you share more details ?

/assign

@Somefive do we want to create TraitDefinition for PV, PVC or both?

@Somefive I am interested in picking this issue. Can you share more details ?

Sorry I missed this message for several days. Absolutely ok if you would like to have a try.

@Somefive do we want to create TraitDefinition for PV, PVC or both?

I think we can have a TraitDefinition for PVC first which can create a new PVC object (by cue template outputs field) and attach this information to component (by cue template patch field). A PV TraitDefinition is also a desired feature but one issue here is currently KubeVela will clean up the PV once the application that creates it is recycled. This might not be appropriate since user may want to reuse the storage later elsewhere. Therefore, you can go with PVC first. :)

thanks @Somefive , I have some more question.  when you say attach this information to component (by cue template patch field you mean using this PVS  as part used in spec.template.spec.volumes?
Also what about secret, secrets can be used as env variables as well as volume. do we want to add support for both?

when you say attach this information to component (by cue template patch field you mean using this PVS as part used in spec.template.spec.volumes?

Yes.

Also what about secret, secrets can be used as env variables as well as volume. do we want to add support for both?

In my opinion, secret is more like configmap and the support for secret is also appreciated. But I would prefer to have two individual pull requests to handle secret and PVC. You can create two PR to solve them.

@Somefive added a PR for PVC


Rework of loot rules

role priority can be edited (global and per group)
result table includes compared values for rule
remove strict ruling
add posibilty to prioritise by dps (curated manually)
made Ui clearer

Awesome :D


[Device Support Request] ("_TZE200_3towulqd", "TS0601") Motion and Illuminance Sensor

I tried to get the ts0601_motion.py  to work with this sensor.
This devices does motion and Lux sensor?
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0402",
      "in_clusters": [
        "0x0000",
        "0x0001",
        "0x0500"
      ],
      "out_clusters": [
        "0x000a",
        "0x0019"
      ]
    }
  },
  "manufacturer": "_TZE200_3towulqd",
  "model": "TS0601",
  "class": "zigpy.device.Device"
}

Duplicate of #1620

Can you try with the quirk from https://github.com/zigpy/zha-device-handlers/issues/1599#issuecomment-1219634462?

Let's keep the conversation inside the issue https://github.com/zigpy/zha-device-handlers/issues/1620


Having issue with OpenAPI localization

Hello!
I don't know is that really an issue, but I've faced such an effect.
I have a documentation portal in two languages. Source files are located into related folders (docs/en/... and docs/ru/...).
We enabled the i18n plugin, and in general, it works fine. But: we also have API documentation in YAML format. It is presented in two languages located in related folders, too.
And when we open the page containing such a API specification and switch the language, it doesn't render.
Steps to reproduce:

Visit http://shahid.ru/cm_loyalty_online_api/api_requests/
See the correct API specification
Change the language to English using the language selector on the top
See the error "Fetch errorNot Found loyalty_api.yaml"
But I can guarantee that this file exists( All necessary files are included to the nav section of the mkdocs.yml file. What can be the problem?

My mkdocs.yml configuration section:
# Plugins
plugins:
  - search
  - include-markdown
  - render_swagger
  - build_plantuml:
      render: 'server' # or "local" for local rendering
      bin_path: '/usr/local/bin/plantuml' # ignored when render: server
      server: 'http://www.plantuml.com/plantuml' # offical plantuml server
      disable_ssl_certificate_validation: true # for self-signed and invalid certs
      output_format: 'png' # or "png"
#     diagram_root: 'docs/diagrams' # should reside under docs_dir
      output_folder: 'out'
      input_folder: 'src'
      input_extensions: '' # comma separated list of extensions to parse, by default every file is parsed
  - i18n:
      default_language: ru
      default_language_only: false
      material_alternate: true
      docs_structure: folder
      languages:
        ru:
          name: Русский
          link: /ru
        en:
          name: English
          link: /en

Well, after some investigation I found out that the problem cause may be while documentation builds.

For default version (ru), we have such a folder structure:

folder
---subfolder
------index.html
------spec.yaml

And it is rendered OK.
2. For the alternate version (en), we have such a folder structure:
folder:
---subfolder
------index.html
spec.yaml

How can I force the correct build for the alternate version?

Hi @koshelekapi sorry for the late reply, I'll be looking at it next week for sure!

@koshelekapi now that I read your problem, I'd like to ask you to test with the latest version 0.48 which has a fix for when folder + static nav is used, see #145
Thanks

Two screenshots below illustrate folder structure after documentation build for Russian (default) and English variant. Please specify do you need my full mkdocs.yml file. There, you can find the difference of the .yaml file location.

I'm sorry for the late reply @koshelekapi. As I already said, it's impossible to be sure without a reproducible environment for me.
I'd like to encourage you to switch to the suffix based folder structure, it is easier and more mature than the folder one.

Closing; if you wish to provide a full reproductible env that I can test and fix on, please reopen.


grunt serve dies with port 9000 already in use

Ciao Alessandro! A clean install results in grunt serve failing with port 9000 already in use, and I'm assuming test or some such is hogging that port when the server tries to fire up.
Might have something to do with angular-generator? See https://github.com/yeoman/yeoman/issues/1118
ng-kickstart mpirtle$ grunt serve
Running "clean:dist" (clean) task

Running "clean:tmp" (clean) task
Cleaning build/tmp/assets...OK
Cleaning build/tmp/index.html...OK
Cleaning build/tmp/templates-app.js...OK
Cleaning build/tmp/templates-common.js...OK
Cleaning build/tmp/webapp...OK

Running "html2js:app" (html2js) task
Successfully converted 3 html templates to js.

Running "html2js:common" (html2js) task
Successfully converted 0 html templates to js.

Running "concurrent:build" (concurrent) task

    Running "copy:webappJs" (copy) task
    Copied 8 files

    Done, without errors.

    Running "copy:vendorJs" (copy) task
    Copied 7 files

    Done, without errors.

    Running "copy:vendorCss" (copy) task
    Copied 4 files

    Done, without errors.

    Running "sass:dev" (sass) task
    File "build/tmp/assets/css/0.0.1.style.css" created.

    Done, without errors.

Running "copy:webappAssets" (copy) task
Created 3 directories, copied 9 files

Running "tpl:build" (tpl) task

Running "configureProxies" task
Proxy created for: /api to localhost:9001

Running "connect:livereload" (connect) task
Fatal error: Port 9000 is already in use by another process.

Running "injector:dev" (injector) task
Missing option template, using dest as template instead
Injecting css files (2 files)

Nothing changed

Running "concurrent:tasks" (concurrent) task
Running "connect:server" (connect) task
Waiting forever...
Fatal error: Port 4000 is already in use by another process.
Execution Time (2017-05-25 17:47:46 UTC+5:30)
loading tasks   587ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 96%
connect:server   24ms  ▇▇ 4%
Total 612ms

Running "watch" task
Waiting...

Warning:  Used --force, continuing.
Done, but with warnings.
Execution Time (2017-05-25 17:47:45 UTC+5:30)
loading tasks     532ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 27%
injector:dev      393ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 20%
concurrent:tasks     1s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 53%
Total 2s

how to  solve this error in linux?


Error handling

Hi team,
I'm looking for some guidance on how to catch loqate errors thrown from react-loqate?
Specifically need to handle this error:
{"Error":"3","Description":"Account out of credit","Cause":"Your account is either out of credit or has insufficient credit to service this request.","Resolution":"Please check your account balance and top it up if necessary."}
I'm using a custom Input and custom List component. I want to catch the error and prompt the user to enter address manually. Any help would be much appreciated!

Hi team,
Im running into the same issue. Tried using ErrorBoundary component but it wont catch async errors. A suggestion would be to add a prop onError which then you could pass any callback
Any help would be much appreciated.

To be resolved by https://github.com/labd/react-loqate/pull/28/files, which will make the async errors get caught by the error boundary.


Document severity support

Fixes #97 (Document severity)

@mmcdaris PTAL. I added a new section in what-triggers-a-new-email.md


Codecov webhook 403

It seems like Codecov itself is working correctly
https://app.codecov.io/gh/nt4f04uNd/sweyer/tree/master/lib/logic
But I the repo settings, under a Webhooks section I found that there's some webhook, which I didn't create and it is somehow related to the Codecov.
https://github.com/nt4f04uNd/sweyer/settings/hooks/357895302
It calls into https://codecov.io/webhooks/github, but all of the responses are just 403
Details

@Abestanis do you know what is this?

Hm, I'm not sure about the webhook. I don't have access to the webhook configuration, so I don't think it was me who added it. Maybe the GitHub action creates it somehow automatically?
I would just deactivate it and see if anything breaks. If not, remove it.

Deleted the hook, seems like nothing broke. Closing.


text errors on Danger Room page

On the danger room page:

Spelling errors highlighted: "THE DANGER ROOM! Everythign in this room requries"
"Planer" not "Planar"

Craft Room:
"Silhouette" not "Silouhette"
Danger Room:
Drils of various forms (Should be "Drills")
RTFM page:
"We're finishin up" should be "We're finishing up"
Contact page:
No webpage was found for the web address: https://synshop.org/contact/
Membership page:
Was this supposed to be on there twice? "Tool Certifications You must complete a very quick and to-the-point Tool Certification (TC) before you can operate the bigger / more expensive equipment on your own. Our goal isn’t to be the mean and grumpy shop teacher, but we want to make sure that you aren’t going to damage the tool or hurt yourself. We have designed TCs to give you a reference on how to operate the tool safely and properly."
Otherwise, it looks great! Great job!


Made Assignment of json to res conditional

Assigning json to res, only if it is not already defined. Otherwise it could make Express apps behave in an unexpected way.
Fixes #255 in swagger-node.

Thanks!

You're welcome and thanks for the quick merge! :)
Any chance we can get a new version of swagger-node-runner released with this fix in?

Yes. I'll try to get a release out soon.


Feature/mp 7730 country code3 db config

@originalethanhunt can we also change the Type to use a HashSet of all possible CountryCodes instead of using Regex?


[Bug] [RestAPi] Error submitting job

Search before asking

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

What happened
An error occurred when I called the Seatunnel Rest Api for commit task execution as per the documentation.
java.util.concurrent.CompletionException:com.hazelcast.nio.serialization.HazelcastSerializationException: No DataSerializerFactory registered for namespace: -30002
  at com.hazelcast.spi.impl.AbstractInvocationFuture.wrapInCompletionException
  .......

This looks like a hazelcast serialization problem
I searched for hazelcast related questions on stackflow and one of the accepted answers was to apply the configuration serialized classes to both the server and the client, but I didn't know how to use it
Then i downloaded the Seatunnel-Web source code to see how the web-client submit the job, but the same error occurred

Here are some related classes I found that I hope will quickly help you locate the problem,
The comment indicates that this class is about task serialization

package org.apache.seatunnel.engine.core.serializable;

import org.apache.seatunnel.engine.common.serializeable.SeaTunnelFactoryIdConstant;
import org.apache.seatunnel.engine.core.dag.logical.LogicalDag;
import org.apache.seatunnel.engine.core.dag.logical.LogicalEdge;
import org.apache.seatunnel.engine.core.dag.logical.LogicalVertex;
import org.apache.seatunnel.engine.core.job.JobImmutableInformation;
import org.apache.seatunnel.engine.core.job.JobInfo;

import com.hazelcast.internal.serialization.DataSerializerHook;
import com.hazelcast.internal.serialization.impl.FactoryIdHelper;
import com.hazelcast.nio.serialization.DataSerializableFactory;
import com.hazelcast.nio.serialization.IdentifiedDataSerializable;
import com.hazelcast.spi.annotation.PrivateApi;

/**
 * A Java Service Provider hook for Hazelcast's Identified Data Serializable mechanism. This is
 * private API. All about the Job's data serializable define in this class.
 */
@PrivateApi
public final class JobDataSerializerHook implements DataSerializerHook {

    /** Serialization ID of the {@link LogicalDag} class. */
    public static final int LOGICAL_DAG = 0;

    /** Serialization ID of the {@link LogicalVertex} class. */
    public static final int LOGICAL_VERTEX = 1;

    /** Serialization ID of the {@link LogicalEdge} class. */
    public static final int LOGICAL_EDGE = 2;

    /**
     * Serialization ID of the {@link org.apache.seatunnel.engine.core.job.JobImmutableInformation}
     * class.
     */
    public static final int JOB_IMMUTABLE_INFORMATION = 3;

    public static final int JOB_INFO = 4;

    public static final int FACTORY_ID =
            FactoryIdHelper.getFactoryId(
                    SeaTunnelFactoryIdConstant.SEATUNNEL_JOB_DATA_SERIALIZER_FACTORY,
                    SeaTunnelFactoryIdConstant.SEATUNNEL_JOB_DATA_SERIALIZER_FACTORY_ID);

    @Override
    public int getFactoryId() {
        return FACTORY_ID;
    }

    @Override
    public DataSerializableFactory createFactory() {
        return new Factory();
    }

    private static class Factory implements DataSerializableFactory {

        @Override
        public IdentifiedDataSerializable create(int typeId) {
            switch (typeId) {
                case LOGICAL_DAG:
                    return new LogicalDag();
                case LOGICAL_VERTEX:
                    return new LogicalVertex();
                case LOGICAL_EDGE:
                    return new LogicalEdge();
                case JOB_IMMUTABLE_INFORMATION:
                    return new JobImmutableInformation();
                case JOB_INFO:
                    return new JobInfo();
                default:
                    throw new IllegalArgumentException("Unknown type id " + typeId);
            }
        }
    }
}

I also searched -30002 namespace, it is defined in the following constant class

package org.apache.seatunnel.engine.common.serializeable;

/**
* Constants used for Hazelcast's {@link com.hazelcast.nio.serialization.IdentifiedDataSerializable}
* mechanism.
*/
public final class SeaTunnelFactoryIdConstant {
   /**
    * Name of the system property that specifies SeaTunnelEngine's data serialization factory ID.
    */
   public static final String SEATUNNEL_OPERATION_DATA_SERIALIZER_FACTORY =
           "hazelcast.serialization.ds.seatunnel.engine.operation";
   /** Default ID of SeaTunnelEngine's data serialization factory. */
   public static final int SEATUNNEL_OPERATION_DATA_SERIALIZER_FACTORY_ID = -30001;

   public static final String SEATUNNEL_JOB_DATA_SERIALIZER_FACTORY =
           "hazelcast.serialization.ds.seatunnel.engine.job";
   public static final int SEATUNNEL_JOB_DATA_SERIALIZER_FACTORY_ID = -30002;

   public static final String SEATUNNEL_CONFIG_DATA_SERIALIZER_FACTORY =
           "hazelcast.serialization.ds.seatunnel.engine.config";
   public static final int SEATUNNEL_CONFIG_DATA_SERIALIZER_FACTORY_ID = -30003;

   public static final String SEATUNNEL_TASK_DATA_SERIALIZER_FACTORY =
           "hazelcast.serialization.ds.seatunnel.engine.task";
   public static final int SEATUNNEL_TASK_DATA_SERIALIZER_FACTORY_ID = -30004;

   public static final String SEATUNNEL_RESOURCE_DATA_SERIALIZER_FACTORY =
           "hazelcast.serialization.ds.seatunnel.engine.resource";
   public static final int SEATUNNEL_RESOURCE_DATA_SERIALIZER_FACTORY_ID = -30005;

   public static final String SEATUNNEL_CHECKPOINT_DATA_SERIALIZER_FACTORY =
           "hazelcast.serialization.ds.seatunnel.engine.checkpoint";
   public static final int SEATUNNEL_CHECKPOINT_DATA_SERIALIZER_FACTORY_ID = -30006;
}

I don't know if this is a bug or my configuration is wrong, please help me find the problem!!!
Thanks a lot !
SeaTunnel Version
SeaTunnel - 2.3.3
SeaTunnel Config
${restApi.requestBody}

Running Command
RestApi

post request:

url: http://localhost:5801/hazelcast/rest/maps/submit-job?jobId=1&jobName=t&isStartWithSavePoint=false
body:
   ...(config)

Error Exception
java.util.concurrent.CompletionException:com.hazelcast.nio.serialization.HazelcastSerializationException: No DataSerializerFactory registered for namespace: -30002
  at com.hazelcast.spi.impl.AbstractInvocationFuture.wrapInCompletionException(AbstractInvocationFuture.java:1353) ~[hazelcast-5.2.4.jar:5.2.4]
......

Zeta or Flink or Spark Version
No response
Java or Scala Version
No response
Screenshots
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@liugddx @EricJoy2048 @FlechazoW

I check the latest code found class RestHttpPostCommandProcessor deleted, only Get processor
What is the reason for this?

Author

Recompile and try again.

Author

Recompile and try again.

Problem solved, thanks

The last time this issue occurred, I rebuilt the latest code and found that it worked, but the same issue occurred again today.
It can be used in the morning, and the same configuration file is suddenly unavailable in the afternoon without any modification.
Instead of committing remotely, this time I ran it locally using a configuration file
I would like to ask what exactly caused this mistake: No DataSerializerFactory registered for namespace: -30002


48 ticket chat frontend

Codecov Report

Merging #39 into master will increase coverage by 1.67%.
The diff coverage is 4.08%.

@@            Coverage Diff             @@
##           master      #39      +/-   ##
==========================================
+ Coverage   23.17%   24.85%   +1.67%
==========================================
  Files          39       36       -3
  Lines        1001      676     -325
  Branches      135       91      -44
==========================================
- Hits          232      168      -64
+ Misses        694      460     -234
+ Partials       75       48      -27

Impacted Files
Coverage Δ

user-app/src/components/Projects/joinProject.js
0% <ø> (ø)
:arrow_up:

user-app/App.js
100% <ø> (ø)
:arrow_up:

user-app/src/components/Projects/projectInfo.js
0% <0%> (ø)
:arrow_up:

user-app/src/components/Chat/messages.js
0% <0%> (ø)

user-app/src/components/Login/login.js
33.33% <0%> (ø)
:arrow_up:

user-app/src/components/Chat/sendMessages.js
33.33% <33.33%> (ø)

...va/de/fau/cs/osr/amos/asepart/entities/Ticket.java
56.25% <0%> (-34.66%)
:arrow_down:

admin-web-app/src/components/shared/auth.js
0% <0%> (ø)
:arrow_up:

...in/java/de/fau/cs/osr/amos/asepart/WebService.java
0% <0%> (ø)
:arrow_up:

user-app/src/components/Login/auth.js
14.28% <0%> (ø)
:arrow_up:

... and 14 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 a881bed...ce05da7. Read the comment docs.


Consistently Reject Top-Level Placeholder Types

Fix a regression introduced in #39627 where placeholders at the "top level" were mistaken for "placeholders in top level code".
This is done in two ways

Restore diagnostics for usages of _ in expression position in all decl contexts
Restore diagnostics for typed patterns and offer a replacement derived from the initializer expression's type if available.

@swift-ci smoke test


[New Rule] Adds support for enforcing JSDoc

PR checklist

[x] Addresses an existing issue: #623
[x] New feature

[x] Includes tests

[ ] Documentation update

What changes did you make?
Hey there, I had been wanting to add a feature to ESLint for a while, but we moved to TypeScript, and so I actually needed it in TSLint also.
This is close to an exact port of the "require-jsdoc" port from ESLint, but with less rigid defaults. It will default to only raising errors to exported classes/functions. You can make it apply to all functions though, too.
Is there anything you'd like reviewers to focus on?

I've only done JavaScript for ~6 months TS for 1 month, there are things I've probably not taken into account.
Should this take into account TS' private / public functions?
Not sure what I have to do re:docs

--
Sidenotes:

I updated the settings for VS Code - the JSON shape has changed, and it would show the JS files instead of just TS files in search
I added a quick feature to the ruleTestRunner so you could run a subset of tests with  node ./build/test/ruleTestRunner.js "test/rules/require-jsdoc/*/tslint.json" - 30 seconds  was too long.

Thanks for your interest in palantir/tslint, @orta! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

I think this duplicates behavior from completed-docs https://github.com/palantir/tslint/pull/2095

Oh yeah -  @nchen63 it does, and that's much more comprehensive 👍
@ajafff - thanks for the review ( it was useful, and I got pretty far with your changes, but not much point continuing )
I'm going to close this. :1st_place_medal:


[lldb] Support llvm-lit tests with REQUIRES: native condition on Windows

lit adds the native item in available_features, if the target-triple and host-triple strings are equivalent. While we hardcode LLVM_DEFAULT_TARGET_TRIPLE to x86_64-unknown-windows-msvc in the CMake cache file, LLVM_HOST_TRIPLE is inferred automatically, which results in x86_64-pc-windows-msvc.
These triples are compatible, but not string-equivalent and so lit skips all related tests. Let's fix by setting LLVM_HOST_TRIPLE explicitly. We cannot do it in the cache file, because we have to consider cross-compilation.

Seems reasonable to me!

Thanks for reviewing @hyp, I think this is ready t land.

@swift-ci please test

On macOS the lang/swift/enums/decoding_error/TestSwiftDecodingErrorEnum.py test failed unexpectedly. This is certainly unrelated to my change.
The Windows build was skipped apparently. Maybe at some point we try again:
@swift-ci please test windows platform

Since this patch only touches build.ps1, Windows tests should be sufficient. https://github.com/swiftlang/swift/pull/77070 unblocked the bot.
@hyp Can we try@swift-ci please test windows platform please?

Let's land this together with the overall PR for LLDB testing.


Field names cannot start with an underscore: '_STATE'

I'm attempting to read the Behavioral Risk Factor Surveillance System (BRFSS) report from the CDC. When I attempt to read it in I get ValueError: Field names cannot start with an underscore: '_STATE'. The obvious solution to me is to remove the underscore but then I get either ValueError: 256 is not a valid VariableType or 0 is not a valid VariableType

Can you link me to the file you're trying to read?

Of course! https://www.cdc.gov/brfss/annual_data/2018/files/LLCP2018XPT.zip

Just in case you were working on this over the weekend, the CDC also provided this as an ASC file which I was able to open as a csv. Thanks for looking into this.

Oh, hey, I kinda let this one slip off my radar. You've probably moved past this by now, but ... mind sharing the full traceback?

Hi,  I'm having the same issue with exactly the same BRFSS 2018 file.  I tried your suggestion to upload the ASC file as a CSV, which imported the file as only one column.  I may be able to sort it out with R.  Nonetheless, as you requested above, here is the traceback:  (It shouldn't make any difference, but I'm pulling the XPT file from my Google Drive.)
Looking forward to your guidance.
ValueError                                Traceback (most recent call last)
 in ()
1 with open('/content/drive/MyDrive/Colab/BRFSS - 2018/LLCP2018XPT.zip (Unzipped Files) (1)/LLCP2018.XPT ', 'rb') as file:
----> 2   library = xport.v56.load(file)
6 frames
/usr/lib/python3.7/collections/init.py in namedtuple(typename, field_names, rename, defaults, module)
368     for name in field_names:
369         if name.startswith('_') and not rename:
--> 370             raise ValueError('Field names cannot start with an underscore: '
371                              f'{name!r}')
372         if name in seen:
ValueError: Field names cannot start with an underscore: '_STATE'

That's frustrating. Looks like we can't use namedtuple in that situation. Thanks for sharing the traceback. I'll have to avoid use of namedtuple to enable reading that file.

Thanks for your prompt response.  I have no idea if resolving this is on your critical path, but I think I have another solution.  I'm not exactly fluent in SAS, but I can clunk my way through.  I'll import it into SAS and export from their as a CSV file.  It's been a couple of years, but I should be able to pull that off.  I'll let you know.  Thanks

If you have SAS or SAS Viewer, use that to export as CSV. Much safer than using this clunky tool. This project was intended to be available for people reading SAS files who don't have access to any official SAS products. SAS Viewer is free for Windows, so I thought only Mac and Linux users would want to use this project.

Digging in, it looks like I can trivially remove the namedtuple usage.


Not able migrate from api.ai

Rasa NLU version (e.g. 0.7.3):
Used backend / pipeline (mitie, spacy_sklearn, ...):
Operating system (windows, osx, ...):
Issue:
I have exported the dump from api.ai and tried to train the nlu. Rasa_nlu couldn't recognize any entities or intents. What could have gone wrong?
Content of configuration file (if used & relevant):

I guess this is related to the new export format #616

@shahinkl Would you be able to provide a sample or a peek on the exported API.ai data you have?

@shahinkl we'd love to help, but we'll need to close this in the next few days if we don't hear back. @deubaka is working on some API.ai changes on #625.

@shahinkl Kindly check the latest version on master. Dialogflow (formerly api.ai) data handling has been merged there.

Closing for lack of activity.


Week 18 Hacks

[X] Create Performance Task Grading
[X] Model and OOP Hacks
[X] View and Frontend Hacks
[X] View and Frontend Blog

.95 Model
.95 View
.9 CPT


fix(precompilation): support streaming layer content in 15MB chunks

Streams content to the containerd store in 15MB chunks in order to support precompiling larger layers
Tested with 200 MB Spin app

Just pushed a inline doc nit change to add a reference to the containerd max gRPC message size (https://github.com/containerd/runwasi/pull/507#discussion_r1516618486)

Going to merge this so that the spin shim can use the commit from main


[Feature Request] Scalable fonts

Add scalable/changeable font size for signature list, etc.

Nice idea, but this is nothing I´ll implement in future.
Please use CTRL+ + for browser zoom.


We need a way to rename a domain.

I desperately need a way to rename a SharePoint site. I have two different customers that need to be renamed.
Customer 1 - 500+ staff and changed their company name. I don't want to move them to a new tenant as we're using InTune, SharePoint, OneDrive... Everything.
Customer 2 - 100-200 Staff and a misspelled domain. I also don't want to move them to a new tenant.
Is there a way we can pay Microsoft to rename the SharePoint site in the backend rather than migrating?

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

ID: 7fff5ef6-b4cc-5a18-10a8-7b5182e2deae
Version Independent ID: 8176e436-b25b-e455-09ac-be08bea2bfcb
Content: Change your SharePoint domain name - SharePoint in Microsoft 365
Content Source: SharePoint/SharePointOnline/change-your-sharepoint-domain-name.md
Service: sharepoint-online
GitHub Login: @kaarins
Microsoft Alias: kaarins

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.

Support referenced this page and said it's not possible and we would need to migrate to another tenant. That answer wasn't helpful and I'm looking for someone a little higher up who might be able to tell us if we can pay for the engineers to make it happen.


Updated dockerfiles to get the dockcross images from mxnetcipinned

Updating the dockerfiles, as the dockcross images moved to mxnetcipinned on Docker Hub.
https://hub.docker.com/u/mxnetcipinned/

what is that docker repo and what's the difference with the previous? Does this also update cuda? I find this PR confusing.

The dockcross images are no longer in the old repo (mxnetci), they moved to mxnetcipinned, but as far as I know they should be the same.
The cuda update was there by mistake, removed.
Also added your changes from  https://github.com/apache/incubator-mxnet/pull/13532 to fix Jetson builds.

@jlcontreras Can you please check the CI failure? Thanks!

@mxnet-label-bot Update [pr-awaiting-response]

@mxnet-label-bot update [pr-awaiting-testing]

LGTM

Had to add a minor fix to one of the tests so the PR passes CI

Merging since the deploy failure is unrelated and will be addressed in #14163 - we have a clash here and have to merge one first.


Studio: RN theme-builder.ts has unsupported 'syncLeft' fields

Current Behavior
Step 3 of studio produces theme-builder.ts code that has blocks containing a syncLeft field that is unsupported:
...
anchors: [
      {
        index: 0,
        hue: {sync: true, light: 100, dark: 100},
        sat: {sync: true, light: 0, dark: 0},
        lum: {light: 0.985, dark: 0.1},
      },
      {
        index: 9,
        hue: {syncLeft: true, sync: true, light: 100, dark: 100},
        sat: {syncLeft: true, sync: true, light: 0, dark: 0},
        lum: {light: 0.5, dark: 0.5},
      },
      {
        index: 10,
        hue: {sync: true, light: 100, dark: 100},
        sat: {sync: true, light: 0, dark: 0},
        lum: {light: 0.15, dark: 0.925},
      },
      {
        index: 11,
        hue: {syncLeft: true, sync: true, light: 100, dark: 100},
        sat: {syncLeft: true, sync: true, light: 0, dark: 0},
        lum: {light: 0.1, dark: 0.95},
      },
    ],
...

Error:
Object literal may only specify known properties, and 'syncLeft' does not exist in type '{ light: number; dark: number; sync?: boolean; }'.ts(2353)
types.d.ts(26, 5): The expected type comes from property 'hue' which is declared here on type 'BuildThemeAnchor'

Expected Behavior
I'm not sure.
Tamagui Version
1.79.12

Platform (Web, iOS, Android)
All

Reproduction
Export with studio for react native.

System Info
No response

fixed with 1.79.13


Add a webhook for namespace deletion

This commit makes KMM set the kmm.node.k8s.io/contains-modules label on all namespaces that contain at least one Module.
It also adds a new webhook to the bundle and the corresponding handler in the manager.
The new webhook rejects namespace deletions if the kmm.node.k8s.io/contains-modules label is present on the namespace. This avoids entering situations where the namespace is being deleted and KMM cannot create unloading Pods to honor Module deletion.
Fixes #708
/cc @mresvanis @yevgeny-shnaidman @ybettan

@mresvanis @yevgeny-shnaidman @ybettan PTAL 🙂

/lgtm


[alignment] Fix alignment issues so repeated processing works properly

Context: formatter-maven-plugin formats source code for html using jsoup with mixed results.
During first pass on formatting a file with pretty printing, if tags such as <div> with content on second line show up, jsoup currently forces that +1 in the padding which is incorrect.  If the div is inline, jsoup will correctly align it with line breaks properly on that first pass.  A secondary pass of now formatted file will result in the same behaviour with +1.  This seems to affect many elements based on file we have here
I tried various ways to address and don't know jsoup enough to know the right way.  What seemed to work best without messing anything else up was to use the normalize on the string already present in jsoup when doing pretty printing and if that ends up with space before content as it does in this case (one at start and one at end), then do the padding with 1 less character.  Under testing this seemed to then work on the first round and every subsequent pretty print of same worked out the same way.
I even tried your website to drop the file I have above.  It does behave in same way there so this seems right but may not be the most appropriate way to resolve.  Please take a look here and let me know what you think.
One test seemed inherently wrong here too where it had a non breaking space but was being prefixed with an extra space.  To me that means it got 2 when it didn't need the extra.  While look and feel is better with that space, I wasn't quite sure how to make that look better and technically one space is all that needed so I adapted that test to match the change.

Draft status as tests don't work with this.  After review, will address as needed.

This is ready to review.

@jhy Could you look at this one?

Hi,
I'm not sure I'm following the issue here. Can you add examples of input and output as-is (that you see as an error) and what you want instead?

@jhy The original request here has the file in question, see the 'here' on that part as that is the file.  You can run that through the website you have provided as well which will show that it incorrectly adds 1 extra space to tabbing and it should not.  The PR applied takes that space away and resolves the case.  See the PR as well.  It really doesn't matter the file but I attached one that has the issue.  Its simply not being calculated properly.

To clarify the file in full string https://github.com/revelc/formatter-maven-plugin/blob/main/src/test/resources/someFile.html

So if we ask for 4 character spacing per tab, we expect 4 character tabs per spacing for all indentations.  This does so up to the point it hits the , it adds a 5th character whitespace right before.  So math is incorrect.  The PR sent does fix the issue (maybe not how needed in this framework but does fix it on repeated formattings - over and over its fixed).  We have our project running multiple runs on the file to confirm that the formatting does not change on subsequent passes and it currently changes on us and doesn't adhere to the requirements stated in this project for pretty print.   However that needs to work, it needs to properly adhere or its not really pretty printed per spec and a simply format in Eclipse or other IDE will fix the problem and its pretty obvious issue.  Its important we get this right as we have a huge user base for formatter-maven-plugin https://github.com/revelc/formatter-maven-plugin and this is off by default, where itsed it is entirely wrong.  This is why I had the other PR that was merged to at least fix the tabbing back to actually pretty print.  This is a follow up (1 of 3 outstanding issues with this).  I don't know the framework here well enough to know any issues with what I added other than it does work correctly in testing.

Best option is to take that file and drop in your own website for jsoup and run with pretty print.  Then count the spacing up to the <div>.  They are off by 1 character.

ok the online site is hard to see this, there is no option for 4 character spacing that I see there to demo this.  It doesn't happen with 1 character as setup.  Can you expand that show it has optiont to allow selective spacing so this can be better demonstrated?

Rebased this one and squashed commits (from 3 to 1).  Same change as previous but I added () back to siblingIndex.  I didn't look to see where exactly it was getting that data without () on it as not defined in that method or class directly.  Keep this still fixes issues I'm seeing but as with before, its probably not the right fix but easier to see together in one commit now.  The test case that is involved should help.

Left side is first time run on my test case, right side is second run.  Any repeating to format pretty aftwards always ends in third without this patch.
I see this occur inside of , , , and others.  So basically seems like anytime internal to a tag a secondary run doesn't quite count the spaces correctly.  Maybe a better solution is to divide the spaces used on the line and if it is over, fix the issue.  For example 21/4 has 1 left over when tab spacing is 4.  That is the cruxt of the issue.  I'll try looking to see if I can come up with a better pull request.

Thanks @hazendaz  - the underlying issue is now fixed (with a different approach) in #1798
Tested that now your example file will round trip multiple rounds of pretty print and parsing (with the exception of one comment getting placed on a newline, which at the moment I don't see as a big deal).

@jhy Finally got back to properly confirm this.  It works great!  Thank you.


Add GR-LYCHEE support

Thanks @toyowata!

I closed this because there should be more fix in GR-LYCHE startup code (IRQ handler) for firmware update.  Once this will be merged into mbed-os, I will raise other PR.


Modified "CreateQuery"

Added anonymous struct support for "CreateQuery". It now accepts a optional variadic "class" parameter.
So you can pass the wmi class name when your struct is anonymous and has no name or your struct is not named like the wmi class.

Sadly the original creators of this module are no longer with Stack Overflow, but I feel that the change looks low-risk and is safe to merge.


CORS preflight requests trigger and fail route configured AuthorizationPolicy

CORS preflight check sends an OPTIONS request that is triggering a route's configured AuthorizationPolicy. The policy then fails because the request is missing required authorization information to validate against the policy's set requirements.
I believe that preflight requests should bypass any configured AuthorizationPolicy. To accomplish a workaround, I am currently implementing a custom AuthorizationHandler that automatically passes any OPTIONS method requests.
To Reproduce:
In Startup.cs:
*for example simplicity I used .RequireClaim() but any Requirements that rely on auth information (from the jwt in this case) will fail because auth headers are not sent with cors preflight requests.
services.AddAuthentication(options =>
{
	JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Clear();
})
.AddJwtBearer(JwtBearerDefaults.AuthenticationScheme, options => {
	options.Authority = Configuration.GetValue<string>("AppSettings:AuthorityIssuer");
	options.TokenValidationParameters.ValidateAudience = false;
});
services.AddAuthorization(options =>
{
	options.AddPolicy("API_Policy", policy =>
	{
		policy.AddAuthenticationSchemes(JwtBearerDefaults.AuthenticationScheme)
		.RequireClaim("scope", "ApiScope");
	});
});
services.AddCors(options =>
{
	options.AddPolicy("corsPolicy", builder =>
	{
		builder.SetIsOriginAllowed(s => true).AllowAnyMethod().AllowAnyHeader().AllowCredentials();
	});
});

In appsettings.json:
"ReverseProxy": {
    "Routes": {
      "route1": {
        "ClusterId": "cluster1",
        "CorsPolicy": "corsPolicy",
        "AuthorizationPolicy": "API_Policy",
        "Match": {
          "Path": "/v1/{**remainder}"
        },
        "Transforms": [
          { "PathPattern": "/{**remainder}" }
        ]
      }
    },
    "Clusters": {
      "cluster1": {
        "Destinations": {
          "Default": {
            "Address": "https://example.com"
          }
        },
        "HttpRequest": {
          "ActivityTimeout": "00:00:10"
        }
      }
    }
  }

Request Result

AuthenticationScheme: Bearer was not authenticated.
Authorization failed. These requirements were not met: ClaimsAuthorizationRequirement:Claim.Type=scope and Claim.Value is one of the following values: (ApiScope)

Further technical details

Include the version of the packages you are using : Yarp.ReverseProxy Version="1.0.0"
The platform (Linux/macOS/Windows): Windows 10

CORS should work so long as you handle it before auth. Can you share your middleware pipeline?

Per your comment, I moved my app.UseCors() call to before app.UseAuthentication() and it worked....middleware order strikes again....time to bookmark https://docs.microsoft.com/en-us/aspnet/core/fundamentals/middleware/?view=aspnetcore-6.0#middleware-order.
It would be nice if the framework/compiler could notice and call out mistakes like this, perhaps as a warning.
Thanks!
before: (broken)
public void Configure(IApplicationBuilder app)
        {
            app.UseRouting();
            app.UseAuthentication();
            app.UseAuthorization();
            app.UseCors();
            app.UseEndpoints(endpoints =>
            {
                endpoints.MapHealthChecks("/health");
                endpoints.MapReverseProxy();
            });
        }

after: (works)
public void Configure(IApplicationBuilder app)
        {
            app.UseRouting();
            app.UseCors();
            app.UseAuthentication();
            app.UseAuthorization();
            app.UseEndpoints(endpoints =>
            {
                endpoints.MapHealthChecks("/health");
                endpoints.MapReverseProxy();
            });
        }


build: disable in-tree builds

This ensures that one does not accidentally build t-s-c in tree, which
means that the source tree is always pristine and the build tree root is
different from the source tree.  The previous change to ignore CMake
artifacts would only be caused by an accidental in-tree build which
should be frowned upon and be treated as unsupported.

@swift-ci please smoke test

@swift-ci please test


[Feature] Interactive pagination for model exp model list command

https://github.com/meshery/meshery/assets/49492007/fe79de59-9590-4ff4-b77a-e572a08237a8
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

@MUzairS15 yes, panic isn't ideal here, I am thinking that if there is any error while listening keyboard events, the whole table should be printed to output (without pagination) or help message shown to user for other pagination option using --page flag, what do you and @leecalcote suggest me?

@zakisk, yes: I would consider invoking the same behavior as if someone had pressed CTRL+C, but perhaps, with an error message to let them know that something is awry.

@zakisk Merge conflicts

@zakisk Can you add a command for the components list as well in separate PR

@alphaX86

@RipulHandoo do you mind carrying this forward?

Yes Sir.


autoencoder.api.autoencode doesn't work

Hi there.  Saw you at NIPS.  Trying to get this thing going on my data.
autoencoder.api.autoencode seems to have a bug.  If I have a numpy array of cells by genes, what is the most straightforward way to run your method on my data?  Thanks!

I updated the API and added a tutorial, see README.md


how to change format time to 24 hours

@lukmanhidayah hi, I'm sorry, but it does not support 24-hour mode.