Fish: depends on ncurses

brew test fish fails. See https://travis-ci.org/Linuxbrew/linuxbrew/builds/124236894#L652
Can you reproduce this failure?
==> brew test --verbose fish
Testing fish
==> /home/travis/build/Linuxbrew/linuxbrew/Cellar/fish/2.2.0/bin/fish -c echo
.
Last 150 lines from /home/travis/.cache/Homebrew/Logs/fish/01.fish:
2016-04-19 16:33:58 +0000
/home/travis/build/Linuxbrew/linuxbrew/Cellar/fish/2.2.0/bin/fish
-c
echo
/home/travis/build/Linuxbrew/linuxbrew/Cellar/fish/2.2.0/bin/fish: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
Error: fish: failed

I'm currently splitting Linuxbrew/linuxbrew into Linuxbrew/brew and Linuxbrew/homebrew-core, as Homebrew did last week (two weeks ago?), so I'm not merging any pull requests right now. I'll cherry-pick this PR after the split is complete, probably next week. Sorry for the delay.

I get
 brew test --verbose fish
Error: cannot load such file -- minitest/unit
Please report this bug:
    https://github.com/Linuxbrew/linuxbrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/share/ruby/test/unit/assertions.rb:1:in `<top (required)>'
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
/home/vagrant/.linuxbrew/Library/Homebrew/formula_assertions.rb:7:in `rescue in <module:Assertions>'
/home/vagrant/.linuxbrew/Library/Homebrew/formula_assertions.rb:4:in `<module:Assertions>'
/home/vagrant/.linuxbrew/Library/Homebrew/formula_assertions.rb:2:in `<module:Homebrew>'
/home/vagrant/.linuxbrew/Library/Homebrew/formula_assertions.rb:1:in `<top (required)>'
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
/home/vagrant/.linuxbrew/Library/Homebrew/cmd/test.rb:2:in `<top (required)>'
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
/home/vagrant/.linuxbrew/Library/brew.rb:21:in `require?'
/home/vagrant/.linuxbrew/Library/brew.rb:56:in `<main>'

I believe that error is caused by using ruby 1.9.3. brew install ruby should fix it.

This PR built correctly on the LinuxbrewTestBot.

@andrewrynhard, now that the merge is complete, mind reopening this PR against the linuxbrew/homebrew-core repository? Thanks a bunch!
Closing for now.


PyDeltaTableError: Invalid action record found in log: Invalid action field: Unexpected field name for add action: partitionValues_parsed

I'm getting the below error when trying to read a delta table from ADLS Gen 2:
PyDeltaTableError: Invalid action record found in log: Invalid action field: Unexpected field name for add action: partitionValues_parsed
When I try and read the delta table using spark sql, I have no issues. Any ideas what could be causing this?

Thanks for trying the python bindings out @GBBBAS!
For whoever takes a look at this, delta-rs might not be parsing the checkpoint format properly.
@GBBBAS how was the delta table generated?  I wonder if there is some Delta functionality that's being used in the generation which our test cases currently do not cover.

Thanks for trying the python bindings out @GBBBAS!
For whoever takes a look at this, delta-rs might not be parsing the checkpoint format properly.
@GBBBAS how was the delta table generated?  I wonder if there is some Delta functionality that's being used in the generation which our test cases currently do not cover.

@rtyler The table was created using pyspark on a v7.4 Databricks Runtime Cluster

@rtyler The table was created using pyspark on a v7.4 Databricks Runtime Cluster

looks like write stats as struct is new and added to the spec 4 months ago. the test data are prepared way before that.
but it should be pretty straight forward to add support for it.

looks like write stats as struct is new and added to the spec 4 months ago. the test data are prepared way before that.
but it should be pretty straight forward to add support for it.


fix: disable abort on panic

Summary of changes

Changes introduced in this pull request:

FVM relies on unwinding panics.

Reference issue to close (if applicable)

Closes #2684
Other information and links

Change checklist

[x] I have performed a self-review of my own code,
[x] I have made corresponding changes to the documentation,
[x] I have added tests that prove my fix is effective or that my feature works (if possible),
[x] I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

@lemmih I believe we used panic = abort for a reason. Are you positive it is safe in our case to switch to unwind?

@lemmih I believe we used panic = abort for a reason. Are you positive it is safe in our case to switch to unwind?

I seem to recall something about panics in background threads being ignored. Not great, but it's something that is within our control. The fact of the matter is that FVM does not work with panic = abort, so we can't use it.

The fact of the matter is that FVM does not work with panic = abort, so we can't use it.

Hopefully, we won't end up with a library that does not work with panic = unwind. Unlikely, but there should not be such a limitation in the first place.

The fact of the matter is that FVM does not work with panic = abort, so we can't use it.

Hopefully, we won't end up with a library that does not work with panic = unwind. Unlikely, but there should not be such a limitation in the first place.

I'll push the FVM people to fix the underlying issue. I just worry that they don't see panics as bugs.


"Failed to import mini-batch" Error

Hello,
Can you explain this kind of error message while trying to Bulk Update documents ?
The exact message of the exception is:
Microsoft.Azure.Documents.DocumentClientException: Partition range id 5 | Failed to import mini-batch. Exception was A task was canceled.
Thanks

Hello @Toukiletoukan, this messages indicates a failure while updating one of the chunks of the batch of updates sent to the BulkExecutor as input. The recommendation here is to simply retry the entire batch in the case of intermittent errors.
We are also working on pushing out changes soon to send back to the user, the specific subset of updates (or imports if running BulkImportAsync) that failed. This will then allow the user to simply retry the failed updates instead of the entire batch.


Update registration.md

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

I don't see an issue with the current approach. I can run from jumanji import register. So I'm closing the PR, feel free to re-open it if there's something I missed :smile:


[markdown] link with a line break in square brakcets gets highlighted wrong

e.g.

https://codemirror.net/mode/markdown/

[foo
bar](https://foo#_a)
should not be italics

expected: last line not italicized
actual: last line italicized
(interestingly, github gets this wrong too. but it works as intended in try.commonmark.org)

Attached patch should help. It's also likely to produce false-positives for link highlighting if you're relying on brackets that don't look like links not highlighting, but given CodeMirror's limited lookahead, we can't have it both ways.


brlcad: init at 7.34.0

Description of changes
Add package BRL-CAD.
I set the license to licenses.free because they seem to use a combination of LGPL, BSD and public domain licenses.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.


[Disabled Test] test/Date/xplatInterval.js disabled in Jenkins. Is this by design?

See test\Date\rlexe.xml
test/Date/xplatInterval.js is marked exclude_jenkins with no explanation. It does use Date but it doesn't seem to be timezone sensitive at first glance. Is this another instance of #319 or something else?
Please update the test so that it can run in Jenkins or explain in a comment in the rlexe.xml why it cannot.

@dilijev I had explained this a bit on email before. We have custom xplat low level internal implementations. Their success observed on xplat CI to not to create noise on Jenkins.
See also https://github.com/Microsoft/ChakraCore/blob/master/test/Date/xplatInterval.js#L6
This implementation proved to be stable enough now. I will enable this test for Jenkins too and close this item after.
Thanks for tracking this.


Fix scraping of examples on docs.rs.

It appears that the -Zrustdoc-scrape-examples no longer works, at least not on docs.rs. But https://github.com/rust-lang/rust/issues/88791 suggests it still should.
Maybe that's due to the use of workspaces?

Ah:
warning: Rustdoc did not scrape the following examples because they require dev-dependencies: kv
    If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
    to the [[example]] target configuration of at least one example.


WalletConnect dependency not working

I want to perform a transaction using metamask. Connect button is working, but when I try to perform a transaction, it redirected to metamask, but nothing happens. No dialog is showing.
Has anyone found any solution also when I install this dependency on another project and try to run the project it's throwing an error. Can anybody help me

try adding this line and sync now again then clear probject and rebuild

try adding this line and sync now again then clear probject and rebuild

I try adding this line and still getting the same error it's not working..


PHP Integrations

Description
To use Vite alongside with LAMP stack applications such as XAMPP
Suggested solution

Built-in integration with PHP,
The ability to choose the php.ini path in Vite. (Users may install PHP itself on their computer, install XAMPP, etc)
HMR with php files (Optional but would be convenient)
Deploy PHP server with localhost

Will integrate with LAMPP stack (If user is using php.ini from XAMPP, the PHP server will have access to the MariaDB from XAMPP)

Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

I think this should be implemented in userland for now as Vite doesn't endorse a specific backend language/framework.

userland?
Vite does not have to endorse PHP. Vite "endorses" frameworks such as Vue, React, etc and supports other languages such as JS, TS, CSS, SCSS, etc. And PHP is a popular language in the web dev world.


Proposed 1.8.0-b2

If merged this PR will:
close #3787
close #3774
close #3786
close #3785
close #3784
close #3791
close #3590
close #3793

This is not building for me on MacOS.  The ProtocolVersion_test.cpp file in this commit needs to be patched: https://github.com/ripple/rippled/pull/3807/commits/92a9c8c8c28970a58f433649e01805ef25ed3d71
On line 82 change boost::none to std::nullopt: https://github.com/ripple/rippled/pull/3807/commits/92a9c8c8c28970a58f433649e01805ef25ed3d71#r605779214

The unity build is not working for me either.  The RelationalDBInterface pull request (https://github.com/ripple/rippled/pull/3590) needs a fix on line 542 of RelationalDBInterface_plobal.cpp.  Replace
using namespace boost::filesystem;
path dbPath = setup.dataDir / TxDBName;

with
boost::filesystem::path dbPath = setup.dataDir / TxDBName;

Here's a link to the comment: https://github.com/ripple/rippled/pull/3807/commits/5d7f0f861d3c03716279af75f6264394731fdc3c#r605808653


Current User did not receive Key Vault RBAC access

when I ran azd provision the role assignment operation was successful, but it wasn't performed against the current user id. This resulted in a failure to store the client secret which caused the web app not to start.

opened https://github.com/Azure/azure-dev/issues/1745 because it wasn't clear why the current user was not used for the role assignment. was not able to reproduce the issue for a different subscription.


DEP: deprecate complex dtypes in PchipInterpolator and Akima1DInterpolator

Reference issue
Closes gh-19739
What does this implement/fix?
Warn on complex dtypes in PchipInterpolator and Akima1DInterpolator. Advise to use np.real if trying to use the real components.
Additional information
cc @j-bowhay @ev-br

The warnings should start with PchipInterpolator and Akima1DInterpolator.

How should we reword the docs of RegularGridInterpolator / interpn which say "Complex data can be acceptable"?

Complex data is perfectly fine for all RGI methods apart from pchip.

Do we want to do the same for Akima1D here?

Certainly!

Do we definitely want the condition to be complex dtypes rather than complex values?

Not sure what you mean -- do you want to accept values + 0j as real? Better not IMO.

Do we still want spline2fd to raise a ComplexWarning?

I'd much rather leave it be. "Ain't broken" and all that.

do you want to accept values + 0j as real? Better not IMO.

This is what I meant yeah, but agree that it's better not to (just checking).
Ready for review now if Ci is happy!


[Critical Bug]: d3d8to9.dll that comes with Remix is faulty/malformed

Describe the bug
The dx8 to dx9 wrapper that comes with Remix needs to be looked over urgently. It is failing to hook a number of games including but not limited to: Dead Man's Hand (2004)
Discovered this by chance, when I was about to setup Remix for the aforementioned game, in order to hunt for another bug that's been plaguing my development, but that's a story for the future. Anywho, Remix refused to hook and I couldn't understand why. After a bit of troubleshooting I decided to swap out the Remix wrapper dll file to something else. So I downloaded crosire's wrapper and replaced it in the game folder, and voilá game booted, remix hooked, and everything worked fine.
How do you reproduce the bug?

Obtain Dead Man's Hand
Install Remix
Launch game

What is the expected behavior?
The runtime should...
Version
0.5.1
Logs
No logs generated
Crash dumps
No response
Media
No response

@PappaSlask All you need to do is rename the wrapper included with Remix to d3d8.dll. It is crosire's wrapper.
It wasn't intentional to have it named this way, per discussion in the Remix discord server. However, imo it is actually more beneficial so long as it's noted somewhere to rename it. Some DX9 games and other tools have issues when a DX8 wrapper is injected, which can lead to unintended behavior.

REMIX-3326 for tracking.

@PappaSlask All you need to do is rename the wrapper included with Remix to d3d8.dll. It is crosire's wrapper.
It wasn't intentional to have it named this way, per discussion in the Remix discord server. However, imo it is actually more beneficial so long as it's noted somewhere to rename it. Some DX9 games and other tools have issues when a DX8 wrapper is injected, which can lead to unintended behavior.

Thanks for bringing this to my attention Kim! Makes sense as you said. May I suggest two possible solutions/additions to this:
1: Since Remix is installed on a per-game-basis, we could setup the Autodownloader to make the user choose if it's a dx8 game that needs the wrapper OR if it's a dx9 game that doesn't, and then simply make the Downloader include or not include the wrapper during the installation/extraction process.
2: Renaming the. .dll to something obvious like Rename_Me_To_d3d8_For_DX8_Compatibility

I suppose this can be closed now since it's a deliberate decision and not a bug.


Issue #1272 rewrote it.enableAndroidTest to it.androidTest.enable

What I have done and why
Just replace it.enable.AndroidTest = it.enable.AndroidTest  to it.androidTest.enable = it.androidTest.enable in build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/AndroidInstrumentedTests.kt due to recent syntax update in Kotlin.
Related issues/PRs:
#1272

It seemed to be duplicated with #1274. I don't know which one would be merged.

It seemed to be duplicated with #1274. I don't know which one would be merged.

Just checked, both are same, you can merge anyone's


Fix for issue #1054

This is the fix for the issue "Problem parsing date on parseDate function when date is a string".
The validation when 'date' is a number was wrong.

LGTM! :+1: That said, is it necessary to check that it's not NaN when it just checked that the same variable is a number?

I think you are right,
I guessed it wouldn't hurt to have that validation also :P, but I leave that decision for you guys...
Thanks for the reply!

@lbortoli Thanks for the PR, but I'm not sure the situation. Can you provide an example where we get an error?

Assume 'date' has value NaN, if the condition remains as:
if (typeof date === 'number' || !isNaN(date)) {
parsedDate = new Date(+date);
}
the condition would be true since NaN is of type 'number', and new Date(+date) fails. So we need to validate !isNaN(date) as well, that's why I changed '||' for '&&'.
Does it make sense?

@lbortoli It's true. You're right. Thanks!!


Sphinx is pinned to 1.7.4, the other domain libraries use 2.4.4

📚 Documentation
It would be nice to update sphinx, going all the way to the latest 3.5.1 would improve things like search.
See docs/requirements.txt

going all the way to the latest 3.5.1 would improve things like search.

Do you know if the lates sphinx work?
torchaudio did not pin the version previously and I think I used the latest Sphinx which caused rendering issue.
https://github.com/pytorch/audio/pull/972

@brianjo yes I think this should work (#3660) and in fact this could probably be included directly in the pytorch theme https://github.com/pytorch/pytorch_sphinx_theme/issues/109 so that all domains could benefit from this


Fix invalid view history with an empty pushStateSeparator

When pushStateSeparator == '', the view history has a invalid entry 'h' and causes a XHR error.
Fixes #1004.

Good

Looks good, thanks


Update

Add Java Program and updated .md file

hello!! @atyant-yadav  please merge it my first hacktoberfest and it want last PR.please merge it


When kcp start is used with the --external-hostname flag, serving certificates are not signed for that hostname

Describe the bug
When kcp start is used with the --external-hostname flag, serving certificates are not signed for that hostname
To Reproduce
Steps to reproduce the behavior:

run kcp start --external-hostname=<hostname>
verify that .kcp/admin.kubeconfig is using the external hostname in the server URL
Run KUBECONFIG=.kcp/admin.kubeconfig kubectl get ns
Get error Unable to connect to the server: x509: certificate is valid for localhost, not <hostname>

Expected behavior
Command should work for specified hostname
Additional context
Add any other context about the problem here.

@sttts is there any harm in this, or do we want to direct people to a topology that requires a front proxy that is aligned with a serving cert w/the external hostname?

@csams


refactor(protocol-designer): add selectors for e2e tests

Overview / Changelog
Some new selectors for @reachojhaneha ! Serves as its own ticket.

Add SubstepRow_aspirateWell, SubstepRow_volume, and SubstepRow_dispenseWell data-test attrs
Add StepSelectionBannerComponent_numberStepsSelected id

Review requests

The 3 data-test selectors should be available on substeps
StepSelectionBannerComponent_numberStepsSelected should select the element containing the "N STEPS SELECTED" in multi-select mode

Risk assessment
Low, PD-only, just adding attrs

LGTM


autojit bug for extension classes when one method calls another

from numba import autojit

@autojit
class Foo(object):
    def __init__(self,x):
        self.x = x
    def inc(self):
        self.x += 1
    def runInc(self):
        self.inc()

f = Foo(1.0)
f.inc()
f.runInc()

Output:
C:\Python33\python.exe C:/Users/yegulalp/PycharmProjects/fast/scraps/numbaBugDemo3.py
Traceback (most recent call last):
  File "C:\Python33\lib\site-packages\numba\pipeline.py", line 194, in __call__
    ast = self.transform(ast, env)
  File "C:\Python33\lib\site-packages\numba\pipeline.py", line 515, in transform
    return specializer.visit(ast)
  File "C:\Python33\lib\ast.py", line 247, in visit
    return visitor(node)
  File "C:\Python33\lib\ast.py", line 303, in generic_visit
    value = self.visit(value)
  File "C:\Python33\lib\ast.py", line 247, in visit
    return visitor(node)
  File "C:\Python33\lib\ast.py", line 312, in generic_visit
    new_node = self.visit(old_value)
  File "C:\Python33\lib\ast.py", line 247, in visit
    return visitor(node)
  File "C:\Python33\lib\site-packages\numba\specialize\exttypes.py", line 45, in visit_NativeFunctionCallNode
    self.visitchildren(node)
  File "C:\Python33\lib\ast.py", line 312, in generic_visit
    new_node = self.visit(old_value)
  File "C:\Python33\lib\ast.py", line 247, in visit
    return visitor(node)
  File "C:\Python33\lib\site-packages\numba\specialize\exttypes.py", line 56, in visit_ExtensionMethod
    "must be called" % node.attr)
numba.error.NumbaError: 10:4: Referenced extension method 'inc' must be called

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:/Users/yegulalp/PycharmProjects/fast/scraps/numbaBugDemo3.py", line 14, in <module>
    f.runInc()
  File "numbawrapper.pyx", line 288, in numba.numbawrapper.BoundSpecializingWrapper.__call__ (numba\numbawrapper.c:5041)
  File "numbawrapper.pyx", line 190, in numba.numbawrapper._NumbaSpecializingWrapper.__call__ (numba\numbawrapper.c:3726)
  File "C:\Python33\lib\site-packages\numba\wrapping\compiler.py", line 69, in compile_from_args
    return self.compile(signature)
  File "C:\Python33\lib\site-packages\numba\wrapping\compiler.py", line 121, in compile
    self.env, self.extclass, self.method, signature)
  File "C:\Python33\lib\site-packages\numba\exttypes\autojitclass.py", line 174, in autojit_method_compiler
    argtypes=signature.args)
  File "C:\Python33\lib\site-packages\numba\pipeline.py", line 144, in compile2
    post_ast = pipeline(func_ast, env)
  File "C:\Python33\lib\site-packages\numba\pipeline.py", line 191, in __call__
    ast = self.transform(ast, env)
  File "C:\Python33\lib\site-packages\numba\pipeline.py", line 656, in transform
    ast = stage(ast, env)
  File "C:\Python33\lib\site-packages\numba\pipeline.py", line 641, in _stage
    return _check_stage_object(stage_obj)(ast, env)
  File "C:\Python33\lib\site-packages\numba\pipeline.py", line 202, in __call__
    reporting.report(env, exc=e)
  File "C:\Python33\lib\site-packages\numba\reporting.py", line 181, in report
    raise exc
  File "C:\Python33\lib\site-packages\numba\reporting.py", line 175, in report
    function_error_env.collection.report(post_mortem)
  File "C:\Python33\lib\site-packages\numba\reporting.py", line 130, in report
    raise error.NumbaError("(see below)\n" + message.strip(), has_report=True)
numba.error.NumbaError: (see below)
--------------------- Numba Encountered Errors or Warnings ---------------------
        self.inc()
----^
Error 10:4: Referenced extension method 'inc' must be called
--------------------------------------------------------------------------------

Process finished with exit code 1

Closing as this form of jit classes was dropped in Numba 0.13


getPayload() method returns nothing

Hi, I am working on MQTT broker project based on Moquette
which in turn relies on netty_parser, (via netty/PublishDecoder).
When I try to get message data using msg.getPayload() I am getting NO data at all.
And if I "stuff" my message with my data using ByteBuffer then everything works fine (see below).
//This code WORKS fine!
byte [] ba = new byte [] {'G','e','o','r','g','e'};
ByteBuffer bb = ByteBuffer.wrap(ba);
msg.setPayload(bb);//this works

Later I write it via FileChannel to disk, and get correct result:
$ cat mqtmessage.dat
George
And the whole program (i.e. my own code) works fine!
But code that comes standard with Moquette (using netty API) does not work:
//copyMqt = new String(msg.getPayload().array());//NOP
//copyMqt = new String(msg.getPayload().array());//NOP

So the problem seems to be in getPayload() method.
And it seems that was the reason Moquette project removed some code from their original version:
fedd296
Who would be the right person to fix this bug?
Any ideas/estimations how/what is to be done?
It is MAJOR blocking issue in the whole MQTT broker project
and possibly other projects that depend on netty API.
Br,
GM

@GeorgeMatveev it may be because the ByteBuf is not backed by heap memory but direct memory. Please report this to the Moquette project as I have no idea what exactly they are doing. Or provide an unit test that fails.

Hi,
good to hear from you.
You  have exactly repeated what developers from moquette project say:
"write test and look into their (netty) API" :-)
Here is more info with code, tech comments, as well as netty code from PublishDecoder where getPayload().array() is used:
https://github.com/andsel/moquette/issues/230
They used netty code originally but then removed it in July,
see last comment on that page.
If you have an idea which part of netty code needs to be customized/fixed,
please give me a clue! We could possibly fix it.
Cheers,
GM


Bump wasm-streams dependency to 0.3

This PR updates the wasm-streams dependency to 0.3. Version 0.2 uses a wasm-bindgen feature that prevent bundling for certain targets. See here for more details.

Thanks for the quick review and merge @seanmonstar! Do you have an estimate of when the next release will be?

도와ㅑ줘
2023년 7월 8일 (토) 오전 9:08, Sean McArthur @.***>님이 작성:

Merged #1903 https://github.com/seanmonstar/reqwest/pull/1903 into
master.
—
Reply to this email directly, view it on GitHub
https://github.com/seanmonstar/reqwest/pull/1903#event-9760339715, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A5L2AJDH23VBKKHJA4Y6AADXPCQIPANCNFSM6AAAAAA2CLFJTI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


SCRIPT ERROR: Invalid call. Nonexistent function 'is_tool' in base 'Nil'

MRP: dialogic-errors.zip
SCRIPT ERROR: Invalid call. Nonexistent function 'is_tool' in base 'Nil'.
          at: update_preview (res://addons/dialogic/Editor/CharacterEditor/CharacterEditor.gd:296)

Steps to reproduce:

Download MRP
Move Dialogic into addons folder
do this:

do this 👁 👄 👁

Sounds like you are using a custom portrait scene that is not in tool mode. Shouldn't produce an error, but I think if you add @tool at the top (of the portrait scene script) it should fix it.

@Jowan-Spooner I was able to fix it by doing so but I'd still consider this a bug - Dialogic should handle such case.

Absolutely! just wanted to give some short-term help.

https://github.com/coppolaemilio/dialogic/commit/2ef9b59315f10bcdcaa36ef3814988d752c48d34
updated both lines to first check that there is a valid instance of a script before checking for if a script is is_tool, error no longer occurs
if is_instance_valid(scene.get_script()) and scene.script.is_tool():
if  is_instance_valid(scene.get_script()) and scene.script.is_tool() and scene.has_method('_get_covered_rect'):
Still very much new to contributing to public repos so wanted input before I make the pull request

If it solves the error, certainly make a PR if you can! Thank you very much for your effort already.

Should be fixed by #1354


recorder fails to start

Home Assistant release with the issue:
0.83.3
Last working Home Assistant release (if known):
0.83.3
Operating environment (Hass.io/Docker/Windows/etc.):
hassbian, python  3.5, etc.
Component/platform:
recorder
Description of problem:
I am all of a sudden getting this on startup
2018-12-07 10:44:52 ERROR (Recorder) [homeassistant.components.recorder] Error during connection setup: /usr/lib/arm-linux-gnueabihf/libmariadbclient.so.18: version `libmysqlclient_18' not found (required by /srv/homeassistant/lib/python3.5/site-packages/_mysql.cpython-35m-arm-linux-gnueabihf.so) (retrying in 3 seconds)

