Add fps counter

Add an fps counter (issue #470) and a way to display it. To enable or disable it, call the function Window.setFPSCounter:
Window.setFPSCounter(window,true/false);

any chance you could land a frame render time in this? should just be 1 more line of text to display but I think it's super useful for debugging

It'll take a bit more effort to make it readable, since it's updated every render frame it'll look like a bunch of flickering digits.

Alright, I'm pushing a commit that resolves everything above, and I added a --show-fps flag in the example.

@glennsl you're right, taking the average works and looks much better. As for the second part, wouldn't that essentially just be me manually re-implementing a timer?

It would, but more declaratively. You don't have to manage a timer instance, and it's overall much simpler. A timer (in the render loop) is just a counter and a conditional asking "is it time yet?".

makes sense, I'll do that

Before this is merged, I'm considering also showing the average frame render time like @OhadRau suggested earlier. What should it be labelled as when displayed? I'm thinking AFT: ... for average frame time.

I think what @OhadRau was referring to is the time it took to render each frame, not the time between frames. And I think that would be very useful as well. That's actually a thing we have been getting from logging via Performance.bench, and it's an awfully noisy way of doing it. Replacing that would be great!

In that case, it might be worth creating a separate issue for that, instead of tacking it on to this pr.

Nice, all checks pass, I'd like to know if I've sufficiently satisfied all requests?

Thanks for the contribution, @Grinshpon !


grafana and prometheus-values broken for v0.6.5

Version

Karpenter: v0.6.5

Kubernetes: v1.21
Expected Behavior

the grafana dashboard can display pod and node metrics correctly
Actual Behavior

the metrics don't display
Steps to Reproduce the Problem

follow all steps from the get started page
Resource Specs and Logs

solution:
grafana-values.yaml: update last 4 lines:
    pod-dashboard:
      url: https://karpenter.sh/preview/getting-started/getting-started-with-eksctl/karpenter-pod-metrics.json
    node-dashboard:
      url: https://karpenter.sh/preview/getting-started/getting-started-with-eksctl/karpenter-node-metrics.json

prometheus-values.yaml: update last one line:
        - karpenter.karpenter:8080

Thank you for opening an issue we fixed the problem please feel free to reopen in case the issue persists.


Firmware missing for Intel Dual Band Wireless-9560

The Intel Dual Band Wireless-AC 9560 firmware was supposed to be included in v2.27, but it looks like we did not do that, as we did not properly manage the flow of the previously reported issue.
The needed firmware is iwlwifi-9000-pu-b0-jf-b0-34.ucode
 Front conversations

Closing issue as the firmware will be available in release v2.29.2+rev2 or newer


Generating fully-quantized models in Pre-trained checkpoints (.chkpt) or GraphDef (.pb)  format

Please make sure that this is a feature request. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:feature_template
System information

TensorFlow version (you are using):1.12.0-rc2
Are you willing to contribute it (Yes/No): Yes

Describe the feature and the current behavior/state.
By Using the TensorFlow Lite Converter tflite_convert to optimize the TensorFlow graphs and convert them to the TensorFlow Lite format for 8-bit inference.
Can we have a feature to optimize the TensorFlow graphs and convert them to .chkpt or .pb format?  So, We can Initialize the WB in tensorflow and do inference with 8-bit.
Will this change the current API? How?
No
Who will benefit with this feature?
The developers who want only Int-8 quantization model(WB) and not depend on TFLite.
Any Other info.
No

@nullbyte91 Could you describe the feature and its context with little more detailas? Thanks!

@jvishnuvardhan
I'm trying to understand quantize aware training with cifarnet from models/research/slim/nets/ and Extract INT8 WB and dump it in checkpoints (.chkpt) or GraphDef (.pb) format not tflite.
Prepare a network for quantization and training:
Add fake quantization layers to the model graph by adding tf.contrib.quantize.create_training_graph() before optimization procedure and train the network. For example,
I train the network for 10000 steps and used tf.contrib.quantize.create_training_graph(quant_delay=90000). The value 90000 indicates that the model will be trained for 90000 steps with floating-point weights and activations, before the quantization process begins.
Prepare the Graph for Inference:

Add fake quantization layers to the graph by adding tf.contrib.quantize.create_eval_graph() before graph_def = graph.as_graph_def().
Export the inference graph to a protobuf file. For CifarNet this is done using:
python export_inference_graph.py --model_name=cifarnet --dataset_name=cifar10 --
output_file=/tmp/cifarnet_inf_graph.pb.
Freeze the graph using the freeze_graph tool. You can specify any checkpoint during training for this. The command to freeze the graph is:
python -m tensorflow.python.tools.freeze_graph
--input_graph=<your_graph_location>
--input_checkpoint=<your_chosen_checkpoint>
--input_binary=true
--output_graph=<output_directory>
--ouput_node_names=<output_nodes>

If we look at the Quantization aware training doc from Tensorflow,
The previously demonstrated after-rewrite eval graph only simulates quantization. To generate real fixed-point computations from a trained quantization model, convert it to a fixed-point kernel. TensorFlow Lite supports this conversion from the graph resulting from create_eval_graph.
Quantize the Graph:
tflite_convert --graph_def_file=<your_frozen_graph>
--output_file=<your_chosen_output_location>
--input_format=TENSORFLOW_GRAPHDEF
--output_format=TFLITE
--inference_type=QUANTIZED_UINT8
--output_arrays=<your_output_arrays>
--input_arrays=<your_input_arrays>
--mean_values=
--std_dev_values=
But, It converts frozen graph which has a fake quantization layer to fully-quantized TensorFlow Lite model. I actually want to skip this part, converts the frozen graph to .chpt or .pb format.
There are tools available(flatbuffer, netron) to view and extract the information from the tflite file. But, None of them converts into numpy array, .pb or .chpt format. It just a visualization tool.
Please let me know, If you requires any other information.

I also have this demand (pb format quantization model), please help us, thanks! @jvishnuvardhan

I would also like to estimate the performance drop from uint8 quantization of both weights and activations, but without having to use tflite.
It would be nice to be able to have a frozen_graph.pb with quantized operations that can be evaluated using regular tensorflow inference.

Hi @nullbyte91 ,
I also need fully quantized models for inference in Tensorflow. I found this issue raised several months ago. Do you have any way to convert to .pb format now?

@ZhangShuoAlreadyExistst No. There is a way to dump the tfLite Quantization numbers to JSON format but its a tedious task.

@nullbyte91  Thanks for your reply.

Hi @nullbyte91 ,
can you guide me how to use quantization aware with a pretrain weight(32bit)(ckpt)?
I have already trained a 32bit weight. Can I make it be a pretrain weight and train by quantization aware(tf.contrib.quantize.create_training_graph(quant_delay=300000))?
Thank you.

I aslo like to have this feature. It would be nice if we can have a quantization in regular tensorflow.

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.
Thank you!


Umami is broken

Describe the bug
When using the Umami integration, the script url, ends up being https://fqdn/umami.js
Umami has changed their server, in the latest versions, to only support /script.js
So it's currently broken.
Additional context
I have tried to change the url manualily from tha partial umami file, but it can't get it to work, and opening the page in chrome, still gives me the /umami.js
I can't figure out, if it's due do some cache etc. from my side or if there is a script etc. being run somewhere, that changes this.

closing. Can see there is already a fix. template files was not updated properly.


Phase-1 Ecosystem Improvement Tracking

This issue is used to keep a running list of issues we create on projects used within phase 1.
Please include links to issues this team creates.

https://github.com/kubernetes-sigs/bom/issues/100 - Request to provide support for CycloneDX

https://github.com/fluxcd/flux2/discussions/2430 - Request to publish CycloneDX SBOM

fluxcd/flux2#2430 - Request to publish CycloneDX SBOM

I can have a chat with the ControlPlane guys, but it really is just a switch that needs to be added. Thus I'm not sure this is a good project for this group.

Sbomasm (https://github.com/interlynk-io/sbomasm/issues/115)
Parlay (https://github.com/snyk/parlay/issues/82)
Trivy (https://github.com/aquasecurity/trivy/discussions/7872)


HFSS : The dxf_import function when "script" is selected does not import all variables into HFSS.

Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

Description of the bug
Hi,
when i manually import a dxf file from HFSS, checking the 'Script" option in the import GUI,

i get the following variables into HFSS:

but if i use the dxf_import function instead:
hfss.import_dxf(file_path="2023_10_ExampleData.dxf", layers_list=xx[1:], auto_detect_close=True, self_stitch=True, self_stitch_tolerance=0, scale=0.001, defeature_geometry=False, defeature_distance=0, round_coordinates=True, round_num_digits=6,  write_poly_with_width_as_filled_poly=False, import_method=0, sheet_bodies_2d=False)
i get this :

All "thickness" variables are missing.
Steps To Reproduce
Import a dxf files (containing variables) into HFSS manually and do it using the import_dxf function.
Which Operating System are you using?
Windows
Which Python version are you using?
3.10
Installed packages
contourpy==1.1.0
cycler==0.11.0
fonttools==4.42.1
kiwisolver==1.4.5
matplotlib==3.7.2
numpy==1.25.2
packaging==23.1
Pillow==10.0.0
PyOpenGL==3.1.7
pyparsing==3.0.9
pyqtgraph==0.13.3
PySide6==6.5.2
PySide6-Addons==6.5.2
PySide6-Essentials==6.5.2
python-dateutil==2.8.2
QDarkStyle==3.1
QtPy==2.4.0
scipy==1.11.2
shiboken6==6.5.2
six==1.16.0

Hi @Ouam74 ,
Please record the script, and check what is missing in the PyAEDT method to get the variables. If the implementation is too complex for you, we can help, please provide a DXF example with no IP, and the community will try to help you.
Thanks


Support custom implementation of App and Service interfaces

As of now we consider a class to be App if its name in kafka-monitor.properties starts with com.linkedin.kmf.apps.App. However, user may want to run a class that implements the App interface under a different package name. This patch addresses this problem by using a better way to identify whether the class implements the App interface.

LGTM.


maintainers: add TI platforms and initial set of collaborators

So far, the majority of support has been through Linaro for these platforms, but we do expect to bring a maintainer on from TI in the near future.

It seems @mbolivar-nordic & I both fixed up the same typo ("ares") and there was a merge conflict. Fixed & rebased.


libc/symtab: optimize the find speed by bisection

Summary
libc/symtab: optimize the find speed by bisection
Signed-off-by: chao.an<EMAIL_ADDRESS>Impact
symtab_findbyvalue
Testing
sort the symbol table by value and search the table entry

https://github.com/apache/incubator-nuttx/pull/5054 seems to solve the Lint CI job.


2FA doesn't work

Add 2FA for logging in

Help needed. I don't have a phone number.

It seems like other clients just add a token login instead, since it's hard to do this.

Maybe implement a way where users are redirected to the Discord page, and from there, they can log in.

Like I said, I can't test it, since I don't have a phone number.

I may be able to borrow a phone though.

but I can't test it without a phone number

At least here, Discord doesn't ask for a phone number just to enable 2FA using Google Authenticator or Authy...

Oh. It seems like you can also use an authenticator app. I will check that out.

Ok, it seems you have two separate methods of 2fa. Totp and Phone number. Totp would be doable, since I do have an authenticator app. But is it worth the hassle, when you can just grab the token from the login box? Is there a way to do a poll on GitHub?

Well, if QTCord asked for the 2FA code it'd be much more user-friendly IMO, but in the end it's your project, and since you would be the one to implement this, only you can know for sure if it's worth it... :p

Is there a way to do a poll on GitHub?

It should be doable through GitHub Discussions, but I think you have to enable it first, or something.

https://github.com/mak448a/QTCord/discussions/37

Added for TOTP! Open another issue for SMS.


Allow intercepting HTTP requests in integration tests

Motivation
It is possible to perform HTTP requests from within Linera application contracts. However, when running integration tests those requests will be executed on a real network, which might not be desired.
Proposal
Provide a way to configure the TestValidator to intercept the HTTP requests, and maybe forward them to a custom handler.

We also need a notion of HTTP proxy to make sure that queries to the external web are indeed external. This could be related.


Refactor testing solve bugs

Refactor testing.
Solve path bugs.

Codecov Report

Merging #14 into master will increase coverage by 4.29%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
+ Coverage   81.18%   85.48%   +4.29%
==========================================
  Files           5        5
  Lines         101      124      +23
  Branches       25       41      +16
==========================================
+ Hits           82      106      +24
  Misses          6        6
+ Partials       13       12       -1

Impacted Files
Coverage Δ

...a/com/fintonic/versioning/domain/VersionRange.java
95.23% <100%> (+2.93%)
:arrow_up:

...n/java/com/fintonic/versioning/domain/Version.java
96.15% <100%> (+1.7%)
:arrow_up:

...sioning/configuration/VersionRequestCondition.java
81.96% <25%> (+10.26%)
:arrow_up:

...versioning/configuration/WebVersionAutoConfig.java
0% <0%> (-100%)
:arrow_down:

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 6b4e127...e177ada. Read the comment docs.


Update domain_reduction.py

Adds ability to pass a dictionary as the minimum_window argument in SequentialDomainReductionTransformer. Deals with issue where TargetSpace sorts the pBounds dictionary, causing the order of the list used for minimum_window to possibly not match the order of the stored boundaries.

@lm314 sorry for the delay. Could you please pull upstream changes?


Test Adapter tests are randomly failing

These 4 tests are related to the new python testing framework and they are randomly passing or failing. They only fail if all 4 python versions of the tests are run together (for example, runUnittest on 27, 35, 36, and 37). The tests are not running in parallel.
broken unit tests.txt

Related to https://github.com/microsoft/PTVS/issues/4386


The resource always groups by Resource Type when editing tags from command palette

OS: All
Azure Resource Extension Build Version: 20220505.12(unified)
Regression: Not a regression
Repro Steps:

Make sure the resource groups by Resource Group.
F1 -> Click "Azure Resource Groups: Edit Tags...".
Check whether the resource groups by Resource Group.

Expect:
The resource groups by Resource Group.
Actual:
The resource always groups by Resource Type.

More Info:

This issue also reproduces when the resource groups by Location/ARM Tag.
This issue also reproduces when executing command "Azure Resource Groups: Open in Portal" and "Azure Resource Groups: View properties" from command palette.

I think this is by-design but I'll let @alexweininger or @nturinski confirm.

This is currently by-design.  Typically, it's easier to find a resource that you are looking for by the type rather than the group.  I don't think we currently have any plans to change this unless we find that users really want the tree picker to be grouped by the current groupBy setting.


scope creep, user, message and messageScope all leak

As per the title

wow - nice catch. How was it showing up/what was it impacting?

Anytime a plugin was being called and you used this.message this.user the user and message may not have belonged to the user and message in question.

Very interesting. I bet I've see the result of that - including maybe that issue yesterday.  Will be in next release?
On Sat, Jan 23, 2016 at 9:21 AM -0800, "Rob Ellis"<EMAIL_ADDRESS>wrote:
Anytime a plugin was being called and you used this.message this.user the user and message may not have belonged to the user and message in question.
—
Reply to this email directly or view it on GitHub.

Yes, I have a fix complete and will push it shortly.


[Question] Send a message to user when an error occurred

Hello,
How can i send a message to the user when an error occurred ?
I handle any bot errors with bot.on('error')like that :
// log any bot errors into the console
bot.on('error', function (e) {
    console.log('And error ocurred', e);
});

But i can't make a session|bot.send without session or adresse object.
Any help ?
I hope what I have requested is possible.
Thank you

SDK Platform: Node.js

I have a lot of dialogs with waterfall steps, i need to use try catch (or session.on("error")) in every step !!
With bot.on("error") i catch all unhandled errors in any dialog, but i cant access to the user address or a session instance.

@ouadie-lahdioui It's hard to say the best solution without seeing your bot code.
Can you post your code that is causing the problem?

closing as no response

Please reopen. The problem is obvious that session.send is asynchronous but does not provide a callback function.. try/catch does not work and session|bot.on-error does not help as long as on-error does not contain any info about which message failed.
I got the same problem (rarely and randomly.. can't reproduce it, but occurs every few minutes )and see in the logs:
bot.error: {"code":"EAI_AGAIN","errno":"EAI_AGAIN","syscall":"getaddrinfo","hostname":"state.botframework.com","host":"state.botframework.com","port":443}
it seems I got a problem with the proxy because without proxy it works.. workaround would be to send the failed message again.. but until now I don't know which message fails ;(

Sorry for the late response, i have found a solution to my problem. Thanks
@jazzmn what do you mean by "...on-error does not contain any info about which message failed..." ? what are you looking for exactly ?

@ouadie-lahdioui if I use
bot.on('error', function(e) {}
then I dont't which message exactly failed or even which user is affected.

You're right 👍
Guys, any way to get more data when catching errors with bot.on('error', ...)event listener ?
here's an example of code where i cannot send a message to the user to notify them that there're an error.
const defaultDialogName: string = "/Main";

let bot: Builder.UniversalBot;

bot = new Builder.UniversalBot(connector, (session) => {
    session.beginDialog(defaultDialogName);
});

bot.dialog(defaultDialogName, [
    function (session, args) {
        // do some cool stuff ...
        // to simulate an error, i'll start an unexist dialog
        session.beginDialog("/UNREAL", {message});
    }
]);

bot.on('error', function (e) {
    console.log(e);
    // i want to send a message to the user !
    // can i use session|bot.send here ?
});

You prefer reopen the issue and continue the discussion here or should i crate a new one ?
Thank you for your help

i would reopen it.. i think it's still the same problem which is unsolved until now.

UP, did any of you guys found a way to send message or start a dialog for uncaught errors ?

Thank you for your submission. The Microsoft Bot Framework team prefers that bug fixes and feature requests were opened as new issues on the official Bot Framework Github repo. The Stack Overflow botframework tag is a place to ask how to questions and get support from the community. Please feel free to submit an issue on GitHub, and the dev team will look into your request.

An update on this feature request anyone? I too have the need of catching all unhandled errors in any dialog, but can't access the user address or a session instance

This issue isn't being worked on as a feature request, if you would like to create an issue along those lines please open a new issue describing the use case.


Make music code async, fix discarded promise

Fix the discarded promise from #70. To fix this, most relevant queuing functions are marked async all the way up to MusicManager.initialize. Some new functions are added to assist with lifting promise awaiting through the construction of an object.
I'd like @MayMoonsley to listen to this to make sure it sounds correct, and to help debug if it doesn't. I did a lot of things here that could potentially mess with the timing, and she's a lot more familiar with that than me.
Also removes SampleNames, which adds safety that the compiler can figure out on its own.
Resolves #70

(resolves #70)

I've also fixed the inconvenient tempAudioContext code in Samples. I changed Samples to a makeSamples function that takes an AudioContext, gave MusicManager a global samples in the same place it makes its global AudioContext, and then dependency inject that wherever something needs all of the available samples. Drumkit was changed back to a class, in order to DI the samples.

Memory profiling shows similar results as before: around 25-200 GainNode instances will be present at any point between each run of the garbage collector.

I’ve given the new version a listen and it sounds the same as it did before. It has my approval.


[Discussion] Increment mod sub-version

It was noted by<EMAIL_ADDRESS>here that version increments cause updates for users despite no update coming from the primary script. From looking at the commits, it appears this was done when a mod was updated.
My guess is that this is done to force re-cache of modified mods. Is there perhaps another way to go about this so that it's more visible to users from their respective user script managers? Perhaps require a version number in the mod name that also gets incremented? In this manner, KES.user.js would also show a mod version increase.

I think there was some misunderstanding about this. Your surmises are correct. My reply follows:

This is done to force re-cache of the new version of a userscript when it gets added as a feature. MINOR version bumps indicate addition of a mod (userscript) or internal feature, while PATCH version bumps indicate a hotfix. By design in GM, when the version number of the main script is bumped, it will redownload the requisite remote resources. We leverage this functionality to serve new files.
This should partially be rectified by the addition of the changelog link (flask icon) in 1.2.0.
When new mods are added to KES, they are integration tested, so bumping the MINOR version does imply some change to the KES interaction itself, albeit not necessarily at the code level.
The userscripts are not updated separately, they are cached once per KES version download. Hope this makes sense.

I added the requested changelog feature in 1.2.0 that links back to the changelog and shows what was added.
We can increment version numbers in the mods in the manifest internally and display them as a line item in the settings, but by design, users wouldn't have multiple userscripts "in their manager" per se, they would just have KES. Downloading new mods doesn't atomically add them to the GM extension at a user-facing level unless you dig through the "externals" or "requires" tabs buried deep within those apps.
Does this seem like it would be useful to users?
Author: you
Version: 0.1.0
Description: foo

Can users reasonably be expected to keep track of these version numbers in their heads?
If we wanted to be utterly insane about it, we could label which pages/items are "NEW", but I think respecting the KISS principle is reasonable here, and presumably you wouldn't have constant hotfixes after a certain point of stability. We can also use the regular thread channels for notifications.

Currently the mod sub-version is difficult to update at the manifest level due to the small security changes and rolling updates that authors incorporate into their mods. Possibly this could be automated to populate the manifest with the version listed in the mod.user.js file, but a more underlying issue is that atomic mods may not adhere to a discrete versioning scheme, or dropped altogether.


[PE-D][Tester A] Grammar Errors in UG

I found some grammatical errors at the top of the UG.

"... designed to aid receptionists in a ..." or "... designed to aid a receptionist in a ..."
"... help you with your administrative tasks in the clinic..."

Labels: type.DocumentationBug severity.Low
original: TeeRenJing/ped#1

fair point, to check ug for english


Implement Test Scenarios for Payment Lib

To be done after: https://github.com/golemfactory/erc20_payment_lib/issues/92
Acceptance Criteria:

Implement Test Scenarios for Payment Lib

finish last test and close ticket - @kamirr

TO DO: 1 test

@scx1332 please review

review session to be done on monday - as Kamil is sick

To be done today


Document ClapFuzzyMatches highlighting group

This is a minor issue, but I lost an hour yesterday trying to figure out how to highlight match results in fuzzy mode. This PR documents the highlight group for fuzzy matches.

Have you tried :h g:clap_fuzzy_match_hl_groups, you can use any number of highlight groups for fuzzy matched items, does not have to be [1-12].

It worked. I missed that, thanks!
I think I was confused by the matches highlighting is not being added as a key to the palette dictionary that is used for a lot of other highlighting stuff. Finding the right global variable makes total sense for how to set this, but it was a bit un-intuitive.


Confirm Django 4.1 support

The PyPy failing tests seems related to https://foss.heptapod.net/pypy/pypy/-/issues/3751

The PyPy test still seems to be failing, I'll add an exclusion for it in the GitHub test matrix.


Problem with dot access

In the program below, I get:
Hi, John Doe! You have:

pen () (blue)

Note that:

{{name.first}} {{name.last}} DID work
{{atts.colour}} did NOT work, while {{#atts}}{{colour}}{{/atts}} DID work

I think {{atts.colour}} should be equivalent to {{#atts}}{{colour}}{{/atts}}.

{-# LANGUAGE OverloadedStrings #-}
module Main (main) where
import Data.Aeson
import Data.Text
import Text.Megaparsec
import Text.Mustache
import qualified Data.Text.Lazy.IO as TIO
main :: IO ()
main = do
let res = compileMustacheText "foo"
"Hi, {{name.first}} {{name.last}}! You have:\n{{#things}}\n  * {{type}} ({{atts.colour}}) ({{#atts}}{{colour}}{{/atts}})\n{{/things}}\n"
case res of
Left err -> putStrLn (parseErrorPretty err)
Right template -> TIO.putStr $ renderMustache template $ object
[ "name"   .= object [ "first" .= ("John" :: Text), "last" .= ("Doe" :: Text) ]
, "things" .= [ object [ "type" .= ("pen" :: Text), "atts" .= object [ "colour" .= ("blue" :: Text)]] ]
]

I can reproduce this.

Thank you for opening the issue, the problem is resolved now. I'll bump version and upload to Hackage once the Travis check finishes.

The fixed version (0.1.6) is available on Hackage.


new doc page first draft

howdy, first draft of azure python aks docs and fixed the other azure doc a bit, it had couple silly mistakes

I did test the page locally, it appears to be fine.

@metral

Thanks for removing the requested section. Any plans to create parity of this doc to the wording and styling of the EKS and GKE docs listed?

Given that the EKS and GKE follow almost identical steps and have similar content, it'd be great if we can modify this PR to mirror those tutorials as close as possible to create parity for users across all platforms.
Here's the EKS and the GKE tutorials to reference.

with all due respect, can you be more precise (i cant read your mind, you know)? except for the creating service\deployment these are identical. and I cant create anything from yaml, because python. @

can you be more precise

Sure. Could you please do the following:

Do not list numbered lists using actual numbers e.g. 1...2...3 - Markdown allows you to number them all 1. and at render time it will assemble the order automatically for us. See the EKS raw example, and how all of the numbered items begin with 1.

Move the pre-reqs section to a separate file in the _includes folder for future reusability, and then include it in this doc using: {% include aks-prereqs.md %}, assuming the file is named aks-prereqs.md

In section 1 - "In a new folder aks.."

break up the first two commands (pulumi new, cd aks ) into separate sections, each with the header text as in https://github.com/pulumi/docs/blob/master/quickstart/aws/tutorial-eks.md#create-a-new-eks-cluster-new-eks-cluster
for pip install, please also include the header text in the link above

In section 2 - "Open main.py ...`

please include the header text detailing what the user is about to do before the code block - just as in the EKS link above.
e.g.

The index.ts occupies the role as the main entrypoint in our Pulumi program. In it, we are going to declare:

The resources we want in Azure to provision the AKS cluster based on our cluster configuration settings,
The kubeconfig file to access the cluster, and
The initialization of a Pulumi Kubernetes provider with the kubeconfig, so that we can deploy Kubernetes resources to the cluster once its ready in the next steps.

Merge section 3 and 4, and use the same header text as in EKS "To preview and deploy changes..." as in the EKS link above.

To preview and deploy changes, run pulumi update and select "yes."
The update sub-command shows a preview of the resources that will be created and prompts on whether to proceed with the deployment. Note that the stack itself is counted as a resource, though it does not correspond to a physical cloud resource.
You can also run pulumi up --diff to see and inspect the diffs of the overall changes expected to take place.
Running pulumi up will deploy the AKS cluster. Note, provisioning a new EKS cluster takes between X minutes.

Include the section to use pulumi providers with the exact content and example listed in steps 1 and 2 of that EKS section
Add the missing Access the Kubernetes Cluster using kubectl section.
Add the missing Experimentation section.
In the summary section, mirror the EKS summary section, with follow up steps and embedded youtube video, and drop the duplicate line "To clean up resources, run pulumi destroy" as we already call that out in the previous "Clean up" section

Let me know if you have any further questions

that is intentional, i dont like it when its all at 1.
2-x. like I said, you want them to look the same, ok. that is easy.
kubectl section isnt missing, its just a bit shorter (again, you want them to look the same)
experimentation is not possible with python
not clear about summary. you want me to literally copy-paste it or something else? I assume there is not joe beda python video
not sure how to resolve that conflict, that change is intentional, since the original contains many errors

@metral

I do not see any new commits to reflect the changes requested.
We would like this doc have complete parity with the EKS and GKE referenced above. Please consider addressing the requested items listed that are capable of being implemented to move this forward.
Thanks

can you answer my questions? @metral

first one is intentional, i dont like it when its all at 1.

We do not use specific numbers, and intentionally want to mark them as 1. This is to have markdown auto-generate the numbers for us, and in the event that this doc gets updated in the future, we don't want / have to re-create the numbering.

2-x. like I said, you want them to look the same, ok. that is easy.
kubectl section isnt missing, its just a bit shorter (again, you want them to look exactly the same?)

Yes. We we want identical content.

experimentation is not possible with python, its cant do yaml files yet.

Understood, then leave this out if it is not capable with python.

not clear about summary. you want me to literally copy-paste it or something else?

Yes.

not sure how to resolve that conflict, that change is intentional, since the original contains many errors.

You'll have to rebase your changes on the latest master and manually address your conflicts, or else a merge will not be possible.

We do not use specific numbers, and intentionally want to mark them as 1. This is to have markdown auto-generate the numbers for us, and in the event that this doc gets updated in the future, we don't want / have to re-create the numbering.

makes no sense, markdown will autonumber them doesnt matter what you put in there

I sense we are getting off track. :)
I think we're probably open to re-evaluating the (un-written-down) style guide, but that's a big topic and we should do that outside of this PR.
@4c74356b41 You are correct that the docs now contain many errors, but the style suggestions seem like a reasonable amount of work -- and in fact, I think @metral suggested them precisely because they are easy. Are you willing to implement them? If not, it's best to make that explicit now, so that we can decide what to do.

reasonable ones - yes. "change 1,2,3,4,5 to 1,1,1,1,1" - no. this is unreasonable.

Ok, then let's fix the other things but leave the numbering, and we'll
merge.
One meta-point for all involved here. :) The point of a style is so that we
don't have argue about things like this! Many of those choices are
arbitrary or confer only minor technical benefit, and many times the
changes seem trivial. But the benefit is that we don't spend days
debating how to number lists.
On Mon, Mar 4, 2019 at 10:54 PM 4c74356b41<EMAIL_ADDRESS>wrote:

reasonable ones - yes. "change 1,2,3,4,5 to 1,1,1,1,1" - no. this is
unreasonable.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/pulumi/docs/pull/897#issuecomment-469562482, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABWAhMWZwiV-WTIumy0mJ0AhJXfPzuE7ks5vThS9gaJpZM4a-9U8
.

build failed because of the other PR of mine not accepted to the examples repo (not even a response in 2 weeks).

ok, I'll submit a new one for the kubernetes bit this week.


Incorporated PM Feedback

Untethered vendor writer incorporating PM feedback.

@microsoft-github-policy-service agree company="Steyer Content"

Suggested change accepted..

@SKjerland, updates related to ADO 7669930, 7670113, 7669922

I will update the content again and put contractions back and bold deployment status names.


Add support for injections in recipes and commands

Use bash as a defaul

Current state looks pretty good

Still need to add back the shebangs which were lexing incorrectly


nextjs ssr experiencing cold start ( > 5 sec)

Describe the bug
I am deploying a NextJs app with ssr and the first call to getServerSideProps takes > 5 seconds even after removing all logic from it. After the inital call it loads much faster. But if idle for some time it will trigger another cold start. Is this related to the cold start of the ssr server? If this is the case, would it possible to configure it to be always on or to keep it warm?
To Reproduce
Steps to reproduce the behavior:
Create NextJs app with ssr.
Expected behavior
The app should load faster on the inital call to getServerSideProps
Device info (if applicable):

OS: MacOs, iOS
Browser Chrome
Version latest

Hi @doorman02, we hear your feedback. We're actually tracking all feedback related to NextJS here: https://github.com/Azure/static-web-apps/discussions/1066
We've been working to improve our support for NextJS and reduce cold starts. We'll be providing updates in that thread when they come along.

Hi @doorman02, we've shipped significant improvements to our Next.js support on Static Web Apps, here's the announcement: https://github.com/Azure/static-web-apps/discussions/1428
Notably, cold starts are drastically reduced! Closing this thread, try out our improved Next.js support and let us know how it goes in #1428!

Hi @thomasgauvin thanks for the update. Do you know what was the cause for the cold start issue?

This issue is still present. I'm getting sometimes +5 s to load a simple page of 46B.

You have to reopen this issue @thomasgauvin. It's really annoying.


inspect: set default format to default

Signed-off-by: Hector Fernandez<EMAIL_ADDRESS>
Summary

We didn't set any default format, so it is hard to know which options are available for the format.
Release Note

Fix: set default format value for the inspect' format flag.
Documentation

There is something else missing... pushing another commit

Codecov Report

Merging #155 (d0199dc) into main (f91d0d1) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Current head d0199dc differs from pull request most recent head 70fa40a. Consider uploading reports for the commit 70fa40a to get more accurate results

@@           Coverage Diff           @@
##             main     #155   +/-   ##
=======================================
  Coverage   50.11%   50.11%
=======================================
  Files          18       18
  Lines         846      846
=======================================
  Hits          424      424
  Misses        376      376
  Partials       46       46

Impacted Files
Coverage Δ

cmd/timestamp-cli/app/inspect.go
31.03% <100.00%> (ø)

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

timestamp-cli inspect --timestamp_server http://localhost:5555 --timestamp response.tsr I don't think we need to set the --format as a required flag, especially when there is a single option.

ping @cpanato

If we don’t have any other format supported, id just say to delete the flag.

I wasn't sure, there were other plans for the format flag.

If there aren't, then let's remove it.

YAGNI, we can add it back later if we add more formatting options!

@haydentherapper I removed the flag.


fltk-sys build fails on Windows with GNU Rust toolchain.

Build fails on fltk-sys:
failed to run custom build command for `fltk-sys v0.2.16`
...
no valid generator found for GNU toolchain; MSYS or MinGW must be installed

Tried with different environments: Cygwin, MSYS2, mingw-w64 (which doesn't have cmake at all).

It seems to be an error message from the cmake crate:
https://github.com/alexcrichton/cmake-rs/blob/f43568caa7c770b50daa0527220b0ba8dda4a481/src/lib.rs#L424
It seems unable to find make, which is strange since if I remember correctly, make comes preinstalled in MSYS2. I could be wrong though.

Thanks. I was confused by the error log line running: "cmake" ..., thus didn't even check what executable was missing (it's looking for make or mingw32-make, not cmake).


Arabic not rendering properly

Details at https://github.com/ituob/service-publications-data/issues/27

Text is going left to right by default
Left-aligned text should be right-aligned
End of line not always detected for final letters

Twitter_cldr has helper methods to address Right-to-Left

from https://github.com/metanorma/mn-native-pdf/issues/314#issuecomment-831194245
set globally 'right-to-left' text direction property (https://www.w3.org/International/questions/qa-html-dir), except cover page, because this property changes table's column order.
for cover page (in case of fixed table template), set 'right-to-left' text direction property inside each cell.
instead of properties text-align="left" and text-align="right" use text-align="start" and text-align="end".

As a generic approach for nested quoted Arabic in IEV documents (https://github.com/glossarist/iev-document/issues/18), I'm wrapping l10n() outputs in Right-To-Left Marker, Arabic Text Marker, or Left-to-Right Marker, if the overall document script conflicts with the current localised text script  in directionality.

So this issue has just come back -- ITU has asked for service publications to support Arabic.


Standarizing Events and fixing typos

Standarizing all events to match the design and fixing some typos as
enity -> entity

Can one of the admins verify this patch?

add to whitelist

Changed everything to Server.GetPlayer()


Set also MaxMetaspace on Java 8

If running under Java 8, the Metaspace should be limited, too in --> https://github.com/fabric8io-images/run-java-sh/blob/master/fish-pepper/run-java-sh/fp-files/java-default-options#L46

@astefanutti wdyt about limiting the MaxMetaspace, too ?

Yes, that makes sense. Let me try working something out.
As we go from sizing from one region (the heap), to multiple regions (metaspace, and JIT code maybe), it becomes tricker to heuristically size them generally. At least each one can be bound to max memory minus heap size.

Don't forget direct memory used by NIO buffers:  -XX:MaxDirectMemorySize. See https://docs.oracle.com/cd/E15289_01/doc.40/e15062/optionxx.htm#BABGCFFB

Thanks ! wonder how this could be combined with the -xmx heap settings so that the combined value (+ all the other non-heap memory) doesn't exceed the given constraints.
I think we can't give a good default value and as this limit is unbounded by default anyway, I think also that its fair to require that the users have to specify this limit on their own when they require it.


Cannot Configure Envoy as Forward HTTPS Proxy, Looking for Help

Description:
I have been trying on and off to get envoy to serve as a proxy. I enabled connect, double checked my certs, priv/pub key are in order. I used the dynamic forward proxy example as a base and suggestions from what I have found here in the issues and on Stacks and I can't seem to get envoy to budge in the right direction.
I am attempting to call the proxy with this curl command:
curl --proxy <IP_ADDRESS>:10000 https://www.example.com:443
Can someone here help nudge me in the right direction. From what I can tell, the filter should terminate the tls connection downstream and then upstream host (example.com) should terminate with the Cluster using the validation_context trusted_ca?
Here is my config file:
admin:
  address:
    socket_address:
      protocol: TCP
      address: <IP_ADDRESS>
      port_value: 9901
static_resources:
  listeners:
  - name: listener_0
    address:
      socket_address:
        protocol: TCP
        address: <IP_ADDRESS>
        port_value: 10000
    filter_chains:
      - filters:
        - name: envoy.filters.network.http_connection_manager
          typed_config:
            "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
            stat_prefix: ingress_http
            route_config:
              name: local_route
              virtual_hosts:
              - name: local_service
                domains: ["*"]
                routes:
                - match:
                    prefix: "/force-host-rewrite"
                  route:
                    cluster: dynamic_forward_proxy_cluster
                    upgrade_configs:
                      upgrade_type: CONNECT
                      connect_config: {}
                  typed_per_filter_config:
                    envoy.filters.http.dynamic_forward_proxy:
                      "@type": type.googleapis.com/envoy.extensions.filters.http.dynamic_forward_proxy.v3.PerRouteConfig
                      host_rewrite_literal: www.example.org
                - match:
                    connect_matcher: {}
                  route:
                    cluster: dynamic_forward_proxy_cluster
                    upgrade_configs:
                    - upgrade_type: CONNECT
                      connect_config:
                        proxy_protocol_config: {}
            http_filters:
            - name: envoy.filters.http.dynamic_forward_proxy
              typed_config:
                "@type": type.googleapis.com/envoy.extensions.filters.http.dynamic_forward_proxy.v3.FilterConfig
                dns_cache_config:
                  name: dynamic_forward_proxy_cache_config
                  dns_lookup_family: V4_ONLY
                  typed_dns_resolver_config:
                    name: envoy.network.dns_resolver.cares
                    typed_config:
                      "@type": type.googleapis.com/envoy.extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig
                      resolvers:
                      - socket_address:
                          address: "<IP_ADDRESS>"
                          port_value: 53
                      dns_resolver_options:
                        use_tcp_for_dns_lookups: true
                        no_default_search_domain: true
            - name: envoy.filters.http.router
              typed_config:
                "@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
        transport_socket:
          name: envoy.transport_sockets.tls
          typed_config:
            "@type": type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.DownstreamTlsContext
            common_tls_context:
              tls_certificates:
              - certificate_chain: {filename: "certs/fullchain.pem"}
                private_key: {filename: "certs/privkey.pem"}
              alpn_protocols: ["h2,http/1.1"]
              validation_context:
                trusted_ca:
                  filename: certs/certbundlepem.pem
  clusters:
  - name: dynamic_forward_proxy_cluster
    lb_policy: CLUSTER_PROVIDED
    cluster_type:
      name: envoy.clusters.dynamic_forward_proxy
      typed_config:
        "@type": type.googleapis.com/envoy.extensions.clusters.dynamic_forward_proxy.v3.ClusterConfig
        dns_cache_config:
          name: dynamic_forward_proxy_cache_config
          dns_lookup_family: V4_ONLY
          typed_dns_resolver_config:
            name: envoy.network.dns_resolver.cares
            typed_config:
              "@type": type.googleapis.com/envoy.extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig
              resolvers:
              - socket_address:
                  address: "<IP_ADDRESS>"
                  port_value: 53
              dns_resolver_options:
                use_tcp_for_dns_lookups: true
                no_default_search_domain: true
    transport_socket:
      name: envoy.transport_sockets.tls
      typed_config:
        "@type": type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext
        common_tls_context:
          tls_certificates:
          - certificate_chain: {"filename": "certs/fullchain.pem"}
            private_key: {"filename": "certs/privkey.pem"}
          validation_context:
            trusted_ca:
              filename: certs/certbundlepem.pem

Logs
[2023-09-01 09:52:34.671][3148291][debug][conn_handler] [source/extensions/listener_managers/listener_manager/active_tcp_listener.cc:157] [Tags: "ConnectionId":"0"] new connection from <IP_ADDRESS>:52819 [2023-09-01 09:52:34.671][3148291][debug][connection] [source/extensions/transport_sockets/tls/ssl_socket.cc:247] [Tags: "ConnectionId":"0"] remote address:<IP_ADDRESS>:52819,TLS error: 268435611:SSL routines:OPENSSL_internal:HTTPS_PROXY_REQUEST [2023-09-01 09:52:34.671][3148291][debug][connection] [source/common/network/connection_impl.cc:250] [Tags: "ConnectionId":"0"] closing socket: 0 [2023-09-01 09:52:34.671][3148291][debug][connection] [source/extensions/transport_sockets/tls/ssl_socket.cc:247] [Tags: "ConnectionId":"0"] remote address:<IP_ADDRESS>:52819,TLS error: 268435611:SSL routines:OPENSSL_internal:HTTPS_PROXY_REQUEST [2023-09-01 09:52:34.671][3148291][debug][conn_handler] [source/extensions/listener_managers/listener_manager/active_stream_listener_base.cc:121] [Tags: "ConnectionId":"0"] adding to cleanup list
I have never posted in the issues section of a repo before, sorry if this isn't the place for this.
Best,

Properly formatted config:
admin:
address:
socket_address:
protocol: TCP
address: <IP_ADDRESS>
port_value: 9901
static_resources:
listeners:

name: listener_0
address:
socket_address:
protocol: TCP
address: <IP_ADDRESS>
port_value: 10000
filter_chains:

filters:

name: envoy.filters.network.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
stat_prefix: ingress_http
route_config:
name: local_route
virtual_hosts:
- name: local_service
domains: ["*"]
routes:
- match:
prefix: "/force-host-rewrite"
route:
cluster: dynamic_forward_proxy_cluster
upgrade_configs:
upgrade_type: CONNECT
connect_config: {}
typed_per_filter_config:
envoy.filters.http.dynamic_forward_proxy:
"@type": type.googleapis.com/envoy.extensions.filters.http.dynamic_forward_proxy.v3.PerRouteConfig
host_rewrite_literal: www.example.org
- match:
connect_matcher: {}
route:
cluster: dynamic_forward_proxy_cluster
upgrade_configs:
- upgrade_type: CONNECT
connect_config:
proxy_protocol_config: {}
http_filters:

name: envoy.filters.http.dynamic_forward_proxy
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.dynamic_forward_proxy.v3.FilterConfig
dns_cache_config:
name: dynamic_forward_proxy_cache_config
dns_lookup_family: V4_ONLY
typed_dns_resolver_config:
name: envoy.network.dns_resolver.cares
typed_config:
"@type": type.googleapis.com/envoy.extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig
resolvers:
- socket_address:
address: "<IP_ADDRESS>"
port_value: 53
dns_resolver_options:
use_tcp_for_dns_lookups: true
no_default_search_domain: true
name: envoy.filters.http.router
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
transport_socket:
name: envoy.transport_sockets.tls
typed_config:
"@type": type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.DownstreamTlsContext
common_tls_context:
tls_certificates:

certificate_chain: {filename: "certs/fullchain.pem"}
private_key: {filename: "certs/privkey.pem"}
alpn_protocols: ["h2,http/1.1"]
validation_context:
trusted_ca:
filename: certs/certbundlepem.pem
clusters:

name: dynamic_forward_proxy_cluster
lb_policy: CLUSTER_PROVIDED
cluster_type:
name: envoy.clusters.dynamic_forward_proxy
typed_config:
"@type": type.googleapis.com/envoy.extensions.clusters.dynamic_forward_proxy.v3.ClusterConfig
dns_cache_config:
name: dynamic_forward_proxy_cache_config
dns_lookup_family: V4_ONLY
typed_dns_resolver_config:
name: envoy.network.dns_resolver.cares
typed_config:
"@type": type.googleapis.com/envoy.extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig
resolvers:
- socket_address:
address: "<IP_ADDRESS>"
port_value: 53
dns_resolver_options:
use_tcp_for_dns_lookups: true
no_default_search_domain: true
transport_socket:
name: envoy.transport_sockets.tls
typed_config:
"@type": type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext
common_tls_context:
tls_certificates:
- certificate_chain: {"filename": "certs/fullchain.pem"}
private_key: {"filename": "certs/privkey.pem"}
validation_context:
trusted_ca:
filename: certs/certbundlepem.pem

I've been running a dynamic forward proxy for quite a while and have git, apt and cargo all configured to use it.  Shortened config below
static_resources:
  clusters:
    - name: dynamic_forward_proxy_cluster
      connect_timeout: 2s
      dns_lookup_family: ALL
      lb_policy: CLUSTER_PROVIDED
      cluster_type:
        name: envoy.clusters.dynamic_forward_proxy
        typed_config:
          '@type': type.googleapis.com/envoy.extensions.clusters.dynamic_forward_proxy.v3.ClusterConfig
          allow_coalesced_connections: true
          dns_cache_config:
            name: dynamic_forward_proxy_cache_config
            dns_lookup_family: ALL
  listeners:
    - name: dynamic_forward_proxy_upgrade
      additional_addresses:
        - address:
            socket_address:
              address: "::1"
              port_value: 9904
      filter_chains:
        - filters:
            - name: envoy.filters.network.http_connection_manager
              typed_config:
                '@type': type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
                codec_type: AUTO
                http_filters:
                  - name: envoy.filters.http.dynamic_forward_proxy
                    typed_config:
                      '@type': type.googleapis.com/envoy.extensions.filters.http.dynamic_forward_proxy.v3.FilterConfig
                      dns_cache_config:
                        name: dynamic_forward_proxy_cache_config
                        dns_lookup_family: ALL
                  - name: envoy.filters.http.router
                    typed_config:
                      '@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
                http2_protocol_options:
                  allow_connect: true
                route_config:
                  name: local_route
                  virtual_hosts:
                    - name: local_service
                      domains:
                        - '*'
                      routes:
                        - match:
                            prefix: /
                          route:
                            cluster: dynamic_forward_proxy_cluster
                        - match:
                            connect_matcher: {}
                          route:
                            cluster: dynamic_forward_proxy_cluster
                            upgrade_configs:
                              - upgrade_type: CONNECT
                                connect_config: {}
                stat_prefix: dynamic_forward_proxy_upgrade
      address:
        socket_address:
          address: <IP_ADDRESS>
          port_value: 9904
      traffic_direction: OUTBOUND

Hello,
Thank you for your reply!
It seems that traffic_outsbound and allow_connect were the key to terminating the tls connection from the client to the listener.
Unfortunately, the cluster seems to be unable to successfully terminate the tls handshake with example.com. I am getting [tlsv1 error](error:1404B42E:SSL routines:ST_CONNECT:tlsv1 alert protocol version).
I also see in the trace the CAfile is coming from /etc/ssl/cert.pem, which I find strange as my transport_socket specifies a different context.
Here is the trace:
== Info: Proxy replied 200 to CONNECT request
== Info: CONNECT phase completed
== Info: ALPN: offers h2
== Info: ALPN: offers http/1.1
== Info:  CAfile: /etc/ssl/cert.pem
== Info:  CApath: none
== Info: (304) (OUT), TLS handshake, Client hello (1):
=> Send SSL data, 320 bytes (0x140)
0000: 01 00 01 3c 03 03 86 89 db d3 b9 4f e6 86 68 9e ...<.......O..h.
0010: a5 62 c0 50 5a a9 7b 84 c6 52 fb fb 01 cf 52 dc .b.PZ.{..R....R.
0020: 74 d0 09 b7 d0 40 20 e9 d5 90 38 ac 6e 9e 9d 4d t....@ ...8.n..M
0030: 4f 4f 89 01 94 df dc b8 85 4c c5 e8 ce f1 32 ab OO.......L....2.
0040: a8 43 ce 8f 99 35 7e 00 62 13 03 13 02 13 01 cc .C...5~.b.......
0050: a9 cc a8 cc aa c0 30 c0 2c c0 28 c0 24 c0 14 c0 ......0.,.(.$...
0060: 0a 00 9f 00 6b 00 39 ff 85 00 c4 00 88 00 81 00 ....k.9.........
0070: 9d 00 3d 00 35 00 c0 00 84 c0 2f c0 2b c0 27 c0 ..=.5...../.+.'.
0080: 23 c0 13 c0 09 00 9e 00 67 00 33 00 be 00 45 00 #.......g.3...E.
0090: 9c 00 3c 00 2f 00 ba 00 41 c0 11 c0 07 00 05 00 ..<./...A.......
00a0: 04 c0 12 c0 08 00 16 00 0a 00 ff 01 00 00 91 00 ................
00b0: 2b 00 09 08 03 04 03 03 03 02 03 01 00 33 00 26 +............3.&
00c0: 00 24 00 1d 00 20 1e 55 32 f0 39 da 3c 1b 4f c3 .$... .U2.9.<.O.
00d0: fb e2 b8 4a fe ac a0 85 42 4c 46 df e9 14 33 d2 ...J....BLF...3.
00e0: a6 bf 9b 62 e7 78 00 00 00 14 00 12 00 00 0f 77 ...b.x.........w
00f0: 77 77 2e 65 78 61 6d 70 6c 65 2e 63 6f 6d 00 0b ww.example.com..
0100: 00 02 01 00 00 0a 00 0a 00 08 00 1d 00 17 00 18 ................
0110: 00 19 00 0d 00 18 00 16 08 06 06 01 06 03 08 05 ................
0120: 05 01 05 03 08 04 04 01 04 03 02 01 02 03 00 10 ................
0130: 00 0e 00 0c 02 68 32 08 68 74 74 70 2f 31 2e 31 .....h2.http/1.1
== Info: error:1404B42E:SSL routines:ST_CONNECT:tlsv1 alert protocol version
== Info: Closing connection 0

Envoy Logs:
[2023-09-03 09:01:31.376][4246530][debug][conn_handler] [source/extensions/listener_managers/listener_manager/active_tcp_listener.cc:157] [Tags: "ConnectionId":"4"] new connection from <IP_ADDRESS>:57103
[2023-09-03 09:01:31.420][4246530][debug][http] [source/common/http/conn_manager_impl.cc:355] [Tags: "ConnectionId":"4"] new stream
[2023-09-03 09:01:31.420][4246530][debug][http] [source/common/http/conn_manager_impl.cc:1089] [Tags: "ConnectionId":"4","StreamId":"8496650172486599649"] request headers complete (end_stream=false):
':authority', 'www.example.com:443'
':method', 'CONNECT'
'user-agent', 'curl/7.84.0'
'proxy-connection', 'Keep-Alive'

[2023-09-03 09:01:31.420][4246530][debug][connection] [./source/common/network/connection_impl.h:98] [C4] current connecting state: false
[2023-09-03 09:01:31.420][4246530][debug][forward_proxy] [source/extensions/common/dynamic_forward_proxy/dns_cache_impl.cc:91] thread local lookup for host 'www.example.com:443'
[2023-09-03 09:01:31.420][4246530][debug][forward_proxy] [source/extensions/common/dynamic_forward_proxy/dns_cache_impl.cc:105] cache hit for host 'www.example.com:443'
[2023-09-03 09:01:31.420][4246530][debug][forward_proxy] [source/extensions/filters/http/dynamic_forward_proxy/proxy_filter.cc:264] [Tags: "ConnectionId":"4","StreamId":"8496650172486599649"] DNS cache entry already loaded, continuing
[2023-09-03 09:01:31.420][4246530][debug][router] [source/common/router/router.cc:478] [Tags: "ConnectionId":"4","StreamId":"8496650172486599649"] cluster 'dynamic_forward_proxy_cluster' match for URL ''
[2023-09-03 09:01:31.420][4246530][debug][misc] [source/common/upstream/cluster_manager_impl.cc:1982] Allocating TCP conn pool
[2023-09-03 09:01:31.420][4246530][debug][router] [source/common/router/router.cc:690] [Tags: "ConnectionId":"4","StreamId":"8496650172486599649"] router decoding headers:
':authority', 'www.example.com:443'
':method', 'CONNECT'
':scheme', 'https'
'user-agent', 'curl/7.84.0'
'x-forwarded-proto', 'https'
'x-request-id', 'd1e5b7f2-fc86-4ebc-ad01-6e032bb08e6b'
'x-envoy-expected-rq-timeout-ms', '15000'

[2023-09-03 09:01:31.420][4246530][debug][pool] [source/common/conn_pool/conn_pool_base.cc:291] trying to create new connection
[2023-09-03 09:01:31.420][4246530][debug][pool] [source/common/conn_pool/conn_pool_base.cc:145] creating a new connection (connecting=0)
[2023-09-03 09:01:31.420][4246530][debug][connection] [source/common/network/connection_impl.cc:948] [C5] connecting to <IP_ADDRESS>:443
[2023-09-03 09:01:31.420][4246530][debug][connection] [source/common/network/connection_impl.cc:967] [C5] connection in progress
[2023-09-03 09:01:31.432][4246530][debug][connection] [source/common/network/connection_impl.cc:695] [C5] connected
[2023-09-03 09:01:31.444][4246530][debug][connection] [source/extensions/transport_sockets/tls/ssl_socket.cc:373] [Tags: "ConnectionId":"5"] Async cert validation completed
[2023-09-03 09:01:31.454][4246530][debug][pool] [source/common/conn_pool/conn_pool_base.cc:328] [Tags: "ConnectionId":"5"] attaching to next stream
[2023-09-03 09:01:31.454][4246530][debug][pool] [source/common/conn_pool/conn_pool_base.cc:182] [Tags: "ConnectionId":"5"] creating stream
[2023-09-03 09:01:31.454][4246530][debug][router] [source/common/router/upstream_request.cc:562] [Tags: "ConnectionId":"4","StreamId":"8496650172486599649"] pool ready
[2023-09-03 09:01:31.454][4246530][debug][router] [source/common/router/router.cc:1437] [Tags: "ConnectionId":"4","StreamId":"8496650172486599649"] upstream headers complete: end_stream=false
[2023-09-03 09:01:31.454][4246530][debug][http] [source/common/http/conn_manager_impl.cc:1729] [Tags: "ConnectionId":"4","StreamId":"8496650172486599649"] encoding headers via codec (end_stream=false):
':status', '200'
'date', 'Sun, 03 Sep 2023 13:01:31 GMT'
'server', 'envoy'

[2023-09-03 09:01:31.466][4246530][debug][router] [source/common/router/upstream_request.cc:469] [Tags: "ConnectionId":"4","StreamId":"8496650172486599649"] resetting pool request
[2023-09-03 09:01:31.466][4246530][debug][connection] [source/common/network/connection_impl.cc:139] [C5] closing data_to_write=0 type=1
[2023-09-03 09:01:31.466][4246530][debug][connection] [source/common/network/connection_impl.cc:250] [Tags: "ConnectionId":"5"] closing socket: 1
[2023-09-03 09:01:31.466][4246530][debug][connection] [source/extensions/transport_sockets/tls/ssl_socket.cc:334] [Tags: "ConnectionId":"5"] SSL shutdown: rc=1
[2023-09-03 09:01:31.466][4246530][debug][pool] [source/common/conn_pool/conn_pool_base.cc:484] [Tags: "ConnectionId":"5"] client disconnected, failure reason:
[2023-09-03 09:01:31.466][4246530][debug][pool] [source/common/conn_pool/conn_pool_base.cc:454] invoking idle callbacks - is_draining_for_deletion_=false
[2023-09-03 09:01:31.466][4246530][debug][pool] [source/common/conn_pool/conn_pool_base.cc:215] [Tags: "ConnectionId":"5"] destroying stream: 0 remaining
[2023-09-03 09:01:31.466][4246530][debug][pool] [source/common/conn_pool/conn_pool_base.cc:454] invoking idle callbacks - is_draining_for_deletion_=false
[2023-09-03 09:01:31.466][4246530][debug][http] [source/common/http/conn_manager_impl.cc:1834] [Tags: "ConnectionId":"4","StreamId":"8496650172486599649"] Codec completed encoding stream.
[2023-09-03 09:01:31.466][4246530][debug][http] [source/common/http/conn_manager_impl.cc:221] [Tags: "ConnectionId":"4","StreamId":"8496650172486599649"] doEndStream() resetting stream
[2023-09-03 09:01:31.466][4246530][debug][http] [source/common/http/conn_manager_impl.cc:1798] [Tags: "ConnectionId":"4","StreamId":"8496650172486599649"] stream reset: reset reason: local reset, response details: -
[2023-09-03 09:01:31.466][4246530][debug][connection] [source/common/network/connection_impl.cc:139] [C4] closing data_to_write=516 type=2
[2023-09-03 09:01:31.466][4246530][debug][connection] [source/common/network/connection_impl_base.cc:47] [Tags: "ConnectionId":"4"] setting delayed close timer with timeout 1000 ms
[2023-09-03 09:01:31.466][4246530][debug][connection] [source/common/network/connection_impl.cc:727] [Tags: "ConnectionId":"4"] write flush complete
[2023-09-03 09:01:31.466][4246530][debug][connection] [source/common/network/connection_impl.cc:727] [Tags: "ConnectionId":"4"] write flush complete
[2023-09-03 09:01:32.468][4246530][debug][connection] [source/common/network/connection_impl_base.cc:69] [Tags: "ConnectionId":"4"] triggered delayed close
[2023-09-03 09:01:32.468][4246530][debug][connection] [source/common/network/connection_impl.cc:250] [Tags: "ConnectionId":"4"] closing socket: 1
[2023-09-03 09:01:32.468][4246530][debug][connection] [source/extensions/transport_sockets/tls/ssl_socket.cc:334] [Tags: "ConnectionId":"4"] SSL shutdown: rc=0
[2023-09-03 09:01:32.468][4246530][debug][conn_handler] [source/extensions/listener_managers/listener_manager/active_stream_listener_base.cc:121] [Tags: "ConnectionId":"4"] adding to cleanup list

Any thoughts on why the cluster would be attempting to use tlsv1 when the default is tlsv2?
Best,

Note that my config doesn't use transport_socket or specify certificates on the cluster.  Both url -v --proxy http://localhost:9904 https://www.example.com and hx --proxy https:http://<IP_ADDRESS>:9904 https://www.example.com work fine here on Linux Xubuntu 23.04 and I've also tested on Linux aarch64 and MacOS aarch64


Bypass the need for multiple mixing rounds

Right now if the fixed denomination is 1btc and the user wants to mix 3btc, it must participate in 3 mixing rounds. However it could potentially register 3btc input and then register 3 times 1btc outputs. With this it can mix cheaper, because it only participates in one round. However this ruins the DoS protection.
This topic should be further explored.

The updated 'Simplified Protocol' section would look like this:
A. Simplified Protocol
Alice and Bob are the same user, however the Tumbler does not know this.
Bob1, Bob2, Bob... may be the same user, however the Tumbler does not know this.

1. Input Registration Phase
Many Alices register their

confirmed utxos as the inputs of the CoinJoin,
proofs, those are messages signed with the corresponding private keys,
their desired change outputs,
and blinded outputs to the Tumbler.

Tumbler checks if inputs have enough coins, are unspent, confirmed, were not registered twice and that the provided proofs are valid, then signs the blinded outputs.
Alices unblind their signed and blinded outputs.
2. Output Registration Phase
Bobs register their signed outputs to the Tumbler.
3. Signing Phase
Tumbler builds the unsigned CoinJoin transaction and gives it to Alices for signing.
When all the Alices signed arrive, the Tumbler combines the signatures and propagates the CoinJoin on the network.

It also comes with some implementation difficulties, because all Bob outputs must be registered within 1 minute. Therefore the change between a user's Bob identities must be fast, since multiple Bob identities per user wer introduced. (Tor circuit changes.)

DoS protection still works as it has to, because the user can pre-divide its coins, neverthless if it wants to disrupt more than one round.

Because of the aformentioned implementation difficulties it might be possible at output registration phase we start getting close to the 1 minute timeout, and this would slow down the that phase from a few second to close to minute.

This would also make deanonymization somehow easier, because there'd be less distinct participant in a mix.
Maybe this should be only introduced when some massive liquidity is already achieved.

It was referenced from the document, the issue can be closed.


feat: override rover's exe with $ROVER_BIN

Let me know if you think there's a better env var or a different pattern I should use here to override this with

@EverlastingBugstopper looks great! can you push a rebase? thx.


fix(playwright): use _getContext for _locate

Motivation/Description of the PR
Related to this fix
https://github.com/codeceptjs/CodeceptJS/pull/2667
Occasionally, we also see this error:
  Cannot read property '$$' of null
      at findElements (node_modules/codeceptjs/lib/helper/Playwright.js:2151:18)
      at Playwright._locate (node_modules/codeceptjs/lib/helper/Playwright.js:840:12)
      at async Playwright._withinBegin (node_modules/codeceptjs/lib/helper/Playwright.js:611:17)

Seems like we should be using this._getContext() here as well. Still not quite sure how this.context is null in these cases.
Applicable helpers:

[ ] WebDriver
[ ] Puppeteer
[ ] Nightmare
[ ] REST
[ ] FileHelper
[ ] Appium
[ ] Protractor
[ ] TestCafe
[x] Playwright

Applicable plugins:

[ ] allure
[ ] autoDelay
[ ] autoLogin
[x] customLocator
[ ] pauseOnFail
[ ] puppeteerCoverage
[ ] retryFailedStep
[ ] screenshotOnFail
[ ] selenoid
[ ] stepByStepReport
[ ] wdio

Type of change

[ ] :fire: Breaking changes
[ ] :rocket: New functionality
[x] :bug: Bug fix
[ ] :clipboard: Documentation changes/updates
[ ] :hotsprings: Hot fix
[ ] :hammer: Markdown files fix - not related to source code
[ ] :nail_care: Polish code

Checklist:

[ ] Tests have been added
[ ] Documentation has been added (Run npm run docs)
[ ] Lint checking (Run npm run lint)
[ ] Local tests are passed (Run npm test)

Test failure seems unrelated to my PR

The test failure for Playwright Tests seems to be independent of my changes and happening on the 3.x branch.

Yeah, the failure is unrelated. So I can merge this PR
Thank you!

@DavertMik Thanks for getting this merged! We'd really appreciate getting this into the next release since it's the last bit of flakiness that we're seeing for our test suite.


Python SSHNPD: Exception handling when already running a SSHNPD (dart or python)

Is your feature request related to a problem? Please describe.
Breaks the SSH Connections. Just need to improve the exception message because it's currently a wall of text that gets written out.
Steps to reproduce

First I run a Dart SSHNPD
Then I run a Python SSHNPD
And then SSHNP to my atsign
kaboom

Expected behavior
Better exception handling for this part.
Screenshots
No response
Smartphones
Were you using an atApplication when the bug was found?
No response
Additional context
No response

Closed by #425

It seems to still be happening, it will be solved once direct ssh is implemented.

solved in #445 : commit
will close when approved


'Configuration' object has no attribute 'non_estimated_time'

        for activity in enhanced_event_log[log_ids.activity].unique():
            # Get the activity instances which start was estimated with, at least, the enabled time
            activity_instances = enhanced_event_log[
                (enhanced_event_log[log_ids.activity] == activity) &  # An execution of this activity, AND
>               (enhanced_event_log[log_ids.enabled_time] != start_time_config.non_estimated_time)  # having an enabled time
                ]
E           AttributeError: 'Configuration' object has no attribute 'non_estimated_time'

../external_tools/extraneous-activity-delays/src/extraneous_activity_delays/delay_discoverer.py:45: AttributeError

At this line https://github.com/AutomatedProcessImprovement/extraneous-activity-delays/blob/main/src/extraneous_activity_delays/delay_discoverer.py#L45, in start_time_config.non_estimated_time, non_estimated_time is missing from Configuration.

Besides the latest two issues, the rest seems to be working. For this specific issue, I don't know what to write instead of enhanced_event_log[log_ids.enabled_time] != start_time_config.non_estimated_time, so I commented it out. It runs then and adds timers to BPMN as expected.


A few simple kubebuilder validations.

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

@imain you need to run make update, other than that it looks good :)

Thanks Alvaro!

/lgtm


Spectatorview Compositor crash to desktop - Take Canon Picutre

When I hit the 'Take Canon Picture" button in Unity when using the compositor it crashes to the desktop.  I've attached the error files.  I've gone through all the instructions multiple times, I've copied the DLLs.   The Canon SDK is installed and I've set the path and the flag var.
errors.zip

Using a Canon 5D Mark iii


dxgi.dll already exist

Hi,
When i update the addons i get an error
An unhandled exception occured.
The file 'C:\Games\Guild Wars 2\bin64\cef\dxgi.dll' already exist.
If i want to update the addons i have to delete this file every time.
log.txt

bump.  Is this a known issue as a result of the April 18th patch?

I'm having the same issue. it's beginning to bleed over into game. going to disable everything until i see an update fixing it. (im not skilled enough to know which files and where to find them, that's why i have an addon manager) I hope it's fixed soon!

Latest update of the manager seems to resolve this issue. Had it prior to installing new version; hasn't appeared with me chaining a few updates on the new version

I guess i will have to uninstall and reinstall because the last update did not fix it for me.

Yes I updated to v1.4.5 and this resolved the issue. Thank you!

I'm glad I checked here. Updating to v1.4.5 fixed it for me as well and also fixed LaunchBuddy :D


return not found when executable file does not exist

Now when the cgi executable file does not exist, server error is returned. Before I execute cgi, I check whether the executable file exists. If it does not exist, it returns 404 error instead of 500.

Thanks for the change(s)!
Just for a bit of background: is this behavior expected? Do other CGI-enabled servers handle it that way? Naively I would have expected, if you specifiy the path to an executable in your Caddyfile, and it cannot be found or accessed, it's a server-side error (5xx), since it's not the fault of the client (4xx).

At times, we may want to employ a shebang to specify each CGI script (executable), and then map each executable to a user's access path. When a user attempts to access a nonexistent CGI script, returning a 404 error might be the expected behavior. In other CGI setups, there may also be provisions to look for alternative scripts like index.py, index.sh, or index.php when a matching CGI script is not found. Given that caddy-cgi utilizes 'executable' as its terminology, it appears to be more inclined towards returning a server error in such scenarios.

In CGI environments, there's a requisite for both executables and script paths to facilitate the desired operations. Some CGI entities are not script-based but are standalone executables, showcasing a level of interchangeability between executables and script paths to some extent.
This is the document of lighttpd's cgi module, which you can refer to：
https://redmine.lighttpd.net/projects/lighttpd/wiki/Mod_cgi
I merely believe that returning a 404 error in certain situations is more convenient. Ultimately, it's all up to your perspective. Best wishes.

I'll think about this a bit.
Maybe I could introduce a setting for it.

auto (the default) would throw a 500 if the script path / exe has no replacements (so it likely points to something we expect exists), and a 404 if it contains replacements.
and a custom status code that would be returned any time

More complicated scenarios would have to be covered by conditions in the Caddyfile.

@clysto After thinking on it, I think the better solution is to use Caddy's matcher to make sure the files exists (basically the try_files behavior). I added an example to the README: 73a8b892


Add start container task

Closes https://github.com/PrefectHQ/prefect-docker/issues/16
Example

        from prefect import flow
        from prefect_docker.containers import start_docker_container
        @flow
        def start_docker_container_flow():
            container_id = start_docker_container(container_id="c157")
            return container_id
        start_docker_container_flow()

Checklist

[x] This pull request references any related issue by including "Closes #<ISSUE_NUMBER>"

If no issue exists and your change is not a small fix, please create an issue first.

[x] This pull request includes tests or only affects documentation.
[x] Summarized PR's changes in CHANGELOG.md

Converted a few PRs to drafts because I need to rebase with close_client branch and also add async.


Contact Saul Carlin with concerns

?
Don’t understand this issue.

On Dec 15, 2016, at 8:53 AM, Jeffrey Zeldman<EMAIL_ADDRESS>wrote:
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/alistapart/AListApart/issues/392, or mute the thread https://github.com/notifications/unsubscribe-auth/AAS2ELlKJtCi7OflIUqTNfTYaTj4QzrVks5rIUZPgaJpZM4LOHlO.

An old to-do that got Zap'd into a GitHub Issue. Presumably as part of the testing that occurs while building a Zap. Never fear. Now that the Zap has been created, Zapier will only generate a new Issue when a new BC3 To-Do is posted to Alistapart.


Uncaught Error: useBlocker must be used within a data router

I am getting an error just with your example code
Error
Uncaught Error: useBlocker must be used within a data router

Code:
<ReactRouterPrompt when>
  {({ isActive, onConfirm, onCancel }) => (
    <Modal show={isActive}>

Do you really want to leave?

        <button onClick={onCancel}>Cancel</button>
        <button onClick={onConfirm}>Ok</button>

    </Modal>
  )}
</ReactRouterPrompt>

Libs:
    "react-router-dom": "^6.14.2",
    "react-router-prompt": "^0.5.4",

react-router-prompt

hi @JaLe29 i am still getting similar error i am using
"react-router-dom": "^6.10.0",     "react-router-prompt": "^0.5.4",
i am configuring routes like this:


Create SliderBanner component

Create SliderBanner component:

SliderBanner with react-slick and scss styles
Response for mobile and other devices.
SampleArrow component for slider.
Update package.json:
Added new dependencies:
"@types/react-slick", "react-slick", "slick-carousel" for slider working.

Can you review all the changes in the new commit? All the modifications made are described there.

Check new changes in PR.
Merge develop branch with feature/component/sliderbanner branch.
Resolve conflict in package.json.
Change interface in SliderBanner.
Change name for props in SliderBanner.

Delete test pictures from the project.
Add newline at the end

Ch### anges in the SliderBanner.scss file:

Made the height and width of the slide dependent on the device screen width.
Reduced the spacing between slides.
Increased the value of transform: scale.

Changes in the SliderBanner.tsx file:

Modified responsive settings by adding onFocus for mobile phones and tablets, removed unnecessary settings.
Adjusted the interface according to the new responsive settings.

.scss flies change:
add background for buttons,
delete border for buttons and change button size,
in all .scss files add 4 space for better reading.
NextArrow.tsx PrevArrow.tsx change:
change div to button and fix interface


WIP: changed sha256 package and added a benchmark.

The benchmarks should use different amounts of data because the algorithms doesn't perform the same way (at least on the numbers it throws).
(ref: https://github.com/spacemeshos/POET/issues/23)

Good job! Let's finalize this PR:

Please add to the code the c file used to generate the go assembler and a script file showing how to generate it from the source.
Open a PR from your local fork of sha256-simd to this repo: https://github.com/spacemeshos/sha256-simd - so we can merge it to there, and use that lib in this project.


fix: show information message after image pushed to the cluster

Fix #185.

As mentioned, this will be a temporary solution until the 'bell list' has been implemented.

This shouldn't have to wait for us to merge.


Expressive modules

I like the idea of zf2 modules. It would be useful to have this functionality in expressive application by default. Ideally before v. 1.0 release comes.

You can check this one https://github.com/mtymek/modular-expressive

Yeah I saw that repo. I think modules functioanality is high-useful and therefore should be supported by default.

https://github.com/mtymek/modular-expressive#limitations
If you want to use fullstack framework use ZF2 or wait for ZF3 ;)

There is a cookbook recipe for modular applications now. It is quite easy to setup.
http://zend-expressive.readthedocs.org/en/latest/cookbook/modular-layout/
@weierophinney
Maybe the issue could be closed? I guess it will not be supported by default, will it?

@RalfEggert we may add the mtymek/expressive-config-manager to the skeleton (and/or organization!) in the future, but, as you note, it's usable today already, and documented. Closing!


Dev/0.1

First PR.

Should follow development specifications: https://yuque.antfin-inc.com/oasisgroup/engine_dev/fnvozr


Feature/pre-built-images

Automates publishing of pre-built images

Closing as these changes are encapsulated in #269.


Add citation counts on articles

Perhaps using one of the r packages that queries Google scholar or ORCID

I've implemented this to provide counts of citations found on both Google Scholar and Crossref. The article details section now includes a citations section:


feature(#59882255):saas boost swaggerurl关闭线上访问

修复oos相关权限问题 2. 修复swagger安全性访问问题

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


Added --wordpress_url option for using other version of WordPress.

brent shaffer likes this. LGTM.

@bshaffer Thanks! Did a little wording change. I will squash and merge once the test passes.


Don't see git commits in tmux compared to bash

I've got tiny-care-terminal installed and working fine in bash. However when I switch to tmux, everything displays apart from the git commits. I've checked that the environment variables are set correctly in tmux, by echoing them. I've also checked the versions of node and tiny-care-terminal in both bash and tmux and they both return the same values.

Node Version: node --version
v4.2.6

tiny-core-terminal version: npm info tiny-care-terminal | grep version:
1.3.2

Shell: bash, zsh, fish, something else?
bash

Terminal Program: tmux, iterm, terminator, cmd, something else?
tmux

Operating System: Mac, Windows, Linux, BSD, Really, something else?
Linux- Ubuntu Gnome

Thank you!

Please update node.js to a version >= 6.10.3.
See https://github.com/notwaldorf/tiny-care-terminal/blob/master/package.json#L9

I'd share a screenshot but the upgrade worked- thanks!


[kws]: adding softmax layer will decrease accuracy for multihead attention rnn

@rybakov
We use the training script listed here.
https://github.com/google-research/google-research/blob/898f3471b88411e9e78155e4e5ca050c31c5c56b/kws_streaming/models/att_mh_rnn.py#L202-L203
The default param of flags.return_softmax is 0.
https://github.com/google-research/google-research/blob/898f3471b88411e9e78155e4e5ca050c31c5c56b/kws_streaming/models/model_params.py#L70
If I use softmax, the accuracy will be decreased.

Hello, thank you for evaluating kws lib!
In this lib we use SparseCategoricalCrossentropy(from_logits=True) loss, so return_softmax has to be equal zero. With this set up loss function computation may be more numerically stable as mentioned in SparseCategoricalCrossentropy
return_softmax was introduced for special cases where loss function require probability distribution. For example if you change parameters of your loss function SparseCategoricalCrossentropy(from_logits=False) and set from_logits=False then you will need to enable return_softmax=1.
There is no need to modify return_softmax in this lib. For example if you plan to modify your loss function, only then you should consider to use return_softmax (depending on loss function parameters/config).
Please let me know if you have more questions.

Thanks for reporting your numbers! It looks like I added a bug in my recent code refactor, that is why your accuracy is a little off. I am validating it now and will follow up on Monday.

lippman1125@ I reverted a code refactor (which was compatible with eager mode only) please update your code with the latest version. I trained att_mh_rnn model several time on data set v2 and get 98%


Package shelly2pm setup failed

Describe the bug

Expected behavior

i use this configuration:
python_script:

# automations.yaml file
- id: shellies_announce_gen2
  alias: "Shellies Announce Gen2"
  trigger:
    - platform: homeassistant
      event: start
  variables:
    device_info_payload:  "{{ {'id': 1, 'src':'shellies_discovery', 'method':'Shelly.GetConfig'} | to_json }}"
    device_ids:  # enter the list of device IDs (MQTT prefixes) here
      - Shelly
  action:
    - repeat:
        for_each: "{{ device_ids }}"
        sequence:
          - service: mqtt.publish
            data:
              topic: "{{ repeat.item }}/rpc"
              payload: "{{ device_info_payload }}"

- id: shellies_discovery_gen2
  alias: "Shellies Discovery Gen2"
  mode: queued
  max: 999
  trigger:
  - platform: mqtt
    topic: shellies_discovery/rpc
  action:
  - service: python_script.shellies_discovery_gen2
    data:
      id: "{{ trigger.payload_json.src }}"
      device_config: "{{ trigger.payload_json.result }}"

Versions:

Home Assistant: last version
Shellies Discovery GEN2: last version
Shelly device firmware: last version

Shellies Discovery GEN2 automation:

Debug log:

I think you forgot about something.


Refactor baufile

Raising this mainly because I want to test the status reporting from the build server :stuck_out_tongue:

Hold off merging until I've fixed the status reporting.

Status reporting is working  - this is good to go.
Do we want a Travis CI build? I guess it won't really prove much unless their are some acceptance tests for running with the new engines.

yeah I think if you could set up Travis CI build that would be great - at least we'll know whether it builds on nix which in itself is important too.


Configure X and Y Axis

Add channels to the ConfigMenu for X and Y Axis.
Add Reverse Axis Option to ConfigMenu for X and Y Axis.

https://github.com/cfrankb/esp-idf-cs3/commit/d7690e8468e610c132f523648a31e0e7d9f40946

I have ordered one of these
https://vi.aliexpress.com/item/1005004528153988.html

working !


Post-release 2023.10.0

Unpin dask/distributed for development
Update conda recipe

Codecov Report

Merging #1243 (31b8fc9) into main (1552348) will decrease coverage by 0.09%.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main    #1243      +/-   ##
==========================================
- Coverage   81.58%   81.50%   -0.09%
==========================================
  Files          78       78
  Lines        4611     4611
  Branches      854      854
==========================================
- Hits         3762     3758       -4
+ Misses        660      659       -1
- Partials      189      194       +5

see 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Dependency upgrades

The dependencies need to be kept up-to-date. Dependabot does not yet support Dart packages.

I'll probably just update them manually until Dependabot supports dart.
https://github.com/dependabot/dependabot-core/pull/4510


[Bug] When viewing map play back controls are off the screen

When I open view map on Chrome the controls to play, stop, go faster, etc. are off the screen and there is no scross bar to scroll down and see them. I need to zoom the while window out to see them and control the map.

Thanks @b00kz22!

What do you set your zoom in order to see the playback?
Any particular maps this happens on?

If you have a moment, can you send me your data and profile files, and upload them here

\user\mods\raid_review__0.0.1\data
\user\profiles*

Closing issue, solved in Dev branch. Will be in the next update, thanks for taking the time to report @b00kz22


tag element with long label - usage of ellipsis when tag label / autocomplete item text is too long

Hi there,
Since my intentions are to use this excellent control in responsive design, I would appreciate support of auto truncate option, when control width reaches certain threshold.
Currently, if I have item with relatively long label and control's width drops below label width, the result is not pleasant.
You can see small screenshot here:

The fifth tag is called "Bosnia and Herzegovina and Montenegro" (yes, I know there is no such country :)) and as you can see - the label and removing button are placed below the tag area.
I think instead of current result, the best is to have ellipsis added at the end and part of the label being truncated. This should be done both for tags & autocomplete list items.
Here is the complete Plunker example:
http://plnkr.co/edit/6Pzl3iY5jZCnHRsInois?p=preview
Do you think there are relatively easy way to fix that (probably via tag & autocomplete templates)?
Best Regards

Hey @angel1st did you come up with a workaround for this? I was thinking to fork the repo and fix this myself. For now I'm overwriting the template, but it's quite complicated.

Hi @dcortes92 - no, I didn't find workaround. In fact I was expecting some feedback from the ngTagsInput's creator, but apparently, it didn't happened yet.

This issue was selected to be spring-cleaned by a script. More information can be found here.
If anyone thinks this was a mistake and this issue should be reopened, please leave a message below explaining why. Before doing so, please consider reading the CONTRIBUTING file.


podspec: add support tvOS

@acidlynx, apparently Contacts framework doesn't  support tvOS, you can find the reference here https://developer.apple.com/documentation/contacts


Add check for debian_version also in debug switch

Thanks. Manually merged.
I am getting a lot of older pull requests through with these making it more difficult to auto-merge.

Ah sorry, do you mean old commits from my branch?
If so and you prefer not to merge (though there are no file changes) I think cherry-picking is a step easier than manual merge. Your're welcome and thanks to you too :)


Minor issues

Hi,
I'm looking into this project in an effort to build an offline-first app. I am amazed by the overall quality and effort in this project! Thank you all!
But I also found a few glitches, maybe that is because my rust is either too old or too new or I'm not (yet) proficient in rust.
Anyway, my rustc is 1.62.1 (e092d0b6b 2022-07-16) and the CI script is issuing these as errors.
Also, the dev dependencies are missing cargo deny. This in turn has some more funny deps so I ended up installing perl modules I did not know existed. CI is is calling cargo deny, so it should at least be a documented dependency.

Thanks for this - looks like there's a minor collision with the merge I just did - happy to merge this if you get it fixed.

Was required to build with rust 1.62.

@orionz, to clarify, @simonthum's patch of automerge/src/decoding.rs was not made redundant by #414.


[NCC-E005955-7DU] zebra-network: Fragile State Transition During Address Book Update

Impact
Failure to reject out of order address change requests corrupts the Address Book’s state and opens the Zebra node to state manipulation attacks.
Description
The zebra_network’s AddressBook update implementation uses MetaAddrChange’s apply_to_meta_addr() to update the entry’s previous state to the received updated state.
The apply_to_meta_addr() function validates the change against the previous state and optionally returns the new MetaAddr. If the received state is not the never-attempted state (the else condition on line 831) the current state is one of { AttemptPending, Responded, Failed}. In order to tolerate an address change request that is received out of order, the implementation picks the maximum of { last_response, last_attempt, last_failure} timestamps. Thus these timestamps will never revert to their previous values. However, independent of what the previous state was, on line 853, the new address state is returned. The last_connection_state records the outcome of local node’s most recent
communication attempt with this peer:
https://github.com/ZcashFoundation/zebra/blob/5a88fe783c4c219beb94362b78974555fa1a398b/zebra-network/src/meta_addr.rs#L785-L860
Recommendation
Update apply_to_meta_addr() to return None when the state transition is invalid, e.g., the request is received out-of-order.
Location
zebra-network/src/meta_addr.rs, line 853

Hey team! Please add your planning poker estimate with Zenhub @arya2 @conradoplg @dconnolly @oxarbitrage @teor2345 @upbqdn

This suggested solution won't quite work, because incoming network messages from the same peer can be processed in parallel by different tasks. So we need to:

add times to each message
compare the times within some tolerance
prioritise the "worst/latest" peer state if the times are close (Failed, Responded, AttemptPending)

There's also a separate fix needed to avoid one peer overwhelming the shared address book update channel.