Bump carbon identity framework version

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/2705359300

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/2705359300
Status: cancelled

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/2705664401

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/2705664401
Status: failure


feat: add new scanner based on GitHub commits (GithubScanner)

Refactoring  the GitHub scanner and pipeline integration.

Nice! What remains to be done to unwip?

Nice! What remains to be done to unwip?

Plus we need a new test for GithubScanner

Plus we need a new test for GithubScanner

Great work, thanks @javierron
This will be very useful for the Sorald experiments lead by @khaes-kth

Great work, thanks @javierron
This will be very useful for the Sorald experiments lead by @khaes-kth

Thanks a lot @javierron

Thanks a lot @javierron


Task timeout no longer causes error/fail state

Environment

Agent - Hosted or Private:
Private agent running on Ubuntu 16.04

Issue Description
Currently we are seeing that task timeouts sometimes no longer fail the task. See examples below (tasks timing out at 25 minutes)
Task name: Docker (Run an image)
Issue: When the task times out with timeoutInMinutes specified, the task is marked as success (green) and moves on.

Expected: When the task times out, the task is marked as failed and throws error.

Can you move this to azure-pipelines-agent repo?

@kenkuo if you check the log of that step, base on the timestamp in the log, what's exactly time does it take?

can't repro.  Add info and we can reactivate if needed


Make Control.offset work without animation enabled

In the example below offset should work without animate_offset=True:
import flet as ft

def main(page: ft.Page):

    page.add(
        ft.Stack(
            [
                ft.Container(
                    bgcolor="red",
                    width=100,
                    height=100,
                    left=100,
                    top=100,
                    offset=ft.transform.Offset(-0.5, -0.5),
                    animate_offset=True,
                )
            ],
            width=1000,
            height=1000,
        )
    )

ft.app(target=main)

Is there any mention in the docs on how to use offset? Or Anny explanatory example..?

It's not ☺, but I'm going to fix that.


Update to polkadot-v1.1.0

Update to Polkadot-Sdk v1.1.0

@weezy20 cannot build with --features runtime-benchmarks.

@weezy20 after my last commit it should build with all-features enabled and pass all the tests.


Crash on iOS 11 in ApptentiveMessageCenterViewController

Hi, we are seeing a crash in our app on iOS 11.  From the stacktrace, it looks like it is related to calling dequeueReusableCellWithIdentifier more than once.  And the cell identifier, "ContextMessage", indicates it is happening in Apptentive, in the cellForRowAtIndexPath method in ApptentiveMessageCenterViewController.
I found this thread where a UIKit engineer states that this NSInternalInconsistencyException is a new check in iOS 11:  https://github.com/kif-framework/KIF/issues/1007
We are on v3.4.1 still, so I'm not sure if this issue has already been found and fixed in a later release?  The code in cellForRowAtIndexPath looks similar in the latest version.
Stacktrace:
Fatal Exception: NSInternalInconsistencyException
Attempted to dequeue multiple cells for the same index path, which is not allowed. If you really need to dequeue more cells than the table view is requesting, use the -dequeueReusableCellWithIdentifier: method (without an index path). Cell identifier: ContextMessage, index path: <NSIndexPath: 0xc000000000000016> {length = 2, path = 0 - 0}

This is a known issue when linking any of the 3.x and older Apptentive SDKs with the iOS 11 SDK. We made some architectural changes in 4.0 that avoid this particular crash.
Because the incremental effort to upgrade to 4.x is not much greater than upgrading to another 3.x release, we decided not to issue a fix to the 3.x SDK and are encouraging folks to upgrade to the latest 4.0 SDK.

Any easy way to reproduce this crash? We see it reported on Crashlytics and wanted to replicate it before installing latest version. Thank you.


No Call-Info in main screen

Is your feature request related to a problem? Please describe.
There is no Call Information at the main screen like in the old version.
If you run more iGates in parallel, its nice to see at one sight which iGate it is.
Describe the solution you'd like
Call Info in the mai screen.

closing with https://github.com/lora-aprs/LoRa_APRS_iGate/commit/38d50cb8012898d90b29590e2375abce7bef3531


State level borders with Ladakh

Looking for a India State boundary with Ladakh and Jammu and Kashmir UTs marked. I need a shape file. Any pointers? Is anyone working on digitizing?

Have you looked at the data in : https://github.com/datameet/maps/tree/master/States?

Thanks @devdattaT I was mislead due to Quick View on this page http://projects.datameet.org/maps/states/


Wrong title type after initial mirroring

Because of a mismatch in initial sync process, title instances have been incorrectly mapped. About 600 titles which were book titles became journal titles that way. We have to consider what happens when an instance type gets changed afterwards.
Issues arising:

notification of consuming systems (such as LAS:eR)

File with diff attached below:
laser_gokb_title_type_diff_20191202.txt

These titles have to be deleted, because there is already data lost like first_author, first_editor, publication_date etc.
We need a list with the corresponding packages.

Updated file with diff attached below:
https://app.zenhub.com/files/103426961/ac7d6d5c-84ac-440a-b85d-74ebe48c4076/download


[feature][Mobile]: Initialize React Native

Desired Feature
React Native should be newly initialized with Expo and TypeScript along with ESLint and possibly Prettier configs.
Steps to Implement

Follow "Getting Started with TypeScript" to install React Native with Expo and TypeScript.
Follow "Using Custom Path Aliases with TypeScript" to use custom path aliases with TypeScript.
Install and configure ESLint and Prettier by following "ESLint in React Native Made Easy: A Step-by-Step Tutorial".

Issue is completed and finished.


I can't activate completion for my script

Hi,
Thanks for this great library.
When trying to activate completion for my script, nothing happens: no error raised, but when starting a new terminal, completion simply doesn't work.
I can enable completion globally yet (using activate-global-python-argcomplete).
Command launched in bash: eval "$(register-python-argcomplete mcq)" (where mcq is my own command).
My configuration:

python 3.11.2 in a virtual environment (I run source ~/.py/bin/activate in my .bashrc, where .py is my venv)
argcomplete  3.1.2
bash 5.2.15 (on Debian 12)

My script: https://www.toptal.com/developers/paste-gd/ZgOSfr3n
I first tried to activate completion through a python script, then directly in bash with eval "$(register-python-argcomplete mcq)", but no success. :(
I'd like to activate autocompletion only for the command mcq, and not for all python scripts.

There's a few things you can do to trouble shoot here.

Make sure you're actually using the bash shell. argcomplete is designed for bash.
What happens if you just run your script from the shell with 'python3 myscript.py' ?
Do you get any error messages when running 'eval "$(register-python-argcomplete mcq)' in the shell?
You can try converting your script to an executable file with 'chmod +x /path/to/mcq' after you do this you can run your script with the command './your_script.py'

Thanks for your answer.

Yes, this is the bash shell.
The script is installed by pip through entry points.
This may be the cause of the failure indeed, since pip generates a mcq script in ~/.py/bin, and the mcq script itself don't use argparse.
The generated script then calls cli.py file main() function, which makes use of argparse.

This is the script automatically generated by pip:
#!/home/nicolas/.py/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from ptyx_mcq.cli import main
if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
    sys.exit(main())

No, I don't get any error message.
The mcq script generated by pip is already executable. The cli.py called by mcq is located inside the ptyx_mcq package and can't be called directly for now (ImportError: attempted relative import with no known parent package), though I could convert relative imports to absolute ones if it helps.

I think I must in fact use option  --external-argcomplete-script, since the mcq command is only a wrapper generated by pip for the cli.py file.
So, I tried eval "$(register-python-argcomplete --external-argcomplete-script /home/nicolas/prog/ptyx-mcq/ptyx_mcq/cli.py mcq)", without more success.
Having no feedback when executing the command in bash makes the debugging difficult... :(
Any idea or suggestion ?

I convert my script to no use absolute imports, so python3 cli.py works now.
I also tried to change directory, and execute eval "$(register-python-argcomplete --external-argcomplete-script cli.py mcq)" in the directory containing cli.py, but this doesn't work either.

Hello, thanks for your interest in argcomplete.
Have you tried following the suggestions in https://github.com/kislyuk/argcomplete#debugging?

Thanks a lot for your suggestion. I've tried it already, but tried again in case I missed something.
While I'm a long time python and Linux user, I've very few notions of bash, but I suppose the following should be enough ?
$ export _ARC_DEBUG=1
$ eval "$(register-python-argcomplete mcq)"

If so, there's still absolutely no message displayed in the shell.
No message either when opening a new shell after that, executing  export _ARC_DEBUG=1 in it and trying autocompletion on mcq command then.
Did I make something wrong, or is there something else I can try ?

I noticed also that I can put anything as --external-argcomplete-script argument, there's never any message displayed.
(However, if I use an invalid option name like --invalid-option, then I get the usual argparse python message reminding the register-python-argcomplete arguments, as expected).

You have to run all of those commands in the same shell:
eval "$(register-python-argcomplete  --external-argcomplete-script cli.py mcq)"

this sets up bash to use cli.py to retrieve completions for mcq. Note that cli.py must be an executable in your PATH (you should test this by running "cli.py" in your shell). Alternatively you can use the full path as in your other example (/home/nicolas/prog/ptyx-mcq/ptyx_mcq/cli.py), but in either case, ensure that this file is an executable that runs argcomplete.autocomplete() after setting up the argparse parser.

export _ARC_DEBUG=1

this tells argcomplete to emit debug output to the terminal when it runs.

mcq ... <TAB>

after pressing tab, you should see debug output from the argcomplete hook.

Thanks a lot for your help !

ensure that this file is an executable

OK, this was indeed the reason it failed. mcq was executable, but cli.py was not (it could be run using python3 cli.py, but ./cli.py failed to launch).
After executing chmod u+x cli.py, the command eval "$(register-python-argcomplete  --external-argcomplete-script /home/nicolas/prog/ptyx-mcq/ptyx_mcq/cli.py mcq)" is working now.
Thanks again !
May I suggest you a few improvements, by the way ?
It would be really nice from register-python-argcomplete to provide a feedback when --external-argcomplete-script provided path is incorrect, with the reason of the failure : invalid path, not a python file, file not executable, and so on.
I thought _ARC_DEBUG=1 would help, but it seems to be only useful to debug the completion itself once installed, and not to debug the completion installation process.

For anyone else reading this thread, one point not obvious from the doc, though it makes sense, is that the completion will only be enabled in the current shell.
So, you'll have to append the command eval "$(register-python-argcomplete  --external-argcomplete-script /home/nicolas/prog/ptyx-mcq/ptyx_mcq/cli.py mcq)"  to the ~/.bashrc file.
Alternatively, to avoid launching a python process at every shell startup, one may execute register-python-argcomplete  --external-argcomplete-script /home/nicolas/prog/ptyx-mcq/ptyx_mcq/cli.py mcq >> ~/.mcq_completion and append source /home/nicolas/.mcq_completion  to the ~/.bashrc file.

You shouldn't need to use --external-argcomplete-script - there is special logic in global completion to unwrap the pip wrappers and work out if they point to something that can be completed, but eval "$(register-python-argcomplete mcq)" should unconditionally attempt to invoke mcq as a completer.
Can you try this and post the output please?
mcq --help  # or something similar that shows your program is actually executable as `mcq`
eval "$(register-python-argcomplete mcq)"
mcq <tab>

Interesting, this works now without using --external-argcomplete-script.
The initial failure may then have been caused by the fact that, initially, mcq.py couldn't be called directly (it had to be called through the wrapper mcq).
It's the only explanation I can see...

If your script was executable as mcq then that is all that should matter; argcomplete literally executes mcq in order to generate the completions. It's likely there was some other installation or configuration problem, but I'm glad it's working now.

For anyone else reading this thread in the future, one point not obvious from the doc, though it makes sense, is that the completion will only be enabled in the current shell.

It probably wouldn't hurt to add this to the doc, since I agree it's not currently obvious that it only lasts for the life of the current shell.


java.lang.NoSuchMethodError on includePackage

I might be missing something, but I keep getting the following error:
java.lang.NoSuchMethodError: org.reflections.util.FilterBuilder.includePackage([Ljava/lang/String;)Lorg/reflections/util/FilterBuilder;

I've already tried all possible combinations of the package name, with no luck. Any ideas?
I'm using reflections 0.9.9.RC2, if you need any other library version to debug let me know

You need to use version 0.9.9.

Brilliant, thank you so much!


support content based deduplication for FIFO queues

FIFO queues are required to have either contentBasedDeduplication for include deduplication ID in the message.
no change is required for passing deduplication ID as part of the message but for configuring deduplication at a queue level we need to pass contentBasedDeduplication: true to the pulumi component
https://www.pulumi.com/registry/packages/aws/api-docs/sqs/queue/#fifo-queue

update Queue component to add  contentBasedDeduplication argument
update FIFO queue examples https://sst.dev/docs/component/aws/queue

@fwang look at the attached PR

Released v3.1.49. Added fifo.contentBasedDeduplication prop to Queue.


support travis ci in fork repo

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@0f0022c). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #4   +/-   ##
=========================================
  Coverage          ?   68.73%
=========================================
  Files             ?       33
  Lines             ?     3349
  Branches          ?        0
=========================================
  Hits              ?     2302
  Misses            ?      788
  Partials          ?      259

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 0f0022c...9299a73. Read the comment docs.


[Bug] StateLayout with shell bottom tabs

I am noticing strange behavior with shell tabs. I am using StateLayout and the first tab loads the states and their content fine, but the second tab shows the content "None" first and then it loads the content "Loading" and again the content "None".
You have to look closely because it happens fast. Or should I put the content I want to show as "Success"?
here I leave a sample.
App1.zip

I can confirm that it works by putting the content in "Success"


mcap info prints channel metadata

Public-Facing Changes
mcap info did not show channel metadata. Now it will print (up to 50 characters of) json-marshalled channel metadata.
Description
Example output after this change on tests/conformance/data/TenMessages/TenMessages-rch-rsh-st.mcap:
library:
profile:
messages:  10
duration:  9ns
start:     0.000000000
end:       0.000000009
channels:
	(1) example  10 msgs<PHONE_NUMBER>.11 Hz)  {"foo":"bar"}   : Example [c]
attachments: 0
metadata: 0

Before this change:
library:
profile:
messages:  10
duration:  9ns
start:     0.000000000
end:       0.000000009
channels:
	(1) example  10 msgs<PHONE_NUMBER>.11 Hz)  : Example [c]
