Some gpupdate errors

Describe the bug
Varying errors on gpupdate /force
To Reproduce
Steps to reproduce the behavior:

Apply STIG
Reboot
run gpupdate /force in command prompt
review errors

Expected behavior
No errors
Screenshots
Updating policy...
Computer Policy update has completed successfully.
The following warnings were encountered during computer policy processing:
Windows failed to apply the Group Policy Registry settings. Group Policy Registry settings might have its own log file. Please click on the "More information" link.
Windows failed to apply the Software Installation settings. Software Installation settings might have its own log file. Please click on the "More information" link.
Windows failed to apply the {FC491EF1-C4AA-4CE1-B329-414B101DB823} settings. {FC491EF1-C4AA-4CE1-B329-414B101DB823} settings might have its own log file. Please click on the "More information" link.
User Policy update has completed successfully.
The following warnings were encountered during user policy processing:
Windows failed to apply the Group Policy Registry settings. Group Policy Registry settings might have its own log file. Please click on the "More information" link.
For more detailed information, review the event log or run GPRESULT /H GPReport.html from the command line to access information about Group Policy results.
Desktop (please complete the following information):

OS: Windows 11 22H2
Version 22621.1778

We appreciate the notification.
Seems to be related to https://github.com/simeononsecurity/Windows-Optimize-Harden-Debloat/issues/58
We're still working on it.


Fixed page duplication bug when producing pdf

Rewrote the load method in pdf.js to fix the page duplication bug https://github.com/nearform/deck/issues/79

Use of timeouts is too dependent on a systems resources, the size of the deck (which will slow things down a bit), whether the deck is using transitions etc. It's not generic.
We can't use timers with arbitrary trial and error values, we have to figure out a way for the render process to tell the main process that we've navigated to the next page
Take another stab, this time no timeouts greater than 10ms (might need a timeout to do something in a next tick or something, so max 10ms should cover that)

I used a similar method with timeouts in the powerpoint feature, is that ok or should I try change that too? I'll give it another go anyway.

yah same for ppt


HADOOP-17234. Addendum. Add .asf.yaml to allow github and jira integration.

Description of PR
Addendum to the previous change
Disables WorkLog entries & TimeTracking, which we aren't using, and tough to follow and shoots redundant mails. Instead the Jira comments as well as the Github Pr comments can all be seen together on the Jira.
https://issues.apache.org/jira/browse/INFRA-23544?focusedCommentId=17574650&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17574650
How was this patch tested?
Saw an example posted in INFRA-23544, Rest will get to know post merge only. :-)
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m 34s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+0 :ok:
yamllint
0m  0s

yamllint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

_ trunk Compile Tests _

+1 :green_heart:
shadedclient
37m 33s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
shadedclient
21m 40s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
asflicense
0m 55s

The patch does not generate ASF License warnings.

63m 52s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4686/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4686

Optional Tests
dupname asflicense codespell detsecrets yamllint

uname
Linux 2941cdd24c04 4.15.0-175-generic #184-Ubuntu SMP Thu Mar 24 17:48:36 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 868d6139a8ebd8fc6cafdb7084481847563a7a9b

Max. process+thread count
594 (vs. ulimit of 5500)

modules
C: . U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4686/1/console

versions
git=2.25.1 maven=3.6.3

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

Thanx @liuml07 for the review!!!


[BEAM-5866] Fix Row#equals

This pull request defines two properties that any Coder implementation should satisfy. There are two coders that don't properly implement structuralValue: MapCoder and RowCoder.
RowCoder#consistentWithEquals is defined as always true. It isn't true in case schema has field of type Map<BYTES, ?>. However, such field type makes little sense. One of the ways to fix it would be to reject such schemas. For now, this test is ignored.

Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.
Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---

R: @reuvenlax @amaliujia
Can you please take a look, it's a problem similar to https://github.com/apache/beam/pull/6765

One of the ways to fix would be to reduce the number of allocations in structuralValue (already done) and use it in Row#equals instead.

@reuvenlax @kennknowles Thanks for the review. I tried to fix Row#equals with custom deepEquals, but it turns out to be terrible in cases of List<byte[]>, List<List<byte[]>>, Map<?, byte[]>, Map<byte[], ?>, etc., because it requires traversing row schema, or using a lot of reflection due to type erasure.
I did a different thing, stored byte[] as StructuralByteArray, and deepEquals isn't needed anymore. One drawback is that Row#getValue changes return type of BYTES field.
I have a few suggestions I want to discuss:

use ByteBuffer instead of StructuralByteArray to reduce the amount of "custom" types
store BYTES as byte[] instead of StructuralByteArray in the POJO-backed implementation of Row to reduce extra overhead

