optimize spend lower/upper bounds held constant don't work when spend is not linear to avg media spend * n_time_periods

Im running the demo, and trying to keep one of the channels constant (with lower/upper bounds = 0).
It works fine when im using (btw i removed the extra features in the demo):
setting lower/upper bounds with 1st channel constant:
lower = jnp.repeat(0.2, mmm.n_media_channels)
upper = jnp.repeat(0.2, mmm.n_media_channels)
lower = lower.at[0].set(0)
upper = upper.at[0].set(0)
and (same as in the demo):
n_time_periods = 10
budget = jnp.sum(jnp.dot(prices, media_data.mean(axis=0)))* n_time_periods
works fine, channel 1 is same (previous=optimal)

BUT, when im using another budget (for example: budget = jnp.sum(jnp.dot(prices, media_data.mean(axis=0)))* 9) channel_1 is not constant (previous!=optimal)

How can i keep channels constraints when the spend is not avg media spend * n_time_periods?
thanks!!

Thanks a lot for flagging this! I just wanted to share a link to our new "support" section in the readme to give you some more information on how we can and cannot support such issues at the moment.

@michevan any idea how to approach this? the readme doesn't help here

Hi @ohad-monday - Were you able to fix this? I am also facing similar issue where lower bound/upper bound per channel is not met in the optimization.


How to Install Pip/Pip3 for Python

https://www.linuxscrew.com/install-pip
Checking if Pip is Already Installed
To check if pip is installed, you can check the version installed on your Ubuntu system by running the following in the terminal:
pip3 --version
If it is installed, you’ll see something like:
pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)
Installing Pip/Pip3
If it is not, you can install it by running the following in your terminal:
sudo apt update
sudo apt install python3-pip
Using Pip
You can list out all of the available functions in Pip from the terminal:
pip3 --help
Listing Installed Pip Packages
To see what Pip Packages are already installed on your system:
pip3 list
Installing Python Packages with Pip
To install a package, you’ll need to know the name of the package. You can search for packages online in the PyPI package database at https://pypi.org :
pip3 install smpl
Above, we installed the smpl graphing package.
Installing a Specific Package Version
Install a specific version of a package (often done for compatibility reasons):
pip3 install smpl==<IP_ADDRESS>
Upgrade an Already Installed Package
Update a package you already have installed on your system:
pip3 install --upgrade package-name
Uninstall
Finally, you can completely remove a package from your system using Pip:
pip3 uninstall package-name

https://github.com/pypa/get-pip

https://matiascodesal.com/blog/how-use-git-repository-pip-dependency/


Query Regarding Gradient Scaling for bfloat16 in Accelerator

Hi Team,
While working with the Accelerator, I noticed that we do not unscale the gradients for mixed precision with bfloat16. Specifically, no GradScaler is defined for bfloat16 as seen in the following code snippet:
https://github.com/huggingface/accelerate/blob/5ec00da2befbe9fa666f1bee8bdb1dd4daf713e3/src/accelerate/accelerator.py#L430-L460
Moreover, the accelerator.clip_grad_norm_() function, which calls unscale_gradients() to unscale the gradients, does not seem to apply to bfloat16 either.
However, in the document of pytorch amp, it seems to imply that we need to use GradScaler for bfloat16.
As a new finger in this area, I was wondering is there a specific reason we don't use gradient scaling for bfloat16? If so, probably it is better to include this information in the Accelerator's documentation?
Best,
Jianyuan

Hi @jytime, bloat16 do not need gradient scaling compared to float16. I can't find the information in the doc you shared.

Thanks for the clarification!


Script to auto-upgrade argo-rollouts-manager to latest

What type of PR is this?
A script which automatically upgrades to the latest commit of argo-rollouts-manager (Argo Rollouts operator).
When you run the script, it creates a PR like this: https://github.com/redhat-developer/gitops-operator/pull/700
See README.md within the PR for details.
/kind enhancement
Have you updated the necessary documentation?

[X] Documentation update is required by this PR.
[X] Documentation has been updated.

Which issue(s) this PR fixes:
Fixes #? N/A

/retest

/lgtm


Comments break assertion in ruamel

See original issue on GitLab
In GitLab by [Gitlab user @valentindavid] on Sep 27, 2019, 11:04
Summary
When having a comment in a (>), there is an assertion that breaks during tracking.
Steps to reproduce
Have an element like that:
config:
  build-commands:
    (>):
    # Comment
    - list

Track it, and make sure that one source plugin will find a new ref.
What is the current bug behavior?
Assertion breaks in ruamel.yaml.
What is the expected correct behavior?
It should not break.
Relevant logs and/or screenshots
See example of error: https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/jobs/305566027
Possible fixes
Other relevant information
It happens on 1.4 branch.

BuildStream version affected: /milestone %"BuildStream_v1.4"

In GitLab by [Gitlab user @valentindavid] on Sep 27, 2019, 11:06
mentioned in merge request freedesktop-sdk/freedesktop-sdk!1854

In GitLab by [Gitlab user @tpollard] on Feb 17, 2020, 14:36
marked this issue as related to #1265

In GitLab by [Gitlab user @cs-shadow] on Aug 13, 2020, 22:39
This issue and #1265 appear to be duplicates. Although this is older, I am closing this one in favor of #1265 as that one has more details.


option to disable viewing forever blocks while in debug mode

Is your feature request related to a problem? Please describe.
I'm using multiple forever blocks in my project. i currently have a bug in my code im trying to debug, but whenever i put it in debug mode, it only focusses on and highlights the forever blocks.  If i pause it and try to play it step by step, it just shows the one of the forever blocks over and over
Describe the solution you'd like
Maybe, when in debug mode, there could be a toggle at the top of the screen that makes it so that it would still run the code in forever loops (or while loops), but not focus on it when you pause the code to play it step by step.
Additional context
I feel that it should be clarified that all forever loops used in my project have if blocks in them, so i dont know if thats effecting anything.

As a workaround you can just put the breakpoint on the code you are interested in. This is pause in that code path and you can continue debugging it.


CMS not passing Class Names on custom pages

There is a reference to a styles.css in cms.js however I cannot find that file styles.css. I'm picking this why the styling isn't working in the Preview Pages when you're editing in the backend of the CMS

Yes, cleaning a few things up with style. I'll have to check up on this later on.

More on this. Its not that styles.css isn't being loaded. Its that in the CMS. Some pages don't get the correct class names added. For example. Home Page see below.

Then we see a custom page that has been added.

we get these weird pseudo class names.

Ok, you need to apply a template to your new services page. Then for the CMS preview panel to work look at the cms.js follow the pattern.
import { DefaultPageTemplate } from '../templates/DefaultPage'
Then
CMS.registerPreviewTemplate('infoPages', ({ entry }) => (   <DefaultPageTemplate {...entry.toJS().data} /> ))
Let me know how you go :)

As far as the reference to styles this loads the built public version of your css so the preview panel looks like the live site.
if (   window.location.hostname === 'localhost' &&   window.localStorage.getItem('netlifySiteURL') ) {   CMS.registerPreviewStyle(     window.localStorage.getItem('netlifySiteURL') + '/styles.css'   ) } else {   CMS.registerPreviewStyle('/styles.css') }

Alright. That makes a lot more sense. I've added in the templates to CMS.js however I'm still getting some weird stuff happening here.
For reference the repo is here. https://github.com/flamebeard/WhereAmI

As far as the reference to styles this loads the built public version of your css so the preview panel looks like the live site.
if ( window.location.hostname === 'localhost' && window.localStorage.getItem('netlifySiteURL') ) { CMS.registerPreviewStyle( window.localStorage.getItem('netlifySiteURL') + '/styles.css' ) } else { CMS.registerPreviewStyle('/styles.css') }

Where is the above code? I couldn't find that in the repo?
Thanks for your help too!

Have you got it up on Netlify? enable identity and all that jazz. shouldn't need to change this but is on the top of this page :) https://github.com/thriveweb/yellowcake/blob/master/src/cms/cms.js

Just worked this out. Under cms.js I had forgot to register the name of the page from config.yml
for example it looked like this
CMS.registerPreviewTemplate('blog', ({ entry }) => (
  <HowPageTemplate {...entry.toJS().data} />
))

When it should have looked like this
CMS.registerPreviewTemplate('how-page', ({ entry }) => (
  <HowPageTemplate {...entry.toJS().data} />
))

Thank you for your help mate!


Add explanation of colours

What do the colours mean? It would be great to have an explanation of that somewhere.

Great idea to add an explanation of the colors. The board uses the Fitzgerald Key Groups parts of speech:
Blue: adjectives
Green: verbs
Yellow: pronouns
Orange: nouns
White: conjunctions
Pink: questions
Brown: Adverbs
Red: important function words, negation, emergency words.
We will be adding this information to the readme doc, we will also need to update the color of the tiles in the board to ensure they're in the correct color scheme. Thank you Emma.


Only install the APIs we really use ...

... instead of installing all the K8s APIs referenced by the OpenShift
API helpers.
Signed-off-by: Stephen Kitt<EMAIL_ADDRESS>

/hold
This needs to be tested in a real deployment.

/unhold


Oauth Token Refresh

Description
Adds a new Oauth Token refresh endpoint to allow getting a new access token from a valid refresh token
Fixes #15
Resolution/What did you add?

Oauth Refresh token endpoint
Unit tests to validate new handler
Update regex in auth middleware to allow Oauth Access token to bypass Auth Header
Check expiration time of jwt token in JWT package

Additional Release Steps
None required
How can we test this?

Run unit tests with make test
Run application by first running docker compose up
Run application with make run, optionally run in debug mode from your IDE.
Create a user if none exists.
Login with that user to get a token
Access the new endpoint passing in the refresh token in the query params. A new access and refresh token should be issued.

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new errors
[x] Is my code backwards compatible
[x] Have I written unit tests

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


引用了不存在的模块

我在跨平台的项目中引入了regedit-rs，在mac系统中打包会报错。js-binding.js中会引用regedit-rs-darwin-arm64，但是这个库不存在。
可以在win32以外的系统中引用regedit-rs时，返回一个空值吗？

