Update Version Requirements to resolve CircleCI failures

Summary

Currently, Discordrb has a failing test suite, and uses end-of-life versions of Ruby for testing. This both fixes the CI failures, and bumps the versions to latest.

There are several new RuboCops that need to be reviewed, but I left that as a future item to reduce scope on this PR.

Added

.devcontainer support for development of the Discordrb gem
Additional RubyGems metadata for ease of access

Changed

Various minor linting fixes due to bumping RuboCop to latest
Loosened version locks to minor to support backwards compatible updates
Updated Ruby minimum version to reflect end of life / maintenance schedule

Deprecated

Ruby 2.7 and 3.0 are end of life and have been deprecated

Removed

N/A

Fixed

Libsodium was causing CircleCI failures, which has been fixed by using libsodium-dev as a dependency instead
Fixes #248

@Daniel-Worrall @swarley Let me know if you'd like an additional maintainer for this project. I can assist with reviewing PRs and implementing features.

Thanks!


doesnt download in correct format

only downloads in .webm extensions. I've tried with many different links and file extensions but it always downloads a .webm

Can provide more information or share the Logs :

Which CLI backend are you using?
URL video using?

Here's the log. my CLI backend is youtube-dl.exe


No component found for view with name "RNSVGGroup"

I keep getting this error No component found for view with name "RNSVGGroup" while trying to run it on ios.
I used installed with npm install react-native-pathjs-charts --save
I ran react-native link react-native-svg
I put this atop my file import { Bar } from 'react-native-pathjs-charts'
In xcode > Libraries > RNSGV.xcodeproj > Build Phases > Link Binary With Libraries,
I found that it is empty. When I go to add a library, libRNSVG.a is not found.
I have rebooted the emulator. I have deleted the node-modules file and reinstalled. When I try to unlink the svg with react-native unlink react-native-svg I get this error:
rnpm-install ERR! It seems something went wrong while unlinking. Error: Cannot read property 'config' of undefined

Cannot read property 'config' of undefined

This was working for me last week. I do not know what's going on now. If anyone could offer some help it would be appreciated!

What is the output of this statement for you:
npm list react-react-native react-native-svg

├─┬<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
I get this @marzolfb

You edited this and it looks like you had react-native-svg 5.1.5 in your root. Is that still the case? If so it conflicts with the version in react-native-pathjs-charts and I'll give the same advice that I did in #101 which is to downgrade to react-native-svg 4.5.0.

I noticed that and continued to downgrade to 4.5.0. I do not get a build error any more but I still get get this when I try to render a bar graph No component found for view with name "RNSVGGroup"

Hmm. Android or iOS? Close all console windows and emulators and start everything back up again - same result? Also, try removing all npm packages with rm -rf node_modules and starting from scratch with a fresh set of dependencies via npm install? Still, same result?

Just reloaded everything and still getting the same error for IOS

One more time on the version info on critical dependencies - what do you get with this:
npm list react react-native react-native-svg paths-js

?

├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>

And you did this after you refreshed everything this last time:
react-native link react-native-svg

?

I guess I did not. Right now I linked then rebuilt and theres the graph. Everything is working perfect. Thank you. I think my issue was not rebuilding after I linked.

there is still this issue. It asks us to downgrade react-native-svg to 4.5.0 but installs versions ~5.1.8 itself, So even if we downgrade the react-native-svg, it gives the same error. Can someone help?

I experience the same issue as @daiict218 , I've linked the react-native-svg in both ways (using react-native link and in manual way - e.g : adding SvgPackage to MainApplication.java)

@fawwaz actually It doesn't ask to downgrade react-native-svg, it just wants us to install same version in both the repos. So, I installed react-native-svg ~5.1.8 in my code and it worked fine for me.

Hi, I'm having the same problem here with. I tried to install previous version<EMAIL_ADDRESS>directly but the @5.1.8 is still present and I'm not sure how to change this. Can someone help ? Thanks
├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>

@aurelienroux Hi, try these steps

npm uninstall react-native-svg
npm install<EMAIL_ADDRESS>check in your package.json file where react-native-svg is listed that the version number doesn't have a ^ symbol preceding it. If it does, just remove that symbol leaving only the version number
delete node-modules folder then run npm install && react-native link && react-native link react-native-svg

@wvicioso thanks for the help
I still have the same issue. it seems the react-native-svg dependency in react-native-pathjs-charts is overriding the other version I install manually
├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>│ ├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>│ ├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>I can see the 4.5.0 installed but I think the 5.1.8 is coming directly from the pathjs package and is taking priority. Is there a way to change a dependency version in a package ?
thanks again

@aurelienroux try installing<EMAIL_ADDRESS>instead of 0.28. I'm not sure how to change only the dependency under pathjs-chart.

You could also try sticking with the version you have and try running react-native unlink react-native-svg && react-native link<EMAIL_ADDRESS>

@wvicioso neither solutions are working. And I'm sure it's coming from this particular project but I don't know what is causing the bug. I have installed the examples folder somewhere else and it's working without any problems.
anyway, thanks for helping, I'll try to look at other solutions

@aurelienroux What versions of everything (this lib, react, react-native, rn-svg, pathjs) are you trying to use? Are you just trying to use the latest version of everything that will work together or are you trying to target specific versions of one of this things mentioned above? There is a delicate and unfortunate connectedness with all of these libraries and some versions just aren't compatible with others.
@fawwaz are you also still having similar issues? I'm trying to determine if this is still an issue multiple people have or if problems are unique in each case  (if so I will reopen this and we can continue discussing here - if not, @aurelienroux and I can continue troubleshooting on her new issue opened up (#162)

@marzolfb Hi
the project was started with Ignite react boilerplate.
I'm not trying to target specific versions but I thought my problem was coming from react-native-svg version and tried to downgrade it, without any success as I still have the error message "No component found for view with name "RNSVGGroup.
here are the actuals version
"react": "16.0.0-alpha.3",
"react-native": "0.43.1",
"react-native-config": "^0.2.1",
"react-native-pathjs-charts": "0.0.28",
thanks

So, the latest version of react-native-pathjs-charts (0.0.28) depends on react-native-svg 5.1.8 and the react-native-svg says this:
react-native-svg >= 5.1.8 only supports react-native >= 0.44.0 and react == 16.0.0-alpha.6
I would start from scratch and remove everything:
rm -rf node_modules
Then, change your package.json to point to the versions of react && react-native I mention above and finally reinstall with npm/yarn.
The example app in this library uses those versions mention above, which is why your earlier comment about the example app working correctly makes sense.

Problem is still here, event with new package versions. I'm still receiving No component found for view with name "RNSVPGroup".
I removed all node modules and reinstalled, created the link, restarted the simulator but it's still not working
├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>

This line specifically:
UNMET PEER DEPENDENCY<EMAIL_ADDRESS>is telling you that you don't have react v16.0.0-alpha.6 installed which react-native-svg 5.1.8 depends on. What does your package.json file look like in all of the dependencies sections?

I am also having a similar issue. I tried the examples above and even downgraded to<EMAIL_ADDRESS>Here is what I get after npm list react react-native react-native-svg paths-js
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>deduped │ └──<EMAIL_ADDRESS>deduped └──<EMAIL_ADDRESS>

sorry for the delay. my package.json looks like this
"react": "16.0.0-alpha.3",
"react-native": "0.43.1",

I believe this to be an install/link issue with the react-native-svg package.  What I did to solve this:

Add the RNSVG.xcodeproj to my app's Libraries.
Add the libRNSVG.a lib to the Link Binary With Libraries section under my app project's Build Phases.
Basically, follow the instructions to manually link the library at https://facebook.github.io/react-native/docs/linking-libraries-ios.html


Nialexsan/update scaffolds

Closes #1795
Description
updated scaffolds/starters

For contributor use:

[ ] Targeted PR against master branch
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work
[ ] Code follows the standards mentioned here
[ ] Updated relevant documentation
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Added appropriate labels

Who is asking for this? We've removed a lot of scaffolds because they quickly get out of date and are hard to maintain. The goal was to move more towards reducing the scaffolds entirely. This puts us in the other direction.

the initial take on this was to replace scaffolds with starters, which seems to be the same thing with a different name


Code mistake

There is a format problem in the first code block of the Examples section, the first apostrophe isn't getting picked up as the start of a string.

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

ID: 5132e6b6-4c94-d72c-4b3d-31a047402731
Version Independent ID: 448308aa-3277-40b7-db76-ac3e9a380bd5
Content: @@ERROR (Transact-SQL) - SQL Server
Content Source: docs/t-sql/functions/error-transact-sql.md
Product: sql
Technology: t-sql
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

@Gid8  Thank you for the feedback.
The documentation has been updated and is pending review.


Dump image prediction

Dear all,
Can anyone clarify me which class code should I change in order to dump/write to file the predicted image by JPEG-XL in modular mode for lossless compression?
Kind regards,
F

Do you mean the visualization of the predictors that were chosen, as shown on slide 71 of https://docs.google.com/presentation/d/1LlmUR0Uoh4dgT3DjanLjhlXrk_5W2nJBDqDAMbhe8v8/edit#slide=id.ga352fd7e04_0_12 ?
You can get something like that by setting kWantDebug = true in the beginning of jxl/modular/encoding/enc_encoding.cc, and then doing something like benchmark_xl --input=image.png --codec=jxl:m:tortoise:g3 --debug_image_dir=outputdir. This produces debug images per group and per channel (setting g3 makes the groups larger so you don't get too many of them), so you'll have to figure out a way to combine them into a big image.

thanks for your answer @jonsneyers! In fact, I am trying to extract the predicted value by JPEG-XL for each pixel, and not the predictor choice itself. According to the overview paper, "(..) when predicting a value in position (x, y), the adaptive predictor looks at the maximum error that each prediction mode would have produced on pixels (x−1, y), (x, y−1) and (x−1, y−1), and chooses the prediction mode that is expected to produce the least amount of error." Based on this, is it possible to access the predicted value at each position?
Thanks

There's currently no code to dump that, but it could be done. I'm not sure what exactly you would want to see though: the predicted value at every pixel would usually be quite close to the actual value since the prediction happens per pixel (so it sees the corrected values on the top and left). It might be more interesting to do something like "show how the predictor would have completed this subrectangle without further information" (i.e. setting all residuals to zero there).
Also: I don't know what paper you're looking at, but the "adaptive predictor" is not in the spec anymore. There's the weighted predictor, and there are a bunch of other predictors, and the predictor to be used is part of the context model (the MA tree leaf nodes).

Here is a little playground where you can see how different predictors would continue some pattern:
https://jxl-art.surma.technology/?zcode=bU85DsIwEOz9iqmJInKBqJCggSoNRWorXmJL4FjJcv2eNVhUVHNoZrS7d2wosMVGdc4IlkXVqCO5wfKXK3fGC1tUq5UCRDyTWC7QW-0HQpjIuJ7HCZYmAo-YifCwmmF1CORnLJZSBnLs7kObtR2K2Bd9mLRx5BlFzERzHq_E1vkhDoUbw3mwjbMB2htc6Mwx-7trHWn7oY3KcSIZi1YvVilGiwx1wkqwEyxV-uST7P6XixSuE37LefkG

I added a slide (slide number 77) to show some examples of how some of the predictors would work: https://docs.google.com/presentation/d/1LlmUR0Uoh4dgT3DjanLjhlXrk_5W2nJBDqDAMbhe8v8/edit#slide=id.gde87dfbe27_0_140

I really appreciate your feedback and effort on this question. I am now sure that I will be able to extract what I want and I will  dig into the code in the next days to dump those predicted samples! :-)

