text:
raspotify on ubuntu x86/x64

Is it possible to run this awesome service on regular Ubuntu server with x86/x64 architecture?

It is not, however check out librespot, which is the underlying daemon.

Any updates for that matter? @untitledlt ?

haven't tried

authors: dtcooper ltotsas untitledlt

repo: dtcooper/raspotify


text:
Added log level for librespot to control syslog verbosity.

I noticed that librespot creates a lot of log output. In one case it logged so many warnings about not being able to play a song until my raspberry pi's disk was full and died.
This change will cause it to only log errors by default instead of everything. The level can be configured via the config file.

I just encountered the exact same situation of having such large log files from librespot that my Raspberry Pi's SD card is filled. Glad to see a kind soul found a solution! Seeing as your pull request has just not been accepted yet I manually copied in the three lines of code you changed into the default and service files for raspotify.
Which log level value will produce the smallest log files for future use?

librespot is written in Rust using env_logger for logging.
The environment variable I added controls the verbosity of that logging library. I'm not sure what its most minimal log level actually is. But I think error, as I have set it here, should be pretty minimal. I tested with a spotify track that for some reason can't be played and always causes logging spam. I couldn't figure out if there is a level such as none or quiet or something like it.

Wouldn't it be better to configure a better log rotation?

@LouWii
I don't think that any user space application should be allowed to create gigabytes of log data. Especially for something like not being to able to play a single song. And when it's this easy to change that, why not do it?
That that doesn't mean log rotation isn't good to have, of course.

You're right, I actually agree with you. That's too much logging for a standard use.

@JasonLG1979 Let me ponder on this today, since I'm pushing out a new version within a few hours. Does systemd not store logs efficiently? Do you have a real world example where the size of the logs is too big?

Does systemd not store logs efficiently?

I have not experienced any issues personally because:

I always change the log level in my installation to match this pull request every time I install raspotify.

I use a 16GB SD card so there's plenty of left over room.

But others have and the default log level seems to be info which is a little overzealous for a music player and they are pretty much useless spam when things are going good. Anything important for debugging should be caught by a warn or error log level. To me it's not a matter of if systemd is efficiently storing logs or not. It's a matter of why generate them in the 1st place if they're of no real use or value.

See https://github.com/dtcooper/raspotify/pull/447#issuecomment-967751926

source: gharchive/pull-request

authors: JasonLG1979 LouWii dtcooper ifschleife jzunker

license: mit

license_type: permissive

license_source: bigquery


text:
I refactored the several code smell

Hello google team I am doing my assignment of refactoring the code smell. Please check it out and if you find it suitable you can accept the pull request

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.yuci seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant yogowang

repo: dtinit/data-transfer-project

license_source: github-api


text:
use make_unique in cpp example

As it's more vernacular due to exception safety (no naked news)

Looks like this is failing as it needs C++14 or higher.
Seeing as I'm working on adding support for std::optional, which will require C++17 or higher, @dtolnay what restrictions or not would you like on C++ standard versions supported and used?

The demo code can use any standard, that doesn't matter.
The main library should be opt-in for particular standards (and other interop like absl) as discussed in #80.

Got it. I can see how to opt-in feature detection in the C++ code, like it has been done at https://github.com/dtolnay/cxx/blob/b01e5ac7a56eda0c91e68d4353e835b4cd45ba3c/include/cxx.h#L17-L36
However, I'm not sure how to get the knowledge that the user has deliberately opted-in to a C++17 feature (by e.g. using a std::optional) into the build.rs files to set the standard flag correctly for the C++ compilers.
Any thoughts on how this can be done?

repo: dtolnay/cxx


text:
About kitti eigen split

Hi there, thank you for your amazing work!
I noticed that in the paper, you mentioned the eigensplit you had used. However, I never found any eigen train split file like other projects.
And you said to use prepare_KITTI_DP to get the kitti data but never said how to get gt (for depth annotated data, we had gt, but eigen split != annotated one)

To be specific, there had said the difference between annotated depth and the projective point depth.

And actually, I found no where to get the gt depth of the eigen train split, which is necessary for training :(

Eigen train split is a widely used train split on Kitti dataset by many papers. And actually, you may have to check previous papers for Eigen's paper and split by yourself.
Regards

Thank you for your reply!
Yes, I know that the Eigen train split is a traditional split, but how to get the gt_depth which is training necessary? Did you do it as monodepth2??

source: gharchive/issue

repo: duanyiqun/DiffusionDepth


text:
Add the option to set custom_user_agent

Add the option to set custom_user_agent when opening new connections.

Thanks!

repo: duckdb/duckdb-wasm

license: MIT


text:
Force Algorithmically dark mode

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

#4614  👈
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @malmstein and the rest of your teammates on  Graphite

repo: duckduckgo/Android


text:
Insert DefaultBrowser Cta and SearchWidget Cta as Dax dialog during Dax Journey

Task/Issue URL: https://app.asana.com/0/488551667048375/1161278038072567/f
Tech Design URL:
CC:
Description:
In this experiment we are going to place our CTAs inside our Dax Journey. Our CTAs will match the style/tone of the existing Dax dialogs.

Default Browser CTA: After the user visits a site with trackers, we prompt a Dax dialog to tell the user that we blocked all the trackers in that site. After showing that dialog we will ask the user to set us as Default browser.

Search Widget CTA: When the user visits DuckDuckGo, a Dax dialog will appear informing our users that all their searches are private. After showing that dialog we will ask the user to add our search widget to protect their future searches.

Concept test variant mj: Vanila concept test

Hardcode into variantManager variant "mj"
Perform a fresh install
Run the app and ensure onboarding doesn't show any cta
Visit a web with trackers like cnn.com
Ensure dax dialog appears informing about trackers found
Click on "High five!"
Ensure no more Ctas are shown
Visit duckduckgo.com
Ensure dax dialog appears
Click on "Phew!"
Ensure no more Ctas are shown

Concept test variant ml: Concept test with old ctas

Hardcode into variantManager variant "ml"
Perform a fresh install
Run the app and ensure during the onboarding Default browser cta appears
Visit a web with trackers like cnn.com
Ensure dax dialog appears informing about trackers found
Click on "High five!"
Ensure no more Ctas are shown
Visit duckduckgo.com
Ensure dax dialog appears
Click on "Phew!"
Ensure no more Ctas are shown
Continue the Dax journey till the end (open new tab, visit a website, open a new tab)
Ensure Search widget cta appears in home screen

Concept test variant mh: concept test with ctas as dax dialogs:

Dax Default Browser cta:

Test-1

Hardcode into variantManager variant "mh"
Perform a fresh install
Run the app and ensure onboarding doesn't show any default browser cta
Visit a web with trackers like cnn.com
Ensure dax dialog appears informing about trackers found
Click on "High five!"
Ensure DefaultBrowser cta appears
Ensure pixel "m_odc_s" is fired with "dbd" as param
Click on "Ok"
Ensure pixel "m_odc_ok" is fired with "dbd" as param
Ensure Dialog asking to set ddg as default browser appears

Repeat each of the following scenarios with previous steps:
a)
12. Click on "just once"
13. Ensure dialog appears again
14. Ensure no pixel is fired
14. Click on "always"
15. Ensure dialog dissapears
16. Ensure pixel "m_db_s" is fired with "dbo=d" as param
b)
12. Click on "just once"
13. Ensure dialog appears again
14. Click on "always"
15. Ensure dialog dissapears
16. Ensure pixel "m_db_ns" is fired with "dbo=jom" as param
c)
12. press back
13. Ensure dialog is dismissed
14. Ensure pixel "m_db_ns" is fired with "dbo=dd" as param
d)
12. select another browser
13. Go back to DDG app
14. Ensure dialog is dismissed
14. Ensure pixel "m_db_ns" is fired with "dbo=e" as param

Test-2

Hardcode into variantManager variant "mh"
Perform a fresh install
Go to settings and set as another browser as default
Run the app and ensure onboarding doesn't show any default browser cta
Visit a web with trackers like cnn.com
Ensure dax dialog appears informing about trackers found
Click on "High five!"
Ensure DefaultBrowser cta appears
Ensure pixel "m_odc_s" is fired with "dbs" as param

Repeat each of the following scenarios with previous steps:
a)
10. Click on "Go to settings"
11. Ensure pixel "m_odc_ok" is fired with "dbs" as param
12. Ensure user navigates to settings
13. Select ddg as default browser
14. Go back to the app
15. Ensure pixel "m_db_s" is fired with "fo=false, dbo=dxs" as param
16. Ensure cta is gone
b)
10. Click on "Maybe later"
11. Ensure pixel "m_odc_c" is fired with "cta=dbs" as param
12. Ensure cta is gone

Dax Search widget cta:

Test-1

Hardcode into variantManager variant "mh"
Perform a fresh install
Run the app and ensure onboarding doesn't show any default browser cta
Visit duckduckgo.com
Ensure dax dialog appears
Click on "Phew!"
Ensure SearchWidget cta appears
Ensure pixel "m_odc_s" is fired with "wa" as param
Click on "Add"
Ensure pixel "m_odc_ok" is fired with "wa" as param
Ensure cta is gone
Ensure dialog appears asking the user to add the search widget

Test-2

Hardcode into variantManager variant "mh"
Perform a fresh install
Run the app and ensure onboarding doesn't show any default browser cta
Visit duckduckgo.com
Ensure dax dialog appears
Click on "Phew!"
Ensure SearchWidget cta appears
Ensure pixel "m_odc_s" is fired with "wa" as param
Click on "Maybe later"
Ensure pixel "m_odc_c" is fired with "wa" as param
Ensure cta is gone

Test-3 (device running api < 23)

Hardcode into variantManager variant "mh"
Perform a fresh install
Run the app and ensure onboarding doesn't show any default browser cta
Visit duckduckgo.com
Ensure dax dialog appears
Click on "Phew!"
Ensure no cta appears

Test-4 (device running api 23/24/26)

