[SPARK-35736][SPARK-35774][SQL][FOLLOWUP] Prohibit to specify the same units for FROM and TO with unit-to-unit interval syntax.

What changes were proposed in this pull request?

This PR change the behavior of unit-to-unit interval syntax to prohibit the case that the same units are specified for FROM and TO.
Why are the changes needed?

For ANSI compliance.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

New test.

Test build #140252 has started for PR 33057 at commit 29f09df.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44781/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44781/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/44781/

Test build #140252 has finished for PR 33057 at commit 29f09df.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/140252/

Test build #140277 has started for PR 33057 at commit 95d4062.

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44808/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/44808/

+1, LGTM. GA passed. Merging to master.

Thank you, @sarutak .

Test build #140277 has finished for PR 33057 at commit 95d4062.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/140277/


Week2 Progress

SWML Week 2 project questions
For classifying product names to categories:

What precision (P@1) were you able to achieve?
0.85@P1 with pruned categories, training a model with pruned data with only ~28K product names and labels, after getting to the last step of the exercise. The increase was notable step 2 to 3 , and from 3 to 6, affecting the most the results the learning rate, the epochs, and the trimmed down dataset Full evolution goes like this:
1.- ~0.16@P1, w raw data, 1 epoch, and default learning rate, to
2.- ~0.61@P1, w raw data, 25 epochs, and learning rate set to 1.0, to
3.- 0.616@P1 with normalised data (keeping most alnum characters ,lowercasing), w 25 epochs and lr to 1.0,to
4.- 0.74@P1 with pruned data for products whose categories are present in at least 500 products, default epochs and learning rate, to
5.- 0.74@P1 with above configuration, but now with 25 epochs and learning rate set to 1,0, to
6.- 0.80@P1 with above configuration, but with training model with wordngrams set to 2
7.- 0.821@P1 with above configuration, but with training model with wordngrams set to 3, same with wordngrams set to 4, to
8.- 0.85@P1 by normalising the pruned data like in step 3, with wordngrams set to 3, epochs to 25 and learning rate to 1.0

What fastText parameters did you use? I used the ones in the exercise explanation :
epochs -> from 1 (default)  incrementally to 25. I learned that epoch increment made the most improvement on the first stage
learning rate  -> from the default one , to 1. It did not help as much but it helped increasing the precision @ 1 by a small percentage

How did you transform the product names?- I applied the command in the week 2 section 1 exercise, that removed punctuation (minus underscore characters) , lowercased letters, and trimmed spaces to just one

How did you prune infrequent category labels, and how did that affect your precision?
I used pandas for that, I created a DataFrame that grouped the name<->category pairs, and if a —min_products was passed, I filtered down the df to the ones that had equal or greater product counts. For a min_products of 500, it boiled the dataset down to 28921 product entries with their corresponding categories.

How did you prune the category tree, and how did that affect your precision?
(Did not do the optional)

For deriving synonyms from content:

What were the results for your best model in the tokens used for evaluation?

product_synonyms_model with skipgram traning, with 25 epochs and minimumCount of 100
---------------------------

headphones
earbud 0.892993
ear 0.892619
bud 0.682221

laptop
laptops 0.774181
notebook 0.757335
notebooks 0.6235

freezer
freezers 0.841545
refrigerator 0.760481
refrigerators 0.74623

nintendo
ds 0.943314
wii 0.880049
3ds 0.739917

whirlpool
maytag 0.840322
frigidaire 0.785068
biscuit 0.747542

kodak
easyshare 0.818913
canon 0.613138
photosmart 0.539153

ps2
playstation 0.790947
xbox 0.702776
psp 0.672368

razr
razer 0.844175
gaming 0.549824
geforce 0.496215
oakland 0.465064

stratocaster
roaster 0.66059
toaster 0.660496
pots 0.621303

holiday
day 0.624485
miami 0.599781
birthday 0.591433

plasma
600hz 0.69296
tvs 0.646175
televisions 0.637813
flat 0.60527

leather
recliner 0.651175
executive 0.568764
berkline 0.548568

product_synonyms with skipgram training, with no default parameters
---------------------------
headphones
headphone 0.9331
earbud 0.87707
ear 0.871433

laptop
laptops 0.840583
notebook 0.718399
laps 0.700666

freezer
freezers 0.924926
freezerless 0.910565
frost 0.82156

nintendo
nintendogs 0.961595
ds 0.905364
wii 0.876882

whirlpool
maytag 0.851012
whirl 0.844564
biscuit 0.840229

kodak
easyshare 0.873411
c813 0.746543
m763 0.743608

ps2
playstation 0.813392
psn 0.795362
2k5 0.755396

razr
krzr 0.883039
a855 0.875047
r225 0.871493

stratocaster
telecaster 0.893341
starcaster 0.878198
strat 0.842983

holiday
holidays 0.959102
thanks 0.823975
congrats 0.813394

plasma
600hz 0.874522
hdtvs 0.794404
xbr 0.790108

leather
leatherskin 0.890925
recliner 0.711402
berkline 0.664858

What fastText parameters did you use?

I used number of epochs incrementally until 25, with some effect on “Other” keywords that did not retrieve synonyms (IE stratocaster on minimumCount 100 and maxwords 0)
- minCount set to 100 helped on some words to provide synonyms related to stemming (ie freezer->freezers) but it shuffled a bit the ordering of results.

How did you transform the product names?

I did the same transformation as the one required in the activity, which is to lowercase, trim spaces, remove punctuation,and keep alnum characters

For integrating synonyms with search:

How did you transform the product names (if different than previously)?
I did not change the transformation names from the one specified in the exercise
What threshold score did you use?The threshold score I did use was 0.75 for a trained set whose epoch quantity is 25 and its miscount is equal to 100.
Were you able to find the additional results by matching synonyms?
Just found a few of them but numbers did not increase as much. Also I had timeout errors when calling to the query.py script

Just realised I created the PR pointing to Grant's repository 🤦🏻♂. Sorry for the noise @gsingers. Will close it once it's been reviewed by the course peers


Safe encode values with = in them

If a value contains a =, it will not wrap the value with quotes. This causes issues with other INI Parsers such as PHP.
Change safe to also quote values with = in them.

LGTM.  Add a test, please.

Really too busy atm, got a big deadline. I just had to quick fix this. Can you pull then someone else make a quick test pr for it?

Nope.
No patches without tests.  Sorry, this is a rule I have to stick to.  If you need to put "ini": "aikar/ini" in your package.json to depend on your github fork, then that's fine.  But I'm not going to ship something that doesn't have a test.

Added a test

Landed and published.  Thanks!


Display the name of the service operator who approved a claim

Following on from #716 - this now fetches or creates a user from the database when a user approves a claim. This is then displayed on the claim decision details like so:

If the user's details have not yet been imported, the decision details show like so:

 Display the name of the service operator who took an action


Python/Native Debugging is excruciatingly slow and it crashed VS2019

This issue has been moved from a ticket on Developer Community.

After finally updating to VS2019, one of the first things I tried was debugging our large C++ system with integrated python in the Python/Native Debugging mode. The results were that after half an hour waiting for the system to launch (which usually takes about 15s) VS2019 exited without any user interaction. The system never finished the initialization. Since there was no crash dump, or other user visible debug information, I really don't have any more data to provide to you.
I guess we're back to using print statements, log files, and possibly pdb command line for debugging.

Original Comments
Feedback Bot on 7/23/2020, 02:45 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Feedback Bot on 8/7/2020, 10:24 AM:
Thank you for sharing your feedback! Our teams prioritize action on product issues with broad customer impact. See details at: https://docs.microsoft.com/en-us/visualstudio/ide/report-a-problem?view=vs-2019#faq. In case you need answers to common questions or need assisted support, be sure to use https://visualstudio.microsoft.com/vs/support/. We’ll keep you posted on any updates to this feedback.
Feedback Bot on 10/29/2020, 11:28 PM:
I detected that this issue hasn’t received a lot of activity, votes, or comments in the past 90 days. Based on this, the issues severity and affected area, it’s my experience that this issue is unlikely to get fixed. To improve the situation, consider following best practices for quality problem reports, and giving us more details on how this issue is impacting you.
Dov Grobgeld on 10/31/2020, 11:40 PM:
Luckily since our system is cross platform, this issue doesn’t affect us that badly, as we can always use gdb with its integrated python debugging as a work around. It’s a shame though, as most of our developers are Windows only, and they’ll have to continue debugging with print’s. It’s also a shame that you release something that is so broken.

Original Solutions
(no solutions)

do you have a large number of python files as well? This can lead to slower debug times.
You could try using EventViewer to capture some more info


Implement support for columns in vimcmd_file

Something I noticed while using rg locally with --column.
Let me know what you think.

Unfortunately Lua doesn't support optional group captures in patterns sob

Yes :/ it feels so ugly to have to do so many :matches, I was going to refactor the actions anyways and send entry { file = .., bufnr = ... } etc so that it's easier and clearer how to create new actions.

I implemented this more simply using already existing code in path.entry_to_file, if the results now contain a column it will set the cursor to the exact spot, feels right :-)
Sorry I couldn't merge this but we got the solution nonetheless, take a look here https://github.com/ibhagwan/fzf-lua/commit/2ae75cba9691df07cb4a0f1981bd21ac2402c814

Not a problem, if it works it works! :)


Dead link on registry readme

Describe the issue
In the architecture section of the platform services registry readme there is a dead link: https://github.com/bcgov-c/devops-fulfillment-pipeline
Additional context
The link is meant to point to the namespace provisioning repo
Definition of done