OK, closing this issue, feel free to reopen if you have further questions.


feat(data): update pill font token for better a11y.

:tada: This PR is included in version 4.20.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Download not Complect_ traffic server

We use traffic server for our system and our clients use progresive downloader and folx download manager (Macos app). unfortunately, we encounter problems and the file is not downloaded until the end (usually it stops between 95 to 99% and fails.). But when we download the same file using other download managers or even the browser, it is completely downloaded.
Should a parameter or configuration be changed in our trafficserver servers?
This is very critical.

sample.log

A few questions to help us make progress on this:

What version of Apache Traffic Server are you running? (master, 9.2.3, etc.).
We notice that you are getting 206 responses, so I suppose these are partial object requests. I'm not sure why there may be issues, but it might be helpful to try turning off HTTP caching and see whether the problem persists.
Can you turn on http debug tag logging (see also debug.enabled) attach that to the ticket for a failed transaction.
Can you turn on TLS session key logging and take a TCP dump for both the client and origin traffic. Then attach both the TCP dump and TLS session key log file. This will give objective information about what traffic you're seeing.

Thanks. Be aware that many devs are on Thanksgiving break, so responses may be slower than usual.


[New WTFBin]: WTFBIN Here

Contributor Name:
Bumbucha
Application/Executable:
SenseNdr.exe
WTF Behavior Description:
Totally normal command of 4000 characters in base64. Only legitimate use of this much base64 in history.
Link to Documentation of Behavior:
Documentation
Please provide any images for additional evidence.

@dakinedakine99, thank you for the submission!
Before approval, I need a little more info about this! Many other components of Windows management actually use base64 Powershell encoding (one of them is already a WTFbin!). Please decode one of these commands and provide that screenshot as well to indicate what this executable is really doing.

Don't want to include the entire command since it includes network info, but mainly regexes related to network vulnerabilities. I assume this is for transparency. masquerading potential imo.

sensendr.exe "encoded text", there's no decode, so not that big of a deal, but still, wtf.

Added in c2fb3fc4da2041d2b2d867170da3a51363903490

@dakinedakine99 What base64 is used for the sensendr.exe ? Tried a whole bunch of formats UTF-8, UTF-16 with Cyberchef but cannot decrypt. I see from your screenshot you are using Cyberchef, can you give me the recipe please? Thanks

This is what I used


[tower] Add garbage collecting functions to remove known invalid proofs.

[x] check for type of tx commit failure, and start GC
[x] function to check for discontinuous proofs
[x] archive files in separate folder

merged into https://github.com/OLSF/libra/pull/1111


Fix typo

https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/issues/1958

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


GitHub Actions tweaks

This pull request changes two things about the current GH Actions flow:

Linters are now run in parallel to specs
Specs and linters will now run to completion regardless of fails/errors

The first change was made to facilitate faster CI runs. The second change was made to allow developers to see all the currently failing CI tests in a single run.

Makes sense, thank you!


Improve CSAT of intro to RP

Update code to 2.2

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

ID: 164d7efe-01bf-0b26-7a23-f10704f338f5
Version Independent ID: b3e2bc87-1582-2d34-c7c2-7c8e901ac771
Content: Introduction to Razor Pages in ASP.NET Core
Content Source: aspnetcore/razor-pages/index.md
Product: aspnet-core
Technology: aspnetcore-razorpages
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Can you create an issue from the doc page? That will connect the doc to the issue. Go to the bottom of the page and select the Content feedback issue.


[RAMPUP HOTFIX] Reject transactions if any account updates have 0 vesting period

!ci-build-me

This is now handled gracefully in rampup. Closing.


Update README.md

Congrats. :-)

@boynet
You can use https://github.com/aFarkas/lazysizes/blob/gh-pages/src/lazysizes-intersection.js if you really want to use intersection observer (You will either need to add a polyfill or conditionally load one of both scripts for non supporting browsers). From my experience it won't give you a noticeable performance gain to the normal version because this one is highly optimized.
In a world where you don't need to polyfill it it would be a simple go to because the API is quite helpful to create a lazyloader.


#348 Update VB code fixes to reduce work done in register code fix method

resolves issue #348

@jwooley Great change Jim! Thanks!


Appstudio update test-component-pac-rxhi

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-rxhi-on-pull-request has failed.

StatusDurationName

✅ Succeeded
20 seconds
init

✅ Succeeded
41 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
33 seconds
inspect-image

✅ Succeeded
2 minutes
clair-scan

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
30 seconds
deprecated-base-image-check

✅ Succeeded
29 seconds
sbom-json-check

✅ Succeeded
15 seconds
label-check

✅ Succeeded
16 seconds
show-summary

❌ Failed
7 seconds
show-sbom

Failure reasontask show-sbom has the status "Failed":
"step-show-sbom" exited with code 1

Pipelines as Code CI/test-component-pac-rxhi-on-pull-request has failed.

StatusDurationName

✅ Succeeded
20 seconds
init

✅ Succeeded
41 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
2 minutes
clair-scan

✅ Succeeded
30 seconds
deprecated-base-image-check

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
33 seconds
inspect-image

✅ Succeeded
29 seconds
sbom-json-check

✅ Succeeded
15 seconds
label-check

✅ Succeeded
16 seconds
show-summary

❌ Failed
7 seconds
show-sbom

Failure reasontask show-sbom has the status "Failed":
"step-show-sbom" exited with code 1


LaTeX not rendering in cell text/html encoded outputs when embedded inside html

Environment data

VS Code version: 1.74.3
Jupyter Extension version (available under the Extensions sidebar): v2022.11.1003412109
Python Extension version (available under the Extensions sidebar): v2022.20.2

Expected behaviour
Expect that LaTeX in table is rendered.
The outputs render correctly in Jupyter and JupyterLab, but looks like html outputs are not going through MathJax typeset to render math if inside html.
Actual behaviour
LaTeX in table is raw text and not showing as rendered math.
Steps to reproduce:

Open a python kernel
Run this cell:

%%html

$\sqrt(2)$

Since math is nested inside of div html, instead of seeing √2 in LaTex, you will see plaintext $\sqrt(2)$

Possible fix
After running transform on text/html to react element, can MathJax.Typeset be called on the root element of the output display? That will match Jupyter/JupyterLab's behavior to have math supported more natively in many scenarios. This is currently making html math outputs from kernels like IQ# (Azure Quantum's kernel for Q# language) very hard to read without MathJax being rendered.
The markdown renderer doesn't work for many of these scenarios, since the markdown renderer doesn't treat html correctly in many cases, such as if it's tabbed, it treats it like a block quote, so just changing the presentation type doesn't work.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.85.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

In my company we have a library that outputs LaTeX in HTML and we are also encountering this issue.
For the time being as a workaround we have found that injecting the KaTeX code to auto-render the LaTeX works (but is an annoying hack that we'd rather not have to do!)
https://katex.org/docs/autorender
from IPython.display import HTML

katexInjectString = '''<link rel="stylesheet"<EMAIL_ADDRESS>integrity="sha384-nB0miv6/jRmo5UMMR1wu3Gz6NLsoTkbqJghGIsx//Rlm+ZU03BU6SQNC66uf4l5+" crossorigin="anonymous">
'''

def code():
    return '''$$a_\gamma = z + \phi + x^y$$'''

HTML(katexInjectString + code())

Thanks so much for the solution

@FlorinAndrei I fixed the formatting on this by inserting some newlines. I discovered this while playing around with your sample table and trying to discover why some cells rendered properly, but others didn't:

 Concrete Model

 Abstract Model

Maximize $Z = 3d + 5w$

Maximize $Z = \displaystyle \sum_{pr \in Pr} c_{pr} x_{pr}$

Subject to:

$
\begin{array}{ccccc}
 d &   &    & \leq & 4 \\
   &   & 2w & \leq & 12 \\
3d & + & 2w & \leq & 18
\end{array}
$

Subject to:

$ \displaystyle \sum_{pr \in Pr} h_{pl,pr} x_{pr} \leq a_{pl}, \text{ for each } pl \in Pl$

$d \geq 0$, $w \geq 0$

$x_{pr} \geq 0, \text{ for each } pr \in Pr$

This is also helped me identify and fix a similar issue I was running into in my own markdown file, so thanks for the table example. It turns out the additional newline is also needed when using multi-line KaTeX inside HTML, like table cells.

@xinyi-joffre I have a solution, posted directly above, that allows KaTeX to be properly rendered inside HTML.
Hopefully this:

Helps people like me and you to get past this issue.
Helps contributors to this repo narrow down the source of the issue, so it can be fully resolved without having to remove indents and insert newlines between the most recent HTML element and the start of a KaTeX block (the "$" for inline or "$$" for multiline).


Messaging and design changes

-new messaging (inbox and overlay)
-new homepage (not finalized -- waiting on design changes)
-general improvements
known issues/todos:  overlay to be accessible across application, message notifications to be added

Fixed bugs with Message View and Overlay
Handle Chat Overlay status across app views
WIP:
a) Status for new message on Navbar
b) Online/Offline status for recipient on Message and Overlay

@shirishgoyal i think we keep the last message preview on the left side (master view)

we can push online/offline status to near future improvements list


pandas deprecationwarning - TimeStridedRolling

"closed"=None => "inclusive=None

Isn't this what PR #64 fixes?

Indeed! my-bad!


Mouse scroll also triggers a click event on the project info banner

Scrolling on this menu also triggers a click.

Fixed. Thanks for reporting!


Latest snapshots only cycles per camera not the list of cameras given

Checklist:

[x] I updated to the latest version available
[x] I cleared the cache of my browser