Additional information:
I tried reinstalling
apt-get install --reinstall libmariadbclient18

the file exists:
 # ls -als /usr/lib/arm-linux-gnueabihf/libmariadbclient.so.18
0 lrwxrwxrwx 1 root root 26 Jun  8  2017 /usr/lib/arm-linux-gnueabihf/libmariadbclient.so.18 -> libmariadbclient.so.18.0.0
# ls -als /usr/lib/arm-linux-gnueabihf/libmariadbclient.so.18.0.0
3708 -rw-r--r-- 1 root root 3796928 Jun  8  2017 /usr/lib/arm-linux-gnueabihf/libmariadbclient.so.18.0.0

I have resolved this, hopefully this helps someone. My Debian version was 9.4. I ran:
apt-get update; apt-get upgrade

and then
# cat /etc/debian_version
9.6

and now it works fine again.


I can't implement the current version in Android Studio 3.4.1

I can't implement the library with the current version which causes the error
"ERROR: Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91
is also present at [androidx.core:core:1.0.1] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
Suggestion: add 'tools:replace="android:appComponentFactory"' to  element at AndroidManifest.xml:5:5-19:19 to overrid".
But when I use the 1.4.1 version, it finally works

Duplicate of #84.


Don't create sessions when connecting to etcd in the clustermesh context

