Update PASS UI based on Branding review feedback

Change to use JH enterprise logo
Change heading font to Quodan
Remove "Johns Hopkins University" from the header image
Change "Public Access Submission System" on the top banner to "PASS" using Quodan font.

These should cover the above requests:

Merged already: https://github.com/OA-PASS/pass-ember/pull/207
awaiting to be merged: https://github.com/OA-PASS/pass-ember/pull/210

@Rytiggy could you use one of the logo files here for the CDC logo? https://commons.wikimedia.org/wiki/File:US_CDC_logo.svg

What are you thoughts on the JHU logo, Im thinking we should find one with more substance?

@Rytiggy just now see your message. I dont get notifications!!! i'll have to figur eout how to get notifications. anyways, let me see aboue a different logo i think there's a few styles. I'll get back to you.

@htpvu  test

look good.


Move cyclonedx java library dependencies to 7.3.2 dep versions

Bump the cyclone DX core java library dependencies to 7.3.2 and associated dependency versions.

Fixes https://github.com/adoptium/temurin-build/issues/3274
(Interestingly that didn't link to the issue properly when I added it in the review comment)


Update catch.hpp for Apple Silicon

Fixes #320

Is there a chance to get this backported to the official Catch1 version?

Is there a chance to get this backported to the official Catch1 version?

@joto I have no idea, it looks like they haven't had a commit in more than a year on that branch

@joto I have no idea, it looks like they haven't had a commit in more than a year on that branch

@fxcoudert Can you try? I really don't like adding patches likes this to software I don't own, because it will always come back to bite us later. (We really should switch to Catch2, but there is still an unresolved problem with it.

@fxcoudert Can you try? I really don't like adding patches likes this to software I don't own, because it will always come back to bite us later. (We really should switch to Catch2, but there is still an unresolved problem with it.

https://github.com/catchorg/Catch2/pull/2151

https://github.com/catchorg/Catch2/pull/2151

Now that this is merged upstream I merge it here. Thanks @fxcoudert !

Now that this is merged upstream I merge it here. Thanks @fxcoudert !


spec v0.6

update state state transition logic to 0.6
remove stale stateTransitionHelpers, add new ones
move stateTransitionHelpers megafile into stateTransition/util/* files
reorganize stateTransitionHelpers tests
move src/helpers to src/util

add utils from stateTransitionHelpers

lint --fix

FYI -- Still reviewing!

LGTM Let's just break things from here


docker export <image_id>

To my understanding, to export an image via docker export one has to spin up a (possibly dummy) container off the image to export.
Not a big deal, but it would be nice (and would make a lot of sense IMO) to be able to docker export <image_id>.

You're looking for docker save


feat: integrate indexer resolution

ok, I've run locally, seems to not explode. Best content to experiment with seems to be stuff coming from dag.house, like the example CID: bafybeigvgzoolc3drupxhlevdp2ugqcrbcsqfmcek2zxiw5wctk3xjpjwy
With that said, it's quite hard to know when the indexer is in fact returning usable providers. Would love to get this instrumented in a follow-up PR.

merged with #476


Fix resizing bugs for HelpCommandBox

Codecov Report

Merging #85 (ce23552) into master (29974fe) will increase coverage by 3.71%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master      #85      +/-   ##
============================================
+ Coverage     44.40%   48.11%   +3.71%
- Complexity      437      469      +32
============================================
  Files           115      116       +1
  Lines          2270     2313      +43
  Branches        235      243       +8
============================================
+ Hits           1008     1113     +105
+ Misses         1208     1135      -73
- Partials         54       65      +11

Impacted Files
Coverage Δ

src/main/java/seedu/address/ui/HelpCommandBox.java
0.00% <0.00%> (ø)

...u/address/storage/JsonSerializableAddressBook.java
88.88% <0.00%> (-3.71%)
:arrow_down:

...ava/seedu/address/storage/JsonAdaptedTutorial.java
50.00% <0.00%> (ø)

src/main/java/seedu/address/model/AddressBook.java
64.51% <0.00%> (+6.45%)
:arrow_up:

...edu/address/model/tutorial/UniqueTutorialList.java
36.53% <0.00%> (+13.46%)
:arrow_up:

...in/java/seedu/address/model/tutorial/Tutorial.java
30.00% <0.00%> (+30.00%)
:arrow_up:

...rc/main/java/seedu/address/model/tutorial/Day.java
33.33% <0.00%> (+33.33%)
:arrow_up:

...du/address/model/assessment/AssessmentResults.java
47.05% <0.00%> (+47.05%)
:arrow_up:

...ddress/model/assessment/AssessmentResultsList.java
57.89% <0.00%> (+57.89%)
:arrow_up:

...c/main/java/seedu/address/model/tutorial/Time.java
60.00% <0.00%> (+60.00%)
:arrow_up:

... and 3 more

Continue to review full report at Codecov.

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


Zoom very large when call fitToCoordinates - how to manipulate it

Is this a bug report?
No
Have you read the Installation Instructions?
Yes
Environment
react-native: 0.52.1
react-native-maps: 0.20.1
Target Platform: IOS, Android
Steps to Reproduce

(Write your steps here:)

Call fitToCoordinates with edge padding
Map zoom is very zoomed

Expected Behavior
I need to call fitToCoordinates as I need to set edgePadding.
I have view that cover part of the map and when move items in that view I change region on map.
But that region should always be above overlay view.
This is why I used fitToCoordinates.
But zoom is too close I want to zoom out a bit after setting fitToCoordinates.
this.map.fitToCoordinates([{latitude: obj.latitude, longitude: obj.longitude}], {
    edgePadding: { top: 50, right: 50, bottom: 120, left: 50 },
    animated: true
  });

Actual Behavior
fitToCoordinates position map correctly but I don't know if there is anything I can do to zoom out a bit after this.

Try with animateToRegion
Also closing the issue for not respecting the template

@rborn I can't use animateToRegion as I need to set edgePadding. I have overlay items over the map fitToCoordinates is only method that allow me to set map view to are of map I need.

@rborn can you please reopen issue I update to template?

@rborn should I open new qustion or this can be reopened?

I see you opened a new one https://github.com/react-community/react-native-maps/issues/2384 so well keep that closed, right?

Yes i created new. Sorry there was no feedback and I am still trying to make this work. So I need some help. And sorry for template.

I faced the same issue on 0.30.2


Add Hardhats to Station Engineer Loadouts

Adds the orange, red, and blue hardhats to the Station Engineer loadout.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

You should probably remove the blue hardhat, engineers aren't blue and (though this will sound silly) it takes away from the uniqueness the item would otherwise have. Not everything needs to be in a loadout.


Lab 03: Use Container Names

If we use a container name in lab03, we can eliminate the note about the different container ID for the user, making all the commands we run copy/paste-able. This will be a better experience for the learner, and we can still include a note about referring to containers by name or ID.

If we do this, we also need to remove/change some of the notes about container names from lab 04.


Prepare command to support installation of managed packages which has keys

Orchestrator:prepare currently doesn't provide an option to install any dependent managed packages that have keys. The underlying command sfpowerkit package dependencies install  does allow support of keys.
The plugin section of sfdx-project.json should be used to specify the keys for packages that are matched by alias.

Already implemented

Reopening this, as the keys has to move into sfdx-project.json inside plugins. The current implementation of key passed through command line is not sufficient as it also need to be used for validate as well.

The idea of having keys in the sfdx-project.json was overturned due to security implications.


If on click loop true

Hey, i've made a drumpad site, now i made a button with id looping, i want when the user clicking on the sound button "Onclick only" the sound looping for infinity
this my javascript code :
    $(document).ready(function(){

    $("#looping").on("click", function(){

    ion.sound({loop: true});
    });

HTML : <button type="button" id="looping">►Looping</button>

How can i make this work ?

Hello, you should name sound you want to play and loop. Like this:
ion.sound.play("name", {loop: true});

Actually i want make this effect to all songs how should i do that ?.

What about i give a alias to all sounds and i called by the code above ? should work right ?

You can try to call play without name. It should play all sounds with given config.

Try like this: ion.sound.play({...}); without name. It should play all.

Where is the loop:true ?

This the loop true it's a option for the user, this what i want

ion.sound.play("name", {loop: true}); // play exact sound with loop enabled
ion.sound.play({loop: true}); // play all sounds with loop enabled
You may also preset loop to true at start by passing it to general config.

I haved add this code
ion.sound.play({loop:true});
But this does not made any change.

What about
Ealse
Loop:false ?

Please describe app logic one more time

It's a Drumpad
Like drumpad24 on ios
But my own is on web.

More information about logic. What are the buttons what they should do?

I made 2 button one for looping all time and one for looping 2 time

And what does this buttons do? Set loop to true and play some sound?

Exact.
Demo link : http://kl3ps0.esy.es/projects/drumpad/v2/index.html

// General config
ion.sound({
    sounds: [
        {
            name: "bass_sample"
        }
    ],
    volume: 1,
    path: "sounds/",
    preload: true
});

ion.sound.play("bass_sample", {loop: true}); // on button 1
ion.sound.play("bass_sample", {loop: 2}); // on button 2

Should i adding it by onclick in the html button ?

Yes, i think all other code you should right by youself)

Ok i will try

It's not working!

Hi, please provide simplified online demo. I will check.

http://Kl3ps0.esy.es/projects/drumpad/v2/
There problem with idm on chrome
But work on Firefox
ONLY QWER is work for this time it's just a demo.

I will check this on weekend.


As the Designer, I want to use an external configuration so that I can use alternative configurations.

Initial task list.

[x] Define bootstrap.yaml

[x] Symbolic links
[x] Repositories
[x] Program installations

[x] src/Traap/Datatypes.hs Parse yaml

[x] toSymlinks
[x] toRepos
[x] toInstallations

[x] src/Traap/Workflow Refactor to use DataTypes
[x] Test

[x] Install.sh
[x] Haskell bootstrap

[x] with NOOP
[x] w/o NOOP
[x] with INSTALL Action

[x] Vim

[x] Linux

[x] python
[x] Build Vim 8.x from source.

[x] Tmux

[x] Install
[x] Plugins Install

[x] bash-completions
[x] magicmonty/bash-git-prompt
[x] Allow user to specify the boostrap.yaml file name.

Git-commit eb81982 completed this task.


fixed swapping of elements.

This took me some time to find and fix. Your swapping function does not swap, but just writes data[i] to both data[i] and data[j]. Can you make sure it gets updated in the arduino library which is found when looking for "median" in the arduino IDE? Is that automatically taken from github?

Done. I made a new release v1.1.0 with this fix. Thanks!

Hi! I used my own (fixed) copy of the library up to now, but I realized that the library manager of the arduino IDE still ships the broken version 1.0. How are the libraries in the arduino IDE updated? This should be done, otherwise noone using the librarymanager and not github directly (which probably is everyone) will not have a working version. If there is anything I can do, let me know.


Ensure exit code is within valid range

The exitHandler function now properly validates the exit code provided in the query string. It checks for conversion errors and ensures the code is within the valid range of 0 to 125. If the validation fails, it responds with an HTTP 400 Bad Request error. This prevents potential misuse of the exit endpoint by restricting the exit codes to expected values.

Thanks!


error handling in router steps

Can you explain or provide and example how error handling in router steps works? I have a class that implements InvokableRoute and can't tell any difference between returning a response with and without the ErrorTuple.
Snippet 1:
@Override
public RouteResponse executeRoute()  {
    ErrorTuple et = new ErrorTuple();
    et.....
    new RouteResponse(UnitResponseType.OK_PROCEED, outBranch, "", et);
}

Snippet 2:
@Override
public RouteResponse executeRoute()  {
    new RouteResponse(UnitResponseType.OK_PROCEED, outBranch, "");
}

Are you setting the workbasket when you ERROR_PEND? If you return ERROR_PEND, Flowret looks for the workbasket to pend the case in. I think if you do not specify a workbasket in the response, it will pend into an empty workbasket. So when you say the process sleeps, it is actually pended in a workbasket. Hope this clarifies. I would also encourage you to read the documentation where I have described all this. Do let me know if something is deficient and I can fill in the gaps.


Included VMware Mangle, JBoss Byteman as Notable tools

Included VMware Mangle, JBoss Byteman as Notable tools

Thanks for the contribution!


Notarization failing

Getting this:
  Bundling Spark.app (/Users/runner/work/spark-offline/spark-offline/src-tauri/target/release/bundle/macos/Spark.app)
     Signing with identity "***"
        Info setup keychain from environment variables...
        Info Signing app bundle...
     Signing /Users/runner/work/spark-offline/spark-offline/src-tauri/target/release/bundle/macos/Spark.app/Contents/MacOS/Spark
     Signing /Users/runner/work/spark-offline/spark-offline/src-tauri/target/release/bundle/macos/Spark.app
     Signing with identity "***"
        Info setup keychain from environment variables...
        Info Signing app bundle...
     Signing /var/folders/n2/pt_35rc53tdgkld9531s2tfh0000gn/T/.tmp58gk3e/Spark.zip
  Notarizing /Users/runner/work/spark-offline/spark-offline/src-tauri/target/release/bundle/macos/Spark.app
       Error failed to bundle project: failed to upload app to Apple's notarization servers.

Workflow file looks like this:
      - name: Build the app
        uses: tauri-apps/tauri-action@v0

        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
          APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
          APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
          APPLE_ID: ${{ secrets.APPLE_ID }}
          APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
          APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
        with:
          ...

I've checked to see if there are any new agreements I need to sign
I've updated my secrets in case I got the wrong values

The error message is too generic so I don't even know where to go.
Is it possible the the signing is wrong or would the error be different?

Getting
     Running [tauri_bundler::bundle::common] Command `xcrun  notarytool submit /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/.tmpZsh8Hk/Spark.zip --wait --output-format json --apple-id *** --password *** --team-id ***`
Error: HTTP status code: 401. Unable to authenticate. Invalid session. Ensure that all authentication arguments are correct.
       Error [tauri_cli_node] failed to bundle project: failed to upload app to Apple's notarization servers.

I've tried to run this locally but it still fails. I'm going to try the APPLE_API_KEY_PATH method but I'm a little confused about where to put the file with the key. What is this path relative to? Am I supposed to include the file in my repo? I don't much like the sound of that.

I'm going to close this as I managed to get it working with the API instead. I really don't know whey the other method didn't work though.

@RossLote Did you use APPLE_API_KEY_PATH? How did you make a file containing the key available in CI? Thanks!

@kieranm I added this before the build step:
  - name: Create .p8 file
    run: |
      mkdir -p ~/.appstoreconnect/private_keys
      echo "${{ secrets.APPLE_API_KEY_CONTENT }}" > ~/.appstoreconnect/private_keys/AuthKey_${{ secrets.APPLE_API_KEY }}.p8

The file location is the default path so I don't need to set it.


Unable to extract uploader id

Checklist

[ ] I'm reporting a broken site support issue  *** I don't know what this means
[ x] I've verified that I'm running youtube-dl version 2021.12.17
[ x] I've checked that all provided URLs are alive and playable in a browser
[ x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ x] I've searched the bugtracker for similar bug reports including closed ones
[ x] I've read bugs section in FAQ

Verbose log

C:\Users\Richard\F>"youtube-dl (inc Python).exe" https://www.youtube.com/playlist?list=PL-99frSsa2uhj4jxiogC_x3XSwWvlobYn --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/playlist?list=PL-99frSsa2uhj4jxiogC_x3XSwWvlobYn', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.22621
[debug] exe versions: none
[debug] Proxy map: {}
[youtube:tab] PL-99frSsa2uhj4jxiogC_x3XSwWvlobYn: Downloading webpage
[download] Downloading playlist: Alphalive
[youtube:tab] playlist Alphalive: Downloading 5 videos
[download] Downloading video 1 of 5
[youtube] ijjP9yoed7Q: Downloading webpage
[youtube] ijjP9yoed7Q: Downloading MPD manifest
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 815, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 534, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\youtube.py", line 1794, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1012, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

Hi,
I have installed the latest youtube-dl with Python from here: http://ytdl-org.github.io/youtube-dl/. I also installed the latest Visual C++ from Microsoft.
I tried to download a playlist but I get the error "Unable to extract uploader id; please report this issue on https://yt-dl.org/bug"
The playlist seems to be recognised and works on Youtube and is public.
I've checked the FAQ.
Any help much appreciated.
Thank you,
Richard

Update: I have tried downloading a single file and I get a similar error. Here is the error message with a single file:
C:\Users\Richard\F>youtube-dl.exe https://www.youtube.com/watch?v=ijjP9yoed7Q&list=PL-99frSsa2uhj4jxiogC_x3XSwWvlobYn&index=2&t=34s --verbose
[youtube] ijjP9yoed7Q: Downloading webpage
[youtube] ijjP9yoed7Q: Downloading MPD manifest
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
'list' is not recognized as an internal or external command,
operable program or batch file.
'index' is not recognized as an internal or external command,
operable program or batch file.
't' is not recognized as an internal or external command,
operable program or batch file.
P.S. I am using the latest version:
C:\Users\Richard\F>youtube-dl.exe -U
youtube-dl is up-to-date (2021.12.17)

[ ] I'm reporting a broken site support issue *** I don't know what this means

It means that you experienced an error with a site that is supposed to be supported by yt-dl. You did, but that doesn't mean you should report it in a new issue.

[x] I've searched the bugtracker for similar bug reports including closed ones

Read #30839 (again?) to find out how.

[x] I've read bugs section in FAQ

This should also have been useful knowedge.

That's a disappointing response. I did all the bureaucracy that you asked for. I didn't find the appropriate fix in the bug report. And no, there was nothing useful in the FAQ.
This is not the way to encourage users to flock to your software. Treat us badly and we will walk.
gone

Feel free.
The relevant issue is actually linked from the pinned issue that you were asked to read and apply, and it's the only issue with more than 300 comments in the first page of results for is:issue Unable to extract uploader id -label:duplicate and the top or thereabouts, depending on whether more dumbass duplicate issues have just been created that haven't yet been marked, after adding in:title as suggested.


Failed to send request to car - Could not control charging (400)

starting the charge for the Cupra Born has been failing with the error in logs: Failed to send request to car - Could not control charging
Starting/stopping AC is fine. Stopping the EV charge is working
I can get charge to start remotely via the Cupra app

Unsure if this is a problem at the Cupra end or something has changed to cause the automation to no longer work

Failed charging initiation in logs:
2024-04-30 12:08:14.279 DEBUG (MainThread) [custom_components.cupra_we_connect] Finished fetching cupra_we_connect data in 7.533 seconds (success: True)
2024-04-30 12:09:03.363 DEBUG (MainThread) [custom_components.cupra_we_connect] Finished fetching cupra_we_connect data in 19.617 seconds (success: True)
2024-04-30 12:09:39.826 DEBUG (MainThread) [custom_components.cupra_we_connect] Finished fetching cupra_we_connect data in 7.079 seconds (success: True)
2024-04-30 12:09:47.962 WARNING (Thread-5) [pychromecast.socket_client] [Kitchen TV(<IP_ADDRESS>):8009] Heartbeat timeout, resetting connection
2024-04-30 12:10:08.634 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for predbat.plan_html exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
2024-04-30 12:10:14.523 WARNING (Thread-5) [pychromecast.socket_client] [Kitchen TV(<IP_ADDRESS>):8009] Heartbeat timeout, resetting connection
2024-04-30 12:10:16.236 DEBUG (MainThread) [custom_components.cupra_we_connect] Finished fetching cupra_we_connect data in 6.491 seconds (success: True)
2024-04-30 12:10:56.243 DEBUG (MainThread) [custom_components.cupra_we_connect] Finished fetching cupra_we_connect data in 10.497 seconds (success: True)
2024-04-30 12:11:25.619 WARNING (Thread-5) [pychromecast.socket_client] [Kitchen TV(<IP_ADDRESS>):8009] Heartbeat timeout, resetting connection
2024-04-30 12:11:34.200 DEBUG (MainThread) [custom_components.cupra_we_connect] Finished fetching cupra_we_connect data in 8.454 seconds (success: True)
2024-04-30 12:11:48.851 WARNING (Thread-5) [pychromecast.socket_client] [Kitchen TV(<IP_ADDRESS>):8009] Heartbeat timeout, resetting connection
2024-04-30 12:12:08.809 DEBUG (MainThread) [custom_components.cupra_we_connect] Finished fetching cupra_we_connect data in 5.063 seconds (success: True)
2024-04-30 12:12:29.086 ERROR (SyncWorker_7) [custom_components.cupra_we_connect] Failed to send request to car - Could not control charging (400)
2024-04-30 12:12:54.217 DEBUG (MainThread) [custom_components.cupra_we_connect] Finished fetching cupra_we_connect data in 15.470 seconds (success: True)
2024-04-30 12:12:55.080 ERROR (SyncWorker_6) [custom_components.cupra_we_connect] Failed to send request to car - Could not control charging (400)

I have been using this integration since August last year without any problems. Yesterday my cupra born came back from firmwareupdate. Update was from 3.0 to 3.2.1. At the same time I have been requested to update my "mycupra" app.
Since that time i have same problem in homeassistant: everything is working fine except start charging. Errormessage in log is exactly as described above.
According to my memories, charging process in app changed a little bit: i am now requested to define a target value for charging (for example 80%). This was not the case in old version. They might have added this parameter to charge api?

I have been using this integration since August last year without any problems. Yesterday my cupra born came back from firmwareupdate. Update was from 3.0 to 3.2.1. At the same time I have been requested to update my "mycupra" app. Since that time i have same problem in homeassistant: everything is working fine except start charging. Errormessage in log is exactly as described above. According to my memories, charging process in app changed a little bit: i am now requested to define a target value for charging (for example 80%). This was not the case in old version. They might have added this parameter to charge api?

Well I am glad (for the right reasons) that its not just me! So I guess the HA integration needs to be amended to support this? Or can it be workedaround with current integrations?

I've also started getting this error today, but was able to start charging from the app. It was working last night, so could just be the Cupra servers playing up again, although they have been quite reliable for a while and it is odd it work through the app.
This error originated from a custom integration.
Logger: custom_components.cupra_we_connect
Source: custom_components/cupra_we_connect/init.py:202
integration: Cupra WeConnect (documentation, issues)
First occurred: 14:50:00 (5 occurrences)
Last logged: 15:15:00
Failed to send request to car - Could not control charging (400)

I think this issue really belongs in the https://github.com/daernsinstantfortress/WeConnect-Cupra-python project.
In https://github.com/daernsinstantfortress/WeConnect-Cupra-python/blob/main/weconnect_cupra/api/cupra/elements/controls.py
around line 158 it builds the "start charging" request - from the date on line 164, that was likely reverse engineered from an app that is now two years old - I wonder if the Cupra servers have been updated on the bases that most people have updated the app on their phone and this two year old style of request is no longer accepted.
I can reliably and quickly start charging from the app, but not from home assistant.  The "400" error is "bad request" which means the Cupra servers don't understand the request.

I've looked at the latest MyCupra APK and it is heavily obfuscated - beyond my ability to work out how they have changed the rest endpoint for start charging from the APK.  It may need a proxy installed so the difference between the working and non-working requests can be observed.

I've found a fix for this - in controls.py the start/stop charging requests include an empty json payload.  The Cupra servers have started rejecting this.  If you remove it, then it starts working again.
E.g. comment out (or remove) the line data='{}', solves the issue.
    def __setChargingControlChange(self, value):  # noqa: C901
        # Validate inputs
        if value not in [ControlOperation.START, ControlOperation.STOP]:
            return

        # Do API request
        controlResponse = self.vehicle.fetcher.post(
            url=f'https://ola.prod.code.seat.cloud.vwgroup.com/vehicles/{self.vehicle.vin.value}/charging/requests/{value.value}',
#            data='{}',
            allow_redirects=True,
            headers={

Hi there, thanks for this and sorry for being a bit quiet on this issue. Leave with me and I'll debug and release a fix tonight!

Grab v0.8.1 from HACS and let me know how you get on

Grab v0.8.1 from HACS and let me know how you get on

Tested and working back as normal now! Thanks so much for the fix! 👍👍👍

No problem. Ta to @iancg for the pointer - he was quite right, the behaviour changed quite recently since I last tested.

I have had two consecutive failed IOG charges last night and the night before. The car is controlled directly by IOG and it's been faultless until now. Is there a change that Octopus/enode have this issue and need to update in the same way that the HA integration was?


facing issue with fetcing the price of product from databse

HI,
i am testing razor pay for my companies project to integrate the payment gateway
when i am trying to fetch the payment for database and i have created the const with name amount as per razorpay documentation.it is throwing an error amount is mandatory . but when i am passing some number to the constant amount like const amount=150 it is executing but when trying by using the my mongoose scheema it is throwing an error please advise on this
//my mongoose scheema
const mongoose = require('mongoose')
const {ObjectId}=mongoose.Schema.Types
const productScheema=new mongoose.Schema   ({
// productnumber:{

//     type:String,
//     default:0,
// },

productname: {
    type:String,

    require:true,
},
productprice: {
    type:Number,
    require:true,
},
quantity:{
    type:String,

    require:true
},
// Productimage:{
//     type:String,

//     required:true
// },
postedBy:{
    type:ObjectId,
    ref:"User"
 }

//my api
router.get("/order/:productId",(req,res)=>{
const {productId }=req.params;
const {productprice}=req.body
const products= Product.findById((products)=>products.id==productId);
console.log(products)
const amount=productprice
console.log(amount)
const currency='INR';
instance.orders.create({amount, currency},(error,order)=>{
if(error){
res.status(500).json(error)
console.log(error)
}
return res.status(200).json(order)
})
// console.log(order)
})

@Rishi-34 sorry for the delay. could you please let me know if you have been successful in fixing this issue ?

@Rishi-34 the code you mentioned, according to my understanding the productprice could be null. It would be help if you share the error logs so we can replicate this issue from our side.

I am closing this issue for now. If you are still facing the same issue, please do not hesitate to reopen it. Please feel free to add any other suggestions you may have.


chain colorize not right

VSCode Version: 1.27.2
Windows Version: 10

source code:
  readonly options: string[] = _.map(this.objects, 'name').
    concat('Blob', 'Time', 'String', 'Boolean', 'Date', 'Datetime', 'Decimal', 'Double', 'ID', 'Integer', 'Long', 'Object')

In the ide it doesn't look good.
See via screenshot: https://i.imgur.com/Ju6cok4.png

From the readonly keyword I guess you are using TypeScript? If so please report issue at: https://github.com/Microsoft/TypeScript-TmLanguage.

@octref but it doesn't connect especially to typescript, its connect also to javascript

That repository is for both JS/TS. You can just open an issue there.


loggerd : log frame socket in the encoder thread

split https://github.com/commaai/openpilot/pull/19839 into smaller PRS

I like the cleanup of the main thread, but not sure this is much cleaner.

I think it is more reasonable to log the frame packet with the encoded frame in the encoder thread，which can save a lot of code to synchronize the frame_id with the main thread.
I'll try to keep making the code clearer.


RHEL 9: Bump Epoch to override appstream version.

Fixes https://github.com/nginx/nginx/issues/343

LGTM


Fix "Sent from Twilio" prefix to the SMS message

This is a side-effect from using a trial account


AttributeError: 'myWebsocketClient' object has no attribute 'start'

Following the readme.md:
import GDAX, time
class myWebsocketClient(GDAX.WebsocketClient):
    def onOpen(self):
        self.MessageCount = 0
        print "Lets count the messages!"
    def onMessage(self, msg):
        print "Message type:", msg["type"], "\t@ %.3f" % float(msg["price"])
        self.MessageCount += 1
    def onClose(self):
        print "-- Goodbye! --"

wsClient = myWebsocketClient()
wsClient.start()
# Do some logic with the data
while (wsClient.MessageCount < 500):
    print "\nMessageCount =", "%i \n" % wsClient.MessageCount
    time.sleep(1)
wsClient.close()

Gives error:
  File "myscript.py", line 90, in <module>
    wsClient.start()
AttributeError: 'myWebsocketClient' object has no attribute 'start'

environment:
GDAX==0.2.0
numpy==1.12.1
pandas==0.19.2
python-dateutil==2.6.0
pytz==2016.10
requests==2.13.0
six==1.10.0
websocket-client==0.40.0

shell$ python --version
Python 3.5.2 :: Continuum Analytics, Inc.

I've installed GDAX (pip install GDAX).  I get the following error when I try to import the package in python:
import GDAX
Traceback (most recent call last):
File "", line 1, in
import GDAX
File "/Users/williamgreene/Library/Mobile Documents/com~apple~CloudDocs/btc/GDAX.py", line 4, in
publicClient = GDAX.PublicClient(product_id="ETC-USD")
AttributeError: module 'GDAX' has no attribute 'PublicClient'

I have installed GDAX (pip install GDAX). I get the below error when I try to import the package in Python. Any help would be greatly appreciated.
import GDAX
Traceback (most recent call last):
File "", line 1, in
import GDAX
File "/Users/btc/GDAX.py", line 4, in
publicClient = GDAX.PublicClient(product_id="ETC-USD")
AttributeError: module 'GDAX' has no attribute 'PublicClient'

I have installed GDAX (pip install GDAX). When I try to import GDAX in Python, I get the below error. Any help would be greatly appreciated. Thanks!
import GDAX
Traceback (most recent call last):
File "", line 1, in
import GDAX
File "/Users/btc/GDAX.py", line 3, in
publicClient = GDAX.PublicClient()
AttributeError: module 'GDAX' has no attribute 'PublicClient'

Hello fabianbaier,
Are you still experiencing these issues?  I tested this on Python 3.5 updated dependencies and GDAX 2.2 and it works fine.  Please update GDAX and let me know if you continue to experience this.
Thank you!
Dan

Closing this out. Please create a new thread if you continue to experience this.


blobs

i didn't save my blobs :(

Can't do anything about that, but FWIW every device that PhœnixNonce works on is also pwnable with checkra1n...

But i don't have a mac to run checkra1n


Fix typo in localization menu

Discussed in https://github.com/mathjax/MathJax/issues/1746

Please make PRs to develop (and base them on that branch).
Also, this is broken due to not closing the string properly (wrong quotation marks).

@pkra Do I need to open another pr? You closed this one

Do I need to open another pr?

If you want to force push to update this PR, that's fine. But we need you to rebase / apply the fix to the develop branch.


Re-order the Alert forms items

Problem
The alert form's item order is not in line with the narrative of an incident.
Proposed Solution
Use the following order:

Date/Time*
Location (search by place name, drop pin or enter grid)*
Event type*
Narrative*
Persons affected:
Perpetrator type
Victim type
Killed
Injured
Detained
All fields with * are required fields and storage / posting should be blocked until these fields are completed

I am setting Null=True for perpetrator and victim.


[BUG] Some values changing into blank space

If i add a "Pause" for example, the condition is going to be Blank after saving the macro (even if its GCD Pause)
Its basically the same as the "variable bug" but it not blankens out the name within the pause tab, the value will be blank after saving the macro.

OS: Windows 10 64bit
Game Version Classic TBC

GSE Version

Version: 3.0.0-Beta-RC2a

I am struggling to replicate this - When this happens and you go to raw edit is the value there ie is it just a visual thing or is it loosing the data there?

IF it's a GCD pause, the field to specify MS/Clicks should be disabled and blank.

Closing this as I cannot replicate the issue and it appears to be working the way it is supposed to with relation to this field.


missing style

import React from 'react';
import ReactDOM from 'react-dom';
import Button from 'react-toolbox/lib/button';
const App = React.createClass({

  render: function() {
    return (

        <Button icon='bookmark' label='Bookmark' raised primary />

        <button className="mdl-button mdl-button--fab mdl-button--colored">
          add
        </button>

    );
  }

});

export default App;

Here's my webpack.config.js
var webpack = require('webpack');
var WebpackDevServer = require("webpack-dev-server");
var path = require('path');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var nodeModulesPath = path.resolve(__dirname, 'node_modules');

var config = {
  //Entry points to the project
  entry: path.join(__dirname, '/src/app/app.js'),
  output: {
    path: path.resolve(__dirname, 'dist'),
    filename: 'bundle.js'
  },
  module: {
    loaders: [{
      test: /\.(scss|css)$/,
      loader: ExtractTextPlugin.extract('style', 'css?!postcss!sass')
    }, {
      test: /.(png|woff(2)?|eot|ttf|svg)(\?[a-z0-9=\.]+)?$/,
      loader: 'url-loader?limit=100000'
    }, {
      test: /\.(js|jsx)$/,
      exclude: /(node_modules)/,
      loader: 'babel-loader'
    }]
  },
  resolve: {
    extensions: ['', '.jsx', '.scss', '.js', '.css']
  },
  plugins: [
    //vender.css
    new ExtractTextPlugin("vender.css"),
    //Auto index.html
    new HtmlWebpackPlugin({
      title: 'FusionAdmin',
      minify: {
        collapseWhitespace: true
      },
      hash: true
    }),
    new webpack.optimize.UglifyJsPlugin({
      compress: {
        warnings: false
      },
      comments: false
    })
  ],
  // toolbox: {theme: './app/theme.scss'},
  postcss: [require('autoprefixer')],
  //Server Configuration options
  devServer: {
    devtool: 'source-map',
    historyApiFallback: false,
    hot: true,
    proxy: [{
      path: '/api/*',
      target: 'http://localhost:9061'
    }]
  },
  devtool: 'source-map',

};

module.exports = config;

I'm not too familiar with web pack myself, but I think your error might be in this section:
{
    test: /\.(scss|css)$/,
    loader: ExtractTextPlugin.extract('style', 'css?!postcss!sass')
}

Try changing the 'css?!postcss!sass' to 'css?importLoaders=2!postcss!sass'
Also, correct me if I'm wrong but don't you need to have the css file stored in a variable and call that variable.extract in the module loaders section? As I mentioned before I'm somewhat new to web pack in general, but I am willing to help you out.

I have change the config to
module: {
    loaders: [{
      test: /\.scss$/,
      loader: ExtractTextPlugin.extract('style', 'css?modules&localIdentName=[name]__[local]___[hash:base64:5]!postcss!sass!toolbox')
    }, {
      test: /\.css$/,
      loader: ExtractTextPlugin.extract('style', 'css?!postcss')
    }, {
      test: /.(png|woff(2)?|eot|ttf|svg)(\?[a-z0-9=\.]+)?$/,
      loader: 'url-loader?limit=100000'
    }, {
      test: /\.(js|jsx)$/,
      exclude: /(node_modules)/,
      loader: 'babel-loader'
    }]
  }

because I use self host mdl scss files
import 'material-design-lite/src/material-design-lite';
import 'material-design-icons/iconfont/material-icons';

import './styles/main';
document.write('

');

import React from 'react';
import ReactDOM from 'react-dom';
import App from './components/main';

ReactDOM.render(<App />, document.getElementById('app'));

css changed to

Hm... I wonder if you can create two scss loaders then and use the include and exclude property for node_modules/react-toolbox. See below
module: {
    loaders: [{
      test: /\.scss$/,
      include: /(node_modules/react-toolbox)/,
      loader: ExtractTextPlugin.extract('style', 'css?modules&localIdentName=[name]__[local]___[hash:base64:5]!postcss!sass!toolbox')
    }, {
      test: /\.scss$/,
      exclude: /(node_modules/react-toolbox)/,
      loader: ExtractTextPlugin.extract('style', 'css?!postcss!sass')
    },
   ...

Still not working , I'm going to toolbox example to check what's going on.
Thank any way, if I fix this I post my configs here!

I'm having the same problem, but I've fixed it by using the complete filename (with extension). I have to make the following replacement to every file in .../node_modules/react-toolbox:
import style from './style';

to:
import style from './style.scss';

As it's looking increasingly like ES2015 import in Node.js will strictly require file extensions ( https://github.com/nodejs/node-eps/issues/11 ), would you accept a PR that switches such imports to explicit extensions here?

I think u are right! @jokeyrhyme

Thanks for your help guys!

I seem to still be unable to resolve this issue. Even if I change the ./style to ./style.scss in the react-toolbox files I still get an error. However it is unexpected token for the @import. For some reason I jsut do not know how to figure out which loader or test I need to be using.
I believe I have followed your instruction @javivelasco on the other issues to explicitly include the node_modules/react-toolbox folder. Still with no success...
Reading the other issue I do see it is completely possible to have server-side rendering with react-toolbox. So I realize it must be something I have wrong so I am merely looking for a bit of help, thanks.
webpack config
import path from 'path'
import webpack from 'webpack'
import autoprefixer from 'autoprefixer'
import ExtractTextPlugin from 'extract-text-webpack-plugin'
// import HtmlWebpackPlugin from 'html-webpack-plugin'
import NpmInstallPlugin from 'npm-install-webpack-plugin'

const buildPath = path.join(__dirname, 'build')
const entry = path.join(__dirname, 'app', 'index.js')

module.exports = {
  context: __dirname,
  devtool: 'inline-source-map',
  entry: [
    // sets up an ES6-ish environment with promise support
    'babel-polyfill',
    // webpack-hot-middleware needs this
    'webpack-hot-middleware/client',
    // the main application script
    entry
  ],
  output: {
    path: buildPath,
    filename: 'bundle.js',
    publicPath: '/build/' // need for hot reload. or hit refresh each time
  },
  resolve: {
    moduleDirectories: ['node_modules'],
    extensions: ['', '.js', '.jsx', '.css', '.scss', '.json', '.node', '.png']
  },
  module: {
    loaders: [
      {
        test: /\.jsx?$/,
        exclude: /(node_modules)/,
        loader: 'babel',
        query: {
          cacheDirectory: true,
          presets: ['es2015', 'stage-0', 'react']
        }
      },
      {
        test: /(\.scss|\.css)$/,
        include: /(node_modules\/react-toolbox)/,
        loader: ExtractTextPlugin.extract('style', 'css?sourceMap&modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!postcss!sass?sourceMap!toolbox')
      },
      {
        test: /\.css$/,
        loader: ExtractTextPlugin.extract('style-loader', 'css-loader?!postcss')
      },
      {
        test: /\.scss$/,
        loader: ExtractTextPlugin.extract('style-loader', 'css-loader?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!postcss!sass!toolbox')

      },
      {
        test: /\.json$/,
        loader: 'json'
      },
      {
        test: /\.node$/,
        loader: 'node-loader'
      },
      {
        test: /\.(jpe?g|png|gif)$/,
        loaders: [
          'file?hash=sha512&digest=hex&name=[name]_[hash].[ext]',
          'image-webpack?bypassOnDebug&optimizationLevel=7&interlaced=false'
        ]
      },
      {
        test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/,
        loader: 'url-loader?limit=10000&mimetype=application/font-woff'
      },
      {
        test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
        loader: 'file-loader'
      }

    ]
  },
  postcss: [autoprefixer],
  toolbox: { theme: 'theme.scss' },
  plugins: [
    new ExtractTextPlugin('style.css', { allChunk: true }),
    // new HtmlWebpackPlugin({
    //   template: './app/index.html'
    // }),
    new NpmInstallPlugin({
      save: true
    }),
    new webpack.HotModuleReplacementPlugin(),
    new webpack.NoErrorsPlugin(),
    new webpack.DefinePlugin({
      'process.env': {
        'NODE_ENV': JSON.stringify('development')
      }
    })
  ]
}

Did @jokeyrhyme's question ever get answered?
would you accept a PR that switches such imports to explicit extensions here?

Any update on this??? A pretty major issue as I can't compile my CSS on the server for pre-render? Feels like a pretty simple fix as well, I would be happy to submit a PR as well...


Added a Portfolio Website Project

Hey,
I uploaded a project i made of a portfolio website.
Thanks

merged


Allow to set redirects: force on group level

Can we extend the docs to contain the exact difference between force and on?
Currently we have "Redirects are created only if they are required. However, you can instruct Paket to create them regardless", but even I don't even know what that means (ie. I had to look at the actual code)

yes. I'm in the process to rediscover what it means ;-)


Switch of "Open dominant script .." setting in Godot

It drives me crazy.
cc: https://github.com/godotengine/godot/issues/38583

Was fixed in Godot 4


Some feedback about this plugin

Hi. This is not an issue, just to let you know that I found this plugin, and I like it.
Thanks for your work.
Very clever use of switch-client -T my-blablaba-toolkit-table.
I'm in the process of testing, these kind of "hinting" and comparing them.
I dont want rust or go binaries, if shell or python can do the job also nicely.
I also liked that you seemed to have choosen "wise" bindings,
and left enought "set" option for the user to customize it.
The very long README might benefit from some better editing. A TOC maybe and maybe describing the fine details in another separate  file.

Manual installation is also easy, as the plugin is contained in a single python file. Copy it where you'd like and add tmux options from copytk.tmux, adjusting paths accordingly.

Maybe this is clearer ?

Manual installation is also easy:
git clone https://github.com/CrispyConductor/tmux-copy-toolkit/ ~/path/to/somewhere/
Edit your tmux.conf:
run-shell ~/path/to/somewhere/copytk.tmux
Optionally customize with the set -g @copytk-xxx options

Some practical examples of differen use of regexes would be nice also.
Would be also nice if you tagged a release on github.
I also see that your last commit is from Mar 2021.
Do you plan on keep updating this regularly ?
Thanks in advance.

Hey, thanks for the feedback.  It's always nice to know when someone appreciates your work :)
Wanting this script to be as universal as possible is one of the big reasons I chose not to use one of the existing options that has additional dependencies.  I use it across a variety of differently configured machines, so portability is important.  Pure shell is probably most portable for tmux stuff, but some of the logic here would be fairly onerous and slow to do in just bash; and these days python availability seems to be almost universal.
Your documentation suggestions are all good.  I've made a few small changes to the existing readme taking them into account, but a wider reorganization is probably still needed.  I might want to also add demonstration gifs or something.  This was originally just a project for my own use as none of the alternatives worked well enough for my needs, so I just threw together a readme pretty quickly in case anyone else might have use for it.
There is now a tagged 1.0 release corresponding to the current state of main.
I definitely plan on keeping this updated, as it's a big part of my workflow.  At present, I'm not aware of any bugs, nor do I feel like I'm missing any important features, so (besides the readme work) I don't have any current TODOs on this project.  Bug reports and feature requests are always welcome :)
Thanks!


cnf ran: ztp node delete workaround

There is an issue where deleting then adding back the worker node will cause commands executed on the worker node to fail due to a certificate error. This PR provides a workaround by waiting after the node has come back online for 5 minutes to let the CSRs and certificates work themselves out.

/lgtm


ARGV#resolved_formulae: also load build options

This fixes the problem that brew audit foo complains that
an optional dependency is undeclared.

👍

I don't want to er, annoy you here, but this still fails on if build.with? dependencies 🙈.
  depends_on "pcre" => :optional
  depends_on "gettext" => :optional
  depends_on "openssl" if build.with? "brewed-openssl"
  depends_on "curl" if build.with? "brewed-curl"
  depends_on "go" => :build if build.with? "persistent-https"

git:
  * Formulae are required to declare all linked dependencies.
    Please add all linked dependencies to the formula with:
      depends_on "curl" => :linked
      depends_on "openssl" => :linked
Error: 1 problem in 1 formula

@DomT4 that would be a known issue due to the usage of if for deps declaration

So should we ignore it or should those become:
depends_on "curl" => :linked if build.with? "brewed-curl"

I presume ignore it, but ❓

Yeah this is still pretty broken:
iMac-TMP:Homebrew joe$ brew audit --strict vifm
vifm:
  * Formulae are required to declare all linked dependencies.
    Please add all linked dependencies to the formula with:
      depends_on "atk" => :linked
      depends_on "cairo" => :linked
      depends_on "gdk-pixbuf" => :linked
      depends_on "gettext" => :linked
      depends_on "glib" => :linked
      depends_on "pango" => :linked
Error: 1 problem in 1 formula

triggered by
  depends_on "gtk+" => :optional

  if build.with? "gtk+"
    depends_on "pkg-config" => :build
    depends_on "atk" => :linked
    depends_on "cairo" => :linked
    depends_on "gdk-pixbuf" => :linked
    depends_on "gettext" => :linked
    depends_on "glib" => :linked
    depends_on "pango" => :linked
  end

@DomT4 that would be a known issue due to the usage of if for deps declaration

"Known" or not, it would be nice to at least have a plan of some kind for fixing it.

@ilovezfs The only solution is to work on option "with-foo" do ... end DSL. As far as I'm aware no one is working on that.

Although, it's possible to workaround it by rewriting ARGV during formula loading. However, that would be a short-term hack and won't solve everything.

The fact that you can explicitly follow the audit directions and still not be able to get the audit error to go away is going to be ... confusing I suspect, or people will just add the linked outside of the if build.with? which would be even worse. :see_no_evil:

Perhaps this particular audit check should be skipped if the local install receipt indicates something other than a default build.

@ilovezfs Well, FYI, this long term bug has caused much worse issues than just audit result. For example, it affects the some basic function of FormulaInstaller.

Since CI will spit out the correct answer, I'm not sure why we'd tell people to run audit locally in the PR template if the output is known to be wrong.

We can always grep the actual formula text if we're in audit for this case to try and produce a better output.

@MikeMcQuaid This was @UniqMartin's response when I suggested something similar in another scenario https://github.com/Homebrew/homebrew-core/pull/2253#issuecomment-227665702
Not sure if the same objections apply here or not.

@ilovezfs We already have audits that do that and as long as the overhead isn't too high I'm cool with it, personally.


[Question] How to reset Apache2 Template?

I found my Apache2 or Nginx templates might be broken. When using default template, it might cause 500 Error, and there are only PHP72/73/74 templates, php 8.0 template doesn't exists in the list.
I had tried re-install the docker, but it seems like the templates is following user backup, so it doesn't work though.
How to reset/replace/rebuild the template, to making website using the latest php template?

This is my my-startup.sh, I wonder is it too old?
#!/bin/sh
# restore current users
if [[ -f /vesta/etc-bak/passwd ]]; then
        # restore users
        rsync -a /vesta/etc-bak/passwd /etc/passwd
        rsync -a /vesta/etc-bak/shadow /etc/shadow
        rsync -a /vesta/etc-bak/gshadow /etc/gshadow
        rsync -a /vesta/etc-bak/group /etc/group
fi

# only if you run in privileged mode
# if [[ -f /etc/fail2ban/jail.new ]]; then
#     mv /etc/fail2ban/jail.local /etc/fail2ban/jail.local-bak
#     mv /etc/fail2ban/jail.new /etc/fail2ban/jail.local
# fi

# re-enable phpmyadmin and phppgadmin
 rsync -a /etc/apache2/conf-d/php*.conf /etc/apache2/conf.d

# required startup and of course vesta
cd /etc/init.d/
./disable-transparent-hugepages defaults \
&& ./apache2 start \
&& ./mysql start \
&& ./postgresql start \
&& ./nginx start \
&& ./vesta start

&& ./exim4 start \
&& ./dovecot start \
&& ./clamav-daemon start \
&& ./spamassassin start \
&& ./php7.0-fpm start \
# && ./fail2ban start \ # -- only if you run in privileged mode

I found /root/docker/vestacp/files/sysprepz/admin/bin/my-startup.sh still using php7.2 php7.3, this is strange.
I have replaced them by https://github.com/niiknow/vestacp/blob/master/rootfs/sysprepz/admin/bin/my-startup.sh and restart the container, but it seems doesn't work, Vesta still list php 72/73/74 templates.

Make sure you have everything backed up.  Then try running this to update Vesta:
/bin/vesta-update.sh

Then in the UI, switch between different version of php7.3 to 7.4 and then back etc...  Use the latest my-startup as < php7.3 no longer supported.

Thanks, but I found another stupida swer.
The default latest tag image in docker hub is not the latest iamge.
I will re-install the 1.10.2 image and try again. Update later.

I suggest using the php-fpm template as I am not too familiar with Apache2 troubleshooting.   Usually, Apache2 is easier to work with and simply just work for me.  But I'm more familiar with nginx.

And yep, I don't always update latest image.  I setup docker hub to auto build when I check in.  Don't usually have time to pull down 5 gig image to tag latest.

It seems works. But I found another problem.
If I using php73/74/80fpm for Apache2 and default for Nginx, it will cause site link Another site. When means when I access a.example.com, it actually load b.example.com.
If using default for Apache2 and default for Nginx, it can load the right site, but warning Imagick WEBP image type support is not enabled., which I can confirm webp is proxied by Nginx.
The cross-site loading seems more critical, what situation might cause this problem?

If you're doing fpm for Apache2, then you want to pick php-fpm for nginx.   If you do fcgi, then you can use default.

See my documentation here indicate that fpm must go with fpm: https://github.com/niiknow/vestacp/blob/master/docs/php-fpm.md
The other fpm can go with is Wordpress because I customize it.

Seems resolve currently. Close the issue. Thanks for your help.


chore(master): release 1.0.1

:robot: I have created a release beep boop
1.0.1 (2023-07-22)
Bug Fixes

ERROR: denied: permission_denied: write_package (7318795)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/natilou/wallabag-kindle-consumer/releases/tag/v1.0.1 :sunflower:


Honor PORT environment variable.

Fixes #5.

wow, that's kind of garbage isn't it? thanks for fixing, I've published a patch update for this, if you want to contribute more then tests for this would be appreciated


UI - Issues with Horizontal  and vertical scroll bars

Steps to reproduce the problem:

Launch ui - gptscript --ui --disable-cache
Start executing any script and chat with it to get a response that has lines wide enough for  Horizontal scroll bar to be presented

Notice that the horizontal scroll bar overlaps on the text when chat response has vertical scroll bar

I am not seeing this issue when testing with electron app.


Array

Description
Hi @Lakhankumawat, I want to work on the array, two dimensional and dynamic array with proper code explanation and diagram. please assign me .
Domain
CPP
Type of Contribution
Addition
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of LearnCPP.

yes, i am following

please assign this.


Use .NET compiler to enforce Domain Specific Language (DSL)

Closing because this is a duplicate of

#383


Add links to dora.dev in the README

Link to the site when first mentioning DORA
Link to a guide about the four keys
Remove "DevOps Research and Assessment", we're working to de-acronymn DORA

Link to the primary DORA website, https://dora.dev, in the README.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Optimization PB

Hello there,
The training was very slow.
I started to look into the code (You can find the notebook for the optimization on my repo).
At my big surprise, it takes 0.5 s to forward with a square centered mask. I was expecting way more.
I checked with your random mask generator.
while True:
x = random.randint(1, MAX_SIZE-fineSize)
y = random.randint(1, MAX_SIZE-fineSize)
mask = pattern[y:y+fineSize, x:x+fineSize] # need check
area = mask.sum()100./(fineSizefineSize)
if area>20 and area<maxPartition:
break
wastedIter += 1
You have a while True that sometines never finishes. It took between 6 sec to 400 sec.
I am going to remove it.

Hi, it shouldn't be that long. It shuold be less  than 0.001s. I am not sure why it takes so long in your case.


Use case "download a student card" : wrong user name

After connection with email pass, the user name (top left) is always "Janie Doe" when it should be the name of the user entered in his email pass

the screen of dashboard "download diploma" and " download student card " after connexion with "Janie Doe".

done


low resolution taskbar icon on windows binary

Description
After a fresh atom installation on a windows machine the basic icon on desktop or the launcher looks fine but after launching the software the icon that appears on the bottom taskbar is really low in resolution.  It feels like my screen ate a huge circle of pixels.
Note:This screenshot is a bit blurred by my snipping tool. the real icon looks more pixy.

Steps to Reproduce

Launch atom on a windows machine
Move you eyes to the bottom of the screen on the taskbar where atom in shown
Feel how bad it looks!

Expected behavior: [Showing an icon on the taskbar proper for my screen resolution]
Actual behavior: [Shows a low resolution icon]
Reproduces how often: [It reproduces every time]
Versions
1.28.2
Additional Information
None

I checked on 1.28.2 and Windows 10 but I don't think I see the same thing but my eyes might not be sharp enough to tell, we'll see if anyone else can reproduce.
Did you see this just with the 1.28 releases and the icon was ok for you before?


Making edwaittime a nullable field

edwaittime currently fails validation as field not nullable - some records leave before being seen my clinician. This needs to be accounted for

edwaittime and timeined are currently set to int data type which causes problems with nan values even though they are set to be nullable.
Is there another column that allows us to identify these patients who left before being seen?
I will talk you through submitting your first pull request tomorrow! Do a little bit of reading around this.

Quite a few of the columns in the EmergencyCareEpisodeSchema are both enforced to be of type np.int64 and also allows the value to be nan. Because nan values are floats these validation rules are fighting each other in the case nan values exist in the data.
Pandas does now support a Nullable integer data type
What do you think about applying the dtype=pd.Int64Dtype() to the schema? With the caveat that the Nullable integer data type is still 'experimental'


BME-96: Basic implementation of atlas export

Overall, LGTM code-wise! A few minor things, but most can be dealt with in a follow-up PR. LOGAF-medium on the file name, the lock-holding for the LRT file, and the else response for trying to start an export when one is already happening, but am happy for those to come as a fast-follow.

Have also run the code (rebased on top of my latest stuff) and seems to be working well! Can't upload here though because, well, the file's too big 😛

Oh a quick thing, as shared in the Discord, there can be an exception here if the export is run while a *.buffer file is in the directory (a step in the tile saving process). It should be easy to ignore any files ending in .buffer with either a regex or String::endsWith.

This has already been merged due to #65 -> #67 -> #73


[LAP-141] decal event

@Algo-ryth-mix what's the state of this PR? is it still needed as an engine instead of as a school project?

The feature is complete, but it can be dropped since it is no longer necessary


Some forgotten useful libs

there is more but not happy with the readme yet

          1 Error

:no_entry_sign:
Please make sure your submission uses correctly sized dash and ends with a full stop

          1 Warning

:warning:
Too many changes (when adding, please keep it to one project per Pull Request)

  Generated by :no_entry_sign: Danger

Since this PR has been sitting idle for a while, I rebased it on top of develop, fixed the cosmetic issues and will merge it now. XMLCoding and MailCore are both excellent libraries, thank you for making them!


Add a GitHub Action proposing the creation of RFC referenda

The action aims to help with the creation of the RFC on-chain referenda.
The action will respond to /rfc-propose comments on RFC PRs.
The output of the action will look like that.
Related to https://github.com/polkadot-fellows/RFCs/issues/21

So what needs to be done? Just merge it and then it should work? Or do I need to register the workflow somewhere or something like this?

Should work after merging, unless actions outside of polkadot-fellows are disabled in repository settings/actions.
(I don't have access there so can't see)

/rfc-propose

Seems to work! Nice work @rzadp :)


pull request for e2e test at 12/26/2016 09:56:10

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add Cumulus TV to Demos

Added a site run by @Fleker for his Android TV app, Cumulus TV, to the demos section.

This change is

Thanks for the addition, I'm glad to add it


relax octokit dependency to allow releases up to 9.0

fixes #453

You can't allow Octokit 8.0 without fixing the argument being passed to create_pull_comment. Pronto is sending position and Octokit is sending that to the API as line. So it will either return a 422 if the position does not map to a valid line or put the comment on the wrong line.
I'm working on a fix and I'll have a PR open shortly.


Set up continuous integration.

Hi @amanmehara
Can see that nothing has been contributed to Continuous Integration section, can you please let me know what kind of contributions are required here so that I can prepare accordingly and share.


Generated token does not match

Hi guys,
I've setup invitable on my rails app using postgres.
I have a custom controller that invites a user and uses a different model (not user) as the inviter.
The invitation email is being sent property but whenever I try accessing I'm redirect to application root.
I've checked the logs and there are important 2 details:

I'm seeing the token searched and it is different than the one saved in the database
The error in the log shown is this: Filter chain halted as :resource_from_invitation_token rendered or redirected

I'm using:
rails (4.1.9)
devise (3.5.1)
devise_invitable (1.5.1)
I don't know where to begin, anybody has a suggestion?
Regards,
Henrique

Forget about it, total facepalm.


ImportError('No module named toml',)

My system is : ubuntu 16.04
First， I Use : pip install toml
and I clone px4, use:
make px4_sitl_default gazebo
and errors:
Failed to import toml: No module named 'toml'
You may need to install it using:
    pip3 install --user toml
and I try open a shell:

python

import toml

and Found toml is already installed, but it  errors in px4.
please tell me how to solve? thank you!

px4 is using python3

px4 is using python3

if this, how to solve? thank you!

pip3 install --user toml

@bys1123
ok , i follow your way. changed the default python version from 2 to 3, and follow the error pip3 install ***. and try again: make px4_sitl_default gazebo.
and errors:

tony@tony-Inspiron-3542:~/PX4_Firmware$ make px4_sitl_default gazebo
-- PX4 version: v1.11.0-beta1
-- PX4 config file: /home/tony/PX4_Firmware/boards/px4/sitl/default.cmake
-- PX4 config: px4_sitl_default
-- PX4 platform: posix
-- PX4 lockstep: enabled
-- cmake build type: RelWithDebInfo
-- The CXX compiler identification is GNU 5.4.0
-- The C compiler identification is GNU 5.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Check for working CXX compiler using: Ninja
-- Check for working CXX compiler using: Ninja -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler using: Ninja
-- Check for working C compiler using: Ninja -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Building for code coverage
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.2", minimum required is "3")
-- build type is RelWithDebInfo
-- PX4 ECL: Very lightweight Estimation & Control Library v1.9.0-rc1-255-g47624a0
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tony/PX4_Firmware/build/px4_sitl_default
[7/740] git submodule src/drivers/gps/devices
[10/740] git submodule src/lib/ecl
[11/740] git submodule mavlink/include/mavlink/v2.0
[206/740] git submodule Tools/sitl_gazebo
[214/740] Performing configure step for 'sitl_gazebo'
-- install-prefix: /usr/local
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler using: Ninja
-- Check for working C compiler using: Ninja -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler using: Ninja
-- Check for working CXX compiler using: Ninja -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPILER_SUPPORTS_CXX17
-- Performing Test COMPILER_SUPPORTS_CXX17 - Success
-- Performing Test COMPILER_SUPPORTS_CXX14
-- Performing Test COMPILER_SUPPORTS_CXX14 - Success
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Performing Test COMPILER_SUPPORTS_CXX0X
-- Performing Test COMPILER_SUPPORTS_CXX0X - Success
-- Using C++14 compiler
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   system
--   thread
--   filesystem
--   chrono
--   date_time
--   atomic
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'bullet>=2.82'
--   Found bullet, version 2.83
-- Found Simbody: /usr/include/simbody
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   thread
--   system
--   filesystem
--   program_options
--   regex
--   iostreams
--   date_time
--   chrono
--   atomic
-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so
-- Boost version: 1.58.0
-- Looking for OGRE...
-- OGRE_PREFIX_WATCH changed.
-- Checking for module 'OGRE'
--   Found OGRE, version 1.9.0
-- Found Ogre Ghadamon (1.9.0)
-- Found OGRE: optimized;/usr/lib/x86_64-linux-gnu/libOgreMain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreMain.so
-- Looking for OGRE_Paging...
-- Found OGRE_Paging: optimized;/usr/lib/x86_64-linux-gnu/libOgrePaging.so;debug;/usr/lib/x86_64-linux-gnu/libOgrePaging.so
-- Looking for OGRE_Terrain...
-- Found OGRE_Terrain: optimized;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so
-- Looking for OGRE_Property...
-- Found OGRE_Property: optimized;/usr/lib/x86_64-linux-gnu/libOgreProperty.so;debug;/usr/lib/x86_64-linux-gnu/libOgreProperty.so
-- Looking for OGRE_RTShaderSystem...
-- Found OGRE_RTShaderSystem: optimized;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so;debug;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so
-- Looking for OGRE_Volume...
-- Found OGRE_Volume: optimized;/usr/lib/x86_64-linux-gnu/libOgreVolume.so;debug;/usr/lib/x86_64-linux-gnu/libOgreVolume.so
-- Looking for OGRE_Overlay...
-- Found OGRE_Overlay: optimized;/usr/lib/x86_64-linux-gnu/libOgreOverlay.so;debug;/usr/lib/x86_64-linux-gnu/libOgreOverlay.so
-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so (Required is at least version "2.3.0")
-- Config-file not installed for ZeroMQ -- checking for pkg-config
-- Checking for module 'libzmq >= 4'
--   Found libzmq , version 4.1.4
-- Found ZeroMQ: TRUE (Required is at least version "4")
-- Checking for module 'uuid'
--   Found uuid, version 2.27.0
-- Found UUID: TRUE
-- Checking for module 'tinyxml2'
--   Found tinyxml2, version 2.2.0
-- Looking for dlfcn.h - found
-- Looking for libdl - found
-- Found DL: TRUE
-- FreeImage.pc not found, we will search for FreeImage_INCLUDE_DIRS and FreeImage_LIBRARIES
-- Checking for module 'gts'
--   Found gts, version 0.7.6
-- Found GTS: TRUE
-- Checking for module 'libswscale'
--   Found libswscale, version 3.1.101
-- Found SWSCALE: TRUE
-- Checking for module 'libavdevice >= 56.4.100'
--   Found libavdevice , version 56.4.100
-- Found AVDEVICE: TRUE (Required is at least version "56.4.100")
-- Checking for module 'libavformat'
--   Found libavformat, version 56.40.101
-- Found AVFORMAT: TRUE
-- Checking for module 'libavcodec'
--   Found libavcodec, version 56.60.100
-- Found AVCODEC: TRUE
-- Checking for module 'libavutil'
--   Found libavutil, version 54.31.100
-- Found AVUTIL: TRUE
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "7.47.0")
-- Checking for module 'jsoncpp'
--   Found jsoncpp, version 1.7.2
-- Found JSONCPP: TRUE
-- Checking for module 'yaml-0.1'
--   Found yaml-0.1, version 0.1.6
-- Found YAML: TRUE
-- Checking for module 'libzip'
--   Found libzip, version 1.0.1
-- Found ZIP: TRUE
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.2", minimum required is "3")
-- Found OpenCV: /opt/ros/kinetic (found version "3.3.1")
-- Found TinyXML: /usr/lib/x86_64-linux-gnu/libtinyxml.so
-- Checking for module 'gstreamer-1.0 >= 1.0'
-- Checking for module 'gstreamer-base-1.0 >= 1.0'
-- Found GStreamer: GSTREAMER_INCLUDE_DIRS;GSTREAMER_LIBRARIES;GSTREAMER_VERSION;GSTREAMER_BASE_INCLUDE_DIRS;GSTREAMER_BASE_LIBRARIES (Required is at least version "1.0")
-- Checking for module 'OGRE'
--   Found OGRE, version 1.9.0
-- Building klt_feature_tracker without catkin
-- Building OpticalFlow with OpenCV
-- Found MAVLink: /home/tony/PX4_Firmware/mavlink/include (found version "2.0")
-- catkin DISABLED
-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so
-- Checking for module 'protobuf'
--   Found protobuf, version 2.6.1
-- Gazebo version: 9.13
-- Found GStreamer: adding gst_camera_plugin
-- Found GStreamer: adding gst_video_stream_widget
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GSTREAMER_LIBRARIES (ADVANCED)
linked by target "LiftDragPlugin" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "gazebo_gst_camera_plugin" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "gazebo_parachute_plugin" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "gazebo_catapult_plugin" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "gazebo_barometer_plugin" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "gazebo_wind_plugin" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "gazebo_geotagged_images_plugin" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "gazebo_opticalflow_mockup_plugin" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "gazebo_magnetometer_plugin" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "sensor_msgs" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "gazebo_irlock_plugin" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "gazebo_video_stream_widget" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "gazebo_controller_interface" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "std_msgs" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "gazebo_gps_plugin" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "gazebo_usv_dynamics_plugin" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "gazebo_sonar_plugin" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "mav_msgs" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "nav_msgs" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "gazebo_lidar_plugin" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "gazebo_opticalflow_plugin" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "gazebo_mavlink_interface" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "gazebo_uuv_plugin" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "gazebo_vision_plugin" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "gazebo_multirotor_base_plugin" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "gazebo_imu_plugin" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "gazebo_gimbal_controller_plugin" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "physics_msgs" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
linked by target "gazebo_motor_model" in directory /home/tony/PX4_Firmware/Tools/sitl_gazebo
-- Configuring incomplete, errors occurred!
See also "/home/tony/PX4_Firmware/build/px4_sitl_default/build_gazebo/CMakeFiles/CMakeOutput.log".
See also "/home/tony/PX4_Firmware/build/px4_sitl_default/build_gazebo/CMakeFiles/CMakeError.log".
[251/740] Building CXX object platform...CMakeFiles/px4_daemon.dir/client.cpp.o
FAILED: cd /home/tony/PX4_Firmware/build/px4_sitl_default/build_gazebo && /usr/bin/cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DSEND_VISION_ESTIMATION_DATA=ON -GNinja /home/tony/PX4_Firmware/Tools/sitl_gazebo && /usr/bin/cmake -E touch /home/tony/PX4_Firmware/build/px4_sitl_default/external/Stamp/sitl_gazebo/sitl_gazebo-configure
[251/740] Building CXX object platform...on/CMakeFiles/px4_daemon.dir/pxh.cpp.o
ninja: build stopped: subcommand failed.
Makefile:198: recipe for target 'px4_sitl_default' failed
make: *** [px4_sitl_default] Error 1

Suggest use ubuntu 18.04 or 20.04 to build px4 1.10 and later.

Suggest use ubuntu 18.04 to build px4 1.10 and later.

～～～～ there is any way to solve it ?
I have to change from ubuntu 16.04 to 18.04?

@liangpu597
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GSTREAMER_LIBRARIES (ADVANCED)

https://github.com/PX4/Firmware/blob/b5cc3c4ef5d287b9bddebf2d86ef2ae683443df6/Tools/setup/ubuntu.sh#L189-L204

I'm going to close this. Please comment again if this is still a problem.


Added FOV range

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.0003%) to 99.466%

Totals

Change from base Build<PHONE_NUMBER>:
0.0003%

Covered Lines:
1343

Relevant Lines:
1350

💛  - Coveralls


Support ARM

64bit ARM64 (I have M1 Mac)
32bit ARMvX (I have Raspberry PI 4)

Changing PATH depending on the arch should work.


Integrated terminal ctrl+' not working

VSCode Version: Code 1.7.1 (02611b40b24c9df2726ad8b33f5ef5f67ac30b44, 2016-11-03T13:53:14.822Z)
OS Version: Windows_NT ia32 6.1.7601
Extensions:

Extension
Author
Version

Steps to Reproduce:

ctrl + ' not working
i am going manually to select integrated terminal

You're on v1.7 from October 2016, you should update to the latest before reporting an issue.


Non-Multimedia Content?

Can this lightbox be used to display a

 with a small table of data, or only multimedia content? Seemingly some tweaks would be required, but I wasn't sure where.

Currently you can't directly add HTML into the lightbox, but you could add your content to another page and then create a lightbox with that url as seen here: https://trvswgnr.github.io/bs5-lightbox/#remote-content

That makes sense, I was just hoping to avoid the extra http call and  add it directly or have an inline div elsewhere on the page.

@dwasyl I agree that would be useful. I’ll definitely consider it in the next release.

@dwasyl I added this in release v.1.8.0. You can see an example here: https://trvswgnr.github.io/bs5-lightbox/#custom-html

@trvswgnr amazing! That's great, thanks!


[fix](inverted index) fix index-tool compilation errors

What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[x] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[x] No.
[ ] Yes.

Does this need documentation?

[x] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

run buildall

run buildall


Failed to activate the language-babel package

Can't auto Completion of JSX tags, elements and attributes.
Arguments to CompositeDisposable.add must have a .dispose() method
TypeError: Arguments to CompositeDisp
osable.add must have a .dispose() method
    at assertDisposable (C:\Users\mcw\AppData\Local\atom\app-1.32.2\resources\app\static\<embedded>:11:1190530)
    at CompositeDisposable.add (C:\Users\mcw\AppData\Local\atom\app-1.32.2\resources\app\static\<embedded>:11:1191498)
    at Object.consumeProvider (C:\Users\mcw\AppData\Local\atom\app-1.32.2\resources\app\static\<embedded>:11:161432)
    at Object.consumeProvider_2 (C:\Users\mcw\AppData\Local\atom\app-1.32.2\resources\app\static\<embedded>:11:161130)
    at Provider.t.exports.Provider.provide (C:\Users\mcw\AppData\Local\atom\app-1.32.2\resources\app\static\<embedded>:14:1034525)
    at ServiceHub.t.exports.ServiceHub.provide (C:\Users\mcw\AppData\Local\atom\app-1.32.2\resources\app\static\<embedded>:11:3027895)
    at Package.activateServices (C:\Users\mcw\AppData\Local\atom\app-1.32.2\resources\app\static\<embedded>:11:3036081)
    at Package.activateNow (C:\Users\mcw\AppData\Local\atom\app-1.32.2\resources\app\static\<embedded>:11:3033136)
    at measure (C:\Users\mcw\AppData\Local\atom\app-1.32.2\resources\app\static\<embedded>:11:3032460)
    at Package.measure (C:\Users\mcw\AppData\Local\atom\app-1.32.2\resources\app\static\<embedded>:11:3030091)
    at activationPromise.activationPromise.Promise (C:\Users\mcw\AppData\Local\atom\app-1.32.2\resources\app\static\<embedded>:11:3032320)
    at new Promise (<anonymous>)
    at Package.activate (C:\Users\mcw\AppData\Local\atom\app-1.32.2\resources\app\static\<embedded>:11:3032263)
    at PackageManager.activatePackage (C:\Users\mcw\AppData\Local\atom\app-1.32.2\resources\app\static\<embedded>:11:379950)
    at C:\Users\mcw\AppData\Local\atom\app-1.32.2\resources\app\static\<embedded>:11:913945
    at r (C:\Users\mcw\AppData\Local\atom\app-1.32.2\resources\app\static\<embedded>:11:908551)
    at o (C:\Users\mcw\AppData\Local\atom\app-1.32.2\resources\app\static\<embedded>:14:1037432)
    at ChildProcess.n.process.on.e (C:\Users\mcw\AppData\Local\atom\app-1.32.2\resources\app\static\<embedded>:14:1037638)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)

Is anybody here to help me or have the same issue? :(

Im having this sam issue too...

Yep, my syntax highlighting is gone too.

Same here, I've been having this issue for the past few weeks :(

Alright, this is pretty stupid, but I've found out that it keeps working just by changing the grammar to Babel.
Hope it helps.


resp.failure() shouldnt immediately log a failed request, just mark it a such

Because resp.failure() trows an exception, it is kind of hard to work with.
For instance, if you want to tag the request as a failure and then break out of the task entirely, you cant really do that in a straight forward way.
I would like to be able to do this:
    with self.client.post("/", catch_response=True) as resp:
        if resp.status_code != something:
            resp.failure()
            return

or even this (particularly useful when you have wrapped the request method and it does some kind of error checking internally, which you may want to override sometimes):
    with self.client.post("/", catch_response=True) as resp:
        if resp.status_code != something:
            resp.failure()
        if known_error:
            resp.success()

Probably we should also change it from being a method call to being a property.
Because this is a breaking change for lots of testplans I would like to do it for 1.0

Hmm, catch_response=True + resp.failure() doesn't raise an exception? Maybe I'm misunderstanding your post?
The following code works perfectly fine for me (with either HttpLocust or FastHttpLocust):
from locust import HttpLocust, task, constant
from locust.contrib.fasthttp import FastHttpLocust

class TestUser(HttpLocust):
    host = "http://<IP_ADDRESS>:8089"
    wait_time = constant(1)

    @task
    def test_task(self):
        with self.client.post("/non-existing", catch_response=True) as resp:
            resp.failure("Noooo, fail!")
            print("request failed")
            return

        print("end of task (should never run)")

Command line output:
~/projects/locust master ❯ locust -f examples/issue_1335.py -c 1 -r 1 -t 3 --headless
[2020-04-17 16:57:44,237] MacBook-Air.localdomain/INFO/locust.main: Run time limit set to 3 seconds
[2020-04-17 16:57:44,237] MacBook-Air.localdomain/INFO/locust.main: Starting Locust 1.0.0
[2020-04-17 16:57:44,238] MacBook-Air.localdomain/INFO/locust.runners: Hatching and swarming 1 users at the rate 1 users/s (0 users already running)...
[2020-04-17 16:57:44,238] MacBook-Air.localdomain/INFO/locust.runners: All locusts hatched: TestUser: 1 (0 already running)
 Name                                                          # reqs      # fails     Avg     Min     Max  |  Median   req/s failures/s
--------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------
 Aggregated                                                         0     0(0.00%)       0       0       0  |       0    0.00    0.00

request failed
request failed
 Name                                                          # reqs      # fails     Avg     Min     Max  |  Median   req/s failures/s
--------------------------------------------------------------------------------------------------------------------------------------------
 POST /non-existing                                                 2   2(100.00%)       5       4       6  |       5    0.00    0.00
--------------------------------------------------------------------------------------------------------------------------------------------
 Aggregated                                                         2   2(100.00%)       5       4       6  |       5    0.00    0.00

request failed
[2020-04-17 16:57:47,080] MacBook-Air.localdomain/INFO/locust.main: Time limit reached. Stopping Locust.
[2020-04-17 16:57:47,080] MacBook-Air.localdomain/INFO/locust.main: Shutting down (exit code 1), bye.
[2020-04-17 16:57:47,080] MacBook-Air.localdomain/INFO/locust.main: Cleaning up runner...
[2020-04-17 16:57:47,081] MacBook-Air.localdomain/INFO/locust.main: Running teardowns...
 Name                                                          # reqs      # fails     Avg     Min     Max  |  Median   req/s failures/s
--------------------------------------------------------------------------------------------------------------------------------------------
 POST /non-existing                                                 3   3(100.00%)       5       4       6  |       5    1.48    1.48
--------------------------------------------------------------------------------------------------------------------------------------------
 Aggregated                                                         3   3(100.00%)       5       4       6  |       5    1.48    1.48

Percentage of the requests completed within given times
 Type                 Name                                                           # reqs    50%    66%    75%    80%    90%    95%    98%    99%  99.9% 99.99%   100%
------------------------------------------------------------------------------------------------------------------------------------------------------
 POST                 /non-existing                                                       3      5      5      7      7      7      7      7      7      7      7      7
------------------------------------------------------------------------------------------------------------------------------------------------------
 None                 Aggregated                                                          3      5      5      7      7      7      7      7      7      7      7      7

Error report
 # occurrences      Error
--------------------------------------------------------------------------------------------------------------------------------------------
 3                  POST /non-existing: "CatchResponseError('Noooo, fail!')"
--------------------------------------------------------------------------------------------------------------------------------------------

Oh, right, I'm totally misremembering. It is possible to do the first thing I posted, just not the second one. For example, doing this:
def t1(self):
        with self.client.get("/", catch_response=True) as resp:
            resp.failure("foo")
            resp.success()

... will log two requests, one failure, and one success.

... and that is bad because it makes it hard to build a more advanced user (for example, one that does error checking, but allows the error to be overridden)

Ah, I see what you mean! Definitely agree. Only the last call to either success() or failure() should count.
I have a failing test for it now. I'll set up a PR.

Probably we should also change it from being a method call to being a property.

I don't think it they should be properties. I think it's useful to be able to pass a message to the failure() method.

PR submitted!


Removed the Redundant Castings and Unused Imports

Issue Reference: https://github.com/odk-x/tool-suite-X/issues/65
Small Description of Changes Performed:

Removed the Redundant Castings from a few files.
Removed the Unused Imports from a few files.

runtests


[WIP] Rename to Sentry

Codecov Report

:exclamation: No coverage uploaded for pull request head (feature/rename-to-sentry@00ffdfe).

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 be966d7...00ffdfe. Read the comment docs.


add runtime info (version)

New Compiler methods about compiler:

Compiler.version property (read from package.json)

Not sure about the compatibility table (imho it's too early to add something like this), but we could of course add the version to index.ts.

I think use compatibility for compare between different compilers in playground

I'd suggest to add this to the playground instead for now.

Ok. I leave only version property

Added this to index.ts. There is now assemblyscript.pkg holding the contents of package.json and assemblyscript.version referencing the version for convenience.

Hmm, I don't understand what you mean. I just simply close this PR and you are free to implement this if you don't mind

For reference:

https://github.com/dcodeIO/AssemblyScript/blob/master/src/index.ts#L20
https://github.com/dcodeIO/AssemblyScript/blob/master/src/index.ts#L25

ok, thanks!


vivado invocation logs

In our vivado rules, the command is:
command = export tempjou=$$(mktemp); export templog=$$(mktemp); cd $cwd && {{ utils_path }}/retry.sh {{ vivado_path }} -mode batch -journal $$tempjou -log $$templog -source $in >&- && mv $$tempjou $journal && mv $$templog $log

I'm wondering why we are putting the logs in a temp directory. It's a bit annoying because you can't look at them while they are running.
Also the logs are only copied over if the tool runs correctly...

@KeenanRileyFaulkner

We are doing this because we had issues at one point with multiple instances of vivado trampling each other's logs since they were all named the same thing. I don't know if that's still a problem, given the current setup of our build directory. As far as making sure they move over even if the command fails, can't we just change the last two && symbols into ;?

  However, I found a way to disable them.  https://support.xilinx.com/s/question/0D52E00006iI3HUSA0/how-to-disable-backup-log-and-jou-files?language=en_US

The link above seems to suggest that you just disable the logs from being created at all? Or are you referring to the comment about setting the parameter to 0 in the init tcl file?

Where is the init tcl file created?

You have to create it yourself in $HOME/.Xilinx/Vivado/init.tcl

Oh, ok. Now that I think about it, this is probably the main reason we were using temp files for the logs and moving them. I can just revert that, though, and the user can turn the backup files off on their own.

An alternative to this is to change the && chains on the vivado rule to ;. This would make it so that the log is still created as a temp file, but is moved over to the correct location even if the tool fails. You still wouldn't be able to watch the log as it is written, but you also would not have to deal with backup logs.


Image Cards fixed syntax error in comment

realized my original PR had a syntax error caused by a VS Code plugin replacing the * in a CSS comment with a _. Should be fixed now

Great catch, thanks


Move XFF demo code into the tool interface, instead of relying on an "external" link that gets out of date

This will probably need a new static page created specially for it, and should probably use the same template logic that the view-request page uses. Probably vaguely easy, with guidance.
The removal of the existing XFF demo can be done later.

Already done


Systemd service results in empty "exe" prometheus label

Bug description
When running using the provided (in packaging/linux/ubuntu) systemd service, the sandbox established by SystemD effectively prevents scaphandre from determining the "exe" label value (I suspect from /proc/<pid>/exe).
Running with root (without sandboxing) provides a value for the exe label for many processes.
To Reproduce

start the systemd service

Expected behavior
The exe label has a value for most processes.
Screenshots
Expected example:
curl -s 'http://localhost:8080/metrics' | grep -F 'scaph_process_memory_bytes' | sed -E '/exe=""/d' | wc -l
169

Actual example:
curl -s 'http://localhost:8080/metrics' | grep -F 'scaph_process_memory_bytes' | sed -E '/exe=""/d' | wc -l
3

...which essentially is something like this:
# HELP scaph_process_memory_bytes Physical RAM usage by the process, in bytes
# TYPE scaph_process_memory_bytes gauge
scaph_process_memory_bytes{pid="957",exe="/usr/local/bin/scaphandre",cmdline="/usr/bin/scaphandreprometheus--containers--port=8080"} 30650368

...so it only is able to determine the exe for itself, no other processes.
Environment
Arch Linux using Kernel 6.7.6-arch1-1

Hi,
To be sure to reproduce, having the exact same system would be better. Is there any chance you try a fork of this systemd service file for your Arch system, tweaking the service file, then feed this thread ?


After upgrading your SDK to 2.2.6 our app size grow more than 19mb

Recently we updated your SDK in Unstoppable Wallet, and our apk size grow more than 19mb. And its now a problem for us.
Check the screenshot

Hi @rafaelekol. Thanks for reaching out. The size of the SDK release v2.2.6 should be very similar to the size of v2.2.5. See Maven Central for comparison: https://repo1.maven.org/maven2/cash/z/ecc/android/zcash-android-sdk/.

What version SDK did you update from?

That's a valid question. However, the SDK size has grown relatively slowly over the last year.

@str4d We updated from 2.1.1. And since we build apk with all architectures, the increase was significant

In an upgrade from 2.1.1 to 2.2.6, you would have seen the size increase from us starting to bundle Tor in 2.2.0. The libtor binaries in your screenshot look like they add up to most of the observed increase.
We aren't going to remove Tor support or make it optional, but I would be interested to know what exactly goes into libtor and whether there's any functionality that we will never need that could potentially be feature flagged off in Rust.

Our wallet also using Tor library for secure connections. It seems that with latest Zcash our app gets 2 libtor.so.


docs: updated CLI code snippet with latest API reference

Fix: #5423
This commit updates the documentation with the latest API reference of Container-withDirectory.

A few things, I want to mention.
After updating the withDirectory the build was still failing. So followed the steps mentioned in the script locally and they failed too.
Therefore, I needed to below two lines consisting withWorkdir and withExec to have a successful build and export.