Release with the issue:
Latest snapshots only cycles per camera not the list of cameras. Video works fine and cycles all latest clips
Last working release (if known):
Browser and Operating System:
safari Version 17.1 (196<IP_ADDRESS>.7) - macOS sanoma 14.1.1 (23B81)

Description of problem:

Frigate card diagnostic information

{
  "ha_version": "2023.11.3",
  "card_version": "5.2.0",
  "browser": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.1 Safari/605.1.15",
  "date": "2023-11-30T05:11:10.776Z",
  "frigate_version": {},
  "lang": "en",
  "timezone": "Europe/London",
  "git": {
    "build_version": "5.2.0-HEAD+g69249b6",
    "build_date": "Fri, 23 Jun 2023 15:26:26 GMT",
    "commit_date": "Thu, 22 Jun 2023 09:21:26 -0600"
  },
  "config": {
    "type": "custom:frigate-card",
    "cameras": [
      {
        "camera_entity": "camera.barn_catflap"
      },
      {
        "camera_entity": "camera.porch_cam"
      },
      {
        "camera_entity": "camera.barn",
        "labels": "cat"
      }
    ],
    "view": {
      "default": "recording"
    },
    "menu": {
      "style": "hover"
    },
    "live": {```

**Javascript errors shown in the web inspector (if applicable):**

**Additional information:**

type: vertical-stack
cards:

type: custom:mushroom-template-card
primary: Introducing Catflix
secondary: Lastest movies
icon: mdi:video
type: custom:frigate-card
cameras:

camera_entity: camera.barn_catflap
camera_entity: camera.porch_cam
camera_entity: camera.barn
labels: cat
view:
default: recording
menu:
style: hover
live:
draggable: false
zoomable: false
media_viewer:
auto_pause: hidden
draggable: false
zoomable: false
auto_play: never

type: tile
entity: sensor.sun_next_rising
hide_state: false
show_entity_picture: false
vertical: false
color: deep-orange

The config appears to have gotten cut off in the report, would you mind including the full config?

Latest snapshots only cycles per camera not the list of cameras. Video works fine and cycles all latest clips

I'm trying to understand this sentence, can you say it another way including what you see and what you expect to see?
Thanks!

I'm having the same issue, but with clips. If you set the View to "Clips gallery" and have 4 camera's listed in the card, when you refresh the page it always filters to only the first camera instead of displaying the clips for all of the cameras. So every time you need to pull open the filter menu and select the rest of the cameras.

I'm having the same issue, but with clips. If you set the View to "Clips gallery" and have 4 camera's listed in the card, when you refresh the page it always filters to only the first camera instead of displaying the clips for all of the cameras. So every time you need to pull open the filter menu and select the rest of the cameras.

That is working as intended. If you want it to load the clips for all cameras, configure the cameras to depend on one another. Example:
https://github.com/dermotduffy/frigate-hass-card/issues/1357#issuecomment-1925028378


⚠ Bofrost.nl has degraded performance

In 1b774f0, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 1187 ms

Resolved: Bofrost.nl performance has improved in 412a03d after 10 minutes.


Switch to plotly, better figname generation, support pretty 2D data atlas viz

Quickly tested on Colab

Will run unit tests again before merging to ensure no problems


Prevent users from copying and pasting the code for "Manipulating Complex Objects"

Describe your problem and how to reproduce it:
Open for discussion, but I feel as though being able to copy and paste the previous object in the array and pass the tests defeats the purpose of this challenge
Perhaps there should be another test(s) to check that the new album added is unique or at lease somewhat different
Add a Link to the page with the problem:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/manipulating-complex-objects/
If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):

As far as I understand, even if the student copy-pastes, it isn't defeating the purpose because they still understand what they are doing and how it is working. As for the instructions, it requires the album to be new and not unique so the current instructions are designed like that too

I concur with @thecodingaviator regarding the challenge intent.  If the instructions would have stated for the new album to be unique, then there would be an issue and the tests would need to be re-written.
I am closing this issue, as there currently is no problem with the current challenge tests as it relates to the challenge intent/instructions.


Add a UI to search for Proteins

With the new integrated search UI, this one is actually not required or important, anymore, ATM. We can always reopen, though.


mag notebooks - failing

The following notebooks are currently failing. See https://travis-ci.org/ubcgif/gpgLabs

[x] Mag/Library/Earth field and Magnetic data.ipynb

[x] Mag/Library/PlotData.ipynb

Can we move these to the notebooks repo (https://github.com/ubcgif/notebooks) while they are under construction?

Done. There are out,.


[2.7] LastLogin is not set for SAML providers

Backport #46124

Verified on v2.7.15-rc1
Enabled okta and verified logging as a user and a user from a group has last login updated.


Restore HPKE tests

Issues:
Resolves #19
Description of changes:
Restore the HPKE tests from RFC 9180 (JSON without change). The tests are more low-level than the CryptoProvider API (fixed ephemeral key etc), so they're exposed as additional functions in core::test_suite.

To run the test, one has to implement the TestHpke trait for their HPKE.
mls-rs-core-hpke has a "test_utils" feature which implements the trait.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT license.

Codecov Report
Attention: 6 lines in your changes are missing coverage. Please review.

:exclamation: No coverage uploaded for pull request base (main@fc10a76). Click here to learn what that means.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #23   +/-   ##
=======================================
  Coverage        ?   91.63%
=======================================
  Files           ?      167
  Lines           ?    30048
  Branches        ?        0
=======================================
  Hits            ?    27535
  Misses          ?     2513
  Partials        ?        0

Files
Coverage Δ

mls-rs-crypto-awslc/src/lib.rs
80.42% <100.00%> (ø)

mls-rs-crypto-hpke/src/dhkem.rs
93.80% <100.00%> (ø)

mls-rs-crypto-hpke/src/test_utils.rs
100.00% <100.00%> (ø)

mls-rs-crypto-openssl/src/lib.rs
89.68% <100.00%> (ø)

mls-rs-crypto-rustcrypto/src/lib.rs
79.18% <100.00%> (ø)

mls-rs-crypto-traits/src/kem.rs
89.28% <ø> (ø)

mls-rs-core/src/crypto/cipher_suite.rs
33.33% <0.00%> (ø)

mls-rs-crypto-hpke/src/hpke.rs
93.14% <75.00%> (ø)

mls-rs-core/src/crypto/test_suite.rs
88.83% <93.75%> (ø)

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


Automated cherry pick of #10039: feat(cloudcommon): opslog: log joint models

Cherry pick of #10039 on release/3.7.
#10039: feat(cloudcommon): opslog: log joint models

Codecov Report

Merging #10040 (456ed5f) into release/3.7 (0ff3997) will increase coverage by 2.07%.
The diff coverage is 0.00%.

@@               Coverage Diff                @@
##           release/3.7   #10040       +/-   ##
================================================
+ Coverage         5.98%    8.05%    +2.07%
================================================
  Files              848      107      -741
  Lines           131795    12992   -118803
================================================
- Hits              7887     1047     -6840
+ Misses          123206    11825   -111381
+ Partials           702      120      -582

Flag
Coverage Δ

aFlag
8.05% <0.00%> (+2.07%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/apigateway/handler/auth.go
0.00% <0.00%> (ø)

pkg/apigateway/handler/auth_totp.go
0.00% <0.00%> (ø)

pkg/apigateway/handler/idp.go
1.84% <0.00%> (ø)

pkg/apigateway/handler/misc.go
0.00% <0.00%> (ø)

pkg/apigateway/handler/resource.go
0.00% <0.00%> (ø)

pkg/hostman/diskutils/nbd/driver.go
0.74% <0.00%> (-0.01%)
:arrow_down:

pkg/hostman/diskutils/nbd/lvmutils.go
4.70% <0.00%> (-0.24%)
:arrow_down:

pkg/monitor/alerting/eval_context.go
34.25% <0.00%> (-2.75%)
:arrow_down:

pkg/compute/models/groups.go

pkg/compute/guestdrivers/ucloud.go

... and 667 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #10040 (456ed5f) into release/3.7 (0ff3997) will increase coverage by 2.07%.
The diff coverage is 0.00%.

@@               Coverage Diff                @@
##           release/3.7   #10040       +/-   ##
================================================
+ Coverage         5.98%    8.05%    +2.07%
================================================
  Files              848      107      -741
  Lines           131795    12992   -118803
================================================
- Hits              7887     1047     -6840
+ Misses          123206    11825   -111381
+ Partials           702      120      -582

Flag
Coverage Δ

aFlag
8.05% <0.00%> (+2.07%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/apigateway/handler/auth.go
0.00% <0.00%> (ø)

pkg/apigateway/handler/auth_totp.go
0.00% <0.00%> (ø)

pkg/apigateway/handler/idp.go
1.84% <0.00%> (ø)

pkg/apigateway/handler/misc.go
0.00% <0.00%> (ø)

pkg/apigateway/handler/resource.go
0.00% <0.00%> (ø)

pkg/hostman/diskutils/nbd/driver.go
0.74% <0.00%> (-0.01%)
:arrow_down:

pkg/hostman/diskutils/nbd/lvmutils.go
4.70% <0.00%> (-0.24%)
:arrow_down:

pkg/monitor/alerting/eval_context.go
34.25% <0.00%> (-2.75%)
:arrow_down:

pkg/compute/models/groups.go

pkg/compute/guestdrivers/ucloud.go

... and 667 more

Continue to review full report at Codecov.

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


openjdk8: swtich darwin to adoptopenjdk8 at jdk8u212-b04

Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Build of adoptopenjdk-openj9-bin-8 fails for me on macos 10.13:
building '/nix/store/56a2zn6v30vyknpp4f6afnrv921309dn-OpenJDK8U-jdk_x64_mac_openj9_8u212b04_openj9-0.14.2.tar.gz.drv'...

trying https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u212-b04_openj9-0.14.2/OpenJDK8U-jdk_x64_mac_openj9_8u212b04_openj9-0.14.2.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   649    0   649    0     0   1690      0 --:--:-- --:--:-- --:--:--  1694
100  108M  100  108M    0     0   582k      0  0:03:10  0:03:10 --:--:-- 1161k
building '/nix/store/pfh4bljwpjq08wiy7cc90db04wsw9mmz-adoptopenjdk-openj9-bin-8.0.212.drv'...
unpacking sources
unpacking source archive /nix/store/6hjjbvw9lyh8b8s6vbk82q94nds03ywf-OpenJDK8U-jdk_x64_mac_openj9_8u212b04_openj9-0.14.2.tar.gz
source root is jdk8u212-b04
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file jdk8u212-b04/Contents/Home/jre/lib/server/libjvm.dylib
patching sources
configuring
no configure script, doing nothing
building
no Makefile, doing nothing
installing
ln: failed to create symbolic link '/nix/store/1dicsm5jvgwsvjyw6j337ldhckkgnwzp-adoptopenjdk-openj9-bin-8.0.212/jre': File exists
builder for '/nix/store/pfh4bljwpjq08wiy7cc90db04wsw9mmz-adoptopenjdk-openj9-bin-8.0.212.drv' failed with exit code 1

In fact more or less the same thing happens for adoptopenjdk-bin-8, along with a lot of downstream broken packages.

@risicle I'm having the same issue. Did you manage to fix it?

Sorry, no - I don't have access to a darwin machine full-time.

@gleber Do you still plan on working on this some day, or should this PR be closed? :)

Ah, not really. Closing.


Add support for pulling Spin OCI images

Replaces #164

This can be a follow-up task. Could you please add at least one integration test for testing spin OCI images?


rotating a node

how can i constantly keep rotating a node using a click of a button??
example i have a fan . now i need to rotate it when button is pressed. how can i ?

You can follow this tutorial, on it you will found a rotable node:
https://proandroiddev.com/building-arcore-apps-using-sceneform-part-4-9bb8374eaab4
You only have to edit the update and add an active boolean to rotate or not.

if your using a custom node class (that must be extending to Node)
override this method and paste this code
override fun onUpdate(p0: FrameTime?) {
super.onUpdate(p0)
worldRotation = Quaternion.axisAngle(Vector3.up(), ++rotationY)
}

@aurangzaibumer777 thanks for your response. can you tell me how can i create a custom node class and use it. coz i am a ittle new to this and also the class which i am doing all the stuff is already extending appcompatactivity.

send me your snippet on
<EMAIL_ADDRESS>

wait. ive made the custom class and used it. now just tell me how and where to use the worldrotation and rotationy variables

how can i use those variables?

i sent you the snippet above, override the mentioned method and it will rotate your object per frame

how to declare the worldrotation and rotationy variables? where and with what initial values?

@aurangzaibumer777 thanks a lot sir....thumbs up to you .i figured this out . thanks


Add feature to expand list of columns of a query from symbol * after pressing Tab

Add feature to expand list of columns of a query from symbol * after pressing Tab when cursor is set after the symbol *.
See this gif-file for an example:

You can do the same in DBeaver with Ctrl+Space
https://github.com/dbeaver/dbeaver/assets/28875055/f7a49378-ba0e-49f0-95c9-e7d571349918


make help

Issue
Today the make help or just make doesn't say anything about the options or the follow that must be followed to build the sig-windows-dev-tools environment.
Goal

make help should provide a short description of all options available in the make command
The short description in the make help command should be auto-generated by ## command on the top of the make target.

Suggestion

Copy/past this code into the makefile: https://github.com/kubernetes-sigs/kpng/blob/master/Makefile#L19-L44
Start documenting like this: https://github.com/kubernetes-sigs/kpng/blob/master/Makefile#L54

A good thread about this topic: https://gist.github.com/prwhite/8168133
Extra mileage: Add small note about make help in the README.md

/good-first-issue


Ceiling fan + light combo --> Light can't be turn off

Describe the bug
I have a fan with integrated light, each time I try to turn on the light, it goes to off state after 1 second.
Even if its displayed as Off, the light has been turned on phisically, but then is impossible to 'turn off' because HA thinks is already off.
The device creates 3 entities in HA:

light.ty03855xxxxxx
switch.ty03855xxxxxx
fan.ty03855xxxxxx

The last two (fan and switch), does the same thing, that is turn on the fan (if you toggle one, the other automatically gets toggled too, and viceversa).
Expected behavior
When I turn on the light switch, it needs to stay ON, and don't revert state, otherwise it can't be turned off.
Screenshots
Small video of the issue: https://funhouse.dev/bug1.webm
Image of the light entity that is bugged: https://puu.sh/I6V6w/f55cff823c.png
Home Assistant Version

latest version of HA

Device info:
{
"active_time":<PHONE_NUMBER>,
"biz_type": 18,
"category": "fs",
"create_time":<PHONE_NUMBER>,
"icon": "smart/icon/ay1568717810596BGiOb/082ed29d3eb110cc1651615f8debb9a9.png",
"id": "03855241c82b960ccfee",
"ip": "",
"lat": "",
"local_key": "",
"lon": "",
"name": "Ventilador sergio",
"online": true,
"owner_id": "10843115",
"product_id": "gsza7a634m9ui0dl",
"product_name": "Mantra Smart Ceiling Fan",
"status": [
{
"code": "switch",
"value": false
},
{
"code": "fan_speed",
"value": "17"
},
{
"code": "countdown",
"value": "0"
},
{
"code": "countdown_left",
"value": 0
},
{
"code": "light",
"value": true
},
{
"code": "bright_value",
"value": 999
},
{
"code": "temp_value",
"value": 498
}
],
"sub": false,
"time_zone": "+01:00",
"uid": "***",
"update_time":<PHONE_NUMBER>,
"uuid": "03855241c82b960ccfee"
}
Device specifications:
2021-08-20 23:12:03 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/03855241c82b960ccfee/specifications, params = None, body = None, t =<PHONE_NUMBER>228
2021-08-20 23:12:03 DEBUG (SyncWorker_5) [tuya iot] Response: {
"result": {
"category": "fs",
"functions": [
{
"code": "switch",
"type": "Boolean",
"values": "{}"
},
{
"code": "fan_speed",
"type": "Enum",
"values": "{"range":["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32"]}"
},
{
"code": "countdown",
"type": "Enum",
"values": "{"range":["0","1","2","3","4","5","6","7","8"]}"
},
{
"code": "light",
"type": "Boolean",
"values": "{}"
},
{
"code": "bright_value",
"type": "Integer",
"values": "{"min":10,"max":1000,"scale":0,"step":1}"
},
{
"code": "temp_value",
"type": "Integer",
"values": "{"min":0,"max":1000,"scale":0,"step":1}"
}
],
"status": [
{
"code": "switch",
"type": "Boolean",
"values": "{}"
},
{
"code": "fan_speed",
"type": "Enum",
"values": "{"range":["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32"]}"
},
{
"code": "countdown",
"type": "Enum",
"values": "{"range":["0","1","2","3","4","5","6","7","8"]}"
},
{
"code": "countdown_left",
"type": "Integer",
"values": "{"unit":"min","min":0,"max":480,"scale":0,"step":1}"
},
{
"code": "light",
"type": "Boolean",
"values": "{}"
},
{
"code": "bright_value",
"type": "Integer",
"values": "{"min":10,"max":1000,"scale":0,"step":1}"
},
{
"code": "temp_value",
"type": "Integer",
"values": "{"min":0,"max":1000,"scale":0,"step":1}"
}
]
},
"success": true,
"t":<PHONE_NUMBER>377
}
Additional context
I have 5 ceiling fans and this bug happens on all of them, light can't be turned off after you switch it on

Yes, the same with my light bulbs. Seems to be the same issue reported here : https://github.com/tuya/tuya-home-assistant/issues/409


meet a NullPointerException when transfer to druid-spring-boot-starter from traditional druid

The exact Exception is: java.lang.NullPointerException: null
at com.alibaba.druid.support.http.ResourceServlet.service**(ResourceServlet.java:206)** ~[druid-1.1.9.jar:1.1.9]
and the code is : if (username.equals(usernameParam) && password.equals(passwordParam)) ...
It's obviously that druid didn't get the loginUsername parameter.
I think it's a tricky incompatibility problem and less of necessary check.
1, in the traditional druid: loginUsername is fetched from the Servlet.
String paramUserName = getInitParameter(PARAM_NAME_USERNAME);
        if (!StringUtils.isEmpty(paramUserName)) {
            this.username = paramUserName;
        }

2, in the spring boot druid: loginUsername is only fetched from property files.
@ConfigurationProperties("spring.datasource.druid")
public class DruidStatProperties {
...

I think it's better do something to make the project much more robust and be compatible backward.

Thank you for your quick response.
the affected version is :
<dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>druid-spring-boot-starter</artifactId>
            <version>1.1.9</version>
        </dependency>

1 . read spring config property.
@ConfigurationProperties("spring.datasource.druid")
public class DruidStatProperties {
}

use ServletRegistrationBean register servlet, add init parameter.
you can see DruidStatViewServletConfiguration.java  and  ServletRegistrationBean#addInitParameter

so, this is compatible, not "only fetched from property files".  will not happen NullPointerException.

@wenshao  没有问题，本质上还是通过Servlet的InitParameter添加的配置。


Test Issue created at Thu, 29 Jul 2021 13:57:55 GMT

Test issue body  Thu, 29 Jul 2021 13:57:55 GMT

Comment on issue at Thu, 29 Jul 2021 13:57:59 GMT


[EVENT] OpenScapes

Summary

Reported via https://2i2c.freshdesk.com/a/tickets/1008

We have an event coming up on October 17, 2023 and are expecting ~100 people using large python instances. I'm reaching out in advance to make sure the necessary computational resources are available on the front end so that things go smoothly.

Event Info

Community Representative:
Event begin: October 17th, 2023

In your timezone:

Event end: October 17th, 2023

In your timezone:

Active times:

In your timezone:

Number of attendees: ~100
Hub Events Calendar

Hub info

Hub URL:
Hub decommisioned after event?:  No

Task List
Before the event

[x] Dates confirmed with the community representative and added to Hub Events Calendar.
[ ] Quotas from the cloud provider are high-enough to handle expected usage.
[ ] One week before event Hub is running.
[ ] Confirm with Community Representative that their workflows function as expected.

👉Template message to send to community representative
Hey {{ COMMUNITY REPRESENTATIVE }}, the date of your event is getting close!

Could you please confirm that your hub environment is ready-to-go, and matches your hub's infrastructure setup, by ensuring the following things:
- [ ] Confirm that the "Event Info" above is correct
- [ ] On your hub: log-in and authentication works as-expected
- [ ] `nbgitpuller` links you intend to use resolve properly
- [ ] Your notebooks and content run as-expected

[ ] 1 day before event, either a separate nodegroup is provisioned for the event or the cluster is scaled up.

During and after event

[ ] Confirm event is finished.
[ ] Nodegroup created for the hub is decommissioned / cluster is scaled down.
[ ] Hub decommissioned (if needed).
[ ] Debrief with community representative.

👉Template debrief to send to community representative
Hey {{ COMMUNITY REPRESENTATIVE }}, your event appears to be over 🎉

We hope that your hub worked out well for you! We are trying to understand where we can improve our hub infrastructure and setup around events, and would love any feedback that you're willing to give. Would you mind answering the following questions? If not, just let us know and that is no problem!

- Did the infrastructure behave as expected?
- Anything that was confusing or could be improved?
- Any extra functionality you wish you would have had?
- Could you share a story about how you used the hub?

- Any other feedback that you'd like to share?

I have assigned this one to @GeorgianaElena so we get it ready before the event and to lightly monitor it when it happens.

I've checked and

[x] the quota for number of nodes per groups is ok 450 and we will need at least 100 nodes for each large Python instance that will be used (~100 r5.4xlarge machines is expected to be started)
[ ] requested an increase in Running On-Demand Standard (A, C, D, H, I, M, R, T, Z) instances quota from 1360 to 1760 to account for 16vCPus per user, where total number of users is 110.

The latter has not yet been approved, will update the issue once that's done.

Update

Yesterday I asked for more info from the community about their expected usage, and what did large Python instances specifically meant. This is to make sure the assumption that they are planning to use the largest resource allocation from the Python profile was correct. Also, this happened following @consideRatio's feedback about possible further allocation improvements and node packing we can make based on being confident about their intended usage.

Still no update from AWS about the quota increse request. Is it expected for this to take a significant amount of time?

Update 2

Expected usage is 14.8 GB per person (~100 people expected)
The quota increase for max number of vCPUs assigned to the Running On-Demand Standard (A, C, D, H, I, M, R, T, Z) instances from 1,360 to 1,760 has not been approved yet. But, given the latest info about the intended usage to be for the 14.8 GB profile, which has a limit of 3.75 CPU, the previous quota value is more than enough.

@consideRatio, given this new info, using the same rationale from https://github.com/2i2c-org/infrastructure/issues/3166#issuecomment-1755630637, I was thinking to have the 14.8GB & 3.75CPU share be from a `r5.4xlarge

I was expecting to be able to monitor the openscapes jupyter hub in detail, but some of what I was expecting to see in grafana looks blank...... I opened an issue here

The workshop went off without a hitch!  @GeorgianaElena Thanks very much for your help!  It was challenging to monitor individual usage without being able to see the usual variables in grafana, but other than that it was awesome.

Yay! I am happy everything went smoothly @BriannaLind, congratulations 🎉 Also, thanks @consideRatio and @yuvipanda for figuring out and providing a fix for the grafana issue.
Closing this tracking issue, as the infrastructure changes were reverted thanks to @yuvipanda in https://github.com/2i2c-org/infrastructure/pull/3281 🚀


Allow variables inheritance in block

Fixes #246.

The original discussion was in https://github.com/djc/askama/issues/989. I don't really see a reason why we didn't allow variables to be inherited. Well, fixed now.

Please have a look at my change whether it's okay for you.
I won't admit that it took me like 6 hours in today until I came up with a solution I liked.

So Heritage was the issue! It was one of my next targets for finding out what went wrong. Less generics is a very good idea!
Book build is failing for some reason though? Seems unrelated to this PR.

(also I cannot approve my own PR haha)


Missing manufacturers

Concept Air  (Kites: Wave, Pulsion, FireFly)
Sky Country (Kites: Hysper)

Indeed they are missing but that's mainly because I didn't find a shop .... anyway, I'll see what I can do about that.

Nevermind - I thought it was looking at second hand sites, not just shops /Dave
-------- Original message --------
From: humbletrader @.>
Date: 27/11/2023 19:05 (GMT+01:00)
To: humbletrader/find-me-a-kite @.>
Cc: David Sands @.>, Author @.>
Subject: Re: [humbletrader/find-me-a-kite] Missing manufacturers (Issue #1)
Indeed they are missing but that's mainly because I didn't find a shop .... anyway, I'll see what I can do about that.
—
Reply to this email directly, view it on GitHubhttps://github.com/humbletrader/find-me-a-kite/issues/1#issuecomment-1828356288, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACHIPYDIJPSZDX3KZCUPK2TYGTI6NAVCNFSM6AAAAAA74K2LYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRYGM2TMMRYHA.
You are receiving this because you authored the thread.Message ID: @.***>


Something unforeseen error when accessing Devices tab - Windows 11 and VKB Gladiator EVO joysticks (L & R)

Tried installing and running this software today and encountered the same problem.  Attempting to navigate to the Devices tab instantly results in the above error and exiting the program.  Have tried uninstalling/reinstall, repair, install as administrator, running app as administrator but all give the same result.
Event Viewer showed the following:
Log Name:      Application
Source:        Application Error
Date:          2/08/2023 10:44:11 PM
Event ID:      1000
Task Category: Application Crashing Events
Level:         Error
Keywords:
User:          DAVE-PC\daveh
Computer:      Dave-PC
Description:
Faulting application name: HidHideClient.exe, version: <IP_ADDRESS>, time stamp: 0x6453fb70
Faulting module name: ucrtbase.dll, version: 10.0.22621.608, time stamp: 0xf5fc15a3
Exception code: 0xc0000409
Fault offset: 0x000000000007f61e
Faulting process id: 0x0x365C
Faulting application start time: 0x0x1D9C54FBBA136EE
Faulting application path: C:\Program Files\Nefarius Software Solutions\HidHide\x64\HidHideClient.exe
Faulting module path: C:\Windows\System32\ucrtbase.dll
Report Id: b3f3d65f-6a2d-4ed4-816e-86d86907673e
Faulting package full name:
Faulting package-relative application ID:
Event Xml:

1000
0
2
100
0
0x8000000000000000

2402

Application
Dave-PC

HidHideClient.exe
<IP_ADDRESS>
6453fb70
ucrtbase.dll
10.0.22621.608
f5fc15a3
c0000409
000000000007f61e
0x365c
0x1d9c54fbba136ee
C:\Program Files\Nefarius Software Solutions\HidHide\x64\HidHideClient.exe
C:\Windows\System32\ucrtbase.dll
b3f3d65f-6a2d-4ed4-816e-86d86907673e

Originally posted by @Strych74 in https://github.com/nefarius/HidHide/discussions/69#discussioncomment-6617797

Not enough info to do anything.


Create Id-Library.md

Adding documentation for the Id Library module

adding some context about our motivation for creating this module.
Our point of view with regard to identity is that a 1st party relationship between publishers and viewers of their content exists.  As such, we believe that publishers have a right to anchor all user ids generated by the Prebid userid module, to a persistent (hashed) identifier such as an email address. We believe that it is in the publisher, and by extension the open web’s interest, to create a deterministic id graph composed of the linkage between persistent ids and 1st party ids generated by the user id sub-adapters. As browsers limit our ability to generate cross domain identifiers, we believe a publisher controlled id graph is the right response.  We (Magnite) may decide to help publishers build this graph in the future if asked.


Are there built-in functions for load and tick tags?

I opened the source in VSC and searched for load.json and I couldn't find anything. I imagine I could probably do it easy enough by creating a new JSON file in the minecraft namespace but I'm not exactly sure how to create any file in a data pack that isn't .mcfunction.

Nevermind, I have discovered the tags parameter in beet.Function(). Sorry for wasting your time.


rkt run hangs on docker://julia

Our users would really like to run Julia as a container.  It works fine when run by docker, but rkt just hangs.  Need to kill-9 the rkt run process.

What did you see instead?
nothing, it hangs until kill -9

I just noticed slightly different behaviour.  The rkt run command still hangs, but is now responsive to ctrl-C, and doesn't need kill -9 to interrupt it.
Sorry, this isn't very satisfactory, but I can't determine what I am doing differently from before when it needed kill -9.  (I tried for some time to reproduce the previous behaviour, but couldn't.)
So, it's not as bad now, in that ctrl-C works to kill it.  But it still hangs, and doesn't produce any output.
Any ideas?

Ah I see, it's a timing thing.  It responds to ctrl-C in the first few seconds, but not subsequently.  I presume this is to do with the various stages of bootstrapping the container.  So the previous comment is probably a red herring.

Hi there,
You can always quit a running container by pressing ctl-] three times in quick succession. The reason ctl-C works in the first few seconds is that it kills the rkt preparation process rather than the kernel.
I did a quick test, and was able to run Julia by disabling seccomp:
# rkt run --interactive --insecure-options=seccomp docker://julia
...
julia>

By running julia locally with strace, I got the list of syscalls in a trival Julia execution:
echo | strace -f -c julia

They all looked pretty normal except mbind, so I added that to the default allow list and Julia worked!
# rkt run --interactive docker://julia --seccomp mode=retain,@docker/default-whitelist,mbind
...
julia>

We definitely don't want to add mbind to the list of allowed syscalls, so I'm not sure there are any changes to be made to rkt.
HTH!
--Casey

Hi Casey,
That works perfectly, thanks, very much appreciated!  All resolved now.
cheers,
Simon


[CAT-171] & [CAT-168] Fix exception handling for hibernation and decoding

Summary
Moved the error handling for 500 errors above the attempt to decode content so that an IndicoDecodingError doesn't get thrown before the server errors are checked.
Added a check for a 503 response code and throw an IndicoHibernationError if the retry-after header is set.
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] Jira story/task is put into PR title
[x] Code has been self-reviewed
[x] My changes generate no new warnings

sick - dig the idea about suppressing 500 error information. a little nervous it'll be harder to debug if it's a server issue but ultimately, probably for the best. Future thought - wonder if it's one of those cases where a debug setting could be beneficial to expose the underlying error

That's a good idea! I think for the 500s too we could potentially add a header from the backend that says "hey this 500 has more info/something to decode".


different output preview dimension from oc10 backend

Describe the bug
When a request for a thumbnail is made with the dimensions x=1,y=32 then

In oC10  server responds with an image 1px wide and 32px high
In ocis, the larger value from the two dimensions is taken to recalculate the smaller dimension to match the original aspect ratio.

Setup
export ACCOUNTS_HASH_DIFFICULTY=4
export OCIS_URL='https://localhost:9200'
export STORAGE_HOME_DRIVER='owncloud'
export STORAGE_USERS_DRIVER='owncloud'
export STORAGE_DRIVER_OCIS_ROOT='/tmp/ocis/storage/users'
export STORAGE_DRIVER_LOCAL_ROOT='/tmp/ocis/local/root'
export STORAGE_DRIVER_OWNCLOUD_DATADIR='/tmp/ocis/owncloud/data'
export STORAGE_METADATA_ROOT='/tmp/ocis/metadata'
export STORAGE_HOME_DATA_SERVER_URL='http://localhost:9155/data'
export STORAGE_USERS_DATA_SERVER_URL='http://localhost:9158/data'
export WEB_UI_CONFIG=$HOME/www/ocConfigs/ocis-config.json
export WEB_ASSET_PATH=$HOME/www/web/dist
export IDP_IDENTIFIER_REGISTRATION_CONF=$HOME/www/ocConfigs/idp.yml
export PROXY_ENABLE_BASIC_AUTH=True
export OCIS_LOG_LEVEL='warn'
export ACCOUNTS_DATA_PATH="/tmp/ocis-accounts/"
export SETTINGS_DATA_PATH="/tmp/ocis/settings"
export STORAGE_SHARING_USER_JSON_FILE="/tmp/ocis/shares.json"
export STORAGE_DRIVER_OWNCLOUD_REDIS_ADDR='localhost:6379'

BRANCH=master

@refs please close this issue if the behaviour is correct is ocis

[ ] ToDo QA:Team : if this turns out to be the correct behaviour the tests of https://github.com/owncloud/ocis/pull/2075 need to be moved out of the bugdemonstration folder

IIRC, @C0rby , this is the expected behavior in oCIS, right?

The ocis thumbnailer has now more features. Closing here.


Linker error building on OSX 10.9.5

Encountered the following error while running premake5 gmake && make all:
Building configurations...
Running action 'gmake'...
Generated Makefile...
Generated test.make...
Generated connect.make...
Generated info.make...
Generated yojimbo.make...
Generated client.make...
Generated server.make...
Generated secure_server.make...
Generated client_server.make...
Generated soak.make...
Generated profile.make...
Generated simple_messages.make...
Done (43ms).
==== Building yojimbo (debug_x64) ====
Creating bin
Creating obj/x64/Debug/yojimbo
yojimbo.cpp
yojimbo_address.cpp
yojimbo_channel.cpp
yojimbo_client_server.cpp
yojimbo_common.cpp
yojimbo_connection.cpp
yojimbo_encryption.cpp
yojimbo_matcher.cpp
yojimbo_network.cpp
yojimbo_packet.cpp
yojimbo_packet_processor.cpp
yojimbo_platform.cpp
yojimbo_simulator.cpp
yojimbo_sockets.cpp
yojimbo_transport.cpp
Linking yojimbo
==== Building test (debug_x64) ====
Creating obj/x64/Debug/test
test.cpp
Linking test
ld: warning: directory not found for option '-L/usr/lib64'
ld: unknown option: --start-group
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [bin/test] Error 1
make: *** [test] Error 2

From what I can tell, there isn't a lib64 and clang targeting Darwin doesn't support --start-group/--end-group on OSX.
premake5 --version outputs: premake5 (Premake Build Script Generator) 5.0.0-alpha9
make -v outputs: GNU Make 3.81
clang -v outputs:
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix

make test && ./bin/test works correctly after I remove -L/usr/lib64, --start-group, and --end-group manually from test.make.

Thank you very much for this report. Are you on a 32bit system or a 64bit MacOS system?

Thanks for this report!
I have had in 200 beta testers, one report of this exact error before. It is not just your machine. There is something going on.
I suspect this is a bug in premake5 because it is generating the makefile that you are having problems with.
I am successfully building on:
OSX 10.11.5
premake5 (Premake Build Script Generator) 5.0.0-alpha8
GNU Make 3.81
Clang:
clang version 3.8.0 (tags/checker/checker-278)
Target: x86_64-apple-darwin15.5.0
Thread model: posix
InstalledDir: /Tools/clang-check/bin

Sorry, I think I have two versions of clang on my system:
llvm -v reports:
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

I am on a 64-bit machine, agreed that it's a premake5 issue. This might be the kick I need to finally upgrade my OSX version... haha

I think so, but until then I will add this workaround to the BUILDING.md so people know what to do if they get this issue on an older MacOSX

Can you take this particular bug to https://github.com/premake/premake-core/issues, and perhaps see if it still occurs with the latest premake5 source?
I will update BUILDING.md with this workaround, and close this issue out.
Thanks!

👍

Updated BUILDING.md with your workaround and a link to the premake github to hassle them :)
https://github.com/networkprotocol/libyojimbo/blob/master/BUILDING.md

Here's the issue I created on the premake-core project, thanks for posting the workaround.
https://github.com/premake/premake-core/issues/548

Update: the current master branch of premake-core does not generate a Makefile with  --start-group or --end-group, but still attempts to link with -L/usr/lib64.
For reference, this premake version is premake5 (Premake Build Script Generator) 5.0.0-dev.

Good to know. Hopefully they fix it soon.


Add a note about how to include an example against master

I always forget how to do this. Luckily @simonbrunel chimed in (https://github.com/chartjs/Chart.js/issues/6104#issuecomment-468911596), but I thought it'd be good to document for the future

I would be more explicit that files at https://www.chartjs.org/dist/master/* should not be used for development or production purposes since they can be removed at any time.

Added a note. I just mentioned production purposes to make the text shorter. As long as users know those files can go away, that's the important part

Thanks @benmccann


Why / Balance

Technical details

Save action configuration on client when unequipping item that grants actions and load when equipping., See "Fix pda action." commit.
Media

Requirements

[X] I have read and am following the Pull Request and Changelog Guidelines.
[X] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

#1025 I think you are a tad late

#1025 I think you are a tad late

I know, I reverted it.

fair

Don't merge this yet, I'll fix ashen shift and ling transform actions getting messed up.


arrow next , previous not work

Thanks for the feedback @nvcken - and my apologies for not making it clearer, this component is currently heavily under development and not ready for use yet. It's just been published so that we (@bladey, @jossmac and I) can more easily collaborate on it. Keep watching and it'll become functional very soon!


Add dangling commas transform

Transform to add dangling commas to allow enabling eslint dangling-commas always-multiline rule. It formats only arrays and objects that don't already have a dangling comma to keep changes as minimal as possible.
What I did is to find all the object/arrays that don't have a trailing comma and then add a random key to them so they are modified. Then in a second pass I remove the added keys and format using recast trailingComma option.
The end goal here would be to run that the on react-native codebase to enable stricter eslint rules without having to manually fix the 1k+ warnings it will generate :)
Tested against the react-native codebase pretty succesfully. The only thing it doesn't support that eslint complains about is trailing commas in destructuring. It should be pretty easy to add support.

cc @cpojer

@benjamn is there a way to force-reprint a node?

oh yeah, you can set p.node.original = null to force a reprint.  I'd prefer not to add anything to objects or arrays though, even if its temporary! I'm scared that the codemod goes wild and adds a field it doesn't remove.

Alright now it's a lot less funky :)

would you hate me if I asked you to change hasNoDanglingComma to hasNoTrailingComma or so?

Should I change dangling comma for trailing comma everywhere then? I just took the name from the eslint rule.

I would be very happy if you did. :)

I love it! Thanks. Are you going to actually run it on react-native? :)