Currently, the etcd client leverages a session to wait for the establishment of the initial connection. However, this potentially introduces a quite significant overhead in the context of clustermesh, due to the usage of short-lived (25 seconds) etcd sessions which grow in number proportionally to the Cilium agents in each given cluster, times the number of clusters in the clustermesh. Yet, these sessions, despite being renewed until the client gets closed, are never used after this initial check.
In an effort to improve the overall clustermesh performance, and reduce the overhead introduced on the etcd instances, let's rework this logic to not depend on the creation of a session in the clustermesh context (i.e., if the lock quorum check is disabled), but rather just check whether the underlying grpc connection transitioned into ready state. Although this readiness check is weaker, it still serves the purpose of mimicking the existing behavior for error reporting, and ensuring that the status checker is not started if the target is still down.
Moreover, we now also report connection establishment to the calling functions only after successfully starting the heartbeat watcher, as an additional sanity check. Most notably, this guarantees that there's already been an interaction with the target etcd instance (even if the session check is disabled), to ensure that its corresponding cluster ID has been retrieved if using the "clusterLock" interceptors (i.e., in the clustermesh context). Additionally, this also ensures that the client doesn't turn ready if the heartbeat watcher cannot be started, preventing regressions in this respect and ensuring that the status checker logic can operate correctly.

/test

/scale-clustermesh

/test

I must have broken something with the last push. Converting back to draft while taking a look.

Should be good again.

/test


Issue 32 - Shifted day when viewing expanded month and start day is Monday.

I think this fix will work, but I'm not familiar enough with the code to know if it impacts other parts of the code base.

Works fine. Well done an thank you for contributing


Added SNES symbol

I created a symbol definition file for the SNES I/O registers.
Register names and comments are based on the Super Nintendo Entertainment System Development Manual.
Thank you for the amazing software!

Wow! I didn't know its function.
I set E = 0 every time from the project property settings.
In most cases, the flag will not change once switch to native mode on reset.
Thank you for the information!

Thanks for the contribution!  I can generate a "-dev" release if you want to share this.  I expect to do a stable minor release some time next week.

Thank you for your prompt and courteous response!
(SNES has multiple memory mapping schemes and I'm a little unsure of how the bank works... I will contact you again if I find a problem.)
I'm looking forward to next week!


UI: Button Dash Selection is persistent

As a user when I click an easyButton button, a smaller dash line representing that it's being hovered over appears over the icon. However even after the button is clicked the dashed line remains and only disappears when user clicks somewhere else on screen.
Default buttons within Leaflet don't have this issue.

Is this in the current master or v1?

@atstp master version using firefox
I was able to fix it on my end by doing this, however something within easybutton would be better.
$(".leaflet-bar-part").mouseup(function(){
$(this).blur();
})

Great, it's fixed! thanks!


Looks nice 👍

Could I have a little tutorial on how to use the video feature? I want to display the video in a winforms picturebox if that’s possible ;)

Hi. If you're in a hurry, I think you'll find something useful in my fork of TelloLib. I abandoned this fork because the 2.0 version of the text based Tello SDK coupled with the latest firmware on the Tello made the SDK actually reliable. I will be building some video processing into this repo, but based on my current workload it could be a month or two away. Once you look at my fork of TelloLib, I'd be happy to answer any specific questions you have.
This sample is a bit clunk because I was just working out the details of how video worked at the time. The UWP project with the specific example is here:
https://github.com/marklauter/TelloLib/tree/master/src/NetStandard/Tello.Video.UWP
The solution file is in the root of the project. Tello.sln (not aTello.sln). Find that here:
https://github.com/marklauter/TelloLib
If you unload the two projects under cpp/Interop I think the whole solution will build. Set the UWP project as startup project. All the video code is in the MainPage.xaml.cs file. Important methods to look at are Mss_SampleRequested() and InitializeVideo(). I've gone to a lot of trouble to identify and consolidate frames from the UDP sample stream, but this is unnecessary for just showing the video. I'm hoping to tie it to machine learning at some point, so creating frames seemed to make sense at the time. Every video sample that comes from Tello via UDP could just as easily be fed directly to the Mss_SampleRequested() event and you could skip setting args.Request.Sample.Duration.
This is hacked up sample is based on the info I found here:
https://docs.microsoft.com/en-us/windows/uwp/audio-video-camera/process-media-frames-with-mediaframereader

Thanks for the quick response. I noticed that this project is for sdk version 2.0. I have the normal Tello which comes with SDK 1.3 and there is no way of updating to sdk 2.0 which comes with the Tello EDU. Which project should I use for my drone this one or you fork of TelloLib ?