Hardcode into variantManager variant "mh"
Perform a fresh install
Run the app and ensure onboarding doesn't show any default browser cta
Visit duckduckgo.com
Ensure dax dialog appears
Click on "Phew!"
Ensure SearchWidget cta appears
Ensure pixel "m_odc_s" is fired with "wm" as param
Click on "Add"
Ensure pixel "m_odc_ok" is fired with "wm" as param
Ensure cta is gone
Ensure dialog appears showing the user how to add the search widget

Internal references:
Software Engineering Expectations
Technical Design Template

Thanks for the review @marcosholgado

I added the logic to detect when the user has selected another browser from the dialog following you advice. Thanks, good point there.

AND

Changed the pixelName values to make them shorter, and also removed the ones I added. Now I use the existing ones from the onboarding. I updated the description fixing the cases I wrongly described and adding a new one for the external browser.

Fixed dismissing the dialog when the user clicks before the animation is finished.

The bug related to the instructions card I left it out of this scope and I will create a side task for that.


text:
Update OS versions

Fedora: 35
Debian: 11

These are already in .cirrus.yml. Looks like deploys have been failing again. (I really need to actually implement #19...)
Working on it over in #22.

Fixed! 🎉

authors: AstraLuma duckinator


text:
Clean memory leak in serialization document

Kick of unnecessary string copying

https://github.com/duckstax/RocketJoe/pull/157
https://github.com/duckstax/RocketJoe/pull/157/files#diff-9080035d6f1a23e6b9300ba5afe5d30b96f3a8bd295662c2180b16711b0aafe1R33-R36

repo: duckstax/RocketJoe


text:
cannot start task from azure pipeline

Hi
I've installed the 'arduino-cli' from marketplace in azure pipelines, and added the azure-pipelines.yml in my repostory (liike the example at your github).
I keep get the error  "A task is missing. The pipeline references a task called 'ArduinoCliInstall' with version '0'. This indicates that the specific task version can not be found. (job 'Job', step ''.)"
The error point to the following line in th eyml file: "- task: ArduinoCliInstall@0"
Best regards,
Mario

Hey Mario,
looks like the extension isn't installed to your organization.
Could you please check if the extension is installed here: https://dev.azure.com/{YOUR_ORGANIZATION}/_settings/extensions?tab=installed
Or use: https://dev.azure.com/ (login to your organization) > Organization Settings (bottom left) > Extensions
Then edit your azure-pipelines.yml in the portal and search for the arduino-cli tasks in the tasks menu on the right to verify you can access the tasks.

Hi Philipp,
Thank you for your quick response.
The extension is installed on my system, but after some testing I noticed
that I had to change the major version of the task ArduinoCliInstall  to 1
(instead of 0):

task: ArduinoCliInstall@1
inputs:
version: 'latest'

After that everything seems to work just fine.
Best regards,
Mario
Op ma 25 mei 2020 om 09:55 schreef Philipp Manstein <
notifications@github.com>:

Hey Mario,
looks like the extension isn't installed to your organization.
Could you please check if the extension is installed here:
https://dev.azure.com/{YOUR_ORGANIZATION}/_settings/extensions?tab=installed
Or use: https://dev.azure.com/ (login to your organization) >
Organization Settings (bottom left) > Extensions
Then edit your azure-pipelines.yml in the portal and search for the
arduino-cli tasks in the tasks menu on the right to verify you can access
the tasks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/duglah/azuredevops-arduino-cli-task/issues/1#issuecomment-633434808,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGJN6NZZR34RXQRQQRD7FNTRTIP6PANCNFSM4NI5CCWQ
.

Hey Mario,
I'm glad this works now.
So i've to update the documentation and examples.

authors: duglah elnmgoo

repo: duglah/azuredevops-arduino-cli-task


text:
Error when RUBOCOP_CHANGED_BRANCH_NAME not set

I have this error when RUBOCOP_CHANGED_BRANCH_NAME is not set, but it seems like it should not be required (https://github.com/dukaev/rubocop-changed?tab=readme-ov-file#additionally). It looks like the default base branch checking command is not working. I have the same issue on my Mac and on Ubuntu in Github Action. I googled for an answer and found some idea to run git gc, but I run this on a very "young" repo, so it looks like some nonsense. Perhaps, it's related to git version. Maybe it would be a good time to update the default command to something like: git remote show origin | sed -n '/HEAD branch/s/.*: //p' - I know, not perfect. Optimally, readme could be updated: https://github.com/dukaev/rubocop-changed/blob/51b5b8850be41ec505e109733f3d5d85d7e754c6/README.md#additionally.
$ bundle exec rubocop --require rubocop-changed
Unknown error. Please, create issue on https://github.com/dukaev/rubocop-changed/issues.
Command:
git symbolic-ref refs/remotes/origin/HEAD
Output:
fatal: ref refs/remotes/origin/HEAD is not a symbolic ref

$ cat .git/refs/remotes/origin/HEAD
cat: .git/refs/remotes/origin/HEAD: No such file or directory

Thank you! I like your idea 🔥
Could you please open PR?

authors: dukaev rubyconvict

repo: dukaev/rubocop-changed


text:
Unable to load from json data archive file inside svf package

I have loaded my own files into forge, extracted them, and downloaded the svf packages. When I run this project with your example svf, the viewer loads up fine, but when I point to my svf, I get the following errors:
E/Capacitor: Unable to open asset URL: http://localhost/assets/models/weston/Materials.json.gz
E/Capacitor/Console: File: https://developer.api.autodesk.com/modelderivative/v2/viewers/viewer3D.min.js?v=v7.* - Line 19 - Msg: Error while processing SVF: {"url":"http://localhost/assets/models/weston/Materials.json.gz","httpStatus":404,"httpStatusText":"OK"}
The Materials.json.gz file is there, and there is json data in it. I also checked permissions on the files and folders. It appears the javascript in the model derivative api cannot access the json. Am I interpreting the error incorrectly? I would welcome any help you could offer. Thanks

When I run npm start it loads properly in the browser, it just runs into the error when loading into Android studio and running on emulator. The javascript from autodesk.com seems to load in the other resources in the SVF package, but stops on this file.

Sorry to get back late - was away on extra break due to the coronavirus outbreak.
However I was unable to reproduce the issue - your model loads fine when I tried:

Here's my setup:
// src/forge.viewer.ts
export class ForgeViewer {
  svfURL = 'assets/models/weston/weston.svf';export class ForgeViewer {
  svfURL = 'assets/models/weston/weston.svf';

.
├── app
│   ├── app-routing.module.ts
│   ├── app.component.html
│   ├── app.component.scss
│   ├── app.component.spec.ts
│   ├── app.component.ts
│   ├── app.module.ts
│   ├── shared
│   │   └── services
│   │       └── forgeViewerLoader.service.ts
│   └── viewer
│       ├── forge.viewer.html
│       ├── forge.viewer.module.ts
│       ├── forge.viewer.scss
│       ├── forge.viewer.spec.ts
│       └── forge.viewer.ts
├── assets
│   ├── icon
│   │   └── favicon.png
│   ├── models
│   │   └── weston
│   │       ├── 0.pf
│   │       ├── 0_0_0.9152F9BC539BCC31208EBEF9B803EDC2.jpg
│   │       ├── Antenor_groundTop.png
│   │       ├── Antenor_middle.png
│   │       ├── Apemantus_groundTop.png
│   │       ├── Apemantus_middle.png
│   │       ├── CameraDefinitions.bin
│   │       ├── CameraList.bin
│   │       ├── Curb.jpg
│   │       ├── Elisabeth_groundTop.png
│   │       ├── Elisabeth_middle.png
│   │       ├── FragmentList.pack
│   │       ├── GeometryMetadata.pf
│   │       ├── InstanceTree.bin
│   │       ├── Lear_groundTop.png
│   │       ├── Lear_middle.png
│   │       ├── LightDefinitions.bin
│   │       ├── LightList.bin
│   │       ├── Materials.json.gz
│   │       ├── Paulus_groundTop.png
│   │       ├── Set.bin
│   │       ├── asphalt2.jpg
│   │       ├── bench01.jpg
│   │       ├── bikebricks01.jpg
│   │       ├── concrete.jpg
│   │       ├── diamond03.jpg
│   │       ├── kiesdecke_2.jpg
│   │       ├── objects_attrs.json.gz
│   │       ├── objects_avs.json.gz
│   │       ├── objects_ids.json.gz
│   │       ├── objects_offs.json.gz
│   │       ├── objects_vals.json.gz
│   │       ├── objects_viewables.json.gz
│   │       ├── p_cityBlock04a.jpg
│   │       ├── p_fill01.jpg
│   │       ├── p_fill04a.jpg
│   │       ├── properties.db
│   │       ├── squarebricks.jpg
│   │       ├── stone.jpg
│   │       ├── weston.svf
│   │       ├── weston.svf.png01_thumb_100x100.png
│   │       ├── weston.svf.png01_thumb_200x200.png
│   │       └── weston.svf.png01_thumb_400x400.png
│   └── shapes.svg
├── environments
│   ├── environment.prod.ts
│   └── environment.ts
├── global.scss
├── index.html
├── main.ts
├── polyfills.ts
├── test.ts
├── theme
│   └── variables.scss
└── zone-flags.ts

I know this issue is closed, and that the problem must be on my machine, but I am still getting this issue with all SVF's I test with (3 so far). I have tried redownloading the project and reinstalling Android Studio. It can definitely read the file location because in the Android Studio Debug log I get:
D/Capacitor: Handling local request: http://localhost/assets/models/caliper/0.svf
D/Capacitor: Handling local request: http://localhost/assets/models/caliper/0.pf
These appear to be seen and handled fine, but then it is unable to load this file:
E/Capacitor: Unable to open asset URL: http://localhost/assets/models/caliper/Materials.json.gz
Which is right in the same location. Then the debugger throws the error:
E/Capacitor/Console: File: https://developer.api.autodesk.com/modelderivative/v2/viewers/viewer3D.min.js?v=v7.* - Line 19 - Msg: Error while processing SVF: {"url":"http://localhost/assets/models/caliper/Materials.json.gz","httpStatus":404,"httpStatusText":"OK"}
I am using Windows 10, Android Studio 3.6, Android SDK 28, java 8, Gradle 4.1, node 12.15, npx 6.13.7, angular 8.1.3, and I am launching 'app' on Pixel 2 API 28
I have tried checking file permissions, pausing anti-virus software, regenerating the SVF's,
I welcome any help you could offer. Thanks

repo: dukedhx/viewer-ioniccapacitor-angular


text:
Invalid user/group name or numeric ID

Today I woke up to a broken server.  This was the result of systemctl status strema.service .
   streama.service
   Loaded: loaded (/etc/systemd/system/streama.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2017-08-21 07:17:51 EDT; 3h 40min ago
   Main PID: 1029 (code=exited, status=1/FAILURE)
   CPU: 49.798s

Aug 21 07:18:28 linuxserver systemd[1]: [/etc/systemd/system/streama.service:5] Invalid user/group name or numeric ID, ignoring: [USER TO RUN APP]
Aug 21 07:18:28 linuxserver systemd[1]: [/etc/systemd/system/streama.service:8] Unknown lvalue 'ConditionPathExists' in section 'Service'
Aug 21 07:18:28 linuxserver systemd[1]: [/etc/systemd/system/streama.service:1] Assignment outside of section. Ignoring.
Aug 21 07:18:28 linuxserver systemd[1]: [/etc/systemd/system/streama.service:2] Assignment outside of section. Ignoring.
Aug 21 07:18:28 linuxserver systemd[1]: [/etc/systemd/system/streama.service:5] Invalid user/group name or numeric ID, ignoring: [USER TO RUN APP]
Aug 21 07:18:28 linuxserver systemd[1]: [/etc/systemd/system/streama.service:8] Unknown lvalue 'ConditionPathExists' in section 'Service'
Aug 21 07:18:28 linuxserver systemd[1]: [/etc/systemd/system/streama.service:1] Assignment outside of section. Ignoring.
Aug 21 07:18:28 linuxserver systemd[1]: [/etc/systemd/system/streama.service:2] Assignment outside of section. Ignoring.
Aug 21 07:18:28 linuxserver systemd[1]: [/etc/systemd/system/streama.service:5] Invalid user/group name or numeric ID, ignoring: [USER TO RUN APP]
Aug 21 07:18:28 linuxserver systemd[1]: [/etc/systemd/system/streama.service:8] Unknown lvalue 'ConditionPathExists' in section 'Service'

Restarting the service fixed the application.

Can you post your streama.service?

Here's the file
Description=streama
After=syslog.target

[Service]
User=[USER TO RUN APP]
ExecStart=/data/streama/streama.war
SuccessExitStatus=143
ConditionPathExists=/data/streama/streama.war

[Install]
WantedBy=multi-user.target

User=[USER TO RUN APP] is that actually what it's set to? Or did you remove it for privacy?
Take a look at this one:
[Unit]
Description=Streama Server
After=syslog.target
After=network.target

[Service]
User=root
Type=simple
WorkingDirectory=/data/streama/
ExecStart=/data/streama/streama.war
TimeoutStartSec=120
Restart=on-failure
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=Streama

[Install]
WantedBy=multi-user.target

You probably want to change User=root to a less privileged user too.

User=[USER TO RUN APP] is what it's actually set to.  I will try your config.

User should be set to a real user, I suspect that's where the original issue lies.

I suspect that is the problem with my config.  Interesting that it still works without an actual user but I'll change it to yours instead.

repo: dularion/streama


text:
Sidebar popping in and out of tab format

Description
The sidebar is popping in and out of tab format at around 1220x924px on a resource.
https://www.loom.com/share/9d166d5f15c54e25a6a6258b26350d45
As shown in the Loom I have tried this with the same amount of tabs within a resource which seems to work fine.
Steps to reproduce

Have a resource with a sidebar (may also need 2+ tabs)
Resize the windo to 1220x924px
Watch the magic happen

Environment
Environment
Laravel Version: 9.21.6
PHP Version: 8.1.8
Composer Version: 2.3.5
Environment: local
Debug Mode: ENABLED
Maintenance Mode: OFF
Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED
Drivers
Broadcasting: log
Cache: statamic
Database: mysql
Logs: stack / single
Mail: smtp
Queue: sync
Session: file
Statamic
Addons: 1
Antlers: runtime
Version: 3.3.33 PRO
Statamic Addons
doublethreedigital/runway: 2.5.3

Sorry mate, I can't seem to reproduce on my sandbox site.
When you can, would you be able to push up the changes with Runway installed onto a branch so I can pull it down to test with? Thanks 😄

I'm going to close this for now - if you're able to reproduce it, lemme know the branch and I'll re-open and take a further look.

authors: JKHarley duncanmcclean

repo: duncanmcclean/runway


text:
Does frankenphp will cache the code?

Hi
Using this image FROM dunglas/frankenphp:latest
I installed fresh Laravel + octane and when the container is up, when I edit the welcome blade it will not reflect the changes.
also, I tried to add a route in web.php when I accessed the route it showed not found. This will be reflected if I run to the container php artisan optimize. then if edited again it goes back to the problem it will not reflect.
How can I fix this?
Thank you in advance.

Could you share your entire code? docker-compose.yml and Dockerfile? Did you configure the file watcher?

Could you share your entire code? docker-compose.yml and Dockerfile? Did you configure the file watcher?

Here is my dockerfile ,docker-compose and package.json
Docker desktop version
Docker Desktop 4.33.1 (161083)
FROM dunglas/frankenphp:latest AS builder

RUN install-php-extensions \
    pdo_mysql \
    gd \
    intl \
    zip \
    opcache\
    pcntl\
    @composer

RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - \
    && apt-get install -y nodejs \
    && npm install -g npm@latest \
    && node --version \
    && npm --version

RUN apt-get update && apt-get install -y \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

WORKDIR /app

COPY . /app

RUN npm install

EXPOSE 5173

FROM builder  AS development

RUN composer install

ENTRYPOINT ["php", "artisan", "octane:frankenphp"]

docker-compose
    php2:
        container_name: larabells
        build:
            context: .
            dockerfile: ./docker/web.dockerfile
            target: development
        image: larabells

        ports:
            - "80:80"
            - "443:443"
            - "443:443/udp" # HTTP/3
            - "5173:5173"
        volumes:
            - ./:/app
        entrypoint: php artisan octane:frankenphp --watch --host=larabells.local --port=443  --admin-port=2019 --https
        environment:
            - SERVER_NAME=larabells.local

        env_file:
            - ./.env
        networks:
            - mynetwork

I also tried to add a watch as you mentioned above but still not working
here is my pacakte.json
{
    "private": true,
    "type": "module",
    "scripts": {
        "dev": "vite",
        "build": "vite build"
    },
    "devDependencies": {
        "@tailwindcss/forms": "^0.5.2",
        "alpinejs": "^3.4.2",
        "autoprefixer": "^10.4.2",
        "axios": "^1.6.4",
        "chokidar": "^3.6.0",
        "laravel-vite-plugin": "^1.0",
        "postcss": "^8.4.31",
        "tailwindcss": "^3.1.0",
        "vite": "^5.0"
    }
}

here is my api.php, I tried in postman but always return hello-1. even I edit it to hello-2.
Route::get('/books', function (Request $request) {
    return 'hello-1';
})->middleware('auth:sanctum');

Here is my vite.js
export default defineConfig({
    plugins: [
        laravel({
            input: [
                'resources/css/app.css',
                'resources/js/app.js',
            ],
            refresh: true,
        }),
    ],
    server: {
        hmr: {
            host: 'localhost',
        },
        host: '0.0.0.0',
    }
});

Thank you in advance

Thank you in advance

Take a look at this how to use octane in dev environment with the max-requests flag

Have you tried installing chokidar globally in your Dockerfile? This works form me:
...

RUN npm i chokidar -g
ENTRYPOINT ["php", "artisan", "octane:frankenphp", "--watch"]

Thank you guys,
I fixed my problem I just need to delete the vendor and install it again :)

I re-open again this because HMR is not working althought the api is working when I edit and then request via postman I can see the correct response. only HMR is not working

I reinstalled the vendor and the API is working i can see now the updated response

authors: AlliBalliBaba ezekel sneycampos

repo: dunglas/frankenphp


text:
Fix eq operator in Connection class

This is the most "standard" way of using the eq operator, at least according to the doc https://docs.python.org/2/reference/datamodel.html. By making this change I was able to execute the prepare operation without problem, but I can't confirm it didn't change the previous behavior.

@laurrentt would you mind agreeing to our CLA just to make sure everyone's bases are covered? We didn't have the CLA bot ready to go yesterday. This link should work: https://cla-assistant.io/duo-labs/cloudmapper?pullRequest=9

@kylelady Done

Thanks!

authors: kylelady laurrentt

repo: duo-labs/cloudmapper


text:
After token timeout the user is logged out

See the trace here:

The call gives 401, the FE calls refresh with a 200 response but then calls logout for some reason.
The 500 after happens because the token is invalidated.

Another version with two refresh attempts and a logout:

In that one you can see that the call in between actually works, but the spurious logout breaks it.

repo: duplicati/ngclient


text:
🛑 Mention Robot is down

In 9f9748d, Mention Robot (https://backend.isbotdown.com/bots/mentionrobot) was down:

HTTP code: 200
Response time: 164 ms

Resolved: Mention Robot is back up in 289d68f.

repo: durof/status


text:
🛑 Mention Bot is down

In a130357, Mention Bot (https://backend.isbotdown.com/bots/mentionbot) was down:

HTTP code: 200
Response time: 102 ms

Resolved: Mention Bot is back up in 8ff41e6.


text:
Rename Vaults to Spaces

Description

Risk

Deploy Plan

wow

authors: flvndvd spolu

repo: dust-tt/dust


text:
Nil-value of ReplaceAttr leads to crash

Thanks for a very nice handler and a nice blog post describing it.
I just tried it out and ran into a crash that took me some time to debug.
I followed your example:
prettyHandler = prettylog.NewHandler(&slog.HandlerOptions{
    Level:       slog.LevelInfo,
    AddSource:   false,
    ReplaceAttr: nil,
})
logger := slog.New(prettyHandler)

and the code crashed on line 88 in prettylog.go
https://github.com/dusted-go/logging/blob/d9463cd16bc29441d9ec08d75fc49c5508cdb6df/prettylog/prettylog.go#L88
What I needed to do was to set ReplaceAttr to a trivial function that propagates the levelAttr, but I think it would be better that one has a check in the code whether h.r == nil and then skip the mapping, so that one can leave the ReplaceAttr function empty.

@tobbee - do you have that trivial function that propagates the levelAttr

replacer := func(groups []string, a slog.Attr) slog.Attr {
	if a.Key == slog.SourceKey {
		source := a.Value.Any().(*slog.Source)
		source.File = filepath.Base(source.File)
	}
	return a
}

var prettyHandler = prettylog.NewHandler(&slog.HandlerOptions{
Level:       slog.LevelInfo,
AddSource:   true,
ReplaceAttr: replacer,
})
logger := slog.New(prettyHandler)
logger.Info(
"incoming request",
"method", "GET",
"time_taken_ms", 158,
"path", "/hello/world?q=search",
"status", 200,
"user_agent", "Googlebot/2.1 (+http://www.google.com/bot.html)",
)

This is what I used f := func(groups []string, a slog.Attr) slog.Attr { return a }
https://github.com/Dash-Industry-Forum/livesim2/blob/53093cba4d3032d9b6072f7034fd6361cfcd0f1c/pkg/logging/init.go#L29C1-L29C65

oh amazing, thanks for raising the issue. I'll try to fix this later today!

Thanks again, this should be fixed now!

authors: berzileux dustinmoris tobbee

repo: dusted-go/logging


text:
preserve host ssh agent

I created an issue on nixos-darwin and thought I would link to it here in case anyone else has this issue while basing their config off of this repo:
https://github.com/LnL7/nix-darwin/issues/979

@gjolund Hi, as this code doesn't live in this repository, I will close this issue for now. However, I like that it's linked here so that we can reopen and track any relevant work if needed in the future.
Thanks!

authors: dustinlyons gjolund

repo: dustinlyons/nixos-config


text:
Create LICENSE

MIIT

@duyetbot merge when complete CI

repo: duyet/new-blog


text:
How to use the functionality of resetFields in customized Form Item Component?

I build a customized form item Component, which exposed changes to its props.onChange, so the form's getFieldDecorator can feel it changes.
But it fails to reset itself when the form call resetFields api, I want to know how I can reset its value when the form call resetFields?

My component is something like a wrapper of CheckboxGroup

ooops...I write this issue in a wrong repo...
closed...

repo: dvajs/dva


text:
May I ask if the format of the video file inferred from long videos is the format after feature extraction? Why do I always report errors and cannot recognize video information

--video-file ./feat_dir/tt0032138.pkl  The file is fully calculated and extracted based on long video inference

Hi. You may change --question Summarize video information to --question 'summarize video information'

Hi. You may change --question Summarize video information to --question 'summarize video information'

Hello, I would like to ask if increasing the sampling rate of long videos can reduce the memory occupied by model inference. Because I use
extra_tool/extract_video_features_subtitles.py
file for inference,
it shows that my 3090 24g memory is not enough. I am asking for the def load to increase the video sampling rateb sample avoid this situation.

Yes, increasing the sampling rate results in fewer input tokens for LLMs, thereby reducing the GPU memory.
Meanwhile, if you have more than one 3090 GPU on the same machine, you may try multi-GPU inference, which use model parallel to save GPU memory.

repo: dvlab-research/LLaMA-VID


text:
No examples for using appendElement?

Hi,
I'd like to see an example for using the appendElement in the call to showModal().  Could you add it to the examples? :-)
Cheers,
Allister

Like this.
appendElement: angular.element(document.getElementsByClassName('container'))

If others have the same issue I'll add more to the samples, but I think the documentation is fairly clear on this one!

authors: axx droptheplot dwmkerr

repo: dwmkerr/angular-modal-service


text:
[WiP] Initialises readme and adds example

not ready for review
@finnhodgkin and I have added an intro to webrtc and an example of how to create a text with video chat using it.
We still need to add styling as it is currently completely unstyled, and add tests (which may be difficult due to the interaction with SimpleWebRTC).
#3

@ZooeyMiller this is looking really good so far! 🎉

authors: ZooeyMiller nelsonic

repo: dwyl/learn-WebRTC


text:
feat(plugin-space): default content on space creation

Resolves #7824
https://github.com/user-attachments/assets/1e341c87-fa57-467a-a72f-35b24e94a545

Should the new space be expanded in the NavBar now that there's a new item there?

authors: ZaymonFC wittjosiah

repo: dxos/dxos


text:
Fall back to host name if model name is not found.

Description
On Debian GNU/Linux 11 (bullseye) on WSL, the device model is not shown, since none of the files get_model searches for are present. One might consider falling back to the host name in that case.
Features
Issues
TODO

But the hostname doesn't always contain model information though... Also, the hostname is already displayed beside the username, so I don't think it would make sense to repeat it in the model field

Didn't think of that.:sweat_smile: I always thought it is the same as the device name.

authors: hykilpikonna tfpf

repo: dylanaraps/neofetch


text:
full screen games with resolution different from my screen's resolution open up with black bars on the bottom and the top.

is it because there is no ewmh support?
if yes, i understand why you wouldn't want to include ewmh support, i could maybe write a patch(when i get the time). is implementing ewmh support hard?
if not, what can i do for my game(tf2) to scale correctly?
edit: minecraft seems to scale correctly, maybe it's tf2's fault. though it works fine on dwm

I don't play or have any games installed on my system. I run musl as well so only few games will run if I try them. Is there an open source game I can compile so I can try and reproduce this issue?
I don't know if this is EWMH related or not too. Try catwm (which also has no support for EWMH) to see if it occurs there as well. :+1:

I've tried it in catwm and it also didn't work.
I've also tried minecraft. Minecraft seemed to work fine both in windowed and in fullscreen mode.
One open source game that i don't think is dependent on glibc is xonotic, but it also runs fine.
It is probably ewmh. I'll try to figure it out on my own since i'm probably one of the few that want to run tf2+a wm with no ewmh.
I'll try to be back with results(and a patch if needed) as soon as possible(might take up to a week).

Well i asked around and people are saying that the wm shouldn't matter, though i'm seeing that that is not the case.
I might not be able to write the patch, i yet don't know if ewmh is really the cause of this and it's also quite difficult to implement ewmh support.

Tomorrow, i'm going to slowly start removing stuff from dwm until fullscreen games break, then i'll know exactly what to add to my patch

Well i'm making progress!
I've removed ewmh support from dwm and it seems to have broken tf2, well now i know that i was indeed right with my assumption that ewmh was the problem,  now i got to figure out what part of ewmh i need to implement and also how to implement it.

repo: dylanaraps/sowm


text:
[Snyk] Security upgrade @backstage/plugin-permission-common from 0.0.0-use.local to 0.1.0

Snyk has created this PR to fix 4 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):

plugins/playlist-common/package.json

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Asymmetric Resource Consumption (Amplification) SNYK-JS-BODYPARSER-7926860
  112

Cross-site Scripting SNYK-JS-EXPRESS-7926867
  80

Cross-site Scripting SNYK-JS-SEND-7926862
  80

Cross-site Scripting SNYK-JS-SERVESTATIC-7926865
  80

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Cross-site Scripting

🎉 Snyk hasn't found any issues so far.
✅ code/snyk check is completed. No issues were found. (View Details)

repo: dylansnyk/backstage


text:
[Snyk] Security upgrade @backstage/theme from 0.0.0-use.local to 0.1.1

Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):

plugins/apollo-explorer/package.json

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Regular Expression Denial of Service (ReDoS) SNYK-JS-CROSSSPAWN-8303230
  170

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Regular Expression Denial of Service (ReDoS)

:tada: Snyk checks have passed. No issues have been found so far.
:white_check_mark: security/snyk check is complete. No issues have been found. (View Details)
:white_check_mark: license/snyk check is complete. No issues have been found. (View Details)


text:
Using multiple ANY throws an exception

Hello

I have use multiple any in the where query, but when I parse the expression, I get the following exception:
Unknown identifier 'i' (at index 31).
Can you please tell me what I am doing wrong here?
Thanks
S

Hi @saadsaeed01, could you create a reproducible example? There are too many unknown classes here. Also please don't paste code as image, we can't copy it into an editor.

Hello @metoule
Thank you for the reply.
Apologies for sending the image. I will create an example and post it here. It may take some time.
What I am trying is to access domain model Organization. Organization contains a list of funds, and those funds contain other lists such as subsectors.
Wanted to ask that whether we can create an expression with such complex relations?
Best Wishes
S

Ok, I managed to reproduce the issue.
public class Organization
{
	public List<InvestorFund> InvestorFunds { get; set; } = new();
}

public class InvestorFund
{
	public List<InvestorFundSubSector> InvestorFundSubSectors { get; set; } = new();

}

public class InvestorFundSubSector
{
	public SubSector SubSector { get; set; } = new();
}

public class SubSector
{
	public string Name { get; set; }
}

void Main()
{
	var whereExpression = "organization.InvestorFunds.Any(i => i.InvestorFundSubSectors.Any(s => s.SubSector.Name == 'Test'))";
	var interpreter = new Interpreter();
	var expr1 = interpreter.ParseAsExpression<Func<Organization, bool>>(whereExpression, "organization");
}

There are two issues here:

You must enable lambda expression support
You must use double quotes for strings

To fix your issues, please use the following code:
var whereExpression = "organization.InvestorFunds.Any(i => i.InvestorFundSubSectors.Any(s => s.SubSector.Name == \"Test\"))"; // surround Test with double quotes
var interpreter = new Interpreter(InterpreterOptions.Default | InterpreterOptions.LambdaExpressions); // enable lambda expressions
var expr1 = interpreter.ParseAsExpression<Func<Organization, bool>>(whereExpression, "organization");

DynamicExpresso works as expected, so I'll close the issue :)

repo: dynamicexpresso/DynamicExpresso


text:
docs(schema.md): Improve documentation consistency and grammar

Summary:
While reading through the schema.md documentation I found that there were some inconsistencies in the way that code references were being formatted. I also found that there were a few references to var instead of const and also made some changes to incorrect usages of grammar.

Updates incorrect grammar
Updates usages of var
Updates code references to be wrapped in backticks

Is this ready to be merged into Dynamoose? (select 1):

[ ] Yes
[x] No

Other:

[x] I have searched through the GitHub pull requests to ensure this PR has not already been submitted
[x] I have updated the Dynamoose documentation (if required) given the changes I made
[x] I have added/updated the Dynamoose test cases (if required) given the changes I made
[x] I agree that all changes made in this pull request may be distributed and are made available in accordance with the Dynamoose license
[x] All of my commits and commit messages are detailed, explain what changes were made, and are easy to follow and understand
[x] I have filled out all fields above

Updated based upon your feedback. Anything else you need?

repo: dynamoosejs/dynamoose

license: Unlicense


text:
feat: add explicit port routing & go tools bump

This contains (will contain):

[x] go toolchain upgrades, fixes & new image
[x] metrics port fix (use internal ports, external makes zero sense for crane)
[x] deploymentStrategy rename and usage - it will actually be used
[x] explicit option to select target ports when defining routing (both agent & crane)

Codecov Report
Patch coverage: 54.79% and project coverage change: +0.26% :tada:

Comparison is base (5cb9c7a) 24.10% compared to head (a770867) 24.37%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #808      +/-   ##
===========================================
+ Coverage    24.10%   24.37%   +0.26%
===========================================
  Files           62       62
  Lines         5965     5973       +8
===========================================
+ Hits          1438     1456      +18
+ Misses        4421     4411      -10
  Partials       106      106

Files Changed
Coverage Δ

golang/api/v1/deploy.go
80.61% <ø> (ø)

golang/internal/grpc/grpc.go
0.00% <0.00%> (ø)

golang/pkg/crane/k8s/deploy_facade.go
0.00% <0.00%> (ø)

golang/pkg/crane/k8s/deployment.go
11.23% <0.00%> (-0.03%)
:arrow_down:

golang/pkg/crane/k8s/ingress.go
0.00% <0.00%> (ø)

golang/pkg/crane/k8s/service.go
0.00% <0.00%> (ø)

golang/pkg/dagent/utils/preflight.go
0.00% <0.00%> (ø)

golang/pkg/dagent/utils/release.go
13.09% <0.00%> (+0.45%)
:arrow_up:

golang/internal/mapper/grpc.go
64.25% <40.00%> (-0.32%)
:arrow_down:

golang/internal/util/array.go
100.00% <100.00%> (ø)

... and 3 more

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

Tested, seems working.

authors: codecov-commenter m8vago nandor-magyar

repo: dyrector-io/dyrectorio


text:
Add Great Expectations validations to the SupermetricsToAzureSQL flow

Validate at three stages:

[x] before writing to disk (= source data is valid)
[ ] after loading to data lake (= ingestion worked)
[ ] after loading to Azure SQL Database (= final dataset is intact)

This will be done differently; the validations 2) and 3) will be done on the data lake but most probably using Dremio/DBT, hence I'll open another issue for that.

repo: dyvenia/viadot


text:
Parameter constant descriptions are wrong for Parts.SpringDamper

parameter Modelica.SIunits.TranslationalDampingConstant d_x(final min = 0, start = 1) "Spring constant in x dir";
 parameter Modelica.SIunits.TranslationalDampingConstant d_y(final min = 0, start = 1) "Spring constant in y dir";
 parameter Modelica.SIunits.RotationalDampingConstant d_phi(final min = 0, start = 1) "Spring constant in y dir";

Should say Damping constant instead and phi dir instead of y dir for d_phi

Fixed

authors: johanrhodin tobolar

repo: dzimmer/PlanarMechanics


text:
Can anyone teach on how to setup this?

pls

which framework are you going to use this lib?
First, you will need to install it: npm install --save html2pdf.js
For javascript-based frameworks like Vue, React.js, Angular, you should import this lib on the top of the component.
React.js for example : import html2pdf from "html2pdf.js";
Finally, you can use this code to export pdf.
    const element = document.getElementById('report');
    const opt = {
      margin:       [0, -150],
      filename:     'report.pdf',
      image:        { type: 'jpeg', quality: 1 },
      html2canvas:  { scale: 2 },
      jsPDF:        { orientation: 'portrait' , unit: 'pt', format: 'a4'}
    };

    html2pdf().set(opt).from(element).save();
    html2pdf(element, opt);

@7axiomsOfEuclid Hi I am having a very weird issue - the function works on first load but after I refresh the page the button/functionality no longer downloads. Then back in my code editor I delete the function call, save, add the function call, and the function works again until I refresh the page. I'm using React with Typescript. Any ideas?

authors: alexchoiweb axiom88dev jaydenkoh


text:
DomainParticipant get/set_default_subscriber_qos

Implementation of get/set_default_subscriber_qos on PIM
Unit test for get/set_default_subscriber_qos on PIM
link PSM get/set_default_subscriber_qos methods to PIM
Unit test for get/set_default_subscriber_qos on PSM

NOTE: This PR must be merged after #1073

Build status:

Linux
Mac
Windows

Build status:

Linux
Mac
Windows

Closed as the changes are already included in #1122

Build status:

Linux
Mac
Windows

authors: IkerLuengo richiware

repo: eProsima/Fast-RTPS


text:
add INSTALL_EXAMPLES option defaulting to ON

This PR adds a INSTALL_EXAMPLES option that, if set to OFF, doesn't install the examples' code to the install prefix.

@richiware friendly ping

Sorry @mikaelarguedas. This week i'm not working.next week i will check
your PR.
El lun., 9 jul. 2018 20:05, Mikael Arguedas notifications@github.com
escribió:

@richiware https://github.com/richiware friendly ping
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/eProsima/Fast-RTPS/pull/238#issuecomment-403568852,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGEOrRzA2SX6fKo7rTfy702G19_uUmNLks5uE5tegaJpZM4U6Ee1
.

Thanks @mikaelarguedas

authors: mikaelarguedas richiware


text:
New attribute type: automatic identifier

Anna (Saône) has suggested to add an attribute type that is filled automatically with a unique identifier when an instance of a context is created. This would be similar to the serial attribute type in postgres. Example: auto assignment of a unique Fundnummer in the field.

Same thing is needed in PotCat project

This is fixed in the rewritten vuejs version. Testing is much appreciated.

repo: eScienceCenter/Spacialist


text:
nonexistent packages

May i suggest to replace nonexistent packages:
"components/jquerydialogextendjs": ""
"components/placeholdersjs": ""
with:
"wg-rolf/placeholdersjs": "v1.0.0"
"wg-rolf/jquery-dialogextend": "v1.0.0"

https://github.com/eSlider/vis-ui.js/commit/ca4426588a854b896796c55e82c6168066f97500
https://github.com/eSlider/vis-ui.js/commit/d29c319a95c6385fe90f614db2f48ee1a6cd5be3

authors: debugteam eSlider


text:
Excel Importer - New features

Hello,
The Excel Importer is a really nice feature and I would like to ask for new features.
Well two nice features would be.

parameter before import defining if non existing data from reference should be created or not. (if not so this should be considered like error)

A progress bar informing the status. I imported 1.5k of records with 20 columns. It worked goot but for 45 seconds I did not know what was happening.

BR
ISA

see #185  for your first point

N1 is different from https://github.com/eXpandFramework/eXpand/issues/185
This is should probably be part controlled by import stragegy.

hmm you are right my bad sorry

However, in the update and create scenario, it is really important to have an understanding of what happened after importing large and complex files (this has been requested a lot) - https://github.com/eXpandFramework/eXpand/issues/175

sure it relates but lets discuss #175 separately is too complex task and we need a smart solution, Feel free to update your suggestion if you have ideas.
N1 looks like #185 we can introduce a new field FailWhenNotFound perhaps?? because the ImportStrategy applies to the main object type and cannot be used again.

now I got it we can introduce an ImportStrategy on each field similar to the main object

Why not have the same strategy field for each import field?

man, reading it again :)

Why not have the same strategy field for each import field?

i cannot follow

now I got it we can introduce an ImportStrategy on each field similar to the main object
I meant the same. You typed 10 seconds faster.

wrong cause I already change my mind :) #175 is the first item of the new
public enum PersistentTypesImportStrategy {
        SkipEmpty,
        CreateAlways,
        UpdateOrCreate,
StillThinkingWhatCanBeHere
    }

