widget matrixdropdowncolumn stop working on latest release

In version 0.12.25 is working but not in 0.12.26,
It is a change in how to use widgets in a matrixdynamic?
Regards,

@madceb I just tried, custom widgets work in matrix dynamic.
Could you tell what exactly stop working or give us a plunker example.
Thank you,
Andrew

https://plnkr.co/edit/h8GGdHthEiYeirDdypK3?p=preview
After some troubleshooting I got where the issue is, is in line 4 & 5, in this new version only one line works at a time.
hope this helps.
Regards,

@madceb The issue was because  of the default values. We started to work with them differently.
It is fixed now.
Thank you,
Andrew

Great. It's working again in latest release! Regards


WIP: event cleanup (code)

See https://github.com/fabric8-services/fabric8-wit/pull/2213 for golden files changed. https://github.com/fabric8-services/fabric8-wit/pull/2213 Is also the PR that contains the code of this PR and it should pass tests, while this PR (#2212) will not pass tests because of missing golden files.

There were places inside of the event system that dealt with work item fields by name and not by their type. Here's what's done by this change.

We only distinguish between single-value (workitem.SimpleType and workitem.EnumType) and multi-value (workitem.ListType) fields in the work item repository.
We use the existing workitem.FieldType.ConvertFromModel function to convert stored values from the DB into the model space. Previously this was done manually and everything was converted to a string.
The events JSONAPI no longer expects old and new values to be strings all the time. Instead values can be of any type. Have a look at the controller/test-files/event/list/ok-kindFloat.res.payload.golden.json and controller/test-files/event/list/ok-kindInt.res.payload.golden.json files to see that effect.
Added event system tests for simple values (those that are not relationships) in a list or a single field.

Thanks for fixing this Konrad. I haven't reviewed the controller/work_item_events_test.go since a lot of code was commented out and I presume you're still working on it.

No, the commented out code is supposed to stay there until my other changes are ready. It is a bit unconventional but really intended.

Codecov Report

Merging #2212 into kwk_event_cleanup will decrease coverage by <.01%.
The diff coverage is 60%.

@@                  Coverage Diff                  @@
##           kwk_event_cleanup    #2212      +/-   ##
=====================================================
- Coverage              69.84%   69.84%   -0.01%
=====================================================
  Files                    170      170
  Lines                  15826    15844      +18
=====================================================
+ Hits                   11054    11066      +12
- Misses                  3760     3766       +6
  Partials                1012     1012

Impacted Files
Coverage Δ

spacetemplate/importer/repository.go
73.17% <0%> (-1.83%)
:arrow_down:

workitem/enum_type.go
89.36% <92.3%> (+1.12%)
:arrow_up:

Continue to review full report at Codecov.

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


Python: Advanced functions-Filter

Description :
What is Filter in python?
Note :

Changes should be made inside the Python/ directory & Python branch.
Issue only for GWOC'21 contributors.
Issue will be assigned on a first come first serve basis, 1 Issue  ==  1 PR.
In the PR, keep this issue's title as your PR's title.

Must Follow : Contributing Guidelines & Code of Conduct before start Contributing.

I would like to work on this please documentation
Peddi sai lohith
Python batch 4

I would like to work on this!! @adityabisoi

I would like to work on this!!

I would like to work on this issue via documentation. Thank you!!

Hi I'd like to contribute through documentation on this topic
Harmandeep - python - batch 4

I would like to work on this issue via documentation.

I would like to contribute through documentation. please assign this to me

I would like to work on this issue.

@adityabisoi I would like to work on a video for this
Yashesvinee

@kumarankm Is the mentor of this issue. Please reach out to him in case of queries.

is it open for video plz let me know @adityabisoi


Crowdsec does not respect env vars: COLLECTIONS, PARSERS, ...

follow: https://github.com/crowdsecurity/crowdsec/pull/1993

In the meantime,  manual fix for this is to enter the pod shell and run
bash ./docker_start.sh

(assuming that the environmental variables are set correctly)
Then, restart all pods


Mobs stop wandering after time

I don't know what is causing this but i tested for hourse and can for sure say that mobs don't move or react to being hit after time. The ai seems to be still active, because hostile mobs still attack when a player is in range. It is just that they stand and do nothing. I used multiverse

https://github.com/Hex27/TerraformGenerator/assets/161770222/9b713c25-5518-4cdb-8733-d3fb6331034f

That looks like normal vanilla behaviour.
additionally, tfg doesn’t handle mob AIs at all, so unless this has to do with pillagers/guardian spawning or missing animals, the plugin didn’t do it.


Unexpected diff produced for some distroless images

Firstly, thanks for this tool 🙏 I've been reviewing diffoci after seeing this comment https://github.com/GoogleContainerTools/container-diff/issues/419#issuecomment-1989724325
The issue: This may be a quirk of how the distroless images are produced (as suggested by the layer length mismatch warning), but thought I'd raise this here for discussion. Running diffoci diff with some distroless hashes produces some unexpected diffs.
diffoci diff --semantic gcr.io/distroless/cc-debian11@sha256:83e56fe32f54fd028d26afe19ac5500741f20cfe081b26ee26f2c98c55f707c9 gcr.io/distroless/cc-debian11@sha256:5b74521fc28acb53bc1a47185c638b64ffe3fc9766c38fa15ca6e7654a904b51 --platform linux/amd64
INFO[0000] Target platforms: [linux/amd64]
WARN[0000] Layer length mismatch (15 vs 17), squashing for comparison (EXPERIMENTAL)
TYPE     NAME                      INPUT-0                                                                     INPUT-1
Layer    ctx:/manifests-0/layer    name "etc/ssl/" appears 2 times in input 0, 1 times in input 1
Layer    ctx:/manifests-0/layer    name "usr/lib/" appears 7 times in input 0, 6 times in input 1
File     ./etc/passwd              ?                                                                           ?
Layer    ctx:/manifests-0/layer    name "etc/ssl/certs/ca-certificates.crt" only appears in input 0
File     ./root/                   ?                                                                           ?
Layer    ctx:/manifests-0/layer    name "usr/share/doc/ca-certificates/" only appears in input 0
Layer    ctx:/manifests-0/layer    name "etc/" appears 6 times in input 0, 4 times in input 1
File     ./home/nonroot/           ?                                                                           ?
File     ./                        ?                                                                           ?
Layer    ctx:/manifests-0/layer    name "usr/lib/os-release" appears 2 times in input 0, 1 times in input 1
Layer    ctx:/manifests-0/layer    name "usr/share/doc/ca-certificates/copyright" only appears in input 0
Layer    ctx:/manifests-0/layer    name "./etc/" appears 1 times in input 0, 3 times in input 1
Layer    ctx:/manifests-0/layer    name "usr/share/doc/" appears 10 times in input 0, 9 times in input 1
Layer    ctx:/manifests-0/layer    name "usr/share/" appears 10 times in input 0, 9 times in input 1
Layer    ctx:/manifests-0/layer    name "etc/ssl/certs/" appears 2 times in input 0, 1 times in input 1
Layer    ctx:/manifests-0/layer    name "etc/group" only appears in input 0
File     ./home/                   ?                                                                           ?
Layer    ctx:/manifests-0/layer    name "usr/" appears 11 times in input 0, 9 times in input 1
Layer    ctx:/manifests-0/layer    name "tmp/" appears 2 times in input 0, 1 times in input 1
Layer    ctx:/manifests-0/layer    name "etc/ssl/" appears 2 times in input 0, 1 times in input 1
Layer    ctx:/manifests-0/layer    name "./etc/ssl/certs/" only appears in input 1
Layer    ctx:/manifests-0/layer    name "./usr/share/doc/ca-certificates/copyright" only appears in input 1
Layer    ctx:/manifests-0/layer    name "./usr/lib/" only appears in input 1
Layer    ctx:/manifests-0/layer    name "./etc/ssl/certs/ca-certificates.crt" only appears in input 1
Layer    ctx:/manifests-0/layer    name "./etc/" appears 1 times in input 0, 3 times in input 1
Layer    ctx:/manifests-0/layer    name "./usr/" only appears in input 1
Layer    ctx:/manifests-0/layer    name "./tmp/" only appears in input 1
Layer    ctx:/manifests-0/layer    name "etc/" appears 6 times in input 0, 4 times in input 1
Layer    ctx:/manifests-0/layer    name "usr/share/" appears 10 times in input 0, 9 times in input 1
Layer    ctx:/manifests-0/layer    name "tmp/" appears 2 times in input 0, 1 times in input 1
Layer    ctx:/manifests-0/layer    name "usr/lib/os-release" appears 2 times in input 0, 1 times in input 1
Layer    ctx:/manifests-0/layer    name "./usr/share/doc/ca-certificates/" only appears in input 1
Layer    ctx:/manifests-0/layer    name "./usr/share/doc/" only appears in input 1
Layer    ctx:/manifests-0/layer    name "./etc/group" only appears in input 1
Layer    ctx:/manifests-0/layer    name "./etc/ssl/" only appears in input 1
Layer    ctx:/manifests-0/layer    name "usr/share/doc/" appears 10 times in input 0, 9 times in input 1
Layer    ctx:/manifests-0/layer    name "usr/lib/" appears 7 times in input 0, 6 times in input 1
Layer    ctx:/manifests-0/layer    name "./usr/lib/os-release" only appears in input 1
Layer    ctx:/manifests-0/layer    name "./usr/share/" only appears in input 1
Layer    ctx:/manifests-0/layer    name "usr/" appears 11 times in input 0, 9 times in input 1
Layer    ctx:/manifests-0/layer    name "etc/ssl/certs/" appears 2 times in input 0, 1 times in input 1

This diff is a bit unexpected to me. I don't think these are genuine differences?

The current master (d817470141a416e1f64b287d8d29a05b85870ad1) just prints no diff
$ diffoci --version
diffoci version v0.1.4-34-gd817470

$ diffoci diff --report-dir=/tmp/r --semantic gcr.io/distroless/cc-debian11@sha256:83e56fe32f54fd028d26afe19ac5500741f20cfe081b26ee26f2c98c55f707c9 gcr.io/distroless/cc-debian11@sha256:5b74521fc28acb53bc1a47185c638b64ffe3fc9766c38fa15ca6e7654a904b51 --platform linux/amd64
INFO[0000] Target platforms: [linux/amd64]
WARN[0000] Layer length mismatch (15 vs 17), squashing for comparison (EXPERIMENTAL)


Update notification-hubs-deploy-and-manage-ps.md

Added missing closing speechmark

Added missing closing speechmark

Hi @neiltaylormade, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@neiltaylormade thank you for finding and fixing this bug. We appreciate your help improving the quality of Azure docs.


Add Kubernetes support

In GitLab by @arisilon on Oct 24, 2019, 10:02

In GitLab by @arisilon on Oct 28, 2019, 11:48
mentioned in commit 0caed17b82b3e7d8a842b37e96ea975460e7ee9b

In GitLab by @arisilon on Oct 28, 2019, 16:21
closed

In GitLab by @arisilon on Oct 28, 2019, 14:49
mentioned in commit cfc7edbbdff76c6ff116a6fc15726278efce2364


fix: Genesis l1 l2 field types

same as https://github.com/alloy-rs/op-alloy/pull/156

