[e2e]: generic workflow_dispatch branch1 default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/8119919706
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.workflow_dispatch.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.workflow_dispatch.branch1.default.slsa3.yml
Trigger: workflow_dispatch
Branch: branch1
Date: Sat Mar  2 03:13:22 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/8127339233
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.workflow_dispatch.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.workflow_dispatch.branch1.default.slsa3.yml
Trigger: workflow_dispatch
Branch: branch1
Date: Sun Mar  3 03:14:47 UTC 2024
Tests are passing now. Closing this issue.


Release cycle for routineless libs

Implement versioning and publishing cycle for routineless libs.

Release cycle implementation depends on nx release features development. Right now they support sync versioning(single version for all packages) and changelog generation requires version provisioning (ideally it should resolve version by conventional commits tags). Will keep an eye on new features, but for now it does not look like the best approach.

Release cycle should also enable npm provenance. Reference https://github.com/nrwl/nx/blob/master/.github/workflows/publish.yml


Windows: QEMU: Process cannot access the file, being used by another process

Running QEMU via OVMF on Windows 10.
C:\Program Files\qemu\qemu-system-x86_64.exe: -drive file=C:\Users\USER~1\AppData\Local\Temp\.tmpxIl4Iq,index=0,media=disk,format=raw: Could not open 'C:\Users\USER~1\AppData\Local\Temp\.tmpxIl4Iq': The process cannot access the file because it is being used by another process.
qemu execution failed

Is it possible to instead produce the output and save it so that the user can manually run QEMU on it?

I can not really reproduce this since I do not have a development environment on Windows. Can you clone the repo and test whether your issue is fixed on the "fix/windows-imagefile-lock" branch?
If this solves your issue I'll release the fix.

I checked that only qemu holds a handle on the image using lsof. Version 0.3.1 has been released with the fix included. It should work now on Windows. Reopen this if the issue is not fixed.

Yup, works now. Thanks!


Make KeywordsStoppingCriteria more robust

This modification is to make KeywordsStoppingCriteria more robust, so that the program can correctly handle the case where the length of the keyword segmentation is greater than 1.

Great, thank you! LGTM.


Site Request: watch.eventive.org

Checklist

[x] I'm reporting a new site support request
[x] I've verified that I'm running youtube-dl version 2020.09.14
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that none of provided URLs violate any copyrights
[x] I've searched the bugtracker for similar site support requests including closed ones

Example URLs

Single video: https://watch.eventive.org/account/play/5f0368a74282a70029055ca8

Description

Eventive - used for streaming movies legally and supporting smaller cinema.
Popular for new film releases during COVID-19 that can't show in cinemas.
A free account is required to watch anything included free content and the test video listed above.
Use these credentials if you want:
Email<EMAIL_ADDRESS>Password: YoutubeDL2020
Everything streamed using DRM.

Looks like this requires ISM manifest Protection parse support, which youtube-dl does not have at this moment:

https://github.com/ytdl-org/youtube-dl/blob/2020.09.20/youtube_dl/extractor/common.py#L2387-L2388

if it does, this command should succeeded:
youtube-dl https://eventivevod.akamaized.net/4a553b1b-6056-47d8-a66e-9bb4a24ebd3a/5f223bc1e41623007eb1e542.ism/manifest

Similarly, streams are skipped if they are DRM protected:

https://github.com/ytdl-org/youtube-dl/blob/2020.09.20/youtube_dl/extractor/common.py#L2160-L2166

perhaps youtube-dl does not support any DRM downloading on purpose.

Also, after passed DRM issues, may need to use cookie mechanism to skip implementing log in functionality:

https://github.com/ytdl-org/youtube-dl#how-do-i-pass-cookies-to-youtube-dl

Issue should be closed. Account is locked:

The requested action could not be completed. This account has been flagged for abuse and/or violation of the Eventive Terms of Service.

Yes please


Visual Studio support for Gitlab Registry

I've been toying around with using an onsite Gitlab instance to host a registry for Docker images for .NET Core 2.1 projects, but I'm having great difficulty using the publish feature in Visual Studio 15.7.3. It seems the publish feature has been designed to work with only two registries: Azure and Docker Hub, despite the "Custom" selection. It could certainly be that I'm not doing this right, or there could be an issue with Gitlab's registry implementation, but I have debugged as much as I can and have found that the custom feature lacks full support for Gitlab's registry. I should note that I can easily publish to Gitlab's registry from the command line, but not when using Visual Studio. Does anyone have any insight here?

@mlorbetske what is the best place for this issue to go to get tracked?

This issue was moved to aspnet/websdk#365


Update dependencies

#60

Codecov Report

Merging #63 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #63   +/-   ##
=======================================
  Coverage   91.05%   91.05%
=======================================
  Files          14       14
  Lines         123      123
  Branches        7        7
=======================================
  Hits          112      112
  Misses          6        6
  Partials        5        5


O3X image rectification

Hello,
On the O3D3, the boolean JSON parameters "EnableRectificationAmplitudeImage" and  "EnableRectificationDistanceImage" determine whether image rectification is applied on the sensor, using the internal intrinsic calibration.
I believe these parameters also determine whether the point cloud is rectified.
Is there a similar feature on the O3X?
Using the same JSON parameters as with the O3D leads to the following error upon ifm3d config:
ifm3d error: [json.exception.type_error.302] type must be string, but is number
I believe the point cloud (and the XYZ image) are rectified according to the intrinsic calibration on the O3X,
and as such there should be a direct correspondence between distance, amplitude and XYZ image indexes.
However, I am looking to do a marker based robot to camera calibration, and am in need of rectified amplitude images.
Best regards,
Mikael

Unfortunately, there is no rectification of the distance or amplitude matrix available in the O3X. There seems to be way way to calculate it based on the unit vectors.

Thanks.
About the unit vectors:
They are the link between 3D position and depth image. However, I don't know if this relation is to the distorted, or to the undistorted depth image. In any case, I don't see how I can use this for rectification of the amplitude image. Any suggestions?
I guess I will have to apply my own intrinsic calibration for now, and hope that some day either the rectified images or the calibration values will be available as they are on the O3D3xx #62 .

@madsherlock  the guys from the system engineering have provided me some annotated Matlab code. I hope this will help, additionally I'll create a PR with the generated PDF so you'll see the images if you do not have Matlab available.

Hello @madsherlock ,
as far as I know, the unit-vectors are referring to the distorted (original) image arrays.

Wow, thanks! That's really helpful!
From that document, it appears the unit vectors contain all the intrinsic parameters of the camera, including the distortion parameters, and can be used to remove distortion from both the amplitude and the depth images.
It seems the method can be extended from the nearest neighbour method to using an interpolation scheme for improved results, similar to what is done in OpenCV's undistortion function.
After closer inspection of my data, I no longer believe the point cloud from the O3X is rectified; Please correct me if I am wrong in this.
It would seem the unit vectors are the only data from the O3X containing calibration information.
This should be enough though!


How to use it in Next.js Server Components?

currently i got this error in Next.js 13 app directory:
You're importing a component that needs useLayoutEffect. It only works in a Client Component but none of its parents are marked with "use client", so they're Server Components by default.

I really do not want to use "use client" to sacrifice my component performance because of some tooltips.
is there any way to use it in Sever Components?

I fixed by problem using this component instead. not sure it's the best way to do it or not
"use client";
export { Tooltip } from "react-tooltip";

As per our troubleshooting, this is indeed the recommended method.


Bug multiplying a float32(variable(int)) with a float32 variable

What version of Go are you using (go version)?

go version go1.13.4 darwin/amd64

Does this issue reproduce with the latest release?
I have not tested it
What operating system and processor architecture are you using (go env)?

I have a int slice with a value 155250 and multiply it by another float32 slice variable (519.0) using the float32(int) function. The result was  80574752, instead of 80574750.
The error does not show when converting to float64 variable. The issue must be in the float32() function

What did you expect to see?
80574750
What did you see instead?
80574752

I also replicated the issue in the Golang playground:
package main
import "fmt"
func main() {
var x int32 = 155250
var y float32 = 519
fmt.Printf("%0.8f\n", float32(x)(y))//80,574,752
fmt.Printf("%0.8f\n", float32(155250)(519.00))//80,574,752
fmt.Printf("%0.8f\n", float64(155250)*float64(519.00))//80,574,750
}

This is how float32 works.
The number 80574750 is not exactly representable in float32. It rounds to 80574752.
	fmt.Printf("%f\n", float32(80574750))

This also prints 80574752.

float32 has lower precision than float64, and may not be enough to represent the result of the multiplication with enough precision:
package main

import (
	"fmt"
)

func main() {
	fmt.Println(float32(155250) * float32(519))

	// Output: 8.057475e+07
}

Could that be reason for the result you're seeing?

Thanks for your answers and suggestions. In fact it was as you said. a precision issue.
I have moved all variables to float 64 and it worked


backend: log username for various controller actions

this is to log more information during certain events that the users perform

PTAL

Updated


ACS Chat - Adding factory methods for existing models

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Communication.Chat


Update SSH.NET to 2023.0.0

Update SSH.NET to the latest version https://www.nuget.org/packages/SSH.NET/2023.0.0
New features:

Support for .NET 6, 7, and .NET Standard 2.0/2.1
Support for RSA-SHA256/512 signature algorithms
Support for parsing OpenSSH keys with ECDSA 256/384/521 and RSA
Support for SHA256 and MD5 fingerprints for host key validation
Added async support to SftpClient and SftpFileStream
Added ISftpFile interface to SftpFile
Removed support for old target frameworks
Improved performance and stability
Added the ability to set the last write and access time for Sftp files

Thanks for the PR !
Looks like your lib is used to start remote play sessions on linux and mac from windows. The project builds with this change, but testing it is something else. I don't know the setup we require to run this particular feature, and I doubt xen will have the time to check this one out.
There's not a whole lot, but here's more context as for why the author was contributing on another repo https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks/pull/2057#issuecomment-1760737871
If you want to clarify anything @WojciechNagorski feel free.


cant compile

root@valkrasp:~# go build
go build github.com/ctz/go-fastpbkdf2: no buildable Go source files in /root/go/src/github.com/ctz/go-fastpbkdf2
can u help me?

Try to manually run
go get github.com/ctz/go-fastpbkdf2


fix: introduce separate dataset only for finding operations

Proposed change to allow loaders to only load a minimum quads necessary for finding operations (working name prefechDataset) with the full resource dataset available on-demand using an async function.
We could also add a similar .quadStream() function?

