feat(maquee-component): New marquee banner component

Closes #
📑 Description

Status

[x] Not Completed
[ ] Completed

✅ Checks

[x] My pull request adheres to the code style of this project
[x] My code requires changes to the documentation
[x] I have updated the documentation as required
[ ] I have checked the page with https://validator.unl.edu/
[ ] All the tests have passed
[x] My pull request is based on the latest commit (not the npm version).

ℹ Additional Information

The component should be under Extended since there is no same component in the main Flowbite.

Thank you for your PR and I apologize for the late reply. Since there are quite few conflicts I have to create another branch to merge this.
It will be released soon with<EMAIL_ADDRESS>Thank you again for your contribution.
I close this PR for the above reason.

@vasucp1207 Can you have a look at the following error in the dev tool console?
Marquee.svelte:22  Uncaught TypeError: Cannot read properties of null (reading 'offsetWidth')
    at Marquee.svelte:22:39

@shinokada, can you open this PR I'm not able to make changes to this.

@vasucp1207 Don't worry. I just fixed it. Thank you for your reply.


Remove CIlibIOException or extend RuntimeException

There is no clean method for handling checked exception, CIIOException should be removed or made to extend RuntimeException.

Personally, I'd try to stick the default exceptions provided by Java. Runtime exceptions should be preferred.


SnapshotTesting only builds from test targets with host application

As of version 1.7.2 and 1.8, the library fails to build with in View.swift's prepareView:
'shared' is unavailable in application extensions for iOS: Use view controller based solutions where appropriate instead.

There's a fatalError with a runtime check, but that would never fail if it builds in the first place.

I should correct this. It does build from test targets without host applications, but it requires APPLICATION_EXTENSION_API_ONLY to be set to NO.

I should correct this. It does build from test targets without host applications, but it requires APPLICATION_EXTENSION_API_ONLY to be set to NO. I'm sending a follow up PR.


Fragment-common, Vue 3 & RequireJS

Hi! I've been trying to create a "fragment-common" for resources that are to be shared between our micro frontends, and I haven't been able to find an example of someone bundling Vue as a shared resource.
The only way I got it working was through a script tag, pointing to a bundle.js with Vue. However, what we actually want is a regular fragment tag so we can point our shared JS resources through a Link header instead, but I haven't been able to get this working.
My current solution looks something like this:
common.js
exports.Vue = require('vue/dist/vue.esm-bundler')

webpack.config.js
var webpack = require('webpack')

module.exports = {
  entry: './common.js',
  output: {
    path: __dirname + '/public',
    filename: 'bundle.js',
    libraryTarget: 'umd',
  },
}

base-template.html

{{user}}

And this also comes with a caveat, I noticed that if RequireJS (automatically imported by tailor) comes before the bundle.js script, Vue won't load. I don't know why this is. As far as I know there's no nice way to make sure RequireJS loads after, but I solved it by passing an empty string to the amdLoaderURL option in the Tailor config like so:
const tailor = new Tailor({
  fetchTemplate: fetchTemplateFs(
    path.join(__dirname, 'templates'),
    baseTemplateHeaderFn
  ),
  fetchContext: (req) => {
      ...
  },
  filterRequestHeaders: filterHeadersFn,
  amdLoaderUrl: ""
)}

Which results in the following when Tailor tries to set it:

Where it is later imported manually by setting it in the template instead.
I have tried different ways of solving this, with different webpack builds and also this solution, but to no avail.
TLDR: How do I share Vue in a common fragment, passing it with a Link header to Tailor on fragment request?

Okay, then our current solution doesn't seem too bad to share Vue between a few fragments 😄 But I will keep in mind your tip of not getting stuck in the script trap. Tree-shaking still seems like it would be a great addition to reduce our load times though!
If people don't mind I'd like to keep the issue open for anyone that might have solved this with the RequireJS define script, or ran into the weird Vue + RequireJS load order thing.

@Oskar-Nilsen-Roos not sure it helps you now but what we do is as follows:
we have a common-fragment that brings all shared dependencies to the page

on each one of the fragments we define these packages as externals
xternals: {
    react: 'react',
    'react-dom': 'react-dom',
    'react-redux': 'react-redux',
    redux: 'redux',
    'redux-thunk': 'redux-thunk',
    'redux-dynamic-modules': 'redux-dynamic-modules',
    'redux-dynamic-modules-thunk': 'redux-dynamic-modules-thunk',
    'redux-dynamic-modules-react': 'redux-dynamic-modules-react',
    'redux-dynamic-modules-core': 'redux-dynamic-modules-core',
    'styled-components': 'styled-components',
    'i18n-react': 'i18n-react',
  }

we use tree shaking and each fragment is about 90kb.
our common fragments do not only bring libraries but we also initialize redux store and populate cross-application data in the store so all fragments can access if they need. (we still maintain a clear separation of concerns between fragments, common is the exception)
we use redux dynamic modules to be able to append reducers to store post initialization.
hops thats help somehow.


expressions and log points ?

I have a question about expressions and logpoints. When using expressions are they simply one line python code for example list comprehensions; rather then multiple line conditions that one would use to test things within the code, if an brief example could be shown I would appreciate it.
As well logpoints how does one use these in their code ?

are they simply one line python code for example list comprehensions; rather then multiple line conditions that one would use to test things within the code

Yes

As well logpoints how does one use these in their code ?

Here's the relevant documentation https://code.visualstudio.com/docs/editor/debugging#_logpoints


Map Server Error

Please provide the following information:

OS: Ubuntu 22.04
ROS Distro: Humble
Built from source
Package version: Turtlebot4: df1aff80e816dee72758616b56882b643a2d761e

Expected behaviour
run the following command: ros2 launch turtlebot4_navigation localization.launch.py
map server and localization server start up
Actual behaviour
Error and the following log
log.txt
To Reproduce
Provide the steps to reproduce:

run the following command: ros2 launch turtlebot4_navigation localization.launch.py

Hello Roni, Yes, it been consistent since changing to Humble and using the fast dds server setup.
Here is another log from today:
log2.txt

@Jayden-F  Are you still encountering this issue?
I have been able to reproduce it with a newly generated map. Interestingly I seem to have fixed it by changing the free_thresh parameter to 0.196 in the map .yaml file. I'm not sure why this resolved the issue, but you can try that to see if it fixes the problem.


trained_model

Hi there,
thank you for your work!
I have a question with this project:
This  weights of a trained model has Lose effectiveness.
Can share the weights of a trained model again?
thank you in advance for your reply!

Hi,
I accidentally deleted the model in  my drive, sorry.
I will reupload and write here when it is done :)

Hi there! Are there any updates about the model weights?

Hope you can upload model weight as soon as possible

The link is updated!

Thank you for your update!


NIP-05 verification for RSS gateway is displaying an exclamation mark

See this post for instance:
https://nostrudel.ninja/#/n/nevent1qqsv3340guhmqadgxhe8cvshnx304mjtss2r37pn3rvlnu5jrrg7vwspzemhxue69uhhyetvv9ujumn0wd68ytnzv9hxgqgnwaehxw309aex2mrp09skymr99ehhyecpnksay
NIP-05 verification works für this address: https://atomstr.data.haus/.well-known/nostr.json?name=https://rss.dw.com/atom/rss-de-all
but it still got no checkmark.

It looks like https://atomstr.data.haus dose not have CORS enabled https://cors-test.codehappy.dev/?url=https%3A%2F%2Fatomstr.data.haus%2F.well-known%2Fnostr.json%3Fname%3Dhttps%3A%2F%2Frss.dw.com%2Fatom%2Frss-de-all&origin=https%3A%2F%2Fcors-test.codehappy.dev%2F&method=get
Unfortunately there is not much I can do on the client side. the best I can do is try to use something like https://corsproxy.io/ to bypass the CORS restrictions

https://github.com/hzrd149/nostrudel/commit/70bada5e968ed0cb059e9eaff07240d9e9dc8e24 should fix this issue.
You can test it out here: https://next.nostrudel.ninja/#/n/nevent1qqsv3340guhmqadgxhe8cvshnx304mjtss2r37pn3rvlnu5jrrg7vwspzemhxue69uhhyetvv9ujumn0wd68ytnzv9hxgqgnwaehxw309aex2mrp09skymr99ehhyecpnksay

I just got home and enabled CORS on the /.well-known route in Atomstr. Do you want to rollback your fix (if using corsproxy) and we try it without the proxy?

Ill keep the change in, its something that's been on my todo list for a while now and this prompted me to finish it.
To elaborate, https://github.com/hzrd149/nostrudel/commit/70bada5e968ed0cb059e9eaff07240d9e9dc8e24 adds a default CORS proxy, noStrudel already had an option to set a custom CORS proxy but there was no default
The CORS tester looks good now :+1:
https://cors-test.codehappy.dev/?url=https%3A%2F%2Fatomstr.data.haus%2F.well-known%2Fnostr.json%3Fname%3Dhttps%3A%2F%2Frss.dw.com%2Fatom%2Frss-de-all&origin=https%3A%2F%2Fcors-test.codehappy.dev%2F&method=get

Looks great! Thanks a lot for this cool client! I'm using it as my default now!


Drop-down partially cut off

System Information:

Version: 2.1
Language: en-us
Timezone Offset: -05:00
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36

What steps will reproduce the problem?

Click the extension Icon in the top right

What is the expected result?
Drop down of upcoming events
What happens instead?
Top part (including refresh, settings) is cut off
Screenshot URL:
https://dl.dropboxusercontent.com/u/2578683/Screen Shot 2015-02-26 at 12.50.18 PM.png
Logs:

Please comment on http://crbug.com/443413 since this is clearly a Chrome bug. Please also include your screenshot to highlight how common this problem is.


Error: Cannot find module 'sequelize/types'

Describe the bug:
After the command npm install, the npm start throws an error saying Cannot find module 'sequelize/types'.
To Reproduce:
Steps to reproduce the behavior:

Clone Repo
npm install
npm start
Error: Cannot find module 'sequelize/types'

Expected behavior:
I expected the npm start command to start the server localhost://3000.
Screenshots:

I would like to work on this issue. Please assign it to me.

@sourabhsingh282 could you please tell me what to do next? This happened when I tried to run the program locally


Calling skip_screen repeatedly brings back deleted screens

Bug report
Calling skip_screen repeatedly brings back deleted screens
Describe the bug
By adding id(rgb8x32)->skip_screen(); to the on_press of the right button, I can call it in rapid succession.
It looks like doing it more than once before there is an automatic screen change makes it pick up broken/deleted screens.