I also have the normal Tello. If you upgrade the firmware, most of SDK 2.0 will work. The core features haven't changed, there's just some extras for the mission pad, which I haven't bothered to support anyway. Everything in my API appears to work with the normal Tello, but I don't have 100% code coverage in the tests. For sure I can take off, fly around, receive video, and state, so the basics are solid.
To update the firmware you have to run the DJI Tello App on your phone or tablet. There's an option there to do the update. Make sure your drone battery is fully charged first. Wouldn't want the battery to poop out in the middle of a firmware update. Before I installed the update in December the Tello didn't respond reliably to the text based commands, but the latest firmware seems very solid.
You can see the similarities between 1.3 and 2.0 by checking the SDK docs.
Here's the link to SDK 2.0
https://dl-cdn.ryzerobotics.com/downloads/Tello/Tello SDK 2.0 User Guide.pdf
Here's the link to SDK 1.3
https://dl-cdn.ryzerobotics.com/downloads/tello/20180910/Tello SDK Documentation EN_1.3.pdf

Yes I have noticed the commands on my tello sometimes respond with garbage data instead of OK when I wrote my own c# api for version 1.0 of the tello sdk. Hope that the update fixes it.

For sure the communication get better with the update on my end. There's still a problem where the first call to "command" to enter the SDK mode can return garbage. This requires a reboot of the drone and then reconnect to the network to resolve. I usually close my app too. I added information to the README for the repo last night and talked about that a bit.


php8.3 support

php 8.3 is available. any reason this plugin does not allow it (via composer.json)?
>=8.0.0 <8.3.0 current

same issue 😦

We just released a new version, which finally fixes this. Sorry that you had to wait.


revert ipfs gateway url

we need to revert ipfs url to cloudflare-ipfs.com, customer reporting metadata not loading.
also tested it myself where the same cid worked on cloudflare-ipfs.com but timed out on ipfs.io

We can do this, but it's only a bandaid to what is a bigger issue: customers are using a public gateway that should not be used in a production environment.

Also, there's a simple way to change this without the customer having to wait for us to publish a new package version and forcing them to upgrade to it:
const sdk = new ThirdwebSDK(RPC_URL, {
  ipfsGatewayUrl: "https://cloudflare-ipfs.com/ipfs/",
});

I don't think we should get into the habit of publishing an entire release just to change a default config. That forces customers to upgrade to new package versions when they might not be ready for it.

Merged in #59


Getting invalid data when reading values from INP

We are trying to get all the information of an INP file using epanet-js. Usually, it works fine and we get the correct data in each request. However, we have detected some cases where the data returned does not match the original. For example:

Getting the vertices count of a pipe, the value returned is 825309489 instead of 9.
Getting valve setting, the value returned is -286000000 intead of 12.
Getting pattern index in a demand catergory of a junction, the value returned is something like 107404251 when only 12 patterns are defined in the INP.

This behaviour is deterministic, these values are always the same for each element and INP.
We have been doing some testing and we believe that the source of the problem may be a memory management issue, however we were not able to find a proper solution. We tried not freeing the memory pointer by commenting out the code line  this._instance._free(pointer); in _getValue from Project.ts, but even that only solved part of the problems.
I am attaching code and INP file (without coordinates or other irrelevant sections) that we are using to reproduce the issue with the pattern index.

code.md
Test.inp.txt

Any hint or suggestion will be welcome!

Hi @neslerel
Thanks for taking the time to provide an example INP file and also the code to replicate the issue.
I'll give it a look today and let you know what I find and hopefully, I can push a fix to this issue.

Thanks for reporting this @neslerel , it seems like the function getLinkId is causing the issue.
If you remove it from your example code then everything seems to work. getLinkId must be implemented incorrectly and corrupting the memory.
I've done a quick high level look over the code but nothing obvious is standing out but I can already see this being a one-liner fix.
I'll deep dive into this from my dev machine tomorrow but feel free to look into it as well and see if you can spot the issue before me.

Hi @lbutler,
Yesterday I was doing some more tests with getLinkId and also with getNodeId but I could not find a solution. I'm not sure if the memory issue is part of epanet-js, epanet-engine or the original epanet c code (the last one is less probable).
If you have any updates, please let me know so I can focus of finding a solution.
Thanks for your time!

I did try running the provided network using the original C code to confirm the correct outputs, though I wrote a shorter version without getLinkId. For completeness, I will confirm that the issue isn't further upstream in the owa-epanet toolkit (as you mentioned this is highly unlikely)
The issue could exist in epanet-js or epanet-engine or I guess in theory emscripten may be doing something wrong but that seems even more unlikely.
Apologies I've had a bit on my plate recently but will try to help figure this out in the next couple of days unless you are able to crack it before I do.
This is what I'm proposing to do, feel free to create a fork/branch and we can work on it at the same time, otherwise, I will try to get ontop of it ASAP.

Test running EN_getlinkid followed by EN_getdemandpattern in C using the owa-epanet toolkit
Create two tests showing expected values of getLinkId, getNumberOfDemands work in isolation
Create a test showing getLinkId followed by getNumberOfDemands failing
Work our way back up epanet-js and epanet-engine to the original c functions (this isn't a long path so we should be able to isolate where the issue is being caused, I suspect we're either writing or reading the wrong memory size/type)

I've attached the very quick C code I wrote the other day to test the issue as well
test_app.c.txt

The issue appears to be that strings are only assigned 1 byte of memory before being assigned values, this is causing segmentation faults and all types of errors. I will need to refactor the below code
https://github.com/modelcreate/epanet-js/blob/7030c1a463a1a15dade536d0d5e86ec5c93bab32/packages/epanet-js/src/Project/Project.ts#L112

Great job @lbutler ! I'm glad you were able to fix it. Sorry I was out these weeks...

No need to say sorry @neslerel, welcome back and thanks for getting the info on this bug.

Getting valve setting, the value returned is -286000000 instead of 12.
For anyone following, this value comes from owa-epanet and is the value of MISSING


Update Kyber HFS to use Kyber NIST round 3

The current implementation uses Kyber NIST round 2 but should be updated to NIST round 3 in order to have compatibility with our golang fork of the flynn Noise library where we added the Kyber HFS NIST round 3:
https://github.com/katzenpost/noise
My context and use case is: I'm writing a Rust client for an anonymous communication network that was written in Golang. It's a decryption mix network called Katzenpost.
This crate wraps a Kyber NIST round 3 implementation:
https://crates.io/crates/oqs
I'll complete this task if nobody wants to do it. :)

My latest work in progress is here: https://github.com/mcginty/snow/pull/106


Update identity framework version

$subject
Related PR: https://github.com/wso2/carbon-identity-framework/pull/4787

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/5652155291
Status: failure

The version is already bumped


Subcommands still working when disabled

https://github.com/NamelessMC/Nameless-Plugin/blob/10091c8c4976b1461c97e041bfedb0633a63ba10/NamelessSpigot/src/com/namelessmc/plugin/NamelessSpigot/NamelessPlugin.java#L161
It should be "subcommands-enabled" for subcommands and "individual-commands-enabled" for individuals. Or you should change the the commands.yml to sth looking like this:
subcommands:
   enabled: true
individuals:
   enabled: true


nonce support for Vue 2

Request / Idea
Current v3.5.0 supports nonce on configuration setting.
However v3.5.0-vue2 does not supports.
Our project is currently using Vue 2 for some reason and also need to support nonce.
Is is possible to support nonce on vue-gtm Vue 2?
...
Additional Context
...

The behavior should be exactly the same?
vue-2 branch:
https://github.com/mib200/vue-gtm/blob/73d39cf1e77dfb3ed0db02dc2ca04e1aedf5965d/src/utils.ts#L32-L34
Could you check with your browser console or check if the problem is something different?

Hi Shinigami,
Thanks for you reply.
Yes, behavior should be the same.
Currently I'm using v3.5.0-vue2 and added nonce on configuration, however
it doesn't inject nonce to script tag.
Hope my explanation make sense to you.
Please ask me if anything is unclear.
Thank you
On Thu, Apr 15, 2021 at 4:49 PM Shinigami @.***> wrote:

The behavior should be exactly the same?
vue-2 branch:
https://github.com/mib200/vue-gtm/blob/73d39cf1e77dfb3ed0db02dc2ca04e1aedf5965d/src/utils.ts#L32-L34
Could you check with your browser console or check if the problem is
something different?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mib200/vue-gtm/issues/126#issuecomment-820202902, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASLNMYJBNATDPQRNS56W43LTI2LAJANCNFSM42647Z7A
.

Is it possible to create a small reproduction repo? Then I could look into it this evening.
I have now very many meetings ^^'

Sure.
Let me create small repo for reproduction.
I will share it later.
Thank you.
On Thu, Apr 15, 2021 at 5:27 PM Shinigami @.***> wrote:

Is it possible to create a small reproduction repo? Then I could look into
it this evening.
I have now very many meetings ^^'
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mib200/vue-gtm/issues/126#issuecomment-820228976, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASLNMYOXK3UMXUB47VEOYILTI2PPTANCNFSM42647Z7A
.

Hi Shinigami,
I realized nonce is visually hidden from browser.
That's why I thought nonce is not injected at first.
However, recent browsers version hide nonce values that are accessed this
way (an empty string will be returned). The IDL property (script['nonce'])
will be the only way to access nonces.

Nonce hiding helps preventing that attackers exfiltrate nonce data via
mechanisms that can grab data from content attributes like this:

https://developer.mozilla.org/en-US/docs/Web/API/HTMLOrForeignElement/nonce
I checked by accessing from console and I could see nonce value in my
source code(Vue 2).
Sorry for bothering you.
I will close my Issues on your repo.
My bad.
And thank you.
Kosuke
On Thu, Apr 15, 2021 at 6:45 PM Kosuke Muramatsu <
@.***> wrote:

Sure.
Let me create small repo for reproduction.
I will share it later.
Thank you.
On Thu, Apr 15, 2021 at 5:27 PM Shinigami @.***>
wrote:

Is it possible to create a small reproduction repo? Then I could look
into it this evening.
I have now very many meetings ^^'
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mib200/vue-gtm/issues/126#issuecomment-820228976,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASLNMYOXK3UMXUB47VEOYILTI2PPTANCNFSM42647Z7A
.

... I think I should add this to the README.md 🤔