Fixed, now I hate you forever :)

I tried it and it worked well, there was a few minor issues that were not related to this transform so I'll have to check that first.


My Bets section - Wager & Odds displaying incorrectly

Looks like the Odds in the My bets section are rounding to the whole number

In Active Bets (in betslip) shows Full odds (in decimal format)

Beautiful! Looks nice.

Still seeing the rounding to whole number issue in my bets

Fixed. closing


Hyper-parameters for image size 512*512

This is a great work, and I appreciate that you shared it with us. I want to work on the image size 512512, but the hyper-parameters of 256256 are not working. The outputs are just some random noise. Could you give me some advice for the parameters like num_res_blocks, attention_resolutions_window_size, and channel_mult? I would greatly appreciate it!

Hi:
Emm can you first try to downsample the images to 256x256 and see if they works? Cause based on my experience, with inappropriate hyper-parameters should not give you random noise, at least should be some noisy and distorted images. I would consider your issue as some normalization problem. But please try 256 first.
If I were u, for 512 images, I will try some thing like:
num_channels=128
channel_mult = (0.5, 1, 1, 2, 2, 4, 4)
attention_resolutions="64,32,16,8"
num_heads=[4,4,8,8,8,16,16]
window_size = [[4,4,4],[4,4,4],[4,4,4],[8,8,8],[8,8,8],[4,4,4],[4,4,4]]
num_res_blocks = [2,2,2,2,2,2,2]
sample_kernel=([2,2,2],[2,2,2],[2,2,2],[2,2,2],[2,2,2],[2,2,2],),