@refcell updated the test because this one looked incorrect:
https://github.com/ethereum-optimism/optimism/blob/77c91d09eaa44d2c53bec60eb89c5c55737bc325/op-node/rollup/types_test.go#L32-L34


[IOS] [EAS] Error loading page : Domain: NSURLErrorDomain - Error Code - 1003

Build/Submit details page URL
No response
Summary
When i use
eas build --platform ios, then transporter to upload on app store, i have the following error on opening app on iphone.
I use extra in app.
My app.config.js
export default {
  [.....]
  updates: {
    fallbackToCacheTimeout: 0,
  },
  assetBundlePatterns: [
    '**/*',
  ],
  extra: {
    NODE_ENV: process.env.NODE_ENV,
    url: config.get('frello.url.url'),
  },
};

import Constants from 'expo-constants';

export const url = Constants.manifest.extra.url;

Managed or bare?
Managed
Environment
  expo-env-info 1.0.2 environment info:
    System:
      OS: macOS 12.0.1
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 16.5.0 - ~/.nvm/versions/node/v16.5.0/bin/node
      npm: 8.3.0 - ~/.nvm/versions/node/v16.5.0/bin/npm
      Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3
    IDEs:
      Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild
    npmPackages:
      expo: ^44.0.0 => 44.0.6
      react: 17.0.1 => 17.0.1
      react-dom: 17.0.1 => 17.0.1
      react-native: 0.64.3 => 0.64.3
    npmGlobalPackages:
      eas-cli: 0.47.0
      expo-cli: 5.3.0
    Expo Workflow: managed

Error output
Error loading page : Domain: NSURLErrorDomain - Error Code - 1003
Description : A server with the speicified hotsname cold not be found.
Reproducible demo or steps to reproduce from a blank project

Docs :

https://docs.expo.dev/build-reference/variables/
https://docs.expo.dev/build/eas-json/

Please provide link to the build page

NODE_ENV: process.env.NODE_ENV,

I don't know why are you doing this, but most likely this is a mistake

config.get('frello.url.url'),

Is this the URL that is missing? what is the config object ? try adding conole log in app.config.js and check eas build logs

I found the solution.
In eas.json, the doc add APP_ENV in env. But for config.js i need NODE_ENV.
So i just need to add NODE_ENV in eas.json.
Thank you.
{
    "cli": {
        "version": ">= 0.47.0"
    },
    "build": {
        "production": {
            "env": {
                "NODE_ENV": "production"
            }
        }
    },
}

You should not use NODE_ENV variable to configure the environment, that variable has special meaning for node, npm, packager and can affect the build, so unless you explicitly want to trigger that behavior use some custom value like APP_ENV

You should not use NODE_ENV variable to configure the environment, that variable has special meaning for node, npm, packager and can affect the build, so unless you explicitly want to trigger that behavior use some custom value like APP_ENV

But if I use config.js, I need to use NODE_ENV to use the right config during the build no ?

no, you can use any variable you want, but using NODE_ENV is a bad idea because that variable has a special meaning for different node and node-based tools


When calling getEssList, code 6009 The request timestamp is not within the validity period

Hello,
I'm having problems migrating from the old to the new alphaess-openAPI. Perhaps I am doing something wrong, perhaps AlphaEss have changed their API, or something else entirely.
So far I haven't managed to get even the  getEssList method to work.
I've added a minor logging to the alphaess-openAPI module for debug purposes. I've removed my security keys from the output.
The seconds since epoch - timestamp and timeStamp are both within a few seconds online tools that list UTC seconds.
Are you please able to help me?
Kind regards,
Logging follows
[Thu, 11 Jan 2024 20:44:21] INFO [alphaess.py.__get_data:237]
path: https://openapi.alphaess.com/api/getEssList
headers: {'Content-Type': 'application/json', 'Connection': 'keep-alive', 'Accept': '/', 'Accept-Encoding': 'gzip, deflate, br', 'Cache-Control': 'no-cache', 'timestamp': '1704968061', 'sign': 'DELETED', 'appId': 'DELETED', 'timeStamp': '1704968061'}
json: {}
Response:
[Thu, 11 Jan 2024 20:44:22] ERROR [alphaess.py.__get_data:251] Unexpected json_response : {'code': 6009, 'msg': 'The request timestamp is not within the validity period'} when calling https://openapi.alphaess.com/api/getEssList

if you try using the postman collection seen here what response do you get?

I haven't heard of postman collection before, so I request some help to use postman collection.  Is this how to use it ? https://learning.postman.com/docs/getting-started/first-steps/creating-the-first-collection/
Thank you for your fast response.

right, all good. here is the "public" collection. just click on folder (called Alpha ess open api), then on variables and replace all the current value fields in appID, Appsecret and systemSN.
Then control + s to save and click on the "get ess list" on the side bar. and click on the blue send button?
What sort of response do you get?

Same thing.  {"code":6009,"msg":"The request timestamp is not within the validity period"}
Could my API keys be misconfigured?

according to the docs,

6009
Whitelist verification failed

Do you have IP enable whitelist enabled?

IP whitelist may have been the issue. I'm now getting error for too many attempts. I'm going to give it a rest, also close the phone app, then try again in an hour or so.

** Issue - Python **
I enabled whitelist for 15 minutes.  Then tried the python.
[Fri, 12 Jan 2024 11:20:52] INFO [alphaess.py.__get_data:231] path: https://openapi.alphaess.com/api/getEssList
headers: {'Content-Type': 'application/json', 'Connection': 'keep-alive', 'Accept': '/', 'Accept-Encoding': 'gzip, deflate, br', 'Cache-Control': 'no-cache', 'timestamp': '1705020652', 'sign': '_DELETED', 'appId': '_DELETED', 'timeStamp': '1705020652'}
json: {}
[Fri, 12 Jan 2024 11:20:52] ERROR [alphaess.py.__get_data:245] Unexpected json_response : {'code': 6053, 'msg': 'The maximum number of requests has been reached', 'expMsg': None, 'data': None, 'extra': None} when calling https://openapi.alphaess.com/api/getEssList
Successful - Postman output
With the whitelist disabled:
{"code":200,"msg":"Success","expMsg":null,"data":[{"sysSn":"AL5001120090030","popv":6.60,"minv":"Smile5-INV","poinv":5.00,"cobat":10.30,"mbat":"SMILE-BAT-10.3P","surplusCobat":9.3,"usCapacity":90.00,"emsStatus":"Normal"}],"extra":null}

What I don't understand is why the postman works, but my python script doesn't work.
I'm struggling to see why
Is there a difference between what postman sends and what the script sends?
Is the postman website "whitelisted" to always permitted to send to AlphaEss, but not my IP address ?
Any thoughts would be appreciated.

I might have worked out the problem.  I do two different requests in quick succession. I thought it was the first request failing, but it might actually be the second request.
I might be as simple as putting a delay between my two requests.

Just to confirm there's no difference between postman and the API library nor is postman whitelisted in any way.

Yep. Issue with my script. Sorry to have consumed some of your time. Best wishes.


feat: add sample screens to view and search icons and assets

Changes description

Add sample screens to show the icons and assets. A search bar is available to simplify the usage
Context

Close #138
Checklist

[x] Make sure you are requesting to pull a topic/feature/bugfix branch. Please, don't request directly from your main!
[x] Check commits & PR names matches our requested structure. It must follow the https://www.conventionalcommits.org pattern.
[x] Check your code additions will fail neither code linting checks.
[x] I have reviewed the submitted code.
[x] I have tested on a phone device/emulator.
[x] I have tested on a tablet device/emulator.
[x] I have tested on a large screen device/emulator.
[x] If it includes design changes, please ask for a review with a core team designer.

Does this introduce a breaking change?

No

Screenshots
Phone

Tablet

Large screen

png)
Other information

You can download the apk here :
sample-debug.apk :
https://app.bitrise.io/app/62ac2962b2dd627a/build/4c20b41d-6536-4a2c-836a-4f5e6414a587/artifact/2d19f3f68fa538df/p/158c30581884b4e904a5396ee8ba5e4c


Replace UI button text with icons

var save_icon_texture = theme.get_icon("Save", "EditorIcons")
https://www.reddit.com/r/godot/comments/olxx10/when_im_building_the_ui_for_my_project_is_there_a/

Stealing from https://github.com/godotengine/godot/tree/master/editor/icons and then also trying to override with the theme.


Connect query to api

[ ] make query context from the query panel
[ ] Make the run state context (is running, loading etc) from the run button
[ ] Send to middleware api
[ ] Console log result

closed with https://github.com/stackql/stackql-playground/pull/15


bug: ERR_EXPECT_NOT_MEMBER value typos

Related code:

/// member
const ERR_EXPECT_MEMBER: u64 = 200;
const ERR_EXPECT_NOT_MEMBER: u64 = 2001;

should be:
/// member
const ERR_EXPECT_MEMBER: u64 = 200;
const ERR_EXPECT_NOT_MEMBER: u64 = 201;

Other information:
https://github.com/starcoinorg/starcoin-framework/blob/main/sources/daospace/DAOSpace.move#L42

fixed on #172


automate-gateway: cleanup GRPC/HTTP multiplexing cruft

:nut_and_bolt: Description
This was carried over from some ancient grpc-gateway example code1; and
we're not exposing the GRPC API that way right now.
Using (*grpc.Server).ServeHTTP has some issues:

it's known to be slow, very slow2
it's seems to be not working with go-grpc >= 1.19 3

Furthermore, we're exposing the proper GRPC server (the native go-grpc
one) on a different port. If decide to (finally!) expose our GRPC API,
that's the thing we should expose.
So, since we don't need this multiplexing business, we shouldn't keep
the code around. This is the cleanup.

✔ trivial PR. merging.


Delete temporary inventory and job template after playbook runs

As title.
Remove the assumption that inventory can be passed in through options, and hosts can be part of extra_vars
For embedded tower inventory is internal concept. Caller can only set hosts. If no hosts are given, then the default inventory is used. Otherwise a temporary inventory is created and deleted after the playbook runs.
Also expose methods #playbook and #ansible_job as public.
Depends on https://github.com/ManageIQ/manageiq-providers-ansible_tower/pull/27

@miq-bot add_label enhancement
@miq-bot assign @gmcculloug
cc @syncrou @mkanoor @tinaafitz

@bdunne @syncrou Please give it an approval if you are ok with the latest now.

@bdunne PTAL


History Panel

Is your feature request related to a problem? Please describe.
I'm always frustrated when I lose track of my previous actions while drawing. Without a history panel, it's challenging to keep track of the changes I've made to my drawing, making it difficult to backtrack or undo specific actions. Adding a history panel would greatly improve the usability and workflow of the drawing application.
Describe the solution you'd like
Solution:
History Panel Interface: Introduce a panel in the user interface that displays a chronological list of actions performed by the user during the drawing session.
Action List: List each action with a brief description or icon to indicate the type of action (e.g., stroke, shape creation, text insertion).
Timestamps: Include timestamps for each action to provide a timeline of the drawing session.
Selectable Actions: Allow users to click on an action in the history panel to revert the drawing to the state before that action was performed.
Scrollable Interface: Ensure that the history panel is scrollable to accommodate a large number of actions.
Acceptance Criteria:
A history panel is added to the user interface.
The history panel displays a chronological list of actions performed by the user.
Each action is accompanied by a brief description or icon indicating the type of action.
Timestamps are included for each action to provide a timeline of the drawing session.
Users can click on an action in the history panel to revert the drawing to the state before that action was performed.
The history panel is scrollable to accommodate a large number of actions
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Please assign me for this task.