Hi, yeah I can do that but I think its maybe more an issue with NAPI-RS 🤔
In fact I've already faced this issue in one of my own project, and to handle the error I had to import the pakcage like this (if it can help you for now) :
const { list } = (execOnOs({ win32: () => require("regedit-rs") }, true) ?? {}) as typeof import("regedit-rs");

And the execOnOs is a simple fonction :
export function execOnOs<T>(executions: { [key in ProviderPlatform]?: () => T }, noError = false): T {
    if(executions[process.platform as ProviderPlatform]) {
        return executions[process.platform as ProviderPlatform]();
    }

    if(!noError) {
        throw new Error(`No execution found for platform ${process.platform}`);
    }
}

感谢你的回复。我项目中的某个插件导致我无法直接动态导入模块。于是我把regedit-rs的代码拷贝到了项目中并在内部做了判断，算是解决问题了。


Integrate documentation for the models

Aside from the missing documentation that we need to push, my feeling is that it's a bit obscure what's happening underneath when we launch the scripts and/or simulate the models. Maybe a Live Script can help here.
Originally posted by @pattacini in https://github.com/icub-tech-iit/study-icub-head/issues/2#issuecomment-1272949110

Started documenting the work through a live script, here is a preview:
https://user-images.githubusercontent.com/38140169/214078956-7de63a79-9ea3-4923-8990-7297de87769d.mp4
Maybe it could be useful to reduce the verbosity of commands and plot the full fledged simulation results in the end?

Super!

Maybe it could be useful to reduce the verbosity of commands and plot the full fledged simulation results in the end?

Let's keep it as it is for now.


Check if linting works on clean PR

Linting is failing on https://github.com/nephio-project/nephio/pull/597, this PR is a test PR to see if linting is working on the main branch with just a linter upgrade.

/retest

All linting and security checks are now passing.


fix: initialize file size

The currentSize was initialised to zero, causing the rolling to not happen on restarting the transport.
Fix #34

@burgerni10 are you still interested in finishing this work? It conflicts right now

@burgerni10 are you still interested in finishing this work? It conflicts right now

Hi @mcollina, I've rebased my PR and adapt a test. Since we now retrieve the initial file size, it shifts the log to the next file. I remove one long(number 7) because it would have removed file number 3 (because of the rotation).


Error in extended multibar example on browser window resize

If I switch this example chart http://krispo.github.io/angular-nvd3/#/multiBarChart to "Extended" and then resize the browser window, I get the following console error:
Error: Invalid value for <g> attribute transform="translate(NaN,5)"

You need to disabled nvd3 resize events and empty some properties:
window.nv.charts = {};
window.nv.graphs = [];
window.nv.logs = {};
// remove resize listeners
window.onresize = null;

Yes, this bug is fixed in the last version.
but one notice, the only graph (for specific directive) is needed to be empty, while window.nv.graphs = []  will empty all nv graphs on a page.

Ok. Thanks!


Frontend: "Layout Sillyness"

I'm not working on Layout... but in some small ways I am, because that's what most people see.
Bottom line, it's not my focus. I am roughing things in, making them in to components, but that's it. Color Scheme, style nuances, these are all a completely separate issue. Many things depend on other things that aren't finished or don't exist yet. I need to finish all the necessary pieces first, then we colorize them.

It's a little better now.


Fix modulation propagation for Y-sorted CanvasItems

There was already RendererCanvasCull::Item.ysort_modulate but... currently it was never set/used :upside_down_face: (likely overlooked in 4.0 rewriting). This PR is pretty much redoing what was done when it was originally added in #30318 (separately stores and applies the modulation for each item within the branches flattened due to Y-sorting).
Fixes #63994 (actual cause of the other issues).
Fixes #72519.
Fixes #73266.
(tested MRPs from all of these)

Thanks!

Cherry-picked for 4.0.4 together with https://github.com/godotengine/godot/pull/78134.


Update wazero

Hi @comeonjy - sorry for the troubles, this repo hadn't been updated for a while and needed some updates to the CI. I have refreshed it and all looks good. Thanks for the contribution!


Inactive color of media player buttons is the same of the bg

@joevtap add or replace
mediaviewPlaybackActive: pGreen; // video playback progress already played part
mediaviewPlaybackInactive: pSelection; // video playback progress upcoming (not played yet) part
mediaviewPlaybackActiveOver: pPink; // video playback progress already played part with mouse over
mediaviewPlaybackInactiveOver: pComment; // video playback progress upcoming (not played yet) part with mouse over
mediaviewPlaybackProgressFg: pFg; // video playback progress text
mediaviewPlaybackIconFg: pGreen; // video playback controls icon
mediaviewPlaybackIconFgOver: pPink; // video playback controls icon with mouse over

mediaviewPipControlsFg: pGreen; // picture-in-picture controls
mediaviewPipControlsFgOver : pPink; // picture-in-picture controls with mouse over
mediaviewPipFade : pBg; // picture-in-picture gradient fade controls background
mediaviewPipPlaybackActive : pGreen; // picture-in-picture playback progress already played part
mediaviewPipPlaybackInactive: pSelection; // picture-in-picture playback progress upcoming (not played yet) part


Issue with nix-integration patch

I am getting this error when trying to build with doom emacs
error: builder for '/nix/store/hyj2kcmy4drv69sqxizrdfkbmcags5mn-doom-emacs.drv' failed with exit code 1;
       last 10 log lines:
       > unpacking source archive /nix/store/2lmhr049hzn5fvgl0cgbwfdn59f1raaz-doom-src
       > source root is doom-src
       > patching sources
       > applying patch /nix/store/wl3gb8p4r0zla1y3k2l76r98i4sn1j7q-nix-integration.patch
       > patching file core/core-cli.el
       > patching file core/core.el
       > Hunk #1 FAILED at 68.
       > Hunk #2 succeeded at 82 (offset 6 lines).
       > Hunk #3 FAILED at 160.
       > 2 out of 3 hunks FAILED -- saving rejects to file core/core.el.rej
       For full logs, run 'nix log /nix/store/hyj2kcmy4drv69sqxizrdfkbmcags5mn-doom-emacs.drv'.

It seems to build for me on https://github.com/ckiee/nixfiles/commit/ab8a34c. (from master)
Can you upload your config including doom somewhere? It's much easier to debug locally and Nix lets us do that effectively (:

So, I actually just cloned hlissner/doom-emacs and applied /nix/store/wl3gb8p4r0zla1y3k2l76r98i4sn1j7q-nix-integration.patch manually, so I am a bit lost as to why its failing when building.

Doom emacs in my home manager https://github.com/JonathanLorimer/nix-config/blob/doom-emacs/programs/default.nix#L8-L11
Doom emacs in my flake https://github.com/JonathanLorimer/nix-config/blob/doom-emacs/flake.nix#L59
hmModule https://github.com/JonathanLorimer/nix-config/blob/doom-emacs/jonathanl.nix#L12

I also created a PR so its a bit easier to see the diff https://github.com/JonathanLorimer/nix-config/pull/2

Okay, so, while I was debugging I ran nix flake lock --update-input doom-emacs explicitly and noticed that all of these got updated instead of just nix-doom-emacs (which was getting updated as I changed the rev and github sources in my flake.nix)
nixpkgs on  doom-emacs [$!]
λ nix flake lock --update-input nix-doom-emacs
warning: Git tree '/home/jonathanl/.config/nixpkgs' is dirty
warning: updating lock file '/home/jonathanl/.config/nixpkgs/flake.lock':
• Updated input 'nix-doom-emacs':
    'github:JonathanLorimer/nix-doom-emacs/2453fc69ec61d2334d9fdb2c86f1921de01352af' (2022-01-09)
  → 'github:JonathanLorimer/nix-doom-emacs/13f0225dcc3720b36b0c6fdf89f55c027984e6f9' (2022-01-09)
• Updated input 'nix-doom-emacs/doom-emacs':
    'github:hlissner/doom-emacs/46732c0adaef147144418f9f284ca6b1183ab96f' (2021-07-18)
  → 'github:hlissner/doom-emacs/bc47e72984f9e6eb89a19e9560185188575b10c1' (2022-01-06)
• Updated input 'nix-doom-emacs/doom-snippets':
    'github:hlissner/doom-snippets/5c0eb5bd70f035cefb981c2ce64f4367498bdda6' (2021-07-06)
  → 'github:hlissner/doom-snippets/3083b2342f95fa55c1fd3b4a16229c5d867a02b0' (2021-11-24)
• Updated input 'nix-doom-emacs/emacs-overlay':
    'github:nix-community/emacs-overlay/be04b45efb35db58e6ac6aa86b84f850c85b5dfe' (2021-07-22)
  → 'github:nix-community/emacs-overlay/dfa2c6f65bca313425e28ec262d0fad458c57622' (2022-01-06)
• Updated input 'nix-doom-emacs/flake-utils':
    'github:numtide/flake-utils/f7e004a55b120c02ecb6219596820fcd32ca8772' (2021-06-16)
  → 'github:numtide/flake-utils/74f7e4319258e287b0f9cb95426c9853b282730b' (2021-11-28)
• Updated input 'nix-doom-emacs/nixpkgs':
    'github:NixOS/nixpkgs/16105403bdd843540cbef9c63fc0f16c1c6eaa70' (2021-07-21)
  → 'github:NixOS/nixpkgs/77fda7f672726e1a95c8cd200f27bccfc86c870b' (2022-01-06)
• Updated input 'nix-doom-emacs/org':
    'github:emacs-straight/org-mode/c9dfed48a607c7f6524f1c6480f09cf61a5d6237' (2021-07-24)
  → 'github:emacs-straight/org-mode/d012350dadf15835e361626ba0a6ec08f8c7a715' (2021-12-25)
• Updated input 'nix-doom-emacs/org-contrib':
    'git+https://git.sr.ht/~bzg/org-contrib?ref=master&rev=fc81309cf6756607a836f93049a9393c2967c4e0' (2021-06-10)
  → 'git+https://git.sr.ht/~bzg/org-contrib?ref=master&rev=5766ff1088191e4df5fecd55007ba4271e609bcc' (2021-12-17)
