Devspace failing to find entrypoint sh file when running "devspace dev"

What happened?
I have a configuration running several applications, some dbs, ect... inside Kubernetes. This is deployed with Rancher / Helm and we are using devspace to do local file sync / development work with those container images.
devspace dev throws the following error on their machines only, it works on my machine:

sh: 1: /usr/local/apache2/devspace_start.sh: not found

Devspace is able to fully complete creating the SSH session with the container, start the ssh server on the container, start and complete file sync, and then fails to find this file.
Console output from running devspace dev:
info Using kube context 'rancher-desktop'
deploy:app Deploying chart ../my-chart/ (my-chart) with helm...
deploy:app Deployed helm chart (Release revision: 1)
deploy:app Successfully deployed app with helm
Execute hook 'run-make-api' at after:deploy
Waiting for running containers for hook 'run-make-api'
Execute hook 'run-make-api' in container 'default/api-container-56c75c7d86-kjg6r/api-container'
dev:app Waiting for pod to become ready...
dev:app Selected pod api-container-devspace-75d5698c76-cv88q
dev:app ports Port forwarding started on: 33285 -> 80
dev:app sync  Sync started on: ./ <-> ./
dev:app sync  Waiting for initial sync to complete
dev:app sync  Initial sync completed
dev:app proxy Port forwarding started on: 10444 <- 10567
dev:app ssh   Port forwarding started on: 11789 -> 8022
dev:app ssh   Use 'ssh app.api-container.devspace' to connect via SSH
dev:app term  Opening shell to api-container:api-container-devspace-75d5698c76-cv88q (pod:container)
sh: 1: ./devspace_start.sh: not found

What did you expect to happen instead?
The path in question that I've specified in devspace.yaml (seen below) changes per project but I've verified they are all correct by connecting via kubectl exec -- /bin/bash into the same container image and verifying the file is there and permissions look correct. I have also tried this with relative paths ./devspace_start.sh but the issue persisted on their machines despite both ways working for me.
    terminal:
      command: /usr/local/apache2/devspace_start.sh

ls -la inside the container directory in question shows:
root@api-container-74895f9fff-f8z5l:/usr/local/apache2# ls -la
total 60
drwxr-xr-x 1 www-data www-data 4096 May 30 17:18 .
drwxr-xr-x 1 root     root     4096 May 14 02:55 ..
...
-rwxr-xr-x 1 root     root     1741 May 30 17:16 devspace_start.sh

The file is definitely on the container...
I've had them check with other projects (with other paths i've verified) and they have the same issue. I've also checked the logs inside the .devspace folder in the local directory but only have errors related to networks being closed. Additionally, I did plenty of debugging related to the building of the docker image itself, including fully clearing the build cache and recreating it on their machines locally, but the issue persisted.
I'm pretty new to devspace and it seems great so far aside from this one major issue, so any help would be appreciated...
How can we reproduce the bug? (as minimally and precisely as possible)
I cannot reproduce the issue locally on my machine unfortunately.
My devspace.yaml:
version: v2beta1
name: api-container
vars:
  IMAGE: api-container
pipelines:
  dev:
    run: |-
      run_dependencies --all       # 1. Deploy any projects this project needs (see "dependencies")
      ensure_pull_secrets --all    # 2. Ensure pull secrets
      create_deployments --all     # 3. Deploy Helm charts and manifests specfied as "deployments"
      start_dev app                # 4. Start dev mode "app" (see "dev" section)
  deploy:
    run: |-
      run_dependencies --all                            # 1. Deploy any projects this project needs (see "dependencies")
      ensure_pull_secrets --all                         # 2. Ensure pull secrets
      build_images --all -t $(git describe --always)    # 3. Build, tag (git commit hash) and push all images (see "images")
      create_deployments --all                          # 4. Deploy Helm charts and manifests specfied as "deployments"
dev:
  app:
    imageSelector: ${IMAGE}
    devImage: "api-container:0.1"
    sync:
    - path: dist:/usr/local/apache2/htdocs/
      uploadExcludePaths:
      - ./node_modules/
      - ./bower_components/
      - ./.devspace/
      downloadExcludePaths:
      - ./
    terminal:
      command: /usr/local/apache2/devspace_start.sh
    ssh:
      enabled: true
    proxyCommands:
      - command: devspace
      - command: kubectl
      - command: helm
      - gitCredentials: true
    ports:
      - port: 80

Local Environment:

DevSpace Version: 6.3.12
Operating System: windows
ARCH of the OS: ARM64
Kubernetes Cluster:
Cloud Provider: N/A local, helm / rancher
Kubernetes Version: 1.29.3

Anything else we need to know?

@kayaclick
Hello! Is the devspace_start.sh included in the container build? Or should it be synced with your dev.sync configuration? I ask because the sync configuration doesn't seem like it would include the file at the path /usr/local/apache2/devspace_start.sh
    sync:
    - path: dist:/usr/local/apache2/htdocs/

Another thing to try, is after running kubectl exec -- /bin/bash and ls -la shows that the file exists, try executing it. Sometimes there's a shebang (#!/bin/zsh) or similar declaration that doesn't exist in a particular environment, and the error makes it appear as if it can't find the script, when it's really the shebang that's missing.


$geolocation.position.coords????

Hi
I'm trying to use the example code
$geolocation.watchPosition({
timeout: 6000,
maximumAge: 250,
enableHighAccuracy: true
});
$scope.myPosition = $geolocation.position;
console.log($scope.myPosition.coords);
But the $scope.myPosition have not the coords property.
Any idea?
Regards

I found that I had to call $geolocation.getCurrentPosition(), even if I don't store use result, before the object position would be initialized. That seems to be a bug.

It's not a "bug", per se.
watchPosition() being an asynchronous operation, you can't access the $geolocation.position object right after calling the method (because it's result hasn't been returned yet).
It would have been nice to have some sort of callback or event fired when watchPosition() first get the position, though...


Swift 4.2 and Xcode 10

Can you please update this library for swift 4.2 and Xcode 10.1?

It's now working with the latest Xcode, all warning are cleared. Are there problems with Swift? The project is written in Objective-C and shouldn't be affected by Swift versions.


PoC of sharing things in OG-friendly manner

@humphd this is exactly what you didn't want me to do. But it seems so easy to do it this way. cc #416

Here is how OG works now: https://dnschecker.org/open-graph-preview-generate-metatags.php?query=https%3A%2F%2Ftaras-share-as-html.console-overthinker-dev.pages.dev%2Fapi%2Fshare%2Fchatcraft_dev%2FS8tXLltkik3ppuDViASda

It might be cleaner to do this in https://github.com/tarasglek/chatcraft.org/blob/taras/share-as-html/functions/api/share/[[user_id]].ts#L102

@humphd No idea why router refuses to accept https://taras-share-as-html.console-overthinker-dev.pages.dev/api/share/chatcraft_dev/S8tXLltkik3ppuDViASda and throws an error even after i added the route

I suck at UI dev
https://taras-share-as-html.console-overthinker-dev.pages.dev/c/chatcraft_dev/S8tXLltkik3ppuDViASda works but
https://taras-share-as-html.console-overthinker-dev.pages.dev/api/share/chatcraft_dev/S8tXLltkik3ppuDViASda
does not

Made api links work :)
https://taras-share-as-html.console-overthinker-dev.pages.dev/api/share/chatcraft_dev/XzeLoL2nS7lFsnU5FfqYZ

@humphd  I have a problem that I don't understand
curl -I https://taras-share-as-html.console-overthinker-dev.pages.dev/api/share/chatcraft_dev/zzgB6O8oGjhrJz-JIur_I -X GET
HTTP/2 200
date: Wed, 07 Feb 2024 12:53:49 GMT
content-length: 9043
etag: "eec13ec91f6a31028f645b27c24b0098"
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=UZc1fhWiehDW3f%2Br2wi1IPCrbhjFTVH3kJfF3xouuZxsUs%2FKN3YkzVkt9W4rNoCMJ0B8I8CtPE%2BGM7VA%2BBHFFYf16gfpdV8etU5hBUmuxD7TvqVl6ITAs%2BHfHZwu9LUXI4j15gzPY0S5s87sXN5PYSJmPc%2FCmXwr1VBLGFYg%2FoIEPR8vtjLH1w%3D%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 851bc728cbbf2794-PRG
alt-svc: h3=":443"; ma=86400

 taras  ~  $  curl -I https://taras-share-as-html.console-overthinker-dev.pages.dev/api/share/chatcraft_dev/zzgB6O8oGjhrJz-JIur_I -X HEAD
HTTP/2 200
date: Wed, 07 Feb 2024 12:53:56 GMT
content-type: text/html; charset=utf-8
access-control-allow-origin: *
cache-control: public, max-age=0, must-revalidate
etag: "f1534adfee9f6a2026b32e667cba610c"
referrer-policy: strict-origin-when-cross-origin
x-content-type-options: nosniff
x-robots-tag: noindex
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=22ojo9caj%2FMCWwcssw5hcIeGOw9jtReOqXiOXln9Rwn2ZZc9UXmQdLouDG7fqD4%2Ft87Qbk1rivwIK3%2FyXS44BqMwI%2FJhEk6P1zrwyg4Y1SEFFwD2n1Thjn0HKQsvw1%2FU0aOrgynMgmEmT0cBVEJUiHBOajKbAUADDf%2Fm2xVQeFroFFeN4FkbIA%3D%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 851bc7505db0b33c-PRG
alt-svc: h3=":443"; ma=86400

for some reason when we do get content-type isn't being set correctly

Seems to work. https://taras-share-as-html.console-overthinker-dev.pages.dev/api/share/chatcraft_dev/vMCGDDepM1PZjLA0JnmVu has OG

So now we output final reply to chat as OG text. We also don't consider it while producing summary.

This matches 90% of my usecases

And we avoid SSR, cos I hate SSR

As a followup, maybe someone can render an mp4 of the whole chat convo as an example of stuff one can't do in SSR :)

I chose to not rename .summary to .title in ChatCraftMessage as I didn't want to confuse the code that persists stuff


Moving assets from one folder to another does not work

When I try to move an asset from one folder to another I get an error. Console logs identifies the problem and it looks like it searches for an actual metafile for the assets.

Support details:
Statamic 3.3.43 Pro
Laravel 8.83.23
PHP 8.0.23
r8edge/imagemap dev-main
r8edge/welcome-widget dev-main
statamic/eloquent-driver 1.0.1

Duplicate of: https://github.com/statamic/eloquent-driver/issues/70
Should be fixed by: https://github.com/statamic/eloquent-driver/pull/71

I did try to patch in PR #71 without any luck, but maybe it was a bit early 🤔

Yeah I can see that now... try this

@ryanmitchell  i tested the code you provided.

it throws an exception (i mentioned it in the code)
i switched it to metaoldPath and the problem still exsits. I can still reproduce it.

@leganz I've updated the variable. Can't see any reason for it not to be working at this point, but if you want to give me a full error trace and/or access to a sample repository I can certainly look into it further.

I debugged the problem here... its kind of weirrd cause if you move/rename the asset => the writeMeta method will be called 3 times. The first time it has the meta information but the second and last time its gone

I suggested a change in #71 => that will probably resolve the issue

Fixed by https://github.com/statamic/eloquent-driver/pull/71


No focusable elements on safari

When the header is rendered in safari, none of the focusable elements can be focused using keyboard navigation.

Step 1 for a fix: enable tab navigation in Safari (user setting not enabled by default) https://stackoverflow.com/a/52902953
After enabling this, elements become focusable, but focus styles are inconsistent and not entirely visible on every element:

not visible on the login button
not visible on the last breadcrumb item
correct on the help & contact buttons