So why should it be different from ImportStrategy?
SkipEmpty does is not needed - if it is empty, you always skip it.
public enum ImportStrategy{
        CreateAlways,
        UpdateOrCreate,
        SkipOrCreate
    }

but it WOULD be great to define this per each reference property. By default, after mapping fields, it could be the same as main ImportStrategy

@isatahiri suggested a failed mode which does not exist in main strategy

What we had to do after importing files like this - go and check if no records were created after import, both master record and reference. When they were not meant to be and if this happened it means there was a spelling error in the import file

these strategies sound very useful however my feeling is that your spelling work could be reduced with the use of the Soundex function
https://database.guide/how-the-sql-server-soundex-function-works/

Well, spelling is just one scenario (and thanks for the link).
There could be a multitude of reasons why UpdateOnly would be preferred.

nightly build
https://www.dropbox.com/s/uouf1bgzgwlyiiz/eXpandFramework-18.1.6.26.exe?dl=0
https://www.dropbox.com/s/6atodgc1fk729m6/Nupkg-18.1.6.26.zip?dl=0

I am locking this one is getting too long, open new posts for each case please.

authors: apobekiaris emeyke isatahiri

repo: eXpandFramework/eXpand

license: MS-PL


text:
Complex transformation ratio

It is necessary to perform the calculation taking into account the complex transformation ratio.