• Updated input 'nix-doom-emacs/revealjs':
    'github:hakimel/reveal.js/b18f12d964ef80bd9ffb061aae48ff4c15fb43ad' (2021-07-09)
  → 'github:hakimel/reveal.js/dbb1d5ed19bdb42113d64ca452abdeaf9f92e6de' (2022-01-03)

Something is at least building now. This must be caused by me jumping around between too many input versions and not explicitly updating! Sorry to clutter the issue tracker, I am not really sure how to guard against this in the future.

Not sure how useful of an advice this would be, but I recently figured that if I don't want multiple nixpkgs as inputs to my modules, I  should use follows, e.g.:
   # ...
    home-manager.inputs.nixpkgs.follows = "nixpkgs";
    nix-doom-emacs.inputs.nixpkgs.follows = "nixpkgs";
    nix-doom-emacs.inputs.emacs-overlay.follows = "emacs-overlay";

@ulysses4ever Ahhhhh, good advice, I am definitely going to try and do that to my config.

Okay, so, while I was debugging I ran nix flake lock --update-input doom-emacs explicitly and noticed that all of these got updated instead of just nix-doom-emacs (which was getting updated as I changed the rev and github sources in my flake.nix)

That is probably a bad idea: the dependencies are all [tested together] before an auto flake update is pushed to master, but hey, if it works..
Anyhow, I'm building your doom-emacs branch now, but downloads will take a while..

@ckiee I think everything is working now, all that's left to investigate is this https://github.com/nix-community/nix-doom-emacs/issues/27

No, I know it works–but I don't know why.. Yet.

ckie@cookiemonster ~/git/jl-nix-config -> cat flake.lock  | jq '.nodes["nix-doom-emacs"].locked'
{
  "lastModified":<PHONE_NUMBER>,
  "narHash": "sha256-JWiJXjrZO7WlMORT8E27QjGQYsrtS3ln5LG087bMYZg=",
  "owner": "nix-community",
  "repo": "nix-doom-emacs",
  "rev": "6f3ac60c5719171f805740558e1705d0b46f91ba",
  "type": "github"
}

ckie@cookiemonster ~/git/nix-doom-emacs -> git show "6f3ac60c5719171f805740558e1705d0b46f91ba"
fatal: bad object 6f3ac60c5719171f805740558e1705d0b46f91ba

The commit you were using doesn't even exist in my local checkout! That sort of explains it, and I got confused because I thought that nix flake lock was ignoring nix-doom-emacs's flake.lock but it does not. I'd bet #27 is also related to the dependency mess since I had that problem before and I think a simple dependency update fixed it at the time, so I think you can close that issue too.
Also, here, have some Sweden (:


Dynamically loaded component does not get updated on context change

When the context ctx gets updated, the underlying component, defined by components.get(tmpl['component'])['component'] does not get updated (its ngOnChanges does not get called).
Everything works fine on first load. What should I do in order to get changes propagated downward?
Here is the component definition:
@Component({
  selector: 'app-layout-three-host-component',
  template: `
<ng-container
  *ngxComponentOutlet="components.get(tmpl['component'])['component']; context: ctx;">
</ng-container>
`
})
export class LayoutThreeHostComponent implements OnChanges {

  @Input() tmpl: ChartTemplate;
  @Input() ctx: any;
  @Input() components: Map<string, { component: Type<any>; context: (x: ChartTemplate) => Observable<any> }>;

  ngOnChanges(changes: SimpleChanges) {
    console.log('LayoutThreeHostComponent: changes: ', changes);
  }
}

Thanks!

Hello, thanks for issue!
Seems interesting. Can you try to repeat that problem on stackblitz and put the link here?

Sorry. It seems to be a change detection issue (deep change). I have changes in a deep json structure. I expected that the reassignment itself would trigger the rebounding of the context params.


challenge trees

[x] Can successfully instantiate an empty tree
[x] Can successfully instantiate a tree with a single root node
[x] Can successfully add a left child and right child to a single root node
[x] Can successfully return a collection from a preorder traversal
[x] Can successfully return a collection from an inorder traversal
[x] Can successfully return a collection from a postorder traversal


fix: hpa v2 api update

There have been a couple similar PRs for this the were never merged in, so just trying to get this finished up:
https://github.com/cert-manager/aws-privateca-issuer/pull/290
https://github.com/cert-manager/aws-privateca-issuer/pull/306

https://github.com/cert-manager/aws-privateca-issuer/actions/runs/10406379982/job/28819337862?pr=335

Testing failed: https://github.com/cert-manager/aws-privateca-issuer/actions/runs/10406379982/job/28819337862?pr=335

Fixed.

Looks like the testing passed. Thanks for the fix. Would you mind squashing these commits into the same one? Will get it merged after that.

@bmsiegel Is it possible to run that failed test again? Looks like it failed testing one specific cert.


Add Corellium.

We're adding a logo to join the foundation.
Signed-off-by: Rob Turner<EMAIL_ADDRESS>

Thanks!


Option to set the gallery margin

this closes #23 by letting the developer set the outer margin of the gallery.


Develop a process to package and distribute a binary

We want the installation process to be as easy as possible with no need to open a command-line. PyInstaller is our current best lead for this.

I've started work on this in #20. If anyone wants to take a look at it and make improvements though, please feel free. It's pretty sloppy and there's a lot of things I don't know about packaging!
Also, if anyone knows a lot about Mac App code signing, it might be helpful to outline that procedure so one of us can undergo it.

For signing apps on MacOS you need to be enrolled in their Developer program (currently 99uds/year), and get a certificate from your profile, more info here: https://developer.apple.com/developer-id/

Just flagging that the default version of the pytorch packages on Windows apparently doesn't include CUDA support: https://github.com/openai/whisper/discussions/5#discussioncomment-3705644

The title of this ticket is still relevant, though the specifics should be revised now that we're going with an Electron based approach


Add entry for copy/pasting stuff

Issues like https://bugzilla.mozilla.org/show_bug.cgi?id=1641019 and others where the clipboard format doesn't match.

There is also https://bugzilla.mozilla.org/show_bug.cgi?id=1600848

A file-pasting issue is apparently resulting in https://workspaceupdates.googleblog.com/2022/05/keyboard-shortcut-improvements-google-drive.html not working (see this Mozilla-internal Slack thread)

There is also Bug 1556374 - Coping text in Filemaker Webdirect, everything works fine, except, when you are copying Text into a textfield, Firefox deletes the last character of the text.

Just for the record, in case this is related:  docs.google.com - "Paste special" functions are not working #109775


subtraction overflow error

There is a subtraction overflow error that occurs occasionally upon killing an enemy.

Turned out to be a bug upon leveling up, fixed now


Set default for params.recent_posts_number

$subj, without setting this variable no posts shown on main page.

Hi. @paskal I'll look at this this evening. Thanks!

Hi @paskal This appears to be set: {{ $n_posts := $.Param "recent_posts_number" | default 3 }}
https://github.com/budparr/gohugo-theme-ananke/blob/master/layouts/index.html#L23
Let me know if I'm looking at the something other than what you're referring to.

You're right, my bad! I guess I was looking in some wrong place during the test.
Soon I'll post a highlight of a few blogging hugo themes and your is included, I'll notify you when it will be published. Thanks for the great theme!

No worries. Thanks very much - looking forward to seeing that.

I'm not sure github sent notifications to mentioned authors, so posting double there: theme highlight is out, this very theme is in it, additional info on https://github.com/paskal/terrty/issues/1.


Add atproto-cpp

It's not much but it's honest work - thanks for maintaining this cool index

Nice, thanks! 👍


Change data files to plain-text like table files

Although it is tempting, it is better to have all data files as plain text files where possible. It is likely for us to utilize AAS MRT tables from Astropy.

Something will need to be done to make sure that we don't release export protected stuff.

(Edit this comment as things get done).

[ ] Filter profiles
[ ] Gemini data
[x] PSG Atmosphere data
[ ] Standard stars


Correction for raw affiliation Code 662, Laboratory for High Energy Astrophysics, NASA/Goddard, Greenbelt, MD 20771

Correction needed for raw affiliation Code 662, Laboratory for High Energy Astrophysics, NASA/Goddard, Greenbelt, MD 20771
raw_affiliation_name: Code 662, Laboratory for High Energy Astrophysics, NASA/Goddard, Greenbelt, MD 20771
new_rors: 0171mag52
previous_rors:
works_examples: W2061612686
contact: 65ffa9c43c737e6f1425fd7adba838e7:a46f85d0 @ ourresearch.org

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Question about whitelisting

Hi! I have a question about whitelisting my domain for the use of the CORS proxy I want to run.
export PORT=8080
export CORSANYWHERE_WHITELIST=https://example.com,http://example.com,http://example.com:8080
node server.js

This example is given. My first question, where would I place this code? Anywhere specific in an existing file?
Secondly, I don't know what port the client JS on my domain uses to access the proxy. Can I leave it empty?
Thanks in advance!

Hi! I have a question about whitelisting my domain for the use of the CORS proxy I want to run.
export PORT=8080
export CORSANYWHERE_WHITELIST=https://example.com,http://example.com,http://example.com:8080
node server.js

This example is given. My first question, where would I place this code? Anywhere specific in an existing file?

These "PORT", etc. things are called environment variables. If you don't have an obvious way to specify these (e.g. because you can only specify a path to a program to launch), then you can always wrap the invocation of the program in a shell script.

Secondly, I don't know what port the client JS on my domain uses to access the proxy. Can I leave it empty?

Leaving it empty will result in using some default port, 8080 as seen in server.js. You must know the port that the proxy is running on, otherwise the server doesn't know where to listen on, and the client doesn't know what to connect to.


Issue with time taken by graph run()

Hi,
version : Computelibrary 18.05
Platform : arm7a
Operating System: linux
I'm running a slightly modified example/graph_mobilenet.cpp  with target = OPENCL
void do_run()
{
    for(int i = 0; i < 5; i++)
     {
         struct timeval start , end;

      gettimeofday(&start, NULL);

         graph.run();

        gettimeofday(&end, NULL);

         printf("%ld \n ",((end.tv_sec*1000000 + end.tv_usec) - (start.tv_sec*1000000 + start.tv_usec)));
    }
}

The result is: (in micro sec)
32108
452369
523478
425689
436898
I wonder why the last 4 results are huge around 0.5 sec , while the first one is ~32ms
Kindly help me with the possible reasons of this issue,
Please let me know if you need more details
Eagerly awaiting your reply,

32ms for Mobilenet sounds unrealistic, which platform is this on ? Do you pass any parameters to the examples ?

Hi,
Platform : ARM7a , using Mali G51
scons Werror=1 -j8 debug=0 asserts=0 neon=1 opencl=1 openmp=1 cppthreads=1 embed_kernels=1 os=linux arch=armv7a
target : 1 , which is OpenCL
My input size is 3x300x300 (C x H  x W)
The modified mobilenet graph has nodes for convolution layers added additionally at the end of original graph example .
Please note that in the following code for profiling the runtime, I'm not considering CLScheduler::get().sync() .
void do_run()
{
for(int i = 0; i < 5; i++)
 {
     struct timeval start , end;

  gettimeofday(&start, NULL);

     graph.run();

    gettimeofday(&end, NULL);

     printf("%ld \n ",((end.tv_sec*1000000 + end.tv_usec) - (start.tv_sec*1000000 + start.tv_usec)));
}

}
Kindly let me know if you need more info,

Hi @ved27,
do you pass any input image to your test? Moreover are you using G51 or G71 Mali GPU?
Thanks

Hi @gmiodice
I'm reading 3 x 300 x 300 image from a  .txt file . I'm using Mali G51 GPU

If you haven't changed anything in the graph.run() and the accessors then there should be a blocking map at the end of run() which should have the same result as sync()
Looking at your times, it looks like you've removed the blocking call at the end of run() and therefore the first run will just enqueue jobs and not wait for the results, then the second run() will block at the beginning of run() and wait for the first one to complete before enqueuing its own jobs, etc.
Basically all your times are shifted by 1.

Hi @AnthonyARM
You are right. I also tried using the blocking map at the end of each loop and results of this are similar to using sync() .
If possible can you please share the model and npy files you used to test the graph.
Can you please let me know your tested runtimes for examples/graph_mobilet.cpp ?
How long is each loop taking in your testing scenarios?

Hi ,
So, you too are getting the runtime of ~0.45 sec for examples/graph_mobilenet.cpp on Mali G51 ?
Is the figure realistic ?

we just use examples/graph_mobilenet.cpp for benchmarking. NPY files are just used for validation, for benchmarking it just slows things down because of the file accesses, and doesn't change anything to the actual execution time.
So a stock graph_mobilenet.cpp is the best thing to use for benchmarking
On a G71 MP8 @ 807MHz we get ~25ms
No idea what the performance of a G51 is supposed to be, it also depends on how many cores you've got

Hi @AnthonyARM
In your previous reply you mentioned the following quote,
""
32ms for Mobilenet sounds unrealistic, which platform is this on ? Do you pass any parameters to the examples ?
""
Can I please know why was it unrealistic ?
Also, as you mentioned "On a G71 MP8 @ 807MHz we get ~25ms",
Can I know the input size / Convolution method / math hint  and other parameters you configured ?

Hi,
As I checked , we have got Mali G51 - 2 Core and frequency is < 807MHz .
Could not know the consistent frequency of it during the run time .
Can you please give me some input to check the operating frequency when I run the application ?
May be ~0.3 - 0.4 sec with 2 cores and < 600MHz is okay ?

Hi ,
Thank you much for the info
The path for that might be different in my current setup .
There is a DVFS setting which shows the value 100 (MHz) and we are unable to set it to max frequency. And this is 2 Core Mali G51 .
I get the similar ~0.3- 0.4 sec on CL , NEON as well .
I would like to know if there is a performance comparison with your setup of G71 ,@807MHz MP8 vs that of G51 also how the runtime varies with parameters like frequency ,cores and version of ARM GPU
Thanks again

Hello @ved27,
We haven't a G51 configuration at hand at the moment. As was mentioned above the 32ms in mobilenet is more that possible as we get less that 25ms in G71. The issue title is out of sync thus I am closing this issue. Create a new one if needed but as @AnthonyARM said performance depends on the number of cores, frequency etc.


Update dates on the News page to the month-day-year format

Description

Currently, on the News page, the format of the dates is year-month-day:

I prefer the year-month-day format for most cases but on the homepage its not too intuitive, especially when there are ranges.

Changes

The proposed changes updates the date format to month-day-year, and updates to naming the month:

this was my way of making everyone start seeing the year-month-day format :)

