text:
Idle Inhibitor With Matcha

Is your feature request related to a problem? Please describe.
Waybar has an idle inhibitor widget which is very nice when on Zoom meetings or watching videos. AGS does not have an equivalent.
Describe the solution you'd like
I would very much like to see the ability to replace one of the buttons in the dashboard with one that toggles idle inhibiting with matcha
Describe alternatives you've considered
A widget that goes along the top bar is fine too but I'd really like it in the dashboard
Additional context
This is kind of what I'm hoping to have, with an icon that reflects whether the inhibitor is active or not

Is this meant to prevent hypridle from triggering?

Reason I ask is that matcha isn't easily downloadable as a package. You have to build it yourself from what I understand. So if we plan to integrate with swayidle or hypridle, we can do so without matcha and handle inhibiting rules.

Is this meant to prevent hypridle from triggering?

Yes

Reason I ask is that matcha isn't easily installable as a package. You have to build it yourself from what I understand. So if we plan to integrate with swayidle or hypridle, we can do so without matcha and handle inhibiting rules.

Even a script that kills/launches hypridle would be fine.
I'm just struggling to make the icon/widget properly reflect the state of that which is why I made the feature request

A solution would be to add an option where we can define commands that return a label (as in waybar)
So we could do something like if pidof ...; then ... else ... in bash and dynamically change the button label

If you guys are using hyperidle, I could make a widget that would do that

I know how to write a bash script that toggles hypridle.
I want a widget that has a different icon depending on whether it is running or not.

I guess you have to wait. I did have a rough implementation but it still lacks proper testing

It would be amazing to be able to make custom modules

https://github.com/Jas-SinghFSU/HyprPanel/pull/502 addresses this perfectly although I'm not sure if you want to close this since the idea I had was to have it in the dashboard menu

We can open a separate request for adding this in the dashboard.

authors: Jas-SinghFSU Lurgrid anotherhadi dotaxis rubiin

repo: Jas-SinghFSU/HyprPanel


text:
Add support for MFA

Closes #572
Multifactor Authentication (MFA)
CAS provides a framework for multifactor authentication (MFA). The design philosophy for MFA support follows from the observation that institutional security policies with respect to MFA vary dramatically. We provide first class API support for authenticating multiple credentials and a policy framework around authentication. The components could be extended in a straightforward fashion to provide higher-level behaviors such as Webflow logic to assist, for example, a credential upgrade scenario where a SSO session is started by a weaker credential but a particular service demands re-authentication with a stronger credential.
The authentication subsystem in CAS natively supports handling multiple credentials. While the default login form and Webflow tier are designed for the simple case of accepting a single credential, all core API components that interface with the authentication subsystem accept one or more credentials to authenticate.
Supported Providers
Duo Security
Configure authentication per instructions [here] (DuoSecurity-Authentication.html).

Field
Description

provider
duoAuthenticationProvider

id
mfa-duo

YubiKey
Configure authentication per instructions [here] (YubiKey-Authentication.html).

Field
Description

provider
yubikeyAuthenticationProvider

id
mfa-yubikey

RSA/RADIUS
Configure authentication per instructions [here] (RADIUS-Authentication.html).

Field
Description

provider
radiusAuthenticationProvider

id
mfa-radius

Triggers
Multifactor authentication can be activated based on the following triggers:
Applications
MFA can be triggered for a specific application registered inside the CAS service registry.

{
  "@class" : "org.jasig.cas.services.RegexRegisteredService",
  "serviceId" : "^(https|imaps)://.*",
  "id" : 100,
  "authenticationPolicy" : {
    "@class" : "org.jasig.cas.services.DefaultRegisteredServiceAuthenticationPolicy",
    "multifactorAuthenticationProviders" : [ "java.util.LinkedHashSet", [ "mfa-duo" ] ],
    "failOpen" : false
  }
}

Principal Attribute
MFA can be triggered for all users/subjects carrying a specific attribute that matches configured attribute value. The attribute
value is a regex pattern and must match the authentication flow
id of an available MFA provider described above. See below to learn about how to configure MFA settings.
Opt-In Request Parameter
MFA can be triggered for a specific authentication request, provided
the initial request to the CAS /login endpoint contains a parameter
that indicates the required MFA authentication flow. The parameter name
is configurable, but its value must match the authentication provider id
of an available MFA provider described above.

https://.../cas/login?service=...&<PARAMETER_NAME>=<MFA_PROVIDER_ID>

Principal Attribute Per Application
As a hybrid option, MFA can be triggered for a specific application registered inside the CAS service registry, provided
the authenticated principal carries an attribute that matches configured attribute value. The attribute
value can be an arbitrary regex pattern. See below to learn about how to configure MFA settings.
{
  "@class" : "org.jasig.cas.services.RegexRegisteredService",
  "serviceId" : "^(https|imaps)://.*",
  "id" : 100,
  "authenticationPolicy" : {
    "@class" : "org.jasig.cas.services.DefaultRegisteredServiceAuthenticationPolicy",
    "multifactorAuthenticationProviders" : [ "java.util.LinkedHashSet", [ "mfa-duo" ] ],
    "principalAttributeNameTrigger" : "memberOf",
    "principalAttributeValueToMatch" : "faculty|allMfaMembers"
  }
}

Fail-Open vs Fail-Closed
The authentication policy by default supports fail-close mode, which means that if you attempt to exercise a particular
provider available to CAS and the provider is not available cannot be pinged, authentication will be stopped and an error
will be displayed. You can of course change this behavior so that authentication proceeds without exercising the provider
functionality, if that provider cannot respond.
Ranking Providers
At times, CAS needs to determine the correct provider when step-up authentication is required. Consider for a moment that CAS
already has established an SSO session with/without a provider and has established a level of authentication. Another incoming
request attempts to exercise that SSO session with a different and often competing authentication requirements that may differ
from the authentication level CAS has already established. Concretely, examples may be:

CAS has achieved an SSO session, but a separate request now requires step-up authentication with DuoSecurity.
CAS has achieved an SSO session with an authentication level satisfied by DuoSecurity, but a separate request now requires step-up
authentication with YubiKey.

In certain scenarios, CAS will attempt to rank authentication levels and compare them with each other. If CAS already has achieved a level
that is higher than what the incoming request requires, no step-up authentication will be performed. If the opposite is true, CAS will
route the authentication flow to the required authentication level and upon success, will adjust the SSO session with the new higher
authentication level now satisfied.
Ranking of authentication methods is done per provider via specific properties for each in cas.properties.
Settings
The following general MFA settings are available for configuration in cas.properties:
# cas.mfa.principal.attribute=
# cas.mfa.principal.attribute.value=
# cas.mfa.request.parameter=

Components that need to be reviewed and thought about most are:

CasWebflowEventResolver implementations
Modifications to the service registry authentication policy
Modifications to webflow automatic configuration for each provider module
Changes to the webflow xml configuration files.
Most importantly, component/setting names :)

I'll fix the conflicts with master as we make progress.
There is also the bit of validating MFA requests which needs to be added as well. (i.e. client asks for Duo on serviceValidate, but CAS cannot satisfy it)

Additional notes from the review:

ranking: warning, do we only want to keep the last provider? how does it fit with the "authentication handlers" concept defined in the CAS servces?
cas.mfa for properties prefix
the lower the number, the weaker the provider
bad MFA providers are checked at runtime (for the first request)
multi values for principal attribute
mfa principal attribute / value in cas.properties are a general setting while defined in a CAS service, they only apply to this CAS service
Should the CAS server emulate MFA in Fail-Open scenarios

Additional changes thus far:

Prop names have been changed for duo and yubikey to reflect MFA.
Added a new module for RADIUS/MFA since radius itself can be a authn handler without mfa. The new module auto configures the context to add mfa capabilities based on radius. Prop names remain the same.
Javadoc and docs are updated.
Component name suggestions for the policy and API have been accounted for.

I'll still need to update docs to explain how the authn context is passed to the app, and account for other changes discussed above.

once I have a chance to look at the internals of how MFA credentials are gathered and processed I will probably update the CredentialFactory interface in the RESTful API to support returning multiple Credentials. This would potentially allow a deployer to support MFA through the RESTful API.

Good idea.
I plan to resume work on this today hopefully.
I think I have decided to turn that fail-open boolean flag into a tricycle enum. We could let it be close,open,phantom.

Also, we likely need an extra attribute defined in the cas payload to indicate what the authentication context is. Possibility with the ability to translate it to something else in a pluggable way. presently, MFA context is passed to the app as a list of successful authN handlers.

Things left to do here:

On validation: if the requested authn context is already satisfied by CAS, don't fail. Use ranks to calculate the existing context for validations.
If service is configured to fail open and fake context, make sure the context includes the faked/requested context.

1 and 3 above is done. Working on additional tests and 2.

This should be done now.

Team, any feedback or progress on reviewing this? I think Daniel has done a cursory review. I am hopin we can finalize this before end of Feb, and let the work resume on authN event risks.

I've only had time to skim part of it, I may have some time on Saturday to dig in a little deeper.

how is MFA enforced for proxy requests?
so, if I authenticate (without using MFA) to a service that doesn't require MFA, then that service uses the proxy protocol to try and access a service that does require MFA, are access restrictions in place to prevent the access?

The same restrictions that apply to service validate requests. A proxy validate call is the same as a service validate call of course plus a couple of other things. As long the app on the validate call specifies that it needs mfa, CAS will attempt satisfy and/or fail.

Ah, hadn't gotten to validation yet. I started looking through the new webflow resolvers to figure out how the gathering flow works.

Thought I'd add a bit more to the previous reply:

You authenticate without MFA
Ask to validate the ticket with MFA
CAS fails

Or

You authenticate without MFA
Validate without MFA
CAS succeeds
Separate service attempts to authenticate with MFA
CAS steps up to perform MFA
Service attempts to validate
CAS succeeds and will remember MFA for subsequent requests

Note that proxy validate calls that require MFA must have asked for MFA in the original service validate call when PGT is being granted.

K, I think I have a working understanding of how MFA interactions work now, I'm going to spend an hour or two going over the PR this afternoon

Merged with master once. Updated.

What does having multiple configured MFA providers for a RegisteredService indicate?
That all of them need to be satisfied? or that only one of them needs to be satisfied?
How would the login webflow resolve the event to trigger if there are multiple MFA providers?