Codecov Report

Merging #89 (121bf21) into master (1d2c1e4) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #89      +/-   ##
==========================================
+ Coverage   95.25%   95.27%   +0.01%
==========================================
  Files          11       11
  Lines         274      275       +1
==========================================
+ Hits          261      262       +1
  Misses         13       13

Impacted Files
Coverage Δ

StoreResourceLoader.js
95.00% <100.00%> (+0.26%)
:arrow_up:

lib/middleware/operation.js
100.00% <100.00%> (ø)

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 1d2c1e4...121bf21. Read the comment docs.

Codecov Report

Merging #89 (121bf21) into master (1d2c1e4) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #89      +/-   ##
==========================================
+ Coverage   95.25%   95.27%   +0.01%
==========================================
  Files          11       11
  Lines         274      275       +1
==========================================
+ Hits          261      262       +1
  Misses         13       13

Impacted Files
Coverage Δ

StoreResourceLoader.js
95.00% <100.00%> (+0.26%)
:arrow_up:

lib/middleware/operation.js
100.00% <100.00%> (ø)

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 1d2c1e4...121bf21. Read the comment docs.

We stick with the name prefechDataset?
Let me also add the streaming getter method

We stick with the name prefechDataset?
Let me also add the streaming getter method


Stable release soon?

This ticket was originally about the README instructions that are different than the actual code, but then I saw #202.
When is the beta going to make it to a stable release? It is in beta for 2 years, and the last stable is 4 years ago - which is quite discouraging....

I've got it. Thank you for notification. I'll try to release it soon.
For understanding: the whole ecosystem and concept of Filewatcher has changed, now it's an organization with plugins, like https://github.com/filewatcher/filewatcher-cli/issues/19 and https://github.com/filewatcher/filewatcher-spinner/issues/48
Also I want to have almost each gem (plugin) successfully been tested in CI, including Windows, macOS, JRuby, Truffle, etc., as it was defined originally. And I'll be honest it's not easy.
I respect your attention and will try to do my best.

The whole ecosystem has been released. :tada:


Cleanup unused branches

Coming from https://github.com/opensearch-project/opensearch-clients/issues/64, cleanup unused branches.
For some unused branches we probably want to save state, so maybe note the last revision of any branch being deleted in this issue as it's being closed.

Deleted 3 branches related to backport and dependabot. All other branches in this repo are related to releases. Will keep them as is.


[stable/elastalert] upgrade to elastalert 0.1.35; add olemarkus as additional maintainer

What this PR does / why we need it: Upgrading to latest version of elastalert image. Also adding @olemarkus since he offered to help maintain this chart (see https://github.com/helm/charts/pull/6614#issuecomment-408167588).
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes # N/A
Special notes for your reviewer:

/lgtm


Added support for stringify_ids param in followers_ids method

See Twitter doc page for more details.

There's no benefit for this in Python. In JavaScript you need this param or id_str in general to prevent losing precision but Python handles the int fine.
Use str(tweet.id) if you really need string values.

The changes made look fine

Resolved by https://github.com/tweepy/tweepy/commit/c490027e936c3a0a1a62cfa3cb321358414b3b93


feat(core): let user omit transforms from spawned object contents.

:tada: This PR is included in version 10.9.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add support for Multi-Region Active-Active setups

Which problem does the PR fix?
Add support for Multi-Region Active-Active setups

What's in this PR?

Creates partial Zeebe clusters in order to form stretch clusters across multiple k8s clusters.
This is accompanied by a Helm profile containing chart values and Makefiles to automate operations procedures.
Checklist
Please make sure to follow our Contributing Guide.

Before opening the PR:

[x] There is no other open pull request for the same update/change.
[ ] The commits follow our Commit Guidelines.
[ ] Tests for charts are added (if needed).
[ ] The main Helm chart and sub-chart are updated (if needed).
[ ] In-repo documentation are updated (if needed).

After opening the PR:

[x] Did you sign our CLA (Contributor License Agreement)? It will show once you open the PR.
[ ] Did all checks/tests pass in the PR?

This PR supports dual-region active-active and potentially 3 or more regions as well.

Replaced by #1006


fix(website): Added description and article link　#13869

Understanding taiko's proof scheme is very important to increase the probability of success of prover/proposer.
The team has previously mentioned an article explaining the l3 slash, but since it is not mentioned in the doc, i have included it here for the benefit of future learners.

I wanted to link to issue #13869 but could not.

@davidtaikocha thanks suport!

The next testnet is coming soon, with a different fee-model design. The previous info has been deprecated. But thank you for helping out, I appreciate it.

I look forward to the next testnet!


[UX/UI] Grey horizontal line appearing below side images on browse pages

From testing:
Gray horizontal line appearing at bottom of images for all image pairings except for the eastman/hari-singh pair (first page).
Example: https://drive.google.com/file/d/13WkYcv7fBtHJsTYPS9TBh1YLi13bTvdk/view?usp=drive_link
Does not seem to be happening on Browse Subjects pages, just Creators.

@wrenaria this should be ready to test on dev.


chore: replace LICENSE with text of Apache 2.0 to appease pub.

The previous text was using Apache 2.0 according to the license,
but it appears pana requries the actual text of the license itself.

How about switching to the BSD 3-Clause, as [suggested by Pub.dev](Include a LICENSE file in your package. We recommend the BSD 3-clause license, which the Dart and Flutter teams typically use. However, you can use any license appropriate for your package.)

Include a LICENSE file in your package. We recommend the BSD 3-clause license, which the Dart and Flutter teams typically use. However, you can use any license appropriate for your package.

I have that setup for another package and Pub recognizes it

Completely up to you. :) BSD, MIT, Apache, etc. all sgtm.

Closing this from #21 (switched to BSD 3-Clause, which Pub recognizes the short-form for)


Not able to stream to Web Test Page

Hello,
I did the setup as recommended from the README. Able to see in the LOGs that the SDP messages are getting exchanged. I cannot however see streaming happening from my ESP32 to Web.
Please find the logs files attached for more info. The expectation is for the sample example, it should work right away with minimal changes in the code. I am trying this for about 2 days now, have to do lot of debugging and changes in process to get to the current point (from not able to build the example) but now feeling to give up.
device_side_logs_webrtc_for_freertos.log
aws_webrtc_js.log
Thanks.

Hello @ycyang1229 any update on this?

Are you following instructions and use patch from pull request 33? I have tested using us-west-2, it worked fine.

@vikramdattu @zhichent The #33 has been merged into main branch

@codingspirit thanks, the I am able to get the video stream with these fixes.


Task10

Completed

@madhu-1219
Task -10
Code verified.
Task -11
Code verified. Complete a code in flowchart method
Task -12
Code verified.


regex search and replace challenge is trivial

Describe your problem and - if possible - how to reproduce it
Instead of testing anything useful that is mentioned in the description, it requires a plaintext replacement, not even needing a capture group.
I suggest it is changed to a reordering exercise, since it is already mentioned in the example.
Add a Link to the page with the problem
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/regular-expressions/use-capture-groups-to-search-and-replace/

Reordering exercise as in?

it's the second code example.

That is this one?:
"Code Camp".replace(/(\w+)\s(\w+)/, '$2 $1'); // Returns "Camp Code"

Curriculum issues are independent of releases.


Loading town12 map into CARLA stimulator

how could I fix the problem of loading town12 map into CARLA stimulator?
I downloaded the additional map zip for CARLA 0.9.14
and copy the town12 folder into my original folder of maps
and configure.py -m Twon12
the map showed as below....

Please follow the official documentation to change the map:
https://carla.readthedocs.io/en/latest/core_map/

Hi,both
could I not use the town12 map ?when I saw the configuration require which need 700G storage of computer,
I installed tow systems and just have 100G+,could I have some instead solution for evaluation.
I want to run_evaluattion.py

https://carla.readthedocs.io/en/latest/tuto_M_add_map_package/

Please follow the documentation as I suggested here:
https://carla.readthedocs.io/en/latest/core_map/
The map can be loaded using a single line of code:
world = client.load_world('Town12')

Please follow the documentation as I suggested here:
https://carla.readthedocs.io/en/latest/core_map/
The map can be loaded using a single line of code:
world = client.load_world('Town12')

After loading the Town 12, you will only see an empty scene because it is a tiled map. The tiles will only be loaded

with the vehicle moving through them, which means you must spawn an ego vehicle to see the map.
I have use configure.py -m Town12 to load map
and use example/generate_traffic.py to spawn vehicle,but the map still didn't go well.

Since the example example/generate_traffic.py only generates traffic rather than an ego vehicle, you will still see an empty map. This example spawns an ego vehicle:
python manual_control.py

Since the example example/generate_traffic.py only generates traffic rather than an ego vehicle, you will still see an empty map. This example spawns an ego vehicle:
python config.py -m Town12
python manual_control.py