Hi Shaoyan, thank you so much for your reply. I tried the code with 256 and it performed very well. I just want to try the larger image size. I appreciate the hyper-parameters you shared. Have a great day and happy holidays!

Hi Shaoyan, the results look good with the parameters you shared. Thank you so much! I have another question about multi-GPU running. I tried to use torch.nn.DataParallel() for multi-GPU running, but the output is just random noise. I also ran the code on a single GPU with the same dataset and parameters, and it outputs well. Have you run the code on multi-GPU and could you tell me how to output the right results? I would greatly appreciate it!

Hi:
Emm that is a good question. I don't know how to use the parallel computing here. Sorry about it.

Thanks for your reply! Happy New Year!


Implement TimetableItemDetail section and UiState

Issue

close #672

Overview (Required)

Implement TimetableItemDetail section
Implement TimetableItemDetailSectionUiState

Required review point

TimetableItem information is also used on the Screen, there are two redundant TimetableItems in the TimetableItemDetailScreenUiState. Is this the correct implementation?

Please fix the conflict 🙏

Rebased!

Hmmm, CI is failed, but I can't figure out why...
At any rate, :retry:

I could not retry my authority...
It is timeout error so next time it will succeed.
Can someone please retry?

We might have to extend time for build

Please fix the format 🙏