Yes, here's the rationale I had at the time. May no longer be valid or be overkill:

The present implementation always grabs the first provider from the set. In the order defined. There is a webflow resolver that deals with the first selection.
I thought a Set would provide better flexibility, such that one could customize the webflow handling logic to pick a provider out of a set, based on arbitrary logic. A use case coulld be thought of in terms of, "I want to enforce duo sometimes, but radius some other times". So an extension point is available to have a service define more than one provider, and another to allow a deployer to pick from the set.

This may not be needed for all, but returning a set was at no cost.

k, as I'm looking at making validation try and use the RegisteredService MFA config, I'm having to replicate selection criteria. So I'm probably going to make a centralized MfaTriggerSelectionStrategy (or some better name once I have time to think about it). That's where I'm going to put the resolution logic for the different triggers. We might want to refactor the webflow resolvers to utilize this common Strategy depending on how it shapes out. Then new Strategies could be developed and plugged in to handle the multiple MFA providers config.

I added the MFA trigger selection strategy. I'm assuming this new object could be applied to the webflow event resolvers to combine all the different trigger implementations into a single MFA webflow event resolver. But I haven't tried to apply it there yet.

@frett merged with master once. How's the prognosis?
by the way, if you wish to test duo you can def sign up for an account and put in their API keys in the config. Very simple.

signed up for duo, haven't had much time during the week to put into more testing, going to roundtrip auth this weekend. My schedule during the week is usually quite packed.
Would like it if @dima767 or @leleuj could take at least a cursory look at the PR as well, it's a lot of code to review.

I will do this next week
On Fri, Mar 4, 2016 at 17:36 Daniel Frett notifications@github.com wrote:

signed up for duo, haven't had much time during the week to put into more
testing, going to roundtrip auth this weekend. My schedule during the week
is usually quite packed.
Would like it if @dima767 https://github.com/dima767 or @leleuj
https://github.com/leleuj could take at least a cursory look at the PR
as well, it's a lot of code to review.
—
Reply to this email directly or view it on GitHub
https://github.com/Jasig/cas/pull/1496#issuecomment-192503805.

walking through a few PGT related scenarios, just ran into an NPE in CollectionUtils.convertValueToCollection.

hmm, regular SSO is not working for me with this branch.

See the other issue I created with the tgc. It may be related.

still not working for me, debugging a bit more

It appears to be breaking in the following call stack:

login webflow state initialAuthenticationRequestValidationCheck
calls InitialAuthenticationRequestValidationAction
which calls RankedAuthenticationProviderWebflowEventResolver
successfully detects I have a service and tgt
calls initialAuthenticationAttemptWebflowEventResolver.resolveSingle(context)
InitialAuthenticationAttemptWebflowEventResolver calls grantTicketGrantingTicketToAuthenticationResult() which incidentally generates a new TGT, even though we already have a valid one. This method then returns a success event.
the success event is then handed off to this.authenticationContextValidator.validate within RankedAuthenticationProviderWebflowEventResolver which starts treating success as the name of a MFA provider and causes it to error out.

a quick fix would be to add success and successWithWarnings (another possible response I see in grantTicketGrantingTicketToAuthenticationResult()) to this conditional:
        if (event.getId().equals(CasWebflowConstants.TRANSITION_ID_ERROR)
            || event.getId().equals(CasWebflowConstants.TRANSITION_ID_AUTHENTICATION_FAILURE)) {
            return ImmutableSet.of(event);
        }

but there is still an unnecessary TGT being generated inside of InitialAuthenticationAttemptWebflowEventResolver which shouldn't be happening. I'm not familiar enough with the intent of these Webflow executors to figure out a better solution to avoid generating the extraneous TGT.

Just stumbled onto a different bug with the code I introduced for picking up the required MFA provider from the registered service in ticket validation.
Internally we reference the MultifactorAuthenticationProvider via 2 different ids based on the context. for the authn_method request parameter we use the provider id (e.g. mfa-duo), but for configuration of MFA on a RegisteredService we use the bean name instead (e.g. duoAuthenticationProvider).
This discrepancy could lead to confusion among users wanting to configure MFA between which value to use for a request parameter, and which one to configure in the Services Manager. we should probably consolidate to a single id only. My preference would be the provider ids (mfa-duo, mfa-yubikey, mfa-radius) and not the event ids

Sure. I'll review shortly.

we should probably consolidate to a single id only. My preference would be the provider ids (mfa-duo, mfa-yubikey, mfa-radius) and not the event ids

Agreed.

I'm planning on getting back to this PR this weekend

I updated the trigger selection policies to consistently use the MFA provider id and not use the bean name. tested it out with the duo MFA provider.

+1
On Sun, Mar 13, 2016 at 14:58, Daniel Frett notifications@github.com wrote:
I updated the trigger selection policies to consistently use the MFA provider id
and not use the bean name. tested it out with the duo MFA provider.
—
Reply to this email directly or view it on GitHub
[https://github.com/Jasig/cas/pull/1496#issuecomment-196021003] .[https://github.com/notifications/beacon/AAAxVRgaPxzp3vPEipHRYG7F2L4SSXV3ks5ptF4-gaJpZM4HQwjQ.gif]

@frett Double TGT issue is the only thing that remains on this pull that we know of? Any other changes?
Going to take another pass at this later today. If we are close, might as well do a merge with master and start testing there. Makes it easier to merge.

I believe that is the only thing remaining.
I may try and investigate if it makes sense to consolidate a lot of the webflow MFA trigger selection logic to the MultifactorTriggerSelectionStrategy we are now using in ticket validation, but I don't want that to hold this PR up, so I will submit that as a subsequent PR if that work pans out.

Sounds great. Thanks. I'll look into the double TGT issue, and see if I can make sense out of it.

Going to implement a NONE mode for provider checking. So that when NONE is set, no provider is actually contacted for initial verification of availability.

Seeing the dbl TGT issue. Fix coming up.

had to fix one of my previous travis fixes per a recent thread on the cas-dev mailing list :)

OK we may have a problem:
Not re-issuing the TGT created a side-effect where the MFA state is not remembered, because the MFA state is carried inside an authentication attribute. So, consider the following:

Existing authN and TGT available.
App requests MFA
We achieve MFA, yet we fail to issue a TGT because we have one already available.
Because we use the existing TGT, we lose all authentication attributes that were generated as part of the MFA step. (the authN context being one).
Subsequent MFA requests will always proceed to the MFA step since we can never establish that context.

So, options would be:

Update the attributes of an existing TGT always, save and track that.
Re-issue the TGT if attributes changed, delete the existing one.

1 appears to be the safer choice. Deleting a TGT has severe consequences :) 1 does require API updates so that we can call upon the authentication object associated with a TGT and say "update your attributes with X", and then we need to save the TGT from CasImpl (rather than directly going to the ticket registry).

It makes sense to me that every time there is a new authentication event as part of 2nd factor, the TGT needs to be updated.

yeah, I believe that is part of what supplementalAuthentications is supposed to be tracking. Maybe we need to change out the primary authentication object (and put the old in supplementalAuthentications).
There is already some logic in place to select the Authentication object to use for a request out of the authentication & supplementalAuthentications.

Let's see if I understand this: even if we store this into supplementalAuthentications, we need to update the original TGT that would track that right? I'll take a look.

There is a line that does this:
ticketGrantingTicket.getSupplementalAuthentications().add(currentAuthentication);

But I am not seeing how this is persisted.

I haven't looked at how the auth was getting persisted for MFA yet. I know it does get persisted for renew=true, at least when using JPA as the ticket storage provider.

I think it simply stuck with the normal TGT creation/persistence process since we generated a new TGT every time. But if we are going to keep the existing TGT around, I do suppose we should find a way to keep it updated as we go through authN steps. Seeing how we are tentatively moving towards 5, API changes seem reasonable to allow a TGT to be updated.

Something like
    @Override
    public Ticket updateTicket(@NotNull final Ticket ticket) {
        this.ticketRegistry.addTicket(ticket);
        return ticket;
    }

in CASImpl.

and then maybe:
ticketGrantingTicket.getAuthentication().updateAttributes(...)
casimpl.updateTicket(ticketGrantingTicket)

yeah, it would definitely be preferable to keep the same TGT and just update it's auth context. that way things relying on a single SSO session continue to work (i.e. SLO)

OK. I'll prototype this out and test.

I think modifying the Authentication object itself might be bad, but replacing it with a new one and moving the old one into supplementalAuthentication would be alright.
It just feels wrong to manipulate an existing authentication object that records a supposedly complete authentication event.

We might still be able to handle this using supplemental Authentication. The pre-existing AuthenticationPolicy framework already selects out which Authentication object to use when generating a service ticket and also when validating one. Right now the only provided AuthenticationPolicies are ones to require specific authentication Handlers, but it can be extended to check other criteria about Authentication objects.

Let's walk through the flow together.

When you execute MFA, the flow captures all authentication events. The primary (that existed before MFA) and the new one that was generated by MFA. They are all gathered into a final authentication object.
You get to the TGT creation step. You have one available from previous events, that has its own authentication. What was there before is no longer valid, and I don't think it makes sense to keep it around. The new authN that was captures as a summary of everything includes that old authentication obj already and the one associated with MFA. It'd be best if we could just replace it. I am not sure what we gain by keeping track of the original authN?

I'll review the policies next. Sure.

alright, I get what you are saying, we are building up more context on the current authentication object.

alright, just replacing the primary Authentication object will work since we shouldn't be replacing the principal or existing successes/failures.

WIP. See AbstractCasWebflowEventResolver#grantTicketGrantingTicketToAuthenticationResult

Tested the latest state of this branch. I no longer see double TGTs with the new API changes to update the authN attributes. Waiting for tests to pass. You're welcome to resume tests Daniel.

I have to verify this, but I was also thinking that there should be a way to disable the opt-in mode. All other triggers can be controlled by the adopter, and the opt-in model should work the same way. Maybe it could be as simple as "leave the parameter name blank", (which might already be there), or we might need a separate flag to enable/disable the event resolver.

@dima767 @frett have you been able to check out the latest mods and resume tests?