Thanks @satra.  Thats fair.  Happy to keep as is.


Pipeline component on registries are not created correctly

Package Name:  azure-ai-ml
Package Version:  NA
Operating System: NA
Python Version:  NA

Describe the bug
When creating pipeline components in registries with other command steps, registration of the steps look not wo happen correctly. However, same code works on a workspace.
This issue is originally reported at https://github.com/Azure/azure-sdk-for-python/issues/34745#issuecomment-2012478004
To Reproduce
Steps to reproduce the behavior:
preprocess_component = command(
    name="cmp_preprocessing_sweden_backbook",
    display_name="PreprocessingComponent",
    description="Performs ts preprocessing.",
    inputs={
        "arg1": Input(type="string")
    },
    code=e.sources_directory,
    command="python -m preprocess.preprocessor_ts --arg1${{inputs.arg1}},
    environment=preprocess_env,
    tags={'build': e.target_env_tag}
)

@pipeline()
def my_ppl(arg1: str):
    preprocess_component(arg1=arg1)

ml_client_registry = get_client_registry(
    credentials, e.registry_name, e.registry_region
)
ppl_component = ml_client_registry.components.create_or_update(
    my_ppl().component
)

This results in:

Creating/updating registry component cmp_preprocessing_sweden_backbook with version 1 ..Done (0m 6s)
azure.core.exceptions.ResourceNotFoundError: (UserError) Could not find asset with assetId azureml://registries/my-ml-registry/components/cmp_preprocessing_sweden_backbook/versions/1 in registry my-ml-registry in region westeurope.There is no pending update on this registry.
Code: UserError
Message: Could not find asset with assetId azureml://registries/my-ml-registry/components/cmp_preprocessing_sweden_backbook/versions/1 in registry my-ml-registry in region westeurope.There is no pending update on this registry.

And with this, I see a new command component registration in the shared ML registry but with name = azureml_anonymous and version number that was a different format i.e 4da46664-682e-1749-1930-22c41c527154. So, it seems like it registers the component but with different version and tries to look for a different one, resulting in ResourceNotFound? I am not sure.
However, it works fine if I use workspace client instead. Can you please help? Thanks!
Expected behavior
Pipeline component is registered.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
https://github.com/Azure/azure-sdk-for-python/issues/34745

@cloga can you take a look at this?

Hi,
I added more details here: #34876

This is known limitation for registry, registry didn't support anonymous asset, so in this case, command component need first register to registry as named component in Registry and use asset_id in registry to reference this command component in pipeline component.

Hi @cloga
Thanks for the answer. I have noticed that and I have already described the details here #34876
The problem is, it works fine if we explicitly register the component first in the registry. But when registering the pipeline component, it creates another anonymous version of the components, which is annoying because it has no purpose.
Please have a look the issue https://github.com/Azure/azure-sdk-for-python/issues/34876

Hi, will this be resolved soon? Otherwise, we will end up with a lot of command components registered anonymously in our registry i.e. one anonymous command component for each command component registration.

I think this is also related to another thing I'm seeing. When I register the pipeline component some of the configurations are missed. See it here: https://github.com/Azure/azure-sdk-for-python/issues/35724
If I create the pipeline and then run a minimal test job on it. The pipeline works as desired and it will register the full pipeline. Another issue I found is that the pipeline in the registry will not update if I change the code and re-run it. To change I need to change the pipeline name and register as a new pipeline.

@cloga can you please take a look at this and mention if we will fix or not?

Hi @cloga and @santiagxf were you able to look this up?
BR
E


[must-revalidate] properly revalidate based on eTag

Fixes https://github.com/arthurfiorette/axios-cache-interceptor/issues/822 and by fixing https://github.com/arthurfiorette/axios-cache-interceptor/issues/507 in a different fashion

thanks!


Tracing/Logging not working

Hello,
I simply downloaded repository and run application but there is no information logged. The file C:\logs\IdAdmin.svclog is not beeing even created. I don't have such problem with IdentityManager so access rights to logs folder are correct.
To make sure i've even called logger once to write something but it changes nothing.
ILog Logger = LogProvider.GetCurrentClassLogger();
Logger.Info("Logger test");

I've no idea why it isn't working because it looks pretty the same as in identitymanager.

@pawepaw There isn't a lot of information being logged, but the logger does work. I think you might be setting up the config wrong.
An example using my local auth admin setup (using serilog as the provider) is below:
namespace Auth.Admin.Api
{
    public class Startup
    {
        public void Configuration(IAppBuilder app)
        {
            Log.Logger =
                 new Serilog.LoggerConfiguration().MinimumLevel.Debug()
                     .WriteTo.RollingFile(pathFormat: @"c:\logs\IdSvrAdmin-{Date}.log")
                     .CreateLogger();

            JwtSecurityTokenHandler.InboundClaimTypeMap = new Dictionary<string, string>();
            app.UseCookieAuthentication(AuthAdminConfiguration.CreateCookieAuthenticationOptions());
            app.UseOpenIdConnectAuthentication(AuthAdminConfiguration.CreateOpenIdConnectAuthenticationOptions());

            app.Map(GlobalConfiguration.AuthAdminRoute, adminApp =>
            {
                adminApp.UseIdentityAdmin(AuthAdminConfiguration.CreateIdentityAdminOptions());
                adminApp.UseFileServer(AuthAdminConfiguration.CreateFileServerOptions());
            });
        }
    }

}

This gives me the following log output under c:\logs\IdSvrAdmin-20160108.log when I startup:
2016-01-08 09:55:03.314 -05:00 [Information] Starting IdentityAdmin configuration

You won't get much else out of it right now.

I didn't change anything from "sample" https://github.com/IdentityServer/IdentityServer3.Admin/blob/master/IdentityServer3.Admin/Host/Startup.cs
https://github.com/IdentityServer/IdentityServer3.Admin/blob/master/IdentityServer3.Admin/Host/Web.config
So it should write trace into xml file located it c:\logs\IdAdmin.svclog
When I used your code it's working but in identityManager it's working using trace listeners.

