Unit Testing for Hubploy

@yuvipanda has been talking about this for a while. The biggest difficulties with testing hubploy itself are:

You need to deploy a JupyterHub
You need somewhere to deploy a JupyterHub

I thought on this a while and got nowhere because I wasn't sure who should host the cluster that this test deployment would go, wasn't sure on what the JupyterHub should include, etc.
I talked with @consideRatio about this a bit on Monday; he suggesting using k3s to launch a cluster on the small CI machine that you get for GitHub Actions.
Thoughts on ramifications to this testing process can go below, just wanted to get the conversation started. At a very base level, we should probably test the hubploy build and hubploy deploy commands with simple setups.

@salvis2 i am unsure if you are still using hubploy, or know of anyone (other than UC Berkeley) that is...  if so, please note that the current incarnation of hubploy is going under a major refactor due to it being mostly abandoned and we're changing our build and deploy workflow to rely on repo2docker-action for building and pushing of user container images.
final release:  https://github.com/berkeley-dsep-infra/hubploy/releases/tag/v0.3
refactoring PR: https://github.com/berkeley-dsep-infra/hubploy/pull/117

Hi @shaneknapp , I am not using it anymore, but this is good information in case someone else comes in looking to help. :)


Added backend file structure

Summary:

Placeholder for the Supabase Edge functions
Backend file structure

What problem does it solve?

Mainly to decouple presentation layer (frontend) from business logic (backend)
Any integration with vendor could be implemented on the backend or edge functions

.
|-- README.md
|-- supabase
|   |-- config.toml
|   |-- functions
|   |   |-- _shared
|   |   |   `-- cors.ts
|   |   `-- media-service
|   |       `-- index.ts
|   `-- seed.sql
`-- webservice
    |-- package.json
    `-- src
        |-- lib
        |   |-- api
        |   |   `-- index.js
        |   |-- controllers
        |   |-- services
        |   `-- vendor
        `-- local
            `-- server.js

What areas of the site does it impact?

Place where any future function calls or backend services will reside.

Checklist

[ ] You have added unit tests
[ ] No error nor warning in the console or builds
[ ] I joined a screenshot of developed feature (if applicable)
[ ] Documentation (if applicable)

Other Notes (Supabase)

All APIs are auto-created from Database tables. After you have added tables or functions to your database, you can use the APIs provided.

For use-cases which require low-latency we recommend Edge Functions, which are globally-distributed and can be written in TypeScript. (Supabase Edge functions are written in typescript run via Deno)

We recommend developing “fat functions”. This means that you should develop few large functions, rather than many small functions.

[upload the screenshot here]

@FelipeDeMoura i believe we need to change the branch from main to develop


Feature request: Add option to save sidepanel role swaps

I have not checked the code yet, but when restarting the client, the role swap selected in the sidepanel seems to not be applied anymore (at least visually, have not tried inside ToB yet). It'd be nice if there was a config option to save the value to a hidden config value (using ConfigManager) which then can be loaded in StartUp.

Yes, currently user has to set it every time he restarts his client. I usually use different swaps depending on the scale/role which change constantly, so thought default setting might be unnecessary. Could add it tho


Train rework

Addressing assorted issues in train_rework

@jettjaniak I think it might make sense to merge this as-is, or even to break it into smaller PRs. It's already pretty big, and some of the upcoming changes are likely to be even-bulkier-by-line-count-if-not-complexity.


vscode cant open when pc not connected to wifi

We have written the needed data into your clipboard because it was too large to send. Please paste.
1 disconect your computer from wifi and disable functionality that allows it to automtically connect
2 shut down your pc
3 turn it onand make sure its not connected to wifi
4 try and open vs code, it does not even load. this has been happening since the week began and is very frustrating as i donot always have internet

This is a huge problem for me too. The bot will probably soon close this issue and point you to Issue #7570 where you can read that the "exploration build" fixes this: https://github.com/Microsoft/vscode/issues/7570#issuecomment-423196532
Please someone post how to get the latest exploration build. There are links in #7570 to random exploration builds, but what if I want the latest? Also please post a link to info that tells more about the exploration build, e.g., is it something that someone who is wary of alpha and beta software should use?
Thank you from ℵ who is wary of alpha and beta releases

I also encountering this problem, and it seen there are many people is encountering this question, I hope they can notice this bug soon

If you run code in command line with no Internet, you will get the following message:
dns.js:246
    this._handle = new ChannelWrap();
                   ^

Error: EFILE
    at new Resolver (dns.js:246:20)
    at dns.js:377:25
    at dns.js:431:3
    at NativeModule.compile (bootstrap_node.js:606:7)
    at NativeModule.require (bootstrap_node.js:550:18)
    at net.js:45:13
    at net.js:1730:3
    at NativeModule.compile (bootstrap_node.js:606:7)
    at NativeModule.require (bootstrap_node.js:550:18)
    at internal/child_process.js:6:13

I hope this will help.

https://github.com/Microsoft/vscode/issues/7570


cached_property was only introduced from python 3.8

Description
The cached_property is used in base.py, and it is implemented in the functools package since python 3.8 (See here). However, RDMC allows python version >=3.6.
Bug description
When using RDMC in python 3.7 (or lower version), ImportError: cannot import name 'cached_property' from 'functools' would appear.

@shihchengli Good catch.
I am also aware of that, but I haven't implemented it yet.
I plan to stop the support of Python 3.6 right now (as it reached end-of-life on Dec 23, 2021). Also, stop the support of Python 3.7 as its EOL is Jun 27, 2023, but will hold a little bit until RMG gets upgraded to Python 3.8+. Within 6 months, we will get to the EOL of Python 3.8, so I may also stop the support of it afterward.


Specify your license

You don't mention under which terms you license your software. Unclear licensing will prevent people (like me) from contributing.
Github put up a nice website that helps with that decision and tells you what text to copy where: http://choosealicense.com/
More on the topic: http://www.datamation.com/open-source/open-source-debate-copyleft-vs.-permissive-licenses.html

Done, thank you for pointing it out.


vectorize the operation in helfsurfce and other subroutines

Try to vectorize the subroutine and eliminate some unnecessary calculation to improve the performance of  the subroutine helfsurface

For one day M09 simulation, the helfsurface subroutine takes about 11.5 seconds. After the change, it takes about 8.5 second. The performance is about 25% improvement.  For comparison, the Louis subroutine takes about 0.9 second

@weiyuan-jiang Do you know if the GCM uses Louis or Helf? I ask only because this might be non-zero-diff for Helf and so if the GCM uses Helf, it should be marked as non-zero-diff.

@weiyuan-jiang Do you know if the GCM uses Louis or Helf? I ask only because this might be non-zero-diff for Helf and so if the GCM uses Helf, it should be marked as non-zero-diff.

GCM is using Louis by default

I saw it crashes. Does CI use debug built type ? @mathomp4

Yes. By default our CI runs with debug build type. Both Intel and GNU


Default menu

When there is a Menu, is there a way to assign it a location by default, ie: "Nav - Menu Left"
Maybe is not very important but would be a great feature, as when you change Themes you have to set up always the Menu.
Thanks.

But how do you know what side (left or right) the user prefers to have 1 lonely menu?

We can assign one by default, I prefer left menu.
But as I said this is not very important
Thanks.


Add form-level validation summary

If a server-side error is added using
ModelState.AddModelError(String.Empty, "Generic error submitting this form");

There is currently no "built in" way to display it. MVC's ValidationSummary helper works, but it's strange to mix with ChameleonForms (and I believe with two forms on one page, it breaks).
There are several reasons to have overall form validation:

Generic exception/error handling
Server-side security failure (eg: User doesn't have permission to save with the specific values entered)

There is a trello task for this but with no detail: https://trello.com/c/1XFS1dHq/157-html-validationsummary-that-doesn-t-suck.  In particular:

Define "Doesn't suck"
Is there any insight into how this should be done?

eg:
@using (var form = Html.BeginChameleonForm())
{
    using (var section = form.BeginSection("Errors"))
    {
        @section.ValidationSummary();
    }
}

How is the section rendered if there are no validation errors to show?
Is there a way to suppress the section if there are no errors (eg, using something like if (form.ValidationErrors.Count > 0) or form.BeingSection("Errors", hideIfEmpty:true); )? I'm not sure what the "ChameleonForms" way to do this..
Should summary validation display only the non-field-specific errors, or should it also be able to display field-specific ones (like the MVC ValidationSummary helper can)?

Nice! Thanks for this issue - it's a great conversation starter :)
I like where you are heading and your reasoning. Definitely have a few ideas f my own to add to the mix.
There are two things in particular that I think "suck" about the built-in method - firstly, there is no way to easily hide it if there are no errors and secondly, there is no way to control the HTML output. Now, a nice thing is it does support population from the unobtrusive JavaScript errors on the page, so changing the HTML markup may well break that (something to investigate).
I'd like to see a way to output it in a way that (optionally?) still works with the unobtrusive JavaScript, but hides the message you configure if the form is valid. It might be nice to be able to output a message if the form is valid (not sure how that would work in with the JavaScript). We might need to extend the unobtrusive validation JavaScript to get it all working, but that's pretty easy (we already have an example of that anyway with the date format validation).
I'd also like to see the HTML output configured from the Form Template; this makes sense in the context of something like Bootstrap where you might want to use, say, a danger alert etc.
In terms of how the Razor should look, I don't think it makes sense to put it in a section (maybe in the leading HTML for it though? That would only make sense if you had a single form section). I think it should just be a call that returns an IHtmlString so it can be placed anywhere. For that reason it probably makes sense on the form object.
@using (var form = Html.BeginChameleonForm())
{
    @form.ValidationSummary()
    @* ... *@
}

I guess that raises a question - should there be an ability to create a summary for a subset of the fields? It's more complex, but might be useful? Might get a bit unwieldy to do though unless there is a way to detect calls to @s.FieldFor(...) and have that process before the @leadingHtml is output - from memory it's possible that's what Razor would do... hmm...

Great, glad there is interest in this!
To stay focused, I think it's probably worthwhile to simply support the high-level validation (messages not attached to any specific field), and then once that's working, in other tickets:

look at optionally having a summary of all field-level validation errors (which IMHO really only makes sense on very long, complex forms)
look at section-level validation summaries that include just the fields in those sections (or something similar to get the "subset of fields summary" you described).

To me, the inability to display the validation problems that aren't field-specific is a missing capability. The other two are display enhancements that can potentially improve UX, but don't change any real functionality.

Agree. Sounds good.


Request: Create world with custom name

Hi,
Sorry for using issues for feature request.
I want to create 2 biome bundle worlds, first for creative testing and second for survival.
Can you implement this feature?
Thanks for great mod

You can already do this if you hit the clone button with Biome Bundle selected on the single player world creation screen.

Yea, you are right, but i want to change world name with same world settings without cloning.
I requesting that, because of end user experience with modpack.
Thanks for reply

Ok, i add this on my own by removing disabled state, adding isFocused and always using "Biome Bundle" as config folder


ghostwriter fails to start

qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

zsh: abort      ghostwriter

@dotlambda

needs fixes for https://github.com/NixOS/nixpkgs/issues/65399.
pretty simple to do

same error in radare2-cutter

@volth please report that in https://github.com/NixOS/nixpkgs/issues/65399 so someone can easily pick that up.


[BUG]: Incorrect migration generation when there are tables with the same name in different namespaces

What version of drizzle-orm are you using?
0.27.0
What version of drizzle-kit are you using?
0.19.1
Describe the Bug
There seems to be a problem when generating a migration while using a table with the same name in different namespaces.

Create two namespaces. In each namespace, create tables with the same name, but in different namespaces.

export const schema1 = pgSchema('schema1');

export const table1 = schema1.table(
  'default',
  {
    colSchema1Id: serial('colSchema1Id').primaryKey(),
  }
);

export const schema2 = pgSchema('schema2');

export const table2 = schema2.table(
  'default',
  {
    colSchema2Id: serial('colSchema2Id').primaryKey(),
  }
);

Generate the migration:

drizzle-kit generate:pg

Analyze the migration and observe that the generated code omitted the creation of the table in schema1.

CREATE SCHEMA "schema1";
--> statement-breakpoint
CREATE SCHEMA "schema2";
--> statement-breakpoint
CREATE TABLE IF NOT EXISTS "schema2"."default" (
	"colSchema2Id" serial PRIMARY KEY NOT NULL
);

Expected behavior
Generate both tables in the migration:
CREATE SCHEMA "schema1";
--> statement-breakpoint
CREATE SCHEMA "schema2";
--> statement-breakpoint
CREATE TABLE IF NOT EXISTS "schema1"."default" (
	"colSchema1Id" serial PRIMARY KEY NOT NULL
);
--> statement-breakpoint
CREATE TABLE IF NOT EXISTS "schema2"."default" (
	"colSchema2Id" serial PRIMARY KEY NOT NULL
);

Environment & setup
No response

Was fixed and added in<EMAIL_ADDRESS>So should work as expected. Please check all the release notes, if you want to be updated about all new features


fix(a11y): using button instead of div

Pre-Submission Checklist

[x] Your pull request targets the staging branch of FreeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm run test-challenges. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Closes currently open issue: Closes #8590

Description
using button instead of div, div can be styled to look like a button, but it does not behave as a button  semantically, for example receiving focus, respect the tab order, trigger click event when space is pressed. Above all, for assistive technology, div will never be presented or read out as button. A visually challenged user will never know about those CTAs

@raisedadead could you take a look?

@sarbbottam Sincere thanks for these contributions!
These sure are good for improving the usability and a11y.

@raisedadead Is there any modification/changes required for this PR?

@sarbbottam waiting for comments from @BerkeleyTrue or @hallaathrad

I can not reproduce the eslint error scenario in the local set up.

The failure might be related to latest eslint release - https://github.com/eslint/eslint/releases/tag/v2.10.0

Looks like it is already reported - https://github.com/eslint/eslint/issues/6158

@raisedadead @BerkeleyTrue @hallaathrad It will be great if this PR can be merged on or before May 19, Global Accessibility Awareness Day. Could you guys take a look, and let me know if my updates required? Thanks!

Hey @sarbbottam I tested and was about to merge it, sadly the branch had merge conflicts, which I tried to resolve but unfortunately had issues. (I had messed up my local setup)
Would you mind fixing them for us. Apologies for the delay in QA, I did the basic testing and these do not break anything.
I found the tab switching neat. But this may need to go the pop-up modal that appears after the clicking "Bug" button.
If you could add that then this would be awesome.
Thanks again for contributing.

The merge is due to a fact that the recent change removes the share to Twitter button

Hey @raisedadead, I have resolved the conflicts.

I found the tab switching neat. But this may need to go the pop-up modal that appears after the clicking "Bug" button.

If you could add that then this would be awesome.

This has to be handled by the javascript displaying the modal, need to dig a bit more. But I guess the modal will need few more enhancements, please see the test descriptions at

https://github.com/sarbbottam/accessible-modal/blob/master/test/modal.js#L88-L119
https://github.com/sarbbottam/accessible-modal/blob/master/test/modal.js#L174-L199

I will take it in a separate PR.
Thanks!

:sparkles: :sparkles: LGTM. :sparkles: :sparkles:
Thanks.


hash/crc32: optimize arm64 crc32 implementation

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.8.1 linux/arm64
What operating system and processor architecture are you using (go env)?
GOARCH="arm64"
GOBIN=""
GOEXE=""
GOHOSTARCH="arm64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/root/go"
GORACE=""
GOROOT="/usr/lib/go-1.8"
GOTOOLDIR="/usr/lib/go-1.8/pkg/tool/linux_arm64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build806539295=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
What did you do?
See https://github.com/cockroachdb/cockroach/issues/15868, "TestConcurrentBatch takes 20s+ on arm64".  This code which does a lot of CRC32 functions on arm64 is not yet accelerated.
What did you expect to see?
Performance fast enough to pass CockroachDB's test.
What did you see instead?
Slow performance, 8x the time of a laptop.
It looks like this commit
https://github.com/golang/go/commit/ab636b899cbfe40ad310d7b50d1a443724f5970a
will substantially address the performance issue on arm64.

That commit was merged and it'll be in go1.9. Can we close this issue then?

Yes, OK to close (you might want to label it such that it goes into the 1.9 release notes).

I believe we have a script that automatically recognizes performance improvements from commit messages so we should be fine!


error

lib version too high

Works for me, 2.0.0 is released https://github.com/sindresorhus/parse-columns/releases and https://www.npmjs.com/package/parse-columns

Flush your caches and proxies...

Use the npm official registry instead of registry.npm.taobao.org.
Delete  line below  in your .npmrc file
registry=https://registry.npm.taobao.org


[FR]: Plugin & Extension: Developer-Friendly Integration

Describe your idea

[x] Empower developers to craft plugins or extensions & easily integrate them to Stereum

For UI we should keep discuss:

Import / Create New Config option
Handle connectability with node components with user set connectability
Let user specifiy category of service (?)
How to keep track of status
How to handle the staking page

Considered Alternatives?
--
Additional Context
--
Acknowledgment

[X] I looked through the feature requests/enhancements planned for this project before submitting a new idea

Following the discussions we had, I would suggest for the first UI implementation of this, the following flow
1# The user will have to add the service from the pool. To do this I would propose a change to the component itself.

[ ] Outsourcing the adding of the external connections to three buttons, as well as the custom service
[ ] Add a search to the box to make it easier to navigate

2#  After clicking the button a field to input the docker config will pop up, where the user can define the service

3# Setting installation path (volume) & port that need to be opened

Connection & categories we will push back for now, making it necessary to make any connection be added in the config

Closing this with #1705 & will open another issue with discussed enhancements following the next release adding this feature.


export collection causes response_abort

read, err := ts.Collection("test").Documents().Export()
if err != nil {
    panic(err.Error())
}

It returns no err but io.Reader has 0 bytes.
If we call export function then typesense log "response abort called"

Hey @minarc What version of typesense-go you are using ?
Is it the HEAD at master ?

@harisarang Typesense is 0.22.0 and go client is v0.3.0.

@harisarang I just tried go get github.com/typesense/typesense-go@master but  I found that master branch missing TextMatch field at SearchResultHit also.

@harisarang I just tried go get github.com/typesense/typesense-go@master but I found that master branch missing TextMatch field at SearchResultHit also.

@minarc
Hey thanks, for pointing that out ! Now, check master it is fixed !

read, err := ts.Collection("test").Documents().Export()
if err != nil {
    panic(err.Error())
}

It returns no err but io.Reader has 0 bytes. If we call export function then typesense log "response abort called"

@minarc
Will look into this in couple of days

@harisarang Thank you for your great and quick works! 👍🏻

@harisarang Any updates?

Hey @minarc!
I was looking into this issue, for me, Export works as expected !
Maybe try updating your typesense-server version to v0.22.1.
P.S. If you facing the same issue again can you share with me a small reproduceble dataset with a example code snippet so that I can investigate on it !


fix(backend): use random seed for SDE & Ancestral schedulers

What type of PR is this? (check all applicable)

[ ] Refactor
[ ] Feature
[x] Bug Fix
[ ] Optimization
[ ] Documentation Update
[ ] Community Node Submission

Have you discussed this change with the InvokeAI team?

[x] Yes https://discord.com/channels/1020123559063990373/1133929466763161650/1137626552222359572
[ ] No, because:

Description
SDE and Ancestral schedulers use some randomness at each step when applying conditioning. We were using a static seed of 0 for this, regardless of the initial noise used. This could cause results to be a bit same-y.
Unfortunately, we do not have easy access to the seed used to create the initial noise at this time.
Changing this to use a random seed value instead of always 0.
@keturn

This is superseded by #4201 in which @StAlKeR7779 has added a seed prop to LatentsField to provide context to downstream nodes. The SDE and Ancestral samplers can then use this to provide deterministic outputs.


[EN Number] Handling "100g" case

Now we get the dimension "100g" in result

what we expect is get a number 100 in result

Unfortunately, the behaviour of 100g -> unit is by design.
Pre-normalization of the sentence is required to "100 g", so the output would contain both a unit and a number.
Typically tags shouldn't apply to partial tokens as that causes issues in different pipelines.
There are some situations where this type of mistake currently happens, but we'll remove them in v2.0.


Download link expired

The two links are expired, would you please update the links?
Training

Pose Estimation Module
To train, grab an imagenet-pretrained model and put it in ./weights.
For Resnet101, download resnet101.ckpt from here.
For Resnet152, download resnet152.ckpt from here.

These links are fixed. Thanks for letting me know!

download backbones: resnet101 and resnet152 (only if you want training by yourself)
wget http://guanghan.info/download/Data/LightTrack/weights/backbones.zip
unzip backbones.zip
download weights for the detection module
wget http://guanghan.info/download/Data/LightTrack/weights/YOLOv3.zip
unzip YOLOv3.zip
download weights for various pose estimators
wget http://guanghan.info/download/Data/LightTrack/weights/mobile-deconv.zip
unzip mobile-deconv.zip
wget http://guanghan.info/download/Data/LightTrack/weights/CPN101.zip
unzip CPN101.zip
wget http://guanghan.info/download/Data/LightTrack/weights/MSRA152.zip
unzip MSRA152.zip
download weights for the SGCN module
wget http://guanghan.info/download/Data/LightTrack/weights/GCN.zip
unzip GCN.zip
these links are not working, for pre-train weight. If any other alternative option is there then suggest.

http://guanghan.info/download/Data/LightTrack/weights/MSRA152.zip
this link is not working.


Migrate Start Detector job to SDK using SDKRestClient

Is your feature request related to a problem?
Part of https://github.com/opensearch-project/OpenSearch/issues/5224
What solution would you like?
Migrate the Start Detector job Rest API to Extensions SDK using SDKRestClient.
Use the implementation of #353 as a reference.  Add new issues for any steps you skip.
Implement the following API endpoints:

[ ] POST _plugins/_anomaly_detection/detectors/<detectorId>/_start

Remaining Tasks :
Replace the following instances in which client.execute() is used to trigger actions registered within OpenSearch with corresponding methods made available by the Java Client (OpenSearchAsyncClient).

[ ] AnomalyDetectionIndicies.updateJobIndexSettingIfNecessary()

Action : GetSettingsAction
Request: GetSettingsRequest
Response : GetSettingsResponse
Note : Once this client.execute is replaced, uncomment anomalyDetectionIndices.update() in the following two places

IndexAnomalyDetectorTransportAction
ADTaskManager

[ ] ADTaskManager.updateLatestFlagOfOldTasksAndCreateNewTask()

Action : UpdateByQueryAction
Request: UpdateByQueryRequest
Response: BulkByScrollResponse

[ ] ADTaskManager.deleteTaskDocs()

Action : BulkAction
Request: BulkRequest
Response: BulkResponse

[ ] ADTaskManager.cleanChildTasksAndADResultsOfDeletedTask()

First Action:

Action : DeleteByQueryAction
Request: DeleteByQueryRequest
Response: BulkByScrollResponse

Second Action :

Action : DeleteByQueryAction
Request : DeleteByQueryRequest
Response : BulkByScrollResponse

Current Blockers : (Will be handled as part of https://github.com/opensearch-project/opensearch-sdk-java/issues/525)
When Anomaly Detection Start Detector is invoked, Anomaly Detection sends a request to Job Scheduler to register job details (Job Index Name, Job Type Name, Action Name to parse ScheduledJobParameters, Action Name to run the extension job). Job Scheduler utilizes the Node client to execute the actions provided by the extension through the ExtensionProxyAction, which maintains a map of extension actions registered via getActions(). One such instance in which Job Scheduler is triggering these actions is here to parse the ScheduledJobParameter indexed by AD. The action name provided with the request to trigger ExtensionProxyAction is then used to reroute the action request to the extension.
Currently there is no handler within the SDK to handle transport action requests to extensions and thus the following error occurs. :
[2023-03-10T22:10:40,693][INFO ][o.o.j.u.JobDetailsService] [dev-dsk-jpalis-2c-27c8aa11.us-west-2.amazon.com] Sending ScheduledJobParameter parse request to extension : ad-extension-1
[2023-03-10T22:10:40,702][ERROR][o.o.j.u.JobDetailsService] [dev-dsk-jpalis-2c-27c8aa11.us-west-2.amazon.com] Could not parse job parameter
org.opensearch.transport.RemoteTransportException: [ad-extension][<IP_ADDRESS>:4532][internal:extensions/handle-transportaction]
Caused by: org.opensearch.transport.ActionNotFoundTransportException: No handler for action [internal:extensions/handle-transportaction]
        at org.opensearch.transport.InboundAggregator.lambda$new$0(InboundAggregator.java:75) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
        at org.opensearch.transport.InboundAggregator.initializeRequestState(InboundAggregator.java:217) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
        at org.opensearch.transport.InboundAggregator.headerReceived(InboundAggregator.java:94) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
        at org.opensearch.transport.InboundPipeline.forwardFragments(InboundPipeline.java:167) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
        at org.opensearch.transport.InboundPipeline.doHandleBytes(InboundPipeline.java:150) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
        at org.opensearch.transport.InboundPipeline.handleBytes(InboundPipeline.java:115) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
        at org.opensearch.transport.netty4.Netty4MessageChannelHandler.channelRead(Netty4MessageChannelHandler.java:94) ~[?:?]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[?:?]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[?:?]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[?:?]
        at io.netty.handler.logging.LoggingHandler.channelRead(LoggingHandler.java:280) ~[?:?]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[?:?]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[?:?]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[?:?]
        at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[?:?]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[?:?]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[?:?]
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[?:?]
        at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[?:?]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) ~[?:?]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[?:?]
        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[?:?]
        at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[?:?]
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) ~[?:?]
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) ~[?:?]
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) ~[?:?]
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[?:?]
        at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[?:?]
        at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[?:?]