I've been following the progress by viewing commits, etc. Haven't tested locally
On Fri, Mar 18, 2016 at 12:21, Misagh Moayyed notifications@github.com wrote:
@dima767 [https://github.com/dima767] @frett [https://github.com/frett] have you been able to check out the latest mods and resume tests?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub [https://github.com/Jasig/cas/pull/1496#issuecomment-198433970]

I'm planning on doing another round of testing tomorrow, I think we are really close

hmm, it's getting stuck in a redirect loop before even logging in when trying to use a service with MFA configured. trying to debug what is triggering the redirect right now.

the redirect loop is related to having a theme set on the Apereo RegisteredService, unrelated to MFA (probably) but still a bug that needs to be addressed

There was a fix recently in the master addressing the redirect loop bug related to view resolvers beans mix up, etc. May be this branch would need to be merged with the latest master.

that would probably be it, going to merge in master

hmm, the only thing in master not merged into Mfa is the 5.0 version update.

As Dima says, you should merge with master once, so you could get:
https://github.com/Jasig/cas/pull/1637

I'm actually seeing the redirect loop behavior in master, opening a bug report

disabling the theme locally so I can continue testing MFA

all my testing looks good, I skimmed over the code one last time and made a few minor corrections, but other than that I think this is ready to get merged

Excellent. Thanks for the hard work on this. We might find a few other glitches here and there, but merging this back into master would likely allow us (and others) to start testing MFA better and easier. :+1: to merge.

+1 to merge

source: gharchive/pull-request

authors: dima767 frett mmoayyed

repo: Jasig/cas

license_type: permissive

license_source: bigquery


text:
Extension "HTML-CSS-Class-Completion" stops German spell check to work

I had an issue where I could not get the German spell checker to work. After some testing I found the culprit: "HTML-CSS-Class-Completion" extension.
When this extension is activated, the German spell checker stops working; you have to restart VS Code after activating the "HTML-CSS-Class-Completion" extension.
After deactivating this extension and restarting VS Code the spell checker for German works just fine again.

Thank you. I'll see if I can figure out the issue.

Is this still an issue? I couldn't find that extension. I found HTML-LESS-Class-Completion, but it seemed to work with that one loaded.
Please re-open if you still see this issue.

source: gharchive/issue

repo: Jason-Rev/vscode-spell-checker

license: mit


text:
[New Feature]: Toggle Dark/Light Mode

What feature?
I want to add a toggle button from normal theme to dark theme of whole requires section of website. The users can easily switch between a dark or light scheme by clicking on the toggle button. This will be beneficial for their eye.
Add screenshots
Add screenshots
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@codeburn12 As of now someone is working on it , If he fails to do it Ill assign it to you

I want to work on this issue under gssoc

license: MIT

license_source: github-api


text:
[FEATURE] New free UI tool added

Added a new free tool named Uiverse.io in the product.json file
Screehshot

This PR is created in reference to Issue No.: #335

This branch has conflicts @Mahitej28

This branch has conflicts @Mahitej28

The merge conflict has been resolved you can review now

If the conflict is not resolved within a day, we will close this PR, @Mahitej28

If the conflict is not resolved within a day, we will close this PR, @Mahitej28

I will resolve the conflict today itself


text:
Type mismatch errors inside the copy are not shown

cc @sureshg

Fixed on #28, it will be released as soon as #26 is fixed (likely tomorrow).

repo: JavierSegoviaCordoba/kopy


text:
render API DTOs as objects not strings.

flask_restful supports content negotiation and DTO rendering and
does not rely on the controller rendering the response as JSON.
this change causes all API methods to return structured objects
instead of string-serialized objects.

This has been incorporated by merging #160
Thanks for your work on this.


text:
Utilise PCH to reduce compilation times and includes

Basically as the title says, need to add includes to the PCH

Won't fix as we will continue on a IWYU model

repo: JaydenMaalouf/JoystickPlugin


text:
BrowserTrack widget not working on Big Sur

Just a reminder, I'll fix this as soon as possible.

Fixed with the removal of the Microsoft Edge's current song. I think it wasn't that important anyway. :)

Fixed with the removal of the Microsoft Edge's current song. I think it wasn't that important anyway. :)

repo: Jean-Tinland/simple-bar


text:
add support for DR-HAF003S and basis for other air circulator models

Hello!
This PR adds support for the DR-HAF003S model air circulator fan.
I found that the protocol is slightly different from the tower fan models:

the windtype field is named mode but seems to have the same numerical mappings

this fan also has a "turbo" mode with a mapping of 5
it also has a "custom" mode option but I didn't dig into how that works

this fan support horizontal and vertical oscillation, and has two fields hoscon and voscon to indicate if they are enabled.

there is no shakehorizon field returned

the oscillation angle can be adjusted for both orientations with fields hoscangle and voscangle

I ended up splitting out a separate fan class PyDreoAirCirculatorFan primarily to address (1), and also given the differences in the oscillation interface.
Because Home Assistant's built in Fan entity type only supports a single oscillation direction, I chose to map that to horizontal oscillation if available, and fall back to vertical when available.
Here's an example of the server's state output for reference:
{
'wifi_rssi': {'state': -52, 'timestamp': 1688862675},
'poweron': {'state': True, 'timestamp': 1688863958},
'voscon': {'state': True, 'timestamp': 1688865858},
'mode': {'state': 1, 'timestamp': 1688864262},
'hoscangle': {'state': 90, 'timestamp': 1688865856},
'timeron': {'state': {'du': 0, 'ts': 92989}, 'timestamp': None},
'mode': {'state': 1, 'timestamp': 1688864262},
'mcuon': {'state': True, 'timestamp': 1688862644},
'network_latency': {'state': 116, 'timestamp': 1688862675},
'module_hardware_model': {'state': 'PAI-051', 'timestamp': 1688862675},
'mcu_firmware_version': {'state': '0.1.1', 'timestamp': 1688862644},
'customconf': {'state': '', 'timestamp': 1688862675},
'temperature': {'state': 81, 'timestamp': 1688867269},
'module_hardware_mac': {'state': 'XXXXXXXX', 'timestamp': 1688862675},
'hoscreset': {'state': False, 'timestamp': 1688862675},
'alignon': {'state': True, 'timestamp': 1688862675},
'muteon': {'state': True, 'timestamp': 1688862675},
'lighton': {'state': False, 'timestamp': 1688862675},
'mcu_hardware_model': {'state': 'HAF003S', 'timestamp': 1688862644},
'wifi_ssid': {'state': 'XXXXXX', 'timestamp': 1688862644},
'windlevel': {'state': 4, 'timestamp': 1688864255},
'voscreset': {'state': False, 'timestamp': 1688862675},
'wrong': {'state': 0, 'timestamp': 1688862675},
'module_firmware_version': {'state': '1.2.19', 'timestamp': 1688862675},
'connected': {'state': True, 'timestamp': 1688862675},
'timeroff': {'state': {'du': 0, 'ts': 92989}, 'timestamp': None},
'childlockon': {'state': False, 'timestamp': 1688862675},
'voscangle': {'state': 90, 'timestamp': 1688865986},
'hoscon': {'state': True, 'timestamp': 1688865855}
}'

There are a few other features I didn't implement like child lock and some calibration/offset settings for the oscillation angles. These features don't map onto the HA fan entity interface but they might be worth implementing in PyDreo for use outside HA. And these functions could be exposed in HA through a custom card like  https://github.com/ikaruswill/lovelace-fan-xiaomi.
I also ran the black formatter over the code to fix a few formatting issues I noticed. The formatting is in a separate commit so it's easy to revert if you'd prefer not to use it.

Full disclosure: I'm pretty busy at work now, so this may wait a bit.

I'm going to take this and use as a basis for a slightly different change.
In the case of the angles, I think you can set any angle you want actually, the App just shows a handful, but we shouldn't need them.  I also don't know how to test any of this with HomeAssistant unless we go and add some new services specifically for this, given that the Fan entity doesn't support this.
I filed #23 to track that work.

See PR #26

authors: JeffSteinbok betamike

repo: JeffSteinbok/hass-dreo


text:
Looking for a way to decode HTML entities in XML file.

We are using the XML processor https://www.benthos.dev/docs/components/processors/xml
Though the conversion fails and returns the same XML back when the XML content contains HTML entities such as &, <, –, ˆ etc...
So, maybe the XML processor itself could also handle UnescapeString?

Hey @jalajarora, I can solve this partially by setting the XML parser to be less strict, so that when it sees escape sequences it doesn't recognize (the majority of HTML escapes) it will simply pass them through unescaped. This will allow your documents to get parsed, but it also means the escape sequences will remain in the string values. In order to temporarily work around that I'll add a method unescape_html which you can use on those field values.
Unfortunately, the library I'm using to do the conversions forces this strict configuration to be set globally and so I can't expose it as a configuration field. The xml processor is still marked as experimental and so I think it makes sense to do this even though it's technically a breaking change as it will unblock cases such as these.
My plan is to make these changes today and get a release out for you to try, then eventually I'll need to either help refactor the upstream library or fork it in order to be more flexible with the XML parsing.

For unescaping all string values in the resulting JSON document you'll be able to do:
pipeline:
  processors:
  - xml:
      operator: to_json
  - bloblang: |
      map unescape_values {
        root = match {
          this.type() == "object" => this.map_each(this.value.apply("unescape_values")),
          this.type() == "array" => this.map_each(this.apply("unescape_values")),
          this.type() == "string" => this.unescape_html(),
          this.type() == "bytes" => this.unescape_html(),
          _ => this,
        }
      }
      root = this.apply("unescape_values")

Released: https://github.com/Jeffail/benthos/releases/tag/v3.16.0

Thank you @Jeffail
I will try this out.

authors: Jeffail jalajarora

repo: Jeffail/benthos


text:
How to make single predictions?

Hi Dear Jeffery
In your IPython notebook, you have given instructions for predicting a set of images using a GPU implementation. However, I have used the weights and loaded the data into the network and want to make predictions for images one at a time, since I do not have access to GPUs.
I think this might be possible by the following code, but it is not! Could you please help!
Thanks in advance
img = np.array(Image.open(r'/home/ali/Desktop/data/train/1099_right.jpeg')).T / 255.0
xs_shared[0].set_value(img[np.newaxis, :, :, :])
xs_shared[1].set_value(np.matrix([[512, 512]]))
compute_output(0)

