crypto/tls: Allow sending unrecognized_name alert from GetCertificate

RFC 6066 says:

If the server understood the ClientHello extension but does not recognize the server name, the server SHOULD take one of two actions: either abort the handshake by sending a fatal-level unrecognized_name(112) alert or continue the handshake.

Currently returning an error from the GetCertificate hook results in a generic internal_error fatal alert. To implement the first action in the RFC, there should be a way to return an unrecognized_name fatal alert to the client when a GetCertificate hook is unable to find a certificate for the server name specified in the ClientHello. I propose the addition of a special error variable to the crypto/tls package that triggers this alert:
// ErrUnrecognizedName sends an unrecognized_name fatal alert to the client
// when returned from a GetCertificate hook function call.
var ErrUnrecognizedName = errors.New("crypto/tls: unrecognized server name")

Seems reasonable. @agl?

I suppose the bigger question is why this matters to you. How did this come up? Do clients & servers implement this in the wild?

They will: https://github.com/mholt/caddy/issues/1303#issuecomment-268023991
With this change, the browser will have a specific kind of error message to display for the user rather than making it look like TLS is broken on the server. Mostly a "nice to have" feature. :)

We could just make a callback error always trigger unrecognized_name.

We could just make a callback error always trigger unrecognized_name.

True, but I can also think of countless other types of problems that could occur in more advanced situations of getting a certificate, even if the name is recognized. For example, Caddy is subject to rate limits and, even if its configuration recognizes the name in the handshake, it may not be able to get a certificate for that hostname. In my opinion, that's different than the server not being configured at all to connect with that name.
The special error value fundamentally says, "I don't even know this identity/name" as opposed to "I know this name, but [something went wrong] and I can't prove it..."

But why expose that difference to a client? The fatal alert values are very rough already and few of them are terribly meaningful. If unrecognized_name could mean to a client "you might have better luck with a different SNI value" then maybe that's of value, although I'm skeptical. You seem to assume that Chrome would display a different error message for this but I consider that unlikely.
Thus I can see that perhaps unrecognized_name is a better alert when this callback fails, but I'm unsure that we should add complexity to let the callback try and control the alert.

You seem to assume that Chrome would display a different error message for this but I consider that unlikely.

@estark37 from the Chrome team suggests in this comment that the correct alert value could be used instead of the existing heuristic that triggers for some mismatched certificates.

(I think Emily was just saying that a fatal alert might be better for users than returning a certificate that's not going to match. But I've asked her to be sure.)

My main feeling is that an alert is better than a certificate error, and I don't feel too strongly about when unrecognized_name is sent vs internal_error. Hypothetically, I could imagine a future in which Chrome treats unrecognized_name specially for certain names. But I wouldn't make any plans based on that, as I haven't really thought it through and it would be pretty low-priority (the existing heuristic only fires for a very small percentage of certificate errors).

I knew about the unrecognized_name alert from a server (which appears to be Apache) configured to deny connections for unrecognized names. The Chrome error I got was the generic SSL protocol error page though, only showing the internal name for the protocol error. I'd prefer to see that alert over an internal_error one though.
In my opinion, if GetCertificates is configured to fetch files and fails at that, internal_error is still the "right" alert, so I'd vote for having just a specific marker error to trigger a unrecognized_name as described in this issue.

While I am strongly in favour of this proposal, I don't think a sentinel error is the right way to go about this.
The GetCertificate callback has three return cases:

(certificate, nil) selects a certificate to use for the handshake,
(nil, error) emits a fatal internal_error alert,
(nil, nil) continues with the existing certificate selection logic using Certificates or NameToCertificate - essentially stating that the callback doesn't have a certificate to match.

The current behaviour is to emit an internal_error alert with tls: no certificates configured if GetCertificate returns (nil, nil) and Certificates is empty. I would propose that in this case, and only in this case, an unrecognized_name alert be sent to the client instead.
This means the current behaviour of "no certificates configured" + internal_error is maintained for people who fail to set either GetCertificate or Certificates, and an unrecognized_name can be signalled by returning (nil, nil) - passing the buck - and leaving Certificates empty.
Not only do I think this is much cleaner than using a sentinel error, it avoids exporting any of the crypto/tls alert code or internal TLS implementation details - and I think that's actually a really strong positive.
It also doesn't require any sort of compatibility guarantee. Obviously a ErrUnrecognizedName error would be bound by the Go1 compatibility guarantee, which seems like an unnecessary negative here in my mind.
I'm happy to take this on and submit a change for review, if others agree about doing it this way. It's a relatively minor change.

@tmthrgd I like that proposal. At least, from the perspective of my use case (Caddy), it should fit nicely since we don't use the Certificates field at all. (We make heavy use of GetCertificate).

GetCertificate is not the only place to process the SNI from the client. Another place is GetConfigForClient where returning (nil, nil) results in using the default configuration.
Context: toying with a dumb proxy server that uses GetConfigForClient instead of plain GetCertificate due to additional side-effects based on the SNI.

We can just make unrecognized_name the alert we send whenever there are no certificates available. That can be reached easily both from GetCertificate and GetConfigForClient by leaving Certificates empty. (Let's not document it for now not to commit to it under the compatibility promise.)
I would accept a CL that implements that. (Once the tree opens.)

I'll implement this while reworking certificate selection in #32426.


Sample test in README seems not to be working

Describe your question
Looks like an interesting library. I wanted to try it out, but the sample test in the README did not work for me:
    @Test
    void sampleOrder() {
        // given
        LabMonkey sut = LabMonkey.labMonkeyBuilder()
                .objectIntrospector(ConstructorPropertiesArbitraryIntrospector.INSTANCE)
                .build();

        // when
        Order actual = sut.giveMeBuilder(Order.class)
                .set("orderNo", "1")
                .set("productName", "Line Sally")
                .minSize("items", 1)
                .sample();

        System.out.println(actual);
       // produces:
       // Order(id=null, orderNo=null, productName=null, quantity=0, price=0, items=null, orderedAt=null)

        // then
        then(actual.getOrderNo()).isEqualTo("1");
        then(actual.getProductName()).isEqualTo("Line Sally");
        then(actual.getItems()).hasSizeGreaterThanOrEqualTo(1);
    }

Dependency:
testImplementation 'com.navercorp.fixturemonkey:fixture-monkey-starter:0.4.10'

@armandino
Oh, sorry. We have not offered enough environment information.
You should add lombok.anyConstructor.addConstructorProperties=true in lombok.config
ConstructorPropertiesArbitraryIntrospector needs @ConstructorProperties for generating an object.

@seongahjo thank you for a quick response. I thought I must be doing something wrong :) It's working as expected now.


Add duplicate columns with different index to improve Pinot partial match performance

What changed?
Add duplicate workflowID/runID/workflowType columns which will be applied text index to improve Pinot prefix partial match performance.

Why?
Currently we applied inverted index for these 3 columns, the partial is kind of slow there. We want to apply text index but the columns can only have one index at a time. So we added 3 duplicate columns and apply text index (in monorepo) to improve the performance.

How did you test it?

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 01905abe-099f-49c8-a5c2-4352a3db223f
Details

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
1913 unchanged lines in 27 files lost coverage.
Overall coverage increased (+0.1%) to 71.579%

Files with Coverage Reduction
New Missed Lines
%

common/task/weighted_round_robin_task_scheduler.go
1
89.05%

service/history/task/transfer_standby_task_executor.go
2
86.64%

common/cache/lru.go
2
93.01%

common/task/fifo_task_scheduler.go
2
87.63%

common/constants.go
2
0.0%

common/persistence/statsComputer.go
3
98.21%

service/history/engine/engineimpl/register_domain_failover_callback.go
3
60.0%

service/history/execution/context.go
4
93.33%

common/persistence/sql/sql_shard_store.go
4
97.16%

service/history/engine/engineimpl/reset_queues.go
4
0.0%

Totals

Change from base Build 0190573d-ff12-4850-94f0-8c77deb099df:
0.1%

Covered Lines:
107168

Relevant Lines:
149719

💛  - Coveralls


WLS on AKS Domain on PV sample: multiple domains supported?

I have a customer who wants to follow the steps in WLS on AKS Domain on PV sample initially for the first domain, and then follow a subset of the steps for a second domain on the same AKS cluster, but with different PV for the second domain.
From the sample:

Use the kubectl command to create the Storage Class and persistent volume claim to the default namespace.

Customer:

Yes, those were the steps. I started at #create-weblogic-domain as I had already run all the steps once for the first domain. Since the steps assume the domain will be domain1, I also copied the ~/azure/weblogic-on-aks/domain1.yaml to 4cdomain.yaml and edited to fix the domain names, giving unique names for the admin and cluster servers, etc.

I had done the quoted storage class steps previously when creating the first domain

I guessed 2 domains in 1 namespace might not be supported but thought I'd ask. I was just trying to save some time on a 2nd app PoC but it won't take much longer to create another namespace, PV, etc

I judge the guidance was not written with this case in mind. This issue asks the assignee to determine the effort to support this case.

https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1549100

Found this in an old document.

I judge the best course of action is to report this as a usability issue. A better error message would have helped.

Closing. See #3133.


Update smithy4s-http4s, ... to 0.17.10

About this PR
📦 Updates

com.disneystreaming.smithy4s:smithy4s-http4s
com.disneystreaming.smithy4s:smithy4s-http4s-swagger
com.disneystreaming.smithy4s:smithy4s-sbt-codegen

from 0.17.0 to 0.17.10
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.disneystreaming.smithy4s" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.disneystreaming.smithy4s" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, version-scheme:early-semver, commit-count:1

Superseded by #52.


"Not found" after clicking on submit button

Hi, so when I click on a button on a website, with no function, javalin connects the browser to "Not found" / 404 page.
My Code in Java to get to the website is the following:
       app.get("/test", ctx -> {             ctx.render("/public/test.html");         });
My HTML website code is the following:
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form method="post">
    <input type="file" name="files" multiple>
    <button>Submit</button>
</form>
</body>
</html>

So after going to "localhost/test" in my web-browser the HTML website loads perfectly but after clicking the button the browser shows the same location as before but a new website with just "Not found" on it. With an error handler (app.error(404)) the error page shows up so it seems like Javalin is having a problem with this button. Note: it happens with every browser!

The form performs a POST request to the backend, and you only have a GET handler registered :)


Adds np as a dev-dependency

Adds np for easy releases.

Don't you wanna add a script for npm as we did in the other GeoStyler repos?

Yes i forgot that and just merged and allready added (and merged) another PR.
I thought this tiny PR wouldn't need a Review. :man_facepalming:


Stereographic map projections don't work

Reported by sirott on 8 Jul 2000 17:02 UTC
The following script:
use coads_climatology
set reg/l=1
set grid sst
go mp_stereographic_north
go mp_aspect
shade sst,x_page,y_page
creates a plot that is improperly scaled. See attached GIF.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/92

