the json serializer can use  Newtonsoft.Json?

Ask your question here
hi~
dapr use System.Text.Json , can dapr config use Newtonsoft.Json?

Dapr does not have a configurable serializer today. The underlying transports use raw bytes.
Depending on the building block its pretty easy to use your own logic, for example service invocation you can use the HttpRequestMessage or HttpClient directly.
We haven't tried to make this easy because there haven't been any requests for it thus now. It adds a very large amount of surface area, and I wouldn't add it without a significant amount of feedback.

It would be nice if this was an option.  Overall, System.Text.Json is great, and while i appreciate the performance there are situations where System.Text.Json can cause headaches where as newtonsoft has no issues at all.


User roles

Need to have user-roles to allow others to upload images to galleries without giving them too much access -> eg. damage control in case one goes rogue.
Roles:

Admin (access to everything)
DFoto (create galleries, upload images, list users, except changing permissions of users)
Aspirant (can only upload images to existing galleries)
None (read galleries and read images)

deployed


Depth Enhancements

Depth Enhancements
Abstract
Git resource only honors 'depth' attribute when performing an initial clone.
Git resource is unable to recover gracefully when depth is specified, but the target ref is outside the depth.
Summary
This PR adds support for shallow fetches, and automatically increasing the depth when the ref is outside the specified depth.
If the requested ref is outside the specified depth the client will deepen the shallow clone/fetch until enough histroy is avaiable to complete the requested operation.
There is a hard limit on the additional depth allowed (50) in order to prevent situtations involving infinite looops or overflows.
The deep is increased using a fibonacci scale:
[User specified depth] + [1, 2, 3, 5, 8, 13, 21, ... ]
Example
If we specify a depth of 1 on the resource:
git 'my stuff' do
  depth 1
  action :sync
end

and are unable to complete the checkout, we will see depth increase as follows up to the limit:
(initial run) 1
(initial run) 1 + 1 = 2
(initial run) 1 + 2 = 3
(initial run) 1 + 3 = 4
(initial run) 1 + 5 = 6
(initial run) 1 + 8 = 9
(initial run) 1 + 13 = 14
(initial run) 1 + 21 = 22
...

It looks like I'm missing the DCO portion of this request.  I'll address this and resubmit.  Thanks everyone! :)

I'll resubmit with the DCO requirements in place.  Thanks!

@joshburt You can just force push to your branch after running dco sign.

@coderanger  oooh!  Thanks, I've already redone this PR but will definetly use that for next time. :)


GOOGLE COLLAB works well for 2 days, then breaks. Why?

I get a good model for a day or two, then next training i get this:
Traceback (most recent call last):
File "/content/diffusers/examples/dreambooth/train_dreambooth.py", line 803, in
main()
File "/content/diffusers/examples/dreambooth/train_dreambooth.py", line 535, in main
import bitsandbytes as bnb
File "/usr/local/lib/python3.10/dist-packages/bitsandbytes/init.py", line 6, in
from .autograd._functions import (
File "/usr/local/lib/python3.10/dist-packages/bitsandbytes/autograd/_functions.py", line 5, in
import bitsandbytes.functional as F
File "/usr/local/lib/python3.10/dist-packages/bitsandbytes/functional.py", line 13, in
from .cextension import COMPILED_WITH_CUDA, lib
File "/usr/local/lib/python3.10/dist-packages/bitsandbytes/cextension.py", line 41, in
lib = CUDALibrary_Singleton.get_instance().lib
File "/usr/local/lib/python3.10/dist-packages/bitsandbytes/cextension.py", line 37, in get_instance
cls._instance.initialize()
File "/usr/local/lib/python3.10/dist-packages/bitsandbytes/cextension.py", line 27, in initialize
raise Exception('CUDA SETUP: Setup Failed!')
Exception: CUDA SETUP: Setup Failed!
Traceback (most recent call last):
File "/usr/local/bin/accelerate", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/accelerate_cli.py", line 43, in main
args.func(args)
File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/launch.py", line 837, in launch_command
simple_launcher(args)
File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/launch.py", line 354, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3', '/content/diffusers/examples/dreambooth/train_dreambooth.py', '--image_captions_filename', '--train_only_unet', '--save_starting_step=500', '--save_n_steps=0', '--Session_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/NicoleTEST768-TEXT4NXI', '--pretrained_model_name_or_path=/content/stable-diffusion-v1-5', '--instance_data_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/NicoleTEST768-TEXT4NXI/instance_images', '--output_dir=/content/models/NicoleTEST768-TEXT4NXI', '--captions_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/NicoleTEST768-TEXT4NXI/captions', '--instance_prompt=', '--seed=869457', '--resolution=768', '--mixed_precision=fp16', '--train_batch_size=1', '--gradient_accumulation_steps=1', '--use_8bit_adam', '--learning_rate=2e-06', '--lr_scheduler=linear', '--lr_warmup_steps=0', '--max_train_steps=1500']' returned non-zero exit status 1.
Something went wrong

always CUDA SETUP FAILS......

Same issue for me. Looks like the owner either doesn't know how to fix this or isn't fussed anymore

Same issue for me. Looks like the owner either doesn't know how to fix this or isn't fussed anymore

its working now, but after i change the google runtime from L4 to T4, and yesterday i used an A100 no issues....... maybe its an error on both sides? google GPU and the collab page...

@TheLastBen i found the glitch - is when using L4 GPU, it will give a CUDA SETUP ERROR, and on A100 and T4 you dont get an error..... the bad side of this is that we are paying for google credits or PRO, and cannot use faster GPUs because A100 is NOT always available and its 11.30 credits PER HOUR compared to L4 that is 4 credits and hour....... so at the end, we pay ONLY for MORE TIME instead of FASTER GPUs, if A100 is not available, since L4 will give CUDA ERROR....
Are you aware of this issue?

I'm aware, I'll try to find a fix


test-branch/execute-job/wrong-commit-sha-on-pr/176453a5-d8c9-4d4e-b8bb-e02af14afa19

PR for testing 7636fd547d63493f2ac60baf95aa2dc4a8a1623e

/canonical/self-hosted-runners/run-workflows 744e7b1cdbb875bb6f86ab7ec27006440ac814fc


Introduce the concept of a ColumnSelector

As part of the groundwork for the tagging API, we want to introduce the concept of a "column selector," which generalizes the concept of a list of column names (the existing ColumnNames type) to include the possibility that columns might be selected by tag in addition to by name.
In order to create a place where selecting by tag behavior can be implemented, this PR converts ColumnNames into a list-like dataclass with minimal behavior and propagates that change though the code base. (Eventually, the ColumnSelector class will turn into a full class with additional behavior, but not yet.)

Closing this PR to open a new one from the main fork to make it easier for multiple people to work on it.


add merge to local branchs

code is just awesome and simple for "git fresh users" and we just miss the ability to merge our local branch just like github for windows does (but does not work well with non github repos)

visually show branchs and can alternate between them without command
allow drang a branch on top of other to perform a merge

I'm gonna merge this into #68.

I don't think this is really the same as #68. I'm trying to find how to use VSCode to do a merge, but that's not the same as history.

It's not, but its definitely related. Once we have a history, merging is but a contextual action.


zabi is vulnerable to zst/recursive DoS

Describe the bug
Details here: https://github.com/paulmillr/micro-eth-signer/discussions/20
Steps To Reproduce
No response
Zig Version
1.0.0
Anything else?
No response

Thank for this issue! What version of zabi did you try this on? This should have been fixed before I tagged v0.2.
I added a test with a POC that you created in that issue as a test. You can see it here: https://github.com/Raiden1411/zabi/blob/main/src%2Fdecoding%2Fdecoder.zig#L450.

prob fine now. What about ZST itself? https://blog.trailofbits.com/2023/12/29/billion-times-emptiness/
also, take a look at junk data, which should be disallowed by default: https://github.com/paulmillr/micro-eth-signer/blob/9ccd3def6af06799214656a58b20cef4ca544c44/test/abi.test.js#L1754

I will take a look at those and keep the issue updated with results

So for zst it was already safe. However this was processing junk data.
I made the change in the latest commit and created a failing test to make sure future changes to the decoder do not affect this.
Again thank you for this issue. Going to close as completed.


A new tab for the plugin page should be opened after the previously-opened page has already been used to access other sites.

扩展版本 (extension version):
浏览器版本 (browser version):
操作系统 (operating system):
问题描述 (problem description):
实际行为 (actual behavior):
期望行为 (expected behavior):
重现步骤 (reproduce step):
A plugin page shows up after clicking the plugin icon, which is expected. However, clicking again the plugin icon would still switch to the tab previously opened for the plugin, even after I've opened other sites like google.com in the tab.

Thanks for the report. It fixed in new version.


Some style cleanup and new feature

Some style cleanup to reduce indents and inconsistent tab and space indentations.
fixing hideAll method to use hide method instead of directly selecting and hiding the popovers.
added backdrop option to enable backdrop on popover open

Sorry for review so late, I'll check your pull request and merge.

Thank very much for all of your works, backdrop is the feature I want to added ,but  have not enough time to do, other improvements and bug fix is also very nice.
There are too much conflicts when I  was trying to merge them all, so I put most of your changes to the code manually.


How may I hide a week if locked, and then show it when unlocked? (Repost of #1327 with correct label)

What is your question?
I added the wrong label to #1327, but it's desc. is:
"For a mod I'm creating, I need to hide some weeks and then show them on their unlock. Also, I would need to hide some Freeplay levels if their week is locked, and then show them when unlocked.
Additionally, if you could help me to do so in Freeplay, but when their week is completed instead of just unlocked, I would be glad. :)"

it's under the "lock" tab of the Week Editor.

it's under the "lock" tab of the Week Editor.
or do you mean make it completely not-visible at all? that might not be possible right now without modifying code

I mean to make it completely non-visible until unlocking it, but do someone know how to nearly do it? I mean, what code to modify.

Nevermind, I figured it out. :)

Nevermind, I figured it out. :)

"When i purposely leave the issue open after figuring it out"


Remove hardcode git clone for the jenkins

Signed-off-by: Peter Zhu<EMAIL_ADDRESS>Description
Remove hardcode git clone for the jenkins
Issues Resolved
#1901
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #2038 (d343ae7) into main (b9f83df) will increase coverage by 5.76%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##               main     #2038      +/-   ##
=============================================
+ Coverage     94.23%   100.00%   +5.76%
=============================================
  Files           198         6     -192
  Lines          3902       105    -3797
  Branches         29        19      -10
=============================================
- Hits           3677       105    -3572
+ Misses          219         0     -219
+ Partials          6         0       -6

Impacted Files
Coverage Δ

src/manifests_workflow/input_manifests.py

src/manifests/bundle_manifest.py

src/test_workflow/integ_test/distribution_tar.py