Published documentation does not match latest release

Short story: https://quarkiverse.github.io/quarkiverse-docs/quarkus-cxf/dev/client.html already mentions @CXFClient which is not in 0.7.
Details are here: https://quarkusio.zulipchat.com/#narrow/stream/187030-users/topic/Cannot.20Import.20.40CXFClient

OK so we need a branch stable which contains only last release or a branch develop and master stick to last release. But current build is based on master so easier to do a stable branch and add push to it on release process then update quarkiverse config file

I think we should be able to specify multiple wildcard branches as per:
https://docs.antora.org/antora/2.3/playbook/content-branches/#glob-pattern
The branch names can be listed here, so we'll need to submit a PR:
https://github.com/quarkiverse/quarkiverse-docs/blob/main/antora-playbook.yml
Maybe just create a branch named 'v*' for each of our releases, and Antora should generate docs for each version.

On Zulip tags were mentioned so maybe you don't even need separate branches? I did not yet have a closer look.

@dufoli I just created https://github.com/quarkiverse/quarkus-cxf/tree/v0.7 branch from the 0.7 release commit, so should reflect in the docs once PR above is merged.

On Zulip tags were mentioned so maybe you don't even need separate branches? I did not yet have a closer look.

@famod Tags are also an excellent option; that way we're not maintaining unnecessary branches ... only drawback I see with tags is that you can't update docs for the tag post release - we have some breaking non-backward compatible changes coming up for the next release, so I think a branch may be preferred in this scenario, in case the docs need to be improved.  In any case, @dufoli if you have a preference for tags, we can go that way too, just let me know.

branch is better because we can add backport and backport some docs too.


CORE-12165: key-rotation messages and config

👮🏻👮🏻👮🏻 !!!!  DO NOT FORGET !!!! 👮🏻👮🏻👮🏻
PR Checklist:

[ ] Have you run the unit, integration and smoke tests as described here?
[ ] If you added public APIs, did you write the JavaDocs?
[ ] If the changes are of interest to application developers, have you added them to the changelog (/docs/source/changelog.rst), and potentially the release notes (/docs/source/release-notes.rst)?
[ ] If you are contributing for the first time, please read the contributor agreement now and add a comment to this pull request stating that your PR is in accordance with the Developer's Certificate of Origin.

Thanks for your code, it's appreciated! :)

Do we need this change into 5.1 branch? I also see that Jira https://r3-cev.atlassian.net/browse/CORE-12165 is scheduled for C5.2.

duplicate


All blob's metadata keys are displayed and saved in lowercase.

Storage Explorer Version: 1.16
Build Number: 20201109.5
Platform/OS: Windows 10
Architecture: x64
Regression From:  I'm not sure, but it was working fine recently
Bug Description
All blob's metadata keys are displayed and saved in lowercase.
Steps to Reproduce

Create a blob with metadata which contains entry with uppercase characters. I was using C# SDK or azure portal.
Find that blob in the explorer.
Open properties for that blob.
Observe: metadata keys are in lowercase. However, in the azure portal they are displayed correctly.

Expected Experience
Metadata properties are displayed and saved as they are.
Actual Experience
Metadata properties are displayed and saved in lowercase.

@koljada there is no guarantee that the casing of metadata will be preserved. Blob metadata are simply HTTP headers so you should treat them case insensitively.
See here: https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-properties-metadata?tabs=dotnet#set-and-retrieve-metadata

@MRayermannMSFT you're (probably) technically correct, but Storage Explorer differs from the Azure Portal experience when viewing blob metadata (as the OP stated).
The relevant part from the doc you cited is:

Metadata names maintain the case used when they were created
and we're just asking that Storage Explorer preserves the casing too.

Would you reconsider?

Let's re-evaluate in our next triage.

@pharring you leave off an important part of the sentence from your quote:

but are case-insensitive when set or read

And above that it says:

should be treated as case-insensitive.

From what we understand, when you are reading your metadata, you shouldn't be expecting a specific casing.
We just tested the behavior though and we are seeing what you are seeing. We'll ask the JS SDK team if they can be consistent with the other tools/languages.

I'm still going to open the SDK issue, but do not get your hopes up. Based on what I have found this is not likely to be fixed. But I'll keep my fingers crossed just in-case.

Just kidding, I'm not going to create a new V12 SDK issue. It seems they've had two issues which have gone over this already. If someone feels strongly about this issue though, then feel free to go create a new issue in that repo.
Existing issues:

https://github.com/Azure/azure-sdk-for-js/issues/8117
https://github.com/Azure/azure-sdk-for-js/issues/4966

Thanks for reconsidering. I made the comment here that Storage Explorer users don't care about deficiencies in the Azure SDK for JS -- nor should they.
bugsinspace

@MRayermannMSFT while we cannot fix this in our core library when our underlying Http stack only returns header keys in lower case, I believe I found a workaround using a custom Http Client.  Could you take a look to see if it's usable in your case? https://github.com/Azure/azure-sdk-for-js/issues/8117#issuecomment-853259040


Search all files (ctrl+shift+f) doesn't find results in files with very long filepaths unless opened in the editor

VS Code Version: 1.53.1 5d424b828ada08e1eb9f95d6cb41120234ef57c7 x64
OS Version: Windows 10 Pro - Build 19041

Steps to Reproduce:

Make a new file with a very long filepath in vs code.
When the file is not open in the editor, use ctrl+shift+f to search for any content in the file. No results appear.
Open the file and search again. Results appear.

Specific steps to reproduce on Windows 10:

Make a number of nested folders in windows explorer until this error appears:

Add more nested folders/files to this directory using VS code.
Make a txt file with a specific string in it and search for this string when the file is not opened in the editor.

The error seems to occur with filepaths exceeding the max filepath length of windows explorer.
Examples:
The bug in action:

Example Path: C:\Users<MY-USERNAME>\Desktop\long-named-foler-to-reproduce-bug-of-eternal-destruction\long-named-child-foler-to-reproduce-bug-of-eternal-destruction\long-named-child-foler-to-reproduce-bug-of-eternal-destruction\another-long-nameanother-long-nameanother-long-nameanother-long-name\deep.txt

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

Duplicate of #116213. Do you know if you have opted into long paths on Windows? https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation#enable-long-paths-in-windows-10-version-1607-and-later
Also do you know if this was working in a prior release?

I've enable long paths on Windows and restarted my computer, and the issue persists.
If I remember correctly I've encountered this issue before, 1+ year ago.
This issue becomes a big problem when one tries to "search and replace" something which has a lot of occurrences in a big project, e.g. changing an svg icon name. The above bug results in only parts of the app being changed, when it's expected that everything should be changed.
It would be nice with at least a warning message when trying to use the search function on a project with long file paths, to prevent dangerous hard to finds bugs.
Even better would be full support for this :)

Thank you @JacksonKearl!

+1
If I use "files to include" (Shift+Alt+F) from "Explorer" panel, it can find a text in file with the full path more than 100 symbols.
If I use global search - it doesn't.
So I use FAR for search if I had difficulties with VSC search. It's still reliable.
Windows 10. VSC 1.63.2

Same issue here. I'm forced to use another IDE just to be sure that VSCODE is returning all the results.

Same issue here

We use ripgrep for searching, if anyone could test if the issue reproduces when running a ripgrep search from the command line (rg ...) that'd help us track this down.
I have downloaded ripgrep-13.0.0-x86_64-pc-windows-msvc
I have run it in the project root folder:
c:\path_to_rg\rg.exe SomePhrase
It have outputted only several results
I have added an inner folder
c:\path_to_rg\rg.exe SomePhrase SomeFolder
It had outputted more results than the first time.

Can it be related with using .gitignore when rg doing the search?

Some issue. Can't resolve it using @BrandonClapp approach, because the project itself has deep file structure.  Those part (with long paths) is developed by another team using Mac, so they don't have any issues.  So, when I need to find something across the whole project, I forced to switch to Atom.

+1
same issue for the long path search and replace.
already enable for windows long path setting and git long path setting
vscode 1.69.1 + windows 10

Same issue, long paths already enabled.
Started not working all of a sudden for me on a project today, tried even to delete vscode files on the project
OS: Windows 11
Visual studio code: 1.69.2

+1
Setup:
Visual Studio Code version 1.70.1
Windows 21H2 Build 19044.1889
LongPathsEnabled=1
Steps:

Shift+Ctrl+F
Search: makemigrations
Files to include: C:\test\tst\test\Django\testingtest1\venv1234567\Lib\site-packages\
ENTER
No files found.

Additional information:
Tried with all extensions disabled.
I have LongPathsEnabled=1 (have had this enabled for a long time now)...
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem : LongPathsEnabled : REG_DWORD = 1

Windows findstr.exe works great...

cd C:\test\tst\test\Django\testingtest1\venv1234567\Lib\site-packages<ENTER>
findstr.exe /s /c:makemigrations *.py
All files containing "makemigrations" are found.

Same issue, enabling long paths doesn't fix.
VSCode: 1.73.1
OS: Windows 10

Is there any update?
I love vsCode. But looking for text in files in Atom
Please, help

i have this problem on linux as well.
might be a common core problem?

yes it's a weird issue other ide have normal search

If you have selected this book logo (in files to include field). Please deselect it. Then it will show all files.
Hope this resolves your issue.

Guys, I just stepped into this myself. I'm shocked that apparently I need to use different IDE to trust the search results. Is there any update on this issue after one year of investigations?

If you want you can try the extension I made which can search in files with very long paths https://marketplace.visualstudio.com/items?itemName=carloblasi.vscode-search-long-paths

It only shows when opened file.

I just ran into the same issue. It was working without any issues for years. I do not have long dir names. Search works in local env. It stopped working using SSH. I am not sure but I think the issue occurred after toggle the little book icon. I tried:

updating vscode
uninstall/install ssh plugin
checking settings

Somethings VSC take me a bit confuse. Like as my case when I search in folder path:
_It doesn't work if path has comma (,): ./My_Project/first, now
_It work if path without comma (,): ./My_Project/first now

I am now using version 1.83.1 and it looks like the search is working with files with very long paths 🥳

Unfortunately, the issue persists. For me, it is impossible to work without searching within the project.
I'm using this version:

Version: 1.85.1 (Universal)
Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2
Date: 2023-12-13T09:48:06.308Z
Electron: 25.9.7
ElectronBuildId: 25551756
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 23.0.0

I noticed that sometimes search doesn't work, when updates are pending to VS Code. Installing updates seemed to correlate with search fixing itself. All in all - very troubling problem for VS Code.

Issue still persists for me on Windows

I'm having this issue in Linux:

I open the file, then it works:

Any way to work-around this in Linux?


How can I make Panzoom work for multiple images featured each in a single modal window.

Here is some code  where I'm using multiple modal windows each one featuring a single image. I need Panzoom to work for every single image, so far it works only for the first one. Any suggestions on how I should modify my code?

Thanks for opening an issue. I modified your codepen. Hope this works for you too. https://codepen.io/timmywil/pen/qBqOoRQ

Oh my! Thank you so much for helping me out! I guess I have to do some studying.


Fix possible numbers in base32

The readme stated is is possible to gerenate a 0 and also stated 2 and 7 are not included in the base32 character set... fixed that.

good catch.

good catch.


ARM zhouyi NPU support

hi,how can I use arm zhouyi npu as the backend and with the schedule to take advange of cpu+gpu+npu.

Hi @chayliu1991
There is no way to do that right now. The Zhouyi team would have to produce an ArmNN backend for that to be possible and there is none at the moment.
Best regards,
Mike

Hello @chayliu1991,
I'm closing this due to inactivity. If you still need help with this then please create a new ticket.
Kind Regards, Cathal.