attachments: 0
metadata: 0

For channels that don't include metadata, there's no change in behavior
Motivation
At work, we use channel metadata to record which physical device a channel was recorded on. This means multiple channels can exist in the same mcap file with the same topic name. It's hard to distinguish between them without the channel metadata.

I really care about channel metadata being shown somehow in mcap info, but I'm not very opinionated on how - happy to change the format to be shown after the channel listing, or hide it behind a flag. I'm pretty happy with the current impl though

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: b-camacho:x: bcamacho2You have signed the CLA already but the status is still pending? Let us recheck it.

IMO:

lets hide this behind a flag, once this is done you can set the behavior your want permanently in $HOME/.mcap.yaml. I suspect a lot of ros 2 users will only see {"offered_qos_profiles": \"{\"history\":\"unknown\"...., they won't want this by default.
I think you can afford to take up more space to show the metadata, especially if it's opt-in behavior. My first guess would be to show the metadata indented on new lines below the channel, and let long keys / values wrap.

@b-camacho the mcap list channels command shows the full metadata - have you found that insufficient?
I'm kind of skeptical this is a good feature for "info" - metadata can contain weird stuff like escaped yaml strings, not just simple key/values, that will make the output much worse unless you're asking for it. And seems like if you're asking for it, you need all of it.
I wonder if maybe a better direction would be support for,

--format json, applied to info, list channels, list schemas, list chunks, etc. This would improve the experience for users trying to consume these programmatically.
--extended flag on the info command, which effectively dumps all of the above into a single JSON document to summarize the file. Users could then interrogate the data, store the document in databases, render it on webpages, etc.

Seems like the combination of those would give you what you want (single call with all the info) in a more programmatically-consumable way - though maybe list channels gives you enough already. What do you think?

for ease of discussion, here's the "list channels" output for a converted ros1 bag, which contains all the stuff required in channel info for the ros1 mcap profile:
$ mcap list channels ~/data/bags/cal_loop.mcap
id  schemaId  topic                                             messageEncoding  metadata
0   1         /can_bus_dbw/can_rx                               ros1             {"callerid":"/can_node","latching":"0","md5sum":"33747cb98e223cafb806d7e94cb4071f","topic":"/can_bus_dbw/can_rx"}
1   2         /center_camera/camera_info                        ros1             {"callerid":"/center_camera/center_camera_nodelet_manager","latching":"0","md5sum":"c9a58c1b0b154e0e6da7578cb991d214","topic":"/center_camera/camera_info"}
2   3         /imu/data                                         ros1             {"callerid":"/xsens_driver","latching":"0","md5sum":"6a62c6daae103f4ff57a132d6f95cec2","topic":"/imu/data"}
3   4         /ecef/                                            ros1             {"callerid":"/xsens_driver","latching":"0","md5sum":"c63aecb41bfdfd6b7e1fac37c7cbe7bf","topic":"/ecef"}
4   5         /fix                                              ros1             {"callerid":"/xsens_driver","latching":"0","md5sum":"2d3a8cd499b9b4a0249fb98fd05cfa48","topic":"/fix"}
5   6         /vehicle/dbw_enabled                              ros1             {"callerid":"/vehicle/dbw_node","latching":"1","md5sum":"8b94c1b53db61fb6aed406028ad6332a","topic":"/vehicle/dbw_enabled"}
6   7         /vehicle/filtered_accel                           ros1             {"callerid":"/vehicle/twist_controller","latching":"0","md5sum":"fdb28210bfa9d7c91146260178d9a584","topic":"/vehicle/filtered_accel"}
7   8         /vehicle/joint_states                             ros1             {"callerid":"/vehicle/dbw_node","latching":"0","md5sum":"3066dcd76a6cfaef579bd0f34173e9fd","topic":"/vehicle/joint_states"}
8   9         /time_reference                                   ros1             {"callerid":"/xsens_driver","latching":"0","md5sum":"fded64a0265108ba86c3d38fb11c0c16","topic":"/time_reference"}
9   10        /center_camera/image_color/compressed             ros1             {"callerid":"/center_camera/center_camera_nodelet_manager","latching":"0","md5sum":"8f7a12909da2c9d3332d540a0977563f","topic":"/center_camera/image_color/compressed"}
10  11        /pressure                                         ros1             {"callerid":"/xsens_driver","latching":"0","md5sum":"804dc5cea1c5306d6a2eb80b9833befe","topic":"/pressure"}
11  12        /vehicle/twist_controller/parameter_descriptions  ros1             {"callerid":"/vehicle/twist_controller","latching":"1","md5sum":"757ce9d44ba8ddd801bb30bc456f946f","topic":"/vehicle/twist_controller/parameter_descriptions"}
12  13        /vehicle/twist_controller/parameter_updates       ros1             {"callerid":"/vehicle/twist_controller","latching":"1","md5sum":"958f16a05573709014982821e6822580","topic":"/vehicle/twist_controller/parameter_updates"}
13  14        /vehicle/gear_report                              ros1             {"callerid":"/vehicle/dbw_node","latching":"0","md5sum":"f33342dfeb80c29d8fe4b31e22519594","topic":"/vehicle/gear_report"}
14  15        /vehicle/wheel_speed_report                       ros1             {"callerid":"/vehicle/dbw_node","latching":"0","md5sum":"a2c91f746e5d8bec139c834f92ac7468","topic":"/vehicle/wheel_speed_report"}
15  16        /vehicle/throttle_info_report                     ros1             {"callerid":"/vehicle/dbw_node","latching":"0","md5sum":"8255d20d2bbc661ad39074024259c71a","topic":"/vehicle/throttle_info_report"}
16  17        /vehicle/brake_report                             ros1             {"callerid":"/vehicle/dbw_node","latching":"0","md5sum":"a306c167d365176ae6159e3c4e3f3197","topic":"/vehicle/brake_report"}
17  18        /vehicle/imu/data_raw                             ros1             {"callerid":"/vehicle/dbw_node","latching":"0","md5sum":"6a62c6daae103f4ff57a132d6f95cec2","topic":"/vehicle/imu/data_raw"}
18  19        /vehicle/throttle_report                          ros1             {"callerid":"/vehicle/dbw_node","latching":"0","md5sum":"a7fd7b93c8549e83c319e38a18f6dbdc","topic":"/vehicle/throttle_report"}
19  20        /right_camera/camera_info                         ros1             {"callerid":"/right_camera/right_camera_nodelet_manager","latching":"0","md5sum":"c9a58c1b0b154e0e6da7578cb991d214","topic":"/right_camera/camera_info"}
20  21        /right_camera/image_color/compressed              ros1             {"callerid":"/right_camera/right_camera_nodelet_manager","latching":"0","md5sum":"8f7a12909da2c9d3332d540a0977563f","topic":"/right_camera/image_color/compressed"}
21  22        /vehicle/misc_1_report                            ros1             {"callerid":"/vehicle/dbw_node","latching":"0","md5sum":"9ecd16fb81815b3e46e0550feea1da2f","topic":"/vehicle/misc_1_report"}
22  23        /vehicle/brake_info_report                        ros1             {"callerid":"/vehicle/dbw_node","latching":"0","md5sum":"fc88af128b5b3213ea25ab325a9b3bbb","topic":"/vehicle/brake_info_report"}
23  24        /left_camera/camera_info                          ros1             {"callerid":"/left_camera/left_camera_nodelet_manager","latching":"0","md5sum":"c9a58c1b0b154e0e6da7578cb991d214","topic":"/left_camera/camera_info"}
24  25        /vehicle/steering_report                          ros1             {"callerid":"/vehicle/dbw_node","latching":"0","md5sum":"25bf2c220d904531d8bc16ab5271325d","topic":"/vehicle/steering_report"}
25  26        /left_camera/image_color/compressed               ros1             {"callerid":"/left_camera/left_camera_nodelet_manager","latching":"0","md5sum":"8f7a12909da2c9d3332d540a0977563f","topic":"/left_camera/image_color/compressed"}
26  27        /vehicle/suspension_report                        ros1             {"callerid":"/vehicle/dbw_node","latching":"0","md5sum":"a2c91f746e5d8bec139c834f92ac7468","topic":"/vehicle/suspension_report"}
27  28        /vehicle/fuel_level_report                        ros1             {"callerid":"/vehicle/dbw_node","latching":"0","md5sum":"f5ec1964dbda02fda82785b8035744e4","topic":"/vehicle/fuel_level_report"}
28  29        /velodyne_packets                                 ros1             {"callerid":"/velodyne_nodelet_manager","latching":"0","md5sum":"50804fc9533a0e579e6322c04ae70566","topic":"/velodyne_packets"}
29  30        /vehicle/sonar_cloud                              ros1             {"callerid":"/vehicle/dbw_node","latching":"0","md5sum":"1158d486dd51d683ce2f1be655c3c181","topic":"/vehicle/sonar_cloud"}
30  31        /vehicle/surround_report                          ros1             {"callerid":"/vehicle/dbw_node","latching":"0","md5sum":"17a8c9ed72da4f55d44d6d71483cf0e3","topic":"/vehicle/surround_report"}
31  32        /vehicle/gps/fix                                  ros1             {"callerid":"/vehicle/dbw_node","latching":"0","md5sum":"2d3a8cd499b9b4a0249fb98fd05cfa48","topic":"/vehicle/gps/fix"}
32  33        /vehicle/gps/time                                 ros1             {"callerid":"/vehicle/dbw_node","latching":"0","md5sum":"fded64a0265108ba86c3d38fb11c0c16","topic":"/vehicle/gps/time"}
33  34        /vehicle/gps/vel                                  ros1             {"callerid":"/vehicle/dbw_node","latching":"0","md5sum":"98d34b0043a2093cf9d9345ab6eef12e","topic":"/vehicle/gps/vel"}
34  35        /vehicle/tire_pressure_report                     ros1             {"callerid":"/vehicle/dbw_node","latching":"0","md5sum":"a2c91f746e5d8bec139c834f92ac7468","topic":"/vehicle/tire_pressure_report"}
35  36        /diagnostics                                      ros1             {"callerid":"/center_camera/center_camera_nodelet_manager","latching":"0","md5sum":"60810da900de1dd6ddd437c3503511da","topic":"/diagnostics"}

@wkalt
I didn't know about list channels! It's very helpful to have the channel metadata available.
To make the discussion more concrete, consider this use case:
An mcap file from a malfunctioning system contains data from 3 robots. As a sanity check, a user runs mcap info to see if all robots are publishing poses at the expected rate.
Currently, since the origin info is stored in channel metadata, users would have to join mcap list channels output with mcap info.
I like the solution you proposed where the existing --json flag also works on mcap info and mcap list, as a new --extended flag makes mcap info output cover channel metadata. I'm gonna assume mcap info --extended without json should print the entire contents of channel metadata inline. I'll make the changes on this PR once I get some more time

@james-rms what decisions are left on this PR to get this feature merged? seems like we need to decide on the feature flag. Might I propose --show-channel-metadata?

Ah, I think we decided to add a bigger rework of the --json flag to this PR, I haven't gotten the chance to do it yet, but I'll try to get something in tomorrow - then the maintainers can take another look

Seems like this work has gone stale? Do we still want to keep it open?

Closing this since there was no response to my last inquiry. If you eventually come back to this we can revisit.


[style]: improve the button stying by adding some more styling like a good hover effect and changing the favicon used

What's the style idea?
We need to improve  improve the button stying by adding some more styling like a good hover effect and changing the favicon used
Add screenshots
Add screenshots
Code of Conduct

[X] I agree to follow this project's Code of Conduct

I would like to work on this issue under gssoc'23

I would like to take up the issue @himanshu1221

Go for it @Tushar98644
Assinging ypu 🚀

I want to work on this issue as a contributor.
Pleasure Assign so that I can show my skills under GSSoC'23.

Hey there, I am Interested to change buttons by improving the styling of buttons  and
New issue :- "home-about us-events-team" are in between on the screen and in small devices like mobile it not correctly at center I personally feel if 3 lines in mobile device in right side so  "home-about us-events-team" section also at the right side of screen. Here is example

So assign me to fix that...

Icons and hover effect is already done on buttons


script to generate data dictionary from data package

updated readme info script with a new option to generate a csv data dictionary file from data package files in #840


[Jupyter] Writing config files and Auth bugfixes

Adds support for writing/updating the config file local to the backend server. This also updates the config file when the user logs in, meaning they will be logged in across sessions.
Bugfixes.
Two main ones:

INT-1161 If the active context of the pachyderm config file connected to an auth-enabled cluster but the user was not logged into that cluster, the extension was inaccessible. The config file being present bypassed the config screen within the extension, but the user wasn't able to access the cluster which crashed the extension.

We needed to expand the possible cluster states to
export type clusterStatus = 'INVALID' | 'VALID_NO_AUTH' | 'VALID_LOGGED_IN' | 'VALID_LOGGED_OUT'

Login failure made extension non-responsive. The cause of this was that the client.auth.authenticate call in the backed is blocking and completes only if the user successfully logs in, or the OIDC event times out. Experimented with several different ways to fix this, but ended up implemented the asynchronous authenticate call by hand so that the code no longer blocks. We should probably discuss this code.

Tests
These bugs have gone unnoticed partially because we don't test this code at all. How do we fix this?

Merging this PR is blocked on publishing a new pre-release version of the python-sdk


prepare for enabling mastodon

[x] add mastodon profiles to twitter profiles and vice versa
[x] apply https://fedifinder.glitch.me/ to every mastodon account
[x] enable configs for each every mastodon account
[ ] update active/inactive status in README
[x] share info on twitter

https://github.com/YNedderhoff/citytweets/pull/207

https://github.com/YNedderhoff/citytweets/pull/207


feat: add canonical outcome type

give the make_canonical function an output type that contains the new canonical header.

🤖 Generated by Copilot at 815b225
This pull request enhances the blockchain tree logic and interfaces to return more information about the canonicalization process of blocks. It introduces a new enum CanonicalOutcome that indicates the status and header of the canonical block, and updates the methods of the BlockchainTree, ShareableBlockchainTree, ChainProvider, and BlockchainTreeEngine to use it. It also optimizes the BeaconEngine by using existing methods to get block headers, and adds a new method to the BlockIndices struct to get the canonical block number of a block hash.

Codecov Report

Merging #2765 (815b225) into main (238eea3) will decrease coverage by 57.84%.
The diff coverage is 0.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff             @@
##             main    #2765       +/-   ##
===========================================
- Coverage   71.43%   13.59%   -57.84%
===========================================
  Files         504      504
  Lines       65731    65760       +29
===========================================
- Hits        46952     8943    -38009
- Misses      18779    56817    +38038

Flag
Coverage Δ

integration-tests
13.59% <0.00%> (-3.87%)
:arrow_down:

unit-tests
?

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

Impacted Files
Coverage Δ

crates/blockchain-tree/src/block_indices.rs
0.00% <0.00%> (-84.26%)
:arrow_down:

crates/blockchain-tree/src/blockchain_tree.rs
0.00% <0.00%> (-83.82%)
:arrow_down:

crates/blockchain-tree/src/canonical_chain.rs
0.00% <0.00%> (-98.00%)
:arrow_down:

crates/blockchain-tree/src/shareable.rs
0.00% <0.00%> (-42.23%)
:arrow_down:

crates/consensus/beacon/src/engine/mod.rs
0.00% <0.00%> (-86.95%)
:arrow_down:

crates/interfaces/src/blockchain_tree/mod.rs
0.00% <0.00%> (-57.15%)
:arrow_down:

crates/storage/provider/src/providers/mod.rs
0.00% <0.00%> (-16.46%)
:arrow_down:

crates/storage/provider/src/traits/chain.rs
18.51% <0.00%> (-4.40%)
:arrow_down:

... and 381 files with indirect coverage changes


Archive app version 0.3.6

Description
The main purpose of this pull request is to archive the app at version 0.3.6.
Test Plan
N/A
Motivation and Context
We enhanced the interactions for the async thunks StartPlayer, PausePlayer, StopPlayer, DeleteQueueTrack, and ToggleTrackLike.
How Has This Been Tested?
I tested this manually by going through the app to make sure everything was working just as it was before the update.
Types of Changes

[x] Documentation
Bug fix
[x] New feature
Breaking change

Checklist

[x] My code follows the code style of this project
[x] My change requires a change to the documentation
[x] I have updated the documentation accordingly

 Archive app version 0.3.6


any chance of a 1.21 update coming ?  thanks!

on vacation, I can do it on friday. do you have a crashlog perhaps?

hey :) I tested, it works in 1.21.  just needed to update the versions.


