Feature/issues 376 esp32 c3 devkitc 02 riscv support

I've posted in #matrix, starting to map out the flow, 🙏🏻 asking for cooperation on planning and feedback.
see also:

https://github.com/esp-rs/esp-hal/pull/834
https://github.com/embassy-rs/embassy/pull/1978

https://www.espressif.com/sites/default/files/documentation/esp32-c3-wroom-02_datasheet_en.pdf
@MabezDev .. 🤔 from the datasheet:
ESP32-C3 has a 32-bit RISC-V single-core processor. It integrates a rich set of peripherals, ranging from UART,
I2C, I2S, remote control peripheral, LED PWM controller, general DMA controller, TWAI® controller, USB
Serial/JTAG controller, temperature sensor, ADC, etc. It also includes SPI, Dual SPI and Quad SPI
interfaces
as far as "this needs work" .. yep. chatgpt wrote that, it's a strawman to get feedback.  I gave it both a C3 and S2 data sheet and let it spit out a quick first draft.  At the last point I hadn't even found the esp-rs examples.  Yes - I'm probably the least qualified person to do this, but also a fresh set of eyes.
At a broader level - I'm trying to decide if it would be best to build an  "embassy_esp32" (in embassy) that abstract the differences & unifies the similiarties between the each esp32 HAL (like the embassy_stm32 does), with quick sketch to see the differences between supporting c3 / s2, .. or just build against a specific board for each HAL, and/or for risc-v + qemu, both for non-espressif boards (with espressif chips), and other embedded-rs risc-v silicon (i.e. siFive).
I would really appreciate your thoughts on this topic.

At a broader level - I'm trying to decide if it would be best to build an "embassy_esp32" (in embassy) that abstract the differences & unifies the similiarties between the each esp32 HAL (like the embassy_stm32 does), with quick sketch to see the differences between supporting c3 / s2, .. or just build against a specific board for each HAL, and/or for risc-v + qemu, both for non-espressif boards (with espressif chips), and other embedded-rs risc-v silicon (i.e. siFive).

The above comment is out of scope for a Drogue BSP package, its probably better to discuss this on the hal. With that said, eventually, it will be a unified hal, see: https://github.com/esp-rs/esp-hal/issues/446.


SCORM score and status problem.

Let's suppouse a 3 pages course. The second page is a Multiple Choice Question.
The Tracking Mode is "tracking of first pass".

Enter the course and go to the second page.
Answer the question correctly.
Go to the last page.
If we close now the couse, the status is set to passed and the score is 100.
Without closing the course, go back to the second page.
Go back to the first page.
Close the course.
The status is set to failed and the score is 0.

This issue is related to #434.
This can be fixed with PR #435.

The reason that I did not merged this yet, has to do with the suspend data.
The suspend data is intentionally not sent when the LO is completed. You don't need it anymore.
Would like to add the other fixes though. And because it doesn't hurt to det the suspend_data on completed, I will merge this requiest in.

Thank you for taking my PR into consideration. I saw you have already commited it.
Sorry for having joined two issues in one PR:
Let me try to explain better the suspend data issue.
When all pages of a course are visited and the course get status completed it is necessary to save the suspend data one more time, the last one, because otherwise the JSON data pages_visited is not updated to it's last value.
For example, in a 3 pages course with status completed, the suspend data **nrpages ** is 3 but pages_visited is 2.
This was causing the issue #489, if we enter again to the course and then close it, the status is changed to incomplete in function finishTracking because getSuccessStatus() returns incomplete (nrpages > pages_visited). This is wrong when tracking mode is "first pass".
Saving suspend_data with updated data when the course become "completed" fixes the problem.
Thanks !


Migrate to Python 3.10

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Changes taken from https://github.com/conda-forge/kwant-feedstock/pull/93

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

@akhmerov, you pinned both Matplotlib and Sympy in https://github.com/conda-forge/kwant-feedstock/pull/89.
It is not clear to me why exactly.
I removed the innings here to try to see whether the builds will pass.

@akhmerov, thanks for fixing 14.3! I have updated this PR.

@conda-forge-admin, please rerender

OK, this new failure is an absolute mystery :sweat_smile:

Hopefully, it goes away when restarting the CI 🥲


Alpha filter/leaky integrator time abstraction

Describe problem solved by this pull request
There are a lot of places using a simple alpha filter/leaky integrator of the form
y[n] = alpha * y[n-1] + (alpha - 1) * x[n]
The filter parameter alpha is always hard-coded and is lacking any time abstraction. Also there's code duplication around necessary checks to keep the state from getting NAN.
Describe your solution
I made a class LeakyIntegrator based on the prototyping script I used to evaluate here:
https://github.com/Auterion/Flight_Control_Prototyping_Scripts/tree/master/leaky_integrator
Test data / coverage
I added unit tests for the LeakyIntegrator class. I'll do battery filtering tests once I'm finished.

What about https://github.com/PX4/ecl/blob/master/EKF/AlphaFilter.hpp?

Good point. @bresch only told me yesterday after I had it that he worked on something silimar before. Thanks for the reference. We can probably merge them together.

I did not yet merge it with the AlphaFilter.

On the crazy_flie the battery update rate depends on the rate of incoming SYSLINK_PM_BATTERY_STATE messages via serial from the nRF chip. 🤷♂  I propose we assume the previously used 100Hz there.

ModalAI also has custom sensing, I'll fix it tomorrow.

As discussed with @bkueng I'll first merge the filters with ecl before this is ready for review 👍

I merged the two filters, here's the ecl pr: https://github.com/PX4/ecl/pull/794

I adapted and

https://github.com/PX4/ecl/pull/794 needs to be reviewed and merged first, then the ecl hash here updated
EscBattery was added in https://github.com/PX4/Firmware/pull/14490/ and the loop intervall depends on the publication rate of esc_status. Should I add a uORB intervall to fixate it?
Like e.g. here: https://github.com/PX4/Firmware/blob/0a2c48c69aabbcb9a290098bc324ef1872d87125/src/modules/mc_pos_control/mc_pos_control_main.cpp#L319

I updated ecl to the version just after merging https://github.com/PX4/ecl/pull/794
I implemented what I proposed in the second point of the last comment. Limiting the battery update rate to 100Hz presuming the ESC feedback is with equal or higher frequency. This needs to be tested.

I rebased on master and fixed the integer division issue. Tested in SITL, I'm planning to test this on a real-world vehicle the next time I go flying. @bkueng I consider it ready for review now.

It doesn't have to happen here, but I would pull AlphaFilter out so it's not technically part of ecl/EKF and then cleanup the dependencies and include path.

It doesn't have to happen here, but I would pull AlphaFilter out so it's not technically part of ecl/EKF

I originally had it separate in lib/ But almost the same existed and was used by ecl so where should it live in ecl but outside the EKF folder? We could do that immediately after.

I originally had it separate in lib/ But almost the same existed and was used by ecl so where should it live in ecl but outside the EKF folder? We could do that immediately after.

How about ecl/filters? Later I'll add a header only cmake target for ecl_filters so that we can limit the default include paths and make the dependencies work in minimal builds. Right now we're just getting lucky that other things in the system (like modules/ekf2) are initializing the submodule first.

Successfully bench tested and also flight tested in https://logs.px4.io/plot_app?log=67cd2a12-1f04-4bec-affe-2ff3db8b6417
I consider it ready to merge.


Sort delegateTo within infoblox ZoneDelegated

In order to avoid unnsescessary writes to infoblox, we need to have
target list sorted and predicted.
Signed-off-by: Dinar Valeev<EMAIL_ADDRESS>

E2E tested

looks greate but rebase required

@ytsarev rebased


How to use PPS mode?

The mining pool is PPLNS mode.How can I change it to PPS mode?

same question

How can I change it to PPS mode?

By adding PPS code to the payments module.


PV internal ID (metadata)

We need the followin metadata for both training and predictions of the ML data

ID, a unique number (across of supplies), starting from 0 and going up. The unique numbers from the pv data provider is too large, and might not be unique across of pv data supplier.
the capacity of the system.

Essenitall we need a map from provider id and provider too ocf_id and capacity
We could do this in a number of different ways
1. Database + API
Add ocf_id as a column to the database (this could go in the pv_system table). We would need to make sure that the development and production databases have the same value. Then we could add an endpoint to the API, where (provider, provider_id) --> (ocf_id, capacity). This information is not publicity sensitive, so we are ok with security here.
We perhaps would want a wrapper function around the api endpoint that we can easily use (this could be in nowcasting_dataset)
This solution is good because

it is scalable.
The values will be hard to change

This solution is bad because:

you need access to the internet.
need to think a bit about security of API

2. CSV
We could add a CSV to either nowcasting_dataset, or pv consumer with the following 4 rows: (provider, id, ocf_id, capacity). Then we could write a function to to go from (provider, provider_id) --> (ocf_id, capacity) very easily. I think this all sits quite well in nowcasting_dataset.
This is good because:

simple
the CSV can be version controlled.

This solution is bad because:

Needs access to where this is saved,

3. Cloud CSV
Like 2, but the CSV could be in the cloud. This means we don't have to worry about installing any extra repos.
This is good because:

don't have to instal on repo

This solution is bad because:

need access to the internet
need access to files

4. Hybrid

add ocf_id to database
add enpoint to api
add wrapper function to end point api, but saves file locally (somewhere), so that if there's no internet, it just loads the last one.

links:

https://www.quora.com/When-should-you-use-a-CSV-file-over-a-database

Agreed! A CSV sounds good to me! Thanks for thinking about the alternatives!


Readme

Hi @bgruening, @jfallmann;
here are some edits of the readme including the ref updates
The denbi logo got a little large; there is certainly a nicer way to put this...

Maybe this can help? http://stackoverflow.com/questions/24383700/resize-image-in-the-wiki-of-github-using-markdown

seems like the best idea to resize images in github markdown is using the html tag

Thanks @s-will!