... uhm ... that's really odd, but now I found out that I never pass the nonce to loadScript
https://github.com/mib200/vue-gtm/blob/e10a9766c95220db3b261590b18b8641c0aa57b7/src/utils.ts#L12
https://github.com/mib200/vue-gtm/blob/e10a9766c95220db3b261590b18b8641c0aa57b7/src/plugin.ts#L89-L107

I'm so sorry XD
I'm currently in transition to move the whole code to a new repo where I can manage everything on my own
So expect a fix for this in @gtm-support/vue-gtm

So this is already fixed here: https://github.com/gtm-support/core/blob/9da10d8101cceab9176c68dd63c069a3b2c68c2b/src/index.ts#L180-L186
Don't know when the release will happen

@Kooosuke If you like you can test the https://www.npmjs.com/package/@gtm-support/vue2-gtm 1.0.0-alpha.1 release
There are now two packages:

@gtm-support/vue2-gtm for Vue 2
@gtm-support/vue-gtm for Vue 3

Both are relying on @gtm-support/core and therefore share the same implementation!

@Kooosuke If you like you can test the https://www.npmjs.com/package/@gtm-support/vue2-gtm 1.0.0-alpha.1 release
There are now two packages:

@gtm-support/vue2-gtm for Vue 2
@https://github.com/gtm-support/vue-gtm for Vue 3

Both are relying on https://github.com/gtm-support/core and therefore share the same implementation!

this is not working @gtm-support/vue2-gtm for Vue 2
it gives an error as below


Default export gets overwritten in generated code (breaks usage with TypeScript)

In the current build of the library, at the top of the file we have
exports['default'] = autobind;

but then at the end we have
module.exports = exports['default'];

The latter wipes out the former, eliminating the default export. It probably usually goes unnoticed because with Babel, a default import falls back to importing the entire module, so
import autobind from 'autobind-decorator'

becomes the same as
import * as autobind from 'autobind-decorator'

Unfortunately TypeScript is less forgiving, requiring you to get the default import vs import * right, and as a result this package doesn't work out of the box with typescript. It also seems impossible to assign a functional type to an import *, which is what we need to do in this case. So, long story short, I think the solution is to upgrade Babel so the default export works as expected.

@bradleyayers how does our build work with babel 5 modules? Do we need to do anything once this uses babel6?

In our project TypeScript targets ES6, and webpack does the ES6→ES5 conversion and takes responsibility for the fuzzy default imports. Nothing will change for us.


What up with desktop speed reader in Chrome?

Scroll down button doesn't work.
Time-to-read is NaN.

Hmm. I'm not seeing either of these issues in Desktop Chrome
Version 51.0.2704.63 (64-bit)

See in this video:
https://insights.hotjar.com/p?site=215474&recording=188959166&token=e33dbcc1c0a75920b7292fc025d95c5f
On Thu, May 26, 2016 at 11:49 AM, Michael Varano<EMAIL_ADDRESS>wrote:

Hmm. I'm not seeing either of these issues in Desktop Chrome
Version 51.0.2704.63 (64-bit)
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/michigan-com/nova/issues/34#issuecomment-221911914

Cache issue, unfortunately


Chore/update nx

Updating to 15.6.3 version of nx

I don't see that ci configuration in Nx changelog. Is there somewhere I can read about it?

They were moved into the @nrwl/jest generator in this PR

Commit wasn't fix or feat, so the new version is not released :(
I didn't check that before merge :/


How would I go about timing each page load and saving this data?

I'm trying to figure out how to implement page load times.  I think it would be done by extending PageFetcher, but I'm not sure how to get the load time data (a float value?) back into the WebCrawler.visit() override.

@dynamodan yea i want to do this too but i cant find it either.


Update JDK20 Test Exclude List

NotSuspended/GetStackTraceNotSuspendedStressTest has been fixed.
SuspendThread/suspendthrd03 has been removed in JDK20.
Now, VThreadTest fails because of eclipse-openj9/openj9#15920.
eclipse-openj9/openj9#16185 and eclipse-openj9/openj9#16279 are
permanently excluded. Changed their reason to #1297 to support
the test tool, which automatically enables tests after the related
issues are closed.

Related:

eclipse-openj9/openj9#16688
eclipse-openj9/openj9#16242
eclipse-openj9/openj9#17307

Depends on eclipse-openj9/openj9#17318

@llxia @Mesbah-Alam Can you please help merge this PR?

Updated the branch due to out of date error.


Editor only assambly compilation problem

Assembly definitions that have editor only code should only be included on the editor.

I saw there was a fork of your library and saw they fixed this.
https://github.com/YashikMoloka/Unity.SerializableGuid
Making a PR so the main repo has this fix as well.
Will be using this so I will reference the fork for now.

Thanks for letting me know about this


EGYPT (EGY)

EGYPT (EGY) is simply made to solve the problem of losing investments in Cryptocurrency market, we will give 0.70 USD back for every paid 1.00 USD in case if EGYPT (EGY) market value fall down, so you saved 70% of your investment, we do that through backing our CryptoCoin with Gold