src/paths/script_finder.py

...w/bwc_test/bwc_test_start_properties_opensearch.py

src/system/execute.py

...ts_workflow/component_opensearch_dashboards_min.py

src/run_sign.py

...test_workflow/perf_test/perf_multi_node_cluster.py

src/manifests/input_manifest.py

... and 182 more

Continue to review full report at Codecov.

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


Fix example docs tag

Fix example docstring tag typo.
Closes: #284

not fully clear on the impact this has on the documentation, can you explain please.

Right, currently no impact, since we are not using these tags to generate any documentation. But, since we are writing this tag I think we should keep it in the correct form.


Several Updates

Now supports builds specifically for v6 through v15.  Also added required action for support for password expiration.

Hi,
I'm not currently using this plugin, so I'll have to merge without testing.
Thanks for you work!


How to add API token without credentials

Hi,
Jenkins is hosted in my company VPN, I don't need credentials to have access to the pipelines, so I don't have any to login. To get an API Token to place on the plugin setup, I need to login, but since I don't have the credentials I'm not able to do it. How can I solve this issue.
Thanks

I can have take a look in new year.
You have no authentification in jenkins server configuration right?

Yes, that is correct. I have no way to login my self into Jenkins or access configure path.

I can try it it in new year because im on holiday at this time. But i will look to it to use without given credentials

I managed to make the plugin retrieve the data by simply replacing the post method by a simple get method. Unfortunately "Build on Jenkins" command does not work because it requires a post method and then it returns an error related with the Crumb data.

I managed to make the plugin retrieve the data by simply replacing the post method by a simple get method. Unfortunately "Build on Jenkins" command does not work because it requires a post method and then it returns an error related with the Crumb data.

Sorry for delay. I will look at this as soon as possible

Sorry for delay. I will look at this as soon as possible

Sorry for the delay:
Which Jenkins Version to you use?
Because Jenkins says:

Beginning with Jenkins 2.214 and Jenkins LTS 2.222.1, the "Enable Security" checkbox has been removed. Jenkins own user database is used as the default security realm.

So you also know which security settings is used?

Sorry for the delay:
Which Jenkins Version to you use?
Because Jenkins says:

Beginning with Jenkins 2.214 and Jenkins LTS 2.222.1, the "Enable Security" checkbox has been removed. Jenkins own user database is used as the default security realm.

So you also know which security settings is used?