Electron 205 - Allow user to set Downloads folder through Menu dropdown

Issue
Currently, with the electron wrapper, we don't have an option to download files onto a path that we want to. All the files are downloaded to the default download directory of the underlying OS.
This issue addresses the above problem by supporting a user to set the downloads directory specifically for electron.
Approach
We would be able to set the downloads directory through a menu option which opens a dialog through which we can select a directory and electron saves the path onto the user config file under the attribute "downloadsDirectory".
In case we don't have permission to set some directory, electron throws an error and we use the default downloads directory.
In case the directory is deleted by the user, we create that during the app startup everytime.

@VikasShashidhar @lneir Please review.


Add graph command for locations

I've already hung out with graph a bit, so I'll take this!

Sounds great! As always, let me know if you have any questions.

@andypearson are you still interested in working on this? If not I might try to knock it off this week.

I am, but life caught up with me. Feel free to do it first if you fancy, I'm not going to have time this week but should be back to pick a few things sometime soon!

Cool, thanks! I may try to work on other features first to give you more time here then.

This is no longer needed given #124.


How to get decrypted message as string?

dependencies:
  dart_pg: ^1.3.0

final decryptedMessage = await OpenPGP.decrypt(message, decryptionKeys: [params.myPrivateKey], verificationKeys: [publicKey]);
final text = decryptedMessage.???;

I figured out how to do it:
final text = decryptedMessage.literalData?.text;


Unable to pod install

Error
RuntimeError - Expected target or target_proxy, from which to fetch a uuid for target ''.Find and clear the PBXTargetDependency entry with uuid 'F4BDB20729B693CA00996FDB' in your .xcodeproj.
Command
/Users/Sandeep/.gem/ruby/3.1.2/bin/pod install

Report

What did you do?
pod install

What did you expect to happen?
pod install to be successful

What happened instead?
Failed with the following error

RuntimeError - Expected target or target_proxy, from which to fetch a uuid for target ''.Find and clear the PBXTargetDependency entry with uuid 'F4BDB20729B693CA00996FDB' in your .xcodeproj.
/Users/Sandeep/.gem/ruby/3.1.2/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/target_dependency.rb:62:in `native_target_uuid'
/Users/Sandeep/.gem/ruby/3.1.2/gems/xcodeproj-1.21.0/lib/xcodeproj/project.rb:610:in `map'
/Users/Sandeep/.gem/ruby/3.1.2/gems/xcodeproj-1.21.0/lib/xcodeproj/project.rb:610:in `block in host_targets_for_embedded_target'
/Users/Sandeep/.gem/ruby/3.1.2/gems/xcodeproj-1.21.0/lib/xcodeproj/project.rb:608:in `select'
/Users/Sandeep/.gem/ruby/3.1.2/gems/xcodeproj-1.21.0/lib/xcodeproj/project.rb:608:in `host_targets_for_embedded_target'
/Users/Sandeep/.gem/ruby/3.1.2/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:356:in `block (2 levels) in analyze_host_targets_in_podfile'
/Users/Sandeep/.gem/ruby/3.1.2/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:355:in `each'
/Users/Sandeep/.gem/ruby/3.1.2/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:355:in `flat_map'
/Users/Sandeep/.gem/ruby/3.1.2/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:355:in `block in analyze_host_targets_in_podfile'
/Users/Sandeep/.gem/ruby/3.1.2/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:354:in `each'
/Users/Sandeep/.gem/ruby/3.1.2/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:354:in `analyze_host_targets_in_podfile'
/Users/Sandeep/.gem/ruby/3.1.2/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:467:in `generate_targets'
/Users/Sandeep/.gem/ruby/3.1.2/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:127:in `analyze'
/Users/Sandeep/.gem/ruby/3.1.2/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:416:in `analyze'
/Users/Sandeep/.gem/ruby/3.1.2/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:241:in `block in resolve_dependencies'
/Users/Sandeep/.gem/ruby/3.1.2/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section'
/Users/Sandeep/.gem/ruby/3.1.2/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:240:in `resolve_dependencies'
/Users/Sandeep/.gem/ruby/3.1.2/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:161:in `install!'
/Users/Sandeep/.gem/ruby/3.1.2/gems/cocoapods-1.11.3/lib/cocoapods/command/install.rb:52:in `run'
/Users/Sandeep/.gem/ruby/3.1.2/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/Users/Sandeep/.gem/ruby/3.1.2/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:52:in `run'
/Users/Sandeep/.gem/ruby/3.1.2/gems/cocoapods-1.11.3/bin/pod:55:in `<top (required)>'
/Users/Sandeep/.gem/ruby/3.1.2/bin/pod:25:in `load'
/Users/Sandeep/.gem/ruby/3.1.2/bin/pod:25:in `<main>'

Stack
   CocoaPods : 1.11.3
        Ruby : ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin21]
    RubyGems : 3.3.7
        Host : macOS 13.1 (22C65)
       Xcode : 14.3 (14E222b)
         Git : git version 2.39.2 (Apple Git-143)
Ruby lib dir : /Users/Sandeep/.rubies/ruby-3.1.2/lib
Repositories : cocoapods - git - https://github.com/CocoaPods/Specs.git @ e2a7a88e0839c19fdaf525b5c67a47eb291f34b8
               trunk - CDN - https://cdn.cocoapods.org/

Plugins
cocoapods-deintegrate : 1.0.5
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.1
cocoapods-trunk       : 1.6.0
cocoapods-try         : 1.2.0

Thanks for reporting! We looked into this but haven't been able to reproduce yet on a new clone of the repo.

Is your problem resolved? I have the same problem and have not resolved yet

We just switched to building entirely with SPM so there aren't any project files and no need to pod install, so if you pull the latest main the step that caused this issue is no longer relevant


Very cool, couple of additional ideas

This is great! I've been looking for something like this for quite a while. I have two suggestions:

Output results in yolo format similar to RectLabel:
https://rectlabel.com

Allow for inference from a live video feed:
https://developer.apple.com/documentation/vision/recognizing_objects_in_live_capture
a. webcam for testing purposes
b. video capture card BMD deckling and ultrastudio:        https://www.blackmagicdesign.com/products

Allow use to select how often inference is run on video, i.e., perhaps instead of running on all frames a user could select 1 frame per four seconds, etc.

Hi, thanks for the suggestions.
I'll try to improve the app during the weekends with these in mind.


Update to DisCatSharp & bump to 9.6.1

Key Features
Full Thread support
Sticker support
Full Stage support
Native implementation of SlashCommands (still missing permissions)
Twerks around DiscordMember/DiscordUser like IsInGuild & IsNotInGuild

@nathan130200 @Animadoria ^^

You probably should rename the repo

New lib description and link:

DisCatSharp: https://dcs.aitsys.dev/
DisCatSharp NuGet: https://nuget.dcs.aitsys.dev/
DisCatSharp Docs: https://docs.dcs.aitsys.dev/
DisCatSharp Examples: https://examples.dcs.aitsys.dev/(edited)
Message #📑・information

@nathan130200
New lib description and link:

DisCatSharp: https://dcs.aitsys.dev/
DisCatSharp NuGet: https://nuget.dcs.aitsys.dev/
DisCatSharp Docs: https://docs.dcs.aitsys.dev/
DisCatSharp Examples: https://examples.dcs.aitsys.dev/(edited)


Integrate write_to_db from State to provider

Comment from here: https://github.com/paradigmxyz/reth/pull/3512#discussion_r1311308380

the naming is very confusing to me, because writing reverts results in wiped storage, because this does not actually write anything and instead deletes?

I inherited this, can bikeshed a little on this, should be fruitful.
little history, this pattern was used when we still were not sure how to handle Provider and needed to decide on the pattern for how to write things to the database. At that point in time this was one of the promising paths that we had.
What we have decided and have now is @joshieDo had split the Provider with the traits so I think this should be moved there and have BundeStateProvider trait that will have commit_state(bundle: State) and commit_reverts(reverts:Reverts). This feels nicer imo and it shouldn't be a big change.

Hi,
I would like to work on it but it's not clear for me what is the required work to be done.
I mean, what I understand from the comments is:

