Issue in file node modules

during the time of installation

during the time of start

during the time of installation  during the time of start

Error say net::ERR_CONNECTION_RESET, please check your connection again make sure you can open web.whatsapp.com,

why these a are coming

why these a are coming

QR Code for authenticated whatsapp, maybe your terminal didnot support, you can try another terminal

This is error after qr code

 This is error after qr code

Update chatgpt to latest version

updated, same problem persist

and what do you mean by update chatgpt

and where to save .env file
i have saved in in wa-chatgpt folder where i am running terminal

and what do you mean by update chatgpt

This https://github.com/transitive-bullshit/chatgpt-api, make sure you are on latest version or you can try delete node_modules folder and run npm install

my email is not invalid
i have tried both way
CHROME_PATH=C:\Program Files\BraveSoftware\Brave-Browser\Application/brave.exe
<EMAIL_ADDRESS>PASSWORD=["password"]
and
CHROME_PATH=C:\Program Files\BraveSoftware\Brave-Browser\Application/brave.exe
<EMAIL_ADDRESS>PASSWORD=[password]
in both of them same error


Listing nrwl actions in the Github Marketplace

Is it possible to get these actions listed in the Github Marketplace for verification? Specifically nx-set-shas.
https://github.com/marketplace?type=actions&verification=verified_creator&query=nrwl

Thank you for the issue. We will check the procedure for verification.

This would be useful, for example in our company the policy is that actions from non-verified creators need to be pinned to the commit sha, which requires additional steps to keep up to date with the latest.

The process seems reasonably straight forward now, not sure this was the case when this issue was opened: https://docs.github.com/en/apps/publishing-apps-to-github-marketplace/github-marketplace-overview/applying-for-publisher-verification-for-your-organization

I second this request, Company policies are restricting use of non-verified actions for us.

Hello, any update here? Would be great to have this done and it does not require too much effort you your part

Hi @meeroslav! I was surprised to find that nrwl wasn't in GitHub's verified creator's list given how broadly used Nx (and Lerna!) are in the open source community. Was hoping we could get an update on how the verified creator process is going!
As with others, we have stricter rules around non-verified actions so becoming verified would be a huge help. Thanks!

The nrwl organization has been verified for quite some time:

I wonder if GitHub will only count it on the actions listing if a new version is published. Trying that now in #151

That did not help. I even delisted the action from the marketplace and republished the new version I just created, it's still the same: https://github.com/marketplace/actions/nx-set-shas
Anyone have any ideas on why it is not reflecting our verified status?

I even enrolled us in the GitHub Developer Program as I saw another verified organization which published an action had this, and published another version, it did not help 😢

@JamesHenry I reached out to my contacts at GitHub and they passed it along to the appropriate team... https://github.com/marketplace/actions/nx-set-shas shows as verified now.
I believe there are a few other nrwl/nx actions, correct? Can you publish the other actions in the marketplace (if they aren't already) and see what happens now? 😊

Ok, thanks @ebickle!
There are no more actively maintained actions from us, no. I will close this one as it has been resolved now.
Thanks again!


lookbehind not working

in narrow search:
(?<!object.)property

doesn't yield anything.
No errors reported to atom console.
Running ag '(?<!object.)property' works, so no idea what's the issue.
Narrow 0.65.0, Win7, Atom 1.26.1

Actually, I'm pretty sure the issue is caused because the matching in atom buffer uses native Atom search API, which doesn't support lookbehind (due to old electron/chromium).


[BugFix] fix reading zero size stream in orc format

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #https://github.com/StarRocks/StarRocksTest/issues/745#event-6982422963
Problem Summary(Required) ：

To handle zero-size range. Instead of removing zero-size io range, specifying compare function would also resolve this problem.

run starrocks_admit_test


Make RemotePicture hero compatible

As mentioned above, is it possible to make RemotePicture hero compatible?

Hey, don't want to bother you but are there any updates on it's possibility? If it is not possible i'll try some other things.

Hey, as soon as I have time I'll give it a try


Wrap ReportingServicesTools' objects as a Powershell SHiPSDirectory

Do you want to request a feature or report a bug?
feature
What is the current behavior?
ReportingServicesTools works great. I would rather browse RS catalog folders and items via PowerShell than via a Web UI, as while the new Web UI looks much nicer than the old Web UI, it requires SO MANY clicks to get anything useful done compared to SSRS 2008's ugly but efficient UI.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
What is the expected behavior?
Provide a PowerShell snap-in so that reporting services can be mounted as a PSDrive via a ReportingServicesToolsProvider snap-in. This could have useful shortcuts, such as automatically opening the default web browser up to to the PSDrive's current location.
Here is some v1.0 features:

list items on a report server Get-ChildItems
navigate the report server structure Set-Location rs:\Resources\ and cd Logos - Get-Location will return rs:\Resources\Logos\
create/delete reports
create/delete folders New-Item rs:\DataSources\ and Remove-Item rs:\DataSources\
create/delete data sources Get-ChildItem rs:\ | Where-Object { $_.Type -eq "DataSource" } | ForEach-Object { Remove-Item $_.Path }
create/delete resources
open default web browser to current PSDrive location when the current PSDrive is a ReportingServicesToolsProvider snap-in. e.g. http://localhost/Reports/browse/ but eventually would be nice to also open http://localhost/Reports/manage/catalogitem/security/ - One can imagine how nice it would be to quickly pull up subscription pages, set the subscriptions, then go back to the command line and do Export-RsSubscriptionXml

Which versions of Powershell and which OS are affected by this issue? Did this work in previous versions of our scripts?
n/a - feature request

@ChrisLGardner  I'm not sure I understand what SHiPS is, or how to fit in ReportingServicesTools module with SHiPS - could you please explain it to me? For example, I have no idea what this SHiPS example code does:
new-psdrive -name Austin -psprovider SHiPS -root 'FamilyTree#Austin' cd Austin:
What does the # mean/do?  The docs are not clear. I can only guess this is why the adoption of this framework is absolutely marginal at best (under 3000 downloads): https://www.powershellgallery.com/packages/SHiPS/0.6.0
Regardless, it does appear you are right: Page 308 of Bruce Payette's book says:

PowerSHell snap-ins were the only way to ad binary cmdlets to PowerShell v1. You had to register the DLL containing the snap-in before you could load it into PowerShell.
Snap-ins were deprecated in PowerShell v2 when modules were introduced. Modules are the recommended way to extend PowerShell.
The only thing you need to know about snap-ins is that you shouldn't use them.

@ChrisLGardner I did some more reading, and I now sort of understand how SHiPS works. It appears the only consumer of SHiPS so far is AzurePSDrive. I've added an Issue on SHiPS for them to add trackbacks to other projects using SHiPS. https://github.com/PowerShell/SHiPS/issues/90

I've updated the issue to reflect @ChrisLGardner idea of using SHiPS. It does seem a bit easier to do.

@jzabroski  VSTS Team is using SHiPS. Check out https://www.powershellgallery.com/packages/VSTeam/2.1.4/Content/src\team.psm1

@jianyunt  Thank you very much!


create poll in tweetdeck

not sure if this is possible but you can try?

I've tried. It's not possible (or at most, very very difficult) to intercept TweetDeck's functions that control the data that's sent to Twitter's API for posting a tweet.
At most, the Tweet box can be re-created using a custom function, but that'd be very complicated and require a lot of work. Another thing to try is to create a global listener that waits for network transfers and run a function every time something is sent (i.e. the request to post a Tweet). However, that would lag the browser WAY too much and is very prone to break with a TweetDeck update (that happens sometimes).
Ask @eramdam if he has any plans to add polls to BetterTweetDeck, as this question is more relevant to the discussion of BTD than ModernDeck.

Ask @eramdam if he has any plans to add polls to Better TweetDeck, as this question is more relevant to the discussion of BTD than ModernDeck.

😁  I still have to checkout the way polls got implemented in ModernDeck. @dangeredwolf and I had a talk about it a few weeks ago and he told me he managed to get them working.
As for the creation of polls, since TweetDeck is somewhat acting like a 3rd party client (it's subject to rate limit like any other 3rd client) (yes that doesn't make any sense) I guess it would be a lot of work to actually trick the Twitter API into believing you're an official app.. Typically the kind of modification you don't even want to try when you don't actually work on TweetDeck itself.

he told me he managed to get them working.

Well if he "managed to get them working," then either:

he hasn't pushed that to GitHub
he partly lied because viewing polls it's already implemented in TweetDeck as part of an update (not sure because, you know, ^^number 1)

And also, after looking into Twitter's API docs, it's not possible to send a POST request to create a Tweet with a poll, they only come embedded into an API response for a Tweet status.

Or maybe it wasn't @dangeredwolf talking w/ me on this thread ? 😅

Omg indeed. Must be recent because at the time of that thread there was not a way to see polls in TD + I checked the data presented by TD back then and there was nothing about polls except the fact that tweets had them.
Now TweetDeck has more useful infos about polls so I could definitely do something :)

You can collect the data from the polls in TweetDeck, but you can't post polls to Twitter.
This is because TweetDeck directly uses the Twitter API instead of its own endpoint (which should be the same one powering Twitter Web but it's not).
And Twitter's API seems to not have any plans of adding polls as a parameter for status updates.

Now that I've looked at the thread, the implementation for the creation of polls would be very hacky. And insecure at that, too (force-rewriting the content-security headers on twitter.com may worry some users, and it'd be very shady to throw that under the rug without clear explanation).

If you're trying to use twitter.com to hack in poll creation remember that
it only allows one user to log in at once so you're gonna have to figure a
workaround for that as well
On Mon, Jun 27, 2016, 2:11 AM Alex Solano<EMAIL_ADDRESS>wrote:

Now that I've looked at the thread, the implementation for the creation of
polls would be very hacky. And insecure at that, too (force-rewriting the
content-security headers on twitter.com may worry some users, and it'd be
very shady to throw that under the rug without clear explanation).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dangeredwolf/ModernDeck/issues/82#issuecomment-228669638,
or mute the thread
https://github.com/notifications/unsubscribe/AI2hpFbT5hNID6p23QVsg-fov-cTYuaiks5qP3emgaJpZM4IuWYU
.

2016?!

@ciolt I got rendering polls within TweetDeck working back in the day, which is no longer necessary today, since TweetDeck can already do that. I still cannot find a practical way to create them.
Anyhow, as this thread is quite old, I'm going to go ahead and close it, but it might be worth revisiting, especially with this whole "new composer" thing.


Improve handling of FIG viewport resizing

Currently, the interactive FIG desktop side nav and mobile accordion nav are initialized on page load based on the user's viewport width. They are not re-initialized if the user changes the width of their browser. This PR uses matchMedia to listen for viewport resizing and enable/disable FIG features as needed.
I also instructed the FIG browser tests to not run unless a CYPRESS_FIG_URL environment variable is defined because the FIG URL is a moving target until we launch so it probably shouldn't be hardcoded.
Changes