Hi alishakiba,
Keep in mind that the architecture needs at least two images (left and right eye of same patient, ideally), but you could use the same image twice, for example. You could also rewrite the architecture to only use a batch size of 2, that should work.
I think the code could be cleaned up quite a bit but I probably won't have time soon to do this. Nevertheless, let me know if it still doesn't work and I'll try to find some time to make something quickly that works on the CPU.
Jeffrey

authors: JeffreyDF alishakiba


text:
2019-2020年盛派开发者社区优秀贡献者入围名单

感谢大家一直以来为 Senparc 开发者社区做出的贡献，这也是为中国开源事业做出的贡献！
以下我们整理出了在 2019 年2月22日 至 2020 年 3月 31日的社区优秀贡献者入围名单，“盛派开发者社区贡献者”活动评选组委会从所有GitHub/Gitee 代码贡献入围者、社区  QQ 群 / 微信群做出重要贡献的开发者中，按照贡献的质量、数量、重要性及完整程度等指标予以评分，最终评选出一系列贡献者奖项。
入围标准：
1/通过 GitHub 官方认可的 PR 方式成功合并有意义的代码，并成为 GitHub 库认可的贡献者；（https://github.com/JeffreySu/WeiXinMPSDK/graphs/contributors）
2/通过正确提交 issue 为项目提供建设性意见和建议，并被官方最终采纳或实现（或主动实现）的贡献者；
通过社区QQ群、微信群等其他途径提出重要意见或建议的贡献者，截止2020年6月30日前，仍可通过社区推荐或内荐成为贡献者（内荐请提供社区内QQ群或微信群的有效贡献截图）；
3/在问答系统中（https://weixin.senparc.com/QA）主动帮助微信开发者解决问题的贡献者；
4/进行资金支持的突出贡献者（只随机取10%）；
5/同一条意见或建议，以第一个发布 issue 的人为准；
6/盛派员工不得参与评选。
入围贡献者名单：

@mc7246
@lishewen
@dupeng0811
@zhao365845726
@qideqian
@hanabi1224
@jianChengSun
@LGinC
@wtujvk
@CdLian
@ringls
@crashsol
@dong900512
@wlclass
@bxjg1987
@lxings
@slwangzi
@xuefuruanjian
@janywhere
@cqwebwang
@刘晓伦
@jiehanlin
@yueliuhun
@jerrytang67
@a673025
@rongjjieaaa
@2881099
@oTcom
@hesi815
@Luoyunchong
@CharlinQiu
@wlsoftware
@tiger2014
@xclyisen
@leeseett
@JeffreyHangGe
@Liu-Ryan
@tongbenchuan
@lisensoft
@zhongyi112134
@kistliu
@Hsinky
@lxyruanjian
@iXinwei
@Dysheng
@JianCheng
@tangyangming
@gendou
@WangDrama
@xcaptain
@jiuzhou2019
@xuj668
@pengweiqhca
@coolincy
@tony26050369
@fairangel
@fengshi19888
@luoxy123
@TalkTruly
@cqinwn
@Gitoffice
@hnsongbiao
@archeraya
@mpnet
@ulyanovsk
@leon
@/kb虎@小子
@飞机大猪
@卖白菜的
@上善若水

*通过社区QQ群、微信群等其他途径提出重要意见或建议的贡献者，截止2020年6月30日前，仍可通过社区推荐或自荐成为贡献者（内荐请提供社区内QQ群或微信群的有效贡献截图）；如有任何问题，请及时联系盛小嗨（微信号：SenparcWechat）
如需增补请联系我们：zsu@senparc.com/盛小嗨（微信号：SenparcWechat）
身份确认说明：由于以上名称包含了 GitHub 账户以及从 社区QQ群/微信群 等其他渠道了解的昵称、姓名，请自行核对！
最后再次感谢所有社区小伙伴的共同努力，感谢大家的支持与配合。

更新; https://github.com/JeffreySu/WeiXinMPSDK/issues/2197

感谢大家
发自我的小米手机
在 Jessie-Space notifications@github.com，2020年6月28日 上午11:22写道：
感谢大家一直以来为 Senparc 开发者社区做出的贡献，这也是为中国开源事业做出的贡献！
以下我们整理出了在 2019 年2月22日 至 2020 年 3月 31日的社区优秀贡献者入围名单，“盛派开发者社区贡献者”活动评选组委会从所有GitHub/Gitee 代码贡献入围者、社区  QQ 群 / 微信群做出重要贡献的开发者中，按照贡献的质量、数量、重要性及完整程度等指标予以评分，最终评选出一系列贡献者奖项。
入围标准：
1/通过 GitHub 官方认可的 PR 方式成功合并有意义的代码，并成为 GitHub 库认可的贡献者；（https://github.com/JeffreySu/WeiXinMPSDK/graphs/contributors）https://github.com/JeffreySu/WeiXinMPSDK/graphs/contributors）
2/通过正确提交 issue 为项目提供建设性意见和建议，并被官方最终采纳或实现（或主动实现）的贡献者；
通过社区QQ群、微信群等其他途径提出重要意见或建议的贡献者，截止2020年6月30日前，仍可通过社区推荐或内荐成为贡献者（内荐请提供社区内QQ群或微信群的有效贡献截图）；
3/在问答系统中（https://weixin.senparc.com/QA）主动帮助微信开发者解决问题的贡献者；https://weixin.senparc.com/QA）主动帮助微信开发者解决问题的贡献者；
4/进行资金支持的突出贡献者（只随机取10%）；
5/同一条意见或建议，以第一个发布 issue 的人为准；
6/盛派员工不得参与评选。
入围贡献者名单：

@mc7246https://github.com/mc7246
@lishewenhttps://github.com/lishewen
@dupeng0811https://github.com/dupeng0811
@zhao365845726https://github.com/zhao365845726
@qideqianhttps://github.com/qideqian
@hanabi1224https://github.com/hanabi1224
@JianChengSunhttps://github.com/JianChengSun
@LGinChttps://github.com/LGinC
@wtujvkhttps://github.com/wtujvk
@CdLianhttps://github.com/CdLian
@ringlshttps://github.com/ringls
@crashsolhttps://github.com/crashsol
@dong900512https://github.com/dong900512
@wlclasshttps://github.com/wlclass
@bxjg1987https://github.com/bxjg1987
@lxingshttps://github.com/lxings
@slwangzihttps://github.com/slwangzi
@xuefuruanjianhttps://github.com/xuefuruanjian
@janywherehttps://github.com/janywhere
@cqwebwanghttps://github.com/cqwebwang
@刘晓伦
@jiehanlinhttps://github.com/jiehanlin
@yueliuhunhttps://github.com/yueliuhun
@jerrytang67https://github.com/jerrytang67
@a673025https://github.com/a673025
@rongjjieaaa
@2881099https://github.com/2881099
@oTcomhttps://github.com/oTcom
@hesi815https://github.com/hesi815
@luoyunchonghttps://github.com/luoyunchong
@CharlinQiuhttps://github.com/CharlinQiu
@wlsoftwarehttps://github.com/wlsoftware
@tiger2014https://github.com/tiger2014
@xclyisen
@leeseetthttps://github.com/leeseett
@JeffreyHangGehttps://github.com/JeffreyHangGe
@Liu-Ryan
@tongbenchuanhttps://github.com/tongbenchuan
@lisensofthttps://github.com/lisensoft
@zhongyi112134https://github.com/zhongyi112134
@kistliuhttps://github.com/kistliu
@Hsinkyhttps://github.com/Hsinky
@lxyruanjianhttps://github.com/lxyruanjian
@iXinwei
@Dyshenghttps://github.com/Dysheng
@JianChenghttps://github.com/JianCheng
@tangyangminghttps://github.com/tangyangming
@gendouhttps://github.com/gendou
@WangDramahttps://github.com/WangDrama
@xcaptainhttps://github.com/xcaptain
@jiuzhou2019https://github.com/jiuzhou2019
@xuj668
@pengweiqhca
@coolincy
@tony26050369
@fairangel
@fengshi19888
@luoxy123
@TalkTruly
@cqinwn
@Gitoffice
@hnsongbiao
@archeraya
@mpnet
@ulyanovsk
@leon
@/kb虎@小子
@飞机大猪
@卖白菜的
@上善若水

*通过社区QQ群、微信群等其他途径提出重要意见或建议的贡献者，截止2020年6月30日前，仍可通过社区推荐或自荐成为贡献者（内荐请提供社区内QQ群或微信群的有效贡献截图）；如有任何问题，请及时联系盛小嗨（微信号：SenparcWechat）
如需增补请联系我们：zsu@senparc.commailto:zsu@senparc.com/盛小嗨（微信号：SenparcWechat）
身份确认说明：由于以上名称包含了 GitHub 账户以及从 社区QQ群/微信群 等其他渠道了解的昵称、姓名，请自行核对！
最后再次感谢所有社区小伙伴的共同努力，感谢大家的支持与配合。
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/JeffreySu/WeiXinMPSDK/issues/2198, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABPDPDE6MODVTAZCHZDHUC3RY2ZO5ANCNFSM4OKKKFQQ.

authors: Dysheng JeffreySu Jessie-Space

repo: JeffreySu/WeiXinMPSDK


text:
Vue-loader options.

I see no docs on how to interact with vue-loader trough .mix
https://vue-loader.vuejs.org/en/options.html has more options than what you have included in the docs/options.md.
I would want to use the preservewhitespace. However, I cannot seem to find any what to add this option by today. Am I looking at the wrong place, or?
Simply adding vue-loader as a rule in webpackConfig did not seem to work. Looked like it initialized vue-loader twice and broke it with Failed to mount component: template or render function not defined
How do we go with adding custom vue-loader options?

Same here, maybe there is way to get the config and alter it somehow..

Actually according to this
https://github.com/JeffreyWay/laravel-mix/blob/master/docs/quick-webpack-configuration.md
It should do a deep merge

mix.preLoaders() and mix.postLoaders() are available
https://github.com/JeffreyWay/laravel-mix/commit/e45503786c0fa50a13cc0755bcf9c18eff569e5d
but otherwise it seems the whole config is needed
https://github.com/JeffreyWay/laravel-mix/issues/875