Version 0.0.13

To be sure about the next steps: when this is merged we tag the release on GitHub and run the publish.sh script, right? The build artifacts should be added automatically to the GitHub release, correct?

Please wait before you tag it
publish.sh shows sometimes some unexpected errors (remember uu_stdbuf_libstdbuf ;) )
So, you might have to push some configuration changes in the repo. Tag only when https://crates.io/crates/coreutils is at the right version (it means that the whole process worked)
TBH, I am quite ashamed of this :) (I am almost the only author, so, not blaming anyone else :)

(btw glad we are now using the same version of uucore & others :)

Alright, so publish first, fix any errors and once that's done tag it on GitHub. Can I publish from this branch or do we need to merge it first?

From this branch is fine. In the past, I think I pushed the version change only when live

@sylvestre Ah I need to receive an owner invite on crates.io, first. Could you send me one?

@tertsdiepraam I added you to the github group; I think you should have the right permissions

@sylvestre Almost all packages have been upgraded, except basenc, dd, chcon, csplit, pr & runcon. uutils/maintainers are not set as the owner of these packages. See for instance https://crates.io/crates/uu_basenc.

@tertsdiepraam fixed!


Release 1.5.2

Feat: add className={styles.xxx} automatic completion #1002
Feat: Doctor use AppLint #1001
Fix: compatible with build.json in older style #993

Codecov Report

Merging #1003 (d0c6597) into master (022416c) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1003   +/-   ##
=======================================
  Coverage   76.14%   76.14%
=======================================
  Files          29       29
  Lines        1006     1006
  Branches      206      209    +3
=======================================
  Hits          766      766
  Misses        237      237
  Partials        3        3

Impacted Files
Coverage Δ

packages/generate-material/src/formatProject.ts
100.00% <100.00%> (ø)

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 022416c...d0c6597. Read the comment docs.


better/sooner error messaging when templating eats an exception

Patch:
In certain cases, the templating engine has an error, and then it eats it, returning undefined.
Amphora's mediaMap should recognize that it is not being given what it expected, and say so.

:+1:


Add ICE request stats to Transport

This will allow to detect abrupt disconnections that do not trigger DTLS disconnection by the client

Maybe we can just check STUN keep-alives request  to detect this.

@murillo128  Hi,  I am thinking add this feature by checking stun binding request,  but it seems will have problem then do  server-to-server  transport,  what do you think about this?

I was going to implement it like that yes. The server-to-server is nod doing ice/stun checks (can be changed), so no stats will be delivered.

This or https://github.com/medooze/media-server-node/issues/42 would be very useful to me!

Is this available in the underlying C++ code already and if so how easy is it to wrap it?

Sorry to bump this - where would you suggest I look to implement this?

sorry for long delay.
I have added ice stats to the Tranport object:
https://github.com/medooze/media-server-node/blob/master/lib/Transport.js#L196
I think there may be a problem with ice.responsesReceived, but will check on monday.. :)

No need to be sorry! Tested using Chrome:

Can confirm the responsesReceived is always 0.
Other stats appear accurate - requests/responses seem to start off frequently and then backoff to 1 every 2-3 seconds. quickly after connection


Moving LibUV code over to use the new Lab's Buffers package

@KrzysztofCwalina  This is the only instance in CoreFxLab of someone using the Native Slice Pool

looks good

Thanks!


IP Whitelist

What should we add or change to make your life better?
Add a granular way to whitelist an IP in the config file
Why is this important to you?
It is for security purposes

Related: https://github.com/microsoft/reverse-proxy/discussions/1663

@ErnestMushinge Can you please provide more details about what the whitelist is for?

Is this rejecting a route if the IP address is in the allow/deny list?
Should matching still occur to other routes - for example if a request comes from the internal network then route differently than if it came externally
Does additional processing of the IP address need to be done before routing - for example using a geolocation mapping to determine where the client is before routing occurs?

@samsp-msft I understand this issue is related to 1663 , I was wondering if Yarp has a built-in functionality with respect to the Allow Deny block in the appsettings.json.  Just like the way a Develop is not required to configure a middleware for a route block?
In short, is it possible to specify the list of IP Addresses to reject/accept without configuring a custom middleware?
Thanks much!

There are definitely interest from my end. IP Based Whitelisting even on a route level will be fantastic and solve a lot of my problems around security.

https://docs.microsoft.com/en-us/aspnet/core/security/ip-safelist?view=aspnetcore-6.0

I have just published a YARP middleware that implements IP-address/network filters (block or allow; per-route and global). Right now it only contains features I need for my current project, but I'd love to hear your feedback.
https://github.com/bbelius/YARP.ReverseProxy.IPFilters/
https://www.nuget.org/packages/BBelius.Yarp.ReverseProxy.IPFilters/

@bbelius, thanks for sharing, it looks pretty good.

Note RemoteIpAddress is only null if the transport doesn't support it, like TestServer, it's not a thing clients can choose to hide. You can probably ignore these cases.
Consider a more efficient lookup approach. E.g. use a HashSet and Contains for exact matches. Network lookup might benefit from a custom collection (a bit tree?).

@Tratcher Many thanks for your feedback! I've updated the code and published v1.1.1 just now.
I did some quick benchmarking and the IPAddress lookup takes approx. half the time, while the IPNetwork lookup takes now ~30% less time.


VVS Finance Chronos (Schema Version	1.3.0, Subgraph Version	1.1.5, Methodology Verstion 	1.0.0)

Summary: TVL is off. seems like WCRO pools not reporting what we see on front end leading to a 100M discrepency.

Subgraph Reviewed
https://subgraphs.messari.io/subgraph?endpoint=https://graph.cronoslabs.com/subgraphs/name/messari/vvs-finance&tab=protocol

Date Reviewed
18th Aug 2022

Schema Version
1.3.0

Subgraph Version
1.1.5

Methodology Verstion
1.0.0

Protocol |   |   |
-- | -- | -- | --
Section | Value | Status | Comments
financialsDailySnapshots | totalValueLockedUSD | NOT OK | General shape of graph seems good, but the numbers do not match up. Appears WCRO pools are either not reporting or showing uop as half
financialsDailySnapshots | dailyVolumeUSD | NOT OK | General shape of graph seems good, but the numbers do not match up/
financialsDailySnapshots | cumulativeVolumeUSD | NOT OK |
Pool overview |   |   |
-- | -- | -- | --
Rewardtokens | Rewardtokens | Not ok | Front end
Pool |   |   |   |
-- | -- | -- | -- | --
Wcro/WETH |   |   |   |
liquiditypoolDailySnapshots | totalValueLockedUSD | not ok | front end | should be 16 mil showing 8 mil
Wcro/USDC |   |   |   |
liquiditypoolDailySnapshots | totalValueLockedUSD | not ok | front end | should be 14 mil showing 7 mil
Wcro/WBTC |   |   |   |
liquiditypoolDailySnapshots | totalValueLockedUSD | not ok | front end | Non existant on subgraph
Wcro/ATOM |   |   |   |
liquiditypoolDailySnapshots | totalValueLockedUSD | not ok | front end | should be 3 mil showing 1.7M
Wcro/Tonic |   |   |   |
liquiditypoolDailySnapshots | totalValueLockedUSD | not ok | front end | should be 3 mil showing 1.5M
  |   |   |   |

Quick note here we are pending for a response from VVS's team on rewards. I think we should skip rewards for now

see https://github.com/messari/subgraphs/issues/935

@ishraq8 would you give this another check? We can ignore rewards for now

Aside from rewards this looks great, @steegecs! Ready to ship @this-username-is-taken


Could not use Chinese input method for searching on showcase

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Prerequisites

[X] I'm using the latest version of Docusaurus.
[X] I have tried the npm run clear or yarn clear command.
[X] I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
[X] I have tried creating a repro with https://new.docusaurus.io.
[X] I have read the console error message carefully (if applicable).

Description
Using a Chinese input method in the search field of the showcase will result in incorrect text output and prevent the search function from operating properly.

Reproducible demo
No response
Steps to reproduce

open website https://docusaurus.io/showcase
Seach for site name with Input Method

Expected behavior
After selecting a candidate term, the corresponding Chinese characters will appear in the search box.
Actual behavior
After selecting a candidate term, nothing appears in the search box.
Your environment

Public source code:
Public site URL: https://docusaurus.io/showcase
Docusaurus version used:
Environment name and version (e.g. Chrome 89, Node.js 16.4):
Operating system and version (e.g. Ubuntu 20.04.2 LTS):

Self-service

[ ] I'd be willing to fix this bug myself.

I think this is because the page continuously refreshes due to changing URL query, and each time the search box is programmatically re-focused. We can see what we can do, but I'm not sure whether we can let input events not fire when the text is captured by the input method. FWIW, you should not be using Chinese anyway, since the showcase is not localized.

I think this is because the page continuously refreshes due to changing URL query, and each time the search box is programmatically re-focused. We can see what we can do, but I'm not sure whether we can let input events not fire when the text is captured by the input method. FWIW, you should not be using Chinese anyway, since the showcase is not localized.

Is this submission workflow still relevant?
I feel that contributions weren't accepted since months.

I've categorized the search component into two types: mobile and desktop. The search logic for the mobile remains the same; however, for the desktop with a screen width threshold of above 768px, the debounce function is introduced to address the Chinese input issue. This creates two issues for the desktop: Firstly, Chinese input needs to be completed within 800 milliseconds. Secondly, there is a delay of 800 milliseconds when refreshing the search on the desktop, as it changes from being instantaneous to a delayed response.
demo: https://github.com/rockbenben/ChatGPT-Shortcut/blob/fc99b18069530be82ba0e62b87524891d6a0b56c/src/pages/index.tsx#L217


Update OL and geostyler, fix default imports

Bump geostyler v11.1.0, bump geostyler-openlayers-parser v4.1.0
Bump ol v7.2.2
Fix tests by adding a mock for ResizeObserver
Fix some default imports for ol-util

Please review @terrestris/devs

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Adding tooltip to share, block, and follow buttons.

PR Checklist

[x] I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
[x] I have checked that this PR does not introduce a breaking change
[ ] This PR introduces breaking changes and I have provided a detailed explanation below

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting)
[ ] Refactoring (no functional changes)
[ ] Documentation changes
[x] Other - Please describe: Improvement

Fixes
Issue Number: #4085
What is the current behavior?
No tooltip displayed for share, follow/unfollow, block/unblock buttons.
What is the new behavior?
Tooltip is now displayed for share, follow/unfollow, block/unblock buttons.

Other information

I am not sure which section of CHANGELOG to modify for this one: fix/change/addition.

Nice work @calvincodes! And thanks again @HarshKhandeparkar for creating this issue!

@calvincodes you can look at the help wanted issues if you want to help us further.

Thanks @seanyesmunt @HarshKhandeparkar. Sure, will check out more issues.


Add CSS selector to tap/click events

This PR adds the CSS selector to the FrameClickEvent interface, which as proven useful for implementer purposes.
I also standardized the usage of the ReadiumWindow type across the navigator-html-injectables package, and renamed ReflowablePeripherals to Peripherals since it's actually used in FXL EPUBs as well

@chocolatkey do you mind sharing the use case? Was it for a tap on text (definition) or an image (open in a separate view) for example?


libgit2-glib (and therefore gitg) broken by libgit2 upgrade

Issue description
libgit2-glibg depends on libgit2-0.24.X. b4c7979363f52ccc0f71823f3bcd2c8e9e7b52c3 upgrades this to libgit2-0.25.1, which breaks libgit2-glib.  While that could be upgraded to an unstable version, that, in turn, breaks gitg.
Steps to reproduce
Attempt to build gitg at HEAD.
Technical details