Moved the FIG mobile nav logic into its own function so it can be enabled/disabled if/when the user resizes their browser window.
Simplified the FIG browser test file to skip the FIG tests if the user hasn't defined a CYPRESS_FIG_URL environment variable.

Additions

CYPRESS_FIG_URL environment variable that has to be defined or the FIG tests won't run (which is good because most of us don't have a FIG page on our localhost).

How to test this PR

Units tests should pass: yarn jest fig-sidenav-utils-spec.js
Functional tests should pass headlessly:
yarn cypress run --spec test/cypress/integration/compliance/small-business-lending/filing-instruction-guide.cy.js --env FIG_URL=/data-research/small-business-lending/filing-instruction-guide/filing-instructions-guide-test/ --config baseUrl=https://<secret-dev4-subdomain>.cfpb.gov
Functional tests should pass with your local copy of Chrome:
yarn cypress open --e2e --browser chrome --env FIG_URL=/data-research/small-business-lending/filing-instruction-guide/filing-instructions-guide-test/ --config baseUrl=https://<secret-dev4-subdomain>.cfpb.gov

Screenshots
Notes and todos

Checklist

[ ] PR has an informative and human-readable title

PR titles are used to generate the change log in releases; good ones make that easier to scan.
Consider prefixing, e.g., "Mega Menu: fix layout bug", or "Docs: Update Docker installation instructions".

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code follows the standards laid out in the CFPB development guidelines
[ ] Future todos are captured in comments and/or tickets
[ ] Project documentation has been updated, potentially one or more of:

This repo’s docs (edit the files in the /docs folder) – for basic, close-to-the-code docs on working with this repo
CFGOV/platform wiki on GHE – for internal CFPB developer guidance
CFPB/hubcap wiki on GHE – for internal CFPB design and content guidance

Front-end testing

Browser testing
Visually tested in the following supported browsers:

[ ] Firefox
[ ] Chrome
[ ] Safari
[ ] Edge 18 (the last Edge prior to it switching to Chromium)
[ ] Internet Explorer 11 and 8 (via emulation in 11's dev tools)
[ ] Safari on iOS
[ ] Chrome on Android

Accessibility

[ ] Keyboard friendly (navigable with tab, space, enter, arrow keys, etc.)
[ ] Screen reader friendly
[ ] Does not introduce new errors or warnings in WAVE

Other

[ ] Is useable without CSS
[ ] Is useable without JS
[ ] Does not introduce new lint warnings
[ ] Flexible from small to large screens

Tests pass and resizing looks great now! Is the search function now busted at mobile sizes, or is it just me? Edit: Oh, I see it's not busted, but the TOC pane stays covering the page after I click on a search result.

Ah yes! There are no browser tests covering the new search feature. I'll create a separate ticket to capture that and this bug.


Rename/drop monumentsapi

monumentsapi has been migrated to using intuition as a library with the i18n messages now in https://phabricator.wikimedia.org/diffusion/THER/
Additionally the name of the domain has changed to heritage.
The name should either be updated here or possibly the whole domain should be removed from this repository?

Yeah, the code should be removed from this repository. I assume any translations on translatewiki have already been moved and renamed internally, there.

Ok. I'll do a pull for that. Do you still want it in tools.json (renamed) or should I drop it from there as well?

@lokal-profil If it's still using Intuition (as a library), I'd like it to still be listed there if the maintainer(s) are okay with that.

I removed the title-msg bit since I'm guessing that would look for a local message. But left the url (since I saw this solution being used elsewhere)


Disable gpu StereoBeliefPropagation test on Android

it works OK some commits ago. What happens?

See https://github.com/Itseez/opencv/pull/5325


dashboard: never report unreliable bisections (2)

Currently the dashboard does not report unreliable bisections
themselves, but there was a way in which they could still leak. The
recently detected case is when the bisection was done using a syz repro,
no reporting was made, but with a message about a newly found C repro
syzbot included the bisection info and Cc'd bisection-sourced emails.
Fix this behavior and introduce one new test.
**

Will try to create one more PR.


Setup npm test repository and secrets into GitHub

This task includes to setup the environment entirely for the development of action. This includes:

[x] Provide push permission to mentors
[x] Setup npm for demo push and updates
[x] Setup secrets

Remarks:

Created test npm repository with the name: cyto-release-auto.
Added secrets to the production environment.
Updated README to indicate this repository as a test repository


Explain Kubevirt

What this PR does / why we need it:
Enable validation on all kubevirt objects.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:
KubeVirt is now explainable!

/retest

I will need to rethink this specific field which is blocking this PR. A possible solution would be to change it to PersistentVolumeClaimVolumeSource but I am not sure of all implications right now.

Update: We need to keep most of the PersistentVolumeClaims fields, will create a 'mirror' struct to overcome this issue.

@mhenriks ^ just making sure you're aware and part of this discussion.

@xpivarc anything left to do here?

@xpivarc anything left to do here?

Cluster-up was broken. It should be fixed and ready to go.

/retest

/lgtm

@rmohr  issues were addressed, pinging if you want to have second look

/hold cancel

/override pull-kubevirt-e2e-k8s-1.17


How to train with multiple mask  labels

The model only supports the mask in the one-hot format, if I have a mask of labels, should I extract each label separately according to the pixels and then train it? It's also too much trouble！

I would like to ask how the author trained and tested the Synapse multi-organ CT dataset, and did he have to convert each multi-label label to the onehot format one by one?

Are you asking about labeling multiple tags on a single image?

Are you asking about labeling multiple tags on a single image?

Doesn't the SAMMED2d model require that the labels corresponding to the image data of train and test be in one-hot format? Therefore, when encountering medical images in 3d format, do you have to slice them first and then classify them separately according to each label before they can be put into the SAMMED2d model for training? But for example, like the Synapse multi-organ CT dataset, I slice it, but it won't separate the label into a one-hot format

Are you asking about labeling multiple tags on a single image?

Yes


Rename GetUsername to GetName, use GetLogin as fallback when opening a PR

Summary
A follow-up to an earlier commit, renames the confusing GetUsername
github interface method to GetName to convey better that it's just the
name. Since the name can be empty and we'd still like to use "something"
for the PRs as an identifier, we use the login as a fallback
Fixes #(related issue)
Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[x] Refactoring or test improvements (no bug fixes or new functionality)

Testing
just manually
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[x] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 46.615% (+0.02%) from 46.6%
when pulling 39737de8016379eae94a440cbe609b7076f4f7a8 on jhrozek:cleanup_username_method
into 081890cdf9e5cab82a726d5775cd8f561765efa6 on stacklok:main.


How to compile go-sqlite3 in win7 x64 use arm-none-linux-gnueabihf-gcc for arm linux?

Hi~
nice work~
when i compile go-sqlite3 for the target arm linux on win7, i failed the building when use goland.
the env is CC=arm-none-linux-gnueabihf-gcc;GOOS=linux;GOARCH=arm;CGO_ENABLED=1
i download the gcc from this page, and use gcc-arm-9.2-2019.12-mingw-w64-i686-arm-none-linux-gnueabihf.tar.xz
the errors:
# runtime/cgo
collect2.exe: fatal error: CreateProcess: No such file or directory
compilation terminated.

and i tried restart goland, it failed the same.
need u help, thanks~

finally i build it ok by follow steps:
1.  go to https://www.linaro.org/downloads/ to download arm-linux-gnueabihf, and select
     gcc-linaro-7.5.0-2019.12-i686-mingw32_arm-linux-gnueabihf.tar.xz

2.  set env to:
     CC=arm-linux-gnueabihf-gcc;CXX=arm-linux-gnueabihf-g++;CGO_ENABLED=1;GOOS=linux;GOARCH=arm;GOARM=7

3. set go buld argments:
     -ldflags="-extldflags=-static"

relate:
#242
#504

finally i build it ok by follow steps:
1.  go to https://www.linaro.org/downloads/ to download arm-linux-gnueabihf, and select
     gcc-linaro-7.5.0-2019.12-i686-mingw32_arm-linux-gnueabihf.tar.xz

2.  set env to:
     CC=arm-linux-gnueabihf-gcc;CXX=arm-linux-gnueabihf-g++;CGO_ENABLED=1;GOOS=linux;GOARCH=arm;GOARM=7

3. set go buld argments:
     -ldflags="-extldflags=-static"

hi @xzzh999 , just wondering is it also aplicable for linux as well? i'm using ubuntu 18.04 . Thanks

@reski-rukmantiyo u just need the right cross gcc, it should works.


3to2: refactor to use fetchpypi

Motivation for this change
Using fetchPypi is preferred for python packages (as per https://github.com/NixOS/nixpkgs/pull/25202#discussion_r113117919) but was deferred due to lack of support for zip distributions. This was fixed with https://github.com/NixOS/nixpkgs/pull/26059, so this PR replaces fetchurl with fetchPypi.
Things done

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

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Have you tested this by forcing a rebuild of the source? I think that I ran into issues when using fetchpypi for zip sources.

I added support for zip sources to fetchPypi with this PR https://github.com/NixOS/nixpkgs/pull/26078, so there's no reason that it shouldn't work.

Oh great, didn't read the description properly. 😄


Nested adapter collection view sizing

I have an issue very similar to #332. I have a collection view inside a cell and I need to find the height of the collection view content in order to size my cell. This is a chicken and egg problem where I need the size of the content to size the collection view, but that doesn't seem to happen until the collection view has been sized. Is this solvable?

Ah solved it! For anyone interested, it was solved by reloading the context in a batch update in the ListAdapterDataSource like this:
func listAdapter(_ listAdapter: ListAdapter, sectionControllerFor object: Any) -> ListSectionController {
    let sectionController = MySectionController()
    collectionContext?.performBatch(animated: true, updates: { context in
        context.reload(self)
    })
    return sectionController
}

Setting the collection view layout like this:
private let layout = ListCollectionViewLayout(stickyHeaders: false, topContentInset: 0, stretchToEdge: false)

// Set this in cellForItem:
cell.collectionView.collectionViewLayout = layout

And finally retrieving the size of the collection view like this:
override func sizeForItem(at index: Int) -> CGSize {
    guard let width = collectionContext?.containerSize.width else { return .zero }
    return CGSize(width: width, height: layout.collectionViewContentSize.height)
}

thank you for your lovely solution it works perfectly if the collection is scrolling vertically but when I change scroll direction to horizontal the app crashed with this error:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Height of item 0 in section 0 (300 pt) must be less than or equal to container (0 pt) accounting for section insets {0, 0, 0, 0}'

Ah solved it! For anyone interested, it was solved by reloading the context in a batch update in the ListAdapterDataSource like this:
func listAdapter(_ listAdapter: ListAdapter, sectionControllerFor object: Any) -> ListSectionController {
    let sectionController = MySectionController()
    collectionContext?.performBatch(animated: true, updates: { context in
        context.reload(self)
    })
    return sectionController
}

Setting the collection view layout like this:
private let layout = ListCollectionViewLayout(stickyHeaders: false, topContentInset: 0, stretchToEdge: false)

// Set this in cellForItem:
cell.collectionView.collectionViewLayout = layout

And finally retrieving the size of the collection view like this:
override func sizeForItem(at index: Int) -> CGSize {
    guard let width = collectionContext?.containerSize.width else { return .zero }
    return CGSize(width: width, height: layout.collectionViewContentSize.height)
}

Ah solved it! For anyone interested, it was solved by reloading the context in a batch update in the ListAdapterDataSource like this:
func listAdapter(_ listAdapter: ListAdapter, sectionControllerFor object: Any) -> ListSectionController {
    let sectionController = MySectionController()
    collectionContext?.performBatch(animated: true, updates: { context in
        context.reload(self)
    })
    return sectionController
}

Setting the collection view layout like this:
private let layout = ListCollectionViewLayout(stickyHeaders: false, topContentInset: 0, stretchToEdge: false)

// Set this in cellForItem:
cell.collectionView.collectionViewLayout = layout

And finally retrieving the size of the collection view like this:
override func sizeForItem(at index: Int) -> CGSize {
    guard let width = collectionContext?.containerSize.width else { return .zero }
    return CGSize(width: width, height: layout.collectionViewContentSize.height)
}

Could you provide a complete example for your idea? I cannot solve the problem ...


config_flow not working

Hello,
I have tried to install your homeassistant integration, but I'm not able run the configuration.
I have installed geckolib 0.3.15 first and then created the gecko custom integration as described.
In Integration Gecko show up but when selecting it terminate.
Logger: aiohttp.server
Source: custom_components/gecko/config_flow.py:32
First occurred: 21:12:19 (1 occurrences)
Last logged: 21:12:19
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
resp = await self._request_handler(request)
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py", line 499, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_middlewares.py", line 118, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 18, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 72, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 127, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 129, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 136, in post
return await super().post(request)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 60, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 69, in post
result = await self._flow_mgr.async_init(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 119, in async_init
flow = await self.async_create_flow(handler, context=context, data=data)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 552, in async_create_flow
flow = cast(ConfigFlow, handler())
File "/config/custom_components/gecko/config_flow.py", line 32, in init
self._locator.start_discovery()
AttributeError: 'GeckoLocator' object has no attribute 'start_discovery'
best regards
Walter

It looks like it doesn’t have the latest geckolib installed correctly which is odd because you say you installed the latest version.
The HA integration should have pulled the latest one in, but I think that only happens if it is installed from HACS.
I’ll take a look in a clean install and see what happens.

Can I install from HACS? I've searched for it in HACS but it doesn't show up in HACS integrations.

If you add this repo as a HACS custom repo, that should work. This should help https://hacs.xyz/docs/faq/custom_repositories
I’m in the process of getting it added to the HACS list but it will take a while.

Installing via HACS has the same issue.
I did the following steps:

Uninstalled geckolib library
Deleted gecko folder in custom_components
Restart HA
Added your repo to HACS an install
Restart HA
Try to add component via integrations
Stacktrace show the same error.
I'm running HA on a raspberry 4 using HA Core 2020.12.0 so HA is running in a Docker container

geckolib was not installed automatically, even not with HACS. When installing manually it is located inside the container at /usr/local/lib/python3.8/site-packages.

Can you try again please?

Sorry same issue. I removed everything including geckolib restart HA and reinstalled from HACS. After reboot tried to add integration again but still the same error in log. I've checked geckolib in the docker container and it was added automatically. It look like the integration cannot access/find the installed lob.

Got it working, there was an old version 0.3.11 of the lib in /config/deps/lib/python3.8/site-packages/geckolib
Thanks for your help.


719 mi user

Should we add role to POM_USER and/or create new CAS_MI_USER like this?

@Harriethw I've got the CAS2_MI_USER seeded now as a NOMIS user via the seed/nomis-user-roles sql which you started.


Do not create empty files if history is disabled

Just a tiny nitpick that bothered me. If history is disabled there is no need to keep stub files around.

Coverage decreased (-0.01%) to 38.235% when pulling 05e5acc8840ed53ccc8ba07caa3f58e6a80a3cc3 on tsipinakis:bugfix/history-no-file into 9b7cbe0ca94b77bfa42cfd30b6f9c5e0d2c6eaeb on newsboat:master.

Thank you! You've seen my code reviews, you know I have a soft stop for nitpicks :D

There should be, and now there is: 8b16a588
Thanks :)


tracers/skywalking: sw8 header invalid when value is set to [""] in gRPC metadata

Title: tracers/skywalking: sw8 header invalid when value is set to [""] in gRPC metadata
Description:
When we set sw8 as  [""] in gRPC metadata, we will get a  warning log warning envoy tracing New SkyWalking Span/Segment with previous span context cannot be created for error: Invalid span context format. It must have 8 fields., it doesn't make sense. The reason is the code only check whether the propagation_header is a null pointer, but does not check whether its value is empty.
https://github.com/envoyproxy/envoy/blob/a0c50af79c7790227294f8e3a2523fd2b6255b67/source/extensions/tracers/skywalking/skywalking_tracer_impl.cc#L54-L79

Adding @lizan @wbpcode @Shikugawa as codeowners

Sorry, I didn't get your point. We will treat the "" value as illegal sw8 header, what's problem with it?

@wbpcode the "" value in gRPC metadata should be ignored like "" value in HTTP headers, which means envoy should not output the warning log warning envoy tracing New SkyWalking Span/Segment with previous span context cannot be created for error: Invalid span context format. It must have 8 fields..

Got it. But I don't think not exist/present is equal to empty "". If a related rfc has covered this point, please paste it here.

@wbpcode
test case in k8s cluster
apiVersion: apps/v1
kind: Deployment
metadata:
  name: grpc-reflection
spec:
  replicas: 1
  selector:
    matchLabels:
      app: grpc-reflection
  template:
    metadata:
      labels:
        app: grpc-reflection
      annotations:
        sidecar.istio.io/inject: "true"
        sidecar.istio.io/componentLogLevel: "misc:error"
    spec:
      containers:
      - name: grpc-reflection
        image: romk/grpc-helloworld-reflection
        ports:
        - containerPort: 50051
---

apiVersion: v1
kind: Service
metadata:
  name: grpc-reflection
spec:
  selector:
    app: grpc-reflection
  ports:
  - name: grpc
    port: 50051
    targetPort: 50051

docker run --network=host fullstorydev/grpcurl -plaintext -H sw8: <IP_ADDRESS>:50051 helloworld.Greeter.SayHello

Thanks for you time for this problem.
To make it more clear, I don't think the meaning of a header with empty value is same like the meaning of a non-exist header. So, I think it's OK to treat "" as an illegal sw8 header value.
If any RFC file has told that the "" value should be ignored or  the "" value in gRPC metadata should be ignored like "" value in HTTP headers, then paste the link of RFC file here. If there is no related RFC, I inclined to leave the logic like that.
Thanks.


⚠ Bofrost.lu has degraded performance

In a9c4487, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1144 ms

Resolved: Bofrost.lu performance has improved in 2ab7373 after 6 minutes.


update PHP to 8.0

I'll handle this review. Thanks for the PR. Can you confirm that the gRPC and Cloud libraries folks are OK w/ this policy change?

Awaiting further clarification as this would put us out of 3 supported releases for PHP. However, 7.4 is EOL as of 2022-11-27 -


How to use it with vue electron project

import Multiselect from 'vue-multiselect';

options array:
{"value": "BoardGame", "label": "BoardGame"},
{"value": "Building", "label": "Building"}, ..
error i got:
caught TypeError: Cannot read properties of undefined (reading '_c')
at Proxy.r (vue-multiselect.min.js:1:1)
at renderComponentRoot (runtime-core.esm-bundler.js:914:1)
at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:5649:1)
at ReactiveEffect.run (reactivity.esm-bundler.js:190:1)
at instance.update (runtime-core.esm-bundler.js:5763:1)
at setupRenderEffect (runtime-core.esm-bundler.js:5777:1)
at mountComponent (runtime-core.esm-bundler.js:5559:1)
at processComponent (runtime-core.esm-bundler.js:5517:1)
at patch (runtime-core.esm-bundler.js:5119:1)
at mountChildren (runtime-core.esm-bundler.js:5303:1)

@aminvandh can you please provide a reproducible piece of code, like a git or a jsfiddle like https://jsfiddle.net/mattelen/8cyt3hrn/5/

@aminvandh can you please provide a reproducible piece of code, like a git or a jsfiddle like https://jsfiddle.net/mattelen/8cyt3hrn/5/

Thanks for help, https://github.com/aminvandh/desktopentry
i want to choose among options and add them into category

Right now I get a 404 on that repo, however earlier when I had a look, it looks like you had a non vue 3 compatible version of the multiselect installed as a dev dependency, and then the vue 3 compatible version as a required dependency. So your app might be using the Vue 2 version. I recommend checking that out and seeing if that fixes your issue.

稳定安全，免费vpn, 支持chatgpt(https://monkeyff02.online/#/portal?c=ad01)


There is no end to the game after wining

After all the invaders are gone an exception is thrown:
Exception in thread "Thread-0" java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
	at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
	at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
	at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
	at java.base/java.util.Objects.checkIndex(Objects.java:373)
	at java.base/java.util.ArrayList.get(ArrayList.java:426)
	at com.isi.management.AlienManager.lineCompleted(AlienManager.java:150)
	at com.isi.management.AlienManager.tick(AlienManager.java:209)
	at com.isi.states.PlayState.tick(PlayState.java:68)
	at com.isi.management.GameStateManager.tick(GameStateManager.java:29)
	at com.isi.core.Game.tick(Game.java:87)
	at com.isi.core.Game.run(Game.java:106)
	at java.base/java.lang.Thread.run(Thread.java:832)

The exception is discarded by AlienManager because there are no more invaders to manage and I have not handled this case.

Greetings,
I want to review the code and fix the issue, could I colaborate?

Following the game loop I see that ' tick  'method is called over and over in AlienManagement and uses the first position of aliens array to fill their controller and move on with loop, then I've added a 'if' validating the  aliens list size, now if the aliens list  is equals to 0 the end game state can be managed or winner message can be displayed.

https://github.com/RDev16/Space-Invaders-Clone/pull/4

https://github.com/RDev16/Space-Invaders-Clone/pull/4

Pull : https://github.com/RDev16/Space-Invaders-Clone/pull/4

Greetings,
I want to review the code and fix the issue, could I collaborate?

@vmaffioli Sure! I will test your commit (:

Following the game loop I see that ' tick 'method is called over and over in AlienManagement and uses the first position of aliens array to fill their controller and move on with loop, then I've added a 'if' validating the aliens list size, now if the aliens list is equals to 0 the end game state can be managed or winner message can be displayed.

I've tested the code, I will merge it, good job (:
the issue will still be open because you have just handled the Exception but not added the winning state (:

Ok, I will work in a new win state.

Please, could you assign this issue to me ?

Please, could you assign this issue to me ?

Assigned

Reading your edits I think the best is close  this issue because the  original exception was  resolved, please open a new issue to the new  task.

I've tested the code, I will merge it (:
The issue will still be open because only the exception is handled, but there is no win state (:

Please, close this issue and open a new one  to the task "add a winner state".
The original request was solved (AlienManager  exception handler)

thank you


add cache for travis

Please answer these questions before submitting pull request

Why submit this pull request?
[ ] Bug fix
[ ] New feature provided
[x] Improve performance

I already added in branch 6.0

Coverage remained the same at 24.682% when pulling b5a62941922a3e53e009186e60f9022351d04445 on ascrutae:feature/add-cache-for-travis into dd942d15a30958483ccc939bf66b0121859cc243 on apache:master.


[SP-4113] - Backport of PDI-16269 - registerNatives() method nearly e…

…verywhere fails to close stream allocated by getResourceAsStream() (7.1 Suite)
[SP-4113] - Backport of PDI-16269 - registerNatives() method nearly everywhere fails to close stream allocated by getResourceAsStream() (7.1 Suite)

@pentaho-lmartins , @mchen-len-son , @duarteteixeira please review and merge if it's all ok.

Build Completed
:x: This pull request has errors. They will need to be addressed before it can be accepted. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f core/build.xml clean-all resolve jacoco && ant -f core/build.xml checkstyle publish-local
ant -Dtestreports.dir=bin/reports/unit-test -f engine/build.xml clean-all resolve jacoco && ant -f engine/build.xml checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  core/src/org/pentaho/di/core/encryption/TwoWayPasswordEncoderPluginType.java
  core/src/org/pentaho/di/core/extension/ExtensionPointPluginType.java
  core/src/org/pentaho/di/core/logging/LoggingPluginType.java
  core/src/org/pentaho/di/core/plugins/BasePluginType.java
  core/src/org/pentaho/di/core/plugins/DatabasePluginType.java
  core/src/org/pentaho/di/core/plugins/PluginRegistryPluginType.java
  core/src/org/pentaho/di/core/row/value/ValueMetaPluginType.java
  core/test-src/org/pentaho/di/core/plugins/BasePluginTypeTest.java
  engine/src/org/pentaho/di/core/auth/AuthenticationProviderPluginType.java
  engine/src/org/pentaho/di/core/compress/CompressionPluginType.java
  engine/src/org/pentaho/di/core/plugins/CartePluginType.java
  engine/src/org/pentaho/di/core/plugins/EnginePluginType.java
  engine/src/org/pentaho/di/core/plugins/ImportRulePluginType.java
  engine/src/org/pentaho/di/core/plugins/JobEntryPluginType.java
  engine/src/org/pentaho/di/core/plugins/KettleLifecyclePluginType.java
  engine/src/org/pentaho/di/core/plugins/PartitionerPluginType.java
  engine/src/org/pentaho/di/core/plugins/RepositoryPluginType.java
  engine/src/org/pentaho/di/core/plugins/StepPluginType.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes: <0.1% (click to expand)
org.pentaho.di.core.encryption.TwoWayPasswordEncoderPluginType

Instruction Change: -9.3% :small_red_triangle_down:
Line Change: -7% :small_red_triangle_down:

org.pentaho.di.core.extension.ExtensionPointPluginType

Instruction Change: -8.1% :small_red_triangle_down:
Line Change: -8.9% :small_red_triangle_down:

org.pentaho.di.core.plugins.BasePluginType

Method Change: -1.1% :small_red_triangle_down:

org.pentaho.di.core.plugins.DatabasePluginType

Instruction Change: -14.9% :small_red_triangle_down:
Line Change: -10.3% :small_red_triangle_down:

org.pentaho.di.core.plugins.PluginRegistryPluginType

Line Change: -0.5% :small_red_triangle_down:
Method Change: -0.5% :small_red_triangle_down:

org.pentaho.di.core.row.value.ValueMetaPluginType

Instruction Change: -7.9% :small_red_triangle_down:
Line Change: -5.9% :small_red_triangle_down:

org.pentaho.di.core.auth.AuthenticationProviderPluginType

Instruction Change: -15% :small_red_triangle_down:
Line Change: -10.4% :small_red_triangle_down:

org.pentaho.di.core.plugins.CartePluginType

Instruction Change: -5.3% :small_red_triangle_down:
Line Change: -5.9% :small_red_triangle_down:

org.pentaho.di.core.plugins.EnginePluginType

Instruction Change: -0.8% :small_red_triangle_down:
Line Change: -0.5% :small_red_triangle_down:

org.pentaho.di.core.plugins.ImportRulePluginType

Instruction Change: -17.8% :small_red_triangle_down:
Line Change: -12.1% :small_red_triangle_down:

org.pentaho.di.core.plugins.JobEntryPluginType

Instruction Change: -5.1% :small_red_triangle_down:
Line Change: -2.6% :small_red_triangle_down:

org.pentaho.di.core.plugins.PartitionerPluginType

Instruction Change: -12.4% :small_red_triangle_down:
Line Change: -9.5% :small_red_triangle_down:

org.pentaho.di.core.plugins.RepositoryPluginType

Instruction Change: -11% :small_red_triangle_down:
Line Change: -9.5% :small_red_triangle_down:

org.pentaho.di.core.plugins.StepPluginType

Instruction Change: -8.9% :small_red_triangle_down:
Line Change: -6.5% :small_red_triangle_down:

org.pentaho.di.trans.steps.checksum.CheckSumMeta

Branch Change: -1.4% :small_red_triangle_down:
Complexity Change: -1.4% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

Note: The list of offending coverage changes extends beyond the presented results and was truncated to prevent reaching the comment size limit.

Checkstyle violations
The code submitted is not complying with one or more of our guidelines. To perform these checks locally, please use this tool.
/home/buildguy/project/engine/src/org/pentaho/di/core/plugins/ImportRulePluginType.java

:heavy_exclamation_mark: Unused import - java.util.List. at Line: 26 Column: 8

@CravoBranco Can you update this PR and remove the unused import? Thank you.

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f core/build.xml clean-all resolve jacoco && ant -f core/build.xml checkstyle publish-local
ant -Dtestreports.dir=bin/reports/unit-test -f engine/build.xml clean-all resolve jacoco && ant -f engine/build.xml checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  core/src/org/pentaho/di/core/encryption/TwoWayPasswordEncoderPluginType.java
  core/src/org/pentaho/di/core/extension/ExtensionPointPluginType.java
  core/src/org/pentaho/di/core/logging/LoggingPluginType.java
  core/src/org/pentaho/di/core/plugins/BasePluginType.java
  core/src/org/pentaho/di/core/plugins/DatabasePluginType.java
  core/src/org/pentaho/di/core/plugins/PluginRegistryPluginType.java
  core/src/org/pentaho/di/core/row/value/ValueMetaPluginType.java
  core/test-src/org/pentaho/di/core/plugins/BasePluginTypeTest.java
  engine/src/org/pentaho/di/core/auth/AuthenticationProviderPluginType.java
  engine/src/org/pentaho/di/core/compress/CompressionPluginType.java
  engine/src/org/pentaho/di/core/plugins/CartePluginType.java
  engine/src/org/pentaho/di/core/plugins/EnginePluginType.java
  engine/src/org/pentaho/di/core/plugins/ImportRulePluginType.java
  engine/src/org/pentaho/di/core/plugins/JobEntryPluginType.java
  engine/src/org/pentaho/di/core/plugins/KettleLifecyclePluginType.java
  engine/src/org/pentaho/di/core/plugins/PartitionerPluginType.java
  engine/src/org/pentaho/di/core/plugins/RepositoryPluginType.java
  engine/src/org/pentaho/di/core/plugins/StepPluginType.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes: <0.1% (click to expand)
org.pentaho.di.core.encryption.TwoWayPasswordEncoderPluginType

Instruction Change: -9.3% :small_red_triangle_down:
Line Change: -7% :small_red_triangle_down:

org.pentaho.di.core.extension.ExtensionPointPluginType

Instruction Change: -8.1% :small_red_triangle_down:
Line Change: -8.9% :small_red_triangle_down:

org.pentaho.di.core.plugins.BasePluginType

Method Change: -1.1% :small_red_triangle_down:

org.pentaho.di.core.plugins.DatabasePluginType

Instruction Change: -14.9% :small_red_triangle_down:
Line Change: -10.3% :small_red_triangle_down:

org.pentaho.di.core.plugins.PluginRegistryPluginType

Line Change: -0.5% :small_red_triangle_down:
Method Change: -0.5% :small_red_triangle_down:

org.pentaho.di.core.row.value.ValueMetaPluginType

Instruction Change: -7.9% :small_red_triangle_down:
Line Change: -5.9% :small_red_triangle_down:

org.pentaho.di.core.auth.AuthenticationProviderPluginType

Instruction Change: -15% :small_red_triangle_down:
Line Change: -10.4% :small_red_triangle_down:

org.pentaho.di.core.plugins.CartePluginType

Instruction Change: -5.3% :small_red_triangle_down:
Line Change: -5.9% :small_red_triangle_down:

org.pentaho.di.core.plugins.EnginePluginType

Instruction Change: -0.8% :small_red_triangle_down:
Line Change: -0.5% :small_red_triangle_down:

org.pentaho.di.core.plugins.ImportRulePluginType

Instruction Change: -17.8% :small_red_triangle_down:
Line Change: -12.1% :small_red_triangle_down:

org.pentaho.di.core.plugins.JobEntryPluginType

Instruction Change: -5.1% :small_red_triangle_down:
Line Change: -2.6% :small_red_triangle_down:

org.pentaho.di.core.plugins.PartitionerPluginType

Instruction Change: -12.4% :small_red_triangle_down:
Line Change: -9.5% :small_red_triangle_down:

org.pentaho.di.core.plugins.RepositoryPluginType

Instruction Change: -11% :small_red_triangle_down:
Line Change: -9.5% :small_red_triangle_down:

org.pentaho.di.core.plugins.StepPluginType

Instruction Change: -8.9% :small_red_triangle_down:
Line Change: -6.5% :small_red_triangle_down:

org.pentaho.di.job.entries.getpop.MailConnectionMeta

Branch Change: -1% :small_red_triangle_down:
Complexity Change: -1.5% :small_red_triangle_down:
Instruction Change: -0.3% :small_red_triangle_down:

Note: The list of offending coverage changes extends beyond the presented results and was truncated to prevent reaching the comment size limit.


Tournament browser

Implement Tournament browser to browse all tournaments and tournament events.

Show winner
Show matches with match stats
Show statistics leaders for the tournament

Mostly completed. Remaining:

Match stats, tournament event stats, tournament stats
Matches played, matches won, winning percentage records
Caching

Remaining:

stats: tournament event stats, tournament stats
records: youngest winner, oldest winner

Remaining:

records: youngest/oldest winner, longest/shortest final (in games), consecutive title/finals, winning streaks, strongest events


Add cheatcode to fetch contract ClassHash

To what component is your bug related to?
Forge
Feature Request
Add a cheat code to get the current class hash of a given contract address. This is needed, in part, to test the replace class functionality

Cannot the class hash returned by the declare method be used directly? I'm unsure what's the exact use case of that cheatcode would be.

The usecase is to test the replace_class syscall.
The syscall replaces the class of the implementation after the class is already declared.
You want to be able to test the syscall worked and the contract is indeed updated and using the implementation you are expecting

Okay, I get it. I think it makes sense to add this.

I'd love to give this a go.

Could I try solving this?
My name is Gideon Bature, a Software Engineer. I have experience working with JavaScript/TypeScript, Rust and Cairo. If assigned this issue, I will send my first PR within 72 hours. Thank you!

Is this issue still available?

Could I take a shot at this?


Open-up fdesign for any transform pair

Filter names (attributes) can now be anything, not just j0, j1, j2, sin, and cos, widen the application of fdesign to any transform pair.

Coverage increased (+0.0003%) to 99.895% when pulling ef58ea23dbed6076b84ae9358e413c3c7f3a5dce on lplc-fdesign into 798824649f236417033a3f9011faa9759b31f8f6 on master.


Added a custom ActiveResource::Collection

As you know, Shopify paginates the resources server-side. For example, if you call ShopifyAPI::Product.all, you're not actually getting all of the products, just the first 50. Merging this will add the following methods to any collection of Shopify resources:

#current_page - The current page number.
#first_page? - If the current page is the first one.
#last_page? - If the current page is the last one.
#limit - The maximum number of entries each page will have.
#next_page - The number of the next page, or nil if on the last.
#prev_page - The number of the previous page, or nil if on the first.
#total_count - The total number of entries available for the given request parameters.
#total_pages - The total number of pages available for the given request parameters.

For example:
products = ShopifyAPI::Product.all(params: { page: 2, limit: 100 })
products.current_page # => 2
products.limit # => 100

@tylerball @nwtn I'd like to work together to see if this is still relevant and can be merged in to support pagination.

i haven’t looked at this at all yet, but just a note that we may want to look at https://github.com/iloveitaly/shopify_api_extensions too

It looks like the Shopify API is replacing page-based pagination with cursor-based pagination, so this is incompatible with the API from version 2019-07 onward.


[0.7 -> 0.8.1] Stackpanel backgrounds in Comboboxes/Dropdowns can no longer be styled

I've been updating my application to Avalonia 0.8.1 which has been mostly a smooth ride, however, I cannot get the ComboBox drop down background to change it's styling even if I set the property inline.
Style code:
 <Style Selector="StackPanel">
      <Setter Property="Background" Value="{Binding selectedTheme.stackBackgroundCol}" />
</Style>

With Avalonia 0.7, this would change the colour with the selectedTheme value, however, on Avalonia 0.8.1, this does not happen and is the only element within my application that this has stopped working for.
I've experimented, and tried to force the background property to change but it doesn't, no matter what I've tried:
<ComboBox.ItemTemplate  Background="{Binding selectedTheme.stackBackgroundCol}" >
    <DataTemplate>
        <StackPanel Background="{Binding selectedTheme.stackBackgroundCol}" >
            <TextBlock Text="{Binding}" TextAlignment="Center" Background="{Binding selectedTheme.stackBackgroundCol}" />
          </StackPanel>
    </DataTemplate>
</ComboBox.ItemTemplate>

I didn't normally use DataTemplates for ComboBoxes but I thought it might have helped, it hasn't.
The foreground colour does still change as expected but this has caused the issue of text in ComboBoxes being almost invisible unless they're highlighted
Here is an Imgur album to show the issue better than I can explain it
I hope I've provided enough information on the issue but if I have missed something, i can post it below.
Edited post as I am using version 0.8.1, not 0.8.0

Hi @2haloes,
What control are you wanting to style? Your selector is StackPanel - is this referring to the StackPanel in your DataTemplate above?
If so, simply setting StackPanel.Background as you do in your example works:
<ComboBox x:Name="fontComboBox"  SelectedIndex="0">
    <ComboBox.ItemTemplate>
        <DataTemplate>
            <StackPanel Background="Red">
                <TextBlock Text="{Binding Name}" FontFamily="{Binding}" />
            </StackPanel>
        </DataTemplate>
    </ComboBox.ItemTemplate>
</ComboBox>

Thank you for replying, I'm trying to style the drop down that appears after clicking a ComboBox, the background of the whole drop down. The StackPanel selector was used as that was what worked. I hadn't used DataTemplates until this issue occured
I have been able to change the StackPanel background from your example but I've had a few issues with it:

Binding appears not to work for colour names or RGBA values (Created using Brush.Parse())

Working as shown in your image:
<ComboBox.ItemTemplate>
    <DataTemplate>
       <StackPanel Background="Pink">
           <TextBlock Text="{Binding}" TextAlignment="Center"/>
       </StackPanel>
    </DataTemplate>
</ComboBox.ItemTemplate>

Not Working:
<ComboBox.ItemTemplate>
    <DataTemplate>
       <StackPanel Background="{Binding selectedTheme.stackBackgroundCol}">
           <TextBlock Text="{Binding}" TextAlignment="Center"/>
       </StackPanel>
    </DataTemplate>
</ComboBox.ItemTemplate>

I'd like the whole display to have the background colour, not just behind the text, as shown in the image below

There's multiple ComboBoxes and I would prefer setting the style with all of the other styling options. With this method, I would need to go to each ComboBox instance if a style change was to occur down the line

<StackPanel Background="{Binding selectedTheme.stackBackgroundCol}">

I'm guessing this is because the selectedTheme.stackBackgroundCol resource is a Color and not a Brush?

With Avalonia 0.7, this would change the colour with the selectedTheme value, however, on Avalonia 0.8.1,

Could you show the exact style that worked on 0.7.0?

I'll make some changes and see if the issue is with the value being the wrong type.
The style used for the DropDown/ComboBox before the update:
<Style Selector="DropDown">
  <Setter Property="Foreground" Value="{Binding selectedTheme.foregroundCol}" />
</Style>
<Style Selector="StackPanel">
  <Setter Property="Background" Value="{Binding selectedTheme.stackBackgroundCol}" />
</Style>

Ok, so you were styling all StackPanels in your application?

Yes but the only StackPanels seem to be within ComboBoxs, I'll go and make a normal StackPanel and see if that works
The binding colour is an IBrush, converted from a string using Brush.Parse() so that's likely not the issue with binding

I added a regular StackPanel into the application and it functions as expected. The "Hello" and "There" TextBlocks within the image are separate and within the StackPanel.
It only seems to not be working within ComboBoxs

Thanks! Ok, I think I understand the problem now :) I'll take a look and see what broke.

Alright, thank you very much!

Apologies for the delay looking into this.
The problem is that the ComboBox no longer displays its items using a StackPanel; it uses a VirtualizingStackPanel.
So the following works:
  <Window.Styles>
    <Style Selector="VirtualizingStackPanel">
      <Setter Property="Background" Value="Red"/>
    </Style>
  </Window.Styles>

  <ComboBox HorizontalAlignment="Center" VerticalAlignment="Center" SelectedIndex="0">
    <ComboBoxItem Content="Hello"/>
    <ComboBoxItem Content="Goodbye"/>
  </ComboBox>


Missing registration of implementator of IValidateOptions

In the section ValidateOnStart, there is a code block that is correct but is not complete, thus misleading: it lacks a statement from the code block from above:
builder.Services.AddSingleton<IValidateOptions<MyConfigOptions>, MyConfigValidation>();
Our team got false positive test results on the validation of our options class, where we had a bug in MyConfigValidation.Validate method. The test run went successfully because Validate method was never called if MyConfigValidation is not registered in DI container.
So the complete and correct solution is:
builder.Services.AddSingleton<IValidateOptions<MyConfigOptions>, MyConfigValidation>();

builder.Services.AddOptions<MyConfigOptions>()
    .Bind(builder.Configuration.GetSection(MyConfigOptions.MyConfig))
    .ValidateDataAnnotations()
    .ValidateOnStart();

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

ID: ed39cb0e-aa85-8bba-ffb4-859b56a60723
Version Independent ID: dc7e3449-650b-d117-5eac-69e5ccb250cb
Content: Options pattern in ASP.NET Core
Content Source: aspnetcore/fundamentals/configuration/options.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

If you need to validate Data Annotation, you need to specify that, as in the sample in the article
using OptionsValidationSample.Configuration;

var builder = WebApplication.CreateBuilder(args);

builder.Services.AddControllersWithViews();

builder.Services.AddOptions<MyConfigOptions>()
            .Bind(builder.Configuration.GetSection(MyConfigOptions.MyConfig))
            .ValidateDataAnnotations()
        .Validate(config =>
        {
            if (config.Key2 != 0)
            {
                return config.Key3 > config.Key2;
            }

            return true;
        }, "Key3 must be > than Key2.");   // Failure message.

var app = builder.Build();

Thanks for the clarification but I think I wasn't clear enough on the exact issue.
Let me try to explain it in more detail via example.
We have:
public class MyConfigOptions : IValidateOptions<MyConfigOptions>
{
   public string Foo {get; set;}
   public string Bar {get; set;}
   ...

   public ValidateOptionsResult Validate(string name, MyConfigOptions options)
   {
   	// here we do non trivial validation and
	// early exits with return ValidateOptionsResult.Fail(nameof(Foo));

	return ValidateOptionsResult.Success;
   }
}

We've chosen that MyConfigOptions class implements IValidateOptions due to the encapsulation principle: we don't want feature envy smell and we want high cohesion on this design decision.
We do not rely in this particular case on attributes.
Now, as we found out the following snippet is not enough for validation to be triggered:
services.AddOptions<MyConfigOptions>()
	.Bind(configuration.GetSection(MyConfigOptions.MyConfig))
        .ValidateOnStart();

We need to also add:
services.AddSingleton<IValidateOptions<MyConfigOptions>, MyConfigOptions>();

Thus, I conclude that in section ValidateOnStart where the usage of that method is described, it definitely should be covered a case to use if one is just relying on IValidateOptions<>, not data attributes. That said, it lacks the line of registering explicitly IValidateOptions<> as in the code snippet above.
Hope that the above description gives more information on the real subject of the issue.


Introduction to the Scrum Framework

This pull requests contains the first draft of a new file for an introduction to the scrum framework. This topic would be located in the Software Engineering category. This topic provides an introduction to scrum, explaining what it is, the values, artifacts, events, and roles.

Overall, Alyson great job! It is very well written and easy to ready. I also think its an interesting and valuable topic that you covered.

Hey Alyson, you use the term scrum team in what are sprints. And I was a bit confused on what a scrum team was till i saw you next section "members of a scrum team". I think you should move the section "members of a scrum team" before the section "what are sprints"

Thanks for the feedback! I didn't realize while I was writing or editing that I referred to the "scrum team" before I got to that section. I'll make sure to change the structure of the file so it doesn't cause any confusion.

Looks good Alyson! The article is clear and very informative. I liked that you discussed its importance and linked additional resources, I'm sure these will be helpful to future students of the course.
In terms of additions, I think you should include a table of contents at the top of the article, mainly because it seems like most other pages seem to be doing that. As well, it could help with overall organization and clarity. Otherwise, content and structure looks good!

Yes that's a good idea! It'll definitely help with organizing the page and make it easier to go to certain sections of the page.


Error during installation

I got this error when i tried to install the package with composer

Hi @MikadoInfo!
Try to clear your config cache using command php artisan config:clear and install again.

Thank you it worked

@MikadoInfo you are welcome. If you have any wished for the package, write them here, I will consider implementing them.


Always use slash (/) for resource path separator.

This fixes a Windows-specific bug in which the system file separator (\) was being used. According to the Java documentation, the path separator should always be a forward slash.
Reference:
https://docs.oracle.com/javase/8/docs/technotes/guides/lang/resources.html
Fixes #105

This is a frustrating fix, since the vendor-provided library should return valid paths. :/

I understand where the frustration comes from. Arguably Paths was being used incorrectly here, as it can't know that it's being used to get a resource path from inside a jar file where the normal OS-dependent filesystem rules don't apply, so it's up to the caller to use it in the appropriate context. Kind of an insidious bug, though.
I think I wrote the original bug so I can be a little tough on myself :-)


Created folder for 2018-07-01 api version

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] The spec follows the guidelines described in the Swagger checklist document.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-go

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-python

Automation for azure-sdk-for-java

Automation for azure-sdk-for-node

@lmazuel nope. Tag @sarangan12 and @bsiegel since they are the ones who touched this file.

@bsiegel @sarangan12 seems you're the only two contributor on this script. Please help :)

Merging with broken linter to unlock Network team. Looking at the linter issue, this is pure in our utils, nothing to do with the PR.
I checkouted the PR on my machine and did:

A manual diff to check that only API version changed.
Check that VMSS files are still in their own api-version
That's enough for me to merge.


version: update nemu with latest virtiofs patches

This nemu release includes the latest virtiofsd patches
(changing the daemon message output).
Fixes: #1638.
Signed-off-by: Salvador Fuentes<EMAIL_ADDRESS>

Thanks @jodh-intel, updated the uscan-url

/test

closing in favor of #1645


Awkward error message for accessing static property in anonymous class

var x = class {
    static foo() {}
    constructor() {
        foo;
    //  ~~~ error!
    }
}

The error message you get is

Cannot find name 'foo'. Did you mean the static member '(Anonymous class).foo'?

Perhaps this is okay? This at least points out that you might be referencing a static member.

At runtime, the .name of the class would be x and seems like that could be determined statically.

That actually might be a good idea for a suggestion in that case, but a class expression doesn't necessarily always have a name to reference, since it might be returned, immediately new-ed, etc.
For the record, this is something I found while writing test cases for something else, but I figured it would be a good first bug.

Seems like a very helpful error message.

The error looks fine to me. not sure how we can do better here.


Point doc/README.md at read the docs

Read the docs is the canonical place to view the docs.
This was confusing to users, because as is the readme used github links to point at the github versions of the markdown files. But some links won't work on GH, only on read the docs.

Fixes #670


train Goal Image Generation Model and Multi-Modal Goal Conditioned Policy together?

Hi! Thank you for this nice work!
I have two questions about this paper：
1. why the Goal Image Generation Model and the Multi-Modal Goal Conditioned Policy are not trained together?
2. Does Goal Image Generation Model only use  CALVIN dataset for training? why not use Ego4D dataset together?

Thanks for your question.

There are three main reasons: 1）Modular Decoupling: These two submodules are decoupled, meaning that training them separately ensures that modifications to one submodule do not affect the other. This allows for the retraining of only the modified module. 2）Resource Efficiency: Training both submodules simultaneously would significantly increase memory usage and computational burden. Some GPUs, such as the 40GB A800, may be insufficient if you want to avoid reducing the batch size. 3）Different Data Requirements: The two submodules utilize different types of partially labeled data. The goal image generation model can use data without action labels but still requires language annotations. In contrast, the policy submodule can use data without language annotations but requires action labels. Training both submodules together would necessitate fully annotated data, limiting the available dataset.

In simulation experiments, the answer is yes. Although we haven't tested it, using CALVIN alone to train the goal image generation model proves to be sufficient in simulations.

My question 1 might not have been clear. Divide to 3 step  is necessary, and GR-1 has proved pretrain  Multi-Modal Goal Conditioned Policy can achieve higher success rate in maniputation. but in step3 , we have full annotated CALVIN dataset , why not put  Goal Image Generation Model and Multi-Modal Goal Conditioned Policy together for global finetune?  if we want to reduce GPU cost , Goal Image Generation Model can also set be freezed?

Are you suggesting using a generated goal image instead of the ground truth goal image to train the policy? If so, the training time may become impractical due to the slow nature of the diffusion process.

get it. thanks for your reply


Minor spelling mistake

Minor mistake in line 265 of https://github.com/bulwark-crypto/Bulwark/blob/master/build-aux/m4/ax_boost_base.m4.

#45 Fixed.


Report errors upstream instead of panicking.

As a collateral change, remove uses of channels. It doesn't improve performance. Uses of channels make error reporting difficult.

As someone who uses this library, the suggested change sounds great - as you might imagine, I have not reviewed the code yet as it looks like a rather large diff :slightly_smiling_face:
Have you considered renaming your fork of the library and keeping it that way? I don't know if @gillesdemey is around anymore, but these changes seem extensive enough to nearly be a new codebase.

 :)
In all honesty, I'm considering deprecating this library since I no longer have time to maintain it and advise users to check out @yasushi-saito 's fork unless some folks are willing to step forward and help out.


Move Lograge configuration to the production environment

This maintains standard Rails logging for development and test, keeping the production configuration separate from the other environments.

I kind of like being able to test the loggers in the development environment, I wonder if wrapping the initializer in the LOGRAGE_ENABLED would have the best of both worlds?

@whereismyjetpack the problem is we're not seeing the sql output to the logs. Also, lograge's output is designed for computer consumption, and not human.
I don't see you testing anything specific to lograge. We are testing JSONLogFormatter though.


[begin] - specified episode to start downloading ignored

Hi there, just started using the "begin" option. However, it seems to be ignored. Tried it with "Orphan Black" using the eztv rss feed below, where the newest episode is S04E01.
templates:
  TV:
    series:
      - Game of Thrones:
          begin: S06E01
          qualities:
            - 1080p
            - 720p
          from_group: BATV
      - Orphan Black:
          from_group: KILLERS
          begin: S05E01
          qualities:
            - <720p
            - 720p

  Kickass:
    rss: https://eztv.ag/ezrss.xml
    template: TV
    transmission:
      host: localhost
      port: 9091
      username: transmission
      password: XXXXXXXXXXX

2016-04-15 14:04 VERBOSE  series        Kickass         identified by is currently on `auto` for Orphan Black. Multiple id types may be accepted until it locks in on the appropriate type.
2016-04-15 14:04 VERBOSE  task          Kickass         ACCEPTED: `Orphan Black S04E01 720p HDTV x264-KILLERS` by series plugin because quality wanted
2016-04-15 14:04 VERBOSE  task          Kickass         ACCEPTED: `Orphan Black S04E01 HDTV x264-KILLERS` by series plugin because quality wanted
2016-04-15 14:04 INFO     download      Kickass         Downloading: Orphan Black S04E01 HDTV x264-KILLERS
2016-04-15 14:04 INFO     download      Kickass         Downloading: Orphan Black S04E01 720p HDTV x264-KILLERS
2016-04-15 14:04 INFO     transmission  Kickass         "Orphan Black S04E01 HDTV x264-KILLERS" torrent added to transmission
2016-04-15 14:04 INFO     transmission  Kickass         "Orphan Black S04E01 720p HDTV x264-KILLERS" torrent added to transmission

any ideas? common bug? I'm on Flexget version 1.2.512

Please paste the entire config , looks like you have another filter there
On Fri, Apr 15, 2016, 17:19 mcmaxl<EMAIL_ADDRESS>wrote:

Hi there, just started using the "begin" option. However, it seems to be
ignored. Tried it with "Orphan Black" using the eztv rss feed below, where
the newest episode is S04E01.
templates:
TV:
series:
- Game of Thrones:
begin: S06E01
qualities:
- 1080p
- 720p
from_group: BATV
- Orphan Black:
from_group: KILLERS
begin: S05E01
qualities:
- <720p
- 720p
Kickass:
rss: https://eztv.ag/ezrss.xml
template: TV
transmission:
host: localhost
port: 9091
username: transmission
password: XXXXXXXXXXX
2016-04-15 14:04 VERBOSE  series        Kickass         identified by is currently on auto for Orphan Black. Multiple id types may be accepted until it locks in on the appropriate type.
2016-04-15 14:04 VERBOSE  task          Kickass         ACCEPTED: Orphan Black S04E01 720p HDTV x264-KILLERS by series plugin because quality wanted
2016-04-15 14:04 VERBOSE  task          Kickass         ACCEPTED: Orphan Black S04E01 HDTV x264-KILLERS by series plugin because quality wanted
2016-04-15 14:04 INFO     download      Kickass         Downloading: Orphan Black S04E01 HDTV x264-KILLERS
2016-04-15 14:04 INFO     download      Kickass         Downloading: Orphan Black S04E01 720p HDTV x264-KILLERS
2016-04-15 14:04 INFO     transmission  Kickass         "Orphan Black S04E01 HDTV x264-KILLERS" torrent added to transmission
2016-04-15 14:04 INFO     transmission  Kickass         "Orphan Black S04E01 720p HDTV x264-KILLERS" torrent added to transmission
any ideas? common bug? I'm on Flexget version 1.2.512
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/Flexget/Flexget/issues/1038

have another task with a private rss feed, but that's completely unrelated. Have tried it here again with "Vikings", same result:
templates:
  TV:
    series:
      - Game of Thrones:
          begin: S06E01
          qualities:
            - 1080p
            - 720p
          from_group:
            - BATV
            - IMMERSE
      - Vikings:
           begin: S05E01
           qualities:
             - <720p
             - 720p

tasks:
  Kickass:
    rss: https://eztv.ag/ezrss.xml
    template: TV
    transmission:
      host: localhost
      port: 9091
      username: transmission
      password: xxxxxxxxxxxxx

2016-04-15 14:40 VERBOSE  series        Kickass         identified by is currently on auto for Vikings. Multiple id types may be accepted until it locks in on the appropriate type.
2016-04-15 14:40 VERBOSE  task          Kickass         ACCEPTED: Vikings S04E09 720p HDTV x264-KILLERS by series plugin because quality wanted
2016-04-15 14:40 VERBOSE  task          Kickass         ACCEPTED: Vikings S04E09 HDTV x264-KILLERS by series plugin because quality wanted
2016-04-15 14:40 INFO     download      Kickass         Downloading: Vikings S04E09 720p HDTV x264-KILLERS
2016-04-15 14:40 INFO     download      Kickass         Downloading: Vikings S04E09 HDTV x264-KILLERS
2016-04-15 14:40 VERBOSE  details       Kickass         Summary - Accepted: 2 (Rejected: 17 Undecided: 31 Failed: 0)
2016-04-15 14:40 INFO     transmission  Kickass         "Vikings S04E09 720p HDTV x264-KILLERS" torrent added to transmission
2016-04-15 14:40 INFO     transmission  Kickass         "Vikings S04E09 HDTV x264-KILLERS" torrent added to transmission

adding  identified_by: ep doesn't work either

Please paste series show vikings and debug logs. This is very weird indeed

what exactly do you mean by "series show vikings"? and with debug log you mean --verbose?

I mean run flexget series show <SERIES NAME> from cli.
By debug I mean flexget execute - L debug - - tasks <TASK NAME>

See below for "Banshee" with debug log
root@BlackBox:/# flexget -c /opt/flexget-config/config.yml series show Banshee
Showing results for `Banshee`.
 Identifier, Title                                              Quality
-------------------------------------------------------------------------------
 S04E03 (ep) - 0h
    Banshee S04E03 HDTV x264-KILLERS                            hdtv h264
  * Banshee S04E03 720p HDTV x264-KILLERS                       720p hdtv h264
    Banshee S04E03 HDTV x264-FUM                                hdtv h264
-------------------------------------------------------------------------------
 * = downloaded
 Series uses `auto` mode to identify episode numbering (identified_by).
 See option `identified_by` for more information.
root@BlackBox:/#

templates:
  TV:
    series:
      - Game of Thrones:
          identified_by: ep
          begin: S06E01
          qualities:
            - 1080p
            - 720p
          from_group:
            - BATV
            - IMMERSE
      - Banshee:
           begin: S20E01

tasks:
  ShowRSS:
    rss: http://showrss.info/user/xxxxx.rss?magnets=true&namespaces=true&name=clean&quality=null&re=null
    all_series: yes
    transmission:
      host: localhost
      port: 9091
      username: transmission
      password: d4yk2mvvwegve

  Kickass:
    rss: https://eztv.ag/ezrss.xml
    template: TV
    transmission:
      host: localhost
      port: 9091
      username: transmission
      password:

root@BlackBox:/# flexget -c /opt/flexget-config/config.yml execute - L debug -- tasks Kickass
2016-04-16 21:18 VERBOSE  task_queue                    There are 2 tasks to execute. Shutdown will commence when they have completed.
2016-04-16 21:18 VERBOSE  details       ShowRSS         Produced 19 entries.
.....
.....
2016-04-16 21:19 VERBOSE  details       Kickass         Produced 50 entries.
2016-04-16 21:19 VERBOSE  series        Kickass         identified by is currently on `auto` for Banshee. Multiple id types may be accepted until it locks in on the appropriate type.
2016-04-16 21:19 VERBOSE  task          Kickass         ACCEPTED: `Banshee S04E03 720p HDTV x264-KILLERS` by series plugin because choosing best available quality
2016-04-16 21:19 INFO     download      Kickass         Downloading: Banshee S04E03 720p HDTV x264-KILLERS
2016-04-16 21:19 VERBOSE  details       Kickass         Summary - Accepted: 1 (Rejected: 0 Undecided: 49 Failed: 0)
2016-04-16 21:19 INFO     transmission  Kickass         "Banshee S04E03 720p HDTV x264-KILLERS" torrent added to transmission

Maybe this is just a yaml indentation issue? Are you sure that begin is positioned correctly?
Also note that you didn't run logs with debug since you have redundant spaces there in - L debug, or at least that's what the cli output looks like here

tried it with this show now:
templates:
  TV:
    series:
      - Game of Thrones:
          identified_by: ep
          begin: S06E01
          qualities:
            - 1080p
            - 720p
          from_group:
            - BATV
            - IMMERSE
      - 60 Days in:
          begin: S20E01

"begin" is indented two spaces from "60"
is this correct now: root@BlackBox:/# flexget -c /opt/flexget-config/config.yml execute -L debug --tasks Kickass?
2016-04-16 22:54 VERBOSE  details       Kickass         Produced 50 entries.
2016-04-16 22:54 VERBOSE  task          Kickass         REJECTED: `Banshee S04E03 720p HDTV x264-KILLERS` by seen plugin because entry with title `Banshee S04E03 720p HDTV x264-KILLERS` is already marked seen in the task Kickass at 2016-04-16 21:19
2016-04-16 22:54 VERBOSE  series        Kickass         identified by is currently on `auto` for 60 Days in. Multiple id types may be accepted until it locks in on the appropriate type.
2016-04-16 22:54 VERBOSE  task          Kickass         ACCEPTED: `60 Days In S01E07 HDTV x264-CROOKS` by series plugin because choosing best available quality
2016-04-16 22:54 INFO     download      Kickass         Downloading: 60 Days In S01E07 HDTV x264-CROOKS
2016-04-16 22:54 VERBOSE  details       Kickass         Summary - Accepted: 1 (Rejected: 1 Undecided: 48 Failed: 0)
2016-04-16 22:54 INFO     transmission  Kickass         "60 Days In S01E07 HDTV x264-CROOKS" torrent added to transmission

Looks ok I guess. I'll try to reproduce it and report back.

thanks!

I couldn't reproduce this:
test_series:
    mock:
      - {title: "Vikings.S01E01.720p-HDTV-Group", url: "http://123.com"}
    series:
      - Vikings:
          begin: S02E01
          qualities:
            - 1080p
            - 720p
    disable: [seen]
    download: c:\

Output:
2016-04-17 13:58 DEBUG    task          test_series     executing test_series
2016-04-17 13:58 DEBUG    disable       test_series     Disabled built-in plugin(s): seen
2016-04-17 13:58 DEBUG    series        test_series     adding series Vikings into db
2016-04-17 13:58 DEBUG    series        test_series     -> added <Series(id=76,name=Vikings)>
2016-04-17 13:58 DEBUG    backlog       test_series     0 entries purged from backlog
2016-04-17 13:58 VERBOSE  details       test_series     Produced 1 entries.
2016-04-17 13:58 DEBUG    parser_internal test_series     Parsing series: `Vikings.S01E01.720p-HDTV-Group` kwargs: {'identified_by': u'ep', u'date_regexps': [], 'strict_name': False, 'name': u'Vikings', 'prefer_specials': None, 'special_ids': [], 'alternate_names': [], u'sequence_regexps': [], 'date_dayfirst': None, u'id_regexps': [], 'assume_special': None, 'name_regexps': [], 'date_yearfirst': None, 'allow_groups': [], u'ep_regexps': []}
2016-04-17 13:58 DEBUG    parser_internal test_series     Parsing result: <SeriesParser(data=Vikings.S01E01.720p-HDTV-Group,name=Vikings,id=None,season=1,episode=1,quality=720p hdtv,proper=0,status=OK)> (in 3.49043435422 ms)
2016-04-17 13:58 DEBUG    series        test_series     Vikings.S01E01.720p-HDTV-Group detected as <SeriesParser(data=Vikings.S01E01.720p-HDTV-Group,name=Vikings,id=None,season=1,episode=1,quality=720p hdtv,proper=0,status=OK)>, field: title
2016-04-17 13:58 DEBUG    series        test_series     adding episode S01E01 into series Vikings
2016-04-17 13:58 DEBUG    series        test_series     -> added <Episode(id=None,identifier=S01E01,season=1,number=1)>
2016-04-17 13:58 DEBUG    series        test_series     adding release <SeriesParser(data=Vikings.S01E01.720p-HDTV-Group,name=Vikings,id=None,season=1,episode=1,quality=720p hdtv,proper=0,status=OK)> into episode
2016-04-17 13:58 DEBUG    series        test_series     -> added <Release(id=None,quality=720p hdtv,downloaded=None,proper_count=0,title=Vikings.S01E01.720p-HDTV-Group)>
2016-04-17 13:58 DEBUG    series        test_series     start with episodes: [u'Vikings.S01E01.720p-HDTV-Group']
2016-04-17 13:58 VERBOSE  task          test_series     REJECTED: `Vikings.S01E01.720p-HDTV-Group` by series plugin because episode `S01E01` is before begin value of `S02E01`
2016-04-17 13:58 DEBUG    urlrewriter   test_series     Checking 0 entries
2016-04-17 13:58 VERBOSE  details       test_series     Summary - Accepted: 0 (Rejected: 1 Undecided: 0 Failed: 0)
2016-04-17 13:58 DEBUG    series        test_series     on_task_learn
2016-04-17 13:58 DEBUG    disable       test_series     Re-enabled builtin plugin(s): seen
2016-04-17 13:58 DEBUG    util.simple_persistence test_series     Flushing simple persistence for task test_series to db.
2016-04-17 13:58 DEBUG    task_queue                    task queue shut down
2016-04-17 13:58 INFO     ipc.rpyc                      listener closed
2016-04-17 13:58 DEBUG    util.simple_persistence                 Flushing simple persistence for task None to db.
2016-04-17 13:58 INFO     ipc.rpyc                      server has terminated
2016-04-17 13:58 DEBUG    manager                       Shutting down
2016-04-17 13:58 INFO     manager                       Removed test database
2016-04-17 13:58 DEBUG    manager                       Removed C:\Flexget\.test-config-lock

Is it possible that you have daemon running an didn't reload config or something? Please try to produce debug logs, you can see that a debug log has many more stuff than you added. Also, don't truncate your log (other than sensitive information of course), I wanna see the whole thing.

--dump-config is probably the easiest way to see if the config contains the begin.

Please reopen if relevant

I ran into this bug just recently. In my case I was using begin: in all_series. If I changed to series and manually spelled out the show name begin: was observed. I wonder if in this case it was because of the indirection due to the template?


Country Codes

I have a bit of trouble using my existing country codes with vat-calculator. I'm using the library without integration to third party services atm. The country codes are not following one standard and are not consistent for United Kingdom (ISO 3611) and Greece (EU).
From http://publications.europa.eu/code/pdf/370000en.htm:

The two-letter ISO code should be used (ISO 3166 alpha-2), except for Greece and the United Kingdom, for which the abbreviations EL and UK are recommended.

The problem I ran into is that we use a legacy DB which uses ISO 3611 country codes and Greece is referenced as GR instead of EL. Therefore I wanted to ask if it would be possible to also add UK and GR to standard-european-vat-rates.js to make it work with older databases?

Update: Octobat also doesn't recognize EL or UK as valid country code:
Request: POST http://vatmoss.octobat.com/vat.json
Body:
{
    "supplier": {"country": "GB"},
    "customer": {"country": "EL"},
    "transaction": {"type": "B2C", "eservice": true}
}

Response:
{"error":{"message":"{\"name\":\"in_eu?\",\"args\":[]}","code":500}}

Hi @sebgie, thanks for the PR. John suggested that I add you as a contributor to the project. I'm happy to do this if you're willing. Let me know!

On second thoughts, I'll need to move the repo to my own account as I can't give you collaborator access without adding you to the GitterHQ org. For the moment, let's stick with PRs and if it becomes a problem we can move the repo.
Also, you're always welcome to ping me if I haven't replied to a PR within a few days - I'm not being rude, it's just the sheer number of PRs and issues I get on my GitHub account I sometimes miss things :)