create a new BundleStateProvider trait (maybe inside state.rs file)
that trait should have commit_state(bundle: State and commit_reverts(reverts: Reverts) functions.

But then I don't understand how to split the write_to_db function into this trait.


🔧 Set webpack as peerDependencies

Closes #55.
Related to https://github.com/zeit/next.js/issues/2339.

Opened PR on wrong repo...oops


Feature Request: Category 3D markers icons.

Category 3D marker icons (cars, trucks ...)

You have to explain what you mean by that.

Markers shows as 3d vehicles. Some customers likes to see their car as a 3d car and owners of trucks like to see horse and trailer and smaller trucks as different 3d image to see what kind of truck is where and then go into detail.
More detailed category images to choose from as well.

Any screenshots of what you want it to look like?

https://image.freepik.com/free-vector/cars-collection-in-top-view_23-2147514134.jpg

How is that a 3D?

Sorry :( saw this on another paid tracking app and looked good.

There is no plan to change current icons, but you can always replace them with whatever you want. Just make sure they are in the same format and have same IDs inside.


Find-Dbadisabledindex - couple of fixes to function, added tests

Type of Change

[X] Bug fix (non-breaking change, fixes #)
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[X] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[X] Adding code coverage to existing functionality
[X] Pester test is included
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose

Fixed ScriptAnalyzer error around ShouldProcess, before this PR -WhatIf still returned the results
Fixed capitalization of parameter names, i.e. sqlcredential --> SqlCredential
Changed connect block to match template
Changed a couple of messages from 'output' level to 'verbose'
added tests

Screenshots

thank you! failed on another test


Response for ToolUse in CreateResponseMessage

Thanks for your anthropic client. I assume, you left out tool calls for your client.
When you provide tools for claude to use, the response content will not contain a "text" attribute, but the attributes for the tool, therefor "id", "name" and "input". This will break your implementation:
`?php
namespace Anthropic\Response;
final class CreateResponseMessage
{
private function __construct(
    public readonly string $type,
    public readonly string $content,
) {
}

public static function from(array $attributes)
{
    return new self(
        $attributes['type'],
        $attributes['text'],
    );
}

public function toArray()
{
    return [
        'type' => $this->type,
        'content' => $this->content,
    ];
}

}`
Here is the OpenAi PHP CreateMessageResponse equivalent:
https://github.com/openai-php/client/blob/main/src/Responses/Chat/CreateResponseMessage.php

I haven't implemented the tool call yet. Feel free to create a pull request to implement it.


参考官网在cmake编译时出错了

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS"
Python 3.6.8 (default, May  7 2019, 14:58:50)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.

root@d32d19b49eca:/opt/Dragon7801/Dragon/Dragon/build# cmake ..
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- 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: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /usr/bin/python (found version "3.5.2")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.5m.so
-- Found NumPy: /usr/local/lib/python3.5/dist-packages/numpy/core/include (found version "1.15.4")
-- NumPy ver. 1.15.4 found (include: /usr/local/lib/python3.5/dist-packages/numpy/core/include)
-- 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
-- Found CUDA: /usr/local/cuda (found version "9.0")
-- C++11 support has been enabled by default.
-- Use Python3 [Optional]
-- Use CUDA [Optional]
-- Use CUDNN [Optional]
-- Use OpenMP [Optional]
-- Generate Proto Files (ref: /opt/Dragon7801/Dragon/Dragon/src/proto/dragon.proto)
-- Generate Proto Files (ref: /opt/Dragon7801/Dragon/Dragon/src/proto/caffemodel.proto)
-- Generate Proto Files (ref: /opt/Dragon7801/Dragon/Dragon/src/proto/onnx.proto)
-- Found Python Module: /opt/Dragon7801/Dragon/Dragon/modules/python
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:
CUDA_cublas_LIBRARY (ADVANCED)
linked by target "dragon_python" in directory /opt/Dragon7801/Dragon/Dragon/modules/python
CUDA_curand_LIBRARY (ADVANCED)
linked by target "dragon_python" in directory /opt/Dragon7801/Dragon/Dragon/modules/python
-- Configuring incomplete, errors occurred!
See also "/opt/Dragon7801/Dragon/Dragon/build/CMakeFiles/CMakeOutput.log".
See also "/opt/Dragon7801/Dragon/Dragon/build/CMakeFiles/CMakeError.log".

Your cuda environment is not configured correctly. Check again.
Close this issue.


Config YML and CDX Check

Added new check for Archive.org CDX that checks for the most recent version of the highest quality version video thumbnail available
Converting config.py to yml format and add ability to toggle all finder checks not just two. Also now will list all the enabled method names on the index page

Ugh, GitHub is refusing to un-mark it as merged, even after a force-push...
PR was fine, just would have been more organised to put 6d764b62262d4a548352dacc963ba010bb1b1873 as a part of it. :/
Thanks for the PR!


defaults for saved query name and description

This PR adds default values into the name and description columns during saved query creation. These values will populate the form when it is opened and can be replaced by other values by the user.
This also fixes an issue with markdown inputs not displaying correctly in the saved query popup that hasn't been encountered yet.

I added chaise config properties for the thresholds, added an explanation in the code for the default name/description, and added chaise config documentation. We can decide on the chaise config property names with hongsuda in chaise meeting.

Closing this pull request since #2134 also includes changes for saved query functionality and is based off of this branch.


change one import name

Problem
When I import dual_path_network in my own code,the code raises the bug:
ImportError: cannot import name '_obtain_input_shape'

So I find the wrong place.In the  29 line of dual_path_network.py:
from keras.applications.imagenet_utils import _obtain_input_shape

Solution
I try to use ' keras_applications ' to replace ' keras.applications '.Its work!The all replacement of the 29 line is:
from keras_applications.imagenet_utils import _obtain_input_shape

The reason is that in keras 2.2.2, the keras.applications.imagenet utils module no longer has the _ obtain_ input _shape method.
I shown this problem in issue last month, but no one reply me. So I pull request.

Thanks for sending the pull request. Been busy with moving last month so didn't get time. Much appreciated !


JOAD: Past pinshoots have dissapeared

Describe the bug
The list of past pinshoots have dissapeared. See the photo.
Expected behavior
Previously, past pinshoots were listed with the current and upcoming shoots. These have dissapeared. I like the uncluttered table, but a link below the table to a list of past pinshoots should be included so we can maek pins received for past shoots when a parent pays late.
(Side note: it would be nice if past JOAD sessions also had la link below thebsessions table so the main table only shows current and future sessions.)
Screenshots

made views for past sessions as well as past events and added links for them.


DDEV Integration entered unknown state

Is there an existing issue for this?

[X] I have searched the existing issues

Are you sure that this bug is related to this DDEV Integration Plugin?

[X] I am sure

Enter your error report ID (If available)
No response
Describe the bug
After having PHPStorm minimized for some time, I reopened the window and the error message popped up.
Clicking on "Sync DDEV State" did not fix the issue.
Steps to reproduce

Minimize PHPStorm with a project using DDev.
After a while, reopen the project.
View error.

Additional context
No response

Did you review open issues and look for solutions there before opening this?
https://github.com/php-perfect/ddev-intellij-plugin/issues?q=is%3Aissue+is%3Aopen+"unknown+state"

@kdborg, this is a known issue that can have various causes, its hard to find one solution for this.
Please see the issue @rfay has linked.
Closed as duplicate.


feat: support Bitcoin P2PKH (legacy), P2SH, P2TR address types

Description
Currently we only support sending to P2WPKH address.
Need to support others.
WIP:

[x] backport AddressTaproot type that fulfills the btcutil.Address interface
[x] add P2TR output
[x] add P2PKH output
[x] add P2SH output
[x] add P2WSH output
[x] read P2TR sender
[x] read P2SH sender
[x] read P2PKH sender
[x] read P2WSH sender

Closes:
1626
1627
1773
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Include instructions and any relevant details so others can reproduce.

[ ] Tested CCTX in localnet
[ ] Tested in development environment
[x] Go unit tests
[ ] Go integration tests
[ ] Tested via GitHub Actions

Checklist:

[ ] I have added unit tests that prove my fix feature works

This PR is ported to v16.0.0 https://github.com/zeta-chain/node/pull/1942


Enhancing music downloader with the inplementation of icons to control the download processes, set ringtones and save downloaded mp4 and 3 files.

Components
Music downloader is an app used to convert YouTube videos to an MP3 file. It can stream and download YouTube videos. The app has many features. You can download videos or convert to MP3 files at the click of the right button. Some components are listed below.

Play video: Stream video from YouTube

Download MP3: Convert YouTube video to MP3

Download MP4: Download YouTube videos

Add to checklist: This feature makes it easy to download multiple videos at a go

Open video: It directs you to YouTube and opens the video for you to stream.

Open channel: It opens the artists YouTube channel where you can see all their uploaded videos from the beginning.

Copy link: It copies the YouTube link to a particular song

Share: You can share the YouTube link of videos on social media.

All these features are fantastic. However, these new ideas will further enhance the user’s experience in downloading processes, and the creation of a folder to store songs.
Proposals
Pause, resume, or stop download
I love video downloader, and I appreciate everything about it. However, the download system needs some touches. Once a download is initiated, it completes the action in a twinkle of an eye.  As nice as this is, it sometimes affects the app’s usage. I don’t have control over the downloading processes.  This  feature will enable users to control the download processes
Save downloaded music
If I want to access all the converted, or downloaded YouTube videos, I would have to visit my phone gallery. This limits the functions the app can perform. To make music downloader more unique, users should see all the videos they downloaded and converted from YouTube on the app.
Set downloaded songs as ringing tone
This feature if implemented would allow users to set any downloaded music of their choice as a ringing tone. Once the app is able to have all downloaded song stored in the app, coming up with the ringing tone feature will be easy. Clicking on any desired song will pop up a set as ringtone  option.
Mock ups / Examples
The image below shows the look of the app before adding the proposed features.

The pause and stop feature.

A single button works as pause and resume.
The third image shows the saved downloaded MP4 AND MP3 videos.

Setting songs as ringing tone images

Benefits
The pause, resume, and stop feature will allow users to pause and resume downloads at any time. Also, if a user wants to stop the download, he can simply press the stop button to alt the continuation. It makes the download processes more flexible.
The save downloaded music will allow users to locate and play their music desired through the app. The MP3 and MP4 downloaded files would be accessible in one place. There will be no mix up with other videos or audio files as they have their own folder in the app.
Set downloaded songs as ringtone will also add to the app’s uniqueness. User will be able to set any song as ringtone directly via the app.
Thank you.

Thanks for those ideas, they are all nice to hear :)
Nevertheless, I wanted to keep the app minimal and clean as much as possible, in order to achieve the best possible UX.
Consequently:

You can already pause, resume and cancel a download, since the app relies on the default android download manager and in theory (Depending on the vendor implementation) you access those functions via the notification center
Creating a specific function to set as a ringtone some songs would be (in my view) an useless overwhelm to the general experience
I don't know about the files dialog, as it would just be a mirror to the default MusicDownloader directory and it would not work if the user moves the files away, but it can be a nice touch to have

Thanks for the detailed issue, please feel free to make any others if you have more ideas :)


Does it support onCharacteristicChanged?

I read doc and haven't find onCharacteristicChanged.Does it support onCharacteristicChanged?

Yes it does. See https://github.com/Polidea/RxAndroidBle#change-notifications

I overlooked it.

i can't understand lambda, can you help to transform to normal

Lambdas are just a syntax sugar. You can read about them here: https://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html
You can find a lot of articles about lambdas on the Internet. ( https://blog.idrsolutions.com/2014/10/5-minutes-explanation-java-lambda-expression/ )
Long story short - instead of writing boilerplate in anonymous implementation of the interfaces with only one method / function you use lambda which is shorter to write.


Fix closed issues link

Overview
Just a small change to documentation - the "closed issues" link in our CONTRIBUTING.md erroneously linked to closed files with the enhancement label - of which there actually aren't any.

 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.


⚠ Bofrost.fr has degraded performance

In 9c7fece, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1655 ms

Resolved: Bofrost.fr performance has improved in 4d68d34.


Enable Verilator tests in CI

Verilator tests pass locally, but fail in CI. Would like to track this down someday, but the logs/reporting of our CI jobs make it very difficult.

Enable better logging / reporting of runs
Figure out why tests are failing
Re-enable tests

I believe this should be resolved now from: https://github.com/black-parrot/black-parrot/pull/457 and https://github.com/black-parrot/black-parrot/pull/461.
As of https://github.com/black-parrot/black-parrot/commit/cd949112f849edc1a102fdde71375d156fa55798, CI is running with top-riscv-verilator job enabled, and passing: https://gitlab.com/black-parrot/black-parrot/pipelines/141232847
Next step is to try re-enabling verilator jobs for multicore, beebs, and coremark.

Oh yeah, those all pass.  I ran them manually on the last job, so we can reenable whenever

See: https://github.com/black-parrot/black-parrot/pull/465

fixed by #465


Allow for setuptools to automatically discover new modules under src/matrix_common

While trying to add a Python module at src/matrix_common/types, I ran into the issue that pip install -e . would not actually find the new module! This would result in calls to tox -e py to fail as my new module wouldn't be included in the source distribution of matrix_common (which tox builds and installs when creating its own virtualenv for testing). My tests needed to import from this new module in order to test it.
So, running down the rabbit hole of python packaging I eventually found that our existing setup.cfg was not making use of setuptools' autodiscovery features, but instead required manually specifying each package. See the documentation here.
Adding my new module to packages indeed worked, but as the documentation says, it is tiresome and likely going to confuse new contributors as it did me.

This PR removes the package_dir and packages options in setup.cfg to allow setuptools to switch to Automatic Discovery mode for packages; specifically the one for src-layout.
With this, running pip install -e . allowed my src/matrix_common/types module to be discovered and my tests which import the module to pass with when running tox.
Related: https://github.com/matrix-org/matrix-python-common/pull/23 (which moved us to a src-based file hierarchy initially).

3.6 is end of life. Let's drop it.

CI passes against Python 3.7+ :tada:


Enhanced Shaman's Mastery, It seems to be unable to display normally.

My 70 Level Enhanced Shaman be unable to display Mastery. But other Stats is work.

I just put a fix in for the 11.0.2 update which fixed the GetSpellInfo and gsub errors which were causing Mastery to not be displayed. It should be working with v1.6

I installed the latest version, but the problem is still.
I heard that the shaman that my friend (level 61) is display normal, but I can't display it normally.(level 70) I don't know why？

I installed the latest version, but the problem is still. I heard that the shaman that my friend (level 61) is display normal, but I can't display it normally.(level 70) I don't know why？

Are you getting an error or can you post a screenshot? I just checked on my Enhancement Shaman and it's displaying correctly for me

The left is Haste, normal display, and the right is Mastery.

Ah ok - I wonder if its something with the locale that is making it not work for mastery? I will try and see if I can reproduce it locally. Are you using the zhCN locale?

No, is zhTW (Traditional Chinese - Taiwan)

Is that the full tooltip that you sent in the picture? I believe the first line should contain something like "精通：强化元素" and the addon finding that text is what identifies it as the Mastery tooltip and adds the True Rating / Lost Rating / Progress Bar. If it isn't found, it wouldn't display the info
This screenshot is from the Live WoW Client (<IP_ADDRESS>110) right?
I might have also figured out how to have the addon tie directly into the paperdoll frame instead of scanning tooltips so that might fix the issue once it is implemented. That will involve rewriting some of the addon though to remove the tooltip scanning

Very strange, a friend of my friend uses simplified Chinese client (zhCN), it is normal, and the text that display is different from me.

I found the reason, the culprit is a WA：https://wago.io/bRl2gJIgz
After I stop the wa and RL, the display is normal.


Optimise reverse_byte_order/1

The reverse_byte_order/1 function was not especially quick. In an Ecto postgres query with a large number of geo fields, it ended up taking a significant percentage of the total time. I have some fprof files if you're interested in details, but the short version is that this change reduced the time to process the geo fields on 2000 objects (running under fprof, so the times are larger than they would otherwise be) from 1358ms to 142ms for the same query (the first value represented 42% of the total query time).

Awesome! thanks!


Update to rom core 6.0

This is an internal change which upgrades plugins and related code to use new or improved core APIs from rom 6.0.0.

🎉

Great work @solnic !


iOS TextField bugs

https://github.com/JetBrains/compose-multiplatform/issues/2984
https://github.com/JetBrains/compose-multiplatform/issues/2682

https://github.com/JetBrains/compose-multiplatform/issues/3102

https://github.com/JetBrains/compose-multiplatform/issues/2752
https://github.com/JetBrains/compose-multiplatform/issues/2794

https://github.com/JetBrains/compose-multiplatform/issues/3116
https://github.com/JetBrains/compose-multiplatform/issues/2735

https://github.com/JetBrains/compose-multiplatform/issues/2988
https://github.com/JetBrains/compose-multiplatform/issues/2991
https://github.com/JetBrains/compose-multiplatform/issues/3104
https://github.com/JetBrains/compose-multiplatform/issues/3098
https://github.com/JetBrains/compose-multiplatform/issues/3096
https://github.com/JetBrains/compose-multiplatform/issues/3128
https://github.com/JetBrains/compose-multiplatform/issues/3242
https://github.com/JetBrains/compose-multiplatform/issues/3101
https://github.com/JetBrains/compose-multiplatform/issues/2964
https://github.com/JetBrains/compose-multiplatform/issues/3276
https://github.com/JetBrains/compose-multiplatform/issues/3621
https://github.com/JetBrains/compose-multiplatform/issues/3416
https://github.com/JetBrains/compose-multiplatform/issues/3101
https://github.com/JetBrains/compose-multiplatform/issues/3473
https://github.com/JetBrains/compose-multiplatform/issues/3856
https://github.com/JetBrains/compose-multiplatform/issues/3276
https://github.com/JetBrains/compose-multiplatform/issues/3103
https://github.com/JetBrains/compose-multiplatform/issues/2987

I think this one is related to some of these issues but not directly covered by any of them: https://github.com/JetBrains/compose-multiplatform/issues/3242

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Typo for profile stat variable ore_mined

The variable should be ores_mined

Welp, I didn't see this before replying to the last post, my bad! I've fixed the typo, and it'll get updated soon!


FIX import error in utils displayed

The import error for files in a benchmark utils were not displayed, which leaded to cryptic errors:

This PR makes it much clearer:

closes #436

Now I remember why I did it in the other way around :) (cf #458)
In this order, this breaks the import of submodules....


Add option for a Post to be marked Public

To determine whether a post should be public or only visible in communities shared to.

Only logged in users can create posts.

New posts must be posted in at least one community before they can also be selected as public.

There is a "Public" community that these posts are added to.

This option is available for All post types

[ ] Add field to Post Editor to select Public in the communities dropdown

[ ] Style indication on posts of public vs private @brodeur

Depends on https://github.com/Hylozoic/hylo-node/issues/466

Waiting for styles from @brodeur on Style indication on posts of public vs private
@tibetsprague re Should we only add this to requests and offers or to discussions too? I think this should apply to all post types. Sound good?

one question that has come up is around where/how people can see public posts. Can they only see them in the map, and thus only posts that have a location? or is there also a stream view that shows all public posts anyone has posted anywhere in Hylo?

Another concern is around moderation. Since we dont have a solid moderation system/plan yet there is a concern about inappropriate content being spread by trolls. we can mitigate this by requiring all posts to be sent to at least one community the person is a member of before it can be made public (which is currently already the case), then the community would handle moderation. however someone could create their own community and post publicly from there. perhaps we require people to post to a community that has at least 10 people in it? that would be a good way to start

Questions for MVP:

Do we only show public posts in map view or do we have a public post feed view too?
if only on map then do we only allow people to make posts public if they have a location?
Do we require a post to go to a community that has a minimum # of people before one can post publicly?

And posts without locations can also be public since we now have a public stream view


Show the login status

User can login using platformatic login (and MUST login to see all the private stackables).
Meraki must show this status so the user can understand this
Check if deisgn is already done.

@marcopiraccini the design is on Figma. With Luca, we identified 3 user states:

Offline:

Log Session Expired:

Online:

For both "Offline" and "Log Session Expired" statuses, we might need to disable the Organization field. Also, for those statuses, we also need to discuss if the button "platformatic login" is clickable, if yes decide the outcome.
CC: @tonysnowboardunderthebridge

On this, @tonysnowboardunderthebridge we will define an checkLogin API on main returning a status: OK, EXPIRED, INVALID.
About "invalid" @Fmusso94 this will really mean that there is no auth token, so we might use another label to express that login hasn't been done.


ImportError: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory

Run into this problem when doing default bioconda install:
(base) millerh1@DESKTOP-D6G0FNB:~/RLPipes$ conda activate rlpipes2
(rlpipes2) millerh1@DESKTOP-D6G0FNB:~/RLPipes$ python
Python 3.9.10 | packaged by conda-forge | (main, Feb  1 2022, 21:24:37)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pysam
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/millerh1/miniconda3/envs/rlpipes2/lib/python3.9/site-packages/pysam/__init__.py", line 5, in <module>
    from pysam.libchtslib import *
ImportError: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory

For the bioconda install in a fresh env, it's using pysam=0.9.1
This is fixed by upgrading to pysam=0.17.0
(rlpipes2) millerh1@DESKTOP-D6G0FNB:~/RLPipes$ python
Python 3.9.10 | packaged by conda-forge | (main, Feb  1 2022, 21:24:11)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pysam
>>>

Recommended fix: find and pin minimal version for bioconda recipe.

Fixed by pinning reqs to pysam>=0.17.0


Merge branch 'python-setup' of github.com:IObundle/iob-soc into python-setup; Update submodules.

Merge branch 'python-setup' of github.com:IObundle/iob-soc into python-setup
Update submodules and iob_soc_sut_setup.py accordingly

Check commit log for details

why checks fail ?


657 DaphneLib implement indexing

This PR closes #657  and makes right and left indexing available on matrices in DaphneLib.
Features:

Use right indexing to access specific slices or indexes of a matrix
Assign a value to  specific slices or indexes of a matrix using left indexing

Changes:

Script-level test cases are added in test/api/python/, ensuring that execution works as expected.
Add __getitem__ and __setitem__ built-in functions for matrices in DaphneLib.
Update the DaphneLib document in  doc\DaphneLib\Overview.md  to add indexing.
Update OperationNode in src\api\python\daphne\operator\operation_node.py to generate the special DaphneDSL syntax for left indexing

Thank @pdamme for your assistance.
To fix the problem related to the left indexing, I have made some changes based on your approach as below:

Add a new attribute consumer_list to OperationNode class to store consumers of the Node
Add a new method update_node_in_input_list to OperationNode class to update the current node in unnamed_input_nodes
In __setitem__, replace all occurrences of the current DAG node in the unnamed parameters of the consumers of the current DAG node, with the newly created copy node


Feat: Implement CHES email notification

#1148

secrets can be found here.
lcfs-email-service-dev
note: view component is only for testing.

Just want to make sure we are good with a new ENV var pattern.

Thanks @dhaselhan , as per your suggestion modified the code, please review it.


test ingest of large folder of images and pdfs

test backend

Tested batch of 55 pdfs.  Transfer/ingest/import worked as expected.


set add_prefix_token to true by default

What does this PR do?
This PR shows the changes needed to set the default behaviour to add_prefix_space to True. I think this should be the default behaviour as 1) it is what is proposed in the authors' code and 2) it is the most logical for decoding.
I even wonder if we shouldn't just support this behaviour (add_prefix_space=True)
Locally I only have one test (not slow) that doesn't pass - test_batch_encode_dynamic_overflowing - which was already failing before.
Let me know what you think :blush:

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Thanks a lot for your changes!


Membership.contribution_type should not allow blank values

Look at models.py:
class Membership(models.Model):
    ...
    CONTRIBUTION_CHOICES = (
        ('financial', 'Financial'),
        ('person-days', 'Person-days'),
        ('other', 'Other'),
    )
    contribution_type = models.CharField(
        max_length=STR_MED, blank=True,
        choices=CONTRIBUTION_CHOICES,
    )

That means that contribution_type can be blank. @gvwilson Is it intended?

It shouldn't be blank - "other" covers that case.


Added awareness scheduling strategy for AllReduce and Ring AllReduce.

…topologies to optimize network overhead.

Ⅰ. Describe what this PR does
Added awareness scheduling strategy for AllReduce and Ring AllReduce topologies to optimize network overhead.

For the Ring Allreduce topology, it is divided into several segments according to the index, and the POD on each segment is assigned the same label, and then scheduled to the corresponding node;
For the AllReduce topology, use the greedy strategy, first determine the node label of the Server, and then increase the corresponding affinity of other PODs, so that these PODs are scheduled to this node as much as possible.

II. Does this pull request fix one issue?

NONE
III. Special notes for reviewers if any.

Codecov Report

Merging #271 (ccca918) into develop (e6991a6) will increase coverage by 0.31%.
The diff coverage is 76.08%.

@@             Coverage Diff             @@
##           develop     #271      +/-   ##
===========================================
+ Coverage    30.69%   31.00%   +0.31%
===========================================
  Files          100      100
  Lines         6673     6719      +46
===========================================
+ Hits          2048     2083      +35
- Misses        4341     4349       +8
- Partials       284      287       +3

Flag
Coverage Δ

unittests
31.00% <76.08%> (+0.31%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/job_controller/pod.go
35.32% <76.08%> (+5.82%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Promote CowData to 64 bits

Fixes a lot of bugs, please help me fill the list.
< I welcome the 64 bits overlords >
 ---------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

After this is merged, other areas of the engine can be fixed, such as Image, which also uses 32 bits offsets and causes crashes in some reasonable scenarios (such as baking lightmaps), but it depends on this one. Serialization also may need to be fixed.

Would fix https://github.com/godotengine/godot/issues/45296 and https://github.com/godotengine/godot/issues/54679 for sure.

Note that this requires _get_alloc_size to be updated unless we still treat this as having a capped size in the 32 bit range, as it only handles 32 bits, next_power_of_2 needs to be updated
Also needs a godot-cpp companion

I changed to use a typedef for the size, depending on compiler, so it remains 32 bits on 32 bit platforms.

@AThousandShips regarding GodotCPP, I am not certain if something has to change on that side.

It does, it redeclares the type, unless we're okay with lack of parity over there

@AThousandShips ah I completely forgot we strive to use the same syntax in GodotCPP than in Godot modules.. Will have to ask @bruvzg to lend a hand changing the code there once this one is merged.
So I guess this PR is "kind of" compat breaking.. though it likely only affects GodotCPP, not the rest of the extensions.

Thank God. I haven't tested yet, but will link up related issues. Lack of 64-bit resources is a problem for Terrain3D users with big terrains.
So hopefully this will fix our issue, crashing when saving large terrains in a >1gb resource file.
https://github.com/TokisanGames/Terrain3D/issues/159
And Godot issue https://github.com/godotengine/godot/issues/62585
Possibility superseding or related to PRs
https://github.com/godotengine/godot/pull/74582
https://github.com/godotengine/godot/pull/77306

While changing the size values of String might be risky because it's exposed (granted so is Vector, indirectly), VMap and VSet uses Vector internally, should we unify all data structures using these sizes at least the non-exposed ones?

As long as the iteration cases aren't broken it should be safe enough

This is now ready to merge.
It is to note that this PR will break GodotCPP GDextension compatibility, yet again.
This is an unfortunate consequence of the fact that GodotCPP accesses internals it should technically not for the sake of being compatible with modules. We should maybe consider having a different set of bindings, or do some things in GodotCPP different to avoid this scenario.

There's a MSVC warning to fix:
Error: .\core/templates/ring_buffer.h(200): error C2220: the following warning is treated as an error
Warning: .\core/templates/ring_buffer.h(200): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)

And the "Test project converter" in the C# build fails with a C# stacktrace:
https://github.com/godotengine/godot/actions/runs/7472530025/job/20334943529?pr=86730
But I don't know if it's actually due to a C# issue, or just a Godot error that would happen on a non-dotnet build with just a different error (that project converter test is only run on the "Editor w/ Mono" Linux build).
The test is just this, so this can be attempted locally to see if the error is reproducible:
mkdir converter_test
cd converter_test
touch project.godot
godot --headless --validate-conversion-3to4
cd ..
rm converter_test -rf

cc. @Bromeon @dsnopek

Would suggest running with -k on windows if you can to catch all the cases as there's likely many

I haven't used MSVC to compile in an eternity, will check during the week.

It is to note that this PR will break GodotCPP GDextension compatibility, yet again.
This is an unfortunate consequence of the fact that GodotCPP accesses internals it should technically not for the sake of being compatible with modules. We should maybe consider having a different set of bindings, or do some things in GodotCPP different to avoid this scenario.

I don't think this is exactly true.
It will only break godot-cpp, if godot-cpp is interacting with a String or Packed*Array or similar, that has more items than a 32-bit index can access. It isn't actually accessing any internals that it shouldn't, it just uses implementations of CowData and Vector etc that are derived from the code for the same classes in Godot itself, so they suffer from the same limitations.
I think with bruvzg's godot-cpp PR https://github.com/godotengine/godot-cpp/pull/1357, we should be good going forward. And I think we can cherrypick it for the 4.2 and 4.1 versions of godot-cpp.
But if a GDExtension compiled with an older godot-cpp is used with a newer Godot, AND it's passed a String or Packed*Array with too many items, then there could be some breakage. However, this feels like a small enough edge case to probably be acceptable?

To the extent that this changes the memory layout of Variant types, it has an impact on C# interop structs.
In C# we define interop structs that must match the memory layout of the C++ types so they can be reinterpreted and consumed from C#. For example, we get the size of a Godot String like this:
https://github.com/godotengine/godot/blob/107f2961ccfac179af7682eb5f6e7ea91e80040c/modules/mono/glue/GodotSharp/GodotSharp/Core/NativeInterop/InteropStructs.cs#L477
This is basically copied from the C++ code (CowData::get_size):
https://github.com/godotengine/godot/blob/107f2961ccfac179af7682eb5f6e7ea91e80040c/core/templates/cowdata.h#L85
But this has changed in this PR since now the size is 64-bit, so it needs to be updated in C# too.
As long as the changes are kept internally, it should not break compatibility but changing the user-facing API would be a problem. And if any of these types actually has a size that doesn't fit in a 32-bit int then it will break C#[^1].
Here's a somewhat naive diff that should fix the stackoverflow you are getting on CI:
diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/NativeInterop/InteropStructs.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/NativeInterop/InteropStructs.cs
index d5d9404ed1b..c806263edb5 100644
--- a/modules/mono/glue/GodotSharp/GodotSharp/Core/NativeInterop/InteropStructs.cs
+++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/NativeInterop/InteropStructs.cs
@@ -474,7 +474,7 @@ namespace Godot.NativeInterop
         public readonly unsafe int Size
         {
             [MethodImpl(MethodImplOptions.AggressiveInlining)]
-            get => _ptr != IntPtr.Zero ? *((int*)_ptr - 1) : 0;
+            get => _ptr != IntPtr.Zero ? (int)(*((ulong*)_ptr - 1)) : 0;
         }
     }

@@ -725,7 +725,7 @@ namespace Godot.NativeInterop
             public readonly unsafe int Size
             {
                 [MethodImpl(MethodImplOptions.AggressiveInlining)]
-                get => _ptr != null ? *((int*)_ptr - 1) : 0;
+                get => _ptr != null ? (int)(*((ulong*)_ptr - 1)) : 0;
             }
         }

