Getting 2 weight entries and not as much info as in the screenshot (e.g. bone mass etc)

So i followed the instructions for adding the MQTT sensors, and i did read the the weight entry gets added automatically (probably why i now have 2) but then why was the weight sensor defined in the example code. Do i need to add it under the sensors: heading or not.
Also, in your screenshot i see lots of other things, i only get Visceral Fat and then the Timestamp attribute for the weight sensor.

Please provide all the requested information if you need help, I can't really help otherwise

Sure, ok. I used the bug report below, let me know if you need anything else.
Select Add-On (place a lowercase x for the relevant add-on)

[ ] Xiaomi Mi Scale

Describe the bug
Getting 2 weight sensors + only seeing sub attribute Visceral Fat (up to timestamp) in the weight attribute.
To Reproduce
Steps to reproduce the behaviour, including error message if any.
I just added the MQTT code to my mqtt.yaml under sensors:
Expected behaviour
A clear and concise description of what you expected to happen.
One weight sensor and inclusion of all the sub attributes as on the main page of the integration.
Screenshots
If applicable, add screenshots to help explain your problem.
Scale (please complete the following information):

Name Xiaomi Bodyfat Scale 2
Model #2

Device running Home Assistant (please complete the following information):

Device used to run the Script/Container [e.g. Raspberry Pi, NUC]
I run HA on Ubuntu, in a VM, and use the add-on for this integration
Bluetooth device used [e.g. Built-in, USB Dongle]
USB dongle (long range)

Home Assistant Version:
e.g. 2010.01.1
Latest version (non-beta)
Additional context
Add any other context about the problem here.

I didn't realise these scales work with bare feet e.g. impedance. Once i did that, i got all the remaining sub attributes.
Thanks!

Also - something i noticed is the first time someone steps on the scale with bare feet, it doesn't seem to record those extended sub attributes.

This is normal, when you step on the scale, it first reads the weight alone (and the scale broadcasts this), then it reads the body impedance (and broadcasts both weight and impedance) impedance is required for the additional metrics, that's why you only get partial info after the initial broadcast.

Cool, but why am I getting two weight sensors though? I do need the mqtt weight sensor right?