Tasks To Enable Historical Analysis

[ ] Integrate ForwardADTaskAction with the SDK and register within getActions
[ ] Modify ADTaskManager.forwardRequestToLeadNode to remove hashring and redirect the ForwardADTaskRequest to the extension node
[ ] Remove hashring from ADTaskManager.checkTaskSlots and execute ADStatsNodesAction for extension node only
[ ] Remove hashring from ADTaskManager.startHistoricalAnalysis and forwardDetectRequestToCoordinationNode for only the extension node. ADVersion should just be defaulted to current
[X] Register ad-batch-task-threadpool as an executor builder. Already added in by https://github.com/opensearch-project/anomaly-detection/pull/876
[ ] Integrate ADBatchAnomalyResultAction with the SDK and register within getActions. Called by ADTaskManager.runNextEntityForHCADHistorical (This just calls ADBatchTaskRunner.run for each request). Note : a potential issue may be in ADBatchTaskRunner.getDateRangeOfSourceData() as the aggregation response may be of a different type, will need to check during testing
[ ] Modify ADBatchTaskRunner.getTopEntitiesListener and remove hashring to direct all high cardinality tasks back to the extension node
[ ] Modify ADBatchTaskRunner.forwardOrExecuteEntityTask and ensure that ADBatch Task is executed locally on the extension node. (This negates the need to register ADBatchTaskRemoteExecutionAction as all tasks will be executed on the extension node)
[ ] Potential issue : double check the response aggregation class within SearchFeatureDao.getHighestCountEntities() is of type CompositeAggregation after sending the search request with the SDKRestClient
[ ] Potential Issue : double check SearchFeatureDao.parseBucketAggregationResponse as the aggregation class InternalComposite may not be supported by HLRC
[ ] Potential issue : double check AbstractRetirever.parseAggregation as the aggregation class InternalSingleBucketAggregation may not be supported by HLRC
[ ] Replace StringTerms with ParsedStringTerms in ADBatchTaskRunner.searchTopEntitiesForSingleCategoryHC as the SDKRestClient uses the HLRC internally
[ ] Fix affected test classes

@joshpalis  PR:https://github.com/opensearch-project/anomaly-detection/pull/837 is merged for start detector. Can we close this issue?


improvement

introduce robust_short(ParaMC) which will convert -0.0 to abs(0.0)
add Sigma.MC which automatically handles the diagram generation and data storage.

Codecov Report

Merging #20 (69c615c) into master (60ece90) will decrease coverage by 1.83%.
The diff coverage is 0.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##           master      #20      +/-   ##
==========================================
- Coverage   37.27%   35.44%   -1.83%
==========================================
  Files          30       30
  Lines        1945     2034      +89
==========================================
- Hits          725      721       -4
- Misses       1220     1313      +93

Files Changed
Coverage Δ

src/common/para_builder.jl
60.34% <0.00%> (-2.16%)
:arrow_down:

src/sigma/sigma.jl
1.26% <0.00%> (-1.12%)
:arrow_down:

src/sigma/sigma_generic.jl
0.00% <0.00%> (ø)

src/vertex4/ver4_PH_l.jl
59.22% <0.00%> (-32.33%)
:arrow_down:

src/vertex4/ver4_generic.jl
90.19% <ø> (ø)

src/vertex4/vertex4.jl
89.58% <ø> (ø)


Perfomance and memory

Question

I need to show a 100 pages (some text, image and a few buttons on each) in some cases so I'm wondering about possible performance issues. Android implementation using ViewPager2 (with recyclerview underneath) which seems like a good fit for the task. Could react-native-viewpager handle a 100 pages or should I use something else (maybe native?) for that?

 As you mentioned, native side is prepared for it, but the problem is with JS implementation.
All views will be initialized in memory eagerly (View should be created,  if needed in lazy way). In above issue, there is some PoC, how it can be implemented.  You can try to tweak a JS part to support lazy loading. In case of any help,  feel free to ask.
should I use something else (maybe native?) for that?
Depends on feature, you need to implement. Probably you can use FlatList, which support lazy loading.
For native implementation you can try for ios

Hello @troZee. I'm just diving in the react native world and not ready to mess with what I don't know but rather pick something created by experienced developers. Thanks for the answer.

FYI: https://github.com/callstack/react-native-pager-view/releases/tag/v6.0.0-rc.0

@troZee great news. Thanks for letting me know.


Add tests based on current issues

That fail due to libcompose v2 support...
Add wiki page and keep track of tests.