Complex transformation ration was added on https://github.com/ealux/PowerFlowCore/commit/f845a0096c42d49f14cac8f8eb4964356a7fb287.

authors: Windsl ealux

repo: ealux/PowerFlowCore


text:
Fix the issues with shared libraries

Currently when easylogging++ is used in shared libraries as well as the application linked to that shared libararies, it's pain to get it all working. We need to fix this as this is common design with large C++ applications.
NOTE: We will wait until #445 is finished so we can re-think design slightly

I have static and shared libs working fine on macOS with Xcode. I'll push the projects sometime this week.

On XCode, it works for me too but when I used Qt Creator IDE or built it using cmake (on terminal) on  thesame system it was crashing.

Compile in Xcode and then copy the compile and link transcripts. There must be some configuration option Xcode is passing to clang/ld that the others are not.

Static lib is still problem but shared is working fine
See samples/stl/static-shared-lib

This is after #445 (issue with static)

It looks all good to me now. It's matter of compiling it right.

repo: easylogging/easyloggingpp


text:
Toast Components

[LEVEL]/[COMPONENT]
TASK:
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Only
[ ] Refactor

Description, Motivation and Context

Screenshots - Animations

you can take a look at https://github.com/eatozee/nftoupon/pull/5 PR... this PR using react-hot-toast... We have decided to use react-hot-toast please let me know if we have a different plan 😺