@@ -875,7 +875,7 @@ namespace Godot.NativeInterop
         public readonly unsafe int Size
         {
             [MethodImpl(MethodImplOptions.AggressiveInlining)]
-            get => _ptr != null ? *((int*)_ptr - 1) : 0;
+            get => _ptr != null ? (int)(*((ulong*)_ptr - 1)) : 0;
         }
     }

@@ -939,7 +939,7 @@ namespace Godot.NativeInterop
         public readonly unsafe int Size
         {
             [MethodImpl(MethodImplOptions.AggressiveInlining)]
-            get => _ptr != null ? *((int*)_ptr - 1) : 0;
+            get => _ptr != null ? (int)(*((ulong*)_ptr - 1)) : 0;
         }
     }

@@ -971,7 +971,7 @@ namespace Godot.NativeInterop
         public readonly unsafe int Size
         {
             [MethodImpl(MethodImplOptions.AggressiveInlining)]
-            get => _ptr != null ? *((int*)_ptr - 1) : 0;
+            get => _ptr != null ? (int)(*((ulong*)_ptr - 1)) : 0;
         }
     }

@@ -1003,7 +1003,7 @@ namespace Godot.NativeInterop
         public readonly unsafe int Size
         {
             [MethodImpl(MethodImplOptions.AggressiveInlining)]
-            get => _ptr != null ? *((int*)_ptr - 1) : 0;
+            get => _ptr != null ? (int)(*((ulong*)_ptr - 1)) : 0;
         }
     }