Also, you can use these graphics to say that your ERC20 token fully compatible with Trust Wallet (https://trustwallet.com/logo-assets). Tokens will show up automatically once the user receives them.
Feel free to share this on social media and tag Trust Wallet:

Twitter: @trustwalletapp

Facebook: @trustwalletapp


Google API Dev API Key Restrictions

For Example 01-scrape:
Needs activation of at least Custom Search API:
https://console.cloud.google.com/apis/api/customsearch.googleapis.com
and also if the Google API Key is restricted, one needs to enable it:
https://console.cloud.google.com/apis/credentials?project={YOUR_PROJECT_NAME}

Hi,
Thank you for reaching out and for reporting this issue. Your feedback is invaluable in improving this project.
I've made an update to the GoogleSearchFactory, enabling restricted site search. You can modify the example as follows:
new GoogleSearchEngineFactory(
    new Client([
        'application_name' => 'YourApplicationName/1.0',
        'developer_key' => GOOGLE_DEVELOPER_KEY,
    ]),
    SEARCH_ENGINE_ID,
    true // Enable restricted site search
),

Your contribution is appreciated. Feel free to stay in contact, if you encounter any further issues.
Best regards.


[skip email] Resolve a saving error

Pull Request instructions:

Please follow the update protocol
Answer the questions below in detail. Your responses will be emailed to experimenters.
If the experimenters must do anything new, provide detailed step by step instructions on the wiki
Use markdown syntax in order for your comments to be rendered reliably in the email: "1." instead of "1)", use four spaces for indents.
If you use the keyword "skip email" in the title, it will skip the email updates
Merges from "production_testing" into "main" should use the keyword "production merge" in the title for reliable indexing of updates

Describe changes:

De-escalate an error to info in _Save because the Exception is expected.
Add more attr_name info

Instead of seeing lots of errors, we'll see these infos

What issues or discussions does this update address?

(The line numbers don't match because the codebase was changing, but I suspect they are the same issue)

https://github.com/AllenNeuralDynamics/dynamic-foraging-task/issues/93
https://github.com/AllenNeuralDynamics/dynamic-foraging-task/issues/89
https://github.com/AllenNeuralDynamics/dynamic-foraging-task/issues/88
https://github.com/AllenNeuralDynamics/dynamic-foraging-task/issues/92

Describe the expected change in behavior from the perspective of the experimenter
None.
Describe the outcome of testing this update on a rig in 447

Tested on my PC

BTW, I'm going to merge to develop rather than production_test.


Browser shows directory listing instead of normal gui

I tried to start redis-commander and each time I went to http://<IP_ADDRESS>:8081 a directory listing showed up instead of the normal GUI screen.
Steps to reproduce:

fire up redis
fire up redis commander with --redis-port set to 6999

Expected Behavior:
Web browser shows state of Redis
Actual Behavior:
Directory listing shown.

what is the server-side console logs?
is there an image of the directory listing? what "files" are shown from where?
Redis commander does not have code to produce a directory listing like a "normal" webserver does. Are you sure there is no other webserver running on this port?


Revocation Lists Question

Hi,
It would be great to know if Azure handles checking revocation lists for X.509 certificates used to authenticate devices for either the Azure Device Provisioning Service or the Azure IoT Hub. Very interested to know if CAs have any authority here, or if it is up to programmatically blacklisting devices on Azure
-- Todd
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e5095261-1589-340f-acb7-f4dbe414942a
Version Independent ID: 2fda5715-b67d-788f-a95f-21267a9b0fd1
Content: Security concepts in Azure IoT Hub Device Provisioning Service
Content Source: articles/iot-dps/concepts-security.md
Service: iot-dps
GitHub Login: @nberdy
Microsoft Alias: nberdy

@toddgauntgs Thanks for your feedback! Thanks for the feedback! We are currently investigating and will update you shortly.

Thanks again for your valuable feedback. Please read the following issue it should clarify your questions https://github.com/MicrosoftDocs/azure-docs/issues/22770
Also that could be a feature request. Can you post this as a feedback @ https://feedback.azure.com/forums/321918-azure-iot . This will allow the community to upvote and for the product team to include into their plans.

Hi @toddgauntgs  just touching base to see if the information on that issue was useful.

@toddgauntgs Closing this issue since we haven't heard back from you. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Updated the name on page to take out the version number.

There were some instances of 5.2 still in the docs page titles.

Test PASSed

Test PASSed

CLA signed by all contributors.

closing in favor of https://github.com/puppetlabs/puppetdb/pull/2613 against 6.0.x


SCG not calling custom truststore

Version: Hoxton.SR8
I have implemented a custom truststore, and passed this truststore to ssl context in HttpClientCustomizer. But SCG is not calling our truststore apis's rather it directly calls X509TrustManagerImpl. Is there any config change or code change I have to incorporate?
Http Customizer code:
public class HttpClientCustom implements HttpClientCustomizer {
    @Override
    public HttpClient customize(HttpClient httpClient) {
        httpClient.secure(spec -> {
            try {
                spec.sslContext(SslContextBuilder.forClient().trustManager(new MyTrustManager()).build());

            } catch (Exception e) {
                throw new DmAdapterException("Failed to create http client with trust store");
            }
        });
        return httpClient;
    }
}

MyTrustManager code:
public class DmAdapterTrustManager extends X509ExtendedTrustManager {
    // Trust Manager
    private X509ExtendedTrustManager trustManager;
    // Certs list
    private final Map<String, Certificate> certList;

    @Autowired
    public DmAdapterTrustManager() throws Exception {
        this.certList = new ConcurrentHashMap<>();
        reloadTrustManager();
    }

    @Override
    public void checkClientTrusted(X509Certificate[] x509Certificates, String s, Socket socket) throws CertificateException {
        trustManager.checkServerTrusted(x509Certificates, s, socket);
    }

    @Override
    public void checkServerTrusted(X509Certificate[] x509Certificates, String s, Socket socket) throws CertificateException {
        trustManager.checkServerTrusted(x509Certificates, s, socket);
    }

    @Override
    public void checkClientTrusted(X509Certificate[] x509Certificates, String s, SSLEngine sslEngine) throws CertificateException {
        trustManager.checkServerTrusted(x509Certificates, s, sslEngine);
    }

    @Override
    public void checkServerTrusted(X509Certificate[] x509Certificates, String s, SSLEngine sslEngine) throws CertificateException {
        trustManager.checkServerTrusted(x509Certificates, s, sslEngine);
    }
    @Override
    public void checkClientTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException {
        trustManager.checkClientTrusted(x509Certificates, s);
    }

    @Override
    public void checkServerTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException {
        trustManager.checkServerTrusted(x509Certificates, s);
    }

    @Override
    public X509Certificate[] getAcceptedIssuers() {
        return trustManager.getAcceptedIssuers();
    }

    /**
     * Instantiates a new X509TrustManager with the latest certificates
     */
    private void reloadTrustManager() throws Exception {
        // load keystore from specified cert store (or default)
        keyStore = KeyStore.getInstance(KeyStore.getDefaultType());
        //keyStore = KeyStore.getInstance("JKS");
        keyStore.load(null, null);
        // Add queued certificates to the keystore
        for (Map.Entry<String, Certificate> certEntry : certList.entrySet()) {
            keyStore.setCertificateEntry(certEntry.getKey(), certEntry.getValue());
        }

        // Initialize a new TrustManagerFactory with the truststore we created
        TrustManagerFactory tmf = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
        tmf.init(keyStore);

        // Get the X509TrustManager from the Factory.
        TrustManager[] tms = tmf.getTrustManagers();
        for (TrustManager tm : tms) {
            if (tm instanceof X509TrustManager) {
                trustManager = (X509ExtendedTrustManager) tm;
                return;
            }
        }

        throw new DmAdapterException("No X509TrustManager in TrustManagerFactory");
    }

}

Have you verified your customizer is called?

Yes, my customiser class is called and it applied the changes.

Can you provide a complete, minimal, verifiable sample that reproduces the problem?  It should be available as a GitHub (or similar) project or attached to this issue as a zip file.

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


[SPARK-36618][PYTHON] Support dropping rows of a single-indexed DataFrame

What changes were proposed in this pull request?
Support dropping rows of a single-indexed DataFrame.
Dropping rows and columns at the same time is supported in this PR  as well.
Why are the changes needed?
To increase pandas API coverage.
Does this PR introduce any user-facing change?
Yes, dropping rows of a single-indexed DataFrame is supported now.
>>> df = ps.DataFrame(np.arange(12).reshape(3, 4), columns=['A', 'B', 'C', 'D'])
>>> df
   A  B   C   D
0  0  1   2   3
1  4  5   6   7
2  8  9  10  11

From
>>> df.drop([0, 1])
Traceback (most recent call last):
...
KeyError: [(0,), (1,)]

>>> df.drop([0, 1], axis=0)
Traceback (most recent call last):
...
NotImplementedError: Drop currently only works for axis=1

>>> df.drop(1)
Traceback (most recent call last):
...
KeyError: [(1,)]

>>> df.drop(index=1)
Traceback (most recent call last):
...
TypeError: drop() got an unexpected keyword argument 'index'

>>> df.drop(index=[0, 1], columns='A')
Traceback (most recent call last):
...
TypeError: drop() got an unexpected keyword argument 'index'

To
>>> df.drop([0, 1])
   A  B   C   D
2  8  9  10  11

>>> df.drop([0, 1], axis=0)
   A  B   C   D
2  8  9  10  11

>>> df.drop(1)
   A  B   C   D
0  0  1   2   3
2  8  9  10  11

>>> df.drop(index=1)
   A  B   C   D
0  0  1   2   3
2  8  9  10  11

>>> df.drop(index=[0, 1], columns='A')
   B   C   D
2  9  10  11

How was this patch tested?
Unit tests.

Test build #143062 has started for PR 33929 at commit 7bc174e.

Test build #143062 has finished for PR 33929 at commit 7bc174e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47565/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143062/

cc @ueshin @itholic FYI

Test build #143091 has started for PR 33929 at commit b445cfd.

Test build #143091 has finished for PR 33929 at commit b445cfd.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143091/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47593/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47593/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47593/

Test build #143122 has started for PR 33929 at commit e420c52.

Test build #143122 has finished for PR 33929 at commit e420c52.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47626/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143122/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47626/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47626/

Test build #143125 has started for PR 33929 at commit 070a31e.

Test build #143125 has finished for PR 33929 at commit 070a31e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47629/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47629/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143125/

Test build #143126 has started for PR 33929 at commit f8192f0.

Test build #143126 has finished for PR 33929 at commit f8192f0.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143126/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47630/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47630/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47630/

Test build #143128 has started for PR 33929 at commit f06dd0c.

Test build #143128 has finished for PR 33929 at commit f06dd0c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143128/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47632/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47632/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47632/

Test build #143130 has started for PR 33929 at commit 5b6faac.

Test build #143130 has finished for PR 33929 at commit 5b6faac.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47634/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47634/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47634/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143130/

Test build #143132 has started for PR 33929 at commit 72dd09d.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47636/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47636/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47636/

Test build #143132 has finished for PR 33929 at commit 72dd09d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #143159 has started for PR 33929 at commit 4731a9a.

Test build #143159 has finished for PR 33929 at commit 4731a9a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143159/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47663/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47663/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47663/

Test build #143225 has started for PR 33929 at commit a34e20a.

Test build #143225 has finished for PR 33929 at commit a34e20a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47728/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143225/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47728/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47728/

Test build #143271 has started for PR 33929 at commit 765b4f8.

Test build #143271 has finished for PR 33929 at commit 765b4f8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143271/

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47774/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47774/

Test build #143368 has started for PR 33929 at commit 20e1e73.

Test build #143370 has started for PR 33929 at commit 2419e61.

Test build #143368 has finished for PR 33929 at commit 20e1e73.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47875/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47875/

Test build #143370 has finished for PR 33929 at commit 2419e61.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143368/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143370/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47875/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47876/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47876/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47876/


chore: CI checks for copyright headers

Hopefully this will fail until #3411 is merged.

Typo! It says "headres"


Weak coin for self healing

Motivation
Closes #1857
Changes

Hare calculates a weak coin for each layer based on VRF messages received in the pre-round, and sends it to the meshdb (regardless of whether hare succeeded or not)
Meshdb stores this in memory (not actually in the DB)

Test Plan

Adds unit tests for hare pre-round tracker, hare, and mesh
Adds a weakcoin mocker to the superhare
Adds a multinode integration app test that makes sure superhare writes a weak coin for each layer to meshdb, and that the coin values agree across all nodes

TODO

[x] Explain motivation or link existing issue(s)
[x] Test changes and document test plan
[ ] Update documentation as needed

DevOps Notes

[x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

bors merge

bors merge


Fix corner case with nil connection

Fix corner case with nil connections that result in panics - see https://github.com/nfx/slrp/issues/36

@bdandy ping

Thanks, good catch!


Allow None in LIKE calls and add tests for regression

Fixes #70

Codecov Report

Merging #71 into main will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #71   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           31        31
  Lines         1196      1196
  Branches       156       156
=========================================
  Hits          1196      1196

Impacted Files
Coverage Δ

dask_sql/physical/rex/core/call.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


feat: support [build.upload.main] in wrangler dev

We're currently supporting [build] while we transition to possibly phasing out implicit entry points. Looks like we don't read it for wrangler dev, and we should.

Seems like we need to refactor/consolidate the build step in publish and dev. We can't have them be different.

Pete, I'm going to assign this to myself, it intersects with https://github.com/cloudflare/wrangler2/issues/390 and I can solve both together.


The latest version 0.23.0 miss dist directory

run get error

internal/modules/cjs/loader.js:324
throw err;
^
Error: Cannot find module '/Users/nick/nodePro/zeebe-demo/node_modules/zeebe-node/dist/index.js'. Please verify that the package.json has a valid "main" entry

ls node_modules/zeebe-node to check the files, can't see dist directory, maybe was no build before publish to npm?
version 0.22.1 is fine

In TS the line import { ZBClient } from 'zeebe-node'; errors with Cannot find module 'zeebe-node'.ts(2307).

can confirm - since version 0.23.0-alpha1 the dist directory is missing

That is... strange. It's built in CI, so that shouldn't happen.
I've published 0.23.1, and it has the dist directory in it.

Belay that, it doesn't either....

@jwulf Good morning! Sorry for all the noise, I think I found a fix to the missing dist directory :tada:


error templating gitea.ini

there are to endif blocks in templates/gitea.ini.j2 but just one if
if: L 56
endif: L 63
endif: L 69
this leads to templating errors and seems to be in current master as well as v0.0.0
i think deleting the one in L63 should be right.
thanks for all the work you are putting into this, greatly appreciate it
Cheers,
Steffen

#97 should fix this


Unauthorized access Dashboard

after adding new roles, then it gives me this error.

same here ... any solution?

same here !!

What version did you installed ?
I think there is no issue for me when to create new roles in the new version of Laraadmin.

the last one

same here

Same...anyone solved?

Did you change the permissions for the new user? Check the admin_routes.php config file, Dashboard is only available for ADMIN_PANEL permissions.

Hi, this is a nice package but I think that the developers have stopped working on it. Maybe you can try this package: https://github.com/Muhammadinaam/speed-admin. It supports Laravel 8+.


does not clear views from memory

Is this a bug report or a feature request?
Feature Request (but this is bug as well)
Have you read the guidelines regarding bug report?
Yes
Have you read the documentation in its entirety?
Yes
Description
It load all the child layouts at once, In my application I have a long sliding of images.
So, imagine 100 images and when carousel render all at once which gradually leads to memory error.
Found this prop

activeSlideOffset

From slider's center, minimum slide distance to be scrolled before being set to active.

But I dun think it will work in this case
Exception
There should be some prop which limit the render amount of content in carousel and on user scroll it load new and clear old out of memory but not sure if it is possible with this control.
Since I have checked this base is Flatlist and very well handled for swipe gestures so I think it is possible to implement & show only few images those are in viewport rest of all are clear from memory
thoughts?

What is the performant way to render with high initial index value?
https://stackoverflow.com/questions/54540375/performant-way-of-rendering-huge-list-with-initial-index-in-react-native

Make sure the carousel isn't a child of a ScrollView (this includes FlatList, VirtualizedList, and many plugins). Apparently, it would render all child components, even those currently off-screen.

This is extremely limiting in the case of most cases where you would have multiple carousels within a Sectionlist or FlatList. Is there any way around this?


Ogg and New video class

There's a lot here. I plan to do more frequent commits locally and to my fork. This will be my first pull request.
Ogg support, falls back to midi when the ogg is missing some RaW files have a different prefix. I haven't gone through and figured out which of them replaces each midi.
Video support. updated to new ffmpeg.autogen library using the new dlls. corrected color issue (atleast blue skin is gone)
Video audio is WIP still.
Tweaked menu code.
Tweaked input code.
added various null and <0 checks for fields that were throwing exceptions.
other smaller changes.
I plan to make future pull requests smaller. this is like 2 weeks of work.
I had a bad merge or two. I tried remove / comment out the old code.

I'd probably just use your debug_battledat.cs. I don't think I did anything in there except after a bad merge I commented out the code preventing me from compiling.


Format github / docker / patreon messages for slack

https://api.slack.com/incoming-webhooks#customizations_for_custom_integrations


Adding mem_limit to docker run causes VM to reboot

Description
Running a docker container which tries to unzip a large file on rhel 7.2 GUEST running on vmware ESXi 6.0 causes the guest to reboot.
Problem only happens on docker v1.12.2 and v1.12.5 which we have tested.
We were earlier running docker v1.10.3 on the same OS image and hypervisor and we never had the same issue.

Steps to reproduce the issue:

Please use the following dockerfile to create a image:

FROM ubuntu:latest
RUN dd if=/dev/urandom of=/root/random.img count=1024 bs=1M && \
                gzip /root/random.img
ENTRYPOINT gzip -d /root/random.img.gz && echo "done unzipping"

build the image say test:1
docker build -t test:1 .

Run this container as follows:

docker run -it --rm -m 1000m test:1

Describe the results you received:
The VM reboots with the following messages:
[    0.820865] pci 0000:00:17.3: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[    0.820869] pci 0000:00:17.3: res[13]=[io  0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000
[    0.820873] pci 0000:00:17.4: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[    0.820878] pci 0000:00:17.4: res[13]=[io  0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000
[    0.820882] pci 0000:00:17.5: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[    0.820886] pci 0000:00:17.5: res[13]=[io  0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000
[    0.820890] pci 0000:00:17.6: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[    0.820895] pci 0000:00:17.6: res[13]=[io  0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000
[    0.820899] pci 0000:00:17.7: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[    0.820903] pci 0000:00:17.7: res[13]=[io  0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000
[    0.820907] pci 0000:00:18.2: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[    0.820912] pci 0000:00:18.2: res[13]=[io  0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000
[    0.820916] pci 0000:00:18.3: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[    0.820920] pci 0000:00:18.3: res[13]=[io  0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000
[    0.820925] pci 0000:00:18.4: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[    0.820929] pci 0000:00:18.4: res[13]=[io  0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000
[    0.820933] pci 0000:00:18.5: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[    0.820937] pci 0000:00:18.5: res[13]=[io  0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000
[    0.820942] pci 0000:00:18.6: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[    0.820946] pci 0000:00:18.6: res[13]=[io  0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000
[    0.820950] pci 0000:00:18.7: res[13]=[io  0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000
[    0.820954] pci 0000:00:18.7: res[13]=[io  0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000
[    0.820971] pci 0000:00:15.0: BAR 15: assigned [mem 0xc0000000-0xc01fffff 64bit pref]
[    0.821395] pci 0000:00:0f.0: BAR 6: assigned [mem 0xc0200000-0xc0207fff pref]
[    0.822389] pci 0000:00:10.0: BAR 6: assigned [mem 0xc0208000-0xc020bfff pref]
[    0.823390] pci 0000:00:15.3: BAR 13: no space for [io  size 0x1000]
[    0.824386] pci 0000:00:15.3: BAR 13: failed to assign [io  size 0x1000]
[    0.825393] pci 0000:00:15.4: BAR 13: no space for [io  size 0x1000]
[    0.826387] pci 0000:00:15.4: BAR 13: failed to assign [io  size 0x1000]
[    0.827390] pci 0000:00:15.5: BAR 13: no space for [io  size 0x1000]
[    0.828387] pci 0000:00:15.5: BAR 13: failed to assign [io  size 0x1000]
[    0.829391] pci 0000:00:15.6: BAR 13: no space for [io  size 0x1000]
[    0.830385] pci 0000:00:15.6: BAR 13: failed to assign [io  size 0x1000]
[    0.831409] pci 0000:00:15.7: BAR 13: no space for [io  size 0x1000]
[    0.832387] pci 0000:00:15.7: BAR 13: failed to assign [io  size 0x1000]
[    0.833394] pci 0000:00:16.3: BAR 13: no space for [io  size 0x1000]
[    0.834388] pci 0000:00:16.3: BAR 13: failed to assign [io  size 0x1000]
[    0.835402] pci 0000:00:16.4: BAR 13: no space for [io  size 0x1000]
[    0.836392] pci 0000:00:16.4: BAR 13: failed to assign [io  size 0x1000]
[    0.837378] pci 0000:00:16.5: BAR 13: no space for [io  size 0x1000]
[    0.838373] pci 0000:00:16.5: BAR 13: failed to assign [io  size 0x1000]

Describe the results you expected:
I would expect the container to unzip the file and echo "done unzipping"
Additional information you deem important (e.g. issue happens only occasionally):
Issue consistently happens on v1.12.2 and v1.12.5
Output of docker version:
Client:
 Version:      1.12.5
 API version:  1.24
 Go version:   go1.6.4
 Git commit:   7392c3b
 Built:        Fri Dec 16 02:23:59 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.5
 API version:  1.24
 Go version:   go1.6.4
 Git commit:   7392c3b
 Built:        Fri Dec 16 02:23:59 2016
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 7
 Running: 5
 Paused: 0
 Stopped: 2
Images: 6
Server Version: 1.12.5
Storage Driver: btrfs
 Build Version: Btrfs v4.4.1
 Library Version: 101
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: host null bridge overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 3.10.0-514.el7.x86_64
Operating System: Red Hat Enterprise Linux Server 7.2 (Maipo)
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 23.39 GiB
Name: lab-8
ID: OU7Y:HSGA:F5PN:QY3Z:QQTK:WFWT:FM6Y:WTSL:CQAL:QKH3:C2CY:KBH5
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Insecure Registries:
 <IP_ADDRESS>/8

Additional environment details (AWS, VirtualBox, physical, etc.):
Running on a private cloud vmware esxi 6.0 with Rhel 7.2 guest.

ping @tonistiigi @mlaventure any ideas?

I don't even understand why gzip -d should be memory bound. It should use very little memory.

Well this is just a sample. I had another container which unzips a file but i cannot share the docker file because it has organisation specific information.
Hence i had to come up with this dummy image.
The same image works fine on 1.10.3

I think the PCI errors might be a red herring.
I turned up debug mode for the docker daemon and re-ran the same container.
docker events generates the following output:
2017-01-10T14:07:58.302443963+11:00 container attach cd0c523f54e7f64e63b7af0f2ab7cd5ebf6a167861af51365683524ad9137f17 (image=test:1, name=adoring_raman)
2017-01-10T14:07:58.336518729+11:00 network connect 5987cb637ae8b16cb803fe8eb8f5658a00003bf4552497e6875c8c3f23da6ed9 (container=cd0c523f54e7f64e63b7af0f2ab7cd5ebf6a167861af51365683524ad9137f17, name=bridge, type=bridge)
2017-01-10T14:07:58.564095395+11:00 container start cd0c523f54e7f64e63b7af0f2ab7cd5ebf6a167861af51365683524ad9137f17 (image=test:1, name=adoring_raman)
2017-01-10T14:07:58.566825792+11:00 container resize cd0c523f54e7f64e63b7af0f2ab7cd5ebf6a167861af51365683524ad9137f17 (height=49, image=test:1, name=adoring_raman, width=130)

While the docker daemon only mentions the following before the host reboots:
Jan 10 14:07:58 localhost NetworkManager[557]: <info>  (docker0): bridge port veth88e8c2c was attached
Jan 10 14:07:58 localhost NetworkManager[557]: <info>  (veth88e8c2c): enslaved to docker0
Jan 10 14:07:58 localhost dockerd: time="2017-01-10T14:07:58.318042744+11:00" level=debug msg="Assigning addresses for endpoint adoring_raman's interface on network bridge"
Jan 10 14:07:58 localhost dockerd: time="2017-01-10T14:07:58.333414524+11:00" level=debug msg="Programming external connectivity on endpoint adoring_raman (5a0c208454a74a71b44c3420a1a3434c7790914f2adf1aa8ef024f491a4a2692)"
Jan 10 14:07:58 localhost kernel: docker0: port 1(veth88e8c2c) entered forwarding state
Jan 10 14:07:58 localhost kernel: docker0: port 1(veth88e8c2c) entered forwarding state
Jan 10 14:07:58 localhost NetworkManager[557]: <info>  (docker0): link connected
Jan 10 14:07:58 localhost dockerd: time="2017-01-10T14:07:58.460089613+11:00" level=debug msg="sandbox set key processing took 36.544841ms for container cd0c523f54e7f64e63b7af0f2ab7cd5ebf6a167861af51365683524ad9137f17"
Jan 10 14:07:58 localhost dockerd: time="2017-01-10T14:07:58.561211280+11:00" level=debug msg="libcontainerd: received containerd event: &types.Event{Type:\"start-container\", Id:\"cd0c523f54e7f64e63b7af0f2ab7cd5ebf6a167861af51365683524ad9137f17\", Status:0x0, Pid:\"\", Timestamp:(*timestamp.Timestamp)(0xc820c38d90)}"
Jan 10 14:07:58 localhost dockerd: time="2017-01-10T14:07:58.564334306+11:00" level=debug msg="libcontainerd: event unhandled: type:\"start-container\" id:\"cd0c523f54e7f64e63b7af0f2ab7cd5ebf6a167861af51365683524ad9137f17\" timestamp:<seconds:1484017678 nanos:560529137 > "
Jan 10 14:07:58 localhost dockerd: time="2017-01-10T14:07:58.565912665+11:00" level=debug msg="Calling POST /v1.24/containers/cd0c523f54e7f64e63b7af0f2ab7cd5ebf6a167861af51365683524ad9137f17/resize?h=49&w=130"

Could you share the output lspci?
I'm assuming that the BAR that fails to be assigned belong to the storage, just want to confirm.
Also, BARs are assigned during PCI enumeration, so when the machine boots (hence why the timestamp is less than 1sec).
Those errors don't seem to be related to your storage devices.
Hence, I'd say that somehow the change in the way docker operates is triggering a bug in your kernel. Since there doesn't seem to be any logs saved, your kernel probably paniced.
You may want to try and update your kernel and see if that fixes it.

So I have run the same OS image on AWS with docker 1.12.5 and I have hit the same problem.

@thaJeztah @mlaventure i just downgraded to 1.12.0 and everything looks in order.

While troubleshooting this issue I got the following.  I'm guessing this is just a kernel bug in RHEL 7.2 given that btrfs is "experimental".  I'll see if I can dig into this more.
[ 4134.776053] PGD 1fa0067 PUD 10fffd067 PMD 80000000e2a001e3
[ 4134.776053] Thread overran stack, or stack corrupted
[ 4134.776053] Oops: 0011 [#1] SMP
[ 4134.776053] Modules linked in: veth ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 xt_addrtype iptable_filter xt_conntrack nf_nat nf_conntrack br_netfilter bridge stp llc isofs intel_powerclamp intel_rapl iosf_mbi crc32_pclmul ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd ppdev pcspkr cirrus ttm drm_kms_helper parport_pc syscopyarea sysfillrect parport sysimgblt fb_sys_fops drm i2c_piix4 i2c_core ip_tables xfs libcrc32c btrfs zlib_deflate raid6_pq xor ata_generic pata_acpi crct10dif_pclmul crct10dif_common xen_netfront xen_blkfront crc32c_intel ata_piix serio_raw libata floppy fjes
[ 4134.776053] CPU: 0 PID: 2757 Comm: gzip Not tainted 3.10.0-514.2.2.el7.x86_64 #1
[ 4134.776053] Hardware name: Xen HVM domU, BIOS 4.2.amazon 12/09/2016
[ 4134.776053] task: ffff8800e5178000 ti: ffff8800e2b70000 task.ti: ffff8800e2b70000
[ 4134.776053] RIP: 0010:[<ffff8800e2b73fd8>]  [<ffff8800e2b73fd8>] 0xffff8800e2b73fd7
[ 4134.776053] RSP: 0018:ffff8800e2b6fb08  EFLAGS: 00010282
[ 4134.776053] RAX: 00000000fffffff2 RBX: ffff8800e2b73fd8 RCX: ffff8800e2b70000
[ 4134.776053] RDX: ffff8800e3b38000 RSI:<PHONE_NUMBER>000020 RDI: ffff8800e2b73fd8
[ 4134.776053] RBP: ffff8800e2b73fd8 R08: ffff8800e2b70000 R09:<PHONE_NUMBER>000000
[ 4134.776053] R10:<PHONE_NUMBER>000000 R11:<PHONE_NUMBER>000000 R12: ffff8800e2b73fd8
[ 4134.776053] R13: ffff8800e5178000 R14:<PHONE_NUMBER>000086 R15: ffff8800e2b6fb70
[ 4134.776053] FS:  00007f4dc4dfd700(0000) GS:ffff88010b200000(0000) knlGS:0000000000000000
[ 4134.776053] CS:  0010 DS: 0000 ES: 0000 CR0:<PHONE_NUMBER>050033
[ 4134.776053] CR2: ffff8800e2b73fd8 CR3: 00000000e2bdf000 CR4:<PHONE_NUMBER>1406f4
[ 4134.776053] DR0:<PHONE_NUMBER>000000 DR1:<PHONE_NUMBER>000000 DR2:<PHONE_NUMBER>000000
[ 4134.776053] DR3:<PHONE_NUMBER>000000 DR6: 00000000ffff0ff0 DR7:<PHONE_NUMBER>000400
[ 4134.776053] Stack:
[ 4134.776053]  ffffffff81696618 ffff8800e2b6fb70<PHONE_NUMBER>000086 ffff8800e5178000
[ 4134.911869]  ffff8800e2b73fd8 ffff8800e2b73fd8 ffff8800e2b73fd8 ffff8800e5178000
[ 4134.911869]  ffff8800e2b70000<PHONE_NUMBER>000002 ffff8800e2b6fd60<PHONE_NUMBER>000020
[ 4134.911869] Call Trace:
[ 4134.911869] Code: ff ff ff ff ff ff ff ff ff ff ff 00 80 00 00 00 00 00 00 00 02 66 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <80> b6 90 c4 4d 7f 00 00 33 00 00 00 00 00 00 00 46 02 00 00 00
[ 4134.911869] RIP  [<ffff8800e2b73fd8>] 0xffff8800e2b73fd7
[ 4134.911869]  RSP <ffff8800e2b6fb08>
[ 4134.911869] CR2: ffff8800e2b73fd8

Thanks a lot @ibuildthecloud . I have logged a support call with Redhat. Will update this issue as soon as I have some feedback.

A new hotfix kernel has been released by redhat - 3.10.0-514.11.1.el7.x86_64 which contains the fix.

Thanks for the update @ibrokethecloud !


Adds styles to progress

Fixes #31
Inspired by the fabulous work done by @asoback. Adds styles to progress and have tested the same
Google Chrome 92.0.4515.159
Safari 14.1.2 (166<IP_ADDRESS>.6)
Firefox 91.0
Let me know if any changes are needed. I’ll be pushing support for meter within a day as well.

@kognise Support for meter added as well! I took a little creative liberty and added some colours for the meter. Let me know if you like them or any changes are needed!


[Loop][Elementwise] Use builder based interface to generate Krnl loops

[Scan] Use builder based interface to generate Krnl loops (Only partially done)
Signed-off-by: Whitney Tsang<EMAIL_ADDRESS>

@jenkins-droid test this please

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

Jenkins Linux s390x Build #5054 [push] [Loop][Elementwise] Use ... started at 14:01

Jenkins Linux ppc64le Build #4175 [push] [Loop][Elementwise] Use ... started at 14:04

Jenkins Linux amd64 Build #5038 [push] [Loop][Elementwise] Use ... started at 13:01

Jenkins Linux s390x Build #5054 [push] [Loop][Elementwise] Use ... passed after 53 min

Jenkins Linux ppc64le Build #4175 [push] [Loop][Elementwise] Use ... passed after 1 hr 0 min

Jenkins Linux amd64 Build #5038 [push] [Loop][Elementwise] Use ... passed after 1 hr 4 min


More or less Had answers for first 5 but really no indea on the last one

still very confused on enumerables

3.75 of 6 (-0.72 on Q3, 0.5 on Q4, -1 on Q6)
Not bad, but I agree that there's room for improvement. Take another look over the lesson and see if it makes more sense now that you've had some time to digest it.


Deprecated Warning in RAdam with torch==1.7.1

Hi  @LiyuanLucasLiu , thanks for your incredible lib. With RAdam I got better performance without changing any hyperparameter. However, this a deprecated warning in RAdam with torch==1.7.1:
UserWarning: This overload of addcmul_ is deprecated:
	addcmul_(Number value, Tensor tensor1, Tensor tensor2)
Consider using one of the following signatures instead:
	addcmul_(Tensor tensor1, Tensor tensor2, *, Number value) (Triggered internally at  /pytorch/torch/csrc/utils/python_arg_parser.cpp:882.)
  exp_avg_sq.mul_(beta2).addcmul_(1 - beta2, grad, grad)

according to the doc of addcmul_ in torch==1.7.1
Docstring:
addcmul_(tensor1, tensor2, *, value=1) -> Tensor

In-place version of :meth:`~Tensor.addcmul`
Type:      builtin_function_or_method

so to adapt to 1.7.1 and disable this warning, I only need to change exp_avg_sq.mul_(beta2).addcmul_(1 - beta2, grad, grad) to exp_avg_sq.mul_(beta2).addcmul_(grad, grad, 1 - beta2), right?

Yes, there is a PR you can refer to: #51

BTW, glad you enjoy the paper : -)


modified set path operation to preserve query string

Current dependencies on/for this PR:

main

PR #12

PR #18   👈

This comment was auto-generated by Graphite.


Remove apache commons dependency

Apache commons has too much method, so we should remove the dependency and add only the required classes like DateUtils

#15


I get : ChatGPTError: ChatGPT invalid session token ( I am using a valid key from OpenAI with a free trial 18$ )

Verify latest release

[X] I verified that the issue exists in the latest chatgpt release

Verify webapp is working

[X] I verify that the ChatGPT webapp is working properly for this account.

Environment details
Node.js v19.3.0
OS : Windows
Latest version of the package
Describe the Bug
I get this error after using the latest version of the package :

@BENSAFOUAN-Abdelhalim this error doesn't exist in the latest version of the package. It only existed in v3 of the package.
Double check to make sure you're using v4.

thanks for your answer, but before i get this error, i already updated the package, i tested the latest version 4.04 but unfortunately i get the same 401 error.

@BENSAFOUAN-Abdelhalim this error will only happen if the apiKey parameter you're passing to the constructor is empty.
Try logging it before new ChatGPTAPI just to make sure it's not an empty value.

Thanks @transitive-bullshit , it worked now.


Training memory leak

During some longer training runs I noticed that the process RSS grows large enough that it can fill up all the available RAM. Seems that it might have something to do with the way buffers are being transfered and held between threads. Looking into this.

The memory leak seems to actually be affected by the TensorBoard metrics writer. Disabling it completely fixes this issue, but I'd still like to have some metrics logging before calling that a solution.


[ART-7544] Kick off SAST scan for successful builds

Run the scan-osh job and pass along the NVRs of the builds that succeeded.
Test run cut down ocp4 job. Which triggered scan-osh

/lgtm

squashed commits, re-added lgtm

Wait until US morning to merge.
/hold