@sahil0414 Show me a prototype of how the panel will look like after implementing in the app.


Test

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

[ ] I have read the CONTRIBUTING document.
[ ] Each of my commits messages include Signed-off-by: Author Name<EMAIL_ADDRESS>to accept the DCO.

I looked, and it's not really what I had in mind
In my head, the state machine was intrinsic to the aio5gc, it wasn't set by the tests.
The whole point of having a state machine in aio5gc is that you don't have to do this:
if !ue.GetInitialContextSetup() {
return errors.New("[5GC][NGAP] This UE has no security context set up")
}
if ue != ranUe {
return errors.New("[5GC][NGAP] RanUeNgapId does not match the one registred for this UE")
}
Basically, the point is that you are one handler per state
You don't need to do a check:
In the Registered state handler, you can handle a Session Establishment PDU, and a Deregister.
However, it won't be in the fresh state handler.
And then we can have hooks in each of these handlers.
Note that you can have several Session PDUs, so you'll need a global state machine + one per Session PDU (this is what's normally done, the 5GMM state machine in the AMF and the 5GSM state machine per Session PDU in the SMF).
This is something we would also need to implement in PacketRusher to do things properly.

Thanks a lot for your work!
Make sure to sign DCO for the previous commits as well
See the commands at: https://github.com/HewlettPackard/PacketRusher/pull/63/checks?check_run_id=20501740969


Rllib versioning

Hey there is an attribute error that pops up in rllib. The issue is not on your end but seems to be a versioning issue. Could you update the pip install command with the versions you are using for this example:
https://ncps.readthedocs.io/en/latest/examples/atari_ppo.html
Thank you!

Hi, @denizhanpak I have updated the docs to specify the rllib version.
I will update the example to the latest versions once the migration of gym to gymnasium of all involved libraries is done


Dates problem with specs

There are some specs that are not system-locale invariant. In particular failures happen with https://github.com/SpeciesFileGroup/taxonworks/blob/ce0766f7f44e783185c372b4762895f181ee26e3/spec/lib/housekeeping/timestamps_spec.rb#L35 and https://github.com/SpeciesFileGroup/taxonworks/blob/ce0766f7f44e783185c372b4762895f181ee26e3/spec/lib/housekeeping/timestamps_spec.rb#L43
Failure example:
  1) Housekeeping::Timestamps Timestamps class scopes created_in_date_range
     Failure/Error: expect(GeographicItem.created_in_date_range('12-31-16', '12/31/17').count).to eq(2)

     ActiveRecord::StatementInvalid:
       PG::DatetimeFieldOverflow: ERROR:  date/time field value out of range: "12-31-16"
       LINE 1: ...phic_items" WHERE (geographic_items.created_at >= '12-31-16'...
                                                                    ^
       HINT:  Perhaps you need a different "datestyle" setting.
       : SELECT COUNT(*) FROM "geographic_items" WHERE (geographic_items.created_at >= '12-31-16' and geographic_items.created_at <= '12/31/17')

Setting the offending dates to YY-MM-DD changes the problem to "expected 2 got 0" and using YYYY-MM-DD works (but not fixing at this time as I might be hiding a deeper problem if I do so).
Related issue: https://github.com/SpeciesFileGroup/taxonworks/issues/610

@LocoDelAssembly I'd suggest making a branch with the date changes on it and adding it to .travis in this case (letting the tests fail), and we can go from there.

@LocoDelAssembly is this fixed with the procs changes?

@mjy I believe, yes. Also, regarding #610, given it was supposed to cover backend only I guess it can be closed, I couldn't find anything else that wasn't working with the intended date format because our goal is the standard already.
On the frontend side however some date inputs display dates in user's locale (but browsers send the data to the backend in the correct format, it is a display issue only).
Will open a pull request on dates branch.


Add dualstack support to the framework behind flag

Based on @larry-safran's proof of concept PR https://github.com/grpc/psm-interop/pull/88/

[x] Successfully Run ./run.sh bin/run_td_setup.py without --add_dualstack_support flag
[x] Successfully Run ./run.sh bin/run_td_setup.py --cmd=cleanup without --add_dualstack_support flag
[] Successfully Run ./run.sh bin/run_td_setup.py with --add_dualstack_support flag
[] Successfully Run ./run.sh bin/run_td_setup.py --cmd=cleanup with --add_dualstack_support flag

[ ] grpc/core/master/linux/grpc_xds_k8s_lb

All test suites against 1.65.x after refactor

[ ] grpc/core/master/linux/grpc_xds_k8s_lb
[ ] grpc/core/master/linux/grpc_xds_url_map
[ ] grpc/core/master/linux/grpc_xds_v3
[ ] grpc/core/master/linux/psm-csm

Oh, and please save the output of the local run - I'd like to give it a check in case we missed anything

All test suites against 1.65.x after rebase with latest main

[ ] grpc/core/master/linux/grpc_xds_k8s_lb
[ ] grpc/core/master/linux/grpc_xds_url_map
[ ] grpc/core/master/linux/grpc_xds_v3
[ ] grpc/core/master/linux/psm-csm

PSM Security suite:

[ ] grpc/java/v1.65.x/branch/psm-security

@purnesh42H noticed that the jobs you ran weren't using this framework branch. Note the jobs I started above:
# [08:17:29 PDT] Parsed build request:
full_job_name: "grpc/java/v1.65.x/branch/psm-security"
scm_revision {
  github_scm_revision {
    commit_sha: "v1.65.x"
    name: "grpc-java"
    owner: "grpc"
    repository: "grpc-java"
  }
}
env_vars {
  key: "TEST_DRIVER_BRANCH"
  value: "add-dualstack-support"
}
env_vars {
  key: "TEST_DRIVER_REPO_OWNER"
  value: "purnesh42H"
}

Also - no need to run  grpc/core/master/linux/grpc_xds_v3, this is legacy framework, which isn't affected by any changes to this repo.

Ah, my fault. For some reason I expected these env vars to show up in BUILD_CONFIG on this page: https://btx.cloud.google.com/invocations/88d2b23a-0c50-47f1-8b97-990496b008cd/details.


Use spiffs to store scenes etc.

Let's use spiffs to store scenes etc. https://github.com/sticilface/Esp8266-Hue/tree/spiffs_branch is using spiffs.

What's the status of this - definitely a good idea...

To my knowledge no one has started implementing this so far.

I will take a look at it.

I've modded the main sketch quite a bit as I'm using a different neopixel library. Shouldn't matter as I would probably use another sketch that works with your lightservice classes

Whatever you are doing, if the result is that it works better with your changes than before, I'd ask you to submit your changes as pull requests so that we can all benefit. Ideally you don't wait until many changes have accumulated, but send one separate PR per improvement at a time, as is best practice in any open source project.
Thank you for your great work!

Hi @Quanghoster any news on this? Sadly the sticilface rep is buggy (causes imediate hue app crash for me) and not maintained anymore looks like.

I've been tied up with other work lately but will start spending a bit of time on this over the next few days.  I'm thinking we have simply store the json as files, load on boot and save on change...

OK, some progress. I now have spiffs support to store bulb groups which I have tested with the hue switcher app. I am basically saving each group slot as a file and loading them into the existing array on start up, if they exist. I've also made a start on spiffs support for scenes with the same approach the scene is being saved to the file system but I'm not seeing them listed in the app yet. I think there may be another Json format issue for the list scenes function which I hope to investigate this evening. Once I have groups and scenes working with spiffs I'll post a PR. Need some thoughts on how to handle formatting of fs initially...

Is scenes working for anyone? I can create a scene which gets stored in a file with my code changes, but they aren't getting listed in the app when added.  I've done some comparison with a bridge and see no difference in the json format so am not quite sure why this doesn't work for me.

Here's what I'm getting back from an /api/user REST command, after adding a scene with the app.
{
"lights": {
"1": {
"type": "Extended color light",
"manufacturername": "OpenSource",
"swversion": "0.1",
"name": "Hue LightStrips 1",
"uniqueid": "2C:3A:E8:06:54:FB-1",
"modelid": "LST001",
"state": {
"on": false,
"bri": 0,
"xy": [ 0.00000, 0.00000 ],
"colormode": "hs",
"effect": "none",
"ct": 500,
"hue": 0,
"sat": 0,
"alert": "none",
"reachable": true
}
},
"2": {
"type": "Extended color light",
"manufacturername": "OpenSource",
"swversion": "0.1",
"name": "Hue LightStrips 2",
"uniqueid": "2C:3A:E8:06:54:FB-2",
"modelid": "LST001",
"state": {
"on": false,
"bri": 0,
"xy": [ 0.00000, 0.00000 ],
"colormode": "hs",
"effect": "none",
"ct": 500,
"hue": 0,
"sat": 0,
"alert": "none",
"reachable": true
}
}
},
"groups": {
"1": {
"name": "G1",
"lights": [ "1", "2" ]
}
},
"config": {
"name": "hue emulator",
"swversion": "81012917",
"bridgeid": "2C3AE8FFFE0654FB",
"portalservices": false,
"linkbutton": true,
"mac": "2C:3A:E8:06:54:FB",
"dhcp": true,
"ipaddress": "<IP_ADDRESS>",
"netmask": "<IP_ADDRESS>",
"gateway": "<IP_ADDRESS>",
"apiversion": "1.3.0",
"timezone": "Europe/London",
"whitelist": { "api": { "name": "clientname#devicename" } },
"swupdate": {
"text": "",
"notify": false,
"updatestate": 0,
"url": ""
}
},
"schedules": {},
"scenes": {
"": {
"name": "S1",
"lights": [ "1", "2" ],
"owner": "api",
"recycle": false,
"locked": false,
"appdata": {
"version": "1",
"data": ""
},
"picture": "",
"lastupdated": "2017-11-04T10:17:15",
"version": 2
},
"": {
"name": "S2",
"lights": [ "1", "2" ],
"owner": "api",
"recycle": false,
"locked": false,
"appdata": {
"version": "1",
"data": ""
},
"picture": "",
"lastupdated": "2017-11-04T10:17:15",
"version": 2
}
},
"rules": {},
"sensors": {},
"resourcelinks": {}
}

I don't think I have implemented scenes, at least not close to fully.

Ah ok - it's not too far off as far as I can see.  I just noticed that the index isn't being saved for each scene in the json above so will fix that.  Your code is otherwise saving scenes and returning them.  If I can fix this I can look at a PR for spiffs very soon

Cool, looking forward to it.


Feature request

Couldn't you add such feature as Removing all exif data from image?

Any Reason?  Here is a filter but it has a bug in it (see issue 1).  Sure would be nice to get a 2nd opinion on how to best remove exif data.
https://github.com/mshibl/Exif-Stripper/issues/1

I have the same question :)


false negatives in parsing messages in tests

