Crash on exit

Storage Explorer Version:  v1.2.0
Platform/OS Version: Windows 10 Pro v1709 build 16299.492
Steps to Reproduce:

Unknown

Expected Experience:
App quits
Actual Experience:
App throws an exception on quit (contents of dialog box below)
A JavaScript error occurred in the main process

Uncaught Exception
Error: Object has been destroyed
  at WebContents.send (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\electron.asar\browser\api\web-contents.js:100:15)
  at C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\se-electron-file-downloader\dist\ElectronFileDo....:34
  at DownloadItem.<anonymous> (C:\Program Files (x86)\Microsoft Azure Storage Explorer\resources\app\node_modules\se-electron-file-downloader\dist\ElectronFileDo...:17)
  at Object.onceWrapper (events.js:317:30)
  at emitTwo (events.js:126:13)
  at DownloadItem.emit (events.js:214:7)

Bonus Suggestion
There may be errors in the stack trace above. You might want to consider either adding a "Copy Text" button to this dialog or make the text displayed is selectable/copyable if you want more people to bother sending you these details. Typing it out is not ideal.

Can you consistently reproduce this error? What do you usually do in the app before exiting? How do you close the app? Does this happen if you open then close right after?
Do you have a screenshot of the dialog in question? It's a good suggestion, but it may be a dialog we have no control over.

Craig -
Thanks for following up.
No, it only happened once. I tried to reproduce it (in v1.2.0), but it
never happened again.
I've since updated from v1.2.0 to v1.3.1.
That one time it did happen, there weren't many steps in what I had just
finished doing.
I launched the app, navigated to a table, selected All of the records
(there weren't many and they fit on a single page. I don't recall if I
selected all via All on Page or All in Cache, or ctrl-a but doubt that's an
impactful detail), deleted the records and quit the app. (A timing issue
with the delete not completed before the quit or some form of race
condition as it quits?)
Hope that helps; sorry I don't have more detail

Gilles

On Mon, Jul 16, 2018 at 11:57 AM, Craig<EMAIL_ADDRESS>wrote:

Can you consistently reproduce this error? What do you usually do in the
app before exiting? How do you close the app? Does this happen if you open
then close right after?
Do you have a screenshot of the dialog in question? It's a good
suggestion, but it may be a dialog we have no control over.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/AzureStorageExplorer/issues/435#issuecomment-405296172,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFgtjg9CTX38vmABQZLbML_B1VGEi0vPks5uHLfxgaJpZM4VP4xg
.


[VL] Restore the test cases for corr in group-by.sql and udf-group-by.sql

What changes were proposed in this pull request?
The calculation formula of corr in Velox is slightly different from that in Spark, which causes some differences in the accuracy of the final calculation results, but these differences are within the allowed precision range. Previously, the inconsistent test cases were deleted, but now it has been found that other statistics-related agg functions such as skewness, stddev, and variance also have differences in calculation accuracy. We cannot delete all of these test cases that have differences. A better approach is to modify the content in the result file.
In this PR, we restore the corr test cases in group-by.sql and udf-group-by.sql, and modify the correct results in .out file.
How was this patch tested?
Exists CI.

cc @rui-rui, thanks.


How to listen the tabItem close event and get  the tabItem closed?

I'm using  hc:TabControl and set the ShowCloseButton="True"  in case i can close the tabItem by click closeButton,and when one close the tab,I want to do something by the tabItem closed.,But how to get it?

@FaustPipeDream  you can use Closed and Closing Event in TabItem or in tabcontrol
<hc:TabControl hc:TabItem.Closed="TabControl_Closed" ShowCloseButton="True">
            <hc:TabItem Header="test"/>
            <hc:TabItem Header="test2"/>
            <hc:TabItem Header="test3"/>
        </hc:TabControl>

or
<hc:TabControl  ShowCloseButton="True">
<hc:TabItem Header="test" Closed="TabItem_Closed"/>
<hc:TabItem Header="test2"/>
<hc:TabItem Header="test3"/>
</hc:TabControl>


Add support for touch-swiping between pages in presentation mode (bug…

… 1300878).
Note that to test this in Firefox desktop on a touch-enabled device you need to be running nightly and force-enable e10s by setting browser.tabs.remote.force-enable=true in about:config. Chrome desktop has touch events enabled by default.

/botio-linux preview

Looks good for me. Can you also add touchSwipeState === null-guard at the 'touchmove' handling against moving when touching multiple points?

Thank you for the patch


Displaying boathouses on a map

The boathouses are now visible on the map as pushpins

Oh my goodness, this is super neat! Excellent work.
I made a couple changes. This is what we have now with my changes; it's now synced with the boathouses (I manually overrode Newton Yacht Club). Still need to add the shadows, maybe refactor a bit, but it's super duper cool.

Oh my goodness, this is super neat! Excellent work.
I made a couple changes. This is what we have now with my changes; it's now synced with the boathouses (I manually overrode Newton Yacht Club). Still need to add the shadows, maybe refactor a bit, but it's super duper cool.


Fixed eutils import and client creation

New version of eutils has chenged its structure. This commit adapts to new structure maintaining backwards compatibility

Hey @xbaro, thanks for this work. Can you fix linting/test issues? :pray:

Current tests errors are not related with the use of eutils, but with some BibTex author parsing error.

True, it seems related to an encoding issue...


Does HAXM support on Windows 11?

Yes, HAXM supports Windows 11.

then why it says the OS requirements are not satisfied while installing?

?


feat: Support lifecycle ignoreChanges with module

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Issue Type?
Feature Request
(Optional) Module Version
0.5.3
(Optional) Correlation Id
No response
Description
As Terraform doesn't support lifecycle meta-argument with modules (see hashicorp/terraform#27360) it would be nice that module would allow ignoring some things that are (at least in our environment) handled with policies. Of course the ignore can be more generic if possible, but at least for use tags and private_dns_zone_group.

Hi - we cannot support this due to limitations in Terraform - will keep open to track

are you able to provide an explanation of why this isn't supported? ignore changes should be able to be able to be added to the resource in the module.

Entries in ignore_changes must be static and cannot be passed in as variables.
Also they cannot be passed in through a call to a module.
Hence we are not able to provide a configurable list

However we have solved private dns zone group as we have a variable to control whether we manage this or not


Audio is one way only

Tested on Android Device to Android Emulator, I'm only getting audio from the emulator and receiving it on my android device but is not capable on doing the other way around. Shouldn't it be a two way communication?

Yes it should. I suggest you try on a real device, this is known to work properly.

I have tried on real device, still the same result.

you might want to try:

test both side on real device
both devices are under the same and simple local wifi
configure STUN or TURN if needed
exam your sdp

I tried using a different device, my other device seems to just loop the audio data. Its all working now well with the same unit of phone.


JP performance significantly worse since latest update

Hi there,
Since the latest update, performance on fgo jp has been significantly worse - specifically on the after battle/repeat quest screen. The app will consistently take 10-20 seconds/30-60 seconds on the bond/repeat quest screen respectively, while the previous version of the app would only take a few seconds each (I forget which version this was, but I downloaded the apk on June 28th). I tried a few runs using the debug mode and noticed there were no "highlight boxes" appearing on the screen during these delays. I've checked the Fine-tune options but nothing there seems like it would cause this delay:
Support:
Swipes per Update: 10
Max Update: 30
Similarity:
Min Similarity(%): 70
MLB Similarity (%): 70
Clicks:
Wait after clicking (ms): 300
Click duration (ms): 50
Delay b/w repeated clicks (ms): 10
Swipes
Wait after swiping (ms): 700
Swipe duration: 300
Support Swipe Multiplier (%): 100
Wait
Skill Delay (ms): 372
Wait Multiplier (%): 100
I've also noticed there's more long delays throughout the battle - at the beginning of turn 1, when using targeted skills, when casting NP.
Device info:
Device model: Moto G5 Plus
Android Version: 8.1.0
RAM: 4GB
Thanks for making the app, and please let me know if there's any other information I can provide.

please let me know if there's any other information I can provide

The issue template asked that you provide a video with debug mode ON. Seeing the problem happen helps us find a solution faster.
https://github.com/MathewSachin/Fate-Grand-Automata/blob/master/.github/ISSUE_TEMPLATE/bug_report.md

I've checked the Fine-tune options but nothing there seems like it would cause this delay:

I can't be totally sure here, but the settings you're using are not all defaults. Maybe try using defaults? Most importantly, try setting Min Similarity back to 80%.

while the previous version of the app would only take a few seconds each (I forget which version this was, but I downloaded the apk on June 28th)

I don't seem to have this problem on my JP account on Nox. So, It would really help if you can pinpoint which version works for you.
v0.14.0 was released on 24 Jun. So, maybe try installing, some versions in between and find the version from where the problem begins.

Update: This is going to sound like a troll, but when I recorded a run using the option in the app it improved the performance significantly - it was basically back to pre-update speed.