repo: eatozee/nftoupon


text:
🛑 hosted-PalmettoGBA is down

In 26cfd85, hosted-PalmettoGBA (https://palmettogba.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hosted-PalmettoGBA is back up in 82ffd21.

repo: eatyourselfnow/BlueSiteStatus


text:
StatelessProgrammableSwitches no longer working properly

I'm not sure if this is a bug with homebridge-lib or if it's upstream in Homebridge, so I'm hoping you can help debug it. I wrote a super simple plugin that exposes a single StatelessProgrammableSwitch service per accessory.
One of my users reported that Homebridge is only triggering an event if  Characteristic.ProgrammableSwitchEvent changes, i.e I can't send multiple Characteristic.ProgrammableSwitchEvent.SINGLE_PRESS in a row. It'll only trigger on the first one. If I send different events, it works fine.
I can see that homebridge-lib is logging this: platform-test Switch: set Programmable Switch Event to 0 and then platform-test Switch: set Programmable Switch Event from 0 to 1 so it feels like it's storing the current value on and only setting it if it changes.  I just can't find where this is happening.
Any ideas?

I've worked out that it's https://github.com/ebaauw/homebridge-lib/blob/master/lib/CharacteristicDelegate.js#L207 not returning true for a ProgrammableSwitchEvent which means that https://github.com/ebaauw/homebridge-lib/blob/master/lib/CharacteristicDelegate.js#L248 will only allow the value to change if the event changes.

That would be an issue with HAP-NodeJS not setting eventOnlyCharacteristic.  I understand this is a manual action, after generating the Service and Characteristics types from the HomeKit Accessory Simulator.  What version of HAP-NodeJS are you using?

Whatever ships with Homebridge 1.3.1, I guess. I'm not doing anything with HAP-NodeJS in particular.

No response yet from Homebridge collaborators, published v5.0.9 with workaround.

Confirmed that the workaround works for my plugin. Thanks!

authors: Djelibeybi ebaauw

repo: ebaauw/homebridge-lib


text:
Column Constraint for Enum types should cover all Enum values in an inheritance hierachy

As discussed [here] (https://groups.google.com/d/topic/ebean/e1ogljqjQZE/discussion), there should be an option to customize the generated column constraint for Enum types.
Detailed explanation: If two classes share the same field name (the field is of type Enum) and both extend the same base class, then Ebean wrongly assumes that only the Enum values of the first class should be considered as constraints.
Suggestion: Ebean should detect such cases automatically and build a constraint which has all possible values (from all Enums).
Alternative / extension: The user should be able to configure which Enum values contribute to the constraint (this can be useful when the Enum values themselves have the same name - as we know that Ebean stores them as Strings).

As an example:
Thing is our superclass
Person extends Thing
Vehicle extends Thing
Person has a PersonSize enum with SMALL, MEDIUM, LARGE ... and maps this to a DB column called 'size"
Vehicle has a VehicleSize enum with SMALL, HUGE ... and maps this to a DB column called 'size"
So the base table has a single column called "size" and it's check constraint should have SMALL, MEDIUM, LARGE and HUGE as constraint values.
You could argue/describe that we need to do this (combine the constraint values) due to the restriction of mapping the inheritance hierarchy into a single db table (rather than table per type etc which is not currently supported).

authors: antonsarov rbygrave

repo: ebean-orm/avaje-ebeanorm


text:
Reduce area in prod google bucket

There was a request to reduce the size of the prod google bucket staging area (i.e. gs://broad-dsp-monster-hca-prod-ebi-storage/prod/).
If we remove a project from the bucket, we won't be able to do partial update on that.

Import team agreed on implementing a script to populate this area, based on the imported data (reverse import).
In the meantime, we are asked to prioritise projects that are unlikely to update and remove them until end of March.

Action points:

[x] create a spreadsheet that shows projects \w uuid, and if it is part of any bionetwork list
[ ] discuss with team if the reduction of the files there would be enough or we need more

Spreadsheet here

Summary in spreadsheet:

Number of Projects
Size in TiB

non-bionetwork list
299
122.68

backup projects
12
8.87

not in DCP
44
25.06

has open submission
40
13.46

We don't have a specific target for storage area reduction, but we do a first pass targeting a 30% reduction (59 GB). This way we can free up some space while minimising the time spent triaging the areas to be removed.
After we're done with this first pass I'll check in with Mary and Travis.
Candidates for the first pass

[ ] hca-publications --> only 2 updates ever needed
[ ] backup
[ ] non-DCP projects --> probably integration tests
[ ] high volume projects that are part of a wave 1-2 bionetwork but not used for the atlas --> they are less likely to be updated

All areas need to be checked except for hca-publications
triage of areas:

[ ] backup
[ ] non-DCP projects --> ida

Remove the non-bionetwork list & and organ of known bionetworks projects

removed:

[ ] prema deleted
[ ] backup
[ ] not atlas

In DCP Demo today, there was an interest on the dev staging area size and if we can reduce it.

Metric
Value

Sum (TiB)
4.64

Number of Projects
810

>1 TiB
1

>1 GiB
19

>1 MiB
104

>1 KiB
685

ida to check if we've reduced the volume of data  by enough

I've confirmed that the storage we've freed up is enough for now

Import team requested more free space. Re-opening to investigate options.

Did some more digging. From the list they provided I created Sheet6 in previous spreadsheet.
I wanted to investigate the number of projects which we hold all the data in our aws servers along with the gcp staging area.

number of projects

equal* No of files
174

No of files > ±2
153

no info
45

no file in aws
130

since in gcp area we upload spreadsheet as supplementary file, we expect to have at least +1 file in gcp. I added a threashold to have max 2 extra files for our investigation.

authors: arschat idazucchi

repo: ebi-ait/hca-ebi-wrangler-central


text:
new terms in version 160 update

Hi
Can I have the list of new terms added in version 160 update?
Thanks

@SuchandraSaxena, please let us know if you still need the 160 version.

authors: SuchandraSaxena muthuvenkat

repo: ebi-chebi/ChEBI


text:
merge CHEBI:110200 and CHEBI:131801

Please merge.

I have merged CHEBI:110200 with CHEBI:131793 which is the entry for the racemate.


text:
Compatibility with postcss/cssnext

Would be awesome to support https://github.com/ebryn/ember-cli-cssnext

Also it will be better to use PostCSS parser, instead of Rework’s css, because of:

PostCSS is faster, that Rework.
PostCSS supports custom at-rules. So it is more future proof.
PostCSS has integration tests. We use many real world sites (GitHub, Twitter, BrowsersHack) to test every commit in PostCSS parser to be sure, that we can parse all of CSS features.
Rework project has no development right now.

Also if we will use PostCSS to transform selectors, we can use same parsed AST for everyone-have Autoprefixer and cssnext. So one CSS parsing step for all CSS tranformation will make CSS processing real faster (CSS parsing is one of biggest step in every tool).

@ai happy to switch parsers. should be easy for anyone to PR this before i get around to it.

Any updates on that? Really looking forward for support of postcss/cssnext.

Can't this issue be closed as #112 was merged or are there still incompatibilities?

Nope this is still a separate issue. #112 just switches the internal compiling from rework to postcss, this there's still work to be done to support ember-cli postcss addons. #123 might solve this though.

CSS Next should be supported in #123 I'll add a test for it when I work on those next week.

Good news! :tada:
I just created a new app from scratch with ember canary and 'ember-routing-routable-components'.
I'm successfully using the following addons and plugins in conjunction with routable components:

webark/ember-component-css#private-class-names
ember-cli-postcss
postcss-cssnext
postcss-easy-import

This is my directory structure:
app
├── components
│   ├── application
│   │   ├── component.js
│   │   ├── styles.css
│   │   └── template.hbs
│   └── login
│       ├── component.js
│       ├── styles.css
│       └── template.hbs
├── login
│   └── route.js
├── models
├── styles
│   └── app.css
├── app.js
├── index.html
├── resolver.js
└── router.js

Just remember to have your component.js like this:
import Ember from 'ember';

export default Ember.Component.extend({
  isGlimmerComponent: true
});

And don't forget to @import "pod-styles"; in your app.css.
Thanks so much! :love_letter:

@buschtoens did you try it with local lookup?

And I'm going to close this ticket then if cssnext is working.

Enabled by default. :smile:

authors: ai buschtoens ebryn igorpreston topaxi webark

repo: ebryn/ember-component-css


text:
As a taq end-developer, I would like CLI output rendered using different colors so that I may easily distinguish info, warnings, and errors.

Currently, warnings and errors appear much the same as normal or info output:

As such, this task represents adjusting the CLI output:

Warnings are prefixed with "WARNING: " and are output as orange.
Errors are bold and red

CLI output can be generated in two different ways:

From the CLI itself, output using the Deno runtime
From a plugin task with no encoding

As such, this task is segmented into two parts - handling the warning/error output using the Deno runtime, and then doing the same for the Taqueria SDK, which our NodeJS plugins utilize. From now on, I'll just refer to these two cases as Deno runtime and Taqueria SDK.
For each both the Deno runtime and Taqueria SDK, we'll need to find a module/package that makes it easy for us to output colorized output in the CLI.
For Taqueria SDK, chalk should be used. Its a well-known and highly established package in the NodeJS ecosystem.
For the Deno runtime, we can use the colors module from the Deno standard library.
Acceptance Criteria
For both the Deno runtime and Taqueria SDK, we'll need to accomplish the following:

[ ]  Write a method called renderWarningMsg
[ ]  Write a method called renderErrorMsg
[ ]  Write a method called renderMsg
[ ]  Write unit tests for each of the above
[ ]  Do manual testing to verify that the output is correct

For the Taqueria SDK:

[ ] Identify tasks which use no encoding. Wrap messages in the appropriate function (renderMsg, renderWarningMsg, or renderErrorMsg).
[ ] Identify tasks which use JSON encoding. Determine whether we can pass colorized output in JSON. If not, we'll need to insert some placeholders that we process from the Deno runtime. See footnote below for further details.

For the Deno runtime, we need to accomplish:

[ ] Replacing any calls to the log or console.log method with renderMsg
[ ] Replacing any calls to the log or console.log method with renderWarningMsg and renderErrorMsg when appropriate

Footnote
If we cannot include colorized strings in our JSON, then we will need to wrap strings in such a way that we can then process these strings from the Deno runtime.
For instance, if our plugin wanted to output the following:
{
  "data": "I want this to be a warning"
}

We could wrap the string of the data field:
{
  "data": "<warning>I want this to be a warning</warning>"
}

Then on the Deno runtime side of things, we could alter the renderPluginJsonRes function to replace the wrappers can use our render* methods we defined.

In some cases, there is no distinction between warnings and errors (like in origination, lack of storage is an error, but lack of default account is just a warning).
We need a standardized way to make this distinction in CLI and in TVsCE, so that in VsCode we can show the appropriate feedback to the user.

authors: mweichert russellmorton

repo: ecadlabs/taqueria


text:
(mini.ai) Config option for operators allowed to be used in empty regions

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md

Module(s)
mini.ai, mini.operators
Description
Mini.ai currently has a hardcoded check to allow d and c to be used in an empty region.
Other operators (like gr from mini.operators) also make sense to be used in an emtpy region, so it would be nice to be able to have a configuration option for this.

Thanks for suggestion!
This certainly won't be a configurable option. Will take a look at the best way to widen the accepted cases for empty regions.

I didn't opt-in for new config setting, but instead decided to specifically hand pick "replace" from 'mini.operators' to allow acting on empty region.
The reason for this decision is slightly technical. Basically, Neovim doesn't really allow empty selections. But as it is useful to do ci)/di)/gri) for empty brackets, there is a hack which convert empty selection into one space selection. This means that only operators guaranteed to not essentially use selection can be acted on empty selection. From built-in those are c and d (although they do cut that text in default register). "Replace" from 'mini.operators' is another example. I don't think there is something else worth adding to this hand picked "allow list".
All that said, thanks again for suggestion! Being able to gri) for empty brackets is indeed quite useful.

authors: TheLeoP echasnovski


text:
update assignment script

TITLE: UofT-DSI | shell - Assignment 1
What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

assignment.sh
assignment_instructions.md

What did you learn from the changes you have made?

shell commands

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?

n/a

Were there any challenges? If so, what issue(s) did you face? How did you overcome it?

n/a

How were these changes tested?

manually

A reference to a related issue in your repository (if applicable)
Checklist

[x] I can confirm that my changes are working as intended

perfect!

authors: echooocc monzchan

repo: echooocc/shell


text:
[new-core-alignment] service includes cleaned up

Description
Service header clean up, see  see https://github.com/eclipse-ecal/ecal-core/pull/15.
Based on changes by @FlorianReimold):
I tried to apply the IWYU pragma. I mainly focused on std headers, as those don't come with umbrella headers.
Cherry-pick to

5.12 (current stable)
5.13

I usually include the class declaration .h (in cases of .cpp) first, then stl headers, then custom headers. But in this case it took a considerable amount of time to just go through the clang-tidy output and decide for each warning if I wanted to apply the fix or not (there were a couple thousand warnings).
And as the order of includes are not supposed to matter anyways, I just clicked the fix-it checkboxes. I think the manual labor of re-sorting this is not worth the time, I would rather merge this and then further improve the includes. I am certain that I missed a lot of includes that should be there and I didn't fix any unnecessary includes, yet (i.e. remove them). A further improvement would also be to mark umbrella headers accordingly with an IWYU export comment.

authors: FlorianReimold rex-schilasky

repo: eclipse-ecal/ecal


text:
Make bump version action bump minor number

Feature Request
Currently the bump-version action is bumping the bugfix number, but it should bump the minor one
Which Areas Would Be Affected?
e.g., DPF, CI, build, transfer, etc.
Why Is the Feature Desired?
Are there any requirements?
Solution Proposal
If possible, provide a (brief!) solution proposal.

closed by #133


text:
Create a separate cdi-lite-api-jdk11.sig file?

Do we need a separate cdi-lite-api-jdk11.sig file that excludes the jakarta.interceptor classes that are not appropriate for a CDI Lite implementation? If such an implementation would depend on the jakarta version, it would just have these extra classes, but if an implementation provides its own, it may not create classes are are not needed (AroundInvoke, Interceptors, ...).

The classes that are not relevant to CDI Lite are, to the best of my knowledge:

AroundTimeout
Interceptors

And most likely also:

ExcludeClassInterceptors
ExcludeDefaultInterceptors

Out of these 4, 3 of them are irrelevant to CDI Full as well. So IMHO, if noone created a stripped down version of the Interceptor API for CDI before 4.0, I don't see anyone creating a stripped down version of the Interceptor API for CDI Lite.

agreed with @Ladicek! Interceptors are used by EJBs.

So on the call today it was decided that Lite implementations should not have a separate signature test. The reasoning was that:

It is simply to meet the requirement be depending on the Jakarta Interceptors API artifact
We have said we don't want to limit what Lite implementations can do, meaning they are free to support features from Full and Interceptors.

authors: Emily-Jiang Ladicek starksm64


text:
Documentation: Review docs in preparation for engagement with other institutions

Review the documentation in: https://github.com/eclipse-pass/main/tree/main/docs. Consider the following questions:

Is the purpose of the PASS project clear?
Is the current organization/structure of the documentation easy to understand and navigate?
Are there gaps in the content that would be expected by newcomers?
Is the method of getting started with the project clear?
Is it clear how to contribute to the project?
Is there documentation that is out of date and should be removed?

Expected Outcome: Set of recommendations for improvement of the PASS documentation.
Note: The work of this ticket is to perform the analysis needed to develop recommendations for improvement. Another ticket will follow to make the necessary updates.

@cshannon2 I spoke with Bill and he asked for me to share these thoughts on this overarching documentation ticket. I am happy to help and collaborate on a user-friendly step by step installation guide for ourselves and external collaborators:
Having navigated the task of rediscovering the nihms-loader process due to lost knowledge transfer, it occurred to me that creating a straightforward, step-by-step installation/setup manual for PASS would greatly benefit not only our team but also external collaborators and other institutions. When I initiated the installation for our DSpace playground, I found these guides to be decent, so something akin to this: DSpace Guide + Introduction. (Although I am totally open to other organization and  dissemination methods as well.)
While we already have decent documentation for developers across our Google Drive and READMEs, I believe a systematic guide would ease the process, especially considering the complex dependencies inherent in our data loader. It would help alleviate confusion caused by outdated information within our current documents.

Adding some bullet points from our retreat that I took. @cshannon2, please let me know if you have anything else to add or if you have notes that are different from this.

Recommendation about a system to use for on-boarding another institution.
Recommendation on on-boarding documentation.

Per our retreat, keep in mind:

What pieces need to get PASS in place
What are those pieces?
Make decision for system we should use to manage all of this

Next steps after #618
Need to define a set of selection criteria that is most important to our team/community: #843

List of recommendations for PASS documentation:
https://docs.google.com/document/d/1Ac8q3xVz6fMWulJZAqKbA6dblce5qfPwxqdbzgU3aiM/edit?usp=sharing
https://docs.google.com/document/d/1g_boyxAtF3zxAtEdpfGcf-tURK81eBmDlqFQUkQMdg4/edit?usp=drive_link
https://docs.google.com/presentation/d/1zb6J2hf6DfXqf9Wuu_F229OawUyYeGE0/edit?usp=drive_link&ouid=102870018102164937184&rtpof=true&sd=true
https://docs.google.com/document/d/1oMNZyz6Ub4IMm4QtfUVl08lQ0pmzoxU9HTLuS8HF-v0/edit?usp=drive_link
https://docs.google.com/spreadsheets/d/1ejovIlU5MnLGcKEwvdjW_7Pvy3Blvg1erjgMuOQzeMI/edit?usp=drive_link
In addition there have been several meetings and discussions surrounding documentation and we have a good idea of what to do for our next steps. After discussing with @dkriethof and @cshannon2 we decided this ticket can be be closed with the research that has been done.

authors: bbranan dkriethof tsande16

repo: eclipse-pass/main


text:
[ 19° ] - Release/v1.0.0 update documentation

Why we create this PR?
To update the GETTING_STARTED.md, SECRETS_MANAGEMENT.md and backend readme.md files with last changes.
What we want to achieve with this PR?
To have the API documentation files updated.
What is new?
Updated

Updated docs\GETTING_STARTED.md file
Updated  docs\SECRETS_MANAGEMENT.md file
Updated  productpass\readme.md file.

Just docs were added ;)