refactor: Return a Valid from merge_right

Currently merge_right can never fail, we need to fix that by returning a Valid
Technical Requirements

Change the type signature of merge_right to return a Valid<Self, String>

/bounty $50

/attempt #2815

MergeRight should stay as is while for other way of merging new specific traits were added


C# client does not generate methods when schema is the "any-type" scheme

In my project, I generate C# client for Atlassian OpenAPI. However one of response has the "any-type" scheme ({}).
Example part of OpenAPI file:
responses:
  '200':
    description: Returned if the worklog property is updated.
    content:
      application/json:
        schema: {}

So I debug the source code of Kiota and find the reason. In response content has schema but actually it is not any type. The GetExecutorMethodReturnType method in KiotaBuilder has an if statement and the statement acts like schema is not null. So it returns (null,null), the code throw exception at CreateOperationMethods method while getting instance of CodeMethod.
I add an else statement like this:
if (modelType is not null && config.IncludeBackwardCompatible && config.Language is GenerationLanguage.CSharp or GenerationLanguage.Go && modelType.Name.EndsWith(suffix, StringComparison.Ordinal)){
// modelType is null so it goes to else
}
else
{
    string returnType;
    if (operation.Responses.Any(static x => noContentStatusCodes.Contains(x.Key)))
        returnType = VoidType;
    else if (operation.Responses.Any(static x => x.Value.Content.ContainsKey(RequestBodyPlainTextContentType)))
        returnType = "string";
    else
        returnType = "binary";
    return (new CodeType { Name = returnType, IsExternal = true, }, null);
}

