Email alert notification receipts

This work is part of the ongoing efforts to improve travel advice alert email monitoring and will allow us to reconcile a 'received' email with a published edition in Travel Advice Publisher (where we'll add checks that can be run by Jenkins -> Icinga)
This project sets up an S3 bucket and a lambda function that parses files and renames them with a prefix (currently only travel-advice-alerts) and the govuk_request_id parsed from the email body.
An SES domain and RuleSet and an S3 event source are also required but can't currently be configured via Terraform. (details in the README)
I've not been able to test this via the rake tasks from the repo root as I've not got access to the state files, environments etc so I'm not sure that the paths work from there.
The lambda code is deployed from a zip file which I've checked in and included in this PR. I'm not sure this is the best approach as it's 'unreviewable'. I'd welcome any better ideas. Zipping the file as part of the rake task to apply maybe?
Apologies for the one big commit. Code was moved from a local repo. Happy to break up if it will help with reviews.
UPDATE: Added an aws_s3_bucket_notification to trigger the lambda. This is only supported in Terraform 0.6.15

I think currently the way the Rakefile deploys stuff is to copy everything from resource directories with the *.tf filename extension into a temporary directory and then deploy, so this may miss out the zip/py files, so we'll need to tweak that. I think it's also worth discussing whether we want "extra" files within the resource/ dir.
Currently if an environment isn't defined within the resources/ dir then it'll assume that you want it deployed to all environments.

The file paths that use path.module will all be incorrect I think, as this isn't a module. You can use relative ones although I suspect something like path.cwd might also work.

This depends on #47 being merged.

In terms of the lambda build I've been looking at something like this rather than building the zip manually.
resource "null_resource" "build_poller_zip" {
    provisioner "local-exec" {
        command = "zip -j py-poller.zip files/url-poller.py"
    }
}

resource "aws_lambda_function"
    depends_on = [ "null_resource.build_poller_zip"]

Would you be willing to give this a go on this PR?

We're going to add some code that works with the additional files, but the structure needs to be rejigged:

*.tf files should live in <project>/resources
templates can go in <project>/templates
any other files should go in <project>/files

The README can stay in the project root. If you remove the references to the module.path then our rake tasks should hopefully do the right thing.

@surminus I've reorganised the files as you suggested. I think it will need a slight change to #47 as per my comments there
@deanwilson I've used that null_resource approach you suggested with a couple of tweaks to get it running. Good shout :+1:

I'm not entirely sure how you do deal with other artefacts, like ruby gems in GDS, but my friendly recommendation would be to treat the ZIP files for Lambda functions the same way as other artefacts - i.e. have their own repo with CI (Jenkins/Travis/Circle) that is running tests (if you have any) and most importantly generating ZIP file and uploading it into a versioned S3 bucket. That build in your CI can spit out an S3 VersionId of the file it has just uploaded.
Then you can just bump the s3_object_version in *.tf and actually release the ZIP file. It may look like too many steps, but it's codebase like any other and IMO should be treated the same way.
There is also a separate thread about proper versioning of Lambda Functions, which isn't well supported in Terraform yet.

Thanks for all your comments @radeksimko . Really helpful.

There is an ongoing effort to release Terraform 0.7 soon which will contain something that might help you to make the workflow cleaner/more automated - Data Sources.
Effectively you'd be able to do something like this:
data "aws_s3_object" "lambda_zip_file" {
  bucket = "my-lambda-functions"
  path = "lambda.zip"
}
...
resource "aws_lambda_function" "rename_email_files_with_request_id" {
  s3_object_version = "${data.aws_s3_object.lambda_zip_file.latest_version}"

That way you wouldn't need that extra step of bumping Version ID manually, but you'd just let Terraform to pull down the latest from S3 at the time of refresh.
The syntax and actual implementation is WIP though - this is just to give you an idea.

I've updated the directory structure and reverted the null_resource commit. Once we've settled on where the zipped lambdas are going to live I'll add support for that.

@gpeng as suggested in https://github.com/alphagov/govuk-terraform-provisioning/pull/47#discussion_r62853746 I think what I stated above was incorrect.

Thanks... I've laid it out as per #47 so I think it should be good to go now. Just need to update to pull the lambda zip from s3 once that is setup.

We have the config in for buckets to store the lambda zips from (https://github.com/alphagov/govuk-terraform-provisioning/pull/50) although not sure if they're deployed yet (easy to do). I guess the next thing to do is https://trello.com/c/eukUJfOU/84-write-jenkins-deployment-job-for-lambda-apps

@gpeng, we've just had a chat about this. To deploy this the process would be:

Dev team add a jenkins.sh script which zips up the code for the lambda function
Jenkins uploads the zip to an S3 bucket
Jenkins kicks off this Terraform job to deploy the function

We are prioritising steps 2 & 3 along with setting up the email endpoints.

Ok... Sounds good. So would we have a convention for where zipped lambdas live within a typical app and Jenkins would upload any that it finds in the 'standard' location /lambdas/<whatevs.zip>?

That sounds like a good plan.

Would that mean that we'd have to have a separate update/install lambda Terraform job?

I think this is fine as it is for the time-being and don't think we should have a separate job. This is dependent on https://github.com/alphagov/govuk-terraform-provisioning/pull/47 which I think @deanwilson has thoughts on, though I am happy with it in this way and don't really mind either way. I think this terraform project looks fine to run on each deployment (though if you want to do the work to split it up feel free).
For this part, will the source change as the lambda.zip will be stored in another S3 bucket that were created here?

Yes... the lambda source needs to change there. I think we'll have to keep the lambda source within this repo too now as I think about it as we need to be able to get the hash of it here unless we upload the source and the zip as part of the Jenkins job that pulls the lambdas in. That might be a better idea.
I think we also need to add support for the 3 environments too don't we for both the lambda source and the bucket where the emails land? Might need some pointers on that...

@gpeng so in theory you could put per environment stuff within resources/staging or resources/production for example, and then when we deploy to whichever environment it'll only pull in stuff from there (and also anything in resources/), so env specific stuff needs to live there.
Agree it would be better to upload the source and zip as part of the Jenkins job which uploads the lambda... so just to clarify, we think it would grab the zip, upload to the bucket, get the source hash and then we can pass the source hash and location of the zip in the bucket in environmental variables to the Terraform part of the deploy process? Does that make sense?

@surminus I've updated this to get the lambda from S3 now as discussed. We need to pass in the S3 object version as per the last commit message. I think this should be pretty much good to go now. Just need to work out which repo to put the lambda source in.

I'm going to write the deployment job today. The last thing to decide as you suggest is where the source goes, I'd suggest either a new repo (govuk-lambda-app-deployment?) or the govuk-app-deployment repo? We could put it in this repo but ideally I think this should be separate from Terraform code. Either way it should be easy enough to update the deployment job.

I'm not sure I understand the template change in 48ad5776566331d07fea4a942a986bc2982b7eb1. I think it's duplicating the templates but I'm not sure why we can use a relative path of projects/email_alert_notifications/resources/templates/foo.json. Going to have a play with this now.

@alexmuller you're right, we could just have a full relative path in the Terraform code. I thought it was easier to read in it's own directory, but I don't really mind either way!

Maybe something like 1cfb37562da8dd8a83404ba479d1c41c2c9de01b, is that ok? I think that's what @deanwilson had in mind with the directory structure but I might be wrong.

Fine with me!

I know hardly anything about how this SES/Lambda interaction works but the code seems like it probably makes sense. Let's run it in integration and see what happens.

@alexmuller :wave: I know these things. Shout if I can help.

There's a bit of a loop here where this Terraform code creates an S3 bucket but the Rakefile relies on that bucket existing.

@boffbowsh: Thanks!

I didn't think the Rakefile should rely on the bucket existing that the Terraform code creates? It relies upon a different bucket where we upload the Lambda app, then creates a new bucket for a different function (I think).

@surminus: Ah yep sorry, you're right. I have no idea how any of this works.


Possible to provide a prebuilt version in releases?

Right now I would have to download the project, get dependencies and built the project before using it.
It would be really helpful if a prebuilt version is available as a GitHub release.

That's a great idea, we don't have a CI set up right now so I'll be manually adding the built project as a release.

@SubhrajyotiSen This is done! Check the prerelease here https://github.com/blenderskool/untab/releases/tag/v0.0.1


Apps still appear in playstore even after running detach

**

**
**
**
You can see the program at the end
Logs taken with su -c logcat -s "zygisk-detach" > /sdcard/log.txt: : After running this command log,txt is created but there is nothing in the file and in termux it shows nothing

I am using kernelsu by the way for root permissions

I am using kernelsu by the way for root permissions

did you flash zygisknext as per the readme?

I am using kernelsu by the way for root permissions

did you flash zygisknext as per the readme?

Yes it's already installed.

disable zygisksu and zygisk-detach. reboot. enable both and reboot again.

Yeah, facing same issue

Send logs or dont comment.

comments without logs are unnecessary.

Yeah, i tried the to take log using the code
su -c logcat -s "zygisk-detach" > /sdcard/log.txt
But it just created a filenames log.txt with 0byte size.
I have also tried multiple times reinstalling both of the modules (zygisk and detach) but still no luck.

comments without logs are unnecessary.

Yeah, i tried the to take log using the code su -c logcat -s "zygisk-detach" > /sdcard/log.txt But it just created a filenames log.txt with 0byte size.
I have also tried multiple times reinstalling both of the modules (zygisk and detach) but still no luck.

Did you read the readme? Did you follow all the steps?

comments without logs are unnecessary.

Yeah, i tried the to take log using the code su -c logcat -s "zygisk-detach" > /sdcard/log.txt But it just created a filenames log.txt with 0byte size.
I have also tried multiple times reinstalling both of the modules (zygisk and detach) but still no luck.

Did you read the readme? Did you follow all the steps?

Yes sir, it happened yesterday for me. Before that everything was normal

comments without logs are unnecessary.

Yeah, i tried the to take log using the code su -c logcat -s "zygisk-detach" > /sdcard/log.txt But it just created a filenames log.txt with 0byte size.
I have also tried multiple times reinstalling both of the modules (zygisk and detach) but still no luck.

Did you read the readme? Did you follow all the steps?

Yes sir, it happened yesterday for me. Before that everything was normal

I need every info stated here:
https://github.com/j-hc/zygisk-detach/blob/master/.github%2FISSUE_TEMPLATE%2Fbug_report.md

Running: Elixer Os with N0KERNEL A13
Phone : Mi 11x
Logs:

log.txt
Even after running the detach again the log file doesn't update

@ifsvivek
get logs with this build:
zygisk-detach-v1.9.1t.zip
and please edit your comment to not include full size images.

@ifsvivek get logs with this build: zygisk-detach-v1.9.1t.zip

log.txt

Also it works now, YouTube is detached from playstore

I didnt change anything so it was always working. It was a zygisknext bug most probably. Im closing the issue.


Accessing raw, received camera frames (multihandtracking AAR)

My goal is to access each of the raw frames received by the camera, and crop out a rectangular region of the frame (where the index finger tip is) into a new image. I tried to use OpenCV to crop the received frames and produce the new subframes. However, if I create and implement a
private CameraBridgeViewBase mOpenCvCameraView;

for OpenCV to access the camera, Mediapipe won't run in the background and I do not receive any of the hand tracking landmark packets because OpenCV is taking camera access and Mediapipe can't use the camera. The PacketCallBack is never triggered.
I need Mediapipe to access the camera in order to get me the hand landmarks, but I also need to have the raw frames myself to modify them using the information I receive from Mediapipe's handtracking pipeline. I am looking at the mediapipemultihandtrackingapp AAR  found here:
https://github.com/jiuqiant/mediapipe_multi_hands_tracking_aar_example
and in the MainActivity I simply can't find anyway for me to actually receive the raw camera frames. Mediapipe's calculators simply send me the land mark packets but no camera frames, as seen here:
processor.addPacketCallback(
                OUTPUT_LANDMARKS_STREAM_NAME,
                (packet) -> {
                    Log.d(TAG, "Received multi-hand landmarks packet.");
                    List<NormalizedLandmarkList> multiHandLandmarks =
                            PacketGetter.getProtoVector(packet, NormalizedLandmarkList.parser());

Is there a way for me to access the raw frames from mediapipe then perform cropping on them and save the results to phone storage? Thank you.

MediaPipe android components move camera frames through a series of listeners.  The ExternalTextureConverter converts camera frames into frames that MediaPipe can process.  The FrameProcessor sends camera frames into the MediaPipe graph.  The FrameProcessor is registered as a consumer of the ExternalTextureConverter by ExternalTextureConverter.setConsumer().  The FrameProcessor receives frames through FrameProcessor.onNewFrame().
You can get an indication when a frame is added to FrameProcessor with FrameProcessor.setOnWillAddFrameListener().  I don't yet see a way to intercept the frame received by FrameProcessor.onNewFrame().
You can see some more details about FrameProcessor at:
https://google.github.io/mediapipe/getting_started/hello_world_android.html#externaltextureconverter-setup
https://google.github.io/mediapipe/getting_started/hello_world_android.html#use-the-graph-in-mainactivity

MediaPipe android components move camera frames through a series of listeners.  The ExternalTextureConverter converts camera frames into frames that MediaPipe can process.  The FrameProcessor sends camera frames into the MediaPipe graph.  The FrameProcessor is registered as a consumer of the ExternalTextureConverter by ExternalTextureConverter.setConsumer().  The FrameProcessor receives frames through FrameProcessor.onNewFrame().
You can get an indication when a frame is added to FrameProcessor with FrameProcessor.setOnWillAddFrameListener().  I don't yet see a way to intercept the frame received by FrameProcessor.onNewFrame().
You can see some more details about FrameProcessor at:
https://google.github.io/mediapipe/getting_started/hello_world_android.html#externaltextureconverter-setup
https://google.github.io/mediapipe/getting_started/hello_world_android.html#use-the-graph-in-mainactivity

One work-around suggested by @eknight7: You can add a PassThroughCalculator inside the MediaPipe graph consuming the frame input stream.  Then you can observe the output stream of that PassThroughCalculator, using the addPacketCallback().  The observed MediaPipe packets should contain mediapipe::GpuBuffers containing the input raw camera frames.

One work-around suggested by @eknight7: You can add a PassThroughCalculator inside the MediaPipe graph consuming the frame input stream.  Then you can observe the output stream of that PassThroughCalculator, using the addPacketCallback().  The observed MediaPipe packets should contain mediapipe::GpuBuffers containing the input raw camera frames.

I am also facing the same issue.. @AlexYiningLiu, have you resolved the issue?

Closing this issue for now. Feel free to re-open it if more responses are needed.

I am also facing the same issue.
@AlexYiningLiu, have you resolved it?


added pattern background to hero, footer sections

Added background to hero,footer sections as discussed in #38921

/area web-development

Please provide a preview link on the PR description itself.

Couple of things to add more:

Prefer working on that issue which has the tag triage/accepted
Before working on an issue with the tag triage/accepted , assign yourself by /assign to avoid conflicts.

Shall I open a new issue regarding the background changes? We can keep #38921 for discussion purposes and I can create new issues like the card structure one for the PRs

Shall I open a new issue regarding the background changes? We can keep #38921 for discussion purposes and I can create new issues like the card structure one for the PRs

I'd not prefer this. The suggestions will most likely be provided under the PR.

Couple of things to add more:

Prefer working on the issue which has the tag triage/accepted
Before working on an issue with the tag triage/accepted , assign yourself by /assign to avoid conflicts.

ok yeah, can you add the triage/accepted to #38921 if there's no issue?

can you add the triage/accepted to https://github.com/kubernetes/website/issues/38921 if there's no issue?

We (SIG Docs) should only add that after discussing the proposal and agreeing that we want all the changes that that issue is suggesting.

Ok yeah, understood

Any update on this?

👋 @reveurguy . Thanks for contributing.
I looked at the preview of the changes (adds more blue).
This type of change should be discussed at a docs meeting (and possibly communicated to a broader audience).
In the mean time, I'll hold this pull request.
/hold

Hello @reveurguy , would you be able to add this to the agenda for our next SIG Docs meeting for further discussion? This has been pending for quite sometime now.

Hello @reveurguy, due to lack of response/activity on this PR since quite some time, I will be closing off this PR. Thank you so much for suggesting this change & for your efforts in opening the PR. If you wish to continue working on the PR, I'd request you to

Add it to the agenda for any upcoming SIG Docs meeting & socialise the idea.
Once there is consensus, reopen this PR & we can continue work on it.

/close


Feature - Allow C4 to be blown up by gunshots

Explode C4 when hit with the same ammo that affects satchel charges. Also, update README.md with new FAQ.

Merged version 1.0.7. Will release changes to a beta user, get some feedback before releasing to stores.


CLT: correct header package bundle ID

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

This corrects the bundle ID for the 10.14 header package. I'm unclear whether I got it wrong the first time, or if it changed between betas.

I'm unclear whether I got it wrong the first time, or if it changed between betas.

I think it changed, FWIW.

Thanks @mistydemeo (and @DomT4!).


LND alias not set correctly

it seems something got broken on setting the alias of the lnd.conf within the setup process.

local test run ok. issue closed


Add format script and targets for CMake files

Fixes #107

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 87.15%. Comparing base (b9187ee) to head (a81908c).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #261   +/-   ##
=======================================
  Coverage   87.15%   87.15%
=======================================
  Files          18       18
  Lines         514      514
=======================================
  Hits          448      448
  Misses         66       66

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Made loadstring only work when not working with bytecode

Made loadstring only work when not working with bytecode
Luau does not support bytecode

Closed due to not being as useful as originslly thought


Minimap layout is broken on 11.3.1

Describe the Bug
The minimap layout seems to be broken starting with release 11.3.1. The minimap still shows nodes, but they are not in the correct layout.
Your Example Website or App
https://codesandbox.io/s/pensive-golick-une37b
Steps to Reproduce the Bug or Issue

Go to link where I simply updated version to 11.3.1 and see incorrect layout of minimap.

Expected behavior
Minimap layout should match the real layout
Screenshots or Videos
No response
Platform

OS: macOS
Browser: Chrome
Version: 11.3.1

Additional context
Problem was introduced here: https://github.com/wbkd/react-flow/compare/6bbc0043152c249197cf92fba12d994514b061c1...main

I think this will fix it: https://github.com/wbkd/react-flow/pull/2612

oh man .. how could this slip through :/ Thanks for fixing it! Released in v11.3.2

Thanks for releasing so fast 👍🏼 confirmed resolution in our app after pulling 11.3.2.


Global Shader Cache File 'GlobalShaderCache-PCD3D_SM5.bin' is missing

Carla version: 0.9.15
OS: Windows 11, AMD Radeon graphics OR Nvidia GeForce (I have access to both systems)
Problem: When executing launch script 'CarlaUE4.exe' to run Carla in standalone mode, I get the error saying that 'GlobalShaderCache-PCD3D_SM5.bin' is missing, and that no COOKED content was found. The file is not in the directory that was listed in the error message. I have read all the other similar posts regarding this issue and have not been able to figure out a solution. All graphics drivers are up to date.
Expected results: Carla runs in standalone mode with keyboard inputs.
Steps to reproduce: Run \CarlaUE4.exe script
Other information: One solution suggested to use the executable located in \carla\Unreal\CarlaUE4\Saved\StagedBuilds\WindowsNoEditor, however the StagedBuilds directory does not exist in my case. Carla and unreal were built from source following the exact steps to do so as per the documentation.
Additional request: If anyone has experience with using the SUMO/Carla co-simulation tools to run with a vehicle using keyboard inputs, with other vehicles generated by SUMO, any information or examples would be much appreciated. Ultimately the end goal is to have a traffic co-simulation running while being able to control one ego vehicle among the other vehicles in the simulation.

Currently attempting to build/rebuild CarlaUE4.sln as per recommendation from: https://github.com/carla-simulator/carla/issues/4590. Will update on progress.


kubernetes vm with same network already exist

Description
kubernetes vm with same network already exist
Version information
Ubuntu 18.04
Installation method
js-sdk-development (default)
Steps to reproduce
While creating the k8s cluster on new network. I think the issue is created because of existing old workloads with state ERROR and nextAction set to DELETE. The expected behavior of these workloads is State=DELETED.
JS-NG> for workload in j.sals.zos.get().workloads.list(1500,NextAction.DELETE):
2     print("id=",workload.id,", state=",workload.info.result.state, ", nextAction=", workload.info.next_action)
id= 489109 , state= State.Error , nextAction= NextAction.DELETE
id= 500611 , state= State.Error , nextAction= NextAction.DELETE
id= 504092 , state= State.Error , nextAction= NextAction.DELETE
id= 504105 , state= State.Error , nextAction= NextAction.DELETE
id= 504106 , state= State.Error , nextAction= NextAction.DELETE
id= 504129 , state= State.Error , nextAction= NextAction.DELETE
id= 504150 , state= State.Error , nextAction= NextAction.DELETE
id= 504151 , state= State.Error , nextAction= NextAction.DELETE
id= 504153 , state= State.Error , nextAction= NextAction.DELETE
id= 504174 , state= State.Error , nextAction= NextAction.DELETE
id= 504176 , state= State.Error , nextAction= NextAction.DELETE
id= 504208 , state= State.Error , nextAction= NextAction.DELETE
id= 504209 , state= State.Error , nextAction= NextAction.DELETE
id= 504283 , state= State.Error , nextAction= NextAction.DELETE
id= 504296 , state= State.Error , nextAction= NextAction.DELETE
id= 504343 , state= State.Error , nextAction= NextAction.DELETE
id= 504344 , state= State.Error , nextAction= NextAction.DELETE
id= 504510 , state= State.Error , nextAction= NextAction.DELETE
id= 504512 , state= State.Error , nextAction= NextAction.DELETE
id= 504513 , state= State.Error , nextAction= NextAction.DELETE
Traceback/Logs/Alerts
https://explorer.testnet.grid.tf/api/v1/reservations/workloads/509017

seems nodes are not deleting these workloads


Fixed Tiles on index.html

Please review the change and approve it

Yup, this looks good. title changed approved


Dhrystone UART baudrate

Hi
I suggest that we define UART baudrate as a generic in dhrystone program (in
sw/example/dhrystone/dhry.h).

Good idea!

Thanks


Clarification about the perception coordinate frame.

message LaneMarker {
  optional apollo.hdmap.LaneBoundaryType.Type lane_type = 1;
  optional double quality = 2; // range = [0,1]; 1 = the best quality
  optional int32 model_degree = 3;
  // equation X = c3 * Z^3 + c2 * Z^2 + c1 * Z + c0
  optional double c0_position = 4;
  optional double c1_heading_angle = 5;
  optional double c2_curvature = 6;
  optional double c3_curvature_derivative = 7;
  optional double view_range = 8;
  optional double longitude_start = 9;
  optional double longitude_end = 10;
}

I have questions about this message,
I am assuming the ego vehicle is at (0,0,0).  Is this correct?
And I am assuming that c0, c1, c2, c3 are all coefficients for a 3rd degree polynomial....?
Is there a case where, model_degree will equal 2, and in that case, I assume the equation just becomes:
X =c2 * Z^2 + c1 * Z + c0.... is this correct?
also,
I am assuming (100,0,0) is to the left of the ego vehicle
(0,100,0) is above the vehicle (towards the sky)
(0,0,100) is straight out in front of the vehicle?
Is this all correct?
The equation provided does NOT represent where the lane line exists in terms of pixels in the camera image, correct?
What is "optional double view_range = 8"
I am assuming longitude start , end is a min, max range of the detected lane line?
Is longitude the X axis or the Z axis?  Z axis right?

@snuffysasa The coordinate frame for lane line here is the FLU world coordinate: vehicle is (0, 0, 0), X is Front, Y is Left, and Z is Up.
Y is calculated as Y = c3X^3 + c2X^2 + c1*X + c0.
Longitude start , end is a min, max range of the detected lane line, in X direction.

hmm, you say the formula is
Y = c3X^3 + c2X^2 + c1*X + c0,
but the documentation says the formula is
equation X = c3 * Z^3 + c2 * Z^2 + c1 * Z + c0.
which is correct?

Okay great thank you.
the formula you gave makes sense, but hang on,
are you sure you don't mean:   Y = c3 * X^3 + c2 * X^2 + c1 * X + c0 ?

@snuffysasa Yes I think Y = c3 * X^3 + c2 * X^2 + c1 * X + c0 should be correct.

and does this mean that, positive Y values are to the left of the vehicle and negative Y values are to the right of the vehicle ?

@snuffysasa Yes.

@xiaoshuliu What is X in the formula? Is it car's X coordinate in the global system (taken from /apollo/localization/pose for example)?

@GeorgeMD 你知道X的意思了吗？这个公式里的X从哪来？另外，我想知道这个model_degree表示的意思是什么，longitude_start和longitude_end表示车道线的纵坐标，那横坐标是多少，怎么计算？


Introduce lap times in the database

This info can be extracted from the Ergast API: http://ergast.com/mrd/methods/laps/ (avalaible from 1996).
We also have the info in CSV format:

https://www.kaggle.com/datasets/rohanrao/formula-1-world-championship-1950-2020?select=lap_times.csv
http://ergast.com/mrd/db/#csv

It would be great to have lap times included in the F1DB.
Even if it's only from a certain year upwards like 1996.
The questions I have:

How can we verify the ergast data? What is the source? Is there another source to compare this with? E.g. wrong or even missing data.
How to easily obtain new lap times asap after a new race is finished?

The Ergast API seems reliable, and has been active for a few years I think (I'm not very sure about its sources).
Official lap time data can be found in FIA documents, for example:
In https://www.fia.com/events/fia-formula-one-world-championship/season-2022/saudi-arabian-grand-prix/eventtiming The PDF called Lap Analysis. I've been searching a lot and I can not find any other sources
I find the FIA page very difficult to carry out searches by race, and even more difficult to obtain the data (since it is in pdf, it is more complicated to scrape the data). I also think that the FIA has only uploaded documents to his page since 2019, I don't know where Ergast gets the rest of the information (there is a forum for questions, you can still ask).
So yes, it would be very very difficult and tedious to add the lap time information manually. Not to mention that it would undoubtedly be the largest table in the database.

It would indeed increase the size a lot.
Would you be willing to find out (via their forum) what their source is?
I'm a bit hesitant to depend on them for new data as it might delay F1DB releases.

Hello, I have already left a comment on the forum, it seems that the admin takes a few days to respond sometimes. You can follow it here: http://ergast.com/mrd/feedback/comment-page-8/#comment-464157
In the event that this will greatly delay the data update after each race, perhaps an annual upload of this data could be made, or for now simply add this historical data and that's it.

Yes, it could be a separate dist not being released directly after every race.
But for future sustainability it would be better to know what Ergast uses as source.

Completely agree with you

Thanks for the update.
Although the main source is the FIA, is the data publicly available as reference?

I haven't found much about it. As I said, the FIA data seems to have been uploaded on the web only since 2019. Investigating a bit on the Internet you can find pages like this: https://pitwall.app/analysis/compare-lap-times which coincidentally also has the information since 1996 as Ergast. Beyond that, nothing more.

Yes I guess they copy from each other. But question is where to retrieve new values from, like after a race has finished. What is the source then...

You can retrieve lap times since 2018 to present from Fast F1 API. They are using F1 live timing, so telemetry is pretty accurate. Although they are debugging errors that may happen due to red flags, et cetera
I cannot confirm you where Ergast lap times are retrieved from since 1996 to 2017. There may be some errors, but I think it is very reliable. Fast F1 is planning to take over Ergast since is being deprecated at the end of 2024.

Hi,
I have used your database SQLite for a project in Power BI and the following files in the ZIP. There are four files: f1_drivers_original.csv, f1_drivers.csv, f1_race_entries.csv and f1_lap_times.csv.
The lap times are only available for Grand Prix races, not for sprint races. This data has been retrieved from formula1db.com website with web scraping.
FORMULA 1 DB.zip
In order to use the data, I have joined drivers_original (Name of the driver in the website) with drivers (Name of the driver in f1db) and after that with entries and lap times, so we can have available the driver_id from the drivers table. Finally, I have brought the constructor_id, tyre_manufacturer_id and engine_manufacturer_id joining with race_results using (race_id, driver_number, driver_id). Maybe it can be done easier, but it was my approach.
Thanks for everything!


Unable to use argon2 which works with serverless-offline but not with serverless-express

Would appreciate any help here.
error -
serverless_sdk/index.js
9
*/(function(){var i="Expected a function",o="lodash_placeholder",s=[["ary",128],["bind",1],["bi
^ Error /var/task/node_modules/argon2/lib/binding/napi-v3/argon2.node: invalid ELF header
library -
https://www.npmjs.com/package/argon2

For anyone else looking problem was node_modules were compiled on diff platform.  Fixed by compiling on linux.


Platform error 'sensor' from integration 'moon_phase' - Integration 'moon_phase' not found.

I followed your instructions, copied all files into /root/homeassistant/custom_components
total 16K
-rw-r--r--    1 root     root          32 Jun  6 15:28 __init__.py
-rw-r--r--    1 root     root         306 Jun  6 15:28 manifest.json
-rw-r--r--    1 root     root        5.1K Jun  6 15:28 sensor.py

... I added
sensor:
  - platform: moon_phase

... to the configuration.yaml
But if I check the configuration I get a configuration warning:
Platform error 'sensor' from integration 'moon_phase' - Integration 'moon_phase' not found.
Any idea what I did wrong?

Did you copy whole directory to custom_components or just files?

I created the moon_phase directory in the the custom_components then copied the files into it (moon_phase).
homeassistant cd custom_components
➜  custom_components ls -l
total 20
drwxr-xr-x    5 root     root          4096 Jun 11 00:19 battery_notes
drwxr-xr-x    4 root     root          4096 May 16 17:11 dwd
drwxr-xr-x    3 root     root          4096 May 25 00:01 dwd_weather
drwxr-xr-x   10 root     root          4096 May 15 23:33 hacs
drwxr-xr-x    2 root     root          4096 Jun  6 15:32 moon_phase
➜  custom_components
➜  custom_components cd moon_phase
➜  moon_phase ls -l
total 16
-rw-r--r--    1 root     root            32 Jun  6 15:28 __init__.py
-rw-r--r--    1 root     root           306 Jun  6 15:28 manifest.json
-rw-r--r--    1 root     root          5265 Jun  6 15:28 sensor.py
➜  moon_phase

Hello,
I have exactly the same issue. I have downloaded and copied the 3 files into config\custom_components\moon_phase folder. I have mounted the /config file to my pc.
I added the line   - platform: moon_phase under sensor in configuration file and when I check it I have same warning.
Thing that I noticed is that the init.py file looks like it is empty, I see only these writing --> """The moon_phase component."""
Something is wrong, homeassistant somehow does not know about this new integration even thought the files are there.

Config file setup

Check unsuccessful

Sorry guys for the late reply. There was a bug in manifest.json file, please update it to the latest version.

working now.
question, is there a way to change to format of the date/time?  specifically, I would like to display the moon rise/ set times as an AM/PM time only (no date).

Sorry guys for the late reply. There was a bug in manifest.json file, please update it to the latest version.

thx !

Thank you.
This solved the issue.


OpenLayers 5 web component

This is more of a FYI issue, we did an OpenLayers 5 web component that we use for visualizing WKT text, also coming from SPARQL for example. Documentation can be found here.
If this is not of interest for you guys feel free to close the issue immediately :)

Thanks for working on this!  I'm only vaguely aware of OpenLayers.  Could you briefly enumerate the top 3 feature that it provides over Leaflet as a visualization of SPARQL result sets?
The live demo link on your repo does not link to a demo but to documentation.  Do you also have a link where we can see your component in action?

@tpluscode can comment on why we use OpenLayers and not Leaflet. Thanks for remark regarding demo, we will fix that. Meanwhile see here

It is true that both come with a similar feature set. The choice was not based on individual features. I'm sure that both libraries can deliver similar final effect.
The significant difference is the development experience. Leaflet seems to work in an old-fashioned manner: drop <link type"stylesheet"> and <script> to your page and you're good to go. This doesn't really work well with Web Components where on expects a nice, modularised API which can be efficiently packaged with webpack or rollup.
OpenLayers in contrast have a purer (in my opinion?) JavaScript API, which play well with modern tooling and ES modules. That API also has a bit of a lower-level feel to it. A double edged sword but given that the intention is two wrap that complex API in easy to use components, that additional flexibility becomes a pro.
Finally, while there are existing components for Leaflet and Mapbox, none existed for OpenLayers. Sadly, Mapbox is essentially a commercial product, and the elements built using an older version of Polymer. Leaflet would be fine but I failed to actually get those elements to work at all 😞.


Expectations for keeping installed package versions recent

Hi there.
I'm looking for guidance on what expectations exist in GCP for keeping installed packages up to date on GCE instances, and whether there is a guarantee in place to maintain backwards-compatibility within a certain set of released versions behind HEAD (compatible within the same semver major version, for instance). I'm specifically interested in the centos packages google-compute-engine and python-google-compute-engine, but I would hope the guidance could apply across all compute-image packages and distros.
In addition, I'd like to be able to watch or be notified for new releases that contain critical updates (for instance, addressing CVEs) that might alter the general guidance around what package versions Google expects to be installed.
Does this package version guidance exist already, or would you be able to supply it? Is there already a process for being notified of critical package releases?
Thanks!

Hi,
Apologies for the delay; there's a lot of questions in your post that make it difficult to give you a single answer. I'll try to answer a simplified version of your post. Feel free to ask followup questions.
This repository is specific to the guest environment installed on Google (and Google-partner) provided Linux based images. It's a codebase that we are constantly improving upon and extending. We treat security flaws very seriously and make updates to the packages as necessary.
On the CentOS images we publish, we have yum-cron enabled by default. This means standard CentOS policies (dictated by upstream) apply for package updates on a running instance. The latest version of this guest environment will also be pulled in automatically on a running CentOS instance.
Independently, we do try to publish new images when there is a new fix for a CVE. You can view our image releases by following posts to this google group: https://groups.google.com/forum/#!forum/gce-image-notifications
Note that the package versions installed on any of our Google provided images are (with only minor exception) dictated by the upstream distribution.


Replace usage of optparse with argparse

Very straightforward replacement since our use of optparse wasn't complicated. I removed the default argument for options with action="store_true" or action="store_false".

Thanks Alex!


Migrate api/oauthApi and api/oauthEnabledClient to typescript

What
First of a series of PRs to migrate hmpps-manage-users to typescript starting at the api layer
This first PR migrates backend/apis/oauthApi.js and backend/apis/oathEnabledClient.js plus their tests
Other files have been updated to support this migration. I hope this number will decrease in further migration PRs

Closing to try two separate PRs


refactor(site): move to Astro

Moving to Astro speeds up the site (slightly better Lighthouse scores). It also allows us to potentially include interactive examples of any framework directly in the future.
Most interactive elements have been replaced with custom elements.
Markdown is still being rendered using Svelte Markdown but this is only running at build time now, so we don't get a big bundle with all the content. Previously it was about 1mb of JS.

Codecov Report

Merging #118 (4582861) into main (2fa41a3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #118   +/-   ##
=======================================
  Coverage   99.27%   99.27%
=======================================
  Files          79       79
  Lines        2357     2357
  Branches      622      622
=======================================
  Hits         2340     2340
  Misses         17       17

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 2fa41a3...4582861. Read the comment docs.


version 0.19.2 is much slower than 0.19.1

After upgrading to 0.19.2 from 0.19.1, our test startup time got much much longer.
We created a very simple Phoenix app with mix phx.new. We added Wallaby but didn't add any Wallaby tests. Without Wallaby, the tests take 0.0557s. With Wallaby 0.19.1, the tests take 0.925s. With Wallaby 0.19.2, the tests take 14.418s. Here's the repo for that simple app: https://github.com/sparta-science/wallaby_test
We're guessing the slowdown is due to Wallaby waiting for Phantom to start up.
We've noticed this on multiple computers running Mac OS X 10.13.3 (High Sierra) and phantomjs version 2.1.1 (the latest).
Is anyone else seeing this slowdown?

I just tested this on my macbook air running sierra 10.12.6. I definitely see an increase in start-up time. Not nearly as bad as 14 seconds though.
Here's what I'm getting:
# With 0.19.1
λ time mix test
....

Finished in 0.3 seconds
4 tests, 0 failures

Randomized with seed 91685
        1.54 real         0.95 user         0.47 sys

# With 0.19.2
λ time mix test
....

Finished in 0.09 seconds
4 tests, 0 failures

Randomized with seed 258558
        4.65 real         0.91 user         0.44 sys

Those times are pretty consistent on my machine. I'll try to get a system trace to see whats going on. I also suspect that its related to phantomjs startup. We changed that in 0.19.2 to try to fix some issues with zombie phantom processes and it might have caused a slow down.


🐞 Emmet expand selection doesn't work correctly inside SFC

When we use "Expand Selection" & "shrink selection" commands from vscode inside template tag, it doesn't work same as html file or react files like tsx.
Vue SFC vs index.html:
https://user-images.githubusercontent.com/47495003/234516144-97bdef8e-b06d-4803-886a-95fd5932e814.mov
Testing snippet:
<template>

crm

crm

crm

</template>

Would love to see this fixed as well.
the "Balance (outward)" command works for tags, but there's no quick way to select strings/props, or things inside {{}} (which expand selection should cover all of i'd think)

Closed due to inability to reproduce this issue in the latest version.


Cherry-pick PRs #453, #463, #464, #465

This cherry-picks the commits from PRs 453, 463, 464 and 465 to the release/2.6 branch.
Also removes the values.yaml.orig file which crept into the helm chart.

bors merge


poi-ooxml-schemas-extra may no longer be needed after poi 5.2.1 release

Issue description
I made some changes in POI 5.2.1 (RC1 is announced on POI dev mailing list) that adds the classes and xsbs from poi-ooxml-schemas-extra to poi-ooxml-lite - hopefully, I didn't miss any classes

This is awesome, I will try to use it. 👍

This has been done in the latest version(1.12.0).


Enhance the broker mappings and store them for multiple exchanges

This is about three aspects of the broker mappings.

Currently the user of the library would need to figure out by himself what the correct broker mappings for his exchange are. But we already have this settings in the code here and there. And in my case I always have to figure out which one are the correct ones. This is why I suggest to move them out into a JSON file and commit them.

Having a separate file would make it easy to store the mappings per exchange to have a single source of truth for multiple exchanges.

For Binance I need additional properties to be mapped. E.g. the parameter for the stop price is different between Backtrader and what Binance expects. Additionally Binance differentiates its stop-limit order types further by having

TAKE_PROFIT_LIMIT sell orders and STOP_LOSS_LIMIT buy orders that should be used for stop losses above the market price and
TAKE_PROFIT_LIMIT buy orders and STOP_LOSS_LIMIT sell orders that should be used for stop losses below the market price
see https://github.com/binance-exchange/binance-official-api-docs/blob/master/rest-api.md#new-order--trade

I can implement that for Binance in way compatible with other exchanges and make a pull request if you don't have a veto @Dave-Vallance .

On the other hand, maybe there is a more object oriented approach where we only overwrite methods that are different for a specific exchange. This way we would be more flexible because the mapping file could grow arbitrarily complex.

I guess I'll need to understand CCXT better first.

ccxt currently unifies market and limit orders only
Ok, so at least we have to unify stop orders ourselves somehow.

@sandroboehme
Good thinking...
I agree that a more user friendly way of handling the mappings would be helpful. In the last commit, I tried to add more debugs to help this but it isn't really a good solution. More of stop gap until a better approach is found.
Regarding number 3 - As a temporary workaround, you might be able to use the private end point function. This is useful for the special order types that are not supported in backtrader.
Of course, if we can think of a nice way to include the things you need without breaking things for others, that would be ideal.
On BitFinex I used a private end point to completely close a position. This is because Backtrader tries to close positions using a buy/sell market order with the correct size but if I remember correctly, the size was not perfect as commissions were taken out leaving me with a little bit left. In the end, using the private endpoint worked.
                    # Manually close a position using the private method
                    # 1 Get open positions with private_post_positions()
                    # 2 Parse the position ID
                    # 3 Cancel the position
                    # 4 Update position pos.update(o_order.size, o_order.price)
                    type = 'Post'
                    endpoint = '/positions'
                    params = {}
                    positions = self.broker.private_end_point(type=type, endpoint=endpoint, params=params)
                    for position in positions:
                        id = position['id']
                        type = 'Post'
                        endpoint = '/position/close'
                        params = {'position_id': id}
                        result = self.broker.private_end_point(type=type, endpoint=endpoint, params=params)
                        _pos = self.broker.getposition(d, clone=False)
                        # A Price of NONE is returned form the close position endpoint!
                        _pos.update(-self.position.size, None)

@Dave-Vallance
Ah ok thanks for the example that's good to know!
Judging from what I currently know I target a hybrid solution. Using the broker mapping file for simple mappings but also allow to call a method e.g. for Binance stop-limit orders to handle mappings that would be too hard to describe generically in a JSON file. I don't know yet how to do it exactly but I guess I'll find a way :-).
BTW: My personal driver for that is that I currently have a Backtrader Strategy that uses Binance specific parameters for stop-limit orders. This prevents that I can backtest the Strategy with Backtrader as it is as it expects different parameters.

@Dave-Vallance
Thanks for the example above. However, I have not been able to figure out how to use the private end point for Binance to get the list of open positions. I get the error message that says private_post_positions() does not exists. Do I need to implement this function in in the CCXT broker for specific broker?
Also, if I place market_order after the order executed where can I see the result of the order exception including the price and the time? Is this something that is already implemented in Backtrader+CCXT or needs to be implemented.


Version Numbering on Release Notes documentation

Prerequisites

[X] Existing Issue: Search the existing issues for this repository. If there is an issue that fits your needs do not file a new one. Subscribe, react, or comment on that issue instead.
[X] Descriptive Title: Write the title for this issue as a short synopsis. If possible, provide context. For example, "Typo in Get-Foo cmdlet" instead of "Typo."
[X] Verify Version: If there is a mismatch between documentation and the behavior on your system, ensure that the version you are using is the same as the documentation. Check this box if they match or the issue you are reporting is not version specific.

Links
https://learn.microsoft.com/en-us/powershell/azure/release-notes-azureps
Summary
The release notes page is great, but a couple of suggestions:

We do not install the full az. module, just the component parts we need ie. az.accounts . It would be really useful to list the version of those parts in the release notes, rather than just the version number of the overarching az. module. For example, currently we are updating az.Accounts from 2.7.4 to 2.10.4. I'm having to use dates to work out the changes that have been made and tally that up with the az. module version numbers

Breaking changes are great to list, but some kind of filter that would highlight those would be really useful

Details
No response
Suggested Fix
No response

Prerequisites

[x]  Existing Issue: Search the existing issues for this repository. If there is an issue that fits your needs do not file a new one. Subscribe, react, or comment on that issue instead.
[x]  Descriptive Title: Write the title for this issue as a short synopsis. If possible, provide context. For example, "Typo in Get-Foo cmdlet" instead of "Typo."
[x]  Verify Version: If there is a mismatch between documentation and the behavior on your system, ensure that the version you are using is the same as the documentation. Check this box if they match or the issue you are reporting is not version specific.

Links
https://learn.microsoft.com/en-us/powershell/azure/release-notes-azureps
Summary
The release notes page is great, but a couple of suggestions:

We do not install the full az. module, just the component parts we need ie. az.accounts . It would be really useful to list the version of those parts in the release notes, rather than just the version number of the overarching az. module. For example, currently we are updating az.Accounts from 2.7.4 to 2.10.4. I'm having to use dates to work out the changes that have been made and tally that up with the az. module version numbers
Breaking changes are great to list, but some kind of filter that would highlight those would be really useful

Details
No response
Suggested Fix
No response

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

ID: bdde8a1b-913d-6123-7cb6-4a7cbac558ad
Version Independent ID: 13ab3c45-9746-6b1c-66af-bbb1f8f5de60
Content: Azure PowerShell release notes
Content Source: docs-conceptual/azps-9.2.0/release-notes-azureps.md
Service: azure-powershell
GitHub Login: @mikefrobbins
Microsoft Alias: mirobb

@Mattheww65
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.


chore: add TFLint rule for checking tag names (only all-lowercase or 'Name' allowed)

Issue number: N/A
Summary
Changes
This PR adds a TFLint rule, powered by the experimental TFLint Open Policy Agent ruleset plugin, for checking tag names in resources.
User experience
Before: no warnings in TFLint for tag names that don't match recommended best practices.
After: TFLint warnings appear when tag names are not according to recommended best practices.
(note: currently, it appears that the lint rules are not applied in automations - hence why this is still a draft PR)
Checklist
If your change doesn't seem to apply, please leave them unchecked.

[X] I have performed a self-review of this change
[ ] Changes have been tested
[ ] Changes are documented

Is this a breaking change?
No

Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created might not be successful.

@jorisdon will this PR include refactor of existing tags, or will we cover that separately?

@henrykie this PR won't, as I don't want that that work to be blocked by potential issues getting TFLint running in automation. I'll submit a separate PR for that.

Need to find a better way to run tflint with these policies, and a way to run them inside of CI as well. Right now, you need to run the following locally to tflint with the policies:
TFLINT_OPA_POLICY_DIR=$(pwd)/.tflint.d/policies tflint --recursive --config=$(pwd)/.tflint.hcl


Weird issue with search not showing complete placeholder.

Weird issue with li width not being set to 100% in css file in dist location. This happens in Chrome Version 81.0.4044.122 (Official Build) (64-bit)

    .select2-search.select2-search--inline {         width: 100%;     }
Resolves the issue.

@Ysovuka This problem is fixed via https://github.com/ttskch/select2-bootstrap4-theme/commit/a4cca3a7c66bff362d9ddd91927f108c404d46f1 👍

@Ysovuka This problem is fixed via https://github.com/ttskch/select2-bootstrap4-theme/commit/a4cca3a7c66bff362d9ddd91927f108c404d46f1 👍


fix(optimizeUrl): Fixing common corner case

:tada: This PR is included in version 1.2.3 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


[Bug]: The file count/size and quota occupation are 0 when optimizing status is pending

What happened?
The file count and size should not be 0 when table is in pending status

Affects Versions
0.5.0
What engines are you seeing the problem on?
AMS
How to reproduce

create an table
not start any optimizer
insert some record into the table
wait for 1min, the table's optimizing status will be pending, and the file count and file size are 0

Relevant log output
No response
Anything else
No response
Code of Conduct

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

I use to think that's a new feature, haha


Problems with Validation (local Node)

Hello,
I had some problems during the last validation session and this seems like the right place to put them.
I got a message saying that I need to sync my time, but when I clicked on it it showed the same time as my system (less than 1sec offset), so that shouldn't be the issue either.
Problem description

Images are not loaded and in addition to not being able to see the images I was also unable to select left or right:

After that (in the 30min validation session) most Flips did load, but the keywords didn't (in the earlier ones I could see the images but it kept showing the getting keywords message:

This effectively resulted in me being unable to do anything in the validation session.
My setup
app.idena.io

Arch Linux
Firefox (91.0.2)
Incognito Mode: No
Extensions:

NoScript: Loaded but all (5) Domains where allowed to execute JavaScript
uBlock Origin: Disabled after I started seeing issues
Vue Devtools
MetaMask

Node: http://<IP_ADDRESS>:9009

Node

In a VirtualMachine on the same host (NAT, port's are forwarded)
Manjaro Linux (installed using the AUR)
idena-go version 0.26.7
Fully synchronized
API key taken from api.key

Logs
Node
ERROR[09-01|13:46:22.987] error while writing to stream            id=QmZSyy2MTy1yrHDcTKGqyKpFbudwMNHHuFJxyeZ9SXKCbE err="closed stream"
INFO [09-01|13:46:22.987] Peer disconnected                        id=QmZSyy2MTy1yrHDcTKGqyKpFbudwMNHHuFJxyeZ9SXKCbE

with different peer IDs, usually soon after a peer connected (not the case for all peers)
WARN [09-01|13:30:49.824] GetEncryptedPrivateFlipKey: public flip key is missing address=0x26C958225042e7Ab1dEc1CD6376Ac981B2434c5b

With the exception of those two types there where no other Errors or Warnings I could find. I needed I can also send the complete log file, but I don't think that is necessary.
app.idena.io
The log file (settings/General/Validation Logs) only contains the word null and is thus of no help at all.
JavaScript console output
I unfortunately didn't save a screenshot/copy of the output, but here are the Error messages it contained:
XML-Verarbeitungsfehler: Syntax-Fehler
Adresse: https://marketplace.idena.io/api/key/check?key=<my-api-key>
Zeile Nr. 1, Spalte 1:

That URL returns a 400 Bad Request with the body failed to retrieve api key. Also, I do not understand why my api key would be send to marketplace.idena.io if I'm hosting my own node. This error is displayed (in the JavaScript console, F12) as soon as I entered my Password.
Sicherheitsfehler: Inhalt auf https://app.idena.io/validation darf keine Daten von blob:https://app.idena.io/e803ccc4-9ef3-49cf-a61f-e362bf39edbc laden.

With different UIDs as the path.

You install idena-go and idena-web on a same machine?

idena-go ran in a VM, while I was using idena-web on the PC that was running the VM.

Normally you can not use https://app.idena.io with the http://localhost:9009 node connection. Although if you still want to please check this out for more details: https://github.com/idena-network/idena-desktop/issues/411


[Bug] Alt+Tab resets cursor position

Describe the bug
Each time I switch window focus to Notepads by using Alt+Tab keys combination the cursor jumps to the beginning of text.
Expected behavior
Don't reset cursor position after switching to Notepads by using Alt+Tab keys combination.
Desktop (please complete the following information):

OS: Windows 10 1903
Version: the latest on this moment
(I will edit those if necessarily once I get home.)

Additional context
It's very annoying as is and is even more annoying when your document is scrolled to the end and then the scroll position gets reset to the beginning.

I can actually try remember the scroll position and reset it after alt+tab. Not sure if it is possible. If it is I will do it.

I found a work around "hack" to fix this issue: https://github.com/JasonStein/Notepads/issues/279 +  https://github.com/JasonStein/Notepads/issues/280
It will be available in v<IP_ADDRESS>


This doesn't seem to be loading properly

Hi,
Is there any way to verify that this mod is actually loading properly? Running the output command gives me a file that is 0kb, and my achievements.dat file doesn't seem to update - only my achievements-modded.dat.
Many thanks

The "this game is modded" warning on the achievements window should disappear. Are you playing through steam or standalone (downloaded from Wube)?

@oorzkws I'm playing through Steam, I've set up the launch command as it should be.

These are the steps I followed to create a log, please let me know if they work for you.

Press Windows Key (beside Alt) + R together
Type cmd in the run box and press OK
in the command prompt, type cd /d "C:\Path\To\Your\Factorio\Folder\bin\x64" where you've replaced the path with your Factorio location and press enter
in the command prompt, type echo 427520 > steam_appid.txt and press enter
in the command prompt type factorio.exe > out.txt and press enter
Let Factorio load, then exit Factorio
Open your factorio folder and check the out.txt file contents and upload here if necessary

Let me know if those instructions produce a file for you. I've attached screenshots showing the cmd window after I've followed the steps and the log file as it shows for me.

I'm going to close this as there hasn't been further follow-up. Please comment or open a new issue if you continue to encounter problems.


Remove assert statement from config.py

💸 TL;DR
Asserts in Python make errors hard to track down and can be disabled at runtime if particular flags are provided. These things together make asserts a bad pattern in production code. This PR is an example PR for a bug to get rid of all asserts.
📜 Details
Design Doc
Jira

🧪 Testing Steps / Validation

✅ Checks

[ ] CI tests (if present) are passing
[ ] Adheres to code style for repo
[ ] Contributor License Agreement (CLA) completed if not a Reddit employee

Asserts in Python make errors hard to track down and can be disabled at runtime if particular flags are provided. These things together make asserts a bad pattern in production code. This PR is an example PR for a bug to get rid of all asserts.

Assertions have their place and are 👌 if used correctly, but I agree this is not one of them.


Support separate look-up for prefix commands and slash commands

I have a command with the same name defined as both prefix command and slash command, however poise gives up after seeing first command with a given name. I would like to handle prefix command separately due to manually parsing the command by using #[rest].
Essentially, the code looks like this:
#[command(prefix_command, track_edits, hide_in_help, rename = "example")]
pub async fn example_command(ctx: Context<'_>, #[rest] text: String) -> Result<(), Error> {
    let (a, b) = parse_this_somehow(text)?;
    common_code(a, b).await
}

#[command(slash_command, rename = "example")]
pub async fn example_slash(ctx: Context<'_>, a: Option<String>, b: String) -> Result<(), Error> {
    common_code(a, b).await
}

You can share a command's metadata but have separate implementations by overriding Command::slash_action.
You could do this for example by adding the following Command to the commands vector:
poise::Command {
    slash_action: example_slash().slash_action,
    ..example_command()
}

Thanks :).


View password

Closes
Closes #1410
Description
Resolving loading issues on contributors.html to ensure contributors can access their contributions without delays. 🌟💻
Screenshots

Note to reviewers
Checklist:

[x] I have linked the PR to the correct issue.
[x] I have read the Contribution Guidelines
[x] I have built and tested the changes, and they do not break or show any errors.

@Vaishnavi-Patil2211 Please Review my PR

Solve merge conflict

Done Dona Done @Vaishnavi-Patil2211


add definition file

Hi @devstepbcn I thought I help by creating a definition file for the project. I created an issue with it #87

@devstepbcn I was hoping I could get your feedback on this PR


Add a minimal openapi spec

Info, one server, one path.
Fixes https://github.com/ansible/galaxy-dev/issues/30

Closing as we already merged a base openapi/openapi.yml


Adding a new token gives no result

What is working wrong?
When I try to add a new token, nothing is happening. After filling in all the forms and confirming it with the button 'add new token', no result, no error message, no token, just nothing.
What should happen instead?
An token should be added
Steps to reproduce
Fill in all the forms to add a token. Press add new token.
Your system charateristics

Browser: Chrome and Safari
OS: Mac OS Catalina
Mainnet or Testnet: Mainnet

Does this affect atomic swap flow?

[ ] yes
[v] no

Are real funds at risk?

[ ] yes
[v] no

Screenshots
Nothing to show
Additional info

It works now


chore: remove CLA and COC

This was discussed with @rfaircloth-splunk and we can remove those files from this repository as we are using a centralized repository for CLA and COC.

The same as in https://github.com/splunk/pytest-splunk-addon/pull/401.

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

v5.9.0
GitHub release

Your semantic-release bot :package::rocket:


Could you make the version tag for the latest?

Describe the issue
tinygltf also can be downloaded by vcpkg but it's not latest. I have raised up the issue on vcpkg but their answer is v2.4.x is not leased yet. But I can see v2.4.2 is released on your source code. I think vcpkg manges the version using the git tag and there is no more version tag after v2.2.0. So could you make v2.4.2 tag?

Please ask vcpkg people for the support.
TinyGLTF itself does not provide vcpkg.
As you know, tinygltf is a header-only library so we don't recommend to use vcpkg(precompiled binary)

For tagging, I have tagged current master as v2.4.0

Thanks I have shared your opinion and microsoft accept to sync up the latest tinygltf on vcpkg.


Suggestions: Gitea Support

Thanks for the issue, but it's duplicated of #130.

It is about integrating the deployment process with Gitea, the same way as GitHub and GitLab are integrated at the moment.
You can host a Gitea instance with Coolify.
It should not be closed


Updates to support DBT 1.2

Note that the cloud tests at this point seem to be failing intermittently because the RBAC functions like GRANT are not synchrous.


Datatype definition order is significant

The following typechecks and runs fine:
T Thing
| thing

main: Thing
  case thing
  | thing => thing

But this does not:
main: Thing
  case thing
  | thing => thing

T Thing
| thing

It gives the following parse error (the space between "case" and "thing" on line 2 is highlighted):
tmp$ fm -t
[PARSE-ERROR]
Couldn't find the ADT for this pattern-match.
Make sure the cases have the correct name and order.

I noticed the problem on line 2, col 7, file main.fm:

   1| main: Thing
   2|   case thing
   3|   | thing => thing
   4|
   5| T Thing
   6| | thing

Good catch. That is one of the limitations of the parser. Since it has no type information, it requires the datatype to be already parsed when you use a case expression. There are two good alternatives:

Do the parsing in two steps. On the first one, collect the structure of the cases and all datatypes. On the second one, use the datatype information to compile to fm-core properly.

Change the case syntax so that it doesn't need datatype information. It would go from this:
case list
| cons => list.head
| nil => 0n
: Nat

To this:
case list
| cons(head, tail) => head
| nil => 0n
: (list) => Nat

I personally think the later is way uglier, I like the simplicity of Formality's case expressions. Doing parsing in two steps is the way to go. When rewriting the language in itself, we should have that in mind. @johnchandlerburnham

Formality was refactored, solving this issue! We now don't rely on type information for parsing anymore, using ; instead. This allows us to pattern-match on a datatype before declaring it, at the cost of a slightly more verbose syntax.


Getting it to work with custom change_form.html template

django-lock-tokens version: 0.1.4
Django version: 1.11.15
Python version: 3.5
Operating System: Windows 10

Description & What I Did
I'm trying to use LockableModelAdmin for one of my models (extends LockableModel) but since I am using a custom change_form.html template I'm getting some unexpected results. My change_form.html is basically a complete rebuild of the original admin/change_form.html.
My whole installment/setup is complete. My modified change_form.html extends the admin/lock_tokens_change_form.html and I am passing the extra_context to the page (where the lock_token is added) but when I call {{block.super}} I also get some stuff from Django's own {{ block content }} that I do not want or need. Like an extra history button, an extra form tag, etc. When trying to save (getting the save buttons on the required spot is also a bit of a hassle) I get the message "data ManagementForm are missing or have been tampered with". All csrf tokens are in place (and some extra, perhaps that is the issue here...)
This setup works great for a normal model admin without custom templates, but for this case it would be nice if I could just include a template tag to just get all the necessary javascript from django-lock-tokens and do the checking on the presence of lock_token for the submit buttons in my own custom template.
Suggestion / feature request
A simple tag to include the necessary javascript in a custom template.

Or would it be better if I do all the locking manually, since I also have custom views (even though it's in the admin)? (going to try that route now... )
It would still be nice to notify people that hugely modified custom templates might not work well and a different approach (locking/unlocking 'manually') might be needed.

I agree that something is missing when you want to use your own custom templates in the admin site.
A template tag could be a good idea, or at least add a javascript function that does the work needed in the admin site, and some documentation about it.


HTML Report: Orange failure blocks cannot be reached with keyboard

From Accessibility Report:

You can’t reach the orange failure blocks when using the keyboard. By using ‘tab’ on your keyboard, you should be able to cycle through all interactive elements on the page.

References:

https://www.w3.org/WAI/WCAG22/Understanding/keyboard
https://www.w3.org/WAI/WCAG22/Understanding/focus-order
https://www.w3.org/WAI/WCAG22/Understanding/name-role-value

Refiled as #435.


In case of missing type attribute dump dict to stderr for easier anal…

…ysis.

Fine for me and changed to your proposal.

Thanks!


[#3012] - handle display of zero in spatial coverage

Pull Request Checklist:

[x] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

update a spatial coverage limit to zero.  View the resource in view mode and verify the bounds box shows up correctly

@hyi - I found a bug with the spatial coverage ticket when displaying coverage with a limit of zero.  Basically the template and javascript are currently handling a zero value as if it is not a value.  I just updated them to check for null.

@sblack-usu I think these 2 lines need to be fixed to allow zero in case of point type coverage:
https://github.com/hydroshare/hydroshare/blob/3012-hotfix-handle-zero/hs_core/forms.py#L1010
https://github.com/hydroshare/hydroshare/blob/3012-hotfix-handle-zero/hs_core/forms.py#L1015

Thanks @pkdash - I hadn't considered point coverage, looks like it has the same issues as box in the display as well.  I'll make those updates.


node+npm needed on build images for Windows, and Mariner-2

dotnet/aspire CI is running on https://helix.dot.net/#heading-windows-vs2022preview-amd64-open and https://helix.dot.net/#heading-1es-mariner-2 and those don't appear to have node+npm installed on them by default. We need these for running some new tests.
Linux at least has node installed though, but no npm. And Windows is missing both.
cc @RussKie @joperezr

Release Note Category

[ ] Feature changes/additions
[ ] Bug fixes
[ ] Internal Infrastructure Improvements

Release Note Description

@dougbu any ETA on this one? We have tests blocked on dotnet/aspire due to this.
cc @eerhardt

Sorry. I haven't had a chance to look. I'll keep a tab open here and get back to you b/4 Monday

oh, I mixed this up w/ #3122. this issue is part of a "spike" of operations issues we're working through. it's no longer really on our backlog, more a matter of finding an assignee and / or deciding what we do when
could you speak to reason behind the urgency @radical❓ for example, why are automated tests on additional platforms needed❓
/cc @ilyas1974 and @garath

or example, why are automated tests on additional platforms needed❓

Using node+npm projects with dotnet/aspire is an explicit feature of the product, in parallel to all the others, and utilizes explicit aspire APIs for it. So, running node+npm dependent tests is not a different platform for us, it is just testing one part of the product.
Does that answer your question?

or example, why are automated tests on additional platforms needed❓

Using node+npm projects with dotnet/aspire is an explicit feature of the product, in parallel to all the others, and utilizes explicit aspire APIs for it. So, running node+npm dependent tests is not a different platform for us, it is just testing one part of the product.
Does that answer your question?

not exactly. if you can test node+npm on Linux, what's the urgency behind also testing those scenarios on Windows❓

cc @eerhardt

if you can test node+npm on Linux, what's the urgency behind also testing those scenarios on Windows❓

Because they are different, and we can have different bugs based on the OS. One example is here:
https://github.com/dotnet/aspire/pull/5142/files#diff-7a45254774650a016a455a5455a121b2ea58a5d9f5ee718dadd0a25127559967
npm isn't npm.exe on Windows, but it is npm.cmd. So when looking for the command the existing code wasn't finding it correctly.

Any update on this? Also Linux image has node 12 installed which reached EOL two years ago.
This is actively blocking testing on dotnet/aspire. https://github.com/dotnet/aspire/pull/2225#issuecomment-2348285240
cc @davidfowl

I will start looking at this today.
A few questions.

https://helix.dot.net/#heading-1es-mariner-2

Is an image we get from 1ES, and not something we should modify, so we need to decide how we want to fix this scenario:

Can you use docker instead of needing NPM on the host?
Alternatively, could you try moving to the build.ubuntu.* images from https://helix.dot.net/#1ESHostedPoolImagesWestUS-rg-Internal-Linux where we do install our artifacts?

If neither of these options help, we will need to create a new image, which we can try to base off the existing mariner image, but it will take some experimentation to get that working end to end.
It seems we at least think that we install a portable version of NPM 16 in the windows image under C:\arcade-tools We install node 10 and 16 in this way. Can you check if this installation would help with your needs?

Can you use docker instead of needing NPM on the host?

This needs to be explored, and would be non-trivial to implement. Especially, because aspire depends on talking to docker, and creating/building/running images.

Alternatively, could you try moving to the build.ubuntu.* images from helix.dot.net#1ESHostedPoolImagesWestUS-rg-Internal-Linux where we do install our artifacts?

How different is this from the existing images?
Also, I want to confirm that I shared the correct information. These are the helix queues that we use specifically, where we want this to be available:
            HelixTargetQueues: Windows.11.Amd64.Client.Open
            HelixTargetQueues: Windows.11.Amd64.Client

            HelixTargetQueues: Ubuntu.2204.Amd64.Open
            HelixTargetQueues: Ubuntu.2204.Amd64

How different is this from the existing images?

The software installed in the images is located in the Helix website. We have full control over the build.ubuntu images, while anything that starts with 1es-* is provided as is by 1ES and we don't control what is installed in them.

Also, I want to confirm that I shared the correct information. These are the helix queues that we use specifically, where we want this to be available:

That is certainly different from the issue description. I was looking at the build images, not the test images. Do you need this for build, or for tests in helix?

Also, I want to confirm that I shared the correct information. These are the helix queues that we use specifically, where we want this to be available:

That is certainly different from the issue description. I was looking at the build images, not the test images. Do you need this for build, or for tests in helix? (or both?)

Oh my apologies. Yes, the initial ask was on build images because most of our tests were running there. But now we have moved most to helix. So, we need this on the helix images too.

Thanks for the clarification! I can't find us installing node in the windows helix queues, and looks like we only install really old node versions in the ubuntu queue.
So to clarify, the places where node + npm are needed:

Build images:

windows.vs2022preview.amd64[.open]
build.ubuntu.2204.amd64[.open]

Helix test queues:

windows.11.amd64.client[.open]
ubuntu.2204.amd64[.open]

I'm making the following assumptions:

The latest LTS (node 20) would work
You are able to use the build.ubuntu.* ubuntu build images provided by dnceng, as we shouldn't install additional software directly over the 1es-mariner-2 image.

Let me know if either of these assumptions don't hold!

Thanks for the clarification! I can't find us installing node in the windows helix queues, and looks like we only install really old node versions in the ubuntu queue.
So to clarify, the places where node + npm are needed:

Build images:

windows.vs2022preview.amd64[.open]
build.ubuntu.2204.amd64[.open]

Helix test queues:

windows.11.amd64.client[.open]
ubuntu.2204.amd64[.open]

Correct.

I'm making the following assumptions:

The latest LTS (node 20) would work

Yes.

You are able to use the build.ubuntu.* ubuntu build images provided by dnceng, as we shouldn't install additional software directly over the 1es-mariner-2 image.

Yes, I will try to move us to that.
Thank you!

The changes to install node 20 on our queues: https://dev.azure.com/dnceng/internal/_git/dotnet-helix-machines/pullrequest/44198 were deployed yesterday.


[BOT PR] to update dependencies of istio

This PR will be merged automatically once checks are successful.
none

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: istio-testing
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: geeknoid
If they are not already assigned, you can assign the PR to them by writing /assign @geeknoid in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests-cni.sh
95ee9eae6bfffe2d7ce60f29f936aca834db1e86
link
/test e2e-simpleTests-cni

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

@istio-testing: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests-cni.sh
95ee9eae6bfffe2d7ce60f29f936aca834db1e86
link
/test e2e-simpleTests-cni

prow/istio-integ-k8s-tests.sh
95ee9eae6bfffe2d7ce60f29f936aca834db1e86
link
/test istio-integ-k8s-tests

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

@istio-testing: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests-cni.sh
95ee9eae6bfffe2d7ce60f29f936aca834db1e86
link
/test e2e-simpleTests-cni

prow/istio-integ-k8s-tests.sh
95ee9eae6bfffe2d7ce60f29f936aca834db1e86
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
95ee9eae6bfffe2d7ce60f29f936aca834db1e86
link
/test istio_auth_sds_e2e

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

@istio-testing: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests-cni.sh
95ee9eae6bfffe2d7ce60f29f936aca834db1e86
link
/test e2e-simpleTests-cni

prow/istio-integ-k8s-tests.sh
95ee9eae6bfffe2d7ce60f29f936aca834db1e86
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
95ee9eae6bfffe2d7ce60f29f936aca834db1e86
link
/test istio_auth_sds_e2e

prow/istio-pilot-multicluster-e2e.sh
95ee9eae6bfffe2d7ce60f29f936aca834db1e86
link
/test istio-pilot-multicluster-e2e

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


How to remove the webpack related matter in Dazzle

I want to remove the web pack related matter and run as a general react project.what are the changes required if i changed to web pack to without web pack in react.

I am using the create-react-app, so it creates default bundler.I don't want the webpack bundler.could you please tell me what are the changes required if i removed web pack in dazzle.

Yes, I across the same problem. How to use react-dazzle in create-react-app.

Have you tried using this with create-react-app? There should not be any issue with it. What's the error you are encountering? Just install the npm package and require the CSS file.

@AlluManikyam @tripuracherukuri This repository is a library, it's not meant to be used as a seed for your own dashboards.
However, a repository that can used as seed is Dazzle-Starter-Kit by the very same author.
It does use Webpack, but so does create-react-app.
If you still want to use Dazzle with create-react-app, it's perfectly fine and quite straightforward; here's an example: https://github.com/vlaurin/dazzle-bootstrap-seed

Thanks @vlaurin. Closing this for now. Please reopen if required.


Unable to use Finch v2

I keep getting this issue not sure if its because of the setup in another extension of a issue with the library but it has been persistent and I have not been able to figure out the issue.
Uncaught Error: Cannot use GraphQLObjectType "Query" from another module or realm.

Ensure that there is only one instance of "graphql" in the node_modules
directory. If different versions of "graphql" are the dependencies of other
relied on modules, use "resolutions" to ensure only one version is installed.

https://yarnpkg.com/en/docs/selective-version-resolutions

Duplicate "graphql" modules cannot be used at the same time since different
versions may have different capabilities and behavior. The data from one
version used in the function from another could produce confusing and
spurious results.
    at instanceOf (instanceOf.js:29)
    at isObjectType (definition.js:138)
    at mapArguments (index.mjs:3156)
    at mapDefaultValues (index.mjs:3037)
    at Module.mapSchema (index.mjs:2953)
    at createNewSchemaWithResolvers (index.js:325)
    at addResolversToSchema (index.js:218)
    at addMiddlewareToSchema (middleware.mjs:11)
    at normalisedMiddlewares.reduceRight.schema.schema (middleware.mjs:40)
    at Array.reduceRight (<anonymous>)

I have already added resolutions to the package, and also confirmed that I only have one version of graphql installed.

Actually ran into another one with the old version of Finch. Think this may be a break from a newer version of graphql or @graphql-tools/schema.

This one actually is happening with adding multiple middlewares.

Ok cleaned up dependencies in this project, and it's working again with the old version of Finch. So def one of the peer dependencies in this instance.

This was a misconfiguration, not an issue with this library closing this issue.


BUG Report

PyRoxy How To İnstall
I installed it still doesn't work I made a git clone how not to install I made the same mistake again

what error ?

cd MHDDos && pip install git+https://github.com/MHProDev/PyRoxy.git --upgrade

Will work fine after this

@karthik558 @MHProDev
root@cs-1044477098383-default:/home/efemen25/MHDDoS# pip install git+https://github.com/MHProDev/PyRoxy.git --upgrade

Python 2 is deprecated. Upgrade to pip3 as soon as possible.
See https://cloud.google.com/python/docs/python2-sunset
Cloud Shell will soon default to Python 3.
To suppress this warning, create an empty ~/.cloudshell/no-pip2-warning file.
The command will automatically proceed in 5 seconds or on any key.

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting git+https://github.com/MHProDev/PyRoxy.git
Cloning https://github.com/MHProDev/PyRoxy.git to /tmp/pip-req-build-0l9cTU
Running command git clone -q https://github.com/MHProDev/PyRoxy.git /tmp/pip-req-build-0l9cTU
ERROR: Could not find a version that satisfies the requirement maxminddb>=2.2.0 (from PyRoxy==1.0b4) (from versions: 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 1.0.0, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.3.0, 1.4.0, 1.4.1, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 2.0.0)ERROR: No matching distribution found for maxminddb>=2.2.0 (from PyRoxy==1.0b4)

well as the error says, use Python3, soooooooooooooooo
pip3(!!!!!!!!!!!!!!!!!!!!!!!!!!!) install git etc....

thank you my problem is solved @bntr00t  @MHProDev


feature: Html code preview & export

Added a tkinterweb Notebook around the HtmlFrame, and a preview page for the html source code being generated.
export html button to toolbar, and some the functionality to back it.

This is great thanks, i'll get it merged.


utils.py: fix assert range with hour (IDFGH-7300)

hour=23 (23 P.M.) will out of the range(0, 23), which should be range(0, 24).
The ErrorLog:
Traceback (most recent call last):
  File "/DIR/HappyWater/App/repro-fs/.embuild/espressif/esp-idf/master/components/fatfs/wl_fatfsgen.py", line 202, in <module>
    wl_fatfs.wl_generate(args.input_directory)
  File "/DIR/HappyWater/App/repro-fs/.embuild/espressif/esp-idf/master/components/fatfs/wl_fatfsgen.py", line 178, in wl_generate
    self.plain_fatfs.generate(input_directory=input_directory)
  File "/DIR/HappyWater/App/repro-fs/.embuild/espressif/esp-idf/master/components/fatfs/fatfsgen.py", line 185, in generate
    self._generate_partition_from_folder(folder_name, folder_path=path_to_folder, is_dir=True)
  File "/DIR/HappyWater/App/repro-fs/.embuild/espressif/esp-idf/master/components/fatfs/fatfsgen.py", line 178, in _generate_partition_from_folder
    self._generate_partition_from_folder(os.path.join(smaller_path, path), folder_path=folder_path)
  File "/DIR/HappyWater/App/repro-fs/.embuild/espressif/esp-idf/master/components/fatfs/fatfsgen.py", line 164, in _generate_partition_from_folder
    self.create_file(name=file_name,
  File "/DIR/HappyWater/App/repro-fs/.embuild/espressif/esp-idf/master/components/fatfs/fatfsgen.py", line 85, in create_file
    self.root_directory.new_file(name=name,
  File "/DIR/HappyWater/App/repro-fs/.embuild/espressif/esp-idf/master/components/fatfs/fatfsgen_utils/fs_object.py", line 261, in new_file
    free_cluster, free_entry, target_dir = self.allocate_object(name=name,
  File "/DIR/HappyWater/App/repro-fs/.embuild/espressif/esp-idf/master/components/fatfs/fatfsgen_utils/fs_object.py", line 240, in allocate_object
    free_entry.allocate_entry(first_cluster_id=free_cluster.id,
  File "/DIR/HappyWater/App/repro-fs/.embuild/espressif/esp-idf/master/components/fatfs/fatfsgen_utils/entry.py", line 179, in allocate_entry
    time_entry: int = build_time_entry(*time)
  File "/DIR/HappyWater/App/repro-fs/.embuild/espressif/esp-idf/master/components/fatfs/fatfsgen_utils/utils.py", line 230, in build_time_entry
    assert hour in range(0, 23)
AssertionError

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

Thanks for the contribution!

Thanks for the contribution!

sha=0172e97151355ea43abb5762631d8bd0edcceaef

sha=0172e97151355ea43abb5762631d8bd0edcceaef

Thank you @zao111222333, LGTM.


no such package '@jpeg_archive//': Error downloading from ijg.org

I'm getting the following error when trying to build from source:
$ bazel build -c opt --config=cuda //tensorflow/cc:tutorials_example_trainer
ERROR: /home/name/tmp/tensorflow/tensorflow/core/platform/default/build_config/BUILD:36:1: no such package '@jpeg_archive//': Error downloading from http://www.ijg.org/files/jpegsrc.v9a.tar.gz to /home/name/.cache/bazel/_bazel_mddreyer/44409223966f9cb8e480014c7f376bcc/external/jpeg_archive: Error downloading http://www.ijg.org/files/jpegsrc.v9a.tar.gz to /home/name/.cache/bazel/_bazel_mddreyer/44409223966f9cb8e480014c7f376bcc/external/jpeg_archive/jpegsrc.v9a.tar.gz: Server returned HTTP response code: 403 for URL: http://www.ijg.org/files/jpegsrc.v9a.tar.gz and referenced by '//tensorflow/core/platform/default/build_config:platformlib'.
ERROR: Loading failed; build aborted.

Is it possible that this was a transient issue when fetching http://www.ijg.org/files/jpegsrc.v9a.tar.gz? I was able to fetch it using wget on my laptop.
If you fetch that URL using wget, do you also get a 403 error?

I have the same problem.
So I fetch the jpegsrc.v9a.tar.gz manually and move the file to the specified directory.
But I have the error below.
no such package '@gemmlowp//': https://github.com/google/gemmlowp.git: cannot open git-upload-pack and referenced by '//tensorflow/core:kernels'.

Any ideas?

It sounds like network connectivity issues in both cases. Try to run it again and check your internet connection that it is not flaky.
@koki0702 the gemmlowp is yet another dependency. it is essentially doing git clone https://github.com/google/gemmlowp.git in the same ~/.cache/bazel/.../.../external directory. But do not download them manually one by one. There is too many. Just fix the internet connection.

I tried it multiple times but it didn't work. My coworker had the same problem. But downloading jpegsrc.v9a.tar.gz using wget and copying it to /home/name/.cache/bazel/bazel... was OK as a workaround.

This seems more like a bazel issue -- closing for now.  Please re-open if you think we need to fix this differently in our BUILD files!

Feel free to report any Bazel-related issues at https://github.com/bazelbuild/bazel/issues, and we will take a look. Thanks!

I get the error

Your request has reached a system that is acting as a gateway or proxy to fulfill the request made by you.
This system is currently experiencing a temporary error reaching the web site you are requesting.
Your website (if you host with us) is safe and sound. Our engineers are already aware of this issue and should have it fixed in a couple of minutes. Thanks for your patience in the meantime!

It's a bit frustrating that building tensorflow is reliant on an external source which is unreliable.  Perhaps a backup url should be implemented in case the original url is not accessable?

@damienmg, @lberki what do you think about being able to list multiple sources for an external source, instead of just one in bazel?
For example, one thing we could do is host a lot of the source code ourselves on say, Google storage.  Unfortunately, that doesn't work for our clients in China, which is why we don't do that today.  However, if we had multiple sources to choose from, bazel could iterate through them until it finds a successful source.  Worthy of a feature request?
(@jart what do you think?)

Sounds like a reasonable feature request yes.

@vrv @damienmg Does repository_ctx.download throw an exception when a download fails? Because then we could write our own custom repository rule that has failover.
But to be honest, I would rather just mirror the files to a server that works everywhere in the world, including China. I think I figured out how to do this with Google's production environment. So I'm going to be looking into that.

Am I missing something, but I am being sent to http://zlib.net/zlib-1.2.8.tar.gz, but this is 404.

@Goddard I believe I fixed our workspace.bzl file to update those URLs a couple weeks ago. Chances are you're tracking an old branch. Please pull the latest code.


Request HTTPS is very slow on Android.

Every https request cast 2 min...
The code is like
        String serverAddress = "https://auth.timeface.cn/aliyun/sts";
        OkHttpClient httpClient = new OkHttpClient();

        if (serverAddress.contains("https")) {
            ConnectionSpec spec = new ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS)
                    .tlsVersions(TlsVersion.TLS_1_0)
                    .cipherSuites(CipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA)
                    .supportsTlsExtensions(true)
                    .build();

            httpClient.setConnectionSpecs(Collections.singletonList(spec));
            httpClient.setHostnameVerifier(new HostnameVerifier() {
                @Override
                public boolean verify(String hostname, SSLSession session) {
                    return true;
                }
            });
            httpClient.setConnectTimeout(1, TimeUnit.HOURS);
        }

        Request request = new Request.Builder()
                .url(serverAddress)
                .get()
                .build();

        Response response = httpClient.newCall(request).execute();
        String responseStr = response.body().string();

Why?
Something wrong about my usage?

This question is better suited for StackOverflow. We use this tracker for bug reports and feature requests only.


Config to ensure minted token id starts from 1?

Its clear on the ERC721A that it is assumed that token ids start from 0.
Any way to make it start from1 instead?

Copy paste this into your class:
/// @dev See {ERC721A-_startTokenId}.
function _startTokenId() internal view virtual override returns (uint256) {
    return 1;
}


Proper handling of selectors

Right now all &_ are replaced, but whenever we have a selector that have multiple instances of &, we need just one of them, and all the rest could be rather safely replaced with the global id.

I've rethough on how things are done: now we have no need to modify selectors in CSS as we modify all the classes, so it does not matter now what styled-components outputs & with.