repo: eclipse-tractusx/digital-product-pass


text:
Add Use Cases ESS to AdoptionView of DataChain KIT

/
As decision maker of an external company
I want to have a overview of supported use cases and planned use cases
so that deciding whether my use case is covered by the IRS
Hints / Details

https://eclipse-tractusx.github.io/docs-kits/kits/Data Chain Kit/Adoption View Data Chain Kit
Someone with no clue should be informed well enough to base decisions upon that

Outcome / Acceptance Criteria

Outcome

ESS is documented and described
Benefits have been documented
Briefly described how the systems is working

Acceptance Criteria

[ ] Data Chain KIT Adaption View: ESS Use Case (Top-Down) is added as prototype as outlook for Release 3.3
[ ] Data Chain KIT Adaption View: ESS Use Case (Bottom-Up) is added as spike as outlook for Release 3.3
[ ] Data Chain KIT Adaption View: ESR Use Case SPIKE
[ ] Data Chain KIT Adoption View: DIL Use Case SPIKE

Out of Scope

...

Planning 2

https://github.com/eclipse-tractusx/eclipse-tractusx.github.io/blob/main/docs-kits/kits/Data Chain Kit/page_adoption-view.md
reuse arc42 documentation as much as possible

Updated Adoption view in https://github.com/eclipse-tractusx/eclipse-tractusx.github.io/pull/528