System: (NixOS: nixos-version, Ubuntu/Fedora: lsb_release -a, ...)
Nix version: (run nix-env --version)
Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)

Looks like you need to upgrade to https://github.com/GNOME/libgit2-glib/releases/tag/v0.25.0

I had assumed, though perhaps I'm incorrect in that, that libgit2-glib follows the "even version == stable" numbering system that the rest of gnome does.  So yes, 0.25 was what I was referring to as unstable.
Similarly, the only version of gitg that works with libgit2-glib-0.25 is definitely an unstable version, and my attempt to just pull in a patch or two didn't work.

This also breaks julia:
Exception running test libgit2 :
On worker 3:
LoadError: ReadOnlyMemoryError()
while loading /tmp/nix-build-julia-0.5.0.drv-0/julia-0.5.0/test/libgit2.jl, in expression starting on line 130
ERROR: LoadError: Some tests exited with errors.
 in (::##11#19)() at /tmp/nix-build-julia-0.5.0.drv-0/julia-0.5.0/test/runtests.jl:72
 in cd(::##11#19, ::String) at ./file.jl:59
while loading /tmp/nix-build-julia-0.5.0.drv-0/julia-0.5.0/test/runtests.jl, in expression starting on line 26
make[1]: *** [Makefile:12: all] Error 1
make[1]: Leaving directory '/tmp/nix-build-julia-0.5.0.drv-0/julia-0.5.0/test'
make: *** [Makefile:575: testall] Error 2
builder for ‘/nix/store/s68vjaiwv2mcfkns5hsr6wzpfxrm04p4-julia-0.5.0.drv’ failed with exit code 2
error: build of ‘/nix/store/s68vjaiwv2mcfkns5hsr6wzpfxrm04p4-julia-0.5.0.drv’ failed
nix-env failed with error code 100.

@fpletz It seems to me like, given the number of things this broke, that this should be reverted.

julia also needs an update to 0.5.1. libgit2-glib is fixed.

Fixed on master.


TOS-580: Delete warning and confirmation

Adding warning before deleting
User will type some text to confirm Delete

Support for deleting the following is not present in os. therefore could not put confirmation
1.Project
2.Application
3.Version


Freesurfer atlas

Adds freesurfer-based subfield unfolded atlas, using this workflow to create the new files: https://github.com/khanlab/hippunfold-create-atlas/tree/freesurfer  (ie, mapping automated labels at the midsurface to the unfolded atlas, and doing maxprob over all subjects)

[ ] add to docs
[ ] consider removing labels (?) -- I kept all but amygdala (labels 7001+) from the freesurfer subfields LUT, but we could potentially remove all that we don't want to get mapped into the CA/Sub/DG ribbon..

Actually it looks like FS spits out additional sets of segmentations:
https://surfer.nmr.mgh.harvard.edu/fswiki/HippocampalSubfieldsAndNucleiOfAmygdala
and the "CA" set is probably the most suitable here, as it already folds in the SRLM labels. I'll regenerate a new label nifti with those.

Sounds good! I would still maybe remove the fissure label since in our protocol we include it as part of SRLM.
Also my test case seems to have worked perfectly! I'll try again with the new labels when its committed

Looks like using the "CA" set of labels dealt with things well, the only labels that show up are presub,sub,CA1,CA3,CA4.  There is a tiny island of parasubiculum (and islands of CA1, Sub) in the most distal end, but I think it's fine to just leave that as is since easier to explain. I'll commit these in a sec, but here are screenshots fyi


Add chosen filters to url

We should be able to visit specific category page from a link with filters selected.
At the moment what we have is an url, which directs us to a category page and it's default setup.
What we need to do is to append chosen filters to the url, so when the client visits a link, eg. /c/foo/Red/XS/50-100, he gets foo category, with Red, XS and $50-$100 filters selected.

@akbarik not sure if it’s clear from the description but this issue is about Category page (Product page already allows users to pass the variants as link parameter)
Please take care of SSR mode.

Yes, it is clear. Thank you.

I'm closing this issue because this is duplicate of #1104


How to make fraction's content bigger?

Hi, I have this compound fraction:
(sum_i (x_i mu_i)/sigma_i^2)/(sum_i (mu_i^2)/sigma_i^2)
It is currently being rendered as

While in latex, with the use of \dfrac I can get this:

Notice how in latex the content in the inside fractions has a larger relative size wrt the fraction itself than in typst.
Is there a way to enlarge it?
Thanks

A solution was suggested to use
$ #box[$ sum_i (x_i mu_i)/(sigma_i^2) $]/(#box[$ sum_i (mu_i^2)/sigma_i^2 $]) $
But in case of a more complex fraction it does not work:
$ ((2 S^2)/(V^2 sum_i (mu_i^2)/(sigma_i^2)) mu_i V^2)/(2 S^2 sigma_i^2)  $

$ #box[$ ((2 S^2)/(V^2 sum_i (mu_i^2)/(sigma_i^2)) mu_i V^2) $]/#box[$ (2 S^2 sigma_i^2) $] $

Answered here, thanks to Enivex
Though, I'm not sure if this is the intended way of doing things


Misc changes

Current changes in this patchset:

Refactor the sbatch_args handling code to reduce code size
Support using null value in YAML file to clear default sbatch_args
Remove the default 16 hour execution limit from pz-compute
Support configuring a time limit for estimations in the YAML file

This patchset depends on the lephare branch.

Sent version 2 of this patchset. Changes from version 1:

Rebased on top of the latest lephare branch.
Fixed a bug when getting the default parameters for sbatch_args.
Fixed a bug when getting the default parameters for time_limit.
Removed the time limit from slurm-dispatch.batch.
Bumped pz-compute version text to 0.2.0.
Added default configurations for the LEPHAREDIR and LEPHAREWORK environment variables.

Hello, that's the expected behavior if no other way of configuring the number of slurm tasks is provided (clearing the sbatch_args only makes sense in custom configurations, for example, by replacing the pz-compute.batch script with the rail_slurm_batch parameter). In general it won't be possible to parse individual slurm parameters to check that they are coherent and slurm will execute the batch job anyway without knowing the requested number of tasks. So there are a few options for this problem, for example:

Leave it as is (working as intended).
Improve the error message (suggest that the --ntasks parameter is missing).
Add a hardcoded default (--ntasks=1 in pz-compute.batch).


run_alphafold_test.py failure caused by reusing the test directory

In run_alphafold_test.py the function absltest.get_default_test_tmpdir() is used to get a temporary directory for the tests. However, this means that the same directory is used for both tests and is never cleaned. If you run the tests twice they'll fail the second time in the RunAlphafoldTest.test_end_to_end_no_relax test with:
AssertionError: Element counts were not equal:
First has 0, Second has 1:  'relaxed_model1.pdb'

You can see this with the simplified broken.py, which is based off the relevant parts of run_alphafold_test.py:
import os
from absl.testing import absltest

class RunAlphafoldTest(absltest.TestCase):
  def test_me(self):
    out_dir = absltest.get_default_test_tmpdir()
    print('before write', os.listdir(out_dir))
    with open(os.path.join(out_dir, 'file'), 'w') as f:
      f.write('hello world')
    print('after write', os.listdir(out_dir))
    self.assertEqual(1, 1)

if __name__ == '__main__':
  absltest.main()

Which gives the following output when run twice:
$ python broken.py
Running tests under Python 3.9.7: /home/simon/downloads/venv/bin/python
[ RUN      ] RunAlphafoldTest.test_me
before write []
after write ['file']
[       OK ] RunAlphafoldTest.test_me
----------------------------------------------------------------------
Ran 1 test in 0.001s

OK
$ python broken.py
Running tests under Python 3.9.7: /home/simon/downloads/venv/bin/python
[ RUN      ] RunAlphafoldTest.test_me
before write ['file']
after write ['file']
[       OK ] RunAlphafoldTest.test_me
----------------------------------------------------------------------
Ran 1 test in 0.001s

OK

Note the difference in the before write lines. file was created in the first run of the test but is still there when we run it a second time.
Instead the tests should create a unique test directory for each test, using testdir = self.create_tempdir().full_path, and then use this inside the tests to avoid potential pollution.
Patch:
--- run_alphafold_test.py.orig  2022-02-13 11:09:48.465041000 +0000
+++ run_alphafold_test.py   2022-02-13 12:02:17.963970000 +0000
@@ -59,14 +59,13 @@
     model_runner_mock.multimer_mode = False
     amber_relaxer_mock.process.return_value = ('RELAXED', None, None)

-    fasta_path = os.path.join(absltest.get_default_test_tmpdir(),
-                              'target.fasta')
+    out_dir = self.create_tempdir().full_path
+
+    fasta_path = os.path.join(out_dir, 'target.fasta')
     with open(fasta_path, 'wt') as f:
       f.write('>A\nAAAAAAAAAAAAA')
     fasta_name = 'test'

-    out_dir = absltest.get_default_test_tmpdir()
-
     run_alphafold.predict_structure(
         fasta_path=fasta_path,
         fasta_name=fasta_name,

Thanks, good point. I will submit a fix shortly.

Fixed in https://github.com/deepmind/alphafold/commit/b85ffe10799ca08cc62146f1dabb4e4ee6c0a580. Thanks again.


Define procedure when ending the FSM

Decide if the FSM ending procedure should remain as is shown here.
        case STATE_END_FSM:
            // End the finite state machine
            fsmObject->previousState = fsmObject->entryState;
            fsmObject->currentState = fsmObject->entryState;
            fsmObject->nextState = fsmObject->entryState;
            fsmObject->fsmEndingAction();
            fsmObject->state = STATE_NO_CHANGE;

            // mutex unlock
            fsmObject->mutexOps.unlock(fsmObject->mutexObject);
            return FSM_ENDED;

Here the FSM objects attributes are set to the entry state.
The question is...

QUESTION:  Should the attribute c fsmObject->initialized be set to 0 and thus blocking any further runing arremts? It could be reinitialized with a function c fsmReInit() which sets the attribute back to 1.


PCL color example added

Requires OpenCV as well

Hi @LinuxGogley
Thank you for the patch.
Looking at the code, this is a great contribution to the library.
Missing an update to wrappers/pcl readme and I would also consider adding a readme.md to the sample directory with some code explanations and a screenshot.

Hello @dorodnic thank you so much!  I have added a few updates, let me know if more would be helpful!


Load/Save ML model #300

Draft for issue #300.

In the dev telco the idea came up to integrate loading and/or saving into the ML processes. If they are tightly coupled and you can't do more things with ML models, we may actually want to consider this to make the user experience better. In this case these processes would be merged with the ML processes. I don't feel like I have enough experience to decide so would appreciate thoughts.

Meeting conclusion: Have load/save specifically as process to seperate concerns and be more flexible in the future. Also, makes the processes a bit simpler.

Merging, please open a separate issue or PR to discuss further changes.


Transfer array from Singe

PR Summary
An implementation of std::array that works on both the CPU and the GPU.
PR Checklist

[ ] Any changes to code are appropriately documented.
[ ] Code is formatted.
[ ] Install test passes.
[ ] Docs build.
[ ] If preparing for a new release, update the version in cmake.

Oh also there should be at least a mention this exists in the docs.

I was digging around a bit and found this
https://github.com/NVIDIA/libcudacxx/issues/51#issuecomment-717984614
TLDR: 1) --expt-relaxed-constexpr & -std=c++17 seems to provide sufficient functionality for std::array on device, 2.) libcu++ rolls a std::array in cuda/std/array (as of 2023).
Would this make a hand-rolled std::array necessary?

I was digging around a bit and found this
NVIDIA/libcudacxx#51 (comment)
TLDR: 1) --expt-relaxed-constexpr & -std=c++17 seems to provide sufficient functionality for std::array on device, 2.) libcu++ rolls a std::array in cuda/std/array (as of 2023).
Would this make a hand-rolled std::array necessary?