Looking at the logs, I see "tick: nothing to do. Restarting clock display", and I am deleting those so this seems to be the problem. I would expect it to just jump to the front of the circular queue.
Interestingly, the unexpectedly added clock screens have the wrong y offset (I'm using 10 since I have a full height font)
allow_empty_screen: true avoids the issue by just showing a blank screen

Why don't you provide a pull request based on the develop-branch?

I'll give it a try when I have some time.
Thanks for this cool project!


DOCS-195 Basic Scurret Pizza Delivery Support

(Maintainers: this is a tracking draft PR for post-freeze feature work so people can contribute, feel free to close it or whatever)

About the PR
🐀 RATKING OUTDATED 🐀
💀 SKELETON OVERRRATED 💀
⌛ LONG HAVE WE WAITED ⌛
⛈ NOW WE WAWA ⛈
🤡 SHIT THAT DOESN'T RHYME 🤡
Replaces the pizza party random event with an unknown shuttle random event, with a lone scurret as a ghost role.
Why / Balance
The Pizza Delivery Critter can be developed in two halves now that we have unknown shuttle events: firstly, an unknown shuttle event replacing the pizza party event which features a sole Scurret as the delivery driver, and then the pizza tower speedrun mechanics added later.
Technical details
This code will also touch some discovered bugs during development.
Media

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Not yet.
Breaking changes
Not expected to break anything.
Changelog
No CL because it's not done yet

TECHNICAL TO-DOS

[x] Basic Scurret Mob, ported from the April Fools Event.
This includes sprites, sound effects and the capacity to backflip.

[ ] Sign-off on art assets or replace sprites

[ ] If replacing sprites, design new alien species that still retains the all-important wawa energy.

[ ] Create displacement maps for Scurret sprites

[ ] Sign-off on audio assets or replace audio

[ ] Scurret delivery driver loadout

[ ] Arnolds' Pizza Delivery Cap

[ ] Contains an Arnolds' Pizza Pen in a tiny item slot

[ ] Arnolds' Pizza PDA

[ ] Contains a Nanotrasen ID card that has extremely low or no access on it

[ ] Map the AP-W4, a very small delivery shuttle.

[ ] Create Scurret Pizza Delivery Operative ghost role and spawn

[ ] Add Scurret Pizza Delivery Operative ghost role to AP-W4, along with spawns for random pizzas.

[ ] Replace pizza party random event with an unknown shuttle event featuring the AP-W4 and its sole crew-scurret.

Note for contributors: until this is ready for review I'll be pushing the branch along master HEAD via rebases. As such don't code review unless you don't mind Github skill issuing your review.

Progress. Temporary shittle created; it's unpowered on spawn though. I've hacked in an emergency light with its point light set to on as a workaround and the shuttle contains a note explaining what to do.

Also all these sprites are hella temporary


Remove private hash fields from TonClient

closes #26
I looked for other hash properties, but it seems that they are only used in TonClient and TonClient4.
Please say if it is also needed to remove these properties from TonClient4.

I run tests locally. The result is the same as in the master branch.
I expected to see automatic tests on GitHub for PR.


Add support for Matrix3x4

Would be nice to have a Matrix3x4 within SharpDX.
Currently I copy this in all projects I use with SharpDX: https://github.com/CRYTEK/CRYENGINE/blob/ba1b181d5559ea23d84467c9a1f684214dcbdf52/Code/CryManaged/CESharp/Core/Math/Matrix3x4.cs
Will we see it sometime in the future?

Maybe submit a PR?


Incomplete response body using curl-client

For instance, the following code doesn't print the full expected content of https://raw.githubusercontent.com/http-rs/surf/6627d9fc15437aea3c0a69e0b620ae7769ea6765/LICENSE-MIT
let url = "https://raw.githubusercontent.com/http-rs/surf/6627d9fc15437aea3c0a69e0b620ae7769ea6765/LICENSE-MIT";
let req = http_types::Request::new(http_types::Method::Get, Url::parse(url).unwrap());
let mut res: http_types::Response = http_client::isahc::IsahcClient::new().send(req).await?;
println!("{}", res.body_string().await?);

The cause of the problem is here: https://github.com/http-rs/http-client/blob/749e374ff6c0db0f3233aa4b013760f86d716be1/src/isahc.rs#L51-L52
As specified in https://docs.rs/isahc/0.9.13/isahc/struct.Body.html#method.len :

Since the length may be determined totally separately from the actual bytes, even if a value is returned it should not be relied on as always being accurate, and should be treated as a "hint"

The code shouldn't rely on it to read the response's Body.

Fixed in #58, will make a release sometime this week.


You exceeded your current quota

Greetings! I receive a message:
"You exceeded your current quota, please check your plan and billing details"
Even though I'm maxed out at $4.47/$18
I also used the API key from the second account - the same problem. Can you help me, or just tell me what could be wrong?

Not something that will be able to be answered here.  You will need to work that out with OpenAI.

I think quotas are also for a limited amount of time, so you might not exceeded it in value, but it's just expired

here is the answer
https://stackoverflow.com/questions/75898276/openai-chatgpt-gpt-3-5-api-error-429-you-exceeded-your-current-quota-please


GetCommitRefs method added

Implementation of https://docs.gitlab.com/ce/api/commits.html#get-references-a-commit-is-pushed-to

@svanharmelen got it in b9650b8

LGTM! Thanks @killmeplz!


CloudQuery Source Plugin + Go SDK

Hi Team, hopefully this is right place to ask, if not, I'd appreciate if you can direct me.
I'm the founder of cloudquery.io, a high performance open source ELT framework.
Our users are asked for a Slack source plugin, and we already shipped a first version.
As we have limited capacity to maintain all plugins, we are usually looking for the official vendor to help maintain it (similar to terraform provider).
I was curious if this would be an interesting collaboration, where we can help with the initial version (already implemented) and you will help maintain it?
This will give your users the ability to sync/ELT Slack APIs to any of their datalakes/data-warehouses/databases easily using any of the growing list of CQ destination plugins.
Best,
Yevgeny

Hi @yevgenypats thanks for writing in 💯  always happy to see collaboration opportunities!
That being said this may not be the best channel to discuss this since it may not pertain directly to the python-slack-sdk
I will try to find the appropriate channel.

After some looking around I would suggest you joining our Slack Community this should give you access to the Slack Community Workspace where you will be able to explain your proposal through channels that have the proper resources for this request.
I will unfortunately close this PR since it does not pertain to the python-slack-sdk but please refer to this issue to provide context to the Slack Community


Add MigrationControllerRef to migtoken controller

@dymurray thanks for ths work, I ran the migrations again with this, it works. Lets bring this in..
Ack


Update Helm release kube-state-metrics to v5.10.1

This PR contains the following updates:

Package
Update
Change

kube-state-metrics (source)
patch
5.10.0 -> 5.10.1

Release Notes

prometheus-community/helm-charts (kube-state-metrics)
v5.10.1
Compare Source
Install kube-state-metrics to generate and expose cluster-level metrics
What's Changed

[kube-state-metrics] fix rbac-configmap namespace missing by @frezes in https://github.com/prometheus-community/helm-charts/pull/3623

Full Changelog: https://github.com/prometheus-community/helm-charts/compare/prometheus-node-exporter-4.21.0...kube-state-metrics-5.10.1

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update (5.10.1). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.


docs: add description about how keycloak is configured and how to change it

closing for now, we can revisit this in the development branch documentation


Update scripts for launching services [ECR-4841]

Overview
Based on #1236

Removed old scripts in exonum-java
Added a simple exonum-java/start-node.sh script for starting a single node
Added exonum-launcher configuration for cryptocurrency-demo and qa service

See: https://jira.bf.local/browse/ECR-4841
Definition of Done

[ ] There are no TODOs left in the code
[ ] Change is covered by automated tests
[ ] The coding guidelines are followed
[ ] Public API has Javadoc
[ ] Method preconditions are checked and documented in the Javadoc of the method
[ ] Changelog is updated if needed (in case of notable or breaking changes)
[ ] The continuous integration build passes

Coverage remained the same at 85.9% when pulling 13137d6c593bd052970030700a3602197ad3abef on vitvakatu:ecr-4841-update-scripts into 48d3f039cac96759a10d3ba60bf7a766c29c2cd4 on exonum:master.


Feat/ci checks

Ticket: https://github.com/WebOfTrust/polaris-web/issues/23
Addes Precommit (Husky) and Github workflow for:
Prettier format check
Eslint linting
Typescript typecheck
Vitest test run

I think husky should be in place but can be skipped if neccessary.
Just make .husky/pre-commit file empty and it would not run checks locally.

@lenkan can you please review/merge this ?

Perfect. Sorry, I missed one thing before regarding the formatting check. See the comment. :)

Thanks for the keen eye, i have updated the command

@2byrds can you please merge this?


Building proxy on macOS is failing due to missing cmake

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities
To ask questions about how to use Istio, please visit https://discuss.istio.io)
Bug description
Building proxy on macOS(10.15.7) is failing due to missing cmake
I attempt to build proxy bazel build //src/envoy:envoy, it fails with the following:
DEBUG:

rules_foreign_cc: Printing build logs:

_____ BEGIN BUILD LOGS _____
Bazel external C/C++ Rules #0.0.8. Building library 'zlib'
Environment:______________
TMPDIR=/var/folders/0h/lnbvhs555tqdx0nf3bmpxry40000gp/T/
EXT_BUILD_ROOT=/private/var/tmp/_bazel_zls/ec76070c10ca22a09456d3d64943d20e/sandbox/darwin-sandbox/281/execroot/io_istio_proxy
INSTALLDIR=/private/var/tmp/_bazel_zls/ec76070c10ca22a09456d3d64943d20e/sandbox/darwin-sandbox/281/execroot/io_istio_proxy/bazel-out/host/bin/external/envoy/bazel/foreign_cc/zlib
__CF_USER_TEXT_ENCODING=0x1F6:0x19:0x34
PATH=/private/var/tmp/_bazel_zls/ec76070c10ca22a09456d3d64943d20e/sandbox/darwin-sandbox/281/execroot/io_istio_proxy:/usr/gnu/bin:/usr/local/bin:/bin:/usr/bin:.
BUILD_TMPDIR=/var/folders/0h/lnbvhs555tqdx0nf3bmpxry40000gp/T/tmp.iQZC4G5T
PWD=/private/var/tmp/_bazel_zls/ec76070c10ca22a09456d3d64943d20e/sandbox/darwin-sandbox/281/execroot/io_istio_proxy
EXT_BUILD_DEPS=/var/folders/0h/lnbvhs555tqdx0nf3bmpxry40000gp/T/tmp.i2Ta1Wkp
SHLVL=2
BUILD_LOG=bazel-out/host/bin/external/envoy/bazel/foreign_cc/zlib/logs/CMake.log
BUILD_SCRIPT=bazel-out/host/bin/external/envoy/bazel/foreign_cc/zlib/logs/CMake_script.sh
_=/usr/bin/env
__________________________
bazel-out/host/bin/external/envoy/bazel/foreign_cc/zlib/logs/CMake_script.sh: line 60: cmake: command not found

...

I have already install cmake and in the path /usr/local/bin/cmake, but the log shows can't find the cmake.
[ ] Docs
[x] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
Expected behavior
Steps to reproduce the bug
Version (include the output of istioctl version --remote and kubectl version --short and helm version --short if you used Helm)
How was Istio installed?
Environment where the bug was observed (cloud vendor, OS, etc)
Additionally, please consider running istioctl bug-report and attach the generated cluster-state tarball to this issue.
Refer cluster state archive for more details.