hey,
the program wasn't working for me until i commented this loop
https://github.com/nmoya/whatsapp-parser/blob/master/parsers/whatsapp.py#L23
it gives false negatives when running with tests/testChat3.txt
can you please fix the loop. i think the len() comparison is not quite right.
thanks.

@manu-chroma yeah, I will remove this if. I think this doesn't make sense anymore since the messages formatting may have changed slightly. I wish I have written unit tests :(

I was wondering how to check if the given line is valid or not. should we use regex for that or something else.
given the date change based on locale, len check won't work.
this would be needed in the new parser also.

should i remove the len() check and put parsing of message in try/except block. it'll give an error when it won't be able to generate a datetime object.
it's dirty hack for this version, which i'll fix in the new parser. thoughts ?

@manu-chroma Yeah, I think this is a good approach, since I don't remember what is an invalid line anymore to write the regex.


ImportDeclaration should appear when the mode is ES6 and in the module context

ESLint Version: 3.19.0
Node Version:8.9.1
npm Version: >=5.0.0
"babel-eslint": "7.2.2",
The eslint was fine until I upgraded the web pack version from 1.x to 4.x
Currently, my web pack version is 4.8.
   "@babel/cli": "^7.0.0-beta.46",
    "@babel/core": "^7.0.0-beta.46",
    "@babel/preset-react": "^7.0.0-beta.46",
    "@babel/register": "^7.0.0-beta.46",
    "babel-eslint": "7.2.2",
    "babel-loader": "^7.1.4",
    "sass-loader": "^7.0.1",
    "webpack": "^4.8.1",

I am getting the following error when i run eslint .

ImportDeclaration should appear when the mode is ES6 and in the module context.
AssertionError [ERR_ASSERTION]: ImportDeclaration should appear when the mode is ES6 and in the module context.

The webpack 4 upgrade has triggered this particular error i believe.

@arunprakashpj you have invalid eslint configuration, please read docs how linting import, also you should use babel-eslint for better support async import. Thanks!

@evilebottnawi I am using babel-eslint of version 7.2.2 . My question is , will the webpack upgrade as any relation with this particular error ?

@arunprakashpj I don't understand you, how webpack related to eslint errors?

I raised the concern with eslint repo  as well . Webpack upgrade has some dependency upgrade in my package json  which leads to this issue. I made webpack version changes / webpack dependency upgrade changes with package json alone . No other changes were done so i suspect if this webpack upgrade has something to do with my issue . (I believe yes)

I bumped eslint to v > 4 and it fixed it, I also needed to bump babel-eslint to a version greater than 8.1.1 (https://github.com/eslint/eslint/issues/9767)


Improve error messages

Before:
$ brunch b
29 Dec 14:22:58 - error: Compiling of app/test.js failed. SyntaxError: app/test.js: super() is only allowed in a derived constructor
  2 |   constructor() {
  3 |     this.foo = 1
> 4 |     super()
    |     ^
  5 |   }
  6 | }
  7 |
29 Dec 14:22:58 - error: Compiling of app/test.scss failed. Error: Invalid CSS after "  background-color": expected "}", was ": white"
        on line 3 of app/test.scss
>>   background-color: white
   --^

29 Dec 14:22:58 - info: compiled in 815 ms

After:
$ brunch b
29 Dec 14:21:48 - error: Compiling of app/test.scss failed.

   Error: Invalid CSS after "  background-color": expected "}", was ": white"
           on line 3 of app/test.scss
   >>   background-color: white
      --^

29 Dec 14:21:48 - error: Compiling of app/test.js failed.

   SyntaxError: app/test.js: super() is only allowed in a derived constructor
     2 |   constructor() {
     3 |     this.foo = 1
   > 4 |     super()
       |     ^
     5 |   }
     6 | }
     7 |

29 Dec 14:21:48 - info: compiled in 795 ms

Hey @lydell, thanks for the contribution. Better error reporting is definitely one of our priorities now.


Dashboard: double escaping in category description

In the dashboard when you add a Category description with latin characters they will be saved scaped.
example: the word "Descrição" will be saved in the database like this "Descrição"
The issue is that in the dashboard when the template is rendered, the description will be escaped again, wich will produce this: Descri&ccedil;&atilde;o, so instead of showing "Descrição" it will show "Descrição" to the user.
Add the safe filter to record.description in the CategoryTable class fixed my problem.

Hi David and Vinícius! Field description fills with tinymce. I found the sames problem in stackoverflow
http://stackoverflow.com/questions/12337188/django-tinymce-and-unicode
You need to add  entity_encoding : "raw (http://www.tinymce.com/wiki.php/Configuration:entity_encoding) to tinymce init
https://github.com/django-oscar/django-oscar/commit/5412bb119e7e05b69b8ee98da7ab6adc11d5a742

Should be fixed with #1702


Show message in the Problems tab

If there are focused tests, show a message in the Problems tab.

This is achieved by using DiagnosticCollection.


Use original website url?

Once we're ready, that is...
See here for instructions: https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site

Steve seems okay with the github.io url for now


Add default value for injection

Adds a new parameter on the injector command to define whether or not the sidecars should be injected by default.
If set to true (default), the behaviour will be the same as the current one (sidecars are injected unless the pod has the appmesh.k8s.aws/sidecarInjectorWebhook annotation set to disabled)
If set to false, sidecars will only be injected if the  appmesh.k8s.aws/sidecarInjectorWebhook annotation on the pod is enabled
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

What's the status? This feature would be very helpful when migrating existing services to App Mesh one by one.

Why not toggle the appmesh.k8s.aws/sidecarInjectorWebhook on each deployment?

Why not toggle the appmesh.k8s.aws/sidecarInjectorWebhook on each deployment?

In our case, this would mean editing and deploying about 40 deployments (and any new deployments). For context: I'm currently working on App Mesh PoC, i.e. migrating only few services to the mesh. It'd be much easier to tag only those few deployments rather than all in the namespace.

We have a similar use case. It'll be a while before all our deployments get meshed. In the meantime having to add an explicit annotation to opt-out is very confusing and would cause problems if one forgets to set it (especially given that we don't want to allow all external traffic on the mesh)

Is there a way we could help getting this merged?
Would it be straightforward to use a fork meanwhile?

I'm not quite convinced, as it seems like this is a bit confusing.  It's still opt-in only at the namespace level, is the problem that most things are running in the same namespace?  And if so, is it really that hard to modify all your deployments to opt-out initially?

My concern is that there is a possibility of breaking all the workloads at
once when enabling it at the namespace level if appmesh is misconfigured.
I don't quite understand what the drawback of this change is? The current
injection behaviour is still the default one, this just add an option to
change it for those of us that want to add appmesh pod by pod.
On Wed, 9 Oct 2019, 16:22 Nicholas Turner<EMAIL_ADDRESS>wrote:

I'm not quite convinced, as it seems like this is a bit confusing. It's
still opt-in only at the namespace level, is the problem that most things
are running in the same namespace? And if so, is it really that hard to
modify all your deployments to opt-out initially?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aws/aws-app-mesh-inject/pull/75?email_source=notifications&email_token=ANB7Q3PMCJHMOEG4U7KDBR3QNVFAXA5CNFSM4ISZAPR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAWMVKQ#issuecomment-539806378,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANB7Q3IKJZFH736ZYVQ7NUTQNVFAXANCNFSM4ISZAPRQ
.

Ok, I'm coming around to the use case, it does make it slightly easier to adopt App Mesh in an existing namespace.

Sorry for the delay responding, I've been away the past few weeks. I think I've addressed your comments, if you want to have another look.


Empty entries inside collection

Hi,
I used in my static/admin/config.yml:
i18n:
  structure: multiple_folders

label: "News"
    name: "news"
    folder: "content/"
    path: 'news/{{slug}}'
    i18n: true

The Hugo file structure was:
content/ru/news
content/en/news
content/{{locale}}/{{section}}
All generated good if inside fields object not use default field:
http://joxi.ru/gmvdx3GH0BKJGA
But inside CMS i saw empty and duplicated entries and entries from other collection inside selected collection, like this:
http://joxi.ru/bmoGlk7slo1wlm
content > en > news > news-2023-02-05-11-50-1.md (empty)
http://joxi.ru/GrqERzNtby0OYr
http://joxi.ru/bmoGlk7slo15Jm
content > ru > news > news-2023-02-05-11-50-1.md (viewable content because, default locale RU)
http://joxi.ru/p27GJOdsZEbgn2
Why is it an empty file from the default locale when it has a translation?
When I open file with not default locale I use empty fields inside
ex. default locale ru open file
http://joxi.ru/Rmza7eltVG3llr
http://joxi.ru/Vm6MNvWCK06kMr
https://itg-news-hugo-netlifycms.netlify.app/admin
(login<EMAIL_ADDRESS>password: tg6xctg6x)
https://github.com/anastasiiaxfr/itg-news-hugo-netlifycms
git@github.com:anastasiiaxfr/itg-news-hugo-netlifycms.git
By the way if you have multiple locales, when use default field properties it generate all locales files with the one what you select text content when saving one it's mistake, must be generate one file when you save it in selected locale, i mean, when i create new post i saw default lang ru, but after saving it generate also en, ua folders with data which default

Closing as stale


Makefile: handle empty GOPATH on darwin

As of Go 1.8, allows empty GOPATH environment variable.
Fall back make install when GOPATH is not set on darwin OS.

Maybe we should always use go env GOPATH?

@aarzilli Yeah, I think yes. If you agreed, I’ll rewrite this pull request.
I intentionally have not set GOPATH to find a bug in the project(such as spf13/cobra).

I think it would be better.

@aarzilli Fixed. PTAL.

Can you reword the commit message, this change affects all platforms not just Darwin.

@derekparker Okay, Will do.

@derekparker @aarzilli Remove darwin from commit message. PTAL.

@derekparker Thanks :D


Backwards tab order in New Project dialog.

Summary
Tab order appears to be backwards on the new project dialog.
How to reproduce [Bugs]

Open Duality Editor
Click "Project Folder" text box
Hit Tab, repeat hitting tab.

Workaround [Bugs]

Open Duality Editor
Click "Project Folder" text box
Hit SHIFT + Tab, repeat hitting SHIFT + Tab.

Attachments
Gif illustrating tab order in New Project
Relatively minor issue, something i noticed right away when trying out Duality.
Windows 10 Pro 64-bit (10.0, Build 15063) if needed.

Fixed in PR #543.


JSDoc/TSDoc @inherit[dD]oc mismatch