Updated Data Chain Kit Adoption View in https://github.com/eclipse-tractusx/eclipse-tractusx.github.io/pull/528
Added IRS use-cases ESS top-down, ESS bottom-up and DIL (ESR is already described)

I reviewed the PR.

authors: ds-jhartmann jzbmw


text:
feat(n2n): add network registration

Description
add endpoint POST registration/network/partnerRegistration to register partners to the network
add new process to synchronize users with central keycloak instance for the partnerRegistration
Why
To allow onboarding service providers to register companies to the catena network
Issue
N/A - Jira Issue: CPLP-2637, CPLP-3146
Depending CD PRs
#85
Checklist

[x] I have followed the contributing guidelines
[x] I have performed a self-review of my own code
[x] I have successfully tested my changes locally
[x] I have added tests that prove my changes work
[x] I have checked that new and existing tests pass locally with my changes
[x] I have commented my code, particularly in hard-to-understand areas

@Phil91 : I did fix most of my findings (see https://github.com/eclipse-tractusx/portal-backend/pull/255/commits/49fb260533342e5355f590b3534775e983a71ee6 ), please double-check (especially the changes relating to functional findings like querying by ownerId vs. companyIdentityProvider-link).
Some findings are left to be either fixed or discussed/postponed to later ticket.

@Phil91 : we need a bit more coverage - specially the new process-related code has little or no coverage. See: https://github.com/catenax-ng/tx-portal-backend/pull/418

@Phil91 : we need a bit more coverage - specially the new process-related code has little or no coverage. See: https://sonarcloud.io/component_measures?id=catenax-ng_tx-portal-backend&pullRequest=418&metric=new_coverage&view=list

@ntruchsess tests have been added

repo: eclipse-tractusx/portal-backend


text:
feat(ssi): add expiry handling for ssi

Description

add cleanup process for expired ssi credentials older than x month
add automatic decline process for pending ssi credentials
post generated expiry date to miw
adjust detail versions table for certificates
add seeding for certificate versions

Why
to add the expiry handling for credential ssi's
Issue
Refs: N/A - Jira Issue: CPLP-3398
Corresponding CD PR
#140
Checklist

[x] I have followed the contributing guidelines
[x] I have performed IP checks for added or updated 3rd party libraries
[x] I have created and linked IP issues or requested their creation by a committer
[x] I have performed a self-review of my own code
[x] I have successfully tested my changes locally
[x] I have added tests that prove my changes work
[x] I have checked that new and existing tests pass locally with my changes
[x] I have commented my code, particularly in hard-to-understand areas

Looks good in general! Could you please provide the feedback to Gitguardian that the 4 discovered secrets are false positives? And one comment: For the overall consistency it might be better to call the project Credential.App (like it's called in most places) instead of VerifiedCredential.App.

done :)

This PR will be closed since the implementation will happen in the sis-credential-issuer repository

Closing this PR. The changes are included in the new ssi-credential-issuer repo


text:
GH Release is missing for 0.3.16-M1

Please create a github release + changelog for your tag

GitHub release created.


text:
add config parameters list to service catalog display

Fixed eclipse-xpanse/xpanse#1972
ISV

CSP

LGTM

repo: eclipse-xpanse/xpanse-ui


text:
why client sleeping？

The device connects to the leshan server, waits for a while, the platform subscribes resources，Returns：Invalid request:The destination client is sleeping, request cannot be sent.
After the client and the server are successfully connected, How long is the time between the client and the server, the server will think the client is sleeping

There are 2 way for a client to connect to a server :  "normal" mode OR queue mode.
The device lets know to the server which mode  is used at registration time  (see : http://www.openmobilealliance.org/release/LightweightM2M/V1_1_1-20190617-A/HTML-Version/OMA-TS-LightweightM2M_Core-V1_1_1-20190617-A.html#6-2-1-0-621-Register-Operation)
The client can be considered as sleeping only if you're using Queue mode.
Generally Queue mode is used if you are in a dynamic IP environment (e.g. behind a NAT) or if you're device is not up all the time (e.g. to save some battery)
I advice you to look at Queue chapter in the specification : http://www.openmobilealliance.org/release/LightweightM2M/V1_1_1-20190617-A/HTML-Version/OMA-TS-LightweightM2M_Transport-V1_1_1-20190617-A.html#6-5-0-65-Queue-Mode-Operation

After the client and the server are successfully connected, How long is the time between the client and the server, the server will think the client is sleeping

This is the Californium (CoAP implementation) MAX_TRANSMIT_WAIT value.
The default value should be something like : 93s.
You can change it by :

changing  CoapConfig.MAX_TRANSMIT_WAIT
create a StaticClientAwakeTimeProvider with your own static value.
having a more dynamic way  : e.g : https://github.com/eclipse/leshan/wiki/Dynamic-awake-time-for-Queue-mode

thanks a lot ，it's okey

repo: eclipse/leshan


text:
Simplify MP JWT header and claim requirements

Fixes #128.
The goal of this PR is to improve/clarify the text around the required headers/claims and it will be followed up with a few more TCK tests once we agree on the final text.
Here is a summary of the problem. In the current text:

alg (and enc in case of the encrypted token), kid  and typ headers are required.
iat, exp, iss, one of upn/preferred_username/sub, jti claims are required in one place, iss - in the other place.

IMHO these are all very sound requirements but required must really be TCK enforced as it is important for some integrations that the spec requirements are enforced , but I suspect if we start enforcing it all  now we will break many user applications. So I've tried to find the middle ground. It is important that MP JWT has some position about some claims as opposed to making everything optional and accepting empty tokens. We can tighten things in MP JWT 2.0. So, in this PR:

Headers

Required: alg and in case of the encrypted tokens also enc - this is essential and can not be optional
Optional: kid - it is redundant unless JWK is used to verify the token. It really must be present  if JWK is used to verify but there is a border line case where only a single JWK is available without kid and can be used to verify the token without kid so I'd be a bit concerned with TCK enforcing that a kid header is present in such cases. Perhaps we can tighten it up for MP JWT 2.0
Optional: typ it does not add any security information so it is a good practice to have it but I think it is fine to make it optional

Claims

iat and exp are still required - it simply does not make sense to accept the unlimited lifetime tokens (if no exp is available),  and also very risky to accept the tokens without iat (was it issued 5 years ago ? who knows...), every OIDC issuer will set it and it is straightforward to set for the self-issuing clients. Sometimes users don't want to set exp to make things easier to test, let then set a max long number, but at least with the iat requirement the implementations will have a chance to block the tokens which have been around forever... There is no practical reason for a token not to have iat and/or exp
iss - this is required, without it the services simply have no idea who posted it, this is a fundamental JWT verification requirement. Again, every OIDC server will set it, and any self-issuing client can set it to something random.
a principal must be available in the token (upn, or preferred_username or sub) - without it Java Principal getName will return nothing and the spec just can't allow it. Perhaps I should add a line suggesting the name can be optionally deduced from the other claims if none of these 3 claims is available.
Optional: sub - (unless it is required as a name fallback), it is a number most of the time
Opitonal: jti - this one should really be required but it can be enforced for Mp JWT 2.0 with TCK, as I'm not 100% sure if all the OIDC servers set it (the self-issuing clients can set it without problems)

Missing Iss tests - I've removed them because I don't understand what they actually test, specifically the test where a token iss does not match a configured issuer seems just incorrect.

@rdebusscher, @starksm64, @radcortez @darranl, others, comments are welcome :-)

Or, another option, just leave it as is until MP JWT 2.0 and TCK enforce the required claims then

I'm going to open for review since we need to agree on a decision quickly enough. As I said I will add a few more TCK updates once the text is agreed upon

@radcortez It is still not possible to request your review. Also CC @darranl, others

Hi All, just to would to summarize again why some headers/claims are made optional with this PR:
Headers:
typ:: MP JWT only expects JWT. Given that JWT is basically just JSON where any top level element is a `claim`, having `typ` does not add to the security of the token - it is recommended to set this header to keep to keep indicating that well, it is not just random JSON but was created by the OIDC server or self-issuing client which did mean to issue JWT.
kid:: Mainly effective with the multi-key JWK set - and even in this case I'm not seeing the users requiring the use the certificate thumbprint `x5t` as an alternative

Claims:
sub:: It is supposed to be a unique number so it is not something that would be useful to return to the human user as part of the UI interaction and it is really of interest to the OIDC server introspecting the token, not much can be done about it during the local verification. It is only required as a fallback when no `upn` or `preferred_username` is available
jti:: hard to enforce it at the MP JWT spec level beyong just checking it exists - enforcing the replay constraints is better be left to the OIDC server or the custom local implementation. Perhaps we can do some general recommendations going forward.
aud:: I'd have no problems with enforcing it but setting it correctly is a bit harder for the self-issuing clients, and not all OIDC issued tokens may have them, so for now it is optional

@sberyozkin I'm have permissions now, so I added myself as a reviewer :)

@radcortez @rdebusscher @teddyjtorres
I have added 3 TCK tests and this is probably enough for now.

401 is expected if no exp is available
401 is expected if iat is older than exp (Teddy, as per our discussion, before the age property is introduced)
401 is expected if the token has no name available

Hey @radcortez, thanks, I'm going to verify TCK tests before merging.
@rdebusscher Rudy, any concerns - just ping us please :-).

The added TCK tests have been verified, merging shortly

authors: radcortez sberyozkin

repo: eclipse/microprofile-jwt-auth