And it works. I am not an OpenAPI expert so I am not sure how Kiota acts for "any-type" schema.
My test code:
    [Fact]
    public async Task AnyTypeResponse()
    {
        var tempFilePath = Path.Combine(Path.GetTempPath(), Path.GetTempFileName());
        await using var fs = await GetDocumentStream(@"openapi: 3.0.1
info:
  title: The Jira Cloud platform REST API
externalDocs:
  description: Find out more about Atlassian products and services.
  url: http://www.atlassian.com
paths:
  /issueLink:
    post:
      tags:
        - Issue links
      summary: Create issue link
      operationId: linkIssues
      parameters: []
      requestBody:
        description: The issue link request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LinkIssueRequestJsonBean'
        required: true
      responses:
        '201':
          description: Returned if the request is successful.
          content:
            application/json:
              schema: {}
        '400':
          description: no desc.
        '401':
          description: no desc.
        '404':
          description: no desc.
      deprecated: false
components:
  schemas:
    Comment:
      type: object
      properties:
        body:
          description: >-
            The comment text in [Atlassian Document
            Format](https://developer.atlassian.com/cloud/jira/platform/apis/document/structure/).
        created:
          type: string
          format: date-time
          readOnly: true
        id:
          type: string
          readOnly: true
        jsdAuthorCanSeeRequest:
          type: boolean
          readOnly: true
        jsdPublic:
          type: boolean
          readOnly: true
        renderedBody:
          type: string
          readOnly: true
        self:
          type: string
          description: The URL of the comment.
          readOnly: true
        updated:
          type: string
          description: The date and time at which the comment was updated last.
          format: date-time
          readOnly: true
      additionalProperties: true
      description: A comment.
     Required if `key` isn't provided.
        key:
          type: string
          description: The key of an issue. Required if `id` isn't provided.
        self:
          type: string
          description: The URL of the issue.
          format: uri
          readOnly: true
      additionalProperties: false
      description: The ID or key of a linked issue.");
        var mockLogger = new Mock<ILogger<KiotaBuilder>>();
        var builder = new KiotaBuilder(mockLogger.Object, new GenerationConfiguration { ClientClassName = "Graph", OpenAPIFilePath = tempFilePath, IncludeAdditionalData = false }, _httpClient);
        var document = await builder.CreateOpenApiDocumentAsync(fs);
        var node = builder.CreateUriSpace(document);
        var codeModel = builder.CreateSourceModel(node);
        Assert.NotNull(codeModel);
        var rbClass = codeModel.FindChildByName<CodeClass>("issueLinkRequestBuilder");
        Assert.NotNull(rbClass);
        var postMethod = rbClass.FindChildByName<CodeMethod>("Post", false);
        Assert.NotNull(postMethod);
        var linkIssueRequestJsonBeanClass = codeModel.FindChildByName<CodeClass>("LinkIssueRequestJsonBean");
        Assert.NotNull(linkIssueRequestJsonBeanClass);
    }

Hi @iozcelik,
Thanks for using kiota and for reaching out.
I'm not sure I understand what is the current behaviour and the expected one?
Are you saying that for the description you've provided, kiota throws and exception? it should set the return type to "binary" instead for the time being (stream).
Are you expecting something different than stream in that example?

Hi @baywet ,

I'm not sure I understand what is the current behaviour and the expected one?
I am expecting that Kiota should create a post method with LinkIssueRequestJsonBean parameter. However it throws exception and not create post method.

Are you saying that for the description you've provided, kiota throws and exception? it should set the return type to "binary" instead for the time being (stream).
Yes, when I add the else statement to my local Kiota code. It works and generate post method with LinkIssueRequestJsonBean parameter. However, I am not sure about return type. I see an example in code if the content looking like that application/json: {}, you return "binary". Therefore the mean is same with that case.

If you debug my test code, you would see the problem.

Thanks for the additional information.
Until we design and solve for #2548, the generator should map such cases to binary.
Is this something you'd like to submit a pull request for?


Use testtools for better unittest testcase compatability

Testtools provides compat. methods that make missing unittest
methods on older versions of python exist, so that they can
be used on those older versions.

Please re-open to rebase and update as needed.


(WIP) Add sqwiki features and rules to fetch labeled revision to Makefile

Adds rules to fetch human and autolabeled revisions to Makefile.
Adds Albanian language features to feature_lists, incomplete without Albanian language assets in revscoring.

See - https://phabricator.wikimedia.org/T163009
Blocked by - https://phabricator.wikimedia.org/T168369

I'm going to take a pass on this now.


Memory crash in version 2.0.3

After our application was upgraded from version 1.17.3 to 2.0.3, the memory performance on ios devices was normal. The same operation memory on Android devices consumes much more memory than the old version. For example: before jumping from page A to page B ( Native webView) It’s okay to repeat operations like this for more than 30 times on page A. Now the program crashes after the same operation 4 times. Did Futter do anything after version 2.0?

Hi @shLuckySeven
Can you please provide your flutter doctor -v and a minimal complete reproducible code sample and flutter run --verbose logs running the minimal code sample?
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


'assets/css/custom.css' not exists in app.py

hi author,
thanks for your excellent code.
When I run app.py, i meet the error that 'assets/css/custom.css' not exists.
Pls update this file, thank you so much!

change 'assets' to 'public'


Fix widget as game

Fix broken references

Great!

Thanks... I didn't see those changes after my initial commit.


How could I get older posts?

If I set _index.md in content, only latest posts will be shown in the homepage. I want to know how I can get all of my posts

Hi @moehanabi,
Apologies for the delayed response. There is a configuration parameter called recentPostsSize that controls the number of recent posts displayed on the page. For the demo site, you can find its location here: params.yaml.
Essentially, you need to override this value for your blog with something larger — this is the simplest way to increase the number of posts shown. Just copy the example configuration into your config/_default/params.yaml file and modify it as needed.
I hope I understood your request correctly. If you have any further questions, feel free to ask.

Thanks very much for answering my question.
So now ed doesn't support post list paging (for example, 5 posts a page and I can use "next page" to get next 5 posts) and archieve page (a page list all of my posts) right?

If the question is about the homepage, then yes, it is. Currently it's set up that way - we show a small intro and then a short list of recent articles: https://github.com/sergeyklay/gohugo-theme-ed/blob/b2b7d1b5e0cc1db068b94bd9c6fe6a9deb1ade9f/layouts/index.html#L4-L8
I'll try to think how to improve this

I see. thanks!


Feat: add option to switch Folder view and folder tree view like nested view.

Download/Music/Spotify/example.mp4 not directly /Spotify/music

Why you want folder tree view when every app on the market works this way.  It is simplified, and easy to access.
As far as I understand these are functions of file manager.


Official ROS1 Support Request

Hello Nvidia,
thanks a lot for your awesome work on Nvblox.
It would be great if you could also provide an official ROS1 wrapper for this package.
Most deployed robots in research are still operating on ROS1.
This would be a great enhancement and benefit a large part of the community.
Best Jonas

+1

+1 This could benefit very well.

+1

Based on my past experience, this would be a benefit to companies for sure. +1

+1

Ping! to keep the issue alive

Is there any news on this topic?

Unofficial modified ROS 1, but remove the sim and nav module https://github.com/hjxwhy/nvblox_ros1, just test success on 3dmatch_node, under developing

+1

Isaac ROS only supports ROS2 unfortunately as Open Robotics has shifted their efforts away towards Humble and its successors. ROS1 ports from the community are always welcome and shouldn't be too difficult to implement.

The wait is over. :) nvblox ROS1 wrappers, not supported by nvidia: https://github.com/ethz-asl/nvblox_ros1/


Interpret parameters as objects

Hello. I'm moving my first steps into duktape. One thing i really don't understand is how to get and interpret a function parameter as object. I mean the right JS-duktape object.
I created the classical Point constructor as done into different code examples. what i need is how to get and interpret a Point object passed as parameter into a function.
Example:
duk_ret_t examinate_point(duk_context *ctx)
{
// Get arguments
int res   = duk_is_object(ctx,1);
int res2 = duk_is_pointer(ctx, 1);
// Here is  something like "duk_to_pointer(ctx, 0)"
// i mean, use a kind of "duk_to_object(ctx, 1)" but getting the object
}
duk_to_pointer, duk_to_number they give back something but duk_to_object not.
Is there sample code, or explanation in how to solve this problem?
Thank you. :-)

The object is already on the value stack - there's no way to "get an object" as such from C code, because there's no easy way to represent an object as a C value.
Instead, you can read and write properties of the object, e.g.:
duk_get_prop_string(ctx, 0, "xCoord");
printf("x-coordinate is: %d\n", (int) duk_to_int(ctx, -1));
duk_pop(ctx);

Ok. I'll try. Thank you!


Error installing

I'm trying to install this module but I get the error:
sudo python setup.py install
__pycache__/_cffi__xa92da7bbx353e3f4b.c:211:47: fatal error: libnetfilter_log/libnetfilter_log.h: No such file or directory
compilation terminated.
Traceback (most recent call last):
  File "setup.py", line 45, in <module>
    ext_modules = [NFLOG().ffi.verifier.get_extension()],
  File "/home/patriciarvsousa/Downloads/scapy-nflog-capture/nflog_cffi.py", line 102, in __init__
    self.libnflog = self.ffi.verify(_clibs_includes, libraries=list(_clibs_link))
  File "/usr/local/lib/python2.7/dist-packages/cffi/api.py", line 438, in verify
    lib = self.verifier.load_library()
  File "/usr/local/lib/python2.7/dist-packages/cffi/verifier.py", line 114, in load_library
    self._compile_module()
  File "/usr/local/lib/python2.7/dist-packages/cffi/verifier.py", line 211, in _compile_module
    outputfilename = ffiplatform.compile(tmpdir, self.get_extension())
  File "/usr/local/lib/python2.7/dist-packages/cffi/ffiplatform.py", line 20, in compile
    outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
  File "/usr/local/lib/python2.7/dist-packages/cffi/ffiplatform.py", line 56, in _build
    raise VerificationError('%s: %s' % (e.__class__.__name__, e))
cffi.error.VerificationError: CompileError: command 'x86_64-linux-gnu-gcc' failed with exit status 1