Logging is indeed limited, if needed, I will add more logging, but nevertheless, it works.


Support for log points

This is somewhat related to #195 since the initialize responds with supportsLogPoints: true, which then allows the user to try and use them. However if you try this out, it seems to just freeze everything up since the debuggerr knows that it hit a breakpoint, but doesn't intercept the logMessage.
Some info on supportsLogPoints from the docs

The debug adapter supports logpoints by interpreting the 'logMessage' attribute of the SourceBreakpoint.

This would be a pretty neat feature. This is currently what the logs look like when it is tried:

DAP logs

[Trace][03:53:53 PM] Sent request:
{
  "type": "request",
  "seq": 1,
  "command": "initialize",
  "arguments": {
    "clientId": "neovim",
    "clientname": "neovim",
    "adapterID": "nvim-dap",
    "pathFormat": "path",
    "columnsStartAt1": true,
    "linesStartAt1": true,
    "supportsRunInTerminalRequest": true,
    "supportsVariableType": true,
    "locale": "en_NL.UTF-8"
  }
}
[Trace][03:53:57 PM] Received response:
{
  "type": "response",
  "seq": 1,
  "request_seq": 1,
  "command": "initialize",
  "success": true,
  "body": {
    "supportsConfigurationDoneRequest": true,
    "supportsHitConditionalBreakpoints": true,
    "supportsConditionalBreakpoints": true,
    "supportsEvaluateForHovers": true,
    "supportsCompletionsRequest": true,
    "supportsRestartFrame": true,
    "supportsSetVariable": true,
    "supportsRestartRequest": false,
    "supportTerminateDebuggee": true,
    "supportsDelayedStackTraceLoading": false,
    "supportsLogPoints": true,
    "supportsExceptionInfoRequest": true,
    "exceptionBreakpointFilters": [
      {
        "label": "Uncaught Exceptions",
        "filter": "uncaught"
      },
      {
        "label": "Caught Exceptions",
        "filter": "caught"
      }
    ]
  }
}
[Trace][03:53:57 PM] Sent request:
{
  "type": "request",
  "seq": 2,
  "command": "launch",
  "arguments": {
    "type": "scala",
    "name": "from_lens",
    "noDebug": false,
    "request": "launch"
  }
}
[Trace][03:53:57 PM] Received notification:
{
  "type": "event",
  "seq": 2,
  "event": "initialized",
  "body": {
    "type": "initialized"
  }
}
[Trace][03:53:57 PM] Received response:
{
  "type": "response",
  "seq": 3,
  "request_seq": 2,
  "command": "launch",
  "success": true
}
[Trace][03:53:57 PM] Sent request:
{
  "type": "request",
  "seq": 3,
  "command": "setBreakpoints",
  "arguments": {
    "source": {
      "name": "Hello.scala",
      "path": "file:///Users/ckipp/Documents/scala-workspace/sanity/Sanity/src/example/Hello.scala"
    },
    "breakpoints": [
      {
        "line": 5,
        "logMessage": "some message I want to see"
      }
    ],
    "lines": [
      5
    ],
    "sourceModified": false
  }
}
[Trace][03:53:57 PM] Received response:
{
  "type": "response",
  "seq": 4,
  "request_seq": 3,
  "command": "setBreakpoints",
  "success": true,
  "body": {
    "breakpoints": [
      {
        "id": 1,
        "verified": true,
        "line": 5,
        "message": ""
      }
    ]
  }
}
[Trace][03:53:57 PM] Sent request:
{
  "type": "request",
  "seq": 4,
  "command": "setExceptionBreakpoints",
  "arguments": {
    "filters": []
  }
}
[Trace][03:53:57 PM] Received response:
{
  "type": "response",
  "seq": 5,
  "request_seq": 4,
  "command": "setExceptionBreakpoints",
  "success": true
}
[Trace][03:53:57 PM] Sent request:
{
  "type": "request",
  "seq": 5,
  "command": "configurationDone"
}
[Trace][03:53:57 PM] Received response:
{
  "type": "response",
  "seq": 6,
  "request_seq": 5,
  "command": "configurationDone",
  "success": true
}
[Trace][03:53:57 PM] Received notification:
{
  "type": "event",
  "seq": 7,
  "event": "thread",
  "body": {
    "reason": "started",
    "threadId": 1,
    "type": "thread"
  }
}
[Trace][03:53:57 PM] Received notification:
{
  "type": "event",
  "seq": 8,
  "event": "thread",
  "body": {
    "reason": "started",
    "threadId": 151,
    "type": "thread"
  }
}
[Trace][03:53:57 PM] Received notification:
{
  "type": "event",
  "seq": 9,
  "event": "breakpoint",
  "body": {
    "reason": "new",
    "breakpoint": {
      "id": 1,
      "verified": true,
      "line": 5,
      "message": ""
    },
    "type": "breakpoint"
  }
}
[Trace][03:53:58 PM] Received notification:
{
  "type": "event",
  "seq": 10,
  "event": "thread",
  "body": {
    "reason": "started",
    "threadId": 203,
    "type": "thread"
  }
}
[Trace][03:53:58 PM] Received notification:
{
  "type": "event",
  "seq": 11,
  "event": "thread",
  "body": {
    "reason": "exited",
    "threadId": 151,
    "type": "thread"
  }
}

And here it just hangs until you exit.

Thanks for the suggestion. This would be really nice to have. Also if it is supported by java-debug it may not be too hard to do.

Fixed in latest version: https://github.com/scalacenter/scala-debug-adapter/releases/tag/v3.0.1
Notice though that it only prints if there is an explicit println in the expression of the log point.


Add Dockerfile to run landscape on alpine

I had trouble when trying to get landscape running in the
same container as atlantis, which uses alpine. This Dockerfile
will hopefully help others prevent having to spend hours
figuring out how to make landscape work on alpine.

It would also be nice to provide a docker image running landscape from docker hub. Something similar to what I've done here: https://github.com/pratikmallya/Dockerfiles/blob/master/.travis.yml

@sds updated README; let me know if that works. Totally understandable that you don't want to deal with the pain of maintaining docker images on Dockerhub yourself.

@sds fixed

Thanks @pratikmallya.


Remove slider in Inspector for number input fields. (Discuss Inspector number input)

since the number input field inside the Inspector already has the option to drag up/down to decrease/increase the slider seems unnecessary. I never used it...
Would it be worth to remove it completely?
The drag gesture could be changed to left/right to be more similar to the slider.

I agree that most sliders are mainly useless, and potentially harmful in the inspector.
We can either remove them as proposed here, or we can generalise the use of reasonable property hint ranges that tell the slider what the min and max values should be.
For the latter, we need IMO to distinguish two sets of hints:

min and max value for the text input (should be any possible value, e.g. 100,000 particles is OK)
min and max value for the slider (should be any reasonable value that makes sense to edit via a slider, e.g. 0 to 1000 particles).

@toger5 I think the drag-slide axis should be left vertical, as that's how I've seen it function in most other programs.
@akien-mga's proposal would definitely go a long way towards making the slider an actually useful utility in a lot of cases, because as it is right now.........

Yeah.

I'll also note that there's the issue of the slider drawing over whatever is under the field it's changing. It makes it a little awkward to access the field under it without accidentally clicking on the slider.

I think we should get rid of the slider completely. The slider also has the issue that you have to be precise with the mouse to grab the slider -> slows down workflow...
Also a slider is limited in the range of mouse movement is supports. when wrapping the mouse the max min mouse drag distance could be increased to 10-20cm.
other advantages of wrapped horizontal mouse dragging:

longer mouse range, therefore more precise
no additional ui element. Cleaner
less clicks: just drag, instead of clicking the number, and than clicking on the grabber (precisely)
(weaker point) more similar to blender. Godot will be used a lot alongside blender when the new  the new 3d engine is released!
allows for modifiers like shift for precise movement.
arrows can be placed on the left + right (instead of on top of each other), this decreases the probability of pressing the wrong arrow when increasing/ decreasing by one! easier/ faster to use.

I also really like the point made by @akien-mga that the limits should be implemented everywhere.

Hmmm, having the number fields function like they do in Blender would be pretty cool, actually.

@homer666 Hehe, yeah, I ran into that too. Either instate sensible default limits everywhere or dump sliders in editor.

One issue about removing arrows and sliders is, the user won't know it's possible to drag the field that way. I re-discovered this a few days ago, didn't remember it even existed.

@Zylann I think the arrows should not be removed, just moved to the left/right. instead of stacking them at the right.
They are useful for increasing by 1 and as you mentioned indicating the direction to change the value.

I'm personally 100% down with the way Blender does it. All the functionality a number field should have, packed into one element:

I don't know how well this would work with properties that have two or more numerical fields (position for example), but I think that's its own issue as the current number field system isn't even applied there.

It's not shown on the Blender screenshot, but seeing the slider position can also help to at a glance (it's usually shown as a shade of grey in the background). Other than that the Blender spinboxes work the same, except they are horizontal.

@Zylann I really like the idea of the grey shade, which indicates the slider like a status bar. That would also be another reason for horizontal scrubbing, since the bar has more space -> would be more precise horizontally.

From what I've seen they tend to be used for percentage values, or values that are between 0 and 1. Could be really useful:

(if the gifs are annoying just let me know!)

what could also be done is adjustable scrolling (as a value gradient) when no limits are provided.
e.g. when you are close to the center it will slowly increase (15 units per cm), but when you drag closer to the edges it will increase by a lot more (100 units per cm). When mouse released, it will re-center.

The propertry editor needs to be rewritten to allow this kind of things better. This way we can also put buttons in there, or graphical editors in a way that makes more sense (more akin to Blender or Unity).
However, need to push 3.0 out first. As such, kicking this for 3.1

@reduz It would be great if we could just pass a control node which than gets added as a child to a Item Column. than it is really easy to change how different inputs interact with user input and how they are drawn.
This also would allow to get rid of some of the tremendously huge switch statements. By having objects for each type in a Hash map and than we could just pass the correct object (control node with the input elements for that type. example vector, int...) and connect it to the property of the object.