kompose could definitely use more unit test. I only see two on HEAD.
I've seen a ton of PRs be merged without unit tests. Most of the work of adding new features is proper testing to prevent regressions and help reviewers have confidence in changes. It might be a reasonable idea to start enforcing tests as part of PRs as well.
$ go test -race -cover -v $( go list github.com/kubernetes-incubator/kompose/... | grep -v '/vendor/' )
?   	github.com/kubernetes-incubator/kompose	[no test files]
=== RUN   TestParseVolume
--- PASS: TestParseVolume (0.00s)
PASS
coverage: 0.0% of statements
ok  	github.com/kubernetes-incubator/kompose/cli/app	1.128s	coverage: 0.0% of statements
?   	github.com/kubernetes-incubator/kompose/cli/command	[no test files]
?   	github.com/kubernetes-incubator/kompose/pkg/kobject	[no test files]
?   	github.com/kubernetes-incubator/kompose/pkg/loader	[no test files]
?   	github.com/kubernetes-incubator/kompose/pkg/loader/bundle	[no test files]
?   	github.com/kubernetes-incubator/kompose/pkg/loader/compose	[no test files]
?   	github.com/kubernetes-incubator/kompose/pkg/transformer	[no test files]
=== RUN   TestKomposeConvert
--- PASS: TestKomposeConvert (0.00s)
	kubernetes_test.go:215: Test case: Convert to Deployments (D)
	kubernetes_test.go:215: Test case: Convert to DaemonSets (DS)
	kubernetes_test.go:215: Test case: Convert to ReplicationController (RC)
	kubernetes_test.go:215: Test case: Convert to D, DS, and RC
PASS
coverage: 40.5% of statements
ok  	github.com/kubernetes-incubator/kompose/pkg/transformer/kubernetes	1.095s	coverage: 40.5% of statements
?   	github.com/kubernetes-incubator/kompose/pkg/transformer/openshift	[no test files]
?   	github.com/kubernetes-incubator/kompose/version	[no test files]

@ericchiang That looks like a way better command to use to add to unit tests, perhaps we add this to the current make test-unit command we have?

i think we are doing good on this, so closing it. Thanks @surajnarwade for bringing this to my notice!


UpdatekbOperationDTO Update DTO object example

Hello,
Can you please provide an example in C# of how to use the Update within UpdatekbOperationDTO to update the wording of a particular question and/or answer?  In the example here, the Update DTO is set to null and I can't find an example anywhere.
If I have to update the entire KB, how do I do that?
Thanks

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

ID: 98bb87f6-c0ac-a504-6b20-d20a43460dc1
Version Independent ID: e93a4836-1b54-bc20-fb1b-1f86a3dc10e1
Content: Quickstart: Use SDK to create and manage knowledge base - QnA Maker - Azure Cognitive Services
Content Source: articles/cognitive-services/QnAMaker/Quickstarts/quickstart-sdk.md
Service: cognitive-services
Sub-service: qna-maker
GitHub Login: @nerajput1607
Microsoft Alias: nerajput

@jtg5122 Thanks for the question. We are investigating the issue and will update you shortly.

@jtg5122 Thanks for the feedback. The UpdateKbOperationDTOUpdate  contains update DTO objects to the UpdateAsync method.
private static async Task UpdateKB(IQnAMakerClient client, string kbId)
{
var updateOp = await client.Knowledgebase.UpdateAsync(kbId, new UpdateKbOperationDTO
{
Add = new UpdateKbOperationDTOAdd { QnaList = new List { new QnADTO { Questions = new List { "bye" }, Answer = "goodbye" } } }
});
    // Loop while operation is success
    updateOp = await MonitorOperation(client, updateOp);
}

@jtg5122 We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Tps adaptive mesh refinement

Do you have a thin plate spline mesh that you suspect is overkill and is really chapping your hide? Maybe, something like this?

This PR adds an adaptive mesh estimator to create a new smaller transform that matches the original one on the control points. This can reduce the computation time associated with the tform() method, for example.

code below provided for example to reproduce this plot
from renderapi.transform import thin_plate_spline as tps
from scipy.spatial import Delaunay
import matplotlib.pyplot as plt
import json
reload(tps)

with open('/home/danielk/djk_render-python/test/test_files/thin_plate_spline.json', 'r') as f:
    tpsj = json.load(f)

tf = tps.ThinPlateSplineTransform(json=tpsj)
ntf = tf.adaptive_mesh_estimate(
        tol=1.0,
        max_iter=100,
        starting_grid=7,
        nworst=10)

d=[]
d.append(Delaunay(tf.srcPts.transpose()))
d.append(Delaunay(ntf.srcPts.transpose()))

plt.figure(1)
plt.clf()
for i in range(2):
    plt.subplot(1, 2, i + 1)
    plt.triplot(d[i].points[:, 0], d[i].points[:, 1], d[i].simplices.copy(), color='k', alpha=0.25)
    plt.scatter(d[i].points[:, 0], d[i].points[:, 1], marker='.', color='r')
    plt.gca().set_aspect('equal')
    plt.title('%d points' % d[i].points.shape[0])

note: this PR started from https://github.com/fcollman/render-python/pull/129 and should be rebased/merged after that one.

rebased to master


Schedule doc changes until next porter release?

Let's look into how we could schedule some doc changes until the next porter release, instead of having it hit the doc site immediately. An example would be when we have documented a new comment that isn't released yet. Having it go live immediately when merged would cause people to be confused about what should be in the latest release.

One thing we could do is stop doing github based workflow (which ship to the production branch immediately), and switch to gitflow (which allows for staging releases).
https://datasift.github.io/gitflow/IntroducingGitFlow.html
The doc would be built from master, and we could decide which doc changes should be expedited  and which can wait for the next release.


Fixed "Advance Threat Protection" in security-compliance-overview.md

https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/4512

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

@MicrosoftHeidi PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


fix: CVE-2023-46729

:tada: This PR is included in version 1.24.9 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


tvg saver: centering tvg images

This change resolves issue with scaling images, that had
negative width or height values in the viewbox svg attribute.
Works after bounds api is fixed (separate commit).
the result can be seen after #793 is applied.
issue :#746

the issue was fixed by https://github.com/Samsung/thorvg/pull/805

#805 is enough for now


foot: install terminfo to separate output

Motivation for this change
Resolve #125390
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Added a release notes entry if the change is major or breaking
[x] Fits CONTRIBUTING.md.

LGTM

Superseded by #128121.


Load saved file button language

Issue with the Load button: language set based on user's desktop/browser language, not off of the app language (i18n config)

Issue is not with our implementation: https://github.com/wet-boew/wet-boew/issues/2842


Failover without fail recovery

Hello,
We have a stateful app that is running on two VMs:
VM1 ( /usr/local/bin/lelastic -dcid XX -primary &)
VM2 (/usr/local/bin/lelastic -dcid XX -secondary &)
When VM1 is down, the elastic IP is moved to VM2 and that is a session interruption for customers, but that's OK.
Once VM1 is up, the elastic IP is moved back to VM1 and that's another  session interruption for customers.
Is this possible to run lelastic in some way (both with -primary flag?) that prevent fail recovery mechanism?
If the IP is failed back to VM2, lets it running from VM2 until tthe VM2 is up, even VM1 become online as well?
Thank you.

it is unfortunately not. and probably won't be for the foreseeable future
You can technically run lelastic with 2x primary or 2x secondary instances but the traffic behavior would be not defined. like some traffic would fail back, some would not and its not necessarily a 50:50 split or even close to that. all traffic would still land on SOME machine though.
what you could do is implement some internal check between your system. (or parse the logs of leleastic) and modify the primary/secondary behavior of the instance on the fly through the gobgp api. this however is not in scope for lelastic and a more advanced tool/setup would be needed.
lelastic under the hood is just gobgp wrapper intended as a quick-starter tool.
primary and secondary is signaled by the use of BGP communities.
there is a more advanced doc for ip sharing here:
https://techdocs.akamai.com/cloud-computing/docs/configuring-ip-failover-over-bgp-using-frr-advanced
in this case frr is used as bgp speaker but it would also work similarly with gobgp
unfortunately this guide would still not address your specific issue, but provides more context


TestStore does not expose state

I was wondering if it was a deliberate decision to not expose read-only access to the underlying state from TestStore.
Whilst generally you interact with state when asserting on state changes in send/receive calls, I think there are sometimes use cases for being able to write custom XCTest assertions based on the state and it feels like it would be useful to access it using store.state, especially with the new imperative API.

We're definitely open to changing this. At the moment we feel that assertions are the correct place to access state, but if you have some motivating examples we'd love to see them and consider them!

So I've slept on this and given it a bit more thought, and I've changed my mind and now agree with you. 🤣
A bit of background - we're using what is essentially a ReSwift-compatible fork of TCA due to some legacy dependencies we can't drop overnight, but we hope to migrate to TCA in the future. As such I've been making a big effort to keep our library as API-compatible with TCA as possible.
After you dropped all of those new testing goodies the other day, I revisited our TestStore implementation which was largely written from scratch after I had trouble adapting the TCA version to our library. Things have progressed since then and I was able to drop the latest TCA TestStore into our project with only a few minor changes, which is great. However we did have some tests that were using store.state that my own implementation provided so I had to add it back to the updated implementation.
Upon reviewing the places we were doing this I realised that in every case there was a better alternative to reading the state in this way so I have managed to eliminate this and get rid of this entirely.


Strange behavior opening variables Interactive Python

Environment data

VS Code version: 1.61.0 (user setup)
Extension version (available under the Extensions sidebar): 2021.10.1317843341
OS and version: W10 21H1
Python version (& distribution if applicable, e.g. Anaconda): WinPy python 3.9.5
Relevant/affected Python-related VS Code extensions and their versions: Jupyter 2021.9.1001312534
Value of the python.languageServer setting: XXX

Expected behaviour
To open any variable as I click in it.
Actual behaviour
Seems to be a problem with the focus on the tab. When Interactive is not in focus you can only open 1 variable in data viewer. Also, when not in focus, no variables are shown in variable explorer.
Steps to reproduce

:

Thanks for filing this issue.
We have already fixed this and you should be able to get the fix in VS Code insiders today
Duplicate of https://github.com/microsoft/vscode-jupyter/issues/7325
If it doesn't work, please feel free to file a separate issue or re-open this.


Sampledaytona carecradle

Pull Request Title
add sample ai carecaddle
Description
added carecadle project to the daytona
changes
included carecadle name description and Github URL.

@Rajkumarpaneru18 the conflict seems to be resolved now but you included some indentation changes that you shouldn't.
You can close this PR and start over if you're having difficulties but you can also just push a new commit where you remove the indentation changes.