As fatal error: libnetfilter_log/libnetfilter_log.h: No such file or directory implies, looks like that header file is missing on your system.
It should come with libnetfilter_log (last item in https://github.com/mk-fg/scapy-nflog-capture#requirements ), or maybe some *-dev package like libnetfilter-log-dev on debian and/or RH distros, installed to something like /usr/include/libnetfilter_log/libnetfilter_log.h
So you probably should install libnetfilter_log and/or corresponding -dev/-devel package (on deb/RH or derivatives), then just run the command again.
On an unrelated note, sudo python setup.py install is usually the most messy way to install python package, but should work too.

I install libnetfilter_log and it works! Thanks.


add lipidomics to data type

Add data type value for AGMP

@ameliakallaher I know that the answer is "Duke", but do you think we really need a separate data type for lipidomics when we have dataType = metabolomics + metaboliteType = lipids? Lipidomics is just a subset of metabolomics and we try to keep the data types broad enough that they are a useful partition for discoverability in the portal. The "assay" key tends to be more specific.
I wonder if we can talk to other DCCs at Sage to see if they make a distinction between metabolomics and lipidomics?


Revise first steps tutorial

Description of changes:
Revise "first steps." Notably:

Re-add the end of section summary/learning objectives.
Better define a few terms (proof harness, trace) before we use them.
Use cargo kani not kani
Small fixes

Resolved issues:
toward #1320
Call-outs:

Testing:

How is this change tested?

Is this a refactor change?

Checklist

[ ] Each commit message has a non-empty body, explaining why the change was made
[ ] Methods or procedures are documented
[ ] Regression or unit tests are included, or existing tests cover the modified code
[ ] My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

Updated.
Also, I noticed that we still had some functions named main around, and I fixed that too. This also required renaming main.rs to lib.rs in these examples.


Add custom domain support to callable functions

Hey there! So you want to contribute to a Firebase SDK?
Before you file this pull request, please read these guidelines:
Discussion
Googlers: see API review here
JS implementation for reference:
https://github.com/firebase/firebase-js-sdk/pull/3825
Testing

Added new unit tests

API Changes

See above

@ryanwilson for API review


More details on cross subscription logging

I would like some clarity on how to achieve -  "The Event Hubs namespace does not have to be in the same subscription as the subscription that's emitting logs, as long as the user who configures the setting has appropriate RBAC access to both subscriptions." Is thre some documentation on how to achieve this?

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

ID: c2b20649-50ea-fd6c-e58f-bf908d88387d
Version Independent ID: 7794c7a8-e6f7-ae71-26e0-e3979d3a5909
Content: Stream the Azure Activity Log to Event Hubs
Content Source: articles/monitoring-and-diagnostics/monitoring-stream-activity-logs-event-hubs.md
Service: azure-monitor
GitHub Login: @johnkemnetz
Microsoft Alias: johnkem

@nth-block Thanks for the feedback. We are actively investigating and will get back to you soon.

@johnkemnetz , do you have any published docs on this scenario?

Actually, this is rather straight-forward. The caveat is that all subscriptions must federate to the same AAD. I was trying to do this across multiple subscriptions federated across multiple AAD instances. I created a second subscription in the same AAD tenant and it was trivially easy. Please consider this issue as closed.
As a suggestion, may I request a note to be added that all subscriptions must federate to the same AAD tenant for cross subscription logging to work.

@nth-block, thanks for the update here. Happy you were able to figure this out. I have added the content owner to review your suggestion above.  we will now close this issue but happy to re-open at your request.
@johnkemnetz  - FYI.

I'll make an update to clarify.


ADCE: Add support for function calls

ADCE will now generate correct code in the presence of function calls.
This is needed for opaque type optimization needed by glslang. Currently
all function calls are marked as live. TODO: mark calls live only if they
write a non-local.
Also remove duplicate declaration from optimizer.hpp

Rebased, typo fixed, and pushed into master as b0310a4156345


Support F# unions as GraphQL unions

I'm imagining being able to define a union with only single-field cases. The union itself will be the union in the schema, and the type of each field is another type in the schema.
I won't immediately work on this, but it would be nice to have this feature.

Implemented in e344fa7457a099be689ea339dd8ed464aa424951.


hopper: fix libxml2 dynamic linking issue

port to qt5.callPackage / mkDerivation
format derivation

Motivation for this change
On channel: nixpkgs-20.03pre202154.58fb23f72ad hopper currently fails to start:
$ hopper
/etc/profiles/per-user/ente/bin/hopper: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory

Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

Notify maintainers
cc @Luis-Hebendanz (Maintainer)
@ttuegel (Contributor)

@jtojnar all review comments were implemented, please merge.


auth-backend: temporary fix for strict CSP being set

Temporary fix for https://github.com/spotify/backstage/issues/1842. We'd rather set the hash instead, but the fixes the auth flow breakage for now.

just a test failure still


Conflict with ModernHttp and okhttp

Hello,
I've bought the Uniforms-Amplitude components and I can't use it on Android because a IllegalArgumentException occurs during the build :
Error: java.lang.IllegalArgumentException: already added :  Lokio/AsyncTimeout;
This seems to come from a conflict with the ModernHttp nugget which uses the okhttp lib on Android.

@flchaux Sorry to hear that. Yes, we're using Amplitude-Android native binding and it contains okhttp lib in .jar build.
I'm still not sure how can we handle that. One option is to opt-out ModernHttpClient and use AndroidAsync-binding as HTTP client.

I opt-out the ModernHttpClient but it's not cool and AndroidAsync-binding is not integrated as a MessageHandler.

There's a similar issue:
https://github.com/mattleibow/square-bindings/issues/2
Still not resolved yet.

Sadly, seems there's no way to build ModernHttpClient manually at the moment due to:
https://github.com/paulcbetts/ModernHttpClient/issues/216
As I see, you've already been there.

@flchaux I've created component build referencing Square.OkHttp3 as external dependency. Could you drop me a line at<EMAIL_ADDRESS>so I can send you new version for trying?


Add simple locale chooser

This locale chooser always goes to the home page of the selected
locale.  We could later have it switch locales & go to the current page.
Signed-off-by: David A. Wheeler<EMAIL_ADDRESS>

Codecov Report

Merging #806 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #806   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          44     44
  Lines        1403   1404    +1
=====================================
+ Hits         1403   1404    +1

Impacted Files
Coverage Δ

app/controllers/static_pages_controller.rb
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

I don't recommend this approach. I would instead recommend a new navigation menu item that is visible from every page.

Whups, I didn't see this comment when I merged.  But I don't understand - this is a new navigation menu item visible from every page.  It currently just goes to home, but we could tweak it to jump back to the sending page.

We could embed the list of options within a pulldown list - is that what you mean?

First, I'm thrilled with the functionality. But, yes, I think a pull down rather than a separate page makes more sense.
I would also suggest switching to this icon for the locale switcher: http://fontawesome.io/icon/language/

Okay, pulldown integrated.  I don't seem to be getting the anchor value from the "full" URL (?!), but it's still useful as it is.

Could we please first try making the fontawesome icon twice as big. Then I think it will work well.

I would first try fa-lg (33% increase).
That said,  fa-2x, fa-3x, fa-4x, or fa-5x are easy, and they are just fonts so we can easily resize them to any size.
I think the globe works well also, but one problem is that the globe has to show a particular side, in this case the Americas. Somebody will probably complain no matter which side of the globe is shown. Of course the language font shows an A letter, and people cab complain about that too, but at least that letter is present in Latin letters and Greek, so it covers a larger portion of the globe. So let's start with the language icon first, and switch back to the globe if we can't make it look okay.

I am at a conference, so I cannot do that right now.

I changed it to fa-lg for now.  Any larger is too large.

I think it looks great at the size. One remaining bug is that choosing a different language from the homepage shows a locale parameter:
https://master.bestpractices.coreinfrastructure.org/?locale=ja instead of https://master.bestpractices.coreinfrastructure.org/ja/

I am working on fixing that now.

@jdossett I believe it will be a one-line fix. I just don't know what the line is!

There were a few subtleties to the fix as well as the test suite, but it is all done now.  536e224c6a2f0205c4e93facdaec3cca43b34db1


When naming channels in the menu item 18, the frequency will change

https://github.com/egzumer/uv-k5-firmware-custom/assets/52628935/c1739798-f56f-4d06-b562-837fe326d736
The frequency changes to the frequency of the main interface

I think the purpose of this menu should only be to change the name, rather than changing the frequency as well

Compliments: Nice video to reproduce this issue.
Was a usb-powercable or programcable connected ?

@losehu, @egzumer I think the issue illustrated here is that some menu items should only be allowed for memory channels like:
	MENU_S_ADD1,
	MENU_S_ADD2,
	MENU_DEL_CH,
	MENU_MEM_NAME,
	MENU_1_CALL

and some should only be allowed for vfo channels:
	MENU_MEM_CH

There was no guard check in place, so I implemented a little function that checks if given setting is allowed, and if not the display shows NOT ALLOWED to prevent accidents like you illustrated above.
Here is the commit with the fix: https://github.com/kamilsss655/uv-k5-firmware-custom/pull/9/commits/d01952ed6cee230eac046f3ac12c4a443cb97521


Add support  for groups

@nayaverdier, I got inspired and ended up publishing https://github.com/oyvindkinsey/avionmqtt - this is a fully working mqtt bridge that has full two-way communication between the BLE mesh and Home Assistant via MQTT.
I basically haven't touched python prior to this project, so still need to do some work to handle SIGINT etc properly.
It's functional rather than OOP based, but does depend on the Avi-on portion from halohome, and where it now also needs to have groups exposed.
Will you continue to support this project, or would you recommend I simply fork off the HTTP api portion as well, and make avionmqtt a standalone library?

Very cool! If you want to bump the version in setup.py and add an entry to the change log, I can merge and create a release for this.
In terms of maintenance, I don't have these lights anymore so likely won't be maintaining this myself. Happy to review any PRs, but definitely feel free to fork / pull out whatever is helpful.

I'll make those charges and update the PR.
I will probably pull out the specific parts for http then, as I'll probably
need to extend this with additional calls.
The goal is to be able to run this completely on-site, without actually
using the Avi-on cloud infra - in case they decide to stop support.
On Tue, Nov 26, 2024, 5:32 PM nayaverdier @.***> wrote:

Very cool! If you want to bump the version in setup.py and add an entry to
the change log, I can merge and create a release for this.
In terms of maintenance, I don't have these lights anymore so likely won't
be maintaining this myself. Happy to review any PRs, but definitely feel
free to fork / pull out whatever is helpful.
—
Reply to this email directly, view it on GitHub
https://github.com/nayaverdier/halohome/pull/7#issuecomment-2502431842,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA2MAXD5QIIUTKYITXA37D2CUOJPAVCNFSM6AAAAABSRWNUZSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBSGQZTCOBUGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yep makes sense. In the home assistant integration that was never merged, I stored the lights after the initial setup and only used the avi-on apis to try to fetch new lights, falling back to the stored ones in case anything went wrong.


Clarify Publishing .zip files

It's not clear how we can publish .zip files directly. When we pass a folder or file, the task will zip it  - how can we specify that we have already zipped the artifact?

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

ID: 861ce7a5-4fa4-55f1-2c97-46a9cc6a2f66
Version Independent ID: bdf954b9-9bbe-8b34-b674-71ad8153519d
Content: Publish and consume artifacts in pipelines - Azure Pipelines and TFS
Content Source: docs/pipelines/artifacts/pipeline-artifacts.md
Product: devops
Technology: devops-cicd-artifacts
GitHub Login: @ramiMSFT
Microsoft Alias: rabououn

@cawoodm Thank you for the question, assigning this to the author for further review.
Please note if this is a feature not yet supported you should solicit further feedback from the product team here.


[CORE-3524] Prevent auto-increment column silently failing on Oracle.

Auto-incrementing (identity) columns silently fail on Oracle if the generationType attribute is missing. Prevent this behavior by defaulting to the BY DEFAULT generation type.

Hi @suilven
Thanks for your pull request!  Sorry for the delay while we streamline our PR process internally.
Here’s what happens next:
A member of the Liquibase team will take a look at your contribution and may suggest
changes, additional tests, or provide other feedback. The PR will be prioritized
according to our internal development and testing capacity.
We’ll let you know when it’s ready to move to the next step or if any changes are needed.
Thanks again!
Ronak

Hi @suilven ,
Thanks for writing a unit tests for this change!
I will update this to a Risk Low which will get into a sprint faster.
-Ronak


fix: conditional import using dart.library.js

The use of fetch_api is causing issues in non-html environments, this PR adds a condition for it to use the io import instead.
This would make it possible to use this package with Dart Edge, see #34.

Thank you so much for pointing it!


Fix fftw3 CI  build

Hello,
It may be better to use type(C_PTR) instead:
https://fftw.org/doc/FFTW-Fortran-type-reference.html

Thank you @p-costa, type(c_ptr) is used in the file fftw_f03.f90, this is probably the best solution


Add support to serialize and deserialize long decimals

Some operations like Aggregate functions, use reinterpret_cast on a char buffer to retrieve values. But, reinterpret_cast from char* to UnscaledLongDecimal type leads to  Segmentation fault on linux systems.
This change adds static functions to serialize UnscaledLongDecimal into a char buffer and deserialize into UnscaledLongDecimal.
Testing:
Added unit tests.

@Yuhta would you please review this?

@Yuhta Is there something I can do to help merge this PR?

@Yuhta https://app.circleci.com/pipelines/github/facebookincubator/velox/20307/workflows/78fa10de-7cb8-43ff-b2ff-165a4645acfc/jobs/127787/tests
The  test failures are unrelated to this change. Can you retrigger the build. I opened an issue for this failure: https://github.com/facebookincubator/velox/issues/4046


Is there a way to add dashed line (similar to averageLine) with input value?

As with averageLine, is there a way to add horizontal dashed line with given value?
I am trying to add dashed line at start value to show changes from that point during chart span.  Any help would be appreciated.
Thank you.

You can refer to the source code of averageLine to modify, I believe it is not difficult for you.

You can refer to the source code of averageLine to modify, I believe it is not difficult for you. The coordinates can refer to the first value of kline, which is about line 622 of /lib/src/sparkline.dart.

Thank you.


Fixed ui issue of checkout biling addres

#5686
Fixed issue ui issue in address page in blisss in mobile view

working now
https://prnt.sc/26j02u5


chore: fix engines field

the engines field was allowing v19, which is EOL

Current dependencies on/for this PR:

main

PR #240   👈

PR #241

PR #242

This comment was auto-generated by Graphite.


[bluetooth stack][limited_discoverable_advertising timeout] Some problems about the lim_adv_timeout

Hi, when I test zephry ble stack on my bluetooth board with auto-pts, I meet a problem about the timeout of the limited discoverable advertising. The Bluetooth spec5.0 declare that "Devices shall remain in the limited discoverable mode no longer than
TGAP(lim_adv_timeout)." The default timeout is 180s. But when I test it, it can never stop although that the ad type flag is LimitedDiscoverable.
So, I have some problems about it.

Does zephry have the feature about the timeout of the limited discovering adv? something just like  macro to decide it? or call functions to set it?
Which layer should realize this feature? The controller stack, zephry host stack or application?
The PTS case will fail if it cannot stop after lim_adv_timeout when on limited discoverable mode. So what can I do for it? Should I realize it in app layer?
Thank you!

Hi. The automatic stopping of an advertiser when using the limited flag was added here: https://github.com/zephyrproject-rtos/zephyr/pull/36776
If you are on a revision before that you will have to handle this in the application.

Thank you all so much for your efforts!

No problem. Closing this as the question has been answered.


Allow adding TRUNCATECOLUMNS option to Redshift COPY

This adds a configuration parameter (defaulting to False) which triggers the TRUNCATECOLUMNS option in every Redshift COPY statement sent by the target.
The use case for us is the combination with tap-intercom where some of the content can exceed 64k, but the content for those few records/fields where that happens can be safely ignored. I couldn't find another way to truncate the content before sending to Redshift.
It might be useful to at some point add a more flexible way to include other options as well, but this should work for now.

@stefankeidel this seems really straightforward and practical. I think it'd make sense to have a test which creates an (insanely) large record, uses this option, and then makes sure we read a truncated version out of Redshift since unlike some of our other configuration options, this is pretty straightforward to actually test for.
Curious if @awm33 has any opinions/thoughts here?

Good idea! Added a test that does roughly that. Lmk if that works

Test looks good. If we can get @awm33 to weigh in here, I think this is good to merge. Really nice work @stefankeidel!

@AlexanderMann @stefankeidel I'm wondering if we should create a subobject for Redshift COPY options to group them?
@stefankeidel Did you try unselecting ("selected": false") the column/field in the tap catalog? Or do you actually need the column for analysis?

@awm33 that seems like a reasonable thing to do. I think a good enhancement for all of our config would be grouping all of the various things. Like, for psycopg2 we can make the connection object just a 1:1 mapping in a sub-object etc.
You're suggesting doing it here so folks don't have a bunch of work to do in the future?

@stefankeidel Did you try unselecting ("selected": false") the column/field in the tap catalog? Or do you actually need the column for analysis?

Yeah, this is for tap-intercom. We don't care about every individual message being imported in full but would still like to have most of them :)
Regarding a subgrouping: Makes sense! Wdyt about something like this?
{
	"redshift_host": "...",
	"redshift_port": 5439,
	"redshift_database": "...",
	"redshift_username": "...",
	"redshift_password": "...",
	"redshift_schema": "test_schema",
	"default_column_length": 1000,
	"max_batch_rows": 16000000,
	"max_buffer_size":<PHONE_NUMBER>2,
	"target_s3": {
		"aws_access_key_id": "AKIAQD5QQJZMR6E5JQNG",
		"aws_secret_access_key": "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",
		"bucket": "idagio-redshift-tmp",
		"key_prefix": "singer-io/"
	},
	"redshift_copy_options": {
		"truncate_columns": true
	}
}

If we're going this route, I'd prefer nested values ie: redshift: { copy: ...
Also, I'm wondering if we want to simply make this an array of strings which get passed right through to the COPY statement, that way you can override anything without needing another PR.

If we're going this route, I'd prefer nested values ie: redshift: { copy: ...

Hmm, we already have prefixed redshift_ values for the connection params. Would you want to move those in there as well and break existing configs? Either way it should be consistent I think.

Also, I'm wondering if we want to simply make this an array of strings which get passed right through to the COPY statement, that way you can override anything without needing another PR.

I like this idea! Not sure if we should do some verification or if we can just assume people that are using such an option know what they're doing?

I implemented it using the prefix redshift_* for now, but I'm happy to change the config format obviously. I just thought this is most consistent with the existing redshift_host etc.

@stefankeidel @AlexanderMann  I kind of regret us prefixing everything with redshift :). Other targets have COPY commands (postgres and snowflake) and snowflake has a TRUNCATECOLUMNS options too.
I propose something that we can use with other targets as well, since they offer something similar:
{
	"redshift_host": "...",
	"redshift_port": 5439,
	"redshift_database": "...",
	"redshift_username": "...",
	"redshift_password": "...",
	"redshift_schema": "test_schema",
	"default_column_length": 1000,
	"max_batch_rows": 16000000,
	"max_buffer_size":<PHONE_NUMBER>2,
	"target_s3": {
		"aws_access_key_id": "...",
		"aws_secret_access_key": "....",
		"bucket": "...",
		"key_prefix": "singer-io/"
	},
	"copy_options": {
		"truncate_columns": true
	}
}

@awm33 I like that format, but what do you think about the copy-options-as-array-of-strings idea posted by @AlexanderMann above and implemented in this latest revision? Do we want keywords for every single option we want to support or just assume users know what they're doing?

@awm33 on that note...should this really be something we put into target-postgres then and have the other targets inherit? Is this something we can assume is a SQLBase type configuration?

Is this ready to be merged + released? Happen to be looking for exactly this config option =)

Is this ready to be merged + released? Happen to be looking for exactly this config option =)

Hi! I'm a security researcher @TruffleSecurity. I found a valid API key leaked in a comment in this Issue. I highly recommend rotating the API key immediately (not just deleting the comment). Here's a blog post I wrote on remediating these types of vulnerabilities: https://trufflesecurity.com/blog/remediate-leaked-api-keys-with-key-rotation.If you can't find the leaked API key, you can use the following TruffleHog command to automatically scan for it:trufflehog github --repo https://github.com/<your_username>/<your_reponame> --issue-comments --only-verifiedIf it's not clear where/what the security issue is, please let me know. I'd be happy to help. Please note that the API key might be in the past edit of a comment.(cc @stefankeidel)


Reconnecting does not work when there is a network issue

Exchange
Binance
Subscription type
trades
Describe the bug
The reconnection doesnt work when there is a network issue.(like turn off the wifi) Also no disconnected or closed event is fired
To Reproduce
run the following code and disconnect from internet and reconnect.
`const ccxws= require('ccxws')
const streamer = new ccxws.binance();
streamer.subscribeTrades({
id: "BTCUSDT", // remote_id used by the exchange
base: "BTC", // standardized base symbol for Bitcoin
quote: "USDT", // standardized quote symbol for Tether
})
streamer.on("trade", trade => console.log(trade.price));
streamer.on("connecting", () => console.log('connecting'));
streamer.on("connected", () => console.log('connected'));
streamer.on("closed", () => console.log('closed'));
streamer.on("disconnected", () => console.log('disconnected'));`
Expected behavior
The disconnected event should be emited and reconnecting should be attempted.
Additional context
This might be the issue
https://github.com/websockets/ws/issues/1158

Thanks for the info. I'll try to reproduce this locally and go from there.

Did you guys manage to solve this? Think I am encountering the same problem.
Might be related to #130

Same problem here with binance candles/trades, sockets get disconnected and don't reconnect multiple times per day.


Use some dependency management tool to manage dependencies

The description of dependencies in readme and updateproto.bat is outdated，and building project is hard for newbie。
So, recommended use govendor to manage dependency.

Why not dep? https://github.com/golang/dep
I realize I am late to the game on this one but it would be cool to support the would be standard.

@dahankzter I try go dep, but found it not mature enough.
Of course, using any kind of dependency management tool is better than nothing.

I don't know about the maturity. In the last gophercon Sam Boyer seems to say it is ready https://www.youtube.com/watch?v=5LtMb090AZI&index=17&list=PL2ntRZ1ySWBdD9bru6IR-_WXUgJqvrtx9
It doesn't mean that it works her but it is approaching readiness fast.

@stuartcarnie, @rogeralsing
Wondering if there are any plans to migrate to dep. Apparently now that the project has attained production-level readiness as mentioned here ?


Something wrong with area coordinates?

I'm selecting an area on an image and outputting x, y width and height in a table to the right. My image is 600px * 260px. However despite my area is in the lower right corner of the image, I receive x = 448 (though it must be about 600) and y = 193 (must be about 260).
Is it an issue, or may it be that I'm doing something wrong?
Thank you for your time.

Hello, thank you for reporting this, it looks like a bug to me, I will try to get some free time next week to work on it.

Hi @delkant, I am also very interested in getting this bug solved.
Can we somehow help you with it? Would be great if we can somehow contribute (monetary or with development), to get it fixed soon 😄
Andreas

HI Andreas @kosmonowt , please feel free to open a pull request if you find a solution, I didn't have time to check this yet, I am pretty busy with some commitments I have with customers in other projects (this is more about my free time than money). I will try to find a solution before 2016 ends.

@v-bubar I cannot reproduce the issue. I will need the image that you are using and more details about how you are creating the area(parameters etc.)


8/12/2021 Publish

Docs Build status updates of commit 7687a0c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/release-notes-azure-cli.md
:bulb:Suggestion
View
Details

docs-ref-conceptual/TOC.yml
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-reference-for-cosmos-db.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/azure-cli-reference-for-hosted-apps.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/get-started-with-azure-cli.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/includes/current-version.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/install-azure-cli-beta.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/install-azure-cli.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/interactive-azure-cli.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/param-persist-howto.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/param-persist-tutorial.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/reference-types-and-status.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/use-cli-effectively.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/what-is-azure-cli.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/release-notes-azure-cli.md

Line 1711, Column 203: [Suggestion-disallowed-html-tag] HTML tag 'IP' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.
Line 1711, Column 208: [Suggestion-disallowed-html-tag] HTML tag 'IPRange' isn't allowed. Disallowed HTML poses a security risk and must be replaced with approved Docs Markdown syntax.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


429 rate limit with API Key

I'm getting 429 errors pretty consistently despite using an API Key. X-Rate-Limit-Remaining-Minute resets to 60.
Example request:
/api/matches/{matchId}?api_key={apiKey}
I can verify that my api call usage increases.  Please advise, thanks!
A few other things:

Your first 50K using an api key are not free, despite what https://github.com/odota/core/blob/461a5cb51cf3508e04edd6dd0b0498bc776f86b0/config.js#L67 says
The only thing the api key let's you do is exceed the 50K limit. However, it's a struggle to go over the limit when you can only make 60 requests a minute. Basically, it's very hard to give your money away in it's current state.
https://www.opendota.com/api-keys says 1200 calls per minute, yet the config.js file is set to 300 https://github.com/odota/core/blob/461a5cb51cf3508e04edd6dd0b0498bc776f86b0/config.js#L69. Still doesn't explain the 60/min I'm receiving.
This was working fine several years ago. I think a recent change to web.js in the last year broke the rate limit functionality.

The 50k limit refers to users not using an API key.
The config.js is a default value overwritten by configuration on the actual servers, so it should still be 1200.
If you email more info to<EMAIL_ADDRESS>we can debug your specific case further

Thanks for the clarification. Details sent.


Make warning logs optional with this plugin, please!

We need to use this plugin to successfully run & publish code coverage for our build pipeline. Unfortunately, adding this plugin also produces ##vso-style warning logs that then show up on our Build Summary page and pollute our UI. To be clear, our pipeline logs already show the warnings, but this pipeline reiterates the warnings with ##vso logs, which is unnecessary and distracting. We are requesting that an option be added to turn off these logs.
Thanks for your help & consideration!

I fixed this by adding a pytest.ini file in my /tests folder with the following content:
[pytest] filterwarnings =     ignore::pytest.PytestCacheWarning     ignore::DeprecationWarning
The ignore::pytest.PytestCacheWarning is related to warnings that I was receiving when running locally, but ignore::DeprecationWarning worked to remove the deprecation warning from my pipeline.


chore: try to fix draft nightlies by using GH CLI

The actions we've been using to publish the nightly release sometimes publish the nightly as draft and we have no idea why. We're now simply using the GH CLI to do the same thing. If that continues to be problematic it will hopefully be simpler to debug.

LGTM. Happy to approve, but I am probably not really qualified to do a formal review. But will jump in if nobody approves within a day or two.

I've tested it, should be good. If it fails, no harm done really.


feat: support custom monaco instance

Some package bundled a customized monaco instance, (eg. @monaco-editor/react).
In such case, you can only retrieve it by useMonaco hooks.
Thus, it need a way to paas that standalone instance into importResolver.
Also, add rootDir for tsConfig by default, it makes sure that TS-worker can load type models successfully
close #1, #3

Hi @ttys026! Sorry for reacting to this so late, for some reason this PR slipped through for me. Thanks so much for your contribution, I will deploy your change with a new version of monaco-editor-auto-typings and let you know once it is available on npm!


Fixes SecConnWriteStateLimit

Since https://github.com/SpiderLabs/ModSecurity/commit/a15f8813e98c8d3109a06f5913e3795aba79de76, I don't believe SecConnWriteStateLimit has been working properly, which means that "slow read" attacks are not protected against.
With ModSecurity 2.9.2 on Apache 2.4.27, I was seeing ModSecurity properly blocking a Slowloris attack (slow writing headers) via slowhttptest -H:
slowhttptest -u http://<IP_ADDRESS>/a -H -c 1000

Apache error_log with SecConnReadStateLimit 50:
[Wed Aug 23 19:20:38.902507 2017] [:warn] [pid 2712] [client <IP_ADDRESS>:21192] ModSecurity:
Access denied with code 400. Too many threads [51] of 50 allowed in READ state from
<IP_ADDRESS> - Possible DoS Consumption Attack [Rejected]

We see above that the 51st and all subsequent connections are properly dropped.
However, "slow read" attacks (slowhttptest with -X or -B) aren't currently protected.  With SecConnWriteStateLimit 50, ModSecurity currently logs warnings but doesn't drop connections.
slowhttptest -u http://<IP_ADDRESS>/a -X -c 1000

[Wed Aug 23 17:09:50.294791 2017] [:warn] [pid 11072] [client <IP_ADDRESS>:44254] ModSecurity:
Access denied with code 400. Too many threads [226] of 50 allowed in WRITE state from
<IP_ADDRESS> - Possible DoS Consumption Attack [Rejected]

(note 226 out of 50 allowed)
It looks like the line I've changed in this PR had inversed logic (should have been the same as the SecConnReadStateLimit logic), but https://github.com/SpiderLabs/ModSecurity/commit/a15f8813e98c8d3109a06f5913e3795aba79de76 swapped it on accident.
With this one-character fix, I now see slow read attacks being blocked.
CC @zimmerle

(not sure why the Travis check failed?  can I kick it off again?)
Any feedback?  Hoping this is a straightforward fix to get in.

nicjansma is correct, this is an important bug

Hi @nicjansma,
Thanks for the patch. We currently support two different ModSecurity versions on this very same repository. The v2 and the v3 family. Those different versions are using different buildbots, for some reason the v3 was shot to verify your commit and it failed as expected. I am running the v2 family buildbot manually to check your fix.

Merged ;) thanks!

Greetings!

Will this fix go out in 2.9.3?
Is there an ETA for when that will version will be available?

@drmuey

Yes, the fix is already in the mainline and will go to 2.9.3. See commit https://github.com/SpiderLabs/ModSecurity/commit/d50f840a43053007daa3052909b1a2e93821649c

There's still no ETA for 2.9.3. I don't think it will happen before year end as current focus is on ModSecurity 3.0.

thanks @victorhora , much appreciated 👍

@victorhora @zimmerle Would we be able to move forward with a 2.9.3 release soon?

@victorhora @zimmerle do you have an estimate for when a 2.9.3 release will be available?

Hi @nicjansma
We would like to have finished both 3.0.3 and 2.9.3 releases by end of September, but unfortunately some of the issues took more time and effort than we anticipated.
There's milestones set for both releases here:
2.9.3: https://github.com/SpiderLabs/ModSecurity/milestone/10
3.0.3 https://github.com/SpiderLabs/ModSecurity/milestone/12
And we also have a number of pull requests to be fully reviewed/tested and merged prior to the next release: https://github.com/SpiderLabs/ModSecurity/pulls
Ideally we would like to fix/close most (or all) of those issues before the next release. Hopefully soon, but I don't have a date yet, but certainly before end of October.
In the meantime, any help in the sense of pull requests, reviews, results of tests and comments on the aforementioned issues/PRs are appreciated :)

