Selection Count showing inconsistent results with 3.7.x version

The selected elements count that the SelectionInfoField in the status bar shows can shows results that are inconsistent with the value that was shown in 3.7.x.. Specifically, this is due to the separation of the Presentation code which previously would for example show a single selected element for assembly scope picks, which now will count all the individual elements included in that assembly.
The 3.7.x handling of this is as follows (found here):
SyncUiEventDispatcher._unregisterListenerFunc = Presentation.selection.selectionChange.addListener((args: SelectionChangeEventArgs, provider: ISelectionProvider) => {
      // istanbul ignore if
      if (args.level !== 0) {
        // don't need to handle sub-selections
        return;
      }
      const selection = provider.getSelection(args.imodel, args.level);
      const numSelected = getInstancesCount(selection);
      UiFramework.dispatchActionToStore(SessionStateActionId.SetNumItemsSelected, numSelected);
    });

In 4.x since no Presentation source can be used it now does (found here):
SyncUiEventDispatcher._unregisterListenerFunc = iModelConnection.selectionSet.onChanged.addListener((ev) => {
      const numSelected = ev.set.elements.size;
      UiFramework.dispatchActionToStore(SessionStateActionId.SetNumItemsSelected, numSelected);
    });

I think the handling of using the IModelConnection.selectionSet.onChanged is a decent default, but for instance, if you use a viewport component wrapped by the presentation's WithUnifiedSelection then the individual elements of an assembly selection will trigger that onChanged event here causing the count to show that instead of 1 even if from the user's persective they only selected 1 element (also the behavior consistent with 3.7.x).
To Reproduce
Steps to reproduce the behavior:

Go to https://qa-review-uks.itwin.bentley.com/context/8b3d0653-02b5-4a76-832e-7c16ed50ff21/imodel/b9bf7a2d-bf2e-4d3f-b127-90c8029a855e?it3Mode
Select the 'assembly' scope
click on a window pane
notice the selection info in the status bar shows 6 selements selected

Expected behavior
Only 1 element is selected (this was the behavior from 3.7.x)
Screenshots

Desktop (please complete the applicable information):

OS: Windows
Browser: Chrome
iTwin.js AppUI Version: 4.0.0
iTwin.js Version: 3.7.0

Additional context
Again it's probably as good of a default as you can do without having a Presentation dependency, but since this when used with Presentation will cause unexpected results, I think it would be ideal if we could easily opt out of having AppUi setup that listener on the iModelConnection.selectedSet.onChanged that dispatches to the count for SessionStateActionId.SertNumItemsSelected. This would allow us to recreate the same handling to dispatch that as was done in 3.7.x (code snippet shown above). This would be ideal for us since we could continue using the SelectionInfoField. Also there may be further complication if other features rely on that same redux state that this solution would also solve.
Here is our defect for this: Selection count shows multiple elements as selected even though only one was

@grigasp @raplemie

@jason-crow I'd prefer to add a separate presentational component (styling only, accepts a selection count as a prop) instead. Would that work in your case?

@GerardasB yes that works. Should I create a issue for presentation and close this one?

@GerardasB yes that works. Should I create a issue for presentation and close this one?

@jason-crow, I've opened a PR to address this from the AppUI side: https://github.com/iTwin/appui/pull/323
It depends on the presentation maintainers if they want to provide something like a useSelectionCount hook for easier composition.


Exceptions after upgrading to lastest version & NET 7.

The issue is caused by changes in the startup script. Since the old one cannot handle the encryption etc.
As this image shows the startup script is read from the cache, causing it to handle it the old way.

The issue is following. Absolutely unreadable but i've been able to trace it to this.

As for my suggestion, for files that we don't want cached we usually add a query string to them to be able to make sure that the browser requests them again. Maybe it would be possible to add a property that you can change in the .csproj which is appended as a query string in the blazor.boot.json. That would make blazor load it with the query string and prevent it from reading it from the cache.

This should not be an issue, because the library module scripts are managed by blazor itself and are fetched using SHA (as seen in the boot.json file) for cache busting. If this is happening (and it shouldn't), it should be reported to the ASP.NET/Blazor team as a bug.

Not sure why you would think that is the case?
This should be the file that does that and it does not validate the integrity nor is it fetched using the SHA.
https://github.com/dotnet/aspnetcore/blob/main/src/Components/Web.JS/src/JSInitializers/JSInitializers.ts#L24
I'll open a issue on their end but I still think that this is not something that it should be in charge of.

After some consideration you are probably correct in that this is not a issue specific to this library, but more so to do with Blazor itself. Will close my PR.
If anyone else runs into this issue my fix for it was to just create another build task to handle the invalidation of the module script. It super simple but it solves the issue. Might do more with it in the future. See my package here: https://github.com/nickztar/BlazorCacheBuster
Thanks for making this library and hope that my frustration did not shine through too much ;)


chore(dep): update algoliasearch and algoliasearch-helper

Update JS Helper and algolia JS client.

Argos test seems to detect the changes in image compression again

cc @oliviertassinari

@vvo I have tried increasing the color threshold without any success in https://github.com/argos-ci/argos/pull/337. I might have to replace ImageMagick with a custom implementation better-supporting imperceptible changes. For now, I have accepted the diff. Another alternative would be to load deterministic jpg or even hiding them in the screenshots.


Change 'revertOnSpill' and 'removeOnSpill' option to functions instead of a static variable

Feature request
I was looking for a way to set 'revertOnSpill' and 'removeOnSpill' for each container.
For example I have two containers. The right container holds a list of items. and the left container only holds items that are dragged there.
Function for the right list
When I drag an item from the right list to the left it should be moved to the left.
When I drag an item from the right list to an area that is not a container the item should return back to it's original position. Items may not be sort-able.
Function for the left list:
When I drag an item from the left list to an area that is not a container the item should be removed ( drake.on('removed', ....) ). Also items in this list should be sort-able.
My proposal would be to change both 'revertOnSpill' and 'removeOnSpill' that they can be a function with the 'el' beeing  dragged and 'source' the container it is dragged from. That way you can implement a separate behavior for each container. This way I can easily check the source and decide if it may remove or not, or reverted or not.

I was kind of surprised it did not work this way already. As most other options allow us to use a function. It gives a lot more flexibility.

At first, it sounded like a pretty simple change:
// In /dist/dragula.js
// line 75: if (o.removeOnSpill === void 0) { o.removeOnSpill = false; }
if (o.removeOnSpill === void 0) { o.removeOnSpill = never; } // default value is now a function that returns false

// line 286:  else if (o.removeOnSpill)
else if (o.removeOnSpill()) // check the function's result instead of the variable ; add params if needed

I tried it myself but the events seem linked to the whole page (document.documentElement) hence in case of multiple instance of Dragula the removeOnSpill function is triggered multiple times.
This is may be an issue, like in my case the confirm box would appear multiple times:
removeOnSpill: () => confirm("Are you sure you want to delete this element?")

This looks like it implies a more-than-expected rebuild of the way Dragula's events work.


Fix makeArray for types with disabled this(this)

Nice, LGTM

@JakobOvrum fixed & rebased. Yeah, I use editorconfig, but I did this change through the GitHub interface which unfortunately doesn't highlight deviations from editorconfig.

@MartinNowak any chance to cherrypick this into stable, before the release? I need to use LDC/GDC for performance I would prefer not to have to wait 4-12 months for them to catch up.

LGTM

Auto-merge toggled on

Thanks @JakobOvrum and @JackStouffer for the review!


FINERACT-1872: Template request fix for 1.8.x

Template request fix for 1.8.x

would you mind to write a test to cover the fixed behaviour?


Change getKeyIntValueForDump to use intptr_t rather than long

MSVC warns the following on my 64 bit machine:

Metadata.cpp(1798): warning C4311: 'reinterpret_cast': pointer truncation from 'const swift::TargetMetadataswift::InProcess *' to 'long'

Metadata.cpp(1798): warning C4302: 'reinterpret_cast': truncation from 'const swift::TargetMetadataswift::InProcess *' to 'long'

Since we're casting the address of a pointer to a long, I think it makes sense to use the built-in intptr_t type that is designed to always be able to hold the address of a pointer. At least, that's my understanding.

@swift-ci please smoke test

@swift-ci please smoke test OS X platform

@gparker42 this is runtime code, could you take a quick look (this fixes a potential bug, but is in debug/dump-style code)

Good. long is the wrong type for pointer-size integers.


Error when calling pixel2poly function

Hi Tomas,
After installing the "utils" module I am getting this error when I try to import the pixel2poly function:

cannot import name 'pixel2poly' from 'utils'

Is still available?
Thank you,
Jordina

Hello @jordinagili - yes the function still exists. Is there more information to the error? Can you not import because you don't have the dependencies installed (i.e., numpy, pandas, shapely). Or can it not be found?

I finally have called it directly from the notebook terminal and it worked perfectly. Thanks!
I also wanted to ask if there is any way to make the mesh of the map resulting from the interpolation smaller? To have more detail.
Thank yoy very much,
Jordina

Yep - the last argument to pixel2poly(x, y, z, resolution) is resolution. Which, from memory, is the mesh cell size in meters. So reducing this number would result in a finer mesh (but computational demand will increase).

I see. Thanks!

Hi again Tomas,
Would it be possible to extract the modeled PM2.5 data to csv?
Thanks,
Jordina


Add CompressedCrack tool in README

Description
Hello 👋,
Thank you for creating this repo 🚀. I just found this yesterday and it's very useful to find some good tools about cracking!
I've been creating a simple tool called "CompressedCrack", which utilizes the brute-force method to find the password of any compressed file (popular file types such as zip, rar, 7z,... thanks to patool library). You can check it out here: https://github.com/mnismt/CompressedCrack
I think my little tool should be listed on your repo. Although it can be used for various extensions, I put it in the ZIP section since it seems like the best fit. If you think it belongs somewhere else, please ping me and I'll make it happen  💪.
Thank you!
Checklist

[x] List items should be sorted alphabetically.
[x] Each item should be limited to one link
[x] The link should be the name of the package or project
[x] Descriptions should be clear, concise, and non-promotional
[x] Descriptions should follow the link, on the same line

Hi @n0kovo , are there any updates about this PR? Thanks.


no working

have u tried yourself?

Seems that iOS13 creates bugs with fastclick,
@JakeSidSmith do you still maintain this lib ?

I haven't done anything with it for a while, but I suppose I do...
Can you describe what's going wrong?

@JakeSidSmith see this issue by @Aarbel https://github.com/facebook/react/issues/17258
I haven't tried this library, but I stumbled upon this issue as well.