Comment by<EMAIL_ADDRESS>on 17 Jul 2000 16:53 UTC
The latitude region must be specified for the polar stereographic projection to
work.

Comment by<EMAIL_ADDRESS>on 21 Oct 2003 20:15 UTC
Moving from the<EMAIL_ADDRESS>user to the<EMAIL_ADDRESS>user.

Attachment from<EMAIL_ADDRESS>on 8 Jul 2000 17:03 UTC
Bad polar sterographic plot
REPLACE THIS TEXT WITH UPLOADED FILE ./attachments/TRAC_92_GIT_31/bad.gif

Attachment from<EMAIL_ADDRESS>on 8 Jul 2000 17:18 UTC
Bad orthographic plot
REPLACE THIS TEXT WITH UPLOADED FILE ./attachments/TRAC_92_GIT_31/bad_ortho.gif


Define metadata/descriptions for dendrograms.

Should include specification of versioning.

I'm not sure I completely recall what this ask is, so please reply if I missed the mark.  Below is a short definition of each piece of meta-data in the dendrogram json file.  These are all part of the Allen Institute Common Cell type Nomenclature (CCN), which has this repo: https://github.com/AllenInstitute/nomenclature and a nearly-complete update to this arXiv paper (https://arxiv.org/abs/2006.05406).
Taxonomy variables
taxonomy_id is the name of the taxonomy in the format: , where:

CCN stands for "Common Cell type Nomenclature"
YYYYMMDD represents an 8 digit date format (Y=year, M=month, D=day)
T is a 1-digit taxonomy counter, which allows up to 10 taxonomies on the same date