so if I run the evalution in leaderboard,it occurs error
`  if LooseVersion(dist.version) < LooseVersion('0.9.10'):
========= Preparing RouteScenario_0 (repetition 0) =========

Loading the world

<srunner.scenarioconfigs.route_scenario_configuration.RouteScenarioConfiguration object at 0x7f6f0880b580>
[<carla.libcarla.Location object at 0x7f6dcb5c06f0>, <carla.libcarla.Location object at 0x7f6dcb5c0670>, <carla.libcarla.Location object at 0x7f6dcb5c04f0>, <carla.libcarla.Location object at 0x7f6dcb5c03b0>, <carla.libcarla.Location object at 0x7f6dcb87cf30>, <carla.libcarla.Location object at 0x7f6dc5afd3b0>, <carla.libcarla.Location object at 0x7f6dc5afd3f0>, <carla.libcarla.Location object at 0x7f6dc5afd430>, <carla.libcarla.Location object at 0x7f6dc5afd470>, <carla.libcarla.Location object at 0x7f6e67c8a230>, <carla.libcarla.Location object at 0x7f6dc5afd4b0>, <carla.libcarla.Location object at 0x7f6dc5afd4f0>, <carla.libcarla.Location object at 0x7f6dc5afd530>, <carla.libcarla.Location object at 0x7f6dc5afd570>, <carla.libcarla.Location object at 0x7f6dc5afd5b0>, <carla.libcarla.Location object at 0x7f6dc5afd5f0>, <carla.libcarla.Location object at 0x7f6dc5afd630>, <carla.libcarla.Location object at 0x7f6dc5afd670>, <carla.libcarla.Location object at 0x7f6dc5afd6b0>, <carla.libcarla.Location object at 0x7f6dc5afd6f0>, <carla.libcarla.Location object at 0x7f6dc5afd730>, <carla.libcarla.Location object at 0x7f6dc5afd770>, <carla.libcarla.Location object at 0x7f6dc5afd7b0>, <carla.libcarla.Location object at 0x7f6dc5afd7f0>, <carla.libcarla.Location object at 0x7f6dc5afd830>, <carla.libcarla.Location object at 0x7f6dc5afd870>, <carla.libcarla.Location object at 0x7f6dc5afd8b0>, <carla.libcarla.Location object at 0x7f6dc5afd8f0>, <carla.libcarla.Location object at 0x7f6dc5afd930>, <carla.libcarla.Location object at 0x7f6dc5afd970>, <carla.libcarla.Location object at 0x7f6dc5afd9b0>, <carla.libcarla.Location object at 0x7f6dc5afd9f0>, <carla.libcarla.Location object at 0x7f6dc5afda30>, <carla.libcarla.Location object at 0x7f6dc5afda70>, <carla.libcarla.Location object at 0x7f6dc5afdab0>]

The scenario could not be loaded:

Traceback (most recent call last):
  File "/home/violayu/disk2/LAV-main/leaderboard/leaderboard/leaderboard_evaluator.py", line 271, in _load_and_run_scenario
    self.route_scenario = RouteScenario(world=self.world, config=config, debug_mode=args.debug)
  File "/home/violayu/disk2/LAV-main/leaderboard/leaderboard/scenarios/route_scenario.py", line 71, in __init__
    self.route = self._get_route(config)
  File "/home/violayu/disk2/LAV-main/leaderboard/leaderboard/scenarios/route_scenario.py", line 124, in _get_route
    self.gps_route, self.route = interpolate_trajectory(config.keypoints)
  File "/home/violayu/disk2/LAV-main/leaderboard/leaderboard/utils/route_manipulation.py", line 146, in interpolate_trajectory
    grp = GlobalRoutePlanner(CarlaDataProvider.get_map(), hop_resolution)
  File "/home/violayu/disk2/LAV-main/leaderboard/leaderboard/srunner/scenariomanager/carla_data_provider.py", line 234, in get_map
    raise ValueError("class member \'world'\' not initialized yet")
ValueError: class member 'world'' not initialized yet

> Registering the route statistics
Exception ignored in: <function RouteScenario.__del__ at 0x7f6f090643a0>
Traceback (most recent call last):
  File "/home/violayu/disk2/LAV-main/leaderboard/leaderboard/scenarios/route_scenario.py", line 496, in __del__
    self.client.apply_batch([carla.command.DestroyActor(x) for x in self._parked_ids])
AttributeError: 'RouteScenario' object has no attribute '_parked_ids'
(base) violayu@violayu-Dell-G15-5520:~/disk2/LAV-main/leaderboard/scripts$
`

but when I check the routes_training.xml ,I saw there was waypoint in the the file of configuration .


Use spec draft 3 underscore-delimited forms of proto fields

We are currently using camel case field names (from spec draft 2). Change the protos to spec draft 3 form.

Just noticed CredentialRetrieveBbqResponse need to be updated:
message CredentialRetrieveBbqResponse {
    bytes retrieveIntent = 1;
    map<string, bytes> additionalProps = 2;
}


feat(persons): include shortcut for creating new User for specific person

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

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

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules

Task linked: CU-86c0wk6k2 [FEAT] Include shortcut for creating new User for specific person


Different CSP Header using ZMQ (python) and CAN (C)

Hello,
I'm working with the libcsp and until recently I was using a CAN bus and coded my communication in C.
Everything works perfectly and I can easily dump the trafic and by doing so I see that before my payload there is a 6 bytes : the 4 bytes of the CSP header and 2 for the length of the payload.
Then I recently wanted to update one of my nodes so it could use ZMQ through the python bindings.
Doing so I end up with a 5 bytes header that doesn't correspond at all to the header I had when using CSP over CAN.
Is this a bug or is it an expected behaviour ? And if it is an expected behaviour is there a documentation that explains the header when using ZMQ ?

The representation of a CSP packet of course will vary between different transfer mediums.
We don't have much documentation, but try to keep the code simple.
You can fairly easily see in the implementation of the ZMQ interface that it consists of a filter byte and the CSP header.

While working on ZMQ, we've noticed the same thing. The first byte corresponds to the via address. This is fine. The 4 bytes after it is supposed to be the 4-byte CSP ID. We noticed that the ID is transmitted in little endian, which didn't seem right since on every other interface (including CAN) it was transmitted in big endian. Upon further inspection, we saw that the ID was transmitted in host byte order
From csp_zmqhub_tx() in csp_if_zmqhub.c:
	uint16_t length = packet->length;
	uint8_t * destptr = ((uint8_t *) &packet->id) - sizeof(dest);
	memcpy(destptr, &dest, sizeof(dest));
	csp_bin_sem_wait(&drv->tx_wait, 1000); /* Using ZMQ in thread safe manner*/
	int result = zmq_send(drv->publisher, destptr, length + sizeof(packet->id) + sizeof(dest), 0);

And it was received in host byte order. From csp_zmqhub_task:
	// Copy the data from zmq to csp
	const uint8_t * rx_data = zmq_msg_data(&msg);

	// First byte is the "via" address
	++rx_data;
	--datalen;

	// Remaining is CSP header and payload
	memcpy(&packet->id, rx_data, datalen);
	packet->length = (datalen - sizeof(packet->id));

	// Route packet
	csp_qfifo_write(packet, &drv->iface, NULL);

In my case, both the sending and the receiving machine were little-endian, so in the end it all worked out. But this will fail if one of the machines was big endian. It also threw us off when reading the byte data.
I think the correct behaviour is to covert the ID to network byte order before sending. This is consistent with the behaviour found in other interfaces, e.g.:
CAN (RX):
		/* Copy CSP identifier (header) */
		memcpy(&(buf->packet->id), data, sizeof(buf->packet->id));
		buf->packet->id.ext = csp_ntoh32(buf->packet->id.ext);

CAN (TX):
        /* Copy CSP headers and data */
	const uint32_t csp_id_be = csp_hton32(packet->id.ext);
	const uint16_t csp_length_be = csp_hton16(packet->length);

	uint8_t frame_buf[MAX_BYTES_IN_CAN_FRAME];
	memcpy(frame_buf, &csp_id_be, sizeof(csp_id_be));
	memcpy(frame_buf + sizeof(csp_id_be), &csp_length_be, sizeof(csp_length_be));
	memcpy(frame_buf + CFP_OVERHEAD, packet->data, bytes);

KISS (TX):
	/* Save the outgoing id in the buffer */
	packet->id.ext = csp_hton32(packet->id.ext);
	packet->length += sizeof(packet->id.ext);

KISS (RX):
	/* Convert the packet from network to host order */
	ifdata->rx_packet->id.ext = csp_ntoh32(ifdata->rx_packet->id.ext);

What also threw me off is the way the IDs are represented in csp_types.h
typedef union {
    /** Entire identifier. */
    uint32_t ext;
    /** Individual fields. */
    struct __attribute__((__packed__)) {
#if (CSP_BIG_ENDIAN || __DOXYGEN__)
        unsigned int pri   : CSP_ID_PRIO_SIZE;  //!< Priority
        unsigned int src   : CSP_ID_HOST_SIZE;  //!< Source address
        unsigned int dst   : CSP_ID_HOST_SIZE;  //!< Destination address
        unsigned int dport : CSP_ID_PORT_SIZE;  //!< Destination port
        unsigned int sport : CSP_ID_PORT_SIZE;  //!< Source port
        unsigned int flags : CSP_ID_FLAGS_SIZE; //!< Flags, see @ref CSP_HEADER_FLAGS
#elif (CSP_LITTLE_ENDIAN)
        unsigned int flags : CSP_ID_FLAGS_SIZE;
        unsigned int sport : CSP_ID_PORT_SIZE;
        unsigned int dport : CSP_ID_PORT_SIZE;
        unsigned int dst   : CSP_ID_HOST_SIZE;
        unsigned int src   : CSP_ID_HOST_SIZE;
        unsigned int pri   : CSP_ID_PRIO_SIZE;
#endif
    };
} csp_id_t;

My initial understanding is that the defines are done to ensure that the ID is always represented in big endian in memory, as it is presumed that the compiler will reverse the bit order when compiling on a little endian machine. This means that conversions will not be necessary when copying the ID's as bytes from memory. But this is a dangerous assumption because the way that the compiler decides to put the data in memory is implementation specific.
I've written a test program to test this assumption here, and I've attached the C code here. I've defined the ID union similar to how it would be defined in a little-endian system. I expect that reading the value as an int should be identical to reading it as a byte array, since in the end it should be in big-endian. I am using gcc 7.5.0 on Ubuntu 18.04 64-bit.
The following is the output.
ext = 0xA011F208
bytes = 8 F2 11 A0

Perhaps this should be a separate issue, but this might be why you're seeing it completely different than what you expect. However, I might be wrong here, maybe I'm missing something. Please let me know if there's any mistake.

Hello.
Thanks for the very extensive analysis of this. Indeed the zmqhub interface is host order, which is a bug. Which is not possible to solve in 1.6 because it would break existing working installations.
I am tagging this for the 2.0 release.
And btw. your second remark about the packed bit fields have been solved already on the development branch.
https://github.com/libcsp/libcsp/blob/develop/src/csp_id.c

This is solved in CSP 2.0


Release/0.5.2

Coverage remained the same at 32.583% when pulling d55724540dba7d47def85bb9ca3e35b722cdfa39 on release/0.5.2 into 3fdb16f5412ef2beefc6d47cae1a96b177f575ef on master.

LGTM, sorry for confusion!

Coverage remained the same at 32.583% when pulling d55724540dba7d47def85bb9ca3e35b722cdfa39 on release/0.5.2 into 3fdb16f5412ef2beefc6d47cae1a96b177f575ef on master.

All good! Will pull and close now.


fix(exclude): fix exclusion bug due to inverted conditional

The exclude array was actually having the opposite effect as the conditional should have been inverted. The some test function returns true if any exclusion pattern was found, but while the test function should remain the same, we really want to negate that return value.

@Wenqer - was wondering if you've seen this. Let me know if you have any questions!

@Wenqer ^

@Wenqer - would be really nice to get this merged.  Thanks.

@Wenqer - also interested in getting this merged

@Wenqer Any news on this?

Thanks!


python311Packages.odp-amsterdam: 5.2.0 -> 5.3.1