actually its
mix.options({
        vue: {
            preLoaders: {

            }
            postLoaders: {

            }
        }
    })

@BlitZz96 Hello. I'd like to remove whitespaces from vue templates. I added your code to my webpack.mix.js.
   mix.options({
        vue: {
            preserveWhitespace: false
        }
    });

But I,m getting anyway [this._v("\n                    I'm an example component.\n                ")].
What's wrong?

Please notice that preserveWhitespace and whitespace is compilerOptions. Not options of vue-loader but vue-template-compiler.
Correct way to set this is:
mix.options({
  vue: {
    compilerOptions: {
      whitespace: 'condense'
    }
  }
})

This github issue shows on the top of my search result page. So I just leave the right answer here.

authors: BlitZz96 binotaliu isometriq mezhevikin

repo: JeffreyWay/laravel-mix


text:
Only version specific files version(['public/js/app.js'] not working

I am trying to only version specific files:
I am trying to version a specific file. And bellow I am trying to only version app.js
mix.js('resources/assets/js/app.js', 'public/js')
  .sass('resources/assets/sass/app.scss', 'public/css')
  .babel([
    'resources/assets/js/libs/xxxx.js',
    'resources/assets/js/libs/xxxx.js',
    'resources/assets/js/libs/xxxx.js',
    'resources/assets/js/libs/xxxx.js',
    'resources/assets/js/libs/xxxx.js',
    'resources/assets/js/libs/xxxx.js',
    'resources/assets/js/libs/xxxx.js',
    'resources/assets/js/libs/xxxx.js',
    'resources/assets/js/libs/xxxx.js',
    'resources/assets/js/libs/xxxx.js',
    'resources/assets/js/libs/xxxx.js',
    'resources/assets/js/libs/xxxx.js'
  ], 'public/js/libs.js')
  .scripts('resources/assets/js/pages/xxxx.js', 'public/js/xxxx.js')
  .scripts('resources/assets/js/pages/xxxx.js', 'public/js/xxxx.js')
  .scripts('resources/assets/js/pages/xxxx.js', 'public/js/xxxx.js')
  .scripts('resources/assets/js/pages/xxxx.js', 'public/js/xxxx.js')
  .scripts('resources/assets/js/pages/xxxx.js', 'public/js/xxxx.js')
  .scripts('resources/assets/js/pages/xxxx.js', 'public/js/xxxx.js')
  .scripts('resources/assets/js/pages/xxxx.js', 'public/js/xxxx.js')
  .scripts('resources/assets/js/pages/xxxx.js', 'public/js/xxxx.js')
  .version([
    'public/js/app.js'
  ]);

I am trying to version app.js but I get the error:
Error: ENOENT: no such file or directory, open 'public/js/app.js'
I have also tried: app.*.js
And if I only call version(); it will ofc version all files.
So is there no way I only can version specific files?
I am tarting to think that I have to run my webpack.mix file multiple times in order to version specific files..
Also I ran npm install and upgraded to laravel-mix@0.8.9

As far as I know, you cannot version a single file.

Right. mix.version() automatically versions the relevant files for your Webpack bundle. Whatever you pass as an array to the method will be files to version on top of that.

@JeffreyWay Ah okey, guess I gotta run my mix files multiple times then

authors: JeffreyWay kiwo12345 ruchern


text:
fix TypeScript types

There was some issues in the types:

@babel/core is required as a dependency but is still called babel-core in the types
API was not found as a type in the component.d.ts.

Fixes #2954

Dadgummit I thought I had fixed the babel types already. 😂
Once CI runs I'll merge this. Thanks!

authors: Elhebert thecrypticace


text:
Plugin won't run after upgrade

Describe Your Problem:

Logs:
[10/4/2022, 9:11:01 PM] [DaikinCloud] Failed to get cloud devices from Daikin Cloud: Failed to login to Daikin Cloud with MY@EMAIL: Error trying to follow redirect: write EPROTO 3069770240:error:14094458:SSL routines:ssl3_read_bytes:tlsv1 unrecognized name:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1546:SSL alert number 112

Plugin Config:
{
    "bridge": {
        "name": "Homebridge EE30",
        "username": "MAC-ADDRESS",
        "port": 51366,
        "pin": "MY PIN"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config",
            "ssl": {
                "key": "/var/lib/homebridge/ssl/private/homebridge.pem",
                "cert": "/var/lib/homebridge/ssl/certs/homebridge.pem"
            }
        },
        {
            "name": "HOSTNAME",
            "hubIP": "IP OF HUB",
            "hubName": "Harmony Hub",
            "TVAccessory": false,
            "switchAccessories": true,
            "platform": "HarmonyHubWebSocket"
        },
        {
            "username": "MY EMAIL",
            "password": "MY PASSWORD",
            "showExtraFeatures": true,
            "platform": "DaikinCloud"
        }
    ],
    "disabledPlugins": [
        "homebridge-camera-ffmpeg",
        "homebridge-daikin-local"
    ]
}

Screenshots:

Environment:

Plugin Version: homebridge-daikin-cloud v1.4.0
Homebridge Version: [homebridge-config-ui-x v4.50.1]
Node.js Version: v16.16.0
NPM Version: 8.19.2
Operating System: Raspbian GNU/Linux 10 (buster)

By the way, I also did an 'npm install -g npm@8.13.2' after the reinstall of the plugin (which I did by issueing 'npm i homebridge-daikin-cloud')

@aukesj I don't know if this has anything to do with the plugin itself. Seems like there might be a problem with your CA certificates.
You could install curl on the machine that is running homebridge and run
curl -v https://daikin-unicloud-prod.auth.eu-west-1.amazoncognito.com/oauth2/authorize

Issue https://github.com/JeroenVdb/homebridge-daikin-cloud/issues/12 has a similar problem.

@JeroenVdb The curl command returns no issues:
`* Server certificate:

subject: CN=*.auth.eu-west-1.amazoncognito.com
start date: Feb 27 00:00:00 2022 GMT
expire date: Mar 28 23:59:59 2023 GMT
subjectAltName: host "daikin-unicloud-prod.auth.eu-west-1.amazoncognito.com" matched cert's "*.auth.eu-west-1.amazoncognito.com"
issuer: C=US; O=Amazon; OU=Server CA 1B; CN=Amazon
SSL certificate verify ok.`

Same applies to links I follow locally, with my own CA:
`* Server certificate:

subject: CN=MY LOCAL DOMAIN
start date: Jan  5 15:31:51 2022 GMT
expire date: Jan  3 15:31:51 2032 GMT
subjectAltName: host "LOCAL SERVER" matched cert's "LOCAL SERVER"
issuer: ALL MY ISSUER DATA
SSL certificate verify ok.`

It was an issue with my local DNS (Pi-Hole)

Yes, and it probably only occurs when re-initializing the plugin somehow. After disabling pi-hole, restarting homebridge service, I can re-enable pi-hole again and everything keeps working just fine.

authors: JeroenVdb aukesj

repo: JeroenVdb/homebridge-daikin-cloud


text:
ver 1.0 footer finished

Footer gemaakt voor de squadpage
home page +page.svelte
import Footer from '../components/footer.svelte'; // Voorbeeld footer import

toegevoegd om de footer te importeren
<Logo/> veranderd naar <Footer/> en hem onderaan gezet zodat de footer content onderaan de squadpage komt

nieuwe assets folder voor fdnd logo src/lib/assets/fdnd.png
dit was nodig omdat het niet werkt wanneer ik het in de assets folder van de root stop

Footer.svelte
Belangrijke kenmerken:

Alle namen hebben een link naar hun github page
en is responsive + geschikt voor mobile

resultaat

Dank voor je verzoek! Ik ga ernaar kijken!

@driezie dat is prima. dankjewel voor de review


text:
When sending TradeOffer server returns an error 500

I call the method SendWithToken in class TradeOffer and SteamWeb.Request gives an error message:
System.Net.WebException: "The remote server returned an error: (500) Internal server error."
I call so:
                        tradingManager.SendOfferWithToken(                             myInventory.items.Values.ToList(),                             hisInventory.items.Values.ToList(),                             hostTradeLink,                             "Test"                         );
My class wrap:
`
    public string SendOfferWithToken(List<GenericInventory.Item> ourItems, List<GenericInventory.Item> theirItems, string token, string message = "")
    {
        string tradeOfferId;
        var accIdOther = token.Split(new[] { "partner=" }, StringSplitOptions.None)[1].Split('&')[0];
        var tradeOffer = FormTradeOffer(ourItems, theirItems, int.Parse(accIdOther));

        var splitter = "token=";
        token = token.Split(new[] { splitter }, StringSplitOptions.None)[1];

        tradeOffer.SendWithToken(out tradeOfferId, token, message);
        return tradeOfferId;
    }

    private List<CEconAsset> ConvertToCecon(List<GenericInventory.Item> items)
    {
        var result = new List<CEconAsset>();

        if (items != null && items.Count > 0)
            foreach (var item in items)
            {
                result.Add(new CEconAsset
                {
                    AssetId = item.Assetid.ToString(),
                    ContextId = item.ContextId.ToString(),
                    AppId = item.AppId.ToString()
                });
            }
        return result;
    }

    private TradeOffer FormTradeOffer(List<GenericInventory.Item> ourItems, List<GenericInventory.Item> theirItems, int accountIdOther = 0)
    {
        var itemsToGive = ConvertToCecon(ourItems);
        var itemsToRecieve = ConvertToCecon(theirItems);

        var offer = new Offer();
        if (accountIdOther != 0)
            offer.AccountIdOther = accountIdOther;
        offer.ItemsToGive = itemsToGive;
        offer.ItemsToReceive = itemsToRecieve;

        var tradeOffer = new TradeOffer(session, offer);
        return tradeOffer;
    }

`
Am I doing something wrong?

Found what was my mistake, I somehow did not correctly send out non-unique items. Those items that stack.

@AndreyVerhovnikov Could you close this issue then pls?

@BlueRaja is there a chance to get some of the other posts in this issue tracker closed as well? As they aren't issues with the project but help requests mostly without answers. I would love to help but dont have the rights to do so.

authors: AndreyVerhovnikov TimoKruth


text:
Agregar entrada de texto para la busqueda de contactos en la ventana secundaria.

Agregar entrada de texto para la busqueda de contactos en la ventana secundaria.