From: lolouk44 @.>
Sent: 01 February 2023 10:45
To: lolouk44/hassio-addons @.>
Cc: atv2016 @.>; Author @.>
Subject: Re: [lolouk44/hassio-addons] Getting 2 weight entries and not as much info as in the screenshot (e.g. bone mass etc) (Issue #78)
Closed #78https://github.com/lolouk44/hassio-addons/issues/78 as completed.
—
Reply to this email directly, view it on GitHubhttps://github.com/lolouk44/hassio-addons/issues/78#event-8408983139, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBCFUZLCURVAIEZIR6YFCLWVI5EFANCNFSM6AAAAAAUM3X77M.
You are receiving this because you authored the thread.Message ID: @.***>

You'd need to delete one of the entries in the home assistant discovery topic (homeassistant by default) on your MQTT broker

Yeah, i'm looking with with mqttexplorer but i only see one topic per user.
Maybe i should just delete it from HA ?

From: lolouk44 @.>
Sent: 01 February 2023 13:35
To: lolouk44/hassio-addons @.>
Cc: atv2016 @.>; Author @.>
Subject: Re: [lolouk44/hassio-addons] Getting 2 weight entries and not as much info as in the screenshot (e.g. bone mass etc) (Issue #78)
You'd need to delete one of the entries in the home assistant discovery topic (homeassistant by default) on your MQTT broker
—
Reply to this email directly, view it on GitHubhttps://github.com/lolouk44/hassio-addons/issues/78#issuecomment-1412068626, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEBCFUYZTAZEDV2SJQ6AFWLWVJRCNANCNFSM6AAAAAAUM3X77M.
You are receiving this because you authored the thread.Message ID: @.***>

sure you could always delete it from HA. I'm not sure how you've set it up. There are many ways, just depends on what you've done.
Either delete from MQTT if using discovery and/or delete from HA if manually added to config.


gandof trackpad on ubuntu 16.04 cursor overshoots

I have this weird issue where after i stop moving my finger, the cursor continues to move in the same direction, making precision pointing very difficult.  I have installed for gandof as per your instructions.
below is the output of evemu-describe:
`# EVEMU 1.2
Input device name: "Elan Touchpad"
Input device ID: bus 0x18 vendor 0x4f3 product 0x71 version 0000
Supported events:
Event type 0 (EV_SYN)
Event code 0 (SYN_REPORT)
Event code 1 (SYN_CONFIG)
Event code 2 (SYN_MT_REPORT)
Event code 3 (SYN_DROPPED)
Event code 4 ((null))
Event code 5 ((null))
Event code 6 ((null))
Event code 7 ((null))
Event code 8 ((null))
Event code 9 ((null))
Event code 10 ((null))
Event code 11 ((null))
Event code 12 ((null))
Event code 13 ((null))
Event code 14 ((null))
Event type 1 (EV_KEY)
Event code 272 (BTN_LEFT)
Event code 325 (BTN_TOOL_FINGER)
Event code 328 (BTN_TOOL_QUINTTAP)
Event code 330 (BTN_TOUCH)
Event code 333 (BTN_TOOL_DOUBLETAP)
Event code 334 (BTN_TOOL_TRIPLETAP)
Event code 335 (BTN_TOOL_QUADTAP)
Event type 3 (EV_ABS)
Event code 0 (ABS_X)
Value   1666
Min        0
Max     3108
Fuzz       0
Flat       0
Resolution 31
Event code 1 (ABS_Y)
Value   1080
Min        0
Max     2032
Fuzz       0
Flat       0
Resolution 31
Event code 24 (ABS_PRESSURE)
Value      0
Min        0
Max      255
Fuzz       0
Flat       0
Resolution 0
Event code 25 (ABS_DISTANCE)
Value      0
Min        0
Max        1
Fuzz       0
Flat       0
Resolution 0
Event code 28 (ABS_TOOL_WIDTH)
Value      1
Min        0
Max       15
Fuzz       0
Flat       0
Resolution 0
Event code 47 (ABS_MT_SLOT)
Value      0
Min        0
Max        4
Fuzz       0
Flat       0
Resolution 0
Event code 48 (ABS_MT_TOUCH_MAJOR)
Value      0
Min        0
Max     2220
Fuzz       0
Flat       0
Resolution 0
Event code 49 (ABS_MT_TOUCH_MINOR)
Value      0
Min        0
Max     2175
Fuzz       0
Flat       0
Resolution 0
Event code 53 (ABS_MT_POSITION_X)
Value      0
Min        0
Max     3108
Fuzz       0
Flat       0
Resolution 31
Event code 54 (ABS_MT_POSITION_Y)
Value      0
Min        0
Max     2032
Fuzz       0
Flat       0
Resolution 31
Event code 57 (ABS_MT_TRACKING_ID)
Value      0
Min        0
Max    65535
Fuzz       0
Flat       0
Resolution 0
Event code 58 (ABS_MT_PRESSURE)
Value      0
Min        0
Max      255
Fuzz       0
Flat       0
Resolution 0
Properties:
Property  type 0 (INPUT_PROP_POINTER)
Property  type 2 (INPUT_PROP_BUTTONPAD)
N: Elan Touchpad
I: 0018 04f3 0071 0000
P: 05 00 00 00 00 00 00 00
B: 00 0b 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 01 00 00 00 00 00
B: 01 20 e5 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 02 00 00 00 00 00 00 00 00
B: 03 03 00 00 13 00 80 63 06
B: 04 00 00 00 00 00 00 00 00
B: 05 00 00 00 00 00 00 00 00
B: 11 00 00 00 00 00 00 00 00
B: 12 00 00 00 00 00 00 00 00
B: 14 00 00 00 00 00 00 00 00
B: 15 00 00 00 00 00 00 00 00
B: 15 00 00 00 00 00 00 00 00
A: 00 0 3108 0 0 31
A: 01 0 2032 0 0 31
A: 18 0 255 0 0 0
A: 19 0 1 0 0 0
A: 1c 0 15 0 0 0
A: 2f 0 4 0 0 0
A: 30 0 2220 0 0 0
A: 31 0 2175 0 0 0
A: 35 0 3108 0 0 31
A: 36 0 2032 0 0 31
A: 39 0 65535 0 0 0
A: 3a 0 255 0 0 0
`

I have discovered the issue: the cmt driver was not actually loading, libinput was intercepting and loading instead.  the file /usr/home/90-libinput.conf requires the "libinput touchpad catchall" and the "libinput touchscreen catchall" sections to both be commented out, otherwise the cmt driver will be replaced with libinput.
the cmt driver now loaded has no issues with pointer overshoot.


chore(deps): update to pnpm 8.3.1

Description
Fix Node 20 + Ubuntu, see https://github.com/vitejs/vite/actions/runs/4785456723/jobs/8508196595

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Renamed as chore so it appears lower in the changelog.


Remove Type::Function

Working towards #50

Don't merge yet - I messed something up. Still figuring out my way around the code...

There is one thing I forgot to mention in #50 about Type::Function which is that it may be worth it to keep the Type::Function representation to represent functions more efficiently by using the vector represent multiple arguments (Type::app(->, [a, Type::app(->, [b, c)])]) vs Type::Function([a, b,], c). As functions are the most common type it may be a worthwhile optimization.
Premature optimization is the root of all evil though so might be best to do that optimization after determining that it is actually needed.

Addressed the requested issues! :)

Wait - don't merge this. Experimentation in the repl revealed some problems, namely:
λ cargo run -- -i
     Running `target/debug/repl -i`
gluon (:h for help, :q to quit)
> :l std/prelude.glu
thread '<unnamed>' panicked at 'ICE: expected a function application with two arguments, found 1', base/src/types.rs:560
note: Run with `RUST_BACKTRACE=1` for a backtrace.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Any', ../src/libcore/result.rs:788
error: Process didn't exit successfully: `target/debug/repl -i` (exit code: 101)

Feel free to merge it after fixing that panic!


Support errors.Unwrap and errors.Is

Goal
Resolves #193

Add an Unwrap method to support errors.Unwrap(err) and errors.Is(err, SomeErr)

Design

Changeset

Testing

Thanks for this, we will review as soon as priorities allow.


drop spec in ImagesLock configuration

Describe the problem/challenge you have
we typically have not included spec in various configuration resources in carvel. it feels a bit less consistent with other resources. i think we should drop it.

This sounds like a plan.

fixed as part of #48

fixed as part of #48

Closing issue with release of version 0.3.0

Closing issue with release of version 0.3.0


Fix issue with casing in cadl path on case insensitive fs

Emitter PR https://github.com/microsoft/cadl/pull/41 uncovered an issue by reenabling the IDE support for emitter.
The resulting issue was the openapi emitter not able to call isIntrinsic correctly. This was cause by the libraries loading a different version of decorators.js than the standard library loaded.
The issue here was due to the path import case.
NodeJs import on the other side are case sensitive
// Foo is loaded only once
import "./foo.js";
import "./foo.js";

// Foo is loaded twice on a case insensitive file system and doesn't work on case sensitive ones
import "./foo.js";
import "./foO.js";

And this was basically the issue. In the IDE the ${workspaceRoot} was replaced with a different casing than the actual system one(everything lowercased). This caused the compiler to be loaded initially with the wrong casing but then later with the correct one when node load path comes into play.
This result in decorators.js loaded twice and then not sharing the Symbols
This fix fixes it for the compiler instead of fixing the workspaceRoot in the IDE.
Todo:

Add e2e test for this in the e2e tests pr #163

Looks OK, but some questions/thoughts.

Has this always been an issue or did the path and module resolver changes regress something?
I see module resolver calls realpath internally, why isn't that enough?
(Somewhat separate) I missed the changes to runner.ts in earlier PRs. I'm a little nervous about adding too much code into it since it is supposed to work across versions. The more that can impact it's behavior, the more likely that resolving from older version to newer version won't work. So using utils, NodeHost, etc. carries some risk that we're changing it's behavior subtly over time and the we will have a tough time diagnosing why it seems to resolve fine for some and not for others.

@nguerrera

Has this always been an issue or did the path and module resolver changes regress something?

did think it was originally due to the migration to our own path library but went back to commit Nov 2nd and it is still happening.

I see module resolver calls realpath internally, why isn't that enough?
I think this is what contributes to the problem. We don't use the module resolver for everything. Maybe we should instead of that change. If the url to load is relative see here then it just bypass that. And I guess the result is that when loaded relatively the 1st time decorator.js is in the wrong casing but when it is loaded via the libraries it is in the correct one as the casing was fixed.

We could just have a copy of the NodeHost that stays independent in here to make sure it is implemented for the runner.ts

I see re: 1 and 2. For 3, we could maybe factor things so that module resolver doesn't even depend on CompilerHost, but just allows the 3 functions it calls to be overridden a bit like the original one. But that is separate from this, so could be done separately if at all.

Created an issue for that https://github.com/microsoft/cadl/issues/194


Adding more parser tests for coverage

Added more unit tests to enhance existing code coverage for postgresparser.cpp

@Ghatage Anup! Thanks! We'll look into this tomorrow!


Deleting API data

const handleEventRemove = (oldEvent, resolve) => {
EventDataService.remove(oldEvent.id)
.then(resolve => {
const dataRemove = [...events];
const index = oldEvent.dataRemove.map(d => dataRemove[d.dataIndex].id);
dataRemove.splice(index, 1);
setEvent([...dataRemove]);
resolve()
})
.catch(error => {
setErrorMessages(["Remove failed! Server error"])
setIserror(true)
resolve()
})
}

Expected Behavior

I'm trying to get the event id from the selected row so that I can delete it.
Current Behavior

When I selected a row and click on the delete button it gives me: Undefined
That means that it doesn't pass the event id to the delete function.
Your Environment

I'm using reactjs with express backend and postgres with sequelize.

onRowsDelete
function

Callback function that triggers when row(s) are deleted. function(rowsDeleted: object(lookup: {[dataIndex]: boolean}, data: arrayOfObjects: {index: number, dataIndex: number})) => void OR false (Returning false prevents row deletion.)


Cat Generator Project

Can I add this simple project where if a user click on the generate cat button, gifs gets added to the page? A user will learn managing click event from this project.

Can I add this simple project where if a user click on the generate cat button, gifs gets added to the page? A user will learn managing click event from this project.

yeah sure ✌


Enable ease of switch of llm base model

using litellm

Why litellm?

I am open to suggestions. Would love to hear your recommendation.
On Sun, Oct 27, 2024, 8:26 PM Jeremy Klein @.***> wrote:

Why litellm?
—
Reply to this email directly, view it on GitHub
https://github.com/souzatharsis/podcastfy/issues/115#issuecomment-2440216904,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADTMY3IEUAIJZUH5LNVHWHDZ5VZC5AVCNFSM6AAAAABQUG25RSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBQGIYTMOJQGQ
.
You are receiving this because you were assigned.Message ID:
@.***>

most people use ollama i think

LMstudio, or any standard /v1/completions endpoint provider would be nice.

Kobold, Ooobabooga, LM studio would be great backends for this as they host a wide variety of models in multiple formats.

I'm leaning towards ollama and enabling running any GGUF models from Huggingface.co

/v1 api interfaces are pretty standard these days. i just think ollama is a little underdeveloped compared to LMStudio as well. especially in the 'user interface on windows' category. LMStudio also has a built in graphic list of LLMs to choose from their own curated hugging space. ollama is CLI based, and actually choosing the quant you want usually involved a manual web browser trip to huggingface to look up whats available for that model. also LMStudio does updates and live log viewing quite nicely. Team Ollama has had months to polish their product, and there is little evidence of much polishing.

LiteLLM + Langchain would be more straightforward:
https://docs.litellm.ai/docs/langchain/
We wouldn't need an additional API Key as in openrouter
We don't need to instantiate separate classes.
We simply pass the base model name and we're done.
Of course, this is assuming the user prefers having individual API Keys per model instead of a single one for all (e.g. openrouter).
os.environ['OPENAI_API_KEY'] = ""
chat = ChatLiteLLM(model="gpt-3.5-turbo")

messages = [
    HumanMessage(
        content="what model are you"
    )
]
chat.invoke(messages)

Related #127

This is done. Would love your feedback:
https://github.com/souzatharsis/podcastfy/blob/main/usage/how-to.md#custom-llm-support


Fix OpenSAML initialization error

A number of classes attempt to manually init opensaml.
All init functionality is handled via the opensaml config bean.

+1


momoka u=issue

why cant i use momoka?
cant comment on momoka posts

You can - some users are rate limited move then others at the moment


fix(gitbook): switch from highlight.js to prismjs

Deploy preview ready!
Built with commit 915aff13803c9da9569fd3801e26766957f1f305
https://deploy-preview-319--mcs-lite-mobile-web.netlify.com

Deploy preview ready!
Built with commit 915aff13803c9da9569fd3801e26766957f1f305
https://deploy-preview-319--mcs-lite-introduction.netlify.com

Deploy preview ready!
Built with commit 915aff13803c9da9569fd3801e26766957f1f305
https://deploy-preview-319--mcs-lite-ui.netlify.com


import/export neo4j csv

I didn't yet test this with an actual neo4j instance, and I'm not sure how this handles
our 'special' CONTAINED edge, but this feels like a good point to wrap up a first PR.
https://neo4j.com/docs/operations-manual/current/tools/neo4j-admin/neo4j-admin-import/

@note i made quite a few changes re parsing, based on your PR suggestions... would you mind having another look?

@mpollmeier Thanks for applying comments. It looks good to me


Create the  storage_list_file_archived_generations sample.

Create a sample that "List archived generations for an object in a GCS bucket".  The tag should be storage_list_file_archived_generations.  Details (such as they exist) are available inside Google at go/gcs-sample-tracker
Similar samples are in:
https://github.com/googleapis/google-cloud-cpp/blob/master/google/cloud/storage/examples/storage_object_samples.cc

I just noticed that this example exists, but with an incorrect tag: storage_list_versioned_files.  I am fixing other tags, so I can just go ahead and fix this one too.  Does that sound Okay?

SGTM


GKE support for Chroma

Description of changes
There are issues with getting hung up on commands issued in the docker_entrypoint.sh file when deploying to GKE. These changes to the docker file allow chroma to run smoothly in GKE.
Summarize the changes made by this PR.

Improvements & Bug fixes

Migrated docker_entrypoint.sh commands to Dockerfile
Image does not get hung up on docker_entrypoint.sh commands when deploying to GKE

Test plan
How are these changes tested?
These changes have been tested by building the image, testing locally and testing on a deployed instance of GKE.
These changes need to be tested with the docker compose files.
Documentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs repository?
Yes, no changes were made other than in the Dockerfile

Hey, @einelson changing the Dockerfile might break the experience for some users. Have you seen this: https://github.com/chroma-core/chroma/tree/main/examples/deployments/google-cloud-compute. There you'll find how to deploy Chroma on GCP using Terraform. If you explain your use case, perhaps we can make it work without changing fundamental things like the Dockerfile.

Hey @tazarov, I did not see the repo you shared and will give it a look. I was able to deploy to google cloud using the base image I made with the modified Dockerfile.
I am interested as to why chroma is using pip outside of the Docker env. I saw some comments about an issue in the .sh file about the hnsw compatibility.

@einelson, the reason chroma base image does pip install at startup is to ensure that the hnsw lib is recompiled for the correct architecture. This can potentially be resolved with multi-platform images - https://github.com/chroma-core/chroma/pull/857

closing this for now! lmk if there is interest in re-opening it.


matlab crashes when running ./scripts/extract_feature.m

when I run ./scripts/extract_feature.m, I got the following error messages:
I1119 12:20:25.223507  9956 layer_factory.hpp:77] Creating layer data
I1119 12:20:25.223526  9956 net.cpp:84] Creating Layer data
I1119 12:20:25.223532  9956 net.cpp:380] data -> data
I1119 12:20:25.223543  9956 net.cpp:380] data -> label
I1119 12:20:25.223556  9956 image_data_layer.cpp:39] Opening file /home/tt/TOSHIBA/deepFaceStuff/PainRegression/prototxt/sublist/1/list_val.txt
I1119 12:20:25.562822  9956 image_data_layer.cpp:107] A total of 2134 images.
E1119 12:20:25.563374  9956 io.cpp:91] Could not open or find file I1119 12:20:25.223507  9956 layer_factory.hpp:77] Creating layer data
I1119 12:20:25.223526  9956 net.cpp:84] Creating Layer data
I1119 12:20:25.223532  9956 net.cpp:380] data -> data
I1119 12:20:25.223543  9956 net.cpp:380] data -> label
I1119 12:20:25.223556  9956 image_data_layer.cpp:39] Opening file /home/tt/TOSHIBA/deepFaceStuff/PainRegression/prototxt/sublist/1/list_val.txt
I1119 12:20:25.562822  9956 image_data_layer.cpp:107] A total of 2134 images.
E1119 12:20:25.563374  9956 io.cpp:91] Could not open or find file /home/tt/TOSHIBA/deepFaceStuff/Data/aligned-Images042-ll042/ll042t1aaaff/ll042t1aaaff001.png
F1119 12:20:25.563396  9956 image_data_layer.cpp:127] Check failed: cv_img.data Could not load /home/tt/TOSHIBA/deepFaceStuff/Data/aligned-Images042-ll042/ll042t1aaaff/ll042t1aaaff001.png
*** Check failure stack trace: ***
F1119 12:20:25.563396  9956 image_data_layer.cpp:127] Check failed: cv_img.data Could not load /home/tt/TOSHIBA/deepFaceStuff/Data/aligned-Images042-ll042/ll042t1aaaff/ll042t1aaaff001.png
*** Check failure stack trace: ***
how ever /TOSHIBA/deepFaceStuff/Data/aligned-Images042-ll042/ll042t1aaaff/ll042t1aaaff001.png is just there
new_height and new_width are both zero before calling
cv::Mat cv_img = ReadImageToCVMat(root_folder + lines_[lines_id_].first,  new_height, new_width, is_color);
in image_data_layer.cpp

The images are successfully read but the new size are not right.

If you don't want to change the resolution of the image, then new_height and new_width is ok to be zero.