Diff: https://github.com/klaasnicolaas/python-odp-amsterdam/compare/refs/tags/v5.2.0...v5.3.1
Changelog: https://github.com/klaasnicolaas/python-odp-amsterdam/releases/tag/v5.3.1
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 250719 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.garages_amsterdam
python310Packages.odp-amsterdam
python310Packages.odp-amsterdam.dist
python311Packages.odp-amsterdam
python311Packages.odp-amsterdam.dist


mesos-consul vs. marathon-consul

Hello,
Great contributions to the mesos ecosystem here with mantl and the consul / general hashi-* tooling. Thanks! I notice that the mesos-consul project seems to be much more update and have more activity, is it replacing this project entirely?

Yes, since we started to use traefik for load balancing we no longer use haproxy or marathon-consul.


Hadolint findings should be marked as static findings

Bug description
Hadolint parser has no specific configuration regarding static/dynamic status of its findings. So it uses the default status, i.e. "dynamic", whereas Hadolint is a SAST, not a DAST. For consistency, Hadolint findings should be "static", not "dynamic". This wrong "dynamic" value has impacts on deduplication.
Steps to reproduce
Steps to reproduce the behavior:

Import Hadolint report of your choice into DefectDojo
Go to a newly created Hadolint finding: it is marked as "Dynamic"

Expected behavior
On step 2. I should see "Static" for every Hadolint finding.
Deployment method (select with an X)

[X] Kubernetes
[ ] Docker
[ ] setup.bash / legacy-setup.bash

Environment information

Operating System: Ubuntu 18.04

next step is to make a PR here upstream? :-)

PR has been merged


Figure out the open access policy of the journal we submit to

Dear Ondrej,
we are currently in between agreements with Elsevier, as the previous agreement period ended 31.12.2023 and a new agreement is still under negotiation. We don't have definitive confirmation from the FinELib team yet, but they seem confident that negotiations are going well and most likely we will have a new agreement for this year. The new agreement would start retroactively from 1.1.2024, this means that even if your article is accepted before the new agreement is signed, you will be able to get Open Access retrospectively. Unfortunately it means selecting the paywall option at first and then FinELib opens the article once the agreement is signed, but hopefully the delay wouldn't be long and your funder or co-authors' institutions would be understanding.
If your manuscript is at the stage of final edits and hasn't been submitted yet, it is likely that FinELib will have the new agreement before the article is accepted. In case something unexpected happens and FinELib doesn't reach a new agreement with Elsevier, you would have to find the funding for Open Access elsewhere and pay the full price, but it doesn't seem likely and we would inform everyone at Aalto about such unexpected situation. Please note that the FinELib agreement can be used only if the corresponding author is affiliated with Aalto University, so I would recommend that you or the other author from Aalto act as the corresponding author who submits the article to the journal. If your article is already under review and you are finalizing corrections, you may have already selected someone else for corresponding author(s), but perhaps it could still be updated before acceptance.

Thus this should not be a problem as long as I am the corresponding author. (no problems with that :-) )

I assume the issue can (and should) be closed, since it is completed.


Gender -> biologicalSex

Related Issue or Background Info
Change prompted from writing up some documentation for how to format your CSV (docs).
Change the CSV header from "Gender" to "biologicalSex" to match the app

from a code perspective no concerns of course.
from a gender/sex perspective, i owe it to yall to raise the point that changing the focus from "gender" to "biological sex" is often seen as hurtful in transgender communities, without extensive justification for what about a person's "biology" is so crucial to the question at hand. it's often seen as a cop-out way to reduce something that is still non-binaristic, to a binary. i know this is outside the scope of this code review, and i don't want to block our progress on this, but i have to keep insisting that the CDC does not seem to have done their due diligence on this gender/sex question, and there are transgender/intersex people who will be harmed by that lack of proper forethought.

(having said that, go ahead and merge.)


Azd duplicates location parameter

Creating any azure resource and setting the location results in duplicate location parameters.
AppHost
using Aspire.Hosting.Azure;

var builder = DistributedApplication.CreateBuilder(args);

builder.AddAzureStorage("storage")
    .WithParameter(AzureBicepResource.KnownParameters.Location, "westus2")
    .AddBlobs("blob");

builder.Build().Run();

Bicep
module storage 'storage/storage.module.bicep' = {
  name: 'storage'
  scope: rg
  params: {
    location: location
    location: 'westus2'
    principalId: resources.outputs.MANAGED_IDENTITY_PRINCIPAL_ID
    principalType: 'ServicePrincipal'
  }
}

We should override the default, not duplicate the parameter. This goes for any known parameter that azd understands.

This goes for any known parameter that azd understands.

For azd, the list of known parameters are:
	knownParameterKeyVault      string = "keyVaultName"
	knownParameterPrincipalId   string = "principalId"
	knownParameterPrincipalType string = "principalType"
	knownParameterPrincipalName string = "principalName"
	knownParameterLogAnalytics  string = "logAnalyticsWorkspaceId"

location was considered a hardcoded parameter.  I will fix azd to check if the AppHost is setting a value for. It is currently the only affected
Note: setting the location directly will produce a warning:

@davidfowl , ideally, we should be adding a bicep param with default value and assigning it to the bicep param:
like:

I was trying to do something like:
var pp = new ParameterResource("storageLocation", r => "eastus" );

builder.AddAzureStorage("storage")
    .WithParameter(AzureBicepResource.KnownParameters.Location, pp)
    .AddBlobs("blob");

But I didn't find a way to actually set a default value for the parameter.  Is there an API for that?

We don't have a way to set the default value for a parameter yet. But in playing around with this I found another related bug:
using Aspire.Hosting.Azure;

var builder = DistributedApplication.CreateBuilder(args);

var location = builder.AddParameter("location");

builder.AddAzureStorage("storage")
    .WithParameter(AzureBicepResource.KnownParameters.Location, location);

builder.Build().Run();

Since we already have an implicit parameter named location this tries to override it and conflicts in multiple places.
cc @mitchdenny


[WIP] Adding API for auto-migrations

This adds support for automatic DB schema migrations based on relation schemas. Target API will look similar to a single simple call gateway.auto_migrate!(container)

[x] Creating a table
[x] Adding columns to an existing table
[ ] Renaming columns (without coercion)
[x] Removing columns
[ ] Support for default types
[ ] Emitting migration files
[x] Friendly errors on unsupported operations
[x] Managing indexes
[x] Managing nullability
[ ] Managing FK constraints

I don't feel like we have to support renaming columns OOTB but we can go with something like
attribute :full_name, Types::String.meta(from: :name)

This :from key is a temporary piece that needs for automatic migration only. After the migration has been generated it can be safely removed. @solnic wdyt?
Overall, I'd like this to be merged in master because further changes require touching other stuff like Schema, Attribute and so on and I'd split it into parts.


OpenSSL on MacOS

Hi all, I am trying to install blackbird but I am still facing issues linking OpenSSL… i googled and searched around but I couldn't find anything helpful. Apologies if it's a trivial issue!
first, I downloaded openSSL. I check the location as such:
Jack:blackbird apple$ whereis openssl
/usr/bin/openssl
Then i tell cmake where to find it:
Jack:blackbird apple$ cmake -DOPENSSL_ROOT_DIR=/usr/bin/openssl/ -- cotire 1.7.9 loaded. -- Configuring done -- Generating done -- Build files have been written to: /Users/apple/blackbird/blackbird
Finally I try to run the installation, but I still get the same error! :
Jack:blackbird apple$ cmake -B./build -H. -DCMAKE_BUILD_TYPE=Debug -- cotire 1.7.9 loaded. -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_INCLUDE_DIR)  CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: /Users/apple/blackbird/blackbird/OPENSSL_INCLUDE_DIR    used as include directory in directory /Users/apple/blackbird/blackbird    used as include directory in directory /Users/apple/blackbird/blackbird
-- Configuring incomplete, errors occurred!
For what it's worth, I had the same troubles with the other libraries but I was able to fix the problems with the procedure above… I am not sure what I'm missing (although I understand that MacOS doesn't really like OpenSSL)
any help would be great! Thank you!

Hi I get the same error and fix it with this env. variables. (I installed openssl with homebrew)
Before build with CMake
OPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include
OPENSSL_ROOT_DIR=/usr/local/opt/openssl

use docker (https://www.docker.com), install it and run this
docker build -t blackbird .
for execute
docker-compose up
its working for me. with this command:
cat output/blackbird_log_20170913_215358.log
i can see the log file with these information, it shows me this:
https://snag.gy/p5n2Ha.jpg
now its time to edit the blackbird.conf...


Fix 'Open in Visual Studio Code' Issue in Windows - Fixes #124

I compiled the RepoZ, It works.

LGTM, thanks for your help.
This one should count for Hacktoberfest 😉

Fixes #124


assert_can_execute breaking api change with addition of env parameter

With the addition of the env parameter, any plugin that called assert_can_execute prior to this will be broken. I'm attempting to use the pybuilder-docker plugin and am facing this issue. Can we give env a default of None env=None so that it remains backwards compatible for plugins that were potentially already using it?
I created a pr for them to fix the issue, but I don't know if the plugin is being maintained or not.
for reference: https://github.com/AlienVault-Engineering/pybuilder-docker/pull/7

Thanks for the report. I'll see if it's possible to default to a specific environment as a reasonable default, but even then the system might not work.

Thanks, yea I know it changed with a minor version so it's understandable that you're not responsible for dealing with it but it would be nice to have that default if possible


Decompiler: Option to display string references by contents

Is your feature request related to a problem? Please describe.
References to strings are denoted as shown below, which can hinder understanding
strtok(buffer,s_:_deadbeef);
printf(s_%s%s%s_12345678, s_cow_13371337, s_:_deadbeef, s_dead_c0c0c0c0);

Describe the solution you'd like
I think something like this is clearer:
strtok(buffer, ":");
printf("%s%s%s", "cow", ":", "dead");

Longer strings can be truncated (with the possible option of a mouseover to display full contents)

Make sure the functions are properly defined and the default mutability setting for the string type is set to constant. They should be displaying the value and not the label.

Learned something new, thanks 👍

Make sure the functions are properly defined and the default mutability setting for the string type is set to constant. They should be displaying the value and not the label. What you describe as the solution is what you should be seeing.

Might be a dumb question, but is there a way to mark strings/undefinedX/pointer as constant without having them in the listing?

Make sure the functions are properly defined and the default mutability setting for the string type is set to constant. They should be displaying the value and not the label. What you describe as the solution is what you should be seeing.

Might be a dumb question, but is there a way to mark strings/undefinedX/pointer as constant without having them in the listing?

Unfortunately I don't think so.


If params for port and refresh are integers, then init.pp needs to change from validate_string

Can see that there has been some movement back and forth around whether the port and refresh should be string or integer. At present, init.pp is failing as it is using
validate_string($port)
and
validate_string($refresh)
Suggest in both cases these could be
validate_numeric($port)
validate_numeric($refresh)

Ah. Hmm. Can you do a PR?


Cannot debug Angular 2's *.ts file on ASP.NET Core Template Pack

Hi,
Why I cannot debug Angular 2's *.ts file on chrome dev tools ?
Source window as shown below.But unable to find out the webpack:// folder.Can you tell me why ? I need to find out the location of *.ts files.How can I do that ? This is running on debug mode with VS 2015 community edition.
Chrome browser's Version : 55.0.2883.87 m
tsconfig.json
{
  "compilerOptions": {
   "moduleResolution": "node",
    "target": "es5",
    "sourceMap": true,
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
    "skipDefaultLibCheck": true,
    "lib": [ "es6", "dom" ],
    "types": [ "node" ]
  },
  "exclude": [ "bin", "node_modules" ],
  "atom": { "rewriteTsconfig": false }
}

There's a debugging guide here: https://github.com/aspnet/JavaScriptServices/blob/dev/src/Microsoft.AspNetCore.SpaServices/README.md#debugging-your-projects
If following that guide doesn't work for you, could you please post repro steps saying what you did and at what point something doesn't work?

Hi,
It seems to be a Chrome browser's issue (Version 55.0.2883.87 m ) .It's working fine on the Canary (Version 57.0.2969.0 canary (64-bit)). Thanks.


Send performance metrics to StatsD

Configure StatsD endpoint, accepting performance metrics

Gunicorn does do its Instrumentation via StatsD.  However, the StatsD to InfluxDB bridge options are pretty slim:

https://github.com/vimeo/graphite-influxdb

Also supports writing to Elasticsearch.  Interesting.

https://github.com/bernd/statsd-influxdb-backend

Looking for a maintainer.  Not a great sign.


Backend port mismatch

Hi :)
I am running Azimutt locally using Docker Compose with the prebuilt image. Port 4000 is exposed, but when I try to add a schema from a database conection I get this error:
Loaded postgres database.
http://localhost:4177: NetworkError when attempting to fetch resource.
: Not Found
Done!

I run into the same problem @frafra. You actually need to install CLI to extract the database schema.
Here the steps:
$ npm install -g azimutt
$ azimutt gateway

A note was showing but I missed it too...

With docker install I get same error message

I have published a gist with a working example including azimutt gateway to export postgres schema in docker compose.
https://gist.github.com/rllola/973d6911bf6cdeefa9f16a4ec7fd400d
It can be improved but it is working. I hope it will help @jmrenouard

Hi, this is expected ;)
Azimutt backend is listening to port 4000 but for privacy and networking reasons, it never access any customer database.
That's the gateway job, a small node app which can be seen as a proxy between your frontend and your database.
It's expected to be run locally by each user with npx azimutt@latest gateway and listen on port 4177. That's why Azimutt it trying to reach out localhost:4177, even on azimutt.app, if it fails it will try with the one I deployed (gateway.azimutt.app).
In enterprise plan, you can even define your own url if you want to host the gateway in your infra and maybe customize it with additional user/db rights ;)
@rllola do you think the gateway should be started by default in the Docker compose? Would make sense for easier trial (less to know at the beginning).