That's great @victorhora, thank you for the update!
That seems to be quite a few issues being addressed in 2.9.3.  Would you consider moving forward with a few smaller 2.9.x releases?

Hi @nicjansma, you're welcome :)
Well, the thing is, as you may have heard development is focused on the v3 branch. And we are planning to do releases for this branch on a shorter period of time. Ideally every 3 months or so.
For 2.x releases we don't have a fixed release schedule set at the moment. 2.x should be at maintenance level. Meaning that new releases should be based on addressing either security issues or critical bugs.
But we also believe that a reasonable amount of changes also warrants for a release. For instance, we have >20 fixes between 2.9.2 and current master (pre-2.9.3). Hence why we are working on releasing 2.9.3 as soon as possible :)

Glad to see 3.0.3 has been released!  Are you planning a 2.9.3 release soon?

Hi @nicjansma
Yes, we want to release 2.9.3 as soon as possible. You can track the progress of the milestone for 2.9.3 here: https://github.com/SpiderLabs/ModSecurity/milestone/10
As soon as that last issue is solved we will start cooking the 2.x release. Thanks.

@nicjansma
I believe that by now you probably notice that 2.9.3 is out? :)
https://github.com/SpiderLabs/ModSecurity/releases/tag/v2.9.3
Thanks for your contribution on this one! :)
Cheers