/close


updated to react ^14.0.0 - tests passing still with some warnings

I upgraded to react ^14.0.0 some tests still have warning which I will fix eventually if there is interest
is continuing with this.

I still have to test if these changes are backwards compatible with 0.13.x, but I think they won't. Anyway, as soon as I have time today I will merge this in a new major release since it contains breaking changes and release the new npm version.
Thanks for the contribution! :)


Support stack life cycle tasks (see also #114)

Fix #114.

NOTE: This feature is a net new feature so would not be breaking compatibility but we should define whether it should be added in the next major version based on it being a large change.

@simonirwin-r7 @abegley-r7 see https://github.com/rapid7/convection/pull/120 instead for these changes. I mistakenly merged master into this branch.


Black screen after connecting , cc-novnc keeps exiting

Hi,
I'm trying to run this on my rpi and while i manage to open noVNC and connect it has a black screen and seems like that noVNC keeps crashing. The pi is running headless with no desk env , i don't know if it could be a problem or not .
Here is the log from the docker :
2024-10-08 10:18:07,231 INFO supervisord started with pid 1
2024-10-08 10:18:08,250 INFO spawned: 'easy-novnc' with pid 12
2024-10-08 10:18:08,257 INFO spawned: 'x11' with pid 13
2024-10-08 10:18:08,263 INFO spawned: 'cc-novnc' with pid 14
2024-10-08 10:18:08,270 INFO spawned: 'openbox' with pid 15
2024-10-08 10:18:09,273 INFO success: easy-novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-08 10:18:09,274 INFO success: x11 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-08 10:18:09,275 INFO success: cc-novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-08 10:18:09,275 INFO success: openbox entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-08 10:18:19,105 WARN exited: cc-novnc (exit status 127; not expected)
2024-10-08 10:18:19,313 INFO spawned: 'cc-novnc' with pid 34
2024-10-08 10:18:20,428 INFO success: cc-novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-08 10:18:23,980 WARN exited: cc-novnc (exit status 127; not expected)
2024-10-08 10:18:24,989 INFO spawned: 'cc-novnc' with pid 48
2024-10-08 10:18:25,998 INFO success: cc-novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-08 10:18:28,077 WARN exited: cc-novnc (exit status 127; not expected)
2024-10-08 10:18:29,089 INFO spawned: 'cc-novnc' with pid 60
2024-10-08 10:18:30,066 WARN exited: cc-novnc (exit status 127; not expected)
2024-10-08 10:18:31,080 INFO spawned: 'cc-novnc' with pid 72
2024-10-08 10:18:32,065 WARN exited: cc-novnc (exit status 127; not expected)
2024-10-08 10:18:34,078 INFO spawned: 'cc-novnc' with pid 84
2024-10-08 10:18:35,027 WARN exited: cc-novnc (exit status 127; not expected)
2024-10-08 10:18:38,420 INFO spawned: 'cc-novnc' with pid 96
2024-10-08 10:18:39,424 INFO success: cc-novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-08 10:18:39,541 WARN exited: cc-novnc (exit status 127; not expected)
2024-10-08 10:18:40,552 INFO spawned: 'cc-novnc' with pid 108
2024-10-08 10:18:41,485 WARN exited: cc-novnc (exit status 127; not expected)
2024-10-08 10:18:42,497 INFO spawned: 'cc-novnc' with pid 120
2024-10-08 10:18:43,481 WARN exited: cc-novnc (exit status 127; not expected)
2024-10-08 10:18:45,488 INFO spawned: 'cc-novnc' with pid 132
2024-10-08 10:18:46,492 INFO success: cc-novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-08 10:18:47,751 WARN exited: cc-novnc (exit status 127; not expected)
2024-10-08 10:18:48,760 INFO spawned: 'cc-novnc' with pid 144
2024-10-08 10:18:49,764 INFO success: cc-novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-08 10:18:50,119 WARN exited: cc-novnc (exit status 127; not expected)
2024-10-08 10:18:51,124 INFO spawned: 'cc-novnc' with pid 156
2024-10-08 10:18:52,050 WARN exited: cc-novnc (exit status 127; not expected)
2024-10-08 10:18:53,055 INFO spawned: 'cc-novnc' with pid 168
2024-10-08 10:18:53,989 WARN exited: cc-novnc (exit status 127; not expected)
2024-10-08 10:18:55,998 INFO spawned: 'cc-novnc' with pid 180
2024-10-08 10:18:56,990 WARN exited: cc-novnc (exit status 127; not expected)
2024-10-08 10:18:59,998 INFO spawned: 'cc-novnc' with pid 192
2024-10-08 10:19:01,000 INFO success: cc-novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-08 10:19:01,075 WARN exited: cc-novnc (exit status 127; not expected)
2024-10-08 10:19:02,084 INFO spawned: 'cc-novnc' with pid 204
2024-10-08 10:19:03,093 INFO success: cc-novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-08 10:19:03,093 WARN exited: cc-novnc (exit status 127; not expected)
2024-10-08 10:19:04,099 INFO spawned: 'cc-novnc' with pid 216
2024-10-08 10:19:05,027 WARN exited: cc-novnc (exit status 127; not expected)
2024-10-08 10:19:06,032 INFO spawned: 'cc-novnc' with pid 228
2024-10-08 10:19:06,969 WARN exited: cc-novnc (exit status 127; not expected)
2024-10-08 10:19:08,978 INFO spawned: 'cc-novnc' with pid 240
2024-10-08 10:19:09,952 WARN exited: cc-novnc (exit status 127; not expected)
2024-10-08 10:19:12,960 INFO spawned: 'cc-novnc' with pid 252
2024-10-08 10:19:13,881 WARN exited: cc-novnc (exit status 127; not expected)
2024-10-08 10:19:14,892 INFO gave up: cc-novnc entered FATAL state, too many start retries too quickly

Forgot to post the picture


Document the project_id input option

Hi,
Just a small PR to document the very useful project_id option.
Let me know what you think about it.

@googlebot I signed it!


Documentation to start on boot as a user on desktop Linux

Adds text for a preference to enable the daemon at boot/login through systemd. It includes notes to manually start the service via systemd.
@artfwo here u go!

could you mention that binary packages mentioned in that file already provide auto-start at boot (at least for ubuntu, i haven't tested arch) and your instructions are only applicable for sources that your compiling yourself? it might be better to add these lines to compiling guide for that reason.

@artfwo sorry for the delay, here's some more changes. let me know if you need anything else.


tm1.dimensions.hierarchies.elements.get_element_names function

Hello,
I am trying to get all leaf elements of a dimension and want to pull the source data for only those elements and skip the data for elements that are not in the element list.
For example, I tried this :
 a = tm1.dimensions.hierarchies.elements.get_leaf_element_names(dimension, hierarchy)
print(a)

and I am expecting a list but it returns
<generator object ElementService.get_element_names.<locals>.<genexpr> at 0x0000017938BDAA48>
How I can print the element names as a list?
Regards.
Version

TM1py [1.4.1]
TM1 Server Version: [PA 2.0.7]

Hi @MaaYuu,
the function returns a generator.
https://wiki.python.org/moin/Generators
If you need a list instead just write:
a = list(tm1.dimensions.hierarchies.elements.get_leaf_element_names(dimension, hierarchy))


[UI] Source type, wrong behavior when a Git type is selected

Related issue: #173
Current Behavior
When switching from GitHub to GitLab (and viceversa), the repo name is not cleared.
Expected Behavior
The repo name should be removed in the selection form

Isn't this part of https://github.com/epinio/ui/issues/173?

Isn't this part of #173?

Yes, It's worth to resolve it in the same PR


CharsWhileIn - documentation inconsistency

According to both scaladoc string here and my intuition given its name CharsWhileIn("a") should behave as CharsWhileIn("a",0).
However according to both sourcecode here and my experience it behaves as CharsWhileIn("a",1).

Fixed here, it seems:
https://github.com/lihaoyi/fastparse/commit/e71b61ffe10a0189b48cff02bb8eb7c7ca734009


Fix test

busybox:latest no longer has /usr/bin. Use another dir

:+1:

hm wait, test still seems to fail


Webhook authentication

Checklist

[x] I've searched the project's issues.

❓ Have you done the webhook authentication on the new Paddle Billing?
Asking since I couldn't find it in the code or searching around.
Regards.
Dorian

Do you mean the signature verification?
https://developer.paddle.com/webhooks/signature-verification

@bgervan Yes. All other libraries have the old "Classic" method with "p_signature".

This is part of the django side, as that processes the request. I can share my first implementation, though I didn't test it yet and not that clean yet.
def webhook_signature_is_valid(request):
    secret_key = settings.PADDLE_SECRET_KEY
    # Get the Paddle-Signature header from an incoming webhook sent by Paddle.
    signature_header = request.META.get('HTTP_PADDLE_SIGNATURE', '')
    # signature = ts=1671552777;h1=somerandomstring
    # Now you have the Paddle-Signature header, parse it to extract the timestamp (ts) and signature values (h1).
    # The timestamp and signature are separated by a semicolon (;).
    timestamp, signature = signature_header.split(';')

    # Concatenate the timestamp and the raw body of the request, joined with a colon (:).
    signed_payload = ':'.join([timestamp, request.body.decode('utf-8')])
    # Paddle generates signatures using a keyed-hash message authentication code (HMAC) with SHA256 and a secret key.

    import hmac
    import hashlib
    computed_signature = hmac.new(
        key=secret_key.encode('utf-8'),
        msg=signed_payload.encode('utf-8'),
        digestmod=hashlib.sha256
    ).hexdigest()
    # Compare the computed signature with the signature extracted from the Paddle-Signature header.
    return hmac.compare_digest(computed_signature, signature)

You can expose your django local with cloudflare tunnel for free to test this implementation.

@bgervan
It had a small error on not removing "=". Fixed it (also removed the django parts)
def webhook_signature_is_valid(signature_header: str, raw_body: bytes, secret_key: str) -> bool:
    # Get the Paddle-Signature header from an incoming webhook sent by Paddle.
    # signature_header = request.META.get('HTTP_PADDLE_SIGNATURE', '')
    # signature = ts=1671552777;h1=somerandomstring
    # Now you have the Paddle-Signature header, parse it to extract the timestamp (ts) and signature values (h1).
    # The timestamp and signature are separated by a semicolon (;).
    ts_part, h1_part = signature_header.split(";")
    var, timestamp = ts_part.split("=")
    var, signature = h1_part.split("=")

    # Concatenate the timestamp and the raw body of the request, joined with a colon (:).
    signed_payload = ":".join([timestamp, raw_body.decode("utf-8")])
    # Paddle generates signatures using a keyed-hash message authentication code (HMAC) with SHA256 and a secret key.

    import hashlib
    import hmac

    computed_signature = hmac.new(
        key=secret_key.encode("utf-8"), msg=signed_payload.encode("utf-8"), digestmod=hashlib.sha256
    ).hexdigest()
    # Compare the computed signature with the signature extracted from the Paddle-Signature header.
    return hmac.compare_digest(computed_signature, signature)

I have included this function in https://github.com/websideproject/paddle-billing-client/releases/tag/v0.2.0 as a helper function

@bgervan How are you testing webhook events against new paddle billing authentication? I am sending test events through this link: https://sandbox-vendors.paddle.com/webhook-alert-test but I see that Paddle-Signature header is missing. Any suggestions?

You can see an example in the my django integration package:
https://github.com/websideproject/django-paddle-billing/blob/437ae409e37963c0fdb4c845c344bb77742bad06/src/django_paddle_billing/views.py#L85C20-L85C46

Although I checked with your link, I don't see this header. I am using my backend with real webhooks, not the test webhooks which works.
In the readme, you can find doc about how to expose your local dev server to receive webhook events securely.

Although I checked with your link, I don't see this header. I am using my backend with real webhooks, not the test webhooks which works. In the readme, you can find doc about how to expose your local dev server to receive webhook events securely.

I have resolved the issue. Actually this link only works for paddle classic version. For new paddle billing APIs there is paddle-signature header present in webhook event.


corrected spelling mistake

Checklist

[ ] Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
[ ] If this PR comes from a fork, please Allow edits from maintainers
[ ] Set a speaking title. Format: {task_name} (closes #{issue_number}). For example: Use logger (closes # 41)
[ ] Link your Pull Request to an issue (if applicable)
[ ] Create Work In Progress [WIP] pull requests only if you need clarification or an explicit review before you can continue your work item.
[ ] Make sure that your PR is not introducing unnecessary reformatting (e.g., introduced by on-save hooks in your IDE)
[ ] Make sure that your PR does not contain changes in strings.xml (see issue #332)
[ ] Make sure that your PR does not contain compiled sources (already set by the default .gitignore) and / or binary files

Description

Text-changes, especially legal text has to go through the team, please report in #332

@FWCologne thanks for pointing this out!
As this is already referenced in #332 (thank you @tomjschwanke  :) ) I am closing this PR, since our text and translation team has to verify the changes first and have them approved as well.
Best,
Marc


Load nested Typesafe configs more correctly.

When using the ConfigObject interface of Typesafe Config, the
key provided during traversal is a relative path, not the
path from the root. Also, you cannot use the full path to
refer to particular items within a list.
Instead here, the code uses a traversal of the Config using
entrySet, and then a more specialised conversion between the
list types.

@fiadliel thanks for the PR - one of us will go over it tomorrow (sorry for the delay - I didnt get the github notification for some reason)

@fiadliel your changes were included as a part of 3.3.1

Thanks for the review :)


Regression: mac test failure

Using gost engine:
./openssl_wrap.sh dgst -md_gost12_512 -hmac<PHONE_NUMBER>34567890123456789012 somefile
the exit code is 1 instead of 0, nothing is written to stderr, no output.
The openssl_wrap.sh script:
#!/bin/bash

OPENSSLDIR=`pwd`/../openssl
export LD_LIBRARY_PATH=$OPENSSLDIR
OPENSSL_CONF=`pwd`/engine.conf $GDB $OPENSSLDIR/apps/openssl $@

engine.conf file:
openssl_conf = openssl_def
[openssl_def]
engines = engine_section

[engine_section]
gost = gost_section

[gost_section]
engine_id = gost
dynamic_path = /path/to/gost.so
default_algorithms = ALL
CRYPT_PARAMS = id-Gost28147-89-CryptoPro-A-ParamSet

[req]
distinguished_name = req_dn
[ req_dn ]
C = RU
L = Moscow
CN=Test srv gost2012_256:XA
O=Cryptocom
OU=OpenSSL CA
emailAddress =<EMAIL_ADDRESS>

The bug was introduced recently, #12740 fixed all the issues present at that moment.

Fix in #12850.


i got "File Not Found"

i got "File Not Found", any hints?

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

ID: aac83aaa-403c-bbb5-1381-9e1e39913e41
Version Independent ID: 6cb358f2-72b2-aa3d-6ac4-48352f199eda
Content: Add a web part to a page in a SharePoint-hosted SharePoint Add-in
Content Source: docs/sp-add-ins/add-a-web-part-to-a-page-in-a-sharepoint-hosted-sharepoint-add-in.md
Product: sharepoint
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

Thanks @peterremote1980 , could you please provide more information about your issue? such as what did you do and what is the problem.

Closing due to no response.


Workflow to run CICD Tests in a VM on a selfhost runner

Discussed in https://github.com/microsoft/ebpf-for-windows/discussions/448

Originally posted by Alan-Jowett August 27, 2021
We need some mechanism to be able to validate the kernel-mode eBPF core in the CI/CD pipeline.
Proposed workflow:

Existing MSBuild workflow runs and uploads build output artifact.
Only code owner can then trigger new workflows "Kernel_CICD".
Kernel_CICD is marked as requiring a self-host runner.

eBPF for Windows team will then maintain a pool of VMs with the self-host runner, with driver verifer enabled and test signing enabled.
Kernel_CICD will perform the following steps:

actions/download-artifact@v2
install-ebpf.bat.
Run netsh tests.
Run port_quota.exe tests (load, limit, stats, unload).

@shankarseal Please update title

Moving to 2111 since #622 says it was only part of the fix.

Closing issue as workflows targeting selfhosted runners is live.


General hardware recommendation

it seems the project reached a level of sophistication and general enthusiasm, that a brief shortlist of oscilloscope recommendations would be really nice.
Listing 2-3 device models/series that are currently most feature complete together with glscopeclient.
I'd love to compare my future purchase plans with such a list and guess others would too.

Section 5 of the manual (draft copy at https://www.antikernel.net/temp/glscopeclient-manual.pdf but we're still working on it) discusses the instrument drivers and known working models for each.
Generally speaking, Teledyne LeCroy is our "flagship" platform - it's what I use in my lab so I run it on a daily basis, their scopes are reasonably fast over SCPI so it performs well, and it's basically the reference driver that I test new features in before adding them elsewhere. They have an extremely stable API/command set so pretty much any of their scopes from the Windows 2000 era to current generation should work out of the box.
PicoScope 6000E series has excellent streaming performance - actually more WFM/s than the LeCroy platforms - but the driver is still experimental and is missing a few features. Other PicoScope families are in the works, but less stable. Pico is a big supporter of the project and provided me with a 6824E as a dev unit.
Siglent SDS2000x series is a bit slow due to the low-end hardware, but is probably the best of the budget platforms and is reasonably well supported. The 1000 series is supported but that driver is brand-new and likely still rough around the edges. The 2000 series driver probably works on the higher end Siglent platforms as well but has never been tested on them. Siglent is also supportive of the project and has been working with us on fixing firmware issues and improving performance.
This is by no means an all-inclusive list of supported models, see the manual for that.
Additionally, we've been compiling a spreadsheet of performance figures. This data includes the scope make and model (we should probably start logging firmware version too), number of enabled channels, memory depth, and the number of waveforms per second we got. From this, the spreadsheet calculates the throughput in both samples/sec and bits/sec.
You can check out the spreadsheet at https://docs.google.com/spreadsheets/d/1Aw3pIdjKqfiHG1SAWSzkXyH3VJw_Mj2g_8I6pCXu0nY/edit#gid=0. This is again not an all-inclusive list of supported models, but it gives you an idea of what performance to expect from some popular options.

thanks a lot for taking the time to respond in such detail! This was the guidance I was looking for.
I've of course seen chapter 5, but was more curious about features than speed comparison - knowing that at least some older scopes do not expose a lot of remote control functionality or sometimes have a buggy API.
LeCroy offers currently a big promotion discount in Europe for the Wavesurfer 4000HD series which I will checkout.


Adaptive card title alignment problem in new teams desktop application

We are sending adaptive card from our teams application. However, the header of the adaptive card is broken for new teams desktop application. Although, the same adaptive card is rendered properly in old teams application.
For new teams desktop app, the adaptive card is showing icon, title and menu in stack instead of one line.
Below is adaptive card which we are using.
{
  "type": "AdaptiveCard",
  "msTeams": {
    "width": "full"
  },
  "metadata": {
    "webUrl": "${applicationURL}"
  },
  "body": [
   {
    "type": "ColumnSet",
    "columns": [
      {
        "type": "Column",
        "items": [
          {
            "type": "TextBlock",
            "size": "Medium",
            "weight": "Bolder",
            "text": "[${cardTitle}](${applicationURL})"
          },
          {
            "type": "TextBlock",
            "size": "Medium",
            "weight": "Bolder",
            "text": "${answerCount} ${answers} & ${voteCount} ${votes}"
          },
          {
            "type": "TextBlock",
            "weight": "default",
            "text": "${description}",
            "wrap": true
          },
          {
            "type": "TextBlock",
            "weight": "default",
            "text": "${source}",
            "wrap": true
          }
        ],
        "width": "stretch"
      }
    ]
  }
  ],
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.4"
}

Currently, the rendered output looks like this. Kindly suggest what is wrong here.

The same is being tracked here https://stackoverflow.com/questions/77920553/adaptive-card-title-alignment-problem-in-new-teams-application. Please follow that thread for further updates.


Saving unchanged data in Settings->Users breaks login functionality

I have opened the Users settings in Bonfire and saved them without changing anything. After that, when the user logs out, and tries to login again, he is greeted with an error message (this is the output in the log):
CRITICAL - 2022-12-09 14:35:40 --> Call to a member function getType() on null in VENDORPATH/codeigniter4/shield/src/Authentication/Authenticators/Session.php on line 444.  1 VENDORPATH/codeigniter4/shield/src/Authentication/Authenticators/Session.php(156): CodeIgniter\Shield\Authentication\Authenticators\Session->setAuthAction()  2 VENDORPATH/codeigniter4/shield/src/Controllers/LoginController.php(59): CodeIgniter\Shield\Authentication\Authenticators\Session->attempt([...])  3 SYSTEMPATH/CodeIgniter.php(927): CodeIgniter\Shield\Controllers\LoginController->loginAction()  4 SYSTEMPATH/CodeIgniter.php(482): CodeIgniter\CodeIgniter->runController(Object(Bonfire\Auth\Controllers\LoginController))  5 SYSTEMPATH/CodeIgniter.php(351): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)  6 FCPATH/index.php(67): CodeIgniter\CodeIgniter->run()  7 SYSTEMPATH/Commands/Server/rewrite.php(46): require_once('FCPATH/index.php') CRITICAL - 2022-12-09 14:38:51 --> Call to a member function getType() on null in VENDORPATH/codeigniter4/shield/src/Authentication/Authenticators/Session.php on line 444.  1 VENDORPATH/codeigniter4/shield/src/Authentication/Authenticators/Session.php(156): CodeIgniter\Shield\Authentication\Authenticators\Session->setAuthAction()  2 VENDORPATH/codeigniter4/shield/src/Controllers/LoginController.php(59): CodeIgniter\Shield\Authentication\Authenticators\Session->attempt([...])  3 SYSTEMPATH/CodeIgniter.php(927): CodeIgniter\Shield\Controllers\LoginController->loginAction()  4 SYSTEMPATH/CodeIgniter.php(482): CodeIgniter\CodeIgniter->runController(Object(Bonfire\Auth\Controllers\LoginController))  5 SYSTEMPATH/CodeIgniter.php(351): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)  6 FCPATH/index.php(67): CodeIgniter\CodeIgniter->run()  7 SYSTEMPATH/Commands/Server/rewrite.php(46): require_once('FCPATH/index.php')
I have traced the error to the setting that got saved to the database :
class | key | value
Config\Auth\Auth | actions | a:2:{s:5:"login";b:0;s:8:"register";b:0;}
I think the string in value column gets interpreted by the settings module as setting the original config array values
 public array $actions = [         'login'    => null,         'register' => null,     ];
to false instead of null. And then the code in Session.php on line 444 gets executed, while it should be omitted if the values in array were null...
So anyway, the functionality is too easily broken.

I have done the same today with an updated codebase, and the functionality seems to be no longer broken. So I am closing this bug report.


Merging Develop into Master 3.13.2019 - fixing broken links, deliverability guide update, handlebars updates

Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @Whatthefoxsays,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


pc/dev: Automatically build fides-consent after npm install

Removes this stumbling block: https://ethyca.slack.com/archives/C043URV1KLL/p1671548316676079
Description Of Changes
The fides-consent package automatically builds when the Privacy Center builds. However, from a clean clone of the repo running npm run dev does not build the PC, it just kicks of the Next watcher. By also building the subpackage after install we ensure dev works from scratch.

Thanks for helping to improve quality of dev-life! Looks like we have this CI err: https://github.com/ethyca/fides/actions/runs/3744121330/jobs/6357124961#step:4:3585


Unable to set sqlite PRAGMA in migrations

Elixir version
1.15.7
Database and Version
SQLite
Ecto Versions
3.11.1
Database Adapter and Versions (postgrex, myxql, etc)
0.15.0
Current behavior
(Apologies if this should be filed in the ecto_sqlite3 repo. I'm unsure if it's an issue with the migrator or the adapter.)
If I try to set a PRAGMA inside a migration (either with query! or with execute), it looks like it doesn't 'stick'. Subsequent queries behave as if the PRAGMA got reset, or maybe never got set in the first place.
This is important, given SQLite`s requirement to jump through hoops for commonplace table modifications will eat your data if foreign key enforcement isn't disabled.
Below, I've written a sample migration that sets up some test data, then another one that follows SQLite's procedure for table changes. (The before and after schemas are identical, for demonstration purposes).
These migrations result in the bar table being emptied out, because foreign keys were incorrectly enforced during drop table. If I disable foreign keys in config.exs, the data survives the migration.
config.exs
config :ecto_test, EctoTest.Repo, database: "db.sqlite", pool_size: 1, foreign_keys: :on
config :ecto_test, ecto_repos: [EctoTest.Repo]

Migration 1. Creates a table and inserts some foreign-keyed rows:
defmodule EctoTest.Repo.Migrations.CreateFoo do
  use Ecto.Migration

  def change do
    create table(:foo) do
      timestamps(type: :utc_datetime)
    end

    create table(:bar) do
      add :foo_id, references(:foo, on_delete: :delete_all), null: false

      timestamps(type: :utc_datetime)
    end

    execute "insert into foo (inserted_at, updated_at) values (CURRENT_TIMESTAMP, CURRENT_TIMESTAMP);"

    execute "insert into bar (foo_id, inserted_at, updated_at) values (1, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP);"
  end
end

Migration 2, a minimal version of SQLite's procedure for many table modifications:
defmodule EctoTest.Repo.Migrations.TestQueryOrder do
  use Ecto.Migration

  def up do
    execute "pragma foreign_keys = off"

    execute """
      CREATE TABLE IF NOT EXISTS "foo2" ("id" INTEGER PRIMARY KEY AUTOINCREMENT, "inserted_at" TEXT NOT NULL, "updated_at" TEXT NOT NULL);
    """

    execute "insert into foo2 select * from foo;"
    execute "drop table foo"
    execute "alter table foo2 rename to foo"
    execute "pragma foreign_keys = on"
  end

  def down do
  end
end

Expected behavior
I expect the data in the bar table to still exist after the migration, since the migration disables foreign keys before dropping the foo table that bar references.

Hi,
If you put this as a module attribute in your migration file does it work?

@disable_ddl_transaction true

I'm not an SQLite expert but reading the docs for that pragma says this:

This pragma is a no-op within a transaction; foreign key constraint enforcement may only be enabled or disabled when there is no pending BEGIN or SAVEPOINT.

With your version of ecto sqlite I believe migrations are run inside a transaction by default.

Ah, good catch! I've now set @disable_ddl_transaction true.
With that change I'm seeing a new issue: the migration errors out part-way through. It doesn't drop the table immediately (the table still exists by the time we execute alter table rename), but after the migration errors out, the table has been dropped.
If I wrap the migration SQL in BEGIN/END (with the pragma outside the transaction), the migration crashes with "database busy" while running the drop table statement. Given that mix ecto.migrate is the only thing using the database, I don't understand why the DB would be busy.
(I've double-checked the SQL statements themselves by running them with the sqlite3 CLI and a .sql file. I also modified the schema of the new table to make it easy to confirm the migration succeeds)
Is ecto doing something that would keep the database busy?
Output of table not dropping:
17:31:46.088 [info] == Running<PHONE_NUMBER>5606 EctoTest.Repo.Migrations.TestQueryOrder.up/0 forward

17:31:46.100 [info] execute "pragma foreign_keys = off"

17:31:46.101 [info] execute "  CREATE TABLE IF NOT EXISTS \"foo2\" (\"id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"inserted_at\" TEXT NOT NULL, \"updated_at\" TEXT NOT NULL, new_col text)\n"

17:31:46.103 [info] execute "insert into foo2 select *, null from foo"

17:31:46.104 [info] execute "drop table foo"

17:31:46.105 [info] execute "alter table foo2 rename to foo"
** (Exqlite.Error) there is already another table or index with this name: foo
alter table foo2 rename to foo

Output of database busy (pragma fk off -> begin -> logic -> commit -> pragma fk on):
17:37:00.379 [info] == Running<PHONE_NUMBER>5606 EctoTest.Repo.Migrations.TestQueryOrder.up/0 forward

17:37:00.390 [info] execute "pragma foreign_keys = off"

17:37:00.391 [info] execute "begin"

17:37:00.391 [info] execute "  CREATE TABLE IF NOT EXISTS \"foo2\" (\"id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"inserted_at\" TEXT NOT NULL, \"updated_at\" TEXT NOT NULL, new_col text)\n"

17:37:00.393 [info] execute "insert into foo2 select *, null from foo"

17:37:00.394 [info] execute "drop table foo"
** (Exqlite.Error) Database busy
drop table foo

I tried running your scenario 1 and wasn't able to reproduce it locally.
Could you maybe give a minimal reproducible example that fails? Either a script like this: https://github.com/wojtekmach/mix_install_examples/blob/main/ecto_sql.exs. Or a repo with just the bare minimum needed to generate the error.
Nothing is really jumping out to me so would need to play around with an example that is failing. Thanks.

@josevalim On a somewhat related note, what do you think about adding before_begin/after_commit callbacks for scenarios these kind of scenarios where a pragma needs to be switched off before the migration starts and switched back on after it?
https://sqlite.org/lang_altertable.html#making_other_kinds_of_table_schema_changes

@greg-rychlewski given folks can already achieve this with an isolated migration with ddl transaction set to false, I don't see a strong need for adding more callbacks.

Could you maybe give a minimal reproducible example that fails?

After further debugging, I only see the issue if I run the two migrations as separate mix ecto.migrate commands. If I start from an empty database and run both, I don't get the issue.
I couldn't reproduce using a self-contained .exs file, so I made a repo that reproduces: spiffytech/ecto_589. It's just mix ecto.gen.repo manually reconfigured for sqlite.
rm db.sqlite
mix ecto.migrate --to-exclusive<PHONE_NUMBER>5606
mix ecto.migrate

Thanks very much. The link is sending me to a 404, maybe there are permission issues?

Sorry, no permissions issues, I just fumbled the shorthand syntax for linking to the repo. https://github.com/spiffytech/ecto_589

Does this reproduction only fail for scenario 2 or also the original scenario?

It's set up for scenariot 2 (manual BEGIN/COMMIT, database busy), but if I remove those statements, I also get the failure from scenario 1 (there is already another table with this name).

The reproduction uses pool_size: 1, but I also see that with pool > 1 it looks like each execute runs on in a separate database connection. Could that be related, or should I file a separate issue for that?

Could that be related, or should I file a separate issue for that?

That is normal behaviour for Ecto so should not be filed an issue under this repo. If SQLite requires a special pool configuration then it would need to be abled by their adapter.

Alright. Not an SQLite-specific thing, just wondering the right way to run multiple manual SQL statements in a migration if the connection is stateful (such as the pragma or BEGIN discussed here).
Is there a different function I should call, or should I just set pool_size: 1 for a migrations-only MIX_ENV?

It works the following way:

If you are in a transaction then each statement will be run on the same connection
If you are not in a transaction then each statement will get a connection from the connection pool. It might be the same as the last one or might not, there is no guarantee. To guarantee the same one then you need a single connection in the pool

Taking a closer look at your repo, I think the issue might be with how you are setting your pool size. I don't believe the application configuration is read for the mix tasks. It reads it from the flag --pool-size and if none exists defaults to two. So this might be your issue. Can you try running with --pool-size 1

Yep, the migration completes now. Thanks very much for the help!
I'd like to PR a docs change to Ecto.Adapters.SQLite3 covering this stuff, as well as open a discussion in the Google Group about how we can make it easier for Ecto users to get this commonplace SQLite procedure right.


update English Readme

 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.xiaocheng seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Add missing TabBar signals to TabContainer

Adds active_tab_rearranged, tab_clicked and tab_hovered signals to TabContainer, to almost achieve full parity with TabBar's signals. If desired, I could also try to add tab_rmb_clicked. I don't think tab_close_pressed needs to be added, since we can't close tabs when using TabContainer.
Prior to this PR, there was no way of knowing whether a TabContainer's tab has been re-arranged, since tab_changed no longer fires when a tab is re-arranged, like it used to in Godot 3.x. So I added active_tab_rearranged to TabContainer, to make it consistent with TabBar's behavior, and I also took the opportunity to add the other two signals as well, in case anyone needs them.

Thanks!


Create Hackathons' project submissions folder

Add a folder for Hackathons' projects submissions

Should not branch from develop.


[ZEPPELIN-3753] Fix indent with TAB

What is this PR for?
Now when you select multiline text and press TAB, text replaces with "\t" char.
With this PR text just shift right if TAB have been pressed.
What type of PR is it?
Bug Fix
What is the Jira issue?
ZEPPELIN-3753
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

merging if no more comment


Document how to go get gg.

Some of us really like to go get our commands.

Pull Request Test Coverage Report for Build 122

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 51.137%

Totals

Change from base Build 121:
0.0%

Covered Lines:
1799

Relevant Lines:
3518

💛  - Coveralls


Added a page for Haotian Zhang

Add a page and photo for Haotian Zhang to people folder.

Could you please add a link to the README? Thanks!

Also do rename the photo file to the same name as the markdown file about you so we can have consistent things :)


Add enabled to SettingsGroup & Fix padding in Sample

I added enabled to the SettingsGroup.
Now Settings will get the default enabled value from the Group which directly wraps it.
I fixed the padding in Sample as I was writing samples.

As you fixed some paddings, could you provide a before / after comparative so I understand what was wrong?

Actually, I don't add any padding. I just apply the padding Scaffold provided to its content, so that its content will not be covered by SampleTopBar. Review App.kt
Do you remember this? the SettingsSwitch was covered by 'SampleTopBar'. My work is to rescue the poor SettingsSwitch

I notice that the job Validate screenshots is failling.
Should I push the screenshots that generated by executing ./gradlew updateScreenshotTest?

No, don't worry.
New screenshots will fail, it's ok. As screenshots are generated on GHA those will fail if generated on your local.
I assume that, I know those will fail when added on PRs.

Let me review this PR and merge with admin power later :)

Looks great! Thanks for your contribution!

BTW, can you updadte README.md to reflect the enabled, change on group?

no problem


Add dzbarsky to try list

r? @Manishearth @jdm

@bors-servo r+

:pushpin: Commit bc44e7a has been approved by Manishearth

:hourglass: Testing commit bc44e7a with merge 4e4c27a...

:sunny: Test successful - travis


bindPopup lost when setting text

var popup = new L.popup({ minWidth: 400, closeButton: false, autoPanPaddingTopLeft: L.point(0, 50) });
layer = L.polyline(points, {color: color, weight: 5});
layer.bindPopup(popup);
layer.on('mouseover', function(e) {
this.setText('  ►  ', {repeat: true, attributes: {fill: textColor.toHexString() }});
});
layer.on('mouseout', function(e) {
this.setText(null);
});
The popUp doesn't work anymore if this.setText is executed.

I believe this is related to https://github.com/makinacorpus/Leaflet.TextPath/pull/8
and the fact that events are bound to text path node.
This https://github.com/makinacorpus/Leaflet.TextPath/blob/gh-pages/leaflet.textpath.js#L129
might conflict with this:
https://github.com/Leaflet/Leaflet/blob/eb34e6682d1cf0d170cb87ff5f1c751c65c8f79a/src/layer/Layer.Popup.js#L21-L22
If you can investigate what happens when you get rid of those lines, and share some ideas about ways to fix it, that'll definitely help :) I don't say it's hard, just give a try ! It's just that reproducing someone errors and fixing code without immediate feedback is very time consumming :)
Good luck !
Thanks !

up?


bunch of changes

removed useless files
cleaned up project.xml & some code
in general, removed a bunch of useless things

you delete some important stuff

you delete some important stuff

they weren't really important

ok now I see what you meant

:(

i will remove this theese useless things in the release

i will remove this theese useless things in the release

so I made this PR too early apparently

yea

yea

😐


add helper function for Tinkerbell specific workflow for curated packages harbor flow

Issue #, if available:
Curated Packages Harbor flow is failing for Tink CI as provider specific workflow is not addressed by the generic harbor simple flow function. This change adds a helper function to address the provider specific workflow for Tinkerbell which is similar to other packages test for Tinkerbell provider.
Description of changes:
Testing (if applicable):
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/retest

/hold

/lgtm
/approve

/cherry-pick release-0.17

/unhold


Make docs mention both NC and OC-10 and clean up branches

Look at https://github.com/pondersource/sciencemesh-nextcloud/blob/main/source/installation.rst#install-the-sciencemesh-app - it only mentions pondersource/nc-sciencemesh, not pondersource/oc-sciencemesh.
Also, the latest code to use of both should be the default branches, probably?

Also https://github.com/cs3m4eosc-wp2/sciencemesh/edit/master/docs/content/en/docs/How to join ScienceMesh/_index.md

@navid-dada is collecting improvements and will update as soon as he finishes the work on Kubernetes

I push my changes to the repo and it is updated and there are two separate doc about oc10 and nc


Double underscore module variables are ignored?

See example below - importing from a module a variable that has two leading underscores Pylance shows an error:
"__test" is unknown import symbol Pylance[reportAttributeAccessIssue]
(import) __test: Unknown

Though variable is there and it will be imported fine and can be accessed without a mangling (in python module variable starting with underscore are not imported with a wildcard import but allowed otherwise). Even specifying variable in __all__ doesn't help.

Could some one from the pylance team please transfer this to the pyright project? Thanks!


How to make the side menu collapsible?

I think we'd need someone who knows some javascript to do that, or upstream support in sphinx_rtd_theme (https://github.com/readthedocs/sphinx_rtd_theme/pull/698), or to use a different theme.
But there are several other things I do instead, instead of explicit collapse toggle:

I make the window the width I want, and then increase the font size.  After font size increases enough, the sidebar collapses itself (when it switches to the mobile layout).  This is basically what I always do in presentations and actual lessons.  It's possible it might not work with some particular presentation modes + font sizes, but... it's always been surprisingly practical to me.
sphinx_minipres can help you go to presentation mode.  Add ?plain=1 to the URL and sidebar goes away.  Add ?minipres=1 to the URL and you go into some sort of presentation mode.  See the minipres link for info and more examples.

Are either of these good enough?  plus, they should be documented in sphinx-lesson itself...

Thanks for the suggestions! I didn't manage to install sphinx_minipres, but that's a problem on my end. sphinx-book-theme allows to collapse the side menu, but wreaks havoc with the directives of the lesson (everything is blue and all emojis are "info" emojis)

sphinx-minipres is a default dependency of sphinx-lesson, so I think
it should just work: https://enccs.github.io/intermediate-mpi/setup/?plain=1

Indeed it does :sweat_smile:

?plain=1 looks very useful, thanks!


Issue with /docs/tasks/configure-pod-container/configure-liveness-readiness-probes/

This is a...

[X] Feature Request
[ ] Bug Report

Problem:
There is no description nor example on how to set up a TCP Probe, even though the option is mentioned. Although it might be obvious to veteran users, for greener users it is helpful to have examples available. For example, by reading the text, there's no indication whether a TCP Probe would be set up with tcp in the config or tcpGet or even something else entirely.
Proposed Solution:
Add an example of a TCP Probe as well.
Page to Update:
https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/

Looks like this is fixed. @chenopis can we close please/


No Toggl button in Taiga at all‽

On a freshly installed (self-hosted) Taiga instance, we can't find the Toggle button anywhere in the system (although the integration of the  button and Taiga is explicitely advertised on both vendor sites). Unfortunately this is pretty much a show-stopper for us right now ... Please let me know if access to our (still experimental) Taiga instance would help you debugging this.

Toggl Button works with default domains of every integration. Meaning that out of the box it does not work with self-hosted instances as they are not described in the extension permissions.
Currently there is two ways to use Toggl Button with a custom domain.

Customize and build your own custom version of the Toggl Button. This is described here: http://blog.toggl.com/2014/10/using-toggl-button-chrome-extension-with-custom-domains/
Using the nonofficial Toggl Button version with custom domains support. This is a version of Toggl Button that is maintained by the community and kept in sync with the main extension. There may be some differences because it isn't instantly synced but it should be quite up to date. You can get it from: https://chrome.google.com/webstore/detail/toggl-button-for-custom-w/cblhgnnnpnonkonnfcfkfhhkoldjpdno

Hope this helps.

Hey @IndrekV,
sounds good, thanks for the explanation and hints. I will try this out.
Cheers, Joschi


Network is down

cannot open file.mp4 for reading: Network is down

Hi, does this issue reoccur? If yes, please run ytfs in debug mode (ytfs -d) and copy traceback when the error happens

Yes, the issue recurring.


fix: remove ropsten, kovan, and rinkeby.

What I did
Ropsten, Kovan, and Rinkeby are all done. This PR removes their existence.
Hello Goerli, my new best friend!
Also changes the required confs in mainnet to be 2 instead of 13, because of PoS.
Also no longer added PoA middleware to Goerli since it is now PoS
How I did it
A big flamethrower and I burnt it all.
What could be salvaged was handed to Goerli.
How to verify it
It doesn't seem like this breaks any of the plugins, which is what I was curious about.
Checklist

[ ] All changes are completed
[ ] New test cases have been added
[ ] Documentation has been updated

Related PRs:
https://github.com/ApeWorX/ape-arbitrum/pull/5
https://github.com/ApeWorX/ape-polygon/pull/8
https://github.com/ApeWorX/ape-fantom/pull/16
https://github.com/ApeWorX/ape-optimism/pull/9
https://github.com/ApeWorX/ape-etherscan/pull/49
https://github.com/ApeWorX/ape-alchemy/pull/31
https://github.com/ApeWorX/ape-infura/pull/52


Add conventional commit docs support

CONTRIBUTING
.md
.rst

Ruby doc format?
And
CONTRIBUTORS(.*)
CHANGELOG(.*)

Extension is currently fixed at .md for most https://github.com/MichaelCurrin/auto-commit-msg/blob/1b58c1256f97e28589cce008a516a6b906488491/src/generate/convCommit.ts#L207-L214

I don't know what extension CONTRIBUTORS even needs - md, txt, none?
The whole section could be refactored to use starts with rule then I can take out the extension for all


Refactoring for ver. 2.0.0

The core library of our software, a fundamental and central component of our system, has grown significantly over time. With this growth, the library has become increasingly disorganized, making it challenging to maintain, extend, and use efficiently. To address these issues, we propose a comprehensive refactoring and reorganization of the core library, culminating in the release of a new major version, 2.0. This endeavor aims to streamline the structure, enhance readability, and improve overall usability, ensuring the library's robustness and scalability for future development.

@rultor merge

@rultor merge

@kniazkov OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@kniazkov Done! FYI, the full log is here (took me 29min)


metaclass conflict

When I run train.py(tags v5.0) in pycharm, I find this error
Traceback (most recent call last):
File "E:\Chrome download\yolov5-5.0\yolov5-5.0\train.py", line 21, in
from torch.utils.tensorboard import SummaryWriter
File "D:\Anaconda3\envs\pytorch\lib\site-packages\torch\utils\tensorboard_init_.py", line 13, in
from .writer import FileWriter, SummaryWriter  # noqa: F401
File "D:\Anaconda3\envs\pytorch\lib\site-packages\torch\utils\tensorboard\writer.py", line 13, in
from tensorboard.summary.writer.event_file_writer import EventFileWriter
File "D:\Anaconda3\envs\pytorch\lib\site-packages\tensorboard\summary_init_.py", line 22, in
from tensorboard.summary import v1  # noqa: F401
File "D:\Anaconda3\envs\pytorch\lib\site-packages\tensorboard\summary\v1.py", line 23, in
from tensorboard.plugins.histogram import summary as histogram_summary
File "D:\Anaconda3\envs\pytorch\lib\site-packages\tensorboard\plugins\histogram\summary.py", line 35, in
from tensorboard.plugins.histogram import summary_v2
File "D:\Anaconda3\envs\pytorch\lib\site-packages\tensorboard\plugins\histogram\summary_v2.py", line 35, in
from tensorboard.util import tensor_util
File "D:\Anaconda3\envs\pytorch\lib\site-packages\tensorboard\util\tensor_util.py", line 20, in
from tensorboard.compat.tensorflow_stub import dtypes, compat, tensor_shape
File "D:\Anaconda3\envs\pytorch\lib\site-packages\tensorboard\compat\tensorflow_stub_init.py", line 25, in
from . import app  # noqa
File "D:\Anaconda3\envs\pytorch\lib\site-packages\tensorboard\compat\tensorflow_stub\app.py", line 21, in
from . import flags
File "D:\Anaconda3\envs\pytorch\lib\site-packages\tensorboard\compat\tensorflow_stub\flags.py", line 25, in
from absl.flags import *  # pylint: disable=wildcard-import
File "D:\Anaconda3\envs\pytorch\lib\site-packages\absl\flags_init_.py", line 35, in
from absl.flags import _argument_parser
File "D:\Anaconda3\envs\pytorch\lib\site-packages\absl\flags_argument_parser.py", line 82, in
class ArgumentParser(Generic[_T], metaclass=_ArgumentParserCache):
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
Can you help me to resolve it?

This is not an envpool-related issue. The traceback suggests it’s a PyTorch tensorboard issue.
The suggestion I can give is to either upgrade tensorboard and PyTorch to the newest possible version, or open an issue in their GitHub repo.


Receiving node id out range (> 256)

Is your problem within Home Assistant (Core or Z-Wave JS Integration)?
YES, BUT a Home Assistant developer has told me to come here
Is your problem within Z-Wave JS UI (formerly ZwaveJS2MQTT)?
YES, BUT a Z-Wave JS UI developer has told me to come here
Checklist

[X] I have checked the troubleshooting section and my problem is not described there.

[X] I have read the changelog and my problem was not mentioned there.

Describe the bug
What causes the bug?
Unknown.
What do you observe?
Incoming notifications with node id that are out of range (> 256).
What did you expect to happen?
Notifications coming from node id that are actually part of the network.
Steps to reproduce the behavior:

Wait 24-48 hours
Notifications start to arrive with invalid node ids.

Device information
Manufacturer: Aeotec
Model name: GEn7 USB
Node ID in your network: 1
How are you using node-zwave-js?

[X] zwave-js-ui (formerly zwavejs2mqtt) Docker image (latest)
[ ] zwave-js-ui (formerly zwavejs2mqtt) Docker image (dev)
[ ] zwave-js-ui (formerly zwavejs2mqtt) Docker manually built (please specify branches)
[ ] ioBroker.zwave2 adapter (please specify version)
[ ] HomeAssistant zwave_js integration  (please specify version)
[ ] pkg
[ ] node-red-contrib-zwave-js (please specify version, double click node to find out)
[ ] Manually built from GitHub (please specify branch)
[ ] Other (please describe)

Which branches or versions?
version:
node-zwave-js branch:
zwave-js-ui branch:
Did you change anything?
no
If yes, what did you change?
No response
Did this work before?
Don't know, this is a new device
If yes, where did it work?
No response
Attach Driver Logfile
2023-08-02T14:23:20.585Z SERIAL » 0x01030016ea                                                         (5 bytes)
2023-08-02T14:23:20.588Z DRIVER » [REQ] [SendDataAbort]
2023-08-02T14:23:20.594Z SERIAL « [ACK]                                                                   (0x06)
2023-08-02T14:23:21.094Z CNTRLR   [Node 050] ping failed: Timeout while waiting for a callback from the controll
                                  er (ZW0200)
2023-08-02T14:23:21.100Z SERIAL » 0x012200a900010032149f03ff001dfca3d98136c379e87e2ab6491874da2500000 (36 bytes)
                                  00081f7
2023-08-02T14:23:21.110Z DRIVER » [Node 050] [REQ] [SendDataBridge]
                                  │ source node id:   1
                                  │ transmit options: 0x25
                                  │ callback id:      129
                                  └─[Security2CCMessageEncapsulation]
                                    │ sequence number: 255
                                    │ security class:  S2_Authenticated
                                    └─[SupervisionCCGet]
                                      │ session id:      5
                                      │ request updates: true
                                      └─[MultilevelSwitchCCSet]
                                          target value: 255
                                          duration:     default
2023-08-02T14:23:21.117Z SERIAL « [ACK]                                                                   (0x06)
2023-08-02T14:23:21.124Z SERIAL « 0x010401a90152                                                       (6 bytes)
2023-08-02T14:23:21.128Z SERIAL » [ACK]                                                                   (0x06)
2023-08-02T14:23:21.130Z DRIVER « [RES] [SendDataBridge]
                                    was sent: true
2023-08-02T14:23:25.745Z SERIAL « 0x012300a80001711a9f037800f202ed3578af76e210bd4da39a31c26b3c69312fb (37 bytes)
                                  8c800b853
2023-08-02T14:23:25.747Z DRIVER   Dropping message because it could not be deserialized: The command class Node
                                  Provisioning is not implemented (ZW0303)
2023-08-02T14:23:25.749Z SERIAL » [ACK]                                                                   (0x06)
2023-08-02T14:23:26.810Z SERIAL « 0x011200a800011a097105000000ff07080000b063                          (20 bytes)
2023-08-02T14:23:26.812Z SERIAL » [ACK]                                                                   (0x06)
2023-08-02T14:23:26.814Z CNTRLR   [Node 2417] is unknown - discarding received command...
2023-08-02T14:23:26.817Z DRIVER « [Node 2417] [REQ] [BridgeApplicationCommand]                       [discarded]
                                  │ target node: 282
                                  └─[NoOperationCC]
                                      payload: 0x00ff07
2023-08-02T14:23:26.920Z SERIAL « 0x010d00a800011a043003ff0c00b035                                    (15 bytes)
2023-08-02T14:23:26.922Z DRIVER   Dropping message because it could not be deserialized: The command class unkno
                                  wn (0xff0c) is not implemented (ZW0303)
2023-08-02T14:23:26.927Z SERIAL » [ACK]                                                                   (0x06)

Note the node id with 2417, This is indicating some kind of data corruption.

Will be fixed in 11.9.1 (in a couple of minutes).


Intellisense for collection "a.b.c" shows as "a[]"

Create a collection "a.b.c"
type "db."

Pilot error.


Only validate partitioned db name if db is partitioned

Overview
Maybe there's already code to check whether the {partitioned, true} prop is present, but I didn't see
it. In any case, this seems like one way to do it.

Testing recommendations

$ mix test --trace test/partition_crud_test.exs:299
Including tags: [line: "299"]
Excluding tags: [:test]

PartitionCrudTest
  * test can create unpartitioned system db (218.2ms)
  * test _bulk_docs saves docs with partition key (skipped)
  * test Sets partition in db info (skipped)
  * test create database with bad `partitioned` value (skipped)
  * test _bulk_docs errors with bad partition key (skipped)
  * test _bulk_get bad partitioned document (skipped)
  * test POST and GET document (skipped)
  * test _bulk_docs errors with bad doc key (skipped)
  * test saves attachment with partitioned doc (skipped)
  * test POST and _bulk_get document (skipped)
  * test cannot create partitioned system db (skipped)
  * test PUT fails if a partition key is not supplied (skipped)
  * test POST fails if a partition key is not supplied (skipped)
  * test PUT fails for partitions with _ (skipped)
  * test PUT fails for bad partitions (skipped)
  * test _bulk_docs errors with missing partition key (skipped)
  * test PUT and GET document (skipped)

CouchTestCase

PartitionHelpers

Finished in 0.3 seconds
17 tests, 0 failures, 16 skipped

Related Issues or Pull Requests

Checklist

[x] Code is written and works correctly;
[x] Changes are covered by tests;
[ ] Documentation reflects the changes;

In my (bias) opinion it'd be cleaner to contain this logic within partition module, i.e. change  couch_partition:validate_dbname/1 to /2, pass Opts and do this check there.
Also, proplists:get_value/2 is as long as it is slow, let's use couch_util:get_value/3 as we do everywhere else :)

@eiri thanks for the suggestions! I've incorporated them into a fixup commit. Keep in mind this is Paul's development branch I'm basing this on, so he'll probably just refactor the whole think anyway 😀


handle unwrap while getting current kernel version

Closes https://github.com/aya-rs/aya/issues/1024
There is still 2 places where we still unwrap though. To handle it there might require changes to some functions that I am not sure if they should be part of this PR

I won't speak for @alessandrod but IMO logging errors is not what we want to do here. We should instead propagate those errors, probably.

I won't speak for @alessandrod but IMO logging errors is not what we want to do here. We should instead propagate those errors, probably.

IMO it's not worth polluting the API for a condition that should effectively never happen. At some point, we'll fix our errors so that they don't have 2000 variants and users can do exhaustive matches. Doing an exhaustive match on "the kernel version can't be detected" is unnecessary cognitive overhead. We should always be able to detect the kernel version and we are. There are some obscure edge cases with distros very few people use (proxmox) and in that case I think it's sufficient to warn and execute the most conservative code. Warnings are shown by default, so they're unlikely to go undetected.

Any review guys :pray:

This has merge conflicts.


View and Raw links on files in PR are broken

Refined github adds a View File and View Raw links to a file in a pull request
The URLs for these have the pattern:
https://github.com/[organisation]/[repository]/[blob]/[user]:[branch]/[path]
https://github.com/[organisation]/[repository]/[raw]/[user]:[branch]/[path]
These links don't seem to work anymore. With the extension disabled, I only get Github's own View link, which does work and points to:
https://github.com/[organisation]/[repository]/blob/[somehash]/[path]
From there you can click to raw, which points to:
https://raw.githubusercontent.com/[organisation]/[repository]/[somehash]/[path]
I'm not sure this hash is easy to come by, but if not, maybe a solution could be to link to the branch on the fork instead?
https://github.com/[user]/[repo]/tree/[branch]
https://github.com/[user]/[repo]/raw/[branch]/[path]

Thank you for the report! How ironic that a feature called fix-view-file-link-in-pr was breaking those links 😬
In the future, it's easier to just paste a real URL so I can just click it and see the bug 😄  (plus it's easier for you to report!)


Fixed a bug in date/time conversion when special input is used.

Added error handling for special input in date/time conversion.
Pull request type

Please check the type of change your PR introduces:

[x] Bugfix
[ ] New feature or enhancement
[ ] UI change (please include screenshot!)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Internationalization and localization
[ ] Other (please describe):

What is the current behavior?

Issue Number: DevToys-app/DevToys#1349
What is the new behavior?

Added error handling to DateHelper.cs. If an error occurs, return the original value.
Change Convert.ToInt32 to int.TryParse and process the error.

Other information

Translated by DeepL
Quality check
Before creating this PR:

[x] Did you follow the code style guideline as described in CONTRIBUTING.md
[x] Did you build the app and test your changes?
[ ] Did you check for accessibility? On Windows, you can use Accessibility Insights for this.
[ ] Did you verify that the change work in Release build configuration
[ ] Did you verify that all unit tests pass
[x] If necessary and if possible, did you verify your changes on:

[x] Windows
[ ] macOS
[ ] Linux

Hi,
This is awesome, thank you !


Artman code generation: emitted test code doesn't build

(copied from https://github.com/GoogleCloudPlatform/google-cloud-java/issues/2673)
I use artman to generate Java client libraries for my gRPC-based service. Specifically, I'm using the googleapis and toolkit versions from this commit: googleapis/artman@d065fbb.
The emitted production code builds and runs, but the test code doesn't compile as it's emitted. Two fixes are required to make it build:

Gradle dependencies

The following Gradle dependencies are emitted:
dependencies {
  compile project(":grpc-myproject"),
    'com.google.api:gax:1.15.0',
    'com.google.api:gax-grpc:1.15.0',
    'commons-cli:commons-cli:1.4',
    'commons-lang:commons-lang:2.6',
    // This dependency needs to be update-to-date with the version that gRPC expects.
    'io.netty:netty-tcnative-boringssl-static:1.1.33.Fork26'
}

In order to get the test code to build, I have to add dependencies on JUnit and on the test configuration of the gax-grpc library:
dependencies {
  testCompile 'junit:junit:4.11',
    'com.google.api:gax-grpc:1.15.0:testlib'
}

Mock service imports

The test code emits a mock service .java class which imports the service implementation base class from the wrong package. Specifically:
import mypackage.PackageName.MyPackageServiceGrpc.MyPackageServiceImplBase;

... has to be changed to ...
import mypackage.MyPackageServiceGrpc.MyPackageServiceImplBase;

... in order to get the test code to compile.

I am able to build and run generated unit tests from artman-generated code on the Pubsub API.
Some of the dependencies that had been emitted when this issue was filed are now present, e.g. the testCompile for gax-grpc:testlib and junit.
@kmjung is this still a problem? If so, for which API?

@andreamlin I haven't rebuilt the client code here in months. Adding @mmladenovski who has looked at this more recently.

@andreamlin , the issue #2 (described above) still exists (I was able to reproduce it today).
I can share more details offline.

@mmladenovski what's a concrete example of the second issue?

Followed up offline with @andreamlin

See https://github.com/googleapis/gapic-generator/commit/8649243b3f33f98aca17e1217841ded15fd537a2#diff-5f526d3c7a4f88ae57f1cba301706d19 for an example diff with the bug fix.
Feel free to reopen if this issue is not resolved.
We will soon update the artman Docker image to pick up the latest version of gapic-generator.


Github bot update - allow Dapr maintainers to apply labels via bot comments

Thank you for helping make the Dapr documentation better!
Please follow this checklist before submitting:

[X] Commits are signed with Developer Certificate of Origin (DCO - learn more)

In addition, please fill out the following to help reviewers understand this pull request:
Description
The bot already allows users of issues to use an "/assign" command to assign themselves an issue if they aren't assigned already. I left that functionality alone and in-place as it applies to all users and works well enough.
But this PR augments that capability. Rather than taking the approach used in other Dapr repos of lists of users, this instead uses a third-party action (I read through the source and see nothing suspicious in there) to determine whether the user that has created the comment is a member of any of the Dapr maintainer org teams.
If so, it executes a separate github-script action that only executes if the following constraints are true:

The user is a member of any Dapr organization maintainer team
The comment was made on a PR
The comment matches any of the allowed comments (listed later on)

If so, the associated label will be appended to the PR if not already present. I read through the labels available in dapr/docs and came up with the following list, which I think is reasonable for maintainers of other repos to want to use:

Slash command
Label

/do-not-merge
do-not-merge

/waiting-on-pr
waiting-on-code-pr

/missing-docs
feature-in-release-no-docs

/required
release-requirement

Finally, I have no idea how to test this out except by committing and giving it a whirl. If anyone has a clue how to otherwise test it, I'm all ears, but I can at least attest to the fact that the Firefox console had no objections to the syntax of the script.
Issue reference
N/A - raised by myself on Discord.

Don't merge this yet - replacing with another, but when we talked last week, we weren't yet entirely sure which repository to put it in, so this might be superseded by that.

keep alive

WIP

I really need to find a separate home for this as it's no longer just docs related. With luck, I'll have it done in the next couple of weeks.


Add spyOn to jest-runtime

Summary
Fixes #2534
Test plan
Added tests for this

@orta I did add the copyright header, did I miss something?

Current coverage is 64.50% (diff: 100%)

Merging #2537 into master will decrease coverage by 0.31%

@@             master      #2537   diff @@
==========================================
  Files           125        125
  Lines          4871       4924    +53
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           3157       3176    +19
- Misses         1714       1748    +34
  Partials          0          0

Powered by Codecov. Last update 17bb9ea...af58d9a

I think this is going to break because I just merged the other PR but I'll fix it up.


Add valid spdx and sarif OCI artifacts

Currently, the sbom verifier tests are pulling from two ACR repos wabbitnetworks.azurecr.io/test/sbom-image:signed and wabbitnetworks.azurecr.io/test/all-in-one-image:signed, with sboms that look like the following:
{
    "version": "<IP_ADDRESS>",
    "artifact": "libinbinacr.azurecr-test.io/notary-image:v1",
    "contents": "good"
}

We would like additional spdx artifacts that are shaped like valid sboms so that we can make updates to the sbom verifier plugin and update the tests as well without breaking the current tests. The tree would then look something like this:
wabbitnetworks.azurecr.io/test/sbom-image:signed
└── org.example.sbom.v0                <-------- new sbom
    └── sha256:69fe9b192294034f9c0bee742c8d71a197432f63da16fc7c091a1d42e72edaea
└── sbom/example
    └── sha256:ff5ace912d072e73a98637b19c2c284294998b48959de49b0fc964a43db4a053
        └── application/vnd.cncf.notary.signature
            └── sha256:fa9a0f7083b1db8d1334248085f5d7ea616408ca305849c41834839e56c6b573

And the sbom itself would look like this:

We would also like to do the same with sarif artifacts, so that we can write valid vulnerability report verifiers
To do this, the commands would look something like the following:
# Please run the following in ratify root directory
# Install sbom-tool
sudo curl -Lo sbom-tool https://github.com/microsoft/sbom-tool/releases/latest/download/sbom-tool-linux-x64 \
    && chmod +x sbom-tool \
    && mv sbom-tool /usr/local/bin/

# Install trivy
sudo curl -LO https://github.com/aquasecurity/trivy/releases/download/v0.35.0/trivy_0.35.0_Linux-64bit.tar.gz \
    && mkdir -p trivy-install \
    && tar -zxf trivy_0.35.0_*.tar.gz -C trivy-install \
    && mv trivy-install/trivy /usr/local/bin/

# Install notation
sudo curl -Lo notation.tar.gz https://github.com/notaryproject/notation/releases/download/v1.0.0-rc.1/notation_1.0.0-rc.1_linux_amd64.tar.gz \
    && tar -zxf notation.tar.gz \
    && mv ./notation /usr/local/bin/notation \
    && rm -rf ./notation.tar.gz

# Install oras
sudo curl -LO https://github.com/oras-project/oras/releases/download/v0.16.0/oras_0.16.0_linux_amd64.tar.gz \
    && mkdir -p oras-install \
    && tar -zxf oras_0.16.0_*.tar.gz -C oras-install \
    && mv oras-install/oras /usr/local/bin/

# Create temporary directory to store sbom manifests
mkdir tmp-manifest

export REGISTRY=wabbitnetworks.azurecr.io
export TRIVY_ARTIFACT_TYPE=vnd.aquasecurity.trivy.report.sarif.v1
export TRIVY_SARIF_MEDIA_TYPE=application/sarif+json
export IMAGE1=wabbitnetworks.azurecr.io/test/sbom-image:signed
export IMAGE2=wabbitnetworks.azurecr.io/test/all-in-one-image:signed

# Generate valid sbom
sbom-tool generate -b ./plugins -bc . -pn ratify -m ./tmp-manifest -pv 1.0 -ps acme -nsu ratify -nsb https://${REGISTRY} -D true -V

# Attach sbom to test/sbom-image:signed
oras attach --artifact-type org.example.sbom.v0 $IMAGE1 ./tmp-manifest/_manifest/spdx_2.2/manifest.spdx.json:application/spdx+json

# Attach sbom to test/all-in-one-image:signed
oras attach --artifact-type org.example.sbom.v0 $IMAGE2 ./tmp-manifest/_manifest/spdx_2.2/manifest.spdx.json:application/spdx+json

# Trivy scan the image
trivy image --format sarif --output ./trivy-scan.sarif $IMAGE2

# Attach scan results
oras attach --artifact-type $TRIVY_ARTIFACT_TYPE $IMAGE2 ./trivy-scan.sarif:$TRIVY_SARIF_MEDIA_TYPE

# Sign scan results
notation sign $IMAGE2@$(oras discover -o json --artifact-type $TRIVY_ARTIFACT_TYPE $IMAGE2 | jq -r ".manifests[0].digest") -k $REGISTRY

Note: we're specifying the mediaType as application/spdx+json to best match the IANA standards
cc: @binbin-li

thanks for pointing it out! I'll fix it.

Hi @binbin-li, just a heads up, I've updated this issue to also include sarif artifacts, let me know what you think

Hi @binbin-li, just a heads up, I've updated this issue to also include sarif artifacts, let me know what you think

thanks for reminder @kjeffc ! It makes sense to add to the all-in-one image to test the new verifier. I've updated both 2 images, please check if it works for you.

Hi @binbin-li, thanks for the help! The updates look good, but I forgot to ask for notary signatures on the sbom's. Sorry about that, would it be possible to sign them as well:
export IMAGE1=wabbitnetworks.azurecr.io/test/sbom-image:signed
export IMAGE2=wabbitnetworks.azurecr.io/test/all-in-one-image:signed
export SBOM_ARTIFACT_TYPE=org.example.sbom.v0

notation sign $IMAGE1@$(oras discover -o json --artifact-type $SBOM_ARTIFACT_TYPE $IMAGE1 | jq -r ".manifests[0].digest") -k $REGISTRY
notation sign $IMAGE2@$(oras discover -o json --artifact-type $SBOM_ARTIFACT_TYPE $IMAGE2 | jq -r ".manifests[0].digest") -k $REGISTRY

Awesome, thanks, everything looks good!