@@ -1035,7 +1035,7 @@ namespace Godot.NativeInterop
         public readonly unsafe int Size
         {
             [MethodImpl(MethodImplOptions.AggressiveInlining)]
-            get => _ptr != null ? *((int*)_ptr - 1) : 0;
+            get => _ptr != null ? (int)(*((ulong*)_ptr - 1)) : 0;
         }
     }

@@ -1067,7 +1067,7 @@ namespace Godot.NativeInterop
         public readonly unsafe int Size
         {
             [MethodImpl(MethodImplOptions.AggressiveInlining)]
-            get => _ptr != null ? *((int*)_ptr - 1) : 0;
+            get => _ptr != null ? (int)(*((ulong*)_ptr - 1)) : 0;
         }
     }

@@ -1099,7 +1099,7 @@ namespace Godot.NativeInterop
         public readonly unsafe int Size
         {
             [MethodImpl(MethodImplOptions.AggressiveInlining)]
-            get => _ptr != null ? *((int*)_ptr - 1) : 0;
+            get => _ptr != null ? (int)(*((ulong*)_ptr - 1)) : 0;
         }
     }

@@ -1131,7 +1131,7 @@ namespace Godot.NativeInterop
         public readonly unsafe int Size
         {
             [MethodImpl(MethodImplOptions.AggressiveInlining)]
-            get => _ptr != null ? *((int*)_ptr - 1) : 0;
+            get => _ptr != null ? (int)(*((ulong*)_ptr - 1)) : 0;
         }
     }