Much obliged!


refactor: split lit test up and added file split marker for execution tests

Refactoring to be able to test execution

Have you found out the cause of the failure we were seeing? Is it the fact that we tried to return more thant one value?

I went through it with a debugger and multiple results was one of the issues. For the issue with multiple funcs not working I stopped with the debugger before the execution and printed the LLVM dialect with one of them commented out and with both. The LLVM IR was looking alright, so somehow the executor was not working correctly with more functions.


As a user, I want to have a notes feature in the task manager to keep track of miscellaneous items

#26 #53 #156

#26

Finished feature


Switch Java code over to using Kotlin CRDTs

copied from https://github.com/PolymerLabs/arcs/pull/4056

copybara shows as failed, but it was done manually and verified and approved.


Update to use new 1.7 stdlib context package

Once we migrate to Go 1.7 ( #426 ) it would be nice to remove the dependency on golang.org/x/net/context. We can replace that package with built-in context.

Depends on https://github.com/almighty/almighty-core/issues/426

Done. Closing this issue!


Latest ipfs

This PR will make the project compatible with latest IPFS.
The PR also updates packages and cleans up the usage of leveldb according to the new version.

Integrates https://github.com/orbitdb/orbit-db-cache/pull/39


feat: adding sentry and health checks

Closes #42

Blocked - Sentry does not work on cloudflare - https://docs.sentry.io/platforms/javascript/guides/sveltekit/#install

Closing as Blocked.


Try old MinGW script

Try fix described in https://github.com/egor-tensin/setup-mingw/issues/6#issuecomment-1215265290.

Coverage remained the same at 100.0% when pulling d27395ee57914c932b47f16e6a72d26cfcf041e9 on fix_mingw into a2f0593649e23c51f9b5aa7480f125d2bd8bd83b on develop.


[Bug]: devbox add <pkg> fails because nix profile list needs --extra-experimental-features

Current Behavior (bug)
devbox add python3: getting error
.devbox/nix/profile/default/manifest.json' has unsupported version 2
Expected Behavior (fix)
Install should not fail and devbox add should fall back to --extra-experimental-features when calling nix profile list
Additional context
$ devbox version -v
2023/08/18 12:24:55 findProjectDir: path is
2023/08/18 12:24:55 finding devbox.json in dir: /home/philipp/git/spectral-cockpit/renku/applied-infrared-spectroscopic-modeling-workshop-for-soil-and-plant-diagnostics
2023/08/18 12:24:55 findProjectDir: path is
2023/08/18 12:24:55 finding devbox.json in dir: /home/philipp/git/spectral-cockpit/renku/applied-infrared-spectroscopic-modeling-workshop-for-soil-and-plant-diagnostics
[DEBUG] 2023/08/18 12:24:55 go.jetpack.io/devbox/internal/boxcli/midcobra/debug.go:51: Debug mode enabled.
Version:     0.5.11
Platform:    linux_amd64
Commit:      1052c4e37c16ce0df5d60afb8c82076cd290eee8
Commit Time: 2023-08-10T23:32:09Z
Go Version:  go1.20.7
Launcher:    0.2.0
[DEBUG] 2023/08/18 12:24:55 go.jetpack.io/devbox/internal/impl/dir.go:22: findProjectDir: path is
[DEBUG] 2023/08/18 12:24:55 go.jetpack.io/devbox/internal/impl/dir.go:66: finding devbox.json in dir: /home/philipp/git/spectral-cockpit/renku/applied-infrared-spectroscopic-modeling-workshop-for-soil-and-plant-diagnostics

cat devbox.json
{
  "packages": [],
  "shell": {
    "init_hook": [
      "echo 'Welcome to devbox!' > /dev/null"
    ],
    "scripts": {
      "test": [
        "echo \"Error: no test specified\" && exit 1"
      ]
    }
  }
}

more details:
$ devbox add python3
2023/08/18 12:19:01 findProjectDir: path is
2023/08/18 12:19:01 finding devbox.json in dir: /home/philipp/git/spectral-cockpit/renku/applied-infrared-spectroscopic-modeling-workshop-for-soil-and-plant-diagnostics
2023/08/18 12:19:01 findProjectDir: path is
2023/08/18 12:19:01 finding devbox.json in dir: /home/philipp/git/spectral-cockpit/renku/applied-infrared-spectroscopic-modeling-workshop-for-soil-and-plant-diagnostics
[DEBUG] 2023/08/18 12:19:01 go.jetpack.io/devbox/internal/boxcli/midcobra/debug.go:51: Debug mode enabled.
[DEBUG] 2023/08/18 12:19:01 go.jetpack.io/devbox/internal/impl/dir.go:22: findProjectDir: path is
[DEBUG] 2023/08/18 12:19:01 go.jetpack.io/devbox/internal/impl/dir.go:66: finding devbox.json in dir: /home/philipp/git/spectral-cockpit/renku/applied-infrared-spectroscopic-modeling-workshop-for-soil-and-plant-diagnostics
[DEBUG] 2023/08/18 12:19:02 go.jetpack.io/devbox/internal/nix/search.go:95: running command: /usr/bin/nix search --json github:NixOS/nixpkgs/3007746b3f5bfcb49e102b517bca891822a41b31#python3 --extra-experimental-features ca-derivations --option experimental-features nix-command flakes

Error: There was an error installing nix packages
source: error running "nix profile list": exit status 1

[DEBUG] 2023/08/18 12:19:02 go.jetpack.io/devbox/internal/boxcli/midcobra/debug.go:72: Command stderr: error: profile manifest '/home/philipp/git/spectral-cockpit/renku/applied-infrared-spectroscopic-modeling-workshop-for-soil-and-plant-diagnostics/.devbox/nix/profile/default/manifest.json' has unsupported version 2

[DEBUG] 2023/08/18 12:19:02 go.jetpack.io/devbox/internal/boxcli/midcobra/debug.go:74:
ExecutionID:4b7b23f7941e42ee89650ab6a7be8301
error running "nix profile list": exit status 1
go.jetpack.io/devbox/internal/nix.ProfileList
        go.jetpack.io/devbox/internal/nix/profiles.go:26
go.jetpack.io/devbox/internal/nix/nixprofile.ProfileListItems
        go.jetpack.io/devbox/internal/nix/nixprofile/profile.go:65
go.jetpack.io/devbox/internal/impl.(*Devbox).pendingPackagesForInstallation
        go.jetpack.io/devbox/internal/impl/packages.go:380
go.jetpack.io/devbox/internal/impl.(*Devbox).addPackagesToProfile
        go.jetpack.io/devbox/internal/impl/packages.go:267
go.jetpack.io/devbox/internal/impl.(*Devbox).syncPackagesToProfile
        go.jetpack.io/devbox/internal/impl/packages.go:241
go.jetpack.io/devbox/internal/impl.(*Devbox).ensurePackagesAreInstalled
        go.jetpack.io/devbox/internal/impl/packages.go:199
go.jetpack.io/devbox/internal/impl.(*Devbox).Add
        go.jetpack.io/devbox/internal/impl/packages.go:101
go.jetpack.io/devbox/internal/boxcli.addCmdFunc
        go.jetpack.io/devbox/internal/boxcli/add.go:68
go.jetpack.io/devbox/internal/boxcli.addCmd.func1
        go.jetpack.io/devbox/internal/boxcli/add.go:42
github.com/spf13/cobra.(*Command).execute
        github.com/spf13/cobra@v1.6.1/command.go:916
github.com/spf13/cobra.(*Command).ExecuteC
        github.com/spf13/cobra@v1.6.1/command.go:1044
github.com/spf13/cobra.(*Command).Execute
        github.com/spf13/cobra@v1.6.1/command.go:968
go.jetpack.io/devbox/internal/boxcli/midcobra.(*midcobraExecutable).Execute
        go.jetpack.io/devbox/internal/boxcli/midcobra/midcobra.go:61
go.jetpack.io/devbox/internal/boxcli.Execute
        go.jetpack.io/devbox/internal/boxcli/root.go:103
go.jetpack.io/devbox/internal/boxcli.Main
        go.jetpack.io/devbox/internal/boxcli/root.go:124
main.main
        ./main.go:11
runtime.main
        runtime/proc.go:250
runtime.goexit
        runtime/asm_amd64.s:1598
[DEBUG] 2023/08/18 12:19:02 go.jetpack.io/devbox/internal/impl/dir.go:22: findProjectDir: path is
[DEBUG] 2023/08/18 12:19:02 go.jetpack.io/devbox/internal/impl/dir.go:66: finding devbox.json in dir: /home/philipp/git/spectral-cockpit/renku/applied-infrared-spectroscopic-modeling-workshop-for-soil-and-plant-diagnostics

@philipp-baumann thanks for filing the issue.  This seems to work for me locally. I'm wondering if there's a bug with how Devbox handles some local state/state-transition in your scenario.
A couple of questions:

What is your nix version? Did you recently update your local nix?
To unblock yourself, could you run rm -rf .devbox and try again? It will claim to "re-install" your existing packages too, but it should be decently fast because those are already present in your local /nix/store.

I'm curious why you said "should fall back to --extra-experimental-features"?

I'm curious why you said "should fall back to --extra-experimental-features"?

that is just what I got from the devbox debug report. That was a bit too assertive from my side.

So the solution was to remove .devbox folder.

Got it. Glad you are unblocked. Deleting .devbox folder is a sledgehammer workaround; we'd really like users to never have to do that.
Had you recently upgraded nix? I'm wondering if you'd previously added packages using an older version of nix which created the nix profile manifest that the newer version of nix is failing to read.

Got it. Glad you are unblocked. Deleting .devbox folder is a sledgehammer workaround; we'd really like users to never have to do that.
Had you recently upgraded nix? I'm wondering if you'd previously added packages using an older version of nix which created the nix profile manifest that the newer version of nix is failing to read.

Fair point about smoothness, like that philosophy. Haven't upgraded nix, I used Determinate Systems installer once. I think I have switched between two R nix revisions (found on nixhub.io), guess that should not be a problem? Is there anything else I can help that would help diagnosing what has happened or to reproduce, if it is not that random?

I think I have switched between two R nix revisions added trough devbox (found on nixhub.io), guess that should not be a problem?

Nope, that should be totally okay...
Don't have any bright leads as of now, but will drop a line in case something strikes me!

Great, thank you!


Cannot find name 'URL' - Broken type for IOptionsBase

I believe URL is not defined as a global unless you are using dom types. https://github.com/Microsoft/TypeScript/issues/10792

As a workaround, adding a d.ts file with the following solves it for now.
declare type URL = import('url').URL;

Thanks, a PR would be much appreciated if anyone is interested.


[Feature] Add timeout to API request

Ensure that requests to the Raid-Helper API are cancelled when taking too long to process

@greptileai


Add to documentation how to make a current project into a "draft" project on CMS

https://docs.google.com/document/d/1PkA7FgD4_6j8qDYPk4PPuJameMecEZs9AQphCwiepss/edit#heading=h.oryynp1qaxmo

I'd call this solved.


Non-jit version model archive

Hi,
do you have a non-jit version model archive. To get a non-jit version model by fetching state_dict from the current jit version model archive would encounter following problem:
D:\anaconda3\envs\torch171\python.exe D:/code/CLIP-main/main.py
Traceback (most recent call last):
File "D:/code/CLIP-main/main.py", line 16, in
model = clip.load(name,device,jit=False)
File "D:\code\CLIP-main\clip\clip.py", line 114, in load
model = build_model(state_dict or model.state_dict()).to(device)
File "D:\code\CLIP-main\clip\model.py", line 431, in build_model
model.load_state_dict(state_dict)
File "D:\anaconda3\envs\torch171\lib\site-packages\torch\nn\modules\module.py", line 1051, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for CLIP:
size mismatch for logit_scale: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([1]).

Hi, there was a temporary bug (#66) regarding this earlier today. Does it still happen with the latest commit https://github.com/openai/CLIP/commit/8a665a683d791ed3491fedadcb3c91878f9eb78d?

Great! The bug is gone with the latest commit.