[ ] Link points to the correct location, or is removed.

This will be fixed by the new registry


Make sed usage less GNU-specific. [phab:D2123]

Created by fromberger at 2018-01-17 21:58:03:
In the land of macOS, the ancient and venerable sed installed therein, served
as it has for aeons beyond count in valiant and faithful measure, doth not
concur with the GNU in the matter of command separators.
Forsooth! She cries: There shall be newlines.
And so there shall.

salguarnieri accepted this revision at 2018-01-17 21:59:49

fromberger closed via commit 06a8ca3398134660b2bc0d062443da677d5cada1 at 2018-01-17 22:01:14


Explicit expectations

This will help to avoid needing to inspect the tests in order to understand the expected names and structures. It should be edited by a maintainer to better fit if needed.

It would absolutely make sense to be doing this in the Swift track. The worst of the current way for me is needing to look at the test files just to know what to name various objects in the code. The least is just how much //Solution goes in Sources seems unfinished. I'll go back to this one and see how well I can fit it to the other compiled languages.

I'll go back to this one and see how well I can fit it to the other compiled languages.

Here is a C# example: https://github.com/exercism/csharp/blob/main/exercises/practice/acronym/Acronym.cs
But dynamic languages sometimes also do this. See this Clojure example: https://github.com/exercism/clojure/blob/main/exercises/practice/anagram/src/anagram.clj

I'm going to go ahead and merge this, and we can take a look at making stubs for all the exercises in a second pass.


Use params returned from /register call

Instead of using a params array from the initial html page, use the params array as returned by the /register/ call.
This will enable the Chrome app to get all of its parameters from the server instead of hard coding defaults, without adding any additional endpoints.
The most significant piece is that it required re-ordering the sequence of promises in call setup, because we needed the call to /register to happen first, so we had a params array to use in other calls. I did take into account the change today by @jiayliu to the ordering to maintain that change.
This step is in preparation for the landing page, and joining a room without requiring navigating to another page. When the browser requests /, the loadingParams can specify connect: false, and we will show the room selection UI. After they select a room, call setup proceeds as before. If the browser navigates directly to /r/#, loadingParams can specify connect: true and the call will be initiated immediately.
@jiayliu @juberti

Updated to do the following:

Web app gets params in the /r/# page load as before
Chrome app calls /params during initialization to get params
Call setup ordering restored to original

Addressed your comments in latest commit.

Updated. The connectToRoom_ method I mixed up with the subsequent change I've been working on/keeping up to date in another branch. It it fixed now how it will be used with the landing page.

lgtm

While testing loopback, I found another use of the global params. PTAL before I go ahead with this.


Empty and partially-filled metadata files from trace

My team is developing a robotic platform that runs as a hybrid ROS 1 (Noetic) and ROS 2 (Foxy) system, and I have instrumented the ROS 2 side of our system with ros2_tracing off of the foxy branch. When everything runs properly, the outputs from ros2_tracing are great, and I've been able to do some insightful analysis from the data with help from the starter scripts in tracetools_analysis.
One problem I've been running into is that approximately ~50% of the time the outputted metadata file is empty, ~25% of the time the outputted metadata file is half-filled, and ~25% of the time it seems fully populated. Since the metadata file has to be fully populated in order to analyze the trace, most of our traces have to be discarded.
I'm wondering if anyone has thoughts on what could be causing this? From the README, it states:

Note: tracing must be started before the application is launched.
Metadata is recorded during the initialization phase of the application.
This metadata is needed to understand the rest of the trace data, so if tracing is started after the application started executing, then the trace data might be unusable.

Since the Trace launch action is added at the beginning of our system's main ROS 2 launch.py launch file, I feel like we should be satisfying this requirement, but I might be wrong. I did notice that the metadata (generated from lttng?) file is populated with data when shutting down our system, rather than during the beginning/middle of operation, so perhaps everything is shutting down before lttng has an opportunity to output the data?
Any thoughts from others on this would be appreciated! Please let me know if you'd like any additional information from my side, and thanks for creating this great tool!

My team is developing a robotic platform that runs as a hybrid ROS 1 (Noetic) and ROS 2 (Foxy) system, and I have instrumented the ROS 2 side of our system with ros2_tracing off of the foxy branch. When everything runs properly, the outputs from ros2_tracing are great, and I've been able to do some insightful analysis from the data with help from the starter scripts in tracetools_analysis.

Happy to hear that!

Since the Trace launch action is added at the beginning of our system's main ROS 2 launch.py launch file, I feel like we should be satisfying this requirement, but I might be wrong.

I've always wondered if the order in the launch file guaranteed the launch order (you can still find some TODOs in the code about this), but I've personally never come across any situation where this was a problem. It could be worth looking into this again, though. Maybe this is an issue in older distros.

I did notice that the metadata (generated from lttng?) file is populated with data when shutting down our system, rather than during the beginning/middle of operation, so perhaps everything is shutting down before lttng has an opportunity to output the data?

I personally couldn't say; I would have to ask the LTTng maintainers. I've personally never had problems with shutting down the system and stopping the tracer.

Any thoughts from others on this would be appreciated! Please let me know if you'd like any additional information from my side, and thanks for creating this great tool!

Some thoughts/questions:

What LTTng version(s) are you using? E.g., lttng --version and ideally dpkg -l grep lttng.
By partial/empty metadata files, you're referring to ust/uid/$UID/64-bit/metadata under the trace directory, correct? Or are you referring to the trace data/events?

If you're referring to the trace data: how do you know that it is totally/half empty or full? Have you tried looking at the data using the babeltrace or babeltrace2 command?
Note that the metadata LTTng file and the "metadata" that I refer to in the part of the README you quoted are different things. The "metadata" I mention is the trace data that is generally in the application's initialization phase (e.g., publisher/subscription creation, etc.).

One common problem is missing events due to generating too many too quickly for the ring buffer to keep up. You can increase the buffer size to fix this: https://github.com/ros2/ros2_tracing/blob/0041e07e034538f7fa99cdcbe7c2d2c83dc1d272/tracetools_launch/tracetools_launch/action.py#L118 (if you're using Foxy, you might have to manually backport this feature or try to use tracetools_launch @ Iron with ROS 2 Foxy)
Is there a way you could create and provide a reliable-enough minimal reproducer? Without any confidential information, etc.

Thanks for the helpful response!

What LTTng version(s) are you using? E.g., lttng --version and ideally dpkg -l | grep lttng.

Output from lttng --version is lttng (LTTng Trace Control) 2.11.2 - Lafontaine
Output from dpkg -l | grep lttng:
ii  liblttng-ctl0:amd64                             2.11.2-1build1                    amd64        LTTng control and utility library
ii  liblttng-ust-ctl4:amd64                         2.11.0-1                          amd64        LTTng 2.0 Userspace Tracer (trace control library)
ii  liblttng-ust-dev:amd64                          2.11.0-1                          amd64        LTTng 2.0 Userspace Tracer (development files)
ii  liblttng-ust-python-agent0:amd64                2.11.0-1                          amd64        LTTng 2.0 Userspace Tracer (Python agent native library)
ii  liblttng-ust0:amd64                             2.11.0-1                          amd64        LTTng 2.0 Userspace Tracer (tracing libraries)
ii  lttng-modules-dkms                              2.12.5-1ubuntu2~20.04.5           all          Linux Trace Toolkit (LTTng) kernel modules (DKMS)
ii  lttng-tools                                     2.11.2-1build1                    amd64        LTTng control and utility programs
ii  python3-lttng                                   2.11.2-1build1                    amd64        LTTng control and utility Python bindings

By partial/empty metadata files, you're referring to ust/uid/$UID/64-bit/metadata under the trace directory, correct? Or are you referring to the trace data/events?
If you're referring to the trace data: how do you know that it is totally/half empty or full? Have you tried looking at the data using the babeltrace or babeltrace2 command?
Note that the metadata LTTng file and the "metadata" that I refer to in the part of the README you quoted are different things. The "metadata" I mention is the trace data that is generated in the application's initialization phase (e.g., publisher/subscription creation trace events, etc.).

Yes, I am referring to the ust/uid/$UID/64-bit/metadata file. And thanks for the clarification on that.

One common problem is missing events due to generating too many too quickly for the ring buffer to keep up. You can increase the buffer size to fix this:

Just to clarify, is this suggestion only applicable to the trace data/events, or is it applicable to the issue with the empty/partially-filled ust/uid/$UID/64-bit/metadata file? I can look into manually backporting the mentioned feature to Foxy if so and see if that helps.
Luckily our system is open source, but it may be difficult for me to put together a minimal reproducible example. If I am able to come up with a way to do so, I'll report back.

Output from lttng --version is lttng (LTTng Trace Control) 2.11.2 - Lafontaine

I would recommend upgrading to LTTng 2.13 and seeing if it helps. If you're on Ubuntu, you can use this PPA: https://launchpad.net/~lttng/+archive/ubuntu/stable-2.13. Otherwise, you have to build it from source.

Just to clarify, is this suggestion only applicable to the trace data/events, or is it applicable to the issue with the empty/partially-filled ust/uid/$UID/64-bit/metadata file?

I don't think that increasing the buffer size will help with the metadata file unfortunately.

Luckily our system is open source, but it may be difficult for me to put together a minimal reproducible example. If I am able to come up with a way to do so, I'll report back.