@toger5 one advice though, going the "all-controls" way can be performance-expensive, knowing that the editor's UI isn't the fastest compared to Blender (saw this advice in several GUI frameworks already, Qt, WPF). IMGUI or Blender manage to get amazing perfs though, I'd like to see how it comes up^^

First of all thank you for your report and sorry for the delay.
We released Godot 3.0 in January 2018 after 18 months of work, fixing many old issues either directly, or by obsoleting/replacing the features they were referring to.
We still have hundreds of issues whose relevance/reproducibility needs to be checked against the current stable version, and that's where you can help us.
Could you check if the issue that you described initially is still relevant/reproducible in Godot 3.0 or any newer version, and comment about its current status here?
For bug reports, please also make sure that the issue contains detailed steps to reproduce the bug and, if possible, a zipped project that can be used to reproduce it right away. This greatly speeds up debugging and bugfixing tasks for our contributors.
Our Bugsquad will review this issue more in-depth in 15 days, and potentially close it if its relevance could not be confirmed.
Thanks in advance.
Note: This message is being copy-pasted to many "stale" issues (90+ days without activity). It might happen that it is not meaningful for this specific issue or appears oblivious of the issue's context, if so please comment to notify the Bugsquad about it.

The slider has been rewritten in 005b69c, and a new feature was added in dfd13316 to allow limiting the values that can be set with the slider (with PROPERTY_HINT_RANGE) while allowing greater or lesser manual input with the or_greater and/or or_lesser hints.
So I think most issues outlined here should be fixed. If not, they probably need to be recontextualized for the new system in 3.1, so I think it would be worth discussing in a new issue for clarity.
Note that only a handful of properties currently use the new optional or_greater or or_lesser hints, so more of those could be added. Similarly, some current non-limited fields should likely get a limited range (like the width in the above GIF, which could use e.g. "1,4096,1,or_greater").


Local-storage section not parsed correctly

I see that in Cobol85.g4, line 597, the parser expects
LD localName DOT_FS  before the data entries.
Is this correct?
Thank you

The obligatory LD depends on the dialect. I changed it in the grammar to being optional. Thanks for your hint!


Remove "vue/html-end-tags": "off"

If not open "vue/html-end-tags", the following error will not be checked out, which lead to an our online accident.

    haha

    hehe

Hi!
I copied the example from https://eslint.vuejs.org/rules/html-end-tags.html into Prettier’s playground:
Prettier 2.3.0
Playground link

--parser vue

Input:

<template>

  <input>

</template>

Output:

SyntaxError: Unexpected closing tag "template". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags (12:1)
  10 |

  11 |

> 12 | </template>
     | ^^^^^^^^^^^

Prettier gives a syntax error because of the missing end tags, so vue/html-end-tags does seem unnecessary to me when using Prettier.
Can you provide more detail?

Yes<EMAIL_ADDRESS>will report error, and our prettier version is 2.2.1. I'll close this pr.


Bumps openssl from 0.10.47 to 0.10.49

Dependabot tried to do this manually and failed We'll need to go back and do it manually making sure things aren't broken.
Basically re-open https://github.com/redhat-et/bpfd/pull/389

2023/04/18 12:32:08 Reading /etc/bpfd/gocounter.toml ...
2023/04/18 12:32:08 Read /etc/bpfd/gocounter.toml failed: err open /etc/bpfd/gocounter.toml: no such file or directory
2023/04/18 12:32:08 rpc error: code = Unavailable desc = connection error: desc = "transport: authentication handshake failed: x509: certificate is valid for localhost,IP:<IP_ADDRESS>, not localhost"


Proposal: javascript: timestamps as numbers instead of int64 type representation

Currently timestamps (int64) are decoded as objects with "low", "high", and "unsigned" properties.
This PR changes this behavior.
Before:
{
    timestamp: {
        low:<PHONE_NUMBER>,
        high: 0,
        unsigned: true
    }
}

After:
{
    timestamp:<PHONE_NUMBER>
}

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

Hi @Thommee ! It looks like you may have made the changes to the JS file by hand? I'm new to this project, but I have worked with protobuf a fair amount, and the target code should always be updated via the codegen tool. It's also not recommended to have int64 types from protobufs converted into potentially unsafe types (I'm of the understanding that number is still technically unsafe because some JS engines will still not properly support 64-bit integers)


[Feature]make hive as an addon

Is your feature request related to a problem? Please describe.
There's a repo for making an addon：
https://github.com/stackabletech/hive-operator
Describe the solution you'd like
make one kind of component, such as
HiveCluster

This enhacement has been resolved by https://github.com/kubevela/catalog/pull/622, Issue need to be closed :)


Recommended LCD-Display not available

The recommended LCD-Display is not available at amazon.de. Would that https://www.amazon.de/gp/product/B01N48NOXI/ref=ox_sc_act_title_1?smid=A3U321I9X7C9XA&psc=1 be an suitable alternative?

@Animalmother9000 any updates on the shopping list links?

@TheSaltyJ sorry but I can't reproduce the error. Just tried it and it is available.

oh wow, they must have restocked it literally today! Thanks though. For the future, would that product in my comment be compatible with the setup? Feel free to close the issue.

For what it's worth, I had the same issue a few weeks ago. I clicked the link and it was unavailable, so I bought another similar display (and I also tried the official Raspberry Pi 7" display) to no avail. I checked again today and it was available so I ordered it!
Do you know what would be required to support the official 7" display?

@josephtyler Depends on the brand, the manufacturer normally has a custom script for the display.
@TheSaltyJ Can you close this issue?


Credit limit: object 'error_message' not found

We are now experiencing some issues with the newly introduced credit limit error message. Without token, the get_stations() call below runs fine. With, it fails. I unfortunately cannot provide a full reprex without exposing my client id ...
my_token <- wateRinfo::get_token("***")
wateRinfo::get_stations("discharge", token = my_token)
#> Error in grep(pattern = "Credit limit exceeded", error_message): object 'error_message' not found
wateRinfo::is.expired(my_token)
#> [1] FALSE
wateRinfo::expires.in(my_token)
#> Time difference of 23.9999 hours

Created on 2020-06-02 by the reprex package (v0.3.0)

Thanks for pointing out.  I just quickly debugged the section and quick answer: Apparently there is also the option that the API return "application/octet-stream" next to "application/json" (what we explicitly request in each call) or "text/xml" (the error message on credit limit exceedence)... I assume this happens somewhere on server side, but I do not have this kind of information myself as I do not know the infrastructure of VMM.
I see if I can provide a quick fix today or later this week.


The DidExchange request format is different for DidExchange RFC and OutOfBand RFC

For 0434-outofband did and did_doc are packed in connection.
0023-did-exchange
  "@id": "a46cdd0f-a2ca-4d12-afbf-2e78a6f1f3ef",
  "@type": "https://didcomm.org/didexchange/1.0/request",
  "~thread": { "pthid": "did:example:21tDAKCERh95uGgKbJNHYp#invitation" },
  "label": "Bob",
  "did": "B.did@B:A",
  "did_doc~attach": {
     "base64": "eyJ0eXAiOiJKV1Qi... (bytes omitted)",
     "jws": {
        "header": {
           "kid": "did:key:z6MkmjY8GnV5i9YTDtPETC2uUAW6ejw3nk5mXF5yci5ab7th"
        },
        "protected": "eyJhbGciOiJFZERTQSIsImlhdCI6MTU4Mzg4... (bytes omitted)",
        "signature": "3dZWsuru7QAVFUCtTd0s7uc1peYEijx4eyt5... (bytes omitted)"
      }
   }
}

0434-outofband
  "@id": "a46cdd0f-a2ca-4d12-afbf-2e78a6f1f3ef",
  "@type": "https://didcomm.org/didexchange/1.0/request",
  "~thread": { "pthid": "032fbd19-f6fd-48c5-9197-ba9a47040470" },
  "label": "Bob",
  "connection": {
    "did": "B.did@B:A",
    "did_doc": {
        "@context": "https://w3id.org/did/v1"
        // DID Doc contents here.
    }
  }
}

@Toktar the did-exchange RFC is the authoritative source for the definition of the https://didcomm.org/didexchange/1.0/request. Feel free to open a PR against the OOB RFC to fix any inconsistencies.

Sorry this took so long to fix - didn't look at it until reminded.  Fixed to match did-exchange as it is correct.  Would be nice to have someone review and approve that PR.

approved and merged. closing this issue.


Problem reports in credential issuance and presenting proof

Aries RFC 36 describes the problem report message as being adopted into the issuance protocol. Similar language is used in RFC 37 for presentations. The problem report message is significant in both of these exchanges as it enables the credential recipient or prover to explicitly reject a credential offer or presentation request. In the 2.0 versions of both of these protocols in ACA-Py, we now have the ability to send a problem report message from the Admin API. However, in both the 1.0 and 2.0 versions, there is no adopted problem-report message and just the base problem-report type is used.
From my reading, this isn't consistent with the RFCs. Additionally, this requires the controller to handle presentation or credential issuance rejection by handling problem reports, relayed via webhook, and attempting to correlate a problem report to a specific exchange record in order to perform clean up and not leave dangling exchange records behind. If we had explicitly adopted problem report messages, separate handlers could be defined that better supported the controllers ability to follow up on the rejection by cleaning up or taking another action; or, the separate handlers could automatically perform clean up of these exchange records.
Fully recognizing that there's a good chance I'm missing context, is there something informing the usage of the base problem report message in these protocols instead of adopted problem report messages?

cc @farskipper

I'll take a look tomorrow.

