Create subscription part of the document - out-of-date

https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/ea-portal-administration#create-a-subscription
this part of the guide is outdated, because currently if press on "add subscription" user will be redirected on portal.azure.com to create it via it, not via ea.azure.com
please, modify this section to address current behavior

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 97154f08-4e08-e3b9-bd7f-b399aeb763ef
Version Independent ID: 56c611c8-ce10-caa0-f48c-41237c5a8151
Content: Azure EA portal administration
Content Source: articles/cost-management-billing/manage/ea-portal-administration.md
Service: cost-management-billing
Sub-service: enterprise
GitHub Login: @bandersmsft
Microsoft Alias: banders

@SychevIgor Thanks a lot for bringing this to our notice, we will review and update the document accordingly.

@SychevIgor I'm investigating this with the EA billing team. When I have more info, I'll update the article as needed and reply to you here.

Thank you for reporting the issue.
ASA SDK 2.7.1 is not compatible with the XR Plugin Framework. The ASA SDK you are targeting is compatible with Unity 2019 LTS, ARCore and ARKit XR Plugins version 3.1.3 and Windows Mixed Reality 4.2.1. May I ask you to remove XR Plugin Management (it may ask to remove other packages first) and try to install platform-depended package?
HoloLens – Windows Mixed Reality 4.2.1
Android – ARCore XR Plugin 3.1.3
iOS – ARKit XR Plugin 3.1.3

@SychevIgor You're right. Most of the EA portal functionality has already moved to the Azure portal, so this article is getting stale and out of date. I'll work on updating it soon and incorporate your feedback. Thanks.
#please-close


Adding/removing a service bookmark should not scroll screen back to the top

When adding or removing a bookmark on a service, the screen should not scroll to the top. It's confusing for users.
Acceptance Criteria

[ ]  Select a topic
[ ]  Click "Find related services near me"
[ ]  Scroll down the list of services and bookmark a service

Steps for QA:

Select a topic
Click "Find related services near me"
Scroll down the list of services and bookmark a service

[ ] The screen should stay at the service that you just bookmarked, not scroll back up to the top of the list

Remove the bookmark

[ ] The screen should stay at the service that you just bookmarked, not scroll back up to the top of the list

The bookmarking still occasionally shift the user to a different place on the list. As @tomy-pg have discussed with me, different drag action seem to register the offset or not leading to this inconsistent behaviour. Not closing this issue yet.

So the solution is not perfect, but I don't think fixing this is going to be high priority now. Closing this issue, and if this comes up as a bug a new issue should be created.


I have to declare what program language I want to highlight ?

<pre class="brush: js">
    /**
     * SyntaxHighlighter
     */
    function foo()
    {
        if (counter <= 10)
            return;
        // it works!
    }
</pre>

If I want to highlight this , I have to add class="brush: js", but I do not know what the language is that will be highlight sometimes. What should I do with this ?

Well, since most languages are C-derivatives, you could use that as a fallback.


Server error 500 on post when trying to load MCC continuous tree with a long filename

Problem
When I try to load a tree into spreadviz, the website hangs with the loading icon.
I've tried the latest Firefox, Safari and Chromium on OSX.
Looking at the javascript console, it looks like the POST request to upload is rejected, because the filename was too long (which I think seems like an error from the AWS bucket?).
Renaming the file to "a" works (original filename was dataset-bdsc-bcov-relaxed-stddiff_1682947603558.mcct.trees)

closing as duplicate


Overmind attempts to run processes using wrong version of ruby?