:+1: This is what we do in parthenon. But is that fully portable?

I was digging around a bit and found this
NVIDIA/libcudacxx#51 (comment)
TLDR: 1) --expt-relaxed-constexpr & -std=c++17 seems to provide sufficient functionality for std::array on device, 2.) libcu++ rolls a std::array in cuda/std/array (as of 2023).
Would this make a hand-rolled std::array necessary?

👍 This is what we do in parthenon. But is that fully portable?

Most of std::array works on GPUs with relaxed constexpr, but not all.  In particular, std::array::fill and std::array::swap aren't constexpr until C++20 and I believe Singe code uses std::array:fill.  Once we move to C++20 (hopefully much faster than the 14-to-17 transition), then this code becomes redundant if we're comfortable relying on relaxed constexpr to get the STL onto the GPU.

I was digging around a bit and found this
NVIDIA/libcudacxx#51 (comment)
TLDR: 1) --expt-relaxed-constexpr & -std=c++17 seems to provide sufficient functionality for std::array on device, 2.) libcu++ rolls a std::array in cuda/std/array (as of 2023).
Would this make a hand-rolled std::array necessary?

👍 This is what we do in parthenon. But is that fully portable?

Most of std::array works on GPUs with relaxed constexpr, but not all. In particular, std::array::fill and std::array::swap aren't constexpr until C++20 and I believe Singe code uses std::array:fill. Once we move to C++20 (hopefully much faster than the 14-to-17 transition), then this code becomes redundant if we're comfortable relying on relaxed constexpr to get the STL onto the GPU.

that's a satisfying explanation for me. :+1:

This is ready for another review


[release-4.13] CNV-30519: Prevent text to exceed the size of tab in Overview > Settings

📝 Description
Fixes:
https://issues.redhat.com/browse/CNV-30519
Prevent text to exceed the size of the tab in Overview > Settings > General, display size of the tab (represented by the PF Tab component, seen as the white background in the screenshots below) according to its content. Make it work in the actual Firefox, Chrome, Chromium browsers.
Note that the problem has occurred mainly for smaller browser windows, when size of the tab was set to 75% of the visible screen by the css height prop. This is also core of the problem, so removing unnecessary prop fixes the problem. Now the size of the tab is based on its content, nothing exceeds no matter the size of the browser window, no matter the browser used.
🎥 Screenshots
Before:

After:

@avivtur @metalice @pcbailey @upalatucci @vojtechszocs please review

/lgtm


Update the Verify.Xunit example

The UsesVerify attribute is no longer required and it can be removed.

Thanks.


Update progress bars

If you haven't already, please read through our contributing guidelines before opening your PR
What is the purpose of this PR?

Closes #1028. Add current processing FOV name to progress bar output in the ark notebooks.
Closes #970. Fix incorrect progress bars that show <100% even though the batch was processed fine.

How did you implement your changes

Update the FOV name at start of each code block using progress_bar.set_postfix(FOV=fov).

I was able to replicate @HPiyadasa's issue, and it turns out two things could potentially happen with the current code:

Since we only check the progress every 3 seconds, sometimes we don't always know that the last fov is in progress before getting a "done" response from the api and closing the progress bar. We simply need to ensure the progress bar gets updated for completion before breaking the batch loop and closing the progress bar.

(This one is quirky) Sometimes deepcell.org/api/redis will return a lower completion rate than it had before.  When combined with the above issue, the math doesn't math to 100. We just need to account for this by only updating the progress bar status when it has increased.

Remaining issues
Nothing, I've solved all issues forever.

Looks great


rendercomplete event

Map event rendercomplete returns context undefined.

Map render events do not have a context any more. We need to document this better.


Unable to install Python binding on M1 Monterey macOS

Hi, when I try to install the sqlite-vss package on my macOS (M1 Monterey) machine, I get an error:
$ pip install sqlite-vss
ERROR: Could not find a version that satisfies the requirement sqlite-vss (from versions: none)
ERROR: No matching distribution found for sqlite-vss

The problem is that the name of wheel for arm Mac is sqlite_vss-0.1.1-py3-none-macosx_13_0_arm64.whl, which cannot be installed on Monterey(=v12). When I downloaded the wheel and rename it, it was installed successfully.
$ mv sqlite_vss-0.1.1-py3-none-macosx_13_0_arm64.whl sqlite_vss-0.1.1-py3-none-macosx_12_0_arm64.whl
$ pip install sqlite_vss-0.1.1-py3-none-macosx_12_0_arm64.whl
# -> success

Is there any reason to set the least macOS version to 13 for the arm64 build? If not, I guess the wheel file name should be fixed.

I will rename the wheels to use py3-none-macosx_12_0_arm64.whl in the next release, thanks for letting me know! I just want to test and verify that it won't break those on Ventura before publishing

@asg017 I think 11_0 would be the best, as Big Sur(11) is the first version that supports M1 Macs (ref). Thanks!

@tmokmss just published 0.1.2-alpha.2 with a new wheel name - can you pip install sqlite-vss==0.1.2a2 to see if it works for you?
The wheel is sqlite_vss-0.1.2a2-py3-none-macosx_11_0_arm64.whl

@asg017 I confirmed now I can install and use the package successfully. Thanks!


Allow configuration of logLevel

Coverage increased (+0.006%) to 98.662% when pulling d143d19837e6c67800d0e5b49c0a34ddba111be6 on elliot/logging into 723797901ef1fb50a9a52f8bcf4b1a1f4b41c5b3 on devel.


[New chain]: Oasis Sapphire 1.4.1

Summary

https://github.com/safe-global/safe-deployments/pull/571
https://github.com/ethereum-lists/chains/blob/master/_data/chains/eip155-23294.json

Chain ID
23294
Chain detail URL
https://chainlist.org/chain/23294
RPC URL
https://sapphire.oasis.io
Blockscout Client URL
No response
Etherscan Client URL
No response
Etherscan Client API URL
No response
Version
1.4.1
Address (Master copy)
0x41675C099F32341bf84BFc5382aF534df5C7461a
Deployment Tx hash (Master copy)
0xaf4e771e92b29da3775db54ed3c7f95b0c0253f2b8e363de661c18f49200282b
Block explorer URL (Master copy)
No response
Address (Master copy L2)
0x29fcB43b46531BcA003ddC8FCB67FFE91900C762
Deployment Tx hash (Master copy L2)
0x8063cbbd83d62f04fe82f62d5d6a0f9220dd79642ccd48ef2ca1bbbce00928fe
Block explorer URL (Master copy L2)
No response
Address (Proxy factory)
0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67
Deployment Tx hash (Proxy factory)
0x44ae14c131245e51ec6d0cb4cd61d409cae3fc22adef76a7e8c269d73675c692
Block explorer URL (Proxy factory)
No response

/execute


Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method 'int java.lang.Comparable.compareTo(java.lang.Object)' on a null object reference

Version 3.5.2:
Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method 'int java.lang.Comparable.compareTo(java.lang.Object)' on a null object reference
       at java.util.TreeMap.compare(TreeMap.java:1321)
       at java.util.TreeMap.getFloorEntry(TreeMap.java:430)
       at java.util.TreeMap.floorKey(TreeMap.java:760)
       at java.util.TreeSet.floor(TreeSet.java:425)
       at com.wdullaer.materialdatetimepicker.time.DefaultTimepointLimiter.roundToNearest(DefaultTimepointLimiter.java:204)
       at com.wdullaer.materialdatetimepicker.time.TimePickerDialog.roundToNearest(TimePickerDialog.java:1176)
       at com.wdullaer.materialdatetimepicker.time.RadialPickerLayout.roundToValidTime(RadialPickerLayout.java:452)
       at com.wdullaer.materialdatetimepicker.time.RadialPickerLayout.access$000(RadialPickerLayout.java:51)
       at com.wdullaer.materialdatetimepicker.time.RadialPickerLayout$5.run(RadialPickerLayout.java:776)
       at android.os.Handler.handleCallback(Handler.java:789)
       at android.os.Handler.dispatchMessage(Handler.java:98)
       at android.os.Looper.loop(Looper.java:164)
       at android.app.ActivityThread.main(ActivityThread.java:6938)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)

The stacktrace as such doesn't help much.
Can you paste the code where you are configuring the picker?

This is a crash reported by crashlytics, it has crashed for one of the users having:
SM-G955U, Android O.
This is the only stacktrace that the website it's offering to me.

I don't need more information on the device.
There is nothing particularly wrong with the code pointed at by the stacktrace, and there's even a reasonable test suite backing up that claim.
As I mentioned earlier: I'll need to see the code where you are configuring the picker and preferably also some information on how you are constructing the inputs for setSelectableTimes and setDisabledTimes to be able to help you debug this.

This should not be possible: all these calls have NonNull annotations and setTimeInterval cannot produce null objects. So the compiler should enforce that neither part of the comparison can be null.
How many reports do you have like this?

Sorry for late response, I've had 2 reports but it's look like it's working. I don't know what caused the problem.

Please reopen this, or create a new issue if the problem reappears.


⚠ GitLab Server has degraded performance

In 436ffe4, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 8903 ms

Resolved: GitLab Server performance has improved in 548e613.


interactive bots: Create Baremetrics bot.

GCI Task -> https://codein.withgoogle.com/dashboard/task-instances/6036082460196864/

Sorry for reopening and closing at my end. It was due to some confusion and internet problems. It won't happen again.

I tested the bot with the commands in this list:
- help : Display bot info
- list-commands : Display the list of available commands
- account-info : Display the account info
- list-sources : List the sources
- list-plans <source_id> : List the plans for the source
- list-customers <source_id> : List the customers in the source
- list-subscriptions <source_id> : List the subscriptions in the source

All commands until list-sources work fine. list-lans, list-customers, and list-subscriptions throw me errors, no matter what I specify as the source id. Here is the error for list-subscriptions:
INFO:root:starting message handling...
INFO:root:waiting for next message
Traceback (most recent call last):
  File "/home/robert/git/python-zulip-api/zulip-api-py3-venv/bin/zulip-run-bot", line 11, in <module>
    load_entry_point('zulip-bots', 'console_scripts', 'zulip-run-bot')()
  File "/home/robert/git/python-zulip-api/zulip_bots/zulip_bots/run.py", line 143, in main
    bot_name=bot_name
  File "/home/robert/git/python-zulip-api/zulip_bots/zulip_bots/lib.py", line 313, in run_message_handler_for_bot
    client.call_on_each_event(event_callback, ['message'])
  File "/home/robert/git/python-zulip-api/zulip/zulip/__init__.py", line 635, in call_on_each_event
    callback(event)
  File "/home/robert/git/python-zulip-api/zulip_bots/zulip_bots/lib.py", line 311, in event_callback
    handle_message(event['message'], event['flags'])
  File "/home/robert/git/python-zulip-api/zulip_bots/zulip_bots/lib.py", line 301, in handle_message
    bot_handler=restricted_client
  File "/home/robert/git/python-zulip-api/zulip_bots/zulip_bots/bots/baremetrics/baremetrics.py", line 50, in handle_message
    response = self.generate_response(message['content'])
  File "/home/robert/git/python-zulip-api/zulip_bots/zulip_bots/bots/baremetrics/baremetrics.py", line 72, in generate_response
    return self.get_subscriptions(part_commands[1])
  File "/home/robert/git/python-zulip-api/zulip_bots/zulip_bots/bots/baremetrics/baremetrics.py", line 153, in get_subscriptions
    subscriptions_data = subscriptions_data['subscriptions']