I want to have a try on EmotioNet and confused about the input, but  EmotionCatFile-train.txt & EmotionCatFile-test.txt & FACSFile-weight-train.txt & FACSFile-weight-test.txt is missed in this repo. Could you please help me figure it out?


Game Jaguar JX220 too fast

Hi  thank you for your work , the last version 20230606 is awesome .
The game Jaguar JX200 is too fast , and afect the playability , the game is pal , is not the problem with other games who are launch in NTSC mode.
In the whdload description of this games  say :
version 1.5 (10.05.13) done by CFou!:

fix two access faults clearing chip memory
fast memory used now to speed up the game on slow CPU
(if game is too fast, you can use tooltype 'ExpChip' to slow down game)

can you add this option when launch the game ?.
There are other games too fast like Niegel Mansell World Campionship and combo racer , but you can use "force pal" and play at correct speed.
Thank you in advance.
Cheers!

Jaguar XJ220 seems to run at the same speed regardless of the setting here. (I quite like that speed so I'm glad I don't have to make the judgment!)
I changed the two other racers to run in PAL by default.


For loop demutation slightly broken

Since implementation of demutation-scoping (#148), the following code
function sloop(x::Integer)
   for i in 1:10
      y = 100
      x = x + x
      y = x
   end
   x
end

Gives
Force[PrePro_Demutation]: Term before mutation elaboration:
                          FLet sloop = Lam ([x :- Integer])
                          (
                            MutLet{LoopLet}   MutLoop (ceil [/ [- [10.0, - [1.0, 1.0]], 1.0]], Just i)
                              (
                                SLet y :- Any = 100.0
                                SLet x :- Any = + [Just x, Just x]
                                SLet y :- Any = Just x
                                DefaultRet (Just y)
                              )
                              Just x
                          )
                          LastTerm DefaultRet (Just sloop)
                          Preprocessed loop body. The modified vars are: [x]
                          The body is:
                          SLet y :- Any = 100.0
                          MutLet{PureLet}   SModify! (x :- Any, + [Just x, Just x])
                            SLet y :- Any = Just x
                            DefaultRet (Just y)
Debug[PrePro_Demutation]: [MutLet] We are in the ONLY LOCAL MUTATION BRANCH
======================== End LOG =====================

Encountered error: While demutating, the following error was encountered:
 Expected a loop body to be mutating, but it was of type Pure UserValue
()

The MutLet with SLet in the second branch gets a PureValue type. This makes the actual loop demutation branch think that nothing happens in the loop. The problem is that we are actually mutating the value x...

In 12f93fb this test did not fail, but gave
Encountered error: Unsupported julia expression in file , line 0:
 Reassignment of variable y is not allowed.
()

The problem is that when we have
MutLet{PureLet}
  SModify! (x :- Any, + [Just x, Just x])
  (SLet y :- Any = Just x
   DefaultRet (Just y))

then we usually want to ignore the fact that the first statement of the mutlet does a mutation (since this mutation is only local), and return a value. But what is wrong is that then the mutated value of x is ignored in the following code. Which in this case gives us the problem that the loop does no longer see that x has been indeed mutated.
For now, we keep the current behaviour.

As of eb0bfd6118bd592d3a328608f5f21ba4ef81b419, we have to change the julia code to:
function sloop(x::Integer)
   for i in 1:10
      y = 100
      x = x + x
      y = x * 1
   end
   x
end

But then it works:
FLet sloop =
  Lam ([x :- Integer])
  (
    SLet x :- Any =
      Loop (ceil [/ [- [10.0, - [1.0, 1.0]], 1.0]], [x], (Just i,gen_loop_capture_0))
      (
        SLet x :- Any = Just gen_loop_capture_0
        Reorder [1]
        (
          SLet y :- Any = 100.0
          SLet x :- Any = + [Just x, Just x]
          SLet y :- Any = * [Just x, 1.0]
          Tup [Just y, Just x]
        )
      )

    Just x
  )

LastTerm Just sloop

We now get the correct behaviour, even for the first term with the ys:
{
  -  NonConst Int
      @ 1024.0
  --------------------------
   -> NonConst Int

}


Yet another run at the "display Kubernetes resource manifests from cluster" problem

When someone does a Load command, or clicks on a resource in the tree to load its JSON/YAML, we want three things:

The user should be able to close the JSON/YAML and not be bugged with a save prompt (or be left with a temp file in their project)
The user should be able to save the JSON/YAML
The user should be able to edit the JSON/YAML and be prompted to save

Loading filesystem documents violated the first bullet, as we had to poke the JSON/YAML into a document which made it dirty and ask to be saved.  Using a TextDocumentContentProvider violated the other two as you couldn't save or edit the document.
This attempt abuses VS Code 1.23 file system providers to try to solve the problem.  The Load command now loads from a URI scheme backed by a FileSystemProvider instead of a TextDocumentContentProvider.  The initial 'read' from this URI gets the resource manifest - it is not dirty as VS Code thinks it has been loaded from an external persistent source.  So it can be closed without being prompted to save.  VS Code allows such documents to be edited and written back.  We abuse the write facility to write the document to the project directory (which is flawed, as VS Code does not identify the k8smsx://foo.json document with the new foo.json file on disk, but may be good enough for the common case).
New documents load as temp windows, so you need to edit/save them or Ctrl+K > Enter them to keep them open after you open the next one.  This however is consistent with the single-click load behaviour of the file tree.  The revisiting experience for a non-temp-window document is perhaps imperfect - if you open say deploy/foo, make it stay-open with Ctrl+K > Enter, then re-click deploy/foo you will get a second window with the latest foo JSON/YAML.  I think this is okay but we may need to refine it.
Testing suggestions, testing experiences, feedback, etc. actively sought!

@itowlson have we run the problem by Dias and crew? I'm betting this is not a unique problem. But, if you've solved it, far be it from me to get in the way.


Update how-to-set-up-your-network.md

Learn Build status updates of commit bc2fc0f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/defender-for-iot/organizations/how-to-set-up-your-network.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

#sign-off


Should swagger display additional mediatypes

As per title, assume it should, currently only application/json is getting picked up in the dropdown, e.g. here:
http://da-ap-loadb-12x6lrd462qbh-6729920eb84d632c.elb.ap-southeast-2.amazonaws.com:8000/docs#/default/sparql_get_sparql_get

Something like this:
@app.get(
    "/sparql",
    summary="SPARQL Endpoint",
    responses={
        200: {
            "content": {
                "text/turtle": {},
                "text/nt": {},
                "application/ld+json": {},
                "application/rdf+xml": {},
                "application/sparql-results+xml": {},
                "application/sparql-results+json": {},
                "text/plain": {},
                "text/csv": {},
                "text/tab-separated-values": {},
            },
            "description": "Returns the standard SPARQL endpoint responses",
        }
    },
)
async def sparql_get(request: Request, query: Optional[str] = None)

But need to remove the default JSON and, generally, review what the API's saying in Swagger.
I think this task shouldn't be done in isolation: a whole-Prez Swagger generation review is needed.

implementation might be like this:
so may require creation of different pydantic response classes e.g. TurtleResponse etc.?
from fastapi import FastAPI
from fastapi.responses import JSONResponse, HTMLResponse
from pydantic import BaseModel
from typing import Union

app = FastAPI()

class JsonResponseModel(BaseModel):
    message: str

class HtmlResponseModel(BaseModel):
    content: str

ResponseUnion = Union[JsonResponseModel, HtmlResponseModel]

@app.api_route(
    "/multiple-media-types",
    methods=["GET"],
    response_model=ResponseUnion,
    responses={
        200: {
            "description": "Return data in JSON or HTML format",
            "content": {
                "application/json": {"schema": JsonResponseModel.schema()},
                "text/html": {"schema": HtmlResponseModel.schema()},
            },
        },
    },
)
async def multiple_media_types(format: str = "json"):
    if format == "json":
        return JsonResponseModel(message="Hello, JSON!")
    elif format == "html":
        return HTMLResponse(content="
Hello, HTML!
")
    else:
        return JSONResponse(content={"error": "Invalid format"}, status_code=400)


[Doc] Fix Icons doc

Q
A

Bug fix?
no

New feature?
no

Issues

License
MIT

This sentence appears twice

Thank you Jorick.


Support customize selection word separators

k8s pod named like "xxx-xx-xx", it separate by "-". I hope to customize the word separators, so that I can quickly select the pod name

Word separators are defined here: https://github.com/TerminalStudio/xterm.dart/blob/1678534eb7f3f191c39cbf6cdfa5de9ebe6f403d/lib/src/core/buffer/buffer.dart#L467
It's hard-coded now, PRs are welcome to make it configurable.

#160


Compatible version for TF2

Will there be a compatible version for TF2?

https://github.com/tensorflow/magenta/blob/0af29601b9d7e499af83352a9df3e97c7da63cbd/setup.py#L71
It's not the biggest problem, but I think this info should be front and center in the README.

We're tracking TF2 compatibility in #1594, so closing this issue.
Feel free to send a PR to update the README.


Update cem function interface

Updated interface of cross entropy function methods.
The args, pop_size is now changed to sample_size.
In addition, the given objective function to CEM function will be called with variable x which has (batch_size, sample_size, x_dim).
This is different from previous interface. If you want to know the details, please see the function docs.

LGTM


A question about usage limitation

Hi, thanks for your great work. I have a question about the following requirement for calling API of scFoundation:

Does it mean: we can only generate embeddings for [max_num] cells or [max_num] genes per 10 minutes? Is it possible for us to generate more embeddings by calling API for once? Extra payment is acceptable.
Thanks.

Yes, a maximum time limit for each API call is set to guarantee the API will not be always occupied by one user. If you want to generate more embeddings, One possible solution is to split your data and call API multiple times.
Now the API is free for academic usage. If you want to pay for a more smooth experience, please contact BioMap Business & PR.


Add additional JUnit tests for listP

This PR aims to bring necessary JUnit test(s) for the listP command. As of now, only one test is required to cover the listP command. If there are tests that need to be included for other commands/methods, it will be best to include them in their relevant PRs.

@Chandan8186 why is there a decrease in code coverage here? As far as I can tell, you added a test case, but codecov says the coverage decreased.

@aslam341 it seems odd, the codecov should be increasing, but I'll try to merge the latest master commit into this PR

Since this PR contains only one small change, I have made the change in another relevant PR #110. I will close this PR for now.


Russian localization improved slightly

Hi,
I tried to make least changes as possible, but I'd rather not translate OAuth (OIDC) teminology. Reading this is really confusing. Fixed email confirmation message. It didn't show link to confirm user email if it sent in russian locale.
Also, I've changed images path to be considered as virtual directory not just a string, because UsePathBaseMiddleware doesn't affect these image pathes. That is an issue when it comes to URL-rewrite proxy.

I find out that some changes I made already done. Will you merge #561?

Can you please check the coflicts? I've changed the destination branch to dev.
Thanks

I find out that some changes I made already done. Will you merge #561?

I've merged this, thanks for review.

Can you please check the coflicts?

Done.

Thank you 👍🏼


Fixing Servicing link

Fixing the link for the servicing advisories
even though we try not to include i18n paths in the urls, in this case, the redirection (the current one, without it) is not working, so it was decided to include this working link.
full explanation https://github.com/MicrosoftDocs/windows-itpro-docs/issues/5350

@jaimeo - PR is ready for final review based on issue #5350
Thank you.
cc: @kenwith


Use correct prefixes in setup.py raw_memory.py

Find libmonitor.so via relative paths to __file__.

@bleykauf in order to address the ideas suggested in https://github.com/linien-org/linien/issues/294 and https://github.com/linien-org/linien/pull/277#issuecomment-1272506334, this will help a lot. The current version of this PR makes installation of pyrp3 as simple as
pip install git+https://github.com/linien-org/pyrp3

I tested the importing PyRedPitaya with this change.

@doronbehar: You tested this on a fresh installation of the image? Otherwise libmonitor.so might still be present from a previous manual installation.

Also, apparently I did not set up a pre-commit file, and thus CI fails.
Also changed base branch to develop.

You tested this on a fresh installation of the image?

On my x86_64 machine, I installed it on a fresh python environment with all 4 dependencies installed as well, and I tested that I can import PyRedPitaya.

Merged #3
As expected, there are some merge conflicts...

@doronbehar I think applying your changes to the current state of the develop branch and rebasing could be the easiest way to resolve this?

@doronbehar: Already resolved in github's editor. Thought this would automatically merge.

Currently raw_memory.py is missing import sys, not sure if I accidentally deleted it.

I rebased this myself onto develop and pushed and it seems fine according to the same test as before.

With this change, putting pyrp3 on Pypi will allow us to get rid of handling it in linien_install_requirements.sh. along with systemd instead of screen, and making mdio-tool part of linien will make linien_install_requirements.sh not required anymore.

There are now again conflicts within this branch. Please don't force-push, makes everything pretty messy.

Rebased and merged. Will change the open issues from the review separately.


Update the plugin to use flow-lib==0.20.1?

As the title say:
why should it be updated to v0.20.1?
Another plugin also uses flow-lib package: Github Notification. which requests v0.20.1 and you could say it's a conflict package. I either have to use 0.14.1 for currency or 0.20.1 for Github notification

Are you getting an error using this plugin? You shouldn't as each python plugin keeps its dependencies separate to others..

yea. If i'm using 0.20.1 for Github notification.

each python plugin keeps its dependencies separate to others

hmmm. I am using Python 3.12 and I know these plugins require specific versions of packages from Python.
Do u have a solution?

If you are getting an error please post it here so I can see what is happening.

Here it is :

Error Log
Flow Launcher version: 1.16.2
OS Version: 19045.3803
IntPtr Length: 8
x64: True
Python Path: ~\apps\python\3.12.1\pythonw.exe
Node Path:
Date: 01/06/2024 19:51:27
Exception:
Currency Converter Exception:
Websites: https://github.com/deefrawley/Flow.Launcher.Plugin.Currency
Author: deefrawley
Version: 2.0.6
Flow.Launcher.Core.ExternalPlugins.FlowPluginException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
---> System.Text.Json.JsonException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
---> System.Text.Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan1 bytes)    at System.Text.Json.Utf8JsonReader.Read()    at System.Text.Json.Serialization.JsonConverter1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
--- End of inner exception stack trace ---
at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
at System.Text.Json.Serialization.JsonConverter1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)    at System.Text.Json.JsonSerializer.ContinueDeserialize[TValue](ReadBufferState& bufferState, JsonReaderState& jsonReaderState, ReadStack& readStack, JsonTypeInfo jsonTypeInfo)    at System.Text.Json.JsonSerializer.ReadFromStreamAsync[TValue](Stream utf8Json, JsonTypeInfo jsonTypeInfo, CancellationToken cancellationToken)    at Flow.Launcher.Core.Plugin.JsonRPCPlugin.DeserializedResultAsync(Stream output) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 90    at Flow.Launcher.Core.Plugin.JsonRPCPlugin.DeserializedResultAsync(Stream output) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 93    at Flow.Launcher.Core.Plugin.JsonRPCPlugin.QueryAsync(Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 312    at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass22_0.<<QueryForPluginAsync>b__0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 194 --- End of stack trace from previous location ---    at Flow.Launcher.Infrastructure.Stopwatch.DebugAsync(String message, Func1 action) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Stopwatch.cs:line 40
at Flow.Launcher.Core.Plugin.PluginManager.QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 216
--- End of inner exception stack trace ---
at Flow.Launcher.Core.Plugin.PluginManager.QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 216
at Flow.Launcher.ViewModel.MainViewModel.<>c__DisplayClass139_0.<g__QueryTask|2>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 849
--- End of stack trace from previous location ---
at Flow.Launcher.ViewModel.MainViewModel.QueryResults(Boolean isReQuery) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 850
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

That seems to be an issue with the Fllow plugin manager in some capacity.
Also as a heads up, it's usually less hassle to let Flow install its own python and use that rather than use your own install.

it's usually less hassle to let Flow install its own python and use that rather than use your own install.

I don't know it was capable of that. I'll see if I can fix that on my side.

 Error Log
Flow Launcher version: 1.16.2
OS Version: 19045.3803
IntPtr Length: 8
x64: True
Python Path: C:\Program Scoop\apps\flow-launcher\current\app-1.16.2\UserData\Environments\Python\PythonEmbeddable-v3.11.4\pythonw.exe
Node Path:
Date: 01/07/2024 20:33:46
Exception:
Github Notifications Exception:
Websites: https://github.com/Garulf/github-notifications
Author: Garulf
Version: 4.0.2
Flow.Launcher.Core.ExternalPlugins.FlowPluginException: ModuleNotFoundError: No module named 'cffi_backend'
thread '' panicked at 'Python API call failed', C:\Users\runneradmin.cargo\registry\src\index.crates.io-6f17d22bba15001f\pyo3-0.18.3\src\err\mod.rs:790:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Traceback (most recent call last):
File "C:\Program Scoop\apps\flow-launcher\current\app-1.16.2\UserData\Plugins\Github Notifications-4.0.2\run.py", line 9, in
from plugin.main import GithubNotifications
File "C:\Program Scoop\apps\flow-launcher\current\app-1.16.2\UserData\Plugins\Github Notifications-4.0.2\plugin\main.py", line 4, in
from github import Github
File "C:\Program Scoop\apps\flow-launcher\current\app-1.16.2\UserData\Plugins\Github Notifications-4.0.2\lib\github_init.py", line 40, in
from . import Auth
File "C:\Program Scoop\apps\flow-launcher\current\app-1.16.2\UserData\Plugins\Github Notifications-4.0.2\lib\github\Auth.py", line 30, in
import jwt
File "C:\Program Scoop\apps\flow-launcher\current\app-1.16.2\UserData\Plugins\Github Notifications-4.0.2\lib\jwt_init_.py", line 1, in
from .api_jwk import PyJWK, PyJWKSet
File "C:\Program Scoop\apps\flow-launcher\current\app-1.16.2\UserData\Plugins\Github Notifications-4.0.2\lib\jwt\api_jwk.py", line 7, in
from .algorithms import get_default_algorithms, has_crypto, requires_cryptography
File "C:\Program Scoop\apps\flow-launcher\current\app-1.16.2\UserData\Plugins\Github Notifications-4.0.2\lib\jwt\algorithms.py", line 12, in
from .utils import (
File "C:\Program Scoop\apps\flow-launcher\current\app-1.16.2\UserData\Plugins\Github Notifications-4.0.2\lib\jwt\utils.py", line 7, in
from cryptography.hazmat.primitives.asymmetric.ec import EllipticCurve
File "C:\Program Scoop\apps\flow-launcher\current\app-1.16.2\UserData\Plugins\Github Notifications-4.0.2\lib\cryptography\hazmat\primitives\asymmetric\ec.py", line 11, in
from cryptography.hazmat._oid import ObjectIdentifier
File "C:\Program Scoop\apps\flow-launcher\current\app-1.16.2\UserData\Plugins\Github Notifications-4.0.2\lib\cryptography\hazmat_oid.py", line 9, in
from cryptography.hazmat.bindings._rust import (
pyo3_runtime.PanicException: Python API call failed
---> System.IO.InvalidDataException: ModuleNotFoundError: No module named 'cffi_backend'
thread '' panicked at 'Python API call failed', C:\Users\runneradmin.cargo\registry\src\index.crates.io-6f17d22bba15001f\pyo3-0.18.3\src\err\mod.rs:790:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Traceback (most recent call last):
File "C:\Program Scoop\apps\flow-launcher\current\app-1.16.2\UserData\Plugins\Github Notifications-4.0.2\run.py", line 9, in
from plugin.main import GithubNotifications
File "C:\Program Scoop\apps\flow-launcher\current\app-1.16.2\UserData\Plugins\Github Notifications-4.0.2\plugin\main.py", line 4, in
from github import Github
File "C:\Program Scoop\apps\flow-launcher\current\app-1.16.2\UserData\Plugins\Github Notifications-4.0.2\lib\github_init.py", line 40, in
from . import Auth
File "C:\Program Scoop\apps\flow-launcher\current\app-1.16.2\UserData\Plugins\Github Notifications-4.0.2\lib\github\Auth.py", line 30, in
import jwt
File "C:\Program Scoop\apps\flow-launcher\current\app-1.16.2\UserData\Plugins\Github Notifications-4.0.2\lib\jwt_init_.py", line 1, in
from .api_jwk import PyJWK, PyJWKSet
File "C:\Program Scoop\apps\flow-launcher\current\app-1.16.2\UserData\Plugins\Github Notifications-4.0.2\lib\jwt\api_jwk.py", line 7, in
from .algorithms import get_default_algorithms, has_crypto, requires_cryptography
File "C:\Program Scoop\apps\flow-launcher\current\app-1.16.2\UserData\Plugins\Github Notifications-4.0.2\lib\jwt\algorithms.py", line 12, in
from .utils import (
File "C:\Program Scoop\apps\flow-launcher\current\app-1.16.2\UserData\Plugins\Github Notifications-4.0.2\lib\jwt\utils.py", line 7, in
from cryptography.hazmat.primitives.asymmetric.ec import EllipticCurve
File "C:\Program Scoop\apps\flow-launcher\current\app-1.16.2\UserData\Plugins\Github Notifications-4.0.2\lib\cryptography\hazmat\primitives\asymmetric\ec.py", line 11, in
from cryptography.hazmat._oid import ObjectIdentifier
File "C:\Program Scoop\apps\flow-launcher\current\app-1.16.2\UserData\Plugins\Github Notifications-4.0.2\lib\cryptography\hazmat_oid.py", line 9, in
from cryptography.hazmat.bindings._rust import (
pyo3_runtime.PanicException: Python API call failed
at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 297
at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 297
at Flow.Launcher.Core.Plugin.JsonRPCPlugin.QueryAsync(Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 313
at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass22_0.<b__0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 194
--- End of stack trace from previous location ---
at Flow.Launcher.Infrastructure.Stopwatch.DebugAsync(String message, Func`1 action) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Stopwatch.cs:line 40
at Flow.Launcher.Core.Plugin.PluginManager.QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 216
--- End of inner exception stack trace ---
at Flow.Launcher.Core.Plugin.PluginManager.QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 216
at Flow.Launcher.ViewModel.MainViewModel.<>c__DisplayClass139_0.<g__QueryTask|2>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 849
--- End of stack trace from previous location ---
at Flow.Launcher.ViewModel.MainViewModel.QueryResults(Boolean isReQuery) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 850
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

I've change it to use its own Python and CurrencyPP is working properly but Github Notification is not. I thought it would have downloaded the package of Python on its own. Is there a way to fix this?

My mistake. I meant Currency Conversion yes. I tested your plugin. it worked fine.


Catch juc.TimeoutException errors on reconnect

This automatically recovers in the event of all network failures now
Fixes https://github.com/ruby-amqp/march_hare/issues/107#issuecomment-257724214
I inspected this in pry if you're curious, here's the info from there:

From: /Users/andrewvc/Downloads/logstash-5.0.0/vendor/bundle/jruby/1.9/gems/march_hare-2.19.0-java/lib/march_hare/session.rb @ line 502 MarchHare::Session#reconnecting_on_network_failures:

    494: def reconnecting_on_network_failures(interval_in_ms, &fn)
    495:   begin
    496:     fn.call
    497:   rescue IOError, MarchHare::ConnectionRefused, java.io.IOException => e
    498:     java.lang.Thread.sleep(interval_in_ms)
    499:
    500:     retry
    501:   rescue => e
 => 502:     require 'pry'; binding.pry
    503:   end
    504: end

[1] pry(#<MarchHare::Session>)> e.class
=> Java::JavaUtilConcurrent::TimeoutException
[2] pry(#<MarchHare::Session>)> e.backtrace
=> ["com.rabbitmq.utility.BlockingCell.get(com/rabbitmq/utility/BlockingCell.java:76)",
 "com.rabbitmq.utility.BlockingCell.uninterruptibleGet(com/rabbitmq/utility/BlockingCell.java:110)",
 "com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(com/rabbitmq/utility/BlockingValueOrException.java:36)",
 "com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(com/rabbitmq/client/impl/AMQChannel.java:372)",
 "com.rabbitmq.client.impl.AMQConnection.start(com/rabbitmq/client/impl/AMQConnection.java:298)",
 "com.rabbitmq.client.ConnectionFactory.newConnection(com/rabbitmq/client/ConnectionFactory.java:886)",
 "com.rabbitmq.client.ConnectionFactory.newConnection(com/rabbitmq/client/ConnectionFactory.java:839)",
 "com.rabbitmq.client.ConnectionFactory.newConnection(com/rabbitmq/client/ConnectionFactory.java:797)",
 "com.rabbitmq.client.ConnectionFactory.newConnection(com/rabbitmq/client/ConnectionFactory.java:930)",
 "java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:497)",
 "RUBY.new_connection_impl(/Users/andrewvc/Downloads/logstash-5.0.0/vendor/bundle/jruby/1.9/gems/march_hare-2.19.0-java/lib/march_hare/session.rb:518)",
 "org.jruby.RubyProc.call(org/jruby/RubyProc.java:281)",
 "RUBY.converting_rjc_exceptions_to_ruby(/Users/andrewvc/Downloads/logstash-5.0.0/vendor/bundle/jruby/1.9/gems/march_hare-2.19.0-java/lib/march_hare/session.rb:477)",
 "RUBY.new_connection_impl(/Users/andrewvc/Downloads/logstash-5.0.0/vendor/bundle/jruby/1.9/gems/march_hare-2.19.0-java/lib/march_hare/session.rb:512)",
 "RUBY.automatically_recover(/Users/andrewvc/Downloads/logstash-5.0.0/vendor/bundle/jruby/1.9/gems/march_hare-2.19.0-java/lib/march_hare/session.rb:267)",

<page break> --- Press enter to continue ( q<enter> to break ) --- <page break>

 "org.jruby.RubyProc.call(org/jruby/RubyProc.java:281)",
 "RUBY.reconnecting_on_network_failures(/Users/andrewvc/Downloads/logstash-5.0.0/vendor/bundle/jruby/1.9/gems/march_hare-2.19.0-java/lib/march_hare/session.rb:496)",
 "RUBY.automatically_recover(/Users/andrewvc/Downloads/logstash-5.0.0/vendor/bundle/jruby/1.9/gems/march_hare-2.19.0-java/lib/march_hare/session.rb:263)",
 "org.jruby.RubyProc.call(org/jruby/RubyProc.java:281)",
 "RUBY.converting_rjc_exceptions_to_ruby(/Users/andrewvc/Downloads/logstash-5.0.0/vendor/bundle/jruby/1.9/gems/march_hare-2.19.0-java/lib/march_hare/session.rb:477)",
 "RUBY.automatically_recover(/Users/andrewvc/Downloads/logstash-5.0.0/vendor/bundle/jruby/1.9/gems/march_hare-2.19.0-java/lib/march_hare/session.rb:262)",
 "RUBY.add_automatic_recovery_hook(/Users/andrewvc/Downloads/logstash-5.0.0/vendor/bundle/jruby/1.9/gems/march_hare-2.19.0-java/lib/march_hare/session.rb:243)",
 "org.jruby.RubyProc.call(org/jruby/RubyProc.java:281)",
 "RUBY.shutdownCompleted(/Users/andrewvc/Downloads/logstash-5.0.0/vendor/bundle/jruby/1.9/gems/march_hare-2.19.0-java/lib/march_hare/shutdown_listener.rb:12)",
 "MarchHare$$ShutdownListener_176621868.shutdownCompleted(MarchHare$$ShutdownListener_176621868.gen:13)",
 "MarchHare$$ShutdownListener_176621868.shutdownCompleted(MarchHare$$ShutdownListener_176621868.gen:13)",
 "com.rabbitmq.client.impl.ShutdownNotifierComponent.notifyListeners(com/rabbitmq/client/impl/ShutdownNotifierComponent.java:77)",
 "com.rabbitmq.client.impl.AMQConnection$MainLoop.run(com/rabbitmq/client/impl/AMQConnection.java:593)",

<page break> --- Press enter to continue ( q<enter> to break ) --- <page break>

 "java.lang.Thread.run(java/lang/Thread.java:745)"]

Thanks @michaelklishin ! Much appreciated :) Do you plan on releasing a new gem soon?

@andrewvc sure, I can do one tomorrow if you feel confident about this without more end-to-end testing with Logstash.

@michaelklishin I'd it if you could do one tomorrow. I'm pretty sure this is the fix. I'm not 100% sure that there aren't other possible exceptions, but this one would be amazing to get out to our users as a hotfix. I've reproduced this several times as has @jordansissel , so I'm not too worried about it.
Once again, thanks for all your help :)

March Hare 2.20.0 is up.


Added embla carousel and keen slider to benchmark test

Hiya! I just added embla carousel and keen slider to bench mark test as I came across a comment on Reddit saying some people want to see the comparison of blaze slider and embla carousel. I just added keen slider for fun.  Hope my PR helps!
https://github.com/blaze-slider/blaze-slider/pull/6

PR merged


logging: remove raw object from logs

Signed-off-by: Sanya Kochhar<EMAIL_ADDRESS>
Description:

Affected area:

New Functionality      [ ]
Documentation          [ ]
Install                [ ]
Control Plane          [ ]
CLI Tool               [ ]
Certificate Management [ ]
Networking             [ ]
Metrics                [ ]
SMI Policy             [ ]
Security               [ ]
Tests                  [ ]
CI System              [ ]
Performance            [ ]
Other                  [x]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?
no, no

Codecov Report

Merging #2326 (3a496b7) into main (8f85d4f) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2326   +/-   ##
=======================================
  Coverage   57.29%   57.30%
=======================================
  Files         150      150
  Lines        6718     6717    -1
=======================================
  Hits         3849     3849
+ Misses       2864     2863    -1
  Partials        5        5

Impacted Files
Coverage Δ

pkg/injector/webhook.go
76.64% <ø> (-0.14%)
:arrow_down:

pkg/envoy/route/config.go
96.03% <0.00%> (+0.79%)
:arrow_up:

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 8f85d4f...3a496b7. Read the comment docs.

Codecov Report

Merging #2326 (3a496b7) into main (8f85d4f) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2326   +/-   ##
=======================================
  Coverage   57.29%   57.30%
=======================================
  Files         150      150
  Lines        6718     6717    -1
=======================================
  Hits         3849     3849
+ Misses       2864     2863    -1
  Partials        5        5

Impacted Files
Coverage Δ

pkg/injector/webhook.go
76.64% <ø> (-0.14%)
:arrow_down:

pkg/envoy/route/config.go
96.03% <0.00%> (+0.79%)
:arrow_up:

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 8f85d4f...3a496b7. Read the comment docs.


Non-trivial dependencies should be optional

I was quite confused to see docopt, stumpy_core, stumpy_png and stumpy_utils being installed with Tartrazine, shards that I'm familiar with that wouldn't make sense for a library 🤔. I then discovered the first is for using the shard as an application and the latter for extensions. Realistically such shards shouldn't be required dependencies given they aren't trivial for Tartrazine to operate. Usually if an extension is to be used, it's explicitly required in the user's code at which point it's their responsibility to add the relevant shard(s) as dependencies.

If you use tartrazine as a library, they are NOT linked in your program
unless you pass specific -D options when building.
If you are building the tartrazine binary, it will NOT be linked to those
libraries unless you build it passing the same -D option.
Or at least that's the idea, if it's not working I will fix it.
On Sun, Oct 13, 2024, 1:16 PM Devonte @.***> wrote:

I was quite confused to see docopt, stumpy_core, stumpy_png and
stumpy_utils being installed with Tartrazine, shards that I'm familiar
with that wouldn't make sense for a library 🤔. I then discovered the first
is for using the shard as an application and the latter for extensions.
Realistically such shards shouldn't be required dependencies given they
aren't trivial for Tartrazine to operate. Usually if an extension is to be
used, it's explicitly required in the user's code at which point it's
their responsibility to add the relevant shard(s) as dependencies.
—
Reply to this email directly, view it on GitHub
https://github.com/ralsina/tartrazine/issues/10, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAMK7L4KVIWB2XQWGRLGLZ3KMGJAVCNFSM6AAAAABP3SKEEKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU4DIMBYGYYDOOA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Unless your code uses the image formatter none of those libraries gets linked to your code AFAIK.
If they do, I will fix it.

AFAICS, it works properly.
I tested it with markterm, which links tartrazine but uses only the Ansi formatter

stumpy_png/stumpy_core don't link any external libraries
if you don't use the Png formatter, stumpy is not even built
docopt is only used by the tartrazine CLI binary, if you tartrazine as a library it's not even built
the resulting binary has no stumpy symbols in it

I'm aware that they are not included in the binary, that would be a separate issue. My point is that optional dependencies shouldn't be installed as if they are required. This principle goes well beyond Crystal/Shards and is widely accepted in the developer space.

Sorry, no. They are not installed anywhere except in the lib/ directory when building from source. AFAIK shards don' t provide support for "optional dependencies".
This costs the user nothing and makes exactly zero difference to anyone not using the Png writer.


Fix the incorrect tags on the install instructions.

Was --tag="activitylog-migrations" and --tag="activitylog-config".
Should have been --tag="migrations" and --tag="config"

Sorry, I installed version 3 thinking it was version 4. I don't think this change is correct. Closing.


Error response from daemon: dial unix /run/docker/plugins/***vsphere.sock: connect: no such file or directory

Hello,
I can't  enable the plugin vsphere. I've always this errror.... Any ideas ?
Assume vmtools upadate and running.
rm -rf /var/lib/docker/* and resinstall docker-ce and reboot.
Log from  /var/log/ vsphere-storage.log is emty...
journalctl -u docker | grep plugin
 msg="error net dialing plugin: dial unix /run/docker/plugins/67aa9b192120348a6c1f11a783d0782a053848e328db2be9f0fbeeb0c7935db6/vsphere.sock: connect: no such file or directory"
Sending SIGTERM to plugin failed with error: process 67aa9b192120348a6c1f11a783d0782a053848e328db2be9f0fbeeb0c7935db6 not found: not found"

thanks for suggestion....
Docker Info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 0
Server Version: 18.06.1-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 468a545b9edcd5932818eb9de8e72413e616e86e
runc version: 69663f0bd4b60df09991c08812a60108003fa340
init version: fec3683
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.9.0-8-amd64
Operating System: Debian GNU/Linux 9 (stretch)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.783GiB

cat /etc/debian_version
9.5

solved !
syntax error in /etc/vsphere-storage-for-docker.conf  at the level "GroupID".


[doc] Issue in "Intro"

Intro:
https://documentation.suse.com/suse-edge/3.0/html/edge/id-air-gapped-deployments-with-edge-image-builder.html#id-intro
Throughout this documentation I see terms artifact and artefact. Which of the is correct?

I think this is a British vs US English issue - perhaps @ranjinimn can provide guidance re which spelling we should align with then we can do a sed replacement to ensure consistency

Does EIB not have ’artefact’ as a directory name?
to 22.8.2024 klo 14.39 Steven Hardy @.***> kirjoitti:

I think this is a British vs US English issue - perhaps @ranjinimn
https://github.com/ranjinimn can provide guidance re which spelling we
should align with then we can do a sed replacement to ensure consistency
—
Reply to this email directly, view it on GitHub
https://github.com/suse-edge/suse-edge.github.io/issues/351#issuecomment-2304453925,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUWPCJ6JLQ73MTX54PROV63ZSXEVNAVCNFSM6AAAAABM3SHTFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBUGQ2TGOJSGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Does EIB not have ’artefact’ as a directory name?

See https://github.com/suse-edge/edge-image-builder/issues/519

@hardys and @peteingithub
We write documentation in American English. Where spelling differences exist between American and British English, use the American English variant.
However, I see that we have defined both "Artifact" (US) and "artefact" (British) defined in our directories and scripts. You will have to change at the code level for me to make the changes in the document.

Indeed it seems we will need to make code changes to EIB and rename the scripts in the fleet-examples repo to fully resolve this

@hardys Can you please let me know the SME who can help me with this information?

@hardys Can you please let me know the SME who can help me with this information?

I would suggest discussing with @jdob since I don't think this can be fixed purely in docs, we need to decide how to handle the EIB API changes ref https://github.com/suse-edge/edge-image-builder/issues/519 (I guess we'll have to handle both versions at least for a period of time if we want to migrate the spelling)

re: "artifact" -- for all documentation, it should be "artifact". There may be one user-visible place where we use "artefact", but its in a build artifacts directory and not something a user will commonly interact with, only for debugging. That said, we should address the bug linked.


nacos and 6.2.0

i used the 6.2.0,use nacos as the cluster,then i run three skywalking oap instance,and in nacos it show like this

and one instance throw exception like this,i have clear the elastic search before i update 6.1.0 to 6.2.0

Which exception? Do you miss it?

2019-08-14T09:44:28.692206051Z 2019-08-14 17:44:28,692 - org.apache.skywalking.oap.server.receiver.jvm.provider.handler.JVMSourceDispatcher -51103 [grpc-default-executor-0] WARN  [] - Can't found service by service instance id from cache, service instance id is: 55
2019-08-14T09:44:28.945138635Z 2019-08-14 17:44:28,944 - org.apache.skywalking.oap.server.receiver.jvm.provider.handler.JVMSourceDispatcher -51355 [grpc-default-executor-0] WARN  [] - Can't found service by service instance id from cache, service instance id is: 56
the WARNINGlike this

This means you do upgrade in OAP backend, but don't reboot all agents.

and could  i ask why the nacos show there is only one instance like the picture ↑, but infacet i run three skywalking oap in my server

I don't know that for sure. But basically, no matter how many nodes, oap cluster is not working.

sorrry,i don't hnow what you mean ,is meaning that the the nacos is not working with the 6.2.0 as cluster?

the nacos is support in 6.2.0 or 6.3.0 .I see the tag 6.2.0 aready have the propeties of nacos

I am talking about warning bug. Fix that first.

Erase es
Reboot agent
Reboot oap

Make sure both of all be set.

and could i ask why the nacos show there is only one instance like the picture ↑, but infacet i run three skywalking oap in my server

@Dauber01 Please make sure that all the three OAP nodes started successfully, if you start all of them in a single server, pay special attention to the buffer file path, which may conflict with each other, resulting only one that can start successfully, as for the nacos cluster implementation, I've tested again, it works as expected

receiver-trace:
  default:
    bufferPath: ${SW_RECEIVER_BUFFER_PATH:../trace-buffer2/}  # Path to trace buffer files, suggest to use absolute path

# ...

service-mesh:
  default:
    bufferPath: ${SW_SERVICE_MESH_BUFFER_PATH:../mesh-buffer2/}  # Path to trace buffer files, suggest to use absolute path

I have start a new node in a new server ,and keep a node up in old server. All of them sart success ,and i start them by docker container. The nacos should show two instance ,but now it show only one too.

did i need to update the ip in:
core:
default:
# Mixed: Receive agent data, Level 1 aggregate, Level 2 aggregate
# Receiver: Receive agent data, Level 1 aggregate
# Aggregator: Level 2 aggregate
role: ${SW_CORE_ROLE:Mixed} # Mixed/Receiver/Aggregator
restHost: ${SW_CORE_REST_HOST:<IP_ADDRESS>}
restPort: ${SW_CORE_REST_PORT:12800}
restContextPath: ${SW_CORE_REST_CONTEXT_PATH:/}
gRPCHost: ${SW_CORE_GRPC_HOST:<IP_ADDRESS>}
gRPCPort: ${SW_CORE_GRPC_PORT:11800}
this config?

and when i click the detail button ,it show like this:

the ip is <IP_ADDRESS>

Please make sure all of you OAP nodes start successfully, otherwise they won't register to the Nacos
TL;DR

did i need to update the ip in:
core:
default:
# Mixed: Receive agent data, Level 1 aggregate, Level 2 aggregate
# Receiver: Receive agent data, Level 1 aggregate
# Aggregator: Level 2 aggregate
role: ${SW_CORE_ROLE:Mixed} # Mixed/Receiver/Aggregator
restHost: ${SW_CORE_REST_HOST:<IP_ADDRESS>}
restPort: ${SW_CORE_REST_PORT:12800}
restContextPath: ${SW_CORE_REST_CONTEXT_PATH:/}
gRPCHost: ${SW_CORE_GRPC_HOST:<IP_ADDRESS>}
gRPCPort: ${SW_CORE_GRPC_PORT:11800}
this config?

If you start two OAP nodes in different machine, then you don't need to modify the IP's and ports here, but if you are starting them in docker containers on the same machine and expose the ports to the host machine, it's highly possible that the ports conflicts, PLEASE CHECK THE OAP LOG AND MAKE SURE ALL OF THEM START SUCCESSFULLY

of course i'm sure the server is srat success:
Uploading logs.txt…
the log is as this

in nacos every other service show there own ip ,only the oap show the ip of <IP_ADDRESS>

The log file did not upload successfully, @Dauber01 and please upload all the OAP logs, two log files as you said

node3.txt
node2.txt

like this

and i find anther thing ,nomater which one insance i start first, the nacos count of instance whill be 1,and when i start another instance in another machine ,the count of instance will not be changed to 2

Thanks, I'll dig more into this soon

If you are using <IP_ADDRESS> for all nodes, how do you make service discovery successfully? @kezhenxu94 does nacos cluster coordinator support to set address manually? If not, docker use case may be an issue. For container, k8s coordinator is always better.

@wu-sheng Does it mean that all of the cluster plugins share the same issue when using <IP_ADDRESS>? Such as zookeeper plugin, it also gets an address <IP_ADDRESS> in registry

When cluster running, <IP_ADDRESS> is not thr option today. I think that fits all service discovery. Unless coordinator supports auto IP select from VM or manually setting.

Maybe , i have never read the nacos source code,and if iconfig the ip in core config ,when i use docker ,it can't start up.

@Dauber01 Yes. That is not your fault. That is what I am asking @kezhenxu94 to notice.  So whether (a) coordinator provides some locate IP:port config, (b), you have to let the docker knows the IP:port inside.
@Dauber01 What is your container management tech stack?

k8s coordinator create by rancher

@Dauber01 Then use SkyWalking's k8s cluster manager. It is there for a long time, then you don't need to bother all these IP things :)

thank you ,i will try it

How to solve this problem, have you solved it？ @Dauber01


[BUG] 3.2.0 shim: ShuffledBatchRDD.scala:141: match may not be exhaustive.

Describe the bug
3.2 has a new partition spec we don't handle in the plugin
ShuffledBatchRDD.scala:141: match may not be exhaustive.
It would fail on the following input: CoalescedMapperPartitionSpec(_, _, _)
[WARNING] [Warn] /home/gshegalov/gits/NVIDIA/spark-rapids/sql-plugin/src/main/scala/org/apache/spark/sql/rapids/execution/ShuffledBatchRDD.scala:165: match may not be exhaustive.
It would fail on the following input: CoalescedMapperPartitionSpec(_, _, _)

Steps/Code to reproduce bug
build the 3.2 shim using
$ mvn clean package -Dbuildver=320 -Dskip -DskipTests -pl integration_tests -am

Expected behavior
Build must not have semantically significant warnings
Environment details (please complete the following information)
local
Additional context
#3323

@gerashegalov It looks like the only way to fix this is to add the match to the shim layer.  I think if I do this I can remove ShuffleManagerShimBase. Do you have an alternative that would be cleaner? I really don't want to split the match up into if/else blocks because then we would not get warning or errors when some of these change.

@revans2 +1 on your approach


Stage pop up always jumps to top

Description
Great plugin, but I often regret updating it. I can't use the stage popup anymore, because I have a lot of changes, and every time I press tab, its scrolls back to the top of the screen, super disorientating.
Neovim version
NVIM v0.10.0-dev-fcfc87c
Build type: RelWithDebInfo
LuaJIT 2.1.1695266395
Run "nvim -V1 -v" for more info
Operating system and version
Ubuntu 22.04
Steps to reproduce
Open the commit pop up,
Scroll down to a diff, press tab to open, the cusor and screen will scroll to the top and you will loose your place.
Also happens is you press s to stage a section, scrolls back to the top of the screen
Expected behavior
Cursor and screen position to stay where it was
Actual behavior
Jumps back to top
Minimal config
vim.cmd([[set runtimepath=$VIMRUNTIME]])
vim.cmd([[set packpath=/tmp/nvim/site]])
local package_root = "/tmp/nvim/site/pack"
local install_path = package_root .. "/packer/start/packer.nvim"
local function load_plugins()
  require("packer").startup({
    {
      "wbthomason/packer.nvim",
      {
        "NeogitOrg/neogit",
        requires = {
          { "nvim-lua/plenary.nvim" },
          { "sindrets/diffview.nvim" },
        },
        config = function()
          print("loaded neogit")
          require("neogit").setup()
        end,
      },
    },
    config = {
      package_root = package_root,
      compile_path = install_path .. "/plugin/packer_compiled.lua",
      display = { non_interactive = true },
    },
  })
end
if vim.fn.isdirectory(install_path) == 0 then
  print("Installing neogit and dependencies.")
  vim.fn.system({ "git", "clone", "--depth=1", "https://github.com/wbthomason/packer.nvim", install_path })
end
load_plugins()
require("packer").sync()

Yeah, theres a double-refresh bug I havent had time to sort out yet. Try turning off the file watcher, that should do the trick 😘

I've been thinking about this: It's very annoying that the cursor jumps, so until I sort out the double-render thing, I'm disabling the filewatcher by default (you can opt in).
Thank you for the feedback :) I'm closing this issue, but please feel free to reopen it if you continue to experience this bug.

Thanks for tending to this, but it still jump around for me: Just so we on the same page, here's a screen shot below.
I navigate to urls.py and press and expand the file, you can see although the cursor was at the top of the screen so that when it expands, I would be able to read it, but it moves the current line to the bottom of the screen, and expands it such that one can only see 1 or 2 lines. Then I try to expand views.py and they same thing, jumps to the bottom of the screen. The craziness after that is me trying to move right with l.

This is also happening for me. Every time I expand a file, it scrolls to the top, which makes is super hard to quickly go through lots of files changes.
Please re-open!

This should no longer be an issue on the nightly branch.

@CKolkey  I've been experiencing similar issues again on the nightly branch, and I've started looking at the code. It doesn't exactly jump to the top, but the scroll jumps.
It seems like the way the cursor is stored and restored on Ui:update needs some love, because while the cursor does restore correctly, the top line does not (the scroll). When updating the UI, the cursor is moved to the absolute top due to the self.buf:clear(), and then restores the cursor position. The problem is, that counts as moving the cursor down to the restored line, so the scroll will "fit" to the cursor just as if you'd do "zb".
I've already made some minor adjustments to save and restore the top line and will make a PR soon!


Async operations without "x-ms-long-running-operation": true

Original issue
In the get, create and delete operation, the description says it is an async operation, but without property "x-ms-long-running-operation": true, in the generated SDK, these method will be treated as synchronous operation.
Also, the descriptions mentioned an API called GetPolicyOperationResult, which does not exist in any of swagger nor any part of the generated SDK.

@pratimaupadhyay02 : Can you please take a look at this?

The issue has been fixed in service side. Swagger update will be out in few weeks.

@pratimaupadhyay02 : can you please update on the latest status?

The fix is in an ongoing PR. This will be checked in by end of next week.

The fix has been released. Since there is no further action pending on the PG side, closing the issue.

The fix has been released. Since there is no further action pending on the PG side, closing the issue.


RMI-00009: Moderator edits a comment

The moderator sees a comment that is unrelated to the discussion or contains an inappropriate word. He edits the comment and saves the changes.

On the UI, only the moderator should see the edit button for comments, use case, should verify that person editing is a moderator

Not realistic, editting comments is usually not done in these types of websites, comment is usually just deleted


dev模式，不能断点，这个要怎么配置？

Hi!
Please make sure to ask the question on the forums or the gitter chat.
Next time consider give a bit more of information. English can help you to get more answers too 😉

@nicefan use debugger is a choice

// eval-source-map is faster for development
devtool: '#cheap-source-map',


Pytorch to IR conversion: 'Collections.OrderedDict'a object has no attribute

Platform (like ubuntu 16.04/win10): Ubuntu 18.04
Python version: Python 3.6
Source framework with version : Pytorch 0.4.0
Pre-trained model path (webpath or webdisk path): https://download.pytorch.org/models/resnet101-5d3b4d8f.pth
I have gotten all the required versions and packages given in : https://github.com/microsoft/MMdnn/blob/master/requirements/linux-py3.txt
In the FAQ it says that its because I have a model which has just the weights. But I am using the pre-trained model so there shouldn't be such an issue right ?
Anything I might be missing ?

Hi @Hasan6979 , models downloaded directly from torchvision only have weights (you can check it easily with netron). An extra precedure of load and save is required, which we have implemented in mmdownload command.
So try mmdownload -f pytorch -n resnet101 -o ./

Hi @XiaoXYe
The problem is with using mmdownload with me is that where I am working, they have blocked wget so mmdownload fails. What steps can I do to have the architecture with the weights ? The load and save step that you are talking about.

Hi @Hasan6979 , This code will help you
import torch
import torchvision.models as models
net = models.resnet101(pretrained=False)
net.load_state_dict(torch.load('resnet101.pth'))
torch.save(net, 'imagenet_resnet101.pth')


Performance issue when opening search documentation on ui.shadcn.com

SYSTEM INFO

Linux / Fedora
Firefox

DESCRIPTION
Opening the popup pannel takes more than a second, and hovering between each search items is laggy.

Hi @TechTheAwesome, do you have Hardware Acceleration disabled in your browser?

Oh... I wouldn't have expect simple animation and blur would take such a performance hit when disabling hardware acceleration...
:sweat_smile: well thanks for your help again dan, sorry if I am bothering you with what turned out to be trivial issues.

No worries, I’m here to help.


Update loglevels.hpp

Fixed typo in error message DEBUG -> DBUG

Follow TDD practice.
All new and modified functionality should be backed up with unit tests.
All new functionality should be backed up with API documentation (API.markdown or README.markdown)

👍


Exclude option is not working

I want to exclude SC2155 (which is working via command line, but not from the shellcheck
Startup logs
[2023-08-22T11:56:17.048Z] [DEBUG] Spawn: (cwd=/mnt/Projects/serenity) /usr/bin/shellcheck [
  '-f',
  'json1',
  '-x',
  'Ports/.hosted_defs.sh,Ports/.strip_env.sh,Ports/.port_include.sh',
  '-e SC2155',
  '-'
]

VScode configuration
{
   "shellcheck.logLevel": "debug",
    "shellcheck.customArgs": [
        "-x",
        "Ports/.hosted_defs.sh,Ports/.strip_env.sh,Ports/.port_include.sh",
        "-e SC2155"
    ],
    "shellcheck.enableQuickFix": true,
    "shellcheck.enable": true,
    "shellcheck.run": "onSave",
    "shellcheck.useWorkspaceRootAsCwd": true,
    "shellcheck.executablePath": "/usr/bin/shellcheck"
}

I also tried reloading VScode, still this issue persists.

I tried 2155, also provided in .exclude configuration. Still no effect.
On Tue, 22 Aug 2023, 17:50 Felipe Santos, @.***> wrote:

Why not use the proper config?
[image: image]
https://user-images.githubusercontent.com/29582865/262347609-f558d76e-bf72-4c03-900a-e006c8abbc78.png
—
Reply to this email directly, view it on GitHub
https://github.com/vscode-shellcheck/vscode-shellcheck/issues/1194#issuecomment-1688077774,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGYSLIM44IEFZ4NYDDUQVH3XWSPYHANCNFSM6AAAAAA3ZZYTM4
.
You are receiving this because you authored the thread.Message ID:
@.***>

May I know why do you have the script path as a shellcheck arg?

Can you explain such requirement? The VS Code extension automatically adds the file to the command line when running shellcheck, you don't need to add it yourself.
Try with:
{
   "shellcheck.logLevel": "debug",
    "shellcheck.customArgs": [
        "-x",
    ],
    "shellcheck.exclude": [
      "2155"
    ]
    "shellcheck.enableQuickFix": true,
    "shellcheck.enable": true,
    "shellcheck.run": "onSave",
    "shellcheck.useWorkspaceRootAsCwd": true,
    "shellcheck.executablePath": "/usr/bin/shellcheck"
}

I don't know that much about configuration. I use shellcheck manually, someone told me about this extension. I thought this aggressive config will solve the issue.

Well, you should not play with the configuration if you don't know about it. The default configuration should work out of the box.
Also, you should avoid setting any custom args or exclude through VS Code settings, always prefer doing that through directives or the .shellcheckrc file.

.shellcheckrc worked, thank you for your support.

Just FYI:
"shellcheck.customArgs": [
"-x",
"Ports/.hosted_defs.sh,Ports/.strip_env.sh,Ports/.port_include.sh",
"-e SC2155"
],
"-e SC2155" is invalid here, instead you should:
"shellcheck.customArgs": [
"-x",
"Ports/.hosted_defs.sh,Ports/.strip_env.sh,Ports/.port_include.sh",
"-e",
"SC2155"
],

Nice catch!


Remove Amazon.Corretto.8 <IP_ADDRESS>2 to Amazon.Corretto.8.JDK <IP_ADDRESS>2

Microsoft Reviewers: Open in CodeFlow

URL: https://corretto.aws/downloads/resources/8.312.07.1/amazon-corretto-8.312.07.1-windows-x64-jdk.msi
OK
(Automated message - build 910)


Hide "untrusted" interpreters from 'Select interpreter' dropdown list

For #11046

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
[x] Has a news entry file (remember to thank yourself!).
[ ] Appropriate comments and documentation strings in the code.
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[x] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).
[ ] The wiki is updated with any design decisions/details.

Codecov Report

Merging #11047 into master will decrease coverage by 0.07%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master   #11047      +/-   ##
==========================================
- Coverage   61.32%   61.24%   -0.08%
==========================================
  Files         591      593       +2
  Lines       32380    32491     +111
  Branches     4586     4593       +7
==========================================
+ Hits        19856    19900      +44
- Misses      11523    11587      +64
- Partials     1001     1004       +3

Impacted Files
Coverage Δ

...t/interpreter/configuration/interpreterSelector.ts
72.94% <100.00%> (+2.42%)
:arrow_up:

src/datascience-ui/react-common/arePathsSame.ts
75.00% <0.00%> (-12.50%)
:arrow_down:

src/client/common/utils/platform.ts
64.70% <0.00%> (-11.77%)
:arrow_down:

src/client/datascience/jupyter/jupyterExecution.ts
49.36% <0.00%> (-2.32%)
:arrow_down:

src/client/linters/pydocstyle.ts
86.66% <0.00%> (-2.23%)
:arrow_down:

...rc/client/activation/node/languageClientFactory.ts
38.09% <0.00%> (-1.91%)
:arrow_down:

src/client/datascience/debugLocationTracker.ts
76.56% <0.00%> (-1.57%)
:arrow_down:

src/client/activation/node/languageServerProxy.ts
30.15% <0.00%> (-1.43%)
:arrow_down:

...client/datascience/kernel-launcher/kernelFinder.ts
75.70% <0.00%> (-0.94%)
:arrow_down:

src/client/common/process/proc.ts
14.49% <0.00%> (-0.73%)
:arrow_down:

... and 19 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 d95f454...feb3082. Read the comment docs.


Document Introspection CLI and internal steps, and add information to all Introspection issues

Introspection is a multi step process both in the CLI and the engine itself. For context when analysing errors, it could help to have a shared understanding of theses steps/phases and use those in all issues about Introspection errors.
(All this was already documented somewhere, but I could not find it ad hoc)
(Definition could be a Notion document or part of the Introspection spec)

Steps were mentioned here:
https://github.com/prisma/prisma2/issues/1124#issuecomment-565028313
@timsuchanek shared a list of steps from code somewhere in Slack in a thread.

End result should probably be put into specs as well.

Steps:

SQL Schema Describer generates schema descriptions (no errors expected)
Introspection calculates datamodel from description (inconsistent schema => panic [e.g. missing table used in FK])
Datamodel is validated (all the errors we know and love <3 => list of errors)
Query Engines tries to use it and build API from it (if QE assumptions are not covered by validator => panic [e.g. missing ID])

We untangled this a lot when we moved the validation out of introspect. Now you manually run validate or generate to get validation errors, which makes much more sense.


4.19 Visual Studio Build Error: 'SIZEOF_PID_T' is not defined as preprocessor macro

Hi,
I try to package a project in UE4.19
I cloned the UnrealEnginePython Repository to my project Game/Plugins/ folder.
When trying to build the project solution, I get this Error:
c:\python27\include\pyport.h(206): warning C4668: 'SIZEOF_PID_T' is not defined as preprocessor macro, replacing with '0' for '#if/#elif'
Also right-clicking the uproject file, to generate the solution yields a warning:
"The 'Definitions' property has been deprecated. Please use 'PublicDefinitions' instead".
It will not work at all.
Do you know what's causing this? Do you need more information from my side?
Thanks in advance!
Sebi

Hey,
I actually ran into the same problem since updating to UE 4.19.
Thankful for any feedback!
Regards,
Lars

a new official release with the latest features and fixes should be out next week (currently we are in Dubrovnik for the Reboot conference)

New binary releases are available. Please close the issue if all is ok. Thanks.


Create program.c

The N-Queens Problem is a classic problem where the objective is to place N queens on an N x N chessboard such that no two queens can attack each other. A queen can attack any other piece in the same row, column, or diagonal, making it challenging to place all N queens without conflict.

got it

Thank you sir for your suggestion! I have updated the changes which you
have mentioned so please review the check once and also by mistakely i have
been removed from the assignee by mistakely clicked the unassign button. So
i request to reassign this issue to me again and review my code.
On Sun, 3 Nov 2024 at 12:37, Ajay Dhangar @.***> wrote:

@.**** requested changes on this pull request.
update your code based on suggestions
In docs/backtracking algorithms/N-QueensProblem.md
https://github.com/ajay-dhangar/algo/pull/1344#discussion_r1826917594:

@@ -0,0 +1,149 @@
+---
+id: N-Queens Problem

replace id: N-Queens Problem with id: n-queens-problem
In docs/backtracking algorithms/N-QueensProblem.md
https://github.com/ajay-dhangar/algo/pull/1344#discussion_r1826917726:

+3. Check if placing a queen is safe (no other queens can attack it).
+4. If safe, place the queen and move to the next row.
+5. If a position is not safe or leads to no solution, backtrack by removing the queen and trying a different column.
+6. Repeat until all queens are placed or no solution is found.

+### Functions:
+1. isSafe(row, col): Checks if placing a queen at (row, col) is safe.
+2. solveNQueens(row): Recursively places queens row by row and uses backtracking when necessary.
+3. printSolution(): Displays a valid chessboard configuration.
+
+## Time Complexity
+
+The time complexity for solving the N-Queens problem using backtracking is O(N!), since we try placing a queen in every column of each row and backtrack if needed.
+
+## Program:
+```
replace line 43 withc
—
Reply to this email directly, view it on GitHub
https://github.com/ajay-dhangar/algo/pull/1344#pullrequestreview-2411791751,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BIY6COQP26B74UWS6LGR7LDZ6XDRRAVCNFSM6AAAAABQVNRIB2VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDIMJRG44TCNZVGE
.
You are receiving this because you were assigned.Message ID:
@.***>


Dont work 2.0 version

Version 1.1 Work

That's not particularly helpful. What does not work?

Does the application start?
Is an error reported by the application?
Have you tried launching the jar version from the console?

1.x differs entirely from 2.x and thus does not compare.

Application not start
no
yes

Without knowing the internal error there's no sensible way to debug the issue.
Please paste the full message here if the application provides an error dialogue. If not:

Download a jar copy of the application if you haven't done so yet
Run the application via java -jar Beacon.jar from a command line (preferably git bash if available)
Copy the entire output and paste it in a text file
Attach the text file here

Hi Johannes,
I have the same problem; I'd like to provide some information that the
previous person did not provide.

The application starts completely fine (Beacon 2.0 that is, written on
Kotlin). However, the loading screen shows and never goes away. The main
GUI to show games and ports does not show.
I downloaded previous versions of Beacon to test what happened; turns
out, the most recent version of Beacon after Beacon 2 functioned perfectly
fine!
Right now, I forgot the other issues, but I'll try to notify you as soon
as possible. Please let me know if there's anything I've omitted and I can
do.

Yours,
Matt
On Thu, Jul 25, 2019 at 3:48 AM Johannes Donath<EMAIL_ADDRESS>wrote:

Without knowing the internal error there's no sensible way to debug the
issue.
Please paste the full message here if the application provides an error
dialogue. If not:

Download a jar copy of the application
https://github.com/dotStart/Beacon/releases/latest/download/Beacon.jar
if you haven't done so yet
Run the application via java -jar Beacon.jar from a command line
(preferably git bash if available)
Copy the entire output and paste it in a text file
Attach the text file here

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dotStart/Beacon/issues/1?email_source=notifications&email_token=AMPIUZ4K3MEC4RBN7ZTVGPTQBGAIVA5CNFSM4IGR6CMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2ZDRHA#issuecomment-514996380,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMPIUZZ3V32H7DS6XMX7XMTQBGAIVANCNFSM4IGR6CMA
.

Thanks for the additional info.
Since it is incredibly hard to debug this issue as-is, I just released v2.1.0 which flushes the application logs to disk without requiring users to launch the application from the command line. As such, I'd recommend to update to 2.1 and attach the log files in question here.
As of the latest release, the log file may be found at:

%APPDATA%\Beacon\log\latest.log on Windows
*~/.beacon/log/latest.log for Linux, Mac OS and other NIX based systems

I have this problem too.
log.txt

I have this problem too.
Aplication starts, but it doesn't go further than the boot screen.
log.txt

According to the log you are running Java 8 (or older) which is not compatible with Beacon anymore. You need Java 9 or higher installed in your path.
That being said: Clearly, the Windows wrapper is not doing its job at the moment (there should be a warning regarding this). The same goes for the jar itself, of course.

Little update on this issue:
Another user has agreed to send me a copy of their log privately. As it turns out, there is most likely an exception being thrown on the JavaFX thread which is not being reported accordingly by the application (instead the event loop remains alive while the application is no longer capable of proceeding). This issue has been addressed with v2.1.2 (e.g. issues like this should now be logged correctly and reported via an error dialogue if possible).
That being said: The actual underlying issue is most likely still present. It is simply being reported correctly now (hopefully). As I cannot reproduce this issue yet, I cannot validate this though ...

This issue seems to be caused by one of our dependencies on Java 12 (and newer) and should be resolved with v2.1.4 (the feature in question has been replaced).
As such, I'll consider this issue to be fixed for now. If anything related to this issue comes up, feel free to re-open the issue.
For the sake of transparency, here's the crash report that tipped me off on this particular issue:
Beacon Error Report
===================
Version: 2.1.2
Date: 2019-07-30T18:50:35.1780489-04:00
Java Version: 12.0.2
Java Architecture: amd64
Operating System: Windows 10 (10.0)

Stack Trace:
------------
java.lang.NullPointerException
at com.jfoenix.skins.JFXTextFieldSkin.updateTextPos(JFXTextFieldSkin.java:109)
at com.jfoenix.skins.JFXTextFieldSkin.layoutChildren(JFXTextFieldSkin.java:93)
at javafx.scene.control.Control.layoutChildren(Control.java:601)
at javafx.scene.Parent.layout(Parent.java:1204)
at javafx.scene.Parent.layout(Parent.java:1211)
at javafx.scene.Parent.layout(Parent.java:1211)
at javafx.scene.Parent.layout(Parent.java:1211)
at javafx.scene.Parent.layout(Parent.java:1211)
at javafx.scene.Parent.layout(Parent.java:1211)
at javafx.scene.Scene.doLayoutPass(Scene.java:576)
at javafx.scene.Scene.preferredSize(Scene.java:1748)
at javafx.scene.Scene$2.preferredSize(Scene.java:393)
at com.sun.javafx.scene.SceneHelper.preferredSize(SceneHelper.java:66)
at javafx.stage.Window$12.invalidated(Window.java:1086)
at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:145)
at javafx.stage.Window.setShowing(Window.java:1174)
at javafx.stage.Window.show(Window.java:1189)
at javafx.stage.Stage.show(Stage.java:273)
at tv.dotstart.beacon.controller.SplashController$initialize$2.invoke(SplashController.kt:78)
at tv.dotstart.beacon.controller.SplashController$initialize$2.invoke(SplashController.kt:40)
at tv.dotstart.beacon.preload.Preloader$invoke$1$5.run(Preloader.kt:120)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
at java.base/java.lang.Thread.run(Thread.java:835)


data collecting interval

Hello,

Can someone help me why I am seeing spikes of data rather than continuous data?
I have spike in numbers from prometheus.

it seems mongodb server status is not constantly updated.
I appreciate your help.
Rock

I found out why. I provided multiple mongodb address like,
mongodb://x.x.x.x:27017,y.y.y.y:27017/db?replicaSet=mmm
this causes serverStatus data come from different mongod instance.
After I use only one, (primary address) it became fine.
/close


Adding session records copying tool

Addressing https://github.com/Azure/azure-sdk-for-net/issues/4166

Description

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] Please add REST spec PR link to the SDK PR
[ ] I have read the contribution guidelines.
[ ] The pull request does not introduce breaking changes.

General Guidelines

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[ ] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[ ] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
[ ] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

@dsgouda looks good, please merge once you resolve conflicts.


Applying IPS patch on already patched rom?

Is is possible to apply this patch over an already patched rom? I have a rom that supports 2 player mode.
(https://www.romhacking.net/hacks/1013/)

Cross-linking https://github.com/ejona86/taus/issues/28. In short: sometimes you can, but not in this case. There are some changes necessary to hook into the built-in twoplayer support, and then there's a problem of the two mods using the same space for their code.

Oh, this is linked to Tetris Zero, not the taus twoplayer mod. I've not looked into how the Tetris Zero ROM operates, but it is much larger and than the taus twoplayer mod and does overwrite some of the same sections as the hard-drop ips (which means incompatible).