If co-ordinates are used in 'Location' configuration omit country code when fetching keys

I note after the location change detected, extract URLs message a URL similar to the below is being fetched from WU:
https://www.wunderground.com/hourly/FR/xxxxxxxx

Where FR is the country code entered on the configuration page and xxxxxxxx is the content of the location field.
If the location contains GPS co-ordinates though, the above request from WU will return an error.
In fact, in the case that co-ordinates are entered one must omit the country code in order to receive a valid response, ie:
https://www.wunderground.com/hourly/xx.xxx%2Cxx.xxx

Please check github version and report if it works as expected

Oops... forgot about this. Well, v3.3.0 seems to work so guess this issue is fixed :)


add support for global transformers in code_transformers

 Issue by sigmundch
Originally opened as dart-lang/sdk#18489

Implement a generic transformer that:

can only run in the entrypoint package
allows specifying modifications to files in any package, but that are only visible to the compilation of a single entrypoint.
does a functional copy of the import graph, so that all these modifications are supported.

 Comment by sigmundch

Added PolymerMilestone-Next label.

 Comment by sigmundch

Removed Polymer-P-1 label.
Added Polymer-Milestone-Next label.

 Comment by sigmundch

Marked this as blocking dart-lang/sdk#19168.

 Comment by sigmundch

Removed this from the 1.6 milestone.
Added Polymer-P-1 label.

 Comment by sigmundch

Marked this as blocking dart-lang/sdk#15080.

 Comment by sigmundch

Added this to the 1.6 milestone.
Removed Priority-Unassigned label.
Added Priority-High label.

 Comment by sigmundch

Removed Polymer-Milestone-Next label.

 Comment by sigmundch

Removed this from the 1.6 milestone.

 Comment by sigmundch

Marked this as blocking dart-lang/sdk#20267.

 Comment by kasperl

Added this to the 1.6 milestone.

 Comment by sigmundch

Marked this as blocking dart-lang/sdk#19521.

 Comment by kasperl

Added this to the 1.6 milestone.

 Comment by justinfagnani

Siggi just pointed me to the bug on barkback. https://code.google.com/p/dart/issues/detail?id=17306

 Comment by sigmundch

Removed this from the 1.6 milestone.

 Comment by sigmundch

Marked this as blocking dart-lang/sdk#20691.

 Comment by justinfagnani

+Bob and Natalie
Shouldn't this be a basic feature of pub and barback rather than be built as a separate transformer system on top of it?
I need a global transformer for js-interop, and we already have ones that workaround pub's single-package limitation for Polymer, Angular, and any transformer that uses code_transformers.

cc @nex3.
cc @munificent.

 Comment by kasperl

Added Accepted label.

Closing as this is not planned afaik


Refactor ExecutorServiceBuilder and add to Worker gRPC server

What changes are proposed in this pull request?
This PR refactors alluxio.master.ExecutorServiceBuilder to the top level package alluxio.ExecutorServiceBuilder, and adds it as the executor for the Worker's GrpcServer.
Why are the changes needed?
Without specifying an executor for GrpcServer, it will be assigned a default executor. In our case this would be the DEFAULT_WORKER_EVENT_LOOP_GROUP_POOL from NettyServerBuilder.
This is an unbounded pool which results in unbounded memory consumption by gRPC worker threads. In highly concurrent workloads this can lead to memory exhaustion.

./bin/alluxio runClass alluxio.stress.cli.worker.StressWorkerBench --clients 1 --threads 128
./bin/alluxio runClass alluxio.stress.cli.worker.StressWorkerBench --clients 10 --threads 256
./bin/alluxio runClass alluxio.stress.cli.worker.StressWorkerBench --clients 1 --threads 512

Using our ExecutorServiceBuilder which is already used for the Master GrpcServer will allow us to bound and tune this executor for the Worker.

./bin/alluxio runClass alluxio.stress.cli.worker.StressWorkerBench --clients 1 --threads 128
./bin/alluxio runClass alluxio.stress.cli.worker.StressWorkerBench --clients 10 --threads 128
./bin/alluxio runClass alluxio.stress.cli.worker.StressWorkerBench --clients 1 --threads 256

Configured as follows
alluxio.worker.rpc.executor.core.pool.size=32
alluxio.worker.rpc.executor.max.pool.size=128

Screenshots were captured from a jconsole of the Alluxio worker processes with and without the change.

Local alluxio cluster deployed according to this doc
Tested using the stressbench docs for StressWorkerBench

Does this PR introduce any user facing changes?
New PropertyKeys, and one new MetricKey

alluxio.worker.rpc.executor.<...> property keys are one-to-one with alluxio.master.rpc.executor.<...>
Worker.RpcQueueLength is semantically identical to Master.RpcQueueLength, just for the Worker GrpcServer

Codecov Report

Merging #14575 (5ec1a84) into master (3edc445) will decrease coverage by 18.79%.
The diff coverage is 96.47%.

@@              Coverage Diff              @@
##             master   #14575       +/-   ##
=============================================
- Coverage     35.53%   16.74%   -18.80%
+ Complexity     7688     2622     -5066
=============================================
  Files          1494     1494
  Lines         87714    87899      +185
  Branches      10453    10460        +7
=============================================
- Hits          31173    14718    -16455
- Misses        53933    71957    +18024
+ Partials       2608     1224     -1384

Impacted Files
Coverage Δ

...main/java/alluxio/master/AlluxioMasterProcess.java
67.41% <ø> (ø)

.../main/java/alluxio/worker/grpc/GrpcDataServer.java
77.66% <78.57%> (-0.60%)
:arrow_down:

...common/src/main/java/alluxio/conf/PropertyKey.java
98.09% <100.00%> (-1.36%)
:arrow_down:

...ommon/src/main/java/alluxio/metrics/MetricKey.java
97.65% <100.00%> (-0.30%)
:arrow_down:

.../src/main/java/alluxio/ExecutorServiceBuilder.java
57.33% <100.00%> (ø)

...mon/src/main/java/alluxio/shell/CommandReturn.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...mon/src/main/java/alluxio/util/ExceptionUtils.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...n/src/main/java/alluxio/wire/AlluxioProxyInfo.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../src/main/java/alluxio/wire/AlluxioMasterInfo.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...src/main/java/alluxio/job/meta/JobIdGenerator.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 588 more

Continue to review full report at Codecov.

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

I have tried some ways like this serval days age,and I just test again a few minutes ago with the following code:

the error still exist

I change the GrpcSerializationUtils.getByteBufFromReadableBuffer with AtomicLong,the executor just can not limit the times which function getByteBufFromReadableBuffer executes.
And I tried the client with semphore,it quite works well for now,emmm...so can we discuss about it tomorrow？

@lilyzhoupeijie what you have there still has an unbounded queue inside it, have you tried it with an bounded queue?

@yuzhu no matter   unbounded  or bounded queue is used ,it only affect whether the queue itself  leads to OOM
if I set newFixedThreadPool to 1,there  will be  only one thread which can work.
this problem may be solved by this link ? https://github.com/salesforce/reactive-grpc

alluxio-bot, merge this please

alluxio-bot, cherry-pick this to branch-2.7 please


Printing function

From<EMAIL_ADDRESS>on March 12, 2010 11:23:46
(new feature request)
Hi,
There is something really missing in wwwsqldesigner : the option to
download the designed database as PDF (or something else for printing).
I tried the "print" function built in the browser, but in chrome I have
very bad results and with firefox I have partial schema with random
behavior.
> My tests drove me to something pretty well working. The idea is to send
XML + tables coords & dimensions + relations coords & dimensions to a PHP
script.
To achieve so on my test installation I reused some FPDF work I wrote in
the past, with a Bezier implementation that mostly matches what you did in
the JS file.
Have a look : http://maintenance.netsoins.org/dbdesign/ (topright button
"print" or "Imprimer").
There is some few bugs (bottom borders are too large, relations doesnt
match perfectly the row...).
I can't give you the PHP code since it is under licence, but the idea is to
use the DOM, since all work has already been done on the client side.
Best regards,
Geompse
PS : in the JS file, I did this :
SQL.IO.prototype.print = function() {
var xml = this.owner.toXML();
var bp = this.owner.getOption("xhrpath");
var url = bp + "print.php";
var relations = this.owner.relations;
var tables = this.owner.tables;
var data = 'xml='+encodeURIComponent(xml);
for(var i=0; i<relations.length; i++)
{
    var r = relations[i];
    if(r.hidden)
        continue;
    data +=

'&rel[]='+r.drawType+'|'+r.p1[0]+'|'+r.p1[1]+'|'+r.p2[0]+'|'+r.p2[1]+'|'+r.
px+'|'+encodeURIComponent(r.color);
}
for(var i=0; i<tables.length; i++)
{
var t = tables[i];
data +=
'&tbl[]='+encodeURIComponent(t.getTitle())+'|'+t.x+'|'+t.y+'|'+t.dom.contai
ner.offsetWidth+'|'+t.dom.container.offsetHeight;
}
OZ.Request(url,
function(x){if(x=='OK')document.location=url.replace('.php','.pdf');else
alert(x);}, {method:"post", data:data});
}
(Note that it requires type,p1,p2,x(actually half or x),color to be stored
in the SQL.Relation, and that the php file is "print.php" and the pdf file
is stored server-side under "print.pdf")
Original issue: http://code.google.com/p/wwwsqldesigner/issues/detail?id=70

From ondrej.zara on March 14, 2010 00:59:51
Hi,
this is a very ambitious feature! Your current version seems to work pretty well.
However, I am not very happy with the need to serialize table+relation data in order
to post them to the printing endpoint. I see two other possible aproaches here:

send the normal XML representation to the endpoint. No duplicate code on client,
ability to print saved design directly from database. However, server must be aware
of the algorithm used to draw and position relations.

send OZ.$("area").innerHTML to the endpoint. This is a valid XHTML fragment,
containing all necessary SVG/VML information for relation rendering.

What is your opinion?

From<EMAIL_ADDRESS>on March 14, 2010 05:25:12
I would say that the transport does not matter. As long as you can get the infos from
the server side, it's cool.

XML is good but I use it when human interaction might be needed (ex:config.xml)
HTML is good but I think it will be too weighty (mostly because of the
style="background-color: rgb(r, g, b)" on each row)
JSON is good, lightweight BUT there is no native json_encode function client-side
For performance, you shall consider the delays for generation and sending...

I suggest you use XML, since you use it already for the schema data.
What you shall keep in mind :