Hi! I'd like to report an issue that I'm having and it stops me from using overmind. I have used foreman for years and I heard of overmind a couple of months ago.
I use tmux and fish shell. Here is the output I'm seeing when attempting to run overmind start
system  | Tmux socket name: overmind-project-Lm39zBQtTL86k07DQvPKu-
system  | Tmux session ID: project
system  | Listening at /Users/efigarola/workspace/project/.overmind.sock
web     | Started with pid 26814...
web     | /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundler (LoadError)
web     |       from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
web     |       from /Users/efigarola/workspace/project/bin/spring:9:in `<top (required)>'
web     |       from bin/rails:5:in `load'
web     |       from bin/rails:5:in `<main>'
web     | Exited

Here are some details of my machine:

OS: MacOS Mojave 10.14.6
Overmind 2.0.3
tmux: 2.9a

Procfile:
web: bin/rails s -p $PORT
redis: redis-server
sidekiq: bundle exec sidekiq -q default -q mailers
webpack: bin/webpack-dev-server

Gem ENV outside tmux:
RubyGems Environment:
  - RUBYGEMS VERSION: 3.0.6
  - RUBY VERSION: 2.5.1 (2018-03-29 patchlevel 57) [x86_64-darwin18]
  - INSTALLATION DIRECTORY: /Users/efigarola/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0
  - USER INSTALLATION DIRECTORY: /Users/efigarola/.gem/ruby/2.5.0
  - RUBY EXECUTABLE: /Users/efigarola/.rbenv/versions/2.5.1/bin/ruby
  - GIT EXECUTABLE: /usr/bin/git
  - EXECUTABLE DIRECTORY: /Users/efigarola/.rbenv/versions/2.5.1/bin
  - SPEC CACHE DIRECTORY: /Users/efigarola/.gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /Users/efigarola/.rbenv/versions/2.5.1/etc
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-darwin-18
  - GEM PATHS:
     - /Users/efigarola/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0
     - /Users/efigarola/.gem/ruby/2.5.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
     - "gem" => "--no-document"
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /Users/efigarola/.rbenv/versions/2.5.1/bin
     - /usr/local/Cellar/rbenv/1.1.2/libexec
     - /Users/efigarola/.rbenv/shims
     - /Users/efigarola/.rbenv/bin
     - /usr/local/bin
     - /usr/bin
     - /bin
     - /usr/sbin
     - /sbin

Gem env inside tmux:
RubyGems Environment:
  - RUBYGEMS VERSION: 3.0.6
  - RUBY VERSION: 2.5.1 (2018-03-29 patchlevel 57) [x86_64-darwin18]
  - INSTALLATION DIRECTORY: /Users/efigarola/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0
  - USER INSTALLATION DIRECTORY: /Users/efigarola/.gem/ruby/2.5.0
  - RUBY EXECUTABLE: /Users/efigarola/.rbenv/versions/2.5.1/bin/ruby
  - GIT EXECUTABLE: /usr/bin/git
  - EXECUTABLE DIRECTORY: /Users/efigarola/.rbenv/versions/2.5.1/bin
  - SPEC CACHE DIRECTORY: /Users/efigarola/.gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /Users/efigarola/.rbenv/versions/2.5.1/etc
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-darwin-18
  - GEM PATHS:
     - /Users/efigarola/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0
     - /Users/efigarola/.gem/ruby/2.5.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
     - "gem" => "--no-document"
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /Users/efigarola/.rbenv/versions/2.5.1/bin
     - /usr/local/Cellar/rbenv/1.1.2/libexec
     - /Users/efigarola/.rbenv/shims
     - /Users/efigarola/.rbenv/bin
     - /usr/local/bin
     - /usr/bin
     - /bin
     - /usr/sbin
     - /sbin
     - /Users/efigarola/.rbenv/shims

I noticed in the error shown by overmind that it attempts to use ruby 2.3 which is not the version I'm using in my project, I use rbenv for managing my ruby environment and both the local
and global version of ruby are 2.5.1
Any ideas on what I'm missing? foreman works and running tmux new bin/rails s also works. I have really liked what overmind has to offer and that's why I decided to migrate from foreman

I ran into the same issue while using rvm and fish on OSX Catalina.
I'll post an update if I have any luck debugging.

That's pretty strange since Overmind doesn't do any fancy stuff with launching the processes. Let's do some debugging. Add the following process to your Procfile and give me the result please:
debug: echo "SHELL=$SHELL" && which ruby && ruby -v && which rbenv && rbenv versions && sleep 9999

I suspect that the problem is that fish doesn't set as your login shell which is used by Overmind to launch processes.

Hello @DarthSim thanks for taking a look on this, here is the output for the debug process
debug   | SHELL=/usr/local/bin/fish
debug   | /usr/bin/ruby
debug   | ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]
debug   | /usr/local/bin/rbenv
debug   |   system
debug   |   2.5.0
debug   | Exited

Let me know if I need to help you with anything else.

Well, it looks weird because everything is ok except of ruby version. Could you also show me rbenv versions output outside of Overmind?

This is what I see when I run rbenv versions within my project dir, I see the same within and out of tmux
  system
  2.5.0
* 2.5.1 (set by /Users/efigarola/workspace/project/.ruby-version)
  2.6.2
  2.6.4
  2.6.5

Ok, that's interesting. So, rbenv doesn't see the whole list of installed Rubies inside Overmind. Could you add rbenv root to the debug process right before sleep and show me the output? Also, run it outside of Overmind and show me the output.

Cool, here is the result of rbenv root outside overmind:
/Users/efigarola/.rbenv

Here is the debug process of overmind:
webpack | Started with pid 77401...
debug      | Started with pid 77399...
web          | Started with pid 77400...
debug      | SHELL=/usr/local/bin/fish
debug      | /usr/bin/ruby
debug      | ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]
debug      | /usr/local/bin/rbenv
debug      |   system
debug      |   2.5.0
debug      | * 2.5.1 (set by /Users/efigarola/workspace/project/.ruby-version)
debug      |   2.6.2
debug      |   2.6.4
debug      |   2.6.5
debug      | /Users/efigarola/.rbenv
webpack | Your Ruby version is 2.6.3, but your Gemfile specified 2.5.1
webpack | Exited
web          | Your Ruby version is 2.6.3, but your Gemfile specified 2.5.1
debug      | Interrupting...
web          | Exited
debug      | Exited

Cool, here is the result of rbenv root outside overmind:
/Users/efigarola/.rbenv

Here is the debug process of overmind:
webpack | Started with pid 77401...
debug   | Started with pid 77399...
web     | Started with pid 77400...
debug   | SHELL=/usr/local/bin/fish
debug   | /usr/bin/ruby
debug   | ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]
debug   | /usr/local/bin/rbenv
debug   |   system
debug   |   2.5.0
debug   | * 2.5.1 (set by /Users/efigarola/workspace/project/.ruby-version)
debug   |   2.6.2
debug   |   2.6.4
debug   |   2.6.5
debug   | /Users/efigarola/.rbenv
webpack | Your Ruby version is 2.6.3, but your Gemfile specified 2.5.1
webpack | Exited
web     | Your Ruby version is 2.6.3, but your Gemfile specified 2.5.1
debug   | Interrupting...
web     | Exited
debug   | Exited

Wait a sec, so rbenv sees all the Rubis inside Overmind, and it successfully detects the currectly selected version. This means that the problem is $PATH. Could you show me your $PATH inside and outside of Overmind?

I noticed that, but it behaves randomly, sometimes it shows them, sometimes it don't, I think it depends in how quickly the other processes fails.
Here is the output of $PATH within overmind:
debug   | PATH=/Users/efigarola/.rbenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Library/Apple/bin:/Users/efigarola/.rbenv/shims

Here is the output outside overmind:
echo "PATH=$PATH"

PATH=/Users/efigarola/.rbenv/shims:/Users/efigarola/.rbenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Library/Apple/bin:/Users/efigarola/.rbenv/shims

I think it depends in how quickly the other processes fails

Yeah, it makes sense.
It's left to determine how you add /Users/efigarola/.rbenv/shims to your PATH and how you initialize rbenv.
I personally use oh-my-fish with rbenv plugin, and I have no problems like this.

@DarthSim ok, I just installed rbenv plugin with oh-my-fish, and now it works. I'm sorry if this should have been obvious, I'm new to fish, I was not aware of the existence of that rbenv plugin
Thanks for your support on this, do you want me to write a note on the README or any other place about this?

Was glad to help! 👍
I'll add the known issues section to README.

Great, thank you again, I will close this!


[Catalina] Does not work after suspend

I have applied the fix proposed in #1867, eg adding karabiner_grabber and karabiner_observer to Accessibility and killing them. Keybindings work afterwards, but stop working after Laptop goes into suspend.
Workaround
Killing karabiner_grabber again fixes the issue, but needs to be repeated after every suspend.

Temporary solution posted here: https://github.com/tekezo/Karabiner-Elements/issues/1867#issuecomment-508579412
Seems to be covered by #1867, so closing this.


[Displaying]:  the table of content is on the right

Is there an existing issue about this enhancement?

[X] I have checked the existing issues.

Describe the issue.
https://docs.matrixorigin.io/dev/MatrixOne/Develop/connect-mo/client-connect-to-matrixone/
Why on this page, the table of content is on the right?

Tihis is the right link https://docs.matrixorigin.io/dev/MatrixOne/Develop/connect-mo/database-ide/#connect-to-the-matrixone-server-through-dbeaver


Integrations

✔ I Make sure that the N+1 problem is solved when fetching all posts and their comments for a user.
✔ I Use Capybara to write integration tests for each view in your project.
✔ I User index page:
 I can see the username of all other users.
I can see the profile picture for each user.
I can see the number of posts each user has written.
When I click on a user, I am redirected to that user's show page.

✔ I user show page:
     I can see the user's profile picture.
     I can see the user's username.
    I can see the number of posts the user has written.
   I can see the user's bio.
   I can see the user's first 3 posts.
   I can see a button that lets me view all of a user's posts.

When I click a user's post, it redirects me to that post's show page.
When I click to see all posts, it redirects me to the user's post's index page.
✔ I User post index page:
  I can see the user's profile picture.
 I can see the user's username.
 I can see the number of posts the user has written.
 I can see a post's title.
  I can see some of the post's body.
  I can see the first comments on a post.
  I can see how many comments a post has.
  I can see how many likes a post has.
 I can see a section for pagination if there are more posts than fit on the view.

When I click on a post, it redirects me to that post's show page.
✔ I Post show page:
 I can see the post's title.
 I can see who wrote the post.
 I can see how many comments it has.
 I can see how many likes it has.
  I can see the post body.
  I can see the username of each commentor.
  I can see the comment each commentor left.

✔ I include integration specs for any other features
Before solving the problem

After solving

Dear Reviewer,
I have submitted a new pull request, as the previous one was invalidated due to some collaboration issues. I believe we have resolved those issues, and I am looking forward to your positive feedback. Thank you for your time and consideration.
Best regards, Emmanuel kipngeno


fix startNotifyFlowHandler (issue #13)

fix issue #13
and add some comment

Please fix tests!

go test ./...
?   	github.com/wagslane/go-rabbitmq	[no test files]
?   	github.com/wagslane/go-rabbitmq/examples/consumer	[no test files]
?   	github.com/wagslane/go-rabbitmq/examples/logger	[no test files]
?   	github.com/wagslane/go-rabbitmq/examples/publisher	[no test files]
go list -f '{{.Dir}}' ./... | grep -v /vendor/ | xargs -L1 gofmt -l
/home/runner/work/go-rabbitmq/go-rabbitmq/consume_options.go
test -z $(go list -f '{{.Dir}}' ./... | grep -v /vendor/ | xargs -L1 gofmt -l)
make: *** [Makefile:8: fmt] Error 1
Error: Process completed with exit code 2.

emm, it seems this error was triggered by consume_options.go
BTW, I'd like to suggest migrate to  golangci-lint to check codebase.

My bad! Just pull the latest changes and you should be good

My bad! Just pull the latest changes and you should be good

done! pls have a check


Datepicker autoHide prop is not working

the autoHide prop is not working.
it is expected that when the user select a date with autoHide prop the calendar popup automatically closes but this not working.

any solution?

any solution?

Working on this issue (Datepicker autoHide prop is not working #1225)


ENH: Transfer helper functions from zoll-foundation-grant-project

Description
Those helper functions should probably be generalized and moved into some module in this project.
Tasks

[x] #125
[ ] Generalize match_edisposition
[ ] apply_categorizations should take Union[pd.DataFrame, list[pd.DataFrame]]
[ ] Transport helper functions
[ ] Inter-facility helper functions

Closed as most of the helper functions are not in use anymore


Update gameScene.ts

Just small improvements.

Hello @iliyaZelenko! Thank you for your improvements. I have merged your PR.
At the same time I have changed the .onload function in the whole repository to be consistent:
old: window.onload = function() {};
new: window.addEventListener("load", () => {});


State Class Error

Describe the bug
HA log gives the following error
2023-07-11 21:35:58.816 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.octopus_energy_electricity_XXXXXX_XXXXXX_current_demand (<class 'custom_components.octopus_energy.electricity.current_demand.OctopusEnergyCurrentElectricityDemand'>) with state_class measurement has set last_reset. Setting last_reset for entities with state_class other than 'total' is not supported. Please update your configuration if state_class is manually configured, otherwise report it to the custom integration author.
Please provide a clear and concise description of what the bug/issue is.
To Reproduce
Please provide steps to reproduce the behavior
Expected behavior
Please provide a clear and concise description of what you expected to happen.
Home Assistant Version
2023.7.1
Integration Version
Latest
Fresh Install?
Unknown
Home Assistant Logs
Please see above

Hello and sorry that you're seeing this warning. This shouldn't have any negative effects on the integration, but I'll add it to my list to fix the issue.

This should now be resolved in thr latest release https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/releases/tag/v8.0.0


Falco probe loader build in Linuxkit (docker4mac, docker4win)

@janbeerden in #656 reported that he is not able to run Falco on a Kind (Kubernetes in Docker) cluster.
Then, Jan reported his execution log, and it was immediately clear that what he was seeing was because there's no prebuilt module for Linuxkit kernels (usually used in Docker for Mac and Windows installations)

Execution log
* Setting up /usr/src links from host
* Unloading falco-probe, if present
* Running dkms install for falco
Error! echo
Your kernel headers for kernel 4.9.125-linuxkit cannot be found at
/lib/modules/4.9.125-linuxkit/build or /lib/modules/4.9.125-linuxkit/source.
* Running dkms build failed, couldn't find /var/lib/dkms/falco/0.15.1/build/make.log
* Trying to load a system falco-probe, if present
* Trying to find precompiled falco-probe for 4.9.125-linuxkit
Found kernel config at /proc/config.gz
* Trying to download precompiled module from https://s3.amazonaws.com/download.draios.com/stable/sysdig-probe-binaries/falco-probe-0.15.1-x86_64-4.9.125-linuxkit-598c2d809165b47f38383b83b6ff4798.ko
curl: (22) The requested URL returned error: 404 Not Found
Download failed, consider compiling your own falco-probe and loading it or getting in touch with the sysdig community
Mon Jun 10 20:30:26 2019: Falco initialized with configuration file /etc/falco/falco.yaml
Mon Jun 10 20:30:26 2019: Loading rules from file /etc/falco/falco_rules.yaml:
Mon Jun 10 20:30:27 2019: Loading rules from file /etc/falco/falco_rules.local.yaml:
Mon Jun 10 20:30:27 2019: Loading rules from file /etc/falco/k8s_audit_rules.yaml:
Mon Jun 10 20:30:28 2019: Unable to load the driver. Exiting.
Mon Jun 10 20:30:28 2019: Runtime error: error opening device /host/dev/falco0. Make sure you have root credentials and that the falco-probe module is loaded.. Exiting.

~Those Linuxkit distros also lack a package manager or a way to install or even obtain kernel headers so the only viable option seems to be to figure it out on CI and prebuild the kernel module for those.~

@fntlnz: There is not a label identifying the kind of this issue.
Please specify it either using /kind <group> or manually from the side menu.
In case you do not know which kind this proposal is please mention the maintainers using @team/maintainers.

Instructions for interacting with me using PR comments are available here.

Here's how to start it:
$ docker run -it --rm --privileged falco-docker4win:latest
$ docker run -e "SYSDIG_SKIP_LOAD=1" -i -t --name falco --privileged -v /var/run/docker.sock:/host/var/run/docker.sock -v /dev:/host/dev -v /proc:/host/proc:ro -v /boot:/host/boot:ro -v /lib/modules:/host/lib/modules:ro -v /usr:/host/usr:ro falcosecurity/falco

I think that this one should be built-in the probe loader entrypoint when detected that we are on Linuxkit or something like that? Wdyt?

Let's start with including it into the installation docs.

/kind documentation

I tried a similar Dockerfile to build sysdig on my docker4mac (linuxkit) and it failed because there is nothing on /lib/modules for the specific linux headers. Can someone please let me know how to get the modules and build sysdig correctly on linuxkit?

Did you try exactly the one I posted here @dghoshal-lbl ? https://github.com/falcosecurity/falco/issues/657#issuecomment-506303851

Not for falco. I am trying the same for sysdig on linuxkit (docker4mac). The build fails because there's no /lib/modules.

@fntlnz Any idea how to build the required kernel modules for sysdig on linuxkit (docker4mac)?

Closing this as it's for sysdig not Falco.

@mfdii helped me a lot of months ago with same issue, here my results if can help : https://github.com/Issif/falco-docker4windows/tree/4.9.184

Im trying to use the same thing..But it fails with permission denied
Sending build context to Docker daemon  3.072kB
Step 1/7 : FROM linuxkit/kernel:4.9.125 AS ksrc
---> f99021f74d5e
Step 2/7 : FROM alpine:3.4
---> b7c5ffe56db7
Step 3/7 : ARG FALCOVER=0.13.1
---> Using cache
---> ac0b7eefa5db
Step 4/7 : ARG SYSDIGVER=0.24.2
---> Using cache
---> 7a26d1a0db0c
Step 5/7 : COPY --from=ksrc /kernel-dev.tar /
---> Using cache
---> f178c2f684a4
Step 6/7 : RUN apk add --no-cache --update wget ca-certificates     build-base gcc abuild binutils     bc     cmake     git     autoconf &&   export KERNELVER=uname -r  | cut -d '-' -f 1  &&   export KERNELDIR=/usr/src/linux-headers-4.9.125-linuxkit/ &&   tar xf /kernel-dev.tar &&   cd $KERNELDIR &&   zcat /proc/1/root/proc/config.gz > .config &&   make olddefconfig &&   mkdir -p /falco/build &&   mkdir /src &&   cd /src &&   wget https://github.com/falcosecurity/falco/archive/$FALCOVER.tar.gz &&   tar zxf $FALCOVER.tar.gz &&   wget https://github.com/draios/sysdig/archive/$SYSDIGVER.tar.gz &&   tar zxf $SYSDIGVER.tar.gz &&   mv sysdig-$SYSDIGVER sysdig &&   cd /falco/build &&   cmake /src/falco-$FALCOVER &&   make driver &&   rm -rf /src &&   apk del wget ca-certificates     build-base gcc abuild binutils     bc     cmake     git     autoconf
---> Running in 5a2c3e9b8778
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz
ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.4/main: Permission denied
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz
WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz: Permission denied
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz
ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.4/community: Permission denied
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz
WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz: Permission denied
ERROR: unsatisfiable constraints:
abuild (missing):
required by: world[abuild]
autoconf (missing):
required by: world[autoconf]
bc (missing):
required by: world[bc]
binutils (missing):
required by: world[binutils]
build-base (missing):
required by: world[build-base]
ca-certificates (missing):
required by: world[ca-certificates]
cmake (missing):
required by: world[cmake]
gcc (missing):
required by: world[gcc]
git (missing):
required by: world[git]
wget (missing):
required by: world[wget]
The command '/bin/sh -c apk add --no-cache --update wget ca-certificates     build-base gcc abuild binutils     bc     cmake     git     autoconf &&   export KERNELVER=uname -r  | cut -d '-' -f 1  &&   export KERNELDIR=/usr/src/linux-headers-4.9.125-linuxkit/ &&   tar xf /kernel-dev.tar &&   cd $KERNELDIR &&   zcat /proc/1/root/proc/config.gz > .config &&   make olddefconfig &&   mkdir -p /falco/build &&   mkdir /src &&   cd /src &&   wget https://github.com/falcosecurity/falco/archive/$FALCOVER.tar.gz &&   tar zxf $FALCOVER.tar.gz &&   wget https://github.com/draios/sysdig/archive/$SYSDIGVER.tar.gz &&   tar zxf $SYSDIGVER.tar.gz &&   mv sysdig-$SYSDIGVER sysdig &&   cd /falco/build &&   cmake /src/falco-$FALCOVER &&   make driver &&   rm -rf /src &&   apk del wget ca-certificates     build-base gcc abuild binutils     bc     cmake     git     autoconf' returned a non-zero code: 10

Never mind it was a proxy issue and the image is now built and Im trying to use it as initcontainer and somehow this error pops up..
insmod: can't insert '/falco/build/driver/falco-probe.ko': invalid module format
and I cant run falco either

How does this translate for Docker for Mac Kubernetes via the Helm installation?


.pk domains

Problem
There's no whois server registered to the IANA Route Database Zone for all .pk domains.
Conclusion
That makes all .pk domains fails.

Please report to http://www.pknic.net.pk/ for whois lookup


upgraded solr to version 6.6.0 in docker deployment

What changes were proposed in this pull request?
Upgrades the solr from version 6.2.1 to 6.6.0 in the docker deployment.

@ldaume Thanks for upgrading Solr. :+1: :100:


Integration Tests do not work with AutoSizeText.rich(..) constructor

Steps to Reproduce
Thanks to https://github.com/leisim/auto_size_text/issues/27 I wanted to now check strings in my integration tests with driver.getText(myTextKeyFinder). Unfortunately, it does not seem to work with AutoSizeText.rich(..) constructed AutoSizeText widgets.
If I look at the tree with the Dart DevTools, the tree looks the following:

AutoSizeText

LayoutBuilder

Text [myTextKey]

RichText (this one has no key)

text: Here is my text

Obviously, if I then do the following:
String myElementText = await driver.getText(myTextKeyFinder);
expect(myElementText , 'My Text');

it fails because the Text widget with the key has no text and the RichText with my text has no key.
So in this case I would expect the RichText widget to have receive the key. Then I guess it would work.
Code sample
AutoSizeText.rich(
        TextSpan(
          style: _style,
          children: getStyledSpans( //getStyledSpans is a List<TextSpan>
            _text,
            _style,
          ),
        ),
        textAlign: _textAlign,
        maxLines: _maxLines,
        textKey: _textKey,
      ),

Screenshots
N/A
Version

Flutter version: 1.7.8+hotfix.4
auto_size_text version: 2.1.0

This code works fine:
testWidgets('Uses textKey', (tester) async {
  var key = GlobalKey();
  await tester.pumpWidget(
    Directionality(
      textDirection: TextDirection.ltr,
      child: Center(
        child: AutoSizeText.rich(
          TextSpan(text: 'A rich text'),
          textKey: key,
        ),
      ),
    ),
  );
  print(find.byKey(key).evaluate().first);
});

AutoSizeText just passes the textKey to a Text.rich() widget as you can see here so there should be no difference to using Text.rich() directly.

@leisim thanks for the fast answer.
I see, the issue here is that for the RichText I use, I have to chain TextSpans. That's why I set the children property of the topmost TextSpan because I am formatting text here like the following:
"This is my sample text."
As far as I know, the only way to do this with RichText is to chain the TextSpans.
And when you chain it, the key gets propagated to the wrong widget in the end.
Actually, I am not sure if this is a problem of AutoSizeText or the RichText itself but I would guess most RichText use-cases are the way I use them - to format portions of the text. Because formatting a single line can also be done with a regular Text field.
What do you think?

What happenes if you replace AutoSizeText.rich() with Text.rich()?
To be honest, I'm not that experienced with integration tests but I think that AutoSizeText behaves exactly the same as Text. In that case you'll need to open an issue in the Flutter repository or ask on StackOverflow.

@leisim I now got it working (at least for widget tests). See my answer here, maybe it helps someone that also stumbles across this issue: https://stackoverflow.com/questions/51238526/testing-text-in-textspan/57860023#57860023
I could not yet figure it out for integration tests but at least I now know parts of it. So it's something that should be possible with dart itself.
Thanks anyway for your help!

This is very late but maybe can help someone else, as I went through the same issue. I was able to get the text like this:
String getRichTextValue(Map<String, Object> widgetDiagnosis) {
  final properties = widgetDiagnosis['properties'];
  for(final dynamic property in properties) {
    if(property['name'] == 'text') {
      if(property['value'] != null) return property['value'];
    }
  }
  return "NOT FOUND";
}

final richTextItem = await driver.getWidgetDiagnostics(
            find.descendant(of: find.byValueKey(key), matching: find.byType('RichText')),
);
final itemValue = getRichTextValue(richTextItem);

Notice that the key property is the one set on AutoSizeText.rich() textKey property. Worked well for me.

This is very late but maybe it can help someone else, as I went through the same issue. I was able to get the text like this:
String getRichTextValue(Map<String, Object> widgetDiagnosis) {
  final properties = widgetDiagnosis['properties'];
  for(final dynamic property in properties) {
    if(property['name'] == 'text') {
      if(property['value'] != null) return property['value'];
    }
  }
  return "NOT FOUND";
}

final richTextItem = await driver.getWidgetDiagnostics(
            find.descendant(of: find.byValueKey(key), matching: find.byType('RichText')),
);
final itemValue = getRichTextValue(richTextItem);

Notice that the key property is the one set on AutoSizeText.rich() textKey property. Worked well for me.


Slow and Crashing on Raspberry Pi

Hi all,
I'm having problems running mitmproxy successfully on my raspberry pi.
I've set it up this way such that I can find a certain requests which can appear randomly, however I've found that if I keep mitm continuously proxing, the requests seem to become slower and slower, until it just dies.
Just recently after getting the request I was searching for, by the time I got to the web client to view the logs, it had crashed and everything disappeared.
Is there something I'm overlooking?
System information
Mitmproxy: 4.0.4
Python:    3.7.3
OpenSSL:   OpenSSL 1.1.1c  28 May 2019
Platform:  Linux-4.19.75-v7+-armv7l-with-debian-10.1

Try to launch it with verbose (-v option) output, and redirect to some file you can show us :
mitmweb [whatever options] -v   >  /tmp/mitmproxy_debug_output.log

For how long have you been running the proxy? I'd assume that what is happening is that you are capturing too much traffic and it all stays in memory (or ends up paged by the operating system). This will cause slowdowns the more requests that go through the proxy.
If you know more or less what is in the request/response you are looking for, maybe a better idea would be to use mitmdump and grep the output (mitmdump won't be keeping the requests in memory, it prints them to the terminal and memory is released).

Closing due to inactivity. Thanks @typoon  and @ylmrx!


USB ST-Link Debugger with USART Pass Through

Goal: Replicate the debugging capability of STM32 Nucleo development boards with full ST-LINK capability and Serial over one USB connection.

Board Bring Up Progress: The debugger is fully working! The only snags in the process were software related. Unfortunately, STM does not open source their ST-Link firmware binaries. As a result, I have been unable to find a binary for the version of ST-Link firmware that has UART support (This is included on STM's nucleo board lineup, I am currently looking into pulling the firmware that way). However, I have found the binaries for normal ST-Link online. Using normal ST Link firmware, the debugger works as expected. While investigating how to get the ST-Link firmware with UART (called ST-LinkV2-1) I found an open source debugger project called black magic probe. With some small modifications to the pin assignments in their code, I got the open source firmware running on the custom debugger. This open source debugger also has UART pass through meaning we can debug and use serial via one USB port. I forked the firmware and added my pin assignment change. The fork is located at https://github.com/qfsae/blackmagic.
The debugger now does everything we need and can be integrated into future designs. I would still like to do a second fabrication run of the board to address the following issues:

Incorrect footprint for the 2 pin headers (holes should be more spaced)
Add silk screen to make hookup to target easier (label SWDIO and CLK)
Replace reset jumper with a surface mount button.
Remove regulator enable jumper

No DRC errors ❌ - USB connector footprint is < 0.2mm from edge of board, pretty minor but does fail DRC on my system
All SMD parts on one layer ✔
IR Calculations for high current traces ✔- N/A
Board is mechanically sound, dimensions are correct and component height does not create mechanical conflicts ✔
IO ports and connectors double checked such that they are accessible when the board is fully assembled ✔ - good for this design
No unconnected ground ✔
Ground pour on top and bottom layers. 🟡 - Only bottom layer ground pour is sufficient
Stitching vias ✔
Length matching for high speed signals and differential pairs ✔
Proper filter capacitor placement for MCU layout (as close to the pin as possible and in the path of current flow) ✔
Other changes:

Bottom layer silkscreen appears to be backwards.
I like the bottom silkscreen as a reference though. If possible some abbreviated identifiers beside the header would be nice but space is a little tight. Not required
Also not required but if you'd like to be fancy add the formula logo to the bottom silkscreen in the free space 🚗

No DRC errors ❌ - USB connector footprint is < 0.2mm from edge of board, pretty minor but does fail DRC on my system
All SMD parts on one layer ✔
IR Calculations for high current traces ✔- N/A
Board is mechanically sound, dimensions are correct and component height does not create mechanical conflicts ✔
IO ports and connectors double checked such that they are accessible when the board is fully assembled ✔ - good for this design
No unconnected ground ✔
Ground pour on top and bottom layers. 🟡 - Only bottom layer ground pour is sufficient
Stitching vias ✔
Length matching for high speed signals and differential pairs ✔
Proper filter capacitor placement for MCU layout (as close to the pin as possible and in the path of current flow) ✔
Other changes:

Bottom layer silkscreen appears to be backwards.
I like the bottom silkscreen as a reference though. If possible some abbreviated identifiers beside the header would be nice but space is a little tight. Not required
Also not required but if you'd like to be fancy add the formula logo to the bottom silkscreen in the free space 🚗

Bottom silkscreen was in fact flipped (fixed now)
For the reference silk screen next to the programming headers, I will try to add if I can fit it while having it be large enough for JLC PCB to print effectively.
I would also like to add the formula logo, what file have you used for that on past designs?
For the USB connector, the DRC error comes from the silkscreen outline being too close to the board edge. My only concern about moving it back further is that if the connector is too far back from the edge we may not be able to make a good connection with the USB mini cable. I suppose this issue depends on the cable, but I kept it right at the edge just to be safe. Let me know what you think.

Yeah I don't think the design rule violations are dealbreakers; since you have a board ordered already, if the connector is in a good spot then I'd say we're all good.
For the logo I always lose the file we usually use. I'm pretty sure I always just end up pulling the first image that comes up when you google QFSAE... It's high res and has transparency, (https://myams.org/wp-content/uploads/2019/08/QFSAE-logo.png)
Other than that once you're happy with the cosmetic changes I'd say good to merge.


Rename apps/CustomApp.py to follow snake case convention

🐛 Describe the bug
listed file name should follow snake case convention.
Also handle the related imports of this file and make sure that everything works.

@taranjeet  can I work on this?

Sure, just assigned it to you.


Update prezi to 6.10.0

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Installation is not working.


[docs] Add notification for Joy blog post

This PR should be merged after the release of the blog post.

[x] I have followed (at least) the PR section of the contributing guide.

Also, kinda (but maybe not that much) off-topic, we might need to think about a max number of notifications we want to have in the docs. I'm feeling like 3 is a good number, but maybe even less?! In that sense, should we remove the ones that are there pilling up below the container's fold?

@danilo-leal Are we good to merge this PR?

Not quite yet, I'd say! The notification is up at the moment we merge it, right? We should wait for the tweet—it'll be up today (Wednesday) or Thursday tops.

Not quite yet, I'd say! The notification is up at the moment we merge it, right? We should wait for the tweet—it'll be up today (Wednesday) or Thursday tops.

Got it.


Update examples.md for NPM

The current example is not ready for copy and paste. This should make it easier.

@guilleijo As someone who recently committed to this repo, what do you think of merging this PR? Open PRs are like cobwebs on a project ;-)


fix(html/minifier): merge bugs + merge modules

Description:
Fix bugs with <script> merging + improve merging for <script type="module">
BREAKING CHANGE:
No
Related issue (if exists):
No

@kdy1 Answered and fixed


Compilation time

From discussion with @vchuravy and @charleskawczynski:

Remove generated functions from imex_ark step_u
Switch cache to mutable struct, can keep individual fields const
JULIA_LLVM_ARGS="-combiner-store-merging=false" as a stop-gap

This will be fixed by #85, specifically, the commit
-    U = SparseContainer(ntuple(i->similar(u0), length(inds)), inds)
-    T_lim = SparseContainer(ntuple(i->similar(u0), length(inds_T_exp)), inds_T_exp)
-    T_exp = SparseContainer(ntuple(i->similar(u0), length(inds_T_exp)), inds_T_exp)
-    T_imp = SparseContainer(ntuple(i->similar(u0), length(inds_T_imp)), inds_T_imp)
+    U = SparseContainer(map(i->similar(u0), collect(1:length(inds))), inds)
+    T_lim = SparseContainer(map(i->similar(u0), collect(1:length(inds_T_exp))), inds_T_exp)
+    T_exp = SparseContainer(map(i->similar(u0), collect(1:length(inds_T_exp))), inds_T_exp)
+    T_imp = SparseContainer(map(i->similar(u0), collect(1:length(inds_T_imp))), inds_T_imp)

Observed in this build

Observed in this build

It doesn't seem to improve things for single column simulations?

The job in that link was a single column model example, and that one had the catastrophic latency on buildkite. It took 1000 seconds to create the integrator from already made pieces, it will take ~55 seconds in the new revamp

Closed by https://github.com/CliMA/ClimaTimeSteppers.jl/pull/85


Upgrade BetterZip.app to v3.0.4

Thank you for the contribution. It was merged directly as 07ecf34cd3f2d6d76fc05855cea709a43c48a8ab to keep commit history cleaner. Your contribution is still credited to you.


add delegate to track events from the dependency resolver

motivation:

significant part of package resolution can be spent in the dependency resolver which does not emit events we can use to tell the user what is happening
a follow up PR would use these new events to emit information when package dependencies are resolved, e.g when running swift package update

chnages:

define DependencyResolverDelegate
replace logging in PubgrubDependencyResolver with calling the relevant delegate methods
add TracingDependencyResolverDelegate which back-fills the existing logging behavior in PubgrubDependencyResolver
adjust call-sites

@neonichu @abertelrud looking for early feedback on the approach and open questions, so we can finalize the feature

I think having a delegate that's 1:1 with the only current resolver makes sense to me, we can choose to not emit logs for every callback if we want to. I don't think we know enough to have a differently shaped delegate until we would actually have more than one resolver implementation.

I think having a delegate that's 1:1 with the only current resolver makes sense to me, we can choose to not emit logs for every callback if we want to. I don't think we will know enough to have a differently shaped delegate until we would actually have more than one resolver implementation.

100%.  As Boris says, the callbacks should reflect what's actually happening.  Individual delegates can then easily choose to ignore some of them, as long as they are all optional.

I think having a delegate that's 1:1 with the only current resolver makes sense to me, we can choose to not emit logs for every callback if we want to. I don't think we will know enough to have a differently shaped delegate until we would actually have more than one resolver implementation.

100%. As Boris says, the callbacks should reflect what's actually happening. Individual delegates can then easily choose to ignore some of them, as long as they are all optional.

I think I want to modulate this statement ("all optional"):  since the delegate itself is optional, it might make sense to define the "major" events that the delegate just has to implement, and then maybe some of the minor ones could be optional (have default implementations that don't do anything).  Or should they all be optional for consistency, especially since any new ones that get added later will have to be optional for compatibility reasons (until libSwiftPM is properly versioned).  WDYT?

I think I want to modulate this statement ("all optional"): since the delegate itself is optional, it might make sense to define the "major" events that the delegate just has to implement, and then maybe some of the minor ones could be optional (have default implementations that don't do anything). Or should they all be optional for consistency, especially since any new ones that get added later will have to be optional for compatibility reasons (until libSwiftPM is properly versioned). WDYT?

I actually dislike the current pattern in SwiftPM where we have empty implementation for delegates to make them seem optional. sure, it makes life easier for the caller when they first add a delegate but it makes it very difficult to properly evolve the delegate API inc. deprecations as the default empty ones hide the fact that that API changed from the caller making these into runtime issues. in other words, I'd like to see us factor out all the default empty delegate extensions so that the caller can decide explicitly what to ignore and be notified when we deprecate delegate APIs.

@swift-ci please smoke test

I think I want to modulate this statement ("all optional"): since the delegate itself is optional, it might make sense to define the "major" events that the delegate just has to implement, and then maybe some of the minor ones could be optional (have default implementations that don't do anything). Or should they all be optional for consistency, especially since any new ones that get added later will have to be optional for compatibility reasons (until libSwiftPM is properly versioned). WDYT?

I actually dislike the current pattern in SwiftPM where we have empty implementation for delegates to make them seem optional. sure, it makes life easier for the caller when they first add a delegate but it makes it very difficult to properly evolve the delegate API inc. deprecations as the default empty ones hide the fact that that API changed from the caller making these into runtime issues. in other words, I'd like to see us factor out all the default empty delegate extensions so that the caller can decide explicitly what to ignore and be notified when we deprecate delegate APIs.

That makes sense.  That will be easier to do once we adopt semantic versioning.  At least some of the empty delegates now are to avoid breaking clients, I think.

This looks great to me.


bug-fix/validation-missing-class-issue

Fixed: missing class issue when validating from UI
Added: add all input fields to output fields

Can you please update the documentation and samples to reflect this behavior change?

Can you please update the documentation and samples to reflect this behavior change?

I have updated the documentation in this PR https://github.com/data-integrations/window-aggregation/pull/5


some videos published via the app are not served by speech properly

As a user, I want to be able to use speech to distribute my videos, that I uploaded through the app, to non app users via spee.ch urls.
@fcbrandon in slack reported that a video he uploaded via the app is not being displayed properly on spee.ch.
The url is https://spee.ch/a70296a73e14280616d221a097bdc0b440ccc4c2/winmrportalrecording-nativeres-unnarrated-fcbrandon.mp4
I also uploaded the video via the app and tried to access with no success.  spee.ch url below:
spee.ch/0475b7c3966569b0a98e69261468bb20b2af6962/winmrportalwonarration
I have not been able to identify why yet.  It is mp4 and works in the app.  The only thing out of the oridinary that I see is it is over 200mb, but I am not sure that it is related to length.

Note, I tried to publish a different video, which was under 100MB (approx. 90MB) and ran into a similar problem - the new content doesn't play from spee.ch either.

I actually have these problems with Sandia Mesa's videos uploaded via the LBRY app too. So, you're not the only one, @fcbrandon.

https://spee.ch/7fcc8c6455632fbffde3843df0c7039a2b4646bd/thesolarsystemexplained

Nice @billbitt. Glad to see you're making progress with it.

However, I did notice that whenever you clicked anywhere on the video player, it would immediately go to either the page of just the video or back to the spee.ch page. :/

maybe it has something to do with the way it handles spaces...noticed alot of data inst sent with the broken vids

@MSFTserver I'm wondering if that's the exact issue with my videos:
https://spee.ch/jonap
https://spee.ch/jonap-part-2
https://spee.ch/the-great-savage

ill see if its the spacing involved ima download your videos off lbry and re upload them to test,
i was also looking at the code it seem to use some sort of twitter player and i was reading there playing only supports up to a max size

ok i just realized in my screenshot console is reporting the files are being interpreted as documents and trying to be served as mp3 so something went wrong

Thanks for looking at this guys.  I will try to take a look today as well.  The twitter card should not be an issue, it's only used by twitter when the links are shared on twitter.  There may be size limits, but that won't affect or explain why they are not being played properly on spee.ch itself.

ok so i can teh images to server corectly if i void out the /media and use the href link with .png at the end
would this be an option or is the /media needed for something?

I also noticed this today with lbry://whatslbrybahasaindonesia1 - This one, in particular, may be a little different...the file starts to download on my end by never finishes, but normally these are still streamable (if encoded properly).  So if it's not encoded correctly, I think we need some type of overlay that says the file is still downloading/processing.  We also need a better way on the daemon side to restart downloads once they hang/fail, will research and open an issue.

related to #213


Photos only variant

Users on GrapheneOS often use this and run into the issue of GSF being incompatible, preventing using sandboxed Google Play in another profile. The Photos part could be available by itself instead.

Hi Daniel,
hope you noticed that I really try to keep that kind of support low on your end. The GrapheneOS compatibility is at the top of the README.md.
The photos part can be standalone and already is. That's exactly what CalyxOS has built two years ago: https://gitlab.com/CalyxOS/platform_external_calyx_GCamPhotosPreview
Therefor I'm not sure if there is a need to provide that functionality here too. Would be basically a clone. What do you think?

It's not the same thing. Both authors of that software are also involved in attacks on GrapheneOS including personally targeting me with libel and harassment. Software from them is not something the project will ever recommend.

Software from them is not something the project will ever recommend.

Fully understand that and I haven't asked you to recommend it. Just pointed out that it exists.

It's not the same thing.

Is there a technical/functional difference?
I'm a happy GrapheneOS user und think it is the superior OS. The thing is, currently I don't have the time to build something that (in my opinion) already exists. For example I play with your App Repository/Client, got it containerized and running nicely, also it was more difficult than I expected due to the amount of different technology. If I would have more time, I thought about running an instance of it mirroring popular GitHub apps, filling the niche between F-Droid and Play Store.

Hello,
Just for information,

The photos part can be standalone and already is. That's exactly what CalyxOS has built two years ago: https://gitlab.com/CalyxOS/platform_external_calyx_GCamPhotosPreview

GCamPhotosPreview only open a preview of the picture, but it's not possible to open the preview with a dedicated app.
I just switch my pixel 3 from graphene to calyx (in order to get updates, don't want to trash my phone), and I missed this functionality a lot. I can't install Gcam Services Provider because I installed microG (in order to reduce battery consumption with signal).
thanks for your work by the way :)

Thanks for your advice. My comment was only there to support this need and to clarify that GCamPhotosPreview don't answer totally to it :)

GCamPhotosPreview only open a preview of the picture, but it's not possible to open the preview with a dedicated app.

Thanks for bringing that back to mind, honestly I forgot they implemented their own image viewer.
So there would be benefit here. If anyone wants to get a PR going, please feel free.

Also adding my vote for support :-)
Unfortunately can't help with creating anything, only testing when needed.
Thanks for your time and take care.

Same, I don't like the GCam preview fomr CalyxOS because it's really a preview-only application.
@ahatdude if you enabled sandboxed Play Services in any profile (work profile or another user), this is the reason of the error (I have the same problem right now and it seems this is why this issue has been created).


Relative paths are removed from Product

Describe the bug
When a Product has a relative path, for example as the "image" field, this is not returned in the Product object from SchemaSerializer.DeserializeObject.
Maybe this was intentional but it does seem to validate ok in the Schema.org validator. For example: https://validator.schema.org/#url=https%3A%2F%2Fwww.thedandys.ie%2Fproduct%2Fsodium-hypochlorite-25ltrs%3Fgclid%3DCj0KCQiAu62QBhC7ARIsALXijXTUddi2aWyH-XjZKJHIuzUSLbH6HiVW883I7sSdYEtORXVeeALdfwkaAnALEALw_wcB
And the schema.org documentation shows relative paths in the examples too (see the example in the JSON-LD tab): https://schema.org/image
Steps to reproduce
Run the following unit test in the ProductTest.cs file:
namespace Schema.NET.Test.Examples;

using System;
using Xunit;

// https://developers.google.com/search/docs/data-types/products
public class ProductTest
{
    [Fact]
    public void Deserializing_ProductJsonLd_ReturnsProduct2()
    {
        var productJson = "{\"@context\":\"http://www.schema.org\",\"@type\":\"product\",\"name\":\"SodiumHypochlorite/RedLabel25Ltrs\",\"image\":\"/site/uploads/sys_products/red-label-hypo.jpg\",\"offers\":{\"@type\":\"Offer\",\"price\":\"22.00\",\"availability\":\"http://schema.org/InStock\",\"priceCurrency\":\"EUR\"}}";
        var productObject = SchemaSerializer.DeserializeObject<Product>(productJson);
        var productBackToString = productObject?.ToString();
        var hasImagePath = productBackToString?.IndexOf("/site/uploads/sys_products/red-label-hypo.jpg", StringComparison.OrdinalIgnoreCase) > 0;
        Assert.True(hasImagePath);
    }
}

Expected behaviour
The image should be included in the Product object.
Schema objects
https://schema.org/Product (but I think this would affect any class derived from Thing)

Thanks for raising this - we've seen this come up already in #343. It is a bit of a weird one to solve.

That's interesting, thanks for the link to the discussion @Turnerj

I think the solution as we discussed in #343 is to use UriKind.AbsoluteOrRelative. Although, if you're producing JSON-LD I'd still recommend using absolute URL's only.
@dermotblairca Would you like to raise a PR with the change to see if your problem is solved?

Hi @RehanSaeed Yes I have created a branch locally with the change (named dermotblairca/AllowRelativeUri) and have tested it on both absolute and relative URIs, by adding the following unit tests in ProductTest.cs (just locally, I didn't commit these to the branch).
[Fact]
public void Deserializing_ProductJsonLd_DeserializeRelativeUri()
{
    const string relativeUri = "/site/uploads/sys_products/red-label-hypo.jpg";
    var productJson = "{\"@context\":\"http://www.schema.org\",\"@type\":\"product\",\"name\":\"SodiumHypochlorite/RedLabel25Ltrs\",\"image\":\"" + relativeUri + "\",\"offers\":{\"@type\":\"Offer\",\"price\":\"22.00\",\"availability\":\"http://schema.org/InStock\",\"priceCurrency\":\"EUR\"}}";
    var product = SchemaSerializer.DeserializeObject<Product>(productJson);
    Assert.Equal(relativeUri, product?.Image.Value2.FirstOrDefault()?.ToString());
}

[Fact]
public void Deserializing_ProductJsonLd_DeserializeAbsoluteUri()
{
    const string absoluteUri = "https://www.thedandys.ie/site/uploads/sys_products/red-label-hypo.jpg";
    var productJson = "{\"@context\":\"http://www.schema.org\",\"@type\":\"product\",\"name\":\"SodiumHypochlorite/RedLabel25Ltrs\",\"image\":\"" + absoluteUri + "\",\"offers\":{\"@type\":\"Offer\",\"price\":\"22.00\",\"availability\":\"http://schema.org/InStock\",\"priceCurrency\":\"EUR\"}}";
    var product = SchemaSerializer.DeserializeObject<Product>(productJson);
    Assert.Equal(absoluteUri, product?.Image.Value2.FirstOrDefault()?.ToString());
}

I am trying to push my branch but I am getting the following message:

Do I need some type of permission or token? Thanks.

Thanks for your suggestion too about producing JSON-LD, that is good to know. I am actually using this package for the opposite use case though, deserializing JSON-LD to C# objects.

I have created a fork and a pull request from my fork @RehanSaeed https://github.com/RehanSaeed/Schema.NET/pull/401


App crash without active connection

Ledger Live Version and Operating System

tested on Ledger Live 2.24.0
Phone version: Iphone x ios 14.0.1

Expected behavior
when unable to sync because of missing active internet connection. Displaying a error message would be helpful.
Actual behavior
Starting the Ledger live app without a active internet connections. Results in the app crashing.
Steps to reproduce the behavior

Enable airplane mode or disable WiFi and mobile connection.
Launch the Ledger live mobile app.
App will start the synchronization process.
App will crash.

Hello @momo258
I was not able to reproduce your issue (tested on Ledger Live 2.25.2 with iPhone X on iOS 14.5).
I tested both scenarios, either with airplane mode enabled or with WIFI and mobile connection disabled. I did not encounter any unexpected behaviour or crash.
Do you still experience this issue as of today?

My mobile app has been updated already so i can't very this anymore. For now the issue does not exist on the newer versions.


Text overlapped when change the "size of text" of win10 system.

Bug reports:

After I change the system "size of text, apps and other items" to 150% or 175%  , all the text overlapped like the image showed below:

Any help would be appreciated. Thanks!
Specifications:

html2canvas version tested with:1.0.0-rc.5
Browser & version: chrome latest
Operating system: win10

@niklasvh @wufeng87 Any progress


Serialization and encoding/decoding

Binary encoding of arbitrary sway values is a necessary feature, notably to return values/pass values to contracts in a predictable, portable fashion.
This is tricky and solidity has had to go through multiple versions of it but we can borrow from their encoding scheme.
This should take versioning into account, as we'll likely want to make alterations to this scheme in the future.
We should also consider options for packing the data (such as Solidity's strict mode).
We should also consider the ergonomics of how to use it in the language, a trait based approach seems natural but we don't have derive macroes so having people implement a trait could prove tedious. We may want to rely on intrinsics to make the interface nicer.

After some investigation, it looks like the current way our encoding works is different for input and output.
Input values are directly usable and pointer values are populated with correct memory offsets so they can be directly used.
Output values are fully dereferenced and contain no indirection, which means it's hard/impossible to nest them. Any dynamically sized return value will have to be named last and can't have siblings because it will consume the entire rest of the buffer when decoding.
Note that these two encodings are not compatible with each other, which we'll definitely want to solve.
What we should do instead is similar to Solidity's encoding scheme: split the encoded buffer into two regions, one for inline bytes and the other for dynamic data, and have all pointers values be encoded inline with pointer values that are offsets of the beginning of the data region.
Then, in Sway, for both inputs and outputs, we should parse these into proper pointers for inputs, and generate proper data section offsets for outputs.

There is a practical issue here in that the test frameworks for sway and fuels-rs are both dependent on each other, and changing this serialization will require a breaking change of both. We'll have to figure out how to choreograph this. Likely by bypassing one of the test suites after we've manually confirmed the first change works on the updated version of the other repository.

blocked by: https://github.com/FuelLabs/sway/pull/4929


Process Changes

Feedback is useful.
It is also useful for expectations to be set around who is responsible for responding to what feedback and what kind of response the person giving feedback can expect from who.
The reason I bring this up is that there is a fair bit of conversation around the approved co-created process.
These conversations are all very theoretical and the current agreement hasn't been implemented yet.
It is impossible to find a process that caters 100% to everyone, we will need to compromise and I am very grateful to everyone who already has.
As Solid Manager, it is really important to me that everyone feels listened to and at the same time want to avoid getting stuck talking about the process in a legalistic way without maintaining a collaborative productive team spirit.
To avoid this scenario it is important that we draw a line underneath the co-created approved process and try it out for a few months/ years/ until there is am major block to avoid getting stuck in an unproductive never ending conversation about process.
@RubenVerborgh has raised some concerns on https://github.com/solid/culture/issues/64 and https://github.com/solid/culture/issues/57 and https://github.com/solid/culture/issues/36 and @justinwb has come up with concrete proposal on how to address them.
Considering it is the first time Solid has such an explicitly written down process and @RubenVerborgh as a member of the MIT academic project and active contributor to Solid you having a good feeling about the process is important I propose we put the three suggestions forward for approval in an exceptional fast track.
In the current approved process there is an explanation of how to submit a process proposal.
To avoid having to fast track and debate further in the coming weeks I propose to add another paragraph as follows:
"The person who starts a process proposal is responsible for actively and publicly sharing it with panels and stakeholders over a minimum time period of one month to gather feedback, which they need to demonstrate incorporating, along with publicly sharing the reasoning for the final result before submitting the process proposal for approval. In the interim the last approved process will be used."

Reacting here because I was @-mentioned; my intention is to limit myself to this one comment, so I'd appreciate no further @-mentions unless strictly necessary.
Something important has been missed in my opinion. The primary reason we disagreed in #36, @Mitzi-Laszlo, is that you are so far the only person considering the proposal of #36 a process change. That doesn't mean the majority is right; but it does mean that an opinion exists in which #36 is not a process change, and at no point in the discussion, you have acknowledged, considered, or refuted that point; only stated its opposite.
So we had the unfortunate situation where a group of people were arguing for a certain interpretation of the process (that they felt was compatible with the written text), and you repeatedly asking exactly what change we wanted to make to the process (whereas the answer, from our point of view, was "none"). I think it was very well captured by @shaunagm here: https://github.com/solid/culture/issues/36#issuecomment-512266140, in her second question.
The current document, unless I am mistaken, does not appoint anyone yet as a Solid Manager. But even if it did, and if it were you, the process does not give anyone the authority to unilaterally decide whether or not something is a process change. Again, I'm not saying #36 is or isn't, just that there were two views on that, and only one was respected. So we had the unproductive irony where on the one hand the discourse in #36 advocates for a very strict interpretation of the process as being the one true version, whereas on the other hand giving any person the authority to make such an interpretation is not supported by that same spec in the first place.

It is impossible to find a process that caters 100% to everyone,

I beg to differ, not just as a Solid contributor but also from experience with W3C Working Groups far larger than the Solid group. No disagreements there whatsoever. The Solid process is not going the right way. My best suggestion is to look at what people want to do, and support that by a process; not instill a top-down process and tell people how to do their thing. Yes, I have helped approve #24, but that's only because I did not know it would be implemented in such a strict way that no one is helped by it currently.
So instead of nailing this process perfectly upfront, which is likely an impossibility, let's just treat it with the necessary flexibility (as also suggested by @acoburn in https://github.com/solid/culture/issues/57#issuecomment-513476712). The process is currently hurting rather than helping. It's too heavy, too complex, and serving itself rather than the people it is supposed to serve.
Also a reminder that lack of progress with Solid in the past was not due to a lack of process, but due to a lack of people doing this. So let's not make it harder for those who want to do things, to do them, and to do them in a timely manner.

Resolution to the specific issues cited in this ticket have been proposed in #95. Closing out this issue to allow any further conversation to continue there.


fix(doc): correct the doc of content_protected()

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[x] Docs
[ ] New Binding issue #___
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes, and the changes were approved in issue #___
[x] No

Checklist

[ ] When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
[ ] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[ ] I have added a convincing reason for adding this feature, if necessary

Other information

Thanks for the PR! Could you sign the commit so I could merge it?

Done.


[tests-only]Remove a test scenario from expected to fail file

Description
This core PR https://github.com/owncloud/core/pull/39598 adds a bug demonstration test for core and the current OCIS behavior is okay. This PR removes the working OCIS test from the expected to fail file.
Related Issue

Fixes <issue_link>

Motivation and Context

How Has This Been Tested?

CI
Locally

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[x] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[ ] Documentation ticket raised:

:boom: Acceptance test Core-API-Tests-ocis-storage-2 failed. Further test are cancelled...


Roadmap to v1.0.0

Hi all, thanks to the community effort, LLamaSharp has had much richer features than the beginning. Meanwhile, the distributions of backend package may be changed soon. Therefore I think it's time to publish v1.0.0 in the next several weeks. In this issue, we discuss the roadmap to v1.0.0 and list the TODO-items. Any ideas about it is welcome here.
Required ones:

Include libraries of different avx supports in backend packages.
Update the documentations. #267 .
Enhance the text-completion APIs #239
Major BUG fix #273 #265 #260 #118

possible ones:

Add benchmark test for LLamaSharp. #237
Support .NET 8 since it's going to come out.

I'm quite hesitant that if we should refactor the executors to support high-level batch decoding APIs in v1.0.0 because there's really a big amount of works. It's very useful for developing a more efficient service, but may delay our release for some weeks.

I wouldn't expect a batch-decoding executor any time soon, it's going to be a lot of work to design the API to support all of the various features in an easy to use way. So yeah I'd agree we shouldn't wait for it.

I would add support for stop sequence in Kernel Memory and "query your documents" feature, otherwise I am afraid is almost an unusable feature, which is bad, because at least from a company perspective, querying your own documents is the most useful thing rather than asking general questiosn to an AI.
What do you guys think?

I would add support for stop sequence in Kernel Memory and "query your documents" feature, otherwise I am afraid is almost an unusable feature, which is bad, because at least from a company perspective, querying your own documents is the most useful thing rather than asking general questiosn to an AI. What do you guys think?

Makes sense to me. Would you like to work on it? If your time is limited, it's okay to open an issue to leave it to us. :)

I would add support for stop sequence in Kernel Memory and "query your documents" feature, otherwise I am afraid is almost an unusable feature, which is bad, because at least from a company perspective, querying your own documents is the most useful thing rather than asking general questiosn to an AI. What do you guys think?

Makes sense to me. Would you like to work on it? If your time is limited, it's okay to open an issue to leave it to us. :)

Added issue #289 .
Unfortunately I would not even know where to start :)

Please add a clearer example project in future.  It's really difficult as a newbie to get Llamasharp to work at all.  I'm about to give up on it, I tried the discord but it was fruitless.

Sure, we will. Could you please give some specific suggestions, such as a certain example that confused you?

android backend please. I got the android binaries for llamacpp, but doesnt work with unity android project...

I am a developer from China who hopes to support more large models in China, such as Yi-32B-200k, Qwen-72b chat, etc

Version 0.8.1 deployed normally under Unity via NuGet packages. Version 0.9.1 is deployed with errors. Errors occur when installing Semantic Kernel and Kernel Memory. If possible, test the deployment. Most likely the problem is not too significant and it is better to fix it sooner. So that it does not cause accumulating problems with errors.

@Xsanf could you open an issue with the errors you're seeing? Unity isn't one of our test targets, but if there are small tweaks we can make to improve compatibility we can certainly do that!

Unfortunately I have no experience with NuGet. Used it for the first time in this project. I installed according to the instructions https://github.com/eublefar/LLAMASharpUnityDemo
You don't even need to run the example itself. The problem occurs when importing NuGet packages. The LLamaSharp.kernel-memory.0.9.1 package imports only one LLamaSharp.kernel-memory.nuspec file. As far as I understand, the libraries themselves are not installed. There are no error messages. The LLamaSharp.semantic-kernel.0.9.1 package installs completely, but produces over 200 compilation errors. As far as I can understand, they arise due to a conflict with existing standard packages or due to a mismatch in the compilation target. There is no point in citing the errors themselves. You will see them when you try to install the package.
I'm guessing there's probably some kind of configuration error with the NuGet package.
Versions 0.7.1 and 0.8.1 were installed without errors and the example worked fine. So the error appeared only in version 0.9.1.

I'm wondering if there are plans to make llama.cpp compatible with multi-modal input (images) for use with models like llava.

@dcostea

I'm wondering if there are plans to make llama.cpp compatible with multi-modal input (images) for use with models like llava.

#609 includes llava support on InteractiveExectutor

@dcostea

I'm wondering if there are plans to make llama.cpp compatible with multi-modal input (images) for use with models like llava.

#609 includes llava support on InteractiveExectutor

I just can't wait to see it in the next release!


ci: build and push arm64

This pull request ensures that the arm64 Docker image is built and pushed along the (default) amd64 Docker image.
Notes:

This is pretty slow because the arm64 container is built on an amd64 host (the GitHub runner). IMO it's definitely worth running for releases, but we may want to revert the changes to .github/workflows/CI.yml.
Alternatively we could cross build the arm64 binary with the Rust toolchain inside an amd64 container, and then create an arm64 container where we copy the binary. See this article from Docker blog.

How to reproduce
ubuntu@ubuntu:~$ docker run cybuerg/cfspeedtest
Unable to find image 'cybuerg/cfspeedtest:latest' locally
latest: Pulling from cybuerg/cfspeedtest
docker: no matching manifest for linux/arm64/v8 in the manifest list entries.
See 'docker run --help'.

System configuration

With regard to crossbuilding here is my attempt below. Note that TARGETPLATFORM would be aarch64-unknown-linux-gnu in our case for arm64:
diff --git a/Dockerfile b/Dockerfile
index 310ba1a..adb26a9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,8 +1,10 @@
-FROM rust:slim-bullseye as builder
+FROM --platform=linux/amd64 rust:slim-bullseye as builder
+ARG TARGETPLATFORM
 WORKDIR /usr/src/cfspeedtest
 COPY Cargo.toml Cargo.lock ./
 COPY src ./src
+RUN rustup target add $TARGETPLATFORM
-RUN cargo install --path .
+RUN cargo install --target=$TARGETPLATFORM --path .

 FROM debian:bullseye-slim
 RUN apt-get update && apt-get install -y --no-install-recommends tini && rm -rf /var/lib/apt/lists/*

The compilation goes fine for the most part but it fails on the ring dependency:
error: ToolExecError: Command aarch64-linux-gnu-gcc -E /usr/src/cfspeedtest/target/aarch64-unknown-linux-gnu/release/build/ring-73b4bf2723f138c5/out/12675479341134196014detect_compiler_family.c with args aarch64-linux-gnu-gcc did not execute successfully (status code exit status: 127).

Thanks @devnoname120 for your contribution. I will merge these changes - I prefer to have the docker build for arm64  also run in CI, even if it is a bit slow. We can still revert the changes in CI.yml if it turns out to be too annoying.

@code-inflation I agree! I eventually got it to work using cargo zigbuild (to use Zig's linker implementation) + a few extra hacks. I don't think it's worth the bother but at least it was a “fun” learning experience for me.


flutter build ios-framework --xcframework incorrectly copies Flutter.framework.dSYM into App.xcframework

Add-to-app xcframework generation in release mode produces App.xcframework/ios-arm64/dSYMs/Flutter.framework.dSYM and Flutter.xcframework/ios-arm64/dSYMs/Flutter.framework.dSYM.  App.xcframework should not contain this dSYM.
This causes the IPA error:
error: Multiple commands produce '......./BuildProductsPath/Release-iphoneos/Flutter.framework.dSYM/Contents'

Steps to Reproduce
Checkout https://github.com/flutter/samples
$ cd add_to_app/prebuilt_module/flutter_module
$ flutter build ios-framework --xcframework --output=../ios_using_prebuilt_module/Flutter --no-debug --no-profile

Observe ios_using_prebuilt_module/Flutter/Release/App.xcframework/ios-arm64/dSYMs/Flutter.framework.dSYM and ios_using_prebuilt_module/Flutter/Release/Flutter.xcframework/ios-arm64/dSYMs/Flutter.framework.dSYM.
The workaround is to delete App.xcframework/ios-arm64/dSYMs/Flutter.framework.dSYM.

Logic is here:
https://github.com/flutter/flutter/blob/5fa5a648428f03a9b6bdffba2cb77876146b8d79/packages/flutter_tools/lib/src/commands/build_ios_framework.dart#L153-L155

Test to be updated is here:
https://github.com/flutter/flutter/blob/5fa5a648428f03a9b6bdffba2cb77876146b8d79/dev/devicelab/bin/tasks/build_ios_framework_module_test.dart#L191-L199

And also the unit test add something like parentA.childFile('Flutter.framework.dSYM')..createSync(); and confirm the command doesn't change (also confirm it fails before the fix because I didn't actually try this 😅)
https://github.com/flutter/flutter/blob/e9fb545c0584eca610e629718ac984bf3f189728/packages/flutter_tools/test/commands.shard/hermetic/build_darwin_framework_test.dart#L559

We are encountering the following issue with our iOS framework builds in release mode. Previously, the size of the framework was around 100MB, but now it has increased to over 1GB. We are removing the dSYM files and their references from the Info.plist files via a script during the release build. However, after doing this, we are now facing the following signature error. Could you please assist us?
SignatureCollection /Users/runner/Library/Developer/Xcode/DerivedData/ProjectName-edzqkohwcavlbfdkjtskcbnbjloe/Build/Intermediates.noindex/ArchiveIntermediates/QA/BuildProductsPath/QA-iphoneos/Flutter.xcframework-ios.signature
cd /Users/runner/work/1/s/ProjectName.xcodeproj
builtin-collectSignature --input /Users/runner/work/1/s/Flutter/QA/Flutter.xcframework --output /Users/runner/Library/Developer/Xcode/DerivedData/ProjectName-edzqkohwcavlbfdkjtskcbnbjloe/Build/Intermediates.noindex/ArchiveIntermediates/QA/BuildProductsPath/QA-iphoneos/Flutter.xcframework-ios.signature --info platform ios --info library Flutter.framework
error: signature-collection failed: The operation couldn’t be completed. (XCBUtil.CodeSignatureInfo.Error error 0.)

I am facing the same issue. My project is failing to build.

@dorukbasaran The fix just merged, would you be willing to test it on the master channel?

@dorukbasaran or @sulaimansust can you confirm the fix? I'd like to hotfix to stable if it's working.

Or anyone else hitting this, maybe 👍  @goncg007 @farukarslan?

Hey @jmagman I can verify this works as expected on master

Stable channel cherry pick request at https://github.com/flutter/flutter/pull/158125

@jmagman It also works for me. Thanks


Cypress action consistently maxing out runner CPU on single test

We are currently working on migrating our CI to Github actions and are having trouble getting cypress to run efficiently.
When running cypress, our tests consistently max out the CPU on github's default action runner. Attempting to run the full test suite regularly causes timeouts. The runner will often randomly freeze while running a test and proceed to not process anything else until the end of the step timeout.
In order to diagnose this, I tried only running a single spec (a simple one with 3 it statements) with DEBUG enabled to see what was going on and the total CPU usage got to 103%. Raw logs
Our specs have no issues on our existing CI (semaphore CI) nor in local dev environments.
Node: 16.13.0
Specs are running in Electron 100 (headless)
Cypress version and plugins
"cypress": "10.3.0",
"cypress-multi-reporters": "^1.5.0",
"cypress-terminal-report": "^1.4.1",

Here is the relevant action. The node_modules and cypress binary are installed and verified correctly in a separate step. The server is just a simple proxy that serves html/assets from the build directory and proxies all API requests to our staging servers.
 - name: Run cypress
   uses: cypress-io/github-action@v4
   with:
     project: packages/slate
     start: node packages/slate/internal/scripts/localExpress
     wait-on: "http://<IP_ADDRESS>:3000"
     install: false
     spec: packages/slate/cypress/e2e/guest_invite_spec.ts
     config-file: cypress.config.ts
   env:
     DEBUG: cypress:server:util:process_profiler
     GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
     NODE_OPTIONS: --max-old-space-size=6144
   timeout-minutes: 20

cypress.config.ts
import { defineConfig } from 'cypress';
const cypressConfig = defineConfig({
  defaultCommandTimeout: 45000,
  video: true,
  videoUploadOnPasses: false,
  viewportWidth: 1280,
  viewportHeight: 800,
  blockHosts: [
    '*.googletagmanager.com',
    '*.hs-scripts.com',
    'js.intercomcdn.com',
    '*.litix.io',
  ],
  projectId: '***',
  e2e: {
    setupNodeEvents: (config, on) => {
      require('cypress-terminal-report/src/installLogsPrinter')(on);
      on(
        'before:browser:launch',
        (browser: Cypress.Browser, launchOptions: Cypress.BrowserLaunchOptions) => {
          if (browser.name === 'chromium') {
            // needed to address issues related to tests hanging in the CI
            // https://github.com/cypress-io/cypress/issues/8206
            launchOptions.args.push('--disable-dev-shm-usage');
          }
          return launchOptions;
        },
      );
    },
    baseUrl: 'http://<IP_ADDRESS>:3000',
    specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
  },
});
export default cypressConfig;

@Pearce-Ropion have you tried turning on logs to see where the test is hanging? Maybe there's a specific spot it hangs each time?


Update index.html

Under the layout tab English language is preferred.

[ ] Have you followed the contributing guidelines?
[ ] Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

There was sudden words missing


Entering from adb shell

Is there a way to enter the proot environment with Nix from adb shell? If so, this would be good to add to the README.

/data/data/com.termux.nix/files/usr/bin/login

Thanks. I get warnings and errors that don't show up in the app when doing this, though (running as root in case that matters, the login binary is not accessible otherwise)
warning: the group 'nixbld' specified in 'build-users-group' does not exist
error: the group 'nixbld' specified in 'build-users-group' does not exist

That's strange, can you show the output of nix show-config? Maybe nix detects that you are root and tries to init daemon config. Or can you try to su into the nix-on-droid user before?

login logs in as the nix-on-droid user. When using su to switch to the app-specific user assigned by Android before running login, I get a different error when trying to use nix-shell:
error: creating directory '/data/local/tmp/nix-shell-25481-0': Permission denied

$ nix show-config
warning: $HOME ('/data/data/com.termux.nix/files/home') is not owned by you, falling back to the one defined in the 'passwd' file ('/data/data/com.termux.nix/files/usr/root')
accept-flake-config = false
access-tokens =
allow-dirty = true
allow-import-from-derivation = true
allow-new-privileges = false
allow-symlinked-store = false
allow-unsafe-native-code-during-evaluation = false
allowed-impure-host-deps =
allowed-uris =
allowed-users = *
auto-allocate-uids = false
auto-optimise-store = false
bash-prompt =
bash-prompt-prefix =
bash-prompt-suffix =
build-hook = /nix/store/yvp7frlsjwr7c4s8z886k2w4231f9wvr-nix-2.13.3/bin/nix __build-remote
build-poll-interval = 5
build-users-group = nixbld
builders = @/etc/nix/machines
builders-use-substitutes = false
commit-lockfile-summary =
compress-build-log = true
connect-timeout = 0
cores = 8
diff-hook =
download-attempts = 5
download-speed = 0
eval-cache = true
experimental-features = nix-command
extra-platforms =
fallback = false
filter-syscalls = true
flake-registry = https://channels.nixos.org/flake-registry.json
fsync-metadata = true
gc-reserved-space = 8388608
hashed-mirrors =
http-connections = 25
http2 = true
id-count = 8388608
ignore-try = false
ignored-acls = security.csm security.selinux system.nfs4_acl
impersonate-linux-26 = false
keep-build-log = true
keep-derivations = true
keep-env-derivations = false
keep-failed = false
keep-going = false
keep-outputs = false
log-lines = 10
max-build-log-size = 0
max-free =<PHONE_NUMBER>3709551615
max-jobs = 1
max-silent-time = 0
min-free = 0
min-free-check-interval = 5
nar-buffer-size = 33554432
narinfo-cache-negative-ttl = 3600
narinfo-cache-positive-ttl = 2592000
netrc-file = /etc/nix/netrc
nix-path = nixpkgs=/data/data/com.termux.nix/files/home/.nix-defexpr/channels/nixpkgs/ /data/data/com.termux.nix/files/home/.nix-defexpr/channels
plugin-files =
post-build-hook =
pre-build-hook =
preallocate-contents = false
print-missing = true
pure-eval = true
require-sigs = true
restrict-eval = false
run-diff-hook = false
sandbox = false
sandbox-build-dir = /build
sandbox-dev-shm-size = 50%
sandbox-fallback = true
sandbox-paths = /bin/sh=/nix/store/qa3lxk2xbpsxp6sc74x6wfx4f262fhxj-busybox-static-aarch64-unknown-linux-musl-1.36.1/bin/busybox
secret-key-files =
show-trace = false
stalled-download-timeout = 300
start-id = 872415232
store = auto
substitute = true
substituters = https://cache.nixos.org https://nix-on-droid.cachix.org
sync-before-registering = false
system = aarch64-linux
system-features = benchmark big-parallel nixos-test uid-range
tarball-ttl = 3600
timeout = 0
trace-function-calls = false
trace-verbose = false
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-on-droid.cachix.org-1:56snoMJTXmDRC1Ei24CmKoUqvHJ9XCp+nidK7qkMQrU=
trusted-substituters =
trusted-users = root
use-case-hack = false
use-cgroups = false
use-registries = true
use-sqlite-wal = true
user-agent-suffix =
warn-dirty = true

For me it fails even earlier:
$ su - 10445
$ id
uid=10445(u0_a445) gid=10445(u0_a445) groups=10445(u0_a445) context=u:r:magisk:s0
$ ls -l /data/data/com.termux.nix/files/usr/bin/login
ls: /data/data/com.termux.nix/files/usr/bin/login: Permission denied

No, I don't know how to su better.

I think it should be su u0_a445


Add Support for Passing Pretokenized Datasets to TRL

Description of the change

Adds support for pretokenized datasets.
Refactors logic for formatting the train / eval dataset + picking a collator into preprocessing utils

Related issue number

How to verify the PR

Run the unit tests and see all preprocessing tests are passing
Run an end to end tuning

export DATA_PATH=/home/SSO/us2j7257/fms-hf-tuning/tests/data/twitter_complaints_input_output.json
export CUDA_VISIBLE_DEVICES=0
export MODEL_PATH=TinyLlama/TinyLlama-1.1B-step-50K-105b
export OUTPUT_PATH=out

python tuning/sft_trainer.py  --model_name_or_path $MODEL_PATH  --training_data_path $DATA_PATH  --output_dir $OUTPUT_PATH  --num_train_epochs 20  --per_device_train_batch_size 4 --per_device_eval_batch_size 4  --gradient_accumulation_steps 1  --evaluation_strategy "no"  --save_strategy "epoch"  --learning_rate 0.03  --weight_decay 0.  --warmup_ratio 0.03  --lr_scheduler_type "cosine"  --logging_steps 1  --include_tokens_per_second  --packing False  --use_flash_attn False  --tokenizer_name_or_path $MODEL_PATH --torch_dtype "float32" --peft_method "pt" --num_virtual_tokens 1500 --prompt_tuning_init_text "Classify if the tweet is a complaint or not:"

You can also inspect the output of the seq2seq collator from above ^ and verify that padding works correctly, and that the input ids / labels / attention mask are correctly manipulated.

Was the PR tested

[ ] I have added >=1 unit test(s) for every new method I have added.
[ ] I have ensured all unit tests pass

@alex-jw-brooks Are we using https://github.com/huggingface/trl/pull/1520 ?

Closing this PR, as it was refactored and merged in https://github.com/foundation-model-stack/fms-hf-tuning/pull/260


How to not displaying the local notification?

I tried to not displaying the local notification when in background mode but couldn't find any api for this. Can this library archieve this at the moment?

alright I got it, it is foreground service
https://developer.android.com/guide/components/services


Don't want to hideSwipe when user hit overlay

I have been using MGSwipeTableCell for a while in my project, it's awesome!
Now I have a requirement regarding overlay hitting, I don't want to hide swipe every time when user hit the overlay, the hidden should happen depend on cell.
As I investigated the code, I suppose we can add one delegate method to identify whether the hidden should happen on overlay hitting, and check this method in MGSwipeTableInputOverlay's hitTest method.
Or is there another way to achieve this?
Thanks!

Hi,
I have implemented a new delegate method. Now you can decide when to hide the swipe when the user taps the cell ;)
It's available in develop branch. I will merge to master in the next release.
´´´
-(BOOL) swipeTableCell:(MGSwipeTableCell *)cell shouldHideSwipeOnTap:(CGPoint) point
{
NSLog(@"Point %f %f", point.x, point.y);
return NO;
}
´´´

Available in 1.5.1

I need a similar thing. Is there a way to not hide the button when user taps the button?
I didn't create an issue because I don't know if feature already exists or not
Thank you very much


Latest Paella 7 version (1.20) is broken in Opencast

Describe the bug
I was making routine updates to Paella 7 dependencies, The PR #4705 broke paella 7 with the player is not defined
The error log in debug mode is:
Log.js:60 paella-core - Debug: New paella player instance
Log.js:60 paella-core - Debug: Loading paella player
Log.js:60 paella-core - Debug: Using default configuration loading function.
:8080/usertracking/stats.json?id=d8516a01-c75a-46d2-8e8d-5b7e8d0dc77e:1          Failed to load resource: the server responded with a status of 404 (Not Found)
:8080/usertracking/detailenabled:1          Failed to load resource: the server responded with a status of 404 (Not Found)

Log.js:57 paella-core - Info: Paella player load done

VideoContainer.js:317 Uncaught (in promise) ReferenceError: player is not defined
    at E.<anonymous> (VideoContainer.js:317:30)
    at l (VideoContainer.js:2:1)
    at Generator.<anonymous> (VideoContainer.js:2:1)
    at Generator.next (VideoContainer.js:2:1)
    at Ot (VideoContainer.js:2:1)
    at a (VideoContainer.js:2:1)
    at VideoContainer.js:2:1
    at new Promise (<anonymous>)
    at E.<anonymous> (VideoContainer.js:2:1)
    at E.<anonymous> (VideoContainer.js:400:6)

VideoContainer.js:437 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'indexOf')
    at E.<anonymous> (VideoContainer.js:437:39)
    at l (VideoContainer.js:2:1)
    at Generator.<anonymous> (VideoContainer.js:2:1)
    at Generator.next (VideoContainer.js:2:1)
    at Ot (VideoContainer.js:2:1)
    at a (VideoContainer.js:2:1)
    at VideoContainer.js:2:1
    at new Promise (<anonymous>)
    at E.<anonymous> (VideoContainer.js:2:1)
    at E.<anonymous> (VideoContainer.js:453:6)

To Reproduce

Apply 1.20
build as default
Play an event with paella 7

Expected behaviour
Paella player 7 running as normal
Workaround
Working on reverting #4705
Reverting this PR solves the issue
User environment:

Opencast 13
Chrome latest version as browser

@miesgre @ferserc1

There is a bug in paella-core 1.20.
It is fixed in commit https://github.com/polimediaupv/paella-core/commit/72bc3b05dcc34c83aa5e47f6a0e1d265f3d1c1b9 (paella-core 1.20.1).
Once dependabot update paella-core it will be fixed in opencast.

Thanks @miesgre! I will merge as soon dependabot shows it.


Updates to batch MIME serialization

Fixes #1439 and should now resolve all related issues.
Changes DataServiceVersion in batch responses to match Azure Table Storage response (version 1.0)
Adds Go sample to confirm batch response for go SDK.
Adds sample dotnet project with Cosmos SDK and Azure Data Tables SDK batch requests to allow easy validation for those SDKs.

Fixes #1608

@edwin-huber  Looks good! There are test cases from C#, Go.. Can we update pipeline config file to automatically execute them in PR validation?

@XiaoningLiu I am opening tracking issues to convert the Go and C# samples to test cases which we can include in the pipeline.