KeyError: 'subscriptions'

The errors for the other two commands look analogous. Can you fix this?

@roberthoenig for such a prompt response. I figured out the main problem: I got too exited.
The reason the commands were not working is that the source_id that is given gets converted to lowercase every time in the generate_response method. Thus the API gives the message that such a source_id does not exist. I fixed this by just converting the needed (command) portion to lower case.

@roberthoenig . I have Added more tests, fixed the bug, and made the suggested changes.
Thanks for working with me on this.

@eeshangarg Sure. Thanks for your review. I have made the suggested changes. :-)

@ViRu-ThE-ViRuS this bot looks great! Merging and approving!

@ViRu-ThE-ViRuS this is now merged, but still has some things that can be improved, particularly the unit tests. It would be great if you could make another PR where you use the test responses supplied on the baremetrics API documentation as fixtures. These contain actual data for "list-plans", etc., so these tests would verify that the bot works correctly with "real" data.

Sure. :)

@roberthoenig Done.


calc does not try to unify with expected type

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Check that your issue is not already filed.
Reduce the issue to a minimal, self-contained, reproducible test case. Avoid dependencies to mathlib4 or std4.

Description
Although example : 3 + 9 = 12 := rfl works, the following code
example : 3 + 9 = 12 :=
  calc
    3 + 9 = 12 := rfl

fails with
type mismatch
  rfl
has type
  3 + 9 = 3 + 9 : Prop
but is expected to have type
  3 + 9 = 12 : Prop

Replacing rfl with by rfl or by exact rfl above makes it work, but I think it shouldn't be necessary.
Context
Phil Wadler encountered this issue while porting his "Programming Language Foundations in Agda" book to Lean: https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Debugging.20an.20issue.20with.20calc.20mode
This is a regression pointed out by Wadler after upgrading from an old nightly. I bisected it and it works on the 2023-01-05 nightly and fails on the 2023-01-06 one. According to https://github.com/leanprover/lean4-nightly/releases/tag/nightly-2023-01-06 this points to fedf235cba35ed8bf6bf571cf38e6d8536b904ac, but see also 474f1a4d39bac6310fbd47aa4545d6c15fb14d53 where this was worked around for the show tactic.
In particular, https://github.com/plfa/plfl/commit/a4684b23066a8bdfcb6c7948b125f472d9895a18 contains three more calc uses which now require type ascriptions (and didn't need them before fedf235).
Versions
Lean 4.3.0-rc2 on Linux
Impact
Add :+1: to issues you consider important. If others are impacted by this issue, please ask them to add :+1: to it.

This works on the 2023-01-06 nightly and fails on the 2023-01-07 one. According to https://github.com/leanprover/lean4-nightly/releases/tag/nightly-2023-01-07 this points to 474f1a4d39bac6310fbd47aa4545d6c15fb14d53.

Seems to have been fixed!