Thank you for pointing that out! I have created a new PR without the
indentation changes as suggested. Please review it and let me know if there
are any further adjustments needed.
On Mon, Dec 16, 2024 at 8:26 PM Toma Puljak @.***>
wrote:

@Rajkumarpaneru18 https://github.com/Rajkumarpaneru18 the conflict
seems to be resolved now but you included some indentation changes that you
shouldn't.
You can close this PR and start over if you're having difficulties but you
can also just push a new commit where you remove the indentation changes.
—
Reply to this email directly, view it on GitHub
https://github.com/daytonaio/daytona/pull/1471#issuecomment-2545806437,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXPPP2WV4M7OB4O2P6SPVXL2F3RAFAVCNFSM6AAAAABTVWZI5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBVHAYDMNBTG4
.
You are receiving this because you were mentioned.Message ID:
@.***>


How to map custom fields having epic link pointing to the epic issue type

Hello Team,
My Issue: When i export Epic, all the "subtask" of epic exported but "Issues in Epic" not exported. is there any configuration to add "Issue in epic "? (refer screen shot)
"Issues in Epic" is similar to Sub-tasks in Issue, and that's it.

Q1. How to migrate custom fields having epic link and when i click on that link it will redirect to epic jira?
JIRA XML

image
Q2. Can I map custom field in jira with link type in azure?
We have a below kind of scenario, please help here with how to migrate?
Those issues with an Epic Link pointing to the name of an Epic will be included in the "Issues in Epic" section of that Epic. For example:
Issue-1 is of Epic issue type and has the name Epic-1
Issue-2 is of standard issue type and its Epic Link field has the value Epic-1
then Issue-2 will be included in the "Issues in Epic" section of Issue-1
Basically, Epic Link of a standard issue is linked to Epic Name of an Epic.
AB#5024

Try using the Epic Link Field in the config. You can find more information in the FAQ: https://github.com/solidify/jira-azuredevops-migrator/blob/master/docs/config.md
Closed due to inactivity. Feel free to open again if this is still an issue


error message after entering wrong URL

Testserver: qa-imeji.mpdl.mpg.de
Test date: 28.09.2017
Device: Tablet Nexus 9 Android 5.1.1.
User: not yet logged in
Current situation:
start page -> "other server" -> user enters invalid server URL -> enters user name and password -> login ->system message "unfortunately, Labcam has stopped"
Expected situation:
if an user enters wrong URL, error message with an explication comes up, and user is able to correct URL right away

Testserver: qa-imeji.mpdl.mpg./rest
Test date: 11.10.2017
Device: Tablet Nexus 9 Android 5.1.1.
User: standard user
result: ok: error message "unable to resolve host ..."


Added RC PWM mixer for differential steering and PWM deadband.

I've added a mixer that uses fibre endpoints for configuration.  Users can route the PWM signals to the mixer and then the mixer outputs to control parameters.
Here's the math inside the function:
endpoint_a = direction_a * (input_throttle + input_steering));
endpoint_b = direction_b * (input_throttle - input_steering));
I've tested it with a pistol-grip style transmitter and a hoverboard cart and I'm happy with the way it responds.
The PWM deadband feature adds a region from 1495μs to 1505μs where the value outputted is (min + max)/2.  Since this might not be useful for some applications, it has toggle to disable.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


better error output

prints installed InSpec version
improves the error message if profiles could not be fetched
removes stacktrace if profile fetching went wrong

Easy, effective, and super helpful thank you!


[Question]: supported platforms and supported hardwares

Can you list the supported platforms and hardwares.
I'm wondering whether if lightllm supports Mac Computers with Apple Silicon or AMD GPUs.

@xinchengxx sorry. not supported now.


JSON files have extraneous characters in wav file extensions (.log.wav)

I installed the latest pbp to continue processing MB05 and CH01 time-series for a scheduled NCEI deliverable.  I think we've seen this before, but the jsons now have .log before .wav, so pbp cannot find the wav files.  Please see attached example.
20231225.json

We learned that this is due to the SoundTrap xml files having '.log.xml' extension; using the wav file stem is a solution.


Spurious failure when calling vec! with a size of zero

#79 added a new test in rust-tests/cbmc-reg/NondetVectors/fixme_main.rs where a Vector is initialized with a nondet. value, but this is not supported at the moment.

The spurious failure only happens when calling vec! with a length of 0 for i8 or u8. Here's a minimal reproducer:
#[kani::proof]
fn main() {
    let v: Vec<i8> = vec![kani::any(); 0];
}

This produces:

SUMMARY:
 ** 1 of 112 failed (5 unreachable)
Failed Checks: memset destination region writeable
 File: "/home/ubuntu/.rustup/toolchains/nightly-2022-11-20-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/intrinsics.rs", line 2590, in std::intrinsics::write_bytes::<i8>

VERIFICATION:- FAILED

If I change i8 to i16/u16 or i32/u32, the failure disappears. For example, this is the result with i16:

SUMMARY:
 ** 0 of 349 failed (8 unreachable)

VERIFICATION:- SUCCESSFUL

Actually, I get the spurious failure even without using kani::any() at all:
#[kani::proof]
fn main() {
    let v: Vec<i8> = vec![5; 0];
}

I suspect this might be to the dangling pointer issue that we've seen previously with vectors of size 0.

codegen_write_bytes needs to make a count of 0 a special case and not invoke memset, just like we already do for calls of memcmp.


Idea for Release Notes in PSGalleryModule

I would like to be able to set the ReleaseNotes when publishing. I wanted to offer a suggestion and see what others though and if I was overlooking something. I am new to publishing to the Gallery and about to publish my first, so I wanted to make sure I wasn't overlooking something before going further with the idea. Keith Hill uses something like this in his Publish-Module example template in Plaster.
if ($ReleaseNotesPath) {
    $Params['ReleaseNotes'] = @(Get-Content $ReleaseNotesPath)
}

It might require adding a new Environment variable to BuildHelpers or maybe a new param on the PSGalleryModule.ps1. I have not looked that far ahead since I wanted to make sure I wasn't overlooking anything. I know there are some odd issues related to psd1 or similar.

You could also just check the ProjectRoot for a CHANGELOG.md or ReleaseNotes.md or something of that nature.

Hi!  Missed this back in June - feel free to ping me if I ever let something go for this long : )
This would definitely be handy, could probably add a DeploymentOption that takes precedence, look for a deterministic path like you mentioned as fall back, ignore if nothing is found?
Cheers!

Just going through old issues - wonder if BuildHelpers would benefit from something like Get-ReleaseNotes or Get-Changelog, which would use existing function/logic to get module path within repo, extract changelog.  Could potentially include switch or other parameter to control which section of changelog to pull, if this could be done in a reliable way


FAQ.md: Add reformatted Background.md contents

Co-authored-by: Garnet Grimm

I haven't actually read the info about Linux/GRUB before, but now I see that it's outdated and updating it can lead to duplication.

Yeah, such redundancy could easily lead to leaving outdated data somewhere.
https://github.com/TrenchBoot/TrenchBoot.github.io/pull/41/commits/0827bce515f9bac45e457fa27360264ca17ee96e#diff-0bb42a85d04c8b7c9b659307979fd43e8f6e084283a300bfff959adfcbddfd17L193-R194

These three comments are left:

[ ] https://github.com/TrenchBoot/TrenchBoot.github.io/pull/41#discussion_r1739725923
[ ] https://github.com/TrenchBoot/TrenchBoot.github.io/pull/41#discussion_r1739727025
[ ] https://github.com/TrenchBoot/TrenchBoot.github.io/pull/41#discussion_r1741019964


Remove bluebird + update all dependencies.

bye bye!

I don't know if anyone has notifications on for jest.
cc @amasad @DmitrySoshnikov

Nice! With io.js it's much better now. I've heard that bluebird could be faster than even native Promise implementation, not sure whether it's the case. Unless it's noticeably faster, it's good that we switch to native.

I don't care about 5% faster of "pretty damn fast".


feat(macOS): Make podspec compatible with macOS

Summary
This updates the podspec to indicate it also works for macOS and updates the example to illustrate this.
In addition I’ve moved the common source into a apple dir, which for now is the pattern that we (MS) will be following for these cases. I’ve left the ios and macos dirs in tact for those that still want/need to link manually, but this might be something to cleanup in the future or merge all targets into a single Xcode project.
Test Plan

cc @tom-un


Authentication error with large SMTP mail

If you send a PDF file from e.g. a scanner that is larger than 10 MB, then the scanner gets an authentication error.
Can you integrate a setting here that you can adjust the reception / transmission size.

Have you tried changing the max_message_size parameter?
smtp_server:
  max_message_size: 14

The default is 14MB.


Please make a release

I just got bitten by anonymous maps not freeing under windows - this is fixed here 115d23334a12d4ef84813f43786a932350f16c7e
But it isn't in a release, so go mod doesn't choose it by default.
Please can you make a release :-)
Thanks

@ncw are you maintaining a fork?  It's been over a year, and no v1.0.1 even though at least one important fix is on master.

@mschoch I decided in the end to rewrite the code to be the minimal thing I needed https://github.com/rclone/rclone/tree/master/lib/mmap

1.1.0 is released. Totally understand if you've moved on by this point, but it's done.


Add gsoc-scraper

Description
A short summary of what is included in your Pull Request.
Fixes #485
Type of change

[x ] New feature (non-breaking change which adds functionality)

Checklist:- [ ] Documentation Update
Please tick all the boxes that are fulfilled by your Pull Request.

[x] I have named my files and folder, according to this project's guidelines.
[x] My code follows the style guidelines of this project.
[x] My Pull Request has a descriptive title. (not a vague title like Update index.md)
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] I have created a helpful and easy to understand README.md, according to the given README_TEMPLATE.
[x] I have included a requirements.txt file (if external libraries are required.)
[x] My changes do not produce any warnings.
[x] I have added a working sample/screenshot of the script.

@all-contributors please add @imsahil007 for code


Add a Service class.

Closes https://github.com/matanlurey/cynic/issues/1.
I'd like to have @Solido review ✍

Neat. I'll merge for now. Let me know if we'll need changes for your widget!


make reactive joins in ReactJS

Have been struggling with this for really long; with my Meteor+ReactJS app, I want to have a reactive join between the MainCollection and the SubCollection. And the PublishComposite might just be what I need. However, when the SubCollection is updated, this is not reactive!
server code
import { publishComposite } from 'meteor/reywood:publish-composite';