Seems that TSDoc conflicts with the JSDoc use of @inheritdoc since TSDoc capitalizes the "d" as @inheritDoc.
Is this intentional, if so why? Can both be accepted (given it's too late to go back)?
related VSCode issue: #301

typedoc does not identify inherit[d]oc. Either way a method description with @inheritDoc is not evaluated by vscode. Would be really nice if it did.


YASL: Yet Another Serialization Library

I just wanted to note I've already created a Ruby gem that provides automatic marshalling support for Ruby objects (without crashing on certain objects like the Marshal library does):

RubyGem: https://rubygems.org/gems/yasl
GitHub: https://github.com/AndyObtiva/yasl

You might find it useful.

Thanks. I'll have a look. The bidrectional reference issue is something I definitely  need to look  at.

Thanks for the pointers.
I've just released v0.9.1 of the gem which now also handles cyclic references.
I've not reused any of your code but looking at it made me review and refactor my aliasing handling in view of cyclic references and now not only does FIRM handle cycles but also has much improved alias handling in general.


Replace Metadata with Annotations in docs and code

We have been using both and it is really confusing for people

Closing as duplicate of #1449


Update to reflect Private Endpoint is GA (not public preview)

@rukmani-msft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


CDPSDX-511: keytab and service principal internal control plane APIs.

I manually tested the API's by sending requests from the client to make sure that the corresponding API is invoked.
There was another pull request that I created for this change from my forked repo
https://github.com/hortonworks/cloudbreak/pull/5410.
I have addressed the comments on that pull request.

I'm merging this, but please be aware of the https://github.com/hortonworks/cloudbreak/blob/master/freeipa-api/src/main/java/com/sequenceiq/freeipa/api/v1/freeipa/stack/FreeIpaV1Endpoint.java#L114 has some of the same functionality you are planning to add regarding deleting host and principals

I had to revert this as wasn't properly rebased on top of master

@lacikaaa Thank you.


Improving public/web codebase

This project began as a small interface built with Vanilla JavaScript, with limited features and interactions. Over the past five years, the project has grown significantly, and attempts to completely rebuild it from scratch have failed due to the substantial effort required.
Moreover, we’ve been committed to maintaining an interface with minimal dependencies, in line with the project's image and goals. This approach has become increasingly important, especially with initiatives like e18e (we’ve even been criticized for shipping too many dependencies 😅).
To address these challenges, we've adopted a more pragmatic approach, focusing on incremental improvements rather than a full rebuild. Today, the project consists of a set of pseudo-components fully managed in Vanilla JavaScript without any external libraries, though it includes some legacy components like the search bar.

The purpose of this issue is not only to provide context but also to discuss our vision and share ideas on how to improve the project.
Here are my current ideas:

Implement Lit.js to maintain a primarily Vanilla approach while structuring our components more effectively.
Separate templates and allow them to reside in the components folder. This would require a build step, possibly using esbuild, or rendering the complete HTML with templates when the HTTP server starts.
Migrating to TS (could be quite difficult because of globals usage and things like that).

Some others minor subjects:

Cleanup CSS and add more variables for colors
Some components can be simplified even with pure vanilla (better usage of fragments, utils etc).


No loader is configured for ".scss"  files

I'm new to using federation and I'm having doubts and problems when configuring it to use .scss with vite.
Are you having the same problems? Could you help me?
Here are the versions I'm using:
"@module-federation/vite": "^0.2.8",
"@softarc/native-federation": "^2.0.10",
"@softarc/native-federation-esbuild": "^2.0.10",
"vite": "^5.0.8",
"vite-plugin-sass": "^0.1.0"

You can try @module-federation/vite@next

Thanks @husayt


Fix setting random_init flags

I'm not positive this is the most elegant solution, but it seems fine for now. We should be deleting this API soon anyways.

@ryanjulian Should this also change ML1? Is it supposed to be random_init=False?

Okay, then ML1 is already fixed. This change should be mergeable, but I don't have permission to force push it.


Pressing "Enter" key on UIO "line space" input box breaks UIO

Describe the bug
Pressing "Enter" key on UIO "line space" input box breaks UIO
To Reproduce
Steps to reproduce the behavior:

Open UIO;
click into "line space" input box
doesn't matter to change or not change the value;
hit "enter" key

Problem: All panels in UIO disappear and leave a grey blank page.
Then,

Click "hide preferences", UIO closes;
Click "show preferences", UIO doesn't open and is broken. In firefox or safari, this error is thrown in the dev tool console:

Ignoring call to invoker updateModel of component
Object { typeName: "fluid.uiEnhancer", id: "1xjwwss1-439", lifecycleStatus: "destroyed", destroy: fabricateDestroyMethod()
, options: {…}, events: {…}, fluid_prefs_enactor_tableOfContents: {…}, fluid_prefs_enactor_enhanceInputs: {…}, fluid_prefs_enactor_contrast: {…}, fluid_prefs_enactor_textFont: {…}, … }
  which has been destroyed

Hitting "enter" in the line space field breaks UIO.
Expected behavior
The changed line space value applies to the website and UIO stays intact.
Screenshots
After hitting "ENTER":

Additional context
This issue cannot be reproduced in the infusion UIO demo or the infusion prefs framework demo.
All UIO panels are wrapped in a <form> element. The further investigation shows this problem is because hitting "Enter" triggers the form submission event. This event doesn't get triggered with infusion demos but with WeCount website.

@cindyli and @TeddTech, I did some more investigation on this, and it appears that the problem is that an Implicit Submission is occurring. In this case, it is happening because there is only 1 text input in the form. If there is an additional input type that block implicit submission, then it will not occur. That is why in the UI Options and Prefs Framework demos this issue doesn't arise; there are at least 2 text inputs in the demos.
There are various solutions to the issue including but not limited to the following:

add an explicit submit button that is hidden
add additional input fields ( for example adding the word or letter spacing preferences )
prevent the default action on the form
etc.

Cool. @jobara. I just figured out the same reason by reading this thread. I've successfully reproduced the same issue with UIO demos. I think the root of the problem should be fixed in the preference framework rather than here. Filing a infusion JIRA now.

@jobara  @cindyli Awesome so once we add the other panels this issue will no longer persist?

BTW, @jobara, adding "letter spacing" or "letter spacing" will introduce the same issue as "text size": the nav menus at both edges could be pushed out of the viewport with small screens. That's why they are optional on the importance list.
@TeddTech, there are only 3 other panels having text input fields: text size, letter spacing and word spacing. Unfortunately, they all create the problem described above.

@cindyli at some point we'll need to think of ways to address those issues. While screen zooming is something that the browser, there are no such alternatives for letter and word spacing. As you come across these integration issues, it's probably worthwhile to document them. In the future we should document some ideas for possible solutions for integrating these preferences while painting the design. It may be that the content needs to extend beyond the borders of the screen/window. Kind of like on a mobile device when you pinch-to-zoom and have to pan around to see everything.

Good point, @jobara.
I've filed 2 JIRA against UIO and preferences framework:
FLUID-6597: Pressing "Enter" breaks UIO;
FLUID-6598: Texts being pushed out of viewport with text size, letter spacing and word spacing preferences.
Hopefully the 2nd JIRA could be the starting point for discussions.

Closed as this issue will be address in the infusion preferences framework. See FLUID-6597.


Illogical Description

[Enter feedback here]
In the opening, it goes as follows: When building your conversational bots for Microsoft Teams, you can work with conversation events. Teams sends notifications to your bot for conversation events that happen in scopes where your bot is active. You can capture these events in your code and take the following actions:
Trigger a welcome message when your bot is added to a team.
Trigger a welcome message when a new team member is added or removed.
Trigger a notification when a channel is created, renamed, or deleted.
When a bot message is liked by a user.
It says “You can capture these events in your code and take the following actions:” and the first three sentences make sense, which explain the actions to be done to users.
But the last one just refers to the details of an event and lacks the explanation on what action is done, so the sentence itself is not appropriate.

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

ID: 0a6d00a4-dd28-33c4-002e-2e8e7c653ce2
Version Independent ID: 0856927a-25f4-b1e0-5f1b-d55dc61796f3
Content: Conversation events - Teams
Content Source: msteams-platform/bots/how-to/conversations/subscribe-to-conversation-events.md
Product: msteams
GitHub Login: @WashingtonKayaker
Microsoft Alias: anclear

@surbhigupta12 -Please let us know once contents are updated. Thanks!


Twilio video migration from 2.*

Hi ,
I have updated Twilio video bindings to 2.*. Kindly advice if these can be merged

I've finished on Twilio.Voice Android SDK, will review and merge your request soon

@InnovativeTechies, thanks. I used it for 2.6.0 binding


More elegant way to set specific initial value?

For many times I have encountered a trivial problem: how to set specific initial value to weights/bias.
I used to ignore this since random initialization is somewhat enough in many situations.
The last time when I trying to implement a simple layer Scale, which in brief scales the input by a factor, the initial value of this factor is very important, also it should be learned overtime.  Thus it should be something very similar to weight/bias, stored as input argument. Again, there is no elegant way to initialize this value as in my opinion.
Hack 1(not working for multi-gpu, so this is actually useless):
# store the initial value in parameter
# use a variable in auxiliary states
if (is_train) {
  init_status = get aux state value
  if (!init_status) {
    scale = value;
    init_status = true;
  }
}

This hack worked very well in single gpu system, however, multi-gpu won't synchronize the value at the first batch, so this hack won't work.
Hack 2 (what I'm using now)
# set the name of Scale symbol as xxx_value_xxx
# in initializer, read the value from name, set the initial value according to it
if name.endswith('xxx'):
  try:
    value = parse the value from string
    arr[:] = value
  except:
    self._init_one(name, arr)

Dirty but works. However, I don't think this hack is very reliable.
Seems like attribute is very promising, but initializer can only access name.

Try mx.init.Mixed, it supports pattern matching

But still through matching string in symbol.name right?

yes. I'm not entirely happy with this but haven't come up with ideas for backward compatible fix.
If you have ideas you are welcome to contribute

Totally understand


validation for string type added on validate Function

when the pattern was not of type String, the validate function fails as the split function can only be called on String #45

Coverage decreased (-0.5%) to 99.497% when pulling 7296b8ec3f159eeb2b30c1954098c125b5357883 on muhammadfaizan:validation into f2db9ceba58d2e47bcba77243a3b080ab27166e0 on merencia:master.

Coverage decreased (-0.5%) to 99.497% when pulling 69720c1397bb6ea720fd3595859e3401f7c096a5 on muhammadfaizan:validation into f2db9ceba58d2e47bcba77243a3b080ab27166e0 on merencia:master.

Hello @muhammadfaizan, thanks for your pull request but your decreasing the code coverage. Could you add tests and cover your change?

yes sure


Fixed notebook for py3k.

Thanks @stefanv! (bracket was in the wrong order after I added base64 encoding)

Nice, thanks Phil!

Will deploy in a few mins.

Just confirmed that the notebook downloaded from https://repohealth.info/report/scikit-image/scikit-image does indeed work on py3k. 🎉

Incidentally, I have taken the decision within this repo to be py>=3.5, and it is really only fortune that allows the notebook to work in py2 (and certainly not design)

fortis Fortuna iuvat


dialect/sql/sqlgraph: fix CreateBulk when Fields in BatchCreateSpec is empty

Fixed #3944  Issue in CreateBulk() for m2m edges
CraeteBulk() always generates wrong query when Fields in batchCreateSpec.Nodes is empty
query=INSERT INTO `groups` VALUES () args=[]

This query is generated by:
https://github.com/ent/ent/blob/d4560fae6215a2d039a8cab219a667b7a0e972e9/dialect/sql/sqlgraph/graph.go#L1508
If defaults is true and len(sorted) (i.e. len(columns)) is zero, insert builder exec writeDefault(),
https://github.com/ent/ent/blob/d4560fae6215a2d039a8cab219a667b7a0e972e9/dialect/sql/builder.go#L963-L965
https://github.com/ent/ent/blob/d4560fae6215a2d039a8cab219a667b7a0e972e9/dialect/sql/builder.go#L982-L989
With this PR, we  try to avoid execution of writeDefault.
If we want to insert 3 records through  CreateBulk(), the query is:
query=INSERT INTO `groups` (`id`) VALUES (NULL), (NULL), (NULL) args=[]

Umm, this might be better.
// if node.ID != nil && (node.ID.Value != nil || len(node.Fields) == 0) {
if node.ID != nil {


component  is not json marshalable

I'm trying to do json.marshal  with Message, but its Components is like :

MessageComponent is an interface, thus in design, it just can't be marshaled?
I have a gateway service need to  marshal the message and send to other real processor services.   I have needed info in the MessageComponent field.

Hi, you can probably do the following:
var msg = "{...}" // your json serialized message
var message discordgo.Message
if err := message.UnmarshalJSON(msg); err != nil {
	panic(err)
}


Get current job count in  the queue.

Hey there I tried out the package and it working as expected.
I have some use case for how many current jobs are there in a specified queue. for example I have a job name article-processor.
and I always send an id in the payload. and I need to retrieve the job count (both processed and queued) and send a socket event when there is no job queued with the id I sent in the payload.
Can you please expose an API so that I can retrieve the count.

Oh great idea, let me think about it.

For pending jobs
const queue = await app.container.make('queue')
const pendingJobsTotal = await queue.length(<YourQueueName>)

this variable queue is a node-resque Queue, you can find the API here https://node-resque.actionherojs.com/classes/Queue.html
for the pending job count of the specified queue, you can get the number from await queue.length(<YourQueueName>)

[!NOTE]
under the hood, it is a redis set in key resque:queue:<YourQueueName> with value {"class":"ArticleProcessor","queue":"<YourQueueName>","args":[298868]}

If you don't like to enqueue the same job with same args, you can use Plugin.queueLock to avoid.
May be we can design an API here to count in job level, but i can imagine that could be slow if there is a lots of pending jobs.
For processed (failed) jobs
you can get the total number of all processed(and failed) jobs by queue.stats().

[!NOTE]
it is the redis key: resque:stat:processed and resque:stat:failed with a number value

But  there is no API to get the number of processed jobs in specific queues, not even distinguish different jobs.
Just a total number of all, as Resque designed that.
Since redis is a in-memory kv database,  the cost is rare high.
So details of processed jobs won't keep stay in redis, you should not rely on it.
Only failed details stays.

Hey thanks for the detailed explanation.
I think my use case can be satisfied by what you have explained and guided.
btw can I start the job listener in different process ?
like rn the process starts listening for jobs right after the server starts.
I have 2 or more jobs and I want them to be in separate terminal/process.
for example -  I have two jobs rn spider and articleProcessor
spider - crawls links from a domain. gets called from an api end point
articleProcessor - gets article from the crawled links found in spider job. gets called from spider job
why I needed in different process?

I am using crawlee to crawl the sites. and facing some issues while using in same process. like it skips some of the links. I tried in separate process using rlanz/bull-queue and it was working perfectly. but if I run it in same process it was skipping some links.

Sure. You can define  sipder & articleProcessor in two different queues, e.g.
class SipderJob extends BaseJob {
    queueName = 'spider'
    async perform() {
        // discover links
        await ArticleProcessorJob.enqueue(id)
    }
}

class ArticleProcessorJob extends BaseJob {
    queueName = 'ArticleProcessor'
    async perform(id: number) {
        // get article
    }
}

The option runWorkerInWebEnv in config/resque.ts is on defaultly.
That makes adonis web server start  the workers, turn it off first.
Then run workers in separated processes by specifing --queue-name in resque:start.
Start a multiwoker, only process the job in spider queue
node ace resque:start --schedule=false --worker --is-multi --queue-name=spider

Only for ArticleProcessor queue
node ace resque:start --schedule=false --worker --is-multi --queue-name=ArticleProcessor

Start a scheduler
node ace resque:start --schedule --worker=false

Since resque is for distributed jobs, you can start processes as many as you like, even in different machines. that is fine.

--queue-name is an array flag.
listen on default and spider queue both
node ace resque:start --schedule=false --worker --is-multi --queue-name=spider --queue-name=default

[!NOTE]
if you omit queueName on Job, it is default.

Thanks mate. everything working fine according to my use cases.
Closing this issue now.

Glad to see that


Unable to clone repo

Cloning into 'nextjs-portfolio'...
fatal: unable to access 'https://github.com/judygab/nextjs-portfolio.git/': Failed to connect to github.com port 443 after 75003 ms: Couldn't connect to server

Issue is related to your internet connection


pdfstudio: init at 2021.1.1

Motivation for this change
Adds package for the commercial software PDF Studio, which is a feature rich PDF editor and viewer.
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

For the googlers, find all package variants at https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=pdfstudio
nix-shell -p pdfstudio2023

gives you a shell with pdfstudio, where you can run pdfstudio2023.


Capture plugin code coverage

When test coverage is run for go plugin the test code does not measure the code coverage of the plugin but only the test and the functions it depends on. The actual execution is done via a RPC call over docket.

[x] To measure the test coverage correctly the go plugin needs to run in an instrumented manner.
[ ] Generate an instrumented vDVS plugin binary
[ ] Generate a managed plugin that uses instrumented vDVS plugin binary

When test coverage is run for go plugin the test code does not measure the code coverage of the plugin but only the test and the functions it depends on. The actual execution is done via a RPC call over docket.

the original issue was filed to keep track off above issue. I have verified that code coverage is captured correctly whenever the execution is done via RPC over socket/remote docker end point.

Generate an instrumented vDVS plugin binary

#1589 is raised to track this issue.

Generate a managed plugin that uses instrumented vDVS plugin binary
#1590 is raised to achieve this.


MAPL Develop with GNU no longer passes layout regression

So it turns out removing the __GFORTRAN__ workarounds (as done in #716 and in #725) has caused an issue: GNU and MAPL develop no longer passes gcm_regress.j. GNU with MAPL 2.6.2 does. The output:
Comparing fvcore_internal_checkpoint
fvcore_internal_checkpoint.20000415_210000.1 fvcore_internal_checkpoint.20000415_210000.2 differ: byte 2041177, line 1908
Failed!

Comparing lake_internal_checkpoint
lake_internal_checkpoint.20000415_210000.1 lake_internal_checkpoint.20000415_210000.2 differ: byte 13265, line 15
Failed!
...

All restarts are different. And they seem not trivial:
$ nccmp -dqfSB fvcore_internal_checkpoint.20000415_210000.1 fvcore_internal_checkpoint.20000415_210000.2
Variable Group  Count       Sum  AbsSum         Min        Max    Range         Mean      StdDev
PE       /     248587  -2349.94  330389    -104.709    84.5849  189.294  -0.00945319     3.64154
PKZ      /     248424 -0.266814 29.8778 -0.00804443 0.00662057 0.014665 -1.07403e-06 0.000318247
PT       /     248832  -60.4704 1446.21    -1.14034    1.38056   2.5209 -0.000243017   0.0130599
U        /     248832   25.4899 16608.6    -4.30892    3.56323  7.87215  0.000102438    0.112978
V        /     248832  -57.9091 16575.4    -3.08951    3.00034  6.08985 -0.000232724    0.108881

I am currently doing tests to see if it is a time or layout regression error.

Confirmed: It is layout regression failure. Start-stop works fine, but 3x18 != 4x24 at, say, C24.
I'm going to try bringing back the workaround and see if that "fixes" it.

Confirmed. If I bring back all the workarounds, it regresses again. I might try an exclusion experiment. See if I can narrow down which workaround(s) is/are needed.

So, it looks like it is these guys that are needed:
    if (present(tilelons)) then
#ifdef __GFORTRAN__
       allocate(tmp_rptr(lbound(locstream%Ptr%Local_GeoLocation,1):ubound(locstream%Ptr%Local_GeoLocation,1)))
       do i = lbound(locstream%Ptr%Local_GeoLocation,1), ubound(locstream%Ptr%Local_GeoLocation,1)
         tmp_rptr(i) = locstream%Ptr%Local_GeoLocation(i)%x
       enddo
       tilelons => tmp_rptr
#else
       tilelons => locstream%Ptr%Local_GeoLocation(:)%x
#endif
    end if

    if (present(tilelats)) then
#ifdef __GFORTRAN__
       allocate(tmp_rptr(lbound(locstream%Ptr%Local_GeoLocation,1):ubound(locstream%Ptr%Local_GeoLocation,1)))
       do i = lbound(locstream%Ptr%Local_GeoLocation,1), ubound(locstream%Ptr%Local_GeoLocation,1)
         tmp_rptr(i) = locstream%Ptr%Local_GeoLocation(i)%y
       enddo
       tilelats => tmp_rptr
#else
       tilelats => locstream%Ptr%Local_GeoLocation(:)%y
#endif
    end if

The workarounds around tilearea, tiletype, gridim, gridjm, and gridnames do not seem to affect the layout regression.
I can make a PR to restore these for now (if @tclune approves), but ... maybe this shows something else?

I want to try to take a closer look.  Maybe gfortran is actually diagnosing a real issue and a better fix is needed.  (I know @atrayano has looked before, but my memory of the details is poor.)

Closed in develop


Regressions from fsspec dependency

Collecting a list of regressions thought to be related to the fsspec migration

[x] s3 read from server not providing size https://github.com/dask/dask/issues/5222 / https://github.com/dask/dask/issues/5310
[x] HDFS ls https://github.com/dask/dask/issues/5285
[x] follow symlinks: https://github.com/dask/dask/issues/5233
[x] Don't request past range https://github.com/dask/dask/issues/5186
[x] making directory: https://github.com/dask/dask/issues/5210
[x] pyarrow and fsspec: https://github.com/intake/filesystem_spec/issues/104
[ ] Random permission errors: https://github.com/dask/s3fs/issues/218
[x] fsspec webhdfs authentication https://github.com/dask/dask/issues/5257
[x] duplicate reads for small files https://github.com/intake/filesystem_spec/issues/110
[x] duplicate reads again https://github.com/dask/dask/issues/5336
[x] Bump minimum versions: https://github.com/dask/dask/issues/5298. Partly addressed in https://github.com/intake/filesystem_spec/pull/120. Fully addressing would may require compat shims in dask.bytes. Need to check)

I'm looking into the remaining issues.

cc @birdsarah
On Tue, Aug 27, 2019 at 10:04 AM Tom Augspurger<EMAIL_ADDRESS>wrote:

Collecting a list of regressions thought to be related to the fsspec
migration

s3 read from server not providing size #5222
https://github.com/dask/dask/issues/5222 / #5310
https://github.com/dask/dask/issues/5310
HDFS ls #5285 https://github.com/dask/dask/issues/5285
follow symlinks: #5233 https://github.com/dask/dask/issues/5233
Don't request past range #5186
https://github.com/dask/dask/issues/5186
making directory: #5210 https://github.com/dask/dask/issues/5210
pyarrow and fsspec: intake/filesystem_spec#104
https://github.com/intake/filesystem_spec/issues/104
Random permission errors: dask/s3fs#218
https://github.com/dask/s3fs/issues/218
fsspec webhdfs authentication #5257
https://github.com/dask/dask/issues/5257

I'm looking into the remaining issues.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/5330?email_source=notifications&email_token=AACKZTBN3XIWAXGUM2HW7FTQGVNC5A5CNFSM4IQG23F2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HHWVOZQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACKZTFKGGPLMJSSRZ57M2LQGVNC5ANCNFSM4IQG23FQ
.

I think we can close this now, since the only remaining thing is the permissions. https://github.com/dask/dask/issues/5361 is probably the right place to discuss commit/rollback of entire data-output operations.


Add term von-Willerbrand-factor-A-domain-rich collagen trimer

Please provide as much information as you can:

Suggested term label:
von-Willerbrand-factor-A-domain-rich collagen trimer

Definition (free text)
A fanily of collagens containing multiple von Willebrand factor A (vWA) domains

Reference, in format PMID:#######
PMID: 21421911

Gene product name and ID to be annotated to this term
annotations of all child terms

Parent term(s)
Collagen trimer (GO:0005581)

Children terms (if applicable) Should any existing terms that should be moved underneath this new proposed term?
Collagen type VI trimer (GO:0005589)
Collagen type VII trimer (GO:0005590)
Collagen type XXVIII trimer (GO:19990326)

Synonyms (please specify, EXACT, BROAD, NARROW or RELATED)

Cross-references

For enzymes, please provide RHEA and/or EC numbers.

Can also provide MetaCyc, KEGG, Wikipedia, and other links.

Any other information
Framework in slide page 8: https://docs.google.com/presentation/d/1zxL0gt5vOynmJsS8BP-Xqs_0sTaEB8Zo/edit?usp=sharing&ouid=109267399050361021326&rtpof=true&sd=true

@DaiqingChen : Please update with screenshot of revised slide 4


priorityClassName in ScanJob

It would be nice to have a priorityClassName for the scan jobs.

@WatcherWhale could be a nice addition , you can pick it up if you have time

Hello,
I would like to contribute to this project, can I pick this issue?
Thanks

@SamarSidharth sure ,you can  pick up any issue you like

I am planning to implement it with trivy-operator config map. The approach would be to except it as an input parameter in the CM and then update the job's pod template spec priorityClassName attribute value.
I have few queries:

By scan job do we mean all the jobs created by the trivy operator (node-collector, scan-vulnerabilityreport ) or only the scan-vulnerabilityreport job?
Need to figure out what other jobs does trivy-operator create (if we have some design document for trivy-operator that I could refer to for quick lookup regarding the this info)

Also if  we want to make changes to node-collector job we will have to make changes in github.com/aquasecurity/trivy-kubernetes/pkg/jobs

I have few queries:

By scan job do we mean all the jobs created by the trivy operator (node-collector, scan-vulnerabilityreport ) or only the scan-vulnerabilityreport job?
Need to figure out what other jobs does trivy-operator create (if we have some design document for trivy-operator that I could refer to for quick lookup regarding the this info)

Also if we want to make changes to node-collector job we will have to make changes in github.com/aquasecurity/trivy-kubernetes/pkg/jobs

its up to you to decide where to add it , I think scan-vulnerabilityreport could be a good start
there are general docs not specific.
trivy-operator create only two type of jobs scan-vulnerabilityreport and node-collector , I assume you can start with


Fix clippy

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (5d0e4b3) 0.05% compared to head (7c01749) 0.05%.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1103   +/-   ##
=====================================
  Coverage   0.05%   0.05%
=====================================
  Files        471     471
  Lines      24109   24109
  Branches    4336    4336
=====================================
  Hits          13      13
  Misses     24095   24095
  Partials       1       1

Flag
Coverage Δ

unittests-aries-vcx
0.05% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Fixed sqs sensor in aws pack

This PR fixes retrieval of input_queue nam in SQS sensor in AWS pack.

Closing this PR since https://github.com/StackStorm/st2contrib/pull/371 was merged.


fix: force user specify at least one pk when create debezium source

Signed-off-by: tabVersion<EMAIL_ADDRESS>I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
PLEASE DO NOT LEAVE THIS EMPTY !!!
Please explain IN DETAIL what the changes are in this PR and why they are needed:
as title, add a pk check in the frontend, will reject req if pk not provided
ERROR:  QueryError: Protocol error: Primary key must be specified when creating source with row format debezium.

Summarize your change (mandatory)
How does this PR work? Need a brief introduction for the changed logic (optional)
Describe clearly one logical change and avoid lazy messages (optional)
Describe any limitations of the current code (optional)

Checklist
- [ ] I have written necessary rustdoc comments
- [ ] I have added necessary unit tests and integration tests

[x] All checks passed in ./risedev check (or alias, ./risedev c)

Refer to a related PR or issue link (optional)
fix #5248

Should we add this to e2e_test/source/basic_test.slt?:
statement error
create materialized source no_pk (
    id integer,
    status varchar
) with (
    connector = 'kafka',
    topic = 'no_pk',
    properties.bootstrap.server = '<IP_ADDRESS>:29092',
    scan.startup.mode = 'earliest'
) row format debezium_json;

And this to scripts/source/test_data/?
{"schema":{},"payload":{"before":{"id":1,"status":null},"after":{"id":1,"status":"COMPLETED"},"source":{"version":"1.4.2.Final","connector":"postgresql","name":"postgres","ts_ms":1662716476390,"snapshot":"false","db":"simple_db","schema":"public","table":"t","txId":490,"lsn":23871176,"xmin":null},"op":"u","ts_ms":1662716476717,"transaction":null}}

Should we add this to e2e_test/source/basic_test.slt?:
statement error
create materialized source no_pk (
    id integer,
    status varchar
) with (
    connector = 'kafka',
    topic = 'no_pk',
    properties.bootstrap.server = '<IP_ADDRESS>:29092',
    scan.startup.mode = 'earliest'
) row format debezium_json;

And this to scripts/source/test_data/?
{"schema":{},"payload":{"before":{"id":1,"status":null},"after":{"id":1,"status":"COMPLETED"},"source":{"version":"1.4.2.Final","connector":"postgresql","name":"postgres","ts_ms":1662716476390,"snapshot":"false","db":"simple_db","schema":"public","table":"t","txId":490,"lsn":23871176,"xmin":null},"op":"u","ts_ms":1662716476717,"transaction":null}}

we already have a debezium related test in scripts/source/test_data/debezium_log.1. No need to setup a new topic for this.


Make repository more open source friendly

[x] Lock master branch to everyone (All new master branch code must come through PR)
[ ] Require tests to pass before PR merge to master (related #34)
[ ] Add CONTRIBUTING.md
[ ] Add .github/ISSUE_TEMPLATE.md
[ ] Add .github/SAVED_REPLIES.md (Optional)

These changes will enable contributors to work together without creating many conflicts, among other things.

Locked master


Multiple FHIR Stores, like GCP has

When I work with GCP I use multiple GCP FHIR data stores to separate data from different clients.
Does Spark support anything similar?
Or is there a way to have multiple database with prefix in URL:
http://spark-fhir:80/prefix/fhir

Nothing out of the box. So probably the best approach is as you outline to set up multiple instances of the server on different prefixes.

@kennethmyhra can you help me with that?

I can give you an example of the docker-compose.yml we use for our test servers:

https://spark.incendi.no
https://spark-stu3.incendi.no

The prefix is then in the host name part, and the database name is suffixed. The database will be created automatically by Spark if it does not exist so just start by POSTing a few examples to your server.
version: "3"
services:

  proxy:
    image: jwilder/nginx-proxy:alpine
    container_name: nginx-proxy
    depends_on:
      - spark-r4
      - spark-stu3
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - /var/run/docker.sock:/tmp/docker.sock:ro
      - /etc/nginx/vhost.d:/etc/nginx/vhost.d:ro
      - /etc/nginx/certs:/etc/nginx/certs:ro
      - /usr/share/nginx/html:/usr/share/nginx/html:rw
    labels:
      com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"

  proxy-companion:
    image: jrcs/letsencrypt-nginx-proxy-companion
    depends_on:
      - proxy
    container_name: nginx-proxy-companion
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - /etc/nginx/certs:/etc/nginx/certs:rw
      - /usr/share/nginx/html:/usr/share/nginx/html:rw
      - /etc/nginx/vhost.d:/etc/nginx/vhost.d:rw

  spark-r4:
    container_name: spark-r4
    restart: always
    image: sparkfhir/spark:r4-latest
    depends_on:
      - mongodb
    environment:
      - VIRTUAL_HOST=spark.example.com
      - VIRTUAL_PORT=80
      - LETSENCRYPT_HOST=spark.example.com
      -<EMAIL_ADDRESS>      - StoreSettings__ConnectionString=mongodb://mongodb:27017/spark-r4
      - SparkSettings__Endpoint=https://spark.example.com/fhir
    volumes:
      - /var/www/spark-r4/database.db:/app/database.db

  spark-stu3:
    container_name: spark-stu3
    restart: always
    image: sparkfhir/spark:stu3-latest
    depends_on:
      - mongodb
    environment:
      - VIRTUAL_HOST=spark-stu3.example.com
      - VIRTUAL_PORT=80
      - LETSENCRYPT_HOST=spark-stu3.example.com
      -<EMAIL_ADDRESS>      - StoreSettings__ConnectionString=mongodb://mongodb:27017/spark-stu3
      - SparkSettings__Endpoint=https://spark-stu3.example.com/fhir
    volumes:
      - /var/www/spark-stu3/database.db:/app/database.db

  mongodb:
    container_name: mongodb
    restart: always
    image: mongo
    ports:
      - "17017:27017"
    volumes:
      - /var/lib/mongodb:/data/db


update base image to newest ubi-minimal

dynatrace-oneagent-operator still uses obi-minimal 8.3:
https://github.com/Dynatrace/dynatrace-oneagent-operator/blob/f695d2626379c72fea077261bc1087a63e8a6a44/Dockerfile#L1
Redhat suggests updating this image because it has several security vulnerabilities:
https://catalog.redhat.com/software/containers/ubi8/ubi-minimal/5c359a62bed8bd75a2c3fba8?tag=8.3&push_date=1618946153000&container-tabs=security
I would highly appreciate if dynatrace can do regular updates to their used base image. Thank you so much!

Done
https://github.com/Dynatrace/dynatrace-oneagent-operator/pull/389


fixes #2857

Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

 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.

Hi @lang710
I was wondering if you could squash commits and signoff?


silx.gui.plot.PlotWidget: Changed add* methods return value to return the item instead of its legend

Merge PR #3988 first!
This PR introduces a breaking API change: PlotWidget.add* methods (namely addCurve, addImage, addHistogram, addScatter, addShape, addMarker, addXMarker, addYMarker) now returns the created/updated PlotWidget item instead of its legend.
To mitigate this API break, PlotWidget.remove* methods and PlotWidget.get* methods were update to accept an item instance as their legend attribute. Together with setActive* methods accepting item, this should make the API change seamless for code that was using the legend as an identifier of the item in the PlotWidget without using it otherwise.
PlotWidget.get* methods log a warning when passed an item instance since this call is no longer needed.
Changes to examples/ and tests were minimal and actually not needed to make it run.
closes #3990

Added some tests, ready for review.


for chinese file path in proxy

Codecov Report

Merging #811 into dev will increase coverage by 0.02%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##              dev     #811      +/-   ##
==========================================
+ Coverage   63.94%   63.96%   +0.02%
==========================================
  Files         490      490
  Lines        9544     9544
  Branches     1567     1567
==========================================
+ Hits         6103     6105       +2
+ Misses       3101     3097       -4
- Partials      340      342       +2

Impacted Files
Coverage Δ

...hardingjdbc/proxy/config/ShardingRuleRegistry.java
0% <0%> (ø)
:arrow_up:

.../internal/config/ConfigurationListenerManager.java
75% <0%> (+3.57%)
:arrow_up:

...ternal/state/instance/InstanceListenerManager.java
42.3% <0%> (+3.84%)
:arrow_up:

Continue to review full report at Codecov.

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


div "container" overflow:hidden prevents horizontal scroll

I'm trying to implement a pdf viewer with thumbnails (which works) except I can't get it to scale properly in such a way that i can enable horizontal scroll.
It looks like the "overflow: hidden" in the "container" div is the culprit.  I'm not the best Vue developer on earth so maybe there's a way that I can use some scoped styling to override that but so far, sending in classes and styles to VuePDF aren't helping.  I can see that the container is being used to define --scale-factor but does it really need overflow: hidden?
I can enable horizontal scroll the moment I remove container.{overflow: hidden} (in dev tools)  But maybe I'm just missing something really basic.
https://github.com/TaTo30/vue-pdf/blob/86ae15345f78acf2269fee77505b2f2f4157ecc1/src/components/VuePDF.vue#L297-L299

Additional context

vue-pdf: 1.9.5
vue: 3.4.19
tailwindcss: 3.4.1

Hi, @dfidler !
I have the same issue when I use this component.
My temporary solution is as follows, using :style="{ overflow: 'visible' }":
<VuePDF
  :style="{ overflow: 'visible' }"
  :pdf="pdf"
  :page="page"
/>

But.. but.. I tried that! 🤣   Actually, I tried...
<VuePDF
   :pdf="pdf"
  :page="page"
  text-layer
  class="!flex !justify-center"
  :key="vuePdfKey"
  :scale="scale"
  style="overflow: visible;"
 />

... which is basically the same thing... and it wasn't working ... until I tried yours and it worked and it blew my mind so I put mine back (like above) and it works now.  🤦
I don't get it.  The overflow value would "take" on first load but then when I started scaling it would get overwritten... but I looked at the code and couldn't figure out how it was getting set again because I couldn't see where it was getting added in the code.
Anyway, looking at the above, I wouldn't believe me either so...  Maybe I just needed some sleep.  ☹
Clearly I need to find a vocation more suited to my capabilities - anyone know of any jobs involving staring at a blank wall all day?🤣
Thanks for the help.  😄

Hahaha, looks tricky 😃
This is an article in Japanese, but it might be of some help!
https://qiita.com/kata-n/items/1c52516cd345a3955b9b#3-一部の機能だけバージョンにより振る舞いが違う
From this article, in Vue 3.x, the v-bind property overrides the default property.
btw, it's the opposite specification in Vue 2.x. 🤣

There were some issues with the overflow in the early versions but they are all fixed now so overflow:hidden is not needed anymore. 😅
Thank you! @kazuki-komori for the support there.

Amazing!  Thanks to both of you 👍


How does one squish together a song so it plays the same when changing tempo?

Hi, I imported a song and have completely fine-tuned it to work in minecraft except that the tempo is at 20 ticks per second as opposed to the maximum 10. However, my song doesn't have any notes on the even parts, meaning that I could technically squish it down and then change the tempo so that it plays at the same speed. However, I can't find an easy way to do this. Does anyone know?

You can select all notes (Ctrl + A), right-click the workspace and click 'Compress selection' :)


module 07 fails with tables created using ICEBERG format

In module 7, running feature_monitoring_prep() method throws the following error
OperationalError: NOT_SUPPORTED: Unsupported Hive type: timestamp with time zone. You may need to manually clean the data at location 's3://<bucket>/sagemaker-feature-store/<account>/sagemaker/<region>/tables/7fcd26a3-f0e1-40c6-a100-17c8ee704d69' before retrying. Athena will not delete data in your account.

It seems that the error is thrown while trying to create a table using a CTAS query and the format for columns write_time and api_invocation_time are causing the issue.
In my testing the utility works fine with GLUE format tables. However as the workshop encourages us to use ICEBERG format in module 1, this utility should be able to work with ICEBERG format tables aswell.


KAFKA-16089: Fix memory leak in RocksDBStore

ColumnFamilyDescriptor is not a RocksObject, which in theory means it's not backed by any native memory allocated by RocksDB.
However, in practice, ColumnFamilyHandle#getDescriptor(), which returns a ColumnFamilyDescriptor, allocates an internal rocksdb::db::ColumnFamilyDescriptor, copying the name and options of the column family into it.
Since the Java ColumnFamilyDescriptor is not a RocksObject, it's not possible to track this allocation and free it from Java.
Fortunately, in our case, we can simply avoid calling ColumnFamilyHandle#getDescriptor(), since we're only interested in the column family name, which is already available on
ColumnFamilyHandle#getName(), which does not leak memory.
We can also optimize away the temporary Options, which was previously a source of memory leaks, because userSpecifiedOptions is an instance of Options.

@lucasbru I'm just writing up a more detailed explanation, including graphs, in the ticket. I'm also going to raise a bug with RocksDB, because I believe this to be a bug in RocksJNI.


LuciusDXL just open-sourced The Force Engine

https://github.com/luciusDXL/TheForceEngine

I saw :)


Workaround bug in NumPy 1.12.x or earlier

It seems that NumPy 1.12.x or earlier does not handle overlapped arrays correctly. NumPy 1.13 works fine.
import numpy as xp

a1 = xp.arange(1000000, dtype=xp.int64).reshape((1000,1000))
b1 = xp.transpose(a1)
a1 += b1

a2 = xp.arange(1000000, dtype=xp.int64).reshape(1000,1000)
b2 = xp.transpose(a2).copy()
a2 += b2

xp.all(a1 == b1)  # False

Jenkins, test this please.

Jenkins CI test (for commit 01c5c7c32cfa9ce85e8b6b10603986b1973e331a, target branch master) succeeded!

It tests a v7 enhancement (#2460).


Update System.Text.Json 5.0.0 (transitive reference) -> 9.0.0 (direct…

Discussion Reference
https://discord.com/channels/531175899588984842/599270434642460753/1307336003156971574
Is this a breaking change?
(AI generated)
Polymorphic Serialization: Polymorphism for object types with custom converters was disabled in .NET 7. All object values now rely on the custom converter, requiring explicit type specification for polymorphism.
Source Generator Behavior: Reflection fallback in source-generated serializers was removed, requiring explicit annotation for all serialized types.
JsonSerializerOptions Copying: Copying JsonSerializerOptions now preserves the JsonSerializerContext, affecting reuse scenarios.
Justification
Currently, System.Text.Json 5.0.0 is already present as a transitive dependency of Gw2Sharp, but this version is obsolete and missing newer features like polymorphic serialization, which is a feature I want to use in my module.
Rather than updating Gw2Sharp and then updating Blish HUD, it seems appropriate to me that Blish HUD should dictate which version of the library is available. It's not possible to choose a different version as a module author. (Gw2Sharp may continue to target >=5.0.0 for broadest compatibility, I don't think it is affected by the breaking changes above.)
I have made sure that Blish HUD still runs with this newer package version. However, existing modules that use System.Text.Json might be affected by the breaking changes. This is a general problem with the Blish module ecosystem, not specific to this change.
Also consider the performance improvements made to System.Text.Json in the last 4 major versions. This update should make Blish HUD somewhat more efficient.

A note on the performance aspect:
I read about it several years ago when newtonsoft vs system.text.json discussions started, so i might be wrong, but if i remember correctly system.text.json is only more performant by using spans which is a .NET and not a .NET Framework feature. so to get the full benefit we need to wait for blish to migrate to .NET.

@Taschenbuch it's not exactly like that. Span types can be used in .NET Framework as a NuGet package: https://www.nuget.org/packages/System.Memory/#readme-body-tab, and this is what STJ uses.
However, it is true that the .NET Framework runtime does not use Span, so STJ is still going to be slower in .NET Framework than in .NET 9.


Set divisions with divisions already known

Closes https://github.com/dask/dask/issues/11020
The compute_current_divisions kwarg set_divisions appears to be unused, at least in dask-expr. From an API perspective I find this a little weird and we should consider deprecating this

thx


[V2] Router Component Styles stay loaded

This is a (multiple allowed):

[x] bug

[ ] enhancement

[x] feature-discussion (RFC)

Framework7 Version: V2.

Platform and Target: All

For router components, documentation states:
"Component CSS styles. Styles will be added to the document after component will be mounted (added to DOM), and removed after component will be destroyed (removed from the DOM)"
If a page (A) has styles defined and the following page (B) has styles defined, both styles are present in dom when B is displayed and will be applied to B.  This is confusing and difficult to debug.  I spent hours tracking this down thinking it was a caching issue.  Local styles should be local to that page.  As implemented this doesn't seem useful.
Perhaps adding an id or class to the style tag and then enabling and disabling the style sheet when the page is visible or hidden.  But a local style for one page should not affect another page.

I add  scoped, still don't work,
style:
.navbar~*:not(.no-navbar) .page-content,     .navbar~.page-content {         padding-top: 88px !important;     }
A page to B page by
mainView.router.navigate('/improve/rationalizationAdviceAdd/', {                     animate: true,                     ignoreCache: true,                 })
B page data-scope="1523527536545" ,but in chrome devtools,i can see styles hava this:
.navbar~*:not(.no-navbar) .page-content, [data-scope="1523527440553"] .navbar~.page-content {     padding-top: 88px !important; }
[data-scope="1523527440553"] is A page data-scope


Feat Masks Template volcanic activity as Default in English

[+] feat(en.ts): add template for an informative bulletin regarding volcanic activity
[+] chore(en.ts): update model configuration for generating text about volcano in my country

example usage:

another example:


Get rid of magics

/opt/conda_envs/collection-2018-2.1/lib/python3.6/site-packages/bluesky/magics.py:39: UserWarning: BlueskyMagics.positioners is deprecated. Please use the newer labels feature.
  warnings.warn("BlueskyMagics.positioners is deprecated. "

xref https://github.com/NSLS-II-ESM/profile_collection/issues/4


Added ability to enable/disable analytics temporarily

related with https://github.com/evollu/react-native-firebase-analytics/issues/2

nice pull, thanks!

@evollu And need to replace getCurrentActivity() with getReactApplicationContext() for all methods in android module, because you can call analytics methods before the app will be initialized (getCurrentActivity returns null in this case and the app is crashing)
I can create PR after this will be merged!


Removed bool as return Value for fromString

The PHPDoc for Reader\Xml::fromString states a Boolean could be returned. But there is no way, a Boolean could be returned. Also there don't exists a Unit Test for this case.
So i changed the PHPDoc and removed the Boolean as return Type

The original source of that return annotation is from ReaderInterface. While the Xml implementation does not return that value, it needs to keep that as a potential return type to comply with the interface.