Format seems fine.
Looking at the error, it looks like some kind of request timed out.
I don't have permission to re-run, but next one will succeed.

Sorry for bothering you! Thanks!


Update from hotfix-example-5

🚀 Opening a pull request for this branch

CLA Assistant Lite bot ✍ All contributors have signed the CLA


chore(deps): update dependency @types/react to v16.9.29

This PR contains the following updates:

Package
Type
Update
Change

@types/react
devDependencies
patch
16.9.26 -> 16.9.29

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

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

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

:tada: This PR is included in version 5.0.2 :tada:
The release is available on:

v5.0.2
GitHub release

Your semantic-release bot :package::rocket:


Loading logic safetensors

What does this PR do ?
This PR adds the possibility to load the safetensors checkpoint with just passing the folder containing the checkpoint in load_checkpoint_in_model.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


vendoring files from scipy?

Something in this build is vendoring files from scipy according to our bots: https://github.com/conda-forge/artifact-validation/issues/769
Can you all look at this @conda-forge/isce3?

tree lib/python3.7/site-packages/scipy/
lib/python3.7/site-packages/scipy/
└── stats
    └── __pycache__
        └── _page_trend_test.cpython-37-pytest-6.2.5.pyc

2 directories, 1 file

I guess it's just the pycache that's created during unit tests. Shouldn't this be stripped out by the feedstock build? What do I need to do to get rid of it?