@luis-alves It is not possible to use an authentification provider within jenkins?
For security reason it is bette to use authetificated users.
API token are currently available for users. There is an open feature to support Token for Jobs (https://issues.jenkins.io/browse/JENKINS-56465)
But for now I suggest to create user in jenkins and use the API Token instead because else you provide a crumb data which is changed often and not recommend more for API calls.

@luis-alves It is not possible to use an authentification provider within jenkins?
For security reason it is bette to use authetificated users.
API token are currently available for users. There is an open feature to support Token for Jobs (https://issues.jenkins.io/browse/JENKINS-56465)
But for now I suggest to create user in jenkins and use the API Token instead because else you provide a crumb data which is changed often and not recommend more for API calls.

@MCMicS I can't login because I don't have an account. I access Jenkins through a VPN, so the authentication is made in it, and Jenkins is totally opened. The version is Jenkins 2.263.1, and I don't have admin privileges to tell you which settings are currently set.

@MCMicS I can't login because I don't have an account. I access Jenkins through a VPN, so the authentication is made in it, and Jenkins is totally opened. The version is Jenkins 2.263.1, and I don't have admin privileges to tell you which settings are currently set.

Hi @luis-alves
Can you provide a screenshot from you Jenkins landing page?
Is there a logged-in user after you redirected from you VPN and proxy to jenkins?
It is possible to grant me temporary access to the server?

Hi @luis-alves
Jenkins recommend to use Token based for script (see https://www.jenkins.io/doc/book/security/csrf-protection/).
I've not found any solution except following:

Allow only GET calls to list project. But then some features are missing (disabled) like Build and so on
Ask for Crumb Issuer for anonymous access and use this
Usage of ' https://github.com/jenkinsci/build-token-root-plugin'  on Jenkins server and try to build with the created access token

In my opionion the secure way is the first. A dedicaterd userr for script access. If this is still not possible then try out the crumb way
Is the given setup still valid in your environment?

Hello
How to configure the Jenkins plugin in IntelliJ IDEA to connect with a local Jenkins server?
what are the params for :

Servers address
Jenkins URL
Username
API-Token

@doukhahmed Please do not post same questions twice; Answer found at: https://github.com/MCMicS/jenkins-control-plugin/discussions/529

@MCMicS, sorry and thanks for the answer! :)


new wrap: re2

upstream url: https://github.com/google/re2
version : 2019-03-01

What do you think about the name? google-re2? Or is it widely known as just re2?

Looks like this is widely known as just re2:
https://packages.debian.org/source/sid/re2
https://www.archlinux.org/packages/extra/x86_64/re2/

That is also its pkg-config name.

https://github.com/mesonbuild/re2
thanks for comments :)


Run migration for Hyku Up Knapsack

Prereq: deploy hyku up knapsack to prod.
Run Rob's GBH script to migrate the data from fedora to postgres.
NOTES

We were waiting for client verification approval from mobius before deploying to prod

We are blocked from prod deploy by:

[ ] https://github.com/orgs/scientist-softserv/projects/43/views/3?pane=issue&itemId=61020177

How will we migration the banners, logos and thumbnails for collections?


[dv,chip,testplan] Fix the name of the hmac trans idle test

Signed-off-by: Guillermo Maturana<EMAIL_ADDRESS>

This is a trivial typo in the testplan.


Project building properly. But addOrUpdate is not working

I've added plugin. Built it. when i initialize and try to add geo fences no response is got from app. Please help ASAP.

Can u please help with detailed app creation steps.


[type: remove]remove proxy module

// Describe your PR here; eg. Fixes #issueNo

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #3289 (974ca7f) into master (de956a6) will increase coverage by 0.20%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3289      +/-   ##
============================================
+ Coverage     58.74%   58.95%   +0.20%
+ Complexity     4683     4672      -11
============================================
  Files           745      739       -6
  Lines         21048    20919     -129
  Branches       1925     1918       -7
============================================
- Hits          12365    12333      -32
+ Misses         7590     7483     -107
- Partials       1093     1103      +10

Impacted Files
Coverage Δ

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
87.50% <0.00%> (-12.50%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
54.25% <0.00%> (-9.58%)
:arrow_down:

...yu/plugin/logging/utils/LogCollectConfigUtils.java
66.66% <0.00%> (-8.89%)
:arrow_down:

...gin/logging/rocketmq/RocketMQLogCollectClient.java
68.00% <0.00%> (-8.00%)
:arrow_down:

...rg/apache/shenyu/plugin/rewrite/RewritePlugin.java
50.00% <0.00%> (-5.56%)
:arrow_down:

...in/response/strategy/NettyClientMessageWriter.java
69.56% <0.00%> (-4.35%)
:arrow_down:

...he/shenyu/plugin/grpc/client/ShenyuGrpcClient.java
8.00% <0.00%> (-4.00%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
74.79% <0.00%> (-2.44%)
:arrow_down:

...henyu/admin/service/impl/UpstreamCheckService.java
69.40% <0.00%> (-2.24%)
:arrow_down:

Continue to review full report at Codecov.

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


Add immich.app

Thank you for the curation.
I am adding https://immich.app to the list

very cool project!  thanks for submitting and all the best with https://immich.app 🚀


Can't find Embeddinator-4000 objcgen

Steps to Reproduce

Install Embeddinator-400 into Visual Studio 2019 on Windows
Create Xamarin.ios class library project
cd /Users/me/hello-class-5
objcgen /Users/hello-class-5/bin/Debug/ hello-class-5.dll --target=framework --platform=iOS --outdir=output -c --debug

Expected Behavior
It should convert my hello-class into a library usable by Objective-C on IOS.
Actual Behavior
-bash: objcgen: command not found
Environment
visual studio 2019 Pro on Windows 10 for ios target.

Build Logs

Example Project (If Possible)

I'm confused.  Isn't "objcgen" an app?  Specifically, objcgen.exe ?

objcgen is just a bash script that invokes objcgen.exe with mono:
https://github.com/mono/Embeddinator-4000/blob/master/objcgen/script/objcgen
You will have to adapt to invoking the exe directly on Windows.


[ENG-3764] OSF Home/Landing Page - Testimonials

Ticket: https://openscience.atlassian.net/browse/ENG-3764
Feature flag: feature/a11ly-testimonial-keyboard-navigation

Purpose
The purpose of these changes was to make the OSF Researchers carousel component more accessible to users. This update included slight element redesign of the nested testimonial and carousel slide content and updating the corresponding aria-labels and CSS.
Summary of Changes
modified:   app/home/-components/testimonials/styles.scss
modified:   app/home/-components/testimonials/template.hbs
modified:   lib/osf-components/addon/components/carousel/styles.scss
modified:   lib/osf-components/addon/components/carousel/template.hbs
modified:   lib/osf-components/addon/components/carousel/x-header/template.hbs
modified:   translations/en-us.yml

Screenshot(s)

Side Effects
We will need to follow up with QA as I am currently testing the component locally on the Dashboard page. When the CSS is not properly set to an active state, this component has the ability to expand and obscure other component's text and elements. Thorough testing with more slides or differently queued active states for the buttons - both the top dot nav as well as left and right scroll arrows - will help ensure proper redirection of user focus.
QA Notes

Does the carousel display?
Does only one slide display at a time?
Are all three hard-coded slides present upon scroll?
Does the dot navigation properly correspond to the total number of slides? Will removing or adding slides update the dot navigation bar?
Are each of the meaningful elements focusable by Tab? By Tab + Shift?
Is the Voiceover/Screen Reader polite or does it interrupt the user experience?
Is the keyboard directional flow a good user experience? Note: the number of tab depths into an element allows for symmetrical mirroring of controls similar to how we perceive them in the physical world. To ensure the experience was more seamless, left and right top tabs have been added that will also help indicate where on the slide the information is located with the aim of adding a right hand control.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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 71.302%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5385

Relevant Lines:
7338

💛  - Coveralls


rubocop: Enable RSpec/RepeatedExampleGroupDescription cop & fix offenses

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?
[x] Have you successfully run brew man locally and committed any changes?

Inspired by my other RuboCop PR on Friday, here's another TODO dealt with.

Review period will end on 2021-02-23 at 00:00:00 UTC.

Nice work @issyl0!

Review period ended.


Handling sended offers :)

Hi there, witch function take care of ofers sended from bot :)
How to accept etc

Bot.offers should be all you need access offers. Read the documentation.

As @andrewda said, Bot.offers is an instance of Alex7Kom/node-steam-tradeoffers and everything you need for trade offers can be found there.


Table config error in RFFT F32 for MVEF

I've been trying to restrict tables from a Helium build, and hit an error in the conditionalising of the RFFT functions.
My particular case was looking to use arm_rfft_fast_init_f32(1024).
This conditionalises on ARM_TABLE_BITREVIDX_FLT_512, but it uses arm_cfft_init_f32 which conditionalises on ARM_TABLE_BITREVIDX_FXT_512.
https://github.com/ARM-software/CMSIS-DSP/blob/bfda7097d513944ad71ef964a947a9040bb0b3a1/Source/TransformFunctions/arm_rfft_fast_init_f32.c#L311
https://github.com/ARM-software/CMSIS-DSP/blob/bfda7097d513944ad71ef964a947a9040bb0b3a1/Source/TransformFunctions/arm_rfft_fast_init_f32.c#L191
https://github.com/ARM-software/CMSIS-DSP/blob/bfda7097d513944ad71ef964a947a9040bb0b3a1/Source/TransformFunctions/arm_cfft_init_f32.c#L197
So both need to be enabled at present to make the RFFT work, although only the FXT is used, and armlink can eliminate the FLT table anyway (at least with -fdata-sections, which we've got on).
By the way, the python config helper told me to use the FLT form despite selecting Helium. I can see the code has logic to say FXT instead, but it didn't seem to activate for me. Some confusion about HELIUM versus config["HELIUM"] perhaps? And it should perhaps be switching on (MVEF && !AUTOVECTORISE) anyway.

@kjbracey The logic for this table selection has gone too complex and I need to rethink it to have something easier to maintain.
Sorry you have found and issue here. I am pretty sure there are other problems and inconsistencies.
I had opened an issue to track this enhancement : https://github.com/ARM-software/CMSIS-DSP/issues/6
I need to have something that can be used with cmake, make and the MDK configuration wizard (not yet used in CMSIS-DSP).

Maybe you can combo that with the enabling control of the memory section control to make life easier, getting the compiler+linker to do the work, reducing or totally avoiding the need for config in the first place.
If your memory section control gives a prefix, then you put each table in a separate section - effectively forcing -fdata-sections for them. That then ensures the linker can eliminate unreferenced tables, as it did the FLT table for me here. And it gives the user the option of fine-grained control in the scatter file, although I'm sure most would wildcard.
Then you don't need all the fine-grained knowledge of what code uses what table in initialisation. You just need the ability to configure which sizes appear in the switch statements. That's back to being simple enough to not really need a tool any more.
Ideally you'd avoid having switch statements for what's effectively a config choice - that design total anathema to embedded devices, because of the way they pull in every possibility, despite the thing being switched on almost certainly being known at compile-time.
I'd suggest exposing arm_rfft_1024_fast_init_f32 etc as API. Anyone using those APIs then would not have to think about table config at all. Only people insisting on passing length as a variable through the older API would hit the issue.
And even the switch API could work better if it was made inline, giving the compiler a chance to compile-time reduce the switch. Hopefully it would be bright enough to not actually inline it if it didn't know the value of len.  Still, shouldn't rely on the inline and simplification occurring to get the saving - you don't want your debug builds to have 100K more tables than non-debug. So you'd still want to have the direct-size-specifying API.

Another thought, although it's getting a bit complex. (But if it eliminates config/make complexity...?)
Have an option to use weak references/alias in the switch statement, so you don't get a table unless you've requested it elsewhere in the code with a arm_rfft_1024_fast_enable_f32() call, that does nothing except serves to pull it in as a non-weak reference.
A powerful pattern, but can be annoying to get right in a portable way.

@kjbracey Thanks for good suggestions.
I have made an update. Since the table used in scalar and MVE versions of cfft are different, the #if needed to test both cases.
I have not modified the Python script because at some point I'll remove it and use something else ... so it is still wrongly generating a _FLT_ in MVE case.

Ideally you'd avoid having switch statements for what's effectively a config choice - that sort of API design is total anathema to embedded devices, because of the way they pull in every possibility, despite the thing being switched on almost certainly being known at compile-time.

I agree. But the other problem of not using a init function and giving details about the implementation is that we may break user code if we need to do things differently  ...
With the init, it gives us more flexibility to change things internally without having to modify the exposed public APIs.
But, the drawback is that we reference tables and prevent linker from doing the work.
We have still not converged on the best tradeoff and obviously some improvements are required.

With the init, it gives us more flexibility to change things internally without having to modify the exposed public APIs.

Makes sense. Although I'd counter that the length of an FFT is almost as fundamental to the caller as the data type - indeed is part of the data type, no? -, so it's not unreasonable for you to break out separate functions. I'd also compare with C++'s pair of span<T> and span<T, len> and similar type pairs - both are available, depending on need, because the constant-len is so common, and worth optimising.
C++14 has made it more plausible to allow this sort of thing to be done automatically, giving the best of both worlds. You can keep everything looking like it's a run-time parameter, but still have compile-time optimisation as long as they're all constants.
The constexpr in C++ is enough to basically force the optimisation when all parameters are constant, even in debug builds. C's not quite as nice, sadly, but still there's a strong chance that a C++14-capable compiler will do the equivalent for a C inline with constant parameters if not debug, it's just not guaranteed in the same way.
I'd previously been investigating that sort of model for pinmux-type things - the runtime "pin" parameters to Mbed OS driver objects, allowing pinmux tables to be eliminated if the pin was (as it usually is) constant, without changing API.  Also CRC configuration. We've reached a time where the static-analysis C++ can guarantee via constexpr is potentially a significant benefit to embedded programming compared to C.

Not tested, but looks good by inspection. Thanks!

@kjbracey  I am indeed thinking about a C++ API for CMSIS-DSP using constexpr and template to avoid the code duplication that we have in the library and to provide a more user friendly API. But, it is long term plan ...


Splash screen for UWP in MAUI

Currently, MAUI supports android and ios. But we need support for UWP.
Can you please provide some solution for this ASAP?

<MauiSplashScreen Include="Resources\Splash\splash_screen.svg"  Resize="false" Color="#C8C8C8" />

Hi @Sofiya2696
This is because WinUI doesn't provide any support for splash screens. Once WinUI does, it can be added to .NET MAUI.


Last deployed time is not updating when app is deployed after Discard and Pull

Replication

Have two instances of the same app, A & B
In A, Make changes and push them to the remote repo
In B, make any change, open the commit modal, and click Discard & Pull
The commit made in A will get deployed but the message isn't updating.
Please check this with normal pull flow as well.

Duplicate, Closing in favour of #24945


Files without title, artist, album are not added to library

<song>             <id>81</id>             <title/>             <artist/>             <album/>             <length>342</length>             <trackNumber>0</trackNumber>             <discNumber>0</discNumber>             <playCount>0</playCount>             <playDate>2016-07-19T22:01:24.268</playDate>             <location>/Users/nick/Dropbox/Music/Bon Iver/Bon Iver Eaux Claires Concert/Blindsided.mp3</location>         </song>
I have many song files that are like this one. They don't have any metadata from iTunes or other media players. The MusicPlayer app puts them in the library.xml but they do not appear in the GUI to play

This is a weird problem to solve because I think alot of people have untagged music which makes it difficult to organize their music.
Is there an Unknown Artist in your list of Artists? I recreated your scenario and took a screenshot of the results:


Revert inline nots

Based on the discussion on chisel-users, I also added a formal check for a minimal, non-working FIRRTL input that generates the Verilog pattern Øyvind and @ekiwi were looking at. I added it as a new formal check, but it is expected to fail for this PR since it is broken in master.
circuit AddNot:
  module AddNot:
    input a: UInt<8>
    input b: UInt<8>
    output o: UInt<9>
    o <= add(a, not(b))

Contributor Checklist

[x] Did you add Scaladoc to every public function/method?
[x] Did you add at least one test demonstrating the PR?
[x] Did you delete any extraneous printlns/debugging code?
[x] Did you specify the type of improvement?
[x] Did you state the API impact?
[x] Did you specify the code generation impact?
[x] Did you request a desired merge strategy?

Type of Improvement:

bug fix

API Impact

removes InlineNots

Backend Code Generation Impact

fixes the emission of incorrect Verilog discovered by @oharboe

Desired Merge Strategy

Rebase: You will rebase the PR onto master and it will be merged with a merge commit.

Reviewer Checklist (only modified by reviewer)

[ ] Did you add the appropriate labels?
[ ] Did you mark the proper milestone (1.2.x, 1.3.0, 1.4.0) ?
[ ] Did you review?
[ ] Did you mark as Please Merge?

We should backport this right? It's also broken on 1.2.X

I think we should backport this and get a new release out ASAP.

I've added the 1.2.X Milestone. @albert-magyar please remove if you disagree

Rather than a separate big LEC test, I think we should group these smaller ones in the regular Scala tests using firrtlEquivalenceTest like https://github.com/freechipsproject/firrtl/blob/b90589f5cd9d4048ada2a05d5225874791546170/src/test/scala/firrtlTests/transforms/CombineCatsSpec.scala#L34
I think we could write this test and put it with ignore for now so that Travis passes.

Yeah @jackkoenig this should definitely be 1.2.x, I just forgot. It will need manual fixup since removing the transform itself is obviously a binary-compatibility problem.

@albert-magyar we could also leave the transform, ignore the tests and just don't run it. But yeah removing and fixing up the backport is also fine.

I reverted the const-prop change since the value of the strength reduction is reduced in the absence of InlineNots.
We've also seen in #1240 that rolling strength reduction into ConstantPropagation can sometimes hurt QoR.

Merging this since @jackkoenig got it through SiFive regressions when cherry-picking into pre-inline-nots 1.2.x.

The above comment: mergify bot added the Backported label 14 minutes ago may be true, but the action it claims: This PR has been backported to 1.2.X appears not to be true, possibly because it failed checks. Should someone manually cherry-pick it into 1.2.x?

I'm manually fixing it up -- the Backported label maybe isn't as clear as it could be. Currently it just means that the backport PR has been opened.

Maybe there's a bug in Mergify

I couldn't find evidence of a backport PR.


setPublicAccess from universalAccess not working as expected

Bug description
SetPublicAccess  doesn’t return null, but returns an access object that is unchanged.
To Reproduce
(the pod used to get this bug is hosted on https://pod.inrupt.com/)

Create a new container
try to use setPublicAccess to set a new public access type on the created container (e.g: {read:true, write: true}
assign the return to some variable
check value of that variable, it would have read: false and write: false

Minimal reproduction
https://codesandbox.io/s/great-tharp-qzznwy?file=/src/index.ts
Expected result
The expected result is:

null returned in case if you don't have rights to change access to the resource.
an access object with values that were passed to the function  (on return)

Actual result
an access object with everything set to false was returned (while read: true and write: true were passed to the function)
Environment

System:
OS: macOS 10.15.7
CPU: (4) x64 Intel(R) Core(TM) i5-3427U CPU @ 1.80GHz
Memory: 47.77 MB / 4.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node
npm: 8.3.1 - ~/.nvm/versions/node/v16.14.0/bin/npm
Browsers:
Chrome: 102.0.5005.61
Safari: 15.5
npmPackages:
@babel/core: ^7.17.9 => 7.17.9
@babel/preset-env: ^7.16.11 => 7.16.11
@babel/preset-react: ^7.16.7 => 7.16.7
@babel/preset-typescript: ^7.16.7 => 7.16.7
@inrupt/lit-generated-vocab-common: ^0.3.11 => 0.3.11
@inrupt/solid-client: ^1.23.1 => 1.23.1
@inrupt/solid-client-access-grants: ^1.0.1 => 1.0.1
@inrupt/solid-client-authn-browser: ^1.11.7 => 1.11.7
@inrupt/solid-ui-react: ^2.7.0 => 2.7.0
@inrupt/vocab-common-rdf: ^1.0.3 => 1.0.3
@types/jest: ^27.4.1 => 27.4.1
@types/node: ^17.0.23 => 17.0.23
@types/react: ^18.0.2 => 18.0.2
@types/react-dom: ^18.0.0 => 18.0.0
assert: ^2.0.0 => 2.0.0
babel-loader: ^8.2.4 => 8.2.4
bootstrap: ^5.1.3 => 5.1.3
buffer: ^6.0.3 => 6.0.3
css-loader: ^6.7.1 => 6.7.1
gh-pages: ^3.2.3 => 3.2.3
html-webpack-plugin: ^5.5.0 => 5.5.0
rdf-namespaces: ^1.9.2 => 1.9.2
react: ^18.0.0 => 18.0.0
react-bootstrap: ^2.2.3 => 2.2.3
react-dom: ^18.0.0 => 18.0.0
react-icons: ^4.3.1 => 4.3.1
solid-file-client: ^2.1.3 => 2.1.3
style-loader: ^3.3.1 => 3.3.1
ts-loader: ^9.2.8 => 9.2.8
typescript: ^4.6.3 => 4.6.3
webpack: ^5.72.0 => 5.72.0
webpack-cli: ^4.9.2 => 4.9.2
webpack-dev-server: ^4.8.1 => 4.8.1
npmGlobalPackages:
corepack: 0.10.0
create-react-app: 5.0.0
java: 0.12.2
jest: 27.5.1
npm: 8.3.1
typescript: 4.6.2
Additional information

A small update: getPublicAccess from universalAccess module behaves in the same way, ie it would return object:
{ read: false, append: false, write: false, controlRead: false, controlWrite: false} even though public access if defined differently on the called resource.
After examining the source code, I think I found a possible reason for such behavior:

in case if the POD uses acr (and in does in our case), function getPublicAccess calls getPublicAccessAcp function.
getPublicAccessAcp calls getAgentAccess function:
https://github.com/inrupt/solid-client-js/blob/0f2f6c906e7c60581d3ff97111be05b586988ffb/src/acp/util/getAgentAccess.ts
this one.
And I think this is where the bug comes from, because in this function we have an initialization of a variable as such( that is then returned):
let resourceAccess = {
read: false,
append: false,
write: false,
controlRead: false,
controlWrite: false,
};
And value of this variable is only changed on map calls on arrays obtained from calling functions:
getPolicyUrlAll and getAcrPolicyUrlAll
But, as pointed out in this bug report (not in the original message but in the reply to the original message):
https://github.com/inrupt/solid-client-js/issues/1641
These functions are bugged and always return empty arrays, and therefore as there is nothing to map over, the value of
resourceAccess is never updated and is return in unchanged form.


No such file or directory: 'requirements.txt'

ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

cd DB-GPT

same here, couldnt find requirements.txt. There is one in the docs folder, but that seems not the right one

@yihanglim
you can use pip install . for now

But that does not install all the required module, all chormadb, langchain, etc are missing

pip install -e '.[all]'

Indeed, there has been a modification, and you may now access the most recent document for installation.
https://db-gpt.readthedocs.io/en/latest/getting_started/install/deploy/deploy.html#install


Crash before game load

Using 1.7.2, I have both mixin bootstrap and booter, crashes before even launching the game window
Forge 2860
https://pastebin.com/KhgkJ5EC

Try this build; let me know if it fixes the issue. One of your mods is changing the grass block implementation and causes a mixin to not apply successfully. Since it's a bugfix, not a feature, I've just made it optional.
testbuild.zip

1.8.0 contains this fix; please let me know if you're still having issues.


Do we need faillog anymore?

Looking at login.c in shadow-4.8.1:
729: #ifdef USE_PAM
924: #else				/* ! USE_PAM */
1034: 		    && getdef_bool ("FAILLOG_ENAB")

On line 1288 onwards there's more:
#ifndef USE_PAM
		motd ();	/* print the message of the day */
		if (   getdef_bool ("FAILLOG_ENAB")
		    && (0 != faillog.fail_cnt)) {
			failprint (&faillog);
			/* Reset the lockout times if logged in */
			if (   (0 != faillog.fail_max)
			    && (faillog.fail_cnt >= faillog.fail_max)) {
				(void) puts (_("Warning: login re-enabled after temporary lockout."));
				SYSLOG ((LOG_WARN,
				         "login '%s' re-enabled after temporary lockout (%d failures)",
				         username, (int) faillog.fail_cnt));
			}
		}

Looking at login.c in shadow-4.8.1:
729: #ifdef USE_PAM
924: #else				/* ! USE_PAM */
1034: 		    && getdef_bool ("FAILLOG_ENAB")

On line 1288 onwards there's more:
#ifndef USE_PAM
		motd ();	/* print the message of the day */
		if (   getdef_bool ("FAILLOG_ENAB")
		    && (0 != faillog.fail_cnt)) {
			failprint (&faillog);
			/* Reset the lockout times if logged in */
			if (   (0 != faillog.fail_max)
			    && (faillog.fail_cnt >= faillog.fail_max)) {
				(void) puts (_("Warning: login re-enabled after temporary lockout."));
				SYSLOG ((LOG_WARN,
				         "login '%s' re-enabled after temporary lockout (%d failures)",
				         username, (int) faillog.fail_cnt));
			}
		}

PAM_FAILDELAY(8): "If no delay is given, pam_faildelay will use the value of FAIL_DELAY from /etc/login.defs."

PAM_FAILDELAY(8): "If no delay is given, pam_faildelay will use the value of FAIL_DELAY from /etc/login.defs."

Debian has a patch to re-enable faillog.

Debian has a patch to re-enable faillog.


Added to-do list project

Describe your change:

[x] Add a Project

Checklist:

[ ] I have read CONTRIBUTING.md.
[ ] This pull request is all my own work -- I have not plagiarized.
[ ] I know that pull requests will not be merged if they fail the automated tests.
[ ] This PR only changes one Project folder.  To ease review, please open separate PRs for separate algorithms.
[ ] All new Project files are placed inside an existing directory.
[ ] If this pull request resolves one or more open issues then the description above includes the issue number(s) with a closing keyword: "Fixes #ISSUE-NUMBER".
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] My changes generate no new warnings
[ ] The title of my pull request is a short description of the requested changes.
[ ] I have made corresponding changes to the documentation
[ ] My PR needs documentation change

@dev-AshishRanjan how do I get myself in contributors page? I already have two projects added.

@dev-AshishRanjan how do I get myself in contributors page? I already have two projects added.

You are already there 😂
The contributors page fetches the data from github api
the api's data modify after some time, it doesn't modify instantly
With more contributions (more commits in your PR), your name will be there

lol got it, didn't see myself before this PR


Adding a softwire at runtime is now failing

To reproduce:
sudo ./snabb lwaftr bench --name test --cpu 2 \
   program/lwaftr/tests/data/icmp_on_fail.conf \
   program/lwaftr/tests/benchdata/ipv4-0550.pcap \
   program/lwaftr/tests/benchdata/ipv6-0550.pcap

Notice that the packet counts are good.  Now do this:
sudo ./snabb config add test /softwire-config/binding-table/softwire \
   '{ ipv4 <IP_ADDRESS>; psid 7; b4-ipv6 ::2; br-address 2001:db8::;port-set { psid-length 16; }}'

Now the packet counts go to 0.  You can query the bench process and see that many packets are being dropped:
[wingo@snabb1:~/snabb/src]$ sudo ./snabb lwaftr query -n test
lwAFTR operational counters (non-zero)
WARNING: Reading state into tables not yet implemented
drop-all-ipv6-iface-bytes:          1,697,813,052
drop-all-ipv6-iface-packets:        3,014,070
drop-in-by-policy-icmpv4-bytes:     770,003,892
drop-in-by-policy-icmpv4-packets:   1,431,234
drop-no-dest-softwire-ipv4-bytes:   807,246,360
drop-no-dest-softwire-ipv4-packets: 1,582,836
hairpin-ipv4-bytes:                 807,246,360
hairpin-ipv4-packets:               1,582,836
in-ipv4-bytes:                      6,756,964,500
in-ipv4-frag-reassembly-unneeded:   12,285,390
in-ipv4-packets:                    12,285,390
in-ipv6-bytes:                      6,756,908,400
in-ipv6-frag-reassembly-unneeded:   12,285,288
in-ipv6-packets:                    12,285,288
memuse-ipv4-frag-reassembly-buffer: 463,482,888
memuse-ipv6-frag-reassembly-buffer: 464,549,592
out-icmpv4-bytes:                   770,058,768
out-icmpv4-packets:                 1,431,336
out-ipv4-bytes:                     5,458,250,520
out-ipv4-frag-not:                  10,702,452
out-ipv4-packets:                   10,702,452
out-ipv6-bytes:                     7,248,380,100
out-ipv6-frag-not:                  12,285,390
out-ipv6-packets:                   12,285,390

Not sure how long this has been going on for; this is on lwaftr branch.  If adding the softwire happens before any packets have been processed, I think you can end up in a situation where out-ipv6-bytes is actually 0.

Even for old Snabb lwAFTR version v3.1.6 we can see this:
[wingo@snabb1:~/snabb/src]$ git show
commit ccbdc570e201820825de115861580685ea659594
Merge: ffadf0f 64539d4
Author: Diego Pino<EMAIL_ADDRESS>Date:   Thu Jan 19 17:05:23 2017 +0100

    Merge pull request #717 from dpino/changelog-v3.1.6

    Snabb lwAFTR v3.1.6 change log

[wingo@snabb1:~/snabb/src]$ sudo ./snabb lwaftr query -n test
lwAFTR operational counters (non-zero)
in-ipv4-bytes:                      8,249,505,000
in-ipv4-frag-reassembly-unneeded:   14,999,100
in-ipv4-packets:                    14,999,100
in-ipv6-bytes:                      8,249,392,800
in-ipv6-frag-reassembly-unneeded:   14,998,998
in-ipv6-packets:                    14,998,896
memuse-ipv4-frag-reassembly-buffer: 463,571,780
memuse-ipv6-frag-reassembly-buffer: 464,727,376
out-ipv4-bytes:                     7,649,436,960
out-ipv4-frag-not:                  14,998,794
out-ipv4-packets:                   15,009,096
out-ipv6-bytes:                     8,855,487,000
out-ipv6-frag-not:                  14,999,100
out-ipv6-packets:                   14,999,100

[wingo@snabb1:~/snabb/src]$ sudo ./snabb config add test /softwire-config/binding-table/psid-map '{addr <IP_ADDRESS>; psid-length 16;}'

[wingo@snabb1:~/snabb/src]$ sudo ./snabb lwaftr query -n test
lwAFTR operational counters (non-zero)
drop-all-ipv6-iface-bytes:          906,098,436
drop-all-ipv6-iface-packets:        1,609,086
drop-in-by-policy-icmpv4-bytes:     405,443,256
drop-in-by-policy-icmpv4-packets:   753,612
drop-no-dest-softwire-ipv4-bytes:   436,291,740
drop-no-dest-softwire-ipv4-packets: 855,474
hairpin-ipv4-bytes:                 436,291,740
hairpin-ipv4-packets:               855,474
in-ipv4-bytes:                      22,526,955,000
in-ipv4-frag-reassembly-unneeded:   40,958,100
in-ipv4-packets:                    40,958,100
in-ipv6-bytes:                      22,526,842,800
in-ipv6-frag-reassembly-unneeded:   40,957,998
in-ipv6-packets:                    40,957,896
memuse-ipv4-frag-reassembly-buffer: 463,571,780
memuse-ipv6-frag-reassembly-buffer: 464,727,376
out-icmpv4-bytes:                   405,498,132
out-icmpv4-packets:                 753,714
out-ipv4-bytes:                     20,452,235,220
out-ipv4-frag-not:                  40,102,422
out-ipv4-packets:                   40,102,422
out-ipv6-bytes:                     24,165,279,000
out-ipv6-frag-not:                  40,958,100
out-ipv6-packets:                   40,958,100

[wingo@snabb1:~/snabb/src]$ sudo ./snabb config get test /softwire-config/binding-table/psid-map
{
  addr <IP_ADDRESS>;
  psid-length 4;
  shift 12;
}
{
  addr <IP_ADDRESS>;
  psid-length 16;
  shift 0;
}
{
  addr <IP_ADDRESS>;
  psid-length 0;
  shift 16;
}
{
  addr <IP_ADDRESS>;
  psid-length 16;
  shift 0;
}
{
  addr <IP_ADDRESS>;
  psid-length 16;
}
{
  addr <IP_ADDRESS>;
  psid-length 6;
  shift 10;
}

Ahem.  It appears there is a rational reason for this.  It's that the destination IPv4 address of both ipv4-0550.pcap and ipv6-0550.pcap is <IP_ADDRESS>.  Adding that entry to the psid-map makes it now a hairpinned packet.....  Closing this bug and will comb the test suite for instances of <IP_ADDRESS> in added softwires.


[Model Support] FLUX.1-dev

Hey @atiorh, I've made the changes as requested. Just unsure in regards to what you exactly expect from the test-conversion-mlx? Should it be moved to the tests or should it maybe even be deleted as it's not really needed.

@raoulritter Thanks for the quick iteration! We will revise the testing files, download the ckpt and host it alongside schnell. cc: @arda-argmax

Hey @raoulritter, I have problems running your code. I think you need to make your huggingface checkpoint repo public because I cannot access it. Also, it seems that your branch diverged from our main branch. Can you also rebase it?

Hey @arda-argmax,
I think it would perhaps be better based on the conflicts if you guys fixed them according to how you want them instead of me rebasing.

I have encountered with problems while trying to run your code. I think you need to make your huggingface checkpoint repo public because I cannot access it`

I previously wrote the following

Also checking the merge conflicts it appears these are related to the hosting of the checkpoint. Assuming your team will host these checkpoints yourself so won't resolve these for you.

Let me know if you still want me to take a look but perhaps would make more sense from your side.

I see, sorry I missed it. Can you also share how you run the dev model?

Also updated the merge conflicts 👍 Looks like just a linter issue now

Added a couple changes and got it working locally, just need to fix/remove the tests 👍

diffusionkit-cli --prompt "detailed cinematic dof render of a \
detailed MacBook Pro on a wooden desk in a dim room with items \
around, messy dirty room. On the screen are the letters 'FLUX on \
DiffusionKit' glowing softly. High detail hard surface render" \
--height 768 \
--width 1360 \
--seed 1001 \
--step 50 \
--output ~/Desktop/flux_on_mac.png \
--model-version argmaxinc/mlx-FLUX.1-dev

Trying to run from this branch and I am getting:
huggingface_hub.utils._errors.RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-66df5923-68833e15000b3b0d21d61def;e6a2d04b-f799-46e3-ab18-23cf484b0657)
Repository Not Found for url: https://huggingface.co/argmaxinc/mlx-FLUX.1-dev/resolve/main/flux1-dev.safetensors.
Please make sure you specified the correct repo_id and repo_type.
If you are trying to access a private or gated repo, make sure you are authenticated.

@mgierschdev Thanks for the report, there were some restrictions on the model repo that I've removed now, could you try it again and lmk how it goes?

@raoulritter This is an awesome contribution, thank you!

Hi @ZachNagengast happy to help thanks for fixing the conflicts and nits. I would love to (help) add lora capabilities as well not sure what your team's plan is.


chore(main): release veto 0.3.30

:robot: I have created a release beep boop
0.3.30 (2024-05-22)
Bug Fixes

veto: remove zod from peerDeps (45bd8e9)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/fuf-stack/uniform/releases/tag/veto-v0.3.30 :sunflower:


Connect with homepage

What this PR does / why we need it?

Navigate to the homepage when the user signs out.
There are two versions for displaying the "home" and "dashboard" in the mobile navigation.

This PR applied version 1.
Version 2 is similar to the mobile header of the homepage, but we need to consider the UI when the project name becomes longer or the team is added.

Any background context you want to provide?
What are the relevant tickets?

Fixes #
Checklist

[x] Added relevant tests or not required
[x] Didn't break anything

This is another version


Simple instructions aren't being followed

Describe the bug
I just upgraded and almost at 10% of my credits just repeating the basic instruction of changing the nav icon color. I keep repeating the same thing, no changes.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-9ejalhuz
Steps to reproduce
Request icons be changed to #8A8A8E
Expected behavior
Color of icons change
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 117840815,
  "usedJSHeapSize": 108753035,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username =<EMAIL_ADDRESS>Chat ID = e07b916955c0

Additional context
No response

i have experienced that same issue many times. The thing I found top break that "cycle" was to ask bolt "DO NOT CHANGE ANY CODE. Please give me a recap of the issue I have been repeatedly asking you to fix. Explain where the icon is and describe its current state and status"


Windows/MinGW compile errors

Compiling tbox 1.6.3 on Windows with MinGW (GCC 7.3.0) via:
xmake f -p mingw --cflags=-Wno-error=unknown-pragmas
xmake
...
[23%]: compiling.release src\tbox\libm\tanf.c
[23%]: compiling.release src\tbox\libm\atan.c
[23%]: compiling.release src\tbox\libc\string\strcat.c
error: src\tbox\platform\windows\iocp_object.c:456:85: error: 'FILE_SKIP_COMPLETION_PORT_ON_SUCCESS' undeclared (first use in this function); did you mean 'IO_COMPLETION_ALL_ACCESS'?
             if (tb_kernel32()->SetFileCompletionNotificationModes((HANDLE)clientfd, FILE_SKIP_COMPLETION_PORT_ON_SUCCESS))
                                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                IO_COMPLETION_ALL_ACCESS
src\tbox\platform\windows\iocp_object.c:456:85: note: each undeclared identifier is reported only once for each function it appears in
src\tbox\platform\windows\iocp_object.c: In function 'tb_iocp_object_connect':
src\tbox\platform\windows\iocp_object.c:544:117: error: 'FILE_SKIP_COMPLETION_PORT_ON_SUCCESS' undeclared (first use in this function); did you mean 'IO_COMPLETION_ALL_ACCESS'?
                     if (tb_kernel32()->SetFileCompletionNotificationModes((HANDLE)(SOCKET)tb_sock2fd(object->sock), FILE_SKIP_COMPLETION_PORT_ON_SUCCESS))
                                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                IO_COMPLETION_ALL_ACCESS

Visual Studio 2015 compiles fine but that's not what i am looking for. Anything i missed? Thanks!

I have fixed this defines for mingw in dev branch. You can update the dev branch code and try it again.

This one is fixed. Next error:
[28%]: compiling.release src\tbox\container\element\long.c
[28%]: compiling.release src\tbox\libc\string\wcsnrstr.c
error: src\tbox\platform\windows/ifaddrs.c:40:42: error: expected '{' before '=' token
     tb_ifaddrs_interface_ref_t interface = (tb_ifaddrs_interface_ref_t)buff;
                                          ^
In file included from c:\mingw64-gcc-7.3.0\x86_64-w64-mingw32\include\urlmon.h:7:0,
                 from c:\mingw64-gcc-7.3.0\x86_64-w64-mingw32\include\ocidl.h:226,
                 from c:\mingw64-gcc-7.3.0\x86_64-w64-mingw32\include\naptypes.h:23,
                 from c:\mingw64-gcc-7.3.0\x86_64-w64-mingw32\include\ras.h:17,
                 from c:\mingw64-gcc-7.3.0\x86_64-w64-mingw32\include\mprapi.h:10,
                 from c:\mingw64-gcc-7.3.0\x86_64-w64-mingw32\include\iprtrmib.h:9,
                 from c:\mingw64-gcc-7.3.0\x86_64-w64-mingw32\include\iphlpapi.h:17,
                 from src\tbox\platform\windows/prefix.h:39,
                 from src\tbox\platform\windows/ifaddrs.c:29,
                 from src\tbox\platform\ifaddrs.c:77:
src\tbox\platform\windows/ifaddrs.c:40:32: error: two or more data types in declaration specifiers
     tb_ifaddrs_interface_ref_t interface = (tb_ifaddrs_interface_ref_t)buff;
                                ^
src\tbox\platform\windows/ifaddrs.c:41:9: error: expected expression before 'struct'

Ok, I will install mingw environment to compile and fix it.

I have fixed some compile errors for mingw, you can update the dev branch code and try it again.
And I have also fixed unknown-pragmas warning errors.
$ xmake f -p mingw
$ xmake

for x86_64 arch:
$ xmake f -p mingw -a x86_64
$ xmake

Great! I was wondering why warnings are treated as errors hence the --cflags=-Wno-error=unknown-pragmas switch. Will try to compile with your fixes soon.

Grabbed the dev branch but got this now:
 xmake f -p mingw -a x86_64
error: C:\Program Files (x86)\xmake/core/base/os.lua:691: C:\Users\nk\Desktop\tbox-dev\xmake.lua:102: attempt to call global 'has_config' (a nil value)
stack traceback:
    [C:\Users\nk\Desktop\tbox-dev\xmake.lua:102]: in main chunk

It doesn't reach the compilation step.

you need update xmake v2.2.2

Everything works now. Thanks for the library.


Update documentation according to recent code changes.

@szczeles Feel free to add your changes here

@szczeles Feel free to add your changes here

Looks good! I've replaced sample config in README.md with link to the docs (so we don't need to keep >2 copies of the config - one in the code and second one in the docs)

Looks good! I've replaced sample config in README.md with link to the docs (so we don't need to keep >2 copies of the config - one in the code and second one in the docs)


wip: update: mouting /dev is not needed for eBPF

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind user-interface

/kind content

/kind translation

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area blog

/area documentation

/area videos

What this PR does / why we need it:
-v /dev:/host/dev is not needed when using the eBPF probe. This PR modifies the provided instruction accordingly.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
TODOs:

[ ] test the instructions
[ ] update translations too

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jasondellaluce,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


No link hinting after Cmd-F

Hi!
After I search within a webpage (Cmd-F), vimari's link hint toggle stops working. To re-enable it, I have to switch away from the browser's tab and come back. Then it works again.

Issue disappeared in Safari 10.0.


Does it support 13th generation processor?

Hello，Does it support 13th generation processor?

The motherboard sure supports 13th Intel. But you might need to modify the config.plist for your specific processor which I did not have a chip to test with.
Here is some latest up to date (OpenCore v0.9.5) EFI repo you can check: https://github.com/luchina-gabriel/BASE-EFI-INTEL-DESKTOP-13THGEN-RAPTOR-LAKE


Don't warn when a flag is missing

It's totally legitimate to reference a feature flag that doesn't exist, yet, but before this change, doing so would spam our logs with warnings.

Hmm, I think it might be a useful signal that a flag has been typoed? It does mean we need to remember to create the flag before deploying though, otherwise we get said spam.

Has that ever happened for us? Because I know we do get it right, but don't create the flag in LaunchDarkly.

IMO most ergonomic thing to do here would be to keep a package private map[string]bool which says whether or not we've emitted the warning, and emit it once before setting the key value to true in that map.

Nice. I like that idea.

as long as said map is thread-safe. A sync.Map, say.


feat(sdk): add custom screens to IAM dialog

This PR will add the feature to inject custom screens in the IAM Dialog.
Users can inject the screen in both the "Organization" and "User" sections.
example code to inject a custom screen.
import { Window, OrganizationProfile, Layout } from '@raystack/frontier/react';

function HelloWorld() {
  return (
    <Layout title="Hello">

Hello World

    </Layout>
  );
}

export default function OrgPage({ params }: { params: { orgId: string } }) {
  const orgId = params.orgId;

  return orgId ? (
    <Window open={true} onOpenChange={() => {}}>
      <OrganizationProfile
        organizationId={orgId}
        customScreens ={[
          {
            name: 'Hello',
            path: '/hello',
            category: 'User',
            component: HelloWorld
          }
        ]}
      />
    </Window>
  ) : null;
}

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

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 9.669%

Totals

Change from base Build<PHONE_NUMBER>1:
0.0%

Covered Lines:
11008

Relevant Lines:
113854

💛  - Coveralls


[Feature request]: Mobile Support

What is your idea?
I'd really like to see mobile support added in this addon. Currently as it stands, the addon does not load when running as a mobile application. This has the unfortunate side-effect of crashing the application whenever a script uses the DiscordRPC singleton.
Additional information
No response

#54
actual mobile support is not possible with discord's library

#58
actual mobile support is not possible with discord's library

Oh ok


fix(curriculum): allow spaces in step 27 of Luhn algorithm

Checklist:

[X] I have read and followed the contribution guidelines.
[X] I have read and followed the how to open a pull request guide.
[X] My pull request targets the main branch of freeCodeCamp.
[X] I have tested these changes either locally on my machine, or GitPod.

Closes #54506

I forgot to push yesterday. But I did finish it.


Update ont-huawei-ma5671a.md

Restore backup of all partition (removed in cf2ddd45af85a886a41a052b255cc9329486d939 #29, but not restored in #30)
Add cloning mtd1 to mtd5 procedure

Reopen


tuleap-cli: init at 1.0.0

Description of changes
https://gitlab.com/csgroup-oss/tuleap-cli

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I'm going to merge this, it is pretty much self contained and it has been reviewed.


php7.1 composer install fails

C:\xampp7.1.4\htdocs\language-server>php -v
PHP 7.1.4 (cli) (built: Apr 11 2017 20:08:12) ( ZTS MSVC14 (Visual C++ 2015) x86 )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies

C:\xampp7.1.4\htdocs\language-server>composer require felixfbecker/language-server
Using version ^4.4 for felixfbecker/language-server
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - felixfbecker/language-server v4.4.1 requires squizlabs/php_codesniffer 3.0.0RC3 -> satisfiable by squizlabs/php_codesniffer[3.0.0RC3] but these conflict with your requirements or minimum-stability.
    - felixfbecker/language-server v4.4.0 requires squizlabs/php_codesniffer 3.0.0RC3 -> satisfiable by squizlabs/php_codesniffer[3.0.0RC3] but these conflict with your requirements or minimum-stability.
    - Installation request for felixfbecker/language-server ^4.4 -> satisfiable by felixfbecker/language-server[v4.4.0, v4.4.1].

is it expected, that this doesnt work with default minimum stability?

https://github.com/felixfbecker/php-language-server/issues?utf8=✓&q=minimum stability


Mass deleting leads to a bad request 400 error

This was mentioned in https://github.com/sissbruecker/linkding/issues/225 and sorted out as  performance issue, or a timeout issue .
It seems that it is not a performance or a timeout issue.  There is DATA_UPLOAD_MAX_NUMBER_FIELDS (Default: 1000) in Django settings.
After having modified this setting DATA_UPLOAD_MAX_NUMBER_FIELDS=10000  I was successful in deleting 5600 bookmarks at once. Is it possible to allow customizing this value in linkding options?

The setting controls how many form parameters may be received from the browser in a GET or POST request. The admin view does not use that many parameters. When you click the link for selecting all results, it just toggles a single hidden input (1 form parameter), it does not add several thousand parameters to the form. The actual items are then determined on the server during request execution, based on the search query.
I would guess that it was just coincidence that you got it working. Apart from that you can customize settings by mounting a custom settings file into the Docker container at the path <linkding-root>/siteroot/settings/custom.py.

It seems your guessing could be successfully questioned. I am able to repeat deleting of several thousands records from admin interface every time I need it. It means no coincidence in my opinion. Same behavior is described here: https://stackoverflow.com/questions/55921865/django-admin-deleting-all-records-bad-request-400#55926091 .
Yes it is possible to mount custom setting to container as described here: https://www.howtogeek.com/devops/how-to-mount-or-symlink-a-single-file-in-a-docker-container/, but it is a little bit extreme solution from my point of view.  Anyway thanks for reply.

I double checked, the problem is actually with the confirmation page after you have selected to delete all bookmarks. That one can indeed send more than a thousand params, which results in an error. Still think that customizing the settings is good enough, though I would accept a PR for adding an option for this to linkding.

I appreciate your double-checking! I will prepare a PR for sure, but I need some time for getting acquainted with the inners of Django.


As an HR advisor I want to produce a report on the salary of all employees so that I can support financial reporting of the organisation.

TEsting by transferring to another repo.


Do not pre-install beam in tensorrt container

Fix Python PostCommit tensorrttest
Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

The change already applied to gcr. WIll wait to see if Python PostCommit passes

Run Python PreCommit 3.8

Actually it requires to have a pre-installed beam SDK:
2024/03/07 06:41:34 Downloaded: /var/opt/google/staged/dataflow_python_sdk.tar (sha256:
b3e497c7adc062ee3fb5e9ca90b9d32ff96a5e423a5f7a321106530fc7ab9a9f, size: 2424308)

2024-03-07 01:46:53.456 EST
failed to install required packages: Apache Beam is not installed in the runtime environment. If you use a custom container
image, you must install apache-beam package in the custom image using same version of Beam as in the pipeline
submission environment. For more information, see: the https://beam.apache.org/documentation/runtime/environments/

Actually it requires to have a pre-installed beam SDK:
2024/03/07 06:41:34 Downloaded: /var/opt/google/staged/dataflow_python_sdk.tar (sha256:
b3e497c7adc062ee3fb5e9ca90b9d32ff96a5e423a5f7a321106530fc7ab9a9f, size: 2424308)

2024-03-07 01:46:53.456 EST
failed to install required packages: Apache Beam is not installed in the runtime environment. If you use a custom container
image, you must install apache-beam package in the custom image using same version of Beam as in the pipeline
submission environment. For more information, see: the https://beam.apache.org/documentation/runtime/environments/

it's a bug. let me try to build an image that includes a fix.

I pushed an updated version of us.gcr.io/apache-beam-testing/python-postcommit-it/tensor_rt:latest that reflects https://github.com/apache/beam/pull/30565

(still uploading, but we should be able to retry the test in a few mins)

test passed: https://pantheon.corp.google.com/dataflow/jobs/us-central1/2024-03-07_14_51_22-12424512300057262799;graphView=0?project=apache-beam-testing


Button to support functionality with "all attachments"

Hi,
I have a use-case to deal with all the attachments with the email, i would need a button to be placed next to 'Download all attachments' and 'Save all to Drive' in the attachment section of the email message.
I see an API to add button to individual attachments but not one to support all the attachments.
Can anyone share your thoughts on this please, does GmailJS support this or should this be a custom approach and has to be taken care from the web extension end ?

You’ll have to piece that together yourself, but the API should make it possible as far as I can tell.

I could achieve the requirement, closing this ticket.
Thanks


Add "Jobs" to home page buttons

We currently only have project and tasks:

And let's add a brief sentence like "The Jobs page lets you view jobs associated to your projects."


Bump versionName to 1.0.6 for release.

Ready for review label?

@ataulm yes, we were seeing some issues with the 1.0.6 rollout.  The fixes were merged before this PR was merged so I'll close this PR and manually tag the 1.0.6 release.


[bug] wrong scanned result when background is red

mobile_scanner could scan right when I changed background color at photoshop to black or white and changed color of bar code.
there is wrong result from scanning bar code from picture (for example I got barcode's results like this:<PHONE_NUMBER>93,470455036662,705550351533). other bar code scanners/services check it right.
to reproduce the bug, please scan this bar code.

This is an issue with the underlying framework from google, MLKit barcode scanner, so i can't fix this.


Updated mapping as per https://github.com/Microsoft/vscode/issues/28383

alt+9 was displaying warning "command 'workbench.view.git' not found"
As per https://github.com/Microsoft/vscode/issues/28383 thread, 'workbench.view.git' changed to 'workbench.view.scm'.
Updated same.

@megha-n-bodke  Thanks!


When environment variables are not set, provider throws an error (happens on linux masters every time)

Error: Could not autoload puppet/provider/package/chocolatey: undefined method `+' for nil:NilClass
/var/lib/puppet/lib/puppet/provider/package/chocolatey.rb:24:in `chocolatey_command'
/var/lib/puppet/lib/puppet/provider/package/chocolatey.rb:69:in `block in <top (required)>'

Which corresponds to https://github.com/chocolatey/puppet-chocolatey/blob/master/lib/puppet/provider/package/chocolatey.rb#L24

Workaround https://gist.github.com/ferventcoder/d5d9d9bb5c25548f24eb


remove react-addons-shallow-compare package and use from React.PureComponent

Coverage increased (+0.07%) to 86.585% when pulling 7496ddcf2d74f3d9fffd29695ca4d1aa1bd275e6 on alirezavalizade:master into 3c75774e5351fe0a76bb222d5e2f309d31d665c0 on airbnb:master.

This is a duplicate of #313, #565, and #851.
It would be a breaking change, and thus we can’t do it until we’ve dropped React 15 entirely (since < 15.3 iirc) doesn’t support PureComponent. That can’t happen until at least React 18 is out, and probably not even then.


[🐞] Azure/SWA: local preview not working

Which component is affected?
Qwik Runtime
Describe the bug
Having installed the azure-swa adapter and successfully built the app, I am unable to preview it locally using npx swa start.
> npx swa start

Welcome to Azure Static Web Apps CLI (1.1.10)

Using configuration "qwik-app" from file:
  .....\qwik-swa-repro\swa-cli.config.json

***********************************************************************
* WARNING: This emulator may not match the cloud environment exactly. *
* Always deploy and test your app in Azure.                           *
***********************************************************************

[api] Can't determine project language from files. Please use one of [--dotnet-isolated, --dotnet, --javascript, --typescript, --java, --python, --powershell, --custom]
[api] Can't determine project language from files. Please use one of [--dotnet-isolated, --dotnet, --javascript, --typescript, --java, --python, --powershell, --custom]
[api] Can't determine project language from files. Please use one of [--dotnet-isolated, --dotnet, --javascript, --typescript, --java, --python, --powershell, --custom]
[api]
[api] Azure Functions Core Tools
[api] Core Tools Version:       4.0.6280 Commit hash: N/A +421f0144b42047aa289ce691dc6db4fc8b6143e6 (32-bit)
[api] Function Runtime Version: 4.834.3.22875
[api]
[api] Can't determine project language from files. Please use one of [--dotnet-isolated, --dotnet, --javascript, --typescript, --java, --python, --powershell, --custom]
[api] Can't determine project language from files. Please use one of [--dotnet-isolated, --dotnet, --javascript, --typescript, --java, --python, --powershell, --custom]
[api] Can't determine project language from files. Please use one of [--dotnet-isolated, --dotnet, --javascript, --typescript, --java, --python, --powershell, --custom]
[api] [2024-12-13T16:11:30.848Z] The 'FUNCTIONS_WORKER_RUNTIME' setting is required. Please specify a valid value. See https://go.microsoft.com/fwlink/?linkid=2257963 for more information. The application will continue to run, but may throw an exception in a future release.
[api] [2024-12-13T16:11:30.896Z] No job functions found. Try making your job classes and methods public. If you're using binding extensions (e.g. Azure Storage, ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. builder.AddAzureStorage(), builder.AddServiceBus(), builder.AddTimers(), etc.).
[api] For detailed output, run func with --verbose flag.
[swa]
[swa] Found configuration file:
[swa]   .....\qwik-swa-repro\public\staticwebapp.config.json
[swa]
[swa]
[swa] Serving static content:
[swa]   .....\qwik-swa-repro\dist
[swa]
[swa] Serving API:
[swa]   .....\qwik-swa-repro\azure-functions
[swa]
[swa] Azure Static Web Apps emulator started at http://localhost:4280. Press CTRL+C to exit.
[swa]
[swa]
[api] [2024-12-13T16:11:35.849Z] Host lock lease acquired by instance ID '000000000000000000000000464D5A11'.
[swa] GET http://<IP_ADDRESS>:7071/api/render (proxy)
[swa] GET http://localhost:4280/api/render - 404

The server is running, but with mixed results:

for / and for /index.html it responds a 404
some static files like robots.txt or manifest.json are correctly delivered
overall the app isn't working

Reproduction

clone https://github.com/rondonjon/qwik-swa-deployment-repro
install dependencies
npm run build
npx swa start

System Info
System:
    OS: Windows 11 10.0.22631
    CPU: (32) x64 AMD Ryzen 9 7945HX with Radeon Graphics
    Memory: 15.17 GB / 31.19 GB
  Binaries:
    Node: 20.18.1 - C:\Program Files\nodejs\node.EXE
    npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    @builder.io/qwik: ^1.11.0 => 1.11.0
    @builder.io/qwik-city: ^1.11.0 => 1.11.0
    typescript: 5.4.5 => 5.4.5
    undici: * => 7.1.0
    vite: 5.3.5 => 5.3.5

Additional Information
No response

Problem solved.
Didn't work in VS Code's bash terminal, but does work in a standard Windows terminal.

OK, after several days of debugging and searches, I think I found the root cause. I am leaving this here as an update, hoping that someone else may find it useful in the future.
TL;DR: ignore the errors about v4 in swa start, don't use local previews at all, downgrade to v3 of the Azure Core Function Tools if you have v4 installed, and try a deployment to Azure. If this works for you, use the env flag of the SWA CLI app to deploy to preview environments to test the app before targeting production.
Recap: the Qwik adapter relies on the SWA CLI app, which deploys Static Web Applications on Azure, which, despite the name, aren't necessarily fully static, but may have an API with cloud functions. The Qwik adapter executes an additional Vite build to produce a bundle in /azure-functions which contains a server function which is then mounted to /api and targeted by rewriting requests to pages and endpoints on the server-side.
I was getting the error above because SWA downloads the latest function tools (currently v4) for swa start. This causes some errors, mainly because the Qwik adapter generates code for the v3 functions API, but also due to a bug that caused no suitable download to be found for Windows users for several months.
I spent some time to migrate the Qwik adapter to v4 locally and was eventually able to get the local previews to work. At the same time, however, I realized that the deployments to Azure were no longer working.
As it turns out, v4 of the functions API has been "GA" for over a year now, and most Azure products (including the Functions App) do in fact use v4 as the default by now, and while SWA only works with v4 locally, it still relies on v3 during deployments. The implementation of v4 support for deployments is still pending.

Should a developer want to migrate the Azure SWA adapter to v4, the following may be of help.
--
official v3 -> v4 migration guide
--
function.json is no longer needed. The function handlers should now be exposed programmatically in the entry file (see below).
--
package.json must reference the entry point in its "main" field, like so:
{
   "type": "module",
   "main": "render/index.mjs"
}

--
host.json is no longer needed and can be removed
--
Middleware has to use new types, in particular for context and request.
The order of context and request has changed.
Headers are now supplied in a different structure.
import type {
  FunctionHandler,
  InvocationContext,
  HttpRequest,
} from "@azure/functions";
import { setServerPlatform } from<EMAIL_ADDRESS>import { requestHandler } from<EMAIL_ADDRESS>import type {
  ServerRenderOptions,
  ServerRequestEvent,
} from<EMAIL_ADDRESS>import { getNotFound } from "@qwik-city-not-found-paths";
import {
  _deserializeData,
  _serializeData,
  _verifySerializable,
} from<EMAIL_ADDRESS>import { parseString } from "set-cookie-parser";
import { isStaticPath } from "@qwik-city-static-paths";

interface AzureResponse {
  status: number;
  headers: { [key: string]: unknown };
  body?: string | Uint8Array;
  cookies?: AzureCookie[];
}

interface AzureCookie {
  /** Cookie name */
  name: string;
  /** Cookie value */
  value: string;
  /** Specifies allowed hosts to receive the cookie */
  domain?: string;
  /** Specifies URL path that must exist in the requested URL */
  path?: string;
  /**
   * NOTE: It is generally recommended that you use maxAge over expires. Sets the cookie to expire
   * at a specific date instead of when the client closes. This can be a Javascript Date or Unix
   * time in milliseconds.
   */
  expires?: Date | number;
  /** Sets the cookie to only be sent with an encrypted request */
  secure?: boolean;
  /** Sets the cookie to be inaccessible to JavaScript's Document.cookie API */
  httpOnly?: boolean;
  /** Can restrict the cookie to not be sent with cross-site requests */
  sameSite?: string | undefined;
  /**
   * Number of seconds until the cookie expires. A zero or negative number will expire the cookie
   * immediately.
   */
  maxAge?: number;
}

/** @public */
export function createQwikCity(opts: QwikCityAzureOptions): FunctionHandler {
  const qwikSerializer = {
    _deserializeData,
    _serializeData,
    _verifySerializable,
  };

  if (opts.manifest) {
    setServerPlatform(opts.manifest);
  }

  const onAzureSwaRequest: FunctionHandler = async (
    req: HttpRequest,
    context: InvocationContext
  ): Promise<AzureResponse> => {
    try {
      const headers = Array.from(req.headers.entries()).reduce(
        (acc, [key, value]) => {
          acc[key] = value;
          return acc;
        },
        {} as Record<string, string>
      );

      const url = new URL(headers["x-ms-original-url"]);

      const options: RequestInit = {
        method: req.method || "GET",
        headers,
        body: /*req.bufferBody || req.rawBody ||*/ req.body,
      };

      const serverRequestEv: ServerRequestEvent<AzureResponse> = {
        mode: "server",
        locale: undefined,
        url,
        platform: context,
        env: {
          get(key) {
            return process.env[key];
          },
        },
        request: new Request(url, options),
        getWritableStream: (status, headers, cookies, resolve) => {
          const response: AzureResponse = {
            status,
            body: new Uint8Array(),
            headers: {},
            cookies: cookies.headers().map((header) => parseString(header)),
          };
          headers.forEach((value, key) => {
            response.headers[key] = value;
          });
          return new WritableStream({
            write(chunk: Uint8Array) {
              if (response.body instanceof Uint8Array) {
                const newBuffer = new Uint8Array(
                  response.body.length + chunk.length
                );
                newBuffer.set(response.body);
                newBuffer.set(chunk, response.body.length);
                response.body = newBuffer;
              }
            },
            close() {
              resolve(response);
            },
          });
        },

        getClientConn: () => {
          return {
            ip: headers["x-forwarded-client-Ip"],
            country: undefined,
          };
        },
      };

      // send request to qwik city request handler
      const handledResponse = await requestHandler(
        serverRequestEv,
        opts,
        qwikSerializer
      );

      if (handledResponse) {
        handledResponse.completion.then((err) => {
          if (err) {
            console.error(err);
          }
        });

        const response = await handledResponse.response;

        if (response) {
          return response;
        }
      }

      // qwik city did not have a route for this request
      // response with 404 for this pathname

      // In the development server, we replace the getNotFound function
      // For static paths, we assign a static "Not Found" message.
      // This ensures consistency between development and production environments for specific URLs.
      const notFoundHtml = isStaticPath(req.method || "GET", url)
        ? "Not Found"
        : getNotFound(url.pathname);

      return {
        status: 404,
        headers: {
          "Content-Type": "text/html; charset=utf-8",
          "X-Not-Found": url.pathname,
        },
        body: notFoundHtml,
      };
    } catch (e: unknown) {
      console.error(e);
      return {
        status: 500,
        headers: {
          "Content-Type": "text/plain; charset=utf-8",
        },
      };
    }
  };

  return onAzureSwaRequest;
}

/** @public */
export interface QwikCityAzureOptions extends ServerRenderOptions {}

/** @public */
export interface PlatformAzure extends Partial<InvocationContext> {}

--
A new index.mjs entry file registers the handler on app instead of exporting it:
/*
 * WHAT IS THIS FILE?
 *
 * It's the entry point for the Azure Static Web Apps middleware when building for production.
 *
 * Learn more about the Azure Static Web Apps integration here:
 * - https://qwik.dev/docs/deployments/azure-swa/
 *
 */
import { createQwikCity, type PlatformAzure } from "./azure-v4-middleware";
import { app } from "@azure/functions";
import qwikCityPlan from "@qwik-city-plan";
import { manifest } from "@qwik-client-manifest";
import render from "./entry.ssr";

declare global {
	interface QwikCityPlatform extends PlatformAzure {}
}

const handler = createQwikCity({
	render,
	qwikCityPlan,
	manifest,
});

app.http("render", {
	methods: [
		"CONNECT",
		"DELETE",
		"GET",
		"HEAD",
		"OPTIONS",
		"PATCH",
		"POST",
		"PUT",
		"TRACE",
	],
	authLevel: "anonymous",
	handler,
});


Add setup process

If no minions have any role assigned, we will redirect to /setup where we will wait for user input for certain settings.
/setup cannot be visited if there is any minion with an assigned role.
We will also run the discovery, assign roles and run the orchestration.
The root path / will contain a basic monitoring tool.

I need to leave in a while and I don't want to block anybody. There are some tests missing, and others that need to be adapted to the new structure.
Pillar information is actually written into database and navigation works properly.

Please, note that I changed the base branch, instead of master it will be merged into setup-process branch so you can continue from there on.


Improve data integrity & sources

Consider:

Working with lazd/coronadatascraper to scrape data and write scrapers there for any sources we'd like.
Implementing crowdsourcing solutions

With the acceleration of cases and gradual improvements to the API's and Sources we are using the crowdsourcing idea kinda stops making sense. Better focus on cool features like widget + locales + projections


Wasm Languages Guide: Add Javascript example

(Ported from https://github.com/fermyon/wasm-languages/issues/6)

Thanks @vdice
I have a new PR here
https://github.com/fermyon/developer/pull/1190


Make the TAC repo into a site

Signed-off-by: John Mertic<EMAIL_ADDRESS>

Could you provide some background on what this does / how it's supposed to work going forward? I'm guessing the goal is to provide a friendlier web interface than just the GitHub "Code" view, but for instance it seems that (every?) Markdown document now has a HTML version, which brings up a couple of questions:

is this necessary or could it be done on the fly (especially since this isn't going to be high traffic)
will HTML versions of Markdown documents be auto generated at PR merge time, or will additions to the tac repo require generating these as part of the PR?

Hey @jfpanisset and @lgritz !
Good questions. You are right that the intent here is to make the display a bit more friendly, and there are some backend automation bits that I'm looking to employ to keep things like the TAC voting member list up to date.
To your specific questions:

This is using Jekyll, so yes all the translation from Markdown to HTML is done automatically on every commit merged.
For PRs there will be a preview build done so you can see what it looks like before merging, but again there is no additional work needed for you.

The one thing I'm trying to figure out a clever solution for is building the agenda doc with the current list of TAC voting members, but let me chew on that and I'll get something going.
Let me know if this helps!

Good points @jfpanisset! I removed the _site directory since that's autogenerated. I'll also add a few notes for where files would be added to ensure folks add the right metadata as well.
Perhaps let's show this at the TAC meeting Wednesday and then merge in thereafter?

I'm iffy on whether the "source of truth" for TAC membership should be an external Google Docs spreadsheet, that seems like a somewhat brittle mechanism, although I guess the worse that happens if that link breaks is that the local cache tacmembers.csv doesn't get updated. I'm more concerned about having personal / work emails committed to the repo.

We can remove the emails in the csv, as they aren't used anyways.
For the Google Doc, it's an in-between of the internal systems that track this and this site. That sheet is accurate from our internal records.


(= var1 var2) not a boolean

(defvar x 0)

(loop (if (!= x 5)
          (set x (+ x 1))
          (println x)
          (if (= x 5)
              (break "found five")
          )

))

5
Error: not boolean

the output is spammed and doesnt stop
attempting to force x to be a number using (number x) doesnt change anything

i think (= var1 var2) it just broken
running all the examples for = from the crow docs in REPL
% (println (= 5 5))
true
"true"
% (println (= 5 "5"))
Error: A is not the same type as B
Undefined
"Undefined"
% (println (= "hello" "world"))
false
"false"
% (println (= "hello" "hello"))
true
"true"
% (println (= true true))
Error: cannot do operation with that
Undefined
"Undefined"
% (println (= false false))
Error: cannot do operation with that
Undefined
"Undefined"

This looks to be a typo in the program. I am working on better error messages so that should eventually help to solve this, but it looks like your if statement is written wrong. If you wish to have multiple lines of code in an if clause, consider using when which looks like (when condition expression...), if can only take one expression after the condition. The error "not boolean" is coming from the if statement complaining that some code it is trying to run isn't evaluating to a boolean. Closing this unless you can find another issue with this code that isn't syntax related.

okay i guess, i can see the first program being incorrect but the examples in the docs dont work in REPL


When there is an Error creating a marketplace there is no UI feedback

User Impacted
0x0F7494eE0831529fD676ADbc234f858e280AeAF0
Discord ID (including number)
gnomadic#8135
Workflow Impacted
Brainstorm
Feature Impacted
Create Marketplace
Issue description
When I don't have the required badge for creating a marketplace and I go through the flow, the UX will just kinda stop and the confirm button doesn't do anything.  It would be good to indicate that there is an error preventing me from continuing.

Blocking
no it is not
Relevant log output
Object
code
:
-32603
data
:
code
:
3
data
:
"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003f4c61626f724d61726b6574466163746f72793a204f6e6c792063726561746f72732063616e206465706c6f79206e6577204c61626f72204d61726b6574732e00"
message
:
"execution reverted: LaborMarketFactory: Only creators can deploy new Labor Markets."
[[Prototype]]
:
Object
message
:
"Internal JSON-RPC error."
[[Prototype]]
:
Object

This led me to create two marketplaces

I think error handling/messages are a known gap today, but let's be sure to support them for all transactions


Relationship-generation tests for polymorphic relations

I had to use actual test classes because Mockery mocks blew up reflection Real Good (tm).

Merging this to stop it going stale


Missing tool on Mac - realpath

Description
Setup script threw an unexpected warning
Current behaviour
scripts/shell/setup.sh: line 23: realpath: command not found
This script will create the following directory:
*** If such a directory already exists it will be deleted. ***
Are you ready to proceed? (y/n)

Possible solution
Suggest adding the following to the instructions
brew install coreutils

Environment
MacOS

In case it wasn't clear, this happened when running
bash scripts/shell/setup.sh

Hey @johnpmayer, thanks for the report! We've got a fix for this in #32. Need to do some testing before merging.
In the meantime, a workaround can be to install coreutils via brew install coreutils or to go through the manual setup guide.

Ah I've seen you suggested the coreutils installation in the original report 😅

Fixed in 0.1.1


slideNextTransitionEnd and slidePrevTransitionEnd events don't get triggered correctly in loop mode

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Swiper Version: 4.0.3

Platform/Target and Browser Versions: Mac Google Chrome Version 61.0.3163.100

What you did
I just setup a slider with the slidePrevTransitionEnd and slideNextTransitionEnd bound to it. The slider has autoplay enabled and is looping. It has 4 slides.
Expected Behavior
When I would log next or prev in the corresponding events I would expect 4x next in the console since the slider is going the next slide every time in autoplay.
Actual Behavior
When going from the last slide to the first slide prev gets logged, which is wrong. Also, when you go back from the first to the last slide next gets logged, which is also wrong. See the screenshot below (just letting the slider run on autoplay).

@nolimits4web can you please look into this?

It is based on active and previous slide indexes, it is by design. Otherwise you can track previously active DOM elements manually and do the decision

At 2017-10-31 21:56:32, "David de Lusenet"<EMAIL_ADDRESS>wrote:
This is a (multiple allowed):
bug
enhancement
feature-discussion (RFC)
Swiper Version: 4.0.2.
Platform/Target and Browser Versions: Mac Google Chrome Version 61.0.3163.100
What you did
I just setup a slider with the slidePrevTransitionEnd and slideNextTransitionEnd bound to it. The slider has autoplay enabled and is looping. It has 4 slides.
Expected Behavior
When I would log next or prev in the corresponding events I would expect 4x next in the console since the slider is going the next slide every time in autoplay.
Actual Behavior
When going from the last slide to the first slide prev gets logged, which is wrong. Also, when you go back from the first to the last slide next gets logged, which is also wrong. See the screenshot below (just letting the slider run on autoplay).
@nolimits4web can you please look into this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Review markdown in CHANGELOG

I think we should inline the urls to Github, as some of them are just used one and it is obfuscating was it is done. How the authors are referenced can also be improved, check for example how it is done in Rubocop.

Can you elaborate on how in-line URLs are obfuscating in this context?
I value referenced URLs since I commonly read markdown in a text editor. In that scenario having to mentally parse (or skip over) the URL is a distraction.