[^1]: More context on this: https://github.com/dotnet/runtime/issues/12221

@raulsntos Yeah I guess the Mono bindings should not really be accessing these internals. We have explicit functions exposed in the extension API now to avoid these situations, so I suppose it would be just a matter to move to that eventually (when Mono is moved to extension)

I don't want to get too off-topic, but I don't agree that the move to GDExtensions would help here. The API exposed to retrieve this data would have a bigger cost than accessing the internals directly as we are doing today so we wouldn't change that in the new system.
And to be honest that's not the problem, we just need to update the C# internals to match the C++ internals (similar to how godot-cpp is doing). I shared a diff that does just that and doesn't break compatibility since it doesn't change publicly exposed API.
The main issue is that C# types like System.String or arrays define their length as 32-bit integers so they can't possible work with data that is bigger than what can be represented with a int32_t^1.
To put it in simple terms, if we have a String coming from Godot that has more items than what can fit in a 32-bit length then we wouldn't be able to marshal that into a C# String.

And to be honest that's not the problem, we just need to update the C# internals to match the C++ internals (similar to how godot-cpp is doing).

Just to be clear (although, it probably isn't necessary :-)) this isn't what the godot-cpp change is doing. godot-cpp doesn't directly access Godot's internals, it always goes through the GDExtension interface.
The change to godot-cpp is doing two things:

Updating the C++ classes that exist entirely on the godot-cpp side to account for the possibility that the data on the Godot side could have a large enough number of elements that it requires a 64-bit integer to count/index them
Updating the equivalent CowData and Vector in godot-cpp to match Godot, so that you can use them in your GDExtension exactly the same as you would in Godot itself, removing the 32-bit limitations of the previous implementation. This doesn't affect interop with Godot, this is for where these templates are used purely on the godot-cpp side.

Fixes a lot of bugs, please help me fill the list.

Trying to review some of the ones mentioned in this PR, linked issues, or some I could find searching for references to CowData and 32/64 bits.

#45296

3.x issue so it won't be solved by this (and likely won't ever be solved).

#48399

Reproducible in master. This PR doesn't fix it because BitMap now has guards against using a size bigger than INT32_MAX. This PR should however make it possible to refactor BitMap to use int64_t.

#51154

Not fixed by this PR. The stacktrace changes from CowData<_AtlasWorkRectResult>::get(int) to CowData<_AtlasWorkRectResult>::get(long) but it's still crashing. Likely another one that could be fixed now as a follow-up.

#54679

Seems related indeed, but I tested and this PR does not solve the issue. It still crashes in the same place.
Relevant Image code is still using int for sizes so I assume it needs further work after this PR to actually fix the crash.
[3] Image::initialize_data(int, int, bool, Image::Format) (/home/akien/Projects/godot/godot.git/./core/io/image.cpp:2187 (discriminator 4))

#62585

Tested with the MRP from https://github.com/godotengine/godot/issues/62585#issuecomment-1450900291, this fixes it.
I don't get a crash however before this PR in a 2 weeks old masterbuild, but I do get a p_size < 0` error which is now fixed.

#77256

Fixed by this PR.

#80533

Fixed by this PR.

Diff that should make the PR pass CI (two more MSVC warning fixes, and @raulsntos' C# changes):
https://github.com/akien-mga/godot/commit/6eff4f655343d2e0a917f75eba1dcafee713cfd0

Thanks!


Audit devops sdk

Added ServerDevOpsAuditSettings SDK to support DevOps server auditing policy storing and retrieval
Link to swagger PR:
https://github.com/Azure/azure-rest-api-specs/pull/11836

@Oleza1972 can you add the spec PR link that this change is associated with?

The version jump from 1.47 to 1.49. Nuget shows latest is 1.47 so should have bumped to 1.48.

@Oleza1972 can you add the spec PR link that this change is associated with?

https://github.com/Azure/azure-rest-api-specs/pull/11836

The version jump from 1.47 to 1.49. Nuget shows latest is 1.47 so should have bumped to 1.48.

Done


As a developer, I want to read playbooks on how to respond during an incident and understand the software development life cycle.

We need playbook plays for:

[ ] restarting services
[ ] deploying services
[ ] what to do if tests fail
[ ] what to do in the event of an email alert
[ ] create a paper based rotation schedule (for now, until we have PD or other service)
[ ] what to do in the event of a Denial of Service Attack (Dos, DDoS)
[ ] how to provision and rotate secrets
[ ] how to escalate to GeoPlatform team (and when to do so- noting that their availability prohibits weekends)
[ ] clear pipeline from Google Group to Github template to notification, and having a statement that this is something we care about
[ ] documentation/process for escalating from a support email to incident response

(just popping in, @switzersc-usds sent me this asking if I had comments).
I don't think it makes sense for me to really run this, but I can work with whoever does it and give advice/support. It should be someone who really knows the systems and who everyone trusts. I can find the writeup we did for vaccines.gov and share it here as a starting point.


Update OID.php

More readable code to find OID + added many others from https://github.com/phpseclib/docs/blob/master/x509/asn1parse.php

Thank you!


Add blobstore buffered writer

Add a buffered blobstore writer. This will be used on db scanner to create blobs.

Coverage increased (+0.03%) to 68.294% when pulling bf561b029cac072ec2d02d49055f56c9be9e5b1b on andrewjdawson2016:BlobstoreBufferedWriter into 72f379266cb04a799db21371aeba6e5dfe3528e4 on uber:master.


csharp supported parser2.0

新增 ccp-util 项目
新增 ccp-credential 项目
依据 parser2.0 重新生成

Codecov Report

Merging #169 into master will increase coverage by 0.65%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #169      +/-   ##
============================================
+ Coverage     96.16%   96.82%   +0.65%
  Complexity       95       95
============================================
  Files            21       10      -11
  Lines          1436      820     -616
  Branches         68       33      -35
============================================
- Hits           1381      794     -587
+ Misses           49       22      -27
+ Partials          6        4       -2

Flag
Coverage Δ
Complexity Δ

#csharp
?
?

#go
95.51% <ø> (ø)
0 <ø> (ø)
:arrow_down:

#java
99.05% <ø> (ø)
95 <ø> (ø)
:arrow_down:

#node_js
100% <ø> (ø)
0 <ø> (ø)
:arrow_down:

Impacted Files
Coverage Δ
Complexity Δ

...unitTests/Credentials/AccessTokenCredentialTest.cs

...aseclient/csharp/unitTests/Utils/ExtensionsTest.cs

...t/csharp/core/Credentials/AccessTokenCredential.cs

baseclient/csharp/unitTests/TestHelper.cs

baseclient/csharp/core/BaseClient.cs

baseclient/csharp/unitTests/Utils/DictUtilsTest.cs

baseclient/csharp/core/Utils/Extensions.cs

baseclient/csharp/core/Utils/TimeUtils.cs

baseclient/csharp/unitTests/Utils/TimeUtilsTest.cs

baseclient/csharp/unitTests/BaseClientTest.cs

... and 1 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 0948c0f...15e0464. Read the comment docs.

util 和 credential 的测试配置一下


Python zero-code instrumentation does not use bytecode injection

https://opentelemetry.io/docs/zero-code/python/
The intro paragraph says

It dynamically injects bytecode to capture telemetry from many popular libraries and frameworks.

But this is not accurate. We use monkey patching in almost all cases.

Huh, I had thought maybe this was some shared text but it seems this was only written for the Python docs. Yeah, this should change.

Hi @aabmass! Feel free to assign to me, I'm happy to contribute and update this documentation.
Thanks for pointing this out.

@CFly17 we don't assign issues in this repo, but feel free to just send a PR and we'll gladly review it.

Thanks @cartermp. This is my first contribution to open source.
opentelemetry.io/pull/5130

Thanks @cartermp. This is my first contribution to open source.
https://github.com/open-telemetry/opentelemetry.io/pull/5130

attempting to fix failed checks for

MARKDOWN linter
REFCACHE updates?
FILE FORMAT

After pushing what I believe to be the fixes, I proceeded to sync with main and the checks stopped.
I believe I need workflow approval from a maintainer now.

is this fixed via #5130?

Yes @svrnm. But my merged PR left behind an unused refcache link.
If the code was already merged, should I push to the same branch, or open a new PR to remove this line?

Yes @svrnm. But my merged PR left behind an unused refcache link. If the code was already merged, should I push to the same branch, or open a new PR to remove this line?

I guess we have many of those, so do not worry about it ;-)