Se agrego correctamente en la ventana secundaria


text:
[Java] Inner class parsing (incorrect select of a CUT)

Description
Currently, there is no support of Inner classes.
class MyOuterClass {
    private String name;
    private int age;

    static class MyInnerClass{
        private int sex;

        public int getAge() {
            return sex;
        }
    }
}

If the cursor is in the empty line inside the inner class, then the testing option is only to test OuterClass.
If the cursor is in the non-empty line inside the inner class, then the testing option is the right function, but the class is the OuterClass, not Inner.

In the above example, if I start the test generation for the method getAge I will have the following error:
java.lang.NullPointerException
	at org.jetbrains.research.testspark.tools.llm.generation.PromptManager.generatePrompt$lambda$8(PromptManager.kt:112)
	at com.intellij.openapi.application.impl.RwLockHolder.runReadAction(RwLockHolder.kt:271)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:845)
	at org.jetbrains.research.testspark.tools.llm.generation.PromptManager.generatePrompt(PromptManager.kt:70)
	at org.jetbrains.research.testspark.tools.llm.generation.LLMProcessManager.runTestGenerator(LLMProcessManager.kt:105)
	at org.jetbrains.research.testspark.tools.Pipeline$runTestGeneration$1.run(Pipeline.kt:96)
	at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:477)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:133)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsynchronously$6(CoreProgressManager.java:528)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:250)
	at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:100)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:221)
	at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:46)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:220)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:660)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:735)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:691)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:659)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:202)
	at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:100)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:250)
	at com.intellij.openapi.progress.impl.ProgressRunner$ProgressRunnable.run(ProgressRunner.java:500)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
	at java.base/java.lang.Thread.run(Thread.java:840)

The part of the trace relevant to our code:
java.lang.NullPointerException
	at org.jetbrains.research.testspark.tools.llm.generation.PromptManager.generatePrompt$lambda$8(PromptManager.kt:112)
	at com.intellij.openapi.application.impl.RwLockHolder.runReadAction(RwLockHolder.kt:271)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:845)
	at org.jetbrains.research.testspark.tools.llm.generation.PromptManager.generatePrompt(PromptManager.kt:70)
	at org.jetbrains.research.testspark.tools.llm.generation.LLMProcessManager.runTestGenerator(LLMProcessManager.kt:105)
	at org.jetbrains.research.testspark.tools.Pipeline$runTestGeneration$1.run(Pipeline.kt:96)

Reproduction steps:

Start method-based test generation for the method getAge of the code snippet above.
See the error.

Explanation:
The error occurs because we expect the psiMethod to always exist:
CodeType.METHOD -> {
   val psiMethod = getPsiMethod(cut, codeType.objectDescription)!! // <- we assert not null
   // ...

But the problem in this scenario is we have the MyOuterClass as cut, not MyInnerClass. Therefore, the psiMethod is null and we fail with NullPointerException.
Solution: adjust the algorithm for selecting the class under test in Java.
It does not fail for Kotlin but the context for generation is insufficient due to lack of information about the outer class.

repo: JetBrains-Research/TestSpark


text:
Template compose-multiplatform-ios-android-template

Similar to https://github.com/JetBrains/compose-multiplatform/issues/2823
We need a template that supports only iOS and Android, because removing the other targets isn't easy right now, but they may not be needed.

We don't want to use mobile in naming. It may associate just with Android. Let's use compose-multiplatform-ios-android-template to avoid confusion as discussed with @SebastianAigner in Slack.

Here it is: https://github.com/JetBrains/compose-multiplatform-ios-android-template
Couple of things to be done:

Remove issues
Add About

Couple of things to be done:

Done

@katia-energizer, should we change the title to Compose Multiplatform iOS+Android Application?

How to use this template?
I have Koplin Multiplatform Mobile and Compose Multiplatform IDE Support plugins installed for Android Studio. When I pick Kotlin Multiplatform App template I get project structure that is on the first look similar to compose-multiplatform-ios-android-template but is actually implemented in not multiplatform friendly way. Shared module has no UI components (no App). Instead each platform has it's own Greeting and theme implementation. I can't find any information how to add a template to AS (so I assumed it's shipped with a plugin) and there is no info about it in readme files nor on wiki...

How to use this template?

Yes?

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

authors: igordmn katia-energizer okushnikov pjBooms subchannel13

repo: JetBrains/compose-multiplatform


text:
How to get packageName/packageVersion/vendor

val kitVersion by extra("1.0.0")

compose.desktop {
    application {
        mainClass = "MainKt"
        nativeDistributions {
            targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
            packageName = "appName"
            packageVersion = kitVersion
            description = "description"
            copyright = "© 2024 Name. All rights reserved."
            vendor = "Name"
            licenseFile.set(project.rootProject.file("LICENSE"))
            ...
        }
    }
}

I now want to create an about page within the application, which contains the application name, application version and other information, but I don’t know how to obtain these parameters in build.gradle.kts, How to write code
Mainly on mac/windows

Hello! You can use some gradle plugins for code generation. For example pay attention to https://github.com/gmazzo/gradle-buildconfig-plugin.
And you can configure some values this such information right in your gradle scripts.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

authors: LazyIonEs dima-avdeev-jb okushnikov


text:
⚠ API (search) has degraded performance

In 3dc4589, API (search) (https://api.dev.package-search.services.jetbrains.com/search-packages) experienced degraded performance:

HTTP code: 200
Response time: 3144 ms

Resolved: API (search) performance has improved in 8f81a75 after 7 minutes.

repo: JetBrains/package-search-upptime


text:
Add newrelic stubs

via @olekhy

:+1:

Apologies :) so used to my pre-commit hooks :)

Have you submitted a contributor license agreement? If not, please download the PDF from http://www.jetbrains.org/display/IJOS/Contributor+Agreement and then print it out, sign (mention you github account name there), scan and email to contribute@jetbrains.com

Seems #49 beat me to it, even though I'd submitted first... :-1:

Well #49 also been kind to send his CLA in advance. Please do follow contribution rules if you wish to add/fix something.

Which I'd have done, had the [https://github.com/blog/1184-contributing-guidelines](Contributing Guidelines) shown!

authors: Mezzle neuro159 olekhy

repo: JetBrains/phpstorm-stubs


text:
Add files via upload

srtafe.txt

@ramin-srtafe srtafe.txt I am sorry, I have to close the request without merging, because you made a mistake in a request and did not specify any filepath. Please ensure that you are familiar with this repository rules located at the bottom of this page and make a new correct request. Thank you for your understanding!

authors: philipto ramin-srtafe

repo: JetBrains/swot


text:
Add Leicester College

This PR adds Leicester College to the SWOT list
Website: https://leicestercollege.ac.uk
Proof of email: If necessary, I can provide my student email here for verification. (Ideally I don't want to share it in a public thread)
Courses: Multiple long-term computing courses can be found here: https://leicestercollege.ac.uk/courses/all-courses/?fwp_subject_area=computing-and-digital&fwp_course_level=3
Thanks!

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


text:
Create amoud.txt

This pull request adds the email domain of Amoud University (Jaamacada Camuud) to the JetBrains swot repository.

the link to the university website is amoud.edu.so

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


text:
PLease add Our School

file.zip is extracted now, according to the directions and guide.

@tahirabbas-tmhs There are several files in the request, along with file.zip. It must not be there. Please remove file.zip and make pull request again.  I have to close this request without merging. Thank you for your understanding.

authors: philipto tahirabbas-tmhs


text:
Shree Panchayat Secondary School

Request for adding Educational Domain

@pxlcodes Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

@pxlcodes You might miss my previous comment. Please react.

@pxlcodes I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for your understanding!

authors: philipto pxlcodes


text:
Update preinstalled software list for TCC agents

This PR was created by an automated build in TeamCity Cloud

Closing this PR as obsolete, there is a more recent one

repo: JetBrains/teamcity-documentation


text:
Blog page - title behavior

Jack @JiaKunUp
When I click on the button 'AmJ'  on the blog pages corner ..(top right corner ..same as Jalpc)   , it routs me to url 'ashutoshmjain.github.com' .. Since there is nothing hosted on above url , it returns a 404 error.
Is there a way, I could have it routed to ashtoshmjain.github.com/homepage where my site is hosted ..
btw - it works fine on the main landing page where clicking on it takes me to page top ..
Thanks in advance

@ashutoshmjain  Thanks for using this theme, this code is located at _includes/header.html and I use {{ site.title }} before, now it has changed to {{ site.title }}, I think it works for you.
Thanks for finding this bug.

It worked for me  ..
Thanks again for the wonderful work .
Really appreciate
Ashutosh

authors: JiaKunUp ashutoshmjain


text:
Stop words not correctly being removed if the capitalisation option is switched on.

Because of the way the words are processed in the web workers, the recent change broke the way it was processed.
This is the same stemming and lemmatization.
It is only currently working if the all lower cases option is selected.

Fixed in recent push.

repo: JianLoong/word-cloud-generator


text:
[libgojni.so] runtime.asmcgocall(Android)

My application is crashing a lot with the error Scudo ERROR: invalid chunk state when deallocating address 0x
backtrace:
#00 pc 0x0000000000051698 /apex/com.android.runtime/lib64/bionic/libc.so (abort+168)
#01 pc 0x0000000000041670 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::die()+12)
#02 pc 0x0000000000041d88 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::ScopedErrorReport::~ScopedErrorReport()+36)
#03 pc 0x0000000000041fdc /apex/com.android.runtime/lib64/bionic/libc.so (scudo::reportInvalidChunkState(scudo::AllocatorAction, void*)+80)
#04 pc 0x0000000000043660 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::Allocator<scudo::AndroidConfig, &(scudo_malloc_postinit)>::deallocate(void*, scudo::Chunk::Origin) , unsigned long, unsigned long)+316)
#05 pc 0x000000000012b5e0 /data/app/~~XLTeDwF_JyP9jUnMt5e2AQ==/com.eco.vpn.supervpn-l5D0hHcZlU0k0E9eYbyRQQ==/lib/arm64/libgojni.so (runtime.asmcgocall+112)asmcgocall
Anyone have any solution? Thank you!

Thank you for reaching out! If this is still an issue for you, please contact us at support.getoutline.org and include the GitHub issue number so that we can better support your needs.
If you haven’t already, check out the Outline Support Site at support.getoutline.org for access to help articles and more.

repo: Jigsaw-Code/outline-client


text:
[Mac v1.2.5] Can’t Connect to Internet

In Outline 1.2.5 on macOS 10.14.3, I’m not able to use the internet on my Mac. Although the Outline client seems to be connected to the server, sites don’t open.
Quick Facts

I attempted to connect to three different servers (all in AWS).
The iOS client (v1.2.5) works fine with the very same servers.
Other VPN services (namely, TunnelBear) function properly on the same network.

Configuration

Outline client version: 1.2.5
OS: macOS 10.14.3
Browser: Safari 12.0.3

I tried both auto and manual install in Digitalocean.
I can ping the server IP when Outline is connected but there is no internet

I even tried setting up the server while connected to a VPN. I did it to be sure my server IP is not compromised.

Same here bud, being going on for months.

As of 2/10, I no longer experience the issue; tested on two Macs with macOS 10.14.3 and the latest supplemental update (macOS build 18D109).

same here. It seems the connection broken soon after the establishment of a connection.

authors: hadifarnoud tomlister vinsongeo yakovmanshin


text:
Coordinator behavior bug

Context
In sample app, after clicking snackbar test from menu, fab animates up, and gets back when SnackBar goes down automatically. But when user hides SnackBar manually, with swiping to right, fab button doesn't get back, it stays in wrong position.
Process

Open Sample app
Click "Snackbar test" option from toolbar menu
Swipe right snackbar to hide

Expected result
Fab button should animate down after closing snackbar.
Thanks!

@alashow thanks for reporting, I've confirmed this bug, shouldn't be too hard to fix ;).

authors: JoaquimLey alashow

repo: JoaquimLey/faboptions


text:
smsSender is not pulled from SMS-message

In the SmsBroadcastReceiver the String smsSender is declared as empty ("").
But the sender is filled with information.
link to source: https://github.com/JoaquimLey/sms-parsing/blob/master/app/src/main/java/com/joaquimley/smsparsing/SmsBroadcastReceiver.java
The result is that the line
Log.d(TAG, "SMS detected: From " + smsSender + " With text " + smsBody);
doesn't show the smsSender.
Forgive me if my issue is formatted or explained badly - this is the first time I interact on GitHub :) - thanks for a great code it helped me a great deal!
The solution seems to be to change
        for (SmsMessage smsMessage : Telephony.Sms.Intents.getMessagesFromIntent(intent)) {
            smsBody += smsMessage.getMessageBody();
        }

