fix: don't replace image src links

Implemented changes
This PR fixes https://github.com/EOX-A/EOxElements/issues/853. The negative lookahead in the regex was only looking for href=", but now has been extended to also ignore links preceded by src=".
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] All checks have passed
[x] The PR title follows conventional commit style and reflects the type of change (major/minor/patch, breaking)
[x] The PR title describes the change within this element (each merged PR equals one entry in the element's changelog!)

Might be good to integrate also the image width fix?
https://github.com/EOX-A/EOxElements/commit/b9b8a8b9f58fea93a4e36cecdcf795a9faf9d50d


Unit conversion schema and tests

Added conversion units to extract.attributes schema
Added conversion tests
desired unit works both with singular or plural. Used singular for schema.

Move large attribute_type / unit conversion map to be a part of the base schema and reference it instead, then we can re-use this for standardize/convert that we'll add in future.

Done


Can you add IHaskell?

Was wondering if it could be possible to add IHaskell as part of the package

You can add it to the cabal file in your project.
It shouldn't be in this template because IHaskell is typically not used in a random Haskell project, unlike say base or containers.


sending midi out of multiple tracks at once

hello I am wondering if you can send and receive gate via midi from multiple tracks at once? so far all I can see is the gate source option in midi out page and it only allows me to choose one at a time. my hope is to send out my patterns into logic, edit them, and then send that midi info back to performer and record audio.

You can already do this today. You have 8 midi output slots available, so you can route all 8 tracks to different midi channels and record them externally to logic. Then you need to setup a new project that only consists of MIDI/CV tracks which essentially turns performer into a MIDI/CV interface. Or did I miss something?

Hey thanks for response ! I was only able to assign a midi Chanel to the
whole module and couldn’t sort out how to assign to individual tracks but I
will try again . Very possible I missed something !
On Sun, Feb 7, 2021 at 12:29 PM Simon Kallweit<EMAIL_ADDRESS>wrote:

You can already do this today. You have 8 midi output slots available, so
you can route all 8 tracks to different midi channels and record them
externally to logic. Then you need to setup a new project that only
consists of MIDI/CV tracks which essentially turns performer into a MIDI/CV
interface. Or did I miss something?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/westlicht/performer/issues/245#issuecomment-774755053,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARR4LUNR5JEUZOMKCTLKYY3S53Z3RANCNFSM4TGREVMQ
.


FAQ.md - improve wording & fix nuances

Note including build/* in your srcDir may not work as you intend; you need to have task dependencies between the things that generated those build/* files and Java compilation (which is very task-specific, and not something with general advice).  I replaced it with an example that does not rely on such assumptions.
In the future, please include references to authorities - we don't want to become the documentation source-of-truth for much of this info, just a way to solve the easiest instances, and then point people in the right directions for details.

@confile and @brunobowden , ptal

Looks good - see single comment


Would it be possible to alert that I am typing a command in the Focus Accessible Buffer?

Type: Feature Request
@meganrogge @isidorn
Sometimes, when using the terminal, I accidentally end up typing a command in the Focus Accessible Buffer. Many times I only realize the mistake when pressing the enter key to execute the command. In my opinion, it would be very useful if VSCode issued an alert informing that the focus is on an element that cannot receive data input.
VS Code version: Code - Insiders 1.81.0-insider (d568855b2a4ef75716cdaa9a52da5315f5100a5d, 2023-07-12T11:46:48.659Z)
OS version: Linux x64 6.3.12-200.fc38.x86_64
Modes:

@meganrogge I see that the accessibility help is readonly.
So we could tackle this as a broader request to notify users when they are typing in a readonly editor. This could be an audio cue - windows has some sounds like this where you are typing into a field that does not support it.

Thanks for the idea @jvesouza this makes a lot of sense to me. Would you rather an alert or audio cue? My thought would be an audio cue as @isidorn suggests. The downside is I think we'd need a new audio cue, which seems to take awhile to get from our sound designer.
Also cc @rperez030 and @jooyoungseo for their thoughts

In my opinion the audio cue would be better, but an alert will also do.
There is already an alert message when I open a file, use the File: Toggle Active Editor Read-only command and try to edit something.

What about moving focus to the input field instead? Unless I type a key accidentally, this could even be helpful for productivity. One of the reasons why I still prefer to use the external terminal is because I don't have to wander where my focus is if I want to issue a command.

What about moving focus to the input field instead? Unless I type a key accidentally, this could even be helpful for productivity. One of the reasons why I still prefer to use the external terminal is because I don't have to wander where my focus is if I want to issue a command.

In my opinion moving focus to the input field is also a good idea.
One of the advantages for me in using the accessible buffer is how easy it is to navigate the output of commands
executed in the terminal. I can even copy the result of the command to paste it in a file or send it to someone else.

I agree, and that's why I'd like to use it more. Moving focus automatically if I try to type could be another step in that direction. I'm slightly concerned about accidental typing though. Even in that case, it is still posible to press shift +Tab and the cursor would still be in the same place in the buffer. @jooyoungseo I would be curious to know your thoughts about this.

If we play an audio cue, the accessible buffer should stop accepting characters. It does now if one tries to type in it.
I have also observed that if one moves between the accessible buffer and the input field, the cursor position in the accessible buffer gets reset even if no new command is issued. That is a problem if I'm trying to type a new command and need to review output from the previous one because each time I move focus to the accessible buffer, I have to find my place again. I'm happy to open a separate issue about that.

The buffer doesn't actually accept characters - the screen reader just reads the characters. I think maybe using e.preventDefault would fix this? I'll investigate.
Also, we need it to accept some characters - arrow keys for instance.

If I type characters, they are not only announced when I type them, they are present if I read the current line, and present in my Braille display. Of course, if I press any arrow key and the cursor moves, they get deleted immediately. Actually, if instead of pressing arrow keys alone I press CTRL +Left or Right arrow keys, I can move word by word and the characters I entered remain as part of the content. It doesn't seem to cause any harm in general, although I can imagine very special situations in which that behavior can be confusing. For example, if I'm reviewing a complicated argument as part of the help information for a command, if I accidentally press a key before reading the text in braille, I will find that ghost character written and may confuse it as being part of the argument.

Interesting and thanks for that insight.
Does this happen in all read only editors currently?

So this doesn't happen in other read only editors currently. the fix is to apply the same contribution that those use.

Ok interesting - it doesn't happen in the other read only editors. I debugged and realized this is because one of the contributions we provide seems to cause the readonly contribution to break.

if I provide any contributions at all, it doesn't work

we should also have this readonly behavior for the AccessibleView

The same behavior can be observed in the accessibility help menu.

yeah that's using the AccessibleView

Good to know. I thought the accessible view was something else. :) Thank you for clarifying.


python3Packages.tinycss2: fix failing tests

Motivation for this change
https://hydra.nixos.org/build/122651822
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

@GrahamcOfBorg build python3Packages.tinycss2 python3Packages.cssselect2

Some tests fail, but the build still succeeds ^

Some tests fail, but the build still succeeds ^

This is fine: https://travis-ci.org/github/Kozea/cssselect2/jobs/663252998


fix: formatting of ISO8601Date.java

Fixes #1605
Changes:
Formatted the ISO8601Date.java class.
Screenshots for the change:

@iamareebjamal
please check!

@iamareebjamal please have a look now.

actually i wanted to simplify some stuff but that would have led to hardcoding which i dont want in the class. having a look again to simplify stuff.

You can pass a date format string to the dateutils method, and it will handle everything from there

@iamareebjamal is this fine? will squash the commits once its done.

@iamareebjamal please ignore the codacy. i will changes for that. just see the code if thats fine.

@iamareebjamal
if you check the methods, i pass the timezone and the string to get the result. do you want me to simplilfy then that?

just to clear it out. why i am passng timezone is becaue in testing i want to pass my own timezone. thats why i created another parameter for it. it should be fine right?

@arp95 The strategy should be for view to just call appropriate getter and get the requested string. That's why I asked to create a DateUtils class where every detail will be abstracted. That invoked function will call the the ISODate static function and return the appropriate result. This way we will just statically set the timezone of app ad check if all DateUtils methods are working correctly.
Like
assertEquals(DateUtils.getDate("xyz"), "xyz-yy");
This will also allow us to change the implementation of these methods any time without requiring to touch the code even once because the view will only be calling DateUtils method.

An example of half the class I wrote while working on this. https://hastebin.com/fagucoducu.vbs
You just have to add a parameter in these calls to make it configurable

i know you wanted to pass one parameter. but when i will do date testing in that i have to test the value returned by the function by a value which i know already. so lets say i enable getTimeZoneOfEvent within function in that case wont it the date testing.get stuck?

Have a static variable to store timezone, load it initially using the app timezone
Create a static function setTimeZone and call it with custom timezones each time you want to test for different timezone

for each part that is activity or fragment if i call setTimeZone will it be fine apart from normal calls?

You just will have to call it once throughout the app and for tests, call it every time you want to change timezone.

The timezone of the app will not change throughout its run, so setting it once will be enough

no thats where i was getting confused. we have a setting for local timezone in settings right. for hat i am referring.

You load from preference once in the first run of the static method, and whenever the setting is changes, you set the appropriate timezone

so move that part in each method right?
checking whether user set the local timezone or not?

wait sending you the changes in 1-2 hours.

@iamareebjamal
now working! hopefully the api is fine now. please check!

@arp95 Sorry for late reply. My laptop broke. Having a look

@arp95 Perfect! Just remove the warnings and we are good to go
Also, you may start writing tests for it for #1566

sure. working on it ASAP.

@iamareebjamal
please merge so that i can wok on date tests.

LGTM @arp95 except for a few blank lines additions and deletions here and there.

@Shailesh351 please review the pr again and tell if other changes are needed to be made in the meantime.
making these changes ASAP.

@Shailesh351 is it fine now?

@Shailesh351 Please check if any discrepancies remain on your side?

@rohanagarwal94 is it fine now?

@Shailesh351 Please have a last look at the issues you were facing and approve if they are gone

Sorry for the delay had fever tomorrow,
@arp95 @iamareebjamal @rohanagarwal94
As per https://eventyay.com/e/45da88b7/schedule/
Actual time of FOSSASIA welcome event is 09:00 Asia/singapore(GMT +08:00)
But it is showing 11:30 (GMT +08:00) in app. And it is critical issue
May be it is because of setting timezone in SDF when there is no need or timezone is not in SDF set when there is need.

is it a fault from my side?
let me have a look.

@arp95
Look at https://hastebin.com/xuwazidefi.js
I have Changed getTimeZoneOfEvent() method and added getTimeZone() method.
Renamed some variables.
You can make one method for last four method which will take two format strings and return formatted string

@iamareebjamal @Shailesh351 please have a final look so that i can start working on date tests.

@arp95 You may start

@iamareebjamal @Shailesh351 have a look.

@the-dagger Please take a look

@iamareebjamal really sorry for this. just used eventTimeZone as a variable so that it can help me with date tests.

now working fine. started with date tests.

@the-dagger please have a look

@iamareebjamal have resolved conflicts. please take a look

@iamareebjamal made the changes.


Auto delete old builds

Is your feature request related to a problem? Please describe.
We have to manually delete the old build to clear the amplify storage by using the command line aws amplify delete-job --app-id xxxxxxx --branch-name dev --job-id 1 or #!/bin/bash for i in {411..440} do aws amplify delete-job --app-id xxxxx --branch-name dev --job-id $i done
Describe the solution you'd like
There should to option like as Keep last N build or Auto delete build in N days. Or we should have a option to select and delete builds visually from the amplify console.

Hi @imdkbj and thanks for the suggestion. Rolling out now, storage charges for build outputs apply to the app's last 3 builds only.

Hi @imdkbj and thanks for the suggestion. Rolling out over the coming weeks, storage charges for build outputs apply to the app's last 3 builds only.

That's very sweet of you. Well, still i believe that old build should to get deleted as these consume unnecessary space for AWS as well as owner. Amplify should have default options  as suggested or something like that.

This feature has been rolled out.


Set Content-Length header in server responses

Motivation and Context

https://httpwg.org/specs/rfc7230.html#header.content-length
Closes https://github.com/awslabs/smithy-rs/issues/1146

Description

Add Content-Length header to non-streaming server responses
Add a Content-Length checks to the existing httpResponseTests

@david-perez

We should contribute a PR to awslabs/smithy adding an @httpResponseTests asserting Content-Length header has the expected value

Posted an issue inquiring about this, will follow with a PR shortly after if needed
https://github.com/awslabs/smithy/issues/1255


[sqlite-orm] CMake fails to find package on macOS/Linux

Describe the bug
Package builds and installs fine, but then CMake configuration fails when looking for SqliteOrm package.
Environment

OS: macOS / Linux
Compiler: Apple clang version 12.0.0 (clang-1<IP_ADDRESS>) / gcc (Gentoo 10.2.0-r4 p5) 10.2.0
CMake: 3.19.2

To Reproduce
Steps to reproduce the behavior:

Create CMakeLists.txtcmake_minimum_required(VERSION 3.14)

include(FetchContent)

FetchContent_Declare(vcpkg
    GIT_REPOSITORY https://github.com/microsoft/vcpkg.git
    GIT_TAG a14a6bcb27287e3ec138dba1b948a0cdbc337a3a) # same for 2020.11-1
FetchContent_MakeAvailable(vcpkg)

set(CMAKE_TOOLCHAIN_FILE ${vcpkg_SOURCE_DIR}/scripts/buildsystems/vcpkg.cmake
    CACHE STRING "CMake toolchain file")

project(foo)

find_package(SqliteOrm REQUIRED)

Create vcpkg.json{
  "name": "foo",
  "version-string": "0",
  "dependencies": [
    "sqlite-orm"
  ]
}

Try configuring

Expected behavior
CMake configuration succeeds.
Failure logs
...

CMake Error at _build/vcpkg_installed/x64-{linux,osx}/share/SqliteOrm/SqliteOrmConfig.cmake:13 (message):
  File or directory
  /tmp/foo/_build/vcpkg_installed/x64-{linux,osx}/share/SqliteOrm/../../lib/cmake/../../
  referenced by variable SQLITE_ORM_CMAKE_DIR does not exist !
Call Stack (most recent call first):
  _build/vcpkg_installed/x64-{linux,osx}/share/SqliteOrm/SqliteOrmConfig.cmake:30 (set_and_check)
  _build/_deps/vcpkg-src/scripts/buildsystems/vcpkg.cmake:634 (_find_package)
  CMakeLists.txt:15 (find_package)

-- Configuring incomplete, errors occurred!
See also "/tmp/foo/_build/CMakeFiles/CMakeOutput.log".

Hi @mikedld
Thanks for posting this issue.
This issue has been fixed. Please try to update vcpkg to the latest version to rebuild this port.

Hi @mikedld
Thanks for posting this issue.
This issue has been fixed. Please try to update vcpkg to the latest version to rebuild this port.


Object factory

This is an initial implementation of the object factory, which allows users to define defaults for some common properties which will be applied to all STIX objects. Other properties (granular markings, for example) can be added in the future.
Close #28.

Codecov Report

Merging #34 into master will increase coverage by 0.28%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #34      +/-   ##
==========================================
+ Coverage      91%   91.29%   +0.28%
==========================================
  Files          41       43       +2
  Lines        2557     2619      +62
==========================================
+ Hits         2327     2391      +64
+ Misses        230      228       -2

Impacted Files
Coverage Δ

stix2/other.py
97.67% <ø> (+4.65%)
:arrow_up:

stix2/environment.py
100% <100%> (ø)

stix2/test/constants.py
100% <100%> (ø)
:arrow_up:

stix2/test/test_environment.py
100% <100%> (ø)

stix2/properties.py
95.63% <100%> (ø)
:arrow_up:

stix2/__init__.py
86.66% <100%> (+0.3%)
:arrow_up:

stix2/test/test_markings.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

The default lists need to be deep-copied before being modified, otherwise they can keep growing with every object you create (if you choose to append values).  E.g. this is a shallow copy.  So this will actually change the default, affecting future object creation.

If appending to list-valued defaults is to be supported, it seems reasonable to support appending multiple values at a time.  E.g. factory.create(SdoClass, external_references=[ref1, ref2]).  As written though, that will result in a nested list, e.g. [def1, def2, [ref1, ref2]].  Should appending multiple values be supported?

Good catch, @chisholm . I realized I was doing a shallow copy when I wrote that line, but figured it didn't matter since (at the time) values would only get overwritten, not modified. Then I asked @clenk  to make them modifiable, forgetting that the shallow copy was no longer sufficient. I should have put a comment about the shallow copy.


add support for intersection and union search

Summary

This PR addresses this enhancement issue https://github.com/sigstore/rekor/issues/849, which suggested adding support for intersection and union search through the use of and and or operators.
Release Note

new: support for intersection and union search through the use of and and or operators.
Documentation

Codecov Report

Merging #968 (e64a153) into main (5019f3e) will increase coverage by 0.03%.
The diff coverage is 75.00%.

:exclamation: Current head e64a153 differs from pull request most recent head ed6c9e3. Consider uploading reports for the commit ed6c9e3 to get more accurate results

@@            Coverage Diff             @@
##             main     #968      +/-   ##
==========================================
+ Coverage   48.15%   48.19%   +0.03%
==========================================
  Files          61       61
  Lines        5401     5409       +8
==========================================
+ Hits         2601     2607       +6
- Misses       2520     2522       +2
  Partials      280      280

Impacted Files
Coverage Δ

cmd/rekor-cli/app/search.go
20.58% <50.00%> (+0.89%)
:arrow_up:

cmd/rekor-cli/app/pflags.go
85.71% <100.00%> (+0.38%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Oh wow, this is really cool!


Improve viewComponent(for...) in PawView

Set indent settings on Xcode project
By setting the indent and tab width on the project, Xcode will respect the project setting rather than the user-defined setting.
Reduce type casting by using pattern matching
By using case let instead of is, we remove the additional casting when setting the component on the view.
Each case now sets a value to view instead of returning, this has the potential to make debugging easier as you can set a breakpoint at the very end to check the output value.
Because the framework uses constraints, we want to always set translatesAutoresizingMaskIntoConstraints to false. This is now handled before the return instead in each case.

👌 thanks!


Update Posts “license”

Automatically generated by Netlify CMS

👷 Deploy Preview for uaid-direct processing.

Name
Link

🔨 Latest commit
2120567513f727121b7996bb76f79cea81c36023

🔍 Latest deploy log
https://app.netlify.com/sites/uaid-direct/deploys/6288994c83f0c70008fb21f7


Layout fail to change after returning from presentViewControllerAnimatedCompletion

Layout fail to change after returning from presentViewControllerAnimatedCompletion:
Plugin Code:
export class Picker {
    constructor() {

    }

    Show(): Promise<ImageAsset[]> {
        let bsImagePicker = BSImagePickerViewController.alloc().init();
        bsImagePicker.maxNumberOfSelections = 6;
        bsImagePicker.navigationBar.barTintColor = (new Color("#F8F8F8")).ios;

        let page = topmost().currentPage.ios;

        return new Promise(function (resolve, reject) {
            // just a wrapping method for presentViewControllerAnimatedCompletion
            page.bs_presentImagePickerControllerAnimatedSelectDeselectCancelFinishCompletion(
                bsImagePicker, true,
                (asset: PHAsset) => {
                },
                (asset: PHAsset) => {
                },
                (assets: PHAsset[]) => {
                },
                (assets: NSArray<PHAsset>) => {
                    let imageAssets: SelectedAsset[] = [];

                    assets.enumerateObjectsUsingBlock((assets, i, boolRef) => {
                        imageAssets.push(new SelectedAsset(assets));
                    });

                    resolve(imageAssets);
                },
                null);
        });

    }
}

Angular component that calling it:
            <GridLayout row="2" col="0" class="editor-tool-container">
                    <WrapLayout #imageContainer row="1" col="0" width="100%"
                                orientation="horizontal"
                                itemHeight="77">

                        <ng-template ngFor let-image [ngForOf]="selectImages" let-i="index">
                            <PickedImageView [src]="image"
                                             (onDeleteImageEvent)="onDeleteImageEvent(i)"></PickedImageView>
                        </ng-template>

                        <Button class="picked-images picked-images-adder ion"
                                text="" (tap)="onSelectPhotoTapped($event)"></Button>
                    </WrapLayout>
                </GridLayout>
            </GridLayout>

    onSelectPhotoTapped(event) {
        console.log("onSelectPhotoTapped On this");

        // this.ngZone.runOutsideAngular(() => {

        let picker = new Picker();
        picker.Show().then((images: SelectedAsset[]) => {
            let toAppend: SelectedAsset[] = [];

            images.forEach(image => {
                console.log("image.fileUri", image.fileUri, FileManager.PhotoFilePath(image.fileUri))
                let found = false;
                this.selectImages.forEach((aImage: SelectedAsset) => {
                    if (image.fileUri === aImage.fileUri) {
                        found = true
                    }
                });
                if (!found) toAppend.push(image);
            });

            // this.ngZone.run(() => {

            console.log("onSelectPhotoTapped PUSH TO ARRAY", toAppend.length);
            this.selectImages.push(...toAppend);
            console.log("onSelectPhotoTapped detectChanges", this.selectImages.length);
            // Can confirmed that data have chagned
            this._changeDetectionRef.detectChanges();
            // });

        })

        // });
    }

After onSelectPhotoTapped called, BSImagePickerViewController presented as expected, but after returned from BSImagePickerViewController. Angular Component seems to be static and layout fail to update after data has changed.

resolved by this._changeDetectionRef.reattach();
Please add docs for changeDetectionRef. Its too confusing.

Update: This issue only exists when keyboard is focused. I only tested on iOS.

Update: I also tested with nativescript-camera, the problem exists.

@lincanli can you provide a sample project so I can debug and investigate the issue on my side. Contact me on my email ( in the GitHub details) or in the community slack (username: niliev) if you can share the project.


Open Terminal keybinding conflicts on Windows and Linux

On Windows and Linux, Ctrl Shift T is set to reopen closed tab by default. This package overrides that with the atom-terminal:open command.

This can be manually fixed by adding this to the keymap.cson file:
'atom-workspace':
  'ctrl-shift-T': 'unset!'

This could be changed to ctrl-alt-shift-t. Or set "open terminal" to alt-shift-t and add ctrl for project root?

Either of those could work fine, though personally I would prefer the latter option. Thanks for having a look at this!

+1


Update master with beta

docs: ✏ [Beta] Updated docs

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 7.7.0-beta.2 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Forget password

To Test:

pip install python-decouple
in the group_project1 directory create a file called .env
in .env add the information that I dm to you (on snapchat)
create a user with a valid email (Use your uni email)
logout
go to login page
Click forgot password?
enter the valid email for that user
you should receive an email from<EMAIL_ADDRESS>(check spam/junk)
click the link in the email
change the password to something different
try and login with the new password

Details:

added functionality to allow the user to change their password
User will be authenticated with email
created an gmail for the

 Implement functionality to email a user to change their password if they've forgotten it.


Add COEP:credentialless support

For #2.
You may want to update the version number and min.js too.

Thank you for this contribution :) My only request would be to just write out credentialless instead of credless, those <100 characters won't make the difference :)


AttributeError: 'DifferentialActionDataContactFwdDynamics' object has no attribute 'contacts'

Hi,
python bipedal_walk.py successfully runs.
When adding the display argument for visualization, the following error occurs:

File "bipedal_walk.py", line 72, in
ddp[i].solve(xs, us, 100, False, 0.1)
File "/opt/openrobots/lib/python3.6/site-packages/crocoddyl/init.py", line 158, in call
self.visualization.displayFromSolver(solver)
File "/opt/openrobots/lib/python3.6/site-packages/crocoddyl/init.py", line 91, in displayFromSolver
fs = self.getForceTrajectoryFromSolver(solver)
File "/opt/openrobots/lib/python3.6/site-packages/crocoddyl/init.py", line 121, in getForceTrajectoryFromSolver
for key, contact in data.differential.contacts.contacts.items():
AttributeError: 'DifferentialActionDataContactFwdDynamics' object has no attribute 'contacts'

Hi @julesser,
Thanks for showing interests in our software. Hopefully, you could contribute to our effort.
To display any example, you need to launch the gepetto-gui in another terminal.
For doing so, you can to:

install gepetto-viewer with osg-dae plugin (needed for robots with DAE meshes)
type the commant gepetto-gui

I will close this issue. Feel free to open or ask for more questions here!
Quick suggestion -- There are additional examples in the devel branch, soon we will make a new release to robotpkg.

Thanks for the quick following up.
As you suggested in #678 I already installed the gepetto viewer and successfully could display some examples, e.g. python3 double_pendulum.py display works fine.
Nevertheless  some examples fail with the display option, for example the bipedal_walk as mentioned above.
Any idea on how to properly handle the "contact" attribute error?

I am also getting the same error on biped_walk. ty

Are you running the gepetto viewer? The error message is due to it does not find it.
Additionally, a recent modification in example-robot-data triggers another error. Please update this package to v3.1.2..
New releases are going to appear soon.

I am running the gepetto viewer and have updated all packages to the newest version, i.e. the robot data to v3.1.2.
The 'contacts' error message still remains the same.

How did you install gepetto viewer? from robotpkg binaries?
If so, do you have ubuntu 16.04?
Are you having the same display problem in other examples?
I am asking all these questions because I believe gepetto-viewer from Ubuntu 16.04 binaries are not compatible (old version) to the display.

Hi cmastalli. Thanks for your time! I cannot seem to get the biped_walk to work. I have gepettogui running, when running biped_walk I for a second see the talos hips, then it flickers to only its foot(?), then crashes.

I am using python3.7 on Ubuntu19 on amd64
I installed via apt install robotpkg-py37-crocoddyl, robotpkg-py37-qt4-gepetto-viewer-corba, robotpkg-osg-dae
strangely, robotpkg-osg-dae is installed but gepettogui only lists OmniORB Server in plugins...I expected DAE plugin here. FindPlugins button doesnt find it and in fact "dpkg -L robotpkg-osg-dae" doesnt list any .so or python file...only a bunch of doc files and a few include ones. Only a pkgconfig file is installed in the /opt/openrobots/lib dir.
I did a pprint(vars(data.differential)) on the line 123 error in the output and it returns an empty {} .... there is no contacts.contacts.items() on the object.
The robotpkg-py37-crocoddyl package does not install the /examples files...so I am running the examples from a github checkout...tried both master and devel branches.

The entire output of bipedal_walk is:
guru@Kuba:~/src/crocoddyl/examples$ python3 bipedal_walk.py display plot
*** SOLVE walking ***
iter 	 cost 	      stop 	    grad 	  xreg 	      ureg 	 step 	 feas
   0  1.09774e+06  2.54565e+11  8.12082e+07  1.00000e-02  1.00000e-02   1.0000     1
   1  2.15012e+05  2.35119e+13  2.18849e+06  1.00000e-03  1.00000e-03   1.0000     1
   2  4.72918e+03  6.26126e+12  4.24250e+05  1.00000e-04  1.00000e-04   1.0000     1
   3  2.87295e+03  6.44189e+10  3.72378e+03  1.00000e-05  1.00000e-05   1.0000     1
{}
Traceback (most recent call last):
  File "bipedal_walk.py", line 73, in <module>
    ddp[i].solve(xs, us, 1000, False, 0.1)
  File "/opt/openrobots/lib/python3.7/site-packages/crocoddyl/__init__.py", line 160, in __call__
    self.visualization.displayFromSolver(solver)
  File "/opt/openrobots/lib/python3.7/site-packages/crocoddyl/__init__.py", line 92, in displayFromSolver
    fs = self.getForceTrajectoryFromSolver(solver)
  File "/opt/openrobots/lib/python3.7/site-packages/crocoddyl/__init__.py", line 123, in getForceTrajectoryFromSolver
    for key, contact in data.differential.contacts.contacts.items():
AttributeError: 'DifferentialActionDataContactFwdDynamics' object has no attribute 'contacts'

This is the output from the gepetto viewer. The code in bipedal_walk.py suggests that it loads the robot example file, is this correct? Or do I need to first load the talos robot in gepetto? Not sure why the iostream error, file not found maybe?
guru@Kuba:~/src/crocoddyl$ gepetto-gui
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
List of GroupNodes :
   crocoddyl
   gepetto-gui
   hpp-gui
BOX does not exist.: iostream error
BOX does not exist.: iostream error
CYLINDER does not exist.: iostream error
CYLINDER does not exist.: iostream error
CYLINDER does not exist.: iostream error
CYLINDER does not exist.: iostream error
BOX does not exist.: iostream error
Node "world/robot/collisions/leg_left_6_link_0" does not exist.
Node "world/robot/collisions/leg_right_6_link_0" does not exist.
Node "world/robot/collisions/wrist_left_ft_link_0" does not exist.
Node "world/robot/collisions/wrist_left_ft_tool_link_0" does not exist.
Node "world/robot/collisions/wrist_right_ft_link_0" does not exist.
Node "world/robot/collisions/wrist_right_ft_tool_link_0" does not exist.
Node "world/robot/collisions/rgbd_link_0" does not exist.
You must initialize a Geode on world/robot/visuals/base_link_0 to use Alpha
You must initialize a Geode on world/robot/visuals/leg_left_1_link_0 to use Alpha
You must initialize a Geode on world/robot/visuals/leg_left_2_link_0 to use Alpha
You must initialize a Geode on world/robot/visuals/leg_left_3_link_0 to use Alpha
You must initialize a Geode on world/robot/visuals/leg_left_4_link_0 to use Alpha
You must initialize a Geode on world/robot/visuals/leg_left_5_link_0 to use Alpha
You must initialize a Geode on world/robot/visuals/leg_left_6_link_0 to use Alpha
You must initialize a Geode on world/robot/visuals/leg_right_1_link_0 to use Alpha
You must initialize a Geode on world/robot/visuals/leg_right_2_link_0 to use Alpha
You must initialize a Geode on world/robot/visuals/leg_right_3_link_0 to use Alpha
You must initialize a Geode on world/robot/visuals/leg_right_4_link_0 to use Alpha
You must initialize a Geode on world/robot/visuals/leg_right_5_link_0 to use Alpha
You must initialize a Geode on world/robot/visuals/leg_right_6_link_0 to use Alpha

FYI  I compiled osg-dae from source and it does in fact create a so file. So it seems the robotpkg-osg-dae package is missing the target artifact. I was able to install the so file but gepetto gui doesnt like it. It finds it but says "unknown error" trying to load it.
osg-dae build steps (in git cloned osg-dae dir):
git submodule update --init
mkdir build && cd build
export PKG_CONFIG_PATH=/opt/openrobots/lib/pkgconfig
cmake -DCMAKE_INSTALL_PREFIX=/opt/openrobots  ..
make
sudo make install

I am using python3.6.9 on Ubuntu18.04

I installed via apt install robotpkg-py36-crocoddyl, robotpkg-py36-qt4-gepetto-viewer-corba

The following examples are displayed successfully:

python3 arm_manipulation.py display
python3 double_pendulum.py display
python3 quadrotor.py display
python3 quadrotor_ubound.py display

These one fail with the error message stated above:

python3 bipedal_walk.py display
python3 bipedal_walk_ubound.py display
python3 humanoid_manipulation.py display
python3 quadrupedal_gaits.py display
python3 quadrupedal_walk_ubound.py display

These show even other error messages without the display option:
python3 boxfddp_vs_boxddp.py

Traceback (most recent call last):
File "boxfddp_vs_boxddp.py", line 46, in
boxfddp = crocoddyl.SolverBoxFDDP(
AttributeError: module 'crocoddyl' has no attribute 'SolverBoxFDDP'

- python3 humanoid_manipulation_ubound.py
- python3 humanoid_taichi.py

File "humanoid_manipulation_ubound.py", line 126, in
ddp = crocoddyl.SolverBoxFDDP(problem)
AttributeError: module 'crocoddyl' has no attribute 'SolverBoxFDDP'

I think you guys might have an installation issue.
Probably it is related to Python version.
Please install again Crocoddyl and double check that you're using the right version of Python.
For instance, it could be that you install Crocoddyl using Python 2.

I've tried some modifications regarding the python version to use:

Reinstalled binaries for python3.6.9
(sudo apt install robotpkg-py36-crocoddyl, robotpkg-py36-qt4-gepetto-viewer-corba) and call example via python3 bipedal_walk.py display.
Completely removed robotpkg and installed binaries for python2.7.17
(sudo apt install robotpkg-py27-crocoddyl, robotpkg-py27-qt4-gepetto-viewer-corba) and call example via python bipedal_walk.py display.
Error message concerning  "no attribute contacts'' still appears.

The problem we didn't release this code yet. So you need:

to remove robotpkg-py36-crocoddyl
to install crocoddyl by source

In any case I am trying to make a new release of Crocoddyl. It could take around a week from now.

Ok, thanks for the effort put in. In order to get things running now, I

Removed robotpkg-py36-crocoddyl
Will install crocoddyl by source executing the following steps in the cloned crocoddyl dir

git submodule update --init
mkdir build && cd build
export PKG_CONFIG_PATH=/opt/openrobots/lib/pkgconfig
cmake -DCMAKE_INSTALL_PREFIX=/opt/openrobots  ..
make
sudo make install

The related question is:
How can I make shure to install it with the python 3.6 bindings?

Following the build process stated above for the latest devel branch of crocoddyl, the make command returns an error:
.....
-DOCTOMAP_MINOR_VERSION=9 -DOCTOMAP_PATCH_VERSION=0 -o CMakeFiles/crocoddyl.dir/multibody/actions/impulse-fwddyn.cpp.o -c /home//########/crocoddyl/src/multibody/actions/impulse-fwddyn.cpp
//########/crocoddyl/src/multibody/actions/impulse-fwddyn.cpp: In constructor ‘Eigen::internal::evaluator_base<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Transpose<Eigen::Block<Eigen::Matrix<double, 6, -1, 0, 6, -1>, 6, 1, true> >, 1, 6, true> >, const Eigen::Block<const Eigen::Matrix<double, 6, 6, 0, 6, 6>, 6, 1, true> > >::evaluator_base()’:
/home//########/crocoddyl/src/multibody/actions/impulse-fwddyn.cpp:184:1: internal compiler error: Segmentation fault
 }  // namespace crocoddyl
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
src/CMakeFiles/crocoddyl.dir/build.make:1409: recipe for target 'src/CMakeFiles/crocoddyl.dir/multibody/actions/impulse-fwddyn.cpp.o' failed
make[2]: *** [src/CMakeFiles/crocoddyl.dir/multibody/actions/impulse-fwddyn.cpp.o] Error 1
make[2]: Leaving directory '/home//########/crocoddyl/build'
CMakeFiles/Makefile2:2587: recipe for target 'src/CMakeFiles/crocoddyl.dir/all' failed
make[1]: *** [src/CMakeFiles/crocoddyl.dir/all] Error 2
make[1]: Leaving directory '/home//########/crocoddyl/build'
Makefile:143: recipe for target 'all' failed
make: *** [all] Error 2

How can I make shure to install it with the python 3.6 bindings instead of python 2.7?

You need to properly define the PYTHONPATH. The you need to run the right python interpreter each time that you call a script.

.....
-DOCTOMAP_MINOR_VERSION=9 -DOCTOMAP_PATCH_VERSION=0 -o CMakeFiles/crocoddyl.dir/multibody/actions/impulse-fwddyn.cpp.o -c /home//########/crocoddyl/src/multibody/actions/impulse-fwddyn.cpp
//########/crocoddyl/src/multibody/actions/impulse-fwddyn.cpp: In constructor ‘Eigen::internal::evaluator_base<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Transpose<Eigen::Block<Eigen::Matrix<double, 6, -1, 0, 6, -1>, 6, 1, true> >, 1, 6, true> >, const Eigen::Block<const Eigen::Matrix<double, 6, 6, 0, 6, 6>, 6, 1, true> > >::evaluator_base()’:
/home//########/crocoddyl/src/multibody/actions/impulse-fwddyn.cpp:184:1: internal compiler error: Segmentation fault
}  // namespace crocoddyl
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
src/CMakeFiles/crocoddyl.dir/build.make:1409: recipe for target 'src/CMakeFiles/crocoddyl.dir/multibody/actions/impulse-fwddyn.cpp.o' failed
make[2]: *** [src/CMakeFiles/crocoddyl.dir/multibody/actions/impulse-fwddyn.cpp.o] Error 1
make[2]: Leaving directory '/home//########/crocoddyl/build'
CMakeFiles/Makefile2:2587: recipe for target 'src/CMakeFiles/crocoddyl.dir/all' failed
make[1]: *** [src/CMakeFiles/crocoddyl.dir/all] Error 2
make[1]: Leaving directory '/home//########/crocoddyl/build'
Makefile:143: recipe for target 'all' failed
make: *** [all] Error 2

We are unit testing our code under your setup: Ubuntu 18.04. Do you install multiple versions of Eigen? Which version did you install?
@nim65s do you any idea what could be the possible sources of this compilation problem?

You need to properly define the PYTHONPATH. The you need to run the right python interpreter each time that you call a script.
Okay, if that's all there is to do I'm on the right track.

From the previous binary installation of robotpkg-py36-crocoddyl the following dependencies are still installed:

Additionally I can find  libeigen3-dev installed in version 3.3.4-4 (for the case that's relevant for you).

Could be that you are running out of RAM? Did you try to compile few times with a single thread (or less threads)?

@julesser did you solve your compilation issue?
If not, we have just released the binaries of v1.1.0 and contains all the modifications needed for running all examples and notebooks.

Sweet!!! :)  I can confirm the updated release packages (robotpkg/python37) run the Talos biped walking simulation!
FYI  I just read your whitepaper from last month on using HPP Loco3D + Crocoddyl to create a database memory of joint trajectories for warm starts....very interesting. I had a similar idea I called "shape memory" or kinesthetic memory that is much the same idea. I wasn't sure how I was going to tie the memory into the humanoid dynamics though....so good timing in my case! :)
I do get an error at the end, but completes about 7 leg cycles before doing so, so I am not worried about it.
Traceback (most recent call last):
  File "bipedal_walk.py", line 92, in <module>
    plotSolution(talos_legs.model, xs, us, figIndex=1, show=False)
TypeError: plotSolution() got multiple values for argument 'figIndex'

@cmastalli
Compiling the the most current sources (this morning) worked fine.
Displaying with bipedal walking of the Talos legs runs successful with the updated release packages (robotpkg/python36).
Thanks a lot for taking care and your great support :-)

Sweet!!! :) I can confirm the updated release packages (robotpkg/python37) run the Talos biped walking simulation!
FYI I just read your whitepaper from last month on using HPP Loco3D + Crocoddyl to create a database memory of joint trajectories for warm starts....very interesting. I had a similar idea I called "shape memory" or kinesthetic memory that is much the same idea. I wasn't sure how I was going to tie the memory into the humanoid dynamics though....so good timing in my case! :)
~I do get an error at the end, but completes about 7 leg cycles before doing so, so I am not worried about it.~ Disregard, call to plotSolution() changed and I didnt update my examples working directory to latest. doh

Crocoddyl is a core toolbox for our EU project called MEMMO (stands for Memory of Motion). For more details visit https://www.memmo-project.eu/.

Happy to know that the code works for both :)


Pynguin does not create test cases

Hello,
I tried to generate test cases for a private project. Unfortunately Pynguin was not able to create a working test case, but there were some failed test cases.
I tried all documented strategies but the situation did not really change. The functions in the module I used are a bit complex and the code is a mixture of functional and procedural code, there is no object oriented code.
Do you have an idea how I can create test cases with Pynguin? Do I have to change the code or are there known problems with code similar to that one I described? Can the problem be solved with changing the parameters for Pynguin?

Hi,
Thank you for your interest in Pynguin. From your description it is difficult to tell, what the exact issue is. Could you please elaborate a bit?
Best would be, if you could provide us access to your code (or some minimal working example showing the same behaviour, if sharing the original code was not possible). Furthermore, I'd be interested in the exact version and command-line parameters for Pynguin that you are using. This would allow me to try to reproduce the issue and give you a better answer.
Thank you in advance.
Best,
Stephan

Hi Stephan,
thank you for your reply. I will try to create some minimal example.
I used the current version on the main branch, i.e. commit number 2f9d72a. I used the provided Dockerfile with a small change, I added
RUN apt-get update && apt-get install --no-install-recommends -y \
    libgl1 \
    libgomp1 \
    libusb-1.0-0 \
    && rm -rf /var/lib/apt/lists/*

in line 40. These are requirements we need for some python packages used in this project.
The paramerters used were:
docker run --mount <many mount options> pynguin-container --algorithm WHOLE_SUITE --project_path /input --output_path /output --module_name <name of module> -v --budget 60

Where <many mount options> are for mounting the correct directories as described in the pynguin-docker.sh file. The algrithm used was changed, but none resulted in passing test cases. Also the budget was choosen to be higher, but I am not sure what is a good choice for this parameter.

Hi,
A minimal example (or if possible the original code) would be very helpful.
The command line and also the change to the Dockerfile seem reasonable, hence I assume it is related to the Python module.
Please note: the failing test cases are test cases that were generated by Pynguin, but that raised an exception during their execution. This might be, because Pynguin was not able to come up with correct input values for the functions in the code. In this case, we might need to extend Pynguin to support the generation of further inputs.
It might, however, also be possible that the exceptions were raised on purpose, i.e., the code raises some exceptions explicitly. In this case, unfortunately, Pynguin is not yet able to handle this correctly. We are working on ideas to analyse the code for such exceptions in order to provide reasonable assertions for them, i.e., wrap the code, e.g., by a with pytest.raises(...) block to explicitly check for that exception.
However, to give a proper answer, it would be great to have some source code to play around with.
Best,
Stephan

Hi Stephan,
I could create a minimal example that shows the behavior described above:
import numpy as np

def function(rows: int,
             cols: int,
             intrinsic: np.ndarray):
    xx, yy = np.meshgrid(np.arange(cols), np.arange(rows))
    c_x, c_y = intrinsic[0, 2], intrinsic[1, 2]
    f_x, f_y = intrinsic[0, 0], intrinsic[1, 1]

    I = np.zeros((rows, cols, 3), dtype=np.float32)  # noqa: E741
    I[:, :, 0] = (xx - c_x) * (1. / f_x)
    I[:, :, 1] = (yy - c_y) * (1. / f_y)
    I[:, :, 2] = 1.
    return I

There could be better input checking, for not getting exceptions from numpy functions and further calculations. But as I understood your explanation, Pynguin is currently not able to handle exceptions, I think this is the problem of the code I want to test.
Is it possible to give hints for Pynguin to choose only arguments, that are valid and do not raise exceptions? I have something in mind like restricting ints to positive values only.
I also saw tests for numpy.ndarray. This is not really important for the code we want to test, we assume that numpy is already tested. Can I exclude certain functions or modules from the test generation?
Best,
Jonas

Hi Jonas,
Sorry for the late reply, I finally managed to dig into this a bit.
First of all, thank you for the minimal example. I've now investigated on this using Pynguin v0.9.2, with the following command-line arguments (used a fresh virtual environment with Python 3.8, and latest numpy in it)
pynguin \
    --algorithm MOSA \
    --project-path . \
    --output-path /tmp/pynguin-results \
    --module-name numpy_github \
    --budget 60 \
    --seed 42 \
    --statistics-backend CONSOLE \
    --log-file /tmp/pynguin-results/log.txt -v

The first thing I noted is that—as you already mentioned—Pynguin generated only one failing test case, which looks like the following
# Automatically generated by Pynguin.
import numpy_github as module0

def test_case_0:
    try:
        var0 = -3169
        var1 = None
        var2 = module0.func(var0, var0, var1)
    except BaseException:
        pass

The generated log file tells me that Pynguin parses the function parameter's signature to (int, int, np.ndarray), which is correct. It then, however, struggles to figure out how to generate an np.ndarray instance. The underlying inspect library parses this class' constructor signature to something like (self, /, *args, **kwargs) with the types args: typing.List[typing.Any], kwargs: typing.Dict[str, typing.Any]. If I understand numpy correctly here (I am by far no expert with that library), it would be necessary to at least specify a shape to generate a valid ndarray object? Pynguin fails to do so, however, as it does not know about the shape parameter. This truly is something that should be solvable by improving the code parsing, which currently only relies on Python's inspect library.
Failing to generate a valid np.ndarray object causes an exception latest when the intrinsics variable is accessed in the second line of the function's body. For that case, as you have seen, the aforementioned test is exported.
Regarding your further questions:

Is it possible to give hints for Pynguin to choose only arguments, that are valid and do not raise exceptions? I have something in mind like restricting ints to positive values only.

Unfortunately no, at least not yet. This would, however, be a nice thing (similar to libraries like hypothesis allow to restrict values using its assume function. I put this on our feature list.

I also saw tests for numpy.ndarray. This is not really important for the code we want to test, we assume that numpy is already tested. Can I exclude certain functions or modules from the test generation?

I would be interested in a concrete generated test code snippet here. Pynguin should only generate tests for functions/classes/methods that are declared in the module under test. It, however, needs to generate imported object types, too, to fulfill the requirements of the code under test. Does this maybe come from trying to do that?
Anyway, this is another item for our to-do list (we've seen such a request before).
Overall, I need to admit that Pynguin has serious struggles with such a complex library as numpy as a dependency. We need to improve our tool here. Unfortunately, in the current state I see no easy way to make it work for your example.
Best,
Stephan

Hi Stephan,
thank you for your reply. This helps a lot to understand the problem. In my opinion it would really be great if Pynguin could create also test with complex libraries. Maybe it is possible to give hints for Pynguin how the constructor of classes like np.ndarray should be used?
As you asked for an example of a test case for np.ndarray, here is one:
import numpy as module0
import testing as module1

def test_case_0():
    try:
        var0 = module0.ndarray()
    except BaseException:
        pass

def test_case_1():
    try:
        var0 = None
        var1 = 5104
        var2 = [var0]
        var3 = module0.ndarray(*var2)
        assert var3 is not None
        var4 = module1.functionvar0, var1, var3)
    except BaseException:
        pass

This example was created with the following command line:
sudo docker run --mount type=bind,source="/home/scoobe3d/prog/python_polarization",target=/input,readonly --mount type=bind,source="/tmp/pynguin",target=/output -v /home/scoobe3d/prog/python_polarization:/package:ro pynguin:0.0.1 --algorithm MIO --project_path /input --output_path /output --module-name dmo_testing -v

Things like test_case_0 and the first part of test_case_1 occured some times, but I have the impression that this is also dependent on the algorithm used.
Thank you for your detailed explanation and the time for investigating this problem. I really like the Pynguin project, keep up the good work on it.
Best
Jonas

Hi Jonas,
Thank you for the code snippet. Without further investigation, I have an assumption for test_case_0: When Pynguin generates test cases it basically adds/remotes/mutates statements. Afterwards, it executes them. In this case, it starts the sequence of statements with the call to np.ndarray(); it omits any arguments since (as I elaborated previously) it assumes the arguments are *args and **kwargs, which could be omitted. Unfortunately, numpy does not allow this:
>>> import numpy as np
>>> np.ndarray()
Traceback (most recent call last):
  File "<input>", line 1, in <module>
TypeError: ndarray() missing required argument 'shape' (pos 1)

Hence, Pynguin sees an exception, truncates all possibly following statements from the test case, and yields the aformentioned test case to the output.

Things like test_case_0 and the first part of test_case_1 occured some times, but I have the impression that this is also dependent on the algorithm used.

Yes, both this and the used seed for the random-number generator. Here, test generation is a random process.

In my opinion it would really be great if Pynguin could create also test with complex libraries. Maybe it is possible to give hints for Pynguin how the constructor of classes like np.ndarray should be used?

I am currently working on such things, not directly targetting numpy, but providing a better inference and analysis of the code under test and its dependencies. This will, however, take its time. I try to remind myself of referencing this issue, when it's done :wink:
Best,
Stephan


Implement setting for a default monospace font

branch
unstable
Architecture
x86_64
Description
Default monospace font on Manjaro sway looks so bad. There is no other way to put this. This is because universal fonts like "dejavu mono" are not installed. This can be easily solved by using a config file to specify the particular font.
~/.config/fontconfig/fonts.conf

<fontconfig>
<match target="pattern">
  <test name="family" qual="any">
    <string>monospace</string>
  </test>
  <edit binding="strong" mode="prepend" name="family">
    <string>JetBrainsMono Nerd Font</string>
  </edit>
</match>
</fontconfig>

Reproduction steps
1. Grab the latest Manjaro sway image.
2. Open Firefox.
3. Go to any website that makes uses of the default monospace font, ex - any raw github file.

Screenshots
No response
Logs
No response

While I couldn't reproduce this on my day to day machine, I added this config as community/sway/etc/fonts/conf.d/51-monospace.conf.

This is now in manjaro-sway-settings-git - please report back!


Fix dead links

Describe the changes made in this pull request

Fix dead links that were caught in this CI run

Review checklist

[ ] Please check if the pull request is against the correct branch
(format/schema/semantic documentation changes: develop; typos, meta files, etc.: main)
[ ] Please check if all changes are recorded in CHANGELOG.md and adapt if necessary.
[ ] Please run tests locally.

cd $(mktemp -d --tmpdir cff.XXXXXX)
git clone https://github.com/citation-file-format/citation-file-format .
git checkout <branch>
python3 -m venv env
source env/bin/activate
pip install --upgrade pip wheel setuptools
pip install -r requirements.txt
pytest
<do other things>

[ ] <do other things>

Already fixed in main ☹.


Update sbt to 1.6.0

Updates org.scala-sbt:sbt from 1.3.13 to 1.6.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Applied Migrations

https://gist.githubusercontent.com/eed3si9n/57e83f5330592d968ce49f0d5030d4d5/raw/7f576f16a90e432baa49911c9a66204c354947bb/Sbt0_13BuildSyntax.scala

Documentation:

https://eed3si9n.com/syntactic-scalafix-rule-for-unified-slash-syntax

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

labels: library-update, semver-minor, scalafix-migrations

Superseded by #202.


No Philips HUE Devices yet?

Hi,
i got a Philips Hue White Wireless Dimming Kit and wanted to pair the Dimmer and the Lamp wit my zigbee stick.
But it seems it's not support by the homebrige-zigbee plugin yet.
First i tried it with the bulb.
This one i could pair.
Here the part of the zigbee.db - maybe you can add this one
//edit: see below - attached whole db now.
But for the Dimmer i couldn't even pair. Do you know how to do this?
Model should be a RWL021

Update - haven't seen the reset switch in the back of the Dimmer ;)
Now paired this one too.
Here my db:
zigbe.txt

I tried to add support for the bulb with:
philips.hue.dimmable_bulb.js:
`
const HomeKitDevice = require('../HomeKitDevice')
class PhilipsDimmableBulb extends HomeKitDevice {
static get description() {
return {
model: [
'Philips LWB010',
],
manufacturer: 'Philips',
name: 'Philips HUE',
}
}
getAvailbleServices() {
return [{
name: 'Bulb',
type: 'Lightbulb',
}]
}
onDeviceReady() {
this.mountServiceCharacteristic({
endpoint: 1,
cluster: 'genOnOff',
service: 'Bulb',
characteristic: 'On',
reportMinInt: 1,
reportMaxInt: 300,
reportChange: 1,
parser: 'onOff',
})
this.mountServiceCharacteristic({
endpoint: 1,
cluster: 'genLevelCtrl',
service: 'Bulb',
characteristic: 'Brightness',
reportMinInt: 1,
reportMaxInt: 300,
reportChange: 1,
parser: 'dim',
})
}
}
module.exports = PhilipsDimmableBulb
`
but i get:
2019-2-22 14:41:10] [ZigBee] Unable to initialize device 0x0017880104a52db8, try to remove it and add it again. [2019-2-22 14:41:10] [ZigBee] Reason: TypeError: Cannot read property 'report' of undefined     at ZigBeeDevice.subscribe (/usr/local/lib/node_modules/homebridge-zigbee/lib/ZigBeeDevice.js:38:32)     at PhilipsDimmableBulb.mountServiceCharacteristic (/usr/local/lib/node_modules/homebridge-zigbee/lib/HomeKitDevice.js:127:19)     at PhilipsDimmableBulb.onDeviceReady (/usr/local/lib/node_modules/homebridge-zigbee/lib/devices/philips.hue.dimmable_bulb.js:22:10)     at new HomeKitDevice (/usr/local/lib/node_modules/homebridge-zigbee/lib/HomeKitDevice.js:43:10)     at new PhilipsDimmableBulb (/usr/local/lib/node_modules/homebridge-zigbee/lib/devices/philips.hue.dimmable_bulb.js:3:1)     at ZigBeePlatform.initDevice (/usr/local/lib/node_modules/homebridge-zigbee/index.js:256:22)     at ZigBeePlatform.handleZigBeeDevIncoming (/usr/local/lib/node_modules/homebridge-zigbee/index.js:156:12)
Sorry, i'm no coder so i don't know what i'm doing ;)

Hello,
is any news about support for Hue Phillips bulbs?
Thank you

I created a new device (Philips LWB010) and it works fine with my HomeBrdige configuration:
Pull request:
https://github.com/itsmepetrov/homebridge-zigbee/pull/61


Track machines which are having jenkins connections issues

I've had reports of three of our test machines having issues today with an error similar to the following showing in the logs:
Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to test-softlayer-ubuntu1604-x64-1
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:955)
		at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:283)
		at com.sun.proxy.$Proxy79.withRepository(Unknown Source)
		at org.jenkinsci.plugins.gitclient.RemoteGitImpl.withRepository(RemoteGitImpl.java:235)
		at hudson.plugins.git.GitSCM.printCommitMessageToLog(GitSCM.java:1271)
		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1244)
		at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113)
		at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85)
		at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75)
		at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47)
		at hudson.security.ACL.impersonate(ACL.java:290)
		at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44)
		at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
java.lang.NoClassDefFoundError: hudson.model.Computer
	at org.jenkinsci.plugins.gitclient.AbstractGitAPIImpl.withRepository(AbstractGitAPIImpl.java:29)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.withRepository(CliGitAPIImpl.java:72)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:929)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:903)
	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:855)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
Caused: java.io.IOException: Remote call on test-softlayer-ubuntu1604-x64-1 failed
	at hudson.remoting.Channel.call(Channel.java:961)
	at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:283)
	at com.sun.proxy.$Proxy79.withRepository(Unknown Source)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl.withRepository(RemoteGitImpl.java:235)
	at hudson.plugins.git.GitSCM.printCommitMessageToLog(GitSCM.java:1271)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1244)
	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113)
	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85)
	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75)
	at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47)
	at hudson.security.ACL.impersonate(ACL.java:290)
	at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Finished: FAILURE

This has so far been reported on test-softlayer-ubuntu1604-x64-1 and test-marist-ubuntu1604-s390x-1 today. Both appear to have cleared with a disconnect / relaunch of the slave. Reason unclear at present (and is clearly not limited to any specific cloud provider) but keeping this issue around to track any more instances.
This had also happened previously test-osuosl-ppc64le-ubuntu-16-04-1 from June 7 to June 26.

Relaunching the test-marist-ubuntu1604-s390x-1 only works for one time. After test job running on this machine once issue came back.
build 37 the one after relaunch
build 38 the second one ran into same issue.

Are the tests doing anything that would interfere with the jenkins process on the machine (which is a java process running as the same user as the tests)?

Not sure about that. However tests haven't been changed recently and work good for a while. Any machine configuration changed? Like jenkins or plugin updates?

Update: I see this problem on test-softlayer-ubuntu1604-x64-1
(https://ci.adoptopenjdk.net/view/work in progress/job/Grinder/65/console)
But I do not see it on test-packet-ubuntu1604-x64-2
(https://ci.adoptopenjdk.net/view/work in progress/job/Grinder/66/console)
even if I run it a second time on the same machine
(https://ci.adoptopenjdk.net/view/work in progress/job/Grinder/67/console)
Is there a difference between the two machines that might provide clues?

I've bounced the jenkins agent on test-softlayer-ubuntu1604-x64-1 so we'll see if it recurs

Not seen any issues in this area recently, therefore closing to get this off the issues list


Running compute() on output from summarise_

The output from summarise() and summarise_() appears to be the same but I can't seem to compute()  to a temporary table using the underscored version.  I realise the underscored versions are superfluous so perhaps there is another way to achieve this?
spark_version <- "2.2.0"
sc <- spark_connect(master = "local", version = spark_version)

iris_spk <- copy_to(sc, iris, "spark_iris",
                       overwrite = TRUE)

pwdth_sum_nse <- iris_spk %>%
  summarise(sum(Petal_Width))

pwdth_sum_se <- iris_spk %>%
  summarise_('sum(Petal_Width)')

# This does compute
pwdth_sum_nse %>%
  compute()

# This doesn't compute
pwdth_sum_se %>%
  compute()
## Error in FUN(X[[i]], ...) : attempt to use zero-length variable name

Adding collapse() does seem to fix this I've just discovered:
pwdth_sum_se %>%
  collapse() %>%
  compute()


npm WARN cannot run in wd node-gyp

I am canot get node-gyp rebuild to run as an install step within the docker container:
npm install @corbinu/couchbase
gives the error
npm WARN cannot run in wd node-gyp<EMAIL_ADDRESS>node-gyp rebuild
Any ideas?

This is a npm issue npm/npm#3497 since the Docker image rubs as root by default.
You can either run the image as a non-root user or npm install --unsafe-perm.

OK so perhaps I should issue a pull request to here then to set the default .npmrc to have
unsafe-perm = true
Or would it be better to open an issue with npm?
Is it possible to configure NPM with an environment var? maybe issue a PR there that detect something like NPM_UNSAFE_PERM=true and then set that by default in the iojs and node docker containers?

Yes, setting this via environment variables would be the best. Not sure if we should do this by default since it introduces some security issues.
We want to investigate how to best run these images under a non-root user.


daphnelib: improve pyproject.toml and readme

extending docs
naming project to daphne-lib

Okay, the DaphneLib test cases also fail in other PRs, so this is probably unrelated to your changes (would have been surprising anyway). I will look into that problem separately.

Thanks @pdamme for the review.
I tried to incorporate all recommended changes.
To the optional changes:
It should not be a problem out of several reasons:

The unrelated daphne lib is a webserver (supposed usage as CLI) and probably not used together with daphne-lib
If both are used together in an installation, the imports are getting resolved correctly, there only can occur a problem if one does sth. like

import daphne

daphne.func()
v = daphne.MyClass()

but it anyway is the proposed (and only possible atm.) method to make full imports
from daphne.... import MyClass

we can never assure that there is no name collision with another PyPI project, there could be a project named 'Foobarzumsing' which provides a Python package called 'daphnelib'


Update to shipping Swift 3 (Xcode 8 GM)

Gave a try migrating in Xcode 8, got lost in Any/AnyObject hell..
Happy to assist in doing the final migration.

does the swift 3 branch not work?  am not able to test myself yet . . .

confirmed it does not compile.

Yeah, Swift got a pretty substantial update as part of Beta 6 & GM - which includes a major change to how Any and AnyObject works, which is the reason Wrap won't compile. I'm going to fix this during the upcoming weekend, if no one else beats me to it :)

@JohnSundell I'm happy to assist. Did a stab at it, but still have at least 7 tests always failing, so I ran out of ideas

See PR #16

when would the swift3 branch work?

Hey everyone. Sorry for the wait, but I'm pleased to let you know that the swift3 branch is now fully working again on the relase version of Xcode 8 🎉 Thanks a lot for all your input (especially @andreyz for your reference implementation!) Will soon make master use Swift 3 and make a release.

Awesome!

Also, here's the proposed changes for Wrap 2.0, which will bring Swift 3 to master: https://github.com/JohnSundell/Wrap/pull/17 Would love some feedback 😄


Add an Info page

..or something, but a big page that has details about

[ ] Venue, including it's location, ADA stuff (elevator and headsets for hearing impaired)
[ ] How To Get Here:

[ ] Where to Park
[ ] Bus lines that get you to the venue, and a link to the "How To Ride Transit" videos
[ ] SeaTac airport, how to ride the train?

[ ] nearest 3 hotels (Silver Cloud... downtown? meh.. I don't know! :D something on a busline?)
[ ] map of Venue and our 5 favorite coffee shops
[ ] same, but with 8 good places to eat of various cuisines and price points
[ ] anything else I'm forgetting that is good to know

Note that I'm happy to write the copy here, if people create the page itself.

@kerrizor I'll start working on this!


Bounding box not taking transformation hierarchy for rr.Pinhole correctly into account

Describe the bug
It seems like the current 3D bounding box is not properly taking a pinhole's transform hierarchy into account.
If the camera is at the origin of its parent frame, the global origin will always be part of the bounding box. However, the transformed origin is also taken into account.
When there's both a parent transform and a child transform the bounding box calculation seems completely incorrect.
To Reproduce
import numpy as np
import rerun as rr

rr.init("bounding_box", spawn=True)
rr.log("parent", rr.Transform3D(translation=[5.0, 5.0, 5.0]))
rr.log("parent/camera", rr.Pinhole(width=640, height=480, focal_length=320))
# rr.log("parent/camera", rr.Transform3D(translation=[1.0,1.0,1.0]))  # this will affect the bounding box, but not in the correct way
# rr.log("parent/points", rr.Points3D(np.random.rand(10, 3)))  # uncomment to avoid collapsing bounding box (not needed with the current behavior)

Screenshots
Camera at global origin, no transforms at all -> collapsing bounding box (I assume this is the correct behavior)

Camera at local origin (bounding box seems to align with frustum origin + world origin)

Camera additionally locally transformed (bounding box changes but completely incorrectly (now the frustum is completely outside)

Expected Behavior
Not entirely sure what the consensus is about frustum being part or not part of the bounding box. But at least the origin should properly be taken into account. I guess in that case, for all the above cases the bounding box should collapse. When also logging the points in the above example, the bounding box should include the pinhole origin and the points.
Desktop:

OS: Ubuntu 20.04

Rerun version
rerun_py 0.12.0-alpha.1+dev [rustc 1.74.0 (79e9716c9 2023-11-13), LLVM 17.0.4] x86_64-unknown-linux-gnu

Let's test if this is a new or existing bug (if new we should fix it before 0.12)


[BEAM-9301] Checkout the hash of master instead of the branch in beam linkage checker script

R: @suztomo

Updated and this time tested ;). Can you PTAL @suztomo


Custom tax from ACF not displaying

Here is the info on my WP setup. I have a custom post type "Testimonials" with an custom taxonomy "testimonial_category" applying to that post type in ACF. I also have a testimonial block field group that has a loop argument type configured so that I can have the block to display testimonials by count, by individual testimonial posts, or by testimonial category on specific pages. The count and indivudual post works as intended, but the post by category does not work. I have also tried to display the category using the basic ACF example, but still nothing appears so it tells me the custom taxonomy isn't getting picked up for some reason.
Testimonial block attached.
testimonial-block.txt

Also here is my acf export
acf-export-2023-12-07.json

Do you see the taxonomy in wp-admin? If so, then this is really not air-light related issue, but rather something wrong in our query. We do not provide support for ACF, so please contact ACF Support or post to Stack Overflow.


Install as plugin

About the changes
Deleted the FlagProvider component and instead added option to install as a vue plugin. All the logic from the component is copied to the plugin.
Things that changed:

all provides are now scoped to the app using app.provide instead of provide imported from vue
onMounted is deleted, and client starts on plugin install - not sure if that would be a problem

Closes #11

Important files

plugin.ts
Discussion points

Is it a problem if client.start is called on plugin install?

Hi @vojvodics, thank you for the PR!
I'm still unsure if we really need this, as mentioned in https://github.com/Unleash/proxy-client-vue/issues/11#issuecomment-1326457972, but assuming we want to add this, I think it would be important to not make it a breaking change, at least for now. I also think we should try to keep proxy-client-vue consistent with the other proxy-client-* SDK implementations if possible.
I would feel more comfortable with this if it's just an extra optional way of using the SDK, instead of breaking the existing one. If we go ahead with this, what do you think about keeping the original FlagProvider way (at least for now) and updating the README accordingly with both paths and examples?

@nunogois I'll update it so it won't be a breaking change.  Would you like me to refactor the code and reuse it in both the plugin and FlagProvider or are you OK with duplicated code?

I'll update README and examples as well

@nunogois I'll update it so it won't be a breaking change. Would you like me to refactor the code and reuse it in both the plugin and FlagProvider or are you OK with duplicated code?

If you think it's possible to reuse the same code for both that would be perfect, otherwise we can have some duplicate code for now.

I'll update README and examples as well

That would be amazing 👍
Thank you for understanding!

@nunogois I updated the PR. LMK if I need to fix anything else

Thanks @vojvodics !
I checked out your fork to try it out but faced an issue building:

Seems related to: https://github.com/vuejs/core/issues/4294
However it worked if I used https://github.com/wheatjs/vite-plugin-vue-type-imports
But then when trying to use the plugin in my main.ts I get this type error:

How did you overcome this locally?
Other than that this PR seems super promising and I'm hoping we can get it merged soon!

@nunogois Added types and fix build. Can you check it out now?

@nunogois Thanks, updated. Sorry for the messy code and failing build - and thanks for noticing it and reviewing thoroughly!
I installed this on the reproduction example you provided and had no problem with the types. Which version of vue did you use? Is it a peer dependency issue?

@nunogois Thanks, updated. Sorry for the messy code and failing build - and thanks for noticing it and reviewing thoroughly!
I installed this on the reproduction example you provided and had no problem with the types. Which version of vue did you use? Is it a peer dependency issue?

No worries!
It might also have been because I was testing locally as a linked dependency.
Let's merge this for now and I'll do some more tests on my side.
Thank you for your contribution!


Harbinger upgrade scrolls and details in uber frag

Added the harbinger upgrade scrolls to the stackable currency
Detailed more into the uber fragments with which is which (top left top right etc)

There have been merge conflicts, can you review the content to resolve them?


fix and upgrade api ws

Fix DATA RACE ws client sender method and ws public UOrderBook method. Upgrade OrderBook struct - added Action field.

Hi, @amir-the-h! Please see my pull requests)

I reopened the PR but still need time to check all of them and approve them. Thanks for your contribution. This weekend will be the date.


New Feature: r-packages

Close #119

Quick idea: pkgSysReqs option to set PKG_SYSREQS=true?

Cent OS 7 is not supported by pak::pkg_system_requirements()???
https://github.com/rocker-org/devcontainer-features/actions/runs/3820268802/jobs/6498460175#step:4:5438

Cent OS 7 is not supported by pak::pkg_system_requirements()???
https://github.com/rocker-org/devcontainer-features/actions/runs/3820268802/jobs/6498460175#step:4:5438

It seems API error.
> pkg_system_requirements("curl")
Error:
! error in pak subprocess
Caused by error in `curl::curl_fetch_memory(req_url)`:
! error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
Type .Last.error to see the more details.

The devcontainer CLI with fixed devcontainers/cli#347 seems be unreleased, but for some reason the test passed, so I'm merging it in for now.


error with missing attachment

When a named attachment does not exist (by user error or because that file is conditionally generated), this filter produces an error.
An example document:
---
title: bogus attachment
published-title: produced
format: html
filters:
  - rich-iannone/quarto-email
attachments:
  - data.csv
---

::: {.email}
:::

When rendered, the following error is produced:
Error running filter /Applications/RStudio.app/Contents/Resources/app/quarto/share/filters/main.lua:
...t/_extensions/rich-iannone/quarto-email/quarto-email.lua:272: attempt to index a nil value
stack traceback:
	...t/_extensions/rich-iannone/quarto-email/quarto-email.lua:283: in function <...t/_extensions/rich-iannone/quarto-email/quarto-email.lua:281>
	[C]: in ?
	[C]: in method 'walk'
	...app/Contents/Resources/app/quarto/share/filters/main.lua:171: in function 'run_emulated_filter'
	...app/Contents/Resources/app/quarto/share/filters/main.lua:449: in local 'callback'
	[string "..."]:1789: in field 'withScriptFile'
	...app/Contents/Resources/app/quarto/share/filters/main.lua:452: in upvalue 'run_emulated_filter_chain'
	...app/Contents/Resources/app/quarto/share/filters/main.lua:495: in function <...app/Contents/Resources/app/quarto/share/filters/main.lua:476>
stack traceback:
	...app/Contents/Resources/app/quarto/share/filters/main.lua:171: in function 'run_emulated_filter'
	...app/Contents/Resources/app/quarto/share/filters/main.lua:449: in local 'callback'
	[string "..."]:1789: in field 'withScriptFile'
	...app/Contents/Resources/app/quarto/share/filters/main.lua:452: in upvalue 'run_emulated_filter_chain'
	...app/Contents/Resources/app/quarto/share/filters/main.lua:495: in function <...app/Contents/Resources/app/quarto/share/filters/main.lua:476>

Using Quarto 1.3.433 (distributed with recent RStudio daily builds, but shows errors both inside and outside RStudio).

This is fixed in https://github.com/rich-iannone/quarto-email/commit/41da8d5bc858e66d4e19248e15d53c4f8c4a3b9b, where all declared attachment paths are filtered (checking for existence before writing an internal Lua table). There is additional safeguarding when copying files to the project dir (again, checking for file existence).
After the change, the Quarto error is no longer present and the example document renders correctly on Connect (main document and email sent to myself). Other documents (with correctly declared attachments) rendered fine as well.


Use runtime-deps:2.1 for V2 images to get latest os updates

updated runtime-deps:2.2 image is no longer available.

cc @anirudhgarg .  I thought we had agreed not to move to 2.1 until we have a meeting to discuss this. This change also conflicts with my PR for dotnet runtime. I have reverted it in master.

Thanks for reviewing @ahmelsayed. Started an email thread to make sure everyone is on the same page.
It is okay to revert this commit for now but my understanding is it shouldn't impact anything. Lets discuss on the email thread. Thanks


Make Number Guessing Game

The computer generates a random number, and the player tries to guess it with hints provided.

I can work on this . Please assign me .

Hello @sumanth-0! I would like to be assigned this.

Create number-guessing.py #43 . Check please .


Paginate rewards list

A follow up from: https://github.com/vegaprotocol/token-frontend/issues/619
The API doesn't currently support pagination so we are awaiting that.
Date node ticket to update rewards queries: https://github.com/vegaprotocol/data-node/issues/215

Added to 🤠 milestone... we may want to extend the scope to all API queries when the data-node team implement pagination


How to configure multi shop with sub domains

I'm in a homestead environment, please can you explain how to change the default routing of multi shop from
/site-name/profile to
Site.domain.com/profile
Tried but didnt work

Please read: https://aimeos.org/docs/latest/laravel/customize/#adapt-the-routing

I tried this but all the routes no longer worked except admin routes
If I decide to use  the sub domain method, it doesnt work except.
It all just redirects me to the default homepage

Please post your route configuration from ./config/shop.php


fix(auth): check if the user is disabled on checkRevoked=true for verifyIdToken and verifySessionCookie

When verifyIdToken or verifySessionCookie is called with checkResolved set to true we also check if the user is disabled. If so, a FirebaseAuthException with the new AuthErrorCode USER_DISABLED is thrown.

@egilmorez PTAL the javadoc updates in AbstractFirebaseAuth and AuthErrorCode.


Bug: conversion calculator incorrectly converting the values

Describe the bug
There are multiple bugs on page https://wdt.adambashaahmednaji.com/customizer/conversionCalculator.
Bug 1
The button name at the top left is Web Dev Tool Button customizer instead of Web Dev Tool Conversion Calculator.
Bug 2

Setup the original two buttons chosen are both cm.
Change the second button to km.
Bug: no on change event is being triggered and first gets triggered when changing the value.
Possible Fix: create an on change event on the dropdown button.

Bug 3

Setup the original two buttons chosen are both cm.
Change the second button to km.
Increase the value of the first input field by one.
Bug: the input value over the second button is only correct when rounding.
Possible Fix: add more float precision dependent on the conversion choice.

Bug 4

Setup the original two buttons chosen are both cm.
Change the second button to km.
Increase the value of the first input field by one.
Change the second button back to cm.
Bug: input value over the second button changes, though to the wrong value.

Bug 5

Setup the original two buttons chosen are both cm.
Change the second button to km.
Increase the value of the first input field by one.
Change the second button back to cm.
Increase the value of the first input field by one.
Bug: the two values should be equal, though they differ by one.

Bug 6

Setup the original two buttons chosen are both cm.
Enter any number into the first input and confirm with ENTER key.
Bug: no update is shown in the second input.

Desktop (please complete the following information):

OS: Fedora 40
Browser: Firefox
Version: 128.0

Additional context
There are multiple bugs on this page and can be easily be resolved in one sweep by adding multiple event handlers.

Would you like to work on this?

@Bashamega not particularly, though can continue doing QA (quality assurance). From the brief look over the repo, there are lots that can be improved upon.


TypeError: Cannot read properties of undefined (reading 'call')

Using
@module-federation/nextjs-mf: 7.0.8
@module-federation/utilities: 2.0.4
next: 13.4.19
webpack: 5.86.0
typescript: 5.0.3
I created the remote-delegate file exactly the same as sample example in the readme file. When I run in a federated page facing the error

I'm using importDelegatedModule  and createDelegatedModule from  module-federation/utilities
If I do not use a remote-delegate file and add remotes as literal string it works just the first federated page, when I navigate to another I get the error
container initialization failed as it has already been initialized with a different share scope

#1268 will resolve all of this. Trying to get a new prerelesse out on "next" tag on npm