Meteor.MainCollection('maincollection.pub.all', {
  find: function () {
    return MainCollection.find();
  },
  children: [
    {
      find: function (doc) {
        return SubCollection.find(
          { mainCollectionId: doc._id },
          {
            sort: { createdAt: -1 },
            limit: 1,
            fields: {
              completedAt: 1,
              mainCollectionId: 1,
            }
          }
        )
      }
    }
  ]
});

client container
export default createContainer(() => {
  let mainCollectionSub = Meteor.subscribe('maincollection.pub.all');
  options = {
    transform: function (doc) {
      doc.subcollection = SubCollection.findOne({
        mainCollectionId: doc._id
      }, ).fetch();
      return doc;
    }
  }
  var maincollection = MainCollection.find({}, options).fetch();
  return {
    maincollection: MainCollection.find({}, options).fetch(),
  }
}, MainCollectionView);

Doesn't look like you're waiting for the subscription to be ready before you query your collections.


WIP Login jwt

This is a WIP.
It works but tests fail because I am using sessionStorage and I need to mock it somehow.
On the other hand, I am not really convinced about the sessionStorage but I googled a bit and it seems the way to go. I would like to have some kind of interceptor that dynamically completes the Authorization header in the requests that need it.
Let me know your thoughts, I will appreciate it.
P.S.:
I added a checkbox to the login (signup checkbox) so if it is selected the user is created in the data base, because the first time you run the app you have no user. In that case a new input should be added to the form asking the user's email.

@matiasbeckerle thanks for your comments, I will take them into account and try to fix them if possible as well. But please keep in mind that the code is a WIP, so there are some things I still need to work on like the comments you found or the console.log statements I was using to inspect some values.
I did not find any checkbox to let me mark the PR as WIP and prevent an accidental merge. I used to use another git client which had that functionality just by adding WIP to the PR's description.

No problem @dtoranzoms.
For a moment I thought on this being partially integrated (WIP) in master/develop (sorry for that). As long as this is completed and approved, will be ok to merge. The WIP title you used was right.

@dtoranzoms regarding your question about mocking sessionStorage, in my previous project i used jest and it looks like this:
tests/testSetup.js
const localStorageMock = {
  getItem: () => {},
  setItem: () => {},
  removeItem: () => {},
  clear: () => {},
};

global.localStorage = localStorageMock;

As you can see i am using localStorage instead of sessionStorage.  So, why did you decide to use sessionStorage rather than localStorage? Do you know the difference between them?

Thanks @pablomigliasso I will take a look at your suggestion regarding how to mock globals. I will analyze a bit more the seed but I think we do not have a way right now to mock dependencies, if that is the case (which I am not sure) we can try also a library like rewire.
Regarding the question. I saw some examples in the web doing auth. They also doubt about using local or session storage. Finally I found one that used session mainly because if you close the tab you are on, this is just an example, you need to login again. This can be useful in case of public computers for instance.
I liked that idea but I am open to any other opinion.

Well, in my opinion, i don't know if it would be a good idea every time the user close the window then he has to login again. A lot of lib/modules use localStorage (or cookies), auth0 is an example of that.

@pablomigliasso I will change session by local storage as you suggested.
Also I will try to implement all the suggestion you all gave me.
Thanks for the time you all took to review my changes ! =)

@dtoranzoms, in my previous project i developed a wrapper to handle/manage localStorage staff. It maybe can help you:
import values from 'lodash.values';
import jwt from 'jsonwebtoken';

const USER_SESSION = {
  ACCESS_TOKEN: 'access_token',
  ID_TOKEN: 'id_token',
  EXPIRES_AT: 'expires_at',
  PROFILE: 'profile',
  CUSTOMER_ID: 'customer_id'
};

export function customerId() {
  return localStorage.getItem(USER_SESSION.CUSTOMER_ID) || '0';
}

export function setUserSession({
  authDetails: { accessToken, idToken, expiresIn },
  profile
}) {
  const expiresAt = JSON.stringify(expiresIn * 1000 + new Date().getTime());
  const token = jwt.decode(accessToken);

  localStorage.setItem(USER_SESSION.ACCESS_TOKEN, accessToken);
  localStorage.setItem(USER_SESSION.ID_TOKEN, idToken);
  localStorage.setItem(USER_SESSION.EXPIRES_AT, expiresAt);
  localStorage.setItem(
    USER_SESSION.CUSTOMER_ID,
    token[`${token.aud[0]}/${USER_SESSION.CUSTOMER_ID}`]
  );
  localStorage.setItem(USER_SESSION.PROFILE, JSON.stringify(profile));
}

export function removeUserSession() {
  values(USER_SESSION).forEach(value => localStorage.removeItem(value));
}

export function accessToken() {
  return localStorage.getItem(USER_SESSION.ACCESS_TOKEN);
}

export function accessTokenObject() {
  const currentAccessToken = accessToken();
  return currentAccessToken ? jwt.decode(currentAccessToken) : null;
}

export function isUserAuthenticated() {
  const userSessionExpiresAt = localStorage.getItem(USER_SESSION.EXPIRES_AT);
  const expiresAt = userSessionExpiresAt ? JSON.parse(userSessionExpiresAt) : 0;
  return new Date().getTime() < expiresAt;
}

export function userProfileName() {
  const userSessionProfile = localStorage.getItem(USER_SESSION.PROFILE);
  const profile = userSessionProfile ? JSON.parse(userSessionProfile) : null;
  return profile ? profile.name : '';
}

export function userProfileEmail() {
  const userSessionProfile = localStorage.getItem(USER_SESSION.PROFILE);
  const profile = userSessionProfile ? JSON.parse(userSessionProfile) : null;
  return profile ? profile.email : '';
}

How to use it:
...
import * as userSessionManager from '../helpers/userSessionManager';
...
function buildHeaders() {
  return Object.assign({}, defaultHeaders, {
    AUTHORIZATION: `Bearer ${userSessionManager.accessToken()}`
  });
}

Closing because we are moving this into Yeoman.


Diagonal Movement!

I thought it would be fun to try to implement more "natural" movement which just means instead of being limited to four directions, it chooses a random direction from 0 to 2$\pi$
Rust coders be like
The duck also loops around to the opposite edge when reaching a border
Lmk what you think!

Heyyo @JamesL813,
Thats a fine addition. And thanks for the border checks 😅 .


Real space and Fourier space sampling

I leave it as an issue for discussion here:
Let's say we have a detector with 4 Pixels and a length of 1.
Do you specify the real space positions of the pixels as: 0, 0.25, 0.5, 0.75?
Or would you go with: 0, 0.333, 0.666, 1.0
I prefer actually the first version, because of several reasons:

the points indicate the midpoints of the pixels. The boundary of the outer pixels make up for the missing "0.25".
In Fourier optics we interpret the signal as a discrete sample of the ground truth continuous one. Hence, if Nyquist is fulfilled, the samples of the detector describe the Fourier series fully. If we would interpolate it to 10 pixels, the real space points would be then [0, 0.125, 0.250, 0.375,..., 0.75, 0.8725].

Which one did you choose in the library here?
In Fourier space, I always use fftfreq and in real-space I always use fftpos.

Is there any news on it :D?
@ebezzam

So this is how it's done in spatial domain, and this for frequency domain.
I think it's not really either version you mention? as the user is asked to specify the sampling rate. Which I think it more appropriate because with sensors/SLMs we may want to replicate their pitch / sampling rate. What do you think?

The frequencies look good, since it matches with FFTWs fftfreq.
and real space looks good, too?
It's not symmetric for even numbers, right? (And I think that is what you want to have :D)

Yep, it's not symmetric for even numbers. For N  even, np.arange(-N/2, N/2) will range from [-N/2, N/2-1]


How to keep the same state that pointers use in Rust/JavaScript

Summary
I want to use structures that contain Rust raw pointers, however it seems that when I pass them to JavaScript and get them back, they lose data.
Additional Details
Here is an example:

lib.rs

#[wasm_bindgen]
extern {
    #[wasm_bindgen(js_namespace = console)]
    pub fn log(s: &str);
}

#[wasm_bindgen]
#[derive(Debug)]
pub struct State {
    data: *mut u8,
    len: usize,
    capacity: usize,
}

#[wasm_bindgen]
pub fn create_state(size: usize) -> State {
    let mut vec = vec![0; size];

    let state = State {
        data: vec.as_mut_ptr(),
        len: vec.len(),
        capacity: vec.capacity(),
    };

    log(&format!("BEFORE!!! state: {:?}", state));

    for i in 0..state.len {
        log(&format!("ptr data, i: {}, value: {}", i, unsafe {
            *state.data.offset(i as isize)
        }));
    }

    state
}

#[wasm_bindgen]
pub fn print_state_vec(state: &State) {
    log(&format!("AFTER!!! state: {:?}", state));

    for i in 0..state.len {
        log(&format!("ptr data, i: {}, value: {}", i, unsafe {
            *state.data.offset(i as isize)
        }));
    }
}

index.js

import * as mylib from "mylib";

const state = mylib.create_state(10)

mylib.print_state_vec(state)

This outputs:
BEFORE!!! state: State { data: 0x110008, len: 10, capacity: 10 }
ptr data, i: 0, value: 0
ptr data, i: 1, value: 0
ptr data, i: 2, value: 0
ptr data, i: 3, value: 0
ptr data, i: 4, value: 0
ptr data, i: 5, value: 0
ptr data, i: 6, value: 0
ptr data, i: 7, value: 0
ptr data, i: 8, value: 0
ptr data, i: 9, value: 0
AFTER!!! state: State { data: 0x110008, len: 10, capacity: 10 }
ptr data, i: 0, value: 1
ptr data, i: 1, value: 0
ptr data, i: 2, value: 0
ptr data, i: 3, value: 0
ptr data, i: 4, value: 8
ptr data, i: 5, value: 0
ptr data, i: 6, value: 17
ptr data, i: 7, value: 0
ptr data, i: 8, value: 10
ptr data, i: 9, value: 0

I do know that wasm-bindgen keeps state if I use something like Vec<T> inside of State, however I want to take advantage of existing code I have that uses raw pointers, without having to rewrite it.
Do you know how can I keep this data as raw pointers inside of a #[wasm_bindgen] Rust struct?