That would be a nice touch. If people don't want to use it they can then comment it but it would show how to use it with the gateway or stop it via docker compose stop.
Personally, it was the feature that I wanted to try when I have found azimutt.
I can propose a PR to update the docker compose to include the gateway.

Cool, your PR is welcome :+1:

I am testing the docker compose using the current build. I have specify the gateway url like this : GATEWAY_URL: http://gateway:4177. gateway is the name of the service in the docker-compose.yml
Unfortunately it is not working. It is still trying to reach http://localhost:4177 (which is not available) and I also have a CORS error in the console.
Could it be that a modification lead to override the GATEWAY_URL environment variable ?

I think it might come from here :
https://github.com/azimuttapp/azimutt/blob/main/frontend/ts-src/services/backend.ts#L190
It seems to try first to reach http://localhost:4177 first with a ping and it if fails it will try the reach the gateway_remote url. In my browser the local ping return 200 for some unknown reason.


Slight typo correction: immidiatly -> immediately

immidiatly -> immediately

@MattBrowne1 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@MattBrowne1 Thanks for the typo fix; looks good/approved. Thanks for the review. Publishing in this repository is suspended until Tuesday, March 2. Merging will resume Tuesday, and we'll merge this approved pull request at that time. Thanks.


Remove CLI trace

Currently cmd/skenario is the CLI with trace output. It's pretty and I like showing it off, but realistically the bulk of the value is in the visualisation produced by cmd/serve. The business of studying traces can be achieved more directly using sqlite3 to query skenario.db.
Moreover, having two code paths increases the testing and documentation burden.
The proposal here is to:

Remove cmd/skenario
Rename cmd/serve to cmd/skenario.

@josephburnett any objection?

There being no objections, I'm going to go ahead with this.


train.py includes utils which is not uploaded from vscode extension

I was trying this tutorial and it failed with error message: ServiceError: Job preparation failed: HTTP Error 404: Unable to find snapshot with id: 00000000-0000-0000-0000-000000000000.
But more importantly it appears the tutorial is incomplete. For e.g kindly take a look at train.py which is uploaded from vscode extension. That refers to utils (from utils import prepare_data) in utils.py which is not uploaded in this tutorial. Kindly suggest.

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

ID: e548a903-7aa0-75a2-1c43-afa48dbbc7ea
Version Independent ID: 21566e3a-f540-3a98-3c61-e598c4e6ac0b
Content: Tutorial: Train & deploy models: VS Code - Azure Machine Learning
Content Source: articles/machine-learning/tutorial-train-deploy-image-classification-model-vscode.md
Service: machine-learning
Sub-service: core
GitHub Login: @luisquintanilla
Microsoft Alias: luquinta

@kiranpradeep Thanks for the feedback. The entire set of VS code tools that are required are available in this repository. utils.py should be available in the mnist-vscode-docs-sample directory if you can download this zip file to your local computer and follow the steps mentioned as is you should be able to complete all the steps. Please check and let us know if this works.

@RohitMungi-MSFT I have already downloaded the repository: that is how I recieved the train.py script. To repeat the original post: utils.py is never uploaded. Did any of the steps in that document mention to upload utils.py?

@kiranpradeep Apologies for the confusion. The documentation does not mention this to select utils.py and you are right the extension does not allow us to select more than one file or script while selecting the file for training. As it looks like the training script is now broken down and the steps in the document are not updated.
@luisquintanilla Could you please help clarify how the extension can be used if we have helper scripts to upload? I think we would need a ScriptRunConfig() and attach it to the run config but how can we achieve this using the extension from VS code?

Thanks @RohitMungi-MSFT for looking into this.
@kiranpradeep sorry to hear you ran into issues. We updated our docs earlier today. Can you please try the latest version of the docs and let us know if you still experience issues. Thank you.

I have not seen a change to the document or to the code repository to address the questions raised. I would have retried if I have seen the change (git commit tag) addressing the questions.

@kiranpradeep you shouldn't have to upload utils.py to be able to train your model. Referencing train.py should work but let me take a look to see if I can reproduce the error.

Hi @kiranpradeep I just followed the steps outlined in the tutorial and was unable to replicate your issue.
Also, when using the AML VS Code extension, you only need to provide the script that acts as an entrypoint. In this case train.py Automatically, your current directory, which in the case of the tutorial contains all dependent scripts is uploaded and run as part of your training job. That's why you only have to provide the training script.

Thanks. It works.


Added clear cmd

Closes #23

Current coverage is 99.55% (diff: 100%)

Merging #64 into master will increase coverage by 0.02%

@@             master        #64   diff @@
==========================================
  Files            11         11
  Lines           419        445    +26
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            417        443    +26
  Misses            2          2
  Partials          0          0

Powered by Codecov. Last update 2f0df43...6bf3448


Pipeline Generator should accept variables

Enhance Pipeline Generator so that it can take a a set of variables which are added to the pipeline. For example:
pipeline-generator [other args] --variable foo1=value1 --variable foo2=value2

The primary motivation for having this was for SdkType, but we are now removing that variable and putting it into the ci.yml file.


[Feature Request] Handle special characters in numbering patterns