The non-default settings were just me trying to change things to see if it would resolves issue - I tried with default settings previously but ran into the same issues (I've set min similarity back to 80%). I've doubled checked and the previous version I used was v0.14.0 - I tried to install this version again to compare but was unable to.
I didn't have any apps other than automata running in the background with or without the recording - I've checked multiple times and the only change was whether recording mode was on. I did notice the run was slightly choppier during the runs with recording mode on (it skipped a master skill once) but other than that the delays with the skills and the bond/repeat screen were shorter with the recording on. Really sorry I couldn't provide a recording, I'll try testing it a few more times.

Hi, I've recorded 3 separate runs:
I couldn't reproduce the delays when using the built-in record feature, so I manually recorded 2 runs. This run was manually recorded with debug mode off:
https://youtu.be/VR2OUHjQNZU
This run is manually recorded with debug mode on:
https://youtu.be/-7OF2I4Ky8E
This run is recorded using the built-in record feature with debug mode on:
https://youtu.be/z2xhuKy6I1g
A couple of points in particular:
At the end of the manual debug run, I show the settings and the fine-tune settings. For the manual recordings, I waited on the repeat screen for around a minute before stopping the recording since I wasn't sure how long it would take.

Pretty weird behaviour. I'm guessing that the app gets priority when it is recording the screen and background execution limits are being applied if it is not recording.
Can you check if these settings are available on your phone:
Always check the following setting Phone settings > Battery & power saving > Battery usage > Ignore optimizations > Turn on to ignore battery optimization for your app.

Check if Phone settings > Apps & Notifications > Your app > Background restrictions or Background limits are not enabled for the app.

From: https://dontkillmyapp.com/general

I couldn't find Background restrictions or Background limits in the app settings, but I did confirm that battery optimization is set to not optimized.

A few more things to try:

Clear app data from Android's settings. (Export you AutoSkill configs before doing this).
Uninstall and then reinstall the app (or v0.14.0). I think you were not able to install v0.14.0 because Android doesn't allow to install an older version when a newer version is already installed.


Update french.json

Translated all the missing phrases from the english.json file.  Checked that it remains valid json afterwards.
Hello there!
Make sure you've followed the Contributing guidelines before finalizing your pull request.
TL;DR:

[ ] You're opening this PR against the current release branch
[ ] Works on both Python 2.7 & Python 3.x
[ ] Commits have been squashed and includes the relevant issue number
[ ] Pull request description contains link to relevant issue or detailed notes on changes
[ ] This must include example code demonstrating your feature or the bug being fixed
[ ] All existing tests pass
[ ] Your bug fix / feature has associated test coverage
[ ] README.md is updated (if relevant)

Ahoy! You missed the first part of the contributing guidelines. You'll need to swap this to point at the current release branch.

Closing. Merged here: https://github.com/chriskiehl/Gooey/pulls?q=is%3Apr+is%3Aclosed


chore(transcripts): fix all lists.linuxfoundation.org urls

Unfortunately, lists.linuxfoundation.org no longer hosts the bitcoin-dev mailing list archives. I have updated links to lists.linuxfoundation.org to use my service https://gnusha.org/ to get the url.
For example:
https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2017-June/014472.html
is replaced with:
https://gnusha.org/url/https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2017-June/014472.html
Alternatively, if you wanted, these urls could be resolved and replaced with direct links. For example:
https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2017-June/014472.html
could be replaced with a link that references the Message-ID which might be more archival friendly, such as:
<EMAIL_ADDRESS>More details can be found here, here and here.

It has occurred to me that this may have broken lists.linuxfoundation.org links that were not to bitcoin-dev.

Alright, lightning-dev mailing list links are now supported as well.


Show where to get vehicleID in the README

Great framework! Excited to switch to this library for homebridge-tesla.
It took me a good hour to figure out where the value for vehicleID comes from. I finally found the hint in the sampleFramework.js file that it's id_s (which, wtf Tesla).
Typically when I want to get started with a project right away I'll scroll down the README until I get to some examples and start copy/pasting. Hoping these proposed changes will save others some time!

Thanks!  The id_s comes about because the ID is a big number and not all JS parsers can handle correctly. Looking at the PR now.

Ah ha - that explains why id and id_s` are off by the final digit for me. Never knew that!

Coverage remained the same at 95.0% when pulling bb475ef5f658b4f7a5ad10d696a77698b1034b39 on nfarina:patch-1 into 5d5a60c52ae3010c1661f15516d8124a1d7db497 on mseminatore:master.

Thanks for the PR!


feat(sbb-checkbox): initial implementation

Preflight Checklist

[x] I have read the Contributing Guidelines for this project.
[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the pull request tracker for a Pull Request (PR) that matches the one I want to submit, without success.

Issue
This PR Closes #
Pull request checklist
Please check if your PR fulfills the following requirements:

[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[x] Build (npm run build) was run locally and any changes were pushed
[x] Lint (npm run lint) has passed locally and any fixes were made for failures

Changes
Changes in this pull request:

initial implementation

Browsers
I tested the build on the following browsers:

[x] Firefox Desktop
[x] Chrome Desktop
[x] Safari Desktop
[x] Firefox Mobile
[ ] Chrome Mobile
[ ] Safari Mobile
[ ] Opera
[ ] Brave

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Does this introduce a breaking change?

[ ] Yes
[x] No

Other information

todo: find the right default icons for checked and tristated state

Codecov Report

Merging #1294 (23ea6ae) into master (ab917b0) will increase coverage by 1.41%.
The diff coverage is 92.30%.

@@            Coverage Diff             @@
##           master    #1294      +/-   ##
==========================================
+ Coverage   54.85%   56.26%   +1.41%
==========================================
  Files          49       50       +1
  Lines        1659     1724      +65
  Branches      406      428      +22
==========================================
+ Hits          910      970      +60
- Misses        671      676       +5
  Partials       78       78

Impacted Files
Coverage Δ

src/components/sbb-icon/sbb-icon.tsx
92.30% <92.30%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

ux-review

[ ] issue 1: https://www.figma.com/file/9r6xSfNmEfCFxl1yFYedrj?node-id=14527:485440#304192638
[ ] issue 2: https://www.figma.com/file/9r6xSfNmEfCFxl1yFYedrj?node-id=14527:485441#304228401
[ ] issue 3: https://www.figma.com/file/9r6xSfNmEfCFxl1yFYedrj?node-id=14527:485706#304224931

@mcilurzo @kyubisation @jeripeierSBB Hello guys, some open points (give me a call tomorrow if you want to discuss them):

about UX issue # 1, discussing with @federicoisepponfincons a solution could be set the label's line-height to 24px (same of checkbox height) but we are not really sure about it;
about UX issue # 3 (the group with the icons at end): in order to display it, what's the max/min width value? should we apply CSS rules only when the checkbox is in the group? (it means using ::slotted(sbb-checkbox) {etc..})
there's a required prop on the component; is the required state displayed differently from the non required one?
if the checkbox is in indeterminate state, it should change to 'checked' on click? (as in the SBB Angular lib)
following the discussion on the sbb-slider, also on the checkbox we have a 'display: inline-block;' on host; is it okay?

issue-1: I am a bit confused, actually the line-height for this size (S, Zero-Small) should already be 24px. Which line-height is used now? It could also be that the line-height is higher than 24px:  https://www.figma.com/file/9r6xSfNmEfCFxl1yFYedrj/Lyne-Components?node-id=14734%3A477710&t=zOtCDLgPu342FX5p-1
issue-2: I think a minimum/maximum width is not a good idea, because it depends on the length of the label. The width should be defined by the layout. Here is the required behavior with two examples:https://www.figma.com/file/9r6xSfNmEfCFxl1yFYedrj/Lyne-Components?node-id=14734%3A477711&t=zOtCDLgPu342FX5p-1


tensorrt error

TypeError: streamdiffusion.acceleration.tensorrt.compile_unet() got multiple values for keyword argument 'opt_batch_size'
?

from streamdiffusion.acceleration.tensorrt import accelerate_with_tensorrt

stream = accelerate_with_tensorrt(
    stream, "engines", max_batch_size=2,
)

Yep, after changing to tensorrt got an error. But examples scrips work.

https://github.com/cumulo-autumn/StreamDiffusion/blob/62596fd39b86a3088e28b2f2c58caa36bc069c50/src/streamdiffusion/pipeline.py#L51

I also encountered the same issue.
I think this issue can be solved by specifying the engine_path option.
diff --git a/src/streamdiffusion/acceleration/tensorrt/__init__.py b/src/streamdiffusion/acceleration/tensorrt/__init__.py
index e629567..90a6a07 100644
--- a/src/streamdiffusion/acceleration/tensorrt/__init__.py
+++ b/src/streamdiffusion/acceleration/tensorrt/__init__.py
@@ -139,6 +139,7 @@ def accelerate_with_tensorrt(
             unet_model,
             create_onnx_path("unet", onnx_dir, opt=False),
             create_onnx_path("unet", onnx_dir, opt=True),
+            engine_path=unet_engine_path,
             opt_batch_size=max_batch_size,
             **engine_build_options,
         )
@@ -151,6 +152,7 @@ def accelerate_with_tensorrt(
             vae_decoder_model,
             create_onnx_path("vae_decoder", onnx_dir, opt=False),
             create_onnx_path("vae_decoder", onnx_dir, opt=True),
+            engine_path=vae_decoder_engine_path,
             opt_batch_size=max_batch_size,
             **engine_build_options,
         )
@@ -162,6 +164,7 @@ def accelerate_with_tensorrt(
             vae_encoder_model,
             create_onnx_path("vae_encoder", onnx_dir, opt=False),
             create_onnx_path("vae_encoder", onnx_dir, opt=True),
+            engine_path=vae_encoder_engine_path,
             opt_batch_size=max_batch_size,
             **engine_build_options,
         )`

got multiple values for keyword argument 'opt_batch_size' means give 'opt_batch_size' more than once, opt_batch_size=max_batch_size and engine_build_options, just del one of them

got multiple values for keyword argument 'opt_batch_size' means give 'opt_batch_size' more than once, opt_batch_size=max_batch_size and engine_build_options, just del one of them

sorry but i can you explain solution

got multiple values for keyword argument 'opt_batch_size' means give 'opt_batch_size' more than once, opt_batch_size=max_batch_size and engine_build_options, just del one of them

Sorry but i can you explain solution. I've tried with default example from readme and still get this error #61

did you comments this
opt_batch_size=max_batch_size,

I also encountered the same issue. I think this issue can be solved by specifying the engine_path option.
diff --git a/src/streamdiffusion/acceleration/tensorrt/__init__.py b/src/streamdiffusion/acceleration/tensorrt/__init__.py
index e629567..90a6a07 100644
--- a/src/streamdiffusion/acceleration/tensorrt/__init__.py
+++ b/src/streamdiffusion/acceleration/tensorrt/__init__.py
@@ -139,6 +139,7 @@ def accelerate_with_tensorrt(
             unet_model,
             create_onnx_path("unet", onnx_dir, opt=False),
             create_onnx_path("unet", onnx_dir, opt=True),
+            engine_path=unet_engine_path,
             opt_batch_size=max_batch_size,
             **engine_build_options,
         )
@@ -151,6 +152,7 @@ def accelerate_with_tensorrt(
             vae_decoder_model,
             create_onnx_path("vae_decoder", onnx_dir, opt=False),
             create_onnx_path("vae_decoder", onnx_dir, opt=True),
+            engine_path=vae_decoder_engine_path,
             opt_batch_size=max_batch_size,
             **engine_build_options,
         )
@@ -162,6 +164,7 @@ def accelerate_with_tensorrt(
             vae_encoder_model,
             create_onnx_path("vae_encoder", onnx_dir, opt=False),
             create_onnx_path("vae_encoder", onnx_dir, opt=True),
+            engine_path=vae_encoder_engine_path,
             opt_batch_size=max_batch_size,
             **engine_build_options,
         )`

engine_path is a bug too, but i got error in compile_vae_decoder (compile_unet fine):  RuntimeError: Given groups=1, weight of size [64, 3, 3, 3], expected input[2, 4, 64, 64] to have 3 channels, but got 4 channels instead

got multiple values for keyword argument 'opt_batch_size' means give 'opt_batch_size' more than once, opt_batch_size=max_batch_size and engine_build_options, just del one of them

Sorry but i can you explain solution. I've tried with default example from readme and still get this error #61

did you comments this
opt_batch_size=max_batch_size,

Thank you, now i've got engine_path error as you mentition above

How to resolve it ? I also encountered it :TypeError: streamdiffusion.acceleration.tensorrt.compile_unet() got multiple values for keyword argument 'opt_batch_size'

I have fixed the batch size and path errors, now I am getting the same error as @8600862
Full error for context:
Exporting model: engines/onnx/vae_decoder.onnx
Traceback (most recent call last):
  File "/home/roger/StreamDiffusion/scripts/run.py", line 30, in <module>
    stream = accelerate_with_tensorrt(
  File "/home/roger/StreamDiffusion/src/streamdiffusion/acceleration/tensorrt/__init__.py", line 153, in accelerate_with_tensorrt
    compile_vae_decoder(
  File "/home/roger/StreamDiffusion/src/streamdiffusion/acceleration/tensorrt/__init__.py", line 56, in compile_vae_decoder
    builder.build(
  File "/home/roger/StreamDiffusion/src/streamdiffusion/acceleration/tensorrt/builder.py", line 54, in build
    export_onnx(
  File "/home/roger/StreamDiffusion/src/streamdiffusion/acceleration/tensorrt/utilities.py", line 418, in export_onnx
    torch.onnx.export(
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/onnx/utils.py", line 516, in export
    _export(
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/onnx/utils.py", line 1596, in _export
    graph, params_dict, torch_out = _model_to_graph(
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/onnx/utils.py", line 1135, in _model_to_graph
    graph, params, torch_out, module = _create_jit_graph(model, args)
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/onnx/utils.py", line 1011, in _create_jit_graph
    graph, torch_out = _trace_and_get_graph_from_model(model, args)
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/onnx/utils.py", line 915, in _trace_and_get_graph_from_model
    trace_graph, torch_out, inputs_states = torch.jit._get_trace_graph(
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/jit/_trace.py", line 1285, in _get_trace_graph
    outs = ONNXTracedModule(
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/jit/_trace.py", line 133, in forward
    graph, out = torch._C._create_graph_by_tracing(
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/jit/_trace.py", line 124, in wrapper
    outs.append(self.inner(*trace_inputs))
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1508, in _slow_forward
    result = self.forward(*input, **kwargs)
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/diffusers-0.24.0-py3.10.egg/diffusers/models/autoencoder_tiny.py", line 331, in forward
    enc = self.encode(sample).latents
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/diffusers-0.24.0-py3.10.egg/diffusers/utils/accelerate_utils.py", line 46, in wrapper
    return method(self, *args, **kwargs)
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/diffusers-0.24.0-py3.10.egg/diffusers/models/autoencoder_tiny.py", line 298, in encode
    output = self._tiled_encode(x) if self.use_tiling else self.encoder(x)
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1508, in _slow_forward
    result = self.forward(*input, **kwargs)
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/diffusers-0.24.0-py3.10.egg/diffusers/models/vae.py", line 892, in forward
    x = self.layers(x.add(1).div(2))
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1508, in _slow_forward
    result = self.forward(*input, **kwargs)
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/nn/modules/container.py", line 215, in forward
    input = module(input)
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1508, in _slow_forward
    result = self.forward(*input, **kwargs)
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/nn/modules/conv.py", line 460, in forward
    return self._conv_forward(input, self.weight, self.bias)
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/torch/nn/modules/conv.py", line 456, in _conv_forward
    return F.conv2d(input, weight, bias, self.stride,
RuntimeError: Given groups=1, weight of size [64, 3, 3, 3], expected input[2, 4, 64, 64] to have 3 channels, but got 4 channels instead

This appears to be caused by the VAE model class providing the wrong shape of sample input.
    def get_sample_input(self, batch_size, image_height, image_width):
        latent_height, latent_width = self.check_dims(batch_size, image_height, image_width)
        return torch.randn(
            batch_size,

            # FIX
            # 4,
            3,

            latent_height,
            latent_width,
            dtype=torch.float32,
            device=self.device,
        )

I have no idea if the model will actually work with the above changes, because after fixing this issue there appears to be another issue with the model:
Building TensorRT engine for engines/onnx/vae_decoder.opt.onnx: engines/vae_decoder.engine
[E] ModelImporter.cpp:811: While parsing node number 83 [Cast -> "/Cast_output_0"]:
[E] ModelImporter.cpp:812: --- Begin node ---
    input: "/Round_output_0"
    output: "/Cast_output_0"
    name: "/Cast"
    op_type: "Cast"
    attribute {
      name: "to"
      i: 2
      type: INT
    }
[E] ModelImporter.cpp:813: --- End node ---
[E] ModelImporter.cpp:816: ERROR: ModelImporter.cpp:239 In function parseNode:
    [8] Assertion failed: legalUINT8 && "TensorRT does not support UINT8 types for intermediate tensors!"
[E] In node 83 (parseNode): UNSUPPORTED_NODE: Assertion failed: legalUINT8 && "TensorRT does not support UINT8 types for intermediate tensors!"
[!] Could not parse ONNX correctly
Traceback (most recent call last):
  File "/home/roger/StreamDiffusion/scripts/run.py", line 30, in <module>
    stream = accelerate_with_tensorrt(
  File "/home/roger/StreamDiffusion/src/streamdiffusion/acceleration/tensorrt/__init__.py", line 153, in accelerate_with_tensorrt
    compile_vae_decoder(
  File "/home/roger/StreamDiffusion/src/streamdiffusion/acceleration/tensorrt/__init__.py", line 56, in compile_vae_decoder
    builder.build(
  File "/home/roger/StreamDiffusion/src/streamdiffusion/acceleration/tensorrt/builder.py", line 80, in build
    build_engine(
  File "/home/roger/StreamDiffusion/src/streamdiffusion/acceleration/tensorrt/utilities.py", line 393, in build_engine
    engine.build(
  File "/home/roger/StreamDiffusion/src/streamdiffusion/acceleration/tensorrt/utilities.py", line 229, in build
    network_from_onnx_path(onnx_path, flags=[trt.OnnxParserFlag.NATIVE_INSTANCENORM]),
  File "<string>", line 3, in network_from_onnx_path
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/polygraphy/backend/base/loader.py", line 40, in __call__
    return self.call_impl(*args, **kwargs)
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/polygraphy/util/util.py", line 694, in wrapped
    return func(*args, **kwargs)
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/polygraphy/backend/trt/loader.py", line 211, in call_impl
    trt_util.check_onnx_parser_errors(parser, success)
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/polygraphy/backend/trt/util.py", line 89, in check_onnx_parser_errors
    G_LOGGER.critical("Could not parse ONNX correctly")
  File "/home/roger/StreamDiffusion/.venv/lib/python3.10/site-packages/polygraphy/logger/logger.py", line 597, in critical
    raise PolygraphyException(message) from None
polygraphy.exception.exception.PolygraphyException: Could not parse ONNX correctly

The tensor shape issue was also reported in #53
They submitted #53 with this fix, it is more likely to work:
    if not os.path.exists(vae_decoder_engine_path):
        # FIX: https://github.com/cumulo-autumn/StreamDiffusion/pull/54/files
        vae.forward = vae.decode

        compile_vae_decoder(
            vae,
            vae_decoder_model,
            create_onnx_path("vae_decoder", onnx_dir, opt=False),
            create_onnx_path("vae_decoder", onnx_dir, opt=True),

            # FIX: SEE: https://github.com/cumulo-autumn/StreamDiffusion/issues/19
            # opt_batch_size=max_batch_size,
            engine_path=vae_decoder_engine_path,

            **engine_build_options,
        )

However I am still getting the "TensorRT does not support UINT8 types for intermediate tensors" error after fixing this.
Worth mentioning I had to tell TensorRT where to find CUDA before running, in case anyone else gets this issue:
export LD_LIBRARY_PATH="`pwd`/.venv/lib/python3.10/site-packages/torch/lib:/usr/lib:/lib"

Note that find "*libcudart*" reveals several libcudart.so files, all of them had this issue.

TensorRT does not support UINT8 types for intermediate tensors

Turns out to be a bug in CUDA 11.8: https://github.com/NVIDIA/TensorRT/issues/3124
After switching to CUDA 12.1 and making the fixes above (batch size, engine path, vae.forward), TensorRT works.
Make sure you run rm -rf engines/onnx to clear out cached engines.

i fix the bug above (batch size, engine path, vae.forward) ，finally，i get bug：AttributeError: module 'polygraphy.backend.trt.util' has no attribute 'get_bindings_per_profile'
from https://docs.nvidia.com/deeplearning/tensorrt/polygraphy/docs/_modules/polygraphy/backend/trt/util.html, it seem polygraphy.backend.trt.util has no attribute 'get_bindings_per_profile.

def accelerate_with_tensorrt(
stream: StreamDiffusion,
engine_dir: str,
max_batch_size: int = 2,
min_batch_size: int = 1,
use_cuda_graph: bool = False,
engine_build_options: dict = {},
):
# if "opt_batch_size" not in engine_build_options or engine_build_options["opt_batch_size"] is None:
#     engine_build_options["opt_batch_size"] = max_batch_size
text_encoder = stream.text_encoder
unet = stream.unet
vae = stream.vae
#########
if not os.path.exists(unet_engine_path):
compile_unet(
unet,
unet_model,
create_onnx_path("unet", onnx_dir, opt=False),
create_onnx_path("unet", onnx_dir, opt=True),
opt_batch_size=max_batch_size,
engine_path=unet_engine_path,
**engine_build_options,
)
---------------can work--------------------


Unsupported vlan-interface-current-performance LIVE API to be removed from MWDI .

Unsupported vlan-interface-current-performance API to be removed from MWDI live.
/core-model-1-4:network-control-domain=live/control-construct={mountName}/logical-termination-point={uuid}/layer-protocol={localId}/vlan-interface-1-0:vlan-interface-pac/vlan-interface-current-performance

When tried to execute the API its throwing 409 conflict error

http://xxx:xxx/core-model-1-4:network-control-domain=live/control-construct=513250010/logical-termination-point=VI-10/layer-protocol=10/vlan-interface-1-0:vlan-interface-pac/vlan-interface-current-performance
Error:
{
  "code": 409,
  "message": "Conflict"
}

As per the YANG , vlan-interface-current-performance attribute is not supported.
But in MWDI , LIVE we are able to see the API for vlan-interface-current-performance . Please remove it from swagger.

API entries have been removed from spec (see #913)

Tested with MWDI latest version test_v1.1.5.
Issue is no longer observed. vlan-interface-current-performance ( domain=live)  API removed from swagger

Tested OKAY with MWDI latest version test_v1.1.5.


Change font and font-size single post

It is possible to change a single post font size without modifying all posts.
The only way I can change the font-size is modifying  main.scss.

That's correct. The stylesheet is global. There is no way to modify styles (fonts, colors, whatever) for a specific post or page.
You can do something like add inline styles directly in the post file if you're so inclined.


ovn-northd-ddlog

After rebasing ovn-northd-ddlog on top of the latest master, the following tests are failing:

[ ] 136: ovn -- policy-based routing: 1 HVs, 2 LSs, 1 lport/LS, 1 LR FAILED (ovn-e2e.at:4131)

requires Logical_Router_Policy feature (not implemented in ovn-northd-ddlog)

[ ] 137: ovn -- policy-based routing IPv6: 1 HVs, 3 LSs, 1 lport/LS, 1 LR FAILED (ovn-e2e.at:4318)

requires Logical_Router_Policy feature (not implemented in ovn-northd-ddlog)

[ ] 142: ovn -- ipam                                     FAILED (ovn-e2e.at:4996)

requires the following patch (and possibly other related patches) by @LorenzoBianconi to be ported to DDlog: https://patchwork.ozlabs.org/patch/1069882/

[ ] 146: ovn -- send gratuitous arp for nat ips in localnet FAILED (ovn-e2e.at:5405)

https://github.com/openvswitch/ovs/commit/d65586b6fa971f03d0bf4b315986b9ea12b2ebb6

[ ] 150: ovn -- tag allocation                           FAILED (ovn-e2e.at:5587)

DDlog uses a different tag allocation algorithm from C, and unfortunately the C version cannot be easily replicated in DDlog. To accommodate this, the test should not check for exact tag values, but rather that certain invariants hold on tags, e.g., tags are unique and remain stable over time. @justinpettit implemented this logic in: f1d7276e192ebe67b64e046a20c599c4196fd770, but the fix was undone in 15e5a8b00cdff658214abb6058eedd2c934f2308 (possibly accidentally).

[ ] 162: ovn -- 4 HV, 1 LS, 1 LR, packet test with HA distributed router gateway port FAILED (ovs-macros.at:225)

This test also appears to be affected by d65586b6fa971f03d0bf4b315986b9ea12b2ebb6

[ ] 163: ovn -- 4 HV, 3 LS, 2 LR, packet test with HA distributed router gateway port FAILED (ovs-macros.at:225)
[ ] 165: ovn -- send gratuitous arp for NAT rules on distributed router FAILED (ovs-macros.at:225)
[ ] 166: ovn -- vlan traffic for external network with distributed router gateway port FAILED (ovs-macros.at:225)
[ ] 170: ovn -- 1 LR with HA distributed router gateway port FAILED (ovn-e2e.at:8918)
[ ] 171: ovn -- send gratuitous ARP for NAT rules on HA distributed router FAILED (ovs-macros.at:225)
[ ] 173: ovn -- IPv6 Neighbor Solicitation for unknown MAC FAILED (ovs-macros.at:225)
[ ] 186: ovn -- external logical port                    FAILED (ovn-e2e.at:11370)
[ ] 190: ovn -- router - check packet length - icmp defrag FAILED (ovs-macros.at:225)
[ ] 192: ovn -- neighbor update on same HV               FAILED (ovs-macros.at:225)
[ ] 197: ovn -- virtual ports                            FAILED (ovn-e2e.at:13165)
[ ] 199: ovn -- controller event                         FAILED (ovn-e2e.at:13437)
[ ] 200: ovn -- IGMP snoop/querier/relay                 FAILED (ovs-macros.at:225)
[ ] 202: ovn -- 2 HVs, 2 lports/HV, localnet ports, DVR N-S ARP handling ok
[ ] 203: ovn -- 2 HVs, 2 lports/HV, localnet ports, DVR N-S Ping FAILED (ovs-macros.at:225)

In addition, @numansiddique is reporting:

[ ] 153: ovn -- ACL rate-limited logging                 FAILED (ovn-e2e.at:5938)

It's not failing for me, so must be another instance of a missing wait.

I started annotating test failures with recent ovn changes that seem to have caused them.
@numansiddique, @putnopvut, @LorenzoBianconi,  @dceara, please comment if you know what causes some of the other bugs. Otherwise I will keep gradually working through them.

I haven't looked into the failures. There were many features added in c version like ha_chassis_group, external ports, virtual ports and others which are missing in ddlog version. So the corresponding test cases should get fixed when ddlog version has these features.

@ryzhyk I'll be sending a patch for 200: ovn -- IGMP snoop/querier/relay FAILED (ovs-macros.at:225) soon. Introduced by:

IGMP Snoop: https://github.com/ovn-org/ovn/commit/605535f9adf2e881aa6242b19bcec0c90ba8ad96
IGMP Relay: https://github.com/ovn-org/ovn/commit/5d1527b11e9420a36adc2410f78be6b6674c098e

I'm working on fixing the ipam test failure. The issue is related to the addition @LorenzoBianconi made where we can now specify dynamic MAC addresses with static IP addresses. Specifically, the DDLog code does not account for the case where we specify a dynamic MAC and static IPv6 address. So far, my attempts to fix this have just caused the test to fail more miserably :)
I'm debugging to try to figure out what's going wrong.

@putnopvut, let me know if I can help with ddlog debugging

As of now the following commits that changed ovn-northd.c are missing from the ddlog-dev-v2 branch. Probably not all need changes in ovn-northd-ddlog but we should triage them and update the missing features list.
$ base=$(git merge-base master ddlog-dev-v2)
$ git log --oneline  $base..master northd/ovn-northd.c
63640c0 ovn-northd: ls_*_acl behavior not consistent for untracked flows
b441bf3 northd: Load config before processing nbdb contents
50fdc3e northd: Log all dynamic address assignments
d6a4481 northd: Remove misleading warning log message
9f7f466 Add support for Route Info Option in RA - RFC 4191
71f87ea Add support to Default Router Preference (PRF) - RFC 4191
75b3e40 northd: Improve handling of pause and resume
695df0e northd: Add `status` management command
93f3cdf Skip IPv6 NS packets in router egress SNAT pipeline
5a32990 northd: Match IPv4 or IPv6 for MAC resolution
8be01f4 Send service monitor health checks
ba0d6ea ovn-northd: Add support for Load Balancer health check
998617c ovn-northd: Avoid empty address list when limiting ARP/ND broadcast.
32f5ebb ovn-northd: Limit ARP/ND broadcast domain whenever possible.
d0ef9f0 ovn-northd: Fix get_router_load_balancer_ips() for mixed address families.
e02f2e4 ovn-northd: Validate dnat_and_snat external_mac/logical_ip.
cc87c48 OVN: Use ip4.src and ip4.dst actions for NAT rules
719f586 northd: Add lflows for IPv6 NAT.
8f773fa northd: Fix table ID for IPv6 router ingress.
5a12a94 Add DNSSL support to OVN
fd8175f Add RDNSS support to OVN
bde3907 ovn-northd.c: Fix datapath tunnel key allocation.
4fae57b Fix virtual port binding when the parents are scheduled in the same chassis
adcdbd9 ovn-northd: Fix IP multicast flooding to mrouter.
7930813 ovn-northd: Add static IP multicast flood configuration
84d337e northd: introduce logical flow for localnet egress shaping
82e377a northd: add the possibility to define localnet as qos capable port
783337b Learn the mac binding only if required


Batch minting for three rarities

Looks good. One thing is that there is no function to see what is the amount of tokens left per rarity. It might be unecessary. Did you think to do that off chain?


Using this package with CSR matrices?

How difficult would it be to accommodate CSR matrices? The advantage of
that storage format is that it is amenable to parallel processing with multiple threads,
which can be used to advantage in the preconditioned CG iteration.

That's a good idea and I'm sure it wouldn't be too hard to do. Let's keep this issue open if someone wants to tackle it.


Allow setting the continuation token when retrieving a batch from feed

Allow setting the continuation token when retrieving a batch from a feed.
Motivation
This is a solution for #316
Checklist

[x] Code follows coding conventions held in this repo
[x] Automated tests have been added
[x] Tests are passing
[ ] Docs have been updated (if applicable)
[ ] Temporary settings (e.g. variables used during development and testing) have been reverted to defaults

Thx @WimVergouwe,
I will take a deeper look at this next week.
Thanks for the PR and being part of the Kontent OS community!


Feature/build

@Carbenium: I added the preferred width and height base calls console spam fix into this series - if we try and pull it out we'll have to rewrite Hyena history or have the Banshee fix go in after the Hyena one which probably isn't what we want. Luckily the services patch was portable.

:+1: Thanks


Implement Age-off for the ParquetStore

Create an operation which loads in the current snapshot of data and filters it based on the AgeOff function. It is probably best to do this on a per group directory basis.  Then you would delete previous snapshots.
This will need some thinking around how to manage users reading the data at the time of the AgeOff operation running.

Can someone clarify how this relates to #1303 ?

Currently the Parquet Store has special implementations for primitive predicates for some of Gaffer/Koryphe's core predicates like IsMoreThan. See ParquetFilterUtils.addPrimitiveFilter. I believe this means the IsMoreThan predicate can be applied more efficiently. AgeOff is just another predicate that is quite simple and #1303 is to add specific logic in ParquetFilterUtils to deal with the AgeOff predicate efficiently in a similar way to IsMoreThan.

Thanks, that makes sense.

Merged into develop.


Proceed when receiving warnings while parsing

With libxml2, warnings can also be returned from xmlGetLastError(). Check the level on the returned struct and only return -1 if it's > warn

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

Comparison is base (623c8f5) 100.00% compared to head (b34c769) 100.00%.
Report is 1 commits behind head on master.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##            master        #5   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           75        75
=========================================
  Hits            75        75

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

Thanks @mikeauclair !


Ported unpack from well known types to remove protobuf dependency.

Current coverage is 99.29% (diff: 92.30%)

Merging #53 into master will decrease coverage by 0.13%

@@             master        #53   diff @@
==========================================
  Files            13         13
  Lines          1421       1428     +7
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1413       1418     +5
- Misses            8         10     +2
  Partials          0          0

Powered by Codecov. Last update 3664123...b047d6c


Create 54-Spiral-Matrix.cs

File(s) Modified:73-Set-Matrix-Zeroes.cs
Language(s) Used: csharp
Submission URLhttps://leetcode.com/submissions/detail/797181988/

Thanks, @agnihotriketan!


Bump version from v2022-01-18 → v2022-04-27

Bump cabal versions in preparation for a release.
Issue Number
ADP-1678

Thanks @Anviking
bors r+

bors r+


I guess I need to clean the data

should've been 'ya' not 'la'

Cleaned the data
check 023c13b44a6742ce8a4a98c307760ed6a2cc32af to see the cleaned data


"The Docker image"

https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-tools?view=sql-server-2017#docker - which docker image is "the" docker image? I came here from googling how to grab the tools...

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

ID: 39bb4ba1-ae62-07a3-f79a-138f14cf2f10
Version Independent ID: beaa4e7d-e771-cc96-0e59-34d9b1d5e8cc
Content: Install SQL Server command-line tools on Linux - SQL Server
Content Source: docs/linux/sql-server-linux-setup-tools.md
Product: sql
Technology: linux
GitHub Login: @rothja
Microsoft Alias: jroth

@kierenj -- Kieren, thank you for asking this clarifying question.
@rothja -- Jason, please process this Issue 2471.

@kierenj Thank you for asking this. This is just referring to running SQL Server docker containers. The image used for the container contains the tools. There is a quickstart on how to run SQL Server in a container here: https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-docker?view=sql-server-2017&pivots=cs1-bash.
@WilliamAntonRohm can you please change this paragraph:
The SQL Server command-line tools are included in the Docker image. If you attach to the image with an interactive command-prompt, you can run the tools locally.

To:
If you [run SQL Server in a docker container](quickstart-install-connect-docker.md), the SQL Server command-line tools are already included in the Docker image. If you attach to a running container with an interactive bash shell, you can run the tools locally.

Thank you, and let me know if this helps.

Can I suggest that the problem is the words, "the docker image". I was googling how to run sql tools in docker, and came across a page which said "the docker image".
As a guess, maybe a good thing would be to say, the "the SQL Server Linux docker image, called mcr.microsoft.com/mssql" (or whatever it is)?

@kierenj Thanks for the additional clarification. I think you're right about the wording not being quite right around "the docker image". @WilliamAntonRohm, here is my new suggested edit. @kierenj let me know what you think;
If you [run SQL Server in a Docker container](quickstart-install-connect-docker.md), the SQL Server command-line tools are already included in the SQL Server Linux container image. If you attach to a running container with an interactive bash shell, you can run the tools locally.

@rothja -- Jason, I've created the above sql-docs-pr PR 11241 with your suggested change.  If you're satisfied with the wording, please let me know & I'll auto-merge that paragraph.

@WilliamAntonRohm This looks great. Please sign off on the other PR to address this git issue. Thank you!

@rothja -- thank you for confirming.
@kierenj -- I have made this update to the documentation and it should be live by tomorrow.
I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.


mixed license?

In the /LICENSE file, it says the license is apache
but I found that GNU license exists occasionally in the code
Could you select one of them (personally I hope it would be apache..)?

I have selected the Apache license

Thanks!


API audit and consolidation

tob-api exposes a high number of API endpoints, but we only use a limited number of them
We should audit which endpoints need to remain active and which ones should be removed/deactivated.
Some of the endpoints also suggest that they will be returning credential data, but the structure of the JSON response is not consistent with the actual structure of credentials.
We should try and consolidate the responses to be consistent with the credential structure as much as possible.

As far as i can see, these are the API endpoints that are currently being used by the various frontend applications (ToB, GreenLight):
ToB
/v2/feedback
/v2/issuer/{id}/logo
/v2/topic/{id}/credentialset
/v2/search/credential/topic
/v2/credentialtype/{id}/language
/v2/quickload
/v2/search/autocomplete
/v2/search/credential/topic/facets
/v2/topic/ident/{type}/{source_id}/formatted
/v2/topic/{id}/related_from
/v2/topic/{id}/related_to
dFlow
/v2/topic/{id}/credential/active
/v2/credentialtype
/v2/topic/{id}/formatted
/v2/schema
/v2/issuer
this is not in OpenAPI, but referenced in ToB's general-data service
${mod}/${id}/delete
exposed by aiohttp
/v2/credential/{id}/verify

@ianco is there anything else we need to do for this issue? I think we thought that updating all the API endpoints would be a significant and non-necessary effort?


Adjust span start based on previous replacements

The fix for #126 introduced a problem where the spans that needed to be replaced would not have their start/end updated accordingly after doing a prior replacement.
The issue is the code is updating identifiedSpans and not appliedSpans.
Example - the following text:
George Washington was president and his ssn was {{{REDACTED-ssn}}} and he lived at {{{REDACTED-zip-code}}}.
would be redacted as:
George Washington was president and his ssn was {{{REDACTED-ssn}}} and he li{{{REDACTED-zip-code}}}t 90210.
This needs a unit test.

Backported to 2.7.1.


Truncate directory json output timestamps to millisecond precision

To maintain backwards compatibility

Coverage decreased (-0.007%) to 93.794% when pulling 17e12a431c800cf994fecf1cead09c2d80a05200 on tgianos:instantFixesMaster into cb97b90904bb4e6e0d8c890a0aafc56cabd0f46c on Netflix:master.


WIP: Adding more strict resource checks on Windows

More strictly check for resource and container settings on Windows. This changes some current warnings into errors, and will add new errors for Linux only HostConfig options, as well as conflicting options.
/cc @jhowardmsft
Signed-off-by: Darren Stahl<EMAIL_ADDRESS>

LGTM. Nice! Thanks for doing this.

Pushed a lot more checks for Linux options on Windows daemons.


Settings Save Not Working

When I try to change anything on the config, then hit save, nothing happens.  I watched the network tab and theres no calls being made when the save button is hit.  It's impossible to change anything from the default.

What version of NodeBB? And I assume the latest version of the shoutbox?

NodeBB 1.0.2 (I have a plugin holding me back from going to 1.1.0 right now that I still need to patch up), and the latest version of shoutbox.

Any errors in the console?

Nope... I've tried both the latest version of Chrome and Firefox.  I cleared out my network and console logs after doing a full page reload on /admin/plugins/shoutbox and I see absolutely no errors.  When I click the Save button, there are no errors and no network activity.  It's almost like the click handler for the button isn't being activated.


readme.md has invalid json

Your example JSON for your documentation has invalid JSON.

example here

There are too many of the accessories containers so it should be updated to this:

proposed solution here

Thanks

Thank you very much.
I upgraded it, so I will close this.


Uploading Tool inputs.json works in FC but not in Terra

I have a workspace example to demonstrate that uploading the Input attributes with an inputs.json works when doing it through FireCloud but the same inputs.json doesn't successfully upload in Terra.

Terra workspace (clone of the original) with empty Attributes in Tool inputs.

Download inputs.json from original workspace.

Upload the original workspace's inputs.json to the cloned copy from Step #1

Go to FireCloud for my cloned workspace and upload the original workspace's inputs.json.

It works in FireCloud - the same inputs.json file.
I was able to test this in two different workspaces, saw this issue at hackathon, and also a user reported the same issue on the Community Forum. I have successfully uploaded an inputs.json file before but I had manually made it with womtool instead of downloading it from a Tool configuration.

User communication from Community (for comms reference to update user):
https://broadinstitute.zendesk.com/hc/en-us/community/posts/360043158211-Uploading-Method-Configuration-doesn-t-work

Note: This feature worked previously but has not been working recently. I double-tested this in a workspace that I know we used the upload json function and it doesn't work.


will there be a version of the program for the main 1.7.10

.

1.12 and below require 2 dungeons for meaningful reversal, its not impossible to add i plainly havent done it, will maybe do that at some point if people find that useful

Hello! bro you have a very cool and useful program but it is very lacking for 1.7.10...
a google search shows that many people are looking for version 1.7.10...
And a lot of people are looking for a way to find out the seed for him.
Honestly I would like to see the version on 1.7.10 =)
I even had to register to write something :))


/applications API does not create the app with specified access token type in the request

Describe the issue:
$subject.
How to reproduce:

Create an app (POST request https://{{server-url}}/{{tenant-domain}}/api/server/v1/applications) with the following body in the request:

{
  "name": "test-update-oidc-app-1",
  "inboundProtocolConfiguration": {
    "oidc": {
      "clientId": "newclientid",
      "clientSecret": "newclientsecret",
      "grantTypes": [
        "authorization_code",
        "password",
        "client_credentials"
      ],
      "callbackURLs": [
        "https://app.example.com/callback2"
      ],
      "publicClient": true,
      "pkce": {
        "mandatory": false,
        "supportPlainTransformAlgorithm": true
      },
      "accessToken": {
        "type": "JWT",
        "userAccessTokenExpiryInSeconds": 3600,
        "applicationAccessTokenExpiryInSeconds": 3600
      },
      "refreshToken": {
        "expiryInSeconds": 86400,
        "renewRefreshToken": true
      },
      "idToken": {
        "expiryInSeconds": 3600,
        "audience": [
          "http://idp.xyz.com",
          "http://idp.abc.com"
        ],
        "encryption": {
          "enabled": false,
          "algorithm": "RSA-OAEP",
          "method": "A128CBC+HS256"
        }
      },
      "validateRequestObjectSignature": false
    }
  }
}

Note that we are specifying the access token type as JWT in the request.

Get application inbound configurations for oidc (GET https://{{server-url}}/{{tenant-domain}}/api/server/v1//applications/{applicationId}/inbound-protocols/oidc)

In the response, a Type under the Access Token tag does not exist.

Expected behavior:
The response of GET /applications/{applicationId}/inbound-protocols/oidc should have the access Token type set to JWT.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: [e.g., IS 5.11.0, IS 5.12.0-m30]

Hi folks, I was wondering if you've applied this fix to the Identity Server 5.11.0 as well.
I'm asking this because I can see that pull request #1665 mentioned above and merged commit 0555a6b into wso2-extensions:master on 30 Aug seems to be affecting the identity-inbound-auth-oauth version 6.7.x which is not used by Identity Server 5.11.0.
Any comments would be highly appreciated.
Thanks and regards


cmd/gc: why are stack frames so large?

In src/cmd/go, scanPackage has a 1816-byte stack frame on my 64-bit Mac.
Quickly counting local variables I see about 46 words worth of automatics,
so 368 bytes.  Where is the rest?

Related: #8740.


Fill Screen (resize) no longer working in Chrome 43.0.2357.65 m

Running developer build 525 and this issue just popped up today. I haven't touched any of my settings in the extension or in chrome.

Broken in firefox too, no changes made by me

Firefox: http://i.imgur.com/F09zmRO.png

Confirmed on Safari 8.0.6 with build 525.

Ditto. Chrome 44.0.2403.9 dev-m.

Same issue, wonder what YouTube changed this time, sigh...

Wish thouse YT updates were optional.

Not just in "fullscreen", changing the player size with YTC result in what the OP posted.
But, this is only when using the HTML5 player. If you force Flash with YTC, the video is properly sized.
Firefox 38.0.1 / YTC dev build 525

Same in Chrome 43.0.2357.81 m
http://i.imgur.com/8uIwb50.png

Same in Chrome 43.0.2357.81 m
YTC Developer Version 525

Happens with html5 with flash at least in my case doesn't happen. Try the flash option if you have predefined instead.
BTW does anyone know if you can hide the header forever unless you go to the top of the page isntead of just when it's playing?

Even if works fine with Flash, this is a issue that needs to be fixed, isn't it? :)

Yeah but any info helps to the dev to be able to allocate the problem and also gives people interested a quick fix.

I agree :+1:

Firefox 38.0.1
YTC Dev Build 525
Also getting this with HTML5 video enabled. Google must have released another update just to screw up extensions.

Yup, forcing flash fixes the issue.  @YePpHa please fix it.

It appears that the fix originally created by @Yonezpt is now not loading as it should. Probably a YT change that broke parts of it, but I have noticed that it does sometimes load, but not consistently.

@SuperSajuuk Maybe you could try fixing it?

@KamranMackey Sorry, I don't know the codebase for this extension. I know JS and things like that, but nowhere near enough to fix bugs in extensions. You'll need to wait for @YePpHa or @Yonezpt to see the ticket and create the fix. Sorry!

@allexradu entering a height for the Fit to Content preset doesn't fix anything for me.

The new HTML5 player doesn't seem to be affected by this (judging by my tiny amount of testing and all of the screenshots above using the old HTML5 player), you can enable it here as a temporary fix, I guess.

Yup Cellane is correct. Use the new player as a workaround until @YePpHa fixes it.

Running on Firefox Aurora x64 and getting this issue as well.

@Cellane Good to know, but I despise the new player because it removes 40px in height and everything is oversized unnecessarily. I would prefer a fix on the older player, but thanks I guess..

@Cellane Thanks, it fixed the issue. I also like the progress bar's transparency.

My fix is still working correctly, but for some reason it is not being applied as/when it should. Using the flash player or the new html5 player are alternative fixes at least until a fix for this specific problem can be created.

@Yonezpt What about using a timer?

@rayman89 A timer won't work, it needs to hijack the code responsible for the player creation when the player is about to be created, otherwise my fix will not be used if it is injected after the player is already created. The other two issues you mentioned are not related to this one and should be posted in the respective issue or create a new one for them if needed.

waterfox 38.0

@MammothJerk Switch to the new player, it fixes the problem. Click here to enable it.

does not fix it, the player is just black with no options now

@MammothJerk Try resetting your YouTube Center settings, because it's working just fine for me in the latest dev build of Google Chrome.

@KamranMackey he probably has autoplay disabled which has been buggy lately.

@Yonezpt Probably. Anyway, do you think you could probably fix the issue in the old HTML5 player? While I like the new one and the transparency of the player bar, the player bar is just too big when in fullscreen.

I've confirmed that disable auto-play is what's causing the player to be a black box using Cellane's solution with the new HTML5 player on Firefox Dev 64-bit.

It seems that my fix is no longer working, although it looked like it was working for me, I'll try to find a new method.

@YePpHa It looks like they finally ditched that horrible hardcoded system they had before and replaced with the one being used in the new transparent player which is regulated by the matchMedia method. Setting it to false works just as great.
Regulating function is the following one:

    f.wb = function() {
        var a = this.app.X();
        if (window.matchMedia) { // <- Here's the beautiful condition, so much better for us developers!
            if ((a.jb || a.$a) && window.matchMedia("(width: " + window.innerWidth + "px) and (height: " + window.innerHeight + "px)").matches)
                return new H(window.innerWidth, window.innerHeight);
            if (DK(a) && "blazer" != a.j && !a.$a) {
                a = a.experiments.V;
                if (window.matchMedia(m8.C).matches)
                    return new H(426, a ? 280 : 240);
                var b = this.app.ka;
                if (window.matchMedia(b ? m8.o : m8.j).matches)
                    return new H(1280, a ? 760 : 720);
                if (b || window.matchMedia(m8.A).matches)
                    return new H(854, a ? 520 : 480);
                if (window.matchMedia(m8.B).matches)
                    return new H(640,
                    a ? 400 : 360)
            }
        }
        return new H(this.element.clientWidth, this.element.clientHeight)
    };

To everyone here, just be patient until YePpHa applies the fix, until then make use of the suggested temporary fixes: either use the flash player or the new transparent player with autoplay disabled.
To the YouTube team member that might be watching this issue forum and, thank you for making it easier to develop software for your service.

I wrote a Stylish script to fix that temporarily
@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("youtube.com") {
  .video-stream.html5-main-video{
    width: 100% !important;
    height: auto !important;
  }
}

@SleepyPrince That will only make the video fill the space, but all of the annotations and the seek bar will not work/display correctly.

@megascorcher
HOW TO FIX IT:
Step 1:
Settings > Player > General (1st tab) > Player Type > Aggressive Flash
Step 2:
Settings > Player > Player Size > Fit to Content :
Width: 1066
Height: 595

@Yonezpt Allowing autoplay didn't solve the black screen issue.

@SnowGabe I suggested two temporary workarounds, if one didn't work for you then try the other.

@Yonezpt I see. For the new HTML5 player I have simply resolved to remove the matchMedia API for YouTube. However, as this is a kind of brutal way of doing it (removing browser API) I resolved to only do it for the new HTML5 player:
function fixPlayerSize() {
	if (isNewPlayer()) {
		window.matchMedia = null;
	} else {
		patchDetour();
	}
}

The solution to this is to always remove the matchMedia API. However, before I can do this I just need to setup my new computer to be able to compile Safari extensions.

Correct, since both player versions now use the same condition, the solution for the new player now works for the default player, so you don't even have to check which player the user has, simply nuking matchMedia will solve all of our resizing problems.

@Seraphex45 try press spacebar if you have black box with new player.

@Yonezpt I'm using the new HTML5 player, doesn't work. I won't go back to Flash because of privacy issues, I don't even have Flash Player installed. "layers.offmainthreadcomposition.enabled" is set to true.

The only way I got it to work with the new HTML5 player was disabling "Prevent Auto-Play" and "Prevent Auto-Buffering."

@AndrewTheWookie Thank you, I forgot to turn off "prevent auto-buffering".

Thanks Cellane the new player fixed it for now! And thank you YePpHa for your great work, YTC really makes youtube much better.

slight problem with the html5 player. playlists dont function like they should. by that i mean it doesnt go to the next video on its own. this is likely not an issue with YTC though.

@Cyguard Well, they are still working on it. What do you expect? :smiley:

@KamranMackey upon further testing it is YTC at fault for not going to the next video in the list. not that big a deal though.

Thanks for the testtube player suggestion. That fixed it. Hopefully there's a real fix soon. :)

the testtube fix worked for me but now i cant play the video as usual.
with autoplay off which is how i prefer it, whenever i open a video its just all black, and i have to press spacebar for the video to play and it wont buffer unless i press spacebar
in the old player it would buffer while still not playing.
if i turn the prevent autoplay off in the ytc options when i open several tabs they will all start playing and lagg my browser to hell, even when i have the "Only one player instance playing" turned on
very annoying when you use your tv for youtube and you dont have a keyboard handy.

I can confirm that YePpHa's fix works. I replaced line 10989 with if(1) { to test it.

@ngld Perfect fix. Just replace "if(isNewPlayer())" with "if(1)". Problem solved.

@ngld Worked for me aswell

If anything, changing the original function into this would be best:
Original
function fixPlayerSize() {
    if (isNewPlayer()) {
        window.matchMedia = null;
    } else {
        patchDetour();
    }
}

Changed fix
function fixPlayerSize() {
    window.matchMedia = null;
}

I had to take the plunge and switch to the new player, simply because the old player was pushing the content down a bit from the top (meaning a small section at the bottom of content was cut off completely). Are any updates "actually" going to appear, or is this just going to become abandoned? Heard nothing from @YePpHa in ages and no updates in at least a week :/

@Yonezpt Thanks for the solution (would have taken many hours or even days to figure that out myself). I got tired of waiting for YTC to be fixed and instead made a new userscript with the features I considered the most important (and some that were not available in YTC at all) based on my personal preference for customization. I called it "YouTube Cinema Mode" (link is to Greasyfork, but might be on GitHub in the future). Here's the current feature list:

Maximizes player to fit the entire viewport area.
Auto-hides the top bar on watch pages for maximum space utilization (will only display when mouse hovers over the top of the page).
Auto-pauses other playing videos (in any tab) when playback is started/resumed (supports both watch pages and channel pages, but not embedded videos at the moment).
Disables SPF (Structured Page Fragments, AKA red loading bar).
Auto-expands video description.

Supports the HTML5 player only. Tested with both the latest Firefox and Chrome (using latest Greasemonkey/Tampermonkey). Works with both the old (black/red) player and the newer, transparent one, which can be enabled here (recommended).
I tried to organize the code so other developers could benefit from the individual features (feel free to copy/paste into your own scripts). Because of duplicate and conflicting behaviors, it doesn't seem to work well alongside YTC though (that would also depend on the particular YTC settings used).

@YePpHa Are you gonna fix this issue natively in YouTube Center soon or what? Not trying to be mean, but you haven't pushed a commit to YouTube Center in literally over a month. What's going on? I hope YouTube Center isn't being abandoned.

@KamranMackey I think in Europe, around these months, is the exams season. If he is studying then he is very likely unable to have enough free time to update YTC since some of those exames require the students to study for an entire month non-stop, in some cases up to 2 months.
But that is if he is studying, I am just guessing here so it might be something completely different.

@KamranMackey @Yonezpt Based on his profile pic, he doesn't really strike me as the kind of person who would be studying for exams, but appearances don't tell the whole story ;)
But yes, I'm starting to believe the extension is abandoned, unless he commits something soon. And if it's abandoned, it'll need community involvement to fix things. >_>

Don't let that great script die....

Do you have this issue when using a fullscreen player?

Did I miss something? Is there a solution or has the script been abandoned?

@GarfieldDeepClone A temporary solution has been presented above: https://github.com/YePpHa/YouTubeCenter/issues/1844#issuecomment-111477296

Can someone update the title? This was not restricted to chrome only but also happened in Firefox (several users did report so).
Also in latest FF 39.0 + YTC dev 528 I have not been seeing this any longer.

@foss- Done, this will be now a main issue about bugged player resizing, and every duplicate will get closed. ;)

@foss- This issue has already been fixed in dev. 526, it can be closed as far as I can see.

Sure, if you want feel free to close issues for yourself. ;)

Not fixed yet. Happening in dev.528

@Wolf68k Can you provide screenshots of the issue? Because there is a very similar one that might be mistaken by this one, however it is being caused by a Firefox setting, not by YTC (see issue 1812)

To offer a second data point, this issue had been fixed for me in Firefox until some time today. The issue resurfaced without me making any change in either YTC or Firefox settings. YTC build 529 fixes it again.


FormData, URLSearchParams and other HTTP classes

These two classes are fundamental to basic HTTP usage, but specifically need to be implemented to allow PHP.Gt/Fetch to reach its next stable release.
PhpGt/Fetch#99 relies on this issue.
Class list to implement:

[x] FormData
[x] URLSearchParams
[x] TypedArray
[x] DataView not supported for PHP (I think...)
[x] Blob
[x] FileUpload (or similarly named class)

Still need to:

[ ] test real file uploads
[ ] implement promise-based returns (that automatically resolve), like Blob::text() for example

The latest commit implements these classes, but the file upload functionality will be handled separately in #213


[Pickers] Fix showTodayButton not returning the current time

Problem
When clicking on the "Today" button in MobileDate[Time]Picker, the returned value is always the same => the moment at which the component was first mounted.
How to reproduce
Example: https://codesandbox.io/s/62sdn

Load the page
Open the DateTimePicker
Click on the "Now" button
Wait for 5 sec
Open the DateTimePicker
Click on the "Now" button
The date has not changed at all, because the useNow() always return the same value

Expected behaviour
The "Now" value should represent the current time when the user click the button, and not the time when the component was first mounted.
Describe the changes
Somehow, removing the useReft fix the issue, i suspect some hook cache magic being used somewhere in React, but i don't know enough about the Hook implementation so...
Here is a sandbox using the fix proposed in the PR: https://codesandbox.io/s/funny-liskov-8pdp7

[x] I have followed (at least) the PR section of the contributing guide.

@anthonyraymond Thanks for raising the issue to our attention, it's half of the job done. Sebastian was definitely right about the useNow semantic for default values, we needed to keep a ref.

@anthonyraymond Thanks for raising the issue to our attention, it's half of the job done. Sebastian was definitely right about the useNow semantic for default values, we needed to keep a ref.


[Request for External/Cloud] Codeunits 1206/1207/1208: Pmt Export Mgt Gen Jnl Line / Vend / Cust Ledg Entry

This is a general request/question, but given the number of events/procedures - and perhaps the possibility of a simple reason they must be this way - I hope to get an informed answer, without having to ask/request for 10s or 100s of distinct symbols. Please attempt to do so 👍
All/most public procedures and event publishers in these 3 Payment Export Management codeunits are marked as being for OnPrem only. Is this actually required? We would like to deliver our users the option to create payment files for upload/transfer elsewhere, regardless of whether or not they are using on-premise or in-cloud BC. It should be perfectly possible for BC to create a file on the server side and then send it to the client for download.
Please can OnPrem requirement be removed from all procedures and events that do not actually require it, so that these could be used in SaaS too?
Or is there some more fundamental reason that payment export is not possible from SaaS? I'm sure the idea is that we would use HTTP/XML/JSON to send electronic payments directly to web APIs, or suchlike, but the reality is that many, many users' banks are not that smart - and besides, we want to provide the option to our clients to produce bank files for later use.

We have legacy code here and therefore used 'OnPrem' to indicate this area is not yet designed for cloud use. Enabling for cloud cannot be done by simple remove of 'OnPrem', and we have no plans to do this in current design. Instead, this functionality will be updated consistently to provide cloud capabilities and extensibility. Please check our release plans to see when it will be possible.


Add correct Swarm port bindings

Closes https://github.com/docker/machine/issues/2840
Seems to be the case that HostIp needs to be set in port binding struct, it was getting set to empty string.
Signed-off-by: Nathan LeClaire<EMAIL_ADDRESS>

cc @docker/machine-maintainers FYI

I'm hitting this issue (well, #2840). Is this fix released yet?

@gvt Should be -- are you using 0.6.0?

My swarm nodes say they are using Docker v1.9.1. Not sure which version of Swarm they use, inspect doesn't appear to give that info. How can I check?

@gvt I mean Docker Machine version.  Are you on 0.6.0?

Yes
$ docker-machine --version
docker-machine version 0.6.0, build e27fb87

And the hosts were created with that Machine version?  What are the logs using --debug of creating them?  What is the output of docker ps -a for each host?

I didn't use the --debug flag during the creation of these swarm nodes. But I could re-create them.
the swarm master node:
$ docker ps -a
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS                          PORTS               NAMES
cc3c568ea0e3        swarm               "/swarm create"          59 minutes ago      Exited (0) 59 minutes ago                           stoic_sinoussi
f5ce45ae4a62        swarm:latest        "/swarm join --advert"   About an hour ago   Restarting (1) 17 minutes ago                       swarm-agent
37e49981c05a        swarm:latest        "/swarm manage --tlsv"   About an hour ago   Restarting (1) 17 minutes ago                       swarm-agent-master

swarm member node 1:
$ docker ps -a
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS               NAMES
36cc1a149701        swarm:latest        "/swarm join --advert"   53 minutes ago      Up 53 minutes                           swarm-agent

swarm member node 2:
$ docker ps -a
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS               NAMES
cb3e2f961269        swarm:latest        "/swarm join --advert"   49 minutes ago      Up 49 minutes                           swarm-agent

Yeah, try re-creating please, and post the output of --debug.

The --debug flag does not seem to be available. I am using the openstack driver, and getting:
`$ docker-machine create --debug -d openstack
[...a bunch of options...]
Incorrect Usage.
Usage: docker-machine create [OPTIONS] [arg...]
Create a machine
Description:
Run 'docker-machine create --driver name' to include the create flags for that driver in the help text.
Options:
--driver, -d "none"											Driver to create machine with.
--engine-env [--engine-env option --engine-env option]						Specify environment variables to set in the engine
--engine-insecure-registry [--engine-insecure-registry option --engine-insecure-registry option]	Specify insecure registries to allow with the created engine
--engine-install-url "https://get.docker.com"							Custom URL to use for engine installation [$MACHINE_DOCKER_INSTALL_URL]
--engine-label [--engine-label option --engine-label option]						Specify labels for the created engine
--engine-opt [--engine-opt option --engine-opt option]						Specify arbitrary flags to include with the created engine in the form flag=value
--engine-registry-mirror [--engine-registry-mirror option --engine-registry-mirror option]		Specify registry mirrors to use
--engine-storage-driver 										Specify a storage driver to use with the engine
--openstack-active-timeout "200"									OpenStack active timeout [$OS_ACTIVE_TIMEOUT]
--openstack-auth-url 										OpenStack authentication URL [$OS_AUTH_URL]
--openstack-availability-zone 									OpenStack availability zone [$OS_AVAILABILITY_ZONE]
--openstack-domain-id 										OpenStack domain ID (identity v3 only) [$OS_DOMAIN_ID]
--openstack-domain-name 										OpenStack domain name (identity v3 only) [$OS_DOMAIN_NAME]
--openstack-endpoint-type 										OpenStack endpoint type (adminURL, internalURL or publicURL) [$OS_ENDPOINT_TYPE]
--openstack-flavor-id 										OpenStack flavor id to use for the instance [$OS_FLAVOR_ID]
--openstack-flavor-name 										OpenStack flavor name to use for the instance [$OS_FLAVOR_NAME]
--openstack-floatingip-pool 										OpenStack floating IP pool to get an IP from to assign to the instance [$OS_FLOATINGIP_POOL]
--openstack-image-id 										OpenStack image id to use for the instance [$OS_IMAGE_ID]
--openstack-image-name 										OpenStack image name to use for the instance [$OS_IMAGE_NAME]
--openstack-insecure											Disable TLS credential checking. [$OS_INSECURE]
--openstack-ip-version "4"										OpenStack version of IP address assigned for the machine [$OS_IP_VERSION]
--openstack-keypair-name 										OpenStack keypair to use to SSH to the instance [$OS_KEYPAIR_NAME]
--openstack-net-id 											OpenStack network id the machine will be connected on [$OS_NETWORK_ID]
--openstack-net-name 										OpenStack network name the machine will be connected on [$OS_NETWORK_NAME]
--openstack-nova-network										Use the nova networking services instead of neutron. [$OS_NOVA_NETWORK]
--openstack-password 										OpenStack password [$OS_PASSWORD]
--openstack-private-key-file 									Private keyfile to use for SSH (absolute path) [$OS_PRIVATE_KEY_FILE]
--openstack-region 											OpenStack region name [$OS_REGION_NAME]
--openstack-sec-groups 										OpenStack comma separated security groups for the machine [$OS_SECURITY_GROUPS]
--openstack-ssh-port "22"										OpenStack SSH port [$OS_SSH_PORT]
--openstack-ssh-user "root"										OpenStack SSH user [$OS_SSH_USER]
--openstack-tenant-id 										OpenStack tenant id [$OS_TENANT_ID]
--openstack-tenant-name 										OpenStack tenant name [$OS_TENANT_NAME]
--openstack-username 										OpenStack username [$OS_USERNAME]
--swarm												Configure Machine with Swarm
--swarm-addr 											addr to advertise for Swarm (default: detect and use the machine IP)
--swarm-discovery 											Discovery service to use with Swarm
--swarm-host "tcp://<IP_ADDRESS>:3376"									ip/socket to listen on for Swarm master
--swarm-image "swarm:latest"										Specify Docker image to use for Swarm [$MACHINE_SWARM_IMAGE]
--swarm-master											Configure Machine to be a Swarm master
--swarm-opt [--swarm-opt option --swarm-opt option]							Define arbitrary flags for swarm
--swarm-strategy "spread"										Define a default scheduling strategy for Swarm
--tls-san [--tls-san option --tls-san option]							Support extra SANs for TLS certs
flag provided but not defined: -debug

@gvt --debug is flag for docker-machine, not subcommand -- so if you move it to immediately after docker-machine arg it will work


[Android][TextInput] Modifying controlled input value results in repeated characters

Description:
MWE produced in Expo: https://snack.expo.io/@deecewan/brave-waffle
If you have a controlled TextInput that has an onChangeText (or onChange) that updates the value being passed in, the next character typed results in a random assortment of extra characters that have already been typed appearing.
In the example, I do a toLowerCase() on the value being passed in, and update the value kept in state to reflect this. On Android (in testing, this bug did not happen on iOS), if you enter a lowercase letter, everything behaves as normal. If you enter an uppercase letter, the text input correctly shows the updated value, but as soon as you type an extra character, it copies out the previous values that you've entered and repeats them.
FWIW, I've tried to resolve this by using setNativeProps({ text }), too, and still no luck 😞

React Native version:
System:
    OS: macOS Mojave 10.14.6
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 39.34 MB / 16.00 GB
    Shell: 5.7.1 - /usr/local/bin/zsh
  Binaries:
    Node: 10.16.0 - /var/folders/jw/jmf01xt50912_jyr0xq8kpfh0000gn/T/yarn--1581334180149-0.16108261901897913/node
    Yarn: 1.12.1 - /var/folders/jw/jmf01xt50912_jyr0xq8kpfh0000gn/T/yarn--1581334180149-0.16108261901897913/yarn
    npm: 6.9.0 - ~/.nvm/versions/node/v10.16.0/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK:
      API Levels: 24, 26, 28, 29
      Build Tools: 28.0.3, 29.0.0
      System Images: android-28 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom_64, android-28 | Google Play Intel x86 Atom
  IDEs:
    Android Studio: 3.5 AI-191.8<IP_ADDRESS>10548
    Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native: 0.61.5 => 0.61.5

Steps To Reproduce
Check the expo link here: https://snack.expo.io/@deecewan/brave-waffle

Add a TextView to an app, storing it's value in state
Set up onChangeText to modify the content of the value
Run on an Android device

Expected Results
The text is only what is expected

Snack, code example, screenshot, or link to a repository:
https://snack.expo.io/@deecewan/brave-waffle

Duplicate of https://github.com/facebook/react-native/issues/11068

it's a dupe of a few i think. found after searching

Closing this out as the dupe is active and has a link back to this for context.

I got the same issue on rn 62.0


Update kiss3d and nalgebra

It seems kiss3d 0.29 that fixes https://github.com/sebcrozet/kiss3d/issues/262 has been released, but that depends on a new version of nalgebra (0.24).
https://github.com/openrr/openrr/blob/89cec32e2873d7b2cff075522521895c7b7f8e1d/Cargo.toml#L33-L34
Some dependencies need to be updated first for openrr to switch to kiss 0.29 and nalgebra 0.24:

[ ] k; pending on https://github.com/openrr/k/pull/24
[ ] urdf-viz
[ ] ros-nalgebra

Let's update!

Let's update!


Save file permission correctly

WHY
Currently risu does NOT saves cached file permission. Due to this bundle exec GEM does not run because gem command's permission is forced to set 0644.
WHAT
Save cached file permission correctly into tarball and inflate with saved permission.

LTGM!


[FEATURE] ConversationID Waste!

when covnersations created reached to a certain amount in a day, Bing server will limit the talk until the next day.
Only way to solve it now is switching the current cookies with another new one
Checks

[x] I confirm that I have searched existing issues and couldn't find a similar proposal.
[x] I have read the documentation and test the software carefully and confirmed that this is not an existing feature.

Is your feature request related to a problem? Please describe.
Would be a Authentication failed problem or Request is thorrlted
Describe the solution you'd like
Continous chat in a single conversation id

How many times did you chat before the limitation kicked in?
I prefer to stick with the stateless implementation at the mo as otherwise chat histories cannot be modified every time.

I don't think the cause of throttling is the creation of a new ConversationID. Based on my experience, Microsoft does not count ConversationIDs separately but treats a new conversation the same as a new turn within the same conversation.


mark as unmaintained

Followup from #19
Please also archive the repository after merging this PR (under "Settings").

Hi @djmitche — I'm not going to merge this request. You're effectively wiping out all the files in the repo, which would not be appropriate. While I agree I do not do any maintenance these days—as I do not work with Node day-to-day anymore—people are welcome to send useful updates and I will merge when time allows. Version 0.1.3 was released from this repo, to say otherwise is not correct.


The broken links in Curators page

In https://www.arewewebyet.org/curators/#ben, the GitHub and Twitter link is broken. I don't know they still curate this site, so I don't know it should be fixed.

Honestly I'm not sure if this website even makes sense to have now, and I'm not actively curating it myself. But sure, you're welcome to help maintain the webite!

I think I'm the only person maintaining the site right now, I'll try to get to all the open issues and pull requests by next week.

I can't either, but I suspect @rylev or @pietroalbini can.
I trust @giraffate to be able to help maintain if you're open to having help.

I'd definitely appreciate help!

You should create a new team (with the people responsible for arewewebyet) and repository (making this repo managed by our automation) in the rust-lang/team repository.

Since PR 967 has been merged, why isn't this closed? Do you guys need some help tidying up the issues?


Warning: componentWillReceiveProps is deprecated and will be removed in the next major version. Use static getDerivedStateFromProps instead.

Hello,
Getting this warning in React Native > 0.60
Warning: componentWillReceiveProps is deprecated and will be removed in the next major version. Use static getDerivedStateFromProps instead.
Please update the following components: Autocomplete
Learn more about this warning here:
https://fb.me/react-async-component-lifecycle-hooks
console.warn @ YellowBox.js:71
YellowBox.js:71 VirtualizedList: missing keys for items, make sure to specify a key or id property on each item or provide a custom keyExtractor.

This should be fixed with v4.2.0-rc.1. Try to install react-native-autocomplete-input@next.


Time attack vector

Hi!
Using plain comparison https://github.com/stevencorona/SessionHandlerCookie/blob/master/src/SessionHandler/Storage/SecureCookie.php#L65 opens the subj.
Please consider using something like https://github.com/dvv/macaron/blob/master/src/Macaron.php#L36-L59.
TIA,
--Vladimir

@dvv I know this is really old, but I was wondering if you could further explain how an attacker could take advantage of plain comparison here.  I am thinking of forking this repo since development on it has stopped and would like potentially fix this


Werid display when used in screen

Describe the bug
When using command-line tool screen, the displayed result is werid and buggy.
The original terminal is not hidden.

Notice:

The upper left part of the screenshot, where the result of ls is shown.
The bar chart's x-axis
The percentage number in progress bar.

To Reproduce
sudo apt install screen
screen -S tui-rs
cargo run --example termion_demo --release -- --tick-rate 200

Desktop (please complete the following information):

OS: Ubuntu 2004
Terminal Emulator: Reproduced on default terminal & Terminator(sudo apt install terminator)
version: 0.9.0
Backend: termion

Additional context
I guess it's because screen' and termed conflicted when hooking stdout & stderr?

The demo is using AlternateScreen and I think the altscreen option of screen is off by default. You can either enable this option of screen or stop using AlternateScreen and clear the terminal manually before the first draw.

Thanks for your hint. I wasn't sure what AlternateScreen is but now I know. You are right, altscreen is off by default.
In case anyone gets here in the future, here is how to turn on altscreen in screen

Enabling altscreen is an effective workaround.  However, this still seems like a bug in tui-rs, or maybe termion.  They should work regardless of screen's configuration.  It's notable that tui-rs's crossterm, curses, and rustbox demos do not exhibit this problem.  Nor do any of termion's demos.


Adds the possibility of using rb-button in the page title component

TP: https://rockabox.tpondemand.com/entity/9106

Does the Angular version now do everything that the static version does? If so, should probably update the demo (drop the static version, remove the Angular heading).

Yeah me and @chrisvxd discussed this thought keep it so you can change when additions needed? Up to you

Ah, appreciate it, but I reckon remove it and we can fish a static out of the history if/when we need it.


Using without decorators

Hey,
I am using react-universal with es6 and webpack2 without decorators
Could you provide an example against the same? The docs are very less to understand completely.
Would really appreciate if I could get a complete example for the same.
Thanks

Hi,
All you need to do is to bind the function on class' constructor:
export default class LoginWithLinkedin extends React.Component {

  static propTypes = {
  }

  constructor(props) {
    super(props);
    this.callbackLinkedIn = this.callbackLinkedIn.bind(this);
  }

  callbackLinkedIn ({code, redirectUri}) {
    // Login with linkedin
  }

  render () {
    return (
      <LinkedIn
        clientId='xxx'
        callback={this.callbackLinkedIn}
        className={styles.linkedin}
        text='LinkedIn' />
    )
  }
}

Hope that helps..


feat: Integrate futures/tokio for asynchronous computations

This PR makes it possible to perform asynchronous computations in extern functions called from gluon. To make this relatively convenient the FutureResult type is provided which wraps a future and lets the virtual machine know that it needs to resolve the future to get hold of the value. FutureValue was added so that an event loop won't be required for normal, synchronous computations.

Need to fix the compilation failure but otherwise there is only one problem I am aware of. For Compiler::run_expr and Compiler::load_script it might be a good idea to retain them as synchronous functions returning a Result and add additional run_expr_async and load_script_async functions for when a user wants more control. Its a bit of duplication but definitely more user friendly.


Added functionality to most buttons

All buttons aside from the load page have been updated and some required Instance methods created. Will require some testing to make sure I haven't overlooked any edge cases.
Also added multiple feedback messages (e.g., "Class added successfully!") for successes and failures.

Example of some of the edge cases we'll need to test: class/attribute not found; blank (but required) textboxes.
Currently, trying to change a class or attribute name with the same name is successful and says as such. May still want to test it.
Of note, there's currently no check in place that a new relationship has existing classes for source and destination. I don't recall that being a requirement, but we can edit it as an additional branch/update or modify this one to account for it. I have enough supplemental methods already written that it shouldn't be hard to implement.

Estimated 3 hours to complete. Actual time: 1 hour.