Ahhhh. Do you run the tests during the build or test phase?

Looks like build phase. conda-build won't remove those. If you can run them during the test phase that will fix it. Otherwise removing them by hand is fine.

Oh I see, thanks! So instead of calling ctest in build.sh, I should put in meta.yaml:
test:
  commands:
     ctest

Is that right?

Yes. You umay need to request that conda build specific source files when doing this as well.


Moved ByteBufferInputStream to Fuse.Common

Otherwise, Exif would not compile for android when running the
Fuse.Scripting.JavaScript tests. Exif is compiled at all in this case
because it doesn't get properly stripped, most likely due to uno/issues/1368.
This PR contains:

[ ] Changelog
[ ] Documentation
[ ] Tests

@kristianhasselknippe: This is needed against release-1.4, not master.

Confirmed to fix the issue for me!


Timing is not precise due to use of sleep

Something that's totally logical now, but wasn't when I was originally writing the code: If you want to calculate more-or-less precise timings (e.g. 1 picture every 1 second, or 1 picture every 10 seconds), and try to do so to make a specific frame rate, etc... then that's not going to happen if the logic goes:
take_and_store_picture_with_picamera()
sleep(x)

...because take_and_store_picture_with_picamera() takes a non-zero amount of time.
On the Pi Zero W, it actually takes .5s - 1s, and that significantly impacts the time delay in the timelapse.
So I'd like to find a way to more precisely hit the time interval defined in config.yml. Maybe set a timer and have it hit a capture on each interval? Is there a way to thread the actual picture taking in Python? I could whip it up more easily in Node.js or Go, but maybe there's an easy way to tackle this in Python too.

Looks like the simplest way would be to use threading.Timer: http://stackoverflow.com/a/3393759
import threading

interval = 5.0

def capture():
    threading.Timer(interval, capture).start()
    # Do stuff...

capture()

It's more complicated than that, though... will need some thinking to make sure I'm not resetting all the camera settings over and over and also causing the image interval counter to be more annoying than it has to be.

Much more complicated. I remember how much I hate multithreaded computing :D

With the branch in #4, I got the following after a few hundred pictures last night:
Exception in thread Thread-370:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 1082, in run
    self.function(*self.args, **self.kwargs)
  File "timelapse.py", line 49, in capture_image
    thread.start()
  File "/usr/lib/python2.7/threading.py", line 745, in start
    _start_new_thread(self.__bootstrap, ())
error: can't start new thread

Exception in thread Thread-369:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 1082, in run
    self.function(*self.args, **self.kwargs)
  File "timelapse.py", line 57, in capture_image
    camera.capture(dir + '/image{0:05d}.jpg'.format(image_number))
  File "/usr/lib/python2.7/dist-packages/picamera/camera.py", line 1423, in capture
    'Timed out waiting for capture to end')
PiCameraRuntimeError: Timed out waiting for capture to end

Might need to to handle that exception (in any case). Not sure what caused it, though.

Maybe https://github.com/waveform80/picamera/issues/242#issuecomment-168518418 ?

[it was] using up the per-process thread limit, which eventually blocked the camera

$ cat /proc/sys/kernel/threads-max
5805

See: http://stackoverflow.com/a/344292
But if threading is going to be a pretty annoying thing to deal with, maybe we go back to the old-fashioned sleep() technique, and just use a more precise timer/date functionality...

Happened again, on 369/370.

Trying removing the daemonization... might make ctrl-c stuff more difficult.

Another test now, without the daemonization and wait, which might free up threads and not bump into the limit?

For future searchers... why not calculate the time for the next picture BEFORE you start taking the first one.  E.g.:
time_for_next_pic = time.time() + interval_seconds
camera.capture()
if time.time() > time_for_next_pic:
  # uh oh! Took longer than the interval. Maybe you actually need threading!
else:
  sleep(time_for_next_pic - time.time())


fix docker inspect upper

Minor fix some nits during revising my Docker book.
Signed-off-by: Harry Zhang<EMAIL_ADDRESS>

need a rebase @resouer 🐳

Actually, this file was moved to the central docs repository. Could you reopen this PR in the docs repo? This file can now be found here; https://github.com/docker/docker.github.io/blob/master/engine/admin/formatting.md

@thaJeztah no need, has been fixed in new repo :)

@resouer even better :+1:


Missing Class

Hello,
nice project.
I was trying to use this cardflow in my project, and try to read the code but unable to find this
    `ru.adonixis.submitcreditcardflow.databinding.ActivitySubmitCreditCardBinding`

please help me to find this.
Thanks.

Hi,
class ActivitySubmitCreditCardBinding is not my own class, it's auto-generated class from the layout file "activity_submit_credit_card.xml" using the Android Data Binding Library. You can learn more here https://developer.android.com/topic/libraries/data-binding/index.html

adonix,
So how it is auto-generated? Can you elaborate?
thanks


[TASK] Calvin/Add Remaining Three Button Templates for Primary Buttons

This adds in the templates for the Secondary, Primary Inverted, and Secondary Inverted buttons.

Closing this PR as we decided to implement button styles on iOS instead of custom components. All four button styles have been included in this PR.


Autorest Regen Preview to 3.0.0-alpha.20231028.1 by Alexander Sher from refs/pull/3726/head

Triggered from https://github.com/Azure/autorest.csharp/pull/3726

API change check
API changes are not detected in this pull request.


Fix idiosyncrasies of Python code-gen type management

Describe the bug
This is probably the result of a number of evolutionary steps that have been taking but having looked at this code a lot now, I wanted to capture what I've seen.
Oddities in choice of set of types supported and how they are supported
In our Python code-generation (attributes) stuff, we support these basic types; Bool, Int, Float,Double, UChar, String as well as a sort of generic Enum type. We support these as individual scalar members, vector members and array members. But, we also have some idiosyncratic support for these...

GlyphType which is handled specially, as its own special type instead of as an ordinary Enum
ScaleMode which is handled via hard-coded logic in GeneratePython.h instead of as Enum but which is the only type defined in src/common/utility/enumtypes.h
Hard coded logic in GeneratePython.h for an attribute whose type name is "ColorAttributeList"
LineWidth which is implemented internally identically to Int but is nonetheless its own special thing
Opacity which is implemented internally identically to Double but is nonetheless its own special thing
VariableName which is implemented internally identically to String but is nonetheless its own special thing
ColorTable which is implemented internally identically to String but is nonetheless its own special thing
Color which is implemented internally AFAICT identically to an IntArray (size 4) but is nonetheless its own special thing
A number of attribute objects (see this list) have evolved over time but we've nonetheless maintained custom python logic for handling obsoleted members. Some of it is 15+ years old. What is our policy for changing our Python protocol?
We support both obj.memberName = ... and obj.SetMemberName(...). This seems unnecessary. Why not support one or the other but not both?

All this raises several questions...

Do we really need both Float and Double types. Why isn't Double sufficient?

NOTE: I do not believe any of our attribute objects have array or vector members of sufficient size that double vs. float storage size would be an issue. In any event, Python certainly doesn't distinguish between these types.

Do we really need Bool? Why isn't Int sufficient?
Do we really need UChar?

NOTE: A SILRestriction() object has a member, useSet which is problem-sized in terms of number of sets (e.g. domains, materials, etc.) but that member is/should never be directly manipulated by python code anyways (it is indirectly manipulated via TurnSet() and friends). So, it isn't clear it needs to be manifested as part of the Python object.

Do we really need both Vector and Array types? Vector is more general because it supports arbitrary, run-time size. But, why not just have Vector with option of specifying a fixed size instead of having a wholly separate type, Array for that?
Maybe this would all be fixed if we just replaced everything with Conduit...is that an option?

This all leads to a ton more custom coding of code generated stuff than is necessary and really impedes productivity when working in this part of the code base.
The (attribute) objects defined by XML files are part of other protocols in addition to python types
The .xml files defined things that work both as Python types but also as things that get transmitted between processes using VisIt's low-level inter-process communication stuff. They also define how those objects can be persisted to ascii XML files, etc. It is concievable we've confused purposes here and are allowing the needs of one to force unnecessary requirements upon the other protocols.