support failover service in DestinationRule

Try to implement https://github.com/istio/istio/issues/39445
Introduced 3 annotations in DestinationRule and Leverage envoyPriority levels to achieve the failover.
With failover service specified, eds will merge the upstream service endpoints with the failover service endpoints and do traffic failover based on the overprovisioning factor.
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Please check any characteristics that apply to this pull request.

[x] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

Hi @shonecyx. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@shonecyx: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Docker with PostgreSQL will not start

Describe the bug
I try strat the speedtest-tracker with external PostgreSQL. During the start process the tables were created. But the container is exiting
docker run -d --name speedtest-tracker \
    -p 8765:80 \
    -p 8443:443 \
    -e PUID=1000 \
    -e PGID=1000 \
    -e "DB_CONNECTION=pgsql" \
    -e "DB_HOST=<IP_ADDRESS>" \
    -e "DB_PORT=5432" \
    -e "DB_DATABASE=speedtest_tracker" \
    -e "DB_USERNAME=speedtest_tracker" \
    -e "DB_PASSWORD=speedtest_tracker" \
    -v /data-files/data/docker/speedtest-tracker:/config \
    ghcr.io/alexjustesen/speedtest-tracker:latest \
    restart: unless-stopped

This is the output
--------------------------------------------------------------------
 ____                             ____  _     _        _   _
/ ___|  ___ _ ____   _____ _ __  / ___|(_) __| | ___  | | | |_ __
\___ \ / _ \  __\ \ / / _ \  __| \___ \| |/ _` |/ _ \ | | | |  _ \
 ___) |  __/ |   \ V /  __/ |     ___) | | (_| |  __/ | |_| | |_) |
|____/ \___|_|    \_/ \___|_|    |____/|_|\__,_|\___|  \___/| .__/
                                                            |_|

Brought to you by serversideup.net
--------------------------------------------------------------------

To support Server Side Up projects visit:
https://serversideup.net/sponsor
-------------------------------------
GID/UID
-------------------------------------

User uid:    1000
User gid:    1000
-------------------------------------

🔒 SSL_MODE has been set to MIXED, setting the web server to work in HTTP + HTTPS...
🏃♂ Checking for Laravel automations...
🔐 Linking the storage...
🏃♂ An SSL key was not detected, so I'll generate a self-signed SSL certificate pair for you...
..+..+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...............+.....+......+....+..+.......+..+...+.......+.....+.+.....+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
....+....+..+..........+..+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.......+.....+.+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+.........+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----

   INFO  The [public/storage] link has been connected to [storage/app/public].

🐇  Configuring Speedtest Tracker...
✅  Environment file exists
🔗  Creating symlinks to config and log files
✅  App key exists
🔒  Fixing app path file permissions
💰  Building the cache...
[25-Feb-2023 16:58:20] NOTICE: fpm is running, pid 103
[25-Feb-2023 16:58:20] NOTICE: ready to handle connections
[25-Feb-2023 16:58:20] NOTICE: systemd monitor interval set to 10000ms
🚛  Migrating the database...
✅  All set, starting Speedtest Tracker container...
⏰  Starting the cron service...
💪  Starting the queue worker...
/run/s6/basedir/scripts/rc.init: 67: restart:: not found
[25-Feb-2023 16:58:21] NOTICE: Terminating ...
[25-Feb-2023 16:58:21] NOTICE: exiting, bye-bye!

I followed this https://docs.speedtest-tracker.dev/getting-started/installation
Environment (please complete the following information):

OS: Ubuntu 20.04.5
Architecture: amd64

v0.11.3 was just released, make sure to pull the latest version and let me know if this is still an issue

Same problem
$ docker run --rm -it --name speedtest-tracker -p 8765:80 -p 8443:443 -e PUID=1000  -e PGID=1000 -e "DB_CONNECTION=pgsql"     -e "DB_HOST=<IP_ADDRESS>"     -e "DB_PORT=5432"     -e "DB_DATABASE=speedtest_tracker"     -e "DB_USERNAME=speedtest_tracker"     -e "DB_PASSWORD=speedtest_tracker"     -v /data-files/data/docker/speedtest-tracker:/config     ghcr.io/alexjustesen/speedtest-tracker:v0.11.3     restart: unless-stopped
Unable to find image 'ghcr.io/alexjustesen/speedtest-tracker:v0.11.3' locally
v0.11.3: Pulling from alexjustesen/speedtest-tracker
677076032cca: Already exists
9a37c607e3b8: Already exists
a179890207f9: Already exists
7d515518f939: Already exists
5b350381c31e: Already exists
413245ff19ed: Already exists
faa467fa5129: Already exists
d94bfc4fae37: Already exists
9c5b35537e0c: Already exists
804ed01b4370: Already exists
438d52203bf5: Already exists
363fb5666fe7: Already exists
27bf73e7ee11: Already exists
1c669e52a61f: Already exists
69a3797ec347: Already exists
a4734d47a07c: Already exists
274ea4828861: Pull complete
fc840294d94c: Pull complete
bfdb4b5fb1f5: Pull complete
015468300ffd: Pull complete
4f4fb700ef54: Pull complete
c57db18e945a: Pull complete
a8371d948d11: Pull complete
Digest: sha256:0e981b48c0991503f980613cca971920bf9df072fecb8a05f6b716b11981e32b
Status: Downloaded newer image for ghcr.io/alexjustesen/speedtest-tracker:v0.11.3

--------------------------------------------------------------------
 ____                             ____  _     _        _   _
/ ___|  ___ _ ____   _____ _ __  / ___|(_) __| | ___  | | | |_ __
\___ \ / _ \  __\ \ / / _ \  __| \___ \| |/ _` |/ _ \ | | | |  _ \
 ___) |  __/ |   \ V /  __/ |     ___) | | (_| |  __/ | |_| | |_) |
|____/ \___|_|    \_/ \___|_|    |____/|_|\__,_|\___|  \___/| .__/
                                                            |_|

Brought to you by serversideup.net
--------------------------------------------------------------------

To support Server Side Up projects visit:
https://serversideup.net/sponsor
-------------------------------------
GID/UID
-------------------------------------

User uid:    1000
User gid:    1000
-------------------------------------

🔒 SSL_MODE has been set to MIXED, setting the web server to work in HTTP + HTTPS...
🏃♂ Checking for Laravel automations...
🔐 Linking the storage...
🏃♂ An SSL key was not detected, so I'll generate a self-signed SSL certificate pair for you...
......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+.....+...+.+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+...+......+....+..+.............+...+.....+...+....+.....+...+.......+.....+.+..+....+.........+..+...+.......+...+........................+...+.........+.....+..................+.+......+...+..+....+..+....+...+...+..+.+...........+.+...............+.........+........+...+...+.+...+......+..+...........................+.............+..+.......+.....+.+...+...........+........................+....+..+....+.........+..+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
....+..+....+.....+......+....+...+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+........+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........+.....+.+.....+...+.............+..+.......+...+..+.+.....+...+.+.........+..+...+....+......+......+.....+......+....+..................+..+................+.....+...+.+.....+...+.............+........+.........+..........+......+......+..............+.+...+...+...+...........+......+...+....+........+....+...+...+...+.....................+...+.....+.......+........+...+.......+...+..+.+..
   INFO  The [public/storage] link has been connected to [storage/app/public].

....+........+......+.++++++++++++++++++++🐇  Configuring Speedtest Tracker...
✅  Environment file exists
🔗  Creating symlinks to config and log files
++++++++✅  App key exists
🔒  Fixing app path file permissions
+++💰  Building the cache...
++++++++++++++++++++++++++++++++++
-----
[06-Mar-2023 12:32:13] NOTICE: fpm is running, pid 102
[06-Mar-2023 12:32:13] NOTICE: ready to handle connections
[06-Mar-2023 12:32:13] NOTICE: systemd monitor interval set to 10000ms
🚛  Migrating the database...
✅  All set, starting Speedtest Tracker container...
⏰  Starting the cron service...
💪  Starting the queue worker...
/run/s6/basedir/scripts/rc.init: 67: restart:: not found
[06-Mar-2023 12:32:15] NOTICE: Terminating ...
[06-Mar-2023 12:32:15] NOTICE: exiting, bye-bye!

