gnmic retries stream subscriptions after INVALID_ARGUMENT error

Hi gnmic devs,
I'm using an OpenConfig server which (reasonably) returns a gRPC INVALID_ARGUMENT / error code 3 error when I request /system/|_@~\\ from it (regardless of whether I'm doing a get or a subscribe, and regardless of the --stream-mode). Using gnmic to make the request, if I use get then I see the INAVLID_ARGUMENT error returned. However, if I use subscribe then I don't see any error. Internally (from within the server) I can see it logs the invalid request every 10s (probably because of the default retry period as per --retry duration ... retry timer for RPCs (default 10s)) and the INVALID_ARGUMENT error that it's returning. I think gnmic should return instead of retrying if it sees that a subscription attempt returned INVALID_ARGUMENT (because the arguments aren't going to become valid on retries).
Thank you,
Colin

Yes, gNMIc does not look into the error code for Subscribe. That's something that can be enhanced.


Remove: Google.Chrome.Canary version 121.0.6128.2

Points to a downloader that installs the latest version instead of the current one
Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

URL: https://dl.google.com/tag/s/appguid={4EA16AC7-FD5A-47C3-875B-DBF4A2008C20}&usagestats=1&ap=-statsdef_1/update2/installers/ChromeSetup.exe
Status Code: 200
(Automated message - build 872)


Avoid updating cash balance if unchanged

Die to a change in ghostfolio, every run will add a row to the cash balance table.

Fixed while implementing other functionality


JS: add closure library in globalObjectRef

Recognizes goog.global as an alias for the global object.

Evaluation. Currently re-running on box2d. The "failures" seem to be snapshots that aren't part of closure.slugs, so not related.

Looks fine after re-running.

Excellent, thanks. Merging.
@hvitved, can we do something about the spurious "failed builds" in the report? (I think you added that feature.)


ignoreLocation still won't match for queries in longer strings

Describe the bug
I have a list of items with some of them having fairly long labels. Even with ignoreLocation set to true, I can't find the item I'm looking for if I'm searching for a query that lies at the end of the label.
Version
5.2.3
🔬Minimal Reproduction
the label:
"800w perforateur burineur sds+ 26mm en coffret tstak + 3 burins dt60330-quartz + 5 forets dt60302-quartz"
The query:
"dt60302"
Additional context
The config:
{
        ignoreLocation: true,
        minMatchCharLength: 3,
        keys: ["label"]
}

Loom link to live reproduction: https://www.loom.com/share/bf31e75441c84a1c8f0fc7af3f36517e

Updated to latest release (6.4.1) and it works as expected.


First cut at automating fetch of mocked data from a server

@andyvesel this is what I'm thinking for how we gather and structure the data.
Big pieces are instead of manually fetching each json snippet, we should automate all of the fetching.
The data is likely to change often, best to have a script fetch good data from known clusters and store it.
This way we can treat all of the generated data under './mocked_data/data' as replaceable.
Intent is that we will add functionality into kube_store.ts that will read all data under './mocked_data/data' and use the data from disk to serve requests.
I added a 'TIMESTAMP' file which tracks last time the data was gathered as well, so we can use that to compare against what is in localStorage, if the data from our repo is new then thinking we'd wipe data form localStorage and load from disk.

Note, I am intentionally committing data to 'mocked_data/data'.
The data committed is intended to be wiped out and re-fetched frequently, hence a TIMESTAMP is also created to track last time data was gathered.
Thought is that no one will make manual changes to anything under 'mocked_data/data'.
The expected usage is we will stand up a working environment with real data.
Then we will run 'gather_sample_data.sh', it will talk to the configured HOST and pull down all of the sample json data to use for mocks.
I am also intending to ensure we remove any sensitive aws credentials, so added a section to remove aws credentials and replace with dummy data.


osquery: 3.2.9 -> 3.3.2

Motivation for this change
Bumps osquery to the latest version available and clean up the derivation.
The PR consists of two commits:

36cdfa3: add libelfin, a new dependency of osquery.
64f373d: bump osquery to 3.3.2, please read the commit message for all details.

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg test osquery

It seems libelfin should be restricted to platforms.linux too

Ahh, you're absolutely right, fixed! :)


bad restore file magic number

I've installed Rstudio Version 1.1.463
R version 3.2.3
Linux Mint 18
I tried opening an older project that I haven't touched in a few months and got the error below.
I retried using the bookdown demo and got the same error.
How can I resolve this?
I tried a more current version of rstudio but it fails on mint with an libssl error.

load("~/bookdown-demo/bookdown-demo.Rproj")
Error: bad restore file magic number (file may be corrupted) -- no data loaded
In addition: Warning message:
file ‘bookdown-demo.Rproj’ has magic number 'Versi'
Use of save versions prior to 2 is deprecated

Why load("~/bookdown-demo/bookdown-demo.Rproj")? This file is not supposed to be load()ed into R.

Call it a long-day, late night, brain fart and accept my apologies.  I almost never use RStudio directly but build from a script instead.  The RStudio gui had me confused and I was trying to load the project file in the wrong window.

No worries!


[Bug] Tooltip is not showing upon hovering over Scroll content Widget: Form/Tabs.

Description
Tooltip is not showing upon hovering over Scroll content
Widget: Form/Tabs.
Steps to reproduce the behavior:

Go to link http://rc.app.appsmith.com/user/login
Login into Appsmith through your user credentials.
Go to the widget screen by clicking on the Add icon of widgets
Drag and drop the form/Tabs widget
Open property pane of form/Tabs widget
Hover over Scroll content
Tooltip is not showing for scroll content.

Important Details

Version: [Cloud]
OS: [MacOS]
Browser [chrome, safari]
Environment [release/frozen]

Video Link.

###Screenshot.
https://www.screencast.com/t/IJWxPV8AiD

add helper text for scroll content in form / tabs widget
helper: Enables scrolling for content inside the widget

I am interested in working on this if it is still available. Thank you!

I've assigned this to you @Cool-Runningz!

Thank you @areyabhishek! I will reach back out if I have further questions.

@areyabhishek Do we want the tooltip to be added for all the widgets that contain the scroll content label? Or just the Form and Tab widgets? I noticed that the tooltip is also not visible for widgets other a lot of other widgets so I wanted to confirm.

@Cool-Runningz please do add this for all widgets. That would be great :)

@Nikhil-Nandagopal Thank you for clarifying! I figured that might be the case so the work for that has been completed in the linked PR above.


Enable Plugins to create custom routes and middlewares

Hey a review would be appreciated. You can read what i added in the Plugin.md

We need this badly at deco.cx!! Can we help?

@guifromrio Sorry didn't see it, I think we would need help from someone with write access to resolve the merge conflicts

@RoeHH You should be able to resolve this conflict as well. If you add this, the main repo, as a remote to your local working copy and rebase this branch on top of the latest changes it will show you the conflicts and an opportunity to fix them. Currently it seems that the conflict is with the .gitignore file, which has been remove in main. If you remove the ignore file from this branch too, the conflict should be gone as well. However, rebasing would probably be good either way.

Closing as the changes here were included in #1455 🎉


Replace muxink with juliet in feat-1.6 branch

Use juliet instead of muxink as the underlying multiplex protocol implementation leverage by the networking component.

Housekeeping: Removed the duplicate/redundant release-blocker tag.


Get rid of manual workarounds to fix npm package downloads

Fixed #13

Unrelated to your change, but I spotted one more error in provider/resources.go, specifically in the Go specific settings.
In the definition of ImportBasePath, you use mainMod (value: index), while it should be mainPkg (value: astra).
Can you fix this?

Thanks! Fixed it.


Do not use wrappers for circular evaluation tracking

Fixes #27695.
Context
Apparently, providers are responsible for the significant part of the build's memory, and increasing their footprint by even a small margin is very noticeable. This PR replaces wrapper-based approach with explicit scope management.
Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test RfN, APT

I've triggered the following builds for you. Click here to see all build failures.

ReadyForNightly build
AllPerformanceTestsReadyForRelease build

@bot-gradle merge

The merge queue build has started. Click here to see all failures if any.

The merge queue build has failed. Click here to see all failures.

@bot-gradle merge

The merge queue build has started. Click here to see all failures if any.

The merge queue build has failed. Click here to see all failures.

@bot-gradle merge

The merge queue build has started. Click here to see all failures if any.


update packages

:white_check_mark: Build TheIdServer 7.3.1-fix-dependencies1-0041 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/09bf33b375 by @invalid-email-address)


Allow easy access to events from report object

Calling Report.events() will return a generator of all the events
belonging to the report.
Example of printing all the events for the last report of node 'node.example.com'
db = pypuppetdb.connect(host='puppetdb')
node = db.node('node.example.com')
for report in node.reports():
    for event in report.events():
        print event
    break

Practical example from puppetboard
   ...
    reports = puppetdb.reports('["=", "certname", "{0}"]'.format(node))

    for report in reports:
        if report.hash_ == report_id:
            events = report.events()
            return render_template(
                'report.html',
                report=report,
                events=yield_or_stop(events))

Let me know if I am on the right track :train2:

This will break backwards compatibility in its current form though, perhaps it needs a rethink :smile:

The functionality of this PR has been merged into PyPuppetDB release 0.2.0.


Styled the message bubble with Bootstrap

Styled the message bubble with Bootstrap by replacing the custom classes with Bootstrap classes. Removed the  tags within the message bubble, since it's no longer needed for spacing. Also added the day, month, year and seconds to the date and time section within the bubble.

Hello @LalitNM I'll work on these issues now and submit another pull request.

@ChristineJ82 FYI this never a good idea to leave an unmerged PR and open a new one. You can push your commits in the branch with which you made this PR(in this case your master branch). This PR will automatically update whenever you push to origin: master.

@LalitNM ok. this is my first time doing this so I'll keep that in mind. I'll continue working in this PR.

Celebrate @ChristineJ82 :rocket: your first pull request was successful.


running pywren deploy_lambda fails due to missing jobrunner.py