We also do all the code-gen as C++ code emitting to std::cout the lines of code to be generated. I think we could do better using mostly, if not all, macros (as my update in #5750 does) or, possibly even better, CMake templatized code that we just process via CMake replacing things like @variable-name@ with various text as needed. All the quotation logic in the current code-generation paradigm is quite combersome.

We should have a special topics meeting about this.

We had a special topics meeting on this. There are additional considerations...

These types are managed not only in Python but also C++, Java and Qt.
The way that the xmledit tool understand and manages these types also has some conveniences to keep in mind.
The Qt handling of these types is critical to our ability to auto-gen plot and operator interfaces and attribute objects and GUI windows.
types like LineWidth and VariableName know enough about what they are so that when they appear as part of a Plot object for example, that results in the appropriate Qt widget generation (e.g. a variable menu pull-down for a thing that is of type VariableName or a selection of 12 different line widths for a thing that is of type LineWidth)
Having something that is supposed to be bool implemented under the covers as int may work but it does lead to complications in the use of the resulting API.
We acknowledge that this could be simpler and that we could, maybe, under the covers, simplify the implementation by collapsing types (e.g. Int, Double, String and vectors of these of arb. or fixed size). This would minimize the complexity in the implementation. But, even if we do, we would still want to find a way to pass along the knowledge that this String type is a VariableName and that String type is a ColorTableName or that this Int is a LineWidth and that Int is an avtCentering so that we can conveniently get the behavior we need associated with those types wherever they wind up being used.
We decided the best short term action to take is simply to document various of these details so that other developers stumbling into this section of code have a little more to go on. We also decided that this GitHub issue comment, togther with these code comments...
https://github.com/visit-dav/visit/blob/b962e70292903a0444d2c95cd7a6e64e8e946a75/src/tools/dev/xml/GeneratePython.h#L311-L354
will have to suffice for said documentation
We will add a link from the developer documentation to this issue

We will add a link from the developer documentation to this issue

See #5963


[EUWE] Update dashboard widget styling

This PR updates the styling of the main dashboard widgets with the latest Patternfly Card markup, fixing a bug where the drop-downs in the right column widgets appear off the screen. It also corrects the size of the toolbar and the toolbar height.
This bug was fixed on master here: https://github.com/ManageIQ/manageiq-ui-classic/pull/728
https://bugzilla.redhat.com/show_bug.cgi?id=1426752
Old

New

@miq-bot add_label bug, formatting/styling, euwe/yes

@miq-bot add_label styling

cc @simaishi

@miq-bot assign @simaishi


ModelMesh Release Tracker for KServe v0.7.0

The plan is to cut the KServe 0.7 release mid next week. For this release, ModelMesh will be loosely integrated with KServe.
Action Items:

[ ] ModelMesh InferenceService CRD Support

https://github.com/kserve/modelmesh-serving/pull/34
[ ] Documentation on using InferenceService CR with ModelMesh

[ ] ModelMesh REST Proxy Sidecar Support

https://github.com/kserve/modelmesh-serving/pull/27
[ ] Documentation on using REST inferencing

[ ] Add KServe ModelMesh DeplooymentMode Annotation checker

https://github.com/kserve/kserve-pending/pull/54
This PR needs to be reopened on the kserve/kserve repo

[ ] Documentation updates

[ ] Refresh External ModelMesh Documentation

https://github.com/kserve/modelmesh-serving/issues/29

[ ] Update KServe Website with ModelMesh Documentation

https://github.com/kserve/website/issues/17

[ ] Create all-in-one install for KServe + ModelMesh with instructions

Single kubectl apply with both the KServe release YAML and ModelMesh release YAML
This requires cutting a GitHub release for the ModeMesh repos

What should the version number be (v0.7.0 as well to follow KServe?)

[ ] Go through KServe documentation and note deprecation of TrainedModels

@ScrapCodes Have you had a chance to revisit https://github.com/kserve/kserve-pending/pull/54 ? Looks like it needs to be reopened in kserve/kserve.

I suggest we make modelmesh-serving release v0.7.0 to be in sync with KServe

@yuzisun With the KServe website being introduced, what is the future of the KServe docs folder? Should MMS docs in this folder be updated there as well as on the website? And will the main KServe README still contain install instructions (like it does currently) or will we switch it to link to the install page on the website?

Hi @pvaneck, I was trying a different approach for it. Similar to https://github.com/kserve/kserve-pending/pull/57 . Once it is ready, I will open it against kserve/kserve.

Thanks, @ScrapCodes . Let me know if you are encountering any issues, or need any help. The aim is to get this in before the KServe release is cut Wednesday next week.

Thanks @pvaneck , I have an open PR https://github.com/kserve/kserve/pull/1851.


Example -  NOT FOUND

The example given by JFFar is not working anymore, someone has a copy of it and want to share it ?
[https://github.com/J-F-Far/url-redux-sync/blob/master/src/index.js]

Searching the repo name on github reveals a clone here: https://github.com/aruncoderenthu/url-redux-sync
I removed the broken link from the readme, and replaced it with a link to another usage of this module (in fact my initial use case).


Documentation sphinx

First version for the RUBIX documentation. Once the open pull requests are merged into the main, I have to go through the docstrings of the new added functions, then the documentation should be ready.
Also typechecking for the functions is now implemented.

I now worked through your comments, almost done. I have only to fix one failing pytest. The test is failing because of typechecking

I can review this once the merge conflict is resolved @anschaible


Check stackitem jsonization

neo-project/neo#1569 added direct stack item jsonization, we already have one defined in our code, but we need to check that it conforms to this format.

And we need to apply it to app exec results (both exec result's stack and notification's state now use it). It also should be used for vm stack prints.

RPC invocations results also use it now.

C# ToJson fails for recursive structures, which may or may not be what we want for execution results, especially for FAULT states. I assume recursive structures are a of no use anyway.


[Feature] Implement Scheme.stop() API

Reported by andrex42 on 2009-09-03 14:35 UTC
It should be possible to stop a running scheme using the API.

Updated by andrex42 on 2009-09-03 17:36 UTC

labels: 1030477 -->
assigned_to: andrex42 --> nobody

Commented by pgrigorenko on 2009-10-05 12:33 UTC
What is the difference between this and ProgramContext.terminate()?

Commented by andrex42 on 2009-10-06 16:21 UTC
A generated program P1 may create several programs P2, ..., Pn running in parallel by executing a scheme several times or by loading and running other schemes. The class ProgramContext refers to a different type in each of the running program instances P1, ..., Pn. Hence, ProgramContext.terminate() called in P1 would stop P1 and would not be useful for stopping Pi, 1<i<n. I believe the desired functionality is already present as the method Scheme.terminate(runnerId) (Scheme.run() returns the runnerId value) but it should be verified and documented.


Serving files on deployment server

Thanks for sharing the play & react integration source codes. I have a few problems on deployment in production mode. Could you consider how to solve the issue of my used case?

Back-end needs to download some images file from a server.
Front-end serves the files downloaded.
It works perfectly on development mode run by sbt run.
Deployment on production is done by sbt dist, unzip target/universal/xxxx.zip, cd xxx, ./bin/xxx Dplay.http.secret.key=lqkejrnjnjfajsdjfajhsdfhjasdf -Dconfig.file=/home/ubuntu/code/xxx/conf/application.conf -Dhttp.port=8080
Downloaded files are under xxx/public/images/
Front-end cannot serve the downloaded images file.
What I should need to change the config or controller to serve the file under xxx/public/images folder?
Thank you.

@yanlinaung30 all the contents in public directory is directly exposed via this seed (mechanism used to server forntend source). Check the frontend asset traffic via browser dev tools network tab and use a similar kind of relative paths to access contents in public dir.
Make sure all downloaded images are dynamically added to the public dir.

@yohangz Thanks for your reply.
public dir means Root/public or Root/xxxSNAPSHOT/public or ui/public.
I have tried all public dirs by copy & paste image files to all public folders.
Unfortunately it does not work...

When you build the play project artifact all static frontend assets generated by react codebase build is copied to public directory prior to play build and bundled in jar files generated.
Thus, if you are planing to dynamically retrieve and serve images via play framework you better keep the images in some other directory and implement a separate route to retrieve and server those.


start-multi-session  (--initial-project-description expected)

Issue
Got the following error when:

I tried to run a docker image built with the purpose of starting a multi session.
I deployed the same to GCP.

label-studio start-multi-session: error: argument --initial-project-description: expected one argument

To Reproduce

edit tools/run.sh to include:

label-studio start-multi-session ${PROJECT_NAME:-my_project} -b \
             --host ${HOST:-<IP_ADDRESS>} --port ${PORT:-8081} --protocol ${PROTOCOL:-http://} \
             --username ${USERNAME:-""} --password ${PASSWORD:-""} ${INIT_COMMAND:-"--init"}

build a local docker image and run OR deploy to GCP.

Expected behavior
Multi project/session up and  running.
Environment

Local: macOS
cloud: GCP

Additional context
I previously tried the running with pip option and things worked fine for the multi-session option.

@OmaymaS start-multi-session is not supporting all these options:
${PROJECT_NAME:-my_project} -b \
             --host ${HOST:-<IP_ADDRESS>} --port ${PORT:-8081} --protocol ${PROTOCOL:-http://} \
             --username ${USERNAME:-""} --password ${PASSWORD:-""} ${INIT_COMMAND:-"--init"}

Just leave
label-studio start-multi-session

Thanks!
But what if I'd like to use a username and password?

I could see the answer in this slack thread.
Issue is resolved.
Thanks

@OmaymaS Thank you very much for your attentiveness and response!


Improve expression execution

Improve expression execution by adding additional variables

current DictionaryParsingContext

This was sadly not possible due to a strict 20 ms timeout, instead i moved all powershell execution to its own runspace and run it ahead of time, this way all values are cached in memory when needed without any processing delay.


container referencing name scoping support including volumes_from, af…

Pull request for:
Container referencing name scoping support on container create.
This includes volumes_from, affinity, and links.

@KennethNagin Before we review the code, we should have a description of the various use case we address here (e.g., affinity, volume-from, etc..)

@KennethNagin I'd split it to multiple Commits each of which deals with a subject. That code which I think I once wrote part of is huge and I'd write it differently today to improve the readability.
Maybe we can do a re-Write and hence achieve both  multiple commits for multiple subjects and more readable code? WDYT?

@doronp @KennethNagin separating into commits is probably not the main issue here . The CheckContainerReferences  function need to be re-write from scratch. (1) There are common parts that repeated and can be taken out into functions (2) need to see if matching can be done differently (3) we need to move the name, id, shortid --> long id conversion into utils (4) The matching ID <--> tenant should be moved to utils as well where we can latre on add hashes.
Let's start with writing down the explicit command ad arguments we try to support

The containerRefeence complexity is a direct result of the fact that we do not have an efficient way to determine which containers belong to a tenant.   Thus the most basic simplification that is required is an  better more efficient way to cache a collection  of containers owned by the tenant.  Once that is created then we should be able to quickly determine whether there is a container reference in the collection.  In my opinion, only once the above is done does it make sense to break up containerReference into three distinct units, i.e. volumes_from, affinity, links.
I suggest that two utility functions be created.

func getContainers(string TenantId) (ContainerCollection).
func getContainerLongId(ContainerCollection containerCollection, string containerReference) (string).
I am not sure which is the best structure for the ContainerCollection since the containerReference could be longId, shortId, or name.


Remove 'Alamofire.Manager' subclass

I'm not sure if this needs to be, or should be, a subclass of 'Alamofire.Manager'.
There are a few other options here.

Create a separate serializer for S3 requests with no dependency on 'Alamofire' and just allow that to be used.

Have a 'requestManager' property on the instance that is used to make all requests. If it is not set, the default manager is used.

I think there may be better options. I'm going to continue considering this.

This has been completed.


[MINOR] Fix doc of org.apache.hudi.sink.meta.CkpMetadata#bootstrap

Change Logs
Fix doc of org.apache.hudi.sink.meta.CkpMetadata#bootstrap
Impact
none
Risk level (write none, low medium or high below)
none
Documentation Update
none
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@TJX2014 please use [MINOR] for 1-line doc update PR.


[e2e]: go release main config-ldflags-noassets slsa3

Repo: https://github.com/slsa-framework/example-package/tree/v17.0.315
Run: https://github.com/slsa-framework/example-package/actions/runs/4760643687
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.release.main.config-ldflags-noassets.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.release.main.config-ldflags-noassets.slsa3.yml
Trigger: release
Branch: v17.0.315
Date: Fri Apr 21 02:05:56 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/v17.0.316
Run: https://github.com/slsa-framework/example-package/actions/runs/4760783200
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.release.main.config-ldflags-noassets.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.release.main.config-ldflags-noassets.slsa3.yml
Trigger: release
Branch: v17.0.316
Date: Fri Apr 21 02:31:14 UTC 2023
Tests are passing now. Closing this issue.