[v2::tauri_plugin_positioner] Fix window positioning relative to tray icon

Hi,
I suppose that event.{x, y} received with TrayIconEvent corresponds to the mouse click position on screen, so if we want to position the window relative to the tray item, then we should rely on icon_rect.{left, top} instead.
It's worth to note that when positioning for TrayBottomCenter the y coordinate for window must be pinned to icon_rect.bottom but that doesn't work because icon_rect has invalid coordinates to begin with, for example:
icon_rect: Rectangle {
  left: 2364.0,
  top: 48.0,
  right: 2422.0,
  bottom: 96.0,
},

I suppose that the tray icon should actually have a top coordinate set to 0 and with the height of 22, double it on my retina and it comes down to:
{
  top: 0,
  bottom: 48.0
}

Which means that icon_rect.top corresponds to the bottom of menubar on macOS.
So unless there is some funny business going on in AppKit, which is possible but unlikely, I'd say that the layer that converts menubar icon frame to screen coordinates on macOS has a bug, so that's something to look into down the road.

@amrbashir is this PR stale with the changes mentioning this PR?

yeah the changes of this PR has already been merged in another PR. thanks  @pronebird, apologies for missing this PR


code-gen: only generate types that are used

For all types:

Determined if used by one of the generators
Always generate the base type
Always generate the corresponding validator

Superseeded by #525


Demo fails to build

Describe the bug
In https://www.npmjs.com/package/mui-tiptap click on "Demo" which opens https://codesandbox.io/p/devbox/mui-tiptap-demo-3zl2l6
Codesandbox terminal shows:
7:28:52 AM [vite] Internal server error: Cannot read properties of undefined (reading '0')
at Context.load (file:///project/workspace/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:37051:65)
at Object.load (file:///project/workspace/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:42892:46)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async loadAndTransform (file:///project/workspace/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:53318:24)
Expected behavior
Demo to build and run

Thanks for filing, strange! Nothing has changed in the CodeSandbox for a while, so I guess something changed on CodeSandbox's side. I'll try to take a look and resolve soon.

@clibu I've updated the linked CodeSandbox to use the latest CodeSandbox microvm and editor (which is based on VSCode), and it seems to be working smoothly again now. Let me know if you still have any issue on your end!

@sjdemartini All fine now.


plugins/electron: Fixes a bug in the electron check

If a package.json existed but declared no dependencies the electron
check would fail. This fixes that.
Change-type: patch
Signed-off-by: Jack Brown<EMAIL_ADDRESS>

@resin-ci retest


Did this modules support openID?

Some like the title.

Not officially, but it's possible by including custom token attributes and creating your own JWT token.  We plan on implementing openid support natively in a future release.

Any help from here?I never done this before.

Not officially, but it's possible by including custom token attributes and creating your own JWT token. We plan on implementing openid support natively in a future release.

Hi, starting this old thread again. We are using this library to support OAuth and it works great, really nice and well written library. Regarding openid, do you still have any plans to support this? Or do you have any examples how we can implement our custom token attributes for the ID token?


Add more detailed performance benchmarking

This should include a nice summary (with figure) in the README of the B-field vs. a select handful of alternative data structures across 2-3 realistic use cases.

Done in #9.


SCIM2 Filtering does not support the logical operators ne,gt,lt,ge,le,or,not

Suggested Labels:
Type/Improvement
Environment
IS with KM 5.7.0
Description
SCIM 2 User filtering currently does not support for operations mentioned below.
ne,
gt,
lt,
ge,
le,
or,
not
As per the SCIM2 spec [1] section <IP_ADDRESS> we need to support SCIM2 filtering with above mentioned operators.
Should support for user filtering for a scenario as mentioned below
curl -v -k --user admin:admin https://wso2-kmis-001:9450/scim2/Users/?filter=(userName+sw+Shawn) or (EnterpriseUser.city+sw+dolly) or (EnterpriseUser.organization+sw+my) -k -i
[1]. https://tools.ietf.org/html/rfc7644#section-3.4.2

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Using clipper with all subsets

Hello everyone,
this PR is related to get all subsets, the goal is to have the clipper to work with all the subset present. Cause right now it only clips the default mesh.
In future we can as well pass a list of subsets that needs to be clipped dynamically

Thanks for merging, just wanted to remember that this PR works only if the one for the other repo is merged

Merged and updated! Thanks for the notice 🙂

No problem, hope it was useful also for others. I just saw that there can be issues with your linter and tsc cause we use a less strict config if i try to run build scripts in both repos. Another issue is that this repo needs the other one to be published to work, because includes web-ifc-three from npm vs using it as a submodule. Has already been discussed an eventual use of submodules vs the npm import?


Cross subdomain cookie isn’t being set correctly in prod

Cross sub domain cookie is not being set correctly in production and I would very much like some help in figuring out why.
link: https://latch-web-1337.fly.dev
repo: https://github.com/erik-reges/latch

remove defaultCookieAtttribute and only set crossSubdomainCookies
crossSubDomainCookies: {
    enabled: true // true on prod make it false on dev
    domain: ".my-site.com" //put your site domain in this format
}

i did just that and it results in the same behaviour. the first request goes through, returns with a cookie and userdata but subsequent requests are unauthenticated no cookie is stored in the browser

serverlogs:
$ fly logs -a latch-api-1337

Waiting for logs...

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] Auth request details: {

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] method: "POST",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] url: "http://latch-api-1337.fly.dev/api/auth/sign-in/email?currentURL=https%3A%2F%2Flatch-web-1337.fly.dev%2Fsignin",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] protocol: "http:",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] origin: "https://latch-web-1337.fly.dev",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] host: "latch-api-1337.fly.dev",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] cookies: null,

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] headers: {

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] "content-length": "64",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] "cache-control": "max-age=0",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] dnt: "1",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] "content-type": "application/json",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] accept: "*/*",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] origin: "https://latch-web-1337.fly.dev",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] "sec-fetch-mode": "cors",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] "sec-fetch-dest": "empty",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] referer: "https://latch-web-1337.fly.dev/",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] "accept-language": "en-GB,en;q=0.9",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] "accept-encoding": "gzip, deflate, br",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] host: "latch-api-1337.fly.dev",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] via: "2 fly.io",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] "sec-ch-ua-platform": "\"macOS\"",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] "x-forwarded-proto": "https",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] "sec-ch-ua": "\"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\"",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] "sec-ch-ua-mobile": "?0",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] "sec-fetch-site": "cross-site",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] priority: "u=1, i",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] "x-request-start": "t=1735377186327381",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] "fly-client-ip": "<IP_ADDRESS>",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] "x-forwarded-for": "<IP_ADDRESS>, <IP_ADDRESS>",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] "fly-forwarded-proto": "https",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] "fly-forwarded-ssl": "on",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] "x-forwarded-ssl": "on",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] "fly-forwarded-port": "443",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] "x-forwarded-port": "443",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] "fly-region": "fra",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] "fly-request-id": "01JG68MVGQ66KXYQK32PDTC6XA-fra",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] },

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] sessionToken: undefined,

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] isDev: false,

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] cookieDomain: ".fly.dev",

2024-12-28T09:13:06.342 app[7815316c5e6668] arn [info] }

2024-12-28T09:13:07.065 app[7815316c5e6668] arn [info] Auth response details: {

2024-12-28T09:13:07.065 app[7815316c5e6668] arn [info] status: 200,

2024-12-28T09:13:07.065 app[7815316c5e6668] arn [info] cookies: [ "__Secure-better-auth.session_token=65GsOdKYoyoZTcqAcc6B3NiKYdxMiqBw.WD7jIKQUAhugvMAYvG5qqmD9bS%2FTtAW%2B4VA9fI3VpC0%3D; Max-Age=604800; Domain=.fly.dev; Path=/; HttpOnly; Secure; SameSite=Lax" ],

2024-12-28T09:13:07.065 app[7815316c5e6668] arn [info] parsedCookie: {

2024-12-28T09:13:07.065 app[7815316c5e6668] arn [info] raw: "__Secure-better-auth.session_token=65GsOdKYoyoZTcqAcc6B3NiKYdxMiqBw.WD7jIKQUAhugvMAYvG5qqmD9bS%2FTtAW%2B4VA9fI3VpC0%3D; Max-Age=604800; Domain=.fly.dev; Path=/; HttpOnly; Secure; SameSite=Lax",

2024-12-28T09:13:07.065 app[7815316c5e6668] arn [info] parts: [ "__Secure-better-auth.session_token=65GsOdKYoyoZTcqAcc6B3NiKYdxMiqBw.WD7jIKQUAhugvMAYvG5qqmD9bS%2FTtAW%2B4VA9fI3VpC0%3D",

2024-12-28T09:13:07.065 app[7815316c5e6668] arn [info] "Max-Age=604800", "Domain=.fly.dev", "Path=/", "HttpOnly", "Secure", "SameSite=Lax"

2024-12-28T09:13:07.065 app[7815316c5e6668] arn [info] ],

2024-12-28T09:13:07.065 app[7815316c5e6668] arn [info] domain: ".fly.dev",

2024-12-28T09:13:07.065 app[7815316c5e6668] arn [info] secure: true,

2024-12-28T09:13:07.065 app[7815316c5e6668] arn [info] sameSite: "Lax",

2024-12-28T09:13:07.065 app[7815316c5e6668] arn [info] },

2024-12-28T09:13:07.065 app[7815316c5e6668] arn [info] headers: {

2024-12-28T09:13:07.065 app[7815316c5e6668] arn [info] "content-type": "application/json",

2024-12-28T09:13:07.065 app[7815316c5e6668] arn [info] "set-cookie": [ "__Secure-better-auth.session_token=65GsOdKYoyoZTcqAcc6B3NiKYdxMiqBw.WD7jIKQUAhugvMAYvG5qqmD9bS%2FTtAW%2B4VA9fI3VpC0%3D; Max-Age=604800; Domain=.fly.dev; Path=/; HttpOnly; Secure; SameSite=Lax" ],

2024-12-28T09:13:07.065 app[7815316c5e6668] arn [info] },

2024-12-28T09:13:07.065 app[7815316c5e6668] arn [info] location: null,

2024-12-28T09:13:07.065 app[7815316c5e6668] arn [info] origin: "https://latch-web-1337.fly.dev",

2024-12-28T09:13:07.065 app[7815316c5e6668] arn [info] host: "latch-api-1337.fly.dev",

2024-12-28T09:13:07.065 app[7815316c5e6668] arn [info] }

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] Auth request details: {

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] method: "GET",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] url: "http://latch-api-1337.fly.dev/api/auth/get-session?currentURL=https%3A%2F%2Flatch-web-1337.fly.dev%2Fvehicles%3Fpage%3D1%26pageSize%3D10%26sortField%3DyearManufactured%26sortOrder%3Ddesc",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] protocol: "http:",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] origin: "https://latch-web-1337.fly.dev",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] host: "latch-api-1337.fly.dev",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] cookies: null,

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] headers: {

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] "cache-control": "max-age=0",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] dnt: "1",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] accept: "*/*",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] origin: "https://latch-web-1337.fly.dev",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] "sec-fetch-mode": "cors",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] "sec-fetch-dest": "empty",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] referer: "https://latch-web-1337.fly.dev/",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] "accept-language": "en-GB,en;q=0.9",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] "accept-encoding": "gzip, deflate, br",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] host: "latch-api-1337.fly.dev",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] via: "2 fly.io",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] "sec-ch-ua-platform": "\"macOS\"",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] "x-forwarded-proto": "https",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] "sec-ch-ua": "\"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\"",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] "sec-ch-ua-mobile": "?0",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] "sec-fetch-site": "cross-site",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] priority: "u=1, i",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] "x-request-start": "t=1735377187165504",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] "fly-client-ip": "<IP_ADDRESS>",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] "x-forwarded-for": "<IP_ADDRESS>, <IP_ADDRESS>",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] "fly-forwarded-proto": "https",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] "fly-forwarded-ssl": "on",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] "x-forwarded-ssl": "on",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] "fly-forwarded-port": "443",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] "x-forwarded-port": "443",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] "fly-region": "fra",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] "fly-request-id": "01JG68MWAX52854HK7Y5519AX3-fra",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] },

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] sessionToken: undefined,

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] isDev: false,

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] cookieDomain: ".fly.dev",