Description
A number of characters are interpreted in numbering patterns (since that's the whole point). Because there's no escape hatch, this makes them impossible to use in the various prefix of suffix. I propose that a backslash character should stop the next character from being interpreted in this way. For example a patter of "Section 1.1 )" would be written "Sect\\ion 1.1 )"
I can see two limitations:

It's not obvious that you need a double backslash instead of of a single one to someone not familiar with escape sequences, and that makes an actual backslash be "\\\\" but I suspect that's not a common character at all to put in there.

It's added complexity for something that can currently be solved with numbering functions. I do think this makes a bunch of patterns nicer for the user on the long run tho.

I'd actually be willing to implement this if there's interested, that'd be a good way to get familiar with the codebase :p
Use Case
For more involved numbering patterns, it can get frustrating to work around interpreted characters, especially aAiI. For example, numbering("Section 1.1 )") doesn't produce the expected result because the i is a special character in a numbering pattern.
With this feature it would be numbering("Sect\\ion  1.1 )") instead.
// Before
#set heading(numbering: (..nums) => "Section " + numbering("1.1 )", ..nums.pos()))
// After
#set heading(numbering: "Sect\\ion 1.1 )")

This is certainly an issue although I think having "Section" be part of the numbering is misuse. The "Section" part is a supplement and should be handled separately.
I am not really convinced by the backslash solution though. It doesn't fix the problem that we cannot add new numbering kinds without it being a breaking change and, to be honest, it's just not particularly nice.
A clean solution would of course be to "escape" the actual numberings (i.e. "{1} / {1}" or maybe with just a single letter), but that would make normal simple patterns so complicated. I am unsure how to proceed here.
We also have similar patterns for dates soon and there has been discussion about patterns for citations. We should find a general solution for this that is consistent across all these usages.

supplement aren't really related to how the header/thing is displayed tho, if I'm understanding correctly. Right now, displaying something before the number in a heading requires a number prefix. My example of the word "Section" was a bit weird I'll admit; but being to reuse headings for other things in documents is useful. I had the case of doing homework sheets and trying to number the things "Exercice n -- [the heading here]".
I realize this isn't particularly elegant, but I don't think this is an issue that's solved in any way by supplements, unless I'm wildly missing what they can do

True, supplements don't really solve that. But your solution has the problem that the supplement plus the full numbering (including "Section") will be shown when referencing the heading, so section would show twice. To add "Exercise" before every heading, you'd need to write a custom heading show rule for now.

What about interpreting common numbering items such as 1 and i only when no {} escape is found?

Is redefine numbering possible?
numbering(
  string/function,
  ..integer,
) -> any

To
numbering(
  string/function,
  prefixes: string/none,
  suffixes: string/none,
  ..integer,
) -> any

I guess the issue could either be closed at this point or stay here as a question about string numbering limitations. I should also say that I wrote the numberingx package that solves a number of those issues, in particular requiring braces around special symbols. This also allows for pattern that aren't a single symbol, which makes internationalization much nicer.

I'm facing the same issue trying to make a heading with #set heading(numbering: "Article 1:"). Looking into the documentation, it doesn't seem to be a way to show that heading properly, and I think there needs to be a way to escape characters as common as vowels.

Also facing the same issue.

@jrmoulton You could also write a show rule for outline.entry. It's a bit of boilerplate, but conceptually cleaner.

Related: https://github.com/typst/typst/issues/905

What about interpreting common numbering items such as 1 and i only when no {} escape is found?

I agree that this is the best way forward. I think the {} version should be there both for escaping and for more verbose names, so to get arabic numerals, there'd be three ways: "1", "{1}", and "{arabic}" and the latter two would prevent any free-standing numbering kinds from being interpreted.
To implement this, we would have to:

Adjust FromStr for NumberingPattern to parse curly-braced identifiers, and if it finds one, disable free-standing numbering kinds (probably best done by keeping the current code for a first pass, and if we see a curly brace, restart parsing with a different function)
Assign names to all numbering patterns. The NumberingKind enum already has names. We should check whether the (currently internal) names (but exposed as kebab-case) are good, or whether they can be made more uniform or e.g. aligned with CSS counter-styles.
Adjust the IntoValue impl of NumberingPattern (self => { in cast! { NumberingKind) to always generate a valid thing. We can probably always output the braced version here for simplicity.

I should also note that @LuxxxLucy expressed interest in implementing this.


[UI] Implement i18n solution for localization

The resulting files can either be in i18n.js format or Gettext.

[ ] install react-i18next and i18next
[ ] move all static translations to a separate json file
[ ] replace static translations with react-i18next hooks

fully implemented as of now ✌


fix certificate error

Coverage remained the same when pulling baa88fd6f8a1a5edba19686977edc1f1efc93b63 on NARKOZ:patch-1 into de7c2882eb22257b5f60162f73928ce07e23a3c7 on sugar-framework:master.

Thanks @NARKOZ! I'd love to merge this into master, but I have a couple problems with it as it stands at the moment.

This kills HTTPS altogether. I originally pulled this into Sugar from another project that enforces using HTTPS at all times. I can see how that shouldn't be the case for Sugar, but it still should be an option (via an application environment variable) for developers, one that probably should default to enabled.
By switching line 123 from HTTPS to HTTP, applications would attempt to run HTTP twice but will fail the second time.

If you can amend your commit to take care of those, I'd be glad to merge in this PR. Thanks again!

Coverage remained the same when pulling c0d295a6c217f83d1a0d35ced91457911b72673e on NARKOZ:patch-1 into de7c2882eb22257b5f60162f73928ce07e23a3c7 on sugar-framework:master.

@slogsdon updated. Now it will respond to https only when configured.

awesome! thanks @NARKOZ!


The OBO PURL for SBO does not work anymore:

wget http://purl.obolibrary.org/obo/sbo.owl

Results in a 404:
--2022-07-31 12:50:01--  http://purl.obolibrary.org/obo/sbo.owl
Resolving purl.obolibrary.org (purl.obolibrary.org)... <IP_ADDRESS>
Connecting to purl.obolibrary.org (purl.obolibrary.org)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://www.ebi.ac.uk/sbo/exports/Main/SBO_OWL.owl [following]
--2022-07-31 12:50:01--  http://www.ebi.ac.uk/sbo/exports/Main/SBO_OWL.owl
Resolving www.ebi.ac.uk (www.ebi.ac.uk)... <IP_ADDRESS>
Connecting to www.ebi.ac.uk (www.ebi.ac.uk)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.ebi.ac.uk/sbo/exports/Main/SBO_OWL.owl [following]
--2022-07-31 12:50:01--  https://www.ebi.ac.uk/sbo/exports/Main/SBO_OWL.owl
Connecting to www.ebi.ac.uk (www.ebi.ac.uk)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-07-31 12:50:02 ERROR 404: Not Found.

You should change the PURL config if you want to redirect it to a different file:
https://github.com/OBOFoundry/purl.obolibrary.org/blob/master/config/sbo.yml

Hi @matentzn
My apologies for the delayed response. The redirection has been fixed, therefore, your issue has been resolved.
Thank you for your patience.
Tung


online demo please :)?

Hi-
Seems like a potentially interesting framework -- is there a representative demo app built with it online? Would like to add it to react.rocks, thanks.

Hi @winkler1.  Thanks for your interest in Grommet.  We have some online demos, but they aren't linked into the site as they should.  We'll fix that.  Until then, feel free to check these out:

http://grommet.io - the site itself is using the Grommet framework

http://grommet.io/medium-app - an example type of a "medium sized" application using Grommet.  Login with any email address and any password.

http://grommet.io/cto-app-tuner - a really simple application we used during the launch of Grommet.

http://grommet.io/todo-app-modular - we felt obliged to create a ToDo application

Hello again @winkler1.  I've updated the README for each of the example apps to include a links to the live demos.   Would be cool to have Grommet added to react.rocks.  I'd suggest using either the grommet.io site itself, or the medium-app as the example demo app.  Thanks!

Looks good. http://grommet.io/medium-app/login has some nice stuff -- could the login page say any username/password, or even default them so user just has to click? Otherwise, the funnel dropoff would likely be pretty high.

@winkler1, we've updated the Medium App to not require a login.  From the session menu, can logout to return to the Login Page for those who want to interact with it.  Let me know when React.rocks has been updated and we'll promote it.
http://grommet.io/medium-app/

seems like there are all down? is there a online example available so see some UI stuff?

Demo sites are not available as per links above?

Sorry,  these links are outdated.
Some demos:
1 - https://hc380.grommet.io (UI for the Hyper Converged 380 from HPE)
2 - http://peoplefinder.grommet.io (source code: https://github.com/grommet/grommet-people-finder, training: https://vimeo.com/173002390)
3 - https://blog.grommet.io (source code: https://github.com/grommet/grommet-blog)
FYI: we are in the process of redesigning the blog

Hey @winkler1 I've got a few demo apps as well!  The first is a toy app located here: http://restaurant-reviewer-client.herokuapp.com/ .
Coming soon, I have a analytics dashboard and also a homepage for the React Weekly publication, both made with Grommet.  I will share those when available.

@RyanCCollins: I was just looking for some examples and found your demo apps. Thanks for sharing!

My pleasure!  Let me know if you have any questions about how they were built.


flexibility to have bulk_update, bulk_delete and bulk_query functionalities inside postgres client.rs

Hi @joshstevens19 as I am actively using this project, having the ability to bulk_insert stuff is great. I was hoping we could add in more functionalities like this such as in the title. If this falls within the scope of the project I would be happy to contribute. Cheers 🍻

did you mean to close this @souvikmishra

Wasn't really sure if it fell under the scope of this project 😕 and didn't want to bug you unnecessarily 😅.


~!REDDIT/LIVE!! New York City Marathon 2024 Live Streams Free On Tv Channel 03 NOV 2024

How to watch New York Marathon 2024: Schedule, start time, TV channel, route, prize money and more
The New York Marathon takes the streets of New York City for its annual event that ESPN's Jeremy Schaap considers a "de facto holiday."
CLICK HERE TO WATCH LIVE STREAM NOW
CLICK HERE TO WATCH LIVE STREAM NOW
CLICK HERE TO WATCH LIVE STREAM NOW
Over 50,000 runners will participate in the 2024 race across multiple divisions. The 26.2-mile race ventures through all five of New York City's boroughs on Nov. 3.
WATCH:NYC Marathon LIVE on Fubo (free trial)
Tamirat Tola of Ethiopia and Hellen Obiri of Kenya are the reigning 2023 men's and women's winners. Both will compete in this year's marathon.
Don't think the New York Marathon is strictly a Sunday event. There are plenty of festivities prior to Sunday's competition.
The Sporting News has you covered on all things New York Marathon below.
How to watch the New York City Marathon 2024
TV channel: ESPN3
Live stream: Fubo
Fans can watch the 2024 New York City Marathon live on ESPN3 on Sunday, Nov. 3. Those without cable can tune in through Fubo, which offers a free trial to new users.
The opening ceremony, which is on Friday, Nov. 1 at 5 p.m. ET, is also on ESPN3.
New York City Marathon 2024 start time
Date: Sunday, Nov. 3
Time: 8 a.m. ET
The New York City Marathon begins at 8 a.m. ET on Sunday, Nov. 3. Coverage continues until 5 p.m. ET.
The opening ceremony for the race takes place on Friday, Nov. 1 at 5 p.m. ET.
New York City Marathon prize money
The total prize pool for the 2024 New York City Marathon is about $900,000. The winner of the men's and women's divisions will each earn $100,000.
New York City Marathon race route
The marathon covers all five boroughs of New York City, starting in Fort Wadsworth, Staten Island.
Runners will travel from Staten Island to Brooklyn to Queens to the Bronx and finally Manhattan. The finish line is on West 67th Street in Central Park.
Past New York City Marathon winners
Tola set the course record with a time of 2:04:58 in 2023.


Create unit tests for JsonString Ord

Subj

The part of https://github.com/hyperledger/iroha/pull/4732

Ord is derived


add context support

I am using react-gemini-scrollbar library in my project and i find it very helpful.
But today I was adding react-scroll library which needs a containerId - which can be obtained with scrollbar.getViewElement().
I added context support to the component, so now you can get the instance like this:
class Button extends React.Component {
  static contextTypes = {
    geminiScrollbar: React.PropTypes.object
  };

  onClick() {
    console.log(this.context.geminiScrollbar.get().getViewElement);
  }

I also refactored the component as Class while doing that.

+1

+1
This will really helpful - We need to add our own scroll event listener on the scrollbar.getViewElement() to implement a infinite scroll feature.

up ? :)


Solved issue #991. Added a new file watermelon_codeforces.cpp in Brut…

Related Issue

Solves issue #991

Proposed Changes

Solved issue #991 .
Added new file watermelon_codeforces.cpp which contains the solution code for watermelon_codeforces problem .

Additional Info

Any additional information or context

Checklist

[x] ✅ My code follows the code style of this project.
[x] 📝 My change requires a change to the README.
[x] 🎀 I have updated the README accordingly.
[x] 👀 I have read the CONTRIBUTING document.
[x] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[x] 🌟 ed the repo

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Output Screenshots

Hey , I am a GSSOC'22 Contributor . Can you please assign this issue to me .  I have send the PR . You can review and merge it .


I cannot debug this program

Hello, I tried to run your project on Android studio, and I am having a hard time while debugging it.
I tried to do the remote debugging on android 4.1. Based on your developer's instruction, I tried to run this program at localhost 5005 port.
But I continuously watched this message "handshake failed - connection prematurally closed". (I used the 8.0 apache tomcat to establish the web server. )
I will be glad if I can debug this program by myself. Can I get to know the exact steps? Thanks a million.

Based on your developer's instruction, I tried to run this program at localhost 5005 port.

Did you try with -Dserver_debugger_method=old?
https://github.com/Genymobile/scrcpy/blob/master/DEVELOP.md#debug-the-server

(I used the 8.0 apache tomcat to establish the web server. )

?
Why a web server?

Oops, I was completely wrong. I thought that it was necessary to build the web server.
I think I have to start the debugging again with meson. But I haven't use the Meson Build System.
According to your explanation, (I mean https://github.com/Genymobile/scrcpy/blob/master/BUILD.md )
I found out that it will need Debian. Is it compulsory to install the another operating system then?
(Sorry to ask you those foolish question. I am baby developer)


Integration between server and client hot-reloading

Projects with custom server (like my own: https://github.com/relatenow/relate), where nodemon is used to hot-reload server changes, don't fare well when changing code on both the server and the client, especially simultaneously. In that case, hot-reloading might get stuck and never recover:
DONE  Compiled successfully in 3764ms

[nodemon] restarting due to changes...
WAIT  Compiling...

DONE  Compiled successfully in 2160ms

The above message might lead to think that reloading is complete, but actually there's no confirmation message from nodemon, only from Next. Nodemon is stuck for some reason.
Also the messages are different when the server or the client reloads ([nodemon] restarting due to changes... in the former case, and WAIT Compiling... in the latter).
I don't see an obvious way to fix this, but thought would report it to draw attention to the fact that it's quite cumbersome nevertheless (need to restart server manually in these cases).

I am using babel-watch instead of nodemon for hot-reloading with a custom server
This is what i run
"watch": "node_modules/.bin/babel-watch -w database -w routes -w server.js -w util.js --disable-autowatch server.js"

So far its working pretty well, just make sure to add the folders you want to be watching that next isn't watching

Hey! Curious (and optimistic) about this being closed - is there a solution for this use case in the works?

@jesseditson closed because the issue has been inactive for more than 9 months

Fair enough! Would love to see some progress over on #1388 but understand how much work it is to maintain this stuff. Happy to help where needed if the team has time for review over there!


Question about scope of this project

Hello
I am wondering about the current scope of this project. Is it only for customizing overlays of markers? Or could it be used for all types of overlays?
E.g.

Heatmaps
Canvas overlays
Tiles

Happy to elaborate further
Looking forward to your response ✌

HTML content was the original goal of this package. Some flavors have since been added but they mostly just support the HTML overlays.

Is there support to image overlays (e.g floor plan). If so, do you have documentation?
Thank you!

Is there support to image overlays (e.g floor plan). If so, do you have documentation?
Thank you!

You write the code with html so you can do everything you want, how to use it, if you require events use javascript or animations with css

@havo07, thank you friend...... yes, just use html.
This issue will be closed in near future.


Updated values-cs/strings.xml

I don't know if these strings are ready for release or if they will change, but here is the translation.

The release was built yesterday, so this fix will be added to the next one.


Weird BSS inputs

Currently, it's possible to define fields to be of 0 or negative size:
>>> splitter2 = BytestringSplitter(1, -1, 5)
>>> splitter2(b"abcde")
[b'a', b'', b'abcde']

>>> splitter2 = BytestringSplitter(1, 0, 5)
>>> splitter2(b"abcdef")
[b'a', b'', b'bcdef']

...feature or bug?


Add optional border to no go zones

might close #49

Sadly this now has a merge conflict. Mind fixing it? I'll test it later then :)

No problem - conflict resolved

Perfect, thanks :)


Geocaching

For geocaching.com, a zip file is available here: https://www.geocaching.com/about/logousage.aspx

Hello,
I'm not adding mobile apps and games to this repo yet. There are too many options and the main focus is web development and related services.
It's a good logo though, thanks!


FTP error: offline

I read all those closed issue about offline, but I could not solve my problem yet.  my code is like this
/******************************************************************************

ESP32-CAM remote image access via FTP. Take pictures with ESP32 and upload it via FTP making it accessible for the outisde network.
Leonardo Bispo
July - 2019
https://github.com/ldab/ESP32_FTPClient

Distributed as-is; no warranty is given.

******************************************************************************/
#include "Arduino.h"
#include <WiFi.h>
#include <WiFiClient.h>
#include <ESP32_FTPClient.h>
#include "octocat.h"

#define WIFI_SSID "IMTeam"
#define WIFI_PASS "IMTeamgogogo"

char ftp_server[] = "<IP_ADDRESS>";
char ftp_user[]   = "system";
char ftp_pass[]   = "OTA&mqtt1234.";

// you can pass a FTP timeout and debbug mode on the last 2 arguments
ESP32_FTPClient ftp (ftp_server,ftp_user,ftp_pass, 5000, 2);

void setup()
{
  Serial.begin( 115200 );

  WiFi.begin( WIFI_SSID, WIFI_PASS );

  Serial.println("Connecting Wifi...");
  while (WiFi.status() != WL_CONNECTED) {
      delay(500);
      Serial.print(".");
  }
  Serial.println("");
  Serial.print("IP address: ");
  Serial.println(WiFi.localIP());

  ftp.OpenConnection();

  // Get directory content
  // ftp.InitFile("Type A");
  // String list[128];
  // ftp.ChangeWorkDir("/work/ftp/uploadFile");
  // ftp.ContentList("", list);
  // Serial.println("\nDirectory info: ");
  // for(int i = 0; i < sizeof(list); i++)
  // {
  //   if(list[i].length() > 0)
  //     Serial.println(list[i]);
  //   else
  //     break;
  // }

  // // Make a new directory
  // ftp.InitFile("Type A");
  // ftp.MakeDir("my_new_dir");

  // //Create the new file and send the image
  // ftp.ChangeWorkDir("my_new_dir");
  ftp.InitFile("Type I");
  ftp.ChangeWorkDir("/work/ftp/uploadFile/");
  ftp.NewFile("octocat.jpg");
  ftp.WriteData( octocat_pic, sizeof(octocat_pic) );
  ftp.CloseFile();

  // Create the file new and write a string into it
  ftp.InitFile("Type A");
  ftp.ChangeWorkDir("/work/ftp/uploadFile/");
  ftp.NewFile("hello_world.txt");
  ftp.Write("Hello World");
  ftp.CloseFile();

  ftp.CloseConnection();
}

void loop()
{

}

and I got results like this :

IP address: <IP_ADDRESS>
Connecting to: <IP_ADDRESS>
Command connected
Send USER
Send PASSWORD
Send SYST
Send TYPE
Type I
Send PASV
Data port: 34489
Send CWD
Send STOR
FTP error: Offline
Writing
FTP error: Offline
Close File
Send TYPE
FTP error: Offline
Send CWD
FTP error: Offline
Send STOR
FTP error: Offline
Write File
FTP error: Offline
Close File
Connection closed

I can see those files that I uploaded just appear in my ftp server through FileZilla, but all of them are 0 byte size.
It seems that I can creat a new file but I cannot write data to those files created by myself.
So what is my peoblem with my ftp server or client ?
Thanks so much !

below are those files I uploaded. I listed it by cmd ftp client.

230 Login successful.
ftp> cd work
250 Directory successfully changed.
ftp> cd ftp
250 Directory successfully changed.
ftp> cd uploadFile
250 Directory successfully changed.
ftp> ls -l
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
-rwxrwxrwx    1 1000     1000            0 Apr 13 15:37 14.txt
-rwxrwxrwx    1 1000     1000            0 Apr 13 15:39 15.txt
-rwxrwxrwx    1 1000     1000            0 Apr 13 15:29 33.txt
-rwxrwxrwx    1 1000     1000            0 Apr 13 18:15 hello_world.txt
-rw-------    1 1000     1000            0 Apr 14 10:50 octocat.jpg
226 Directory send OK.

I locate the problem, it must be this function
void ESP32_FTPClient::NewFile (const char* fileName) {
  FTPdbgn("Send STOR");
  if(!isConnected()) return;
  client.print(F("STOR "));
  client.println(F(fileName));
  GetFTPAnswer();
}

I cannot understand what "client.println(F(fileName));" here mean ?

I locate the problem, it must be this function
void ESP32_FTPClient::NewFile (const char* fileName) {
  FTPdbgn("Send STOR");
  if(!isConnected()) return;
  client.print(F("STOR "));
  client.println(F(fileName));
  GetFTPAnswer();
}

I cannot understand what "client.println(F(fileName));" here mean ?

This only set the filename on the server.
From what you shared you are receiving FTP error: Offline which have been reported few times before, have a look on the closed issue and you may find one solution that fixes it for you.

Trying to upload a livecam picture with my ESP32-CAM board (so far not succeeded) using your ESP32-FTPClient header file, I want to understand what type of commands are enclosed in your ESP32-FTPClient.h or which commands are available to use. In your .ino file I read for example ftp.OpenConnection, ftp.Initfile, ftp.Makedir, ftp.WriteData and ftp.CloseFile and more. All these commands are sending something to the FTP server. Are there also ftp. commands to read what a FTP server is sending back (to catch an answer)? I can imagine that there are commands that provoke a response from the server. I read for example in your .cpp file a command like GetFTPAnswer(); Where can I find the available commands and what the syntaxes are, how to use them correctly by using them in a ino or cpp file? All these stuff is rather new for me and I am investigating why I sometimes have to add an extra ftp.OpenConnection in my ino sketch between a ListDIR and a command to create a new DIR at the FTP server, otherwise I see only the Dir listing and no new directory is created. Thank you in advance for your help.

You will find the answers for your questions by browsing on the repository files.
All commands sent to the server will have a server response, if you want to print them, you could add ESP32_FTPClient( _serverAdress,  _userName,  , uint16_t _timeout,  _verbose) have a look on other closed issue and you may find something that will help you.
Otherwise if you believe there is an issue with the code, please open a new issue and include a detail description of the issue and the necessary steps to reproduce it.


Asm program failing with Unknown label l0

The following asm is failing, unable to resolve the label:
  .name "foo"
l0:
  set_reg       goto, goto
l1:
  jump  :l0

Oops, linked the wrong issue. But I think this should be fixed by c9ef158


mention missing EOR metadata standard for RSE

@fiveop this is the MR about what we discussed today. Maybe you could bring it forward and up-to-date with master and the feedback?

Some aspects of FAIR have since been developed in the main document, e.g. training material databases in the second paragraph of Open Source Resources, which is currently undergoing major changes in #86, in particular the FAIR discussion seems to have been removed (at the time I'm writing this comment).


Doc update 2

Overview

Updated references and images in main README.md
Updated ToolUsage notebooks in support of main README.md
Updated templates
Regression measure descriptions added to docs/references
Cleanup of equations in docs/references

Resolves: AB#16626
How was this update tested?
pytest, visual inspection of ToolUsage and markdown previews
Checklist

[x] I have read the Contributing guidelines
[ ] I performed a self-review of my own code
[x] The CHANGELOG and version.json have been updated
[x] Documentation has been updated to reflect the changes

[x] The code has clear and helpful comments, particularly in hard-to-understand areas
[x] READMEs, Tutorials/Examples, and links have been updated as appropriate

[x] Tests have been added to prove that the fix is effective or that the feature works
[x] Pytest was run; new and existing unit tests pass locally with my changes
[x] I have made note of any breakages or dependencies (if applicable)
[x] Any dependent changes have been merged and published in downstream modules
[x] These changes generate no new warnings

Dropping this PR in favor of newer PR (#66)


backward compatibility w/stop_times.stop_id - polygons/areas in stop_times.txt

Referencing polygons in stop_times.txt poses an issue for backward compatibility because a stop_id needs to be referenced in each record. How about creating a stop_times_areas.txt or demand_response.txt that follows similar structure, including stop_sequences and references to trip_id?
stop_times_areas.txt file which contains the records with start_service_area_id and end_service_area_id. The schedule for a trip_id is expressed through the combination of these two files — stop_sequence numbers count up through both files. For an example, see the gtfs-flexible sandbox example 5.A or “Green Mountain”.

tagging @DerekEdwards on this issue.
This is the ambiguity I indicated in my notes to you, and a suggestion for clearing it up from @antrim

Tagging issue #9 - Open thread for discussion on backward compatibility.


chore(main): release 2.0.1

:robot: I have created a release beep boop
2.0.1 (2024-11-09)
Dependencies

Update concurrently (#36) (095cd9e)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/aimeerivers/watchthis-home-service/releases/tag/v2.0.1 :sunflower:


Crusher charge can send you past barricades

Description

Crusher charge can send you past functional barricades, seems to work from either side of a barricade.
Reproduction

With the Crusher's charge ability, select a tile near past the barricade that you wish to go to. You will land on the opposite side rather than stopping after colliding with the barricade. Does not seem to occur every time.
Screenshots

Additional context

https://github.com/RMC-14/RMC-14/assets/152932728/7784bfa6-02eb-44bf-9721-ceddf5881fed

I believe this was just fixed: https://github.com/RMC-14/RMC-14/pull/2889

Agreed, can be closed since the pr is merged.


com.vdurmont:semver4j 3.1.0 is used in rpm-adapter, but it has expired. Please analyze it.

migrated to maven-artifact


admin front - routing problem after selecting add captain, and going back there is routing problem

The arrow to go back to the previous page from the page invite a captain is not working properly.

this was fixed


[EL] Add hass turn on hass turn off

Summary by CodeRabbit

New Features

Added Greek translations for unlocking a device.
Added Greek translations for activating scenes, scripts, and locking a device.

Because there hasn't been any activity on this PR for quite some time now, I've decided to close it for being stale.
Feel free to re-open this PR when you are ready to pick up work on it again 👍
../Frenck


(Fix) Fails to create transaction

This PR fixes an issue in development where transactions are not being properly created due to nonce not being properly calculated.

Travis automatic deployment:
https://pr1332--safereact.review.gnosisdev.com/app

@fernandomg Agustine made a solution for this in his PR https://github.com/gnosis/safe-react/pull/1230, maybe you can take it from here to avoid conflicts in the future

On the other hand, why did it stop working at development? This function has been working fun for ages. May it be that we're dealing with the consequences instead of solving the real problem?

@mikheevm,

Agustine made a solution for this in his PR #1230, maybe you can take it from here to avoid conflicts in the future

I didn't know he was working on a particular bug that affects all the other PRs, in that particular one. Good to know.

On the other hand, why did it stop working at development? This function has been working fine for ages. May it be that we're dealing with the consequences instead of solving the real problem?

That's the exact same question I asked myself. The bug was introduced here: https://github.com/gnosis/safe-react/pull/1301/files#diff-6c3bab67fc37510237bb32f6523ef7f9R19-R32
If you see, I think that this fix is more likely to keep the function behavior from before. The as string part was unnecessary and forced an invalid type, thus, the returned value was wrong.
I just added the !txNonce because if it's undefined or '' will ask the safeInstance for the nonce.
@rmeissner,

Please add a test for this to make sure that this doesn't happen again

Agree, but I'm still waiting for the https://github.com/gnosis/safe-react/pull/1230 to be merged to have the mocked services that help to test.

The as string part was unnecessary and forced an invalid type

The return type for the function is string, how could it force an invalid type?

The as string part was unnecessary and forced an invalid type

The return type for the function is string, how could it force an invalid type?

you're returning undefined as string.

I do have tests for this on my test branch, don't lose time adding them here

@fernandomg function's return type is Promise<string>

@fernandomg function's return type is Promise<string>, in this case, it needs to be adjusted

That comment isn't adding any significant value to the discussion. Being a Promise or not, does not change the fact that txNonce as string is just wrong.
Thing is that the function "worked well for ages", and a bug was introduced due to enforced types.
Check the old code:
export const getNewTxNonce = async (txNonce, lastTx, safeInstance) => {
  if (!Number.isInteger(Number.parseInt(txNonce, 10))) {
    return lastTx === null
      ? // use current's safe nonce as fallback
        (await safeInstance.nonce()).toString()
      : `${lastTx.nonce + 1}`
  }
  return txNonce
}

the bug was introduced here:
export const getNewTxNonce = async (
  txNonce: string | undefined,
  lastTx: TxServiceModel | null,
  safeInstance: GnosisSafe,
): Promise<string> => {
  if (typeof txNonce === 'string' && !Number.isInteger(Number.parseInt(txNonce, 10))) {
    return lastTx === null
      ? // use current's safe nonce as fallback
        (await safeInstance.methods.nonce().call()).toString()
      : `${lastTx.nonce + 1}`
  }

  return txNonce as string
}

the solution I'm proposing is: if txNonce is falsy (that is undefined or ''), then enter the if, if not, return the txNonce.
We can't keep the original code as Number.isInteger doesn't accept undefined as a argument.

@fernandomg sorry, I mixed it up a little bit. But nevertheless, I like Agustine's solution more because it's more easy to understand.

@mikheevm, updated with Agus' code.
@rmeissner, can you approve this? https://github.com/gnosis/safe-react/pull/1332#issuecomment-689526257
This bug is blocking those PRs who already merged development
Except that if #1230 is getting merged right away, this PR makes no sense after all and we can close it.

Travis automatic deployment:
https://pr1332--safereact.review.gnosisdev.com/app

closed, as it's no longer needed due to the revert at: https://github.com/gnosis/safe-react/pull/1335


Update builder container image version to 0.3.9

Signed-off-by: Krzysztof Wilczyński<EMAIL_ADDRESS>

Related to:

https://github.com/app-sre/container-images/pull/65
https://github.com/app-sre/container-images/pull/66


nox player

excuse me but does this app works on nox player or any other emus ? and if it does could you explain to me how

https://github.com/MathewSachin/Fate-Grand-Automata/wiki/Running-on-Emulators


✨ Create new OIDC role for GitHub runner

Describe the feature request.
As a Developer of the CJS Dashboard App
I want to connect to the Analytical Platform via GitHub Runners
So I can run an integration test which requires access to a specific bucket.
Technical notes:

This is the repo in which the GitHub runners run on and will need access to the mojap-cjs-dashboard bucket.
We need an OICD role which can be assumed by a GitHub runner, that has sufficient permissions to access and read the data in the above bucket.

Describe the context.
No response
Value / Purpose
So that we can run an Integration Test - improve the quality/level  of testing.
User Types
No response

Hi @hemeshpatel-moj,
I've just created a role (arn:aws:iam::593291632749:role/github-cjs-dashboard-app), can you give it a whirl and see what happens
Cheers!


Move all CLI imports inside of functions

This is a quick and dirty solution. Closes #5 .
Note that for testing purposes one might need to start using importlib in the future.

mlt before: ~3 seconds
mlt after: <1 second


Cant seem to get the Hero image to the top of the page?

Hi,
I have your theme installed on my webpage but even though I have selected the no title template I still get a gap at the top.... any ideas?
https://thaxtedscouts.org.uk/
cheers
Rory

Hi @rozzer1234,
By the looks of it the hero image has been added to the page content. There is already a feature to add images directly under the navbar which will fix your issue. To use this feature, within edit page, you need to set a featured image. I have included two screen shots with the first including the forward facing page and the second within the page editor.

Hope this helps.
Thanks,
Jack


Add explicit Fedora/CentOS symlink to gh-pages

index.html is generated automatically from README.md. This patch should modify the latter. No need though, because it gave me the encouragement to actually fix Linuxbrew. In addition to searching for compilers named like gcc-4.9, it now also searches for compilers named like gcc44 and simply gcc.
Fixed in 63b1cd37d84e6d1ce57d8a118edfa77e05d66162