Thanks for the report! I think tough that this is a use-after-free (due to the use of unsafe). Instead of storing the ptr/len/capacity if you store the Vec itself in the structure I think it'll work?

Yeah @alexcrichton , it does work with Vec<T> as I mentioned on the end of the issue, do you know a way of doing with raw pointers on wasm-bindgen?

I'm not sure I understand the question? Raw pointers aren't really the issue here it's use-after-free. Otherwise raw pointers aren't really any more special with wasm than they already are in normal Rust

To be clear, the use-after-free happens because the vec in create_state gets dropped, and then when the function returns the state's data points at freed memory.
You would have to call std::mem::forget on vec in create_state to avoid the UAF.

I'm gonna go ahead and close this since it's a bit old at this point, but if there's anything else just let us know!


Expose request ID to end user

Useful for debugging, etc.

:+1: I was about to submit the same PR, be great to get this merged in

@codekitchen @Xe thank you guys, I'll be happy to merge it if you write a simple test/assertion about that

Sure thing, I can't update this PR so I created #2


Update F2P rates

F2P Rates Update
Update the rates to align with the recently revised rates from TempleOSRS, as suggested by the F2P community.
F2P Reg

Change methods and bonus xp for various skills

Woodcutting
Fishing
Mining
Runecraft

F2P-LVL3

Update woodcutting rate
Update runecraft rate

F2P-IM

Change runecraft rate to Suicide bodies/minotaurs
Update woodcutting rate

F2P-IM-LVL3

Update woodcutting rate
Update firemaking rate

Contributors

AUTUMNELEGY
Le Teaspoon
Freckled Dad
Minir
UIM iodiin
Tannerdino
And others from the F2P Skilling Methods Discord!

Some tests are failing because the rates changed. But after a little discussion on Discord, we've come to the conclusion that the tests that are failing can be removed. Check this pr  to see which ones can be removed. Although this pr is very similar to #1293 it has more up to date values for f2p.
So we can merge this one and rebase the other one to update the EHB values.

Some tests are failing because the rates changed. But after a little discussion on Discord, we've come to the conclusion that the tests that are failing can be removed. Check this pr  to see which ones can be removed. Although this pr is very similar to #1293 it has more up to date values for f2p.
So we can merge this one and rebase the other one to update the EHB values.

I'll merge these rates, and then modify your PR to only update the tests. To avoid giving either of you any extra work 👍


Update Address.php

Update to news french region

@Machou bump, could we resolve the comments so we can merge?

I am going to close this PR as stale. If this still needs to be merged, please feel free to reopen it.
Thanks for contributing


bug(cmd/influx): INFLUX_TOKEN var doesn't map to -t or --token flag on setup

ubuntu@ip-10-1-28-90:~$ docker exec -it influxdb bash
root@86aa031d9dc6:/$ influx setup -b admin -o admin -u admin -p admin
Welcome to InfluxDB 2.0!
Please type your retention period in hours.
Or press ENTER for infinite.:

You have entered:
  Username:          admin
  Organization:      admin
  Bucket:            admin
  Retention Period:  infinite
Confirm? (y/n): y

root@86aa031d9dc6:/# env
HOSTNAME=86aa031d9dc6
PWD=/
HOME=/root
TERM=xterm
INFLUX_TOKEN=admin
SHLVL=1
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
DEBIAN_FRONTEND=noninteractive
_=/usr/bin/env

@williamhuangh thanks for the issue. we don't automatically set those ENV vars for you. we do create an influx config profile for your connection though, so you don't have to use the token anywhere.
if you want to grab the token afterwards, try: INFLUX_TOKEN=$(influx auth list --json | jq -r '.[].token')

Closing this since I have confirmed it is fixed with the latest CLI.


Configure release Workflows and fix minor bugs

This PR resolves:

AF-2196 Discuss and configure release cycle
AF-2204 Publish kiegroup/kogito-tooling artifacts to NPM
KOGITO-483 Chrome extension does not load the editors

Publishing to NPM registry

Created prerelease.yml and publish_artifacts.yml Workflows. Those will automate our release process partially until we decide where to fetch the GWT editors WARs from. See Release steps.
Configured package.json of publishable packages to include only the dist/ folders and the default files (README, LICENSE etc..)
Added README and LICENSE files to all publishable packages.
Updated chrome-extension-pack-kogito-kie-editors build to have configurable Router parameters. These parameters will configure the Router class we create. This is used by the prerelease.yml Workflow to correctly build the version we're about to publish.

Other

Created update_version_to.js script. This script updates the versions of the packages and the manifest.json of the chrome-extension-pack-kogito-kie-editors.
Updating lerna version to 3.18.3 to fix warnings during build.
Added nodeExternals to chrome-extension package. This reduces the bundle size significantly since we're not packing its libraries with it anymore.
Removed "extraHeaders" option on background.ts to fix KOGITO-483.
We're now fetching Chrome Extension resources from kiegroup/kogito-online GitHub pages (gh-pages branch). This improves performance and reduces the amount of header manipulation we do on background.ts.
Removed macOS from CI build. See https://github.com/microsoft/vscode/issues/82676

Notes on new Workflows:

We created the user @kogito-tooling-bot and added its Personal Token to the Secrets section. This is used to update the kiegroup/kogito-online repository. We also added @kogito-tooling-bot as a collaborator on kiegroup/kogito-online.
We added our NPM token to the Secrets section. This will be used to publish our artifacts to the public NPM registry.

@domhanak Looks like Jenkins is not fetching the upstream tags. We need that to configure the Router on the Chrome Extension package. Could you please take a look? Also, I noticed looking at the Jenkinsfile that you're using Node 11. Could you please upgrade to the latest LTS version (12.13.0)?
One more thing.. Yarn is being installed without a specified version, I think that could lead to problems since they can release a version that's not compatible with our code and we're going to see build failures until we adapt our code to this new version. Thanks!


Update the see environment variable text to a link on How to look at All Environment Variables

Recommendation/Assumption: Update the see environment variable text to a link on How to look at All Environment Variables. See Environment Variable link only shows the variables which has no value setup by default. The first three variables in the guide has preset value by default, hence not visible in the list of See environment variables and causes confusion to the user.
https://docs.microsoft.com/en-us/power-platform/guidance/coe/setup-governance-components#update-environment-variables

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

ID: e14181d4-574f-95e3-c2c9-545116549c9b
Version Independent ID: bf449b92-6756-e08a-a58c-d561e36947cb
Content: Set up governance components - Power Platform
Content Source: power-platform/guidance/coe/setup-governance-components.md
Service: power-platform
Sub-service: guidance
GitHub Login: @manuelap-msft
Microsoft Alias: mapichle

Thanks for the feedback! We are updating our docs for the January release, and I have fixed this locally for the next docs update now!


Update Keras 2D convolution docs

@googlebot I signed it!

@marcospgp  Can you please check @tanzhenyu's comments and keep us posted ? Thanks!

@tanzhenyu @gbaned

If any dimension of your input can vary, you can specify it as None

https://keras.io/getting_started/intro_to_keras_for_engineers/

@tanzhenyu Can you please check @marcospgp's comments and keep us posted ? Thanks!

@tanzhenyu Can you please check @marcospgp's comments and keep us posted ? Thanks!


compile err :colcon build --merge-install --packages-up-to cyberdog_bringup

tmi@tmi-NUC8i7BEH:~/ws_cyberdog$ colcon build --merge-install --packages-up-to cyberdog_bringup
Starting >>> cascade_lifecycle_msgs
Starting >>> ception_msgs
Starting >>> interaction_msgs
Starting >>> lcm_vendor
Starting >>> motion_msgs
Starting >>> behaviortreecppv3_vendor
Starting >>> grpc_vendor
Starting >>> toml11_vendor
--- stderr: ception_msgs
CMake Error at /opt/ros/foxy/share/rosidl_adapter/cmake/rosidl_adapt_interfaces.cmake:60 (message):
execute_process(/usr/bin/python3 -m rosidl_adapter --package-name
ception_msgs --arguments-file
/home/tmi/ws_cyberdog/build/ception_msgs/rosidl_adapter__arguments__ception_msgs.json
--output-dir
/home/tmi/ws_cyberdog/build/ception_msgs/rosidl_adapter/ception_msgs
--output-file
/home/tmi/ws_cyberdog/build/ception_msgs/rosidl_adapter/ception_msgs.idls)
returned error code 1:
Traceback (most recent call last):
File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_adapter/parser.py", line 738, in parse_primitive_value_string
  value = int(value_string)

ValueError: invalid literal for int() with base 10: '0xFFFFFFFFFFFFFFFF'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
  return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
  exec(code, run_globals)
File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_adapter/__main__.py", line 19, in <module>
  sys.exit(main())