I would try to configure LTTng directly and see if that changes anything: https://lttng.org/docs/v2.13/#doc-controlling-tracing. If so, then it's probably an issue somewhere in ROS 2 or ros2_tracing specifically. Otherwise, we could report the issue to the LTTng maintainers.

I'll close this for now. If you're still facing this issue, let me know.


Scrolling up snaps to top of previous section.

When I scroll up, the scroll snaps to the very top of the previous section. The demo page works fine for me and scrolls to the bottom of the previous section on scroll up. Any idea what could be happening on my page?

Make sure you have the latest version of Scrollify.

@lukehaas well f*** me, that was the issue. so sorry for my lack of due diligence, & thanks so much for the amazing script!


KAFKA-13093: Log compaction should write new segments with record version v2 (KIP-724)

Convert v0/v1 record batches to v2 during compaction even if said record batches would be
written with no change otherwise. A few important details:

V0 compressed record batch with multiple records is converted into single V2 record batch
V0 uncompressed records are converted into single record V2 record batches
V0 records are converted to V2 records with timestampType set to CreateTime and the
timestamp is -1.
The KAFKA-4298 workaround is no longer needed since the conversion to V2 fixes
the issue too.
Removed a log warning applicable to consumers older than 0.10.1 - they are no longer
supported.
Added back the ability to append records with v0/v1 (for testing only).
The creation of the leader epoch cache is no longer optional since the record version
config is effectively always V2.

Add integration tests, these tests existed before #18267 - restored, modified and
extended them.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@junrao Would you be able to review this PR? I would like to include it in Apache Kafka 4.0, if possible.


Importing error

Environment:
OS: MacOSX 14.0
Node: v18.16.0
flowmap.gl: 8.0.0-alpha.26
Reproduce:
Online Playground(open in stackblitz from given react-app example)
Screenshot:

Expected Behavior:
Show the map
Actual Behavior:
flowmap data&layers cannot import
Actually I follow the repo examples in my astro app, meet the following errors.
(node:51297) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
[vite] Error when evaluating SSR module /src/components/Map.tsx: failed to import<EMAIL_ADDRESS>export { default as AnimatedFlowLinesLayer } from './AnimatedFlowLinesLayer';
^^^^^^

SyntaxError: Unexpected token 'export'

Give me some suggestions, plz🙏. By the way, are there any plans to improve the doc, which will help us build it more easily step by step.

Thanks for letting me know!
I'll consider adding "type": "module" in the next release. In the meantime you could try downgrading to 8.0.0-alpha.24.
BTW, what are you using to build your app? Webpack, CRA, Vite, esbuild or smth else?
Here's a minimal example built by Vite which works with 8.0.0-alpha.26: https://github.com/ilyabo/flowmap.gl-purejs-example
The error you see in StackBlitz is different, and is caused by the missing build step in StackBlitz config. I will fix that.

Fine, I just discovered the problem. It is not a problem with the flowmap, but the react component in my astro app is not configured for client:only rendering. For details, see https://docs.astro.build/en/reference/directives-reference/#clientonly . previous:
<Map />

to:
<Map client:only="react" />

The problem did not occur again, sorry for my mistake.


quit unexpectitly (Render frame was disposed)

[x] This is not a troubleshooting question. Troubleshooting questions go here: http://www.mattermost.org/troubleshoot/.
[x] This doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[x] I have read contributing guidelines.

Crashes on startup with "Error: Render frame was disposed before WebFrameMain could be accessed"
Also see this (same) issue on flathub: https://github.com/flathub/com.mattermost.Desktop/issues/41
Environment

Operating System: Debian 10 stable (Linux 4.19.0-18-amd64 x64), XFCE, latest upgrades (as of date of this post)
Mattermost Desktop App (flatpak) version: 5.0.0, 5.0.1 and 5.0.2
Mattermost Server version: does not matter in this case
Flatpak installation steps:
apt install -y flatpak gnome-software-plugin-flatpak && flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

Steps to reproduce
Just start Mattermost
Default flatpak start command is:
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=mattermost-flatpak --file-forwarding com.mattermost.Desktop --enable-features=WebRTCPipeWireCapturer @@u %U @@
I also tried it in a new VM with the same Debian settings.
Use this for testing:
apt update && apt upgrade
tasksel (choose xfce)
apt install -y flatpak gnome-software-plugin-flatpak && flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak install mattermost

Observed behavior
I believe there seems to be some kind of race condition going on.
If I try to start Mattermost several times, after each other, I get different behavior.
Mostly I get two different error messages, and on rare-occasions (5% of the time) it actually starts correctly!
The different error messages I get are:
Application: Mattermost 5.0.2
Platform: Linux 4.19.0-18-amd64 x64
Error: Render frame was disposed before WebFrameMain could be accessed
    at Object.n.send (electron/js2c/browser_init.js:165:413)
    at Object.b.send (electron/js2c/browser_init.js:161:2492)
    at ViewManager.fadeLoadingScreen (/app/main/resources/app.asar/index.js:60982:40)
    at ViewManager.setServerInitialized (/app/main/resources/app.asar/index.js:60999:16)
    at IpcMainImpl.handleReactAppInitialized (/app/main/resources/app.asar/index.js:60250:24)
    at IpcMainImpl.emit (events.js:376:20)
    at Object.<anonymous> (electron/js2c/browser_init.js:161:9959)
    at Object.emit (events.js:376:20)

OR:
Application: Mattermost 5.0.2
Platform: Linux 4.19.0-18-amd64 x64
Error: Render frame was disposed before WebFrameMain could be accessed
    at Object.n.send (electron/js2c/browser_init.js:165:413)
    at Object.b.send (electron/js2c/browser_init.js:161:2492)
    at TeamDropdownView.updateDropdown (/app/main/resources/app.asar/index.js:65576:29)
    at EventEmitter.<anonymous> (/app/main/resources/app.asar/index.js:65567:12)
    at EventEmitter.emit (events.js:376:20)
    at emitDropdown (/app/main/resources/app.asar/index.js:64595:18)
    at emitStatus (/app/main/resources/app.asar/index.js:64604:3)
    at emitMentions (/app/main/resources/app.asar/index.js:64583:3)
    at setSessionExpired (/app/main/resources/app.asar/index.js:64718:3)
    at IpcMainImpl.<anonymous> (/app/main/resources/app.asar/index.js:64724:3)

Hi @ServerMonkey, this is fixed in this PR: https://github.com/mattermost/desktop/pull/1886


Disallow mocks/expectations on nil values

Removes warning
Raising prevents potential false positives. Fixes one such case.
cc/ @bzwei

Ugh. I thought this was just one case. Looks like this will take more effort.

With some random PRs fixing app helper tests and #13478 this is now done!


KAFKA-14543: Move LogOffsetMetadata to storage module

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

A couple more things: conflicts need to be resolved and is it the case that LogOffsetMetadata.offsetDiff is not used?

I've rebased and either addressed or replied to the comments.

JDK 17 build passed and JDK 11 build had unrelated failures.


ModelExtensionsKt does not have load method

ISSUE_TEMPLATE
DBFlow Version: 4.2.4
Bug or Feature Request: FR but maybe both?
Description: Why doesn't ModelExtensionsKt have load?

Its in 5.0.0-alpha1 as a pure kotlin extension inside Model.kt.


Update lettuce-core to 5.1.0.RELEASE

Updates io.lettuce:lettuce-core from 5.1.0.M1 to 5.1.0.RELEASE.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a nice day!

This change requires to update some code.


[RFE] Reference documentation

Current situation
We have general documentation about the architecture and guides how to use the different gadgets, but we don't have reference documentation about the following external interfaces (both input and output):