Whatever implementation we use, it has to have the same semantics as the custom deep equals. Two rows are equal if they are observably the same when limited to the properties of the type in their schema. The representation should be able to change. We can ignore Java's broken array equality except as an example of something to not do. And since this equality is already going to be consistent with serialization-based shuffling, we shouldn't need structural value (I'm OK with it, but it is surprising to need it). I am surprised, and sort of not believing, that a schema-driven deep equality could be slower than a recursive structuralValue. And I also think that it is possible to have correct semantics with good performance.

@reuvenlax Yes, the problem with ByteBuffer that it has too many fields we don't need, like positions, limit, offset, mark, capacity, isReadonly. They make sense when implementing protocols, but aren't so much useful in data pipelines.
@kennknowles do we even want hashmap as implementation? In Spark, it's done with ArrayBasedMaps. I was thinking similar could be done, for instance, for arrays, to use primitive non-boxing collections where applicable.

SGTM to try different map implementations. I would like to preserve our ability to change the decision of what map data structure is used in a Java implementation of rows without any breaking change for users. It may just need to be altered over time, or it may need to be tunable based on application.

@kennknowles I was thinking about this problem over the weekend. Everything becomes more simple with OurBytesTypeWithGoodEquals. I pushed the implementation in https://github.com/kanterov/beam/commit/08f300e800ef056238360dcea33a47f95ddb5d3d. I think overall it's the best approach.
API It preserves the ability to change internal representation without any surprises or breaking APIs.
Correctness It's clear from the beginning what is Map<OurBytesTypeWithGoodEquals, T>, no matter how it's implemented. Map<byte[], ?> is tricky, and trivial implementation is buggy.
Performance I did JMH benchmarks, it's similar to deepEquals:
RowBenchmark.rowWithStorageAndDeepEquals        thrpt   10  0.014 ± 0.001  ops/ns
RowBenchmark.rowWithStorageAndByteArrayWrapper  thrpt   10  0.015 ± 0.001  ops/ns
RowBenchmark.rowWithGetterAndPojoEquals         thrpt   10  0.022 ± 0.001  ops/ns

Interesting learning is that the most performant approach would be generating POJOs based on a schema, this could be done without breaking proposed API.
Simplicity Row implementation is more simple because it doesn't need custom deepEquals, or specialized collection implementations.
Map<BYTES, ?> It's naturally supported without handling it as a special case

That really sounds quite good to me. Even without schemas it makes sense, because shuffling based on serialized keys means that byte[] equality always needed a wrapper to be in-memory-compatible with shuffle. At this point, we have done far too much on a PR. Would you bring your latest comment to the dev list for a discussion?

Changing Row.get to return StructuralByteArray instead of byte[] will
probably require some changes to the byte-buddy generated code.
On Sat, Oct 27, 2018 at 3:18 PM Kenn Knowles<EMAIL_ADDRESS>wrote:

Whatever implementation we use, it has to have the same semantics as the
custom deep equals. Two rows are equal if they are observably the same when
limited to the properties of the type in their schema. The representation
should be able to change. We can ignore Java's broken array equality except
as an example of something to not do. And since this equality is already
going to be consistent with serialization-based shuffling, we shouldn't
need structural value (I'm OK with it, but it is surprising to need it). I
am surprised, and sort of not believing, that a schema-driven deep equality
could be slower than a recursive structuralValue. And I also think that it
is possible to have correct semantics with good performance.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/pull/6845#issuecomment-433659607, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AUGE1Y428L6jdEOaxFIspySqqBRZ-VtJks5upNupgaJpZM4X8DkU
.

@reuvenlax yes, I did it in https://github.com/kanterov/beam/commit/08f300e800ef056238360dcea33a47f95ddb5d3d, quite amazing stuff in byte buddy btw :).

Is this waiting for further review?

@reuvenlax @amaliujia In my opinion, this PR is a step forward because it fixes few tests, but we don't have a decision if we want to proceed with deep equality vs. changing the representation of BYTES to StructuralByteArray.
We have arguments for and against using StructuralByteArray, and an example implementation, but I don't understand how decisions are made, so it isn't clear how to proceed.
However, the absence of decision doesn't block this PR, because it extends deep equals approach that we use today, therefore, in my opinion, we can merge it with the approval of Beam committers.

Sorry for the delay - this LGTM.

We can move forward and continue to consider the semantics of schemas on list.


Words list is empty if using python bindings

Thank you very much for your great efforts!
I would like to ask about how can I get the list of words with the start time and end time for each word using the python bindings since it returns an empty list??

You need to pass word_level=True arg in get_decoded_results.
Reference: https://github.com/skit-ai/kaldi-serve/blob/master/python/kaldiserve_pybind/decoder.cpp#L79

Thank you @pskrunner14 !! it worked!


No multiple pages download

If I try to download from a Patreon post while the downloader is still downloading from a previous post I cannot start the new download until the olders are finished. Is it working as intended?

That is intentional currently due to the way that it passes data backwards and forwards @Sgrikkardo
I'll leave this issue open and tag if if I re-write the bidirectional linking.

Thank you for your answer and for your work.


Connecting to a remotely tunnelled-to jlab?

Would there be any way to use this app to directly run the jlab associated with a specified port?  The use case I'm thinking of is if I have opened an SSH tunnel to a remote jlab instance somewhere, and would like to run that free of the browser as well.  (Great idea with this app, btw, thanks!)

Yes - I think it would be awesome to be able to connect to an existing instance via a port number (or a URL perhaps), but that's not implemented yet. It shouldn't be too hard, but it hadn't been a priority so far!


Sql Resources

Adding some site to learn/practice the language sql

pull request: Add sql resources #148


Apply RequestOptions Callback Before Validation in RestProxy

Fixes #25168
This PR resolves an issue where RequestOptions callbacks that consume an HttpRequest didn't occur before validation done in RestProxy. The change is being done as the RequestOptions callbacks mutate the HttpRequest, so if validation was configured before they are applied it won't be configuring the final HttpRequest that will be sent through RestProxy.
Additionally, this PR closes another functionality gap where RequestOptions only exposed adding headers. Now, it also exposes a set headers API which resolves a pain point where adding a header value could result in having a header with multiple values that results in a comma-separated header value when sent over the wire where it was expected to override the value.

API changes have been detected in com.azure:azure-core. You can review API changes here
API changes
+         public RequestOptions setHeader(String header, String value)


JVM Environment Variables can crash our JVM

We should seriously check for _JAVA_OPTIONS and JAVA_TOOL_OPTIONS environment variables in our GUI startup, and at a minimum warn that they are set. I have seen multiple cases of people having corrupt values set for those and it is preventing launching our JVM with no obvious reason.

I'll try to smack this.


nsample is deprecated

'nsample' option is deprecated and the new option is 'ndraws'
https://github.com/mvuorre/workshop/blob/ab9899840bd28f27a585c7fa96340a342732d392/modules/models/index.qmd#L394C31-L394C39

Fixed in bb7a28aed8ca3f49b461c3525fde492dd30fda16


Append elasticsearch command arguments

This requires caskdata/coopr-provisioner#115 to be merged. This changes the bind host from localhost to all interfaces, so it's reachable from the outside.

👍 lgtm


Running on nvidia-container-toolkit / Jetson platform

Hello,
I'm trying to run the container with nvidia-container-toolkit, but I get this error when running:
$ sudo docker run -it --rm --runtime=nvidia --gpus all restreamio/gstreamer:aarch64-latest-prod /bin/bash
root@ab2c967bc18c:/#
root@ab2c967bc18c:/#
root@ab2c967bc18c:/#
root@ab2c967bc18c:/# gst-launch-1.0 --version

(gst-launch-1.0:21): GStreamer-WARNING **: 11:48:43.711: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. You might need to set the GST_PLUGIN_SCANNER environment variable if your setup is unusual. This should normally not be required though.

(gst-launch-1.0:21): GStreamer-WARNING **: 11:48:44.574: Failed to load plugin '/lib/aarch64-linux-gnu/gstreamer-1.0/libgstxvimagesink.so': libXv.so.1: cannot open shared object file: No such file or directory

(gst-launch-1.0:21): GStreamer-WARNING **: 11:48:44.580: Failed to load plugin '/lib/aarch64-linux-gnu/gstreamer-1.0/libgstfluidsynthmidi.so': libfluidsynth.so.3: cannot open shared object file: No such file or directory

(gst-launch-1.0:21): GStreamer-WARNING **: 11:48:44.896: Failed to load plugin '/lib/aarch64-linux-gnu/gstreamer-1.0/libgstqroverlay.so': libqrencode.so.4: cannot open shared object file: No such file or directory
(Argus) Error FileOperationFailed: Connecting to nvargus-daemon failed: No such file or directory (in src/rpc/socket/client/SocketClientDispatch.cpp, function openSocketConnection(), line 204)
(Argus) Error FileOperationFailed: Cannot create camera provider (in src/rpc/socket/client/SocketClientDispatch.cpp, function createCameraProvider(), line 106)
sh: 1: lsmod: not found
sh: 1: modprobe: not found
gst-launch-1.0 version 1.22.7
GStreamer 1.22.7
Unknown package origin
root@ab2c967bc18c:/#

Don't care much about the plugin warnings, but the main issue is how do we make the cameras accessible through nvargus?
Any ideas? Missing mount directory?
Thanks!
R

Ok, found the issue, one needs to mount this inside the container:
-v /tmp/argus_socket:/tmp/argus_socket


update footer meta color

@vanshchauhan21, i updated meta color , merge it and close the issue #26

Hey make footer section more responsible for Android and desktop apps , do it ......

Yeah sure


Keymaps doesn't seem to do anything

Hi! 👋
I'm on macOS and I've tried both using the default installation method (with default keymaps) and I've tried to use custom keymaps, as described in your README. Not sure what's wrong as I don't get any feedback whatsoever when hitting the keymaps.
I do, however, see the following is available, but I think this is just because I have the keymaps defined:

This is what I have right now: https://github.com/fredrikaverpil/dotfiles/pull/165
Do you have any tips for me in terms of how to debug this?
How can I make sure the lua code is even downloaded/called?

Hey, thank you for opening the issue, I will look into it later today

No stress 😄

Well unfortunately I am unable to reproduce the issue using your config. As for if the lua is even downloaded/called, this is the case else the events would not show up, the source for the plugin should be in ~/.local/share/wezterm/plugins/httpssCssZssZsgithubsDscomsZsmikkasendkesZssessionizersDswezterm (I think it should be the same on macos). What could be helpful is if you could take a look at your debug overlay in wezterm (ctrl+shift+L) and then trigger the event using ctrl+shift+S or manually using ctrl+shift+p. Then we could narrow down the issue probably (note: sometimes you need to press enter there for new logs to appear)

So it might be something macos specific

Okay, here's something:
Debug Overlay
wezterm version: 20240203-110809-5046fc22 aarch64-apple-darwin
Window Environment: macOS 15.0.1 (24A348)
Lua Version: Lua 5.4
OpenGL: Apple M1 4.1 Metal - 89.3
Enter lua statements or expressions and hit Enter.
Press ESC or CTRL-D to exit
19:11:24.032 ERROR wezterm_gui::termwindow > while processing sessionizer.show event: No such file or directory (os error 2)
stack traceback:
        [C]: in local 'poll'
        [string "?"]:4: in function 'wezterm.run_child_process'
        ...esZssessionizersDswezterm/plugin/sessionizer/entries.lua:70: in upvalue 'apply_commands'
        ...esZssessionizersDswezterm/plugin/sessionizer/entries.lua:90: in function 'sessionizer.entries.get_entries'
        ...omsZsmikkasendkesZssessionizersDswezterm/plugin/init.lua:21: in function <...omsZsmikkasendkesZssessionizersDswezterm/plugin/init.lua:19>

>

Seems like it, I just added a small option (sessionizer.config.command_options.fd_path) which should be a quick fix for now (maybe well run which fd and take that as the path but yeah) You can either delete the downloaded plugin or run require "wezterm".plugin.update_all() to update and try it

Nice, that did it. 👍

cool

Seems like it, I just added a small option (sessionizer.config.command_options.fd_path) which should be a quick fix for now (maybe we'll run which fd and take that as the path but yeah) You can either delete the downloaded plugin or run require "wezterm".plugin.update_all() to update and try it

Could this be added to the README? Using Homebrew for installing tools like fd is very common on macOS.

Yes I will add a small note, thanks for the suggestion. On the "v2" branch which changes a lot it will be found automatically though already but I guess for  the time being this is a good idea, thanks


Resolves #2351

Add note
https://github.com/MicrosoftDocs/windows-powershell-docs/issues/2351

Docs Build status updates of commit 53d1abd:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012-ps/storage/Get-PartitionSupportedSize.md
:white_check_mark:Succeeded
View (winserver2012-ps)

docset/winserver2012r2-ps/storage/Get-PartitionSupportedSize.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

docset/winserver2016-ps/storage/Get-PartitionSupportedSize.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2019-ps/storage/Get-PartitionSupportedSize.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/storage/Get-PartitionSupportedSize.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 3d48899:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012-ps/storage/Get-PartitionSupportedSize.md
:white_check_mark:Succeeded
View (winserver2012-ps)

docset/winserver2012r2-ps/storage/Get-PartitionSupportedSize.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

docset/winserver2016-ps/storage/Get-PartitionSupportedSize.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2019-ps/storage/Get-PartitionSupportedSize.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/storage/Get-PartitionSupportedSize.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit f005ecd:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012-ps/storage/Get-PartitionSupportedSize.md
:white_check_mark:Succeeded
View (winserver2012-ps)

docset/winserver2012r2-ps/storage/Get-PartitionSupportedSize.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

docset/winserver2016-ps/storage/Get-PartitionSupportedSize.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2019-ps/storage/Get-PartitionSupportedSize.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/storage/Get-PartitionSupportedSize.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 080b14e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2012-ps/storage/Get-PartitionSupportedSize.md
:white_check_mark:Succeeded
View (winserver2012-ps)

docset/winserver2012r2-ps/storage/Get-PartitionSupportedSize.md
:white_check_mark:Succeeded
View (winserver2012r2-ps)

docset/winserver2016-ps/storage/Get-PartitionSupportedSize.md
:white_check_mark:Succeeded
View (WindowsServer2016-ps)

docset/winserver2019-ps/storage/Get-PartitionSupportedSize.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/storage/Get-PartitionSupportedSize.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Compatible with ES6/ES2015? -- Cannot find module

Awesome library.
I have been using it successfully outside of ES6, usually via the CDN, however I am now trying to bring it into a ES6 project and it seems to choke on the import.
I am using browseify / babelify if that helps.
The output is:
Cannot find module './term/term.js' from '/[project-path]/node_modules/nlp_compromise/builds'

This is from a simple import:
import nlp_compromise from 'nlp_compromise';

ah, nuts. thanks Chris, will take a look

Na man all good. Great library. We are looking at using it an upcoming project, and was knocking together a few spikes (here's a mini mini spike with React http://jsbin.com/govomanaca/edit?output  -- ignore my shocking code)
I will look at the contributing guide too, maybe PR's are better in the future

oh, think i figured this out today.
browserify supports a "browser" key in package.json
this works like it should now.
cheers


Errors from latest internal spec with ash-compile CI stage

@MarijnS95 with the updates to the NV extension merged, we're now getting ash-compile failures in internal gitlab vulkan CI on everything derived from current main branch, AFAICT. Could you take a look at this? Some signature incompatibility seems to be at fault but no idea if that's inconsistent XML or some assumptions ash is making no longer being true. It would be great to fix this in time for the spec update expected on Friday, if possible.

Hi @oddhack, I think we discussed this already and ash has to incorporate the spec update and update the handwritten bindings to match, which is done in https://github.com/ash-rs/ash/pull/816.
That is blocking on a recently-discovered usability issue with how Rust tracks "borrows" of the timings array, but I think we should resolve that separately.

@oddhack it is now merged, shall we re-run some CI jobs?

Seems to work now - thanks!


TextWrangler 5+ requires OSX 10.8.5, breaking cask on older OSX version

OSX Snow Leopard and Lion can use TextWrangler 4.5, as per the vendor's download page, but the cask doesn't handle this.

@vitorgalvao you beat me to it, but I like my solution #17484 better :grin:

Why did you open an issue if you were going to submit a fix?

Sorry, I thought that was the recommended workflow... I guess there are different ways of using GitHub.

No, that’s just confusing and wasteful. If you intend to submit a fix, just submit it and we can discuss it in the PR, no need to clutter the issues section.
I’ve seen other people do it before, but never actually saw the point. We have over 17000 issues, so it’s not like it helps us track of what was done, or anything.

Fair enough, sorry for the noise. Will do just the PR in the future.


mkl-dnn and awd-lstm-lm

Hi,
I'm trying to determine if mkl-dnn would have an impact on CPU performance for the Salesforce language model toolkit https://github.com/salesforce/awd-lstm-lm
Insights are appreciated. Thanks!
jgw

@mingfeima is the PR referred to above the best way to test the effect of MKL-DNN in pytorch? I'm working with an LSTM in pytorch-cpu 1.0.1 and it is not clear to me if I should expect performance benefits if I used your PR. Thanks.

@wohlbier this PR can't be merged in a short while because the approach for caching rnn weights for mkl-dnn is not favored by pytorch facebook engineers.
This issue can be resolved by a new tensor type design, however i am struggling in pushing my new design and not sure if i can pursue.
Anyway, the performance and functionality are both tested locally. for a typical inference case, the speedup on Xeon could be ~60%, this may vary depend on your RNN input, input size, hidden size, etc. For training it may not be valid, reason is training with dropout will not call mkl-dnn but vanilla cpu rnn.

@mingfeima sorry to comment on this old issue, but I can't find the answer to this question anywhere. Do you know how the conda distributions of pytorch-cpu interact with OpenMP runtime libraries? I have seen evidence that both libgomp and libiomp are linked into these builds, but I can't figure out if I can control which runtime library gets called. Thanks for the help.

@wohlbier, you are more likely to get help if you ask this question on Pytorch github.

Thanks, I have done so.

@wohlbier this is an old legacy issue:
the thing is in old versions of PyTorch (probably a year ago), it did link both iomp and gomp at the same time (iomp is loaded from mklml which is subset of mkl). iomp5 is actually used since it is loaded prior to gomp. when pytorch and caffe2 merges, FB requested that only gomp should be in use, so we modified the way mkl-dnn building along with pytorch.
so to sum up, the latest version should only link gomp.
that is result on my machine:
(pytorch-mingfei) [mingfeim@mlt-skx086 lib]$ ldd libtorch.so
        linux-vdso.so.1 =>  (0x00007ffc6b363000)
        libgomp.so.1 => /home/mingfeim/anaconda3/envs/pytorch-mingfei/lib/libgomp.so.1 (0x00007fde6a963000)
        libpthread.so.0 => /usr/lib64/libpthread.so.0 (0x00007fde6a733000)
        libmpi.so.20 => /home/mingfeim/anaconda3/envs/pytorch-mingfei/lib/libmpi.so.20 (0x00007fde6a457000)
        librt.so.1 => /usr/lib64/librt.so.1 (0x00007fde6a24f000)
        libgcc_s.so.1 => /home/mingfeim/anaconda3/envs/pytorch-mingfei/lib/libgcc_s.so.1 (0x00007fde6a23a000)
        libdl.so.2 => /usr/lib64/libdl.so.2 (0x00007fde6a036000)
        libmkl_intel_lp64.so => /home/mingfeim/anaconda3/envs/pytorch-mingfei/lib/libmkl_intel_lp64.so (0x00007fde694be000)
        libmkl_gnu_thread.so => /home/mingfeim/anaconda3/envs/pytorch-mingfei/lib/libmkl_gnu_thread.so (0x00007fde67c6a000)
        libmkl_core.so => /home/mingfeim/anaconda3/envs/pytorch-mingfei/lib/libmkl_core.so (0x00007fde63995000)
        libm.so.6 => /usr/lib64/libm.so.6 (0x00007fde63693000)
        libirc.so => /opt/intel/lib/intel64/libirc.so (0x00007fde63425000)
        libc10.so => /home/mingfeim/pytorch/pytorch-mingfei/build/lib/libc10.so (0x00007fde631e6000)
        libstdc++.so.6 => /home/mingfeim/anaconda3/envs/pytorch-mingfei/lib/libstdc++.so.6 (0x00007fde630a5000)
        libc.so.6 => /usr/lib64/libc.so.6 (0x00007fde62ce1000)
        /lib64/ld-linux-x86-64.so.2 (0x0000562f6942f000)
        libopen-rte.so.20 => /home/mingfeim/anaconda3/envs/pytorch-mingfei/lib/./libopen-rte.so.20 (0x00007fde62a60000)
        libopen-pal.so.20 => /home/mingfeim/anaconda3/envs/pytorch-mingfei/lib/./libopen-pal.so.20 (0x00007fde6276e000)
        libutil.so.1 => /usr/lib64/libutil.so.1 (0x00007fde6256b000)

if you are using conda distribution, find the linkage of pytorch by:
python -c 'import torch; print(torch.__path__)'
['/home/mingfeim/anaconda3/envs/pytorch-mingfei/lib/python3.7/site-packages/torch']
ldd /home/mingfeim/anaconda3/envs/pytorch-mingfei/lib/python3.7/site-packages/torch/lib/libtorch.so

if you find it is not linked only gomp, report an issue to PyTorch github, we will take a look at that.

Aside from this topoic: Sometimes, one may still want to use iomp5, you can use the PRE_LOAD to do this, ref
And reference on how to set environment variables on gomp or iomp: ref


PatternFly milestone update

Closed in favor of https://github.com/RedHatInsights/hybrid-committed-spend-ui/pull/1221


AFNetworkActivityIndicatorManager  Memory Leak?

self.activityIndicatorVisibilityTimer = [NSTimer timerWithTimeInterval:kAFNetworkActivityIndicatorInvisibilityDelay target:self selector:@selector(updateNetworkActivityIndicatorVisibility) userInfo:nil repeats:NO];
The timer maintains a strong reference to this object until it (the timer) is invalidated.
never run

(void)dealloc {
[[NSNotificationCenter defaultCenter] removeObserver:self];
[_activityIndicatorVisibilityTimer invalidate];
}

To properly dispose of AFNetworkActivityIndicatorManager, you must set enabled to NO, which will invalidate the timer. This avoids any retain cycle.
This is, of course, a moot point for most use cases, as applications generally enable the activity indicator manager on startup, and let it run until the application is terminated.


Invalid content /en/testnets/erc20-converter/erc20-using-converter/erc20-address-setup/

Where does the issue occur?
Link to the file or location on the website where the issue occurs. Optionally add screenshots for context.
Describe the issue
A clear and concise description of what the issue is.
Expected changes
A clear and concise description of what you expected to change.
Additional context
Add any other context about the problem here.
Figured this out!! Please add to the instruction about where to find the Cardano Address. Most new people will not know that this is the receiving address within the Yoroi Nightly Wallet!

GREAT JOB EVERYONE!! Once all the operator (mine) errors were corrected it worked WONDERFULY!!!

Thank you for your feedback!
AGIX ERC20 converter is now live on mainnet. Please see updated tutorials here: https://bridge.singularitynet.io/


Popup is broken when Skip Redirect is put in the overflow menu.

If you put Skip Redirect in the overflow menu and then open it, this happens:

That's nothing I can do anything about, seems like a Firefox bug, would you mind filing one? https://bugzilla.mozilla.org/

It seems to respect the width restriction now, but it's a little too much content for my monitor. Would it be possible to detect the window size and activate a scroll bar?

Adding overflow: auto; to the fieldset rules should take care of the truncated content. Something like max-height: 80vh; (or some sensible pixel value) for the popup window would be nice too, so it doesn't go all the way to the bottom of the screen, which looks a bit weird. But I couldn't get that to work from the inspector.

@lhindir yeah, nah. Firefox just doesn't seem to follow normal CSS rules there and I am no interested in doing some hack that breaks the normal display of the popup.


Update repositories.txt

Need to modify  the library

Hi @richard26a. Please provide a detailed description of what you mean by "modify the library". It is certain that the change you propose here is not the most efficient way to accomplish your goal. Library removals are handled manually, which means a long delay for you and work for us.
So please take the time to clearly communicate with me and I'm sure I'll be able to help you out.


tvOS Support

Hey folks!
I love TTTAttributedLabel and saw that it doesn't yet support tvOS in its Cocoapods podspec, so I decided to add it. It actually was fairly straightforward. If you look at the first 3 commits, you'll see that the actual changes are very minimal:

Update podspec to announce that this pod supports tvOS
Added compile-checks for some iOS-only things that are not allowed in tvOS (mainly:  -multitouchEnabled and UIPasteboard-related)
Fixed some warnings for kCTTextAlignment* (since tvOS is always iOS 9.0+).

The rest of the commits were in getting the Carthage project up to date, so it can serve up both an iOS framework and a tvOS framework. I tested both integrations from my branch and verified that they work.
Thanks!

Current coverage is 89.14%

Merging #602 into master will not affect coverage as of e9a4b0b

@@            master    #602   diff @@
======================================
  Files            2       2
  Stmts         1087    1087
  Branches         0       0
  Methods
======================================
  Hit            969     969
  Partial          0       0
  Missed         118     118

Review entire Coverage Diff as of e9a4b0b

Powered by Codecov. Updated on successful CI builds.

Thanks for the PR. I haven't tried out this library with tvOS yet but I will soon. Do you suggest any changes to improve the UX with the Siri remote?
Also, should the whole copy method be removed on tvOS vs. just the pasteboard call?

I haven't thought too much about how TTTAttributedLabel could change its UX specifically for the Siri remote. I'm curious what your thoughts are on this, though!
As for -copy, you are right, I can remove the entire method (and the check in -canPerformAction: above). I forgot that copy was part of UIResponderStandardEditActions.
Will update the PR.
Thanks!

Suspect work may need to be done for making links focusable?


added following mods

ability screen pan region
black market reroll
updated more vault tables
added vault keychain
added vault GUI Upgrade

LGTM


Fix/6042 fix duplicated plans

https://github.com/gravitee-io/issues/issues/6042
This fixes multiple bugs on API import and duplication processes.
Known bugs :

when you export an API, then import it during the "create api" feature, it creates a duplicated plan in the api definition (but not in plan table)
when you duplicate an API, it creates a duplicated plan in the api definition (but not in plan table)
when you export an API, then import it on the same API, it creates a duplicated plan in the plan table
when you export an API, add plan to it, then import it on the same API. Additional plans will not be removed in plan table (but will be removed from api definition)

We have to ensure we cant produce any inconsistency between api.definition.plans and plans table.
All possible import actions should result with api.definition.plans == plans table, and do not produce any plan duplication.
Those fixes are workarounds, we have to completely refactor the way we stores plans on 3.13, and stop this duplication between api.definition.plans / plans table (see https://github.com/gravitee-io/issues/issues/6054).

Gravitee.io Automatic Deployment
Congrats, all the CI steps were 🟢 . The Bot was able to deploy the build of this PR, so you can now try it directly here! 🚀
Notes: The deployed app is linked to the management API of the Element Zero team's environment.

Be carful, I think it's more complex. This behavior should be implement only for V2 apis.

As discussed together, it looks good to me
Because when you export a V1 API, the json file contains plans, event if there are not in API definition.


Newbie question

Hello guys. Thanks for your great library here!!
Wanted to ask you a newbie question. I'm now starting learning swift and of course i'm a bit confused with asynchronous functions. I'm using Parse to get and to save data.
So i have 2 functions.
func one() {
brings all the likes of the user and save them into an array
}

func two() {
brings all the posts and append them to a cell
}

I would like you to give me an example of your promises how to make func two() to run ALWAYS when func one() finishes.
I was thingking about calling func two() within the success closure of the func one() but its not that good coding quality.
Thanks a lot for your time and sorry if this is a newbish question at all. Trying to learn quality stuff!

two().always {
    return one()
}

Presuming one() and two() return Promise.

Is there any example in your files?

Probably http://promisekit.org/sealing-your-own-promises/ is a good place to start. It even has examples that use Parse.
Also, building off the prior example, if you only want two() to run when one() is successful (which is the common pattern), you would use then instead of always and act on failure of either within error:
one().then { (likes) -> Promise<[Post]> in
    // handle likes
    return two()
}.then { (posts) in
    // handle posts
}.error { (error:ErrorType) in
    // Display a message to the user, etc
}

Again, presuming that one() and two() both return Promises.
Note that error ends the promise chain. If you wish to handle an error and continue the promise chain you would use recover before error.


Should each class be in a separate file?

Currently, we have a different file for each class in SBOL, as with the Java and JavaScript libraries. However, this may not be typical Python style.  A more experienced Python developer may be able to advise.

Hi!  Sorry for the late reply.  It would be great to see some ideas as to how we might better structure things. :+1:

(closed the issue by accident ...)

Would it be okay, if I open A pull request with the structure which I was talking about?

Yes, that would be great.


Questions about gpu support

Hello. Thanks for the great project.
I'm building the gpu version vearch 3.2.0 with faiss commit_id 2a36d4d and 33d417db1. I built vearch successfully.
However, I got errors when I use gpu index which is "gpu index not indexed!" after creating index manually.
I built binary with cuda 10.0 and 10.2, but both failed. My gpu is 1660.
How can I do for using gpu ivfpq?
Looking forward for your advice.

Could you give me the gamma.log and vearch-startup.log ?

Thanks for your reply.
I was debuging the gamma. I found that this error caused by creating index not completed when I got response success=1.
So, I wait for the index process going on.
However, I got another error.
These two logs are below:
gamma.log
startup.log

Please provide hardware information

gpu : | NVIDIA-SMI 440.44       Driver Version: 440.44       CUDA Version: 10.2     |
cpu: 12  Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
32G memory

Maybe these simple logs are better for you to debug than before.
startup.log
gamma.log

How many doc are inserted？

10000 vectors

I'm very sorry for the trouble. There's a bug in gamma_engine.cc, please change line gamma_engine.cc:965 from
int field_num = table_->FieldsNum();
for (int i = 0; i < max_docid_; ++i) {
    for (int j = 0; j < field_num; ++j) {
      field_range_index_->Add(i, j);
    }
  }

to
#ifndef BUILD_GPU
int field_num = table_->FieldsNum();
for (int i = 0; i < max_docid_; ++i) {
    for (int j = 0; j < field_num; ++j) {
      field_range_index_->Add(i, j);
    }
  }
#endif

and rebuild gamma

Thank you very much.
I think not only this error occurs.
I fix this bug, rebuild and rerun my code. However, the same error occurs.
With my log info, I found that the gamma crashed before this code.
startup.log
gamma.log
PS: Do you have some tricks about debuging with c code in cgo? My debug method is so ineffiective.

You can rebuild gamma with cmake -DCMAKE_BUILD_TYPE=Debug, then startup vearch by gdb vearch.
Input (gdb) set args -conf <config path>/config.toml <start type> and (gdb) run.


The issues with the pool :)

Describe the feature request
The automatic setting of product values is not working properly when creating a pool on https://swap.katla.taiko.xyz/. Due to this issue, I am unable to create a pool. It would be nice if automatic value assignment could be implemented.
Spam policy

[X] I verify that this issue is NOT SPAM and understand SPAM issues will be closed and reported to GitHub, resulting in ACCOUNT TERMINATION.

hım haklısınız bende aynı sorunu yaşadım :)


Update set_params in BaseEstimator

Signed-off-by: Beat Buesser<EMAIL_ADDRESS>Description
This pull request updates BaseEstimator.set_params to follow changes in ART 1.5 to preprocessing and preprocessing_defences and set them correctly.
Fixes #888
Type of change
Please check all relevant options.

[ ] Improvement (non-breaking)
[x] Bug fix (non-breaking)
[ ] New feature (non-breaking)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Codecov Report

Merging #901 (f18eaf1) into dev_1.5.2 (cc60b1b) will decrease coverage by 43.28%.
The diff coverage is 59.45%.

@@              Coverage Diff               @@
##           dev_1.5.2     #901       +/-   ##
==============================================
- Coverage      64.89%   21.61%   -43.29%
==============================================
  Files            176      176
  Lines          17172    17193       +21
  Branches        3177     3179        +2
==============================================
- Hits           11144     3716     -7428
- Misses          4765    13229     +8464
+ Partials        1263      248     -1015

Impacted Files
Coverage Δ

art/estimators/estimator.py
46.42% <52.17%> (-26.01%)
:arrow_down:

art/estimators/pytorch.py
30.76% <71.42%> (-47.14%)
:arrow_down:

art/estimators/tensorflow.py
28.57% <71.42%> (-47.78%)
:arrow_down:

...rt/defences/detector/poison/clustering_analyzer.py
8.22% <0.00%> (-86.71%)
:arrow_down:

...ces/detector/evasion/subsetscanning/scanningops.py
11.59% <0.00%> (-85.51%)
:arrow_down:

art/attacks/evasion/carlini.py
8.40% <0.00%> (-80.87%)
:arrow_down:

...defences/detector/poison/ground_truth_evaluator.py
17.80% <0.00%> (-79.46%)
:arrow_down:

...ient_descent/projected_gradient_descent_pytorch.py
16.93% <0.00%> (-78.23%)
:arrow_down:

...escent/projected_gradient_descent_tensorflow_v2.py
18.33% <0.00%> (-76.67%)
:arrow_down:

art/attacks/evasion/hop_skip_jump.py
13.17% <0.00%> (-75.61%)
:arrow_down:

... and 117 more

Hi @minhitbk Thank you very much for the great review. I agree on the increased complexity and your proposals to simplify. As you mentioned this added complexity is to guarantee backward compatibility.


Make Traversal and PathAwareTraversal covariant.

The motivation for this are the current preparations for Scala 3 in down
stream projects which currently heavily rely on the implicit invocation of
overflowdb.traversal.iterableToTraversal. iterableToTraversal is in the
implicit resolution scope because it is defined in the traversal
package object. In Scala 3 functions defined there are no longer
considered to automatically be in scope and thus an explicit import of
the iterableToTraversal would be necessary.
To avoid this we can make the Traversal itself covariant like the
IterableOnce it wraps.
Sadly here comes a historic blunder into play which is the definition of
toSet on Traversal which does not override but rather coexists with
toSet defined on IterableOps from which Traversal derives. This was
possible because the IterableOps version is defined as
def toSet[B >: A]: immutable.Set[B] whereas the Traversal version was
defined as def toSet: mutable.Set[A]. With Traversal being covariant
in A we would need to change the Traversal version to
def toSet[B >: A]: mutable.Set[B] which is an unallowed overload in
only the method return type.
My solution to this is that we remove the Traversal version of toSet
and just provide the version coming from IterableOps which is a breaking
API change but one which only pops up if the changed return type
conflicts with the call site. At some point we anyway need to break this
since it is super unintuitive.

Thats the usual price for a covariant type. E.g. IterableOps also has it all over the place.


Content summaries don't actually include "Read More" links, contrary to docs

The documentation of content summaries says:

Content summaries provide links to the original content, usually in the form of a Read More link.

and

...the summary content divider will be replaced with a Read More link.

This doesn't actually happen in Hugo v0.12. .Page.Summary just contains the summary text itself, with no "Read More" at the end. Either this feature is missing, or the docs are out of date.
(The actual current behavior is nice in that it gives the theme designer more flexibility in how/whether to display the read-more link. However, one thing I don't think the theme template can do is determine whether or not there's actually more to read — if the full post is short enough that it didn't have to get truncated, then there shouldn't be a "read more" link at all, but I don't know how the logic in a template would be able to tell, unless there were a new property like .Page.HasSummary.)

I would say this is a documentation, @anthonyfok can probably fix that.
There is a undocumented field variable on page called Truncated. so you cold do:
{{ if .Truncated }}
<a href="">Read more </a>
{{ end }}

Thanks for the tip!

The docs have been updated, thanks to the great suggestions and ideas by @snej and @bjornerik.  Please feel free to comment (or ping me or make a pull request) if there is any remaining issue.  :-)


chore: update generated v1 api client

What kind of change does this PR introduce?
chore
What is the new behavior?
Split out openapi update from https://github.com/supabase/cli/pull/2814
Additional context
Add any other context or screenshots.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

2 of 4 (50.0%)  changed or added relevant lines in 2 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage remained the same at 59.803%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/link/link.go
0
2
0.0%

Files with Coverage Reduction
New Missed Lines
%

internal/gen/keys/keys.go
5
12.9%

Totals

Change from base Build<PHONE_NUMBER>7:
0.0%

Covered Lines:
6375

Relevant Lines:
10660

💛  - Coveralls


How use with --modern flag?

If I build the application with the --modern flag, then the error appears:
out:  ERROR  Error: Command failed: node<EMAIL_ADDRESS>build --modern --silent
out: Error: Command failed: node<EMAIL_ADDRESS>build --modern --silent
out:     at makeError (/usr/src/app/node_modules/execa/index.js:174:9)
out:     at /usr/src/app/node_modules/execa/index.js:278:16
out:     at processTicksAndRejections (internal/process/task_queues.js:93:5)
out:     at async /usr/src/app/node_modules/@vue/cli-service/lib/commands/build/index.js:66:9
out:     at async build.fn (/usr/src/app/node_modules/vue-cli-plugin-sitemap/index.js:69:4)

I tried running npm run build -- --modern --silent in a fresh project scaffolded with Vue CLI, and it works fine.
There's a good chance the error might come from your own config — feel free to post it here if you'd like some help debugging it.


Don't ask people to add their packages to notNeededPackages.json on DefinitelyTyped

This was added by 04f99c3.
types-publisher uses notNeededPackages.json to know what @types packages to deprecate. If there is no such @types package it will have problems.
Sorry for the confusion IdentityModel/oidc-client-js#135!

Aparently this was done in https://github.com/Microsoft/TypeScript-Handbook/commit/17098fde05099b0d70cc6be0f0420cc10ea0de38.


[ENH] Version3

Hi, this gwoptics.jar is not working for me.  The gwoptics source code was not updated.  Where is the source code for this jarfile?

Ideally changes to gwoptics would be exist as forks of the gwoptics git repository: https://github.com/gwoptics/gwoptics_plib/


Unhandled promise rejection error removes stack traces. Debugging is now dead in the water.

Hi.
Say I'm coding some site with Babel.js and React and Browserify (a common stack nowadays); Every error that I make will yield this "Unhandled promise rejection" error. Isn't the point of a promise rejection that when not handled by a .catch() somewhere up the line it will throw the error itself, and that you DON'T throw a generic error "uh you forgot to catch something mate" ?
This approach totally removes the stack traces from my errors and now I have to hunt my source for where the problem is every time. This is going to cost me more time then should be required for debugging and also my program/dev environment is kind of telling me that I can't make mistakes.
Is this really the desired implementation?

this library does not log Unhandled promise rejection

Sorry, my fault.


Map: grid-based movement

Add support for grid-based movements when outside of combat

#27 is going towards this direction

Thanks, much appreciated 🙂


HomeBridge 1.3.0 beta

Hi,
Just wanted to let you know how the plugin works with Homebridge 1.3.0 Beta.
Describe The Bug:
In the Home app everything works fine, just a new log appears at every device status change (On > Off, Off > On)
To Reproduce:
Install Homebridge 1.3.0 Beta
Expected behavior:
N/D
Logs:
[17/2/2021, 09:20:17] [Presa] MSS425E turned Off
[17/2/2021, 09:20:17] Received warning for the plugin 'homebridge-meross' from the characteristic 'On': SET handler returned write response value, though the characteristic doesn't support write response!
Homebridge Config:
    {
        "model": "MSS425E",
        "name": "Presa",
        "firmwareRevision": "2.1.3",
        "deviceUrl": "192.168.xx.xx",
        "channel": 1,
        "messageId": "xxxx",
        "timestamp": xxxx,
        "sign": "xxxx",
        "accessory": "Meross"
    },

Environment:

Node.js Version: v14.15.5
NPM Version: v6.14.11
Homebridge Version: v1.3.0-beta.58
Homebridge Meross Plugin Version: v3.5.0
Homebridge Config UI X Plugin Version: v4.39.0
Operating System:  Ubuntu

Same issue continues after the release of Homebridge 1.3.0, indicating this issue is with the plugin.
LOGS: Received warning for the plugin 'homebridge-meross' from the characteristic 'On': SET handler returned write response value, though the characteristic doesn't support write response!
ENVIRONMENT:
Node.js version: v14.15.5
Npm version: v7.5.4
Homebridge version: v1.3.0 (release)
Homebridge Meross Plugin version: v3.5.0
Homebridge Config UI X Plugin version: v4.39.0
Operating System: Raspbian GNU/Linux Buster (10)
Hardware:  Raspberry Pi 4B w/ 2GB

Yes this is something with homebridge v1.3.0 that it is displaying. If someone wants to do a PR to fix this I will accept it. If not. I will work on correcting it when I have my other 2 main plugins working good with homebridge v1.3.0

Just an FYI that the issues still persist even with latest Homebridge v1.3.1

Pull Request are welcome!

Checkout #228

#228/#227 takes care of this.


Maintenance testing for sound fixes, round 2

This is a follow up on https://github.com/phetsims/qa/issues/713, which concerned testing for a maintenance release to address https://github.com/phetsims/tambo/issues/151.  Additional patches have now been applied for https://github.com/phetsims/tambo/issues/152.  The testing should verify that all the sims listed here load and run on Catalina + Safari 15, though sound will be non-existent or partial.  We should also regression test them on several other platforms so that we're sure that the fix doesn't break anything there.  We don't need to test all sims on all platforms, but we do need to test at least one sim from the list on each platform.
Additionally, it would probably be good to make sure that all sims NOT on this list (in production) load with macOS
Catalina + Safari 15 (if that hasn't been done already).
atomic-interactions 1.2 (https://github.com/phetsims/tambo/issues/151)

[x] atomic-interactions 1.2.3-rc.2

build-a-molecule 1.0 (https://github.com/phetsims/tambo/issues/151)

[x] build-a-molecule 1.0.5-rc.2

circuit-construction-kit-dc 1.2 (https://github.com/phetsims/tambo/issues/151)

[x] circuit-construction-kit-dc 1.2.5-rc.2

circuit-construction-kit-dc-virtual-lab 1.2 (https://github.com/phetsims/tambo/issues/151)

[x] circuit-construction-kit-dc-virtual-lab 1.2.5-rc.2

collision-lab 1.1 (https://github.com/phetsims/tambo/issues/151)

[x] collision-lab 1.1.4-rc.2

energy-forms-and-changes 1.4 (https://github.com/phetsims/tambo/issues/151)

[x] energy-forms-and-changes 1.4.3-rc.2
[x] energy-forms-and-changes 1.4.3-rc.2 phet-io
[x] energy-forms-and-changes 1.4.3-rc.2 phet-io Studio

energy-skate-park 1.1 (https://github.com/phetsims/tambo/issues/151)

[x] energy-skate-park 1.1.4-rc.2

faradays-law 1.4 (https://github.com/phetsims/tambo/issues/151)

[ ] faradays-law 1.4.4-rc.2

graphing-quadratics 1.2 (https://github.com/phetsims/tambo/issues/151)

[ ] graphing-quadratics 1.2.2-rc.2
[ ] graphing-quadratics 1.2.2-rc.2 phet-io
[ ] graphing-quadratics 1.2.2-rc.2 phet-io Studio

gravity-and-orbits 1.4 (https://github.com/phetsims/tambo/issues/151)

[ ] gravity-and-orbits 1.4.3-rc.2 phet-io
[ ] gravity-and-orbits 1.4.3-rc.2 phet-io Studio

gravity-and-orbits 1.5 (https://github.com/phetsims/tambo/issues/151)

[ ] gravity-and-orbits 1.5.2-rc.2
[ ] gravity-and-orbits 1.5.2-rc.2 phet-io
[ ] gravity-and-orbits 1.5.2-rc.2 phet-io Studio

greenhouse-effect 1.0 (https://github.com/phetsims/tambo/issues/151)

[ ] greenhouse-effect 1.0.1-rc.2 phet-io
[ ] greenhouse-effect 1.0.1-rc.2 phet-io Studio

john-travoltage 1.6 (https://github.com/phetsims/tambo/issues/151)

[ ] john-travoltage 1.6.1-rc.2

molecule-polarity 1.2 (https://github.com/phetsims/tambo/issues/151)

[ ] molecule-polarity 1.2.2-rc.2
[ ] molecule-polarity 1.2.2-rc.2 phet-io
[ ] molecule-polarity 1.2.2-rc.2 phet-io Studio

molecules-and-light 1.5 (https://github.com/phetsims/tambo/issues/151)

[ ] molecules-and-light 1.5.11-rc.2

natural-selection 1.2 (https://github.com/phetsims/tambo/issues/151)

[ ] natural-selection 1.2.3-rc.2 phet-io
[ ] natural-selection 1.2.3-rc.2 phet-io Studio

natural-selection 1.3 (https://github.com/phetsims/tambo/issues/151)

[ ] natural-selection 1.3.3-rc.2 phet-io
[ ] natural-selection 1.3.3-rc.2 phet-io Studio

natural-selection 1.4 (https://github.com/phetsims/tambo/issues/151)

[ ] natural-selection 1.4.2-rc.2
[ ] natural-selection 1.4.2-rc.2 phet-io
[ ] natural-selection 1.4.2-rc.2 phet-io Studio

number-line-distance 1.0 (https://github.com/phetsims/tambo/issues/151)

[ ] number-line-distance 1.0.1-rc.2

number-line-integers 1.1 (https://github.com/phetsims/tambo/issues/151)

[ ] number-line-integers 1.1.3-rc.2

number-line-operations 1.0 (https://github.com/phetsims/tambo/issues/151)

[ ] number-line-operations 1.0.4-rc.2

ph-scale 1.5 (https://github.com/phetsims/tambo/issues/151)

[ ] ph-scale 1.5.2-rc.2
[ ] ph-scale 1.5.2-rc.2 phet-io
[ ] ph-scale 1.5.2-rc.2 phet-io Studio

ph-scale-basics 1.5 (https://github.com/phetsims/tambo/issues/151)

[ ] ph-scale-basics 1.5.2-rc.2
[ ] ph-scale-basics 1.5.2-rc.2 phet-io
[ ] ph-scale-basics 1.5.2-rc.2 phet-io Studio

ratio-and-proportion 1.0 (https://github.com/phetsims/tambo/issues/151)

[ ] ratio-and-proportion 1.0.3-rc.2

states-of-matter 1.2 (https://github.com/phetsims/tambo/issues/151)

[ ] states-of-matter 1.2.4-rc.2
[ ] states-of-matter 1.2.4-rc.2 phet-io
[ ] states-of-matter 1.2.4-rc.2 phet-io Studio

states-of-matter-basics 1.2 (https://github.com/phetsims/tambo/issues/151)

[ ] states-of-matter-basics 1.2.3-rc.2
[ ] states-of-matter-basics 1.2.3-rc.2 phet-io
[ ] states-of-matter-basics 1.2.3-rc.2 phet-io Studio

waves-intro 1.1 (https://github.com/phetsims/tambo/issues/151)

[ ] waves-intro 1.1.3-rc.3

@jbphet the link for Faraday's law is not working

QA is done

I've looked through phetsims/qa#718, phetsims/tambo#151, and phetsims/tambo#152. Nowhere can I find a description of the new sound problem, how it was addressed, whether it's a fix or workaround,... I also asked on Slack and no one seemed to know.  @jbphet should this be documented better?


App crashes when using multiple picker and selecting photos from iCloud

Bug Information
Version Number of Plugin: 4.4.4-beta (from NuGet)
Device Tested On: iPhone SE
Simulator Tested On: none
Version of VS: 16.3.5
Version of Xamarin: 4.2.0
Versions of other things you are using:
Steps to reproduce the Behavior

Make sure you use iCloud photos by enabling this feature on iPhone. If you have just enabled it, give it some time so photos will sync to iCloud
use CrossMedia.Current.PickPhotosAsync
Select one or many photos, click Done
App crashes

To verify that this is related to iCloud photos:

Take few photos with regular app
Go to your app and immediately select those photos
Everything works

My be related to https://github.com/jamesmontemagno/MediaPlugin/issues/743 https://github.com/jamesmontemagno/MediaPlugin/issues/703 https://github.com/jamesmontemagno/MediaPlugin/issues/669
Expected Behavior
Should work
Actual Behavior
Does not work
Code snippet
Screenshots
Failed to set thumbnail System.ArgumentNullException: Value cannot be null.
Parameter name: cgImage
at UIKit.UIImage..ctor (CoreGraphics.CGImage cgImage) [0x00042] in /Library/Frameworks/Xamarin.iOS.framework/Versions/<IP_ADDRESS>/src/Xamarin.iOS/UIImage.g.cs:137
at Plugin.Media.ELCImagePickerViewController+ELCAlbumPickerController.GetCell (UIKit.UITableView tableView, Foundation.NSIndexPath indexPath) [0x00061] in D:\a\1\s\src\Media.Plugin\iOS\ECLImagePickerViewController.cs:348

What about just "pickphoto" and not multiple photos?

last time I tried it was few months ago. But as I remember, PickPhoto worked with iCloud photos worked (and PickPhotos already did not work). I think this might be related to those other issues. The possible change with iOS 13 or one of last update is that before (e.g. 2-3 month ago) you could not see iCloud photo thumbs in the picker at all (so, basically this is why you could not select them before). Right now, all photos are visible, but crashes. Again, I am not completely sure when exactly this icloud photos thumbs visibility changed.

Confirmed with 4.4.5-beta:

Multipicker still does not work
Single pick works

Thanks for validating

Soooo i think 4.4.6-beta will fix this up... we will see how it is as it isn't super optimized currently. However.... better than crashing perhaps? we shall see and if i can improve it in the future.


Why not using postmanlabs/postman-collection parser?

Thanks for this great project and all the efforts.  I‘m looking into something similar for httpyac. Any reason why you didn’t use https://github.com/postmanlabs/postman-collection for parsing?

Hi @rngtng,
When I start creating this library for a concrete project we have a requirement to try to reduce the number of dependencies and this is why I start parsing the collection by myself... some time after I publish here and then start adding more and more features so that's the only reason.
Best Regards.

ok understood. valid point :) thx


Non acsii characters in tag's kinds

When a non ascii character is present as a kind for a tag vim displays it differently from ascii ones.
See attached screenshot which contains a λ as a kind of a tag (a nice tag for lambdas, btw):

Supporting any utf-8 encoded character could make the kind field more useful.
There is place to put more than a single character under kind (up to 4) - using all of them would also be useful.

The work a round this is to encode the tag kind using field syntax kind:λ

Please check that the patch fixes your problem.


pasting non-text objects into the search bar crashes the game

I'd rather not go into detail as to exactly why I tried pasting a 32-bit image (generated from printscreen key) into the search bar, but it happened and caused the game to crash.
which logs do you need? I mean I could send you all the logs from my last session, but since this was on a server, I'd rather not upload 4 logs when it should be easy enough to reproduce on your own. Just hit print screen, select the search box in your main inventory, and hit CTRL + V
Note, I can't remember for sure, but I might have been viewing a crafting station (from Tinkers' Construct) when this happened, the one i might have been accessing was next to a "small crate" from Actually Additions

.. a crashlog for starters..


Install problems

Hi,
I am having trouble installing the Blazor Canvas extension. I am new to Blazor and dotNet so I apologize if  this is  really stupid.
I am on a Mac, using VS Code. The blazor demos build and run just fine.  Of course the command you  give under Installation:
Install-Package Blazor.Extensions.Canvas
is unrecognized on the mac. so I guess (maybe I’m wrong) I  have to use the
dotnet add project  package
command
my dir structure is:
./Canvas (which is the clone of your get hub repo with Canvas.sln, src, test, etc.)
./CanvasDemo/CanvasDemo (which is a working blazor  demo with a CanvasDemo.csproj)
so from the ./CanvasDemo/CanvasDemo dir, I issue the command:
$dotnet add package ../../Canvas/src/Blazor.Extensions.Canvas
and I get
Writing /var/folders/cg/g5rn6f095zxc9w731jgkv04r0000gn/T/tmp9Drtq7.tmp
info : Adding PackageReference for package '../../Canvas/src/Blazor.Extensions.Canvas' into project '/Users/heddle/blazorApps/CanvasDemo/CanvasDemo/CanvasDemo.csproj'.
info : Restoring packages for /Users/heddle/blazorApps/CanvasDemo/CanvasDemo/CanvasDemo.csproj...
info :   GET https://api.nuget.org/canvas/src/blazor.extensions.canvas/index.json
info :   NotFound https://api.nuget.org/canvas/src/blazor.extensions.canvas/index.json 109ms
error: Unable to find package ../../Canvas/src/Blazor.Extensions.Canvas. No packages exist with this id in source(s): nuget.org
error: Package '../../Canvas/src/Blazor.Extensions.Canvas' is incompatible with 'all' frameworks in project '/Users/heddle/blazorApps/CanvasDemo/CanvasDemo/CanvasDemo.csproj'.
Any idea what am I doing wrong? How do I install your extension? I really want to try the client 2D drawing.
Thank you,
<EMAIL_ADDRESS>

Update:
Installed powershell on mac so I tried the Install-Package command and got:
****PS /Users/heddle/blazorApps/CanvasDemo/CanvasDemo> Install-Package Blazor.Extensions.Canvas
The package(s) come(s) from a package source that is not marked as trusted.
Are you sure you want to install software from 'MyNuGet'?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): Y
Install-Package : Unable to find dependent package(s) (Microsoft.AspNetCore.Blazor)
At line:1 char:1

Install-Package Blazor.Extensions.Canvas

CategoryInfo          : ObjectNotFound: (Microsoft.AspNetCore.Blazor:String) [Install-Package], Exception
FullyQualifiedErrorId : UnableToFindDependencyPackage,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage****

Any help is appreciated!

Closing as there is no descriptions.


Arduino Wifi Rev2: Incompatibility with some libraries (used for arduinos)

Describe the bug
when e. g. an ultrasonic sensor or an infrared sensor is used in the configuration, the program cannot be compiled and a compiler error is displayed.
TODO

Check carefully which sensors and actuators from the common arduino plugin can be used.
Try to find workarounds (other libraries)
If this is not possible we should decide how to support arduino wifi rev2 in the future, maybe a separate plugin is necessary

The IRremote library was updated to support Uno Wifi Rev2. I have updated our usages and removed the "not supported" messages.


Translate Pixiv Tags doesn't show the artist tag on Fantia

The artist tag cannot be seen on Fantia anymore, but the other tags still appear.

The other tags still show up though.

Matching Fantia urls on Danbooru seems broken.


marksman: 2023-01-29 -> 2023-03-04

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for marksman is: Language Server for Markdown
meta.homepage for marksman is: https://github.com/artempyanykh/marksman
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2023-03-04 with grep in /nix/store/n8av0iwbz68hv7x85rgicd56ibpr4a3h-marksman-2023-03-04
found 2023-03-04 in filename of file in /nix/store/n8av0iwbz68hv7x85rgicd56ibpr4a3h-marksman-2023-03-04

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
marksman

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/n8av0iwbz68hv7x85rgicd56ibpr4a3h-marksman-2023-03-04 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A marksman https://github.com/r-ryantm/nixpkgs/archive/b3fff4bf0fb0f6560ab3c688b05ce6bd52d5f876.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/n8av0iwbz68hv7x85rgicd56ibpr4a3h-marksman-2023-03-04
ls -la /nix/store/n8av0iwbz68hv7x85rgicd56ibpr4a3h-marksman-2023-03-04/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

marksman

Maintainer pings
cc @stasjok for testing.

Result of nixpkgs-review pr 220150 run on aarch64-linux 1

1 package built:

marksman


NIOHTTP1TestServer

Added NIOHTTP1TestServer, which serializes requests making it easier to write unit tests where the clients connect to a "real" server.
Motivation:
I am working on a client where a logical request consists of multiple HTTP requests, some of which might happen in parallel. The client uses AsyncHTTPClient, which doesn't expose the NIO Channel it uses. This makes it hard to write unit tests as I normally would.
Modifications:
I added NIOHTTP1TestServer and some tests that cover its behaviour. The test server exposes the same API we would use while interacting with a Channel, making the same testing approach viable also for more complex clients.
Result:
After my change developers writing client based on complex HTTP1 requests will have the facility they need to write unit tests following the same patters they would use writing unit tests for a NIO Channel.

@swift-nio-bot add to whitelist


sepolicy: cleanup sepolicy according to CAF

based on https://source.codeaurora.org/quic/la/device/qcom/sepolicy/tree/?h=LA.UM.6.4.r1-03200-8x98.0
Signed-off-by: David Viteri<EMAIL_ADDRESS>

this commit will break broadcom devices

will build dora in few minutes
and report

@jerpelea bt up on bcm

This fixes these denials still present on ttyMSM and ttyHS0 on qcom


Fix for CORE-979 - but its against 2.0.2

Fix for CORE-979 against my 2.0.2 branch.   'git fetch upstream' didn't update my fork to the 2.0.3 version/branch.

I manually applied the patch. Let me know if it didn't work correctly

Thanks Nathan.   I will check it out in the next day or so.   My Github/Git education has been slowed due to some work and personal issues, but I plan on getting better at it.

Date: Mon, 10 Oct 2011 15:16:11 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Subject: Re: [liquibase] Fix for CORE-979 - but its against 2.0.2 (#16)
I manually applied the patch. Let me know if it didn't work correctly
--
Reply to this email directly or view it on GitHub:
https://github.com/liquibase/liquibase/pull/16#issuecomment-2353040


Issue with k8s.io/docs/tasks/configure-pod-container/configure-service-account/

It appears that the correct syntax of ServiceAccount in the podspec section is:
spec:
containers:
- image: nginx
serviceAccount: dashboard-sa
...
**instead of:
** serviceAccountName:

The serviceAccount field is deprecated
/kind support


Rw correlated arma

This PR can wait until the rework branch is merged into devel, assuming that doesn't take too long.

Splits the superVisedLearning module into its constituent components in separate files
Allows the ARMA to train multiple independent targets.
Implements a VARMA for training correlated targets.
Adds the "statsmodels" python library to our standard package.

Tests for all of the above.
Closes #703.

Job Test mac on 477ddd2 : invalidated by @PaulTalbot-INL
strange environment error (script couldn't find raven_libraries, but it already exists)

Job Test mac on 1f49360 : invalidated by @PaulTalbot-INL
Fixing up the mac test box...

Job Mingw Test on 1f49360 : invalidated by @PaulTalbot-INL
updated libraries to match test versions, also added statsmodels

Job Mingw Test on b864cd8 : invalidated by @PaulTalbot-INL
reset pyplot backend

Job Mingw Test on b864cd8 : invalidated by @alfoa
test

Job Test mac on 15a9e25 : invalidated by @PaulTalbot-INL
environment fixed (hopefully)

I ended up doing statistical checks (over time) on the base test_ARMA case.

Job Test mac on 2cc6653 : invalidated by @PaulTalbot-INL
unusual build error

Due to changes needed referenced in #597, the VARMA tests only the creation of the outputs; the difference even between statistics on two different operating system VARMAs are significant, and need to be controlled through independent RNG.

few changes...not big deal

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code. done
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts). done
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details. ok
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass. they pass
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True. added tests
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync. n/a
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done. #703
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added? n/a

Checklist passed... Issue closure checklist passed...
Good to go.
Merging...


⚠ SkipTheCommericals has degraded performance

In 3d19e34, SkipTheCommericals ($STC) experienced degraded performance:

HTTP code: 200
Response time: 2493 ms

Resolved: SkipTheCommericals performance has improved in b270460.


[faucet] should not submit create account transaction if it exists

Motivation
Follow #5943, improve faucet minting process
Test Plan
Unit test and local manual test.
Related PRs
#5933

@bors-libra land


Set config.log.propagate to False

Currently our logging setup duplicates messages.  This is because propagate is set to True by default on python logger objects.  This causes messages sent to the logger to propagate up and in our case hit the root logger which is configured to also log to stderr.  https://docs.python.org/2/library/logging.html#logging.Logger.propagate

This was wrong because config.log actually has no handlers, basicConfig adds the handlers to the root logger and we need our messages to propagate up.  I have seen "duplicate" messages on startup which I'm looking into

If you launch uWSGI with multiple processes and/or threads, you are basically launching multiple instances of our app, which will each emit their own log messages. Is that maybe what you are seeing?

Thats a great thing to bring up, both are set to 1.  I have found the issue (bug setting __config_persisted to True) I'll open another PR shortly.


Migrate jcenter to mavenCentral

The JFrog will shutdown jcenter and bintray service, see here:
https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/.
So this CL migrates jcenter to mavenCentral.

Looks like the dependency(https://github.com/JetBrains/intellij-deps-trove4j) of android build tool is only published to jcenter.

I will abandon it to wait the official solution.


External drag&drop to jstree

Hi,
i work on a cms, and use jstree to list my website page structure,
so on right, i have a list of articles, and would like to drag a representation of an article to change their page or category parent, i don't want JsTree to create a new node but just catch external event to make my request and update the data.
is there any example or advice to do it, please.
i see an example on an alternative of this plugin, but i don't want to change for other, JsTree work great !
http://www.easyjstree.com/Demos/External
thank you for your help

The accepted answer here: https://groups.google.com/forum/#!topic/jstree/BYppISuCFRE


Write a C program to find area of a rectangle

Description
Write a C program to find area of a rectangle
Area of rectangle = Length × Width
Length : 2
Width  : 3

Area : 6

How to contribute

Save the solution in program/FindAreaOfARectangle.c file
Add FindAreaOfARectangle.c file in find-area-of-a-rectangle folder

!assign


az vm image list can't find publisher

Describe the bug
Command Name
az vm image list
Errors:
Publisher: Symantec.test.ru4mp1.latest was not found.

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az vm image list --offer {} --all --location {} --output {} --debug
(may only reproduce with the exact 'az vm image list --offer UbuntuServer --all --location eastus2' command

Expected Behavior
Environment Summary
Windows-10-10.0.18362-SP0
Python 3.6.6
Shell: powershell.exe

azure-cli 2.0.74

Extensions:
azure-devops 0.11.0
dev-spaces 1.0.3
webapp 0.2.19

Additional Context

Original customer thread https://github.com/MicrosoftDocs/azure-docs-cli/issues/1732
I was able to reproduce it and I've sent an email with the debug log to the DL.

@qwordy Please take a look.

I have reproduced the bug. Using '--debug', you can see this command can get lots of images, but in the end of the output, there is an error when retrieving image info from publisher Symantec.test.ru4mp1.latest. I think I may need to add some fault tolerance mechanism.

While we wait for the code fix can someone please do a data fix to get rid of the reference to Symantec.test.ru4mp1.latest?

Hi service team, could you help confirm and fix the data inconsistency problem?
In Azure CLI,
Step 1. use client.virtual_machine_images.list_publishers(location) to get publishers
Step 2. use client.virtual_machine_images.list_offers(location, publisher) to get offers
Step 3, 4, ...
Step 2 fails for some publishers retrieved from step 1

I wrote a patch for this problem.

The problem should be resolved in Azure CLI. Download the latest version of Azure CLI. You can open a new issue if any issue.

I found the same behavior again in the Azure Cloud Shell
jonathan@Azure:~$ az vm image list --location eastus --all --offer CentOS
ResourceNotFoundError: (NotFound) Publisher: Symantec.test.ru4mp1.latest was not found.
jonathan@Azure:~$ az --version
azure-cli                         2.17.1
core                              2.17.1
telemetry                          1.0.6
Extensions:
vm-repair                          0.3.4
ai-examples                        0.2.5
azure-cli-ml                      1.19.0
Python location '/opt/az/bin/python3'
Extensions directory '/home/jonathan/.azure/cliextensions'
Extensions system directory '/opt/az/lib/python3.6/site-packages/azure-cli-extensions'
Python (Linux) 3.6.10 (default, Dec 31 2020, 08:28:38)
[GCC 8.3.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Please let us know how we are doing: https://aka.ms/azureclihats
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy

I found the same behavior again in the Azure Cloud Shell
jonathan@Azure:~$ az vm image list --location eastus --all --offer CentOS
ResourceNotFoundError: (NotFound) Publisher: Symantec.test.ru4mp1.latest was not found.
jonathan@Azure:~$ az --version
azure-cli                         2.17.1
core                              2.17.1
telemetry                          1.0.6
Extensions:
vm-repair                          0.3.4
ai-examples                        0.2.5
azure-cli-ml                      1.19.0
Python location '/opt/az/bin/python3'
Extensions directory '/home/jonathan/.azure/cliextensions'
Extensions system directory '/opt/az/lib/python3.6/site-packages/azure-cli-extensions'
Python (Linux) 3.6.10 (default, Dec 31 2020, 08:28:38)
[GCC 8.3.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Please let us know how we are doing: https://aka.ms/azureclihats
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy

Similar issue with latest CLI on Linux with a limited scope
This works:
$ az vm extension image list
[
  {
    "name": "AcronisBackup",
    "publisher": "Acronis.Backup",
    "version": "1.0.33"
  },
  {
    "name": "AcronisBackup",
    "publisher": "Acronis.Backup",
    "version": "1.0.51"
  },
...

A limited query reports an error and does not output anything
$ az vm extension image list --location eastus2
ResourceNotFoundError: (NotFound) Publisher: Symantec.test.ru4mp1.latest was not found.

CLI version
$ az --version
azure-cli                         2.18.0

core                              2.18.0
telemetry                          1.0.6

Extensions:
azure-devops                      0.18.0

Python location '/usr/bin/python3'
Extensions directory '/home/dchwalis/.azure/cliextensions'

Python (Linux) 3.6.8 (default, Nov 16 2020, 16:55:22)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]

Your CLI is up-to-date.

Let me try it to see if I can reproduce

Same here:
% az vm extension image list --location westeurope -o table

ERROR: ResourceNotFoundError: (NotFound) Publisher: Microsoft.Azure.Extensions.Testb2e612e0-1c8c-40ed-93fe-a169ed7619cb-20190219154622 was not found.

% az --version

azure-cli                         2.18.0

core                              2.18.0
telemetry                          1.0.6

Python location '/Users/user/.virtualenvs/azure-cli/bin/python'
Extensions directory '/Users/user/.azure/cliextensions'

Python (Darwin) 3.7.9 (default, Sep  6 2020, 13:20:25)
[Clang 11.0.3 (clang-1<IP_ADDRESS>)]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

I am now seeing this on the most basic of image queries:
az vm image list -l eastus --all
Command group 'vm' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
You are retrieving all the images from server which could take more than a minute. To shorten the wait, provide '--publisher', '--offer' or '--sku'. Partial name search is supported.
(NotFound) Publisher: Symantec.test.ru4mp1.latest was not found.

FWIW, I have filed ticket<PHONE_NUMBER>003073 as well.

@qwordy, could you clarify what service APIs are failing and what parameters are required to trigger the failure? From the list above it is unclear if this is an issue on the client, bad data from Marketplace, or an actual service bug.
@olayemio, please help route this to the appropriate dev team if the issue is actually a problem in the service API.

@Drewm3 @qwordy @olayemio FWIW, I have filed an IcM for this: 228055015 .

This appears to be a combination of some data corruption on the image metadata list as well as a bug in the APIs where the problem publishers are being returned. The dev team is investigating the issue and we'll update this thread as more details are known.

I have reproduced the reported issues of both az vm image list and az vm extension image list.
I fixed az vm image list before. I added try-except to make it more robust. However, a recent update of Azure Python SDK throws azure.core.exceptions.ResourceNotFoundError instead of msrestazure.azure_exceptions.CloudError. It is a epochal update from 12.0.0 to 17.0.0. https://pypi.org/project/azure-mgmt-compute/17.0.0b1/. So the error happens again.
az vm extension image list is the same.
            try:
                skus = client.virtual_machine_images.list_skus(location, publisher, o.name)
            except CloudError as e:
                logger.warning(str(e))
                continue

It can be easily fixed. I am working on it.

I wrote a PR to fix it.

@Drewm3, Potential broken data:
az vm extension image list --location westeurope -o table
(NotFound) Publisher: Microsoft.Azure.Extensions.Testb2e612e0-1c8c-40ed-93fe-a169ed7619cb-20190219154622 was not found.
(NotFound) Publisher: Microsoft.Compute.TestSar was not found.
(NotFound) Publisher: Microsoft.SystemCenter.Test was not found.
(NotFound) Publisher: Symantec.test.ru2final was not found.
(NotFound) Publisher: Symantec.test.ru4mp1.latest was not found.

az vm image list --location eastus --all --offer CentOS -otable
(NotFound) Publisher: Symantec.test.ru4mp1.latest was not found.
(NotFound) Publisher: TrendMicro.DeepSecurity.Test was not found.

It fails when fetching offers given a publisher.
APIs are defined here. https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages
Azure CLI code:
publishers = client.virtual_machine_images.list_publishers(location)
offers = client.virtual_machine_images.list_offers(location, publisher)
skus = client.virtual_machine_images.list_skus(location, publisher, o.name)
images = client.virtual_machine_images.list(location, publisher, o.name, s.name)

Complete code:
def load_images_thru_services(cli_ctx, publisher, offer, sku, location):
    from concurrent.futures import ThreadPoolExecutor, as_completed
    all_images = []
    client = _compute_client_factory(cli_ctx)
    if location is None:
        location = get_one_of_subscription_locations(cli_ctx)

    def _load_images_from_publisher(publisher):
        from azure.core.exceptions import ResourceNotFoundError
        try:
            offers = client.virtual_machine_images.list_offers(location, publisher)
        except ResourceNotFoundError as e:
            logger.warning(str(e))
            return
        if offer:
            offers = [o for o in offers if _matched(offer, o.name)]
        for o in offers:
            try:
                skus = client.virtual_machine_images.list_skus(location, publisher, o.name)
            except ResourceNotFoundError as e:
                logger.warning(str(e))
                continue
            if sku:
                skus = [s for s in skus if _matched(sku, s.name)]
            for s in skus:
                try:
                    images = client.virtual_machine_images.list(location, publisher, o.name, s.name)
                except ResourceNotFoundError as e:
                    logger.warning(str(e))
                    continue
                for i in images:
                    all_images.append({
                        'publisher': publisher,
                        'offer': o.name,
                        'sku': s.name,
                        'version': i.name})

    publishers = client.virtual_machine_images.list_publishers(location)
    if publisher:
        publishers = [p for p in publishers if _matched(publisher, p.name)]

    publisher_num = len(publishers)
    if publisher_num > 1:
        with ThreadPoolExecutor(max_workers=_get_thread_count()) as executor:
            tasks = [executor.submit(_load_images_from_publisher, p.name) for p in publishers]
            for t in as_completed(tasks):
                t.result()  # don't use the result but expose exceptions from the threads
    elif publisher_num == 1:
        _load_images_from_publisher(publishers[0].name)

    return all_images

Hey, I'm from the service team that's returning the inconsistent publisher data.  We have identified 16 instances of the publisher data inconsistency across 17 regions.  We are in the process of patching the data today to remove the inconsistency.
Impacted Publishers:
MICROSOFT.AZURE.EXTENSIONS.TEST94A55E3B-0448-4638-867C-6D01304F4BDF-20190219154622
SYMANTEC.TEST.RU2FINAL
MICROSOFT.WINDOWSAZURE.COMPUTE.TEST
MICROSOFT.TESTSQLSERVER.EDP
MICROSOFT.AZURE.EXTENSIONS.TESTB2E612E0-1C8C-40ED-93FE-A169ED7619CB-20190219154622
MICROSOFT.AZURE.NETWORKWATCHER.EDP
SYMANTEC.TEST.RU4MP1.LATEST
MICROSOFT.SYSTEMCENTER.TEST
TRENDMICRO.DEEPSECURITY.TEST
MICROSOFT.AZURE.EXTENSIONS.TESTFE504E88-854F-46C7-9775-16CAC9BFCF28-20190219154622
SYMANTEC.TEST.RU4MP1
SYMANTEC.CLOUDWORKLOADPROTECTION.TEST
MICROSOFT.COMPUTE.TESTSAR
MICROSOFT.SYSTEMCENTER
KASPERSKYLAB.SECURITYAGENT
MICROSOFT.OSTCEXTENSIONS.EDP
Impacted Regions:
WestEurope
EastUS
eastasia
JapanWest
EastUS2EUAP
KoreaCentral
FranceCentral
CanadaCentral
JapanEast
NorthEurope
southeastasia
BrazilSouth
CanadaEast
AustraliaEast
EastUS2
AustraliaCentral2
CentralUSEUAP

The publisher data inconsistency has been confirmed to be fixed now.  We will investigate the root case and make the changes needed to prevent a persistent data inconsistency in the service.
WRT the current implementation, it is quite possible for the List All Publishers REST API to return a publisher for which the List Offers or List Extension Types API will return an error that the publisher is not found.  Under normal conditions this state is transient and should correct itself within a minute and not be permanent as what happened here.  It would be safe to assume that the named publisher does not have any available images or extensions in response to the PublisherNotFound error.  So, the CLI code changes are also good changes to keep for this item to prevent transient failures.

Hi @jwromeo , thank you for fixing it!


Problem with fluent plugin ->  fluent-plugin-prometheus (1.0.1). Allow only 5 Connections.

Hello,
There seems to be bug in this plugin (fluent-plugin-prometheus (1.0.1)) .  Details are provided below. Kindly analyse and help to fix this problem.

td-agent version : td-agent-3.1.1-0

Environment information : Red Hat Enterprise Linux 7.3

Our configuration

PROMETHEUS-PLUGIN CONFIG on TD-AGENT

  @type prometheus
  bind <IP_ADDRESS>
  port 9999
  metrics_path /metrics

  @type prometheus_output_monitor
  interval 10

Problem is that , It allows only five TCP connects.  As soon as 6th instances connects on port 9999, it start misbehaving in just a few minutes and many connections goes in 'CLOSE_WAIT' state and then it stucks completely, after some times when the CLOSE_WAIT connections grows, it stops serving all the request for /metrics.       Note that , our other port (24224) on which logs are streaming has no issue at all and it's handling huge number of requests without any issue.   The problem is only with the port (9999) which is used by Prometheus to scrape the metrics.

Our current setup :
We have 7 prometheus instances which are  scraping the metrics from the td-agent server.
Tests done so far :
We have tested by allowing 5 or less number of connections and they are very much stable.

Hello,
May I kindly request somebody to look at this issue. It's bit urgent for us.

This is not fluentd core issue, so closed.
BTW, the problem is input plugin set 5 max connections in its setup.
https://github.com/fluent/fluent-plugin-prometheus/blob/76865e40905cda3f1139da9756760310bb55d053/lib/fluent/plugin/in_prometheus.rb#L54


Missing release for null-safety

Null-safety support was requested in #417 and seems to be supported in the latest version.
Although version 20.0.0 is released on pub.dev (https://pub.dev/packages/protoc_plugin), there is no release for it on GitHub.
Can you please create a tag and release for it?

I'm hoping for a null safety version of the release tag on GitHub, are there any plans to resolve this issue?

We have the tags (protoc_plugin-v20.0.0, protobuf-v2.0.1) but we don't have releases for those tags yet.
I'm curious because I've never needed to use a release on GitHub repo of a library (I used commits, tags), could you say a few words on how you use the releases? Are you downloading the source code as .zip or .tar.gz maybe?
I will be looking into making releases with these tags. Probably just a matter of clicking to "Create release from tag" buttons in the tags and copying changelog entries to release pages.

I was using a docker image which has protoc and a few protoc plugins for different languages installed. The maintainer has his build set up so it installs the plugins via the zip archive which is attached to each release. This means that the plugin can be installed into the image using curl or wget. I wanted to create a pull request on his repository to bump dart protoc plugin to 20.0.0, without adding any special logic to the build script only to install the dart protoc pugin. By now, I have just setup my own nightly image build which installs the plugin from pub.dev.
I still think it would be a good idea to create a proper GitHub release because there are probably more people using this install method. Also, since there are some releases present on this repository, it is confusing that there is none for the latest version.

I created releases for latest published versions of the plugin and the library:

protoc_plugin: https://github.com/google/protobuf.dart/releases/tag/protoc_plugin-v20.0.0
protobuf: https://github.com/google/protobuf.dart/releases/tag/protobuf-v2.0.1

Changelogs include changes since the last releases on GitHub.
We're also looking into automating the process so that every release on pub.dev will have a release on GitHub and a tag. We have #286 for that so I think it's safe to close this one now.


Pikemen don't appear in Army display

Pikemen (unit ID 0) don't display army when loading save into h3sed.
The problem is in Army.py line 223
#if not unit or not count or not name: values.append({})
->       if not count or not name: values.append({})
Removing the check for "not unit' resolves it for me.
111_Adelaide.zip

Nice catch, thank you.
Will make a fixed release soon.

Fixed in the newly released v2.5.
Thank you for reporting this, and pinpointing the problem as well.


Fix cache-busting when running tests locally

When you run repo2docker locally, the uid is usually set
to the current user's uid. However, when we push the content
to Docker, we invariably set the uid of the scripts we
use as part of repo2docker at 1000. This causes a cache bust
every time.
This patch uses the correct uid, and fixes cache busting. Makes
local test runs much faster.
Fixes #508

For my education: if we always copy things with the same UID (always 1000) no matter what the local user's ID is, why does it cause the caching to break? My guess is that we change the mtime (or atime?) for the file by changing the UID and this is what causes the cache to break.

@betatim it's a good question I don't have a clear answer to! :)


Displayexit

OSX Beta builds are failing on travis due to https://github.com/rust-lang/rust/issues/52686


RWA-116-User-s2s-auth

JIRA link (if applicable)
Setup User and S2s headers for wa apps
Change description
https://tools.hmcts.net/jira/browse/RWA-116
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ x ] No

Don't see any test.
I think sonar will complain about it.


CDN ACL issue 3.0.0.beta.1

https://storage.googleapis.com/workbox-cdn/releases/3.0.0-beta.1/workbox-sw.js
<Error>
  AccessDenied
    <Message>Access denied.</Message>

       Anonymous caller does not have storage.objects.get access to workbox-cdn/releases/3.0.0-beta.1/workbox-sw.js.

</Error>

+1

Looking at the Google Cloud admin page for our storage buckets, it doesn't look like anything was created for 3.0.0-beta.1.
@gauntface handled the release yesterday, but it might be that he wanted to polish up some things before making it official? I'll let Matt comment.

Sorry about that.
I didn't run the follow up gulp command. Fixed now but I need to dig into the issue.

Don't worry, we still love you


ROS2 qos best-effort

Hi,
I think that by default the publishers use the pocily 'reliable'. Is there a way to create a BridgePublisher using the qos reliability policy of best-effort?

Yes. We will be adding an option to change it. It's in the queue.

Any updates on this @saching13 ?

Cc: @Serafadam

Thanks for notification, adding it to the next items in roadmap.


Example "Gradients with an image mask": HTML code is wrong

The class of the wrapper div blov-logo should be bloc-logo.
The id of the canvas should be canvas-image-mask instead of canvas-basic.
The correct HTML code is here: https://jsfiddle.net/3ehpuxew/1/

You're right. I will fix this soon, unless you want to submit a PR to fix this.

Will be submitting a PR asap


Finding sum of a particular sub-matrix from a given matrix in O(1) (in C++)

💥 Proposal
(A clear and concise description of what the proposal is.)
Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
Yes, I have read the contributing guidelines on Pull Request.
In this question , we have to find the sum of a particular submatrix from the given matrix.
example:
Given Matrix:  1 4 2 8
8 4 0 6
7 5 1 9
4 1 6 8
User inputs two co-ordinates like (1,1) to (3,3)
Then we need to calculate the sum of the matrix : 1 4 2
8 4 0
7 5 1
Therefore the sum is 1+4+2+8+4+0+7+5+1=32

/assign


actions: create release action

Create a release action for the pulp-client repo so that updates to the client are propogated automatically to composer via dependabot, as is the case with osbuild/images.

I chose quite a slow release cycle since I'm not sure how much this repo will change.
Other thing is, can one of you check if the secrets are set for this repo? I don't have access

can one of you check if the secrets are set for this repo? I don't have access

Yup.  I enabled the relevant org secrets for the repo.


Configure README badges

Travis
Maven
License
Codacy (#5)
any other cool/useful (low cost) badges

@fabiocarvalho777 added travis, maven, license.

Codacy badges will be handled in #5.