to
        for (SmsMessage smsMessage : Telephony.Sms.Intents.getMessagesFromIntent(intent)) {
            smsBody += smsMessage.getMessageBody();
            smsSender += smsMessage.getOriginatingAddress();
        }

Hey there @OleTheill I've updated the receiver with the code from the article:

https://android.jlelse.eu/detecting-sending-sms-on-android-8a154562597f

Let me know if this helps you out ;)

Closing due to inactivity.

authors: JoaquimLey OleTheill

repo: JoaquimLey/sms-parsing


text:
Can we rename the default config?

Trying to work on this project is painful when I need to constantly worry if I'm accidentally about to overwrite the default config with mine instead, or leak my secure key.
Can we rename config.php to config.default.php then add config.php to the gitignore file?
It'll also be worth showing an error if no config.php is present, for people installing this for the first time. This wouldn't affect existing installs.

Also... these say disabled by default when they're enabled by default.
https://github.com/JoeGandy/ShareX-Custom-Upload/blob/master/src/config.php#L62-L69

Yeah, I think that’s a good idea. Feel free to leave a PR for it.
For the error message, you can probably do a check in merge_config.php and show the error from there.
As for the defaults, I think that’s a symptom of the exact issue you’re describing :). I probably left those as true from when I was testing config. However, I’d keep them as true because I think it’s good to expose as many features as possible to new users and then allow them to disable them if they don’t want to use the features. Let me know what you think.

I agree with you on that last point! People can always turn them off, but if they don't know they exist in the first place, they'll never know...

Closed by #122

authors: davwheat theaquarium

repo: JoeGandy/ShareX-Custom-Upload


text:
random topic suggestion

Added proposed/optional random topic (feat. wiki)

Nice!

authors: JoelKronander jkkronk


text:
Smart Switch BSD33 (Zigbee) no energy-monitoring

Tuya Smart Switch BSD33 (Zigbee) does not show energy-monitoring on Homey Pro😢 Is there a solution for this? Greetzz

Hi @Kosyko, can you please provide the manufacturerName and ProductId of the device? It's found in the device's settings.

authors: JohanBendz Kosyko


text:
RGB light bars do not change color

Setting the color of the RGB light bars from LIDL does not seem to work. It simply does not update the color.
I've tried to debug the problem a little but I am assuming this may be an issue in the way Homey handles the colors:
I tried:

Added directly to Homey using this app
Added to Philips Hue and using the Philips Hue Homey app, I added the device

In neither scenario does the light bar change colors. Changing brightness seems to work.

Hi @Malalicious. Have you tried interviewing the device after adding it to this app and then restart this app?  https://developer.athom.com/tools/zigbee

So strange. Interviewing the device fixed the issue. Curious as to why that's a thing :)

authors: JohanBendz Malalicious


text:
Device Request - [Intelligent valve controller] - [PF-PM02D-TYZ]

Prerequisites:

Before requesting a device addition, please ensure there is not already a request for the device among the open issues.
Make sure your Homey is upgraded to firmware v5 or higher.
You need a physical example of the device

Device Name: MOES Intelligent valve controller
Device Model: PF-PM02D-TYZ /
Device Description: Water and gas valve
Link to device image: https://www.aliexpress.com/item/1005004275205561.html?spm=a2g0o.order_list.order_list_main.63.da991802uOnjKw
Device Interview:
I will provide when i can find the copy button... sorry have to figue out how first after i have started interview. Cant find any copy.
Additional Comments:
Shipped by MOES, here is also link to shop and manual.
https://drive.google.com/file/d/1nvfnlr1Xkk0rKPJpitycuw8FV-lCu_PB/view?spm=a2g0o.detail.1000023.7.9b72zeIazeIa6d&pli=1
https://www.aliexpress.com/item/1005004275205561.html?spm=a2g0o.order_list.order_list_main.63.da991802uOnjKw
How to interview a device:

Add the device as a generic Zigbee device in Homey
Navigate to https://developer.athom.com/tools/zigbee.
Interview the device, the button for this is to the right of the device in the list of Zigbee units.
Click the copy button/icon to capture the device information.
Paste the copied information above.

Note: To be able to add more devices to the Tuya Zigbee app, we rely on community members like you to provide interviews of the devices you want added. Thank you for your contribution!

Interview:
"ids": {
"modelId": "TS0601",
"manufacturerName": "_TZE200_d0ypnbvn"
},
"endpoints": {
"ieeeAddress": "a4:c1:38:1a:fa:f3:62:ef",
"networkAddress": 39740,
"modelId": "TS0601",
"manufacturerName": "_TZE200_d0ypnbvn",
"endpointDescriptors": [
{
"status": "SUCCESS",
"nwkAddrOfInterest": 39740,
"_reserved": 20,
"endpointId": 1,
"applicationProfileId": 260,
"applicationDeviceId": 81,
"applicationDeviceVersion": 0,
"_reserved1": 1,
"inputClusters": [
4,
5,
61184,
0
],
"outputClusters": [
25,
10
]
},
{
"status": "SUCCESS",
"nwkAddrOfInterest": 39740,
"_reserved": 10,
"endpointId": 242,
"applicationProfileId": 41440,
"applicationDeviceId": 97,
"applicationDeviceVersion": 0,
"_reserved1": 0,
"inputClusters": [],
"outputClusters": [
33
]
}
],
"deviceType": "router",
"receiveWhenIdle": true,
"capabilities": {
"alternatePANCoordinator": false,
"deviceType": true,
"powerSourceMains": true,
"receiveWhenIdle": true,
"security": false,
"allocateAddress": true
},
"extendedEndpointDescriptors": {
"1": {
"clusters": {
"groups": {
"attributes": [
{
"acl": [
"readable",
"reportable"
],
"id": 0,
"name": "nameSupport",
"value": {
"type": "Buffer",
"data": [
0
]
},
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"reportable"
],
"id": 65533,
"name": "clusterRevision",
"value": 2,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
}
]
},
"scenes": {
"attributes": [
{
"acl": [
"readable",
"reportable"
],
"id": 0,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"reportable"
],
"id": 1,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"reportable"
],
"id": 2,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"reportable"
],
"id": 3,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"reportable"
],
"id": 4,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
},
{
"acl": [
"readable",
"reportable"
],
"id": 65533,
"name": "clusterRevision",
"value": 2,
"reportingConfiguration": {
"status": "NOT_FOUND",
"direction": "reported"
}
}
]
},
"basic": {
"attributes": [
{
"acl": [
"readable",
"reportable"
],
"id": 0,
"name": "zclVersion",
"value": 3
},
{
"acl": [
"readable",
"reportable"
],
"id": 1,
"name": "appVersion",
"value": 70
},
{
"acl": [
"readable",
"reportable"
],
"id": 2,
"name": "stackVersion",
"value": 0
},
{
"acl": [
"readable",
"reportable"
],
"id": 3,
"name": "hwVersion",
"value": 1
},
{
"acl": [
"readable",
"reportable"
],
"id": 4,
"name": "manufacturerName",
"value": "_TZE200_d0ypnbvn"
},
{
"acl": [
"readable",
"reportable"
],
"id": 5,
"name": "modelId",
"value": "TS0601"
},
{
"acl": [
"readable",
"reportable"
],
"id": 6,
"name": "dateCode",
"value": ""
},
{
"acl": [
"readable",
"reportable"
],
"id": 7,
"name": "powerSource",
"value": "mains"
},
{
"acl": [
"readable",
"writable",
"reportable"
],
"id": 65502
},
{
"acl": [
"readable",
"reportable"
],
"id": 65533,
"name": "clusterRevision",
"value": 2
},
{
"acl": [
"readable",
"reportable"
],
"id": 65534,
"name": "attributeReportingStatus",
"value": "PENDING"
},
{
"acl": [
"readable",
"reportable"
],
"id": 65506
},
{
"acl": [
"readable",
"reportable"
],
"id": 65507
}
]
}
},
"bindings": {
"ota": {},
"time": {
"attributes": [
{
"acl": [
"readable"
],
"id": 65533,
"name": "clusterRevision",
"value": 1
}
]
}
}
},
"242": {
"clusters": {},
"bindings": {}
}
}
}