We discussed this during the ACA-PUG meeting this week. @andrewwhitehead brought up that this gets into some changes from an old PR of his (https://github.com/hyperledger/aries-cloudagent-python/pull/285/files) when it comes to the problem report message and ensuring that it does not create loops on processing errors. Additionally, since adopting problem report messages into protocols is a common practice in DIDComm protocols, it was pointed out that it would be nice to be able to not have to redefine ProblemReports in each protocol but still be able to have specific handlers for each protocol.


Update direct-routing-configure.md

clean up text around teams only mode. it's required not recommended.

Copy-edit done, merging this request.


Export a module with require()

Sorry if this is a duplicate - I'd imagine someone else has asked the same thing - but the absence of a node-facing require'able API has other tools like tern requiring files within typescript, and these files predictably move and break those tools.

You may want to check this thread. This sounds like it's related to a lot of the packaging woes that Typescript has right now
https://github.com/Microsoft/TypeScript/issues/17

So it looks like this is committed to master - require('typescript') gives useful methods - but there hasn't been a release since.

Right, this was first added with https://github.com/Microsoft/TypeScript/pull/1417. See #372 for original issue/discussion and related items. Does that cover everything you need for now?

It doesn't look like 1.4 is released, so the changes aren't usable in npm yet?

Also it doesn't look like the node interface is documented?

Correct, we have not done a new release since this change was checked in. Richer documentation can come online in the future (particularly based on what bits/concepts people find most confusing), the code itself should be relatively well commented. We've had enough people asking for this API for long enough that we're not going to block releasing the API due to documentation quality (especially since as you note people are already successfully using the compiler internals with the current level of documentation).

As far as I can see, the exported typescriptServices.js has no comments?

Comments will be in the .d.ts that the language service consumes https://github.com/Microsoft/TypeScript/blob/master/bin/typescriptServices.d.ts
PRs are obviously welcome if people want to add additional comments/documentation as they find it useful.

Okay, thanks for the help.


Dev update

Would you mind deleting this? It links to like every dev commit in the main repo and is a bit confusing :P


AWS icon is too large

Extension Version
1.6.1
Description
I think the default AWS icon has been updated, and it no longer fits the view nicely. I think it has extra widespace now:
https://static.global.sso.amazonaws.com/app-03e8643328913682/icons/default.png

This results in a weird wide column for the images in the extension:

Browsers
Chrome
OS
Mac

btw, I think this might also be the reason why the accounts are being truncated here for this issue: https://github.com/WTFender/aws-sso-extender/issues/64

I agree the width isn't ideal; I'll get this fixed up with the other width issue.
In case it helps, you can uncheck the icon from showing temporarily.

Trimmed the icons in the latest version.


[SR GeekCamp] Reorder predicates based on selectivity【Challenging】

What type of PR is this：

[ ] bug
[x] feature
[ ] enhancement
[ ] others

Which issues of this PR fixes ：
Fixes #4024
Problem Summary(Required) ：
Reorder predicate execution order based on selectivity.

Estimate the selectivity of each predicate
Reorder predicates by selectivity, predicates with higher selectivity should be executed first.

Only framework, algorithm not implement

Update code style and add some UT

Ok, I will update the codes as soon as possible.

run starrocks_fe_unittest

[FE PR Coverage check]
:heart_eyes: pass : 27 / 28 (96.43%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/PredicateReorderRule.java
23
24
95.83%

:large_blue_circle:
com/starrocks/sql/optimizer/Optimizer.java
1
1
100.00%

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/DefaultPredicateSelectivityEstimator.java
3
3
100.00%

run starrocks_fe_unittest

run starrocks_fe_unittest

@Seaven I implemented a default predicate selectivity algorithm, but it causes some TPCH tests to fail. e.g.  com.starrocks.sql.plan.EnumeratePlanTest.testTPCHQ16EnumPlan, what i can do?

@Seaven I implemented a default predicate selectivity algorithm, but it causes some TPCH tests to fail. e.g. com.starrocks.sql.plan.EnumeratePlanTest.testTPCHQ16EnumPlan, what i can do?

Can be add flag in FEConstant to check need open this feature

[FE PR Coverage check]
:heart_eyes: pass : 180 / 210 (85.71%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/DefaultPredicateSelectivityEstimator.java
132
161
81.99%

:large_blue_circle:
com/starrocks/sql/optimizer/ConstantOperatorUtils.java
20
21
95.24%

:large_blue_circle:
com/starrocks/sql/optimizer/Optimizer.java
1
1
100.00%

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/PredicateReorderRule.java
26
26
100.00%

:large_blue_circle:
com/starrocks/common/FeConstants.java
1
1
100.00%

Design Docs Link:https://qp40s7cffx.feishu.cn/docs/doccnkgEJTc8hoI2u0Cg6ZMhncc
Password: 8U3v

[FE PR Coverage check]
:disappointed: fail : 167 / 252 (66.27%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/DefaultPredicateSelectivityEstimator.java
103
176
58.52%

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
4
6
66.67%

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/PredicateReorderRule.java
39
48
81.25%

:large_blue_circle:
com/starrocks/sql/optimizer/ConstantOperatorUtils.java
20
21
95.24%

:large_blue_circle:
com/starrocks/sql/optimizer/Optimizer.java
1
1
100.00%

[FE PR Coverage check]
:disappointed: fail : 177 / 252 (70.24%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/DefaultPredicateSelectivityEstimator.java
105
176
59.66%

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/PredicateReorderRule.java
45
48
93.75%

:large_blue_circle:
com/starrocks/sql/optimizer/ConstantOperatorUtils.java
20
21
95.24%

:large_blue_circle:
com/starrocks/sql/optimizer/Optimizer.java
1
1
100.00%

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
6
6
100.00%

[FE PR Coverage check]
:heart_eyes: pass : 226 / 252 (89.68%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/DefaultPredicateSelectivityEstimator.java
154
176
87.50%

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/PredicateReorderRule.java
45
48
93.75%

:large_blue_circle:
com/starrocks/sql/optimizer/ConstantOperatorUtils.java
20
21
95.24%

:large_blue_circle:
com/starrocks/sql/optimizer/Optimizer.java
1
1
100.00%

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
6
6
100.00%

[FE PR Coverage check]
:heart_eyes: pass : 236 / 262 (90.08%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/DefaultPredicateSelectivityEstimator.java
154
176
87.50%

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/PredicateReorderRule.java
45
48
93.75%

:large_blue_circle:
com/starrocks/sql/optimizer/ConstantOperatorUtils.java
29
30
96.67%

:large_blue_circle:
com/starrocks/sql/optimizer/Optimizer.java
1
1
100.00%

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
6
6
100.00%

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/ExpressionStatisticCalculator.java
1
1
100.00%

run starrocks_fe_unittest

run starrocks_fe_unittest

run starrocks_be_unittest

run starrocks_fe_unittest

[FE PR Coverage check]
:heart_eyes: pass : 236 / 262 (90.08%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/DefaultPredicateSelectivityEstimator.java
154
176
87.50%

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/PredicateReorderRule.java
45
48
93.75%

:large_blue_circle:
com/starrocks/sql/optimizer/ConstantOperatorUtils.java
29
30
96.67%

:large_blue_circle:
com/starrocks/sql/optimizer/Optimizer.java
1
1
100.00%

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
6
6
100.00%

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/ExpressionStatisticCalculator.java
1
1
100.00%


Missing contributing guidelines

I see that your repo is missing its contributing guidelines. Adding a contributing guidelines improves your community profile
Cant I propose a contributing guidelines?

Yes, you can!


updateConstraints fatalError

when updateConstraints not exist Constraints, please use to makeConstraints replace fatalError

As per issue template issues with that do not follow the template are not accepted.


Plain HTML versions of the components

This relates to v11 of Carbon Design System
This project seems like such a strong base for building an accessible web app. I understand that the project is React-first, but is there a plan or anyone maintaining a plan HTML version of the components? I am interested in using this system, but not all pages in my app are React or JS-heavy. Some are simply server-side generated, not particularly interactive HTML pages.
Thank you!

Thank you!


Fix typos in Top 5 DevCareer Hackathon Winners! Blog Post

Fix typos in Top 5 DevCareer Hackathon Winners! Blog Post
🚀 Goal
We want to ensure our website's blog posts don't have any mistakes.
🤔 Background
This issue focuses specifically on fixing typos on one of our blog posts. Your contributions here make a difference!
🤝 How You Can Contribute
We've broken it down into specific typos for you to address. Every contribution counts!
🔑 Tasks and Acceptance Criteria

Fix typos in Top 5 DevCareer Hackathon Winners! blog

[ ] Fix "sdk" to "SDK" for consistency

[ ] Fix "users" to be "user's"

[ ] Fix "art work" to "artwork"

Make sure all tests are passing.

🌟 Resources

Top 5 DevCareer Hackathon Winners! Blog Post
Blog, Developer Website

Getting Started

Comment ".take" on this issue to get assigned
Fork the repository and create a new branch for this task
Follow the tasks outlined above
Submit a pull request with your changes
Respond to any feedback during the review process

Questions?
If you have any questions or need clarification, please comment on this issue or join our Discord community.
Happy coding! 🎉

.take

Hey @aniketh-varma I noticed you're assigned to 8 issues and they're all typo issues. While we appreciate the enthusiasm, we kindly ask that you finish an issue before assigning yourself a new one. We want to give everyone a chance to be able to make their first contributions to open source. So, I'll leave you assigned to ticket #1578 , but I will unassign you from the rest.
If you finish that ticket, then you can assign yourself to a new one! Thank you


http client is not following redirects

When i do:
tracks = new api.Tracks();
tracks.getPreview({ trackId: 1322 }, function(err, data) {
console.dir(data);
});
it returns:
{ head: { title: 'Object moved' },
body: { h2: { '#': 'Object moved to .', a: [Object] } } }
{ status: 'ok',
version: '1.2',
url: 'http://previews.7digital.com/clips/826/1322.clip.mp3' }
I guess it is not following the redirect header.

Hi, thanks for raising this.  It looks like a bug in the way I'm handling the preview responses.  I'll try to get a fix out today and republish it on npm.

In case I wasn't clear on your pull request.  While I get a tested fix out for this, you should be able to pass redirect: false as a parameter to this endpoint to get the JSON back.

The default behaviour of the API is to return a 302 redirect to the actual audio file.  If I follow the redirect then I would have to pass the response stream to the callback.  I think it makes more sense to ask the API not to send a redirect and let users of the wrapper choose to make a separate request to the audio file as they see fit.  I have special cased this in the request dispatcher and added another example in the examples folder in master.  I'll get this published to npm this afternoon.

I've published this now to NPM.  If you update to 0.4.1 you should get json back from the preview endpoint.  Let me know if you have any more problems.

awesome! It try it now :)


Dev

translate

I appreciate the effort you put into this PR, but unfortunately, I cannot merge it due to the following reasons:

The logic is not generic enough. Please add a logic that can be used in other languages, not just for zh_cn.
There are changes that are not related to translation, such as removing the feature for version notification.

I also noticed some other issues:

The command in .husky/pre-commit was changed from pnpm to npm, but it's better not to commit this change. It's up to personal preference which package manager to use, and changing the setting locally is not a problem. However, pushing it to the repository may cause inconvenience to other contributors.
In scripts/better_prompt.py, the import order and indentation were changed, but it's better not to do this as it makes it difficult to see the actual changes when displayed in diff. Please create a separate PR for code formatting.

I apologize for the negative feedback, but I am grateful for your PR and look forward to receiving your better PR.


Can render the ui panel on new web window, instead of jupyter frame?

I want to render the ui I developed to a new web window, instead of jupyter frame. Is it possible?

You could run your notebook with Voilà (each window will have a separate kernel), or you could use ipypopout to run the UI or a part of it in a new window.


Update release responsible schedule

How to categorize this PR?

/area delivery
/kind enhancement
What this PR does / why we need it:
Update release responsible schedule
Release note:

NONE

/lgtm

/lgtm

/lgtm

/lgtm

/lgtm

/milestone v1.45
/override pull-gardener-e2e-kind


Merge v2.10.x into main

Description
Merge v2.10.x into main to get versioning correctly.
Note that this also includes #3473
Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.

[x] 🛠 This pull request has a descriptive title
[x] 🛠 Code is written according to the code quality guidelines
[x] 🛠 Documentation is available
[x] 🛠 Tests run successfully
[x] 🛠 The list of authors is up to date
[x] 🛠 All checks below this pull request were successful

To help with the number of pull requests:

🙏 We kindly ask you to review two other open pull requests in this repository

I think this can be merged.


How to apply Grub theme and SDDM theme

Also lock button doesn't work

Grub Theme
SDDM Theme
make the ~/.scripts/lock script as executable using chmod

Why screenshot not work??

https://github.com/PROxZIMA/.dotfiles/assets/81058978/64a99b15-208e-45df-a6b3-c4652400474b

Grub Theme
SDDM Theme
make the ~/.scripts/lock script as executable using chmod

Yep I'm so fcking dumb 💀

Why my playerctl doesn't show up tho?

so I already fixed the screenshot problem, but I still don't know about the playerctl one

I still don't know about the playerctl one

Check out ~/.scripts/caway. Play some music and check its output. My waybar's config uses this script.

Yesterday when I ran the file it didn't show anything. but suddenly now it shows
"./caway: line 92: jq: command not found"
"./caway: line 96: jq: command not found"
I just had to install jq and it worked. Thank you for the support


feature: support pouch ps filter

support pouch ps --filter, not only equal condition, but also
unequal condition, like pouch ps --filter label=a!=b
Fixes: #1562.
Signed-off-by: Ace-Tang<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

fixes: #1562
Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #1595 into master will increase coverage by 0.24%.
The diff coverage is 64.08%.

@@            Coverage Diff             @@
##           master    #1595      +/-   ##
==========================================
+ Coverage   41.65%   41.89%   +0.24%
==========================================
  Files         268      270       +2
  Lines       17408    17554     +146
==========================================
+ Hits         7252     7355     +103
- Misses       9260     9294      +34
- Partials      896      905       +9

Impacted Files
Coverage Δ

daemon/mgr/container.go
50.35% <ø> (-0.27%)
:arrow_down:

daemon/mgr/container_types.go
76.11% <ø> (ø)
:arrow_up:

cli/ps.go
0% <0%> (ø)
:arrow_up:

cri/v1alpha2/cri.go
0% <0%> (ø)
:arrow_up:

cri/v1alpha1/cri.go
0% <0%> (ø)
:arrow_up:

apis/server/image_bridge.go
65.82% <100%> (+0.88%)
:arrow_up:

client/container_list.go
68.75% <28.57%> (-31.25%)
:arrow_down:

daemon/mgr/network.go
68.14% <40%> (+0.15%)
:arrow_up:

apis/server/container_bridge.go
82.01% <60%> (-0.73%)
:arrow_down:

apis/opts/filter.go
64.86% <64.86%> (ø)

... and 5 more

LGTM, it's all right for CRI part :)


Operation returned an invalid status code 'BadRequest' - sometimes  on Facebook

Operation returned an invalid status code 'BadRequest'
Version
4.1.5
Describe the bug
exceptionMessage": "Operation returned an invalid status code 'BadRequest'",
"stackTrace": "   at Microsoft.Bot.Connector.Conversations.ReplyToActivityWithHttpMessagesAsync(String conversationId, String activityId, Activity activity, Dictionary`2 customHeaders, CancellationToken cancellationToken)
at Microsoft.Bot.Connector.ConversationsExtensions.ReplyToActivityAsync(IConversations operations, String conversationId, String activityId, Activity activity, CancellationToken cancellationToken)
at Microsoft.Bot.Builder.BotFrameworkAdapter.SendActivitiesAsync(ITurnContext turnContext, Activity[] activities, CancellationToken cancellationToken)
at Microsoft.Bot.Builder.TurnContext.<>c__DisplayClass22_0.<g__SendActivitiesThroughAdapter|1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
To Reproduce
var activity = ChoiceFactory.SuggestedAction(options.Choices, options.Prompt.Text, options.Prompt.Speak);
await turnContext.SendActivityAsync(activity, cancellationToken);

Expected behavior
Should not throw.
Additional context
This only happens sometimes on facebook channel, I cannot reproduce it in a stable manner.
[bug]
I believe a similar issue happens to Cortana channel as well sometimes.

Closing this out. This seems to be caused by one of the choices being null. I wonder though if bot framework shall validate for null choices.
@daveta do you consider it worth moving back to botbuilder-dotnet?


[FEAT]: Novita.AI LLM Integration

What would you like to see?
Support https://novita.ai for LLM (including agents) as a provider option within the LLM preference selection

Hello! I have finished the development, but denied while trying to push the branch.

@jasonhp Did you fork the repo and then make a PR to the main repo from your fork on your pushed branch? We dont allow the general public to push directly to the main repo since in order to push to the main repo you need to be part of the core team.

@jasonhp Did you fork the repo and then make a PR to the main repo from your fork on your pushed branch? We dont allow the general public to push directly to the main repo since in order to push to the main repo you need to be part of the core team.

Sorry, I had a misunderstanding on the contributing part in the README. I will fork and create a PR.


Ligatures stop working on some devices when a string exceeds three characters

As the image shows, ligatures work only when a string is less or equal than 3 characters.
It only fails on my main desktop: My Surface device does not have this problem and works flawlessly with infinite long strings.

The configuration files on both devices are exactly the same.

However, I tried the same font and ligatures in vscode and both of them are working correctly.

The font and the windows-terminal itself are downloaded from the same source:

https://chocolatey.org/packages/firacodenf
https://chocolatey.org/packages/microsoft-windows-terminal/

Any ideas?

Can you check the version of the Fire Code NF font on your desktop and laptop? I believe "infinite arrows" were added in a recent update, and Windows is occasionally bad about handling font updates.

Thanks for the tip.
I got two version of Fira Code NF installed on my desktop (2.0 and 5.0). After deleting the 2.0, ligatures are working correctly.
It seems that while other applications uses the newest version found and Windows Terminal uses the first one it finds.


use specific board

Is there a way to open a specific board (e.g. by serial number)?  I would like to do something like:
u = facedancer.FacedancerUSBApp(serial_number=foo)

or even better:
gf = greatfet.GreatFET(serial_number=foo)
u = facedancer.FacedancerUSBApp(device=gf)

I looked through the code but didn't find a way to do this.  There are some comments that mention a BOARD environment variable, but I didn't see any actual use of it.

That works!  Thanks!


[e2e]: generic push branch1 default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/7649310791
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.push.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.push.branch1.default.slsa3.yml
Trigger: push
Branch: branch1
Date: Thu Jan 25 03:08:40 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/7663446343
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.push.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.push.branch1.default.slsa3.yml
Trigger: push
Branch: branch1
Date: Fri Jan 26 03:05:47 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/7675948301
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.push.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.push.branch1.default.slsa3.yml
Trigger: push
Branch: branch1
Date: Sat Jan 27 03:11:27 UTC 2024
Tests are passing now. Closing this issue.


Update past pages

What
Update Past Prime Minster's page, Past Chancellor page & Past Foreign Secretaries Page to apply new Design + Design system + use Components
Why
On-going work to align architecture, have pages benefit from Accessibility improvements
Updated Combined PR of:
https://github.com/alphagov/whitehall/pull/6236
https://github.com/alphagov/whitehall/pull/6243
https://github.com/alphagov/whitehall/pull/6241
(all converted to draft - will close)
Visuals

Before
After*

Before
After

-----------
-----------

Before
After

Anything else?
To prevent missing Content for  "theresa-may" blocking this PR this link has been removed - hopefully temporarily
(note: screenshots still have link present)

image_card was extended to factor in a new Design and
lazy loading was added to the image_card as this maintains existing performance benefits.
Add link to image card heading - this is not dependant

Discussion around Design System layout + lists can be found here, an issue capturing the concerns can be found here
Design Ref

Consider squashing some of the commits together so the merge is cleaner.

This has been done, could you merge once happy @maxgds


Validation and Alignment

As per your gif you have  given i added validation on both text feild and aligmnet make it center

merged it


changed button styles in career component

Description
Changed button styles in career component
Fixes # (issue)
How to test?
Please provide a short summary how your changes can be tested?
Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] This PR is ready to be merged and not breaking any other functionality

I have checked it looks perfect.


pbmm2 primary alignments

When using pbmm2 will setting "--best-n 1" return only the best alignment for a read or just the first alignment that passes the alignment threshold criteria?
I've got reads in my dataset that map to many transposon instances. I'm concerned about this introducing errors during polishing. Should secondary alignments be filtered before running ARROW?

In general, you should not limit the number of alignments. pbmm2 will give you supplementary but never secondary alignments. The same query base is never aligned twice.