Indeed, this fails on v4.10.0 but works on v4.11.0! Not sure which change fixed it, will bisect later.
(cc @wadler, since the ascriptions added in https://github.com/plfa/plfl/commit/a4684b23066a8bdfcb6c7948b125f472d9895a18 aren't needed since Lean v4.11.0)

Bisected to #4596:
commit 6080e3dd5cc76d9f8807de19d6575f517ee11899
Author: Leonardo de Moura<EMAIL_ADDRESS>Date:   Tue Jul 2 15:42:47 2024 +0200

    fix: enforce `isDefEqStuckEx` at `unstuckMVar` procedure (#4596)

    Closes #2736

    See comment at `ExprDefEq.lean` for explanation.
    Side effects:
    - Improved error messages in two tests.
    - Had to improve `getSuccesses` procedure at `App.lean`. It now
      discards candidates that contain postponed elaboration problems.
      If it is too disruptive for Mathlib, we should try to discard the
      ones that have postponed metavariables.


The majority of notifications by categories are missing

STR:
Send any proposal from the listed categories in the "AR" section
ER:
User receive notification
AR:
User doesn't receive notifications for proposal categories:

Change Config
Change Policy
Add/Remove member to Role
Function Call

Verified on dev. Fixed


[FEATURE] Different Wayland LayerSurface namespaces for different defwindows

Description of the requested feature
It would be useful if different defwindows could have different LayerSurface namespaces. This would allow for blurring specific widgets in compositors like Hyprland.
Proposed configuration syntax
Perhaps :namespace foo as a defwindow property?
Additional context
I want to be able to blur specific widgets on Hyprland, but this is currently impossible since all widgets share a namespace.

Hyprland relied on layer surface namespace to blur specific layer surface. The default layer surface for eww window is gtk-layer-shell, it would be useful if this feature implemented with gtk_layer_shell::set_namespace.


Fix post view safari inconsistency

PR Title
Issue Number(s): #number_of_issue.
What does this PR change and why?
Checklist

[ ] Requirements have been implemented
[ ] Acceptance criteria are met
[ ] Database schema docs have been updated or are not necessary
[ ] Code follows design and style guidelines
[ ] Commits follow guidelines (concise, squashed, etc)
[x] Relevant reviewers (Senior Dev/EM/Designers) have been assigned to this PR

Critical Changes

Database change/migration to run
Environment config change
Breaking API change

Related PRs

#number_of_pr

Testing
Enumerate steps to test the functionality of your ticket. This should include edge cases and testing of error handling, if applicable.

For whatever reason, flex-wrap: wrap is breaking flex-direction, so I just removed it. Removing it doesn't affect the layout for mobile or desktop.

Can check for more design inconsistencies, this is the main one for now.


BAC-227: Refactor and update to use Clarify v1.1 (breaking)

commit 8023bd8627b6a1e435c0b9266fcc619ffc5c803c (HEAD -> api-v1.1, origin/api-v1.1)
Author: Sindre Myren<EMAIL_ADDRESS>Date:   Mon Oct 16 12:07:26 2023 +0200
go.mod: update dependencies

commit 6a36eee2d184ba960b36ad3297db6389b74ed06e
Author: Sindre Myren<EMAIL_ADDRESS>Date:   Wed Oct 11 13:21:48 2023 +0200
lib refactor, switch to API v1.1

Switch all method to use API v1.1. Add support for the new
clarify.evaluate method. Refactor the library for improved maintenantce
and readability.

Package resource (removed):
- Move types that should remain public to the views pacakge.
- Simplify and move request and method types to a new internal/request
pacakge.

Package query (breaking changes):
- Query: Make fields private; introduce chainable API.
- Filter: Convert to interface with private method requirements.
- Data: Make fields private; introduce chaniable API.
- DataFilter: Convert to interface with private method requirements.

Root pacakge:
- Client:
  - Remove most of the chainable API for request types. Pass in more
parameters during request initialization (breaking).
  - Move admin namespace methods to c.Admin().<method>; refactor to
reduce chainable API.
  - Move clarify namespace methods to c.Clarify().<method>; refactor to
reduce chainable API.

Add a CONTRIBUTING.md file describing how to contribute to the
repository, including how to install git hooks, update copyright
headers, and write commit messages.

Fixed several issues with devdata_cli as well as several JSON encoding issues.
Fixed issues from review.

Maybe also add examples for Evaluate and mention it in Readme?

I think most of the issues should be resolved no. Let me know if you still want to change something in this PR @sarzhann.

Pushed update README / separate evaluate example.


feat(forge script): add --gas-price-multiplier

Component
Forge
Describe the feature you would like
When running forge script script/deploy.s.sol and specifying the gas params, either with -g or --gas-price, the output of the simulation (running without --broadcast) shows the estimated gas price of the current block, not what was specified with the cli params and can be confusing.
As per the docs, supplying -g will multiply the estimated gas by some number.
If gas price is 65 gwei, and we want to deploy with 6 gwei, we could specify -g 10
Current avg gas price: 65 gwei
Call: forge script script/deploy.s.sol:DeployScript -g 10 --rpc-url https://cloudflare-eth.com/
However, in doing so, the output still specifies the 65 gwei. Interpretation of the output could be that we will deploy with 65 gwei gas price.
## Setting up 1 EVM.

==========================

Chain 1

Estimated gas price: 64.375837984 gwei

Estimated total gas used for script: 15627

Estimated amount required: 0.001006001220175968 ETH

We can confirm the estimated amount required is correct and uses what we specify with -g by calling the same exec with -g 1000.
Current avg gas price: 65 gwei
Call: forge script script/deploy.s.sol:DeployScript -g 1000 --rpc-url https://cloudflare-eth.com/
## Setting up 1 EVM.

==========================

Chain 1

Estimated gas price: 64.834925182 gwei

Estimated total gas used for script: 1562760

Estimated amount required: 0.10132142767742232 ETH

It seems to be that Estimated gas price: is not overridden with what we specify in the args but instead of always the gas price of the current block.
Ask:
In the output, either;

relabel Estimated gas price: to what we specify (in the case of -g 10, it should read  Estimated gas price: 6.4834925182 gwei)
relabel Estimated gas price: to something more accurate such as Block gas price and then a new line item with Broadcasting with gas price: if the user specifies a gas price with -g or --gas-price.

Additional context
No response

Hi @409H
--gas-estimate-multiplier decreases / the gas limit of the transaction by a scalar, you can see an example here: https://holesky.etherscan.io/tx/0x16f18c36af6f987282d846b58e9ab982f9c813f53f9deb8b947c01c3c8b693f4
1,067,150 | 106,733 (10%)
I think what you are requesting is a new flag called --gas-price-multiplier which would multiply the gas_price or max_fee_per_gas field by a scalar (as in 6.4 gwei -> 64 gwei)

@zerosnacks Ah yes, sorry -- good catch. Yes, you're correct in what I mean


Test transformers 41

Description

1. Why the change?

2. User API changes

3. Summary of the change

4. How to test?

[ ] N/A
[ ] Unit test: Please manually trigger the PR Validation here by inputting the PR number (e.g., 1234). And paste your action link here once it has been successfully finished.
[ ] Application test
[ ] Document test
[ ] ...

5. New dependencies

[ ] New Python dependencies
- Dependency1
- Dependency2
- ...
[ ] New Java/Scala dependencies and their license
- Dependency1 and license1
- Dependency2 and license2
- ...

For security concerns, we don't support workflow modification. I will close this PR first. Please let us know why this change.


Fix compilation with gcc8/9

Under Gcc9 (Ubuntu 20 WSL) and Gcc8 (Debian 10), bimg will fail to compile due to sys/types.h already defining "uint", "ushort" and "ulong" types.
This commit skips the definition of this three types in vectypes.h if __USE_MISC is defined. (compatibility with old C names)

I'm using gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 and I don't see this issue.

You don't need --platform=x64.

I assume this issue might be something with WSL?

I assume this issue might be something with WSL?

I got this error as well with Debian 10 (gcc 8)

Hi, I'm terribly sorry to necroposting a June 2021 issue, but the issue is actually present, altrough my comment and name of the PR is 100% wrong.
First of all, this issue is not raised up when using --platform=x64 or a normal 64-bit machine, as you pointed out that was why I was wrong when claiming it did, but this issue is actually raised up when compiling bgfx on a 32-bit platform (or using --platform=x32 on a 64-bit machine), not on old compiler or 64-bit platform as I originally said.
I'm sorry again for giving a wrong information to this PR, feel free to let me know if it's actually some issue in my end.
The compilation was tested on a Debian 11 i686 machine with Gcc 10.
My bgfx configuration command line: ../bx/tools/bin/linux/genie --with-tools --with-avx --gcc=linux-gcc gmake

Looks like I have same problem with building on arm32 Linux (Armbian/Ubuntu on rk3288). My build steps:
bgfx$ ../bx/tools/bin/linux/genie --with-tools --with-combined-examples --with-shared-lib --gcc=linux-arm-gcc gmake
bgfx$ make -j$(nproc) -C .build/projects/gmake-linux-arm-gcc config=release

and here is error:
==== Building bimg_encode (release) ====
astc_averages_and_directions.cpp
In file included from ../../../../bimg/3rdparty/astc/mathlib.h:20,
                 from ../../../../bimg/3rdparty/astc/astc_codec_internals.h:23,
                 from ../../../../bimg/3rdparty/astc/astc_averages_and_directions.cpp:17:
../../../../bimg/3rdparty/astc/vectypes.h:21:18: error: conflicting declaration ‘typedef uint64_t ulong’
   21 | typedef uint64_t ulong;
      |                  ^~~~~
In file included from /usr/include/stdlib.h:394,
                 from /usr/include/c++/9/cstdlib:75,
                 from /usr/include/c++/9/stdlib.h:36,
                 from ../../../../bimg/3rdparty/astc/astc_codec_internals.h:21,
                 from ../../../../bimg/3rdparty/astc/astc_averages_and_directions.cpp:17:
/usr/include/arm-linux-gnueabihf/sys/types.h:148:27: note: previous declaration as ‘typedef long unsigned int ulong’
  148 | typedef unsigned long int ulong;
      |                           ^~~~~

Try: config=release32

Try: config=release32

It gives much more errors at start:
bgfx$ make -j$(nproc) -C .build/projects/gmake-linux-arm-gcc config=release32
make: Entering directory '/home/q/git/bgfx-sample/bgfx/.build/projects/gmake-linux-arm-gcc'
==== Building bx (release32) ====
==== Building fcpp (release32) ====
==== Building glslang (release32) ====
==== Building glsl-optimizer (release32) ====
Creating ../../linux32_arm_gcc/obj/x32/Release/fcpp
Creating ../../linux32_arm_gcc/obj/x32/Release/bx
Creating ../../linux32_arm_gcc/obj/x32/Release/fcpp/3rdparty/fcpp
Creating ../../linux32_arm_gcc/obj/x32/Release/bx/bx/src
Creating ../../linux32_arm_gcc/bin
Creating ../../linux32_arm_gcc/obj/x32/Release/glsl-optimizer
Creating ../../linux32_arm_gcc/obj/x32/Release/glslang
Creating ../../linux32_arm_gcc/bin
Creating ../../linux32_arm_gcc/obj/x32/Release/glslang/3rdparty/glslang/OGLCompilersDLL
cpp1.c
Creating ../../linux32_arm_gcc/obj/x32/Release/glsl-optimizer/3rdparty/glsl-optimizer/src/glsl
allocator.cpp
Creating ../../linux32_arm_gcc/obj/x32/Release/glslang/3rdparty/glslang/SPIRV
Creating ../../linux32_arm_gcc/obj/x32/Release/glsl-optimizer/3rdparty/glsl-optimizer/src/glsl/glcpp
Creating ../../linux32_arm_gcc/obj/x32/Release/glslang/3rdparty/glslang/SPIRV/CInterface
Creating ../../linux32_arm_gcc/obj/x32/Release/glsl-optimizer/3rdparty/glsl-optimizer/src/mesa/main
g++: error: unrecognized command line option ‘-m32’; did you mean ‘-mbe32’?
make[1]: *** [bx.make:441: ../../linux32_arm_gcc/obj/x32/Release/bx/bx/src/allocator.o] Error 1
make: *** [Makefile:17: bx] Error 2
make: *** Waiting for unfinished jobs....
Creating ../../linux32_arm_gcc/obj/x32/Release/glslang/3rdparty/glslang/glslang/CInterface
Creating ../../linux32_arm_gcc/obj/x32/Release/glsl-optimizer/3rdparty/glsl-optimizer/src/mesa/program
Creating ../../linux32_arm_gcc/obj/x32/Release/glslang/3rdparty/glslang/glslang/GenericCodeGen
cpp2.c
Creating ../../linux32_arm_gcc/obj/x32/Release/glsl-optimizer/3rdparty/glsl-optimizer/src/util
gcc: error: unrecognized command line option ‘-m32’; did you mean ‘-mbe32’?
make[1]: *** [fcpp.make:339: ../../linux32_arm_gcc/obj/x32/Release/fcpp/3rdparty/fcpp/cpp1.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Creating ../../linux32_arm_gcc/obj/x32/Release/glslang/3rdparty/glslang/glslang/HLSL
Creating ../../linux32_arm_gcc/obj/x32/Release/glslang/3rdparty/glslang/glslang/MachineIndependent
gcc: error: unrecognized command line option ‘-m32’; did you mean ‘-mbe32’?
make[1]: *** [fcpp.make:343: ../../linux32_arm_gcc/obj/x32/Release/fcpp/3rdparty/fcpp/cpp2.o] Error 1
make: *** [Makefile:77: fcpp] Error 2
Creating ../../linux32_arm_gcc/obj/x32/Release/glslang/3rdparty/glslang/glslang/MachineIndependent/preprocessor
ast_array_index.cpp
ast_expr.cpp
Creating ../../linux32_arm_gcc/obj/x32/Release/glslang/3rdparty/glslang/glslang/OSDependent/Unix
g++: error: unrecognized command line option ‘-m32’; did you mean ‘-mbe32’?
make[1]: *** [glsl-optimizer.make:937: ../../linux32_arm_gcc/obj/x32/Release/glsl-optimizer/3rdparty/glsl-optimizer/src/glsl/ast_array_index.o] Error 1
make[1]: *** Waiting for unfinished jobs....
g++: error: unrecognized command line option ‘-m32’; did you mean ‘-mbe32’?
make[1]: *** [glsl-optimizer.make:941: ../../linux32_arm_gcc/obj/x32/Release/glsl-optimizer/3rdparty/glsl-optimizer/src/glsl/ast_expr.o] Error 1
make: *** [Makefile:73: glsl-optimizer] Error 2
Creating ../../linux32_arm_gcc/obj/x32/Release/glslang/3rdparty/glslang/glslang/OSDependent/Web
InitializeDll.cpp
Creating ../../linux32_arm_gcc/obj/x32/Release/glslang/3rdparty/glslang/hlsl
spirv_c_interface.cpp
GlslangToSpv.cpp
InReadableOrder.cpp
g++: error: unrecognized command line option ‘-m32’; did you mean ‘-mbe32’?
make[1]: *** [glslang.make:635: ../../linux32_arm_gcc/obj/x32/Release/glslang/3rdparty/glslang/SPIRV/CInterface/spirv_c_interface.o] Error 1
make[1]: *** Waiting for unfinished jobs....
g++: error: unrecognized command line option ‘-m32’; did you mean ‘-mbe32’?
make[1]: *** [glslang.make:639: ../../linux32_arm_gcc/obj/x32/Release/glslang/3rdparty/glslang/SPIRV/GlslangToSpv.o] Error 1
g++: error: unrecognized command line option ‘-m32’; did you mean ‘-mbe32’?
g++: error: unrecognized command line option ‘-m32’; did you mean ‘-mbe32’?
make[1]: *** [glslang.make:631: ../../linux32_arm_gcc/obj/x32/Release/glslang/3rdparty/glslang/OGLCompilersDLL/InitializeDll.o] Error 1
make[1]: *** [glslang.make:643: ../../linux32_arm_gcc/obj/x32/Release/glslang/3rdparty/glslang/SPIRV/InReadableOrder.o] Error 1
make: *** [Makefile:69: glslang] Error 2
make: Leaving directory '/home/q/git/bgfx-sample/bgfx/.build/projects/gmake-linux-arm-gcc'

Looks like bug appear after this PR: https://github.com/bkaradzic/bimg/pull/54
If you want to fix bug + improve code - you can update from upstream. This file was deleted there:
https://github.com/ARM-software/astc-encoder/commit/9629e405129931554e6e6e634b360ff9d07ac7a2


Lavalink fetching audio timeout

Description
Lavalink does not play music, spits out timeout errors.

Version info
Client used: Shoukaku 2.1.6
Java: AdoptOpenJDK 13.0.2
Version:        3.5.1
Build time:     12.09.2022 12:00:58 UTC
Branch          HEAD
Commit:         49379fa
Commit time:    12.09.2022 11:58:20 UTC
JVM:            13.0.2
Lavaplayer      <IP_ADDRESS>-original
OS: Ubuntu 22.04
CPU: aarch64, 4 threads

Sorry about posting screenshot instead of just raw logs, I don't have access to my PC right now.

Posting logs.
2022-09-16 21:38:11.242  INFO 11100 --- [  XNIO-1 task-4] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "https://www.discoradio.net/stream"
2022-09-16 21:38:16.646  INFO 11100 --- [  XNIO-1 task-4] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "https://www.discoradio.net/stream"
2022-09-16 21:38:41.267  WARN 11100 --- [  XNIO-1 task-3] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.context.request.async.AsyncRequestTimeoutException]
2022-09-16 21:38:46.672  WARN 11100 --- [  XNIO-1 task-4] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.context.request.async.AsyncRequestTimeoutException]
2022-09-16 21:39:32.392  INFO 11100 --- [  XNIO-1 task-4] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "https://www.discoradio.net/stream"
2022-09-16 21:39:56.918  INFO 11100 --- [  XNIO-1 task-4] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "https://www.discoradio.net/stream"
2022-09-16 21:40:02.400  WARN 11100 --- [  XNIO-1 task-3] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.context.request.async.AsyncRequestTimeoutException]
2022-09-16 21:40:19.649  INFO 11100 --- [   XNIO-1 I/O-1] lavalink.server.io.SocketServer          : {"op":"destroy","guildId":"811279232540868638"}
2022-09-16 21:40:26.937  WARN 11100 --- [  XNIO-1 task-4] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.context.request.async.AsyncRequestTimeoutException]
2022-09-16 22:07:56.627  INFO 11100 --- [  XNIO-1 task-4] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "http://pldm.ml/radio.php?id=-1&url=http://www.eskago.pl/radio/eska-warszawa"
2022-09-16 22:08:26.632  WARN 11100 --- [  XNIO-1 task-3] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.context.request.async.AsyncRequestTimeoutException]
2022-09-16 22:50:36.814  INFO 11100 --- [  XNIO-1 task-3] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "http://stream.open.fm/2"
2022-09-16 22:51:06.839  WARN 11100 --- [  XNIO-1 task-4] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.context.request.async.AsyncRequestTimeoutException]
2022-09-16 22:51:14.075  INFO 11100 --- [  XNIO-1 task-4] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "http://stream.open.fm/2"
2022-09-16 22:51:44.079  WARN 11100 --- [  XNIO-1 task-3] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.context.request.async.AsyncRequestTimeoutException]
2022-09-16 22:57:33.845  INFO 11100 --- [  XNIO-1 task-3] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "http://energy2000.radioparty.pl:8005/"
2022-09-16 22:58:03.849  WARN 11100 --- [  XNIO-1 task-4] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.context.request.async.AsyncRequestTimeoutException]

I just discovered, that playing this particular URL http://pldm.ml/radio.php?id=-1&url=http://www.eskago.pl/radio/eska-warszawa causes Lavalink to timeout on any other URLs. Maybe it's panicking because of multiple redirects or something?

this was either a temporary problem or a problem with your network
I can't reproduce this and both urls play fine for me
If the issue persists feel free to reopen the issue


How to solve the problem that the text on the x-axis is truncated beyond the chart area?

How to solve the problem that the text on the x-axis is truncated beyond the chart area?
Expected results:
The text "计算期限" is displayed completely
Now the result:
One word is missing from the text "计算期限"