Are clicks up to speed with the latest WKWebview without fastclick? If so, you can simply not initialise it for this environment.
I'm not sure when I'll get an opportunity to give this a proper test.

solved by react-tappable see https://github.com/facebook/react/issues/17258


As a user I would like to be able to suspend synchronisation for the whole cluster

Short description
In the gitops way we could have some big changes impacting lot of resources and we like to control the application instead of applying 10000 changes at one time.
Opening a new PR for each change is not always wanted or possible so this should be possible by using gitops tools.
Once the synchronisation is suspended for all resources we could sync again each resource individually or all the resources.
Acceptance criteria
~- [ ] does suspend synchronisation for all resources~
~- [ ] does reactivate synchronisation for all resources~
~- [ ] does reactivate synchronisation individually for each resource~
The criteria applies to the application and source pages within Weave GitOps.  This functionality should extend to the enterprise dashboard as well.

[ ] Given I have no checkboxes selected on the list view, when I take no action, then I should see both buttons "sync" and "suspend" disabled at the top.
[ ] Given I have no checkboxes selected on the list view, when I hit the checkbox on one or more line items, then I should see both buttons "sync" and "suspend" enabled at the top.
[ ] Given I have one or more checkboxes selected on the list view, when I disable the checkboxes for those line items, then I should see both buttons "sync" and "suspend" disabled at the top.
[ ] Given I have checkboxes selected, when I hit the "sync" button on the page, then I should see those items run a "reconciliation" in the app.
[ ] Given I have checkboxes selected, when I hit the "suspend" button on the page, then I should see those items turn to suspended state in the app.
[ ] Given I have checkboxes selected, when I hit the "resume" button on the page, then I should see those items turn to green or red depending on their healthy state.

Design materials

Screenshots
Design diagrams
WEP
PR/FAQ

@mtparet thanks for the request.  We will pull it into the Core team and evaluate it.

So we are going to enable the application to update multiple sources and workloads at a time.

Alternative with play and pause instead of resume and suspend.

@mtparet I made some updates here.  I am happy to here if this solves your problem.  If not then I would like to learn more about the problem you are trying to solve.

@joshri and @opudrovs we can chat about the designs at stand up.  I wanted to get your initial thoughts about the design and goal for this story.

Thank you ! :heart:


How does this lib differ from your apt package?

Hi Martin,
I noticed you also have libdbus-c++ on debian 10. I'm compiling for both amd64 and armhf and would like to use the supported libraries. As this library and the headers for the apt version seem quite different, it isn't clear to me how to do that. Which is the best way for me to go? Should I work to include simppl directly as a CMake library from this repo, or figure out how to call the library properly that is supported by apt?
Your advice would be greatly valued.

My confusion--sorry. This is not the same package!


refactor/feat: Refactor and add safety belts in llmq utils

Issue being fixed or feature implemented
We use pQuorumBaseBlockIndex name when we shouldn't and we don't check that quorum types and block indexes provided as input params in llmq utils satisfy our requirements. This is kind of ok-ish as long as we use these functions appropriately but it's better to make things clearer and to have actual checks imo.
noticed this while reviewing #5366
What was done?
Rename pQuorumBaseBlockIndex to pCycleQuorumBaseBlockIndex/pindex in a few places. Check that quorum types and block indexes have expected values.
How Has This Been Tested?
run tests locally
Breaking Changes
n/a
Checklist:

[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or updated relevant unit/integration/functional/e2e tests
[ ] I have made corresponding changes to the documentation
[x] I have assigned this pull request to a milestone (for repository code-owners and collaborators only)

light-utACK for squash merge... I do think it'd be better to have some way to tell which condition failed

it fails like that (I broke GetHashModifier intentionally to illustrate it):
Assertion failure:
  assertion: (pCycleQuorumBaseBlockIndex->nHeight % llmqParams.dkgInterval == 1)
  file: utils.cpp, line: 68
  function: GetHashModifier


If clarity support filter with checkbox option for multi-selection for datagrid?

https://v2.clarity.design/datagrid/custom-filtering
Currently seems there is multi-selection without checkbox.

Please use our issue templates to fill out issues so we can understand what is being asked. Right now its unclear to me if you are looking for support, asking a question, or requesting a feature. To get a meaningful response please clarify your post with more detail.
The demo you linked shows a custom filter, which could have a checkbox list inside of it, but that is defined by the app itself. The filter can be found here https://github.com/vmware/clarity/blob/master/src/website/src/app/documentation/demos/datagrid/utils/color-filter.ts.

Marking this issue as stale - so I'm closing it


66 Vulnerabilities found in npm dependencies

Specs

Leon version: 1.0.0-beta.0
OS (or browser) version: Chrome 71 | MacOS
Node.js version:10.15.0
Complete "npm run check" output: N/A

Actual Behavior
After running npm install, I got the following output:
added 1554 packages from 828 contributors and audited 31148 packages in 141.769s
found 66 vulnerabilities (65 low, 1 high)

If you'd like, I can paste the output of the command npm audit. Do you have any plans to update the dependencies using something like greenkeeper?

 ⬆ [1.0.0-beta.1] Update jest-extended once they updated brace

 ✨ Implement a tool such as Greenkeeper

Hello @abhisheksoni27,
Thanks for reporting. Since yesterday, it seems that is caused by braces which is used by the jest-extended package. There is an issue over there.
I will consider using Greenkeeper. I attributed a roadmap card for that.
And I created another roadmap card regarding jest-extended itself.

@louistiti Thanks! I'm really excited about what you have made and would love to contribute. Keep hustling!

Thanks for your support!
I'm looking forward for your contribution then 👍

I upgraded Jest to the latest (24.1.0), which decrease the vulnerabilities to 3 low severity vulnerabilities https://github.com/leon-ai/leon/commit/5474b6eccc59cf4d59f303a5dfc8870013233799.
For the reminding vulns:

It seems an update to Babel 7+ will be necessary: https://github.com/babel/babel/pull/9550.
Still waiting for the merge: https://github.com/jest-community/jest-extended/pull/198.
Waiting for the merge: https://github.com/BrowserSync/browser-sync/pull/1659.

Browsersync has been upgraded. Now 2 low severity vulnerabilities left.

It seems an update to Babel 7+ will be necessary: https://github.com/babel/babel/pull/9550.
Still waiting for the merge: https://github.com/jest-community/jest-extended/pull/198.

 🔧 [1.0.0-beta.3] Remove minor dependencies vulns: back to 0 vuln

Good news, I've:

Made the upgrade to Babel 7+.
Created a fork of the jest-extended package to get away from the vulnerability.

I'll close this issue now as we came back to 0 npm dependencies vulnerabilities. Feel free to create a new one if you spot a new one.


Adding own service

Hey there...
at first I want to thank you for the great work you have done!
It's working like a charm :-)
But I have problems adding an additional service. Since I am not very familiar with JS, maybe you can help me out at this point.
When I modify line 37 in SwitchItem.js:
from: var otherService = new this.homebridge.hap.Service.Switch();
to: var otherService = new this.homebridge.hap.Service.Fan();
The icon in Homekit changes correctly to a fan icon and everything works fine.
But when I try to create an additional service (to not loose the switch service), it does not work.
What have I done:

I copied and renamed SwitchItem.js to FanItem.js

Then I replaced all SwitchItem strings in FanItem.js to FanItem.

Then I added the exports in ItemFactory.js:
exports.Fan = require('../items/FanItem.js');

Then I added following case to the checkCustomAttrs in ItemFactory.js:
} else if(item.name.startsWith('Cooler')) {
item.type = "Fan";
}

After restarting homebridge, I get this error:
/usr/local/lib/node_modules/homebridge-loxone-ws/items/FanItem.js:12
FanItem.super_.call(this, widget,platform,homebridge);
^
TypeError: Cannot read property 'call' of undefined
at new FanItem (/usr/local/lib/node_modules/homebridge-loxone-ws/items/FanItem.js:12:19)
at exports.Factory.parseSitemap (/usr/local/lib/node_modules/homebridge-loxone-ws/libs/ItemFactory.js:58:25)
at Request._callback (/usr/local/lib/node_modules/homebridge-loxone-ws/index.js:67:34)
at Request.self.callback (/usr/local/lib/node_modules/homebridge-loxone-ws/node_modules/request/request.js:186:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request. (/usr/local/lib/node_modules/homebridge-loxone-ws/node_modules/request/request.js:1081:10)
at emitOne (events.js:77:13)
at Request.emit (events.js:169:7)
at IncomingMessage. (/usr/local/lib/node_modules/homebridge-loxone-ws/node_modules/request/request.js:1001:12)

Hi,
The description of your actions looks correct at first sight. I would need to test this out.
But note that instead of copying the Switch, you could make a child component similar to the Lightbulb item which is a descendant of Switch. That saves some code since you'll just override the getOtherServices method.

ooooh, I noticed that I also have to add this to index.js
Utility.addSupportTo(ItemFactory.Fan, ItemFactory.AbstractItem);
Now everything works fine :-)
Thank you!


Client can submit admin login form

1. Severity: medium
2. Reported by: Islam Elgohary
3. Description:
A logged in Client can access the admin login form, and submit it.
4. Steps to reproduce the issue:

Login as a Client
go to /admin/login
fill the form and click "submit"
form is submitted to the server

5. Expected result:
Logged in client should not be able to access the admin login form.

This behaviour is intended, the admin is a seperate entity and is OK to login as client or business while being an admin.


Update Python 3.10 to rc2

Codecov Report

Merging #57 (102c621) into main (45f9e42) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #57   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           29        29
  Lines         3299      3299
  Branches       190       190
=========================================
  Hits          3299      3299

Continue to review full report at Codecov.

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


Some data exports show error page for admin users

For a while now an error shows up for admin users when trying to download some of the curves in the data export. The download does start and you can simply hit 'Refresh and try again' to get rid of it, but it's still a bit annoying sometimes.
I've had this happen for:

Energy flows
Production capacity and costs
Households heat
Gas
Hydrogen

It's a minor issue and not deploy critical I think as it only affects admins (presumably).

Hmm interesting.. I've never faced this issue before (and I suppose I'm an admin user?).

Blank NL 2015 scenario on Firefox:

I guess it's a firefox thing then? 🤔

It's because the CSVs open in the current window. If you have an ongoing request to ETEngine (to fetch queries, apply an input, etc), the browser cancels the request when navigating away to the CSV.
I've updated the links to open the CSVs in a new window.


Empty Text in Body Constructor Should Return Empty Stream or Null instead of [[]]