Hey @suprememoocow!
Sure, I'm happy to help maintaining vat-calculator. PRs are fine for me. Seems like we have the same problem with GH notification overload. I'll ping you next time a PR is sitting around for too long ;-).


property to disable draggable target (where target is dynamic)

I have draggable targets which depend on state to determine whether they should be treatable as activated or not. Is there a property that one can set to provide this functionality?
It appears that using the isDraggable property on the draggable-object will block an item from being dragged but in my case I'm interested in modifying the bahavior of the target rather than the draggable.
So, for instance, if you have a calendar where each day is a target but once a particular day get's "over-subscribed" with items it then becomes unavailable as a drop target.

As a workaround I have created my own acceptDrop property:
export default Ember.Component.extend({
  acceptDrop: function(event) {
    if (this.get('isDroppable')) {
      this.handleDrop(event);
      event.preventDefault();
    }
  },

which I then pass in the template as:
{{#draggable-object-target acceptDrag=acceptDrag}}
  ...
{{/draggable-object-target}}

Ideally in the case of a "denied" target it would be nice to have the item glide back to it's original place on the screen so as to give a visual indication to the user what has happened.


add RemoveAll

This PR adds RemoveAll function, with native implementation for os and fallback for other filesystems.
RemoveAll code is based on standard os.RemoveAll and has the same behavior.

Other fixes for Stat, ReadDir and Remove behavior with respect to directories.

Don't merge; there is something wrong with this PR.

Codecov Report

Merging #12 into master will increase coverage by 0.47%.
The diff coverage is 80.95%.

@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
+ Coverage   82.55%   83.03%   +0.47%
==========================================
  Files           2        2
  Lines         258      277      +19
==========================================
+ Hits          213      230      +17
- Misses         29       30       +1
- Partials       16       17       +1

Impacted Files
Coverage Δ

osfs/os.go
78.57% <100%> (+0.79%)
:white_check_mark:

memfs/memory.go
84.97% <77.77%> (+0.22%)
:white_check_mark:

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 f84fa56...88d08ca. Read the comment docs.


training

Is there's any way to train GPT2 using my own text corpus?

@armoreal Which language do you want? Is it English?

In russian.

First, Existing gpt-2 models are only supported in English. https://github.com/openai/gpt-2/issues/31
If you want to train your language, I recommend you to read original gpt, gpt-2 paper.
Please See Improving Language Understanding by Generative Pre-Training, 3-1. Unsupervised pre-training and 3-2. Supervised fine-tuning!
https://github.com/eukaryote31/openwebtext In here, you can also see GPT-2 WebText dataset.

Thanks for your reply.
As far as i understand, GPT2 were trained on english and that's the reason why it doesn't support other languages, but I'd like to try to train it on other languages using my own dataset. OpenAI reply about training: https://github.com/openai/gpt-2/issues/19 So it's possible, but they didn't planning to release the code yet.

@armoreal I think this repository can be trainable https://github.com/openai/finetune-transformer-lm
but, There are no dataset related to your langauge and computer resource I think..
In gpt-2 paper, they explained what is different gpt between gpt-2.
It is problem about training, dataset(including how they pre-processing) and computer computer

@armoreal
See code and paper more detail

Text-Predict in here : https://github.com/openai/finetune-transformer-lm/blob/master/train.py#L176
Task classification in here : https://github.com/openai/finetune-transformer-lm/blob/master/train.py#L193

Overall, There is code related with training. so you can train.
BUT Dataset and Computer power maybe problem :(

Same question. Thank you.

Is there a way to finetune this GPT-2 implementation on my own English corpus?

I would like to fine tune pytorch gpt2 on an English corpus. Is the openai code pytorch or tf?


Pricing cache not created

Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

Describe the bug*
I have been running InvenTree without upgrading now since September (commit 5a08ef908). I liked the changes you have done recently for pricing why I upgraded to the latest master yesterday (commit e4a904e1b) yesterday but I cannot figure out how to get the pricing cache populated.
I would assume it's the task part.tasks.check_missing_pricing that should populate the cache and I can see in the Admin panel that it has been running. I have also set the next run a few minutes in the future several times and the task is running successfully each time. But filtering parts with "has pricing = true" I get no returns and obviously most pricing fields are empty, I also checked the database and the table part_partpricing is empty,
I have reverted to the old version and done the upgrade again with same result.
Any suggestions what I'm missing?
Steps to Reproduce

Upgrade from the old release
invoke update
Check that part.tasks.check_missing_pricing has been running
Filter parts on  "has pricing = true"
Returns an empty table

Expected behavior
Pricing cache to be populated
Deployment Method

[ ] Docker
[X] Bare metal

Version Information
Version Information:
InvenTree-Version: 0.10.0 dev
Django Version: 3.2.16
Commit Hash: e4a904e1b
Commit Date: 2022-12-17
Database: mysql
Debug-Mode: True
Deployed using Docker: False
Active plugins: []
Relevant log output
No response

@gunstr thanks for reporting, can confirm that this is a bug


stacked_generator compatibility with freezed version 2.1.1

Because stacked_generator >=0.8.0-beta.6 depends on analyzer ^4.6.0 and freezed >=2.1.1 depends on analyzer ^5.0.0, stacked_generator >=0.8.0-beta.6 is incompatible with freezed >=2.1.1.

Issue with stacked_generator 0.8.0

This is fixed by rolling back the freezed version to 2.1.0+1 but there's no fix for 2.1.1

Fixed 0.8.0+1


 I pushed new patch with the fixes, can you please check it.

mm I believe you mean just to remove objects = []
give me a second will push another one

Code looks good now. @ZitaNemeckova : can you, please, test this in the UI. Thx!

Euwe Backport details:
$ git log
commit 879614fc5671858f6e3faff399fff0ca57cfdc94
Author: Martin Povolny<EMAIL_ADDRESS>Date:   Thu Sep 29 14:40:37 2016 +0200

    Merge pull request #11342 from cynepco3hahue/fix_rubocop_app/presenters/tree_builder_catalogs_class.rb

    rubocop issues: tree_builder_catalogs_class.rb
    (cherry picked from commit dd56e5849ade60be6855ff7705fef18d7b9698dc)


get_uint_info - RuntimeError: expected float pointer

When I call get_uint_info("root_index") I get the error RuntimeError: expected float pointer. It seems that python API doesn't have it implemented right, since it assumes it to be always float.
The fix is:
npToPointerTMapping={
	np.float32: ctypes.c_float,
	np.uint32: ctypes.c_uint,
}
def ctypes2numpy(cptr, length, dtype):
    """Convert a ctypes pointer array to a numpy array.
    """
    if dtype not in npToPointerTMapping:
        raise RuntimeError('Supported  types:', list(npToPointerTMapping.keys()))
    if not isinstance(cptr, ctypes.POINTER(npToPointerTMapping[dtype])):
        raise RuntimeError('expected '+str(npToPointerTMapping[dtype])+' pointer')
    res = np.zeros(length, dtype=dtype)
    if not ctypes.memmove(res.ctypes.data, cptr, length * res.strides[0]):
        raise RuntimeError('memmove failed')
    return res

@tqchen, is it fixed?

Addressed in #3442.

Thank you.


Installer

Signed-off-by: Dominique Vernier<EMAIL_ADDRESS>https://github.com/open-cluster-management/backlog/issues/17842
https://github.com/open-cluster-management/backlog/issues/18254

/hold

/unhold


Blood Runecrafting Chiseling Doesnt Count As Crafting Exp

I've noticed that even with crafting selecting and a crafting delay, neither chiseling the blocks nor mining the dense essence counts as crafting for keeping the screen not-idle (only mining works)
Could crafting either be extended to work on both or a crafting delay count for chiseling? thanks! :)

I've just created a pull request for a pretty big update

It's now possible to select multiple skills.
Dense essence chipping and chiseling are now supported by mining and crafting.
It's possible to disable the overlay when the player is running or walking.

This means that in your case you could enable both mining and crafting. Combined with the new walking/running feature you would only get notifications when you're actually idling from mining the essence or not actively chiselling it.


[dev-3163-b-recover-fixes] Added big small data but its not working

Briefly describe your changes
Checklist before requesting a review

[ ] My pull request was branched from and targets the test branch
[ ] I have performed a self-review of my code
[ ] I have manually tested all packages affected (bonus points for automations)
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] My changes generate no new warnings
[ ] I have checked to ensure there aren't other open pull requests for the same change

Did you test your feature in the following environments?

[ ] Standalone Component
[ ] Standalone Full Editor
[ ] CDC Internal Checks

Dont need this one.  Got all the changes into the other 3163 PR


glenjohnsoneng - tutorial code in 'ddd' module for evaluation article: "A Quick and Practical Example of Hexagonal Architecture in Java"

From glenjohnsoneng<EMAIL_ADDRESS>- tutorial code in 'ddd' module for evaluation article: "A Quick and Practical Example of Hexagonal Architecture in Java"

Since the code in this Pull Request was for an evaluation article, I have closed it.


Stuck trying to read the map I have..

It's extensive, and I can't share it.. I did move up to the latest/last kinetic library, but with no fix. Somehow text has been lost along the way, but it is difficult for me to see where.
kinetic-v5.1.0.js:11695 Uncaught TypeError: Cannot read property 'toString' of undefined
at Kinetic.Text.setText (kinetic-v5.1.0.js:11695)
at Kinetic.Text.setAttrs (kinetic-v5.1.0.js:2750)
at Kinetic.Text._init (kinetic-v5.1.0.js:2258)
at Kinetic.Text.Node (kinetic-v5.1.0.js:117)
at Kinetic.Text.__init (kinetic-v5.1.0.js:7648)
at Kinetic.Text.Shape (kinetic-v5.1.0.js:224)
at Kinetic.Text.___init (kinetic-v5.1.0.js:11632)
at Kinetic.Text (kinetic-v5.1.0.js:11611)
at root (main.js:951)
at newMap (main.js:399)

Are your text-nodes formatted in HTML-Format? Those can't be displayed yet, I think.

One was, yes. Perhaps that was it.

So. I ended up changing approach for what I was doing, which took me away from this, however... you might find what I found very interesting: https://github.com/hizzgdev/jsmind

Thanks a lot, very interesting!


number of pgs has changed

https://github.com/CCI-MOC/admin-tools/blob/b6850913dd6920960b550b534c03cd8c829c50d4/Ceph/Install1NodeCeph.sh#L65
The script hangs at that line since it's looking for 88 active+clean vs 184 active+clean at the time of writing.

That is updated as of yesterday