Related code pictures：

Please ask questions in stackoverflow: https://stackoverflow.com/questions/tagged/chart.js?tab=Newest


Auth Config in latest Laravel version

https://github.com/fico7489/laravel-revisionable-upgrade/blob/5971f712bcd935e0ba7c4e425bb4dfef52a011e4/src/Models/Revision.php#L11
The function revisionUser() uses a config value that exists until Laravel v5.1, that is auth.model
The latest laravel version uses auth.providers.users.model so when I try any method an error is thrown:
Class name must be a valid object or a string
A temporary workaround in my Laravel 7 installation is add a new value in my config/auth.php :
'model' => THE_AUTH_MODEL::class
Maybe a working solution would be to change the code in question to something that compares the laravel version, if it's newer than 5.1 then use a different config value, roughly like this:
if(version_compare(app()->version(),"5.1", "gt")) {
  // use new config value
 } else // use old config value

Related links:
https://stackoverflow.com/a/27153678/8885105
https://www.php.net/manual/en/function.version-compare.php
https://stackoverflow.com/a/35785830/8885105

the issue is fixed, thanks!!!!


Handling of multi module project with parent and children in separate git repos

I have a multi module IntelliJ project which looks like:
my-app
├── pom.xml
├── .gitignore
├── auth-server
│   └── src/main/java
│   └── pom.xml
│   └── .gitignore
├── api-server
│   └── src/main/java
│   └── pom.xml
│   └── .gitignore
└── web-client
    └── src/main/js
    └── src/main/css
    └── pom.xml
    └── .gitignore

Parent is a Java project with a couple of child modules.
The parent .gitignore obviously ignores the child modules already in their own git repos so I'm not committing them twice:
ie.
api-server/
auth-server/
web-client/

The .ignore plugin throws up You are editing file which is ignored for any child module source code even though the child git repo is different to the parent's and hence should not inherit the parent .gitignore rules.

How should the plugin be handling this scenario?
Is there any sort of work around?

I have a simillar issue, where the modules are symlinked to a parent project for convenience .
And after updating PhpStorm and the .gitignore plugin, I get the extremely annoying popup "You are editing file which is ignored".
It would be great if it was possible to disable the popup in settings (for people who run into scenarios like this).
The entire filename and tab name are grayed out, that is more than enough to notice that I am editing an ignored filename. And PhpStorm already alerts you if you are editing files outside of project scope. So the popup seems redundant to me.
I really like your plugin and would love to keep using it. It is very helpful and has been nicely unobtrusive so far. I would have loved it to stay that way.

@bradacjan You can disable this You are editing file which is ignored message in the plugin's settings:

Great, that works. I could not find that before, thank you.


Generic getEntity method

Describe the solution you'd like
The current methods to retrieve an entity use opinionated flags that do not suit all use cases.
The provision of a generic method where the calling code can specify the desired flags is therefore required.

The code change looks good.  I'm closing this issue since it is completed.


What work flow create update version ?

When I release ver1.0.0:
./appimagetool-x86_64.AppImage AppImage / -u" -hz release -zsync | TKNgu | DeadGame-2048 | v1.0.0 | DeadGame-2048-x86_64.AppImage.zsync "
Upload the .AppImage and .zsync files to github and it works ok. (Update Same running version @ _ @!)

When released ver2.0.0:
./appimagetool-x86_64.AppImage AppImage / -u" -hp-release-zsync | TKNgu | DeadGame-2048 | v2.0.0 | DeadGame-2048-x86_64.AppImage.zsync "
I overwrite DeadGame-2048-x86_64.AppImage.zsync v1.0.0 by v2.0.0.
Update checks different but can not download the file. zsync to link the same .zsync directory file -> it downloads v1.0.0 and checks sum error.

What is true work flow create update version ?
Why not use full url "http://..." in file .zsync ? Program full control when chang server, version v.v.v...

P/S Sorry for my English.

Please see https://github.com/AppImage/AppImageSpec/blob/master/draft.md#update-information for the string that you need to pass in to -u.
In your case,
-u 'gh-releases-zsync|TKNgu|DeadGame-2048|latest|DeadGame-*-x86_64.AppImage.zsync'

@TKNgu xin vui lòng xem https://github.com/AppImage/appimage.github.io/pull/886#issuecomment-432345815

Not sure where all these spaces are coming from in your code blocks. Please fix to the real values. There shouldn't be spaces surrounding the vertical bars (|).
There's a few different types of update information. What you requested, a basic type with a full fixed URL, is available as well as a few "convenience" ones (less text/easier to generate) which sometimes also implement some dynamic behavior (e.g., the latest release for the GitHub releases type).


Protein domains and features data, part 2

Outstanding from
https://github.com/pombase/website/issues/96#issuecomment-306468594

[x]  Molecular weight	should be reported in kDA with units 2DP 	34358.2-> 34.36 kDa

[x] should we add no of residues explicitly here (its already at top of page)

[ ]   Codon Adaptation Index	is different on old and new site, which is correct?
cf cdc2 0.43 - >  0.57

[x] arrange families /domains by count lowest to highest number of hits. This is more logical is it moves from sub-family to family to superfamily information.
No count at the end

Molecular weight should be reported in kDA with units 2DP 34358.2-> 34.36 kDa
should we add no of residues explicitly here (its already at top of page)
arrange families /domains by count lowest to highest number of hits

All done.

No count at the end

I don't understand that.

Codon Adaptation Index is different on old and new site, which is correct?

Possibly neither.  :-(
I meant to check the value for CAI after putting that table in but I forgot.  I just tried calculating it here on an example gene and got a different answer to p1 and p2: http://genomes.urv.es/CAIcal/
For any1/SPBC18H10.20c on P1: 0.41, P2: 0.57 and that web site: 0.70.
For P2 the CAI is value is calculated using this Perl module: http://search.cpan.org/~shardiwal/Bio-Tools-CodonOptTable-1.05/lib/Bio/Tools/CodonOptTable.pm
Now I think about it, that module doesn't use a codon usage table to calculate the value so it's definitely wrong.
I tried calculating the CAI with EMBOSS and that gives an answer close to the website: 0.693
I think it's probably best if I change to code to use EMBOSS instead of the Perl module.
I've added a codon usage file for EMBOSS:
https://github.com/pombase/pombase-chado/blob/master/etc/S_pombe.cut

No count at the end

I think this meant that "domains" with no count should go at the bottom of the table, but if that only applies to mobidb it is replaced by
https://github.com/pombase/website/issues/385
Re CAI,  we can postpone this and leave it off the page until someone asks,   I only know of one person who has ever used it and its probably only useful in context of the other proteins so not particularly useful on the gene pages.....

Great.  I'll close this.


Optimize image size, update config

Pull Request Test Coverage Report for Build 20

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

Totals

Change from base Build 17:
0.0%

Covered Lines:
100

Relevant Lines:
117

💛  - Coveralls


Handle http cases

Description
Added a HTTPURLConnection object to deal with conncetions that require headers
#405
Checklist

[ ] Created new test/s (if possible)
[ ] Updated the README / documentation, if necessary

@arya-hemanshu applied the suggestions, please have another look. 👀


Reduce Prometheus pull requests builds

Signed-off-by: Julien Pivotto<EMAIL_ADDRESS>

Still took 20min to build, but seems slightly better.

Okay, let's first experiment this and see how it's going.

Still took 20min to build, but seems slightly better.

Yes, I did not change the number of builds per thread. I am more interested in reducing CPU usage than speed, and reducing the TB's we use each month (+/- 80 to 100 TB).


Unable to use sharp in my Next.js projects

Im unsure wether this belongs here or in https://github.com/sst/open-next.
I have two Next.js projects that directly use sharp in API routes (not the separate handler for image optimization) and so far have failed to get it working.
The deployment works, but the module can't be found when I invoke these routes that use sharp.
Locally I'm on Darwin/arm64, use pnpm and the latest sharp 0.33.4.
So far I have tried:

Adding supportedArchitectures to my package.json:

"pnpm": {
    "supportedArchitectures": {
      "os": [
        "linux",
        "current",
        "darwin"
      ],
      "cpu": [
        "x64",
        "arm64"
      ],
      "libc": [
        "current",
        "glibc",
        "musl"
      ]
    }
  },

Manually installing all @img/sharp linux platform packages that seemed like they could be relevant

Separately installing sharp from within my CI:
 npm_config_arch=x64 npm_config_platform=linux pnpm add sharp
Not sure if the syntax is functional for pnpm since I only found examples for npm and tried to adapt that. Also I'm unsure if it would do anything additionall that what I had covered by manually installing all the sharp packages before.

Adding sharp in:

sst.aws.Nextjs("Name", {
transform: {
        server: {
          nodejs: {
            install: ["sharp"],
          },
        },
      },
}

altough Im a bit unclear how this is resolved / what exactly it does
I'm wondering if the ion or open-next internal logic for sharp might somehow prevent sharp from being bundled properly.

I wonder if this could be related: https://github.com/sst/ion/pull/548#issuecomment-2185556500 although I'm not sure if it's just relevant to the image optimization handler.


Remove Planned Pieces in a radius does not work

When using the "Remove Planned Pieces" tool on the Blueprint Rune holding CTRL shows the radius for removing pieces, however no button I press confirms it. Pressing Mouse 1 or any of the other buttons will not actually remove the pieces and I am forced to remove them one by one.

I had this same problem happen. In my case the issue was an incompatibility with Craft_From_Containers which is a Thunderstore port of https://www.nexusmods.com/valheim/mods/40.  That mod thinks you are attempting to build and is overriding the Left Ctrl key to "... pull the resources into the player inventory instead of building/crafting."
Going into mod settings and changing one of the mods to NOT use the Left Ctrl key fixed the problem.

outdated I guess?


Expose Storm's testing facilities

Storm has some awesome facilities for testing topology in backtype.storm.testing. These should be exposed so that they can be used via Java. This includes:

complete-topology
time simulation
tracked topologies

This will be very helpful for testing, thanks!

I have something almost good for this now.  The idea is that I have a Spout that allows data to be injected into a queue and a Bolt that records and acks all incoming tuples in a list.  I don't have enough runtime on this yet, but the basic idea would be to do something like this:
 TestTopology test = new TestTopology(boltUnderTest);
 test.inject("a", "b", 1);
 List<Tuple> results = test.waitForEnd(100);

The argument to waitForEnd would be the number of milliseconds to wait until declaring failure.  Faster success would be allowable.

Hi Nathan, any update on Exposing Storm's testing facilities ?

Not at the moment.


Button not appearing if calculator's language isn't English

If the calculator's language is set to a language not English, the menu button and the video creator button will not appear.
The calculator's language can be changed by adding a "?lang=zn", "?lang=fr", or "?lang=ru" at the end of the link of the graph. For example, the button will appear in https://www.desmos.com/calculator/bfvoldc9ko?lang=zn, but not in https://www.desmos.com/calculator/bfvoldc9ko?lang=zn.

This is a strange bug. I was able to reproduce it, and it appears to be caused by the same issue as https://github.com/jared-hughes/DesModder/issues/59. Thanks for the report!


site request: yidio.com

eg http://www.yidio.com/show/the-pyramid-code/season-1/episode-1/2126270851

Seems the page embeds a Hulu video (In this case http://player.hulu.com/express/50122436), but the support for Hulu.com is a tough problem. See #1629


Another awesome-robotics list

Found your list and added it to my own, which is also software focused https://github.com/ahundt/awesome-robotics.

Thanks for sharing! I also added the link to your list to my list. I wish it had a different name since it's already occupied though. :sweat:

yeah... a bit unfortunate. Thanks!