don't duplicate the code, else if you enhance your JS you will have to enhance the
PHP the same way -> loss of time
don't use what is read from the database, but what the user made in his browser
don't send unneeded informations (like the keys, types, relation names...), all you
need are :

tables names, dimensions (w,h), coordinates (x,y)
row names, style (bold or not, color)
relation drawing data (side or normal, x0,y0, x1,y1, half or x, color)

If the future, let's imagine you put some italic on the rows featuring an INDEX
clause. All you will have to do is to send in the XML the info 'row style (italic or
not)', and add a condition in the PHP script.
An even better example : imagine you made a positioning algorithm (like I did but
it's not awesome enough), you can't afford to dev+test+debug it both in JS and PHP...
Not related to your question, but I ran into :

removal of the top left margin : all coordinates (x,y) shall translate to (X=x-
mx,Y=y-my)
dynamic pdf dymensions : create a PDF page of
- w = max(tableX+tablew)+padding
- h = max(tableY+tableh)+padding
(this was longly think, because I first wanted the PDF to be A4-based, but
actually it is bound to the final user to manage to print the document)
drawing the relations : not as easy as with SVG, in PDF you have lines. What I did
was to map the Bezier curve with dots and then I drew lines between them. The
difficulty is to temper between PDF size and PDF speed. May the curve take a w x h
rectangle. I map the curve with max(20,(abs(w)+abs(h))/10) points and I link them
together. It makes a correct file size with a correct redraw delay.
fonts in PDF might not have the same size as in your browser (well, mostly because
I made some css modifications : letter-spacing:-1px, font-size:80%), so the wxh of
the HTML tables might not be the same in PDF, that's why a larger border is shown on
the bottom of my tables. I did not correct this since the relations are well
connected to their rows... but it might still be an issue.

From ondrej.zara on March 14, 2010 12:31:50
There will always be some kind of duplicity. For instance, most of the styling right
now is done via CSS, so the JS app has virtually no information about how does the
output actually look like. This info cannot be easily transferred to server side...

From<EMAIL_ADDRESS>on March 14, 2010 16:07:36
YES !
The biggest issue is with the font (family, style, size...) ; but most of the time
what you want is not 1:1 match. The need is to print the designed model.
So with "x,y w,h table row1 row2 row3", I don't care if there are rounded borders or
some cool shadows. I draw a w x h rectangle starting at (x;y) and manage to set font
so that it fits the table name and its columns in that rectangle.
Maybe you can -in the future- make support for multiple skins towards either the PDF
rendering or the HTML engine... That's another issue to open ? :)

From ondrej.zara on March 15, 2010 00:10:54
Actually, I am thinking about something completely different: the ability to render
DB model into a <canvas>. This would be done by a JS application.
Canvas can be comfortably (via right-click) saved as a PNG image, so printing is not
an issue. Also, canvas (IIRC) supports bezier curves, so doing this should be easier
than rendering on server side.

From<EMAIL_ADDRESS>on March 15, 2010 01:37:38
Then you will have to draw tables instead of using Html DOM for them (slower).
Besides I'm not sure of IE's support for canvas (IE8 maybe ?).
In Chrome (Chromium 5.0.333) you don't have the "save as PNG" option (you have the
normal "save page as html"), see screen (french).
Doing this server-side removes at LOT of compatibility issues. Php is of course
required, then.
For the curves I based my code on this : http://trac-sg.casabrasil.gov.br/browser/library/jpgraph/jpgraph_regstat.php (there are two classes, Spline and Bezier)
Maybe you can implements both methods, let's say the canvas method is for removing
the need for a php server (but for firefox), and the php method is for saving to pdf.
Oh yeah, I forget this point : PDF vs PNG. PDF is vector-based, this means that not
only the actual file size is lighter than a compressed image file, but also you can
zoom in/out with no quality loss (no pixelisation). Besides having a heavy PNG might
not suit user's computer, since a large PNG file takes much times to open. I also
believe there is a size (w x h) limitation in PNG.
Best regards.

From<EMAIL_ADDRESS>on March 15, 2010 01:43:30
edit
this works in chrome :
canvas.toDataURL("image/png")
window.open(canvas.toDataURL("image/png"),"mywindow");
demo here : http://mrdoob.com/projects/harmony/ But the file is displayed, not prompted to be save...

From<EMAIL_ADDRESS>on March 15, 2010 02:00:55
Following Issue 66 , it would be nice to have 1 page per container... you could achieve
this with multiple PNGs, but zipping them would be done server-side.
What's the point here ? I can refactor the code if you want

From ondrej.zara on March 15, 2010 02:17:54
The "canvas" view won't replace what we have now. Instead, there will be a "print"
(or some other name) feature that just renders the view into a canvas (perhaps in a
new window).
Canvas implementations are very interoperable, there are almost no compatibility
issues. IE is kind of out of game, which I like, because I want to ultimately
completely drop IE support.

From<EMAIL_ADDRESS>on March 15, 2010 05:58:53
We did drop IE (even IE8) in our business model. We dev under chrome and our clients
>must< install firefox (or chrome be they are still reluctant to it)

From<EMAIL_ADDRESS>on March 18, 2010 06:55:33
I refactored my code, so here it is :

src.zip for the raw versions of new files
pdfdiff.txt for all diff (including fr and en locale patch)
design.pdf as rendered example

Towards the above discussion, I kept in mind those ideas :

both "Save as PDF" and "Save as PNG" might exists, so my function "print" is now
"downloadpdf"
style.css might be modified by the user. In this case the downloadpdf.php must be
modified too. Altering the FONTSIZE const shall be enough.

Data sent is :

Tables : title, offsetWidth, offsetHeight, x, y, className
Rows : title, className, backgroundColor
SVG : full innerHTML

Tables and rows are sent as XML.
SVG is sent as HTML.
The XML is loaded in a DOMDocument and the HTML is appended to this document as a
fragment.
Attachment: src.zip pdfdiff.txt design-20100318-141510.pdf

From<EMAIL_ADDRESS>on March 27, 2010 21:10:56
I believe this can be done completely client-side by using something like  jspdf http://jspdf.googlecode.com/svn/trunk/examples/basic.htm As for handling fonts, I think there are clever ways of deducing font metrics from
text rendered in the browser.
As long as data URIs are supported by the browser, it will work. This means it will
work everywhere but on IE. That's OK in my book :)

From jgxenite on February 15, 2011 08:36:02
I've just come across this project - a really great visual tool for creating databases.
However, I'd like to be able to print it (at the moment, I have to take a screenshot and crop it). I've tried the code by geompse, but can't seem to get it working in the latest version.
Will this ever appear as an official feature?