Current:
When initializing the Body object with an empty text parameter, the resulting stream contains an empty list ([[]]).
Body(String text, Encoding encoding)
    : this.binary(Uint8List.fromList(encoding.encode('')));
    // Returns [[]] via Body.binary constructor

Expected:
When the text parameter is empty, the stream should ideally be empty as well, instead of returning [[]].
Alternatively, returning null might be a more intuitive and cleaner solution. However, I understand this might complicate things due to structural changes in the code.

@aliaksei-liavonik please LMK if the fix works for you.

Closing as fixed


Add qBraid SDK changes

Fixes #81 and address comments of qBraid SDK Integration PR
Summary of changes
Code Enhancements:

Added support for new gate operations such as "not" and "toffoli" in src/pyqasm/maps.py. [1] [2]
Refactored the initialization of _unrolled_ast in src/pyqasm/modules/base.py, src/pyqasm/modules/qasm2.py, and src/pyqasm/modules/qasm3.py to remove default include statements. [1] [2] [3]

Visitor Pattern Enhancements:

Implemented _visit_include method in src/pyqasm/visitor.py to handle include statements and prevent repeated includes. [1] [2]

Unit Test Updates:

Updated unit tests to reflect changes in gate operations and include statements in tests/qasm2/test_declarations.py, tests/qasm3/resources/gates.py, and tests/qasm3/test_measurement.py. [1] [2] [3]
Added a new test file tests/test_include.py to verify the handling of include statements.

Codecov Report
Attention: Patch coverage is 95.23810% with 1 line in your changes missing coverage. Please review.

Files with missing lines
Patch %
Lines

src/pyqasm/modules/base.py
85.71%
1 Missing :warning:

:loudspeaker: Thoughts on this report? Let us know!


Search Menu does not display anything

When searching the Iconclass tree ("Baumansicht"), nothing is displayed at all.
  Plugin build info:

  Rev: c13b6368efaa2460aa86c7b2616b7f87cbabcb8b
  Repository: easydb-custom-data-type-iconclass
  Last change: 22.08.2022 19:29
  Build date: 09.09.2022 12:28

Easydb5 Version 106.0 and 105 before that.
Cf. screenshot:

Fixed this:
Line 62 of CustomDataTypeIconClassTreeView.coffee:
instead of for iconclassEntry, key in data use for iconclassEntry, key in data.result
and line 143 (or thereabouts):
instead of  for iconclassEntry, key in data use  for iconclassEntry, key in data.result

iconclass_issue2.diff.gz is the diff to apply (less hassle than a fork).

Sorry for the late response - i did not get any notification for this issue.. Should be fixed in a latest Version. The iconclass-API changed.


Setup Poetry 🐍 project

Describe your changes
This PR sets up a base Python 🐍 project for the Poetry packaging and dependency management program.
Non-obvious technical information
N/A
Checklist before requesting a review

[x] The commands in the README work.

(poetry-python-project-py3.11) michaelp@MacBook-Air-3 poetry_python_project % make format
black project/ test/
All done! ✨ 🍰 ✨
4 files left unchanged.
(poetry-python-project-py3.11) michaelp@MacBook-Air-3 poetry_python_project % make lint
pylint project/ test/

------------------------------------
Your code has been rated at 10.00/10

(poetry-python-project-py3.11) michaelp@MacBook-Air-3 poetry_python_project % make test
pytest -vs test/
=========================================================================== test session starts ===========================================================================
platform darwin -- Python 3.11.1, pytest-7.2.2, pluggy-1.0.0 -- /Users/michaelp/Documents/GitHub/poetry_python_project/.venv/bin/python
cachedir: .pytest_cache
rootdir: /Users/michaelp/Documents/GitHub/poetry_python_project
collected 1 item

test/test_example.py::test_example PASSED

============================================================================ 1 passed in 0.00s ============================================================================
(poetry-python-project-py3.11) michaelp@MacBook-Air-3 poetry_python_project % make test-and-fail
pytest -vsx test/
=========================================================================== test session starts ===========================================================================
platform darwin -- Python 3.11.1, pytest-7.2.2, pluggy-1.0.0 -- /Users/michaelp/Documents/GitHub/poetry_python_project/.venv/bin/python
cachedir: .pytest_cache
rootdir: /Users/michaelp/Documents/GitHub/poetry_python_project
collected 1 item

test/test_example.py::test_example PASSED

============================================================================ 1 passed in 0.00s ============================================================================
(poetry-python-project-py3.11) michaelp@MacBook-Air-3 poetry_python_project % make run
python -m project
oh, what up?
(poetry-python-project-py3.11) michaelp@MacBook-Air-3 poetry_python_project %

Need to add instructions for getting the project going.

Add responses package.


More Gracefully Handle Thread Panics

Describe the Bug
Right now if a thread panics (upload or download, usually by a surprise unwrap being None) the UI just freezes. It would be better for the application to crash (and ideally write a file with error information) when this happens so users don't think it is still doing work.
This was seen when lemmy.world was unexpectedly returning an empty "my_user" for site requests (it kept logging people out).
Information
LASIM Version: 0.1.1
LASIM Profile Version: 1
Lemmy Source Instance URL: N/A
Lemmy Source Instance Version: N/A
Lemmy Target Instance URL: N/A
Lemmy Target Instance Version: N/A
Output of LASIM
N/A

Fixed in #12


tools/ops/policystream org-stream and bug fixes

bug fix - discover policy files in subdirectories
sql transport switch sqlite for sqlalchemy
org-stream subcommand
incremental stream support for indexed streams (non-optimized)
unit tests
convert to package
add dockerfile build (recent versions of libgit2 are hard to find on lts linux distros)

so the incremental support here isn't optimal as we're filtering against the commit during the walk instead of asking libgit via fancy rev spec to just give us the walk from the right start. for commits before x, that works well, for commits after x its a little unclear how to walk since its a forward history walk to a destination and walk takes a single start point. need to play around with git log examples a bit more for that use case.

@erwelch if you have a chance, could you give the latest a try to see if it resolves for you? added in a test around subdir policy setups.
@thisisshi a heads up the location/install for this tool changes with this branch.

Hi @kapilt Is this at a state where we can test this? I am happy to run this against our CI pipeline if needed.

I noticed c7n-policystream diff throws an exception in the if you build and run an image from the Dockerfile. Here are my repro steps and error message:

built the Dockerfile with the following command in the root directory docker build -t c7n-mailer -f tools/c7n_mailer/Dockerfile .
container with "/bin/bash" as the entrypoint to exec into container and poke around: docker run -it --mount src="$(pwd)",target=/repos,type=bind --entrypoint "/bin/bash" c7n-policystream
Run c7n-policystream diff and the following exception is thrown

root@73e7569f8ba7:/src/tools/c7n_policystream# c7n-policystream diff
Traceback (most recent call last):
  File "/usr/local/bin/c7n-policystream", line 11, in <module>
    load_entry_point('c7n-policystream', 'console_scripts', 'c7n-policystream')()
  File "/usr/local/lib/python3.6/dist-packages/Click-7.0-py3.6.egg/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/Click-7.0-py3.6.egg/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/dist-packages/Click-7.0-py3.6.egg/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.6/dist-packages/Click-7.0-py3.6.egg/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/dist-packages/Click-7.0-py3.6.egg/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/src/tools/c7n_policystream/policystream.py", line 841, in diff
    load_resources()
  File "/src/c7n/resources/__init__.py", line 97, in load_resources
    resources.load_plugins()
  File "/src/c7n/registry.py", line 117, in load_plugins
    f = ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2325, in load
    return self.resolve()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2331, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/src/tools/c7n_azure/c7n_azure/entry.py", line 15, in <module>
    from c7n_azure.provider import resources
  File "/src/tools/c7n_azure/c7n_azure/provider.py", line 19, in <module>
    from .session import Session
  File "/src/tools/c7n_azure/c7n_azure/session.py", line 21, in <module>
    from azure.cli.core._profile import Profile
ModuleNotFoundError: No module named 'azure.cli.core'

In the steps where c7n_azure is installed, if you change
WORKDIR /src/tools/c7n_azure
RUN pip3 install -r requirements.txt
RUN python3 setup.py develop

to
WORKDIR /src/tools/c7n_azure
 RUN pip3 install -r requirements.txt && \
          pip3 install -e .

running c7n-policystream diff works as expected.
root@981e6068116f:/src/tools/c7n_policystream# c7n-policystream diff
policies: []

build steps your referencing point to mailer, but i assume you meant the policystream subdir.

Ah yes, sorry about that. I was building both mailer and policystream images and pasted the wrong docker build command. I'll update.

looking around for the reason for the delta this is most useful description i found https://stackoverflow.com/questions/30306099/pip-install-editable-vs-python-setup-py-develop