[X] The API provided by IG that a gadget can use in the ebpf code (e.g. gadget_socket_lookup) (done here)
[ ] The format of an OCI image (partially described in the design document) that can be consumed or produced by IG
[ ] The gRPC API provided by IG that an external software could use to connect to IG (will be handled in #3310)
[ ] The Go pkg API (partially provided by https://pkg.go.dev/github.com/inspektor-gadget/inspektor-gadget but not linked from the official documentation)  (will be handled in #3310)

Impact
The documentation has a lot of guides but without reference documentation, it does not give a full picture.
Ideal future situation
The documentation includes reference documentation about the points above.
Implementation options

Add docs in the docs/ directory

Additional information
See also:

[EPIC] docs: Improve structure #1184
OpenSSF Best Practices about documentation

https://www.bestpractices.dev/en/projects/7962

@alban  do you think the current content in https://www.inspektor-gadget.io/docs/latest/spec/oci fixes "The format of an OCI image (partially described in the design document) that can be consumed or produced by IG"?
Also, I decided to put that document under "specification", do you have a better idea for its location?

@alban do you think the current content in https://www.inspektor-gadget.io/docs/latest/spec/oci fixes "The format of an OCI image (partially described in the design document) that can be consumed or produced by IG"?

It is partially good, but it could be completed with links:

Gadget metadata: add link to https://www.inspektor-gadget.io/docs/latest/gadget-devel/metadata
The ebpf layer: add link to https://www.inspektor-gadget.io/docs/latest/gadget-devel/gadget-ebpf-api
The wasm layer: add link to https://www.inspektor-gadget.io/docs/latest/gadget-devel/gadget-wasm-api-raw

Also, I decided to put that document under "specification", do you have a better idea for its location?

I think that's fine.
But the reference section looks weird to me now. It includes installation instructions which are more user documentation than reference documentation. Maybe we need a user documentation section?

It is partially good, but it could be completed with links:

Opened #3420

But the reference section looks weird to me now. It includes installation instructions which are more user documentation than reference documentation. Maybe we need a user documentation section?

I'm not sure. What's the meaning of reference? This seems related to this discussion https://github.com/inspektor-gadget/inspektor-gadget/pull/3406#issuecomment-2315844929


The templates path is now set in the JSON config file

Remove setting the template path a second time from the PY config files

Closing as outdated


fix(test): run tests in order with Chrome no sandbox

--no-sandbox fixes Chrome errors in Github Actions.

Thanks for the fixes, they look good to me.  @igoroctaviano maybe you could have a look?

@PaulHax sorry for the late response. I tried it now locally and got this error:
Chrome Headless 78.0.3882.0 (Mac OS 10.16.0) ERROR: 'DEPRECATION: describe with no children (describe() or it()) is deprecated and will be removed in a future version of Jasmine. Please either remove the describe or add children to it.
    at <Jasmine>
    at http://localhost:9876/base/test/test.js?71a8d15ac6ab6047b622a7c442bffb2a7ad1550b:24:1
Note: This message will be shown only once. Set the verboseDeprecations config property to true to see every occurrence.'

Chrome Headless 78.0.3882.0 (Mac OS 10.16.0) ERROR
  An error was thrown in afterAll
  ReferenceError: DICOMwebClient is not defined
      at Proxy.<anonymous> (test/test.js:25:15)
      at <Jasmine>
      at test/test.js:24:1
Chrome Headless 78.0.3882.0 (Mac OS 10.16.0): Executed 0 of 0 ERROR (0.005 secs / 0 secs)

Can you please update with master and check if this error is reproducible on your side?

Hi @igoroctaviano
Thanks for the checking.  Everything here got address in https://github.com/dcmjs-org/dicomweb-client/pull/78 so I will close this PR.


Add type hints for base58.py

TLDR: This add type hints to base58.py, as well as some basic tests and a Travis job that runs mypy.
This adds some simple base58 tests (copied from the Bitcoin Core repo), type hints for base58.py and a Travis job that runs mypy on base58.py. I started with base58.py to keep everything self contained.
mypy was added as a dev dependency using poetry add mypy --dev.
Given that the project is using > Python 3.6, we can also take advantage variable type annotations.
Just opening as a draft for some concept level discussion. If there is interested then more anntotations can be added, and the Travis mypy scope increased. If we are happy to add type annotations here, then I'll PR the same changes to any upstream libraries, i.e bech32.py.
Another good reference for type hints is: https://mypy.readthedocs.io/en/latest/cheat_sheet_py3.html

Approach ACK!
Can't go wrong with more type annotations.

Concept Ack

@fanquake can you force push a trivial change when you're released from Travis prison? git commit --amend --date "$(date)" should do the trick.

@Sjors I've force pushed a change.

The project is actually listed as allowing Python 3.5.6, so I believe this would break that. However I wouldn't be opposed to bumping the minimum to 3.6.
Also needs rebase.

Will rebase once #246 and #247 are in.

Concept ACK: Python without type hints is like driving without a safety belt :-)
(Like C++ without the sanitisers or static analysis!)

Tried using Python 3.5.6, our current minimum, and got:
Traceback (most recent call last):
  File "./run_tests.py", line 7, in <module>
    from test_base58 import TestBase58
  File "/home/andy/bitcoin/HWI6/test/test_base58.py", line 12
    TEST_VECTORS: List[Tuple[str, str]] = [
                ^
SyntaxError: invalid syntax

Tried using Python 3.5.6, our current minimum, and got:

If you're still happy to bump the minimum Python version to 3.6.x, I can do that here. Otherwise I can propose it in a separate PR?

Rebased for #261 & #262.

ACK b739f38435f3792ba00f45edf824db56e169ede1

ACK b739f38435f3792ba00f45edf824db56e169ede1


How to Edit the Config...

I am new to VS Code so it may just be me... but I did not see anywhere in your details as to how to edit an existing config nor where that config would be.  So I pressed generate a config and it seems to have overwritten my working config.  Sigh.  So some documentation on how to do that would be handy.  Cheers.

I see the file now... it is in a .vscode/pro-deployer.json directory....

Yes, the config file location is: .vscode/pro-deployer.json


implement data-parallel inference and up version

Fixes https://github.com/qdrant/fastembed/issues/14


after cmd+shift+e not split it?

When i use the keys to complate my code like this table>(thead>tr>th5)+(tbody>tr>td5)  its complate it on online linje, not its not optimise it on every line so its readable.
i think this is a missatek?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28982252-after-cmd-shift-e-not-split-it?utm_campaign=plugin&utm_content=tracker%2F535900&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F535900&utm_medium=issues&utm_source=github).

Its working in the new update! :+1:  thanks a lot! :)


ImportError: cannot import name 'download_url_to_file' from 'torch.hub'

After I configured the environment and prepared to run the code, the following problems occurred. I don't know where the problem is
Traceback (most recent call last):
File "./tools/train.py", line 8, in
import mmcv
File "/home/fuwuqi/test/anaconda3/envs/mm2/lib/python3.7/site-packages/mmcv/init.py", line 4, in
from .fileio import *
File "/home/fuwuqi/test/anaconda3/envs/mm2/lib/python3.7/site-packages/mmcv/fileio/init.py", line 2, in
from .file_client import BaseStorageBackend, FileClient
File "/home/fuwuqi/test/anaconda3/envs/mm2/lib/python3.7/site-packages/mmcv/fileio/file_client.py", line 15, in
from mmcv.utils.misc import has_method
File "/home/fuwuqi/test/anaconda3/envs/mm2/lib/python3.7/site-packages/mmcv/utils/init.py", line 40, in
from .hub import load_url
File "/home/fuwuqi/test/anaconda3/envs/mm2/lib/python3.7/site-packages/mmcv/utils/hub.py", line 19, in
from torch.hub import HASH_REGEX, _get_torch_home, download_url_to_file
ImportError: cannot import name 'download_url_to_file' from 'torch.hub' (/home/fuwuqi/test/anaconda3/envs/mm2/lib/python3.7/site-packages/torch/hub.py)
No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'

No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'

Please check whether you have successfully installed CUDA in your environment. Seems this is a CUDA error.

No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'

Please check whether you have successfully installed CUDA in your environment. Seems this is a CUDA error.

I dealt with this problem, but there are still problems
ImportError: cannot import name 'download_url_to_file' from 'torch.hub

I have the same problem.

The version of pytorch may be too low. Before 1.2.0 there is no download_url_to_file in torch.hub. Please upgrade pytorch.

This pr will be closed. Feel free to repoen this pr if you have any questions.


Feature/improve metrics

This PR adds:

More metrics (e.g. more types of F1) to attack and utility scripts
Code to summarise results and plot them
Code tidying up
Better readme

Added the report and some changes in the readme, @kasra-hosseini feel free to merge when you review.


About Documentation

I think this issue needs more details and, if possible, a quick guide on how to handle the documentation for this project


Icon component should be less opinionated

Remove preset flex-based CSS
Remove auto-conversion to accessible button (let consumers handle this on their own terms).

Resolved in b99d31630d6ea11d8d640a63c938ed99ca9267ae and 101f5bce9dd37d30bcf01ca822fa3aa60917b303


Convert video tags to links

Currently, node-html-to-text ignores video tags. This PR adds support for video tags similar to img tags.
So if a video is encountered in either of these formats, with a src attribute or source tag...
<video src="http://example.com/a.mp4">

<video>
  <source src="http://example.com/a.mp4">
<video>