From ondrej.zara on February 15, 2011 10:51:13
Hi,
I am still not certain about the optimal approach. Additionaly, my time is extremely limited these days, so I am unable to implement any larger features.
On the other hand, it might be sufficient to use a Firefox extensions, which leverages the canvas.drawWindow() function in order to produce an image from web page. You can try FireShot ( https://addons.mozilla.org/en-us/firefox/addon/fireshot/ ) or some other extension - there are plenty of those.

From ondrej.zara on March 31, 2011 05:59:07
This is an optimal tool for printing/downloading the schema: http://www.phantomjs.org/


Update nf-d3d11-id3d11devicecontext-vssetshaderresources.md

Note on unbinding added to VSSetShaderResources.
The same remark and similar code sample should be made to the following methods:
IASetVertexBuffers

VSSetConstantBuffers
PSSetConstantBuffers
GSSetConstantBuffers
HSSetConstantBuffers
DSSetConstantBuffers
CSSetConstantBuffers

PSSetShaderResources
GSSetShaderResources
HSSetShaderResources
DSSetShaderResources
CSSetShaderResources

CSSetUnorderedAccessViews

PSSetSamplers
VSSetSamplers
GSSetSamplers
HSSetSamplers
DSSetSamplers
CSSetSamplers

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

I've created a backlog work item for myself to process the other 19 topics.


Unable to load DLL 'OpenCvSharpExtern' or one of its dependencies

Summary of your issue

Environment
Net8.0
What did you do when you faced the problem?
Migrate Opencvsharp4.0 from net framework to net8.0 using visual studio migration. As it was raising the issue, I uninstall and reinstall different versions but I am unable to get it working.
I have OpenCVSharp4 and OpenCVSharp4.runtime.win installed and built in my output directory. I also tried to copy the runtimes (opencv_videoio_ffmpeg490_64.dll, OpenCvSharpExtern.dll) next to the main OpenCvSharp.dll but it did not work either.
I have tried soo many solutions online but could not get it working. Taget framework is x64 and those dll were copied next to main dll. I also added System.memory and system.compiler.unsafe next to it.
Example code:

var edgedetection = Cv2.ImRead(init_hdlr_image);

Output:

DllNotFoundException: Unable to load DLL 'OpenCvSharpExtern' or one of its dependencies: The specified module could not be found. (0x8007007E)
System.TypeInitializationException: 'The type initializer for 'OpenCvSharp.Internal.NativeMethods' threw an exception.'

What did you intend to be?
No error and loading properly

It looks like some dll missing, you can check this first.

Hi @NonicaTeam, did you manage to resolve this? I'm also trying to migrate to net8.0
Thanks
Jim

Hi @NonicaTeam, did you manage to resolve this? I'm also trying to migrate to net8.0 Thanks Jim

Yes, we found that Windows have versions ended with N, like Windows 10 Home N. Those versions do not include something called Media Feature Pack which is needed for this library. We were testing in one N version, that is the limitation we found.
I hope it helps


build apollo fails with the master code

When I build apollo-master code, it shows errors as bellow:
Code version:

docker and images version:

build error log:
./apollo.sh build_opt                                                                                [15/491][INFO] Apollo Environment Settings:                                                                                [INFO]     APOLLO_ROOT_DIR: /apollo                                                                                [INFO]     APOLLO_CACHE_DIR: /apollo/.cache                                                                                [INFO]     APOLLO_IN_DOCKER: true                                                                                [INFO]     APOLLO_VERSION: master-2020-07-18-f7a2369315                                                                                [INFO]     APOLLO_ENV:  STAGE=dev USE_ESD_CAN=false USE_GPU=0                                                                                [INFO] Running build under CPU mode on x86_64 platform.                                                                                [WARNING] ESD CAN library supplied by ESD Electronics doesn't exist.                                                                                [WARNING] If you need ESD CAN, please refer to:                                                                                [WARNING]   third_party/can_card_library/esd_can/README.md                                                                                [INFO] Build Overview:                                                                                [INFO]     Bazel Options: --config=opt --define USE_ESD_CAN=false                                                                                [INFO]     Build Targets: //modules/... union //cyber/...  except //modules/drivers/canbus/can_client/esd/...                                                Loading: 0 packages loaded                                                                                Loading: 3 packages loaded                                                                                Loading: 3 packages loaded                                                                                (02:54:41) WARNING: The following configs were expanded more than once: [optimize]. For repeatable flags, repeats are counted twice and may lead to unexpected behavior.
(02:54:41) WARNING: option '--compilation_mode' was expanded to from both option '--config=dbg' (source /apollo/tools/bazel.rc) and option '--config=opt' (source command line options)                                                                                (02:54:41) INFO: Current date is 2020-07-21
(02:54:55) INFO: Repository com_google_absl instantiated at:
  no stack (--record_rule_instantiation_callstack not enabled)
Repository rule http_archive defined at:                                                                                /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
(02:54:55) INFO: Repository eigen instantiated at:
  no stack (--record_rule_instantiation_callstack not enabled)
Repository rule http_archive defined at:
  /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
(02:54:55) WARNING: Download from https://github.com/abseil/abseil-cpp/archive/20200225.2.tar.gz failed: class javax.net.ssl.SSLHandshakeException PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
(02:54:55) ERROR: An error occurred during the fetch of repository 'com_google_absl':
   java.io.IOException: Error downloading [https://github.com/abseil/abseil-cpp/archive/20200225.2.tar.gz] to /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/external/com_google_absl/20200225.2.tar.gz: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
(02:54:55) INFO: Repository com_github_nlohmann_json instantiated at:
  no stack (--record_rule_instantiation_callstack not enabled)
Repository rule http_archive defined at:
  /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
(02:54:55) INFO: Repository remote_java_tools_linux instantiated at:
  no stack (--record_rule_instantiation_callstack not enabled)
Repository rule http_archive defined at:
  /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
(02:54:55) INFO: Repository zlib instantiated at:
  no stack (--record_rule_instantiation_callstack not enabled)
Repository rule http_archive defined at:
  /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
(02:54:58) INFO: Repository boringssl instantiated at:
  no stack (--record_rule_instantiation_callstack not enabled)
Repository rule http_archive defined at:
  /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
(02:54:58) ERROR: /apollo/modules/perception/common/io/BUILD:6:11: //modules/perception/common/io:io_util depends on @com_google_absl//absl/strings:strings in repository @com_google_absl which failed to fetch. no such package '@com_google_absl//absl/strings': java.io.IOException: Error downloading [https://github.com/abseil/abseil-cpp/archive/20200225.2.tar.gz] to /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/external/com_google_absl/20200225.2.tar.gz: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
(02:54:58) ERROR: Analysis of target '//modules/perception/common/io:io_util' failed; build aborted: Analysis failed
(02:54:58) INFO: Elapsed time: 17.015s
(02:54:58) INFO: 0 processes.
(02:54:58) FAILED: Build did NOT complete successfully (5 packages loaded, 519 targets configured)

When I build apollo-master code, it shows errors as bellow:
Code version:

docker and images version:

build error log:
./apollo.sh build_opt                                                                                [15/491][INFO] Apollo Environment Settings:                                                                                [INFO]     APOLLO_ROOT_DIR: /apollo                                                                                [INFO]     APOLLO_CACHE_DIR: /apollo/.cache                                                                                [INFO]     APOLLO_IN_DOCKER: true                                                                                [INFO]     APOLLO_VERSION: master-2020-07-18-f7a2369315                                                                                [INFO]     APOLLO_ENV:  STAGE=dev USE_ESD_CAN=false USE_GPU=0                                                                                [INFO] Running build under CPU mode on x86_64 platform.                                                                                [WARNING] ESD CAN library supplied by ESD Electronics doesn't exist.                                                                                [WARNING] If you need ESD CAN, please refer to:                                                                                [WARNING]   third_party/can_card_library/esd_can/README.md                                                                                [INFO] Build Overview:                                                                                [INFO]     Bazel Options: --config=opt --define USE_ESD_CAN=false                                                                                [INFO]     Build Targets: //modules/... union //cyber/...  except //modules/drivers/canbus/can_client/esd/...                                                Loading: 0 packages loaded                                                                                Loading: 3 packages loaded                                                                                Loading: 3 packages loaded                                                                                (02:54:41) WARNING: The following configs were expanded more than once: [optimize]. For repeatable flags, repeats are counted twice and may lead to unexpected behavior.
(02:54:41) WARNING: option '--compilation_mode' was expanded to from both option '--config=dbg' (source /apollo/tools/bazel.rc) and option '--config=opt' (source command line options)                                                                                (02:54:41) INFO: Current date is 2020-07-21
(02:54:55) INFO: Repository com_google_absl instantiated at:
  no stack (--record_rule_instantiation_callstack not enabled)
Repository rule http_archive defined at:                                                                                /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
(02:54:55) INFO: Repository eigen instantiated at:
  no stack (--record_rule_instantiation_callstack not enabled)
Repository rule http_archive defined at:
  /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
(02:54:55) WARNING: Download from https://github.com/abseil/abseil-cpp/archive/20200225.2.tar.gz failed: class javax.net.ssl.SSLHandshakeException PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
(02:54:55) ERROR: An error occurred during the fetch of repository 'com_google_absl':
   java.io.IOException: Error downloading [https://github.com/abseil/abseil-cpp/archive/20200225.2.tar.gz] to /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/external/com_google_absl/20200225.2.tar.gz: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
(02:54:55) INFO: Repository com_github_nlohmann_json instantiated at:
  no stack (--record_rule_instantiation_callstack not enabled)
Repository rule http_archive defined at:
  /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
(02:54:55) INFO: Repository remote_java_tools_linux instantiated at:
  no stack (--record_rule_instantiation_callstack not enabled)
Repository rule http_archive defined at:
  /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
(02:54:55) INFO: Repository zlib instantiated at:
  no stack (--record_rule_instantiation_callstack not enabled)
Repository rule http_archive defined at:
  /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
(02:54:58) INFO: Repository boringssl instantiated at:
  no stack (--record_rule_instantiation_callstack not enabled)
Repository rule http_archive defined at:
  /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
(02:54:58) ERROR: /apollo/modules/perception/common/io/BUILD:6:11: //modules/perception/common/io:io_util depends on @com_google_absl//absl/strings:strings in repository @com_google_absl which failed to fetch. no such package '@com_google_absl//absl/strings': java.io.IOException: Error downloading [https://github.com/abseil/abseil-cpp/archive/20200225.2.tar.gz] to /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/external/com_google_absl/20200225.2.tar.gz: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
(02:54:58) ERROR: Analysis of target '//modules/perception/common/io:io_util' failed; build aborted: Analysis failed
(02:54:58) INFO: Elapsed time: 17.015s
(02:54:58) INFO: 0 processes.
(02:54:58) FAILED: Build did NOT complete successfully (5 packages loaded, 519 targets configured)

It was caused by network issues. Just download the tarballs from the original url (e.g, https://github.com/abseil/abseil-cpp/archive/20200225.2.tar.gz for abceil-cpp), and put it under <apollo_root_dir>/.cache/distdir. Be sure the sha256 value matches the one listed in WORKSPACE(or third_party/xxx/workspace.bzl). And try again.

When I build apollo-master code, it shows errors as bellow:
(02:54:58) ERROR: Analysis of target '//modules/perception/common/io:io_util' failed; build aborted: Analysis failed
(02:54:58) INFO: Elapsed time: 17.015s
(02:54:58) INFO: 0 processes.
(02:54:58) FAILED: Build did NOT complete successfully (5 packages loaded, 519 targets configured)

It was caused by network issues. Just download the tarballs from the original url (e.g, https://github.com/abseil/abseil-cpp/archive/20200225.2.tar.gz for abceil-cpp), and put it under <apollo_root_dir>/.cache/distdir. Be sure the sha256 value matches the one listed in WORKSPACE(or third_party/xxx/workspace.bzl). And try again.
Another solution would be set HTTP_PROXY and HTTPS_PROXY, like:
export HTTP_PROXY=myagent.com:8182
export HTTPS_PROXY=myagent.com:8182

Direct download the tars with wget is ok, but why apollo build download tars fails?

Direct download the tars with wget is ok, but why apollo build download tars fails?

Dependency was analyzed and fetched by bazel actually.  bazel has its own way of retrieving tarballs.


Implement query function in FindMeetingQuery class

What's new:
Implemented the query function in the FindMeetingQuery class which handles different event cases to find optional meeting times.
The following unit tests check for the validity of the output from query function

optionsForNoAttendees
noOptionsForTooLongOfARequest
eventSplitsRestriction
everyAttendeeIsConsidered
overlappingEvents
nestedEvents
doubleBookedPeople
justEnoughRoom
ignoresPeopleNotAttending
noConflicts
notEnoughRoom

I have removed the copies and left the originals only. I transferred my changes to the originals


Multi Currency Exchange Screens inconsistancies

Expected Behavior
When exchanging the confirmation should be show in same currency unit As the input. Id also like to see what type of currency im looking at especially on screens where we show both stable coin as cusd and as a local
Current Behavior
When using a currency such as MXN  The "gold" screen lists our stable coin in  cusd as does the exchange screen, but the confirm screen for confirm exchange shows MXN to gold.

addressed by #1341 , closing out


Code Coverage Analysis

Add automated measurement of code coverage using the coverage Python package in combination with pytest.

This requires adding coverage==6.3.2 to the project's requirements.

Here's what the output of the GitHub Actions workflow looks like when there is less than the required level of code coverage:
Run python -m coverage run -m pytest -v
============================= test session starts ==============================
platform linux -- Python 3.10.2, pytest-7.0.1, pluggy-1.0.0
rootdir: /home/runner/work/python-project-template/python-project-template, configfile: pytest.ini, testpaths: tests
plugins: xdist-2.5.0, forked-1.4.0
collected 3 items

tests/test_fixture_usage_example.py .                                    [ 33%]
tests/test_flip_coins_function.py .                                      [ 66%]
tests/test_python_code_quality.py .                                      [100%]

============================== 3 passed in 3.89s ===============================
Name                                  Stmts   Miss  Cover   Missing
-------------------------------------------------------------------
games_of_chance/__init__.py               0      0   100%
games_of_chance/flip_coins.py            28      6    79%   61-64, 69-72
tests/__init__.py                         0      0   100%
tests/conftest.py                         5      0   100%
tests/test_fixture_usage_example.py       6      0   100%
tests/test_flip_coins_function.py         6      0   100%
tests/test_python_code_quality.py        15      1    93%   21
-------------------------------------------------------------------
TOTAL                                    60      7    88%
Coverage failure: total of 88 is less than fail-under=100
Error: Process completed with exit code 2.


#81: syslog handler

This is my first pass at implementing this handler. I wrote a quick little test script which seems to produce the behaviour I expect, but I welcome feedback on it.
package main

import (
  "errors"
  stdlog "log"
  "github.com/apex/log"
  "github.com/apex/log/handlers/syslog"
)

func main() {
  h, err := syslog.New("", 0, "test")
  if err != nil {
    stdlog.Fatal(err)
  }
  log.SetHandler(h)
  log.WithError(errors.New("errormsg")).WithFields(log.Fields{
		"app": "myapp",
		"env": "prod",
	}).Warn("something went wrong\nunfortunately")
}

@tj: ok, I think that works alright, how's this look to you?


Feature Request: ItemAlteration for spell area

So that "Troop Spellcasting" can be automated.

Could also be useful for feats like Directed Channel.


how set up api on local develop environment?

After launch webpack-dev-server by yarn local, how set up api on local develop environment?
I can't move forward from the login screen...

Any update on this ?
In local mode, looks like the app is looking for the api service on localhost:3000 , but I don't think that is included in this repo.  Is that part of the project closed-source?

I Am Allso Facing Same Error Any One Got Solution here ?? Where Will be We Getting Apis tu run code locally

bump :) .. thoughts, @exentrich ?

Change API_ENDPOINT_URL to just https://api.raindrop.io in src/data/constants/app.js


fix: CI/CD

fix: Pub and release are not synchronized.

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


Create libreoffice-language-pack.rb

If there’s a checkbox you can’t complete for any reason, that's okay, just explain in detail why you weren’t able to do so.
After making all changes to the cask:

[ ] brew cask audit --download {{cask_file}} is error-free.
[ ] brew cask style --fix {{cask_file}} reports no offenses.
[ ] The commit message includes the cask’s name and version.

Additionally, if adding a new cask:

[ ] Named the cask according to the token reference.
[ ] brew cask install {{cask_file}} worked successfully.
[ ] brew cask uninstall {{cask_file}} worked successfully.
[ ] Checked there are no open pull requests for the same cask.
[ ] Checked that the cask was not already refused in closed issues.

You need to complete the template in your top post.
Also, as I mentioned in the other issue, there are multiple issues here. I’ll fix some and discuss the others.

Closing in favour of https://github.com/caskroom/homebrew-cask/pull/27465.

it's better like that ;)


Align reopen alert journey with designs

Context
The designs for the Reopen alert journey have evolved since they were first built.
Changes proposed in this pull request
Align the implementation with the latest Figma designs.
Checklist

[ ] Attach to Trello card
[ ] Rebased master
[ ] Cleaned commit history
[ ] Tested by running locally
[ ] Run DQT integration tests locally (if appropriate)

 Align Reopen Alert journey with designs


Decision: how to handle failure of fetching routes config

There might be some cases when this request will be very slow (waiting for response more than 20 sec, before timeout). Seeing blank screen in those cases might not be a best behavior. In those cases maybe fallback to static configuration will be better (and probably dynamic configuration won't be changed on daily basis and it would be recommended to export it from time to time and save in static config). Another solution might be some static fallback page informing about error and recommending refresh.


Integration Test - Release - 2019/02/21 08:46:20

Auto create for integration test. IssueCommandFlow

@adunndevster : Thanks for your contribution! The author, @v-caxian, has been notified to review your proposed change.


Disharmony in server and client construction

Feature
Servers
Clients

created in
Task
Id

created from
builders
config case class

interface
dizzying maze of traits
final case class

executors
default daemon
Option[ExecutorService]

Why should any of these be different?  Discuss.

I like the client implementation except for created in which should be in Task, as with specific conditions it most definitely has side-effects for example when we create an ExecutorService if it is missing.
What does the builders and traits offer to us that we could not handle with the client implementions? Is my question, as certainly the client interface is simpler. However if we can't reach feature parity with a similar implementation that's a problem.

The traits offered a way that you could conceivably configure different servers as ServerBuilder with IdleTimeout with SslSupport, but I don't believe I've ever seen this in the wild.  I might prefer a case class for a BlazeServer config, and a ReaderT to configure a Jetty or Tomcat without foreclosing options their horrid imperative APIs provide.

I'm generally in agreement with @ChristopherDavenport: I like the simplicity of the client. I guess that doesn't preclude a fusion of the two approaches by moving the dizzying maze of traits to the config class. I'm not saying its a good idea, just throwing it out there. :wink:

I remain not a fan of the Option[ExecutorService], but I am less of a fan of running a client or server on daemon threads.  The third way was a marker trait on any non-daemon executor that we opened as a default, but that seemed awkward, too.  I'd still like to think of something better there.
Otherwise, I generally prefer the client model, with the possible exception of Task vs. Id, which is probably informed by whatever we do in the previous paragraph.

A good start on this is at #1071.  Some basic principles:

Use a config object with a .start that returns a Task
Config objects are created with contraband to promote compatibility
Dizzying maze of traits goes away
The executors spun up by the servers themselves are often adequate

I think most or all of these principles also apply to the clients.  When I get done porting blaze over, I'll take a look at that.
If I'm being silly, please go yell on #1071.

The table is obsolete, but a pass making things as common as we can before 1.0 is still merited.  One example that jumps to mind is the use of ip4s types in the binding.


Error [ERR_REQUIRE_ESM]: Must use import to load ES Module

Hi I'm trying to get webpack to work with unified-latex.
Here is my webpack.config.js:
const nodeExternals = require("webpack-node-externals");
const path = require("path");

module.exports = {
  name: 'server',
  entry: {
    server: path.resolve(__dirname, 'server/server.tsx'),
  },
  mode: 'production',
  output: {
    path: path.resolve(__dirname, 'dist'),
    filename: '[name].js',
  },
  resolve: {
    extensions: ['.ts', '.tsx'],
  },
  externals: [nodeExternals()],
  target: 'node',
  node: {
    __dirname: false,
  },
  module: {
    rules: [
      {
        test: /\.tsx?$/,
        loader: 'ts-loader',
        options: {
          compilerOptions: {
            "noEmit": false
          }
        },
      },
      {
        test: /\.(sa|sc)ss$/,
        use: [
          {
            loader: "css-loader",
            options: {
              importLoaders: 2
            }
          },
          {
            loader: "sass-loader"
          }
        ]
      },
      {
        test: /\.svg$/,
        loader: 'url-loader',
        options: {
          limit: 8192,
        }
      },
    ],
  },
}

Here is my tsconfig.json:
{
  "compilerOptions": {
    "target": "es5",
    "lib": [
      "dom",
      "dom.iterable",
      "esnext"
    ],
    "allowJs": false,
    "skipLibCheck": true,
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "strict": true,
    "forceConsistentCasingInFileNames": true,
    "noFallthroughCasesInSwitch": true,
    "module": "esnext",
    "moduleResolution": "node",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "noEmit": true,
    "jsx": "react-jsx"
  },
  "include": [
    "src"
  ]
}

After that I try to run:
node dist/server.js

And I got the following error:
internal/modules/cjs/loader.js:1102
      throw new ERR_REQUIRE_ESM(filename, parentPath, packageJsonPath);
      ^

Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: /app/node_modules/unified/index.js
require() of ES modules is not supported.
require() of /app/node_modules/unified/index.js from<EMAIL_ADDRESS>is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
Instead rename index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /app/node_modules/unified/package.json.

    at new NodeError (internal/errors.js:322:7)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1102:13)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:101:18)
    at Object.<anonymous> (/app/node_modules/@unified-latex/unified-latex-util-parse/index.cjs:39:22)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32) {
  code: 'ERR_REQUIRE_ESM'
}

Seems like package unified-latex-util-parse mix cjs and js in imports. I have tried different approaches, but have achieved a positive result.
Also it seems like "@unified-latex/unified-latex-to-hast": "^1.2.0" has missing .d.ts in npm, but this problem was fixed using following stupid fix:
types-fix.d.ts:
declare module "@unified-latex/unified-latex-to-hast" {
    export function convertToHtml(tree: Ast.Node | Ast.Node[]): string;
};

This can be fixed switching to version 1.1.0 of @unified-latex/*.

Thanks for noticing the missing types! It should be updated in v1.2.1
It looks like the error your getting is because of unified, not unified-latex. It's a bit annoying, but unified does not include cjs exports, so you must import as mjs or transpile. I am not sure if it's helpful, but you can see here:
https://github.com/siefkenj/unified-latex/blob/0cb68f18d7305baff3fb6f253341b035d487ba7f/package.json#L14-L22
For where I had to special case all the unified packages to get them to play nicely with jest. I've also found that esbuild gives me a lot less trouble compared to ts-loader.

The second problem was fixed - thank you very much! With the first one I tried to transpile modules, but no success.
Most likely because there is no complete understanding of how it works.

Removing externals: [], from webpack.config.json solved my problem. I think it will be ok for SSR.


⚠ Bofrost.es has degraded performance

In 9b62c71, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1689 ms

Resolved: Bofrost.es performance has improved in ac693b5 after 34 minutes.


Allow custom S3 endpoint

Allow a custom S3 endpoint, used when not using AWS but a different S3 provider that is AWS compatible.

Using the following environment variables, I was able to save files correctly to S3
STORAGE_SOURCE=storage.s3
STORAGE_AWS_BUCKET=repman
STORAGE_AWS_REGION=eu-central-1
STORAGE_AWS_OPAQUE_AUTH=true
STORAGE_AWS_KEY='*************'
STORAGE_AWS_SECRET='*************'
STORAGE_AWS_ENDPOINT="https://s3.example.com:443"

PROXY_DIST_DIR='/%kernel.environment%/proxy'
PACKAGES_DIST_DIR='/%kernel.environment%/repo'
SECURITY_ADVISORIES_DB_DIR='/%kernel.environment%/security-advisories'

S3 browser through Mountain duck on MacOS:

@akondas The following PR has been locally tested and verified as correctly working for our internal S3 set-up. Should work with most if not all Minio instances out there. Could you review and possibly approve + merge this new feature?


Update standard-clipboard-formats.md

link to LCID definition

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

Thanks for your contribution.  I've merged your changes and they should be live soon.


Web component: Leadspace block - Contact sale button is not operable with spacebar.

Detailed description
Issue: Contact sale button is not operable with spacebar.
Expected Result:
Button should be operable with both enter key and spacebar.
Additional information

@Praveen-sr This is default browser/html behavior. Links (contact sales button) are activated with the 'enter' key. Spacebar by default will advance the page scroll.
cc: @RobertaJHahn

@Praveen-sr This is default browser/html behavior. Links (contact sales button) are activated with the 'enter' key. Spacebar by default will advance the page scroll.
cc: @RobertaJHahn


feat: add change log

Description
Closes: #XXXX

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] targeted the correct branch
[ ] provided a link to the relevant issue or specification
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Codecov Report

:exclamation: No coverage uploaded for pull request base (v2/cosmos/stargate@38f0149). Click here to learn what that means.
The diff coverage is n/a.

@@                  Coverage Diff                  @@
##             v2/cosmos/stargate     #369   +/-   ##
=====================================================
  Coverage                      ?   57.58%
=====================================================
  Files                         ?       17
  Lines                         ?     1339
  Branches                      ?        0
=====================================================
  Hits                          ?      771
  Misses                        ?      472
  Partials                      ?       96


Limit travis release script to a single build

Prevent Travis from building and pushing up multiple times
Fixes #3704

@Random-Liu this should prevent the cri release from running multiple times as well. I am not sure if you saw any bad side effects from that.

LGTM

Sorry, misclick.

Codecov Report

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

@@          Coverage Diff           @@
##           master   #3705   +/-   ##
======================================
  Coverage    42.1%   42.1%
======================================
  Files         129     129
  Lines       14307   14307
======================================
  Hits         6024    6024
  Misses       7383    7383
  Partials      900     900

Flag
Coverage Δ

#linux
45.61% <ø> (ø)
:arrow_up:

#windows
37.07% <ø> (+0.01%)
:arrow_up:

Continue to review full report at Codecov.

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


Could not load file or assembly 'Microsoft.Quantum.Simulators

Describe the bug
Quantum Simulator not working after azure deployment.
To Reproduce
Steps to reproduce the behavior:

Create a Azure Http Trigger project(API when trigger return simulator result from an optimisation algorithm in this case QAOA ) "using Microsoft.Quantum.Simulation.Simulators". The code works fine on local.
Publish this project on Azure
The API when called returns 500
In the error log it appears
2022-04-20T14:10:09.756 [Error] Executed 'Function1' (Failed, Id=760ab337-5c5d-4975-8a76-950bb62982ae, Duration=41ms)Could not load file or assembly 'Microsoft.Quantum.Simulators, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=40866b40fd95c7f5'.

Expected behavior
The same should work after deployment
Screenshots

Additional context
Add any other context about the problem here.

Thanks for your report, @tioberoi! It looks like there may have been a problem with loading native dependencies used by your application, so let me transfer this to the runtime repo where they can help. Thanks!


list-style-type:none for  ?

Why is list-style-type:none used for ol in line 96? We use ol to show lists in a numbered order and this property is removing what separates ol from ul.

This should only affect lists inside <nav>, i.e. navigation menus.
https://github.com/csstools/sanitize.css/blob/9bbf845ad6c5f5e5471ed078c73029c2e0bce1c7/sanitize.css#L96-L97

Oh! Got that. My bad.


elm-binary: Package aarch64 compiler as well

Now we have linux/aarch64 compiler available so package it too.
Signed-off-by: Khem Raj<EMAIL_ADDRESS>

thanks!


Using all the Steps in the Docs yet I still see the same error "Error: Couldn't find next-intl config file. Please follow the instructions"

Description
I am using the latest release of next-intl. I was previously using 2.x and was working fine. I did all the Steps described in this page as the error message suggests.
Here are the files I have:
import createI18nMiddleware from "next-intl/middleware";

export default createI18nMiddleware({
	locales: ["en", "el", "de"],
	defaultLocale: "en",
});

export const config = {
	matcher: ["/", "/((?!api|_next|.*\\..*).*)"],
};

import { getRequestConfig } from "next-intl/server";

export default getRequestConfig(async ({ locale }) => ({
	messages: (await import(`../locales/${locale}.json`)).default,
}));

const { withSentryConfig } = require("@sentry/nextjs");
const withNextIntl = require('next-intl/plugin')();
const path = require("path");

/** @type {import('next').NextConfig} */
const nextConfig = {
	pageExtensions: ["ts", "tsx"],
	compiler: {
		emotion: true,
	},
	experimental: {
		esmExternals: true,
		externalDir: true,
	},
	sentry: {
		disableServerWebpackPlugin: true,
		disableClientWebpackPlugin: true,
	},
	transpilePackages: [
		"@***/components/*",
		"@***/constants/*",
		"@***/cookies/*",
		"@***/theme/*",
		"@***/utils/*",
	],
};

module.exports = withSentryConfig(withNextIntl(nextConfig), {
	org: "****",
	project: "***",
	authToken: process.env.SENTRY_AUTH_TOKEN,

	disableLogger: true,
	hideSourceMaps: true,
	transpileClientSDK: true,
});

import { redirect } from "next/navigation";

export default function RootPage() {
	redirect("/en");
}

import "./globals.css";

import type { PropsWithChildren } from "react";

type RootLayoutProps = PropsWithChildren<Record<string, never>>;

function RootLayout({ children }: RootLayoutProps) {
	return children;
}

export default RootLayout;

import type { PropsWithChildren } from "react";

import { Inter } from "next/font/google";
import { notFound } from "next/navigation";

import { NextIntlClientProvider } from "next-intl";
import { getTranslations, unstable_setRequestLocale } from "next-intl/server";

import { ThemeProvider } from "@midgard/components/ThemeProvider/ThemeProvider";

import { getMessages } from "../../clients/i18n";
import { ApolloProvider } from "../../components/ApolloProvider";

const ALL_LOCALES = ["en", "el", "de"];
const inter = Inter({ subsets: ["latin", "greek"], display: "swap" });

type LocaleLayoutProps = PropsWithChildren<{
	params: { locale: string };
}>;

export function generateStaticParams() {
	return ALL_LOCALES.map((locale) => ({ locale }));
}

export async function generateMetadata({ params }: LocaleLayoutProps) {
	const t = await getTranslations({ locale: params.locale });

	return {
		title: t("LOCALE.METADATA.TITLE"),
		description: t("LOCALE.METADATA.DESCRIPTION"),
	};
}

async function LocaleLayout({ children, params }: LocaleLayoutProps) {
	if (!ALL_LOCALES.includes(params.locale)) {
		return notFound();
	}

	const messages = await getMessages(params.locale);

	unstable_setRequestLocale(params.locale);

	return (
		<html suppressHydrationWarning={true} lang={params.locale}>
			<head>
				<meta
					name="format-detection"
					content="telephone=no, date=no, email=no, address=no"
				/>
				<meta name="color-scheme" content="light dark" />
			</head>
			<body suppressHydrationWarning className={inter.className}>
				<ApolloProvider>
					<NextIntlClientProvider messages={messages}>
						<ThemeProvider>{children}</ThemeProvider>
					</NextIntlClientProvider>
				</ApolloProvider>
			</body>
		</html>
	);
}

export default LocaleLayout;

And it should theoretically work. I deleted node_modules, disabled other middleware removed Sentry in case it conflicted somewhere, yet nothing.
The issue seems to be with the matcher. With the one you are providing all my routes are 404, and with the one that matches mine, throw the above error.
Mandatory reproduction URL (CodeSandbox or GitHub repository)
https://codesandbox.io/p/sandbox/next-intl-bug-template-app-forked-26fy8s?file=%2Fsrc%2Fmiddleware.ts%3A7%2C4&layout=%257B%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522horizontal%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522ROOT_LAYOUT%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522clp1ml0um00093b5xtznwcm9y%2522%252C%2522sizes%2522%253A%255B70%252C30%255D%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522EDITOR%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522id%2522%253A%2522clp1ml0ul00033b5xh3pzt6ve%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522SHELLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522id%2522%253A%2522clp1ml0ul00063b5xts0ianf5%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522DEVTOOLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522id%2522%253A%2522clp1ml0um00083b5xw5ej96sc%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%252C%2522sizes%2522%253A%255B50%252C50%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522clp1ml0ul00033b5xh3pzt6ve%2522%253A%257B%2522id%2522%253A%2522clp1ml0ul00033b5xh3pzt6ve%2522%252C%2522activeTabId%2522%253A%2522clp1mlcsd005z3b5x4vv5w82n%2522%252C%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clp1ml0ul00023b5xfqsqtbgb%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522filepath%2522%253A%2522%252FREADME.md%2522%252C%2522state%2522%253A%2522IDLE%2522%257D%252C%257B%2522type%2522%253A%2522FILE%2522%252C%2522filepath%2522%253A%2522%252Fsrc%252Fmiddleware.ts%2522%252C%2522id%2522%253A%2522clp1mlcsd005z3b5x4vv5w82n%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522state%2522%253A%2522IDLE%2522%257D%255D%257D%252C%2522clp1ml0um00083b5xw5ej96sc%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clp1ml0um00073b5xm5bawiod%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522TASK_PORT%2522%252C%2522taskId%2522%253A%2522dev%2522%252C%2522port%2522%253A3000%252C%2522path%2522%253A%2522%252Fen%2522%257D%255D%252C%2522id%2522%253A%2522clp1ml0um00083b5xw5ej96sc%2522%252C%2522activeTabId%2522%253A%2522clp1ml0um00073b5xm5bawiod%2522%257D%252C%2522clp1ml0ul00063b5xts0ianf5%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clp1ml0ul00043b5xuwzh19r6%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522TASK_LOG%2522%252C%2522taskId%2522%253A%2522dev%2522%257D%252C%257B%2522id%2522%253A%2522clp1ml0ul00053b5x4xs7m1qa%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522TASK_LOG%2522%252C%2522taskId%2522%253A%2522start%2522%257D%255D%252C%2522id%2522%253A%2522clp1ml0ul00063b5xts0ianf5%2522%252C%2522activeTabId%2522%253A%2522clp1ml0ul00043b5xuwzh19r6%2522%257D%257D%252C%2522showDevtools%2522%253Atrue%252C%2522showShells%2522%253Atrue%252C%2522showSidebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%257D
Reproduction description
Steps to reproduce:

Open reproduction
See error: …

The error stems from the path matcher. In real project, we might have more complicated stuff. What should we use then? Is it a bug in next-intl?
Expected behaviour
When I use a matcher, it should match the routes we have in our applications and not show 404, and should be able to use next-intl as well.

I think your matcher is off and doesn't match /en.
The matcher that the docs suggest for localePrefix: 'as-needed' works for me in your CodeSandbox (fixed version). If you need something more specialized, make sure that it matches all relevant pathnames in your app.
Hope this helps!

Closing this due to inactivity.

Sorry for this, but I tried a brand new repo. Copying one to one from the examples file on you repo. It just doesn't work. I am not sure what the problem is. It just doesn't work. The code is the same, I even copied the pathnames strategy to be sure.
What am I doing wrong? The error keeps saying it cannot find the next-intl config. Where is that config? The main diff with the examples I see, is I need the NextIntlClientProvider. The examples don't use it. So, they don't pass it the messages. Any help would be appreciated. I can even invite you for a bit on the private repo.
Or even a simple example that has the NextIntlClientProvider and something close to my setup would be great. Thank you in advance..

Here is an example. It is 1-2-1 what you have in the examples. Can you take a look please? I am sure it should be working. What am I doing wrong?

Change your next.config.cjs to next.config.js should fix it. Took me a long time to figure this out too.

I'm not using cjs but still get the same issue. The docs are very confusing, the client way of setting up aks for no next.config alterations and also no special config files are needed. But it is impossible to make it work without ir.


Modify using-multiple-sources-in-one-task.md

merge-stream do not work and cause the error: TypeError: Cannot read property 'once' of undefined. But event-merge work right

No, that module is unmaintained


⚠ Bofrost.at has degraded performance

In 2264b83, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2185 ms

Resolved: Bofrost.at performance has improved in 26f98dd.


Be able to answer questions

When a user asks a question, there should DEFINITELY be a mechanic for answering the question.

Solved with Release v0.3.1, Pull #9, commit 2957b0532d8e495d564e0d2b0e6bed0035d7475f


Validate that Weaver is compatible with older versions of the registry

Currently, Weaver is compatible with registries from version 1.22 to the most recent one. However, there is no specific test dedicated to validating support for older versions. It would be beneficial to add a test modeled after the one that verifies the registry check command (see tests/registry_check.rs).
This test should execute the registry check command on each archive of the registries, starting from version 1.22 up to the latest. To avoid introducing external dependencies on content from GitHub in our tests, I propose copying these archives into a Weaver directory and performing the validation on these local archives (Weaver already supports this mode).
Of course, this means maintaining these archives within Weaver. If there’s a more dynamic way to achieve this without adding external dependencies, it should definitely be explored.
In any case, this test should fail if one or more registry checks fail. Ideally, the test should return the version numbers of all registries that could not be validated.

What is the need for being backwards compatible?
My understanding is that the schema defined in https://github.com/open-telemetry/weaver/blob/main/schemas/semconv-syntax.md is versioned via git tags/releases. To avoid polluting the code with a lot of backwards compatibility logic and tests, perhaps the user should use the appropriate tag/release of weaver for the version of schema they need?
If we take this approach, there is already quite a bit of code and tests which could be removed rather than maintained.

The main need for supporting multiple versions of the registry will become significantly more important when we support the multi-registry scenario (which is our next focus). In this context, it will be difficult to get everyone to agree on the schema versions of different registries. Let's say the beginning of multi-registry support corresponds to semconv registry 1.32. Subsequently, people start creating registries that extend 1.32 and others that extend 1.33. In this case, Weaver will need to be able to read these registries even if they follow different schemas.

I see... Perhaps this task would be simpler and more accurate if the standard included a schema version declaration at the top of each yaml semconv file. Then weaver could use this to ensure compliance with that schema version. This would allow for clear branches in the parsing code.
Without an explicit schema version declaration the parser has to "guess" compatibility, the code becomes more tangled and the compliance is weaker. In effect you're checking compliance against a range of versions.

@lquerel - I've made a draft PR #515 for this. Is this what you had in mind? Let me know what you think.

Implemented in #515


Can't deploy a react web app in AWS Amplify (Dynamic web app)

Dear AWS support team,
I have a problem to deploy a REACT web application connected with  with Backend environments using DynamoDB, GraphQL API, Cognito, Lambda Function.
Problems I got

Deployment steps from AWS Amplify,
1.1  It blocked in Build step : after a search I found that I need to change Amplify CLI version from lastest to 3.3.27, from Build settings>  Build image settings> Version
1.2.  It's block in Deploy:  I get this message

2021-05-17T22:06:42 [INFO]: Starting Deployment
2021-05-17T22:06:42 [ERROR]: Failed to deploy

Deployment with amplify hosting
in this step I made these cmd
amplify add hosting >
Hosting with Amplify Console (Managed hosting with custom domains, Continuous deployment)  >
amplify publish >
I got is error

✖ There was an error pulling the backend environment dev.
An error occurred during the push operation: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
My question
what should I do ? Especially, there is no message based on it
Thank you in advance

@MedNabilEssefaihi is the version you are using 3.3.27?

Hello Mr @ammarkarachi
this is my json file

{
"name": "design",
"version": "0.1.0",
"private": true,
"dependencies": {
"@aws-amplify/ui-react": "^1.0.7",
"@material-ui/core": "^4.11.3",
"@material-ui/icons": "^4.11.2",
"@material-ui/lab": "*",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"aws-amplify": "^3.4.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"validation-latitude-longitude": "^1.1.3",
"validator": "^13.6.0",
"web-vitals": "^1.0.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}

Is there a reason why you are unable to use the latest version?

Do you mean  "aws-amplify": "^3.4.3", ? if yes. I tried to updated using npm i aws-amplify but it did't work, also i try npm i aws-amplify@latest didn't work too

@MedNabilEssefaihi The library you are referring to is the amplify js client library npm link.  You are likely looking for the Amplify CLI library which can be install using npm i -g @aws-amplify/cli@latest. The CLI library is the framework that helps you add the categories and deploy the resources

I updated the CLI and aws-amplify
but it still the same problem

The console is looking for the dev branch and it looks like it does not exist

Closing this issue let me know if you need anything else

@ammarkarachi Thank you
I made it, the solution is I needed to update my npm version


[Python][CI] Skip failing test_dateutil_tzinfo_to_string

Describe the bug, including details regarding any error messages, version, and platform.
We should skip test_dateutil_tzinfo_to_string that started failing with the new release of python-dateutil in order to enable new minor Arrow release.
Connected to: https://github.com/apache/arrow/issues/40337
Component(s)
Continuous Integration, Python

Issue resolved by pull request 40486
https://github.com/apache/arrow/pull/40486


Tab refactoring (replacement of #1083)

See discussion in #1083 „Fixed loading of tabs, implemented delayed loading on re-open (#1061), and tab visit order (#1070)“

@TAKeanice thanks for moving the changes into a new branch :) I noticed you have an empty email address in your git config - if you've done this for privacy reasons you can use the special github noreply email address https://help.github.com/articles/about-commit-email-addresses/  which will then link your commits to your github account.

After this has been merged we can add the user preference.

You are right about the email, thanks for the hint. I did not do it for privacy reasons. In my future commits, the email will be included.

I need to think about it a bit more before merging…
I am completely OK with the solution for #1061, but #1070 requires more attention as it impacts users' habits.
Current proposal feels a bit unnatural to me, but I am not sure what needs to be fixed.
At the time being, I think the final goal should be something more "Safari like".  How about this ?

Links opened from the primary tab would open on a far right tab.
Links opened from a browser tab would open into a new tab, adjacent to the current one

When tabs are closed :

tabs created by scenario 1. would switch to the tab located on their right
tabs created by scenario 2. would try to come back to the tab which created them ; if this is not possible, they would switch to the one located on their right

I understand your idea. I had not observed the behavior in Safari close enough to realize that.
There is one more thing in Safari though: When the user has reordered the tabs, closing a tab does not return to the parent tab.
The behavior you described in scenario 2 only works if the opened tab is directly right of the parent tab. Which I find a little confusing.
I have another suggestion: we could set that we always switch to the left tab when a tab closes. This would mean that

Once we create a tab from the article list, it becomes the last tab. When a user opens and then closes that tab, the tab he had created before is opened.
Once we create a tab from the browser, open it and close it again the tab from which it was created is opened again (if it is still there)
If we open a random tab, and close it, the tab left of it will be opened (which is as good as any other neighboring tab)
If we open the leftmost tab and close it, we return to the article list

The last point could be replaced by opening the new leftmost browser tab.

Of course I always assume my reading behavior.

I usually tap my way through the article list with the arrow keys, while opening every article that I find interesting as a tab (with the enter key).
Then I select the last tab I opened and start reading, then close it, then read the one left to it.
If I start reading in the middle of my tabs, it is because I want to save the remainder of tabs (the ones on the right) for later. In that case, I am annoyed that the tab that I do not want to read next opens, and I need to switch to the tab left of it myself.
I never want to return to the article list unless I am expecting to find unread articles there, but since I have opened all articles that I wanted to read and there are no remaining unread ones, that is not the case until the next refresh.

Let us think of another user, with different behavior:

He opens a tab, to read it immediately
If he leaves a tab open, he wants to read it again later.

Yet another user:

Opens a tab
While reading that tab, creates multiple new tabs from links on the page
When he finished reading, he wants to read the tabs he has opened from the page

This user would prefer if the tabs on the right opened by default (or at least for tabs created from the current tab).
Yet another user:

Opens multiple tabs (like me)
Starts reading with the one he first opened
If he starts in the middle of the tab list, he wants to save the tabs on the left (the older ones) for later.
Sometimes he clicks a link on a page in a new tab, but just to know what is behind it

This user would prefer that always tabs on the right open first, unless it is a tab created from the current page. He would also like to have the klicked link with "open in new tab" actually open directly instead of in the background
So now we got the headache... What do you think is the most reasonable thing to do?

I resemble the later user, because my workflow is optimized for a slower internet connection :

Vienna is configured to open links in background
I scroll the reading list, and open links which interest me
When I have finished with the reading list, I then read the tabs I opened from left to right, because I expect tabs from the left to have finished loading earlier than the ones from the right
sometimes, I would ask a link from a webpage to open in the background in a new tab

So, current Vienna behavior (switching to next tab on the right) is almost always perfect for me.

There we have a textbook example of the problems with mental models of users and developers...
Anyway I have introduced some new booleans which make the behavior completely configurable. Of course that would be overwhelming for any user if there is no sensible default. The configuration that I hard-coded currently should restore the old behavior perfectly. If you like, play around with the options and see if you can find users that I have not taken care of!


[QST] Exposing the GPU operator exec classes to user

What is your question?
I'm trying to use the following classes for checking the RAPIDS overridden physical plan (for internal validations that Spark jobs are using RAPIDS acceleration as expected):
GpuProjectExec,GpuHashAggregateExec,GpuColumnarToRowExec,GpuRowToColumnarExec,GpuBroadcastHashJoinExec

And I can see these classes as a part of the v21.10 jar:

However on importing these classes I see the following error:
error: object GpuProjectExec is not a member of package com.nvidia.spark.rapids
       import com.nvidia.spark.rapids.{GpuProjectExec,GpuHashAggregateExec,GpuColumnarToRowExec,GpuRowToColumnarExec}

error: object shims is not a member of package com.nvidia.spark.rapids
       import com.nvidia.spark.rapids.shims.v2.GpuBroadcastHashJoinExec

Can we have these classes loadable outside of the catalyst by the user?

@gerashegalov , @tgravescs Can we look into the below as suggested by Gera:
 We could add some def ensureXYZ(plan: SparkPlan) to SparkShims (or a dedicated trait) and then calling it will be safe across classloader boundaries.

While trying to add the operator exec classes, I'm seeing it depends on a lot of classes like com.nvidia.spark.rapids.GpuExec, com.nvidia.spark.rapids.Arm, etc. I'm not sure what is the complete list of all classes that need to be added to https://github.com/NVIDIA/spark-rapids/blob/branch-21.12/dist/unshimmed-common-from-spark301.txt file, to get this to work. Could you please help with this for the time being, till we have a more robust long-term solution for this?

If the dependencies are a lot there, then you might just end up with most of the classes being in there, which seems like a lot of work.
So how many API's are you using?  I think there are a few options here.

if not very many, seems like just changing your test code to use Strings or something would be less work.
Is this run as a notebook or are you pre-compiling the tests?  If pre-compiling you might be able to build that against the aggregator jar but then run against the official dist jar in your image because the classloader would have loaded the classes you need by then.

Got it, thanks @tgravescs we will proceed with using Node strings to validate, closing this issue.


How to get " 0038-------------------------FMU value " from Teletonika packet

Hi,
From the source code, where can I find the FMU value decoded ?
I want to check its value by printing on UI or Log file.
Please find the attached FM1100 packet doc.
Teltonika_FM1100.docx.pdf
Thanks,
Kiran.

Each Teltonika value has an id. Please study the code and documentation before asking questions.

We could see the id and value from the server log DEBUG message. Thanks.


Request to Push Devel into Master

Looking to push devel into master.

Clone of devel into master.
Approvead


[Doc issue] no ingress installed so dev_dns_updater did nothing

Describe the bug
I've been followed the document to deploy pixie cloud, and setup-dns section would update /etc/hosts if there is any ingress rules in k8s cluster. But it didn't have!
➜  pixie git:(main) ✗ kubectl get ing
No resources found in default namespace.
➜  pixie git:(main) ✗ kubectl get ing -n plc
No resources found in plc namespace.

And it of course doesn't change anything:
➜  pixie git:(main) ✗ ./dev_dns_updater --domain-name="dev.withpixie.dev"  --kubeconfig=$HOME/.kube/config --n=plc
INFO[0000] DNS Entries                                   entries="dev.withpixie.dev, work.dev.withpixie.dev, segment.dev.withpixie.dev, docs.dev.withpixie.dev" service=cloud-proxy-service
INFO[0000] DNS Entries                                   entries=cloud.dev.withpixie.dev service=vzconn-service

It didn't change /etc/hosts file!
To Reproduce
Expected behavior
Should update /etc/hosts and we could visit dev.withpixie.dev in browser.
Screenshots
Logs
App information (please complete the following information):

Pixie version: master branch
K8s cluster version: minikube on macOS 10.15.7 k8s version v1.22.2

Additional context

dev_dns_updater looks for LoadBalancer type services named cloud-proxy-service and vzconn-service
These are created by k8s/cloud/overlays/exposed_services_ilb
It seems like you might have changed the overlays and somehow don't have these LoadBalancers running.
Can you check the output of the following:
kubectl get service cloud-proxy-service -n plc
kubectl get service vzconn-service -n plc

If you have jq installed, you can also check the following:
kubectl get service cloud-proxy-service -n plc -o json | jq '.status.loadBalancer.ingress'
kubectl get service vzconn-service -n plc -o json | jq '.status.loadBalancer.ingress'

and make sure they both return valid IPs.

Hi @vihangm
Thanks for your reply! I'm using minikube on macOS, and I could confirm that I did have these two services:
➜  pixie git:(main) ✗ kubectl get service cloud-proxy-service -n plc

NAME                  TYPE           CLUSTER-IP      EXTERNAL-IP   PORT(S)                                       AGE
cloud-proxy-service   LoadBalancer   <IP_ADDRESS>   <pending>     443:31926/TCP,4444:30084/TCP,5555:30806/TCP   22h
➜  pixie git:(main) ✗ kubectl get service vzconn-service -n plc

NAME             TYPE           CLUSTER-IP     EXTERNAL-IP   PORT(S)           AGE
vzconn-service   LoadBalancer   <IP_ADDRESS>   <pending>     51600:32410/TCP   22h

Besides, I didn't have the corresponding loadBalancer for those two services, as I checked the minikube's document, should I configure the minikube tunnel to allow loadbalancer accessible via external ip?
BTW, I chose the other way before, see #350, by deploying ingress-nginx controller, and manually applied kustomize build k8s/cloud/overlays/exposed_services_gclb, and correct the syntax since k8s v1.18 changed its ingress format. I also manually configured ingress-nginx certificates to cloud-proxy cert, by the following operations:
$ minikube addons configure ingress
-- Enter custom cert(format is "namespace/secret"): plc/cloud-proxy-tls-certs

I also manually configured the hosts file, added:
<IP_ADDRESS>     dev.withpixie.dev work.dev.withpixie.dev segment.dev.withpixie.dev docs.dev.withpixie.dev
<IP_ADDRESS>     cloud.dev.withpixie.dev

Therefore, I could visit https://dev.withpixie.dev and configured the passwd by the recovery link. But, as #350 said, I get stuck with px auth login, and even don't have a solution so far.
I hope we could update the deploy document, and revise the content according different environment, e.g. minikube, gke, aws eks, etc..
Thanks!

exposed_services_gclb are designed for GKE with an ingress, they are unlikely to work with minikube as is.
As for minikube, I didn't get a chance to try on macOS, but I just setup pixie from scratch on minikube with kvm driver on linux. You are correct, one does need to run minikube tunnel to make sure the that LoadBalancers get IPs assigned but after that everything works. The UI, password reset, CLI login and pixie deploy all succeeded for me.
I'll make sure we add some information about minikube tunnel to the docs.

OK, Thank you! I'll try to install pixie with running minikube tunnel as well.

Hi @vihangm
I've been tried to install pixie with running minikube tunnel, it did work well with dns-updater, and I'm able to open the browser and reset passwd. But I failed to do pixie deploy, see logs below:
➜  pixie git:(main) ✗ px deploy --dev_cloud_namespace plc

Pixie CLI
*******************************
* IN TESTING MODE
* 	 PL_CLOUD_ADDR=dev.withpixie.dev
*******************************

Running Cluster Checks:
 ✔    Kernel version > 4.14.0
 ✔    Cluster type is supported
 ✔    K8s version > 1.16.0
 ✔    Kubectl > 1.10.0 is present
 ✔    User can create namespace
 ✔    Cluster type is in list of known supported types
Installing Vizier version: 0.8.6
Generating YAMLs for Pixie
Deploying Pixie to the following cluster: minikube-test-cluster
Is the cluster correct? (y/n) [y] : y
Found 1 nodes
 ✔    Installing OLM CRDs
 ✔    Deploying OLM
 ✔    Deploying Pixie OLM Namespace
 ✔    Installing Vizier CRD
 ✔    Deploying OLM Catalog
 ✔    Deploying OLM Subscription
 ✔    Creating namespace
 ✔    Deploying Vizier
 ⠙    Waiting for Cloud Connector to come online
FATA[0349] Timed out waiting for cluster ID assignment

I could see only the nats operator pod stuck in CrashLoopBack, see logs below:
➜  ~ kubectl get pods -n pl
NAME                             READY   STATUS             RESTARTS      AGE
nats-operator-79b4b67559-lqfjl   0/1     CrashLoopBackOff   6 (64s ago)   7m5s
➜  ~ kubectl logs nats-operator-79b4b67559-lqfjl -n pl
time="2021-11-10T02:11:16Z" level=info msg="nats-operator Version: 0.5.0-v1alpha2+git"
time="2021-11-10T02:11:16Z" level=info msg="Git SHA: 2db81ca"
time="2021-11-10T02:11:16Z" level=info msg="Go Version: go1.11.5"
time="2021-11-10T02:11:16Z" level=info msg="Go OS/Arch: linux/amd64"
time="2021-11-10T02:11:16Z" level=info msg="nats-operator is operating at the namespace scope in the \"pl\" namespace"
E1110 02:11:16.197843       1 event.go:259] Could not construct reference to: '&v1.Endpoints{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"nats-operator", GenerateName:"", Namespace:"pl", SelfLink:"", UID:"14fccdb9-85ac-4f27-956c-98a208d927ec", ResourceVersion:"4437", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63772106725, loc:(*time.Location)(0x1fd15c0)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string{"control-plane.alpha.kubernetes.io/leader":"{\"holderIdentity\":\"nats-operator-79b4b67559-lqfjl\",\"leaseDurationSeconds\":15,\"acquireTime\":\"2021-11-10T02:05:25Z\",\"renewTime\":\"2021-11-10T02:11:16Z\",\"leaderTransitions\":0}"}, OwnerReferences:[]v1.OwnerReference(nil), Initializers:(*v1.Initializers)(nil), Finalizers:[]string(nil), ClusterName:""}, Subsets:[]v1.EndpointSubset(nil)}' due to: 'selfLink was empty, can't make reference'. Will not report event: 'Normal' 'LeaderElection' 'nats-operator-79b4b67559-lqfjl became leader'
time="2021-11-10T02:11:16Z" level=fatal msg="unexpected error while running the main control loop: the server could not find the requested resource"

The other pods in each ns was ready:
➜  ~ kubectl get pods -n plc

NAME                                       READY   STATUS      RESTARTS   AGE
api-server-5d9845df46-txlr4                1/1     Running     0          19m
artifact-tracker-server-5d9b7f45b6-sctwr   1/1     Running     0          19m
auth-server-7b57c6965-stbgp                1/1     Running     0          19m
cloud-proxy-6b8455fddc-4ggg5               2/2     Running     0          19m
config-manager-server-58554d965b-rxncn     1/1     Running     0          19m
create-admin-job--1-rf97f                  0/1     Completed   0          19m
create-hydra-client-job--1-2h7gl           0/1     Completed   0          19m
dnsmgr-server-7fb5b7c48b-2pjjx             1/1     Running     0          19m
elastic-operator-0                         1/1     Running     0          29m
hydra-7cf59c49c6-ksz6l                     1/1     Running     0          19m
indexer-server-6c45d7d65b-5lxlk            1/1     Running     0          19m
kratos-7c549b66f4-95fgv                    1/1     Running     0          19m
pl-elastic-es-data-0                       1/1     Running     0          28m
pl-elastic-es-master-0                     1/1     Running     0          28m
pl-nats-0                                  1/1     Running     0          29m
pl-nats-1                                  1/1     Running     0          28m
pl-stan-0                                  1/1     Running     0          29m
pl-stan-1                                  1/1     Running     0          28m
postgres-5cb4875b6d-pcbx4                  1/1     Running     0          29m
profile-server-664b4697cd-98jqt            1/1     Running     0          19m
project-manager-server-5597bb454-bzlgc     1/1     Running     0          19m
scriptmgr-server-6dddf96b58-fhg4s          1/1     Running     0          19m
vzconn-server-79f6b6c5c7-5n4l8             1/1     Running     0          19m
vzmgr-server-66957dcf5-5t7ln               1/1     Running     0          19m
➜  ~ kubectl get pods -n olm

NAME                               READY   STATUS    RESTARTS   AGE
catalog-operator-8dc86744b-vj8hv   1/1     Running   0          13m
olm-operator-6d88f56b99-xvj57      1/1     Running   0          13m
➜  ~ kubectl get pods -n px-operator

NAME                                                              READY   STATUS      RESTARTS   AGE
28cc2c5100e022e83bdd16277e267642d9d4f9c490ff69906c5c63--1-btlcl   0/1     Completed   0          6m39s
pixie-operator-index-4cnrk                                        1/1     Running     0          12m
vizier-operator-7659bb44f-hkfc2                                   1/1     Running     0          6m19s

Is there anything missed to do?

Can you git pull the repo and try again? My changes in 79fe81297b431276f543e22ee1008653a5e93bed should address the issues you are seeing.
(Note that you need to either redeploy all of cloud from scratch or at the very least reapply k8s/cloud/public/artifact_tracker_versions.yaml and then bump the artifact-tracker-server pod.)

Yes, and I met a new issue, see logs below:
Waiting for Pixie to pass healthcheck
 ✕    Wait for PEMs/Kelvin  ERR: Failed to schedule pems:
'vizier-pem-gd77d': '0/1 nodes are available: 1 Insufficient memory.'
Failed Pixie healthcheck error=Failed to schedule pems:
'vizier-pem-gd77d': '0/1 nodes are available: 1 Insufficient memory.'

I'm going to recreate a new minikube node with larger memory...

Failed again with healthcheck issue:
Waiting for Pixie to pass healthcheck
 ✔    Wait for PEMs/Kelvin
 ✕    Wait for healthcheck  ERR: timeout waiting for healthcheck
Failed Pixie healthcheck error=timeout waiting for healthcheck

I wonder which things the healthcheck did and why it failed.

Note that the health check has a timeout and will mark it as failed if it doesn't pass however it's still possible for pixie to stabilize.
I have recently noticed that on minikube it takes a lot longer for some of the pods to come up and stabilize so the CLI deploy will make a failed health check but if you wait a few minutes and check the pod status/go to the Pixie UI, things should work.

Hi @vihangm
Thanks for your help! Finally I completed the installation! I've been proposed PR pixie-io/docs.px.dev#111 to fix the issues I met.

Closing this out since it sounds like you got things running. Docs updates have been merged.

@vihangm Hi, I'm trying to install self-hosted pixie on dev k8s cluster in my company, and I find the same problem as this issue posted. Is it possible to change the service from loadbalancer to nodeport?


[Work Item] add web.config check

Need to add a check to validate all the web.config files have the HttpRequestFilteringModule in them

@tweekerz  we have some code already out there in Health Checker that does find the Web.config file for the app pools. We can create a Shared function that we can use in both Health Checker and Test-AMSI. Let me know what you all need.

@dpaulson45 are you parsing the web.configs for what's within them? I am basically working with GCI and select-string for the module Like this:
Get-ChildItem -Recurse -Path '$installpath' -Filter web.config | Select-String HttpRequestFilteringModule | Select-Object -ExpandProperty Path
Then I would need to sort and compare and notify on the web.configs that are missing HttpRequestFilteringModule

@tweekerz I am not currently parsing them. I collect them or I also do this with gathering the Web App information.
https://github.com/microsoft/CSS-Exchange/blob/main/Diagnostics/HealthChecker/DataCollection/ExchangeInformation/Get-ExchangeAppPoolsInformation.ps1
Is Test-AMSI able to be run remotely? If it is, this might be something that we should tackle and place in Shared. Something that at least collects the config file location/content to be able to parse out the information.

@tweekerz recently created this logic, wouldn't be hard to include what you are looking for was well.
https://github.com/microsoft/CSS-Exchange/blob/main/Diagnostics/HealthChecker/DataCollection/ExchangeInformation/Get-ExchangeIISConfigSettings.ps1


ja: Make docs/concepts/containers/images.md follow v1.18 of the original text

This is a Feature Request

What would you like to be added
Update docs/concepts/containers/images.md to follow v1.18 of the original (English) text.
Why is this needed
content/ja/docs/concepts/containers/images.md is outdated.
Comments
/language ja
/good-first-issue
File to update
https://github.com/kubernetes/website/blob/dev-1.18-ja.2/content/ja/docs/concepts/containers/images.md
Original
https://github.com/kubernetes/website/blob/fb6364d/content/en/docs/concepts/containers/images.md
diff between translated and v1.18
https://gist.github.com/cd61f95a6d7a368344791fdcf1d40e90
Note
Currently, we use dev-1.18-ja.2 branch. Please open a PR targeting the branch.
ref
https://kubernetes.io/ja/docs/contribute/localization/
If you have a question, feel free to ask us at slack.k8s.io #kubernetes-docs-ja channel.

It seems already followed v1.18 of the original text.
https://github.com/kubernetes/website/pull/23088 was created after https://github.com/kubernetes/website/blob/fb6364d/content/en/docs/concepts/containers/images.md
/close


Hello, I have turned on family monitoring. Is it not working properly?

I'm using docker and I get the error "Error: Encrypted message authentication failed", is this because I have Steam's home monitoring enabled. Will you support the ability to use Steam with home monitoring enabled in the future? Thank you!

Hi, I am kinda confused, are you talking about Family Sharing or Family View?

I setup the Family View, and it seems to be working fine. No errors whatsoever.
Can you check if the error occurs if you disable the Family View?
Can you also test whether it is an issue that is tied to your account specifically, and maybe try it on a completely different account?


Add scanner config for using the front camera

Here's the PR again on develop.
We are using Android devices as control pads for a device, the phone is mounted into the device itself so the back camera is not useable. The devices are enrolled into Azure IOT Central via a QR code.

@justinwyer your changes are available in the new 1.4.0 release.


ion-view empty value problem

A ion-view with an empty view-title doesn't work as expected. Its retain the last ion-view from another view.
If "TabA" have one view "ViewA" without title and you navigate to "TabB" view "ViewB" with title "ABC". When you go back to "TabA" its show "ABC" on the title.

Greetings @alexnaldo!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

Greetings @alexnaldo!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.


Update Target Based Resolution (CI)

Copy of apple/swift-package-manager#3838 with a an GitHub action to check validity outside Apple’s CI.

Closing. This and related PRs are stale and I do not have time to maintain them anymore. I will leave the related branches around for now in case anyone else wants to pick them up.


[DON'T MERGE] informal guidelines for new prod install

this is just a set of extremely informal notes accompanying https://github.com/mendersoftware/mender-helm/pull/29.
I made them while working on https://tracker.mender.io/browse/MEN-4679, so that the person who will translate these to actual new production docs will have something to go on. it might not be clear just from my output.
very WIP quality, strictly throwaway PR - certainly don't merge!
changelog: none
Signed-off-by: Marcin Chalczynski<EMAIL_ADDRESS>External Contributor Checklist

🚨 Please review the guidelines for contributing to this repository.

[ ] Make sure that all commits are signed with git --signoff. Also note that the signoff author must match the author of the commit.

Description
Please describe your pullhttps://github.com/mendersoftware/mender-helm/pull/29 request.
Thank you!

@mchalski Close? :scissors:

@lluiscampos closing this one indeed. actual rework of these docs is already in master.


drivers: adc: Includes MagnTek MT6701

Adds support to the Magnetic Angle Sensor MT6701 from MagnTek.
Datasheet for reference:
https://www.lcsc.com/datasheet/lcsc_datasheet_2109011830_Magn-Tek-MT6701CT-STD_C2856764.pdf

@uLipe could I have your input on this one?

Please if this driver is not ready for review, change it to draft.

@viniciusmiguel any update here?

looks like this needs a rebase. But not sure you're still available to work on this, @viniciusmiguel?


audio not working aiy voice kit with raspberry pi 3 b+

so recently i was gifted a aiy voice kit and i followed the instructions in the manual,but when i run the check_audio.py no audio plays,i tried reconnecting the speaker and it still dosnt work(i speaker works,i tried using a aux cable to power it and worked,so the speaker isnt faulty)

@mexanarock Do you see any error while executing 'check_audio.py' ?
Di you try to connect an earphone into 3.5mm audio jack and see if the audio plays there ?

i used a 2018 image and it works now,vol was low but asking google to set vol to max fixed that