Still same problem with v0.11.4.
Why it starts so slow?
Start at 17:37:18:
[Mo Mär 06][17:37:18][rafcio]@[nuc-mini-pentium]:[~]$ docker run --rm -it --name speedtest-tracker     -p 8765:80     -p 8443:443     -e PUID=1000     -e PGID=1000     -e "DB_CONNECTION=pgsql"     -e "DB_HOST=<IP_ADDRESS>"     -e "DB_PORT=5432"     -e "DB_DATABASE=speedtest_tracker"     -e "DB_USERNAME=speedtest_tracker"     -e "DB_PASSWORD=speedtest_tracker"     -v /data-files/data/docker/speedtest-tracker:/config     ghcr.io/alexjustesen/speedtest-tracker:v0.11.4     restart: unless-stopped
Need 60 Secends to see this:
[06-Mar-2023 16:38:38] NOTICE: fpm is running, pid 103
[06-Mar-2023 16:38:38] NOTICE: ready to handle connections
[06-Mar-2023 16:38:38] NOTICE: systemd monitor interval set to 10000ms
🚛  Migrating the database...
✅  All set, starting Speedtest Tracker container...
⏰  Starting the cron service...
💪  Starting the queue worker...
/run/s6/basedir/scripts/rc.init: 67: restart:: not found
[06-Mar-2023 16:38:39] NOTICE: Terminating ...
[06-Mar-2023 16:38:39] NOTICE: exiting, bye-bye!

same

Do you have PostgreSQL running as a separate container? Also double check your connection settings, this step will fail if it (Speedtest Tracker) can't make a successful connection to the DB in order to run the migration scripts.

I tested the SQLite docker version too. Same problem like with PostgreSQL. Looks like the database is nor the problem.

Here ...
speedtest-tracker_v0.11.4_debug.log

Sorry, here with -e DEBUG_OUTPUT=true  and  -e S6_VERBOSITY='all' ...
And after
s6-rc: info: service legacy-cont-init successfully started
speedtest-tracker_v0.11.4_debug.log
it need about 1 minute.

I got #452 in the pipeline which will hopefully provide some stability to the startup process. Maybe we'll get luck on this issue too.

Sounds good. Should I wait for the v.0.11.6?

Sounds good. Should I wait for the v.0.11.6?

It's published if you want to give it a try

Isn't working.
speedtest-tracker_v0.11.6_debug.log

Same for sqlite
speedtest-tracker_v0.11.6sqlite_debug.log

Set S6_VERBOSITY=5 not "all", had a typo before

Isn't working too.
speedtest-tracker_v0.11.6_debug.log

What's the specs of the server you're trying to run this on and is Docker up to date?

And my PostgreSQL 13 runs on
[Di Mär 07][22:18:11][rafcio]@[nuc-mini-pentium]:[~]$ neofetch
            .-/+oossssoo+/-.               rafcio@nuc-mini-pentium
        `:+ssssssssssssssssss+:`           -----------------------
      -+ssssssssssssssssssyyssss+-         OS: Ubuntu 20.04.5 LTS x86_64
    .ossssssssssssssssssdMMMNysssso.       Host: NUC7PJYH J67992-406
   /ssssssssssshdmmNNmmyNMMMMhssssss/      Kernel: 5.15.0-67-generic
  +ssssssssshmydMMMMMMMNddddyssssssss+     Uptime: 4 days, 8 hours, 33 mins
 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Packages: 1943 (dpkg), 7 (snap)
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Shell: bash 5.0.17
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Terminal: /dev/pts/0
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   CPU: Intel Pentium Silver J5005 (4) @ 2.800GHz
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   GPU: Intel UHD Graphics 605
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Memory: 3077MiB / 15585MiB
.ssssssssdMMMNhsssssssssshNMMMdssssssss.
 /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/
  +sssssssssdmydMMMMMMMMddddyssssssss+
   /ssssssssssshdmNNNNmyNMMMMhssssss/
    .ossssssssssssssssssdMMMNysssso.
      -+sssssssssssssssssyyyssss+-
        `:+ssssssssssssssssss+:`
            .-/+oossssoo+/-.

What is the problem here?

I've only tested the app with v14 and v15 of pgsql, try that and let me know if it works.

I can check this on weekend. Cause I have only PostgreSQL 11 and 13 on start.
But why it's not working with SQLite too.
speedtest-tracker_v0.11.6sqlite_debug.log

I'm not seeing this problem on my end. Pgsql worked fine on windows, wsl, an Ubuntu 22.04 server and an rpi so can't really suggest much more.

I started PG 14 on other computer and can connect. But the Docker isn't working. Samle problem.
I can see the created tables

But why is this stopping? I try to understand it.
s6-rc: info: service nginx successfully started
s6-rc: info: service legacy-services: starting
s6-ipcclient: connected to /run/s6-rc/servicedirs/s6rc-oneshot-runner/s
s6-rc: info: service legacy-services successfully started
/run/s6/basedir/scripts/rc.init: 67: restart:: not found
s6-rc: info: bringing selected services down
s6-rc: info: service legacy-services: stopping
s6-ipcclient: connected to /run/s6-rc/servicedirs/s6rc-oneshot-runner/s
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service msmtp: stopping
s6-ipcclient: connected to /run/s6-rc/servicedirs/s6rc-oneshot-runner/s
s6-rc: info: service queue-worker: stopping
s6-ipcclient: connected to /run/s6-rc/servicedirs/s6rc-oneshot-runner/s
s6-rc: info: service nginx: stopping
s6-rc: info: service cron: stopping
s6-rc: info: service msmtp successfully stopped
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-ipcclient: connected to /run/s6-rc/servicedirs/s6rc-oneshot-runner/s
s6-rc: info: service cron successfully stopped
s6-rc: info: service queue-worker successfully stopped
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service nginx successfully stopped
s6-rc: info: service debug-nginx: stopping
s6-rc: info: service php-fpm: stopping
s6-ipcclient: connected to /run/s6-rc/servicedirs/s6rc-oneshot-runner/s

@alexjustesen did you change something?
With v0.11.8 it works on my system with SQLite and PostgreSQL 13. I can login. Will test it next days.


possible error in POLES ADVANCE onshore/offshore wind capacities

Reaching out regarding something odd I noticed in the wind capacity data for POLES ADVANCE models while using the IAMC 1.5°C Scenario Explorer. For these models and scenarios, the database seems to indicate anomalously high fractions of offshore wind throughout the 21st century. A screenshot from the online Explorer highlighting this:

It looks to me like the onshore and offshore labels may have gotten transposed here? I wanted to check this, as I'm utilizing the capacities for different generation technologies for the models/scenarios in the ADVANCE project for one of my own projects.
I emailed Daniel Huppmann who took a quick look and produced some plots that seem to confirm that the onshore/offshore wind capacity values for POLES ADVANCE scenarios definitely seem odd, suggesting a reporting error:

Thank you @BTIseaver for spotting this issue and reporting it!
For future reference, the plots above are created with the following script (using pyam v0.10.0):
import matplotlib.pyplot as plt
import pyam

df = pyam.IamDataFrame('iamc15_scenario_data_world_r2.0.xlsx')
capacity = df.filter(variable='Capacity|Electricity|Wind|*')
generation = df.filter(variable='Secondary Energy|Electricity|Wind|*')

def plot_wind(category, capacity, generation):

    fig, ax = plt.subplots(1, 2)
    _cap = capacity.filter(variable=f'*{category}')
    _cap.filter(model='POLES ADVANCE', keep=False).plot(ax=ax[0], color='blue', alpha=0.2)
    _cap.filter(model='POLES ADVANCE').plot(ax=ax[0], color='red')
    ax[0].set_title(f'Capacity {category}')

    _gen = generation.filter(variable=f'*{category}')
    _gen.filter(model='POLES ADVANCE', keep=False).plot(ax=ax[1], color='blue', alpha=0.2)
    _gen.filter(model='POLES ADVANCE').plot(ax=ax[1], color='red')
    ax[1].set_title(f'Generation {category}')

plot_wind('Onshore', capacity, generation)
plot_wind('Offshore', capacity, generation)

I reached out to the authors and will report back when I hear from them.

Indeed, wind onshore and offshore have been switched in the post-processing of model outputs. I will check if this is true for all scenarios.

I confirm that the issue is in the post-processing of model results and is only relevant for ADVANCE scenarios (issue also present in the original ADVANCE WP6 and the public ADVANCE synthesis scenarios databases). @danielhuppmann please correct the issue in the IAMC database and, if possible, the ADVANCE databases.


I need a lot of help with a new menu

Describe your problem here.
So im trying to make a custom menu that displays Fan Art for the mod fi anyone makes any and i need help with how to make a custom menu to do this the way im gonna do it is it will be displayed in a frame but now i dont know how i would make this work
i just need the basic load images stuff, Image positions, PRELOADING and then ill be good
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
A LOT OF SOURCE STUFF

sorry i have been dead on github for a while trying to figure out how to  do this

Is ok

I can help

I can help

Thank you


[poll] BodyHash extractor

React to this issue with a ":+1:" to vote for this feature. Highest voted features will graduate to Actix Web sooner.

duplicate of #13


It looks very nice.

Maybe it is the only Python Chat server which supports multiple rooms.
I would like to spend more time with it, but first I have to ask
what is the license?
And wehre are you located?  May I add you to my map of open source python projects.
PythonLinks.info
Warm Regards
Chris

Hi -- I just added a MIT license. So feel free to do whatever you want :)
Sure I'd love to be listed. I'm currently located in Bangkok.

Okay, I have added you.  We can change the text if you want.
https://pythonlinks.info/map-of-open-source-python-projects
Tell your friends.

"Gangkok" is intentional or just a typo? :)