2024-12-28T09:13:07.179 app[7815316c5e6668] arn [info] }

2024-12-28T09:13:07.184 app[7815316c5e6668] arn [info] Auth response details: {

2024-12-28T09:13:07.184 app[7815316c5e6668] arn [info] status: 200,

2024-12-28T09:13:07.184 app[7815316c5e6668] arn [info] cookies: undefined,

2024-12-28T09:13:07.184 app[7815316c5e6668] arn [info] parsedCookie: null,

2024-12-28T09:13:07.184 app[7815316c5e6668] arn [info] headers: {

2024-12-28T09:13:07.184 app[7815316c5e6668] arn [info] "content-type": "application/json",

2024-12-28T09:13:07.184 app[7815316c5e6668] arn [info] },

2024-12-28T09:13:07.184 app[7815316c5e6668] arn [info] location: null,

2024-12-28T09:13:07.184 app[7815316c5e6668] arn [info] origin: "https://latch-web-1337.fly.dev",

2024-12-28T09:13:07.184 app[7815316c5e6668] arn [info] host: "latch-api-1337.fly.dev",

2024-12-28T09:13:07.184 app[7815316c5e6668] arn [info] }

settings/ctx:
{
"appName": "latch-auth",
"baseURL": "https://latch-api-1337.fly.dev",
"basePath": "/api/auth",
"trustedOrigins": [
"https://latch-api-1337.fly.dev",
"https://latch-web-1337.fly.dev"
],
"options": {
"advanced": {
"useSecureCookies": true,
"crossSubDomainCookies": {
"enabled": true,
"domain": ".fly.dev"
}
}
},
"authCookies": {
"dontRememberToken": {
"name": "__Secure-better-auth.dont_remember",
"options": {
"secure": true,
"sameSite": "lax",
"path": "/",
"httpOnly": true,
"domain": ".fly.dev"
}
},
"sessionToken": {
"name": "__Secure-better-auth.session_token",
"options": {
"secure": true,
"sameSite": "lax",
"path": "/",
"httpOnly": true,
"domain": ".fly.dev",
"maxAge": 604800
}
},
"sessionData": {
"name": "__Secure-better-auth.session_data",
"options": {
"secure": true,
"sameSite": "lax",
"path": "/",
"httpOnly": true,
"domain": ".fly.dev",
"maxAge": 300
}
}
},
"sessionConfig": {
"updateAge": 86400,
"expiresIn": 604800,
"freshAge": 86400
},
"debug": {
"environment": "production",
"timestamp": "2024-12-28T09:27:13.618Z",
"nodeVersion": "v22.6.0"
}
}


config: fix cache path

The path to cache was missing a slash, meaning it was looking for a "dot folder" instead of a relative path which ultimately led to an empty cache.
Seeing how users will likely copy paste from this config it seems important [to me] that it is correct and implements best practices.
Fixes: #1.

Good catch. Thank you for the fix :-)


Move argument parsing to main-function

This PR moves the argument parsing into a main function.
This is needed for creating a bionconda-package as a entry point defined by a function name is required.

Thank you for your interest.
We released debarcer 2.1.1 which now includes an entry point and can be installed from PyPi


[New Feature] Chat History

Please provide us with the following information:
Chat history would be a nice to have :) And to see that info in the admin page as well.

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ x ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

NA

Any log messages given by the failure

NA

Expected/desired behavior

There is a chat history like the AOAI bring your own data deployment

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

X

Mention any other details that might be useful

Thanks! We'll be in touch soon.

@ruoccofabrizio @gmndrg --- We also flagged this as a missing feature. Want to add this to our agenda when we meet again in January for V2 discussions?

Hi @hunterjam we have the list of features with priorities that will be reviewed within our team and to discuss after the Holidays and this is definitely part of this list! Thank you so much for flagging this!

We would like to +1 this feature request.
Aside from that it seems very promising as a base for us to build RAG chat applications on.

We would also like to see this. Thanks. Bye.

Implemented in #1288


case submission of images is not working the way i expect it