...it will output a bracketed link to the video:
[http://example.com/a.mp4]

It also adds an ignoreVideo option that works the same way as ignoreImage.
This would resolve issue #103.
My team is finding your library very useful. Thanks for creating it!

Thanks for your pull request. Before I can accept it I need some unit tests for the new feature. Please add some test cases to the test/html-to-text.js file.


https://arxiv.org/html/2410.19729v1

Description
Forgive me but I think the year given between authors and abstract in HTML differs from the year given above the title, 2022 vs 2024.
(Optional:) Please add any files, screenshots, or other information here.
No response
(Required) What is this issue most closely related to? Select one.
Choose One
Internal issue ID
a2be520b-76bf-4688-b88d-608b36403724
Paper URL
https://arxiv.org/html/2410.19729v1
Browser
Firefox/115.0
Device Type
Desktop

Thank you for the report. This appears to be an oversight in the submission and needs a correction by the authors - same behavior in PDF and HTML.
Please let the authors know directly, as this repository only tracks issues with the experimental HTML format.


pre-built index files issue

We downloaded the pre-compiled index file and tried to run with the files in the example folder. It did not produce expected results, an empty output file. We also tried with our own data, Illumina and ONT, still same empty outputs. We don't see any error messages. Can you get some help on this? Any ideas on the possible cause of this issue? Many thanks.

What was your running command?

the pre-compile index is the one from Zenodo, https://zenodo.org/records/10023239.
centrifuger 1.0.4 is loaded as a module
the cmd:
module load centrifuger/1.0.4
centrifuger -1 example_1.fq -2 example_2.fq -x /share/databases/centrifuger/db/cfr_hpv+gbsarscov2 > example.tsv
many thanks!

What is the output on the screen, Like finishing load of index? How much memory did you allocate for this job? You may need at least about 50G memory to classify against this database. If it is not the memory issue, can you use centrifuger-inspect (if it is in the module) with --summary to see whether it can read in the index file?

no, I also tried with reference provided in the example folder and build the index from it. It works.
centrifuger -1 example_1.fq -2 example_2.fq -x cfr_ref_idx > example_example_index.tsv
[Tue Sep 17 13:13:03 2024] Centrifuger v1.0.4-r153 starts.
[Tue Sep 17 13:13:03 2024] Finishes loading index.
[Tue Sep 17 13:13:03 2024] Inferred --min-hitlen: 23
[Tue Sep 17 13:13:03 2024] Centrifuger finishes.
use the command above, just one line output,
[Tue Sep 17 13:19:37 2024] Centrifuger v1.0.4-r153 starts.
-only one line of the output, no msg for loading the index.
(copied outputs from yersterday's chat with our Linux administrator who has been helped me to get this up running, )

I think the index loading step failed. This could happen due to not enough memory is allocated and the job is killed.

thank a lot!
we just tried all centrifuger-inspect commands, no outputs from any of the cmd, i.e.,
centrifuger-inspect --summary -x  share/databases/centrifuger/db/cfr_hpv+gbsarscov2 >
how to set memory in centrifuger? Our Linux administrator noticed it in centrifuger-build.Here is a prebuilt index, how do set it when run centrifuger ?

Hmmm, the memory usage should be quite low when running centrifuger-inspect with --summary. So the issue probably is not relate to memory. Can you show me the sizes of the index files you downloaded?

total 48044504
-rw-r--r-- 1 root root<PHONE_NUMBER>1 Sep 16 04:55 cfr_hpv+gbsarscov2.1.cfr
-rw-r--r-- 1 root root     5054329 Sep 16 07:37 cfr_hpv+gbsarscov2.2.cfr
-rw-r--r-- 1 root root     1514688 Sep 16 07:37 cfr_hpv+gbsarscov2.3.cfr
does it help?

The files look fine to me. This is very strange.

we just tried all centrifuger-inspect commands, no outputs from any of the cmd, i.e.,
centrifuger-inspect --summary -x share/databases/centrifuger/db/cfr_hpv+gbsarscov2`

The "share/databases/centrifuger/db/cfr_hpv+gbsarscov2" misses a "/" in the beginning. Is it a typo here or a typo when you ran centrifuger-inspect?

gbsarscov2" misses a "/" in the beginning. Is it a typo here or a typo when you ran centrifuger-inspect?

All sorted - we were running it as a conda env inside a singularity container and the wrapper script had a symlink in it that wasn't being followed.
--Russell  (Linux admin)

oh, a typo, sorry, Not the path I used to run the cmd.

thank you both for all the help here. Really appreciated!

I'll close this issue for now. Feel free to reopen it or create another thread if you find any issues with Centrifuger.


implementing reverse slider feature

This is related to https://github.com/VEuPathDB/web-eda/issues/1605.
I missed the latest comment on the ticket so I thought we needed a reverse slider. This is the reason why I implemented a new feature, reverse slider, which can be used if necessary. It is not bad to have this feature, I suppose 😄
To utilize a reverse slider, two settings should be changed.
a) isReverseSlider: true (default is false)
b) change trackGradientStart and trackGradientEnd to reflect appropriate colors
Added a story at Slider.stories.tsx to take a look at how it works.
A screenshot is attached.

@jernestmyers if you have time, it would be great if you can review this PR 👍

I'm struggling to think of a use-case for this reversed state. To that end, I'd rather defer to other folks to see if they can imagine a use-case for these changes. If not, then I'd suggest we scrap it. If so, we can approve and move forward.

@jernestmyers Thank you for your review and suggestion! 👍 Actually the original ticket strongly requested to have the reverse slider for marker opacity: see this (https://github.com/VEuPathDB/web-eda/issues/1487#issuecomment-1380784054) and https://github.com/VEuPathDB/web-eda/issues/1605. Things were changed during I suffered from sickness in the end of Jan. that Danica just wanted to remain the slider as is. I found her comment late, after implementing the feature of reverse slider.
Honestly I am not quite sure whether they want to go back to the reverse slider or not. If you think this is overkill, then perhaps we can just switch this PR to draft one. The corresponding web-eda PR (https://github.com/VEuPathDB/web-eda/pull/1606) does not necessarily need this PR if a normal slider is used.

Yeah, I think we should ask those involved in the request if they can envision us wanting this option in the future. The code itself looks great, I just want to be sure we have a need for this behavior first!

Sounds great @jernestmyers 👍 Perhaps we can leave this as is for the time being as this is not essential part of b62 anyway 😄  I will ask them about it at the original ticket's comment


A/B testing demo

PR from branch main-* will deploy static preview channel on Firebase Hosting with fixed ID (branch name) and 30d (max) expiration.


Can you please add the MIT license for the repo?

Thanks for the great work!
I noticed the repo doesn't have a license file yet, can you please add the MIT license file? Thanks!

Thanks ! It's done !


[WIP] Replace abc calls with lakeroad calls in abc pass

TODO: Should probably have lakeroad-pass branch as its base branch.
For our eval, I would like to hack the abc path in yosys, which currently portions up a design and calls abc on those design snippets. I would instead like to call Lakeroad on those snippets. This PR records my exploration, trying to figure out just how to do this.

We can print out the .blif that Yosys generates and passes to abc. We get things like:
.model netlist
.inputs ys__n0 ys__n1 ys__n3 ys__n4 ys__n6 ys__n7 ys__n9 ys__n10 ys__n12 ys__n13 ys__n15 ys__n16 ys__n18 ys__n19 ys__n21 ys__n22
.outputs ys__n2 ys__n5 ys__n8 ys__n11 ys__n14 ys__n17 ys__n20 ys__n23
# ys__n0     \a [0]
# ys__n1     \b [0]
# ys__n2     $and$tmp.v:6$1_Y [0]
# ys__n3     \a [1]
# ys__n4     \b [1]
# ys__n5     $and$tmp.v:6$1_Y [1]
# ys__n6     \a [2]
# ys__n7     \b [2]
# ys__n8     $and$tmp.v:6$1_Y [2]
# ys__n9     \a [3]
# ys__n10    \b [3]
# ys__n11    $and$tmp.v:6$1_Y [3]
# ys__n12    \a [4]
# ys__n13    \b [4]
# ys__n14    $and$tmp.v:6$1_Y [4]
# ys__n15    \a [5]
# ys__n16    \b [5]
# ys__n17    $and$tmp.v:6$1_Y [5]
# ys__n18    \a [6]
# ys__n19    \b [6]
# ys__n20    $and$tmp.v:6$1_Y [6]
# ys__n21    \a [7]
# ys__n22    \b [7]
# ys__n23    $and$tmp.v:6$1_Y [7]
.names ys__n0 ys__n1 ys__n2
11 1
.names ys__n3 ys__n4 ys__n5
11 1
.names ys__n6 ys__n7 ys__n8
11 1
.names ys__n9 ys__n10 ys__n11
11 1
.names ys__n12 ys__n13 ys__n14
11 1
.names ys__n15 ys__n16 ys__n17
11 1
.names ys__n18 ys__n19 ys__n20
11 1
.names ys__n21 ys__n22 ys__n23
11 1
.end

for an 8-bit and. We could synthesize against this. We could even use the comments in this file to figure out how to set up the sketch---e.g. the comments here tell us that we have 8-bit inputs a and b, and an 8-bit output.

Questions to answer:

can we easily convert .blif to .btor with Yosys, and thus use it as input to Lakeroad?
can we easily logically group together inputs and outputs so that we can use our existing sketches?

What I'm trying to figure out now is whether or not we can easily output the module not as .blif but as something else.
I'm also trying to figure out if this pass works at all like I thought it did. I.e. does it break up a larger module into smaller modules that it then calls abc on? I can't actually tell if it does that breaking-up step.

Stopping for now, because I'm realizing that, to figure out how this pass is actually working under the hood, I should really be running it on sizable designs. I will then be able to see whether it's actually splitting up the design into snippets or not. So I'm going to switch to collecting more benchmarks.


bug: batch reference to links_info

This is handled at PR https://github.com/Genesis-Embodied-AI/Genesis/pull/238

Oh, thanks!

@zswang666 feel free to merge, i think we are good

PR https://github.com/Genesis-Embodied-AI/Genesis/pull/238 merged


fix: fix incorrect label passed to ipc protocol

closes #11171

needs https://github.com/tauri-apps/wry/pull/1384

needs wry 0.46 - https://github.com/tauri-apps/wry/pull/1387


Quark doesn't check usage against declared type

Quark compiles the following code into all three languages:
void main() {
    int i=0;
    while (i<2.5) {
        i=i+0.5;
        print(i.toString() + ": Hello World!");
    }
}

The generated Python and Javascript work, treating i as a float and printing 0.5, 1, 1.5, etc.
The generated Java code throws errors because it wants i to be an integer:
$ javac Functions.java
Functions.java:5: error: incompatible types: double cannot be converted to Integer
            i = (Integer) ((i) + (0.5));
                          ^
1 error

This has been fixed. This now results in a type error.


Workaround for spiffe/spire#3032

This is a workaround for https://github.com/spiffe/spire/issues/3032 to eliminate the occasional spire-agent restarts when the trust bundle file is not ready to be parsed.
An additional init container in spire-agent pod waits for the trust bundle to be in place.
It checks if the file exists or not, if it is not there the init sleeps a second and checks again.
It repeats 5 times before init container returns with completed status.
Usually, just to start a second init container is enough because during my previous measurements, trust bundle gets in place within 0.1 second. So, the 5 times repetition with 1 second sleep must be more than enough.
If there will be a solution at SPIRE side that handles the bundle config map in event-driven way then this workaround can be removed, but it does not make any harm if kept.

I like this as an interim approach a lot.  Its:

Small and clean
Only impacts the spire-agent startup
Super simple to remove when we get a better solution
Not all that bad by itself ;)

Isn't this just checking for the presence of that file within the init container and eventually timing out every time?

@jbhester Sort of.  See https://github.com/networkservicemesh/deployments-k8s/pull/6583
At it's root, this was an ordering bug where spire agent was grumpy if something hand not already happened before it ran.
The init container and the file check are waiting until that event occurs and then proceeding to start the spire agent after it.
No longer recall all the details, but I suspect this was a stop gap until spire could fix it upstream.

Right, I think we were having the same issue which led us to this.  The trust bundle configmap had not been updated by the server yet which was causing the agent to crash.  I think for this workaround to work as intended you also need to mount the configmap volume in the init container.  I suspect if you changed this timeout to say 5 or 10 minutes you'd notice the issue.

@szvincze Thoughts?

@jbhester your comment is correct, the spire-bundle volume needs to be mounted then it will not iterate until timeout.
I had two versions, one with a simple sleep in the init container and the other was the current one liner, but I lost the volume mount somewhere between the two versions...
We haven't observed the issue anymore even when used this incomplete workaround because as I described here it seems it is enough to have an interrupt for 1 second after the first init container completed then the configmap will be in place.
When I tested with a spire-agent that contained a retry mechanism, according to my measurements it took maximum 0.2s to have the configmap updated and accessible.
I sent a new PR with the mentioned volume mounted and increased retries.


Fix broken remote build of docs

The last PR (#207) seems to have broken just the remote build of the docs. Error from readthedocs:
Processing /home/docs/checkouts/readthedocs.org/user_builds/causalpy/checkouts/latest
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Installing backend dependencies: started
  Installing backend dependencies: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting arviz>=0.14.0 (from CausalPy==0.0.13)
  Downloading arviz-0.15.1-py3-none-any.whl (1.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 110.4 MB/s eta 0:00:00
Collecting graphviz (from CausalPy==0.0.13)
  Downloading graphviz-0.20.1-py3-none-any.whl (47 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.0/47.0 kB 216.5 MB/s eta 0:00:00
Collecting ipython!=8.7.0 (from CausalPy==0.0.13)
  Downloading ipython-8.14.0-py3-none-any.whl (798 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 798.7/798.7 kB 210.4 MB/s eta 0:00:00
Collecting matplotlib>=3.5.3 (from CausalPy==0.0.13)
  Downloading matplotlib-3.7.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.6/11.6 MB 149.1 MB/s eta 0:00:00
Collecting numpy (from CausalPy==0.0.13)
  Downloading numpy-1.24.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.3/17.3 MB 55.4 MB/s eta 0:00:00
Collecting pandas (from CausalPy==0.0.13)
  Downloading pandas-2.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.3/12.3 MB 229.2 MB/s eta 0:00:00
Collecting patsy (from CausalPy==0.0.13)
  Downloading patsy-0.5.3-py2.py3-none-any.whl (233 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 233.8/233.8 kB 278.8 MB/s eta 0:00:00
Collecting pymc>=5.0.0 (from CausalPy==0.0.13)
  Downloading pymc-5.5.0-py3-none-any.whl (448 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 448.4/448.4 kB 274.5 MB/s eta 0:00:00
Collecting scikit-learn>=1 (from CausalPy==0.0.13)
  Downloading scikit_learn-1.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.6/9.6 MB 184.8 MB/s eta 0:00:00
Collecting scipy (from CausalPy==0.0.13)
  Downloading scipy-1.10.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.4 MB)
     ━━━━━━━━━╸                               8.4/34.4 MB 174.4 MB/s eta 0:00:01
ERROR: Exception:
Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher
    yield
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 561, in read
    data = self._fp_read(amt) if not fp_closed else b""
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 527, in _fp_read
    return self._fp.read(amt) if amt is not None else self._fp.read()
  File "/home/docs/.asdf/installs/python/3.10.8/lib/python3.10/http/client.py", line 465, in read
    s = self.fp.read(amt)
  File "/home/docs/.asdf/installs/python/3.10.8/lib/python3.10/socket.py", line 705, in readinto
    return self._sock.recv_into(b)
  File "/home/docs/.asdf/installs/python/3.10.8/lib/python3.10/ssl.py", line 1274, in recv_into
    return self.read(nbytes, buffer)
  File "/home/docs/.asdf/installs/python/3.10.8/lib/python3.10/ssl.py", line 1130, in read
    return self._sslobj.read(len, buffer)
TimeoutError: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 169, in exc_logging_wrapper
    status = run_func(*args)
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 248, in wrapper
    return func(self, options, args)
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 377, in run
    requirement_set = resolver.resolve(
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve
    result = self._result = resolver.resolve(
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve
    state = resolution.resolve(requirements, max_rounds=max_rounds)
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 427, in resolve
    failure_causes = self._attempt_to_pin_criterion(name)
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 239, in _attempt_to_pin_criterion
    criteria = self._get_updated_criteria(candidate)
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 230, in _get_updated_criteria
    self._add_to_criteria(criteria, requirement, parent=candidate)
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria
    if not criterion.candidates:
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__
    return bool(self._sequence)
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__
    return any(self)
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in <genexpr>
    return (c for c in iterator if id(c) not in self._incompatible_ids)
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built
    candidate = func()
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link
    self._link_candidate_cache[link] = LinkCandidate(
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__
    super().__init__(
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__
    self.dist = self._prepare()
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare
    dist = self._prepare_distribution()
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution
    return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 516, in prepare_linked_requirement
    return self._prepare_linked_requirement(req, parallel_builds)
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 587, in _prepare_linked_requirement
    local_file = unpack_url(
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 166, in unpack_url
    file = get_http_url(
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 107, in get_http_url
    from_path, content_type = download(link, temp_dir.path)
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_internal/network/download.py", line 147, in __call__
    for chunk in chunks:
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_internal/cli/progress_bars.py", line 53, in _rich_progress_bar
    for chunk in iterable:
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_internal/network/utils.py", line 63, in response_chunks
    for chunk in response.raw.stream(
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 622, in stream
    data = self.read(amt=amt, decode_content=decode_content)
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 560, in read
    with self._error_catcher():
  File "/home/docs/.asdf/installs/python/3.10.8/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/home/docs/checkouts/readthedocs.org/user_builds/causalpy/envs/latest/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 443, in _error_catcher
    raise ReadTimeoutError(self._pool, None, "Read timed out.")
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

False alarm. Was a readthedocs issue. Successfully build when manually triggered.


Re-initialise after a destroy

Used jQuery.removeData instead of delete to allow re-initialisation of the datetime picker for the same element.
I ran into a problem where I was unable to re-initialise a picker after destroying it. The delete keyword leaves the data in a weird state. Instead, if we use removeData, it works fine.

Hi,
I modified js/bootstrap-material-datetimepicker.js as explained.
Destroy seems to work BUT...
I use the picker in french format (DD/MM/YYY).
After Destroy and re-init, the date format stays YYYY/MM/DD and the language in EN !!!???
(I need to re-init to change time from false to true or true to false depending on user choice)
Do I forget something or is it a result of jQuery.removeData?
Thanks for your help and your work on this helpful package
$(".myDatepicker").bootstrapMaterialDatePicker('destroy');
$(".myDatepicker").bootstrapMaterialDatePicker({
			format : 'DD/MM/YYYY',
			time: false,
			lang : 'fr',
			weekStart : 1,
			okText : 'Ok',
			cancelText : 'Annuler',
			switchOnClick : true
		});

I ran through the same issue whereby the timepicker was set to false initially but after destroy the timepicker appears.
I ran through the main js to set the default values of the params part setting the time: false etc...
For your issue, I suggest setting the lang to fr by default in the main js


[Event hubs] Separate event hubs tests into public and internal and enable min-max tests

For detailed information on what we are doing in mim-max testing read this blog - https://devblogs.microsoft.com/azure-sdk/testing-semver-dependency-ranges/

[x]  Segregate the test files into internal and public folders. Code separation done where required to increase the coverage for min-max tests.

[x] Enable Min max testing and solve any complications with it

[x] Ensure the number of tests run in min-max = no of tests in the public folder

@richardpark-msft  @chradek  Live min-max tests passed woohoo!! https://dev.azure.com/azure-sdk/internal/_build/results?buildId=648059&view=logs&j=458fae0f-1dd6-5242-ab00-2d189819d1f1

/azp run js - eventhubs-client - tests

/azp run js - eventhubs-client - tests

/azp run js - eventhubs-client - tests

Max tests pass, min fails - https://dev.azure.com/azure-sdk/internal/_build/results?buildId=698908&view=logs&j=458fae0f-1dd6-5242-ab00-2d189819d1f1

Max tests pass, min fails - https://dev.azure.com/azure-sdk/internal/_build/results?buildId=698908&view=logs&j=458fae0f-1dd6-5242-ab00-2d189819d1f1


[BUG] - You must enter a filter object with at least one key-value pair.

Describe the bug
You must enter a filter object with at least one key-value pair.
To Reproduce
Build a chatbot with LLAMAIndex and Pinecone

Go to '.
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Screenshots attached
Flow
attacehd
Setup

Installation [Render`, `pnpm start`]
Flowise Version [e.g. 2.2.2]
OS: [Linux]
Browser [chrome]

Additional context
Only happens with the combination of LLAMAINDEX and Pinecone. I have built other workflows and the issue does not occur

Practitioner - COPY Chatflow.json

Hi @HenryHengZJ,
I would like to work on this issue. Could you please assign it to me if it's available?
Let me know if there are any specific guidelines or requirements I should follow while addressing this issue.
Thanks

Hi,
I'm also experiencing the same bug, all my pinecone chatbots are giving this "You must enter a filter object with at least one key-value pair." and I have a paid subscription with Pinecone and many chatbots. Llamaindex and pinecone

Experiencing same here, Pinecone is unusable at the moment in Flowise


Branch solution action failing on create-solution-pr in IL5 environment

Hi, I am troubleshooting an issue where the branch-solution action is failing in an IL5 environment. This is simply for testing Power Platform actions on GH in DoD using the tutorial .
I was hoping to confirm that the action should not have any issues running in IL5 on a GitHub Enterprise server. Is there any reliance on github.com?
Using V1 Power Platform Actions

Source code for branch solution is here: https://github.com/microsoft/powerplatform-actions/blob/main/src/actions/branch-solution/index.ts
It looks like the action needs to open interactive authentication window maybe for multi factor authentication.

Let me review and see if I can run some additional testing. Thank you!


Minor README tweak: prioritized 'advise' command

Moved conversion:advise to the top so users start there, as they should.
Typo fixed.

Thanks!


Build error - routes/index.jsx cannot be resolved

File present in the location but error says its not present

Sorry my bad, the issue is for Material React kit and opened it on HTML version, will post on the correct repo.


Outdated information

Can this document be updated with the latest service bus java api?

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

ID: f0bd1414-d29f-fe3b-503f-365692c77ca5
Version Independent ID: 8627b318-bd95-0176-bfd5-6cb20f661692
Content: How to use Azure Service Bus queues with Java
Content Source: articles/service-bus-messaging/service-bus-java-how-to-use-queues.md
Service: service-bus-messaging
GitHub Login: @sethmanheim
Microsoft Alias: sethm

@reinaudvr Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

@SaurabhSharma-MSFT Thanks, looking forward to the updated documentation

@reinaudvr Thank you for the feedback, we appreciate it. This item has been planned for some time, so it is definitely on our backlog.

+1 Any updates on the updated documentation of new service bus and service-bus management APIs? it would be really helpful.

@reinaudvr No updates at this time. Thank you for reaching out! #please-close


input on snippet placeholder not show IntelliSense

VSCode Version: 1.26.1
OS Version: win10 1803 17134.228

Steps to Reproduce:

input any snippet which has placeholders
input on placeholder, my input word would have gray background color and not show IntelliSense

Does this issue occur when all extensions are disabled?: Yes

We have a new setting for that, it is  "editor.suggest.snippetsPreventQuickSuggestions": false, and enables/disables quick suggestions when inserting snippets


⚠ Turnos 24x7 has degraded performance

In 50041df, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 965 ms

Resolved: Turnos 24x7 performance has improved in fd8ef59.


Talent: Cantor

"Heart of Glass" introduces a new talent "Cantor".
I'm wondering whether this is already fully supported by the system? If not, by when?

The complexity required isn't really worth the effort and time, and it generally can be manually dealt with well enough.


Psmith/swift4.2

Is there a reason the default scaleMinimum and scaleDivisor were changed? When I upgraded to Swift 4.2 it took me some time to figure out why the spacing in my carousel was off. I overrode the changes in my subclass to use the previous defaults for those properties, and it looks like it's all working; just curious if I need to look out for any issues. Thanks!

Thanks for pointing this out @rausnitz. I have just released v2.4.1, undoing the unintentional changes which you pointed out. 👍🏼


library not working with minSdkVersion 19

Issue / Feature - Not able to use the library if minSdkVersion is 19
FolioReader version -  0.5.1
FolioReader Stock / Modified -  Stock
Android SDK - 28
Mobile / Tablet / Emulator Info -  Mobile
Crash / Error - * What went wrong:
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.

com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/0.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/1.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/2.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/3.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/4.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/5.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/6.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/7.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/8.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/9.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/10.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/11.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/12.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/13.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/14.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/15.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/16.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/17.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/18.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/19.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/20.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/21.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/22.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/23.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/24.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/25.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/26.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/27.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/28.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/29.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/30.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/31.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/32.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/33.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/34.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/35.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/36.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/37.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/38.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/39.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/40.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/41.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/42.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/43.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/44.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/45.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/46.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/47.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/48.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/49.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/50.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/51.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/52.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/53.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/54.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/55.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/56.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/57.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/58.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/59.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/60.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/61.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/62.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/63.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/64.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/65.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/66.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/67.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/68.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/69.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/70.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/71.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/72.jar, /home/anurag/AndroidStudioProjects/EpubReader/app/build/intermediates/transforms/dexBuilder/debug/73.jar
The number of method references in a .dex file cannot exceed 64K.
Learn how to resolve this issue at https://developer.android.com/tools/building/multidex.html

Steps to reproduce / Describe in detail -
Just keep ypur minsdkversion 19 and compile and run the project

Not sure, we never got exceptions like these. Even we have used multidex in the sample app module.

so this is not the problem of multidex some of the dependencies were clashing in my project and the library so I wanted to ask that excluding those would make any difference or not?

@anuragvarshney I did reply saying "Not sure". Because we never had any issue like that, can't comment on it.

@hrishikesh-kadam  thanks for your help and prompt response, closing this issue


Customer to be able to add a comment or note for an order.

Is your feature request related to a problem? Please describe.
One feature that is missing is for a customer to be able to add a comment or note for an order.
Sometimes a note is needed to advise the store they want their package to be left somewhere, or they want to make sure they get a particular brand or custom text.
Thanks & Regards..!!
Describe the solution you'd like
One feature that is missing is for a customer to be able to add a comment or note for an order.
Sometimes a note is needed to advise the store they want their package to be left somewhere, or they want to make sure they get a particular brand or custom text.
Thanks & Regards..!!
Describe alternatives you've considered
No response
Additional context
No response

I support this, it would be great.


assert on Nhalos > 1

We sometimes do feed an empty catalog to halotools (e.g. if the selection is very narrow). I would imagined halotools shall produce an empty result on empty input.
However, this is what we get instead:
  File "/dev/shm/local/lib/python3.7/site-
> packages/halotools/sim_manager/user_supplied_halo_catalog.py", line
> 180, in _parse_constructor_kwargs
>     assert Nhalos > 1
> AssertionError

A quick glance shows there doesn't seem to be a reason why Nhalos has to be > 1 in UserSuppliedHaloCatalog. Could you elaborate the reason we need this assertion just for UserSuppliedHaloCatalog?
Thanks!

Possibly no reason other than, at that time, it was less work to just put in an assert rather than test an edge-case with no known use-case. But since you have a use-case, I just put this on the v0.7 list of fixes, which I'm shooting to release in December.


BAU Fix KMS  signature padding

Proposed changes
(This is a copy of https://github.com/alphagov/di-ipv-cri-uk-passport-back/pull/133)
Use nimbus's Base64URL.encode() function to base64URL encode the
signature bytes received from KMS.
The encoder offered by java.util via Base64.getUrlEncoder() does not
strip padding as we expected. It's java docs reference Table 2 of RFC
4648, which is a bit vague about the handling of padding:
"This encoding is technically identical to the previous one, except
for the 62:nd and 63:rd alphabet character, as indicated in Table 2."
As a result we were occasionally including an = on the end of our
serialized JWT strings. The nimbus lib is gracious enough to handle
these and still verify the signatures correctly, but it was causing
issues in SPOT. So here's a fix.

Closing as Ola has a very similar PR


Initial file / folder setup is missing

When running SignalCommander after the setup I see the following error messages (No such file or directory)
Absolute path to .env:  /home/USER/SignalCommander/.env
2024-06-13 00:00:00
Listening for messages...
./signal_listening.sh: line 37: /home/USER/SignalCommander/tmp/received_messages.json: No such file or directory
cat: /home/USER/SignalCommander/tmp/received_messages.json: No such file or directory
No message found
rm: cannot remove '/home/USER/SignalCommander/tmp/received_messages.json': No such file or directory

This can be fixed by running mkdir tmp; touch tmp/received_messages.json in the project folder.

Thank you. This problem has been fixed. If the tmp folder does not exist, it is automatically created.


Feat/plz add tolerations

Fixes #427
I didn't see a contribution guideline and I noticed that PLZ tests were being added to the testrun package in #426, so I wasn't sure about adding them to this PR.

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

@aaron-lunsford-even Indeed, contribution guideline is still my WIP task; but more than that, it's the first time we get a PR for PLZ which is amazing! But we need to figure out the logistics. PLZ is very closely tied to Grafana Cloud, so new features almost always would require collaboration with Grafana Cloud team. For instance, here, tolerations will need to be passed as part of API, like is done in the PR you linked:
https://github.com/grafana/k6-operator/pull/426/files#diff-e01d6388a2fbfc9c44d3a92e7db08cc546c954e1c3e4cf80e4bc8f7b51700c57
But that API must be modified first on the Cloud side.
I'll raise this issue and PR in internal planning, to coordinate how we can proceed here. From purely technical perspective, this PR has lots of similarities to adding custom image as is done in PR #426, so I think after #426 is merged, we should be able to work on this PR in similar fashion and "streamline" adding the changes. But still, it'll take some time, more changes made, some back and forth and, perhaps most importantly, e2e testing can be done only internally.
I'll come back to you once I have updates from the internal planning. Meanwhile, let me know how the above looks like to you :slightly_smiling_face:

Understood! Thanks for the feedback and all of the context around the PLZ flow. There's a lot more going on than I realized! I'll leave the PR as-is and keep an eye out for future updates. If there's anything you'd like me to do from my end, please let me know and I'll be happy to help out. Thanks again!

Hi @aaron-lunsford-even! Sorry for the delay. We had an internal discussion and it should be possible to go ahead with your PR as is 🎉 In case of tolerations, there is no real need to store them in our cloud: we can store it as part of PLZ resource and that's it. So basically as you did.
I'll have just a couple of small change requests here. Firstly, please make a rebase and sign a CLA: I can't merge anything otherwise. And secondly, if you run make generate, there is .deepcopy.go file that should be auto-updated - please add it.
That's the main thing. For testing, this is a straight-forward case so expanding unit test in pkg/testrun/plz_test.go would be ideal 🙂

Hey @yorugac, thanks for the update. I'll get those changes in and sign the CLA once I get the approval from my company. Should be soon 🤞

Hi @aaron-lunsford-even, has it been possible to get the approval for CLA? :slightly_smiling_face:


GUI failure during raster validation

For an unknown reason, it seems like the GUI failed while validating during a raster:

2020-11-19 14:35:20,355 root     INFO     Thu Nov 19 14:35:20 2020
center_on_click(227.0,309.0,725.0,580.0,"screen",0)
2020-11-19 14:35:28,885 root     INFO     validateFields: total exposure time ---- {'amx': {'digits': 3, 'min': 0.005, 'max': 300}, 'fmx': {'digits': 3, 'min': 0.01, 'max': 300}}
2020-11-19 14:36:23,164 root     INFO     sample flux =<PHONE_NUMBER>5.906105
2020-11-19 14:36:24,131 raddoseLib INFO     Output file prefix set to rd3d/rd3d_

#20 has already fixed this issue, so closing.

#20 has already fixed this issue, so closing.


fixed overrides of operations in internal ops table

by using unique ids that are based on operation id and job id

otherwise ack

ack


Consume same quantity as Purchased

When setting a quantity (by scanning the quantity barcode) it works perfectly when purchasing. But it would be great if that was also (optionally) applied to consuming.
Example: Parent product Egg. Child products are Egg boxes of various sizes. Adding number of eggs is easy. But I also consume eggs by box/carton, not egg by egg.
The more "normal" usecase with for example sixpack of cola - the bottles have their own barcode and the pack has its own too.
The best option would be if default quantities could be entered in the UI and also chosen if to apply by purchase and/or consume.

Sorry for the late reply.
This issue is related to the core app, not docker. I opened a ticket there: https://github.com/Forceu/barcodebuddy/issues/39

Added in https://github.com/Forceu/barcodebuddy/commit/d47ef11867967f9b08ab9010491cb75ea8c1541e


Import AppSpider VulnerabilitySummary.xml Server Error (500)

Bug Description
Get an Server Error (500) when trying to import AppSpider VulnerabilitySummary.xml report
Step to Reproduce
Steps to reproduce the behavior:

Go to 'Findings'
Click on 'Import Scan Results'
Select Scan Type 'AppSpider Scan'
Upload a file
Press on 'Import'
See error

Expected behavior
I would expect the scan results to be imported into the project as findings.
Deployment method (select with an X)

[ ] Kubernetes
[x]  Docker
[ ]  setup.bash / legacy-setup.bash

Environment information
Operating System: Ubuntu 18.04 with Docker
Branch: Stable & Dev
Sample scan files (optional)
VulnerabilitiesSummary.zip
Console logs (optional)

uwsgi_1         | Internal Server Error: /product/1/import_scan_results
uwsgi_1         | Traceback (most recent call last):
uwsgi_1         |   File "/usr/local/lib/python3.5/site-packages/django/core/handlers/exception.py", line 34, in inner
uwsgi_1         |     response = get_response(request)
uwsgi_1         |   File "/usr/local/lib/python3.5/site-packages/django/core/handlers/base.py", line 115, in _get_response
uwsgi_1         |     response = self.process_exception_by_middleware(e, request)
uwsgi_1         |   File "/usr/local/lib/python3.5/site-packages/django/core/handlers/base.py", line 113, in _get_response
uwsgi_1         |     response = wrapped_callback(request, *callback_args, **callback_kwargs)
uwsgi_1         |   File "/usr/local/lib/python3.5/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
uwsgi_1         |     return view_func(request, *args, **kwargs)
uwsgi_1         |   File "./dojo/product/views.py", line 475, in import_scan_results_prod
uwsgi_1         |     return import_scan_results(request, pid=pid)
uwsgi_1         |   File "/usr/local/lib/python3.5/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
uwsgi_1         |     return view_func(request, *args, **kwargs)
uwsgi_1         |   File "./dojo/engagement/views.py", line 643, in import_scan_results
uwsgi_1         |     burpResponseBase64=base64.b64encode(req_resp["resp"].encode("utf-8")),
uwsgi_1         | AttributeError: 'NoneType' object has no attribute 'encode'

This issue is resolved after doing pull request.


Feat/pupil 1103/create feature flags

Description
Creating feature flags to match those in production posthog
How to test

Go to https://deploy-preview-3037--oak-web-application.netlify.thenational.academy/teachers/lessons/transverse-waves
Launch the posthog tool bar
check the following feature flags between test and control and no flag :

share-advocate-lesson (on a lesson page)
share-advocate-download (on a download confirmation page)
share-advocate-unit (on a lesson listing page)

no flag: should not display the button and not update the url and not fire any teacher share events
control: should not display the button but should update the url and should fire teacher share initiated
test: should display the button, update the url, fire teacher share initiated and teacher share activated when the button is pressed.

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


Add pygmentize to the hugo snap

closes #2914

This is one way to solve it.
In general, snapcraft lets you handle your build process however you like, so we could also install from pip, or from pygmets source. Or as I told you, relax the isolation security to access other binaries from the system.

Thanks @bep. If you have further problems with the snap, I'd be happy to help.


CARDS-1619: Proms: automatically delete unsubmitted responses once the visit passed

To test:

start in proms mode
create visits and data for them of various types:
past and submitted
past and unsubmitted
future and submitted
future and unsubmitted
some patient information forms as well
pass midnight
make sure all and only past unsubmitted data forms have been deleted
all visit information forms should still be in place, as well as all the patient information forms

Update: Initially, the forms were not deleted because the visit information was imported from a CSV that didn't have a surveys_submitted column, so the question was not getting any answer at all in the visit information forms, thus the query wasn't matching them. Manually saving the VI form to create an answer made the surveys be correctly deleted. In production, we always create answers for the question, so it will not be an issue.


Gratitude setup

Codecov Report
Attention: Patch coverage is 0% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 0.00%. Comparing base (c9e31f1) to head (09a1065).
Report is 1 commits behind head on main.

Files
Patch %
Lines

...ys/showcase/presentation/CreateNavigationRoutes.kt
0.00%
4 Missing :warning:

.../jamiecruwys/showcase/presentation/MainActivity.kt
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@          Coverage Diff          @@
##            main    #118   +/-   ##
=====================================
  Coverage   0.00%   0.00%
=====================================
  Files          6       6
  Lines         59      63    +4
  Branches      13      13
=====================================
- Misses        59      63    +4

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


Big Splash at State of the Map US

[x] talk w/ Martijn about developing track
[x] community development track
[x] another mapping week (connected to SFI)
[x] teacher training workshop

Done and gone.


How about cells can be spanned across multiple Rows ?

How about cells can be spanned across multiple Rows ?

This is not something I intend to implement for quite a while. Getting the original spans working was enough of a headache :P


Fixes some errors that can occur when copying the whole EntTable (And is way faster)

Is the speedup noticeable?

I believe garrydupe does this too, because it's going to "modify the table later" or something. You're sure this doesn't cause any errors?

It doesn't modify the table later afaik and I haven't seen any errors yet.

In fact, without this, starfall chips get their whole running instance copied which leads to errors and maybe even exploits.

Well I see no problem with this, then. Remind me to merge it after we've given everyone some time to respond.


feat: Add scrapable check on adding Bookmark

Issue number: resolves #223

Checklist

[ ] Code Formatter (run prettier/spotlessApply)
[x] Code has unit tests? (If no explain in other_information)
[x] Builds on localhost
[x] Builds/Runs in docker compose

What is the current behavior?
Adding a new bookmark to the application invokes scrapping the webpage and taking a screenshot of the page
What is the new behavior?
Using the newly-added scrapable variable from the request DTO, the behavior is controlled. The value is expected to be passed in from the frontend.
Does this introduce a breaking change?

[x] Yes
[ ] No

The scrapable flag is needed to be passed in from the frontend, in order to maintain the default behavior of the functionality. Right now, the backend sees the value of the scrapable field as false, since the frontend is not equipped to send a default value in.
Other information
N/A

@R-Sandor spotlessApply is failing when the application is being built with JDK 21 and higher.
A solution could be to change the version of the plugin used in the application to 6.19.0 or above.
However, it should be tested if the functionality remains the same under the advised JDK version of 17. Could be raised as a separate issue in this project, to be honest.
For more reference behind the issue: https://github.com/diffplug/spotless/issues/1819

@smzoha Thanks for looking ahead, currently just been building with Java 17 but in the near future I do plan on making the switch to 21.
I made a ticket #240 If you would to put a comment on it saying you want it, I can assign you.