If more than 10 taxonomies are being generated on a single date, it is reasonable to increment or decrement the data by a day to ensure uniqueness of taxonomies.  More generally, to keep taxonomy IDs unique, please select a taxonomy_id NOT IN THIS TABLE, and add your taxonomy_ID to the table as needed.  Strategies for better tracking of taxonomy IDs are currently under consideration , including a Cell Type Taxonomony Service currently in development for Allen Institute taxonomies, additional databasing options for the Brain Initiative - Cell Census Network (BICCN), a Cell Annotation Platform (CAP) under development as part of the Human Cell Atlas, and likely other options.  One future goal will be to centralize these tracking services and replace the above table.
taxonomy_author is the name of a point person for this taxonomy (e.g., someone who is responsible for it's content).  This could either be the person who built the taxonomy, the person who uploaded the data, or the first or corresponding author on a relevant manuscript.  By default this person is the same for all cell_sets; however, there is opportunity to manually add additional aliases (and associated assignees and citations that may be different from the taxonomy_author) below.
taxonomy_citation is a the citation or permanent data identifier corresponding to the taxonomy (or "" if there is no associated citation).  Ideally the DOI for the publication will be used, or alternatively some other permanent link.
anatomic structure.  This represents the location in the brain (or body) from where the data in the taxonomy was collected.  Ideally this will be linked to a standard ontology via the ontology_tag`.  In this case, we choose "middle temporal gyrus" from "UBERON" since UBERON is specifically designed to be a species-agnostic ontology and we are interested in building cross-species brain references.  It is worth noting that these structures can be defined separately for each cell set at a later step, but in the initial set-up only a single structure can be input for the entire taxonomy.
Cell set variables

cell_set_accession^: The unique identifier (cell set accession id) assigned for each cell set of the format _<#>, where CS stands for cell set,  matches the taxonomy_id (see above), and the # is a unique number starting from 1 for each cell set.
original_label: The original cell type label in the dendrogram.  This is used for QC only but is not part of the CCN.
cell_set_label: A label of the format <first_label> <#>.  If only a single first_label was input above, these numbers will match the <#> from cell_set_accession.  This used to be part of the CCN and is now deprecated, but critical but useful for coding purposes.
cell_set_preferred_alias^: This is the label that will be shown in the dendrogram and should represent what you would want the cell set to be called in a manuscript or product.  If the CCN is applied to a published work, this tag would precisely match what is included in the paper.
cell_set_aligned_alias^: This is a special tag designed to match cell types across different taxonomies.  We discuss this tag in great detail in our manuscript, and will be discussed briefly below.  As output from build_nomenclature_table, this will be blank for all cell sets.
cell_set_additional_aliases^: Any additional aliases desired for a given cell set, separated by a "|".  For example, this allows inclusion of multiple historical names.  As output from build_nomenclature_table, this will be blank for all cell sets.
cell_set_structure^: The structure, as described above.  Can be modified for specific cell sets below.  Multiple cell_set_structures can be given separated by a "|".
cell_set_ontology_tag^: The ontology_tag, as described above.  Can be modified for specific cell sets below.  Multiple cell_set_ontology_tags can be given separated by a "|", and must match cell_set_structure above.
cell_set_alias_assignee: By default the taxonomy_author, as described above. In this case, if aliases are assigned by different people, additional assignees can be added by separating using a "|".  The format is [preferred_alias_assignee]|[aligned_alias_assignee]|[additional_alias_assignee(s)].  If aliases are added without adding additional assignees it is assumed that the assignee is the same for all aliases.
cell_set_alias_citation: By default the taxonomy_citation, as described above (or can be left blank). In this case, if preferred (or other) aliases are assigned based on a different citation, additional citations can be added by separating using a "|", with the same rules as described by cell_set_alias_assignee.  Ideally the DOI for the publication will be used (or another permanent link).
taxonomy_id^: The taxonomy_id, as described above.  This should not be changed.

Hi Jeremy.  This is great.  I'll move it into documentation on the repo.  One quick question: is it possible to determine the species from the dendrogram?  If not, we will need a way to record this separately
Cheers,
David

Added doc here: https://github.com/obophenotype/brain_data_standards_ontologies/blob/master/doc/dendrogram_spec.md

Is there any other metadata about how the dendrograms were created that we could add?  Is it too early to talk about links to exemplar data?

I think this is a good topic for discussion at one of the upcoming meetings. The dendrograms are definitely made using some computational strategy that can be defined, but I'm not sure what precisely, or what of it would go into an ontology. Regarding data, we not only have exemplar data, but we have all the data and it is worth discussing what to hook in and how.
Get Outlook for Androidhttps://aka.ms/ghei36

From: David Osumi-Sutherland<EMAIL_ADDRESS>Sent: Sunday, November 15, 2020 7:28:26 AM
To: obophenotype/brain_data_standards_ontologies<EMAIL_ADDRESS>Cc: Jeremy Miller<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: Re: [obophenotype/brain_data_standards_ontologies] Define metadata/descriptions for dendrograms. (#6)
Is there any other metadata about how the dendrograms were created that we could add? Is it too early to talk about links to exemplar data?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fobophenotype%2Fbrain_data_standards_ontologies%2Fissues%2F6%23issuecomment-727587835&data=04|01||af67e8c716a64aa8d12508d8897b1966|32669cd6737f4b398bddd6951120d3fc|0|0|637410509100440911|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=80nlt2fou5gt98lg93eqET%2Bnaub%2FAaoaJu2E8OAYhZQ%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGCOKV4FLD4AOCERE55QMK3SP7XRVANCNFSM4SM6UYSA&data=04|01||af67e8c716a64aa8d12508d8897b1966|32669cd6737f4b398bddd6951120d3fc|0|0|637410509100450907|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=xaMfkkkKL7CeHMt7jC6ycbnv93%2FLvRgpxW6xJp3L%2BjU%3D&reserved=0.


When will you publish the code?

Hello! Thank you for your excellent work! When will you publish the code?

Hello @akzeycgdn265
Thank you for your attention.
For now, we are updating our codes since there are some changes.
So maybe we can release our code after the work is done.

Hi @akzeycgdn265
I want to let you know that we have uploaded our codes.
We will update our codes for other benchmarks later.
Thank you.


I need legit settings

Anyone willing to send me a legit config
It has to be legit so send it to
Saitama#7564
Or make a download here
And what is the Folder for Osiris configs?

documents/osiris

Can you share a legir config with me?

I can

I need a good config too. download here, it will be useful for everyone

Here are two Legit Configs check them out
Legit Triggerbot
https://anonfile.com/d077x836na/visiblechams
-Aimbot Off
-Triggerbot On, Scoped Only,250ms Shot delay
-Backtrack On 200ms
-Glow On weapon Glow
-Visuals PostProcessing, no visual recoil, no blur, FOV 31
-SkinChanger some Skins
-ESP On
-Misc Sniper Crosshair, Auto Accept, Spectator List, Fast Plant, Bombtimer, Bunnehopp OFF
Visible Chams
https://anonfile.com/d077x836na/visiblechams
-Aimbot Off
-Triggerbot Off
-Backtrack On 200ms
-Glow On Weapon Glow
-Visuals PostProcessing, no visual recoil, no blur, Wireframe Smoke, FOV 31, Flash reduction 40%
-SkinChanger some Skins
-ESP Off
-Misc Sniper Crosshair, Auto Accept, Spectator List, Fast Plant, Bombtimer, Bunnyhop ON

Okk thanks imma just add the aimbot and test them out

Okk thanks imma just add the aimbot and test them out

Its good to only use triggerbot because if you use aimbot + rcs you might get your account permanently untrusted
Trust me I got my account permanently untrusted two times.
If you use it dont rage okay, hide it  ;)

Lmao i use legit aimbot settings //2 fov and 15 smooth full rcs
Never been vaced
On Mon, Aug 19, 2019, 8:15 AM Grazyyt<EMAIL_ADDRESS>wrote:

Okk thanks imma just add the aimbot and test them out
Its good to only use triggerbot because if you use aimbot + rcs you might
get your account permanently untrusted
Trust me I got my account permanently untrusted two times.
If you use it dont rage okay, hide it ;)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/danielkrupinski/Osiris/issues/459?email_source=notifications&email_token=AM5EB3GQ7DWRSTBPS5XUUFLQFIT6LA5CNFSM4IMTVVDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4RW2UI#issuecomment-522415441,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AM5EB3BAXOUGRIDFARO73TDQFIT6LANCNFSM4IMTVVDA
.

Never been untrusted

Okk thanks imma just add the aimbot and test them out

Its good to only use triggerbot because if you use aimbot + rcs you might get your account permanently untrusted
Trust me I got my account permanently untrusted two times.
If you use it dont rage okay, hide it ;)

?? i use RCS full and 1.76FOV with 12smooth never been called out nor untrusted..

?

Lmao

My aimbot settings
Ak47: 3 fov 10 smooth
M4A4: 3 fov 15 smooth
Pistol (all exept deagle) : 1.2 fov 6 smooth
Deagle: 0.9 fov 1 smooth
Awp: 1 fov 1 smooth
Scout: 0.7 fov 1 smooth

My aimbot settings
Ak47: 3 fov 10 smooth
M4A4: 3 fov 15 smooth
Pistol (all exept deagle) : 1.2 fov 6 smooth
Deagle: 0.9 fov 1 smooth
Awp: 1 fov 1 smooth
Scout: 0.7 fov 1 smooth

Are these Safe ?

Yessss

Set hitbox to nearest for all of them

These are the settings

Very good config for legit hacking use it properly

Heya i just woke uo

Imma hop on my pc

https://anonfile.com/p9w7283an5/Legit

Good stuff


Error encountered during installation

I followed the instructions and tried to install and run mediapipe in Ubuntu. The previous work was very smooth. But there was an error when I finally ran Hello world.
bazel run --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hello_world:hello_world

Error report:
viosin@Viosin-Laptop:~/mediapipe$ bazel run --define MEDIAPIPE_DISABLE_GPU=1     mediapipe/examples/desktop/hello_world:hello_world
INFO: Call stack for the definition of repository 'org_tensorflow' which is a http_archive (rule definition at /home/viosin/.cache/bazel/_bazel_viosin/7d642f36f799200596607c092b81016f/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
 - /home/viosin/mediapipe/WORKSPACE:124:1
WARNING: Download from https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/77e9ffb9b2bfb1a4f7056e62d84039626923e328.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
WARNING: Download from https://github.com/tensorflow/tensorflow/archive/77e9ffb9b2bfb1a4f7056e62d84039626923e328.tar.gz failed: class java.io.IOException Tried to reconnect at offset 9,944,151 but server didn't support it
ERROR: An error occurred during the fetch of repository 'org_tensorflow':
   java.io.IOException: Error downloading [https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/77e9ffb9b2bfb1a4f7056e62d84039626923e328.tar.gz, https://github.com/tensorflow/tensorflow/archive/77e9ffb9b2bfb1a4f7056e62d84039626923e328.tar.gz] to /home/viosin/.cache/bazel/_bazel_viosin/7d642f36f799200596607c092b81016f/external/org_tensorflow/77e9ffb9b2bfb1a4f7056e62d84039626923e328.tar.gz: Tried to reconnect at offset 9,944,151 but server didn't support it
ERROR: no such package '@org_tensorflow//tensorflow': java.io.IOException: Error downloading [https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/77e9ffb9b2bfb1a4f7056e62d84039626923e328.tar.gz, https://github.com/tensorflow/tensorflow/archive/77e9ffb9b2bfb1a4f7056e62d84039626923e328.tar.gz] to /home/viosin/.cache/bazel/_bazel_viosin/7d642f36f799200596607c092b81016f/external/org_tensorflow/77e9ffb9b2bfb1a4f7056e62d84039626923e328.tar.gz: Tried to reconnect at offset 9,944,151 but server didn't support it
ERROR: no such package '@org_tensorflow//tensorflow': java.io.IOException: Error downloading [https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/77e9ffb9b2bfb1a4f7056e62d84039626923e328.tar.gz, https://github.com/tensorflow/tensorflow/archive/77e9ffb9b2bfb1a4f7056e62d84039626923e328.tar.gz] to /home/viosin/.cache/bazel/_bazel_viosin/7d642f36f799200596607c092b81016f/external/org_tensorflow/77e9ffb9b2bfb1a4f7056e62d84039626923e328.tar.gz: Tried to reconnect at offset 9,944,151 but server didn't support it
INFO: Elapsed time: 523.767s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)

I think this may be caused by the failure of downloading some files, so I tried to access one of the links, and the address couldn't be accessed as expected. At first, I thought it might be my own network reason, but I still couldn't access it after opening the agent. So I reported the issue.

Can you do bazel clean --expunge and retry the build command?
The downloading is taken care by the build tool Bazel and I feel sorry that MediaPipe doesn't have any control on it. Moreover, VPN is preferred if you are in mainland China. See https://github.com/google/mediapipe/issues/3 for more detail.

Can you do bazel clean --expunge and retry the build command?
The downloading is taken care by the build tool Bazel and I feel sorry that MediaPipe doesn't have any control on it. Moreover, VPN is preferred if you are in mainland China. See #3 for more detail.

Well, I tried your method, but it didn't work.
But I do suspect that this may be a network error, so I tried all kinds of ways to set up the proxy, and the result was useless.
Finally, I suddenly remembered that bazel's download program seemed to be run by Java, and the Java virtual machine does not use any agents by default.
Unless... I set the JVM parameters manually. After checking the help documents of bazel, I found that the JVM parameters can be set through ` -- host_jvm_args'.
So I finally ran mediapipe successfully with such a string of code.
bazel --host_jvm_args "-DsocksProxyHost=<IP_ADDRESS> -DsocksProxyPort=1080" run --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hello_world:hello_world

Maybe this issue can help other Chinese developers.
Thank you for your help.
Oh, by the way, my English is not very good. So this text is generated by translation software. If you are offended, please forgive me.

Thanks for posting your solution! It will definitely benefit the other developers!

Can you do bazel clean --expunge and retry the build command?
The downloading is taken care by the build tool Bazel and I feel sorry that MediaPipe doesn't have any control on it. Moreover, VPN is preferred if you are in mainland China. See #3 for more detail.

Well, I tried your method, but it didn't work.
But I do suspect that this may be a network error, so I tried all kinds of ways to set up the proxy, and the result was useless.
Finally, I suddenly remembered that bazel's download program seemed to be run by Java, and the Java virtual machine does not use any agents by default.
Unless... I set the JVM parameters manually. After checking the help documents of bazel, I found that the JVM parameters can be set through ` -- host_jvm_args'.
So I finally ran mediapipe successfully with such a string of code.
bazel --host_jvm_args "-DsocksProxyHost=<IP_ADDRESS> -DsocksProxyPort=1080" run --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hello_world:hello_world

Maybe this issue can help other Chinese developers.
Thank you for your help.
Oh, by the way, my English is not very good. So this text is generated by translation software. If you are offended, please forgive me.

I tried the code you mentioned with the --host_jvm_args settings, but it still doesn't work. Error still occured about fetching repository 'org_tensorflow'
Did you just run the code and it works? Is there anything else I should do before running the code?

Can you do bazel clean --expunge and retry the build command?
The downloading is taken care by the build tool Bazel and I feel sorry that MediaPipe doesn't have any control on it. Moreover, VPN is preferred if you are in mainland China. See #3 for more detail.

Well, I tried your method, but it didn't work.
But I do suspect that this may be a network error, so I tried all kinds of ways to set up the proxy, and the result was useless.
Finally, I suddenly remembered that bazel's download program seemed to be run by Java, and the Java virtual machine does not use any agents by default.
Unless... I set the JVM parameters manually. After checking the help documents of bazel, I found that the JVM parameters can be set through ` -- host_jvm_args'.
So I finally ran mediapipe successfully with such a string of code.
bazel --host_jvm_args "-DsocksProxyHost=<IP_ADDRESS> -DsocksProxyPort=1080" run --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hello_world:hello_world

Maybe this issue can help other Chinese developers.
Thank you for your help.
Oh, by the way, my English is not very good. So this text is generated by translation software. If you are offended, please forgive me.

I tried the code you mentioned with the --host_jvm_args settings, but it still doesn't work. Error still occured about fetching repository 'org_tensorflow'
Did you just run the code and it works? Is there anything else I should do before running the code?

Hello, I'm glad to be able to help you.
Before using these JVM parameters, you need to set up a sock5 proxy server.
First, I set up a proxy server using v2ray locally, then I can use AAA.
Of course, you don't need v2ray to set up a proxy server. You can also use other software.

Can you do bazel clean --expunge and retry the build command?
The downloading is taken care by the build tool Bazel and I feel sorry that MediaPipe doesn't have any control on it. Moreover, VPN is preferred if you are in mainland China. See #3 for more detail.

Well, I tried your method, but it didn't work.
But I do suspect that this may be a network error, so I tried all kinds of ways to set up the proxy, and the result was useless.
Finally, I suddenly remembered that bazel's download program seemed to be run by Java, and the Java virtual machine does not use any agents by default.
Unless... I set the JVM parameters manually. After checking the help documents of bazel, I found that the JVM parameters can be set through ` -- host_jvm_args'.
So I finally ran mediapipe successfully with such a string of code.
bazel --host_jvm_args "-DsocksProxyHost=<IP_ADDRESS> -DsocksProxyPort=1080" run --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hello_world:hello_world

Maybe this issue can help other Chinese developers.
Thank you for your help.
Oh, by the way, my English is not very good. So this text is generated by translation software. If you are offended, please forgive me.

I tried the code you mentioned with the --host_jvm_args settings, but it still doesn't work. Error still occured about fetching repository 'org_tensorflow'
Did you just run the code and it works? Is there anything else I should do before running the code?

Hello, I'm glad to be able to help you.
Before using these JVM parameters, you need to set up a sock5 proxy server.
First, I set up a proxy server using v2ray locally, then I can use --host_jvm_args "-DsocksProxyHost=<IP_ADDRESS> -DsocksProxyPort=1080".
Of course, you don't need v2ray to set up a proxy server. You can also use other software.

Thanks for your timely response! I do have no proxy, no wonder it doesn't work.
I'll try to set up a proxy and then try it again.
old iron 666

in macos 10.15.6, mediapipe commit-id: a7225b938a5aff536dcdc4d48d7125964480f413
must use two --host_jvm_args like this:
bazel --host_jvm_args '-DsocksProxyHost=<IP_ADDRESS>' --host_jvm_args '-DsocksProxyPort=1080' <cmd>
will take proxy effect.
combine in one --host_jvm_args will throw exception:
Can't connect to SOCKS proxy:<IP_ADDRESS> -DsocksProxyPort=1080
hope this can help someone face same issue.

Can you do bazel clean --expunge and retry the build command?
The downloading is taken care by the build tool Bazel and I feel sorry that MediaPipe doesn't have any control on it. Moreover, VPN is preferred if you are in mainland China. See #3 for more detail.

Well, I tried your method, but it didn't work.
But I do suspect that this may be a network error, so I tried all kinds of ways to set up the proxy, and the result was useless.
Finally, I suddenly remembered that bazel's download program seemed to be run by Java, and the Java virtual machine does not use any agents by default.
Unless... I set the JVM parameters manually. After checking the help documents of bazel, I found that the JVM parameters can be set through ` -- host_jvm_args'.
So I finally ran mediapipe successfully with such a string of code.
bazel --host_jvm_args "-DsocksProxyHost=<IP_ADDRESS> -DsocksProxyPort=1080" run --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hello_world:hello_world

Maybe this issue can help other Chinese developers.
Thank you for your help.
Oh, by the way, my English is not very good. So this text is generated by translation software. If you are offended, please forgive me.

I tried the code you mentioned with the --host_jvm_args settings, but it still doesn't work. Error still occured about fetching repository 'org_tensorflow'
Did you just run the code and it works? Is there anything else I should do before running the code?

Hello, I'm glad to be able to help you.
Before using these JVM parameters, you need to set up a sock5 proxy server.
First, I set up a proxy server using v2ray locally, then I can use --host_jvm_args "-DsocksProxyHost=<IP_ADDRESS> -DsocksProxyPort=1080".
Of course, you don't need v2ray to set up a proxy server. You can also use other software.

Hi, could u share your v2ray server information to me? thanks

Can you do bazel clean --expunge and retry the build command?
The downloading is taken care by the build tool Bazel and I feel sorry that MediaPipe doesn't have any control on it. Moreover, VPN is preferred if you are in mainland China. See #3 for more detail.

Well, I tried your method, but it didn't work.
But I do suspect that this may be a network error, so I tried all kinds of ways to set up the proxy, and the result was useless.
Finally, I suddenly remembered that bazel's download program seemed to be run by Java, and the Java virtual machine does not use any agents by default.
Unless... I set the JVM parameters manually. After checking the help documents of bazel, I found that the JVM parameters can be set through ` -- host_jvm_args'.
So I finally ran mediapipe successfully with such a string of code.
bazel --host_jvm_args "-DsocksProxyHost=<IP_ADDRESS> -DsocksProxyPort=1080" run --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hello_world:hello_world

Maybe this issue can help other Chinese developers.
Thank you for your help.
Oh, by the way, my English is not very good. So this text is generated by translation software. If you are offended, please forgive me.

I tried the code you mentioned with the --host_jvm_args settings, but it still doesn't work. Error still occured about fetching repository 'org_tensorflow'
Did you just run the code and it works? Is there anything else I should do before running the code?

Hello, I'm glad to be able to help you.
Before using these JVM parameters, you need to set up a sock5 proxy server.
First, I set up a proxy server using v2ray locally, then I can use --host_jvm_args "-DsocksProxyHost=<IP_ADDRESS> -DsocksProxyPort=1080".
Of course, you don't need v2ray to set up a proxy server. You can also use other software.

Hi, could u share your v2ray server information to me? thanks

Can you do bazel clean --expunge and retry the build command?
The downloading is taken care by the build tool Bazel and I feel sorry that MediaPipe doesn't have any control on it. Moreover, VPN is preferred if you are in mainland China. See #3 for more detail.

Well, I tried your method, but it didn't work.
But I do suspect that this may be a network error, so I tried all kinds of ways to set up the proxy, and the result was useless.
Finally, I suddenly remembered that bazel's download program seemed to be run by Java, and the Java virtual machine does not use any agents by default.
Unless... I set the JVM parameters manually. After checking the help documents of bazel, I found that the JVM parameters can be set through ` -- host_jvm_args'.
So I finally ran mediapipe successfully with such a string of code.
bazel --host_jvm_args "-DsocksProxyHost=<IP_ADDRESS> -DsocksProxyPort=1080" run --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hello_world:hello_world

Maybe this issue can help other Chinese developers.
Thank you for your help.
Oh, by the way, my English is not very good. So this text is generated by translation software. If you are offended, please forgive me.

I tried the code you mentioned with the --host_jvm_args settings, but it still doesn't work. Error still occured about fetching repository 'org_tensorflow'
Did you just run the code and it works? Is there anything else I should do before running the code?

Hello, I'm glad to be able to help you.
Before using these JVM parameters, you need to set up a sock5 proxy server.
First, I set up a proxy server using v2ray locally, then I can use --host_jvm_args "-DsocksProxyHost=<IP_ADDRESS> -DsocksProxyPort=1080".
Of course, you don't need v2ray to set up a proxy server. You can also use other software.

Hi, could u share your v2ray server information to me? thanks

I'm afraid not.
You should also know that it is illegal in China.
So, although I'd like to help you, it can't. Otherwise, I might suffer a disaster.
But I can give you some tutorials. If you follow this document, it may only take a few hours (and a little money to buy the server) to have your own private server.
https://tlanyan.me/v2ray-tutorial/

Can you do bazel clean --expunge and retry the build command?
The downloading is taken care by the build tool Bazel and I feel sorry that MediaPipe doesn't have any control on it. Moreover, VPN is preferred if you are in mainland China. See #3 for more detail.

Well, I tried your method, but it didn't work.
But I do suspect that this may be a network error, so I tried all kinds of ways to set up the proxy, and the result was useless.
Finally, I suddenly remembered that bazel's download program seemed to be run by Java, and the Java virtual machine does not use any agents by default.
Unless... I set the JVM parameters manually. After checking the help documents of bazel, I found that the JVM parameters can be set through ` -- host_jvm_args'.
So I finally ran mediapipe successfully with such a string of code.
bazel --host_jvm_args "-DsocksProxyHost=<IP_ADDRESS> -DsocksProxyPort=1080" run --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hello_world:hello_world

Maybe this issue can help other Chinese developers.
Thank you for your help.
Oh, by the way, my English is not very good. So this text is generated by translation software. If you are offended, please forgive me.

I tried the code you mentioned with the --host_jvm_args settings, but it still doesn't work. Error still occured about fetching repository 'org_tensorflow'
Did you just run the code and it works? Is there anything else I should do before running the code?

Hello, I'm glad to be able to help you.
Before using these JVM parameters, you need to set up a sock5 proxy server.
First, I set up a proxy server using v2ray locally, then I can use --host_jvm_args "-DsocksProxyHost=<IP_ADDRESS> -DsocksProxyPort=1080".
Of course, you don't need v2ray to set up a proxy server. You can also use other software.

Hi, could u share your v2ray server information to me? thanks

I'm afraid not.
You should also know that it is illegal in China.
So, although I'd like to help you, it can't. Otherwise, I might suffer a disaster.
But I can give you some tutorials. If you follow this document, it may only take a few hours (and a little money to buy the server) to have your own private server.
https://tlanyan.me/v2ray-tutorial/

Can you do bazel clean --expunge and retry the build command?
The downloading is taken care by the build tool Bazel and I feel sorry that MediaPipe doesn't have any control on it. Moreover, VPN is preferred if you are in mainland China. See #3 for more detail.

Well, I tried your method, but it didn't work.
But I do suspect that this may be a network error, so I tried all kinds of ways to set up the proxy, and the result was useless.
Finally, I suddenly remembered that bazel's download program seemed to be run by Java, and the Java virtual machine does not use any agents by default.
Unless... I set the JVM parameters manually. After checking the help documents of bazel, I found that the JVM parameters can be set through ` -- host_jvm_args'.
So I finally ran mediapipe successfully with such a string of code.
bazel --host_jvm_args "-DsocksProxyHost=<IP_ADDRESS> -DsocksProxyPort=1080" run --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hello_world:hello_world

Maybe this issue can help other Chinese developers.
Thank you for your help.
Oh, by the way, my English is not very good. So this text is generated by translation software. If you are offended, please forgive me.

I tried the code you mentioned with the --host_jvm_args settings, but it still doesn't work. Error still occured about fetching repository 'org_tensorflow'
Did you just run the code and it works? Is there anything else I should do before running the code?

Hello, I'm glad to be able to help you.
Before using these JVM parameters, you need to set up a sock5 proxy server.
First, I set up a proxy server using v2ray locally, then I can use --host_jvm_args "-DsocksProxyHost=<IP_ADDRESS> -DsocksProxyPort=1080".
Of course, you don't need v2ray to set up a proxy server. You can also use other software.

Hi, could u share your v2ray server information to me? thanks

I'm afraid not.
You should also know that it is illegal in China.
So, although I'd like to help you, it can't. Otherwise, I might suffer a disaster.
But I can give you some tutorials. If you follow this document, it may only take a few hours (and a little money to buy the server) to have your own private server.
https://tlanyan.me/v2ray-tutorial/

thanks u very much, I'll try to set up a proxy and then try it again. May I ask you another question?  I built the Docker environment of mediapipe, and when i run the commond:
bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/autoflip:run_autoflip
i got a error: no such package '@org_tensorflow//tensorflow': java.io.IOException: Error downloading [https://github.com/tensorflow/tensorflow/archive/0eadbb13cef1226b1bae17c941f7870734d97f8a.tar.gz] to /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/0eadbb13cef1226b1bae17c941f7870734d97f8a.tar.gz: Tried to reconnect at offset 12,948,552 but server didn't support it
So I manually downloaded this file（0eadbb13cef1226b1bae17c941f7870734d97f8a.tar.gz） and copied it to this directory "/root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/", When I re-execute the command above，The file（0eadbb13cef1226b1bae17c941f7870734d97f8a.tar.gz） will be automatically redownloaded. How can I modify the source code to stop the automatic download? thanks a lot
https://github.com/google/mediapipe/blob/39309bedba255aee2a4f31b29b65609857698ada/WORKSPACE#L368

Can you do bazel clean --expunge and retry the build command?
The downloading is taken care by the build tool Bazel and I feel sorry that MediaPipe doesn't have any control on it. Moreover, VPN is preferred if you are in mainland China. See #3 for more detail.

Well, I tried your method, but it didn't work.
But I do suspect that this may be a network error, so I tried all kinds of ways to set up the proxy, and the result was useless.
Finally, I suddenly remembered that bazel's download program seemed to be run by Java, and the Java virtual machine does not use any agents by default.
Unless... I set the JVM parameters manually. After checking the help documents of bazel, I found that the JVM parameters can be set through ` -- host_jvm_args'.
So I finally ran mediapipe successfully with such a string of code.
bazel --host_jvm_args "-DsocksProxyHost=<IP_ADDRESS> -DsocksProxyPort=1080" run --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hello_world:hello_world

Maybe this issue can help other Chinese developers.
Thank you for your help.
Oh, by the way, my English is not very good. So this text is generated by translation software. If you are offended, please forgive me.

I tried the code you mentioned with the --host_jvm_args settings, but it still doesn't work. Error still occured about fetching repository 'org_tensorflow'
Did you just run the code and it works? Is there anything else I should do before running the code?

Hello, I'm glad to be able to help you.
Before using these JVM parameters, you need to set up a sock5 proxy server.
First, I set up a proxy server using v2ray locally, then I can use --host_jvm_args "-DsocksProxyHost=<IP_ADDRESS> -DsocksProxyPort=1080".
Of course, you don't need v2ray to set up a proxy server. You can also use other software.

Hi, could u share your v2ray server information to me? thanks

I'm afraid not.
You should also know that it is illegal in China.
So, although I'd like to help you, it can't. Otherwise, I might suffer a disaster.
But I can give you some tutorials. If you follow this document, it may only take a few hours (and a little money to buy the server) to have your own private server.
https://tlanyan.me/v2ray-tutorial/

thanks u very much, I'll try to set up a proxy and then try it again. May I ask you another question?  I built the Docker environment of mediapipe, and when i run the commond:
bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/autoflip:run_autoflip
i got a error: no such package '@org_tensorflow//tensorflow': java.io.IOException: Error downloading [https://github.com/tensorflow/tensorflow/archive/0eadbb13cef1226b1bae17c941f7870734d97f8a.tar.gz] to /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/0eadbb13cef1226b1bae17c941f7870734d97f8a.tar.gz: Tried to reconnect at offset 12,948,552 but server didn't support it
So I manually downloaded this file（0eadbb13cef1226b1bae17c941f7870734d97f8a.tar.gz） and copied it to this directory "/root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/", When I re-execute the command above，The file（0eadbb13cef1226b1bae17c941f7870734d97f8a.tar.gz） will be automatically redownloaded. How can I modify the source code to stop the automatic download? thanks a lot
https://github.com/google/mediapipe/blob/39309bedba255aee2a4f31b29b65609857698ada/WORKSPACE#L368

Can you do bazel clean --expunge and retry the build command?
The downloading is taken care by the build tool Bazel and I feel sorry that MediaPipe doesn't have any control on it. Moreover, VPN is preferred if you are in mainland China. See #3 for more detail.

Well, I tried your method, but it didn't work.
But I do suspect that this may be a network error, so I tried all kinds of ways to set up the proxy, and the result was useless.
Finally, I suddenly remembered that bazel's download program seemed to be run by Java, and the Java virtual machine does not use any agents by default.
Unless... I set the JVM parameters manually. After checking the help documents of bazel, I found that the JVM parameters can be set through ` -- host_jvm_args'.
So I finally ran mediapipe successfully with such a string of code.
bazel --host_jvm_args "-DsocksProxyHost=<IP_ADDRESS> -DsocksProxyPort=1080" run --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hello_world:hello_world

Maybe this issue can help other Chinese developers.
Thank you for your help.
Oh, by the way, my English is not very good. So this text is generated by translation software. If you are offended, please forgive me.

I tried the code you mentioned with the --host_jvm_args settings, but it still doesn't work. Error still occured about fetching repository 'org_tensorflow'
Did you just run the code and it works? Is there anything else I should do before running the code?

Hello, I'm glad to be able to help you.
Before using these JVM parameters, you need to set up a sock5 proxy server.
First, I set up a proxy server using v2ray locally, then I can use --host_jvm_args "-DsocksProxyHost=<IP_ADDRESS> -DsocksProxyPort=1080".
Of course, you don't need v2ray to set up a proxy server. You can also use other software.

Hi, could u share your v2ray server information to me? thanks

I'm afraid not.
You should also know that it is illegal in China.
So, although I'd like to help you, it can't. Otherwise, I might suffer a disaster.
But I can give you some tutorials. If you follow this document, it may only take a few hours (and a little money to buy the server) to have your own private server.
https://tlanyan.me/v2ray-tutorial/

thanks u very much, I'll try to set up a proxy and then try it again. May I ask you another question? I built the Docker environment of mediapipe, and when i run the commond:
bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/autoflip:run_autoflip
i got a error: no such package '@org_tensorflow//tensorflow': java.io.IOException: Error downloading [https://github.com/tensorflow/tensorflow/archive/0eadbb13cef1226b1bae17c941f7870734d97f8a.tar.gz] to /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/0eadbb13cef1226b1bae17c941f7870734d97f8a.tar.gz: Tried to reconnect at offset 12,948,552 but server didn't support it
So I manually downloaded this file（0eadbb13cef1226b1bae17c941f7870734d97f8a.tar.gz） and copied it to this directory "/root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/", When I re-execute the command above，The file（0eadbb13cef1226b1bae17c941f7870734d97f8a.tar.gz） will be automatically redownloaded. How can I modify the source code to stop the automatic download? thanks a lot
https://github.com/google/mediapipe/blob/39309bedba255aee2a4f31b29b65609857698ada/WORKSPACE#L368

Unfortunately, I don't know how to do it. But I know some other information. I don't know if it will help you.
Mediapipe is built with bazel, so the code you want should be in the bazel project.

Can you do bazel clean --expunge and retry the build command?
The downloading is taken care by the build tool Bazel and I feel sorry that MediaPipe doesn't have any control on it. Moreover, VPN is preferred if you are in mainland China. See #3 for more detail.

Well, I tried your method, but it didn't work.
But I do suspect that this may be a network error, so I tried all kinds of ways to set up the proxy, and the result was useless.
Finally, I suddenly remembered that bazel's download program seemed to be run by Java, and the Java virtual machine does not use any agents by default.
Unless... I set the JVM parameters manually. After checking the help documents of bazel, I found that the JVM parameters can be set through ` -- host_jvm_args'.
So I finally ran mediapipe successfully with such a string of code.
bazel --host_jvm_args "-DsocksProxyHost=<IP_ADDRESS> -DsocksProxyPort=1080" run --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hello_world:hello_world

Maybe this issue can help other Chinese developers.
Thank you for your help.
Oh, by the way, my English is not very good. So this text is generated by translation software. If you are offended, please forgive me.

I tried the code you mentioned with the --host_jvm_args settings, but it still doesn't work. Error still occured about fetching repository 'org_tensorflow'
Did you just run the code and it works? Is there anything else I should do before running the code?

Hello, I'm glad to be able to help you.
Before using these JVM parameters, you need to set up a sock5 proxy server.
First, I set up a proxy server using v2ray locally, then I can use --host_jvm_args "-DsocksProxyHost=<IP_ADDRESS> -DsocksProxyPort=1080".
Of course, you don't need v2ray to set up a proxy server. You can also use other software.

Hi, could u share your v2ray server information to me? thanks

I'm afraid not.
You should also know that it is illegal in China.
So, although I'd like to help you, it can't. Otherwise, I might suffer a disaster.
But I can give you some tutorials. If you follow this document, it may only take a few hours (and a little money to buy the server) to have your own private server.
https://tlanyan.me/v2ray-tutorial/

thanks u very much, I'll try to set up a proxy and then try it again. May I ask you another question? I built the Docker environment of mediapipe, and when i run the commond:
bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/autoflip:run_autoflip
i got a error: no such package '@org_tensorflow//tensorflow': java.io.IOException: Error downloading [https://github.com/tensorflow/tensorflow/archive/0eadbb13cef1226b1bae17c941f7870734d97f8a.tar.gz] to /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/0eadbb13cef1226b1bae17c941f7870734d97f8a.tar.gz: Tried to reconnect at offset 12,948,552 but server didn't support it
So I manually downloaded this file（0eadbb13cef1226b1bae17c941f7870734d97f8a.tar.gz） and copied it to this directory "/root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/org_tensorflow/", When I re-execute the command above，The file（0eadbb13cef1226b1bae17c941f7870734d97f8a.tar.gz） will be automatically redownloaded. How can I modify the source code to stop the automatic download? thanks a lot
https://github.com/google/mediapipe/blob/39309bedba255aee2a4f31b29b65609857698ada/WORKSPACE#L368

Unfortunately, I don't know how to do it. But I know some other information. I don't know if it will help you.
Mediapipe is built with bazel, so the code you want should be in the bazel project.

Hi, thank u for your help.
I set up a proxy server and can access Google from Windows, but how can I access the extranet from unbounded Ubuntu (the MediaPipe project is on the remote Ubuntu server),I try to run the command:  bazel - host_jvm_args - DsocksProxyHost = proxy server IP  - DsocksProxyPort = "port" the run - define MEDIAPIPE_DISABLE_GPU = 1 mediapipe/examples/desktop/hello_world: hello_world. but i got a error:Can't connect to SOCKS proxy:connect timed out.
I took the liberty of sending you an email with the details. looking forward to your replay.

Hi, thank u for your help.
I set up a proxy server and can access Google from Windows, but how can I access the extranet from unbounded Ubuntu (the MediaPipe project is on the remote Ubuntu server),I try to run the command:  bazel - host_jvm_args - DsocksProxyHost = proxy server IP  - DsocksProxyPort = "port" the run - define MEDIAPIPE_DISABLE_GPU = 1 mediapipe/examples/desktop/hello_world: hello_world. but i got a error:Can't connect to SOCKS proxy:connect timed out.
I took the liberty of sending you an email with the details. looking forward to your replay.

Hi, thank u for your help.
I set up a proxy server and can access Google from Windows, but how can I access the extranet from unbounded Ubuntu (the MediaPipe project is on the remote Ubuntu server),I try to run the command: bazel - host_jvm_args - DsocksProxyHost = proxy server IP - DsocksProxyPort = "port" the run - define MEDIAPIPE_DISABLE_GPU = 1 mediapipe/examples/desktop/hello_world: hello_world. but i got a error:Can't connect to SOCKS proxy:connect timed out.
I took the liberty of sending you an email with the details. looking forward to your replay.

I'm glad I can help you.
You need to do 4 steps:

Use the v2ray client with GUI to establish the connection and ensure the normal proxy.  Recommend for Windows: https://github.com/2dust/v2rayNG
(if you can manually write the v2ray configuration information, you don't have to worry about it.)

Download v2ray from your Ubuntu server and unzip it.https://github.com/v2fly/v2ray-core

Put config.json Copy it to the Ubuntu server and put it in the v2ray directory. (it should be in your GUI client folder directory, about 10KB)

./v2ray ./config.json
(Or running it in the background?)

Then, you can use the proxy!

Hi, thank u for your help.
I set up a proxy server and can access Google from Windows, but how can I access the extranet from unbounded Ubuntu (the MediaPipe project is on the remote Ubuntu server),I try to run the command: bazel - host_jvm_args - DsocksProxyHost = proxy server IP - DsocksProxyPort = "port" the run - define MEDIAPIPE_DISABLE_GPU = 1 mediapipe/examples/desktop/hello_world: hello_world. but i got a error:Can't connect to SOCKS proxy:connect timed out.
I took the liberty of sending you an email with the details. looking forward to your replay.

I'm glad I can help you.
You need to do 4 steps:

Use the v2ray client with GUI to establish the connection and ensure the normal proxy.  Recommend for Windows: https://github.com/2dust/v2rayNG
(if you can manually write the v2ray configuration information, you don't have to worry about it.)

Download v2ray from your Ubuntu server and unzip it.https://github.com/v2fly/v2ray-core

Put config.json Copy it to the Ubuntu server and put it in the v2ray directory. (it should be in your GUI client folder directory, about 10KB)

./v2ray ./config.json
(Or running it in the background?)

Then, you can use the proxy!

Hi, thank u for your help.
I set up a proxy server and can access Google from Windows, but how can I access the extranet from unbounded Ubuntu (the MediaPipe project is on the remote Ubuntu server),I try to run the command: bazel - host_jvm_args - DsocksProxyHost = proxy server IP - DsocksProxyPort = "port" the run - define MEDIAPIPE_DISABLE_GPU = 1 mediapipe/examples/desktop/hello_world: hello_world. but i got a error:Can't connect to SOCKS proxy:connect timed out.
I took the liberty of sending you an email with the details. looking forward to your replay.

I'm glad I can help you.
You need to do 4 steps:

Use the v2ray client with GUI to establish the connection and ensure the normal proxy.  Recommend for Windows: https://github.com/2dust/v2rayNG
(if you can manually write the v2ray configuration information, you don't have to worry about it.)
Download v2ray from your Ubuntu server and unzip it.https://github.com/v2fly/v2ray-core
Put config.json Copy it to the Ubuntu server and put it in the v2ray directory. (it should be in your GUI client folder directory, about 10KB)
./v2ray ./config.json
(Or running it in the background?)

Then, you can use the proxy!

thanks u very much！！I successfully implemented the use of proxies in Ubuntu through the method you mentioned. but i used a Docker image to install  mediapipe, and i also can't use proxies in Docker. So my final approach is to manually download the source file, set up a file sharing server, and change the URLs in the workspace to implement it. Thanks again for your help

Hi, thank u for your help.
I set up a proxy server and can access Google from Windows, but how can I access the extranet from unbounded Ubuntu (the MediaPipe project is on the remote Ubuntu server),I try to run the command: bazel - host_jvm_args - DsocksProxyHost = proxy server IP - DsocksProxyPort = "port" the run - define MEDIAPIPE_DISABLE_GPU = 1 mediapipe/examples/desktop/hello_world: hello_world. but i got a error:Can't connect to SOCKS proxy:connect timed out.
I took the liberty of sending you an email with the details. looking forward to your replay.

I'm glad I can help you.
You need to do 4 steps:

Use the v2ray client with GUI to establish the connection and ensure the normal proxy.  Recommend for Windows: https://github.com/2dust/v2rayNG
(if you can manually write the v2ray configuration information, you don't have to worry about it.)
Download v2ray from your Ubuntu server and unzip it.https://github.com/v2fly/v2ray-core
Put config.json Copy it to the Ubuntu server and put it in the v2ray directory. (it should be in your GUI client folder directory, about 10KB)
./v2ray ./config.json
(Or running it in the background?)

Then, you can use the proxy!

thanks u very much！！I successfully implemented the use of proxies in Ubuntu through the method you mentioned. but i used a Docker image to install  mediapipe, and i also can't use proxies in Docker. So my final approach is to manually download the source file, set up a file sharing server, and change the URLs in the workspace to implement it. Thanks again for your help

if you network blocked by the Great Firewall. you can change your repositories in WORKSPACE file like this.
repositories =
[
"https://maven.aliyun.com/repository/google",
"https://maven.aliyun.com/repository/central",
"https://maven.aliyun.com/repository/public",
],
Good luck.


New package: ChipSort v0.1.0

Registering package: ChipSort
Repository: https://github.com/nlw0/ChipSort.jl
Created by: @nlw0
Version: v0.1.0
Commit: d21f936a57468491a4a4e4d4582348ad750f0a6f
Reviewed by: @nlw0
Reference: https://github.com/nlw0/ChipSort.jl/commit/d21f936a57468491a4a4e4d4582348ad750f0a6f#commitcomment-34040830

Please add (at least)
[compat]
julia = "1"

to your project file and retrigger the bot.


[NEEDS TICKET] Update getServiceAccountToken api URL

api/google/user/petServiceAccount/${googleProject}/token is legacy API. Update getServiceAccountToken URL path to match the Sam Google API swagger.
Sam swagger

@aweng98 note that you do need to create a ticket and include it in the PR title.

Yes, thank you for the reminder.


Update reqwest version

Update to newest version of reqwest to address compiling error on MacOS.

This Python code performs downstream analysis of Kun_peng results and is not closely related to Kun_peng itself, correct?

I can remove it but add kraken2tools there.
Get Outlook for iOShttps://aka.ms/o0ukef

From: dagou @.>
Sent: Wednesday, August 21, 2024 10:28:20 PM
To: eric9n/Kun-peng @.>
Cc: Jianshu_Zhao @.>; Author @.>
Subject: Re: [eric9n/Kun-peng] Update reqwest version (PR #28)
This Python code performs downstream analysis of Kun_peng results and is not closely related to Kun_peng itself, correct?
—
Reply to this email directly, view it on GitHubhttps://github.com/eric9n/Kun-peng/pull/28#issuecomment-2303556095, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJDBZJSANIUDFFXUVXQTTKDZSVEEJAVCNFSM6AAAAABM4KGLKCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBTGU2TMMBZGU.
You are receiving this because you authored the thread.Message ID: @.***>

How about this time?
I have some thoughts on what journal to go for kun_peng and what could be the key highlights compared to kraken2 since a Rust implementation itself with memory improvement is not enough for a good and impactful paper.
Thanks,
Jianshu

Or I can remove the html files, which are so large, but it provides interactive results, which is more helpful to understand the detailed difference between two tools.
Jianshu

Please review and let me know your thoughts.
Thanks,
Jianshu

Thank you. Frankly, I don't think this change adds much value to the codebase.


feat: add dappId to hooks schema

We need an identificator to match hooks from order with dapp that was used to create the hooks.
There is a new dappid field in hook schema, which is an optional hex string with 64 length.

Thank you @alfetopito !
Fixed it


Use custom PMD ruleset / Follow PMD suggestions

#241.

First add 'custom-pmd-rule.xml' to use a custom PMD rules instead of the Gradle PMD plugin default. This was to exclude the UselessParentheses rule which somewhat conflicts with the Google style guide where parentheses are often encouraged.

Add one more redundant null check exclusion in the FindBugs configuration.

The rest are PMD suggestions.

Changes look good.

LGTM


Refactor: deprecated global const variables in favor of configurable functional options

Overview
The codebase is currently littered with default constant global variables acting as configuration variables.
This makes changing configuration values for the Celestia node non-trivial, as it requires code changes and binary re-building.
In this PR, we refactor the global configuration variables logic to use the functional options pattern, which will trivialize the process of configuring a Celestia node.
References
#709
#1063
#912
Impact

[x] the share module
[ ] the nodebuilder module
[x] the das module
[ ] the fraud module
[ ] the header module
[ ] the ipld module
[ ] the params module
[ ] the rpc module

Codecov Report

Merging #1221 (00870af) into main (18860df) will increase coverage by 0.19%.
The diff coverage is 75.64%.

@@            Coverage Diff             @@
##             main    #1221      +/-   ##
==========================================
+ Coverage   55.76%   55.95%   +0.19%
==========================================
  Files         161      160       -1
  Lines        9650     9797     +147
==========================================
+ Hits         5381     5482     +101
- Misses       3740     3781      +41
- Partials      529      534       +5

Impacted Files
Coverage Δ

nodebuilder/share/module.go
74.50% <21.42%> (-20.50%)
:arrow_down:

share/light_availability.go
78.20% <60.86%> (-6.28%)
:arrow_down:

das/daser.go
65.54% <67.56%> (-0.74%)
:arrow_down:

share/full_availability.go
79.16% <76.47%> (-3.19%)
:arrow_down:

nodebuilder/share/config.go
76.92% <83.33%> (+4.19%)
:arrow_up:

das/state.go
95.45% <88.88%> (ø)

das/coordinator.go
92.64% <100.00%> (ø)

nodebuilder/config.go
86.11% <100.00%> (+0.39%)
:arrow_up:

nodebuilder/daser/daser.go
100.00% <100.00%> (ø)

nodebuilder/daser/module.go
94.59% <100.00%> (+5.12%)
:arrow_up:

... and 8 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@derrandz, I thought you wanted to start from DASer 😅 . There is ongoing refactoring in share pkg #1177, and it will be easier to work on share pkg afterward.
Also, you made the Impact todo list of all the pkgs within this PR, but we should go about this with 1pkg:1PR, so I would rebrand this pr to be specifically for the share pkg and leave it until the #1177 is merged. Meanwhile, you can work on other pkgs.
It will be useful to transfer the Impact list on the issue and track progress of each pkg there

@Wondertan Thank you for eyeballing this WIP, and thanks for raising my attention to the on-going refactors (I wasn't aware). I agree with the rebranding suggestion, I will close this PR in favor of PRs of other modules (the 1pkg:1pr)
So far, this PR has only impacted:

share package
das package

Closing in favor of #1224 #1225 as per the conversation above.


View Installed Content Packs

A way to be able to see what Content Packs (and version) you have loaded in Stroom would be a useful enhancement.
That way you can easily check the compatibility matrix at https://github.com/gchq/stroom-content to see if you have the
most up-to-date pack version for your Stroom version.

This is a tricky one.  A content pack is not concept that exists within stroom.  The content packs are in essence no different to an export made from Stroom (and are generally created in that way).  Once imported into stroom they become independent bits of content and are not a single atomic thing.  Each piece of content from a pack can also be changed once imported into stroom.
I think in some places we add date/commit information to the entity description (though that may only be for visualisations).  We could introduce some meta to each content pack and then have Stroom track what has been imported but given that packs can be changed/deleted in part/whole, I am not sure if this would add much value.  I think what you are after would only work if content packs were an immutable atomic thing, but then you would need some way to break open a pack if you wanted to customise it, at which point it would cease to become a pack.
In Summary managing the import/sharing of different versions of content (all with various versioned dependencies) is a very tricky nut to crack.

Relates to gchq/stroom-content#11


security/acme-client: leaves behind unneeded directories

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[ ] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
A clear and concise description of what the bug is, including last known working version (if any).
--> Issue is the acme plugin once removed doesn't quite remove fully. I reported it via the WebUI not sure the WebUI makes it way to you guys.
Tip: to validate your setup was working with the previous version, use opnsense-revert (https://docs.opnsense.org/manual/opnsense_tools.html#opnsense-revert)
--> yes was working before could remove no issues.
To Reproduce
--> install make certs etc for acme then delete them and remove the plugin and group and user as recommended and then reinstall again and uninstall it and thats when it causes it to bug out. I did forgot to clear up some acme tho. Like old account etc.
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
--> clear install with no logs left over
Describe alternatives you considered
A clear and concise description of any alternative solutions or workaround you considered.
--> not sure I'm just the end user.
Screenshots
If applicable, add screenshots to help explain your problem.
Relevant log files
If applicable, information from log files supporting your claim.
Additional context
Add any other context about the problem here.
Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 21.7.3-amd64
Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz (4 cores)
Network Intel® Dual Port Ethernet

You haven't stated exactly which "unneeded directories" are not removed. Besides that I do not understand why this would be an issue for someone. :)
However, this behaviour is intentional. All configuration is preserved when removing the plugin so that it is possible to reinstall the plugin without loosing any data.


chore: add project name to package.json

#4 has a commit that's inside this PR; namely, the only commit that's in here.
If anyone happens to aprove #4 PR; please, close this too.


split creator 74

Introducing a new split-screen layout enhancement in PR 74, aimed at improving user engagement and visual appeal. This update features a dynamic, responsive design that seamlessly integrates with WebCraftifyAI's current interface, ensuring an immersive user experience. By leveraging minimalist design principles and focusing on accessibility, this layout offers a fresh, modern look while enhancing content discoverability. Open for review and feedback to refine and perfect its integration

Heartfelt Thanks for Your Contribution to Our Open Source Project!
Dear @tejachalla123 (None),
I trust this message finds you in good health and high spirits. I am reaching out with a heart full of gratitude for your recent contribution to our open source project. Your dedication has not only elevated the functionality of our project but has also exemplified the collaborative spirit that lies at the core of thriving open source communities.
A heartfelt congratulations are in order for your exceptional work! Your commitment and expertise have played a pivotal role in the success of our project, and we consider ourselves truly fortunate to count you among our community members.
I must extend my sincere apologies for the delay in responding to your pull request. Your patience and understanding during this time are immensely appreciated. As our project continues to grow, we acknowledge the imperative need to enhance the quality and response time for contributions. To address this, we've kickstarted a call for maintainers and reviewers who can help us uphold the high standards of our project and ensure swift responses to pull requests.
Your involvement and insights would be invaluable in this initiative. If you, or someone you know, is interested in taking on a more active role in the project, please don't hesitate to reach out. We firmly believe that with a robust team of maintainers and reviewers, we can elevate both the quality of the project and the speed of our responses.
On an exciting note, I am thrilled to share that we have activated the sponsorship button for our project. This development allows supporters like yourself to contribute to the sustainability and growth of the project. Your ongoing support, whether through code contributions or sponsorship, is genuinely appreciated.
Once again, congratulations on your outstanding contribution, and thank you for being an indispensable part of our open source community. We eagerly anticipate your continued collaboration and shared success.
Best regards,
Ntem Kenyor K.
Lead
Kwickerhub


Can't find definition of altm_method in EnhanceViaRetinexDTCWT(matlab)

Hi @IsaacChanghau
I am trying to read EnhanceViaRetinexDTCWT(matlab), altm_method is used in Main.m(line 54), but I can't find the definition of it. Could you please tell me where the definition of altm_method is? Thank you.

Same problem. Hope someone can help.

Hi,
anyone managed to run EnhanceViaRetinexDTCWT in matlab.
I faced the same issue of missing function.

I noticed, that you can skip that and the image will be processed but without ALTM i guess.
C = w{J + 1}{1}{s} + Imag * w{J + 1}{2}{s};
wout = C
w{J+1}{1}{s} = real(wout);
w{J+1}{2}{s} = imag(wout);
Anybody have any idea how and where to call a ALTM function.

Same problem. Hope someone can help.


Picture on about page should be above text on small screens

This will be solved by version 3 (removing the picture entirely).


Update treatas-function-dax.md

sentence structure corrected, DAX formatting changed

@kfollis
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@jeroenterheerdt - the grammatical change is valid, but I'm unable to verify the syntax change. Can you please review?

looks good to me, I don't believe the actual syntax has changed, it's just the layouting.

[like]  Kate Follis reacted to your message:

From: Jeroen ter Heerdt @.>
Sent: Thursday, October 24, 2024 8:14:15 PM
To: MicrosoftDocs/query-docs @.>
Cc: Kate Follis @.>; Mention @.>
Subject: Re: [MicrosoftDocs/query-docs] Update treatas-function-dax.md (PR #247)
looks good to me, I don't believe the actual syntax has changed, it's just the layouting.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/query-docs/pull/247#issuecomment-2436257131, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG3PD4JYBYEVBKRPTN3KDRLZ5FIJPAVCNFSM6AAAAABQQLNRYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZWGI2TOMJTGE.
You are receiving this because you were mentioned.Message ID: @.***>

#sign-off


Potentially malformed byte array encoding of shared secret from ECDH key agreement

We believe that the call to BigInteger's toByteArray() method may result in malformed byte array encodings for some results.
toByteArray() ensures that the output always includes a leading signing bit. However if the most significant bit is already set the output will be prepended by a leading 0x00 byte resulting in 33 bytes output. Furthermore the BigInteger may also be so "small" that only 32 bytes output are returned. This means that depending on the result of the key agreement the resulting byte array may be 33, 32, 31 or even less bytes long. The length however is never checked explicitly and directly used as seed for the KDF which will gladly accept input of any length. We believe that the shared secret byte array should always be of a fixed 32 bytes length representing an unsigned value as proposed by the patch we provide.
on-behalf-of: @achelos-de<EMAIL_ADDRESS>

@SaschaLutters Thanks for your input. We will merge your PR. In the next release of the project we will have tests for this change.


How to use on Mac

I'm using a Mac so the default Python version is 2.7 so I can't install black on it. I'm using Virtual vnev and there I installed black, but then I get the following error:
Failed to spawn command black. Make sure black is installed and on your PATH
This is my setup:
Atom: 1.28.0 x64
Electron: 2.0.3
OS: Mac OS X 10.13.5
Thrown From: python-black package 0.3.0

Hi,
Since black requires Python 3.6.0+ you must have a Python 3 install and use the pip associated with that.
I personally have black installed via the homebrew version of Python 3.
brew install python3 pip3 install black
If you wish to use a version of black that you have installed into a virtualenv you must first activate that virtualenv and then launch atom. You could probably wrap this in a shell script, something like"
 #!/bin/bash source path/to/virtualenv atom

Thakns, that fixed it.


Tutorial about game center, typo?

I’ll beat your game center score on any game http://docs.mitmproxy.org/en/stable/tutorials/gamecenter.html?highlight=phone
The score in the plist is 0, but the text says 55. Is this a typo? Kind of confusing.

Yes, this looks like a type. Can you send a PR that fixes this? :smiley:

I submitted a PR fixing the issue!

Closing. Thanks for the patch - these small cleanups really make a difference.

Hey, sorry, I didn't know what PR stood for. I forgot to reply saying that.

@macdonjo "PR" is a Pull Request. That is, a patch fixing the issue. Hope to see a PR for something else from you soon. :)


Support virtual target lanes (cruising over to a different lane should affect which lane to read from Scanfile)

Feature Request
Motivation Behind Feature
I am working on a consolidated fastlane file which contains different lanes. The fastlane files importing this fastlane file will need to create the matching Scanfile with identical lane names to ensure the right scheme within the xcworkspace is tested.
What I would like is to be able to provide my fellow developers with a virtual target lane to invoke all other lanes which would invoke scan individually. Once scan is invoked, the last lane of invocation should determine which lane to read from Scanfile.
Feature Description

When cruising over to another lane, the FASTLANE_LANE_NAME variable does not reflect the lane update.
What I would like to suggest to have an additional option to specify the current lane when invoking scan. It would also allow the code that creates the ConfigurationFile object to do injection and avoid ConfigurationFile from knowing about global environment variables.
Note: the current ConfigurationFile class (see fastlane/fastlane_core/lib/fastlane_core/configuration/configuration_file.rb) is using the FASTLANE_LANE_NAME directly which is the environment variable set on the first invocation of the fastlane file.

Example code
An example of my Scanfile and Fastfile
fastlane/Scanfile
for_platform :ios do
  workspace 'HelloWorld.xcworkspace'

  for_lane :test_framework do
    scheme 'Framework'
    output_directory './output_framework'
  end

  for_lane :test_app do
    scheme 'App'
    output_directory './output_app'
  end

  devices ['iPhone X']
end

fastlane/Fastfile
min_fastlane_version('2.100.1')

default_platform(:ios)

platform :ios do
  before_all do
    # ...
  end

  desc 'Runs all the framework tests'
  lane :test_framework do |options|
    scan(scheme: options[:scheme])
  end

  desc 'Runs all the example app tests'
  lane :test_app do |options|
    scan(scheme: options[:scheme])
  end

  desc 'Runs all the tests'
  lane :test do
    test_framework
    test_app
  end

  after_all do
    rocket
  end
end

Invocation

fastlane test

What happens?

ENV["FASTLANE_LANE_NAME"] is set to test after invocation;
The test-lane immediate cruises over to test_framework;
The test_framework invokes scan with potential options;
When the Scanfile is checking per_lane, the lane test is looked for instead of test_framework and fastlane will fail not being able to find the correct parameters to invoke xcodebuild`.

Note: Step 2 to 4 also applies to test_app
Would it affect others?

No, if the option to specify the current invocation lane is not set, the ConfigurationFile class should fall back to ENV["FASTLANE_LANE_NAME"] variable.

Alternatives or Workarounds
Currently as a workaround, I end up temporarily updating the FASTLANE_LANE_NAME to ensure the ConfigurationFile picks up the lane change. I use the code that is used to test fastlane.
  desc 'Runs all the tests'
  lane :test do
    # include all test lanes
    test_lanes = %w[test_app test_framework]

    # for each test lane,
    # change the lane environment and
    # invoke that specific lane
    test_lanes.each do |test_lane|
      with_env_values('FASTLANE_LANE_NAME' => test_lane) do
        send(test_lane, {})
      end
    end
  end

✅ fastlane environment ✅
Stack

Key
Value

OS
10.13.6

Ruby
2.5.1

Bundler?
true

Git
git version 2.14.2

Installation Source
~/Code/Example/vendor/bundle/ruby/2.5.0/bin/fastlane

Host
Mac OS X 10.13.6 (17G65)

Ruby Lib Dir
~/.rbenv/versions/2.5.1/lib

OpenSSL Version
OpenSSL 1.0.2o  27 Mar 2018

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
9.2

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
min_fastlane_version('2.100.1')

default_platform(:ios)

platform :ios do
  before_all do
    # ...
  end

  desc 'Runs all the framework tests'
  lane :test_framework do |options|
    scan(scheme: options[:scheme])
  end

  desc 'Runs all the example app tests'
  lane :test_app do |options|
    scan(scheme: options[:scheme])
  end

  desc 'Runs all the tests'
  lane :test do
    # include all test lanes
    test_lanes = %w[test_app test_framework]

    # for each test lane,
    # change the lane environment and
    # invoke that specific lane
    test_lanes.each do |test_lane|
      with_env_values('FASTLANE_LANE_NAME' => test_lane) do
        send(test_lane, {})
      end
    end
  end

  after_all do
    rocket
  end
end

No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.100.1
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.2.0

bundler
1.16.3

rake
12.3.1

CFPropertyList
3.0.0

concurrent-ruby
1.0.5

i18n
0.9.5

minitest
5.11.3

thread_safe
0.3.6

tzinfo
1.2.5

activesupport
4.2.10

public_suffix
2.0.5

addressable
2.5.2

ast
2.4.0

atomos
0.1.2

babosa
1.0.2

claide
1.0.2

fuzzy_match
2.0.4

nap
1.1.0

cocoapods-core
1.5.0

cocoapods-deintegrate
1.0.2

cocoapods-downloader
1.2.0

cocoapods-plugins
1.0.0

cocoapods-search
1.0.0

cocoapods-stats
1.0.0

netrc
0.11.0

cocoapods-trunk
1.3.0

cocoapods-try
1.1.0

colored2
3.1.2

escape
0.0.4

fourflusher
2.0.1

gh_inspector
1.1.3

molinillo
0.6.5

ruby-macho
1.1.0

nanaimo
0.2.6

xcodeproj
1.5.9

cocoapods
1.5.0

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

declarative
0.0.10

declarative-option
0.1.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20180417

dotenv
2.5.0

emoji_regex
0.1.1

excon
0.62.0

multipart-post
2.0.0

faraday
0.15.2

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.12.2

fastimage
2.1.3

jwt
2.1.0

little-plugger
1.1.4

multi_json
1.13.1

logging
2.2.2

memoist
0.16.0

os
0.9.6

signet
0.8.1

googleauth
0.6.2

httpclient
2.8.3

mime-types-data
3.2016.0521

mime-types
3.1

uber
0.1.0

representable
3.0.4

retriable
3.1.2

google-api-client
0.21.2

json
2.1.0

mini_magick
4.5.1

multi_xml
0.6.0

plist
3.4.0

rubyzip
1.2.1

security
0.1.3

naturally
2.2.0

simctl
1.6.5

slack-notifier
2.3.2

terminal-notifier
1.8.0

unicode-display_width
1.4.0

terminal-table
1.8.0

tty-screen
0.6.5

tty-cursor
0.6.0

tty-spinner
0.8.0

word_wrap
1.0.0

rouge
2.0.7

xcpretty
0.2.8

xcpretty-travis-formatter
1.0.0

ffi
1.9.23

mustache
0.99.8

open4
1.3.4

redcarpet
3.4.0

rb-fsevent
0.10.3

rb-inotify
0.9.10

sass-listen
4.0.0

sass
3.5.6

sqlite3
1.3.13

liferaft
0.0.6

xcinvoke
0.3.0

jazzy
0.9.2

parallel
1.12.1

parser
<IP_ADDRESS>

powerpack
0.1.1

rainbow
3.0.0

ruby-progressbar
1.9.0

rubocop
0.55.0

xcode-install
2.3.1

generated on: 2018-07-29

✅ fastlane environment ✅
Stack

Key
Value

OS
10.13.6

Ruby
2.5.1

Bundler?
true

Git
git version 2.14.2

Installation Source
~/Code/Example/vendor/bundle/ruby/2.5.0/bin/fastlane

Host
Mac OS X 10.13.6 (17G65)

Ruby Lib Dir
~/.rbenv/versions/2.5.1/lib

OpenSSL Version
OpenSSL 1.0.2o  27 Mar 2018

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
9.2

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
# frozen_string_literal: true

# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#
fastlane_require 'dotenv'

# Easily opt-out of metrics collection by adding opt_out_usage at the top of
# your Fastfile or by setting the environment variable FASTLANE_OPT_OUT_USAGE
# opt_out_usage

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

min_fastlane_version('2.100.1')

default_platform(:ios)

# Use .env.buildconfig to store build configuration settings
# credentials should be stored in .env, .env.default or .env.secret
build_configuration_file = '.env.buildconfig'

platform :ios do # rubocop:disable Metrics/BlockLength
  before_all do
    # ...
  end

  desc 'Set or update environment variables temporarily using a block notation'
  def with_env_values(hash, &block)
    with_global_key_values(ENV, hash, &block)
  end

  def with_global_key_values(global_store, hash)
    old_vals = global_store.select { |key, _value| hash.include?(key) }
    hash.each do |key, _value|
      global_store[key] = hash[key]
    end
    yield
  ensure
    hash.each do |key, _value|
      global_store.delete(key) unless old_vals.include?(key)
      global_store[key] = old_vals[key]
    end
  end

  desc 'Runs all the framework tests'
  lane :test_framework do |options|
    scan(scheme: options[:scheme])
  end

  desc 'Runs all the example app tests'
  lane :test_app do |options|
    scan(scheme: options[:scheme])
  end

  desc 'Runs all the tests'
  lane :test do
    # include all test lanes
    test_lanes = %w[test_app test_framework]

    # for each test lane,
    # change the lane environment and
    # invoke that specific lane
    test_lanes.each do |test_lane|
      with_env_values('FASTLANE_LANE_NAME' => test_lane) do
        send(test_lane, {})
      end
    end
  end

  after_all do
    rocket
  end
end

No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.100.1
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.2.0

bundler
1.16.3

rake
12.3.1

CFPropertyList
3.0.0

concurrent-ruby
1.0.5

i18n
0.9.5

minitest
5.11.3

thread_safe
0.3.6

tzinfo
1.2.5

activesupport
4.2.10

public_suffix
2.0.5

addressable
2.5.2

ast
2.4.0

atomos
0.1.2

babosa
1.0.2

claide
1.0.2

fuzzy_match
2.0.4

nap
1.1.0

cocoapods-core
1.5.0

cocoapods-deintegrate
1.0.2

cocoapods-downloader
1.2.0

cocoapods-plugins
1.0.0

cocoapods-search
1.0.0

cocoapods-stats
1.0.0

netrc
0.11.0

cocoapods-trunk
1.3.0

cocoapods-try
1.1.0

colored2
3.1.2

escape
0.0.4

fourflusher
2.0.1

gh_inspector
1.1.3

molinillo
0.6.5

ruby-macho
1.1.0

nanaimo
0.2.6

xcodeproj
1.5.9

cocoapods
1.5.0

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

declarative
0.0.10

declarative-option
0.1.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20180417

dotenv
2.5.0

emoji_regex
0.1.1

excon
0.62.0

multipart-post
2.0.0

faraday
0.15.2

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.12.2

fastimage
2.1.3

jwt
2.1.0

little-plugger
1.1.4

multi_json
1.13.1

logging
2.2.2

memoist
0.16.0

os
0.9.6

signet
0.8.1

googleauth
0.6.2

httpclient
2.8.3

mime-types-data
3.2016.0521

mime-types
3.1

uber
0.1.0

representable
3.0.4

retriable
3.1.2

google-api-client
0.21.2

json
2.1.0

mini_magick
4.5.1

multi_xml
0.6.0

plist
3.4.0

rubyzip
1.2.1

security
0.1.3

naturally
2.2.0

simctl
1.6.5

slack-notifier
2.3.2

terminal-notifier
1.8.0

unicode-display_width
1.4.0

terminal-table
1.8.0

tty-screen
0.6.5

tty-cursor
0.6.0

tty-spinner
0.8.0

word_wrap
1.0.0

rouge
2.0.7

xcpretty
0.2.8

xcpretty-travis-formatter
1.0.0

ffi
1.9.23

mustache
0.99.8

open4
1.3.4

redcarpet
3.4.0

rb-fsevent
0.10.3

rb-inotify
0.9.10

sass-listen
4.0.0

sass
3.5.6

sqlite3
1.3.13

liferaft
0.0.6

xcinvoke
0.3.0

jazzy
0.9.2

parallel
1.12.1

parser
<IP_ADDRESS>

powerpack
0.1.1

rainbow
3.0.0

ruby-progressbar
1.9.0

rubocop
0.55.0

xcode-install
2.3.1

generated on: 2018-07-29

@joshdholtz, I noticed you labelled this as a feature request as part of a triage. I was hoping this labelling would be a hint to the fastlane-bot that the issue is valid and would be ignored for automatic cleanup.
Is there a place (backlog?) where these feature requests are kept as to avoid them from being closed automatically by the fastlane-bot?

No worries @fastlane-bot. This feature request is still alive 👍

Hey @willemfrishert, this does sound like a pretty specific, advanced use-case, we most likely won't have the time to actually build it. I see you found a workaround, is that one working well enough for you?


How do i format a cell as a formula cell?

I have a formula in the form of a text. I set it in a cell and want the formula to run as soon as the file is opened. However, the formula doesn't work because it is interpreted as plain text. Is there a way to set the cell type to formula?

The new version of the library has been released and now there is an annotation to mark a string field as a formula.
@FieldFormula
@StringValue("CONCATENATE(2+5,\"!\")")
private String formula;


Add async hook webappWebpackPluginBeforeEmit

Closes #90

Triggered right before emitting assets
Allows for assets to be modified

Pull Request Test Coverage Report for Build 489

11 of 12 (91.67%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-4.05%) to 92.754%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/compiler.js
11
12
91.67%

Totals

Change from base Build 485:
-4.05%

Covered Lines:
82

Relevant Lines:
83

💛  - Coveralls


Configurable labels with units

Currently there is option to show letters above unit controls but it would be nice to be able to put there some custom labels.
I'll work on that later.

@FrancescoBorzi please review #105


update cairo to 2.10rc-0

Checklist

[ ] Linked to Github Issue
[ ] Unit tests added
[ ] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

Codecov Report
Attention: Patch coverage is 86.15385% with 9 lines in your changes missing coverage. Please review.

Project coverage is 80.77%. Comparing base (e41f7b1) to head (dc64376).

Files with missing lines
Patch %
Lines

src/libfuncs/gas.rs
88.88%
7 Missing :warning:

src/debug.rs
0.00%
1 Missing :warning:

src/libfuncs/bounded_int.rs
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #986      +/-   ##
==========================================
+ Coverage   80.76%   80.77%   +0.01%
==========================================
  Files         107      107
  Lines       29256    29317      +61
==========================================
+ Hits        23628    23681      +53
- Misses       5628     5636       +8

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


docs: fix syntax errors in the document

Signed-off-by: Fish-pro<EMAIL_ADDRESS>
What this PR does / why we need it:
Special notes for your reviewer:
If applicable:

[x] this PR contains documentation
[ ] this PR contains unit tests
[ ] this PR has been tested for backwards compatibility

/cc @mattfarina


Update DID kli commands to generate new formats

Changes to support OOBI resolution of vLEI GLEIF RoOT AID.
Signed-off-by: pfeairheller<EMAIL_ADDRESS>

Codecov Report

Merging #388 (413f95e) into development (59d91be) will increase coverage by 0.00%.
The diff coverage is 80.00%.

@@             Coverage Diff              @@
##           development     #388   +/-   ##
============================================
  Coverage        92.69%   92.69%
============================================
  Files              116      116
  Lines            36531    36533    +2
============================================
+ Hits             33862    33864    +2
  Misses            2669     2669

Impacted Files
Coverage Δ

setup.py
0.00% <ø> (ø)

src/keri/app/oobiing.py
80.99% <0.00%> (ø)

src/keri/db/basing.py
93.26% <ø> (ø)

src/keri/__init__.py
100.00% <100.00%> (ø)

src/keri/app/httping.py
74.61% <100.00%> (ø)

tests/core/test_coring.py
99.97% <100.00%> (+<0.01%)
:arrow_up:

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


Unit Test Updates from the core specification

The fluentpath standard tests are now available in an XML format at
https://github.com/FHIR/fluentpath/blob/master/tests.xml
Remember that these tests are setup for the STU3 version of FHIR, so may need to be adapted when applying using the DSTU2 version of the client.

Hi Brian, I already have the unit tests pulled into the project from last week. What are there?