File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_adapter/main.py", line 53, in main
  abs_idl_file = convert_to_idl(
File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_adapter/__init__.py", line 24, in convert_to_idl
  return convert_srv_to_idl(
File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_adapter/srv/__init__.py", line 28, in convert_srv_to_idl
  srv = parse_service_string(package_name, input_file.stem, content)
File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_adapter/parser.py", line 842, in parse_service_string
  request_message = parse_message_string(
File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_adapter/parser.py", line 528, in parse_message_string
  constants.append(Constant(type_string, name, value))
File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_adapter/parser.py", line 326, in __init__
  self.value = parse_primitive_value_string(
File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_adapter/parser.py", line 740, in parse_primitive_value_string
  raise ex

Hi. Could you provide more information about your platform?

kinetic ubuntu16.04


Added enforced linting

Issue #, if available:
#329
Description of changes:
Added a top-level .eslintrc.json which contains all config, and just extended from it in all subpackages. We use the @typescript-eslint/recommended and import/recommended base configurations, which don't end up being too opinionated, but is in line with what the AWS SDK uses. I considered adding Prettier, and am still not opposed, but neither the AWS SDK nor OpenTelemetry JS uses it (see https://github.com/open-telemetry/opentelemetry-js/pull/2204 for more on the recent removal).
It turns out I can't really add a linting rule to prevent an import like the one that caused #427 because it's a perfectly valid import, but such issues should be caught by the smoke tests now anyway and the repo was long overdue for linting.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #436 (7a357a6) into master (b6f18c6) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #436      +/-   ##
==========================================
- Coverage   82.71%   82.70%   -0.01%
==========================================
  Files          36       36
  Lines        1741     1740       -1
==========================================
- Hits         1440     1439       -1
  Misses        301      301

Impacted Files
Coverage Δ

lib/segments/attributes/captured_exception.js
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

Looks like there's some weirdness with the hapi package linting. Will address before merging.


Make On component clonable

Use case
I am implementing a developer mode for my game using bevy_mod_picking. In game mode some meshes have click listeners with game logic; in developer mode all meshes will have click listeners with code to select them in the world inspector based on bevy-inspector-egui. To achieve this behavior I need:

save the existing listener component in a temporary location when I enter developer mode
override the listener with the one selecting mesh in inspector
restore the original listener component when I exit developer mode

Currently, it is impossible to achieve points 1 and 3, because On is not clonable.
Solution
In order to implement Clone for On, we need to implement it for CallbackSystem. It stores BoxedSystem, which is not clonable. One solution is to wrap it in Arc to make cloning cheap. In order to keep in Send we also need intermediate Mutex to deal with thread-safe initialization.
I hope this indirection will not harm performance in any way.

This isn't strictly needed. You can remove a component, store it, then reinsert it on an entity. Because the component is moved, Clone is not needed.

@aevyrie thank you! I didn't realize I can move component like this. Feel free to close the PR.

This would still be useful for certain prefab patterns

We would need some other method, the change in this PR will duplicate system state, which is going to cause strange bugs, as multiple listeners will be sharing the same state. For prefabs, I'd suggest making a constructor to spit out an instance of the listener you want. This is the only correct way of doing this that I can think of.


Add support for computing the inverse hyperbolic cotangent (acoth)

Resolves #236.

Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines, including the relevant style guides.
[x] Read and understand the Code of Conduct.
[x] Read and understood the licensing terms.
[x] Searched for existing issues and pull requests before submitting this pull request.
[x] Filed an issue (or an issue already existed) prior to submitting this pull request.
[x] Rebased onto latest develop.
[x] Submitted against develop branch.

Description

What is the purpose of this pull request?

This pull request:

implements issue #236

Related Issues

Does this pull request have any related issues?
no

This pull request:

resolves #236

Questions

Any questions for reviewers of this pull request?
tex notation docs are not up to date. I have to read my way through to update them.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

Happy to have some feedback!

@stdlib-js/reviewers

@BrunoFenzl No worries! This is part of the process. The reality is that getting up-to-speed with all the project conventions in addition to implementing numerical algorithms can be a dizzying task (something the project needs to do a better job of addressing by better on-boarding and documentation). So thanks for putting in all the work!

@kgryte I think this PR is good now. Please let me know what I could improve if you find something wrong.

@BrunoFenzl Awesome! Will review shortly... :)

@BrunoFenzl Just for reference, looking at the PR commit log, instead of merging from your fork into what I assume to be the cloned project repository, you want to merge from the project remote (i.e., this repo) into your fork. This will help prevent mixing your contributions with updates from the upstream repository (e.g., this PR indicates that 119 files have changed, when this PR really only concerns about 20 files). For example, assuming you have forked the project and cloned the fork to your local machine,
$ cd ./path/to/your/fork/stdlib
$ git checkout <your_feature_branch>
$ git remote -v
$ git remote add upstream https://github.com/stdlib-js/stdlib.git
$ git remote -v
$ git fetch upstream
$ git merge upstream/develop

I believe this is the workflow for syncing a feature development branch (e.g., feature/acoth) with changes in this repository.
Apologies if this is what you did! Something just seems a bit off with the commit log.

Oh! Sorry for the silly mistake! I did fetch upstream to synch with develop and forgot to switch back to my feature branch. I'll make a new pull request from a clean branch. BTW, I got rid of those errors in julia with version 0.5.2. It was no issue at all downgrading it. Since I'm on a mac, I just deleted the app, removed the preferences and installed again. Sorry for the extra work!

@BrunoFenzl No worries! We need to do a better job of making contributing a smoother process. Really appreciate your persistence and continued work!


Bug fixes

Heya. Looks great - thanks for helping out!
I'll have a test on the weekend and merge/deploy. Thanks again!


Build cmd/modern dir as per current dir structure

Updating pipeline to build sqlcmd from cmd/modern dir

Pls add a build.sh and build.bat in the root build folder that both people and pipelines can use. Otherwise I think it's a bit confusing to figure out where to build things as a new contributor.

Also move the rsrc files and winres folder from cmd/sqlcmd to modern and put the generate line in main.go
//go:generate go-winres make --file-version=git-tag --product-version=git-tag

The product build pipeline is validated in this run and is working fine.


fix in vizTransits

Individual transit plot now plots all the transits even for negative transits

also fixed a bug with centroid vetter.


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 780

Questions ?
Please refer to the Backport tool documentation


Program to reverse words in a given string in C++

Description
Given a sentence in the form of string, the task is to reverse each word of the given sentence in C++.
Domain
Competitive Programming
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


Discussion: Mithril Native

Is there any interest, or perhaps even some progress, in creating Mithril Native, similar to React Native?
Alternatively, what would be needed to make Mithril output React Native code? Would this even be possible?
Thoughts?

What would be easier would be to abstract Mithril away from the DOM, which is still admittedly very difficult. It took Facebook quite a while to get React decoupled, and that's Facebook. If you feel like partially rewriting Mithril to do some of its own bookkeeping and being able to delegate rendering to external tools, go for it.

Mithril Native is currently not in the near future roadmap. Maybe when I have more time


Installation?

How to install IP-Adapter? Please help.

@prateekjoshi565 hi, you can just using the Colab demo in the README (click button with open Colab demo). Or, if you are familiar with https://github.com/comfyanonymous/ComfyUI, you can use the plugin https://github.com/laksjdjf/IPAdapter-ComfyUI.

In the Colab demo, there is no mention of installation.

@prateekjoshi565 you need only install diffusers, or you can reference https://github.com/tencent-ailab/IP-Adapter/issues/11

I am still not able to install IPAdapter. diffuserslibrary  is already installed.

@prateekjoshi565 can you show your errors？
Maybe you can use  [WebUI]https://github.com/Mikubill/sd-webui-controlnet/discussions/2039 and ComfyUI.

ModuleNotFoundError                       Traceback (most recent call last)
 in <cell line: 5>()
3 from PIL import Image
4
----> 5 from ip_adapter import IPAdapter
ModuleNotFoundError: No module named 'ip_adapter'

@h3clikejava
# Clone the repository
!git clone https://github.com/tencent-ailab/IP-Adapter.git

# Create directories to store the downloaded files
!mkdir -p /content/IP-Adapter/models

# Download IP-Adapter model checkpoints
!wget -P /content/IP-Adapter/models/ https://huggingface.co/h94/IP-Adapter/resolve/main/models/ip-adapter_sd15.bin
!wget -P /content/IP-Adapter/models/ https://huggingface.co/h94/IP-Adapter/resolve/main/models/ip-adapter-plus_sd15.bin

# Create directories to store the downloaded files
!mkdir -p /content/IP-Adapter/models/image_encoder

# Download image_encoder model checkpoints
!wget -O /content/IP-Adapter/models/image_encoder/pytorch_model.bin https://huggingface.co/h94/IP-Adapter/resolve/main/models/image_encoder/pytorch_model.bin
!wget -O /content/IP-Adapter/models/image_encoder/config.json https://huggingface.co/h94/IP-Adapter/resolve/main/models/image_encoder/config.json
# Add the module's directory to Python path
sys.path.append('/content/IP-Adapter')

I am getting this error.
ImportError: cannot import name 'MultiControlNetModel' from 'diffusers.pipelines.controlnet' (/usr/local/lib/python3.10/dist-packages/diffusers/pipelines/controlnet/init.py)

all the examples code won't work.. this is very confusing

all the examples code won't work.. this is very confusing

hi, can you show your error messages?

all the examples code won't work.. this is very confusing

hi, can you show your error messages?

I tried to follow the installation code you mentioned, but I got

FileNotFoundError                         Traceback (most recent call last)
 in <cell line: 2>()
1 # load ip-adapter
----> 2 ip_model = IPAdapterXL(pipe, image_encoder_path, ip_ckpt, device)
4 frames
/usr/local/lib/python3.10/dist-packages/torch/serialization.py in init(self, name, mode)
414 class _open_file(_opener):
415     def init(self, name, mode):
--> 416         super().init(open(name, mode))
417
418     def exit(self, *args):
FileNotFoundError: [Errno 2] No such file or directory: '/content/IP-Adapter/models/ip-adapter_sdxl_vit-h.bin'

all the examples code won't work.. this is very confusing

hi, can you show your error messages?

I tried to follow the installation code you mentioned, but I got
FileNotFoundError                         Traceback (most recent call last)
[<ipython-input-6-e4b1a434845f>](https://localhost:8080/#) in <cell line: 2>()
      1 # load ip-adapter
----> 2 ip_model = IPAdapterXL(pipe, image_encoder_path, ip_ckpt, device)

4 frames
[/usr/local/lib/python3.10/dist-packages/torch/serialization.py](https://localhost:8080/#) in __init__(self, name, mode)
    414 class _open_file(_opener):
    415     def __init__(self, name, mode):
--> 416         super().__init__(open(name, mode))
    417
    418     def __exit__(self, *args):

FileNotFoundError: [Errno 2] No such file or directory: '/content/IP-Adapter/models/ip-adapter_sdxl_vit-h.bin'

you should download the models https://huggingface.co/h94/IP-Adapter
you can refer to this https://github.com/tencent-ailab/IP-Adapter/issues/9#issuecomment-1713982322

@all please refer to https://github.com/tencent-ailab/IP-Adapter#installation

I'm not sure if this is getting installed. All i get is this from the console when running
pip install git+https://github.com/tencent-ailab/IP-Adapter.git
Cloning https://github.com/tencent-ailab/IP-Adapter.git to c:\users\harish\appdata\local\temp\pip-req-build-z698p_85
Running command git clone -q https://github.com/tencent-ailab/IP-Adapter.git 'C:\Users\Harish\AppData\Local\Temp\pip-req-build-z698p_85'
Resolved https://github.com/tencent-ailab/IP-Adapter.git to commit 62e4af9d0c1ac7d5f8dd386a0ccf2211346af1a2
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
After this, i'm still getting an error saying:
No module named ip-adapter, while using musev
can someone help?