still trying to understand the specific issue/delta on develop vs install -e, nutshell they use different installation mechanisms, easy_install vs pip, but the underlying issue is most likely that the azure packages are inconsistent across their usage/declaration of the azure namespace pkg.
https://packaging.python.org/guides/packaging-namespace-packages/#creating-a-namespace-package
specifically the warning box there, effectively that this works with pip install -e is a happy accident.
Warning While native namespace packages and pkgutil-style namespace packages are largely compatible, pkg_resources-style namespace packages are not compatible with the other methods. It’s inadvisable to use different methods in different distributions that provide packages to the same namespace.```

calling out one specific example of inconsistent namespace pkg declaration

ie this one is using pkgutil
https://github.com/Azure/azure-sdk-for-python/blob/master/azure-batch/azure/__init__.py

and this one is using pkg_resources
https://github.com/Azure/azure-cli/blob/dev/src/azure-cli-core/azure/__init__.py

so azure pkg install working is dependent on install order afaics.. and the two installers have different resolution orders. imo given the explicit warning that these are incompatible this is actually a bug in the azure sdk.

@ kapilt Nice find! I spoke with @logachev about this and he will follow up on the SDK package inconsistencies.

@kapilt Thanks for merging this in! I can confirm that it now finds policy changes in subdirectories.


ExemptDomainFileTypePairsFromFileTypeDownloadWarnings - Group Policy does not seem to work.

[Enter feedback here]
ExemptDomainFileTypePairsFromFileTypeDownloadWarnings
I have tried all these variations including the ones in teh example and it has not worked.  Not sure what is wrong.
{"domains": ["office.com”], "file_extension": ""}
[{"domains": ["office.com”], "file_extension": ""}]
{"file_extension": "", "domains": ["office.com”], }
[{"file_extension": "", "domains": ["office.com”], }]

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

ID: 198c6f64-9e5c-f18e-8439-8d0d11d4228d
Version Independent ID: 83f32be1-063c-284c-dfdc-6b5976a5b7cc
Content: Microsoft Edge Browser Policy Documentation
Content Source: edgeenterprise/microsoft-edge-policies.md
Product: microsoft-edge
GitHub Login: @dan-wesley
Microsoft Alias: stmoody

@sullcromenterprise Hi! For questions like this we have the Enterprise section of the Tech Community.
There has been an ongoing conversation about this specific policy and a user has shared their specific tested working example, please see: https://techcommunity.microsoft.com/t5/enterprise/smartscreen-turned-off-gt-java-webstart-jnlp-files-are-marked-as/m-p/1584480/highlight/true#M2272
Thanks!

the example in the docs is still unclear and this poor example makes it hard to get the setting working correctly.
The Group Policy settings for 'Disable download file type extension-based warnings for specified file types on domains', requires an array/table of values to be entered. The example in docs attempts to articulate this by showing 'square brackets', but these square brackets surrounding the array/table must NOT be entered into the GP editor, and, each file_extension MUST be entered on a separate line in the editor, or the policy will not apply.
Example:
The following example value would prevent file type extension-based download warnings on jnlp, msg, and vsd extensions for telstrx.com & telstrx.com.au domains. It will show the user a file type extension-based download warning on any other domain for jnlp, msg and vsd files.
[ { "file_extension": "jnlp", "domains": ["telstrx.com", "telstrx.com.au"] }, { "file_extension": "msg", "domains": ["telstrx.com", "telstrx.com.au"] }, { "file_extension": "vsd", "domains": ["telstrx.com", "telstrx.com.au"] } ]

do NOT enter the enclosing square brackets <<
you MUST load each on a separate line <<

this is actually entered like so:
Value
{ "file_extension": "jnlp", "domains": ["telstrx.com", "telstrx.com.au"] }
{ "file_extension": "msg", "domains": ["telstrx.com", "telstrx.com.au"] }
{ "file_extension": "vsd", "domains": ["telstrx.com", "telstrx.com.au"] }
Further, the linked discussion in TechCommunity does NOT usefully illustrate this issue nor how to solve it within GP editor.
Regards
DonP


Free Subscription limits not documents here

We should document the limits of the Free subscription tier.

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

ID: 1cd57b6d-3c6f-e546-b3ea-f83892f4c23d
Version Independent ID: 27aecc7b-f107-96d4-b044-ae026bca2727
Content: Azure subscription limits and quotas
Content Source: articles/azure-subscription-service-limits.md
Service: billing
GitHub Login: @rothja
Microsoft Alias: byvinyal

hello @JazzyWagdaddy We are investigating this issue now. Thank you for reporting it

@JazzyWagdaddy We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


[Feedback] Retrieve source maps from Symbol Server

Starting with Microsoft Edge 99, DevTools is able to securely retrieve source maps published to Azure Artifacts symbol server. This means source maps can easily be published as part of a build system, and then securely be retrieved at runtime, by DevTools, from the symbol server, removing the need to host them on your web server.
See the announcement blog post, and user documentation for more information.
As mentioned in the blog post, DevTools' ability to download from Azure is only a first step and we are interested in hearing from you about what services, other than Azure, you would like DevTools to be able to connect to.
This issue is a central location where we will collect your feedback about the above.

Are there plans to allow simple drag'n'drop (as implemented in Azure Monitor) or "Open folder" actions for source maps?
Looks like existing "Add source map..." from context menu requires post url for this file, however dragging/opening folder/.zip file will be much easier.
While this is not as cool as loading them automatically, this will cover all other cases when developers can get access to source maps, but have no control if maps can be uploaded to Azure or services added later.
P.S. Sorry for second comment notification.

I hadn't considered that, @IllusionMH, but I think that could be interesting overall. I'd encourage you to open a separate issue.
One thing that might satisfy here is that we've also tentatively put on our roadmap the ability to implement a Symbol Server-equivalent via an Edge Extension. We haven't committed to this work yet -- and it might not work if you wanted to serve the source maps from a local file system -- but we do want to give people more flexibility than just using Azure services for this purpose.

We use an self hosted Azure DevOps Server to build our software. This is not available without a VPN so I am a bit unsure how this feature will be usable for us.

Was the existing "Add source map..." menu item removed to force people to use Azure Symbol Server? I simply doesn't show up for me...

I'm still seeing the Add source map... context menu item when I right-click on the code editor (i.e. not on the file name in the sidebar). @levrik can you try and see if this works for you?

Our documentation mentions this: https://learn.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/sources/#mapping-minified-code-to-your-source-code-to-show-readable-code

In the Editor pane, if you right-click a JavaScript file and then select Add source map, a popup box appears, with a Source map URL text box and an Add button.

And the Editor pane is defined earlier in the document https://learn.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/sources/#using-the-editor-pane-to-view-or-edit-files

@captainbrosset I tried finding information about Edge specifically via search engines but that particular page didn't show up for me. I could only easily find information about Chrome and assumed it to work the same in Edge as they share the same foundation.

So I am attempting to get this working, but whenever I check the sourcemap monitor all I see is "Unknown error requesting source map: Failed to fetch"  I can confirm that the Sourcemaps are being tagged, and uploaded to the symbol server.  In fact, if I check the requests via fiddler, I can see that Edge is hitting the symbol server and getting a 200 response followed by a 302 FOUND response.
When I put the URL of the 200 response into my browser, I do get the JSON response with the BlobUri information  This URL is truncated by a NoRedirect parameter. If however, I remove the NoRedirect, I see in the DevTools Network tab that the initial 200 response of the URL I pasted is followed by a 302 response and the SourceMap is downloaded.
Is the 200 to 302 reponse expected?  And should Edge be adding the NoRedirect url parameter?
Info: Edge Version 123.0.2420.81 (Official build) (64-bit) running on Windows 11 Enterprise 22631.3296

Thanks for the great feedback @WillGrayMSU. Let me move this specific feedback into its own issue for easier tracking.


Irvine32.inc file not found

I was working on a project in Assembly and I needed to call the library Irvine32.inc but I found out that the program is isolating the executable file which is in dosbox from the real hard disk, changed the type as workspace but I couldn't handle it.

I am very sorry to say that I do not know how to make complex assembly project work well with this extension.
May be VS or other IDE is a better choice


Update Nokogiri dependency version

@soundasleep  it's critical since nokogiri now released 1.11 on jan 4th

@soundasleep  it's critical since nokogiri now released 1.11 on jan 4th

RIP open source development

Long live open source development! Because you can make your own fork and fix the problem.

Long live open source development! Because you can make your own fork and fix the problem.

yes. funny that you mentioned that, because this is literally a PR from our fork where we fixed the issue.
but overall, it's sad that gems get abandoned.

I'd love to take on some help to maintain this project! #22 I just don't do Ruby webdev any more these days.

Hi @soundasleep seems that on the #22 @Vasfed is offering to be a maintainer. What do you think?

Fixed with #17


Enhancing enable-vcp-ux scripts on kubernetes where components are containerized

enable-vcp-ux scripts makes assumption that kubelet service is running as a service and hence updates the manifest files for api server, controller manager etc at location /etc/kubernetes/manifests
For deployments (eg: Rancher) where kubernetes components are containerized, there are no manifest location as /etc/kubernetes/manifests
This issue tracks the support to enable vcp on kubernetes cluster with such above deployments.

Just ran into this issue. Can you give me some pointers towards what i have to do differently to use VCP with a RKE cluster deployed through Rancher?


Named slot on a <div> works if it's a component, but errors with a template

Vue version
3.4.35
Link to minimal reproduction
https://play.vuejs.org/#eNp9UsFOwzAM/ZUoHLhs7WFwGRUSoEnAARBD4hIJVa23ZaRJFLul0rR/x0m1sUlsOTl+z/ZzXjbyzvusa0FOZYFV0J4EArX+VlndeBdIzF0DD45jC5bEIrhGXGb5IxjjPl0wday+vFG2yId6ruQLQeNNScA3IYpadymIpzhquMsKcYHG0ZhWJY1rB2hpDL3GPSEfOuVDqyI/GCBHkrBydqGX2Rqd5V02kaxkxWO0gfDqSTuLSk5FQiJW8gI/zylHoYXRLl+toPr+J7/GPuaUfAuAEDpQco9RGZZAAzybv0DP8R5sXN0aZp8B3wGdaaPGgXbf2pplH/CS2qfkiLbLD5z1BBZ3S0WhkblNfCXZkvjCp1b/kzvJrlKdslt+xWNT45c4ZWNiikQ9Z8tXByGK5FY8KZtcy+0vy/HMvg==
Steps to reproduce
Pass in a component via named slot into a <div>.
What is expected?
This should not work because:

<div> doesn't support named slots.
Doing the same thing but with <template #named-slot> errors at the parser level (Demo). This error should occur when using a component too.

What is actually happening?
The named slot renders unexpectedly.
System Info
No response
Any additional comments?
This happened in our Vue 2 codebase where there was some existing code taking advantage of this bug, and an ESLint auto-fix wrapped the contents in a <template> and broke component.
Noticed this behavior still existed in Vue 3 so I figured I report it.

Not sure I understand the bug you're describing.
The two examples you've provided don't do that same thing.
When you place v-slot directly on the component, the content between the tags will be passed to that slot.
It's essentially a shorthand, if you're only using a single slot.
Meaning that this
<SomeComponent #slot-that-doesnt-exist>
  ...
</SomeComponent>

Is the same as
<SomeComponent>
  <template #slot-that-doesnt-exist>
    ...
  </template>
</SomeComponent>

Ooh interesting! Thanks for clarifying the behavior @Hiws. You're right and this is not a bug.
Our codebase is still on Vue 2 with dated syntax and I didn't realize that the deprecated slot="name" behaved differently from #name in that way.
I guess I was originally discovering a Vue 2 bug with the old named slot syntax and thought it might be reproducible in Vue 3 as well.


bazel test fails on ubuntu 16.04

I'm probably doing something wrong, but following the tutorial, I'm stuck at the bazel test absl/...:all step failing.

terminal output

~/S/abseil-cpp (master) $ bazel test absl/...:all
INFO: Analysed 94 targets (0 packages loaded).
INFO: Found 40 targets and 54 test targets...
ERROR: /home/pqg/Source/abseil-cpp/absl/time/BUILD.bazel:67:1: C++ compilation of rule '//absl/time:time_test' failed (Exit 1)
In file included from external/com_google_googletest/googletest/include/gtest/gtest.h:58:0,
                 from external/com_google_googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:47,
                 from external/com_google_googletest/googlemock/include/gmock/gmock-actions.h:46,
                 from external/com_google_googletest/googlemock/include/gmock/gmock.h:58,
                 from absl/time/duration_test.cc:22:
absl/time/duration_test.cc: In member function 'virtual void {anonymous}::Duration_InfinityAddition_Test::TestBody()':
absl/time/duration_test.cc:463:38: error: 'isinf' was not declared in this scope
   EXPECT_TRUE(isinf(dbl_inf + dbl_inf));
                                      ^
absl/time/duration_test.cc:463:38: note: suggested alternative:
In file included from absl/time/duration_test.cc:16:0:
/usr/include/c++/5/cmath:621:5: note:   'std::isinf'
     isinf(_Tp __x)
     ^
In file included from external/com_google_googletest/googletest/include/gtest/gtest.h:58:0,
                 from external/com_google_googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:47,
                 from external/com_google_googletest/googlemock/include/gmock/gmock-actions.h:46,
                 from external/com_google_googletest/googlemock/include/gmock/gmock.h:58,
                 from absl/time/duration_test.cc:22:
absl/time/duration_test.cc:464:39: error: 'isnan' was not declared in this scope
   EXPECT_TRUE(isnan(dbl_inf + -dbl_inf));  // We return inf
                                       ^
absl/time/duration_test.cc:464:39: note: suggested alternative:
In file included from absl/time/duration_test.cc:16:0:
/usr/include/c++/5/cmath:641:5: note:   'std::isnan'
     isnan(_Tp __x)
     ^
In file included from external/com_google_googletest/googletest/include/gtest/gtest.h:58:0,
                 from external/com_google_googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:47,
                 from external/com_google_googletest/googlemock/include/gmock/gmock-actions.h:46,
                 from external/com_google_googletest/googlemock/include/gmock/gmock.h:58,
                 from absl/time/duration_test.cc:22:
absl/time/duration_test.cc:465:39: error: 'isnan' was not declared in this scope
   EXPECT_TRUE(isnan(-dbl_inf + dbl_inf));  // We return inf
                                       ^
absl/time/duration_test.cc:465:39: note: suggested alternative:
In file included from absl/time/duration_test.cc:16:0:
/usr/include/c++/5/cmath:641:5: note:   'std::isnan'
     isnan(_Tp __x)
     ^
In file included from external/com_google_googletest/googletest/include/gtest/gtest.h:58:0,
                 from external/com_google_googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:47,
                 from external/com_google_googletest/googlemock/include/gmock/gmock-actions.h:46,
                 from external/com_google_googletest/googlemock/include/gmock/gmock.h:58,
                 from absl/time/duration_test.cc:22:
absl/time/duration_test.cc:466:40: error: 'isinf' was not declared in this scope
   EXPECT_TRUE(isinf(-dbl_inf + -dbl_inf));
                                        ^
absl/time/duration_test.cc:466:40: note: suggested alternative:
In file included from absl/time/duration_test.cc:16:0:
/usr/include/c++/5/cmath:621:5: note:   'std::isinf'
     isinf(_Tp __x)
     ^
In file included from external/com_google_googletest/googletest/include/gtest/gtest.h:58:0,
                 from external/com_google_googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:47,
                 from external/com_google_googletest/googlemock/include/gmock/gmock-actions.h:46,
                 from external/com_google_googletest/googlemock/include/gmock/gmock.h:58,
                 from absl/time/duration_test.cc:22:
absl/time/duration_test.cc: In member function 'virtual void {anonymous}::Duration_InfinitySubtraction_Test::TestBody()':
absl/time/duration_test.cc:500:38: error: 'isnan' was not declared in this scope
   EXPECT_TRUE(isnan(dbl_inf - dbl_inf));  // We return inf
                                      ^
absl/time/duration_test.cc:500:38: note: suggested alternative:
In file included from absl/time/duration_test.cc:16:0:
/usr/include/c++/5/cmath:641:5: note:   'std::isnan'
     isnan(_Tp __x)
     ^
In file included from external/com_google_googletest/googletest/include/gtest/gtest.h:58:0,
                 from external/com_google_googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:47,
                 from external/com_google_googletest/googlemock/include/gmock/gmock-actions.h:46,
                 from external/com_google_googletest/googlemock/include/gmock/gmock.h:58,
                 from absl/time/duration_test.cc:22:
absl/time/duration_test.cc:501:39: error: 'isinf' was not declared in this scope
   EXPECT_TRUE(isinf(dbl_inf - -dbl_inf));
                                       ^
absl/time/duration_test.cc:501:39: note: suggested alternative:
In file included from absl/time/duration_test.cc:16:0:
/usr/include/c++/5/cmath:621:5: note:   'std::isinf'
     isinf(_Tp __x)
     ^
In file included from external/com_google_googletest/googletest/include/gtest/gtest.h:58:0,
                 from external/com_google_googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:47,
                 from external/com_google_googletest/googlemock/include/gmock/gmock-actions.h:46,
                 from external/com_google_googletest/googlemock/include/gmock/gmock.h:58,
                 from absl/time/duration_test.cc:22:
absl/time/duration_test.cc:502:39: error: 'isinf' was not declared in this scope
   EXPECT_TRUE(isinf(-dbl_inf - dbl_inf));
                                       ^
absl/time/duration_test.cc:502:39: note: suggested alternative:
In file included from absl/time/duration_test.cc:16:0:
/usr/include/c++/5/cmath:621:5: note:   'std::isinf'
     isinf(_Tp __x)
     ^
In file included from external/com_google_googletest/googletest/include/gtest/gtest.h:58:0,
                 from external/com_google_googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:47,
                 from external/com_google_googletest/googlemock/include/gmock/gmock-actions.h:46,
                 from external/com_google_googletest/googlemock/include/gmock/gmock.h:58,
                 from absl/time/duration_test.cc:22:
absl/time/duration_test.cc:503:40: error: 'isnan' was not declared in this scope
   EXPECT_TRUE(isnan(-dbl_inf - -dbl_inf));  // We return inf
                                        ^
absl/time/duration_test.cc:503:40: note: suggested alternative:
In file included from absl/time/duration_test.cc:16:0:
/usr/include/c++/5/cmath:641:5: note:   'std::isnan'
     isnan(_Tp __x)
     ^
In file included from external/com_google_googletest/googletest/include/gtest/gtest.h:58:0,
                 from external/com_google_googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:47,
                 from external/com_google_googletest/googlemock/include/gmock/gmock-actions.h:46,
                 from external/com_google_googletest/googlemock/include/gmock/gmock.h:58,
                 from absl/time/duration_test.cc:22:
absl/time/duration_test.cc: In member function 'virtual void {anonymous}::Duration_InfinityIDiv_Test::TestBody()':
absl/time/duration_test.cc:711:38: error: 'isnan' was not declared in this scope
   EXPECT_TRUE(isnan(dbl_inf / dbl_inf));
                                      ^
absl/time/duration_test.cc:711:38: note: suggested alternative:
In file included from absl/time/duration_test.cc:16:0:
/usr/include/c++/5/cmath:641:5: note:   'std::isnan'
     isnan(_Tp __x)
     ^
In file included from external/com_google_googletest/googletest/include/gtest/gtest.h:58:0,
                 from external/com_google_googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:47,
                 from external/com_google_googletest/googlemock/include/gmock/gmock-actions.h:46,
                 from external/com_google_googletest/googlemock/include/gmock/gmock.h:58,
                 from absl/time/duration_test.cc:22:
absl/time/duration_test.cc:717:34: error: 'isinf' was not declared in this scope
   EXPECT_TRUE(isinf(dbl_inf / 2.0));
                                  ^
absl/time/duration_test.cc:717:34: note: suggested alternative:
In file included from absl/time/duration_test.cc:16:0:
/usr/include/c++/5/cmath:621:5: note:   'std::isinf'
     isinf(_Tp __x)
     ^
In file included from external/com_google_googletest/googletest/include/gtest/gtest.h:58:0,
                 from external/com_google_googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:47,
                 from external/com_google_googletest/googlemock/include/gmock/gmock-actions.h:46,
                 from external/com_google_googletest/googlemock/include/gmock/gmock.h:58,
                 from absl/time/duration_test.cc:22:
absl/time/duration_test.cc: In member function 'virtual void {anonymous}::Duration_DivisionByZero_Test::TestBody()':
absl/time/duration_test.cc:766:28: error: 'isinf' was not declared in this scope
   EXPECT_TRUE(isinf(two / z));
                            ^
absl/time/duration_test.cc:766:28: note: suggested alternative:
In file included from absl/time/duration_test.cc:16:0:
/usr/include/c++/5/cmath:621:5: note:   'std::isinf'
     isinf(_Tp __x)
     ^
In file included from external/com_google_googletest/googletest/include/gtest/gtest.h:58:0,
                 from external/com_google_googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:47,
                 from external/com_google_googletest/googlemock/include/gmock/gmock-actions.h:46,
                 from external/com_google_googletest/googlemock/include/gmock/gmock.h:58,
                 from absl/time/duration_test.cc:22:
absl/time/duration_test.cc:767:26: error: 'isnan' was not declared in this scope
   EXPECT_TRUE(isnan(z / z));  // We'll return inf
                          ^
absl/time/duration_test.cc:767:26: note: suggested alternative:
In file included from absl/time/duration_test.cc:16:0:
/usr/include/c++/5/cmath:641:5: note:   'std::isnan'
     isnan(_Tp __x)
     ^
At global scope:
cc1plus: warning: unrecognized command line option '-Wno-unused-private-field'
INFO: Elapsed time: 1.912s, Critical Path: 1.63s
FAILED: Build did NOT complete successfully
//absl/algorithm:algorithm_test                                 (cached) PASSED in 0.1s
//absl/algorithm:container_test                                 (cached) PASSED in 0.1s
//absl/base:bit_cast_test                                       (cached) PASSED in 0.1s
//absl/base:call_once_test                                      (cached) PASSED in 0.1s
//absl/base:config_test                                         (cached) PASSED in 0.1s
//absl/base:endian_test                                         (cached) PASSED in 0.4s
//absl/base:invoke_test                                         (cached) PASSED in 0.1s
//absl/base:low_level_alloc_test                                (cached) PASSED in 7.5s
//absl/base:malloc_extension_system_malloc_test                 (cached) PASSED in 0.1s
//absl/base:raw_logging_test                                    (cached) PASSED in 0.3s
//absl/base:spinlock_test                                       (cached) PASSED in 0.3s
//absl/base:sysinfo_test                                        (cached) PASSED in 0.1s
//absl/base:thread_identity_test                                (cached) PASSED in 0.1s
//absl/base:throw_delegate_test                                 (cached) PASSED in 0.1s
//absl/container:fixed_array_test                               (cached) PASSED in 2.3s
//absl/container:fixed_array_test_noexceptions                  (cached) PASSED in 2.2s
//absl/container:inlined_vector_test                            (cached) PASSED in 0.2s
//absl/container:inlined_vector_test_noexceptions               (cached) PASSED in 0.2s
//absl/container:test_instance_tracker_test                     (cached) PASSED in 0.1s
//absl/debugging:disabled_leak_check_test                       (cached) PASSED in 0.1s
//absl/debugging:leak_check_no_lsan_test                        (cached) PASSED in 0.1s
//absl/debugging:leak_check_test                                (cached) PASSED in 0.1s
//absl/memory:memory_test                                       (cached) PASSED in 0.1s
//absl/meta:type_traits_test                                    (cached) PASSED in 0.1s
//absl/numeric:int128_test                                      (cached) PASSED in 0.3s
//absl/types:any_test                                           (cached) PASSED in 0.1s
//absl/types:any_test_noexceptions                              (cached) PASSED in 0.1s
//absl/types:optional_test                                      (cached) PASSED in 0.1s
//absl/types:span_test                                          (cached) PASSED in 0.0s
//absl/types:span_test_noexceptions                             (cached) PASSED in 0.1s
//absl/utility:utility_test                                     (cached) PASSED in 0.1s
//absl/strings:ascii_test                                             NO STATUS
//absl/strings:char_map_test                                          NO STATUS
//absl/strings:escaping_test                                          NO STATUS
//absl/strings:match_test                                             NO STATUS
//absl/strings:memutil_test                                           NO STATUS
//absl/strings:numbers_test                                           NO STATUS
//absl/strings:ostringstream_test                                     NO STATUS
//absl/strings:resize_uninitialized_test                              NO STATUS
//absl/strings:str_cat_test                                           NO STATUS
//absl/strings:str_join_test                                          NO STATUS
//absl/strings:str_replace_test                                       NO STATUS
//absl/strings:str_split_test                                         NO STATUS
//absl/strings:string_view_test                                       NO STATUS
//absl/strings:strip_test                                             NO STATUS
//absl/strings:substitute_test                                        NO STATUS
//absl/strings:utf8_test                                              NO STATUS
//absl/synchronization:barrier_test                                   NO STATUS
//absl/synchronization:blocking_counter_test                          NO STATUS
//absl/synchronization:graphcycles_test                               NO STATUS
//absl/synchronization:mutex_test                                     NO STATUS
//absl/synchronization:notification_test                              NO STATUS
//absl/synchronization:per_thread_sem_test                            NO STATUS
Executed 0 out of 54 tests: 31 tests pass, 1 fails to build and 22 were skipped.
There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are.
~/S/abseil-cpp (master) $ c++ --version
c++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~/S/abseil-cpp (master) $

And versions of things:
~/S/abseil-cpp (master) $ bazel version
Build label: 0.5.4
Build target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Fri Aug 25 10:00:00 2017<PHONE_NUMBER>)
Build timestamp:<PHONE_NUMBER>
Build timestamp as int:<PHONE_NUMBER>

~/S/abseil-cpp (master) $ g++ --version
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

same issue as you, also on ubuntu16.0+bazel 0.5.4

This is a duplicate of https://github.com/abseil/abseil-cpp/issues/3.


I have the same problem any solution???

I have the same problem any solution???
Originally posted by @hsosa88 in https://github.com/muhammad-shariq/exclusiveunlock/issues/11#issuecomment-555811593

i have same error . can i contact you   please write my whatsapp    +94712556303    https://wa.me/94712556303
my script not work , help me

you need to enable URL rewritting according to your server setup.


Feature: Migrate to Google Server

Migrate Fastapi server to google cloud run-jobs script
Generate Google cloud workflows yaml file
Deploy to google cloud

Run-jobs on workflows repo
Run jobs tutorial
Document

https://cloud.google.com/workflows/docs/tutorials/execute-cloud-run-jobs
https://cloud.google.com/workflows/docs/calling-run-functions#cloud-run-jobs
Cloud run admin api


incubator-kie-issues#564: replace copyrights headers/comments in kogito-operator

Closes https://github.com/apache/incubator-kie-issues/issues/564
Many thanks for submitting your Pull Request :heart:!
Please make sure your PR meets the following requirements:

[ ] You have read the contributors' guide
[ ] Pull Request title is properly formatted: [KOGITO-XYZ] Subject
[ ] Pull Request contains a link to the JIRA issue
[ ] Pull Request contains a description of the issue
[ ] Pull Request does not include fixes for issues other than the main ticket
[ ] Your feature/bug fix has a unit test that verifies it
[ ] You've ran make before-pr and everything is working accordingly
[ ] You've tested the new feature/bug fix in an actual OpenShift cluster
[ ] You've added a RELEASE_NOTES.md entry regarding this change

How to retest this PR or trigger a specific build:

Run operator BDD testing
Please add comment: /jenkins test

Run RHPAM operator BDD testing
Please add comment: /jenkins RHPAM test

How to backport a pull request to a different branch?

In order to automatically create a backporting pull request please add one or more labels having the following format backport-<branch-name>, where <branch-name> is the name of the branch where the pull request must be backported to (e.g., backport-7.67.x to backport the original PR to the 7.67.x branch).

NOTE: backporting is an action aiming to move a change (usually a commit) from a branch (usually the main one) to another one, which is generally referring to a still maintained release branch. Keeping it simple: it is about to move a specific change or a set of them from one branch to another.

Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.
If something goes wrong, the author will be notified and at this point a manual backporting is needed.

NOTE: this automated backporting is triggered whenever a pull request on main branch is labeled or closed, but both conditions must be satisfied to get the new PR created.

I believe the error in question is unavoidable, due to the nature of this pull request. The headers are changing in all files, including the auto generated through make before-pr, and theKogito Operator PR Checks / Lint (pull_request) is complaining about the changes in the auto-generated files
Change is detected in some files:
 M client/clientset/versioned/fake/register.go
 M client/clientset/versioned/scheme/register.go
 Did you run 'make vet' before sending the PR?
Error: Process completed with exit code 1.

@LightGuard Can you please review it again? If it's fine for you, I think we can merge it :)

@kbowers-ibm Therefore, I expect that any future PR will NOT complain about that, because the code doesn't change on those files.
That is my expectation as well, I'm hoping we're right :D

And that means, that the old RH header was manually added after the file generation, that's right?
The old RH header was automatically added through running make before-pr, and I've changed it so that make before-pr generates the Apache header in those files now


correct the link to cloud-init

Signed-off-by: yanxuean<EMAIL_ADDRESS>

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


sample ansible scripts for distributed deployment

We should distribute a sample script configuration which shows how to deploy an openwhisk system with 3 nodes (1 master and 2 slaves) on SoftLayer.
Ideally this would include scripts that provision the machines on SoftLayer, and maybe a blog post or some docs walking through the steps.
Also, we should provision some cluster and add this to CI tests.

Can I get a follow up of this? or any hint for manual deployment?

The ansible hosts file will look something like this:
; the first parameter in a host is the inventory_hostname which has to be
; either an ip
; or a resolvable hostname
; used for local actions only
ansible ansible_connection=local
[edge]
some_hostname          ansible_host=1.23.456.789
[controllers]
some_hostname            ansible_host=1.23.456.789
[kafka]
some_hostname            ansible_host=1.23.456.789
; the consul_servers group has maximum 5 machines
[consul_servers]
some_hostname          ansible_host=1.23.456.789
[invokers]
some_hostname           ansible_host=1.23.456.789
some_hostname           ansible_host=1.23.456.789
some_hostname           ansible_host=1.23.456.789
[catalog]
some_hostname            ansible_host=1.23.456.789
[router]
some_hostname            ansible_host=1.23.456.789
[core:children]
edge
controllers
kafka
elk
[shared:children]
catalog
router
; define variables
[all:vars]
ansible_connection=ssh
ansible_user=username
ansible_ssh_private_key_file="something/ssh/id_rsa"
ansible_become_pass=some_password

Is this finished now that we have the openstack scripts?    @rabbah @markusthoemmes

closing as done thanks to the OpenStack distributed deployment scripts.


add INSendMessageIntent donations

Donate INSendMessageIntends when sending a message
Pull Request Checklist

[ ] Pull request is based on the develop branch
[ ] Pull request contains a changelog file in ./changelog.d
[ ] Pull request includes a sign off

I would guess the build failure is because of iOS 15. Shall I just wait until the action is set to use Xcode 13?


Public keys for all participants

The assignment of public keys is resolved via the Manifest Generator giving the unique public keys to the proper manifests, as well as the AM Library assuring that those public keys are present.
Closed by ku-sldg/am-cakeml#10


Updated models to use stride logo

PR Details
edited the mannequin model (removed the xenko logo and changed it with stride's) and created the 3 texture maps for the box (mask, occlusion, normal)

Thank you so much!

i am getting this warning now, when building Stride:
warning 46,035s: [AssetCompiler] 37 node(s) were present in model [C:/Dev/vvvv/stride/sources/data/tests/knight/scenes/mannequinModel.fbx] but not in asset [mannequinModel Skeleton], please reimport: Armature, CATRigAnkleleft_end, left_extra_bone_end, CATRig1Boneside01_end, CATRig1Boneside324_end, CATRig1Bonelowleft_end, backplatelieftdown_end, CATRigLArmDigit13_end, CATRigLArmDigit23_end, CATRigLArmDigit33_end, CATRigLArmDigit43_end, CATRigLArmDigit53_end, wepon_bone_L_end, CATRigHub002Bone001_end, CATRigHub002Bone002_end, CATRigHub002Bone003_end, CATRigRibcage0rtee_end, CATRigHub002Bone004_end, CATRigRArmDigit13_end, CATRigRArmDigit23_end, CATRigRArmDigit33_end, CATRigRArmDigit43_end, CATRigRArmDigit53_end, wepon_bone_R_end, gun_barrel_end, gun_bone_magazine_end, CATRigHub001Bone002_end, back platerightdown_end, CATRigAnkleright_end, right_extra_bone_end, CATRig1Boeer643_end, CATRig1Bone43840_end, CATRig1Bonerightlow_end, CATRigLLegPlatform_end, CATRigRLegPlatform_end, CATRigRArmIKTarget_end, CATRigLArmIKTarget_end
@salahchafai did you check whether all animations and skeletons still work after the model was updated?

i am getting this warning now, when building Stride:
warning 46,035s: [AssetCompiler] 37 node(s) were present in model [C:/Dev/vvvv/stride/sources/data/tests/knight/scenes/mannequinModel.fbx] but not in asset [mannequinModel Skeleton], please reimport: Armature, CATRigAnkleleft_end, left_extra_bone_end, CATRig1Boneside01_end, CATRig1Boneside324_end, CATRig1Bonelowleft_end, backplatelieftdown_end, CATRigLArmDigit13_end, CATRigLArmDigit23_end, CATRigLArmDigit33_end, CATRigLArmDigit43_end, CATRigLArmDigit53_end, wepon_bone_L_end, CATRigHub002Bone001_end, CATRigHub002Bone002_end, CATRigHub002Bone003_end, CATRigRibcage0rtee_end, CATRigHub002Bone004_end, CATRigRArmDigit13_end, CATRigRArmDigit23_end, CATRigRArmDigit33_end, CATRigRArmDigit43_end, CATRigRArmDigit53_end, wepon_bone_R_end, gun_barrel_end, gun_bone_magazine_end, CATRigHub001Bone002_end, back platerightdown_end, CATRigAnkleright_end, right_extra_bone_end, CATRig1Boeer643_end, CATRig1Bone43840_end, CATRig1Bonerightlow_end, CATRigLLegPlatform_end, CATRigRLegPlatform_end, CATRigRArmIKTarget_end, CATRigLArmIKTarget_end
@salahchafai did you check whether all animations and skeletons still work after the model was updated?
@xen2 or do all places that use the model need re-building now?

before sumitting the pr i tried building the engine and it worked just fine, all i changed is the models so there shouldn't be any error, tho i'll try rebuilding now to see what's the issue

yes, this warning is from the asset compiler, it is not a code compilation error. so did you test (build and run) the games/templates that use that model?

@tebjan you mean when creating a project from a template then starting it ? i only tested that with the fps template, for the rest i only created a project to see whether the models are showing properly or not but didn't build the game, i'll rebuild stride and try that, tho it shouldn't be hard to fix anyway, just reimporting the animated models

Ok, if you checked a game that uses that asset and the animations all work, then it's fine, I guess.

I checked: it's working (with the aforementioned warning).
However, if I reimport a material is not set. Also probably animation match because node order is the same, but it's not great that nodes name are different.
For now I will revert the mannequin model so that we can take another closer look at it later.

i think i understand the issue, in the first pr i edited all the mannequin models i found to have the stride logo, in the second pr i found another mannequin model still with the xenko logo so i just overidden it with another one that has the stride logo, however i think the model that i changed last time doesn't have the same node names as the other ones which is what caused the issue, i'll fix it

@salahchafai that's a good idea, maybe the models where different. Now the question is do we unify both and reimport, or just update the second one add well?

@tebjan i'm not sure tbh but i think unifying both models would be better, there's no reason for having 2 different models for the mannequin (there are 5 different fbx files but only one of them has the nodes' names different that's why changing it to be like the others would be better)

@xen2 which material isn't assigned when reimporting the asset ? (i'm replying late cuz i had some issues building stride), i reimported the mannequin and all materials are working fine for me


what about 2022

Windows Server 2022 is not included in the list of applicable Operating Systems, is that correct or an oversight?
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: ddbaf64c-f5c5-3e31-e639-b96213dc257c
Version Independent ID: ac13399d-6ee7-3ab9-b9fd-9dae5370b14d
Content: Harden your Windows and Linux OS with Azure security baseline and Microsoft Defender for Cloud
Content Source: articles/defender-for-cloud/apply-security-baseline.md
Service: defender-for-cloud
GitHub Login: @bmansheim
Microsoft Alias: benmansheim

@DeanGross
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.

#reassign: @ElazarK

@DeanGross Thank you for bringing this to my attention. I am looking in to it now and hope to have an update for you shortly.

#reassign:bmansheim

Reassigned to BMansheinm as he has a better connection with the team who handles this topic and he may be able to get a response faster

@DeanGross The omission of Windows 2022 is correct. We are checking to see if recent updates allow Windows 2022 support. We'll update the docs if that is the case.
#please-close


mkpr package.json sed s/"npm-pkgbuild":.*/"npm-pkgbuild":"^6.0.14",/

Pull Request Test Coverage Report for Build 1470

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.399%

Totals

Change from base Build 1467:
0.0%

Covered Lines:
301

Relevant Lines:
302

💛  - Coveralls


Update 1.13.5

Bug Tracker: new open issues https://github.com/jupyter/jupyter_server/issues
Github releases:  https://github.com/jupyter/jupyter_server/releases
Upstream Changelog: https://github.com/jupyter/jupyter_server/blob/main/CHANGELOG.md
License: https://github.com/jupyter-server/jupyter_server/blob/v1.13.5/COPYING.md
Upstream pyproject.toml: https://github.com/jupyter-server/jupyter_server/blob/v1.13.5/pyproject.toml
Upstream setup.cfg: https://github.com/jupyter-server/jupyter_server/blob/v1.13.5/setup.cfg
The package jupyter_server is mentioned inside the packages:
jupyterlab | jupyterlab_server | nbclassic | terminado |
Actions:

Use noarch: python
Update host dependencies: add jupyter-packaging >=0.9,<1, setuptools, wheel
Update run dependencies
Add  downstreams for additional testing: jupyterlab >=3.2  # [not (osx and arm64)]

conda.exceptions.ResolvePackageNotFound:
  - anyio[version='>=3.1.0,<4']

We need to update anyio to 3.5.0 https://github.com/AnacondaRecipes/anyio-feedstock/pull/2

An error on s390x:
conda.exceptions.ResolvePackageNotFound:
  - anyio[version='>=3.1.0,<4']
  - websocket-client

jupyter_server 1.13.5 was uploaded for testing to the channel c3i_test2 and ran commands on win64:

conda create -n __test_jup_server python=3.10 c3i_test2::jupyter_server=1.13.5
conda activate __test_jup_server
jupyter server --generate-config, see https://jupyter-server.readthedocs.io/en/latest/users/configuration.html
jupyter server --ServerApp.port=9999
jupyter server (Launching a bare Jupyter Server, see https://jupyter-server.readthedocs.io/en/latest/users/launching.html)

anyio updated to 3.5.0


Remove unnecessary prefix from test helper class

the substring kotlin2cpg is already part of the FQN, no need to have it twice

This one is a matter of style. This approach is cleaner than the old one, but does come at the cost of consistency with other frontends' code.

yes, good point, we should change the other ones as well soonish


Using with Selenium WebDriver ?

Hi,
I'm not really familiar with Selenium yet (i'm getting there),
but it seems to me that the only way to use django-nose-selenium is with selenium standalone server running,
that's to say using Selenium RC.
Selenium is now recommanding to user Selenium WebDriver for tests, is there any way to make it work with webdriver ?
thank you very much for your app,
it's really useful to me and if any help is needed, i'd be glad.
Regards,
Olivier.

+1 on this

Hi, sorry for the late reply. I started to work on webdriver support a few months ago, but didn't really get to a point where I could release anything. However, I just pushed the current state to the webdriver branch if you want to have a look.
If anyone wants to contribute, feel free to fork and send patches!

thx for the update, i'll look into it


Plex service media_seek doesn't work

Home Assistant release with the issue:
100.2
Last working Home Assistant release (if known):
Unknown
Operating environment (Hass.io/Docker/Windows/etc.):
Docker
Integration:
https://www.home-assistant.io/integrations/plex/
Description of problem:
When I call media_player.media_seek with target plex, noting happens.
No logs in the ha too.

Seeking is not currently supported by the Plex platform.

=(

Sorry. Might be supported in the future.


Dead Link to 0.24 release in Tern website

The website (http://ternjs.net/) says that there was a release on May 30 this year -- yet, the link to the release cannot be found (404 error). Such link is https://github.com/ternjs/tern/tree/0.24.0.
What happened to this release? I just wanted to know specifically what what updated in def files for Date, DOM Node.

Thank you, fixed by add tag to that commit.


Missing scrolling inertia on iPadOS when using trackpad

Steps to Reproduce

Execute flutter run on the code sample
Connect an external trackpad to iPad (in this case, I am using the Magic Keyboard)
Use the two-finger scroll gesture

Expected results:
Scrolling animation should not stop when I lift my fingers from the trackpad. It should have inertia, just like when using touch input or when scrolling on computers.
Actual results:
Scrolling animation stops abruptly when I lift my fingers from the trackpad.

Code sample

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    var text = "Example Text ";
    for (var i in Iterable.generate(100)) {
      text = text + i.toString() + '\n';
    }
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: SingleChildScrollView(
        child: Text(
          text,
        ),
      ),
    );
  }
}

Logs

No log at all! even with --verbose (except at build time)
I guess scroll event simply isn't logged.

Analyzing flutter_application_1...
No issues found! (ran in 3.0s)

[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-x64, locale en-US)
    • Flutter version 2.8.1 at /Users/user/Projects/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (5 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

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

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

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

[✓] Connected device (3 available)
(devices omitted)

Video:
https://user-images.githubusercontent.com/12184989/150663131-6f110a09-8e41-490f-902d-eb7c89a938fb.MP4
Comparing trackpad scroll vs finger scroll (the transparent dot indicates trackpad is being used)

@singularity-s0
By missing scrolling inertia, do you mean when we try to flung scrollbar, it doesn't scroll correct ?
If so, can you check if this issue is similar to your case ?

@singularity-s0
By missing scrolling inertia, do you mean when we try to flung scrollbar, it doesn't scroll correct ?
If so, can you check if this issue is similar to your case ?

Hi, thanks for the reply.
No, this issue has nothing to do with scrollbar. As you can see in the video no scrollbar activity is involved.
This issue occurs when one uses the two-finger scroll gesture on iPad. It is only reproducible (and quite obvious) on iPad with (external) trackpad. Scrolling with other input is not affected.

@singularity-s0
By missing scrolling inertia, do you mean when we try to flung scrollbar, it doesn't scroll correct ?
If so, can you check if this issue is similar to your case ?

Hi, thanks for the reply.
No, this issue has nothing to do with scrollbar. As you can see in the video no scrollbar activity is involved.
This issue occurs when one uses the two-finger scroll gesture on iPad. It is only reproducible (and quite obvious) on iPad with (external) trackpad. Scrolling with other input is not affected.

@singularity-s0
Can you try to see what does ScrollPosition.isScrollingNotifier returns if you use two-finger gesture to scroll using trackpad ? Does it return false or true using something like:
final ScrollController controller = ScrollController();

  @override
  void initState() {
    controller.addListener(() {
      // always prints "scrolling = true"
      print('scrolling = ${controller.position.isScrollingNotifier.value}');
    });
    super.initState();
  }

  @override
  void dispose() {
    controller.dispose();
    super.dispose();
  }

It prints all false when scrolling with trackpad and all true when scrolling with finger.

@singularity-s0
Thanks for verifying. Based on your finding, I believe you are hitting https://github.com/flutter/flutter/issues/75591, so I suggest you to follow-up in it for further updates.
Closing this as a duplicate. If you disagree, write in comments and I'll reopen it.


cmd/go: go get (unzip) cannot handle unicode path

What version of Go are you using (go version)?

$ go version
go version go1.12.6 linux/amd64

Does this issue reproduce with the latest release?
Yes (and tip)
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/leitzler/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/leitzler/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/tmp/tmp.OCzVOwKWBd/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build567694577=/tmp/go-build -gno-record-gcc-switches"

What did you do?
Tried to fetch a third party dependency that contained a folder/file with unicode chars.
To reproduce I've created a repo that contains a folder & file with a unicode char, in package:
github.com/modsdemo/unicode/🦡
It can be used in a Go program, but can't be fetched using go get since unzip will fail to extract it:
$ cd $(mktemp -d) && go mod init x
$ go get github.com/modsdemo/unicode
go: finding github.com/modsdemo/unicode latest
go: downloading github.com/modsdemo/unicode v0.0.0-20190614083133-991638b734de
go: extracting github.com/modsdemo/unicode v0.0.0-20190614083133-991638b734de
-> unzip<EMAIL_ADDRESS>malformed file path "\U0001f9a1/\U0001f9a1.go": invalid char '\U0001f9a1'
package github.com/modsdemo/unicode: unknown import path "github.com/modsdemo/unicode": unzip<EMAIL_ADDRESS>malformed file path "\U0001f9a1/\U0001f9a1.go": invalid char '\U0001f9a1'

What did you expect to see?
The dependency fetched
What did you see instead?
Unzip failing to extract the module zip

See https://github.com/golang/go/blob/55d31e16c12c38d36811bdee65ac1f7772148250/src/cmd/go/internal/module/module.go#L378

Closing as duplicate of #29101, please let me know if you think that's not correct.


Create CI-test

Jenkins job mixerclient/presubmit passed

Jenkins job mixerclient/presubmit passed

Jenkins job mixerclient/proxy-regression passed


Allow to configure listener port for SSL

Greetings,
I tried using the woodpecker binary instead of the classical docker-compose version, and I didn't found a way to configure the listener port when port 443 is already in use.
I propose to add two configuration flags for HTTP and HTTPS port because when SSL is enabled, both are hard coded. I wanted to reuse WOODPECKER_SERVER_ADDR but it was not used for SSL version and it would change the behavior because the default is :8000 instead of :80.
I would be happy to respond to any remarks,
Thanks

@neruyzo see CI just a lint issue

Should I complete the CHANGELOG.md file ?

I would not name them _PORT as they represent only port but IP + port so they should still be called ADDR

I would not name them _PORT as they represent not only port but IP + port so they should still be called ADDR

server.Config.Server.Port | server-addr | WOODPECKER_SERVER_ADDR
server.Config.Server.PortTLS | server-addr-tls | WOODPECKER_SERVER_ADDR_TLS

Codecov Report
Patch coverage has no change and project coverage change: -0.09 :warning:

Comparison is base (f3074dd) 39.26% compared to head (22abc7f) 39.18%.

:exclamation: Current head 22abc7f differs from pull request most recent head 80d57c8. Consider uploading reports for the commit 80d57c8 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1735      +/-   ##
==========================================
- Coverage   39.26%   39.18%   -0.09%
==========================================
  Files         169      169
  Lines       10815    10826      +11
==========================================
- Hits         4247     4242       -5
- Misses       6292     6308      +16
  Partials      276      276

Impacted Files
Coverage Δ

cmd/agent/agent.go
4.56% <0.00%> (-0.28%)
:arrow_down:

cmd/agent/main.go
0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


update: handle too-large corner case in leaf split

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#233
#232  👈
#231
#229
#228
#227
#226
#225
#224
#223
#221
#220
#219
#218 : 1 other dependent PR (#222 )
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rphmeier and the rest of your teammates on  Graphite

Merge activity

Aug 12, 11:33 AM EDT: @rphmeier started a stack merge that includes this pull request via Graphite.


Add schema generation

This pull request adds a cli command which allows the automatic generation of json schemas for the following file types:

Module configuration
Repository configuration
Pusta configuration

The command is pusta schema --directory <directory> and is hidden by default in the clap info screen. The command creates a config.json, module.json and repository.json in the specified directory which is by default .local/state/pusta (or XDG_STATE_HOME/pusta to be more precise)

generally lgtm from a first glance. two things:

we should rather put the schemas into XDG_DATA_HOME or something else, but not XDG_STATE_HOME as it is not application state.
some docs would be nice to have (with examples for zed and vscode if we're fancy)


What's the right way to pass in bytecode?

MythX CLI version: latest
Python version: sufficient
Operating System: macos

Description
I'm trying to process creation bytecode.
What I Did
I saved the bytecode to a file call Token.bin.
I tried running mythx analyze --mode quick --async Token.bin.
No luck.
I tried:
cat Whitelist.bin | mythx analyze --mode quick --async /dev/stdin
and cat Whitelist.bin | mythx analyze --mode quick --async
What eventually worked was:
mythx analyze --mode quick --async \cat Whitelist.bin``
which seems kind of odd.

mythx by default does not support stdin to pass parameters. That makes detection a bit harder. What you can do however is use xargs, which ships with all common Linux distros and MacOS:
cat foo.bin | xargs mythx analyze

It will basically take each line of the file and add it as a parameter to the specified command. You can also use this to fetch the reports of multiple UUIDs as outlined in the usage docs: https://mythx-cli.readthedocs.io/en/latest/usage.html#asynchronous-analysis
Let me know if this helps :slightly_smiling_face:

Yep, xargs works for me.


No response

Long time no response, my GPT key input is not a problem. My version is 3.5, can I use it?

Error in code execution: exec() arg 1 must be a string, bytes or code object

I think it should be an interface issue. I didn't recharge the GPT, so I think there should be a free quota

I think it may be my network problem. How to add a proxy when requesting, which file is it

where is CustomLLM

Hi there!
Sorry to see those issues. We will have a look.
@mbrunel maybe? It might be related to recent changes

@hack-scan I am unable to reproduce your issue. Working fine for me.

One thing I noticed in your screenshot is that I don't see any instruction in the instruction box - can I check you selected an instruction, clicked on it in the instruction box and pressed enter?

Can you tell me your set-up? Are you running this locally? In a docker container? In a Google Colab?

What about the HuggingFace example? Does this work for you? https://docs.lavague.ai/en/latest/docs/integrations/hugging-face-api/

Does HuggingFace cost money? I am currently switching to the domestic AI interface and it can run normally, but it is not as powerful as GPT3.5/4.0. I would like to add a request proxy function to request the GPT interface to add a proxy, because our country is not very friendly to accessing this and VPN must be used.

Hello, I understand the issue better now.
HuggingFace API is free, but from a quick search, it seems it is also not accessible from China.
In case other users are having similar issues, I will also share this article you shared with me here about using LaVague with ChatGLM: https://zhuanlan.zhihu.com/p/687945821 - note I don't understand the text but the code looks useful!
I will reply more to this issue later on

Hi @hack-scan,
Sorry I never came back to this. Unfortunately, we are not really able to address specific access issues to certain APIs in-house, but of course you can use our interfaces with VPNs, or test with different APIs. I hope you will still able to use/contribute to LaVague :)


Zoom issues with Apple trackpad (Magic Mouse)

Zooming with the scroll gesture causes very jumpy behavior between zoom levels. The calls to _performZoom seem to add up, meaning the map keeps zooming after the user has stopped scrolling.
Basically the Apple trackpad creates A LOT of calls to _onWheelScroll and because of inertial scrolling, continues to call it after the user has actually stopped scrolling. For my uses, changing the value
var left = Math.max(40 - (+new Date() - this._startTime), 0);
to something more like:
var left = Math.max(200 - (+new Date() - this._startTime), 0);
works decently. It makes the apple mouse a little too sensitive (harder to move between small numbers of zoom levels), but seems to get rid of the jumping effect. Any ideas of a better solution?

Any news on this front? schovi mentioned that this solution works perfectly, but even with the current master, I still see issues when using a Magic Mouse. They can be classified roughly into two categories:

Sometimes when zooming, there is a zoom by one level in the wrong direction at the end or at the beginning. I assume this could be when not swiping completely vertical on the mouse, as swiping horizontally also initiates zooming
Zooming is not as intuitive as with a scroll wheel. One is likely to overshoot the intended zoom level (sometimes a small touch on the mouse zooms by 2-3 levels - this is also when just trying to perform a click with the mouse). Maybe adding a threshold for _delta could help, i.e. only trigger a zoom after enough delta value has accumulated?

I'm also interested in the status of this issue. We recently upgraded from 0.7.2 to 0.7.3 and started seeing  bizarre scrolling behavior when using an Apple trackpad. It made scrolling so unusable we had to downgrade.

I had some work in progress on this that should in theory improve things in https://github.com/Leaflet/Leaflet/pull/3653. Can you try out that branch? I would appreciate feedback.

Thanks for the quick response! I played around with that branch and it does look like the over-zooming problem is fixed. However, I noticed when I zoom in, the image does not stay centered on the mouse, but instead zooms off to one side and then snaps back into place. Happy to provide more details if you need them.

Thank you for still working on the problem. I know that this is a tough one to solve - I also gave it a quick try but quickly realized that finding a satisfying solution won't be easy.
That said, your new branch unfortunately does not noticably change the behaviour I see in Safari with the MagicMouse as described above.

Should be fixed with #3653 please open a new issue if needed.


Error

Trying to create a project by using a template and it isnt creating

Please provide more information on the issue you experienced.


⚠ Nebulance has degraded performance

In f819f85, Nebulance ($NBL) experienced degraded performance:

HTTP code: 200
Response time: 1489 ms

Resolved: Nebulance performance has improved in df0f266 after 9 minutes.