What are the correct arguments for onnx_export.py if my train_ssd.py resolution=600x600?

Hi @dusty-nv,
Below are my train_ssd.py arguments
!python3 train_ssd.py --dataset-type=voc --data=data/final --model-dir=models/final --batch-size=128 --workers=12 --epochs=50 --resolution=600

What are the correct arguments required for onnx_export.py? From my source code inspection, seems that width, height and batch-size are the key arguments
parser.add_argument('--width', type=int, default=300, help="input width of the model to be exported (in pixels)")
parser.add_argument('--height', type=int, default=300, help="input height of the model to be exported (in pixels)")
parser.add_argument('--batch-size', type=int, default=1, help="batch size of the model to be exported (default=1)")

and I expected the below code works
python3 onnx_export.py models=models/final --width=600 --height=600 --batch-size=128

but after running the code I found out that I received the following error:
Namespace(batch_size=128, height=600, input='', labels='labels.txt', model_dir='models/final', net='ssd-mobilenet', output='', width=600)
=> running on device cuda:0
=> found best checkpoint with loss 2.8281142711639404 (models/final/mb1-ssd-Epoch-46-Loss-2.8281142711639404.pth)
creating network:  ssd-mobilenet
num classes:       9
=> loading checkpoint:  models/final/mb1-ssd-Epoch-46-Loss-2.8281142711639404.pth
=> exporting model to ONNX...
/content/pytorch-ssd/vision/ssd/ssd.py:45: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
  if get_feature_map_size:
/content/pytorch-ssd/vision/ssd/ssd.py:75: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
  if get_feature_map_size:
/content/pytorch-ssd/vision/ssd/ssd.py:87: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
  if get_feature_map_size:
/content/pytorch-ssd/vision/ssd/ssd.py:93: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
  if get_feature_map_size:
Traceback (most recent call last):
  File "onnx_export.py", line 109, in <module>
    torch.onnx.export(net, dummy_input, args.output, verbose=True, input_names=input_names, output_names=output_names)
  File "/usr/local/lib/python3.8/dist-packages/torch/onnx/utils.py", line 504, in export
    _export(
  File "/usr/local/lib/python3.8/dist-packages/torch/onnx/utils.py", line 1529, in _export
    graph, params_dict, torch_out = _model_to_graph(
  File "/usr/local/lib/python3.8/dist-packages/torch/onnx/utils.py", line 1111, in _model_to_graph
    graph, params, torch_out, module = _create_jit_graph(model, args)
  File "/usr/local/lib/python3.8/dist-packages/torch/onnx/utils.py", line 987, in _create_jit_graph
    graph, torch_out = _trace_and_get_graph_from_model(model, args)
  File "/usr/local/lib/python3.8/dist-packages/torch/onnx/utils.py", line 891, in _trace_and_get_graph_from_model
    trace_graph, torch_out, inputs_states = torch.jit._get_trace_graph(
  File "/usr/local/lib/python3.8/dist-packages/torch/jit/_trace.py", line 1184, in _get_trace_graph
    outs = ONNXTracedModule(f, strict, _force_outplace, return_inputs, _return_inputs_states)(*args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/module.py", line 1194, in _call_impl
    return forward_call(*input, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/torch/jit/_trace.py", line 127, in forward
    graph, out = torch._C._create_graph_by_tracing(
  File "/usr/local/lib/python3.8/dist-packages/torch/jit/_trace.py", line 118, in wrapper
    outs.append(self.inner(*trace_inputs))
  File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/module.py", line 1194, in _call_impl
    return forward_call(*input, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/module.py", line 1182, in _slow_forward
    result = self.forward(*input, **kwargs)
  File "/content/pytorch-ssd/vision/ssd/ssd.py", line 101, in forward
    boxes = box_utils.convert_locations_to_boxes(
  File "/content/pytorch-ssd/vision/utils/box_utils.py", line 104, in convert_locations_to_boxes
    locations[..., :2] * center_variance * priors[..., 2:] + priors[..., :2],
RuntimeError: The size of tensor a (11658) must match the size of tensor b (3000) at non-singleton dimension 1

Question:

I found out that using just 'python3 onny_export.py models=models/final' works, do those value matter?
If those values matter, how should I change the values?
Should I just alter the values from the res-512 branch to achieve the results?

Update
I checked out the res-512 branch for pytorch-ssd it worked
!python3 train_ssd.py --dataset-type=voc --data=data/final --model-dir=models/final --batch-size=128 --workers=12 --epochs=50
!python3 onnx_export.py --model-dir=models/final --batch-size=128

@dusty-nv may I know whether this is a bug or not?


Some Swaziland numbers returning invalid

Some prefixes for Swaziland are considered invalid by libphonenumber, but are valid numbers.
References: https://en.wikipedia.org/wiki/Telephone_numbers_in_Swaziland
http://www.itu.int/dms_pub/itu-t/oth/02/02/T02020000C60001PDFE.pdf
I found the following prefixes return invalid from libphonenumber:
Prefix (City): Sample Number
2452 (Bhunya): 2452 6012
2416 (Lobamba): 2416 1049
2472 (Mahwalala): 2472 8344
2467 (Mhlambanyatsi): 2467 4177
2312 (Mhlume): 2312 0227
2442 (Ngwenya): 2442 4031
2437 (Pigg's Peak): 2437 3633
2422 (Sidwashini): 2422 0155
2382 (Simunye): 2382 1152
2482 (Siphoncosini): 2482 9459
(The sample numbers above are actual numbers I got by Googling Swaziland and the prefix)
Other prefixes that I couldn't find numbers for, but are listed in the list on Wikipedia:
2453 (Bhunya) and 2322 (Tshaneni)
Since these are second prefixes, they might not be in widespread use yet.

Hi,
Do you have supporting evidence of the numbers being valid? For example official documentation from the government, telecom authority or carrier are good. If none of them are available, news reports of the introduction of the new prefixes are also OK.
The ITU link does not refer to the specific area codes. We have covered the first 2 digits you specified in https://github.com/googlei18n/libphonenumber/blob/master/resources/PhoneNumberMetadata.xml.
The wikipedia page has been showing those area codes for years, and the references don't help. The first reference is the ITU, and the second is no longer on the web.

The number 2416 1049 has been assigned to a property in Swaziland. The property
owner is trying to enter that number, but it is rejected. This is a valid number in that you
can call it and people will answer. All of the numbers I listed were listed as being valid
contact phone numbers. And if you have covered the numbers, why are they rejected?
On 20 Jul 2015, at 16:30, Keghani Kouzoujian<EMAIL_ADDRESS>wrote:

Hi,
Do you have supporting evidence of the numbers being valid? For example official documentation from the government, telecom authority or carrier are good. If none of them are available, news reports of the introduction of the new prefixes are also OK.
The ITU link does not refer to the specific area codes. We have covered the first 2 digits you specified in https://github.com/googlei18n/libphonenumber/blob/master/resources/PhoneNumberMetadata.xml.
The wikipedia page has been showing those area codes for years, and the references don't help. The first reference is the ITU, and the second is no longer on the web.
—
Reply to this email directly or view it on GitHub.

Jackie Poplar
Developer, HI:Communication

The numbers for Bhunya are actually rejected because in the regular expression in SZ.pm, there is:
40[4-69]|67 for the digits after the initial '2'. This will reject numbers starting with '245'

Here is the regular expression for Swaziland in the js file for the library:
2(?:2(?:0[07]|[13]7|2[57])|3(?:0[34]|[1278]3|3[23]|[46][34])|(?:40[4-69]|67)|5(?:0[5-7]|1[6-9]|[23][78]|48|5[01]))\d{4}
Note that the 40[4-69]|67 rule validates a number that begins with '240' but not '241' , '242', etc.

We will update the metadata for Swaziland to support as fixed-line all 8-digit numbers starting with 22, 23, 24, and 25, taking the ITU document for evidence. This should satisfy your use case.

Wonderful! Thank you!
On 21 Jul 2015, at 11:48, Keghani Kouzoujian<EMAIL_ADDRESS>wrote:

We will update the metadata for Swaziland to support as fixed-line all 8-digit numbers starting with 22, 23, 24, and 25, taking the ITU document for evidence. This should satisfy your use case.
—
Reply to this email directly or view it on GitHub.

Jackie Poplar
Developer, HI:Communication

Fixed in release 7.0.9.


Executable

Hi,
je ne trouve pas l'executable pour installer wexflow.
Merci

Here is the x64 installer. You must unblock it before install. You can find other installers in releases page.

@man75 Does i solve your request?
Close your issue is you are satisfied.


Mic on Catalina GL753VD

@MohammadtaghiFarkhondekar Thank you so much for the excellent guide, which even works for Asus RoG Strix GL753VD. The only issue I have not resolved is why will the mic not work? Can you help out? I have checked @Mirone's posts and guides and even @Rehabman, no success.

Hi . Your welcome . Gl553 and gl753 is not same . Use other apple alc id and test.


fixset oepration type coercion is diff with legacy planner

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.96 seconds
load time: 508 seconds
storage size:<PHONE_NUMBER>9 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230116144958_clickbench_pr_81313.html


[SDP-975]: Multi-tenancy - Add Organization (Tenant) Name field for Login & Forgot/Reset Password screens

Also added on MFA page

stellar-disbursement-platform-frontend-preview is available here:http://sdp-frontend-pr50.previews.kube001.services.stellar-ops.com/

stellar-disbursement-platform-frontend-preview is available here:http://sdp-frontend-pr50.previews.kube001.services.stellar-ops.com/


external css file option [Enhancement]

You can add external css file support

https://surbhioberoi.github.io/github-widget


Translation to spanish of bigonotation

Closes #6996

Please still don't check this one, because I made mistake and I translated without noticing that @jherna37 had asked to translate this one.  Let's wait 7 days to allow @jherna37 to send his pull request (if he sends I will close this one,).

@vtamara did you hear back from @jherna37? We want to merge this ASAP :)

Hey, sorry about the delay.  You need to be making a PR against the FCC repo.

So from the new pull request page. the base is "fccimg"? I apologize as I am new to github.

@jherna37 The base fork should be FreeCodeCamp/FreeCodeCamp and the base branch should be staging

Hopefully now I've performed the proper steps.

@jherna37 You still made the PR against your own fork. Try initiating the PR from the main FreeCodeCamp repo.

I made another attempt from the main repo page. What am I using to compare?

@jherna37 I see in your repo that you tried to translate the HTML instead of translating the sources in JSON. I invite you to the spanish chat room: https://gitter.im/AlexTrapp/FreeCodeCampEspañol  Also please check how to start a translation at https://github.com/vtamara/fcc_trad/blob/master/Recomendaciones.md

@vtamara updated the pull request.

@vtamara updated the pull request.

:+1:


Support for proxy

We need to send data to StackDriver from EC2 instance without a public IP (mainly for security reason).
Is there a way to tell the plugin to use a proxy?

+1 for proxy support.


support for Page Visibility API aka window blur/focus aka "I leave a tab in background"

I think this library would be great if it would also provide the "onLeave" behavior when the document becomes "invisible", for instance you changed the tab on your browser, or you minimized the window and call back the "onEnter" when it comes back to visibility. there seems to be an API for that https://www.w3.org/TR/page-visibility/ but i'm pretty sure a way to detect that existed for a lot of time, back in the days i remember using jQuery(window).blur(fn) and focus(fn) a lot for this.. it is really useful if you don't want to leave tab running animation in background. even tho, nowadays, browser should schedule less timer events/animation frames when in background it's still some useless interval/animations calls that can potentially be saved with this.
I imagine this can be an opt-in behavior because maybe this does not make sense for all usages of Waypoint, but I still think it should be part of the library for a unified way to handle onEnter/onLeave logics.

(also just want to thanks you for this great library! really like library like these that exclusively focus on solving one complex problem)

Hi @gre! Thanks for sharing your idea to improve this library!
I'm always open to considering how this library can be improved, but I might need a bit more information to see the value in this addition.
For instance, consider a page that has 200 Waypoints. If i wanted to add some page visibility logic here, I'm thinking I'd want to have that in 1 central place rather than in my 200 Waypoints. Perhaps a single utility that updates a central store (like redux) for instance. Since I only need a single place to track this global state, it seems unusual that I would select just one of those 200 Waypoints as the one responsible for this.
Or, perhaps I have another page that has no locations I'd want to use a Waypoint for, but I do want to track page visibility. Adding a Waypoint to the page for the purpose of getting the page visibility callback also seems strange to me.
I agree that tracking page visibility is useful, and I also think that Waypoints are useful. The part I'm missing is how combining the two into one library provides a unique benefit over keeping them separate. It's entirely possible that I'm missing something obvious though. Would you have time to try and elaborate a bit further? I'd really appreciate it!

This is also a feature that I'd find useful, in my case I'm using react-waypoint to start/stop/replay some animations that occur as you scroll through different parts of a site. I've implemented my own window focus tracking to handle this, but it'd be convenient if react-waypoint had this feature.
I can see how this feature is a little unrelated to react-waypoint but there certainly is some overlap in use cases.
Potentially it could be opt-in via a prop like trackWindowFocus.
Anyway, thanks for a great library. 👌

Hi @levibuzolic ! Thanks for adding more info to this issue about your use case. I’ve thought more about this, though, and I’m still not too convinced that it makes sense to merge it in here. Window focus state is global state, yet waypoints are individual bits of localized state, within a given window. This difference in scope just suggests to me that it doesn’t make sense to add this feature to this library. Waypoints are all about scroll position, and not window focus state.
I think it’s better for this library to stay scoped to solving one specific issue (related to scroll position), and not branch out to cover other aspects of window state.
I’m going to close this out for now, but that doesn’t mean that the conversation has to end here. If you, or anyone else, wants to try to make additional arguments in favor for this feature, definitely do so. Also, @trotzig / @lencioni feel free to chime in/reopen if you feel differently.
Thanks, and sorry!

@jmeas that sounds absolutely fair, while there's overlap in use, it's definitely a bit outside the scope of this library. Thanks for taking the time. :+1:


L5 - New configuration scheme

The old format used my default connection instead from the oauth2 config file.

Thanks. L5 support is still Work In Progress.


Accessible adult website

Example URL(s)
https://video.union.fr/
Actual Behavior
This website is accessible unless couldflare DNS "Malware Blocking Only" is enhanced
Expected Behavior
Website blocked
Additional information
No response

Howdy @benkrmhe, this is actually a documentation repo so we don't have the ability to act on those requests.
I'd encourage you to use Cloudflare Radar to report the categorization issue you're seeing.


Use a stable default readerName

Problem description
The readerName is used only as a key into Flink's checkpoint state to disambiguate the state written by our checkpoint hook, from that of other hooks in the same job.    It is important for the value to be stable, otherwise the savepoint is unusable.   Let's use a more stable identifier by default than a randomly-generated value.
Problem location
FlinkPravegaReader
Suggestions for an improvement
Ordinary state stored by an operator is similarly disambiguated using the operator ID (ref).    Some enhancement to Flink's hook facility would be needed to use the operator ID here.
In the meantime, I suggest hashing the inputs to the PravegaFlinkReader (stream name, etc) to generate a default value for the readerName.

What is the rationale (why do we need) in providing a constructor without reader name?
https://github.com/pravega/flink-connectors/blob/master/src/main/java/io/pravega/connectors/flink/FlinkPravegaReader.java#L110


JS: classify files with many short variables as minified

The recent discussions of minified files motivated me to dig this one up.
This change classifies toplevels with many variables, which are all short, as minified.
The definition of "many" and "short" are debatable. But I have not observed any false positives for the proposed many = ">100" and short = "length <= 2".
See the following query console examples here:

https://lgtm.com/query/1506718038365/
https://lgtm.com/query/1506720407221/

I am open to changing the definitions or abandoning the change completely if it seems too dangerous.
Performance is unchanged.

I gave this change another spin on ~200 projects. I think we should include it.

It flags ~500 files that already are classified as minified here: https://lgtm.com/query/8747517216683803927/.
It flags 10 files that are not already classified as generated/minified: https://lgtm.com/query/1680347049737613659/, some examples:

https://lgtm.com/projects/g/datasalt/splout-db/snapshot/d45beda12c5c46269fe01299d04e6c0889d9bfda/files/splout-hadoop/examples/meteo/web/js/jquery.js
https://lgtm.com/projects/g/ziahamza/webui-aria2/snapshot/da160308c31e98da5c5110b76f323d542eb87f4a/files/docs/app.js
https://lgtm.com/projects/g/angular-cn/ng-nice/snapshot/5621e8e3d5f06527f8cd25764f30a74924fa5c0a/files/web/static/lib/moment/2.6.0/moment.js
https://lgtm.com/projects/g/decipherinc/angular-debaser/snapshot/ac5643aef877cd598477403129ecb49a63667a9b/files/docs/scripts/prettify/prettify.js
https://lgtm.com/projects/g/rapidpro/rapidpro/snapshot/1b7855f88325b57045ea028d25e6e4ff4b03cb90/files/static/bower/jquery-easing/jquery.easing.js

I am doing another performance evaluation.


Error on reoload: Error from the extension host: spawn /usr/share/code-insiders/code-insiders (deleted) ENOENT

VSCode Version: Code - Insiders 1.11.0-insider (c995ecf2e94a00aa7eda81ed842e787b999e83ae, 2017-03-27T06:07:52.443Z)
OS Version: Linux x64 3.18.0-13530-g8bc6aca
Extensions:

Extension
Author
Version

html-snippets
abusaidm
0.1.0

githistory
donjayamanne
0.2.0

jupyter
donjayamanne
1.0.0

python
donjayamanne
0.6.0

code-runner
formulahendry
0.6.14

beautify
HookyQR
1.0.1

theme-material-theme
jprestidge
1.0.1

MagicPython
magicstack
1.0.7

debugger-for-chrome
msjsdiag
2.6.0

view-in-browser
qinjia
0.0.5

python
tht13
0.2.3

html-css-class-completion
Zignd
1.0.3

Steps to Reproduce:

Downloaded code-insiders from this evening
Observed: Error from the extension host: spawn /usr/share/code-insiders/code-insiders (deleted) ENOENT
Restarted VsCode.
Observed: Error from the extension host: spawn /usr/share/code-insiders/code-insiders (deleted) ENOENT

Expected: No error message

What does ls -la /usr/share/code-insiders/code-insiders return?

-la /usr/share/code-insiders/code-insider:
ls: cannot access '/usr/share/code-insiders/code-insider': No such file or
directory
On Mon, Mar 27, 2017 at 2:19 PM, João Moreno<EMAIL_ADDRESS>wrote:

What does ls -la /usr/share/code-insiders/code-insiders return?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/23256#issuecomment-289589309,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHsh0yBd9GiK9l9gfTXaiSlYhj7wbaXWks5rqCfYgaJpZM4Mp4wq
.

Which package did you install? The ZIP, the deb or the rpm?

The deb downloaded as part of the nightly web update.
The only issue other than that error  is that the error messages are not
clearing so there are annoying pop ups over my code once it is working
correctly.
It may not be related to each other.
On Mon, Mar 27, 2017 at 11:56 PM, João Moreno<EMAIL_ADDRESS>wrote:

Which package did you install? The ZIP, the deb or the rpm?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/23256#issuecomment-289680583,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHsh00quPc-xxUMc6WLpwCJ10uSAM_QLks5rqK8JgaJpZM4Mp4wq
.

Both issues have resolved with this mornings download.
Thank you for your response.
-r
On Tue, Mar 28, 2017 at 10:07 AM, R. Edward Stern<EMAIL_ADDRESS>wrote:

The deb downloaded as part of the nightly web update.
The only issue other than that error  is that the error messages are not
clearing so there are annoying pop ups over my code once it is working
correctly.
It may not be related to each other.
On Mon, Mar 27, 2017 at 11:56 PM, João Moreno<EMAIL_ADDRESS>wrote:

Which package did you install? The ZIP, the deb or the rpm?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/23256#issuecomment-289680583,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHsh00quPc-xxUMc6WLpwCJ10uSAM_QLks5rqK8JgaJpZM4Mp4wq
.

This means you need to restart VS Code, it happens when VS Code tries to reload itself using the executable that no longer exists.


[FEAT]: Preview doc deployment

Description
Currently, all of the doc improvements are made in the dev branch. But this is hard for people to contribute to various parts of the documentation together.
Let's use this Github Action to preview Github page deployment.
Additional Information
No response

oh I like this, could we do a similar thing for our sotopia website?

sotopia website is handled by vercel? If we use a similar way to the docs site, we should be able to use this for that as well.

Yeah, I am going to move it to github pages

Sadly, after some digging, I found that the action above doesn't support actions/deploy-page (deploy from github action).
And the preview feature of actions/deploy-page is still in alpha: https://github.com/actions/deploy-pages/issues/337.


flutter doctor displays older android SDK after newer version is installed

Without Android SDK 29, flutter doctor complains:
[✓] Flutter (Channel master, 1.22.0-10.0.pre.89, on Mac OS X 10.15.6 19G73, locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    ✗ Flutter requires Android SDK 29 and the Android BuildTools 28.0.3
      To update using sdkmanager, run:
        "<...>/Android/sdk/tools/bin/sdkmanager" "platforms;android-29" "build-tools;28.0.3"
      or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions.
[✓] Xcode - develop for iOS and macOS (Xcode 11.7)

After installing Android SDK 29 though, it displays the current version as 28. Perhaps it is picking the first one it finds? At any rate it should probably show the newest version.
bash-3.2$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 1.22.0-10.0.pre.89, on Mac OS X 10.15.6 19G73, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)

I can reproduce the issue
[✓] Flutter (Channel master, 1.22.0-10.0.pre.109, on Mac OS X 10.15.6 19G2021, locale en-GB)
    • Flutter version 1.22.0-10.0.pre.109 at /Users/tahatesser/Code/flutter_master
    • Framework revision e682ec711a (25 minutes ago), 2020-09-09 10:52:27 +0200
    • Engine revision d1d848e842
    • Dart version 2.10.0 (build 2.10.0-98.0.dev)

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/tahatesser/Code/sdk
    ✗ Flutter requires Android SDK 29 and the Android BuildTools 28.0.3
      To update using sdkmanager, run:
        "/Users/tahatesser/Code/sdk/tools/bin/sdkmanager" "platforms;android-29"
        "build-tools;28.0.3"
      or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed
      instructions.
    • All Android licenses accepted.

Thank you for working to resolve this. Are there any updates at the moment? It would help greatly to know what could be done to correct this issue.

Thank you for working to resolve this. Are there any updates at the moment? It would help greatly to know what could be done to correct this issue.

This was solved for me when I removed the earlier Android SDK - in my case 26.X.X.

I am having the same issue. Updated from 32 to 33 using the Android Studio SDK Manager, however, Flutter Doctor still shows 32. How do you change that?

I'm verifying this issue on the latest stable and master channel. I see it seems to be fixed when upgrading Android SDK Build-Tools from 31.0.0 to 32.0.0.
Before upgrading (31.0.0)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

After upgrading (32.0.0)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.7.7, on macOS 13.0.1 22A400 darwin-x64, locale en-EE)
    • Flutter version 3.7.7 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2ad6cd72c0 (10 hours ago), 2023-03-08 09:41:59 -0800
    • Engine revision 1837b5be5f
    • Dart version 2.19.4
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.76.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.60.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 110.0.5481.177

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.9.0-12.0.pre.17, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.9.0-12.0.pre.17 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6b7c60d69a (2 hours ago), 2023-03-20 18:08:51 -0700
    • Engine revision ea6ed14b4e
    • Dart version 3.0.0 (build 3.0.0-345.0.dev)
    • DevTools version 2.22.2
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.76.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.60.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 111.0.5563.64

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

@DennisAshford Can you share your flutter doctor -v and the screenshot of SDK Manager? And it would be appreciated if you could also retry on the latest Flutter channels to check if the issue still persists or not.


Korean official website doesn't redirect to the corresponding english page when switching to English from Korean.

Version
2.6.6
Reproduction link
https://kr.vuejs.org/v2/guide/index.html
Steps to reproduce

Go to https://kr.vuejs.org/v2/guide/index.html
Click on "다른 언어로 보기" on the upper right of the page.
See the unexpected result.

What is expected?
I expected to get the corresponding english page.
What is actually happening?
it redirected me to https://vuejs.org/

switching from English to Korean works, not vice versa.

Please file an issue at vuejs-kr/kr.vuejs.org. This repo is for the core lib only. Thanks!


[Bug]: Null for entities sometimes doesn't work

What happened?
I configured the card for multiple rooms and for some rooms I didn't want to show any entities on the card. Out of 3 rooms it only works for 2. The exact same config doesn't work for the 3rd room for some reason.
Screenshots:

Card Version
1.1.8
Home Assistant Version
2023.2.5
Browser Version
Chrome 109.0.5414.120
Relevant javascript log output
No response

Setting it to null is not a scenario I expect at this moment. You can either remove it, or set up a list. Since this is an Area card, if you don't specify an entity list it will automatically grab your area entities. This card is not meant to be empty at this moment.

Thank you for the info.
It would be great to have this feature implemented, as it is a valid use case to not show any entities on the card.
I will create a pull request for this.


test change

Performance tests failed.
See results here: http://<IP_ADDRESS>:9080/#/report/detail/22

run performance tests please

Performance tests failed.
See results here: http://<IP_ADDRESS>:9080/#/report/detail/22

run performance tests please

Performance tests failed.
See results here: http://<IP_ADDRESS>:9080/#/report/detail/22

run performance tests please

Performance tests failed.
See results here: http://<IP_ADDRESS>:9080/#/report/detail/22


Make addRow() return the created row so that it can be further updated

addRow() should return the newly created row as SpreadsheetRow object after it has been successfully created. It allows it to be updated later.

Thanks for this. Used it in https://github.com/theoephraim/node-google-spreadsheet/commit/0b241d61f5a197811823784803553d9d5e64a014


Vim9: cannot surround ternary operator with parentheses

Describe the bug
In Vim9 script, we cannot surround a ternary operator with parentheses.
To Reproduce
Run this shell command:
vim -Nu NONE +'vim9 echo (a == 0 ? 0 : 0)'

E15 is raised:
E15: Invalid expression: "= 0 ? 0 : 0)"

Expected behavior
No error is raised.
Environment

Vim version: 8.2 Included patches: 1-3056
OS: Ubuntu 20.04.2 LTS
Terminal: XTerm(353)

Additional context
Regression introduced in 8.2.3056.

The previous code is useless.  Here, is a more useful one:
const FLAG2ARG: dict<string> = {
    S: '<script>',
    b: '<buffer>',
    e: '<expr>',
    n: '<nowait>',
    s: '<silent>',
    u: '<unique>',
}
def MapMeta(
    key: string,
    rhs: string,
    mode: string,
    flags: string
)
    exe (mode != '!' ? mode : '') .. (flags =~ 'r' ? 'map' : 'noremap') .. (mode == '!' ? '!' : '')
        .. ' ' .. MapArguments(flags)
        .. ' ' .. '<m-' .. key .. '>'
        .. ' ' .. rhs
enddef
def MapArguments(flags: string): string
    return split(flags, '\zs')
        ->map((_, v: string): string => get(FLAG2ARG, v, ''))
        ->join()
enddef
defcompile

No error is raised.

Actually, an error would be raised even if the issue was fixed, because a is undefined.  Here is a new MWE:
vim -Nu NONE +'vim9 var a = 0 | vim9 echo (a == 0 ? 0 : 0)'

The issue was fixed for the == comparison operator, but it persists for =~:
vim -Nu NONE +'vim9 var a = "" | vim9 echo (a =~ "" ? 0 : 0)'
E15: Invalid expression: "~ "" ? 0 : 0)"


selectableRowsHideCheckboxes hides check boxes but still takes up space

When selectableRowsHideCheckboxes is set to true, the first column containing the check boxes is still there (even though the checkboxes are no longer visible).
Is there a way to remove the whole column? or at least make it take up 0 space?
Expected Behavior
Checkbox column does not take up space
Current Behavior
Checkbox column takes up space even though checkboxes are hidden
Steps to Reproduce (for bugs)
https://codesandbox.io/s/muidatatables-custom-toolbar-kwemy?file=/index.js
Play around with selectableRowsHideCheckboxes option
Your Environment

Tech
Version

Material-UI
4.11.0

MUI-datatables
3.7.1

React
16.13.1

browser

etc

I've had to override the theme based on whether the selectableRowsHideCheckboxes option is true to get this to work. Ideally this should happen out of the box if the option is true.
MUIDataTableSelectCell: {
      root: {
        display: "none",
      }
    }
``

https://github.com/gregnb/mui-datatables/blob/fde3497a552040505f70c274466715fce1d7e8ab/src/components/TableSelectCell.js#L165
I think it's in the wrong place.

@aryo
Fixed 3.7.2

@wdh2100 Good stuff!


Improve up/down icons

This is just to improve the previous icons of up and down to a better ones.
Before:

After:

I think now it's clearer what they do.

@nicolasricci Can we tag a new version after the 3 PR get merged? We could really use the new icons and the fixed stuff.
Thanks for your time :)

thanks @jordisala1991 i am going to tag a new version


Network/Routing analysis with DotSpatial

DotSpatial version: 2.0
I am researching for ways to do network analysis or routing optimization with DotSpatial. ArcGIS currently has an extension for this called Network Analyst but would like to keep my analysis with open source resources. In short I am looking to see if DotSpatial offers some type of TSP tools.
What I do have is a point featureset with all the cities of interest. The problem will include the start city and the end city. I would like to see if its possible to have GIS determine possible ways to connect the two within numeric and spatial restrictions. Say for example there can be no more than 3 inner connections and the connections have to stay within a football shape created between the start city and end city. These are fuzzy restrictions right now but just want to see if DotSpatial has anything I can test.
Abel

Posted in StackOverflow and apparently GDAL has network classes for this type of thing https://gis.stackexchange.com/questions/303217/network-routing-analysis-with-open-source-gis. I tried it in QGIS and not having prior experience in this, it seemed to me that it was rather slow. Then again it probably does tons of iterations for a solution.


BLI deposit - type ... missing data?

Validation error
Type: Missing data for required field.
I checked all places where this could apply to EOIs but I could not find any type specification missing.
phzb9-nj208.json
Also for previous BLI issues listed - this is the record that generated all the validation errors.
I have not managed to get to "Deposit" with not validation errors ...

This is likely a duplicate of #268


podman-remote prune containers

enable the ability to prune containers from the remote-command.  this
also includes the system prune command.
Signed-off-by: baude<EMAIL_ADDRESS>

Needs a rebase to get the SELinux fixes.

@baude Needs a rebase.

LGTM

/lgtm


Update readme & dockerfile to use Maxfuzz stable release

Make the stable release the default in README to reduce build/wait time.

Reviews
0/1
Message

More info


Type mismatch

Minor issue, but shouldn't anim be of type string?
https://github.com/replit/kaboom/blob/72d4268bda123194ebbb9712de904d82f9e89343/src/types.ts#L2157

Typo! Thanks, fixed.


[BUG] Event Hub and Service Bus Producers should attempt to create a connection on send

Currently, if a connection is not reopened within the retry policy, the entire producer client is useless. However, it should be that we try to create a connection whenever a send operation is invoked and apply the retry policy to that case.  If there exists a current connection, we'll reuse that.
We'll need to double-check this for the ServiceBusReceiverClient and ServiceBusReceiverAsyncClient as well.
ServiceBusSenderAsyncClient sender = builder.buildClient();

try {
// Just block here for the sake of the snippet.
   sender.sendMessage(message).block();
} catch (Exception e) {
   // The send operation timeout due to a network issue that lasts 10 minutes (past the retry policy).
   // So you'll get an exception when you block.
}

// Sometime later (like 10 or 30 minutes), the sender tries to send but the sender is no longer usable.
// In other languages, when users invoke the send operation, that's when the sender will check whether
// or not there is an active connection.
// If there is an active connection, it uses that to send.
// If there is _not_ an active connection, it tries to create a new one.
// This way, the same sender client can be used instead of having to create a new one.
sender.sendMessage(message2);

I'am having a similar problem using Spring JmsTemplate.
After about 10 minutes of inactive in a queue it can't send any more messages.
I'am using "spring-cloud-azure-starter-servicebus-jms" 4.0.0 and spring-boot 2.5.5
The stack trace presents this error:
org.springframework.jms.core.JmsTemplate.lambda$send$3(JmsTemplate.java:586)
	at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:504)
	... 58 common frames omitted
	Caused by: org.apache.qpid.jms.provider.ProviderException: The link 'G3:51701296:qpid-jms:sender:ID:99e3893e-e039-4587-a868-2828cd2aa461:1:99:1:QUEUE_NAME' is force detached. Code: publisher(link4205569). Details: AmqpMessagePublisher.IdleTimerExpired: Idle timeout: 00:10:00. [condition = amqp:link:detach-forced]

Is there any solutions or workarounds for this?

Hi @Toniotti
Thanks for reporting that. To help us better tracking your issue, can you open up a new issue with detailed information, like how to reproduce? you can tag that issue with azure-spring-servicebus.

Hi @liukun-msft
I opened a new issue here #28754 (couldn't figure out how to put the label you asked for, i'am not used to github.)

Fixed via #33224


[Pager] Make PagerScope a ViewModelScopeOwner and LifecycleOwner

For Wear apps we need to manage the FocusRequestor when navigation destination or pager changes.
With Navigation 2.5.0-alpha this works well for Navigation.
public open class NavScaffoldViewModel(
...
) : ViewModel() {
...

or in the destination.
    composable(route, arguments, deepLinks) {
        val lifecycle = LocalLifecycleOwner.current.lifecycle

        LaunchedEffect(lifecycle) {
            lifecycle.repeatOnLifecycle(Lifecycle.State.RESUMED) {
                focusRequester.requestFocus()
            }
        }

It would be nice if a similar pattern was possible for pager.
Pause, Resume would be great if they fired when the page changed.

Pager is not a navigational component on its own. So it shouldn't know anything about the lifecycles. But you can build something which does the needed wiring on top of it.
Maybe something like this is what you need?
           val pagerState = rememberPagerState()

           LaunchedEffect(pagerState) {
               snapshotFlow { pagerState.currentPage }
                   .collect {
                       .. do focus
                   }
           }

Sorry, but I don't really understand how this should work in your opinion. Again, I am pretty confident that Pager should stay "just" a layout which does the scrolling and not be aware about anything navigation related, has no dependencies on ViewModels, etc.
Maybe you want to build your own navigation solution on top of Pager - ok. Like I remember we have a navigation host which displays its "screens" as Dialogs, this could be something similar.

@andkulikov That makes sense and works. I'll wrap pager in my case and implement the bits I'm suggesting.
I think my core disconnect is that Pager breaks the assumptions that hold in various other places like Activities and Navigation, so code working there can break and require other wiring to get it working again.  That was what I was struggling with and why I suggested this.
But as you say, it can be implemented on top, it doesn't have to live in Pager, which can remain a simple un-opinionated UI component.


@benawad <-- add this to chat

Imagine making a clubhouse clone over a weekend and not having every single feature absolutely perfect. PepeLaugh

This Issue reminds me, add emotes. PogU


fixmove ReplaceVariableByLiteral rule to analyze phase

Proposed changes
pick from master https://github.com/apache/doris/pull/33997

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall


Linode type is not an array

Coverage remained the same at 80.481% when pulling 0ce816cfabeb70edc539ff5e61f782340e0514f1 on eatonphil:fix-linode-types into b47488cbdd02baf4311a74654ef022f49da55917 on linode:master.


support podman

Would be great to add support for podman as well

Definitely makes sense to add, but I'm not sure podman is daemonised in the same way docker is?
I know at the cli api level they're roughly API compatible, but I'm not sure if Bollard is inherently podman compatible
I'll definitely look into it once I've got a few more features on the docker side

podman is indeed a  daemonless which makes sense if you think about it, why do you need a daemon to run containers ?
and it has an API that is accessible via unix socket
https://docs.podman.io/en/latest/_static/api.html

Usually a podman installation comes with a socket service (either rootless or root) that was designed to replace dockerd socket. For 99% of all containers / docker-compose stuff you don't have any problems with it. I even added a docker context for it (running docker root/docker rootless/podman on my system). Preference goes to Podman but some devs still rely on docker root :(
https://docs.podman.io/en/v4.1.1/markdown/podman-system-service.1.html
Now you just need to add a pods view. And secrets.

I will have a re-read of the docs
My mis-understanding from a brief read about the podman socket service was that there were security implications of it
Thanks for the corrections!

+1


How to factor in rest time at level 7 ?

Hi guys,
Could someone please explain how to factor in rest time in level 7?
With much love,
johnnythesnake12 sssss

i would recommend that you add the rest time to the next available timing, however it may depend on your implementation

You can consider checking if your server is taking a rest in your Done event by getting it from the Supplier, then return a new event back to your PQ with the current event time + server resting time. Hope this helps!

I opted to check if the server is going to rest in the Done event. If the rest time obtained from the supplier isn't 0, then it goes to a ServerRest event, else the server goes to serve the next customer (if any).

I think you can try to store a supplier for rest time in each customer, and only invoke it when a server is done serving that customer, in the Done event.

i believe it should be somewhat similar to the way you update the shop for your serve class! the idea is that the server will continue to be busy just like it was if it was serving a customer until it's next available time which is simply the current time (i.e. time of done event) + the rest time which you would get from the supplier!


Branch has been changed from dev to master

Branch has been changes from dev to master

job/satg-aee-android-ci/job/VM-MANAGER-PR-FLOW/125/

Build successful.
job/satg-aee-android-ci/job/VM-MANAGER-PR-FLOW/125/

Please find the Deb Package Path :
artifactory/dev-automation-ba-local/vm-manager-binaries/314/PR/7d9401b

job/satg-aee-android-ci/job/VM-MANAGER-PR-MERGE-FLOW/85/

Build successful.
job/satg-aee-android-ci/job/VM-MANAGER-PR-MERGE-FLOW/85/

Please find the Deb Package Path :
artifactory/dev-automation-ba-local/vm-manager-binaries/314/MR/7d9401b


Feature support visitBitmapUnion mv rewrite (#29…

Proposed changes
pick from #29200
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall


AWS X-Ray: Reduce sampling rate

Scope: all AWS resources.
Purpose: cost reduction.
References:

https://aws.amazon.com/blogs/aws/apigateway-xray/

Created new X-Ray sampling rule to attempt temporarily disabling tracing completely:
[cloudshell-user@ip-10-4-86-121 ~]$ aws xray create-sampling-rule --sampling-rule RuleName=TempDisable,ResourceARN=*,Priority=9999,FixedRate=0.0,ReservoirSize=0,ServiceName=*,ServiceType=*,Host=*,HTTPMetho
d=*,URLPath=*,Version=1
{
    "SamplingRuleRecord": {
        "SamplingRule": {
            "RuleName": "TempDisable",
            "RuleARN": "arn:aws:xray:eu-west-2:[redacted]:sampling-rule/TempDisable",
            "ResourceARN": "*",
            "Priority": 9999,
            "FixedRate": 0.0,
            "ReservoirSize": 0,
            "ServiceName": "*",
            "ServiceType": "*",
            "Host": "*",
            "HTTPMethod": "*",
            "URLPath": "*",
            "Version": 1,
            "Attributes": {}
        },
        "CreatedAt": "2023-02-05T05:16:27+00:00",
        "ModifiedAt": "2023-02-05T05:16:27+00:00"
    }
}

Will continue to monitor X-Ray costs...

Turns out (as confirmed from various sources ^1^3) that when integrating Lambda with X-Ray, the sampling rate cannot be configured.

X-Ray applies a sampling algorithm to ensure that tracing is efficient, while still providing a representative sample of all requests. The sampling rate is 1 request per second and 5 percent of additional requests.

Note
You cannot configure the X-Ray sampling rate for your functions.

(Source: https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html)
Will look at actually disabling X-Ray completely. 😞


RLS: 0.2.0

@parthea can you do this release?
whatsnew needs updating to the date of the release and otherwise follow the release-procedure.
also some things failing which :<
https://travis-ci.org/pydata/pandas-gbq/builds/256434923

Sure. I can try to make a release.
I've opened a new issue to track the recent build failures. Note: This not a regression in pandas-gbq as the previous version of pandas-gbq also has this issue.

@jreback  I'm stuck at step  twine upload dist/* with error HTTPError: 403 Client Error: Invalid or non-existent authentication information. Do I need permissions to publish to pypi?

@parthea you should be good to go to upload to PyPi (then trigger conda-forge). pls check docs after as well.
Note that we want travis to be passing before releases. you can xfail these tests until they are fixed / worked around. These were very recently working. So it is odd.

I restarted the builds on travis and now the 0.2.0 release is passing https://travis-ci.org/pydata/pandas-gbq/builds/256746482 . I'll submit a separate PR to xfail the intermittent test while we look into issue #75.
I've published 0.2.0 on PyPi and submitted a pull request on conda-forge. Please take a look.
While reviewing the 0.2.0 docs, I noticed that the change log in the docs has a formatting error which has been fixed on master in https://github.com/pydata/pandas-gbq/commit/0b25a6bb40bc0f4bba8a041d500ac8fd60f3eb90. Should I fix the formatting error in the docs for the 0.2.0 release, and delete and re-create the 0.2.0 tag?

just push a new commit to fix docs
you can NEVER change a release tag

thanks @parthea
let's xfail those flakey tests until fixed.

if you want to send out a release note to the mailing this would be great (completely optional here), something like this: (and then put a link in the wiki): https://github.com/pandas-dev/pandas/wiki/Release-Checklist


Handle all derived cluster enums together.

In derived clusters, the same emun is represented in a different namespaces for the different clusters. This means that functions that take these enums have to use the underlying uint8_t type. This can make the code difficult to read due to all the to_underlying calls.
Look into the possibility of standardising how these enums are handled such that SDK users do not need to call to_underlying when passing these enums.
It would be ideal if this solution would also allow SDK users to hold these enums in the same variable.

@hasty has something that might fix this.

Yes, I submitted a PR on zap here, though someone with write access will need to merge it. I'll have another one for this repo once that one bumps the zap release version.


Fatal crash if not a project plugin

I'm working on a custom, built from source version of the engine (4.17.2), and have been working on integrating various plugins.  BLUI (specifically this fork) is one of them.  When I successfully compile and test a plugin, I then move it into the engine plugin folder.  However, when moving BLUI out of the project's plugin folder, the editor crashes on startup.  I browsed through some logs briefly, but only found this little bit:
[2017.12.14-05.53.57:172][  0]LogWindows: Error: UE4Editor-Blu.dll!0x0000000070ACB808
[2017.12.14-05.53.57:172][  0]LogWindows: Error: UE4Editor-Blu.dll!0x0000000070A97CE7
[2017.12.14-05.53.57:172][  0]LogWindows: Error: UE4Editor-Blu.dll!0x0000000070A6DC09
[2017.12.14-05.53.57:172][  0]LogWindows: Error: UE4Editor-Blu.dll!0x0000000070A66FF3
[2017.12.14-05.53.57:172][  0]LogWindows: Error: UE4Editor-Blu.dll!0x0000000070A75A1C

I will attempt to test various other ways of moving this over to the engine plugin folder, but was hoping this was an easy fix.

I personally nearly never place my plugins inside engine source, so my help may be limited, but I wonder if the third party dependencies are missing (https://github.com/getnamo/BLUI/blob/master/Source/Blu/Blu.Build.cs#L64) when it's run from engine plugins location. Have you tried running with debug mode? The stack trace is usually easier to decipher then.

Closing due to age, re-open if relevant


Update README: tested device

I updated the tested devices table.

@Mai-Matsuura please review the changes.

@HidenoriMatsubayashi
I checked the changes and it looks fine.

Thanks.


How to use the C# in the repo to generate private key for Ethereum address?

Hello:
I am new to this repo, I want to do some test.
I have done the following:
I created one C# WinForms app target .NET 6, and install the following NUGET packages:
PM> Install-Package Microsoft.AspNetCore.Mvc -Version 2.2.0
PM> Install-Package Tatum.CSharp.Core -Version 2.4.0
PM> Install-Package Tatum.CSharp.Ethereum -Version 2.4.0
I created a normal Form1.cs and add one class: GeneratePrivateKeyExampleService.cs
The following is the code in GeneratePrivateKeyExampleService.cs:
using Microsoft.AspNetCore.Mvc;
using Tatum.CSharp.Core.Model;
using Tatum.CSharp.Ethereum.Clients;
namespace GenPrivateKeysForm
{
public class GeneratePrivateKeyExampleService
{
private const string ERC20_Mnemonic =
@"My_24_Words_Parameter_For_Ethereum_Wallet";
    private readonly IEthereumClient _ethereumClient;

    public GeneratePrivateKeyExampleService(IEthereumClient ethereumClient)
    {
        _ethereumClient = ethereumClient;
    }

    public PrivKey GeneratePrivateKey([FromBody] PrivKeyRequest request)
    {
        request.Mnemonic = ERC20_Mnemonic;
        request.Index = 1;

        PrivKey privateKey = _ethereumClient.Local.GenerateAddressPrivateKey(request);
        return privateKey;
    }
}

}
I can compile my code, but I don’t know how to call this and get the private. How can I pass the request parameter in  GeneratePrivateKey function?
By the way, I also tried to use Rest-Clien (Insomnia) to generate private key for the address I created before. But I got the following error:
{
"statusCode": 400,
"errorCode": "validation.failed",
"message": "Request validation failed. Please see data for additional information.",
"data": [
"Mnemonics must consist of 12 or 24 words, and every word should be at least 2 letters long.",
"mnemonic must be shorter than or equal to 500 characters",
"mnemonic should not be empty",
"index must not be greater than<PHONE_NUMBER>",
"index must not be less than 0",
"index must be an integer number",
"index should not be empty"
]
}
I used the same mnemonic when I generated an Ethereum wallet. But I got the error.
Finally, I tried to write some Node Javascript to generate a private key for the Ethereum address I created.
The following is the Node JavaScript (Node version: 19.1.0)
const Tatum = require('@tatumio/tatum');
const {generatePrivateKeyFromMnemonic, Currency} = require("@tatumio/tatum");
const CreatePrivateKey = async () =>
{
try
{
const erc20PrivateKey =
await generatePrivateKeyFromMnemonic(Currency.ETHEREUM, false, "My_24_Words_Parameter_For_Ethereum_Wallet" 1);
console.log({key: erc20PrivateKeyPrivateKey});}
catch (err)
{
console.log(err);
}
};
CreatePrivateKey();
When I run this, I got no output at all.
D:\nodejs\Tatum>npm list
Tatum@ D:\nodejs\Tatum
`--<EMAIL_ADDRESS>D:\nodejs\Tatum>node PrivateKey_ERC20Address1.js
^C
D:\nodejs\Tatum>
How can I debug or show more verbose output to find the issue?
I am using Windows 10 (Version 22H2), Visual Studio 2022 (Version 17.4.1)
Please advise,
Thanks,

Hello @zydjohnHotmail,
Can we please move the discussion to https://discord.com/channels/847940290903932939/914832388431958036
I'll be able to answer all of your questions related to use cases there. Github issues it more for technical issues with the SDKs and not so well suited for support discussions.
As for the question - request body parameters are passed to the method straight from the json body of the request, it depends on the caller how that is defined. You can also just pass mnemonic and index as argument and instanciate PrivateKeyRequest object inside the mothod.
For other requests seems like the mnemonic string is malformed in some way, please check if api is called with expected values.


Cleanup setup.py

This PR improves setup.py in several ways:

It fixes a small type error with extra_deps['all'].
It adds torch as a requirement in install_requires. This was missing before even though the library requires torch.
We deleted the import of torch in setup.py. Since setup.py does not actually use any torch functions, this import is unnecessary.

Hey, looks awesome! Thanks for the PR! Apologies for the delay on this an others some access perms seems to be messed up currently...
Give me the thumbs up and I'll merge!

I heard you hit an issue needing torch at install time? Could you share the error?

Hi @tgale96.
Just saw your message. Thanks so much for getting back to me.
This PR is ready and I'd love it if you could merge it.
Background:
The error I got was the result of some complexities introduced by adding a pyproject.toml to MegaBlocks. This changes how pip installs packages in isolation 1, 2 which causes the computer to think that torch is not installed even when it is.
TLDR: After adding a pyproject.toml to MegaBlocks, running
python install "torch<2.4"
python install .

in the MegaBlocks repo in a fresh virtual environment failed with the error
(megablocks-16) root@62d6f7c1-f73e-4060-96e7-3fb0da4091cd-0:/mnt/workdisk/eitan/10_productionize_megablocks/megablocks# pip install . --no-cache-dir
Processing /mnt/workdisk/eitan/10_productionize_megablocks/megablocks
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting numpy<2.1.0,>=1.21.5 (from megablocks==0.5.1)
  Obtaining dependency information for numpy<2.1.0,>=1.21.5 from https://files.pythonhosted.org/packages/ef/27/39622993e8688a1f05898a3c3b2836b856f79c06637ebd4b71cb35cc9b18/numpy-2.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
  Downloading numpy-2.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.9/60.9 kB 162.1 MB/s eta 0:00:00
Requirement already satisfied: torch<2.4,>=2.3.0 in /mnt/workdisk/eitan/10_productionize_megablocks/venvs/megablocks-16/lib/python3.11/site-packages (from megablocks==0.5.1) (2.3.1)
Requirement already satisfied: triton>=2.1.0 in /mnt/workdisk/eitan/10_productionize_megablocks/venvs/megablocks-16/lib/python3.11/site-packages (from megablocks==0.5.1) (2.3.1)
Collecting stanford-stk==0.7.0 (from megablocks==0.5.1)
  Downloading stanford-stk-0.7.0.tar.gz (17 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [20 lines of output]
      Traceback (most recent call last):
        File "/mnt/workdisk/eitan/10_productionize_megablocks/venvs/megablocks-16/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/mnt/workdisk/eitan/10_productionize_megablocks/venvs/megablocks-16/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/mnt/workdisk/eitan/10_productionize_megablocks/venvs/megablocks-16/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-j55yqtzx/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 327, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-j55yqtzx/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 297, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-j55yqtzx/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 497, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-j55yqtzx/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 313, in run_setup
          exec(code, locals())
        File "<string>", line 2, in <module>
      ModuleNotFoundError: No module named 'torch'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Removing torch from the setup.py of stk fixes this issue.
Thanks for being so responsive. Cheers!

There exists a similar problem in grouped_gemm and I made a similar PR to fix it.
I'd appreciate if you could check out that PR too.
Thanks!

Thanks, Eitan! I appreciate the detailed explanation!


Pre-import image to Scratchpad

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe.
Can I pre-import image to Scratchpad in drawio when diagram onload?
Describe the solution you'd like
Defined pre-import image in JS function - because then we don't have to continuously import image to Scratchpad.
Describe alternatives you've considered
Not Yet.
Additional context
There is kind of similar issue https://github.com/jgraph/drawio/issues/5, but contents unlike title don't have bearing on actually embedding Scratchpad into file.

Thanks for the suggestion. Unfortunately, the request didn't gain enough interest over the open it was open to justify the effort of implementation and maintenance.


1.99 Release broke down the Dropdowns on Fiori Elements apps

OpenUI5 version:
1.99.0
Browser/version (+device/version):
Chrome 98
Any other tested browsers/devices(OK/FAIL):
URL (minimal example if possible):
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:

Create a Fiori elements app with list report
Put some value helps with dropdowns to list report filters
Enjoy!

What is the expected result?
List of Values
What happens instead?

Any other information? (attach screenshot if possible)
Hi, I'm developing full stack apps with CAP + Fiori Elements, latest release broke down our dropdowns and displays the message in the screenshot. When we change the apps to previous versions, it works fine.
Thanks!

Hi @grknylmz ,
Fiori elements is part of SAPUI5 not of OPENUI5. GitHub is a place for managing issues for OPENUI5 only.
Please, open a ticket in SAP ticket system for managing incidents, like https://launchpad.support.sap.com/
Greetings,
Peter.


Update node-access.md

Updated wording on reimage important note to state that upgrade to latest model is needed before performing the reimage.

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

Hi @josecaneira - I've reviewed your proposed changes and I need to discuss this with our engineering team first before I approve. I'm concerned about making reference to VMSS scale set model, which isn't something that's been discussed / referenced in the AKS content regarding node images, and this could in its current form generate confusion.  This might be abstracted from our customers when reimaging a node, so I just want to cover my bases here. Thanks. #please-hold

[like]  José Caneira reacted to your message:

From: Matt Goedtel @.>
Sent: Wednesday, October 18, 2023 7:02:08 PM
To: MicrosoftDocs/azure-docs @.>
Cc: José Caneira @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Update node-access.md (PR #115967)
Hi @josecaneirahttps://github.com/josecaneira - I've reviewed your proposed changes and I need to discuss this with our engineering team first before I approve. I'm concerned about making reference to VMSS scale set model, which isn't something that's been discussed / referenced in the AKS content regarding node images, and this could in its current form generate confusion. This might be abstracted from our customers when reimaging a node, so I just want to cover my bases here. Thanks. #please-hold
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/pull/115967#issuecomment-1769146743, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2FENTMUJHUXNMHBIKJIOMDYAARTBAVCNFSM6AAAAAA57DFBESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRZGE2DMNZUGM.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @Matt @.***>,
My phrasing may also need some improvement 😉
To add more context: I performed a repro on using “Update SSH public key on an existing AKS cluster” due to reported issues from a Cx (SR#<PHONE_NUMBER>006028) and the only way the reimage updated the SSH keys was if I 1st upgrade the instance Model.
Please let me know if more information is needed.
Best regards,
José Caneira
Support Escalation<EMAIL_ADDRESS>Azure Containers Team (ACT)                          Office: +351 210 602 394
Customer Service and Support                       Working Hours: Mon-Fri 09:00-18:00 WET/WEST
Planned OOO: None.
Need help outside of my working hours?
Please reach out to Azure Support backup<EMAIL_ADDRESS>ARR customer? Please engage<EMAIL_ADDRESS>If you have any feedback about my work, please let either me or my manager Rafael Duarte know at<EMAIL_ADDRESS>@.***
From: Matt Goedtel @.>
Sent: Wednesday, October 18, 2023 20:02
To: MicrosoftDocs/azure-docs @.>
Cc: José Caneira @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Update node-access.md (PR #115967)
Hi @josecaneirahttps://github.com/josecaneira - I've reviewed your proposed changes and I need to discuss this with our engineering team first before I approve. I'm concerned about making reference to VMSS scale set model, which isn't something that's been discussed / referenced in the AKS content regarding node images, and this could in its current form generate confusion. This might be abstracted from our customers when reimaging a node, so I just want to cover my bases here. Thanks. #please-hold
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/pull/115967#issuecomment-1769146743, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2FENTMUJHUXNMHBIKJIOMDYAARTBAVCNFSM6AAAAAA57DFBESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRZGE2DMNZUGM.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Hi @josecaneira - I spoke with two PMs from the AKS team and confirmed that we shouldn't be making reference to the VMSS model term. This will only generate confusion and they've shared with me recommended rewording of the note. I'm going to create a PR now to apply that update. Also, in the future MSFT FTE's should be creating PRs against the azure-docs-pr private repo, not the public repo.
I'm going to proceed with closing this PR.  Thanks for your help and interest in helping to improve our content.
#please-close


Whitenoise options on App instantiation

Allow apistar App and ASyncApp to configure Whitenoise instance. That is specially useful to use autorefresh feature of whitenoise while running in debug mode.

Closing this off given that 0.6 is moving to a framework-agnostic suite of API tools, and will no longer include the server. See https://discuss.apistar.org/t/api-star-as-a-framework-independant-tool/614 and #624.


Disconnect message

Add a log message for all players to see if a player disconnects

Has been fixed along with #2


ENH: Add macOS arm64 builds

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[N/A] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

In the .configure --prefix=$PREFIX step I'm hitting
looking for gcc... /Users/runner/miniforge3/conda-bld/looptools_1732598279384/_build_env/bin/arm64-apple-darwin20.0.0-clang
looking for g++... /Users/runner/miniforge3/conda-bld/looptools_1732598279384/_build_env/bin/arm64-apple-darwin20.0.0-clang++
looking for fortran... /Users/runner/miniforge3/conda-bld/looptools_1732598279384/_build_env/bin/arm64-apple-darwin20.0.0-gfortran
extracting the Fortran libraries... ok
does /Users/runner/miniforge3/conda-bld/looptools_1732598279384/_build_env/bin/arm64-apple-darwin20.0.0-gfortran append underscores... error linking Fortran and C
Traceback (most recent call last):
...

but I am unable to locally reproduce by running
python build-locally.py osx_arm64_

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-webservice.
I tried to rerender for you, but it looks like there was nothing to do.
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12190276573. Examine the logs at this URL for more detail.


NAS Quickstart 101

Update Quickstart 101 for NAS 3.0.

I personally prefer to review on readthedocs. So approved.


Need dedicated TS_SSL_SERVERNAME_HOOK

If you have a plugin that needs to trigger on every TLS client hello, this won't
work the TS_SSL_SNI_HOOK with openssl-1.0.2.  In that version TS_SSL_SNI_HOOK
is shared with the TS_SSL_CERT_HOOK which does not trigger on session reuse.
I propose adding a dedicated TS_SSL_SERVERNAME_HOOK and deprecate the
TS_SSL_SNI_HOOK to drop on the next major release

Linux build failed! See https://ci.trafficserver.apache.org/job/linux-github/1440/ for details.

FreeBSD build failed! See https://ci.trafficserver.apache.org/job/freebsd-github/1546/ for details.

clang-analyzer build successful! See https://ci.trafficserver.apache.org/job/clang-analyzer-github/111/ for details.

Linux build failed! See https://ci.trafficserver.apache.org/job/linux-github/1442/ for details.

FreeBSD build failed! See https://ci.trafficserver.apache.org/job/freebsd-github/1548/ for details.

clang-analyzer build successful! See https://ci.trafficserver.apache.org/job/clang-analyzer-github/113/ for details.

Updated PR to address issue #1459

Linux build failed! See https://ci.trafficserver.apache.org/job/linux-github/1485/ for details.

FreeBSD build failed! See https://ci.trafficserver.apache.org/job/freebsd-github/1591/ for details.

Intel CC build failed! See https://ci.trafficserver.apache.org/job/icc-github/24/ for details.

clang-analyzer build successful! See https://ci.trafficserver.apache.org/job/clang-analyzer-github/156/ for details.

FreeBSD build failed! See https://ci.trafficserver.apache.org/job/freebsd-github/1592/ for details.

Intel CC build failed! See https://ci.trafficserver.apache.org/job/icc-github/25/ for details.

clang-analyzer build successful! See https://ci.trafficserver.apache.org/job/clang-analyzer-github/157/ for details.

Intel CC build failed! See https://ci.trafficserver.apache.org/job/icc-github/26/ for details.

Linux build failed! See https://ci.trafficserver.apache.org/job/linux-github/1487/ for details.

FreeBSD build failed! See https://ci.trafficserver.apache.org/job/freebsd-github/1593/ for details.

Intel CC build failed! See https://ci.trafficserver.apache.org/job/icc-github/27/ for details.

FreeBSD build failed! See https://ci.trafficserver.apache.org/job/freebsd-github/1594/ for details.

Linux build failed! See https://ci.trafficserver.apache.org/job/linux-github/1488/ for details.

clang-analyzer build successful! See https://ci.trafficserver.apache.org/job/clang-analyzer-github/158/ for details.

clang-analyzer build successful! See https://ci.trafficserver.apache.org/job/clang-analyzer-github/159/ for details.

Intel CC build failed! See https://ci.trafficserver.apache.org/job/icc-github/28/ for details.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/freebsd-github/1595/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/linux-github/1489/ for details.

clang-analyzer build successful! See https://ci.trafficserver.apache.org/job/clang-analyzer-github/160/ for details.

Updated again to add some docs and fix again the state handling while traversing the hooks.

Intel CC build failed! See https://ci.trafficserver.apache.org/job/icc-github/87/ for details.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/freebsd-github/1655/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/linux-github/1551/ for details.

clang-analyzer build successful! See https://ci.trafficserver.apache.org/job/clang-analyzer-github/219/ for details.

Looks good to me.. I tested with a plugin that requires this hook

@shinrich Maybe the SSL_CTX_set_early_cb() is better than SSL_CTX_set_tlsext_servername_callback() ?
Only one plugin could hook on the TS_SSL_SERVERNAME_HOOK since the SSL_CTX_set_tlsext_servername_callback() can not stop.

@shinrich @oknet Is this still a 7.1.0 candidate? Or do we move out to 7.2.0?


Mahadevan signs

Add a couple seals on the wrong branch, whoops!

Closing as I've moved these files to the correct branch


[NEW EXAMPLE] Homebrew - Download Strategy

General

Project name: Homebrew
Example name: Downloading software from a variety of sources in Homebrew
Project home page: https://github.com/Homebrew/brew
Programming language(s): Ruby
Frameworks, libraries used: Sorbet, rspec

Description
Homebrew needs to download and unpack the resource from the specified location, but how to do it depends on the exact URL. For instance, downloading a tarball is not the same as downloading repository content from Github. Some resources need to be unpacked, some don't.
Homebrew employs Strategy pattern to describe various ways to download a resource.
Links

Choosing the download strategy
AbstractStrategy - base class for all strategies
CurlDownloadStrategy.
Code to resolve a URL (follow redirects), get file name, modification time and size
Testing inferring strategies from URLs
Testing CurlDownloadStrategy

What makes it interesting

Taken from a very popular project.
The problem seems rather generic, the approach could be reused somewhere.
Complex, non-trivial implementation is hidden behind a simple interface.
Involves common OO design patterns: Strategy, Template Method.
Understandable without deep knowledge of Homebrew.

Other
N/A

A draft is ready: https://github.com/ainzzorl/goodcode/blob/4f5b4e11c240077fcfbe8a6223e199178eedf292/articles/homebrew-download-strategy.md

Before publishing it:

Explain what it means to define an interface implicitly.
Always use links and backticks with class names.
The header of "Implementation details" is missing somehow.
What does using < AbstractDownloadStrategy mean.
Explain CurlDownloadStrategy in some more detail and why it's not listed.
Explain other methods of the strategy interface.
"they actually call the git command" - explain a little.

Updated. Moving the article to PUBLISHED.


Sprint 11 | UAT | Case appearing in Ongoing stage

File a case as a complainant
Do not add an advocate
Confirm case detals

At this stage, the case is in pending esign stage.
However, it still appears in the ongoing case tab.
Expected behaviour: Cases, only once submitted (signing completed) should appear in the Ongoing case tab

hi @Taherabharmal caan you please specify what exactly is the condition for a case for it to be put in ongoing case, do we need to filter on the basis of status, if yes then can you please specify those. cc: @manimaarans @Ramu-kandimalla

hi @Taherabharmal  can you please provide the required details as I mentioned in the comment above. As this information will be required for front end as well back end team. cc: @manimaarans @devarajd94 @Ramu-kandimalla  @Susmitabe


Update main documentation about GOV.UK mirrors

We've recently migrated the process to populate mirrors to EKS. This updates and improves the existing documentation:

Change title to make it clear which type of mirror this is referring to
Remove referrences to CloudFront as not relevant here
Simplified explaination about how CDN serves traffic, better suited for arch documentation

@sengi - thanks for your proofreading!!!


src: use an external unified-list

Connects to #151

One test was commented, I'm going to open a new issue to revisit it.

Coverage decreased (-0.9%) to 88.215% when pulling 8b70ecf51a2b64341119579896befc8fcc88a349 on helio-frota:lr-151 into c8e103b7fb3e936fe388c5482fdda0e02452d57a on bucharest-gold:master.


feat(menu): add menu trigger support

This PR adds basic menu toggling functionality.
Still TODO (in future PRs):

Animation for menu opening
Position setting
Keyboard events
Prevent-close attribute

Menu shoould be closed when clicking outside or resizing the window (body:click & window:resize)
A z-index strategy should be managed in overlay class (adding a menu on a dialog, nested menus, etc.)

LGTM


Improvements?

I'm used to the HA default cover card which includes an UP and DOWN arrow. Your card displays a circumflex symbol (and one upside-down) which is much smaller to press on small smartphone. This is less handy for me and is holding me back for now.
I myself would prefer the default UP and DOWN arrow or an equivalent.
Picture:

I also noticed that your card does not have a on mouse hover action like the default HA cover card has.
(It doesn't color the background of the hovered item and no popup is shown.
Picture:

With the default HA cover card you get an UP or DOWN arrow while the cover is running. This arrow indicates in which direction the cover is currently running. I'm missing this feature in your card?
Picture:

Finally: I wonder if you would be interested in supporting these ( https://github.com/queimadus/cover-icon-element ) icons?
They included an UP/DOWN arrow (see point 3 above) and they also have 5 different icons which should be shown depending on the current position of the cover.

I changed all icons (opening, closing, and different icons for positions <25%, <50% and <75%) + changed icons for up/stop/down. My modified version can be found here: https://raw.githubusercontent.com/SanderM2/lovelace-shutter-row/main/shutter-row.js
I'm not sure if this is something you would like to adapt to your version? If not, I'll have to continue with a custom modified version instead.
But these icons can probably easily be made adjustable from config?

First thanks for the suggestions!

I'm used to the HA default cover card which includes an UP and DOWN arrow. Your card displays a circumflex symbol (and one upside-down) which is much smaller to press on small smartphone. This is less handy for me and is holding me back for now.
I myself would prefer the default UP and DOWN arrow or an equivalent.

These aren't circumflex symbols. If you go into the source code you will see these are just different direction icons, because I just don't want to copy paste the vanilla cover card (I know it's very similar, but at least it's something).
The symbols aren't smaller if you can see in the picture below.

I also noticed that your card does not have a on mouse hover action like the default HA cover card has.
(It doesn't color the background of the hovered item and no popup is shown.

Hovers are nice, this is something I could add in the future.

With the default HA cover card you get an UP or DOWN arrow while the cover is running. This arrow indicates in which direction the cover is currently running. I'm missing this feature in your card?

Finally: I wonder if you would be interested in supporting these ( https://github.com/queimadus/cover-icon-element ) icons? They included an UP/DOWN arrow (see point 3 above) and they also have 5 different icons which should be shown depending on the current position of the cover.

These icons look nice, but the repo owner didn't add a license to the repo so I have no right to use these.

But these icons can probably easily be made adjustable from config?

I see no point to add customizable dynamic icons, the entity icon should be enough.

I also like suggestion 3, as the mdi icon set is sorely missing different cover states. Are you sure you need a license in this case? The cover-icon-elemt icons are simple (and obvious) modifications of the standard mdi icons and therefore should have the same license IMHO.

No, I am not that into legal. But normally you push a license file into your repo, I don't know how it behave if you don't.

I changed all icons (opening, closing, and different icons for positions <25%, <50% and <75%) + changed icons for up/stop/down. My modified version can be found here: https://raw.githubusercontent.com/SanderM2/lovelace-shutter-row/main/shutter-row.js
I'm not sure if this is something you would like to adapt to your version? If not, I'll have to continue with a custom modified version instead.
But these icons can probably easily be made adjustable from config?

Hi. I installed shutter row with HACS and replaced the js File with yours -  unfortunately even after a restart the icons don't change. Is their anything else that I need to do?
Thanks

Released with v0.3.0.


onedark-vim: Error detected while processing package

Describe the bug
For some reason, onedark.vim is failing to load.
Error detected while processing /nix/store/462h5wxl2g88nyj5mck4x85fqfhf79i7-vim
plugin-onedark-vim-2020-08-12/share/vim-plugins/onedark-vim/colors/onedark.vim:

line  133:
E117: Unknown function: onedark#GetColors
E15: Invalid expression: onedark#GetColors()
line  135:
E121: Undefined variable: s:colors
E15: Invalid expression: s:colors.red
line  136:
E121: Undefined variable: s:colors
E15: Invalid expression: s:colors.dark_red
line  137:
E121: Undefined variable: s:colors
E15: Invalid expression: s:colors.green
line  138:
E121: Undefined variable: s:colors
E15: Invalid expression: s:colors.yellow
line  139:
E121: Undefined variable: s:colors
E15: Invalid expression: s:colors.dark_yellow
line  140:

To Reproduce
Steps to reproduce the behavior (if using home-manager)
programs.neovim = {
      enable = true;
      configure = {
      customRC = ''
         colorscheme onedark
        '';
      packages.myVimPackage = with pkgs.vimPlugins; {
        start = [
            onedark-vim

          ];
        };
    };
  };

or
  programs.neovim = {
      enable = true;
      extraConfig = ''
         colorscheme onedark
        '';
      plugins = with pkgs.vimPlugins; [
            onedark-vim
          ];
    };

if the customRC attribute is left out, onedark-vim loads fine if invoked manually after neovim start.
Furthermore, this can be fixed by ammending the rtp:
The following amendment to rtp fixes it:
{ config, pkgs, libs, ... }:

let

    loadPlugin = plugin: ''
      set rtp^=${plugin.rtp}
      set rtp+=${plugin.rtp}/after
    '';
    plugins = with pkgs.vimPlugins; [
          onedark-vim
        ];
in
{
  home.packages = with pkgs;  with stdenv.lib; [
    # neovim
    rnix-lsp
  ] ++ optionals stdenv.isLinux [ python-language-server ] ;
  # xdg.configFile."nvim/init.vim".source = ../configs/neovim/init.vim;
  programs.neovim = {
      enable = true;
      extraConfig = ''
            " Workaround for broken handling of packpath by vim8/neovim for ftplugins -- see https://github.com/NixOS/nixpkgs/issues/39364#issuecomment-425536054 for more info
            filetype off | syn off
            ${builtins.concatStringsSep "\n"
            (map loadPlugin plugins)}
            filetype indent plugin on | syn on
            colorscheme onedark
        '';
    };
}

Metadata
❯ nix-shell -p nix-info --run "nix-info -m"
these paths will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/nix/store/1hg7ssk7dzpmccsz018p8vb9jr3pq47i-nix-info
copying path '/nix/store/1hg7ssk7dzpmccsz018p8vb9jr3pq47i-nix-info' from 'https://cache.nixos.org'...

system: "x86_64-linux"
host os: Linux 5.7.15-200.fc32.x86_64, Fedora, 32 (Workstation Edition)
multi-user?: no
sandbox: yes
version: nix-env (Nix) 2.3.7
channels(michael): "nixos-unstable-20.09pre239318.c59ea8b8a0e, nixpkgs-20.09pre239803.909539e6a09"
nixpkgs: /home/michael/.nix-defexpr/channels/nixpkgs

This seems like it's related to: https://github.com/NixOS/nixpkgs/issues/39364 https://github.com/NixOS/nixpkgs/pull/78385

The home-manager's neovim configuration is separate from nixpkgs/nixos as you can see at https://github.com/rycee/home-manager/blob/master/modules/programs/neovim.nix. Nixos/nixpkgs does not have a programs.neovim  option ?

Home-manager uses the same infrastructure for neovim/vim plugin management as nix, the issue can be reproduced without home-manager using the following nix-shell:
{ pkgs ? import <nixpkgs> { } }:
let
  neovim = pkgs.neovim.override {
    configure = {
      customRC = ''
        colorscheme onedark
      '';
      packages.myVimPackage = with pkgs.vimPlugins; {
        # see examples below how to use custom packages
        start = [ onedark-vim ];
      };
    };
  };
in
pkgs.mkShell {
  buildInputs = [ neovim ];
}

Onedark color scheme has installation instructions: https://github.com/joshdick/onedark.vim#installation.
{ pkgs ? import <nixpkgs> { } }:
let
  neovim = pkgs.neovim.override {
    configure = {
      customRC = ''
        packadd! onedark-vim
        colorscheme onedark
      '';
      packages.myVimPackage = with pkgs.vimPlugins; {
        # see examples below how to use custom packages
        opt = [ onedark-vim ];
      };
    };
  };
in
pkgs.mkShell {
  buildInputs = [ neovim ];
}

It's not a nixpkgs problem.

@basilgood That works. Is this the intended behavior of vim packages in nixpkgs? It seems odd that some modules work without manually activating them with packadd! and some do not (nvim-lsp, onedark-vim)

@mjlbach It's a vim8 native package manager behavior.
Nixpkgs follows the same behavior.
In this case (onedark.vim) it's a colorscheme plugin and they probably didn't expect from a colorscheme plugin to contain an autoload folder and so autoload it's not loaded.
Same thing with dracula colorscheme and probably with some other plugins which does not follow vim8 pack rules.
But nvim-lsp in my experience works out of the box either in start or opt.

This was really helpful. Thanks for the packadd! onedark-vim bit!

I think this can be closed as the vim/neovim configuration works as expected.


Wrong checker alias in ValidationBootloader

In ValidationBootloader.php you have alias like 'required'   => 'type::notEmpty', at line 90
This alias is not correct by system logic. Required and not empty are not equals.
required means that param should exists but it can be empty string or 0 as integer.
It can be used alias to type::notNull instead.

@SerafimArts @wolfy-j
Do you have any objections for provided MR?

I have some doubts about the issue.
If a string field is configured as `required', does that mean it must be filled?
If so then an empty string must not satisfy this rule.
At the same time, the PHP empty() function also doesn't work well because the value "0" look like empty value for PHP.
I think we should only fix the case with the "0" value.

I think we should only fix the case with the "0" value.

And i see this case also covered
https://github.com/spiral/framework/blob/5dff8222f6ab4aae1afd02467afd9371cedb8788/src/Validation/src/Checker/Traits/NotEmptyTrait.php#L28-L30

The current version of the required is similar in behavior to the required in Laravel:
https://laravel.com/docs/9.x/validation#rule-required

The field under validation must be present in the input data and not empty. A field is considered "empty" if one of the following conditions are true:

The value is null.
The value is an empty string.
The value is an empty array or empty Countable object.
The value is an uploaded file with no path.

And NotBlank in Symfony:
https://symfony.com/doc/current/reference/constraints/NotBlank.html

Validates that a value is not blank - meaning not equal to a blank string, a blank array, false or null (null behavior is configurable).

We don't think we should make required an alias to notNull.


SVG in spine CFI navigation logic fails

Uncaught TypeError: Failed to execute 'createNodeIterator' on 'Document': parameter 1 is not of type 'Node'.
To reproduce: Readium build from develop (includes CFI "Intel improvements"):
https://readium.firebaseapp.com/?epub=https%3A%2F%2Fcdn.rawgit.com%2FIDPF%2Fepub3-samples%2Fmaster%2F30%2Fsvg-in-spine
Compare with working Readium build from master (old CFI "navigation logic"):
https://readium-master.surge.sh/?epub=https%3A%2F%2Fcdn.rawgit.com%2FIDPF%2Fepub3-samples%2Fmaster%2F30%2Fsvg-in-spine
Thanks @JCCR :)

Looking into it.

@danielweck Unrelated: Are the jpeg images in the SVG spines (with xlink:href) supposed to be not working?

Fixed in 3ee4844

@JCCR xlink:ref requires a xml:base or html>head>base@href when the SVG document is loaded as a BlobURI. Unfortunately support for both xml:base and base@href is broken in SVG (known browser issues, unrelated to Readium). I am investigating different ways to address this.

Thanks @JCCR I am closing this issue, but I am opening a separate one for SVG scaling issues (SVG-in-spine)

Juan's fix tested at: https://readium.firebaseapp.com/?epub=https%3A%2F%2Fcdn.rawgit.com%2FIDPF%2Fepub3-samples%2Fmaster%2F30%2Fsvg-in-spine
Note that SVG-embedded images (xlink-ed) fail to resolve against the base URI, this is a know issue:
https://github.com/readium/readium-shared-js/issues/251


Redis Cache Read Latency Increase with Time

We are using ElastiCache Redis (version 5.0.3) as our cache server and Redisson 3.8 as our client.
Here are the write and read code.
Write
RBatch batch = redissonClient.createBatch(BatchOptions.defaults());
batch.getMapCache(key).putIfAbsentAsync(itemKey, itemValue, ttlValue, timeUnit);
batch.execute();
Read
RMapCache<ItemKeyType, ItemValueType> relatedVideosMap = redissonClient.getMapCache(key);
We find that with time on, the cache read latency will increase, for example,
after the deployment, in the first 3 days, the latency is almost same, keep 2 to 3 milliseconds.
in the next 3 days, the latency can increase to 20 milliseconds. It will keep increasing.
This latency increase has no relation with traffic.
At the same time, I find that that the redis cluster cache miss provided by AWS (The number of unsuccessful read-only key lookups in the main dictionary. This is derived from keyspace_misses at Redis INFO.) will increase from the very beginning (after the deployment).
We can do deployment to fix the issue.
After the deployment, the latency and cache miss go to normal.
Please help me to fix the issue.
Thanks.

Could you provide full code for data reading?
In your code you are just getting the RMapCache but don't read it.

@mrniko
Thanks for your help.
Here is the code for read.
public List<String> getFromCache(String key) {
    List<String> stringList = new ArrayList();
    RMapCache<String, List<String>> rMapCache = redissonClient.getMapCache(key);
    if (rMapCache != null && !rMapCache.isEmpty()) {
        if (relatedVideosMap.containsKey(itemKey)) {
            stringList = elatedVideosMap.get(itemKey)
        }
    }
    return stringList;
}

Here is Redisson config.
Config config = new Config();
config.setCodec(new JsonJacksonCodec(new ObjectMapper()));
config.setNettyThreads(128)
    .useClusterServers()
    .addNodeAddress(redisUrl)
    .setTimeout(200)
    .setRetryInterval(50)
    .setMasterConnectionPoolSize(128)
    .setSlaveConnectionPoolSize(128)
    .setKeepAlive(true);
RedissonClient redissonClient = Redisson.create(config);

Thanks for the information provided. Everything looks fine.

We find that with time on, the cache read latency will increase, for example,
after the deployment, in the first 3 days, the latency is almost same, keep 2 to 3 milliseconds.
in the next 3 days, the latency can increase to 20 milliseconds. It will keep increasing.

I suppose that the cause could be in memory consumption. Could you get memory dump in that moment and CPU load level?

You can find the red line which indicates the P99 latency of cache read

Blue means cpu.
Green means memory.

@mrniko
I cannot provide memory dump.
Here are our metrics.

I also have one question about RMapCache.
If I have ttl value and unit by using RMapCache.expireasync(), will RMapCache behavior like RMap?

Did you try to profile application during this issue?

If I have ttl value and unit by using RMapCache.expireasync(), will RMapCache behavior like RMap?

Sorry, I didn't get the question. RMapCache.expireAsync set expiration for whole object. If you're not consider to use ttl or maxidletimeout params per entry then I would recommend to use RMap object instead.

We have already run the system for a long time.
If I change RMapCache to RMap, then I need to delete the RMapCache entries in Redis and warm cache again.
For RMapCache, the field expire is implemented by EvictionScheduler.
My question is that the expire of the whole RMapCache (RMapCache.expireasync()) is supported by Redis or Redisson?

I think the high latency is closely related with cache miss.

My question is that the expire of the whole RMapCache (RMapCache.expireasync()) is supported by Redis or Redisson?

RObject.expire method uses Redis expiration approach.

I got the answer, will add it later.

What was the resolution @turbocv if you mind?


Relay turns off after delay, but Homekit switch stays on.

The description really explains things, I have this opening a trashcan in my kitchen so it needs to be a momentary switch (as it can only open and not close) the relay thankfully turns off after 1000 ms - the switch stays on in Homekit.
My config is :
{
"accessory": "Relay",
"duration_ms": 1000,
"name": "Bin",
"pin": 8,
"invert": true,
"default_state": false
}
any ideas?

@tomwoodhams please upload the full log.

I agree with OP. Log as requested:
[30/01/2021, 09:58:55] [Close Garage] Relay status for 'Close Garage', pin 11 is true
[30/01/2021, 09:58:57] [Close Garage] Relay for 'Close Garage', pin 11 timed out.

It would be good if the HomeKit button deactivated after a delay (perhaps duration_ms or another selectable value)

I agree with OP. Log as requested:
[30/01/2021, 09:58:55] [Close Garage] Relay status for 'Close Garage', pin 11 is true
[30/01/2021, 09:58:57] [Close Garage] Relay for 'Close Garage', pin 11 timed out.

It would be good if the HomeKit button deactivated after a delay (perhaps duration_ms or another selectable value)

I've just updated the plugin and published it to npmjs store. https://www.npmjs.com/package/homebridge-relays