the quick case submit (with a fix that's incoming) is sending a case with a lead_image which is {url: "blahblah.jpg"}, but the API ends up storing ("[object Object]","",) in the lead_image sql column.

seems like i need to send just urls, not { url: ___ } which seems symmetry-breaking.

It should work with either a list of URLs or a list of {url: ""} objects. I'll double-check.


[Suggestion] Integrate Auto-Refresher to prevent memory leak

The reddit link dump suggests using an Auto-Refresher to circumvent the memory leak
http://www.reddit.com/r/SteamMonsterGame/comments/39ru4t/psalink_dump_for_the_game/
I'm personally not a fan of installing more extensions...

any chance we can have auto-refresh integrated with just the .js?

It is actually included now if you are using Greasemonkey or Tampermonkey (or so I'm told). If you're using neither of those and copy pasting the script, then you should not auto-refresh as the script will be unloaded.

I'm using Tampermonkey! I left the window on/active but it crashed (Ooops!) when I came back after dinner :/

I've had it auto refresh successfully with tampermonkey.

ehhh is there a setting or something I missed out?

My auto-refresh using Tampermonkey / Chrome does something odd.
Refreshes correctly but gets stuck on 97/97 when reloading. Script is never restarted.

I saw the auto refresh with the script work. It would be nice to be able to set the interval and have a timer to make it easier to test.

A lot of people have been getting 97/97. I'll get someone on it.

Should be fixed by #161.


Batch Update Access Tier

Storage Explorer Version: 1.4.0
Platform/OS Version: Windows Home 17134.228
Architecture: ia32
I've uploaded a large batch of files into my Blob Container which I would like to batch Archive. I can only do this one by one.
Updating access tier individually works fine

Batch access tier update is blanked out

Right click context menu for Change Access Tier at virtual folder level and blob container level too.

in addition, Change Access Tier for a directory (which would batch change all contents) as well.


Optimize oldTagIssues method

By reordering the checks and shallow copies, this method can run its initial stage about 2x faster on average - reducing initial app load by about 25ms in my case.
Time measuring code

Code
  let validation = function checkOutdatedTags(entity, graph) {
    let ts = performance.now();
    let issues = oldMultipolygonIssues(entity, graph);
    if (!issues.length) issues = oldTagIssues(entity, graph);
    let tt = performance.now() - ts;
    total += tt;
    count += 1;
    console.log(total, count, total / count);
    return issues;
  };

Original code
Notice the return []; which is used to focus the time measurement on the pre-checks only.

Modified code

Explanation
It looks like the hasInterestingTags call is very quick to execute and catches more cases than the presetManager.match (~20ms save). Also it makes more sense to perform the shallow copy after all pre-checks are run (~5ms save).

Thanks for the merge. I have some ideas on improving iD but had to work on something small first to get familiar with the code. I will hopefully contribute more in the future.


App Icon looks different on some devices

Steps to Reproduce

Add the flutter_launcher_icons package to pubspec.yaml
Add the following configuration to the pubspec.yaml file:

flutter_icons:
  android: true
  ios: true
  image_path_android: "assets/img/icon/ic_launcher_xxxhdpi.png"
  image_path_ios: "assets/img/icon/ios.png"
  adaptive_icon_background: "assets/img/icon/ic_background.png"
  adaptive_icon_foreground: "assets/img/icon/ic_foreground.png"

Images used: Icons

Run flutter packages pub run flutter_launcher_icons:main.
Build the app and install it on different devices. In my case i used a Honor 8, Samsung Galaxy J3 and a Samsung Galaxy Tab.
Watch the result:

As you can see on the Screenshot above, the App Icon looks different on those two devices. The left device is the Galaxy J3, the right one is the Honor 8. I've let several people test it on their phones with different results.

I really dont know what the issue is. As you can see above, im even using adaptive icons, so i really dont know what to do.
Logs

Flutter Analyze
No issues found! (ran in 2.6s)

Flutter Doctor
[√] Flutter (Channel beta, v1.0.0, on Microsoft Windows [Version 10.0.17134.523], locale de-DE)
    • Flutter version 1.0.0 at D:\CubE\Desktop\Programme\flutter
    • Framework revision 5391447fae (7 weeks ago), 2018-11-29 19:41:26 -0800
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at C:\Users\CubE\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[√] Android Studio (version 3.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[√] VS Code (version 1.30.2)
    • VS Code at C:\Users\CubE\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 2.21.1

[√] VS Code, 32-bit edition (version 1.29.1)
    • VS Code at C:\Program Files (x86)\Microsoft VS Code
    • Flutter extension version 2.21.1

[!] Connected device
    ! No devices available

! Doctor found issues in 1 category.

I faced the same problem. While it is a problem with flutter_launcher_icons, or maybe simply the default settings aren't turning out so great.... a work around is just to use Image Asset Studio (part of Android Studio) to create the desired icons for your Android app. Change your android/app/main/AndroidManifest.xml  android:icon="@mipmap/ic_launcher"> to point to your generated icon file. You may have to copy your icon files from their mipmap folders up to their drawable folder(s) pending how they are referenced.  Here is a nice link to a video on how to use Image Asset Studio. https://youtu.be/Q27hBWQpV-8


add single metadataCacheUri for all networks

requires Aquarius v3.0.0+
addressing https://github.com/oceanprotocol/multi-repo-issue/issues/67

This is a breaking change as it will automatically switch clients to use the new Aquarius

still undecided if we should use these values here over in market, which would define if we need this change here in a new ocean.js release before releasing multi-network in market.
Current state is: over in https://github.com/oceanprotocol/market/pull/628 the metadataCacheUri is part of the app config and we assume it is not changing during the user session. So the source of truth for metadataCacheUri is now the market app config, and not ocean.js

After some days playing with multi network PR codebase it's definitely way more comfortable on market to leave it as an app config value so it can be easily accessed everywhere. Needs to be revisited though once we know how other metadata cache URIs should behave.


submitting a large file (multi MB) on the web as part of a prompt causes a UI freeze for a few seconds

what's causing that freeze and how can we show progress to the user?

won't fix


Add Measurement state_class to EV Battery Level

We want to have state_class defined to have it stored in long term statistics.
More information:
https://developers.home-assistant.io/blog/2021/05/25/sensor_attributes/

This fixes Issue #824


npm test fails with hugo v0.111.3+extended

I get the following error message:
failed to extract shortcode: shortcode "children" must be closed or self-closed

I get the following error message:
failed to extract shortcode: shortcode "children" must be closed or self-closed

I've got a fix for that locally if you haven't already solved it @bdfinst. The latest version of Hugo appears to be stricter with the linting.

Yeah, I won't get to take a look until later. If you have a fix, I'd welcome the PR.

fixed the issue title.

Here's an example of the similar output from npm run build:
$ npm run build

><EMAIL_ADDRESS>build
> hugo

Start building sites …
hugo v0.111.3+extended darwin/amd64 BuildDate=unknown
Error: Error building site: "/Users/spoulter/Development/GitHub/seanpoulter/cd-manifesto/content/Practices/_index.md:7:1": failed to extract shortcode: shortcode "children" must be closed or self-closed
Total in 29 ms


prettify XML-printing

needs to be done either way if we ever touch UFO3 again, so I removed it from the KerningTool milestone.


Trade off between VQ-VAEs and VAEs

Dear authors,
Thanks for the great work!
While OpenAI's Sora itself and sota 3D VAEs (MAGVIT) uses the Vector Quantized (VQ-VAE) variant, open-sora adopts the KL-VAE. What's the rationale behind it and what could be the potential trade-off? Do you have any insight regarding this issue?
Thanks in advance!

Currently, there is no high-quality off-the-shelf VQ-VAE. And thus we use a good KL-VAE for our training.
Besides, I did not see any report that Sora uses VQ-VAE. Could you help me check where is the information source?

Currently, there is no high-quality off-the-shelf VQ-VAE. And thus we use a good KL-VAE for our training.
Besides, I did not see any report that Sora uses VQ-VAE. Could you help me check where is the information source?

have you tried VAR's vqvae?


PowertunerWebsiteStack Failed

Why do I get this error even if I run the Bootstrap command before deploy-website

Yes, even Im facing the same issue ++

@Janardhanmitt is this your first time deploying CDK to that AWS account? If so, you need to bootstrap it before deploying. This is documented in README, but here it is:
# Replace ACCOUNT_ID with your account ID, REGION with the region you're working in
npm run cdk bootstrap aws://ACCOUNT_ID/REGION


Add rededge1,2,3 to common names

It's a bit weird that the common name rededge has 3 bands included for S2, which is not ideal if you try to identify bands based on the common names.
The great repository Awesome Spectral Indices splits the rededge into 3 parts: Red Edge 1, 2 and 3.
I'd propose to add these three in addition.

Discussed in STAC sprint
@emmanuelmathot to create draft PR for v2.0 of this extension which will remove eo:bands for compliance with upcoming STAC 1.1 - see https://github.com/radiantearth/stac-spec/pull/1254


cmd/vet: return analysis fails with type-switching and panic()

What version of Go are you using (go version)?
go version devel +0c471dfae2 Mon Feb 26 20:22:06 2018 +0000 linux/amd64
Does this issue reproduce with the latest release?
No-- this is in changes after 1.10.
What did you do?
Given a.go:
package kubernetes

func DeepCopyJSONValue(x interface{}) interface{} {
        switch x := x.(type) {
        case []interface{}:
                clone := make([]interface{}, len(x))
                for i, v := range x {
                        clone[i] = v
                }
                return clone
        default:
                panic("cannot deep copy")
        }
}

$ go vet a.go
# command-line-arguments
./a.go:14:1: missing return
vet: typecheck failures

What did you expect to see?
No typecheck failures.

With go vet becoming part of go test, parsing & typechecking the go corpus might be a good test.

This happens after the https://github.com/golang/go/commit/99843e22e81045ba5e6776095a2cb3ef5704c70e
% go version ; go vet a.go
go version devel +cbfda7f892 Mon Feb 26 18:32:38 2018 +0000 darwin/amd64
% go version ; go vet a.go
go version devel +99843e22e8 Mon Feb 26 18:46:26 2018 +0000 darwin/amd64
# command-line-arguments
./a.go:14:1: missing return
vet: typecheck failures

/cc @griesemer

Thanks, @ysmolsky for tracking down the offending change; this made it easy to identify the problem. I've got the fix (minor oversight in 99843e2) and will have a CL later today.


Add the note about patching fetch to README.md

I think it's worth it.

I'm uneasy about the general practice of overriding built-ins that already exist. That's why I'm wary of suggesting it in the documentation. Of course someone can do it if they want, but I don't necessarily want to endorse it.

What about the “at your own risk” node?

😕


Experimenting multi file download with File System API

Summary | Résumé
Uses File System API and polyfills for unsupported browsers
Test instructions | Instructions pour tester la modification
Choose multiple responses and download.
Unresolved questions / Out of scope | Questions non résolues ou hors sujet
Are there any related issues or tangent features you consider out of scope for
this issue that could be addressed in the future? If so please create issues and provide
links in this section
Pull Request Checklist
Please complete the following items in the checklist before you request a review:

[ ] Have you completely tested the functionality of change introduced in this PR? Is the PR solving the problem it's meant to solve within the scope of the related issue?
[ ] The PR does not introduce any new issues such as failed tests, console warnings or new bugs.
[ ] If this PR adds a package have you ensured its licensed correctly and does not add additional security issues?
[ ] Is the code clean, readable and maintainable? Is it easy to understand and comprehend.
[ ] Does your code have adequate comprehensible comments? Do new functions have docstrings?
[ ] Have you modified the change log and updated any relevant documentation?
[ ] Is there adequate test coverage? Both unit tests and end-to-end tests where applicable?
[ ] If your PR is touching any UI is it accessible? Have you tested it with a screen reader? Have you tested it with automated testing tools such as axe?

Closing as experiment is complete.


minecraft version?

I would like to know what version of minecraft this emulator is based on, for example minerl has information about it as here. https://minerl.readthedocs.io/en/latest/notes/versions.html

Thank you very much!


401 Unauthorized kube-apiserver in multiple master nodes front of ELB

Hi,
We are trying to achieve high availability cluster with multiple master nodes front ELB.
Also trying to use ingress to layer 7 traffic from ELB to master nodes.
http://kubernetes.io/docs/user-guide/ingress/#tls
apiserver-key and apiserver cert configured as secrets.
We also have external hostname for apiserver which points to ELB.
Scenario-1: Request through external hostname and passing through ELB get HTTP/1.1 401 Unauthorized error.
Scenario-2: service endpoint HTTPS request is working fine over https and admin crt and key.
curl -v --cacert ca.pem https://kubernetes.default.svc.cluster.local/version --cert admin.pem --key admin-key.pem

Host: kubernetes.default.svc.cluster.local
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Type: application/json
< Date: Wed, 10 Aug 2016 16:34:24 GMT
< Content-Length: 260
<
{
  "major": "1",
  "minor": "3",
  "gitVersion": "v1.3.4",
  "gitCommit": "dd6b458ef8dbf24aff55795baa68f83383c9b3a9",
  "gitTreeState": "clean",
  "buildDate": "2016-08-01T16:38:31Z",
  "goVersion": "go1.6.2",
  "compiler": "gc",
  "platform": "linux/amd64"
* Connection #0 to host kubernetes.default.svc.cluster.local left intact

Ingress config:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: no-rules-map
spec:
  tls:
    - secretName: testsecret
  backend:
    serviceName: kubernetes
    servicePort: 443

kubectl describe ing
Name:			no-rules-map
Namespace:		default
Address:
Default backend:	kubernetes:443 (<IP_ADDRESS>:443,<IP_ADDRESS>:443)
TLS:
  testsecret terminates
Rules:
  Host	Path	Backends
  ----	----	--------
  *	* 	kubernetes:443 (<IP_ADDRESS>:443,<IP_ADDRESS>:443)
Annotations:
No events.

TLS secret details:
kubectl describe secrets testsecret
Name:		testsecret
Namespace:	default
Labels:		<none>
Annotations:	<none>

Type:	Opaque

Data
====
tls.crt:	1675 bytes
tls.key:	1679 bytes

Question: can you please let me know your inputs why HTTPS request for apiserver fails through external hostname passing through ELB?
Please let me know if you need any more information on this.
Thanks!

Just to add, client certificate authentication work properly with kubernetes svc endpoint: kubernetes.default.svc.cluster.local. However it gives 401 Unauthorized errors while accessing through ELB hostname with ingress with TLS secret mentioned above.
On ELB we have,
Load Balancer Protocol Load Balancer Port   Instance Protocol   Instance Port
HTTPS	                          443   	                 HTTPS	               443

@sachincab When you are making requests to the ELB endpoint are you using client-certs? The "Unauthorized" error means the request did not succeed at authenticating against the api-server. The AuthN method could be bearer token, client cert, basic auth, etc. (depends on what you've configured & how you're making the request).
In your

I'm going to close this due to inactivity, but please let me know if it should be re-opened


Allow custom links to notebooks in buttons

At SciPy this year we got some nice feedback from @mwcraig
he suggested that it'd be helpful to include a custom link with each page that could point to an online version of the notebook (not interactive like Binder, but just a pointer to the notebook).
In his use-case, he imagined opening a pull request for each release of the book, then including links on each page that would take you to that line of the pull request and allow readers to provide comments on those particular lines.
To do this one would need to be able to define the link to the page of choice, and then have it be populated with the path of the notebook that generated a page. I don't think this is possible right now, but shouldn't be too tough to implement!

Sorry, just to make sure I'm understanding --
Would this be like "view source" with Sphinx, or something else ?

I think the more generic case is the ability to add a button that has a link of the form:
https://<some-url>/<path-to-notebook>
In @mwcraig's specific case, he wanted to be able to have each page of the book point to a github page that let people comment on the content of that notebook, so something like
https://github.com/mwcraig/his-repo/blob/<path-to-notebook>
something like that.
So you could replicate the "view source" with Sphinx functionality, or support something else. Does that make sense?

The working example I have of this now ended up being a little more convoluted (links in a moment).
I wanted readers to be able to:

Click a link to get directly to the part of the source notebook they were reading to facilitate comments.
A nice clean diff in GitHub, since you can only comment on diffs.

That meant doing a few things (this may be much more baroque than it needs to be, had a deadline I needed to meet):

Wrap notebook markdown cells at 80 characters. Commenting on really long single lines gets old. Code to wrap is here, and includes a bit of magic to ensure that links and latex do not get wrapped (well, latex between double dollar signs anyway).
For each notebook, create a branch on github with a single commit and open a PR from that branch to a dummy branch off the initial commit. This ensures a nice, clean diff. Code to do this is here, and related code to close these auto-PRs and delete the branches (helpful during debugging) is here.
For each notebook, insert a link below each header in the notebook that takes the reader directly to that line in the diff. Code for inserting the links is here.

The rendered book is here; feel free to try leaving comments (even if the comments are just something like "trying out this comment thing"): https://mwcraig.github.io/ccd-as-book/00-00-Preface
The source repo for the rendered book is here; it contains the notebooks after being executed, having relative links fixed, wrapping at 80 characters, creation on github PRs/branches and insertion of links: https://github.com/mwcraig/ccd-as-book
The "true" source repo, containing the output-free notebooks is here: https://github.com/mwcraig/ccd-reduction-and-photometry-guide
An example comment is in this PR: https://github.com/mwcraig/ccd-reduction-and-photometry-guide/pull/106
This ends up meaning many (25-ish) PRs I'll have to read through for comments...but should make it easier to discuss specific comments in a focused way. We'll see once the comments start coming in.


Fix preprocess cache directory creation race condition

This PR reverts https://github.com/facebook/jest/pull/491. The change introduced in that PR introduced a race condition into the creation of the preprocess cache directory, which can result in an unhandled EEXIST error. As far as I can see, the change made in that PR isn't required if the user is managing their own cache directory (which is easier to do now following https://github.com/facebook/jest/pull/470).

Hi, @jsdf. thanks comment to my PR. :)
#491 problem isn't resolved by #470 because if many users run same project test( so, they use same Jest-config) on a same server, then raise EPERM error.
IMO, it should be merge together:
      if (!fs.existsSync(cacheDir)) {
        try {
          fs.mkdirSync(cacheDir);
        } catch(e) {
          if (e.code !== 'EEXIST') {
            throw e;
          }
        }

        fs.chmodSync(cacheDir, '777');
      }

Isn't it?

Yes I think @yudoufu's suggestion makes the most sense.
@jsdf can you make this change?

Sure. Updated PR.

Thank you! I'll tag 0.5.4 shortly.

@cpojer @jsdf Thank you!


Improve examples

The current examples don't cover all features of the datepicker. We should make sure all features are covered in the examples.
We can use Github pages to create a nice example page. I imagine something that shows the code example on the left and the actual output on the right for each feature/example.
Optionally, we could use React Playgrounds to give people the ability to play with the code within the example page.

Some basic documentation of how to use the date picker could be included in the README as a start

Agreed. I'll take a pass on this soon!

+1. I've installed react-datepicker and am trying to make use of it. Currently I am using:
var DatePicker = require('react-datepicker);
and then in render adding a

to my component heirarchy.
That seems to show up, but when I select it everything goes very bad (a long column of unstyled text). I looked in the examples, but they all specifically refer to src files rather than using datepicker as a module.
I'm sure I'm doing something ridiculous wrong. Can you help me understand what I should do differently?

Ref http://www.gpbl.org/react-day-picker/#examples/Basic calendar

@MahatmaManic Did you try to add the stylesheet by yourself?

New examples are added to https://hacker0x01.github.io/react-datepicker

There's still no code examples, i.e. what props are expected etc.


[Installer] Runner.exe loop after install as different user

Microsoft PowerToys version
0.57.2
Running as admin

[ ] Yes

Area(s) with issue?
Installer
Steps to reproduce

Exit PT Run.
Execute setup.exe form normal user with run as user by using credentials of an admin account.

✔ Expected Behavior
After installation the runner starts correctly or I can uncheck start after install on setup screen.
❌ Actual Behavior
Runner hang in loop.
[2022-04-13 09:28:29.056366] [p-15212] [t-9000] [info] runner logger is initialized
[2022-04-13 09:28:29.056389] [p-15212] [t-9000] [info] Running powertoys with cmd args: --dont-elevate
[2022-04-13 09:28:29.057179] [p-15212] [t-9000] [info] apply_general_settings: {"startup":false,"enabled":{"AlwaysOnTop":true,"Awake":true,"ColorPicker":true,"FancyZones":true,"File Explorer":true,"FindMyMouse":true,"Image Resizer":true,"Keyboard Manager":true,"MouseHighlighter":true,"MousePointerCrosshairs":false,"PowerRename":true,"PowerToys Run":false,"Shortcut Guide":true,"Video Conference":false},"is_elevated":true,"run_elevated":false,"download_updates_automatically":true,"is_admin":true,"theme":"system","system_theme":"light","powertoys_version":"v0.55.0"}
[2022-04-13 09:28:29.077625] [p-15212] [t-9000] [info] Scheduling restart as non elevated
[2022-04-13 09:28:29.077703] [p-15212] [t-9000] [info] run_non_elevated with params=--dont-elevate
[2022-04-13 09:28:29.078191] [p-15212] [t-9000] [error] OpenProcess() failed. Zugriff verweigert
[2022-04-13 09:28:29.078196] [p-15212] [t-9000] [warning] Scheduled restart failed. Trying restart as admin as fallback...

runner-log_2022-04-13.txt
Other Software
No response

cc: @yuyoyuppe

We experienced this issue as well. Since we used SCCM and PatchMyPC this used the EXE version. MSI version does not seem to have the issue.
The devices affected by this issue had millions of processes spawned, which in turn ate up GB's of log files in the Runner log file location. This also caused Windows Defender to spin up and saturate the CPU.
Ultimately we created a post-install script to change the permissions so that powertoys.exe could not launch, then added permissions back after a 5-second delay. This basically mimicked a reboot which also solved this for users. We also did a bit of log file cleanup to delete all the generated log files.
Hopefully, we can get a new version of this out soon so we can remove the post-install script we have in place. Hope this also helps anyone else in this situation.

Some additional information -
`New EXE Installer from version 0.55.0 onwards (Previously was extracting the MSI and deploying that via SCCM
This Installer doesn't like trying to start PowerToys for the first time as a non-elevated User coming from the elevated installer. When it does it just loops and crashes.
[2022-04-12 11:09:38.477270] [p-8792] [t-11412] [info] runner logger is initialized
[2022-04-12 11:09:38.477286] [p-8792] [t-11412] [info] Running powertoys with cmd args: --dont-elevate
[2022-04-12 11:09:38.477771] [p-8792] [t-11412] [info] apply_general_settings: {"startup":false,"enabled":{"AlwaysOnTop":true,"Awake":true,"ColorPicker":true,"FancyZones":true,"File Explorer":true,"FindMyMouse":true,"Image Resizer":true,"Keyboard Manager":true,"MouseHighlighter":true,"MousePointerCrosshairs":false,"PowerRename":true,"PowerToys Run":true,"Shortcut Guide":true,"Video Conference":false},"is_elevated":true,"run_elevated":false,"download_updates_automatically":true,"is_admin":true,"theme":"system","system_theme":"light","powertoys_version":"v0.56.1"}
[2022-04-12 11:09:38.480636] [p-8792] [t-11412] [info] Scheduling restart as non elevated
[2022-04-12 11:09:38.480737] [p-8792] [t-11412] [info] run_non_elevated with params=--dont-elevate
[2022-04-12 11:09:38.480740] [p-8792] [t-11412] [warning] GetShellWindow() returned null. Shell window is not available
[2022-04-12 11:09:38.480742] [p-8792] [t-11412] [warning] Scheduled restart failed. Trying restart as admin as fallback...
During this time you can start PowerToys manually and it runs, but the process keeps bombing out in the background.
Once the machine is rebooted, this goes away, as the "FirstRun" process is gone.
We run PatchMyPC with /s /noreboot. So the machine will ALWAYS loop.
Why we didn't see this before, was that IF you install it NOT via the Exe but via the inbuilt PowerToys Update (Needs Admin credentials) This looping process doesn't happen.`

In https://github.com/microsoft/PowerToys/issues/17731 it seems this can occur for admin users with UAC off.

Another case of how this could happen: https://github.com/microsoft/PowerToys/issues/8419

Shipped with 0.58.0


Add flag for enabling/disabling with

This may seem to somewhat related to Spring Framework.
I'm using Ehcache with my Spring Boot application with following strategy.

I need(decided) to cache Repository interface methods not Service methods.
Instead of annotating my repository methods with @Cacheable,
I created an Aspect invokes around every methods of all repository interfaces and checks cache for FQMN.

That means...
interface MyRepository {

    // Not annotated with @Cacheable
    void doSome();

    // Not annotated with @Cacheable
    Some doWhatever();
}

class RepositoryAspect {

    @Around
    Object around_any_method(...) {
        // Find the FQNM and check the cacheManager
        // If found and exists, return the cached values.
        // else proceed
   }
}

And here comes my ehcache.xml
  <cache alias="....MyRepository#doSome">
  </cache>

And the way of turning-off the caching for the specific method is deleting or commenting the block.
I think it'll be great if I have @enabled attribute or some.
  <cache alias="....MyRepository#doSome" enabled="false" >
  </cache>

Cache enable/disbale isn't a concept in Ehcache 3. It used to exist in Ehcache 2 but we decided to not keep it when advancing to 3. The idea of "disabling" a cache was left as something for the user to control since the semantics are ill defined, particularly in a system where the "cache" extends beyond the bounds of the immediately accessible JVM. Disabling a "clustered cache" (via JMS/TC or whatever) for example might mean not reading but still writing to avoid data consistency issues in other clients.


fix GHA: remove too generic UI cache

Description
Previous implementation could restore a cache with wrong dependencies, as the dependency files don't between current and cached don't have to match. Matching of the dependency file content is implemented as part of the cache key, e.g. for npm-v2-7ebb8fb1894252db88b2b5a6f2f2da6f13eea209fc2727c029caf4de57218c74-pre-build-ui the dependency file "fingerprint" / hash is 7ebb8fb1894252db88b2b5a6f2f2da6f13eea209fc2727c029caf4de57218c74.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
CI is sufficient

Do we still need it?

https://github.com/stackrox/stackrox/pull/5933

@janisz I think we still need it. The problem is that we will always hit the cache for builds on release branches.
From docs: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#restrictions-for-accessing-a-cache
Workflow runs can restore caches created in either the current branch or the default branch (usually main).

This means that we will have a "cache hit" on the release branch, where cache from master will be used.


Rejecting connection with not allowed destination

{"...": "...", id="018fd0c5-eac9-70e1-b10d-b8a117c98173" remote="<IP_ADDRESS>:51820"}: wstunnel::tunnel::server: Rejecting connection with not allowed destination: RemoteAddr { protocol: Udp { timeout: None }, host: Ipv4(<IP_ADDRESS>), port: 51820 }

I am trying to use path prefixing to restrict the URIs available and exposed, but I keep running into this.  There doesn't seem to be a server-side config that's restricting domain, just prefix or "--restrict-to".  I have the server set to the following config below, am I missing something though?
# Server startup command
/usr/local/bin/wstunnel server --tls-certificate=/etc/ssl/wstunnel.crt --tls-private-key=/etc/ssl/wstunnel.key --log-lvl debug --restrict-to <IP_ADDRESS>:51820 "wss://[::]:443" -r "blah"

# Client startup command
wstunnel client -L 'udp://51820:<IP_ADDRESS>:51820?timeout_sec=0' 'wss://my.example.com:443' --tls-sni-override my.example.com

Please try to remove -r "blah" from your server side config.

feel free to re-open if needed


Added the code to provide recipe of given dish

This code provides the recipe of the given dish if available, otherwise shows invalid output.


fix(avatar): overlay icon alignment

Fix (Avatar): Overlay icon alignment
:hammer_and_wrench: Type Of Change

[x] Fix
[ ] Feature
[ ] Refactoring
[ ] Documentation

:book: Description
Added justify-content: center to be sure the icon is always at the center of the overlay regarding its size.
:bulb: Context
Issues on product with icon alignment where reported and tried to fix it here but it was better to add the fix on the actual avatar instead of just the recipe.
:pencil: Checklist

[x] I have reviewed my changes
[ ] I have added tests
[ ] I have added all relevant documentation
[ ] I have validated components with a screen reader
[ ] I have validated components keyboard navigation
[ ] I have considered the performance impact of my change
[ ] I have checked that my change did not significantly increase bundle size
[ ] I am exporting any new components or constants in the index.js in the component directory
[ ] I am exporting any new components or constants in the index.js in the root

:camera: Screenshots / GIFs

cc @fabiangarga

Accessibility tests are broken due to the recent color update on links I think @francisrupert @fede-dp


Fix types for moduleResolution=nodenext/bundler

The types condition was wrongly declared.
https://arethetypeswrong.github.io/?p=laravel-vite-plugin%400.8.1
This PR fixes that by

Emitting both types for require and import for . export

A single type file cannot be used for both ESM and CJS. See https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md for more details.

Removing types condition

types condition must be the first property. Instead of changing the order, I simply removed the condition because TypeScript will also look up the adjacent type file. See https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FallbackCondition.md for more details.

Thank you so much for dropping by our Laravel world to help us out with the upgrade, @sapphi-red.
We've got a working branch where we have already made the type module changes, thankfully.
I'm going to close this one as we I'm creating a single PR to house all our Vite 5 upgrade work to make it easier for review etc.
Thanks again. We really appreciate the Vite team ❤


Fix alias missing from keystore issue after user disabled his security

This is a more elaborate fix voor issue https://github.com/mibrito707/cordova-plugin-secure-storage-echo/issues/54. The isEmpty fix didn't work for us, since it resets the store on every app startup.
The original issue was that when the user disables his screen-lock and enabled it again the keystore is empty. The shared preferences storage is not empty however.
Instead of always recreating the keypair, only recreate it when the alias is missing from the keystore, or the shared preferences are empty.

Doesn't fix it in all usecases, going to investigate further


RigidBody2D bounces/glitches periodically with torque against moving KinematicBody2D

Godot version:
3.2.3
3.3 RC 8
OS/device including version:
Ubuntu 20.10
Issue description:
This is more visible the higher the linear and angular dampening
At 50 linear/angular damp:

Steps to reproduce:

Run the MRP

Minimal reproduction project:
GodotTest.zip

By the way, I can reproduce it clearly in another project with mass 1 and linear/angular dampening 0.5, so "you shouldn't use that high dampening therefore not bug" doesn't cut it.


Add RFC2822 well-known format description

RFC2822 formatted dates are used in many places in web contexts, one of the more noteworthy of those being Date headers in the HTTP protocol. An example of a date in this format could be Fri, 21 Nov 1997 09:55:06 -0600.
As an additional note, the chrono crate has 2822 as a well known format, and adding it to time could be a big help to those interesting in migrating to time.
The RFC2822 specification

A PR implementing this would be accepted. From quickly looking at the spec, it should largely be able to be parsed using pre-existing components.


Search Editor presents files before results, opposite of Search view

VSCode Version: 1.43 Insiders
OS Version: Windows 10

Found while testing #91331
Steps to Reproduce:

Open the vscode-docs repo and create an empty Search Editor
Search for "VSCode" and set Match Case and Match Whole Word

This changed recently. Should these be consistent between the two Search results?

Closed in 7f1f3981cef74c2fd41b864ddecdb506579723be


Use ffjson for encoding/decoding.

docs indicate 2-3x faster for encode/decode of JSON
@wojtek-t @fgrzadkowski @davidopp

LGTM

fixed gofmt problems.

Please wait for a clean e2e before merging...

cc @lavalamp

Ref #3338
cc @smarterclayton

Hmm. Shippable didn't run.
Did you run e2e?

Cool. That autogenerated code is hideous... not that it matters.

Closed and re-opened to trigger Shippable.

Before/after perf test results?

Before/after perf test results?
verify-boilerplate.sh failed. Do you have commit hooks installed?

yeah the autogenerated files need the boilerplate headers.

I love me some before and after %s

On Jun 5, 2015, at 7:55 PM, Brian Grant<EMAIL_ADDRESS>wrote:
Before/after perf test results?
—
Reply to this email directly or view it on GitHub.

Can we choose one code generating JSON library? @fgrzadkowski just got something using code into go-etcd: https://github.com/coreos/go-etcd/pull/218

ugorji was suggested in #3338

I'll check out ugorji.
@smarterclayton Numbers for you (tl; dr; closer to a 1.5x speed up vs the 2-3x promised...)
fwiw, I looked into the generated code, it is the map[string]string for labels that is still getting kicked into the std. json library.


Better Display of the different types of Contract Events

Task description
Block explorers often distinguish between top-level transactions and internal transactions.

CCDScan currently displays all contractTraceEvents and contractEvents in one table.

A better/clearer separation would be beneficial. One option to apply the concept would be two tables:
top-level transactions = ContractTraceElement::Updated; and contract initialized transaction events
internal transactions = ContractTraceElement::Interrupted; ContractTraceElement::Transferred; ContractTraceElement::Resume; ContractTraceElement::Upgraded

Interaction with other smart contracts within a top level transaction will also result in ContractTraceElement::Updated and should maybe be considered an 'internal transaction' as well.


MSID: 86972 DOI: 2<IP_ADDRESS>3688

[PLACE MANUSCRIPT AND EDITOR DETAILS HERE WHEN AVAILABLE] See step 3
[PLACE PDF URL HERE WHEN AVAILABLE] See step 7
Step 1. Inform bioRxiv
Who can help: @QueenKraken, @nlisgo, @scottaubrey

[x] Manuscript is in data hub index (https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v1/get-by-doi?preprint_doi=10.1101%2F2<IP_ADDRESS>3688)

Step 2. Create preview of manuscript
Who can help: @fred-atherden, @nlisgo, @scottaubrey

[x] Manuscript is available for preview (https://prod--epp.elifesciences.org/preview/10.1101/2<IP_ADDRESS>3688)

[x] Pull request created to enhanced-preprint-data
[x] Post link to pull request below

Pull request: https://github.com/elifesciences/enhanced-preprints-data/pull/48

Instructions
$ git clone git@github.com:elifesciences/enhanced-preprints-data.git
$ cd enhanced-preprints-data
$ git checkout -b import-2<IP_ADDRESS>3688 origin/master
$ ./scripts/fetch_meca_archive.sh 2<IP_ADDRESS>3688 incoming/
$ ./scripts/extract_mecas.sh incoming/ data/
$ rm -rf incoming/
$ git add .
$ git commit -m 'import-2<IP_ADDRESS>3688'
$ git push -u origin import-2<IP_ADDRESS>3688

Create pull request: https://github.com/elifesciences/enhanced-preprints-data/compare/master...import-2<IP_ADDRESS>3688
Merge in after CI passes and reviewing changes.
Manuscript should be available for preview shortly afterwards.
an example with multiple:
$ for doi in 2<IP_ADDRESS>6451 2<IP_ADDRESS>4266; do ./scripts/fetch_meca_archive.sh $doi incoming/; done
$ ./scripts/extract_mecas.sh incoming/ data/
$ rm -rf incoming/
$ for doi in 2<IP_ADDRESS>6451 2<IP_ADDRESS>4266; do git checkout --no-track -b "import-$doi" origin/master; git add data/10.1101/$doi/.; git commit -m "import-$doi"; git push origin "import-$doi"; done; git checkout master;

Step 3: Awaiting public reviews
Who can help: Editorial team

[ ] Public reviews available on sciety (https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>3688)
[ ] Manuscript and editor details at the top of this issue (Supplied by Editorial team)

Example
"msas": "Genetics and Genomics", "Neuroscience"
"msid": "84628"
"version": "1"
"preprintDoi": "10.1101/2<IP_ADDRESS>4241"
"articleType": "Reviewed Preprint"
"status": "Published from the original preprint after peer review and assessment by eLife."

"Reviewed Preprint posted": "2023-01-02"
"Sent for peer review": "2022-10-28"
"Posted to bioRxiv": "2022-11-21" (link: "Go to bioRxiv": "https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>4241v1")

Editors:
Reviewing Editor
Michael B Eisen
University of California, Berkeley, United States
Senior Editor
Michael B Eisen
University of California, Berkeley, United States

Step 4: Modify manuscripts.json (no PDF)

[ ] Reviewed preprint is published to EPP (https://elifesciences.org/reviewed-preprints/86972)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[ ] Request that a doi be registered

[ ] Post link to #enhanced-preprint comment below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]

Instructions to modify manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/publish-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/334/files
Once the pull request is merged in it should be available a few minutes later.

Request that a doi
Post the following in #enhanced-preprint:
@Fred can you register a doi for https://elifesciences.org/reviewed-preprints/86972

Step 5: Awaiting search reindex

[ ] Reviewed preprint is avaliable on journal homepage (https://elifesciences.org)

The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.

Additional info
If needed, the jenkins pipeline to reindex search can be triggered sooner.
https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 6: Published! Request PDF generation

[ ] Post the link to the PDF url at the top of the issue

[ ] Post link to #enhanced-preprint comment below

#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]
Post the following to the #enhanced-preprint on slack:
@Ryan Dix-Peek please can you generate a PDF for https://elifesciences.org/reviewed-preprints/86972

Step 7: Upload PDF to git repo

[ ] PDF is avaliable at https://github.com/elifesciences/enhanced-preprints-data/raw/master/data/10.1101/2<IP_ADDRESS>3688/2<IP_ADDRESS>3688.pdf

Instructions to upload pdf to git repo
Download the PDF and rename to 2<IP_ADDRESS>3688.pdf
Goto: https://github.com/elifesciences/enhanced-preprints-data/upload/master/data/10.1101/2<IP_ADDRESS>3688
Upload the file 2<IP_ADDRESS>3688.pdf and commit directly to the master branch

Step 8: Add PDF url to manuscripts.json

[ ] Reviewed preprint PDF is available for download (https://prod--epp.elifesciences.org/reviewed-preprints/86972)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[PLACE LINK TO PULL REQUEST HERE]

Instructions to add PDF url to manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/add-pdf-url-to-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/397/files
Once the pull request is merged in it should be available a few minutes later.

Step 9: Done!

[ ] Kettle is on!

PR to include correct version is here - https://github.com/elifesciences/enhanced-preprints-data/pull/50

Corrected version is now imported. This needs QCing again.


Profile pictures are not displayed in the bump emails sent

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open ND and login as a new user A that's not an expensify.com email.
Go to any report (user B) and leave message to user B
Create a workspace
Observe the bump email received from user A
Also observe the email received from your setup specialist

Expected Result:
Emails should show the avatars of the person sending the message
Actual Result:
Some random blue avatar is appearing
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.2.44-0
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

Expensify/Expensify Issue URL:
Issue reported by: @Douglas   (guide)
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1672185116276059
View all open jobs on GitHub

I am going out of the office for the next 2 days, I am going to reassign this issue out to make sure it gets picked up.

Took me a while to reproduce, likely because I initially tried to use my main expensify.com email. You'll want to use a brand new email address so you can get a guide/setup specialist assigned and they will send you a message.  Both recieved messages won't show the correct avatars, just a blue default one.
UUUUGHHHH, GH hasn't been allowing me to paste images into comments for weeks, need to restart comp.
@madmax330 I'm unsure if this can be worked on externally but my guess is no.

Still can't upload pics after restarting ¯_(ツ)_/¯

Hmm I don't think this is something we can fix. I will ask the room, but I think these are profile pictures that you set in google.

Yeah I think I agree, not something we can fix, maybe at some point we could have the avatars as part of the body, I don't think this is the case.
I think this is avatar is pulled out fo your contacts, of the gmail profile as well

Closing this per: https://expensify.slack.com/archives/C01GTK53T8Q/p1672665080731749
I don't think it's something we can fix, and it's probably not worth the effort at this point


Update tvm-security-baselines.md

Updated the note
Fixes https://github.com/MicrosoftDocs/microsoft-365-docs/issues/11584

@siosulli Thank you. I have made the change.

@siosulli Please merge this PR. Thanks


Document Ubuntu (~20.04) installation tip

Attempting to install this gem fails on Ubuntu 20.04 until the libxmlsec1-dev package is installed.

 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.


Update ownerapi_endpoints.json to v4.16.0-1522

Changes:

Update ownerapi_endpoints.json to v4.16.0-1522 on par with the Tesla App

Notes: mostly changes around the bff (backend-for-frontend) endpoints. Changes to names eg. service => support and some additions to this. No major changes, nothing needs to be updated as of now.

Thanks!


Removed log statements that caused the error. They where obsolete as …

…log_failed_response handles this already.
For clearity renamed handle_error to more specific name that represents it's task: try to re-authenticate. Also removed obsolete setting on/off of input_boolean.error_schedule_cannot_be_retrieved from the try_solve_authentication_error. These are already set in trigger_schedule function.

One more thing that worried me is that the handle_response_errors function also exists in get_fm_data.py and set_fm_data.py. It's not clear to me why you propose to only update the function in flexmeasures_client.py. I prefer to work towards streamlining functionality, rather than diverging.


Validate Oracle Linux 8.4

https://blogs.oracle.com/linux/announcing-the-release-of-oracle-linux-8-update-4
https://docs.oracle.com/en/operating-systems/oracle-linux/8/relnotes8.4/

To Validate:

Local cluster using this AMI/OS

Deploy an RKE local cluster using this AMI/OS

Deploy a downstream cluster using this AMI

Run validation checks (v3_needs cluster jenkins) on this cluster

Deploy v1/v2 charts and verify all workloads get to Active state and the P0 usecase works.

Validating with 8.4 AMI:

Deployed an RKE local cluster using this AMI
created rke1 cluster (plus v3_needs cluster tests)
created rke2 cluster (plus v3_needs cluster tests)
import existing kubernetes rke2 cluster

Alerts v1 - fails on https://github.com/rancher/rancher/issues/33400
Monitoring v1 - fails ^
Pipeline v1 - ok
OPA Gatekeeper v2 - ok
CIS Scan v2 - fails on https://github.com/rancher/rancher/issues/33290

Verified rancher backup version: rancher-backup:2.0.0+up2.0.0-rc3
rancher server version: master-head commit cf5a75f
Oracle linux version: Oracle Linux Server release 8.4

From the local cluster --> explore cluster --> apps and market place --> installed rancher backup
Verified the installation is successful
Ran cis scan rke-profile-permissive-1.6 -- Verified it is successful
Created a rancher backup
Ran cis scan rke-profile-permissive-1.6 -- Verified it is successful.

Closing v1 / v2 charts or other rancher functionality does not seem to fail on underlaying OS (Oracle 8.4) issues.


upgrade percentage calc

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
fix percentage calculation inside logreader
add some tests
What is the current behavior? (You can also link to an open issue here)
stateless weirdness?
What is the new behavior (if this is a feature change)? If possible add a screenshot.
Calculates percentage based on the Phase and module count taken from emba.log

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Nope

looks quite good. I will do a quick test ...


Extracting the urgent parts of PR #333

... but this doesn't appear to be enough

@larubbio I just grabbed the table name change part of PR #333 but the UserControllerBundleITs still fail. What else are we missing?

What is the failure?
On Tue, Jun 9, 2015 at 9:14 PM, Lauren Lavoie<EMAIL_ADDRESS>wrote:

@larubbio https://github.com/larubbio I just grabbed the table name
change part of PR #333
https://github.com/motech-implementations/mim/pull/333 but the
UserControllerBundleITs still fail. What else are we missing?
—
Reply to this email directly or view it on GitHub
https://github.com/motech-implementations/mim/pull/360#issuecomment-110583501
.

Tests run: 234, Failures: 4, Errors: 0, Skipped: 6, Time elapsed: 181.537 sec <<< FAILURE! - in org.motechproject.nms.testing.it.IntegrationTests
testKilkariUserRequestNoLanguage(org.motechproject.nms.testing.it.api.UserControllerBundleIT)  Time elapsed: 0.336 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<...uageLocationCodes":[["50"]],"subscriptionPackL...> but was:<...uageLocationCodes":[[]],"subscriptionPackL...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.motechproject.nms.testing.it.api.UserControllerBundleIT.testKilkariUserRequestNoLanguage(UserControllerBundleIT.java:778)
testKilkariNonexistentUserRequest(org.motechproject.nms.testing.it.api.UserControllerBundleIT)  Time elapsed: 0.181 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<...uageLocationCodes":[["50"]],"subscriptionPackL...> but was:<...uageLocationCodes":[[]],"subscriptionPackL...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.motechproject.nms.testing.it.api.UserControllerBundleIT.testKilkariNonexistentUserRequest(UserControllerBundleIT.java:802)
testGetUserDetailsUnknownUser(org.motechproject.nms.testing.it.api.UserControllerBundleIT)  Time elapsed: 0.149 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<...uageLocationCodes":[["99","88"]],"currentUsageInPul...> but was:<...uageLocationCodes":[[]],"currentUsageInPul...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.motechproject.nms.testing.it.api.UserControllerBundleIT.testGetUserDetailsUnknownUser(UserControllerBundleIT.java:1028)
testFlwUserRequestWithoutServiceUsage(org.motechproject.nms.testing.it.api.UserControllerBundleIT)  Time elapsed: 0.212 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<...uageLocationCodes":[["99"]],"currentUsageInPul...> but was:<...uageLocationCodes":[[]],"currentUsageInPul...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.motechproject.nms.testing.it.api.UserControllerBundleIT.testFlwUserRequestWithoutServiceUsage(UserControllerBundleIT.java:830)

We're making progress on #333 so this won't be needed.


Wrong handling of typeaheadjs options

At line 353 of the script typeaheadjs is checked for being or not an array. Using a JS object as it follows
$('input').tagsinput({
  typeaheadjs: {
    name: 'citynames',
    displayKey: 'name',
    valueKey: 'name',
    source: citynames.ttAdapter()
  }
});

(taken from tagsinput sample page)
will end up in a misuse of the typeaheadjs options. In fact, is easy to verify, the typeaheadjs object is not an array.
A workaround is to use tagsinput as follows:
$('input[type="text"].tags').tagsinput({
                    typeaheadjs: [
                        {
                            name: 'tags',
                            highlight: true,
                            menu: $('.mymenu')
                        }, {
                            source: tags,
                        }
                    ],
                    delimiter: ';'
                });

@federinik There's a lot of work that needs to go into the typeahead implementation. I'm starting to think that a mini overhaul is needed


Font Formatting for Addresses

Had let this slip into my address validation branch so I reverted the change in this branch.
This is with all upper case Poppins with tabular:

Regular casing:

Roboto Mono:

Honestly, can't even tell a major shift if we change fonts to a nicely monospaced one and it would clean up the dashboard by a significant amount. Going to simmer here but I am considering that we should just update the brand font so that we can remain consistent.
Then, if we ever add on-chain art it can still look good and nice and fit the brand while we only have to upload one font variant which would be ideal.

@nftchance I don't dislike the second one. Not sure what font that one is but I tried fira code that's in the XD on all elements and it definitely changes the entire vibe of the site, but I kinda like it. I defer to whatever font you want to go with but monospace looks like it would work for me.
Fira code:

Fira is HEAVILY licensed. Will have to find an alt but I'll go searching 🤝
I'd like to make all text on the dashboard smaller anyways so this is perfect.
I will take over this PR from here.

@masonchain Please pull this down and tell me what you think. Closest to Fira that I could find that has flexible licensing.


Improve Percent OK network QoS calculation

Expected Behavior
Percent OK should be calculated excluding pending pings such that the percent only goes down if a ping has actually failed.
Actual Behavior
Percent OK drops briefly while a ping is pending, and then goes back up when the pong is received. This results in a metric that looks troubling upon first glance when there actually isn't anything to worry about.

We will begin work on this feature on Monday.


[Feature Request]    single logut function with logout_hint

MSAL client type
Public, Confidential, Managed identity
Problem Statement
request to have a public class to sign out user.  like a PublicClientApplication.SignOut() method to perform the following tasks:

Remove cached tokens in MSAL
Send a OIDC sign-out request to the Entra ID logout endpoint
Remove all locally cached cookies, local storage entries

It might make sense to have two overloads:

PublicClientApplication.SignOut(logout_hint) to do this for a given cached IUser
PublicClientApplication.SignOut() to do it for all

Proposed solution
No response
Alternatives
No response

MSAL already has a removeAccount() method that can already sign out a given account locally by removing its tokens.
The "send an OIDC-logout request" part shall better be handled inside a web app because it would likely need interaction inside browser.

Closing due to inactivity. If you still are having issues or have any related questions, feel free to re-open or start a new thread.


Non-interpolated multiline string literals?

Crystal doesn't seem to support any form of non-interpolated string literal. In Ruby, one could do this:
puts %q{ \033]0 #{hello} }

And get as output: \033]0 #{hello}
But in Crystal there seems to be no support for this. Interpolation appears to be mandatory...?

Use double quotes, or %Q{ }:
puts %Q{ \033]0 #{hello} }

@greyblake NON-interpolated string literals.

sorry, my bad.
As far as I see there is no such ability.
To achieve the same output, you can use back slash:
puts "\\033]0 \#{hello}"

Well I kinda need this ability. Backslashes won't cut it. I want to embed a whole page of text from a file into my code (initially I wrote it directly in, but now I use content = {{ `cat #{__DIR__}/file`.stringify }}.
Having to manually escape every instance of a backslash is a pain in the backside; and doing a gsub(/\\/, "\\\\") on the input is a bit hackish and may have unintended side-effects. Ruby has the option for a non-interpolated string, so why not Crystal?
Surely implementing %q{ ... } wouldn't be too difficult?

Granted, non interpolated strings could be nice. Yet, I don't think the priority will be high on this feature request (but we're accepting pull requests).
I'm wondering if this is affecting ECR templates too, in which case the feature request could be escalated into a bug.

There are no non-interpolated strings, but you can always use \ to escape characters. The macro method stringify adds those escapes automatically, and ECR does that too.
Other than for these cases (which are already covered), is there any reason we'd want non-interpolated strings? It's something more that users would have to learn.

Well, if I paste several lines of text into the program - for being written to a file later, for instance - I then have to go escape everything by hand.
If we avoid implementing useful features - ones that Ruby already has, in this case! - because "people will need to learn things", we'll never get anywhere. Ruby programmers won't have to learn it; and people new to the language should expect to learn things.

Ruby has single quotes strings. Can you paste a string just like that into it? No, you still need to escape those single quotes. In short, you always need to escape at least one char.
For what you want you can use a heredoc. You only need to escape #, so just one char needs to be escaped, similar to how you need to escape ' in Ruby.

......what? # needs to be escaped in a heredoc!? That sounds truly awful.
Besides, heredocs are nerfed in Crystal compared to Ruby, and I gather you have no plans to improve them.

FWIW, in Ruby you can choose whatever delimeter you wish, using the %q syntax.
irb(main):003:0> %q_this is a test string_
=> "this is a test string"
You can even use space or newlines as delimiter x_x

I knew I could pick any character, but didn't know about whitespace characters. That's a bit...odd.

@mperham has a good point in favor of this, and it's embedding ascii-art inside a string
I had several ideas for this, but maybe the best thing would be to just copy Ruby here. So:
# interpolations and escapes
%(...)
%{...}
%[...]
%<...>

# no interpolations, no escapes
%q(...)
%q{...}
%q[...]
%q<...>

# heredoc with interpolations and escapes
<<-FOO
FOO

# heredoc without interpolations nor escapes
<<-'FOO'
FOO

I actually learned the last syntax today, here.
I never understood why the letter q, maybe it's arbitrary. But I guess any other option would also be arbitrary (I initially thought about using a backslash somewhere for this, but here there's no point in diverging from Ruby).
A final question is whether to also support %Q(...), it's redundant with %(...).

I need a string form that does not do escaping. I have a blob of ascii art with backslashes in it, escaping them would ruin the art. Any means of delimiting is fine with me. I use %q[ ] in Ruby.

q is for "quoted" like "quoted string literal", %Q is line ", %q is like '.
Ruby uses <<-'FOO' again for the similarity to ', so <<-FOO is like " and <<-'FOO' is like '.
Since " and ' are different in Crystal, I'm not sure it translates as well.

@jhass The original option I had in mind is:
%\(...)

<<\-FOO
FOO

# and maybe even
\"..."

That is, to use the backslash in all cases to mean "backslashes don't escape" (and there's no interpolation either). But maybe it doesn't look good/nice?

Just brainstorming here too, random ideas as they're coming to my mind
%u(no \ escapes or #{interpolation}) # u as in "uninterpreted" or "unicode" (opposed to "crystal string")
%d(no \ escapes or #{interpolation}) # d for data, as in the data section
%c(no \ escapes or #{interpolation}) # c for constant value
%p(no \ escapes or #{interpolation}) # p for preserved, preserve special
%k(no \ escapes or #{interpolation}) # k for keep special
%l(no \ escapes or #{interpolation}) # l for literal, literally
%rm(no #{interpolation}) # Regex variant of the above, m is the modifer as chosen from the above (or something else)
<<mFOO
no \ escapes or #{interpolation}
FOO
<<<FOO
no \ escapes or #{interpolation}
FOO

That's why I think that instead of thinking of many possible ways to solve this, and choosing one that in the end will be arbitrary and not very easy to understand unless you read the docs (because q, u, d and \ might have their meaning, but it's hard to guess from one letter), maybe it's better to just copy Ruby with %q{...} and <<-'FOO', even if 'FOO' isn't a string literal in Crystal. At least if you come from Ruby you'll understand the meaning.
I don't think that kind of heredoc is going to be used a lot, so having a not-so-intuitive syntax for it probably doesn't hurt.

Fair point.

Another possibility is to use <<-"FOO", that is, with double quotes, but that seems arbitrary too and it doesn't explain why that turns escaping off, so I'd rather stick with <<-'FOO' :-)

I don't think that kind of heredoc is going to be used a lot, so having a not-so-intuitive syntax for it probably doesn't hurt.

Just wanted to add that I personally use non-interpolated here docs in Ruby when writing complex SQL queries, where I don't want to interpolate user values, neither escape quotes (which is all valid SQL), while also maintaining readability by breaking it into multiple lines.

This is now present in the just released 0.17.4: https://groups.google.com/forum/?fromgroups#!topic/crystal-lang/VAs1MzB7n68


Package path ./generated is not exported from package

I'm using the docs from shadcn/ui and I updated all contentlayer to contentlayer2 and now im getting the error:
Package path ./generated is not exported from package

Sorry about that - nextra modifies the internals of next.js so it is hard to check for compatibility. Ideally some one on the team looks into this as contentlayer2 works with the latest version of next.js.


Add an UI

I'm thinking on adding a simple UI. Maybe some Vue frontend and a web server to perform the updates.
Or maybe something more like k9s
Not sure if this should be splitted to a separate binary and keep it separate from core functionality.

I can help with the frontend: Vue, TailwindCSS.

Yeah, an ui similar to 'vue ui' would be great 👍


Error in libcrypto.so.1.1 while building openssl1.1.1b

Currently in our project we are using openssl-1.0.2k version,planning to upgrade the same to openssl-1.1.1b version.
Downloaded openssl-1.1.1b.tar.gz
tar -xzvf openssl-1.1.1b.tar.gz
Before applying patch we copied the Makefile,Makefile.bak,makefile.org and makefile.shared from openssl-1.0.2k to openssl-1.1.1b/ and changed the version in makefile from 1.0.2k to 1.1.1b
tar -zcvf openssl-1.1.1b.tar.gz openssl-1.1.1b
we applied 1.0.2k patch on 1.1.1b and created patch,
Once I started build getting below error,not sure whether need to copy those makefiles or not,please guild me or suggest me where I am wrong
*** Installing runtime libraries
install libcrypto.so.1.1 -> /usr/lib/libcrypto.so.1.1
cp: cannot create regular file `/usr/lib/libcrypto.so.1.1.new': Permission denied
make: *** [install_runtime_libs] Error 1
echo "No Post Install Command" ;if [[ $? -ne 0 ]]; then exit 1;fi
No Post Install Command
bash-4.1$ uname -a
Linux in05vubld023.in.alcatel-lucent.com 2.6.32-573.el6.x86_64 #1 SMP Wed Jul 1 18:23:37 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux
bash-4.1$ which openssl
/usr/bin/openssl
please let me know if you need more info.

With OpenSSL 1.1.0, the configuration and build system changed substantially.  Build files such as Makefile from pre-1.1.0 will simply not work at all.
What you need to do is configure the new OpenSSL anew.  If you want to remember what configuration options you used with 1.0.2k, do this:
grep ^CONFIGURE_ARGS= Makefile

and then run ./config with the args that seem suitable (at the very least, skip the first).  In a 1.0.2 build I have, here's what it looks like:
: ; grep ^CONFIGURE_ARGS= Makefile
CONFIGURE_ARGS=linux-x86_64 --debug --strict-warnings -Wa,--noexecstack

I could then do this to reproduce the same options in 1.1.1b:
./config --debug --strict-warnings -Wa,--noexecstack

What that's done, run make as usual.


Errors Building on Arch

I've been trying to compile Etterna from source for 3 days now, and after getting all the openssl errors out of the way, I get this one:
CMake Error at /home/fyre/git/etterna/build/CMakeFiles/CMakeTmp/CMakeLists.txt:16 (add_executable):
  Target "cmTC_a9970" links to target "OpenSSL::SSL" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?

CMake Error at /home/fyre/git/etterna/build/CMakeFiles/CMakeTmp/CMakeLists.txt:16 (add_executable):
  Target "cmTC_a9970" links to target "OpenSSL::Crypto" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?

CMake Error at /usr/share/cmake-3.21/Modules/CheckLibraryExists.cmake:72 (try_compile):
  Failed to generate test project build system.
Call Stack (most recent call first):
  extern/curl/CMake/Macros.cmake:9 (check_library_exists)
  extern/curl/CMakeLists.txt:542 (check_library_exists_concat)

The output of Neofetch is the Following:
OS: Manjaro Linux x86_64
Host: MS-7C02 1.0
Kernel: 5.10.52-1-MANJARO
Uptime: 4 hours, 25 mins
Packages: 1065 (pacman)
Shell: bash 5.1.8
Resolution: 2560x1440
WM: dwm
Terminal: st
Terminal Font: Hack
CPU: AMD Ryzen 5 3600 (12) @ 3.600GHz
GPU: NVIDIA GeForce GTX 1060 6GB
Memory: 3927MiB / 32118MiB

Is there anything I'm missing? I've tried compiling with ninja and unix makefiles, but I still get this exact error.

There is an actively maintained AUR that works -- see https://aur.archlinux.org/packages/etterna/
If you want to do it yourself, I think sed -i CMakeLists.txt -e 's/\(set(OPENSSL_USE_STATIC_LIBS\) ON/\1 OFF/' (taken from that AUR) should fix that error.

If you want to do it yourself, I think sed -i CMakeLists.txt -e 's/\(set(OPENSSL_USE_STATIC_LIBS\) ON/\1 OFF/' (taken from that AUR) should fix that error.

I tried to use that command, and i didn't reduce the number of errors at all, and for some reason that aur package doesn't have sound, but that might be an issue with JACK or pulseaudio

After installing the aur package and adding /usr/share/applications to PATH, and also setting execute perms on etterna.desktop for some reason, I realize that this issue was entirely user error


Updated Portal mock for offers

Updated the preview block of offer creation screen to match the new style of Portal.

Codecov Report

Merging #2319 (16f65d6) into main (ce35dc0) will decrease coverage by 0.00%.
The diff coverage is 19.04%.

@@            Coverage Diff             @@
##             main    #2319      +/-   ##
==========================================
- Coverage   40.50%   40.49%   -0.01%
==========================================
  Files         596      596
  Lines       23476    23489      +13
  Branches     4148     4150       +2
==========================================
+ Hits         9508     9513       +5
- Misses      13968    13976       +8

Impacted Files
Coverage Δ

app/components/modal-product.js
52.31% <19.04%> (-0.59%)
:arrow_down:

app/components/gh-image-uploader.js
94.00% <0.00%> (-0.67%)
:arrow_down:

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 ce35dc0...16f65d6. Read the comment docs.


Can i using deepstream-app this model?

Can i using deepstream-app this model?

please provide configuration file for the engine file model. i perpare one config file for deepstream integration
[property]
gpu-id=0
model-engine-file=/home/magnificent/projects/loki/yolox-detector/activity_detection/nanoowl_utils/data/owl_image_encoder_patch32.engine
process-mode=2
network-mode=2
net-scale-factor=0.0146
offsets=122.77;116.75;104.094
secondary-reinfer-interval=0
gie-unique-id=2
output-blob-names=LayerNorm
output-tensor-meta=1
network-type=1
operate-on-gie-id=1
operate-on-class-ids=2
at least share the output-blob-names for OwlViTVisionTransformer

What's new?
Have you managed to get nanoOWL working in Deepstream?


Ability to generate .d.ts types file

I wonder how to use estrella correctly to generate a types file. I've set up a very simple example to show the issue:
https://github.com/holtwick/estrella-ts-module
I would like to add the working result to https://github.com/holtwick/create-estrella

Interesting idea! It would be nice if this was an Estrella build option, like build({ typedefOutput: "dist/foo.d.ts" })
In the meantime I think you could accomplish this by using the typescript API
Something like this:
#!/usr/bin/env node
const { build } = require("estrella")
const pkg = require("./package.json")
const ts = require("typescript")

function generateTypeDefs() {
  const filenames = [ ... ]
  const compilerOptions = { optionsFromTSConfigFile..., declaration: true }
  const program = ts.createProgram(filenames, compilerOptions)
  const emitResult = program.emit()
  // check emitResult.diagnostics and .emittedFiles
}

build({
  bundle: true,
  sourcemap: true,
  format: "esm",
  entry: "src/index.ts",
  outfile: pkg.module,
  onStart: generateTypeDefs,
})

The best-performing way (probably) to do this would be for tsc to do it while type-checking. I hacked this together by modifying estrella locally; it was a little messy with the current design but it did work.

Thanks a lot for the example @rsms ❤
I guess I will wait for an implementation in Estrella then. For now, it seems to be more straight forward to use tsc for dist building directly for such use cases.

Nice @lann! If you'd like to take on adding this "for real" in a PR (preferably with test; I can help you in the PR with this) that would be ace.

Sure, I'd be happy to not carry the patch myself. Is the approach alright? Another possibility would be to add a noEmit option that defaults true.

23dcb8734836f877e6186869a780e6b18c311c12 adds an example of how to generate type declaration files.
Try it from source with:
git clone https://github.com/rsms/estrella.git
cd estrella
./test/test.sh examples/typedef-generation

Would be great if this was just an option to estrella!


Validation issue with +38007334544 (UA)

Country/region affected (e.g., "US"): UA
Ukraine
Example number(s) affected ("+1<PHONE_NUMBER>"): +38007334544
The phone number range(s) to which the issue applies ("+1 555 555-XXXX"):
+380 073 XXXXX
+380 093 XXXXX
+380 063 XXXXX
The type of the number(s) ("fixed-line", "mobile", "short code", etc.):
Mobile
Supporting evidence
073 code as well as 063 and 093 is in use by mobile operator Life since 2014.
Sorry no proof in english, but here is in russian: http://numbers.in.ua/articles.php?article_id=116
link to demo

@Dmatafonov,
Thank you for taking the time to improve libphonenumber!
We are not able to connect to +38007334544 or +3807334544 (without additional 0). All mobile ranges in Ukarine are 9 digits in length. We already support 9 digit 73, 063 and 093 Life's mobile ranges based on below ITU doc.
https://www.itu.int/dms_pub/itu-t/oth/02/02/T02020000DB0005PDFE.pdf
See our demo results: https://libphonenumber.appspot.com/phonenumberparser?number=%2B380733454412
Closing this as working as intended; if you would like to reopen, please share
any working numbers or evidence you may have. See our guidelines.