Thanks in advanced, you are doing an amazing job so far!


text:
Label descendants are removed or "concatenated"

Hello,
What am I trying to do?
I'm trying to use Bootstrap display utility classes to render different elements inside the label on different screen sizes.
What is the issue?
The descendants of the .custom-file-label tag are being modified in a weird way.
Example 1:
This is the HTML I provide in my file:

    Upload
    Drop files here or click to upload

And this is what it is rendered as after the plugin is initialized:

UploadDrop files here or click to upload

Example 2:
This is the HTML I provide in my file:

Upload

Drop files here or click to upload

And this is what it is rendered as after the plugin is initialized:

UploadDrop files here or click to upload

Drop files here or click to upload

I am using React and Bootstrap v5 (I'm using v4 class names as well to make this compatible, since this plugin looks for v4 class names)

We have this issue too.
It's because the script uses HTMLElement.innerText to grab the label text to put into the file browser.

authors: mohanad-sheikha philwolstenholme

repo: Johann-S/bs-custom-file-input


text:
chore(): add wanted use cases

Jogar Online

Ator: Usuário
Cenário: O usuário pretende acessar algum dos jogos disponíveis no site.
Pós-Condições: Usuário tem acesso aos jogos online para jogar.
Fluxo Principal:

[IN] Usuário acessa “Categorias” no canto superior direito do site.
[OUT] Redirecionado para a página de Categorias.
[IN] Usuário seleciona uma das categorias disponíveis.
[OUT] Lhe é mostrado uma janela com todos os jogos relacionados.
[IN] Ao ser selecionado um jogo o usuário é levado para a página do jogo.

Fluxo Alternativo:

Usuário seleciona um jogo do carrossel.
- [IN] A partir da página inicial o usuário seleciona algum dos jogos apresentados no carrossel.
- Caso de uso segue para o passo 5.
Usuário seleciona algum dos jogos disponíveis no “menu de jogos”.

[IN] A partir da página inicial o usuário seleciona um jogo de alguma das abas (Jogos em Destaque, populares...) do Menu de Jogos.
Caso de uso segue para o passo 5.

Usuário acessa um jogo da sessão de jogos relacionados.

[IN] Abaixo da janela do jogo, na área de jogos relacionados, o usuário seleciona alguma das opções.
Caso de uso segue para o passo 5.

Usuário acessa um jogo através da barra de pesquisa.

[IN] Usuário digita o nome de um jogo na barra de pesquisa.
[OUT] Lhe é mostrado o resultado com o nome de todos os jogos relacionados a sua pesquisa.
Caso de uso prossegue para o passo 5.

DOWNLOAD DE JOGOS
Ator: Usuário
Cenário: O usuário deseja baixar algum dos jogos disponíveis no site.
Pré-Condições: Estar logado no site.
Pós-Condições: Download do jogo é realizado.
Fluxo Principal:

[IN] O usuário acessa a página de Categorias.
[OUT] Redirecionado para a página de Categorias.
[IN] Seleciona a categoria de download
[OUT] Uma janela é aberta com todos os jogos disponíveis para download.
[IN] Usuário seleciona um jogo de sua preferência.
[OUT] O download é iniciado.

this'll be fixed in 0.0.6, please close this issue

repo: John-Luke/Igames


text:
'Tearing' of the screen after a couple of seconds of video

General troubleshooting tips
Before logging an issue please check that:

[x] You have the latest version installed (There may be a beta version that fixes your issue), see here for the latest releases and bug fixes: https://github.com/JohnCoates/Aerial/releases
[x] Your issue isn't already mentioned in our issues. You may find a workaround there or a similar request already made.
[x] Your problem isn't mentioned in the troubleshooting section.

If none of this fixes your issue, tell us about the problem you are experiencing or the feature you'd like to request.
Required information
In order to help us sort your issue, we ask that you provide the following information:

[ ] Mac model:
[ ] macOS version:
[ ] Monitor setup:

If appropriate, please enable Debug mode and Log to disk in Advanced tab and replicate your bug, then attach the AerialLog.txt file (You can access this file through the Advanced tab).
Description of issue / Feature request
I am running the latest release (1.4.4) on a MacBook Pro (13-inch, 2017, Four Thunderbolt 3 Ports)
Running 10.13.6
On the laptop screen.
The screen 'tears' into what looks like a buffer error in the code.  All the screen is now not viewable.  Touch the keyboard and it all reverts to a normal screen.
I turned off the text and that made this happen immediately. When I turned it back on, it looks like perhaps it runs ok until it tries to remove the text.
Disappointing; I hope we can figure this out.

Can you make a picture or a screenshot of the bug ? There are some known drivers issues on High Sierra. One thing that seemed to help most users was enabling the clock on this pane :

Check the "Show this clock" at the bottom of the screen and let me know if that helps. As far as we know, this is fixed in Mojave although that may not be of much help to you.

@cwoloszynski I made a quick build with a small grey dot at the bottom left corner of the screen, maybe that will fix your issue, please try this build :
https://github.com/glouel/Aerial/releases/download/v1.4.5test1/Aerial.saver.zip
If it does fix your issue, maybe I can make the dot smaller/fainter (and will make it optional of course as it seems to be a 2017 MBP on High Sierra only thing).

@glouel When did you start signing TEST BUILDS?

@NightRaider73 this is the first one, but probably will sign everything from now on. If I don't sign the build, the location detection (from the other thread) will silently fail.

Okay I really like it. Its easier to use

I had this exact same issue on a 2017 MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports) running 10.13.6. Both "Show with Clock" and the quick build solved the issue.

@gronkster oh thanks for checking my quick build ! Would you be willing to test another one where I try to make the small dot fainter ?

Sure, I’d be happy to.

@gronkster awesome, this bug has been puzzling me for weeks, cool to see this workaround actually works !
Here it is :
https://github.com/glouel/Aerial/releases/download/v1.4.5beta1/Aerial.saver.zip
The . should no longer be visible, hopefully it will still do the trick !

Hmm...about 25% of the time with the new build I just get a black screen. Not sure if it's because of a different issue, I will revert to the previous build, test some more, and let you know.

Ha, that's quite possible, let me know thanks ! Maybe because the dot is barely visible, it gets optimized out some of the time and it no longer works.

Works better, no black screens so far and I can't see the dot at all. Thanks for the hard work!

@gronkster thanks for checking so quickly ! There's also now a standalone AerialConfig.app for the other High Sierra issue (textfields).

Thanks for fixing this.  I'm not sure what happened but I didn't get any notifications on the thread.  I need to check my settings on notifications!
I can report that, yes, beta3 definitely addressed the issue for me.

No worries @cwoloszynski and many thanks for confirming !

authors: NightRaider73 cwoloszynski glouel gronkster

repo: JohnCoates/Aerial


text:
Update/docs for summarization

Checklist:

[ ] updated documentation for the summarization

update requirements file

are you reffering to  Gemfile.lock

@ArshaanNazir
should i only  remove question-answering from supported tasks in label representation task or summarization too

should i only remove question-answering from supported tasks in label representation task or summarization too

Remove it from label representation supported tests only.

If there are any changes required, please let me know.

If there are any changes required, please let me know.

from label representation, remove summarization as well

repo: JohnSnowLabs/nlptest


text:
Add serialization?

While the lib is very good at unserialization, it does not support serialization. This is very common to do both inside an application.
Will it be considered to add serialization to the lib?
Cheers!

Hi @pjechris! For that, check out Wrap - which is Unbox's serialization counterpart: https://github.com/JohnSundell/Wrap

authors: JohnSundell pjechris

repo: JohnSundell/Unbox


text:
您好大佬~ 问下可以动态修改数据然后实时刷新么?

如题!  已Star~

你可以直接在方法里面对option进行重写，只要option发生变换，图片会自动刷新，你可以试试。
拿折线图举个例子，代码大致就下
<button @onclick="ChangeData">切换数据源</button>
private void ChangeData()
    {
        option = new
        {
            Title = new { Text = "Basic Line Chart" },
            XAxis = new
            {
                Type = "category",
                Data = new string[] { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" }
            },
            YAxis = new { Type = "value" },
            Series = new object[] {
                new
                {
                   Data =new double[]{1000, 986, 1023, 1150, 1036, 986, 1156 },
                   Type = "line"
                }

           }
        };
    }

你可以直接在方法里面对option进行重写，只要option发生变换，图片会自动刷新，你可以试试。
拿折线图举个例子，代码大致就下
<button @onclick="ChangeData">切换数据源</button>
private void ChangeData()
    {
        option = new
        {
            Title = new { Text = "Basic Line Chart" },
            XAxis = new
            {
                Type = "category",
                Data = new string[] { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" }
            },
            YAxis = new { Type = "value" },
            Series = new object[] {
                new
                {
                   Data =new double[]{1000, 986, 1023, 1150, 1036, 986, 1156 },
                   Type = "line"
                }

           }
        };
    }


text:
Donate

As far as I can tell the v3 will become the best image compression plugin for vite. So I'd like to support this plugin via donation. I think nowadays the best place for that is https://opencollective.com.

Hey mate, thanks so much!
To be honest I was a bit surprised by because I'd never thought someone would actually sponsor me, but that awesome!
I set up sponsorship through GitHub, with open collective in the making.
But again thanks so much for even considering this! 🙏

I'll wait till the open collective is set up since I use it for donating to all the projects I like. I hope other people will find this plugin useful and will donate as well. After I finish my project which heavily uses this plugin I'll definitely shout this plugin out.
Until then I'll probably be submitting issues and maybe later on when the first version of v3 is out I might contribute to the code as well if needed.

authors: JonasKruckenberg YamiteruXYZ

repo: JonasKruckenberg/vite-imagetools


text:
🛑 Homepage is down

In 163e921, Homepage (gymnasium-allermoehe.hamburg.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Homepage is back up in 08e3fac after 34 minutes.

repo: JonasSchaber/GymAll