pywren deploy_lambda results in:
Traceback (most recent call last):
  File "/home/ubuntu/venv/bin/pywren", line 11, in <module>
    sys.exit(main())
  File "/home/ubuntu/venv/local/lib/python2.7/site-packages/pywren/scripts/pywrencli.py", line 711, in main
    return cli() # pylint: disable=no-value-for-parameter
  File "/home/ubuntu/venv/local/lib/python2.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/home/ubuntu/venv/local/lib/python2.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/home/ubuntu/venv/local/lib/python2.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/ubuntu/venv/local/lib/python2.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/ubuntu/venv/local/lib/python2.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/ubuntu/venv/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/ubuntu/venv/local/lib/python2.7/site-packages/pywren/scripts/pywrencli.py", line 299, in deploy_lambda
    zipfile_obj.write(f, arcname=a)
  File "/usr/lib/python2.7/zipfile.py", line 1123, in write
    st = os.stat(filename)
OSError: [Errno 2] No such file or directory: '/home/ubuntu/venv/local/lib/python2.7/site-packages/pywren/jobrunner/jobrunner.py'

jobrunner.py is in fact not in the package.

Just a note that when I manually copy the jobrunner.py file into place from github it works, but I imagine you want to get it into the package properly.
git clone https://github.com/pywren/pywren
mkdir /home/ubuntu/venv/local/lib/python2.7/site-packages/pywren/jobrunner
cp pywren/pywren/jobrunner/jobrunner.py /home/ubuntu/venv/local/lib/python2.7/site-packages/pywren/jobrunner/jobrunner.py

Ah looks like this is a packaging error. The default .whl file for pywren seems to contain the correct file, but the corresponding .tar.gz doesn't. This is due to an error in our setup.py file during build. Will fix it.
How did you install pywren btw?

This is still an issue when installing using pip

This is still an issue as of June 2019

This is still an issue as of Feb 2020


Code cleanup

Closes #64

One thing I forgot and that I'd also do is to sort components props in Svelte files.


Blocks end up with the wrong materials

Forge Version: <IP_ADDRESS>11
MC: 1.12.2
ArchitectureCraft: 3.80
No crash log.
I was using Quark's Polished Stone for a build, and made some into stairs with AC. When walking on those stairs, they acted like dirt with the sound (and Dynamic Surroundings considered them dirt for footprints). This is kind of annoying.

Is this in a released build? I am still having this issue with various materials (currently only tested planks and logs).

I used lastest version and i saw that the vanilla grass stairs get a cactus green dirt skin and when in hand it shows a dirt stairs.


rclone vs Robocopy?

Hi, I was just wondering if anyone knew why rclone is much slower for local destinations than Robocopy?
https://technet.microsoft.com/en-us/library/cc733145(v=ws.11).aspx
I use rclone for Google drive and backing up to a local NAS. Maybe I am doing something wrong?

Do you mean copying stuff from C: to D:?
And by much slower, how much slower?
One of the reasons will be that rclone is doing MD5SUMs of the files to check the data integrity.
I'd expect the platform native copying tool to be faster than rclone though in general.
Here is rclone vs cp on my linux box on the rclone source tree - here rclone is about 50% the speed of cp.  I tried it on a directory of bigger files (ISOs) and rclone was about 75% the speed of cp.
$ time cp -a . /tmp/rclone-cp-1

real	0m1.459s
user	0m0.012s
sys	0m0.496s

$ time rclone copy . /tmp/rclone-rclone-1
2016/06/06 13:57:33 Local file system at /home/ncw/Code/Go/src/github.com/ncw/rclone: Building file list
2016/06/06 13:57:33 Local file system at /tmp/rclone-rclone-1: Building file list
2016/06/06 13:57:35 Local file system at /tmp/rclone-rclone-1: Waiting for checks to finish
2016/06/06 13:57:35 Local file system at /tmp/rclone-rclone-1: Waiting for transfers to finish
2016/06/06 13:57:36
Transferred:     627.875MBytes (188.573kByte/s)
Errors:                 0
Checks:                 0
Transferred:         2620
Elapsed time:        3.3s

real	0m3.338s
user	0m6.912s
sys	0m0.952s

oh ok thanks for the info. I didn't realize it was checking MD5. That would explain it then. Thank you!

No problems!


[Polymer 3.0] Declaring class inside function makes polymer build fail.

Description
On Polymer 3.0, declaring class inside function makes polymer build fail.
Steps to Reproduce

Follow https://www.polymer-project.org/blog/2017-08-23-hands-on-30-preview
edit myapp.js so that

// ...
  constructor() {
    super();
    class Foo{};
    this.name = '3.0 preview';
  }
// ...

Expected Results
polymer build succeeds.
Actual Results
polymer build fails.
polymer build
info:    Clearing build/ directory...
info:    (default) Building...

    <script type="module" src="src/my-app.js"></script>
                              ~~~~~~~~~~~~~~~

index.html(9,30) error [could-not-load] - Unable to load import: Cannot read property 'properties' of null
error:   Promise rejection: Error: 1 error(s) occurred during build.
error:   Error: 1 error(s) occurred during build.
    at BuildAnalyzer._done (/usr/local/share/.config/yarn/global/node_modules/polymer-build/lib/analyzer.js:262:36)
    at BuildAnalyzer.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/polymer-build/lib/analyzer.js:222:26)
    at Generator.next (<anonymous>)
    at fulfilled (/usr/local/share/.config/yarn/global/node_modules/polymer-build/lib/analyzer.js:17:58)
    at <anonymous>

Versions
$ polymer --version
1.5.7

@farQtech


datastore: unclear exception when query fails due to no index

When applying a specific combination of filters to a query, if an index is not set an unusual exception occurs. Example:
firstname = "foo"
last_checked = datetime.datetime.now(datetime.timezone.utc) - datetime.timedelta(hours=1)
query = client.query(kind='people')
query.add_filter('first_name', '=', firstname)
query.add_filter('created_date', '>', last_checked)
results = list(query.fetch())
exception:
<class 'tuple'>: (<class 'grpc._channel._Rendezvous'>, <_Rendezvous of RPC that terminated with (StatusCode.INTERNAL, {"created":"@1476737648.089000000","description":"RST_STREAM","file":"src/core/ext/transport/chttp2/transport/frame_rst_stream.c","file_line":107,"http2_error":2})>, <traceback object at 0x000002325F840FC8>)
Please supply actionable text in the provided response

@tinyhydra Thanks for the report.  I'm not sure how to address it in google-cloud-python:  ITSM that the back-end is not providing any information that would let us produce a better error message.
/cc @jonparrott Do you know who we should talk to on the back-end team?

@pcostell maybe?

INTERNAL maps to a 500 error. @jonparrott and I had discussed having a generic catch-all to remap gRPC exceptions to our google.cloud.exceptions classes.
I'm not sure if a typical 500 error has more useful info?

See the mapping and previous discussion.
I got a little chuckle out of the description for INTERNAL:

Internal errors.  This means that some invariants expected by the underlying system have been broken.  This error code is reserved for serious errors.

Hey all --
This is likely due to gRPC issues that cannot translate newlines in exceptions (which were included in index precondition failures since we give you the actual error message).
These used to throw the correct status (PRECONDITION), but have since changed to be 500s.
We've fixed this to not use newlines for gRPC messages, @eddavisson can comment on the status of that change.

This issue can likely be closed as a dupe of https://github.com/GoogleCloudPlatform/google-cloud-datastore/issues/132

The fix is expected to be available in production this week. I'll update GoogleCloudPlatform/google-cloud-datastore#132 once it's out.

Hello,
One of the challenges of maintaining a large open source project is that sometimes, you can bite off more than you can chew. As the lead maintainer of google-cloud-python, I can definitely say that I have let the issues here pile up.
As part of trying to get things under control (as well as to empower us to provide better customer service in the future), I am declaring a "bankruptcy" of sorts on many of the old issues, especially those likely to have been addressed or made obsolete by more recent updates.
My goal is to close stale issues whose relevance or solution is no longer immediately evident, and which appear to be of lower importance. I believe in good faith that this is one of those issues, but I am scanning quickly and may occasionally be wrong. If this is an issue of high importance, please comment here and we will reconsider. If this is an issue whose solution is trivial, please consider providing a pull request.
Thank you!


Refactor SegmentPreProcessorTest and avoid using setters for IndexLoadingConfig

Sub-task of #14106

Fixed a bug in IndexLoadingConfig to proper load index type from FieldConfig
Removed the tests that are already covered by ForwardIndexHandlerTest

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

Project coverage is 0.00%. Comparing base (59551e4) to head (a17d64f).
Report is 1119 commits behind head on master.

:exclamation:  There is a different number of reports uploaded between BASE (59551e4) and HEAD (a17d64f). Click for more details.
HEAD has 48 uploads less than BASE

Flag
BASE (59551e4)
HEAD (a17d64f)

integration
7
2

integration2
3
2

temurin
12
2

java-21
7
2

skip-bytebuffers-true
3
1

skip-bytebuffers-false
7
1

unittests
5
0

unittests1
2
0

java-11
5
0

unittests2
3
0

integration1
2
0

custom-integration1
2
0

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #14143       +/-   ##
=============================================
- Coverage     61.75%    0.00%   -61.76%
=============================================
  Files          2436        3     -2433
  Lines        133233        6   -133227
  Branches      20636        0    -20636
=============================================
- Hits          82274        0    -82274
+ Misses        44911        6    -44905
+ Partials       6048        0     -6048

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <ø> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <ø> (ø)

java-11
?

java-21
0.00% <ø> (-61.63%)
:arrow_down:

skip-bytebuffers-false
0.00% <ø> (-61.75%)
:arrow_down:

skip-bytebuffers-true
0.00% <ø> (-27.73%)
:arrow_down:

temurin
0.00% <ø> (-61.76%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Allow for disabling of VCS edit buttons

We used to be able to disable the display of the VCS edit buttons by overriding some of context vars. Because we're explicitly setting this all in the template, we can't do this anymore though.
For example, it used to be possible to override display_github, but the template now forces based on the meta data we pass in on RTD:
https://github.com/rtfd/sphinx_rtd_theme/blob/8dd9211318fa4ec65303f4fc78e47277a30c4de7/sphinx_rtd_theme/breadcrumbs.html#L3-L25
The easiest way out of this is to check for display_* first perhaps?

It still seems to work for me, e.g. in the template https://github.com/mabuchilab/QNET/blob/develop/docs/_templates/breadcrumbs.html where I'm
doing {% set display_github = False %} based on a custom autogenerated tag.

See also: https://github.com/sphinx-doc/sphinx/issues/2386
The only way to remove the "Edit on GitHub" button seems to be through overwriting a huge block.
If someone says display_github is False, it should not be overridden in the template for any reason.

The block to override is huge only because it's generic: it supports github, gitlab, bitbucklet and so on. I highly doubt that any project will need to support more than one git provider in their project file. At the end, it's rather short here:
{%- extends "sphinx_rtd_theme/breadcrumbs.html" %}

{% block breadcrumbs_aside %}

    {% if hasdoc(pagename) and pagename != "search" and pagename != "genindex" %}
       {{ _('Edit on FramaGit') }}
    {% endif %}

{% endblock %}

Note that I wanted to (1) change the text and (2) don't add this for generated pages that don't exist in git.

Looks like overriding the block is the easiest way to solve this, @agjohnson any objections or do we want an option?

A set of options would probably still be the easiest option overall, yeah. This change doesn't seem like it would be complicated to add


Time-outs/outage/errors on uncached images (27-09-2024)

What I've noticed since this morning is that for certain images (most likely the new, not cached ones), the connections always time out.

We had some scheduler/threading issues from 27-09-2024 21:00 (CET) untill 28-09-2024 09:00 (CET) leading to high error-rates (~25%) on uncached images.
The automatic reloading of nginx config every few hours seems to have worsened the problem, leading to stalled or unresponsive threads.
We didn't catch this issue in earlier testing of some libvips code changes, as the reloading nginx under load is not part of automated tests.
We're sorry for the troubles caused, the partially outage surprised us as well.

Some graphs from one of our servers show what the impact was past night:


musing on texture mapping

been doing the threejs tutorial. just learned about texture mapping it i got to thinking whether it is similar to audio convolution, and perhaps there's something in this that could be optimized in terms of the flat ontology of mischmasch? ie, texture mapping onto a module convolves module's output spectra x spectra of texture

maybe for now its factored as a separate module:
inlet 1 > audio signal
inlet 2 > texture input [ drag cable from a texture; analyze texture as a spectrum]
knob 1 > convolution amt
outlet >


Video example title box should scale with the length of the title in it

In some languages the title box for video previews is too small and will cause weird cut-offs to happen:

Fixed


Input functions like ::prompt and ::menu should be moved to \Terminus\Helpers\Input

Helper functions should be clearly name-spaced and isolated in Helpers/Input.

These have mostly been done.


[QnA Authoring] Activate tests for null argument validation once bug is fixed

There is a bug in the LLC generator that causes certain validations to not be generated with the client. I have implemented a fix for this https://github.com/Azure/autorest.csharp/pull/1741 , but it is not yet included as part of the AutoRest.Csharp package.
Activate (Uncomment) tests for these validations when the bug fix has propagated. The tests can be found here.

This issue has been fixed and the tests have been enabled - https://github.com/Azure/azure-sdk-for-net/blob/aad3be7a5488a95a8c2fbdb2c2610d5f540fcd77/sdk/cognitivelanguage/Azure.AI.Language.QuestionAnswering/tests/QuestionAnsweringAuthoringClientTests.cs#L89


Load interview stats directly into a dataframe?

I'm wondering if we could save some overhead by loading from the database directly into a dataframe. As the number of rows grows, loading all records from the database is going to fail.
https://hackersandslackers.com/connecting-pandas-to-a-sql-database-with-sqlalchemy/

Are you hitting the point of slow downs or memory pressure now? How many rows do you have?
https://github.com/SuffolkLITLab/docassemble-InterviewStats/pull/10 did a lot of performance improvements, and if I can recall correctly, for general operations, we could work with 100k rows pretty easily. The commit notes in that PR say that we got up to 400k rows before we had to put the excel generation into a background process.
Dataframes are loaded entirely into memory too, so if you're thinking to the point where simply loading all the rows will fail, the dataframe would start failing pretty quickly as well. Happy to do more performance work, but I'd rather not make a lot superfluous changes that don't really help, and we'd need specific things to try to improve (like memory pressure or speed), at specific data sizes.


plugin in background-image v4

Bug, feature request, or proposal:
The ionic plug-in doesn't work
background-image: url('../assets/image/xxxx.png') The alarm
What is the expected behavior?
ionic v3  app.module.ts => providers in statement
ionic v4  The documentation is also an introduction
app.module.ts => providers in statement
However, an error was reported in the process used.

plugin Object(...) is not a function

ionic v3 background-image: url('../assets/image/xxxx.png')
ionic v4 background-image: url('../assets/image/xxxx.png')  error
What is the current behavior?
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?
I should have made a mistake in one step. Please tell me how to solve it

Hey @SmallProgramIndustry, this is not the ionic project. You should consider asking your question on StackOverflow or report an issue on the ionic repository.


Use GBIF's normalized Family names from provider

As in the subject. Raw Family names from publisher tends to be all over the place, caps, etc.

Implemented and deployed with latest data refresh 2020-07-29


Create not Omitting Embedded Structs

I've posted this SO question to see if there was a way to handle this:
https://stackoverflow.com/questions/75943586/gorm-createinbatches-with-embedded-struct-error
But, from what I'm finding, when you Create, the insert statement isn't omitting the sub objects if you have the embedded tag on them. Is there a way around this so I can use the embedded tag for SELECT JOINs and not when doing INSERTS?

Initially, I thought this would work but it doesn't as gorm doesn't include embedded struct in the schema field names
db.Omit("EmbeddedStruct").Create(&myStruct) // doesn't work

This works but it's not very elegant
db.Omit("embedded_field_1", "embedded_field_2").Create(&myStruct)

My suggestion would be to remove the embedded tag and do SELECT JOINS like this
db.Joins("EmbeddedStruct").Find(&myStruct)

Currently, when parsing the schema, the embedded information for searching is not marked, even if it has been stored in these places
https://github.com/go-gorm/gorm/blob/32fc2015543c41557a364d45213ca6c710b478bd/schema/schema.go#L29
https://github.com/go-gorm/gorm/blob/32fc2015543c41557a364d45213ca6c710b478bd/schema/field.go#L56
We can optimize SelectAndOmitColumns to support it
https://github.com/go-gorm/gorm/blob/32fc2015543c41557a364d45213ca6c710b478bd/statement.go#L689
I'm not sure this is a practical feature, if anyone wants to support this feature, please leave a comment in the issues so it will be listed as a feature.


simple example of where type provenance would be helpful

In this example:
import Html

type Action = Change Float

init = { f = 2.5 }
update (Change f) c = { c | f <- f }
render c = toString c |> Html.text

mbox = Signal.mailbox 2.5
actions = Signal.map Change mbox.signal
model = Signal.foldp update init
main = model |> Signal.map render

In this case, the problem is that I forgot to pass actions as the last argument on line 11.
The following error is produced:
-- TYPE MISMATCH --------------------------------------------------------------

The right argument of (|>) is causing a type mismatch.

11|
12|        model |> Signal.map render
13|                 ^^^^^^^^^^^^^^^^^

To be more specific, as I infer all the types, I am seeing a conflict between
this type:

    Signal.Signal Main.Action -> Signal.Signal { f : Float }

and this type:

    Signal.Signal a

The error could be improved by stating that model is the thing of type Signal.Signal Main.Action -> Signal.Signal { f : Float }

Here is the 0.16 error:

I'll let you decide if this resolves the issue.

I think giving more comprehensive type information should not be in the console errors. I think this is better suited for type exploration within editors, and I expect keeping this issue open will not help us do that well.


Issue with TimeGenerated Python script

The statement is not really correct, it over estimates the output.
"Changing the source of the TimeGenerated field
By default, the Log Analytics agent populates the TimeGenerated field in the schema with the time the agent received the event from the Syslog daemon. As a result, the time at which the event was generated on the source system is not recorded in Azure Sentinel.
You can, however, run the following command, which will download and run the TimeGenerated.py script. This script configures the Log Analytics agent to populate the TimeGenerated field with the event's original time on its source system, instead of the time it was received by the agent."
In the CEF schema there is a ReceivedTime value which is in Unix datetime, this python script cannot parse the ReceiveTime Unix time value to adjust the GeneratedTime value in the Log Analytics workspace
Current workaround is to adjust the TimeGenerated in the Log Analytics Workspace to modify the RT time to Normalized time and then replace the TimeGenerated time from the RT time.

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

ID: 9cbfa632-1612-9d5f-7f36-3128d7305f14
Version Independent ID: 000c1405-b54f-6668-daac-ac69c97d9601
Content: Get CEF-formatted logs from your device or appliance into Azure Sentinel
Content Source: articles/sentinel/connect-common-event-format.md
Service: azure-sentinel
Sub-service: azure-sentinel
GitHub Login: @yelevin
Microsoft Alias: yelevin

@roflemin
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

Hi @roflemin,
Thanks for writing into docs! We're going to take this back to the team to validate and update the docs as needed in a coming publish.
We always welcome your contributions to docs. I'm going to close this issue for now as it's in our backlog, but feel free to continue commenting if you have more feedback.
#please-close


chore: bdd-spring-1584520092 to 0.0.1

chore: Promote bdd-spring-1584520092 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


fix(curriculum): erroneous answer option in Debug a C# Console Application Using Visual Studio Code challenge

…sual-studio-code.md
fix(learn): fixed erroneous answer option in Debug a C# Console Application Using Visual Studio Code challenge
Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

LGTM @sshazim 🎉 Congratulations on your first contribution to the freeCodeCamp repo 🎉


       This can be used to decode a JSON document from a string that may
       have extraneous data at the end.

       """
       try:
           obj, end = self.scan_once(s, idx)
       except StopIteration as err:
>           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
/usr/local/lib/python3.6/json/decoder.py:357: JSONDecodeError
----------------------------- Captured stderr call -----------------------------
[I 191216 18:54:12 utils:75] Sending request data: {"instances": [[6.8, 2.8, 4.8, 1.4], [6.0, 3.4, 4.5, 1.6]]}
[I 191216 18:54:12 utils:77] Got response code 404, content b''
------------------------------ Captured log call -------------------------------
INFO     root:utils.py:75 Sending request data: {"instances": [[6.8, 2.8, 4.8, 1.4], [6.0, 3.4, 4.5, 1.6]]}
INFO     root:utils.py:77 Got response code 404, content b''

What did you expect to happen:
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:

Istio Version:
Knative Version:
KFServing Version:
Kubeflow version:
Minikube version:
Kubernetes version: (use kubectl version):
OS (e.g. from /etc/os-release):

@yuzisun Seems the problem cannot be reproduced 100%. Thanks

@cliveseldon @jinchihe e2e test polls the service ready condition and then sends the request to the service, looks it is a real bug in controller how we report readiness. I suspect here is the issue, we call creating virtual service and immediately mark it "ready" https://github.com/kubeflow/kfserving/blob/master/pkg/controller/inferenceservice/resources/istio/virtualservice.go#L286.

@yuzisun Yes, I check the E2E test, I think that's not env problem, may be our code issue.

/P1
we need to take this as high priority, the CI tests have been broken, and reproduce easily.
@cliveseldon Would you have time to take a look? Thanks!

/priority p1

/close


ImportError issued when importing jax in macOS Big Sur

Hello,
I just installed jax and jaxlib under macOS 11.1 (Big Sur) and Python 3.8.5, and issued a pip install --upgrade pip tensorflow jax jaxlib to start playing around with jax. At first attempt, import jax fails:
ImportError: dlopen(/Users/lucchem/opt/miniconda3/lib/python3.8/site-packages/jaxlib/xla_extension.so, 2): Symbol not found: __ZN10tensorflow8profiler11MonitorGrpcERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKNS_14MonitorRequestEPNS_15MonitorResponseE
  Referenced from: /Users/lucchem/opt/miniconda3/lib/python3.8/site-packages/jaxlib/xla_extension.so
  Expected in: flat namespace
 in /Users/lucchem/opt/miniconda3/lib/python3.8/site-packages/jaxlib/xla_extension.so

pip show pip jax jaxlib tensorflow outputs:
Name: pip
Version: 21.0.1
...
---
Name: jax
Version: 0.2.10
...
---
Name: jaxlib
Version: 0.1.63
...
---
Name: tensorflow
Version: 2.4.1
...

is there any fix? Thank you in advance.

Same problem on Catalina, Python 3.7

Duplicate of #6111
Use 0.1.62 for now until we push a new release.

Hello,
I just installed jax and jaxlib on MacOS 10.12.6 and Python 3.8 using ANACONDA and I get:
ImportError: dlopen(/Users/lucchem/opt/miniconda3/lib/python3.8/site-packages/jaxlib/xla_extension.so, 2): Symbol not found: __ZN10tensorflow8profiler11MonitorGrpcERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKNS_14MonitorRequestEPNS_15MonitorResponseE
Referenced from: /Users/lucchem/opt/miniconda3/lib/python3.8/site-packages/jaxlib/xla_extension.so
Expected in: flat namespace
in /Users/lucchem/opt/miniconda3/lib/python3.8/site-packages/jaxlib/xla_extension.so
Any clue how to fix that?
Thanks,
Olivier


[#1117] fix missing osgi headers

fixes https://github.com/apache/shiro/issues/1117
Following this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GitHub issue filed
for the change (usually before you start working on it).  Trivial changes like typos do not
require a GitHub issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Format the pull request title like [#XXX] - Fixes bug in SessionManager,
where you replace #XXX with the appropriate GitHub issue. Best practice
is to use the GitHub issue title in the pull request title and in the first line of the commit message.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] add fixes #XXX if merging the PR should close a related issue.
[x] Run mvn verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If you have a group of commits related to the same change, please squash your commits into one and force push your branch using git rebase -i.
[x] Committers: Make sure a milestone is set on the PR

Trivial changes like typos do not require a GitHub issue (javadoc, comments...).
In this case, just format the pull request title like [DOC] - Add javadoc in SessionManager.
If this is your first contribution, you have to read the Contribution Guidelines
If your pull request is about ~20 lines of code you don't need to sign an Individual Contributor License Agreement
if you are unsure please ask on the developers list.
To make clear that you license your contribution under the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

[x ] I hereby declare this contribution to be licenced under the Apache License Version 2.0, January 2004
[ ] In any other case, please file an Apache Individual Contributor License Agreement.

@jherkel thank you for your contribution! Let me test it on a fresh Karaf.
I'll keep you posted.

supercedes by https://github.com/apache/shiro/pull/1158


Curate list of Badger integrations

Summary
Curate a list of which applications and websites have badger integrations.  We should highlight all Badger uses, but highlight interesting integrations (payments, part of the app) over simple integrations (donations).
Badger Integrations

Satoshi Stack - https://satoshistack.cash
Satoshi Dice - https://satoshidice.com/
Sideshift.ai - https://sideshift.ai/

Badger Donations

Coinspice - https://coinspice.io
BuyHodlSell - https://buyhodlsell.com

Integrations

Krave - https://krave.xyz/
Bitcoinfiles - https://bitcoinfiles.com/
Cashy - https://cashy.tools/

Donations

Green Pages - https://greenpages.cash

http://potodds.cash

Added lazyfox


Adding singleton tests

Description
Add your description here!
Checklist
To ensure a quick review and merge, please ensure:

[ ] The PR has a understandable title and description explaining the why and what.
[ ] The PR is opened in draft if not ready for review yet.

If opened in draft, please allocate sufficient time (24 hours) after moving out of draft for review

[ ] The branch is recent enough to not have merge conflicts upon creation.

Ready to Land?

[ ] Build is completely green

Submissions with test failures require tracking issue and approval of a CODEOWNER

[ ] At least one +1 review by a CODEOWNER
[ ] All -1 reviews are confirmed resolved by the reviewer

Override/Marking reviews stale must be discussed with CODEOWNERS first

No shared code impact.

Yup. You were auto added. I will explicit add you guys as Assigned if shared code is impacted. Thanks

No worries, it's my way of saying "I looked at this, and I don't see anything to comment on since it's all mgmt stuff, so go ahead"


Issue with conflicting contexts when they share a variable name

Describe the bug
When using preact with vite, a conflict arises when multiple contexts are defined using the same variable name. Even if these contexts are created in separate files, if they are assigned to the same variable name, they seem to override each other. This only happens when running npm run dev, not when running npm run build or npm run preview.
To Reproduce
I created a minimal example exhibiting this behavior: https://github.com/rjvdw/preact-context-bug. Foo.jsx, Bar.jsx and Baz.jsx all define their own context. Foo.jsx and Bar.jsx use const ctx = createContext, whereas Baz.jsx uses const ctxBaz = createContext.
Expected behavior
When running this app, you are presented with three buttons. I would expect each button to only increment the counter directly next to this button, but instead the counters for Foo.jsx and Bar.jsx are linked. I.e. when I increment Foo, Bar is also incremented and vice versa. The counter for Baz is working as intended.

I took a look into this and it seems to be caused by Prefresh our HMR implementation. When enabled two of the three signals share the exact same reference. When Prefresh is disabled it works as expected.
It can be disabled by changing the vite config to this:
export default defineConfig({
  plugins: [preact({ prefreshEnabled: true })],
});

I wonder if something isn't properly unsubscribed or something.


ValueConstraint: Assert column values in set

Description

IN operator, new field for the set in ValueConstraintMsg, checks for value errors, adapting to_protobuf and from_protobuf.
Function columnValuesInSetConstraint() and tests for the changes
General Checklist

[ ] Tests added for this feature/bug
if it was a bug, test must cover it.
[ ] Conform by the style guides, by using formatter
[ ] Documentation updated
[ ] (optional) Please add a label to your PR

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 80.149%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
3726

Relevant Lines:
4516

💛  - Coveralls


Use Mojave Python Build for macOS Application

Description of Changes
This just tests the ability to change Python's deployment target. Will this resolve spyder-ide/website-spyder#194?
Issue(s) Resolved
Fixes spyder-ide/website-spyder#194
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct:
@mrclary

@ccordoba12, with the latest commit I was able to explicitly use Mojave bottles for both Python and spatialindex. Furthermore, I've been able to: 1) successfully launch the full Spyder.app on both Catalina and Big Sur; 2) confirm that code snippets work on both platforms; 3) confirm that the internal interpreter has sysconfig variable MACOSX_DEPLOYMENT_TARGET = '10.14' on both platforms.
If you can confirm that the latest artifact works on Mojave, I'd say we're golden.

@ccordoba12, Tangentially, I wonder if it would be better practice to build only the full version on merge requests (for testing, etc.) and build both full and lite versions only on releases. I think that the build process can be quite lengthy (in particularly the dmg, and I don't know why); while the builds nominally run in parallel, it may still be prudent to reduce unnecessary resource load. Do we have any resource limitations with GitHub? What are your thoughts?

I'm getting the following error with this artifact when switching projects.
File "watchdog/observers/fsevents.pyc", line 283, in run
SystemError: <built-in function add_watch> returned NULL without setting an error

Don't know if this was introduced by this changeset or not. Don't know if it is unique to Catalina yet.

@ccordoba12, I don't know if you got a chance to test this on Mojave, but it is ready for merge if you want to include this before releasing 4.2.2

I don't know if you got a chance to test this on Mojave

I'll test it later today.

it is ready for merge if you want to include this before releasing 4.2.2

Do you feel confident enough to include this in 4.2.2?

Do you feel confident enough to include this in 4.2.2?
I've been using the artifact on Catalina for my normal work and have not found any issues. I did not do any extensive testing on Big Sur, but it appears to be fine there as well. I think it should be fine to include in 4.2.2 as far as they are concerned. However, the point was to fix the app for Mojave users, so if this did not work for them, then there is no point; if it does work for Mojave, then it would be a good inclusion for 4.2.2.

Ok, I just tested the new installer and it's failing with the following traceback:

After taking a look at PyPI, I noticed that the latest available Cython version doesn't provide wheels for Python 3.9, so the one that ended up in the installer was compiled from its tarball in 10.15, hence the failure.
I would also advice to take a look at Tcl/Tk because I guess we need to install its Mojave bottle too.

@ccordoba12, it actually looks like zmq is giving the error. Looking at the build log I see that pyzmq is installed from a 10.15 universal wheel, which would include the libraries built on 10.15. I changed the build to install pyzmq from a 10.9 wheel, so maybe that will work. For good measure, I also installed all of Python's dependencies from Mojave bottles too, including Tcl/Tk.
If this doesn't work, then I don't think there is anything we can do about it in our Pipline. Perhaps some charitable soul is willing to build it on a Mojave system whenever we have a release?

I don't have more time to test this, sorry. So I'm leaving it for Spyder 5.

@ccordoba12, closing this PR since we are agreed that we will not support Mojave builds in our pipeline. See comment


Make the website looks somewhat ok

Currently, the website looks very bad. Please help with adding some CSS to the style.css file

Hi @Amor-Amor, i would like to be assigned to this issue.What can do i do?? Do you have some idea about the design?? Already have something from the site in deploy??


Issue #SB-00000 merge: release-4.8.1 to release-4.8.5

@Hari-stackroute Resolve the conflicts properly to merge into latest branch.
@maheshkumargangula Why the environment variables have removed?


Daemond flag not removed and workflow not completed when daemon pod deleted.

Summary
What happened/what you expected to happen?
Daemond flag in NodeStatus not removed and workflow not completed when daemon pod deleted.
When daemon pod deleted, code blow may be unreachable.
https://github.com/argoproj/argo/blob/v2.11.8/workflow/controller/operator.go#L1089

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

@lonsdale8734 have you seen this in the wild? Do you have steps to reproduce please?


do hostname validation in commands.go instead of Host.Create()

this prevents broken host entries from hanging around in the "db" because of a bad hostname which require an rm -f
Signed-off-by: Aaron Welch<EMAIL_ADDRESS>

@hairyhenderson ah sure, works for me, will hopefully have a moment tomorrow to update this...

cc @ehazlett I'd close this as it's a dupe of that one just merged
Thanks for the contribution @crunchywelch !  Hope to see you around more.

@crunchywelch as @nathanleclaire mentioned, this has been fixed in another commit.  thanks for the contribution!

thanks @nathanleclaire @ehazlett sounds good!


Adds Radiant Media Player to Prebid Video > Examples section

Hi,
I work at Radiant Media Player, a HTML5 video player like JW player or Flowplayer.
We have been working with several customers on implementing Prebid with our player and came up with our own repo at https://github.com/radiantmediaplayer/rmp-prebid, which includes examples on how to use our player and Prebid.js for client-side adapter/Prebid Server. Since we are also a Google IMA certified partner, I think it would be of value to Prebid users to have us listed under Prebid Video > Examples of your documentation (among other players already listed). We are happy to make the PR for that addition, I just want to run it by you before we go ahead.

@radiantmediaplayer  - sure, go ahead and submit the docs PR.


Added getting parts of set

Hi,
I added the functionality to get the parts of a certain set. Is this the way how you would like your library to work? If so, I'd volunteer to further extend the library.
btw, from a different perspective: do you trust the set parts of Rebrickable as much as the set parts of Bricklink?

Hi,
I added the functionality to get the parts of a certain set. Is this the way how you would like your library to work? If so, I'd volunteer to further extend the library.

Heyho,
yes, absolutely!

btw, from a different perspective: do you trust the set parts of Rebrickable as much as the set parts of Bricklink?

I'd use Bricklink as the source of truth because reliable data is a critical part of their business (many stores rely on parting out sets). On the other hand Rebrickable provide more data but my personal experience is that it's sometimes incomplete.
br

Got it, thanks!
Bricklink just seems to be slow in providing the 2023 set inventories, e.g.
https://www.bricklink.com/v2/catalog/catalogitem.page?S=75579-1&name=Payakan the Tulkun & Crabsuit&category=[Avatar][The Way of Water]#T=S&O={"iconly":0}


Error in main.py

I am runing opencv 3.0, python 3.5 in ubuntu 16.04
When I run:
python main.py ~/MovieProcessing/alvaro/delete/p6-1.png --display
here is the image

I get the error
OpenCV Error: Sizes of input arguments do not match (The operation is neither 'array op array' (where arrays have the same size and type), nor 'array op scalar', nor 'scalar op array') in binary_op, file /home/aulloa/src/opencv/modules/core/src/arithm.cpp, line 225
Traceback (most recent call last):
File "main.py", line 197, in
img_msk = process(img_col, args=args)
File "main.py", line 188, in process
return detector.process(image)
File "main.py", line 125, in process
self.get_mask_rgb(img)
File "main.py", line 61, in get_mask_rgb
msk_rgb = cv2.bitwise_and(mask_a, mask_b)
cv2.error: /home/aulloa/src/opencv/modules/core/src/arithm.cpp:225: error: (-209) The operation is neither 'array op array' (where arrays have the same size and type), nor 'array op scalar', nor 'scalar op array' in function binary_op

Hi;
I believe this is a problem with OpenCV 3.X, I've only run it on 2.7. I'd suggest that you check if the interface for cv2.bitwise_and has changed.

It has the same functionality. I think the problem comes from tha data type of mask_a or mask_b.

@alvarouc Hi,
Have you reached to fix it ?

I don't know how to fix it. I ended up building a custom solution.

@Clemence-ECL
Hey,
About six months ago I cleaned up quiet a bit of the skin detector code. Just wondering what problems you're having?

@WillBrennan
Hey,
Just found the issue and updated the code. Now there would be no issue it running on python3 also.

Issue fixed in #9


host memory leak in device_vector spotted

https://github.com/MGfoundation/mgcpp/blob/511dc98d1a4d0f41c562b4552aaa7119a75eff90/include/mgcpp/vector/device_vector.tpp#L67
Host memory allocation is actually unnecessary and never deallocated.

fixed


Shift clicking bin's dupe

When shift clicking a bin from a crafting grid where you are filling it with material I discovered that it will put several different bins in your inventory with varying inventory sizes of the item you where using.
I discovered this when putting a stack of cobblestone in my bin in my players crafting grid. I shift clicked it out of my players crafting grid and suddenly my inventory filled with around 10 bins with varying amounts of cobblestone that added up to well over the combined storage size of the original bin. I was able to duplicate this several times with varying levels of cobblestone. I am not sure if it works on other storage items besides cobblestone since I was sick of filling my inventory with bins.

Should be fixed


Changing the content-length header results in an internal server error

This URL causes an internal server error
http://httpbin.org/response-headers?Content-Length=string

That's not a valid content length value. It should be a number. Also not
sure if that will be overridden or not. Can you describe more what you're
trying to do?
On Tue, Mar 3, 2015 at 10:14 AM, Aniket Panse<EMAIL_ADDRESS>wrote:

This URL causes an internal server error
http://httpbin.org/response-headers?Content-Length=string
—
Reply to this email directly or view it on GitHub
https://github.com/Runscope/httpbin/issues/219.

Why would you want to set a custom Content-Length in the first place? If you want to test misbehaving servers use pathod.

It is a case of testing misbehaving servers and pathod seems to be the right thing to use here. Closing this issue.

I think we should certainly return a more informative message and a better response code though.

Changing it to a number results in a 502:
502 Bad Gateway
The server returned an invalid or incomplete response.

So that's an infrastructure problem with @Runscope's deployment of HTTPbin. I suspect whatever is running in front of HTTPbin is doing The Right Thing™ and assuming the service is borked when it returns a content-length different from the length of the body. I also don't think whatever that service is should be changed.

Thanks for pinpointing that. That's coming from nginx and not something we want to change right now.


Bugfix for failed logins

Hi,
thanks for this exporter, its very helpful for monitoring!
However, I encountered a bug because vim added a line break after the password in the password file. On launching the program, it always showed the error

2020/03/19 01:01:28 failed to refresh collector: failed to list v servers: failed to execute command: insufficient client permissions map[failed_permid:3] (2568)

but did not terminate.
This was caused by a missing return on "login failed" when authenticating for tsQuery. The problem just kept running, leading to permission error on each query.
I also added trimming of linebreaks in order to handle auto-inserted linebreaks in the password file more gracefully.

I additionally fixed some copy-paste-mistakes for metrics and added the metric "query_clients_online".
I also updated the tests accordingly.

Thank you for this very solid PR. Moreover, thank you for fixing those copy+paste mistakes!

Released this as v0.0.3.


Why there's not been a new release yet to encompass Electron 2.0?

Is there anything blocking it or is just lack of time from the maintainers?
Thanks


feat: adding support for any environment name

adding support for any environment name

:tada: This PR is included in version 1.0.0-beta.21 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.9.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

@all-contributors please add @dafnaassaf for code


How XGBoost sample_weights alternate the objective function formula?

From my understanding and reading  post https://github.com/dmlc/xgboost/issues/144
when sample_weights are used, then first and second gradient
g_i and h_i are multiplied with sample_weights so that for each instance i:
grad_xgb[i] = grad[i] * case_weight[i]
hess_xgb[i] = hess[i] * case_weight[i]
The 2016 paper ‘XGBoost: A Scalable Tree Boosting System’ states that,
if we remove the constant terms, the objective function at step t is given in eq.3

The question is: How eq.3 is alternated when using sample weights?
Is it as simple as that:
(g_i*case_weight[i])*ft(xi)+1/2(h_i * case_weight[i]) (ft)power of 2(xi) + Ω(ft)
In other words, just substituting g_i, and h_i with grad[i] * case_weight[i] and hess[i] * case_weight[i]  respectively?
Unfortunately, the links provided in post 144 are broken.

Yes, it's multiplied into gradients. It's also used in some other places like sketching.

Great, thanks for the response!

Feel free to reopen if there are further questions.

One more question.
In the case of  sample_weights, do we also multiply the gradients (gi,hi) to the sample_weights when calculating the Gain function? Like g_i * case_weight_i, h_i * case_weight_i, for all gradients in the gain function below?

Dear Jiaming,
Sorry to disturb you. I tried to reopen the issue, but the button seems deactivated.
I made a comment, but as I am not sure if you are notified, here is my follow-up question:
In the case of sample_weights, do we also multiply the gradients (gi,hi) to the sample_weights when calculating the Gain function? Like g_i * case_weight_i,  h_i * case_weight_i, for all gradients in the gain function below?
[image]https://private-user-images.githubusercontent.com/76202645/332774805-2ce9b35f-83af-4c11-bd72-5c0561809b9f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTY4NzI4MDQsIm5iZiI6MTcxNjg3MjUwNCwicGF0aCI6Ii83NjIwMjY0NS8zMzI3NzQ4MDUtMmNlOWIzNWYtODNhZi00YzExLWJkNzItNWMwNTYxODA5YjlmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTI4VDA1MDE0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIzZTE5MDU0OGVmZGQ1NTAzODhiZTBlM2ZiOTMwN2UyYjBlZGM3YmQ3OTEzMGFiNGEwNmY0ODMyZjA4ODBiNGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.7BegQZ_LieROeQzoIaovn6O95UllNA4RnvfBZPMx_9o
Your response is highly appreciated,
Best,
George

From: Jiaming Yuan @.>
Sent: Tuesday, May 21, 2024 7:20 PM
To: dmlc/xgboost @.>
Cc: geogreko @.>; Author @.>
Subject: Re: [dmlc/xgboost] How XGBoost sample_weights alternate the objective function formula? (Issue #10297)
Feel free to reopen if there are further questions.
—
Reply to this email directly, view it on GitHubhttps://github.com/dmlc/xgboost/issues/10297#issuecomment-2122406113, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASFMFFIBIBI4WPPWDJKQ3NDZDMUX5AVCNFSM6AAAAABH3ZHUROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRSGQYDMMJRGM.
You are receiving this because you authored the thread.Message ID: @.***>


Support metrics APIs for agent plugin

In the 8.1.0, we have supported our own toolkit library and MicroMeter integration for metrics in the java application. Now, ShardingSphere community is requesting to collect metrics in the agent plugin system.
Right now, the transform and adapter systems are for toolkit with activation. In the agent core, we need this kind of simple APIs, such as MeterFactory#createCounter, for use inside the agent.

IMO, It's a very interesting feature. We are also working on the metrics for the agent side recently, for example the metrics of Kafka producer and consumer.
My question is whether it is possible to use micrometer in the plugin thru MeterBinder. Then everything would be extremely easy in the sense that there are a lot of micrometer implementations now.
I suppose so far the micrometer plugin is only available for the application.

MicroMeter has been supported for a while. This is for auto instrumentation metrics collection.

I suppose so far the micrometer plugin is only available for the application.

Don't know what this means. @lujiajing1126

I suppose so far the micrometer plugin is only available for the application.

Don't know what this means. @lujiajing1126

I understand the micrometer support can be introduced by including apm-toolkit-micrometer-registry as a dependency in the service. And this requires manual work which is documented here https://github.com/apache/skywalking/blob/master/docs/en/setup/service-agent/java-agent/Application-toolkit-micrometer.md
But I am wondering if it is possible to support micrometer in the core part. So we can adapt a collection of MeterBinder provided by the community of micrometer. For instance KafkaClientMetrics, we can use it directly in the constructor interceptor of KafkaProducer and KafkaConsumer which thus does not need any manual code in the application.

But I am wondering if it is possible to support micrometer in the core part. So we can adapt a collection of MeterBinder provided by the community of micrometer. For instance KafkaClientMetrics, we can use it directly in the constructor interceptor of KafkaProducer and KafkaConsumer which thus does not need any manual code in the application.

This is very dangerous to do the integration. Use a 3rd party APIs and its implementation in the agent core would face the class loader issue. You should have noticed, we never introduce any other libs in the agent, unless the agent core uses itself, and it would be shaded in another package name to avoid conflict.
From my understanding of the micrometer system, KafkaClientMetrics is at the instrumentation side, once you activated that, and also activated the SkyWalking register, the metrics will flow into agent core directly. Have you tested?

This is very dangerous to do the integration. Use a 3rd party APIs and its implementation in the agent core would face the class loader issue. You should have noticed, we never introduce any other libs in the agent, unless the agent core uses itself, and it would be shaded in another package name to avoid conflict.

Yes. I fully understood this concern. But also I believe as long as we shade the library and all its dependencies, that would not be a problem. We have developed some other agent which includes micrometer in the agent, of course with package shades. Everything works well except that we cannot talk to this kind of API from the application with any shaded class which is a known caveat.

From my understanding of the micrometer system, KafkaClientMetrics is at the instrumentation side, once you activated that, and also activated the SkyWalking register, the metrics will flow into agent core directly. Have you tested?

Anyway, we will have an investigation first.

As I mentioned, shade is not the problem, the problem is why you need this. API-based instrumentation(Prometheus SDK or MicroMeter) solution should not be mixed with the agent. That breaks the design at the both side.
If you have some private agenda on this, it is fine. But base on your given information, it doesn't make sense to me.

As I mentioned, shade is not the problem, the problem is why you need this. API-based instrumentation(Prometheus SDK or MicroMeter) solution should not be mixed with the agent. That breaks the design at the both side.
If you have some private agenda on this, it is fine. But base on your given information, it doesn't make sense to me.

I see what you meant. So I guess the so-called native implementation without third-party dependency is still acceptable in the community, right?

I don't know what do you mean acceptable. To accepy what? I think I am losing the context.

I don't know what do you mean acceptable. To accepy what? I think I am losing the context.

I mean we can contribute some implementations of the metrics for the instrumented library, for example the metrics of Kafka producer and consumer with the help of metrics API provided by Skywalking agent (Probably after the current issue is resolved).

Yes, that is what these APIs for. We also require backend analysis config file and UI config. Then users could have these out of box.

Note, mostly, we expect these plugins are monotoring Kafka server. Consumer and producer have been traced already. Then we could have a real Kafa dashboard.


Release assembly jar

closes #386

sbt publishLocal

$HOME/.ivy2/local/ai.eto/rikai_2.12/0.1.9-SNAPSHOT/jars/rikai-spark312-assembly_2.12.jar

SPARK_VERSION=3.2.1 sbt publishLocal

$HOME/.ivy2/local/ai.eto/rikai_2.12/0.1.9-SNAPSHOT/jars/rikai-spark321-assembly_2.12.jar

sbt clean assembly

rikai-spark312-assembly_2.12-0.1.9-SNAPSHOT.jar

SPARK_VERSION=3.2.1 sbt clean assembly

rikai-spark321-assembly_2.12-0.1.9-SNAPSHOT.jar

Would other people get it from maven central?
If do so, a sbt definition like
"ai.eto"      %% "rikai-spark321-assembly" % "0.1.8"
would be translated to
rikai-spark321-assembly_2.12.jar.
If we don't need it on maven central, then the current name format should be ok.

@changhiskhan please review, I've updated it for a while.


Sign_in gives the error: undefined local variable or method `session'

I try to sign_in a user if it is logged in with CASino and it tries to edit its account, but I get the error: undefined local variable or method `session'
class RegistrationsController < Devise::RegistrationsController
  include CASino::SessionsHelper

  before_action :ensure_signed_in, only: [:edit]
  skip_before_filter :authenticate_scope!, only: [:edit]

  def edit
    if current_user
      Class.new.extend(Devise::Controllers::Helpers).sign_in(:devise_users, DeviseUser.find(current_user.id))
    end

    super
  end
end

Rails: 4.2.3
Devise: 3.4.1
Full trace:
devise (3.4.1) lib/devise/controllers/sign_in_out.rb:89:in `expire_data_after_sign_in!'
devise (3.4.1) lib/devise/controllers/sign_in_out.rb:35:in `sign_in'
app/controllers/registrations_controller.rb:9:in `edit'
actionpack (4.2.3) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.2.3) lib/abstract_controller/base.rb:198:in `process_action'
actionpack (4.2.3) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.2.3) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.2.3) lib/active_support/callbacks.rb:115:in `call'
activesupport (4.2.3) lib/active_support/callbacks.rb:115:in `call'
activesupport (4.2.3) lib/active_support/callbacks.rb:553:in `block (2 levels) in compile'
activesupport (4.2.3) lib/active_support/callbacks.rb:503:in `call'
activesupport (4.2.3) lib/active_support/callbacks.rb:503:in `call'
activesupport (4.2.3) lib/active_support/callbacks.rb:88:in `run_callbacks'
actionpack (4.2.3) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.2.3) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.2.3) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
activesupport (4.2.3) lib/active_support/notifications.rb:164:in `block in instrument'
activesupport (4.2.3) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.2.3) lib/active_support/notifications.rb:164:in `instrument'
actionpack (4.2.3) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.2.3) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.2.3) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.2.3) lib/abstract_controller/base.rb:137:in `process'
actionview (4.2.3) lib/action_view/rendering.rb:30:in `process'
actionpack (4.2.3) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.2.3) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.2.3) lib/action_controller/metal.rb:237:in `block in action'
actionpack (4.2.3) lib/action_dispatch/routing/route_set.rb:76:in `call'
actionpack (4.2.3) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
actionpack (4.2.3) lib/action_dispatch/routing/route_set.rb:45:in `serve'
actionpack (4.2.3) lib/action_dispatch/routing/mapper.rb:49:in `serve'
actionpack (4.2.3) lib/action_dispatch/journey/router.rb:43:in `block in serve'
actionpack (4.2.3) lib/action_dispatch/journey/router.rb:30:in `each'
actionpack (4.2.3) lib/action_dispatch/journey/router.rb:30:in `serve'
actionpack (4.2.3) lib/action_dispatch/routing/route_set.rb:821:in `call'
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
warden (1.2.3) lib/warden/manager.rb:34:in `call'
rack (1.6.4) lib/rack/etag.rb:24:in `call'
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
rack (1.6.4) lib/rack/head.rb:13:in `call'
actionpack (4.2.3) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.2.3) lib/action_dispatch/middleware/flash.rb:260:in `call'
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.2.3) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.2.3) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
activerecord (4.2.3) lib/active_record/migration.rb:377:in `call'
actionpack (4.2.3) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.2.3) lib/active_support/callbacks.rb:84:in `run_callbacks'
actionpack (4.2.3) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.2.3) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.2.3) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
actionpack (4.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
web-console (2.2.1) lib/web_console/middleware.rb:31:in `call'
actionpack (4.2.3) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.2.3) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.2.3) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.2.3) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.2.3) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.2.3) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
activesupport (4.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
rack (1.6.4) lib/rack/lock.rb:17:in `call'
actionpack (4.2.3) lib/action_dispatch/middleware/static.rb:116:in `call'
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
railties (4.2.3) lib/rails/engine.rb:518:in `call'
railties (4.2.3) lib/rails/application.rb:165:in `call'
rack (1.6.4) lib/rack/lock.rb:17:in `call'
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
/home/vagrant/.rbenv/versions/2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
/home/vagrant/.rbenv/versions/2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
/home/vagrant/.rbenv/versions/2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'

@andricicezar I know nothing about CASino but why do you use something like Class.new.extend(Devise::Controllers::Helpers).sign_in instead of just sign_in?

@nashby Because CASino overrides the sign_in method.
Thank you!

@andricicezar Devise::Controllers::Helpers is a module that we include on controllers, so it depends on its host class to have a working session accessor and other controller specific semantics. If CASino overrides the sign_in method I think you can make an alias for the original before including it on your controller and call the new method instead of trying to wire this up with an anonymous class.
Closing this as it isn't an issue with Devise.


Calling clear followed immediately by render trashes the header in the repeater

The following causes a loss of the repeater header (only rows show):
                $('#myRepeater')
                    .repeater('clear')
                    .repeater('render', { filteredCategoryId: myId } );

miss use. closing ticket.


Allow multiple URL entries for "manfirest_href"

Hi,
since the server serving the URL specified by manifest_href may be accessible via an arbitrary amount of interfaces and addresses it would be sensible to have manifest_href provide a list of URLs.
Referring to this scheme

Hi @Mantls. That can be accomplished via https://specs.amwa.tv/nmos-parameter-registers/branches/main/device-control-types/manifest-base.html.

Hey @garethsb,
thanks for clearing that up. Might be a good idea to provide this reference here.

Architecture Review Group review: place on backlog

ARG decision, editorial change to add a sentence under manifest_href in https://github.com/AMWA-TV/is-04/blob/v1.3.x/docs/Behaviour - Nodes.md.


fix(migration) fix an issue in core migration that resulted in bad sc…

…hema after migrating C*
backed Kong cluster from 0.14 to 1.1.0.
In kong/db/migrations/core/003_100_to_110.lua, we added new fields tags and protocols
to the plugins table in the up phase, however, the plugins table
was recreated in kong/db/migrations/core/001_14_to_15.lua's teardown
phase without those two fields. This results green clusters to throw HTTP
500 error for all proxy requests after kong migrations finish is
executed.
Thanks @thibaultcha for helping on determining the fix.

Thanks for the patch!
A few notes for the reader and future selves:

We typically consider editing existing migrations bad practises, but not in this case, since we are in reality working around a limitation of the copy_cassandra_records() helper, and fixing an issue with the migration's code itself (and not the result of its DDL statements).
We could have also decided to not support the 0.14 -> 1.1 upgrade path, but we decided to keep supporting it considering the fix is minimal.
We must keep in mind that Admin API writes to green nodes are still not supported (as documented in our Upgrade Path). As pointed out by @dndx, such writes in between the two steps migrations will produce HTTP 500 errors. We should ideally implement the "migration state mode" preventing such writes in a more user-friendly fashion.
The same issue may reappear in the future. To overcome it, we must make the copy_cassandra_records() helper smarter and not rely on a hard-coded schema in the migration itself, but able to interpret the schema as it lives in the keyspace, at time of migration, and recreate it in its temporary, and new tables.

:clap:

Note: waiting on a new run of the migrations tests from @dndx (and CI for this PR) before merging. This will be part of a 1.1.1 hotfix release targeted for 0.14 users with a Cassandra backend migrating directly to 1.1.

@thibaultcha The upgrade tests are successful:

Migration path
Postgres
C*

1.0.0 -> this branch
✅
✅

0.14.1 -> this branch
✅
✅

Thank you!


axis slice label slightly cut off

🐛 Bug
See https://twitter.com/pskeshu/status/1260974224677560320 and

oh man... I have tried so hard to fix that in a cross-platform way...  would love to have someone else take a whack at it (but definitely test on windows, mac, and linux)

@czaki has completely cleaned up this area in #1415, #1439, and #1440!


Force Artifact Set Filter and Default Artifact Conditional do not show fields

Even after #348, the artifact conditional modal, and force artifact set display will not show the fields of the artifact sets

This is because the fields themselves have a check for greaterEq(input.artSet.<artSet>, <2,4>). If the character doesn't have the 2 or 4 set equipped, then these checks will fail, and the fields won't display.
I attempted to attach a fake DataContext.Provider to these specific fields, but that causes weird behavior, where only certain nodes will display. I was not able to see a pattern here in what did or did not display.
More context here: https://discord.com/channels/785153694478893126/819643218446254100/971265198663028736

May as well post full context here. With the above code Frzyc posted, this screenshot shows how only some nodes will display


Update scheduler.enqueue_at/in to accept job_id argument

I had a need to specify a job id when scheduling a job, so I made the trivial modification to the enqueue_in and enqueue_at methods. Since RQ.Queue.enqueue supports the job_id parameter, it seems like a reasonable name to use for the public Scheduler methods.

Could you please fix the failing tests?

@selwin Sorry that took so long; I have added the appropriate tests and they all pass. I hope you can merge this now.

Thanks!


[Peer registration] Can't abort peer registration process with not approved peer.

For replay this bug you need
Test case

Go to SS and login under any account.
Go to Peer registration and register a peer with valid IP.
Click on 'Cancel' button.

Result: you can observe empty Error message and you can't abort peer registration process.

fixed message display problem

When I try to abort peer connection process and click on the button 'cancel', I can observe this message

But this message not reflect what I'm trying to do, I'm trying to abort process not connect to peer. It should be looks like: 'Can not abort process'

please check <IP_ADDRESS>. is it on line?

yes

you have communication problem. please provide karaf.log.

Can't 'cancel' peer request if smth wrong with remote ip.

karaflogs2016-03-19 14_40_15.txt


Fixed #21080 -- Match @import rule and url() statement exclude of the css comment

https://code.djangoproject.com/ticket/31000

Closing due to inactivity.


Colégio Objetivo Lorena

University Information

Official website: Colégio Objetivo Lorena

@rdtavares First stage of verification passed, official domain for Colégio Objetivo Lorena is aluno.objetivolorena.com.br as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@rdtavares Thank you for your patience while waiting for a review and processing your request. Pull request merged.


SearchRepos is private

Hi!
It seems hubcaps::search::Search::repos() returns a SearchRepos, but this type is private and not part of the public API.

thanks for reporting the issue @AlexArgoAi I probably wont get a chance to take a look until this weekend. pull requests are welcome so if you get chance to take a look before me, I'd be happen to merge a pr and publish a new version

FYI as a smoke test for these kinds of issue, I try to exploit these kinds of things with an examples under the example dir. It looks like Im missing one of those for searching repos. If you get a change to take a look you may want to add an example like this

@AlexArgoAi what version of hubcaps is your application using. You may be using a slight older version. The search repos was added but a another contributor and I thought I may have missed the struct visibility but that doesn't seem to be an issue in the latest version. I added a new example here if that helps.
Can you let me know if you are still getting an error after upgrading?

I'm going to close this for now. Feel free to reopen if you are still running into problems

I guess it is a rustdoc issue then; on http://lessis.me/hubcaps/hubcaps/search/struct.Search.html the SearchRepos should be a link, but isn't. It usually happens when the type is private or cannot be found by rustdoc.

It seems to be caused by the (unnecessary) use self::repos::SearchRepos; in addition to pub use self::repos::*;. If I remove the first line, cargo doc correctly includes SearchRepos.

Oh thanks for the heads up. In should have time to fix this weekend. If you want to shoot me a quick pull. I'd be happy to merge as well.


Crashes

The plugin makes the client crash on the first phase of The Maiden of Sugadinti.

Hi there, thanks for the report. In the previous update I have improved stability when dealing with combat situations, but still it looks like there are some issues.
Could you get some of the error logs from your RuneLite client and post them here? From the RuneLite WIKI:
To find logs, do one of the following things:

- Open the screenshot directory (if you have access to client by right-clicking "Camera" button) and navigate 1 directory up and then open logs folder

- Navigate to %userprofile%\.runelite\logs on Windows or $HOME/.runelite/logs on Linux and macOS.

In these logs do you see any mentions of Exception or Error:? If possible could you share them with me?

This issue has been resolved in v1.0.2. Thanks for the report.


Only able to unfollow 5 at a time

Great work on this! The only thing is I am unable to follow more than 5 users, you will notice that after a subset of {5}, it stops working.

Seems to be working just fine.
Note that after every 5 users unfollowed, the app sleeps for 5 minutes to avoid raising suspicion with the Instagram bot detectors.
There should be a toast message on the bottom left of your screen letting you know of the sleep period.
Can you please check again so we'll know if this could be closed?

I will close the issue due to inactivity. If the problem persist reopen it


Msingh openai rag with vision

Summary
Cookbook that demonstrates setup and implementation of a Pinecone RAG solution for questing and answering using GPR-4o vision modality.

For new content
When contributing new content, read through our contribution guidelines, and mark the following action items as completed:

[X] I have added a new entry in registry.yaml (and, optionally, in authors.yaml) so that my content renders on the cookbook website.
[X] I have conducted a self-review of my content based on the contribution guidelines:

[X] Relevance: This content is related to building with OpenAI technologies and is useful to others.
[X] Uniqueness: I have searched for related examples in the OpenAI Cookbook, and verified that my content offers new insights or unique information compared to existing documentation.
[X] Spelling and Grammar: I have checked for spelling or grammatical mistakes.
[X] Clarity: I have done a final read-through and verified that my submission is well-organized and easy to understand.
[X] Correctness: The information I include is correct and all of my code executes successfully.
[X] Completeness: I have explained everything fully, including all necessary references and citations.

We will rate each of these areas on a scale from 1 to 4, and will only accept contributions that score 3 or higher on all areas. Refer to our contribution guidelines for more details.

Added Kevin as reviewer


Better angular 1.4.7 types

Plenty of enhancements for angular 1.x libdefs. These are the types we currently use at Smartly for angular. So not perfect, but better. Some utility function types missing etc.
Some of the commits have link to appropriate angular documentation to make reviewing slightly easier.
ping @LoganBarnett

@villesau Ping me when these are ready to merge.

@GAntoine added type for angular $timeout. Good to go from my perspective.


Auto-Complete Method

Have an auto-complete related method that returns all the possible words following a prefix.

Implementation completed.


Cannot connect to API

I have installed the integration successfully and configuration goes smoothly but the integration fails to connect via the API. What am I doing wrong? Says failed and no entities or units.

Have you enabled API access in the Solaredge web portal? And do you have at least 1 year of historical data?
You could try if the api works with the example from the solaredge python package.  https://pypi.org/project/solaredge/

Looks like this in admin in SolarEdge. API-key greyed out.

Not sure how to use the python package you provided, sorry.

For me it is not greyed out but that shouldn't be a problem i think.
Are there any warnings or errors in the logs?

No, I meant that I have mysself greyed out the sensitive data (key etc.) :)
I don't know if you can help and see something from below from the log:
2024-09-05 14:48:16.543 DEBUG (MainThread) [custom_components.solaredge_forecast] Finished fetching Solaredge Forecast data in 0.304 seconds (success: False)
2024-09-05 14:48:18.061 WARNING (MainThread) [custom_components.localtuya.common] Missing device configuration for device_id<PHONE_NUMBER>a1602a5875
2024-09-05 14:48:18.067 WARNING (MainThread) [custom_components.localtuya.common] [511...3d1] Failed to connect to <IP_ADDRESS>: [Errno 113] Connect call failed ('<IP_ADDRESS>', 6668)
2024-09-05 14:48:18.068 WARNING (MainThread) [custom_components.localtuya.common] [511...0f3] Failed to connect to <IP_ADDRESS>: [Errno 113] Connect call failed ('<IP_ADDRESS>', 6668)
2024-09-05 14:48:21.515 WARNING (MainThread) [custom_components.localtuya.common] Missing device configuration for device_id 65035601ecfabc6689da
2024-09-05 14:48:22.794 WARNING (MainThread) [custom_components.localtuya.common] Missing device configuration for device_id<PHONE_NUMBER>a1602a5875
2024-09-05 14:48:24.386 WARNING (MainThread) [custom_components.localtuya.common] [bfc...hpl] Failed to connect to <IP_ADDRESS>: [Errno 110] Connect call failed ('<IP_ADDRESS>', 6668)
2024-09-05 14:48:25.860 WARNING (MainThread) [custom_components.localtuya.common] Missing device configuration for device_id 65035601ecfabc6689da
2024-09-05 14:48:28.528 WARNING (MainThread) [custom_components.localtuya.common] Missing device configuration for device_id<PHONE_NUMBER>a1602a5875
2024-09-05 14:48:30.890 WARNING (MainThread) [custom_components.localtuya.common] Missing device configuration for device_id 65035601ecfabc6689da
2024-09-05 14:48:32.783 WARNING (MainThread) [custom_components.localtuya.common] Missing device configuration for device_id<PHONE_NUMBER>a1602a5875
2024-09-05 14:48:36.170 WARNING (MainThread) [custom_components.localtuya.common] Missing device configuration for device_id 65035601ecfabc6689da
2024-09-05 14:48:37.717 WARNING (MainThread) [custom_components.localtuya.common] Missing device configuration for device_id<PHONE_NUMBER>a1602a5875
2024-09-05 14:48:37.931 ERROR (MainThread) [custom_components.solaredge_forecast] Unexpected error fetching Solaredge Forecast data
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/pandas/core/indexes/base.py", line 3791, in get_loc
return self._engine.get_loc(casted_key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "index.pyx", line 152, in pandas._libs.index.IndexEngine.get_loc
File "index.pyx", line 181, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 4484, in pandas._libs.hashtable.Int32HashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 4508, in pandas._libs.hashtable.Int32HashTable.get_item
KeyError: 12
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 354, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/solaredge_forecast/init.py", line 126, in _async_update_data
data = await self.hass.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/solaredge_forecast/solaredgeforecast/init.py", line 22, in init
data = self.get_solar_forecast()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/solaredge_forecast/solaredgeforecast/init.py", line 77, in get_solar_forecast
daily['energy'] = daily.apply(average, axis=1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/core/frame.py", line 10034, in apply
return op.apply().finalize(self, method="apply")
^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/core/apply.py", line 837, in apply
return self.apply_standard()
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/core/apply.py", line 965, in apply_standard
results, res_index = self.apply_series_generator()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/core/apply.py", line 981, in apply_series_generator
results[i] = self.func(v, *self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/solaredge_forecast/solaredgeforecast/init.py", line 76, in average
return averages[row["month"]]
~~~~~~~~^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/core/series.py", line 1040, in getitem
return self._get_value(key)
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/core/series.py", line 1156, in _get_value
loc = self.index.get_loc(label)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/core/indexes/base.py", line 3798, in get_loc
raise KeyError(key) from err
KeyError: 12
2024-09-05 14:48:37.934 DEBUG (MainThread) [custom_components.solaredge_forecast] Finished fetching Solaredge Forecast data in 0.292 seconds (success: False)
2024-09-05 14:48:40.868 WARNING (MainThread) [custom_components.localtuya.common] Missing device configuration for device_id 65035601ecfabc6689da
2024-09-05 14:48:42.709 WARNING (MainThread) [custom_components.localtuya.common] Missing device configuration for device_id<PHONE_NUMBER>a1602a5875
2024-09-05 14:48:45.888 WARNING (MainThread) [custom_components.localtuya.common] Missing device configuration for device_id 65035601ecfabc6689da

seems something went wrong with the calculation. Do you have at least 1 year of data from solaredge? And could you share your configuration (without the id and api)?

Yes, I believe I should have about 14 months of data.
Which file do you need? See below:

I mean the configuration variables from the integration, like these...

Ah, yes I used the same as you except I didn't put anything in the OPTIONAL last box.

Unfortunately i cant reproduce your issue. I removed my input in the last field but everything keeps working.
You could try to change config parameters or add the start date in the last box.

I have no issue connecting to the API with SolarEdges own integration so this definitely is an issue specific to this integration. Could it have something to do with the fact that I changed hardware for the inline meter when I upgraded the system last month to backup-ready with the backup-unit with built-in meter you think?

The only thing I can think of is that the integration does not have enough data to make the forecast. Based on this line
File “/usr/local/lib/python3.12/site-packages/pandas/core/indexes/base.py”, line 3798, in get_loc raise KeyError(key) from err KeyError: 12.
I suspect it cannot retrieve the data for the 12th month. If you look in the SolarEdge app, do you see data for more than a year?”

I have data starting July 2023. See below from the app:

Any more ideas? :)

OK, sure I understand. It's a pity because I fail to get good enough forecasts with other integrations it seems and I would really like to get this integration to work!

Attaching the debug log here if you can see something from that?
home-assistant_solaredge_forecast_2024-09-10T14-14-57.954Z.log

I just installed and was seeing exact same problem.
During setup, I left the last optional field empty. I then noticed in the failing query string that it had defaulted to looking for data since 2017!
I re-ran the integration configuration and added a date into the optional field (I have about 5 years of data so just went with 01012020) and then the integration started to work.

Tried that as well but won't work with the field filled out either. May be
something wrong with the data from my system, even though I can see history
in the monitoring from more than a year ago.
--
Markus Westerberg
Den ons 9 okt. 2024 kl 15:53 skrev Anthony @.***>:

I just installed and was seeing exact same problem.
During setup, I left the last optional field empty. I then noticed in the
failing query string that it had defaulted to looking for data since 2017!
I re-ran the integration configuration and added a date into the optional
field (I have about 5 years of data so just went with 01012020) and then
the integration started to work.
—
Reply to this email directly, view it on GitHub
https://github.com/nelbs/solaredge-forecast/issues/1#issuecomment-2402415589,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCOLLL25KQJEIPLRR2CZDJTZ2UYONAVCNFSM6AAAAABNV6WBG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBSGQYTKNJYHE
.
You are receiving this because you authored the thread.Message ID:
@.***>