edimax SmartPlug Python execption

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
hass.io 0.52.1
Python release (python3 --version):
python3.6
Component/platform:
Edimax Switch
Description of problem:
Since firmware update to version 2.04 hass.io can’t connect to my Edimax SmartPlugs SP-1101W switches.
Expected:
Should be able to acces the switches, as before the update
From the EdiLife App I can access the devices. PW doublechecked.
Problem-relevant configuration.yaml entries and steps to reproduce:
core-ssh:/config# cat switches.yaml
switches.yaml

platform: edimax
host: <IP_ADDRESS>
username: !secret switch_edimax_user
password: !secret switch_edimax_password
name: edimax1
platform: edimax
host: edimax2
username: !secret switch_edimax_user
password: !secret switch_edimax_password
name: edimax2
platform: edimax
host: edimax3
username: !secret switch_edimax_user
password: !secret switch_edimax_password
name: edimax3

Traceback (if applicable):
2017-08-28 23:05:32 ERROR (MainThread) [homeassistant.helpers.entity] Update for switch.edimax2 fails
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 225, in async_update_ha_state
yield from self.hass.async_add_job(self.update)
File "/usr/lib/python3.6/asyncio/futures.py", line 331, in iter
yield self  # This tells Task to wait for completion.
File "/usr/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
future.result()
File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
raise self._exception
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/homeassistant/components/switch/edimax.py", line 97, in update
self._state = self.smartplug.state == 'ON'
File "/usr/lib/python3.6/site-packages/pyedimax/smartplug.py", line 172, in state
raise Exception("Failed to communicate with SmartPlug")
Exception: Failed to communicate with SmartPlug
2017-08-28 23:05:32 ERROR (MainThread) [homeassistant.helpers.entity] Update for switch.edimax1 fails
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 225, in async_update_ha_state
yield from self.hass.async_add_job(self.update)
File "/usr/lib/python3.6/asyncio/futures.py", line 331, in iter
yield self  # This tells Task to wait for completion.
File "/usr/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
future.result()
File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
raise self._exception
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/homeassistant/components/switch/edimax.py", line 97, in update
self._state = self.smartplug.state == 'ON'
File "/usr/lib/python3.6/site-packages/pyedimax/smartplug.py", line 172, in state
raise Exception("Failed to communicate with SmartPlug")
Exception: Failed to communicate with SmartPlug
2017-08-28 23:05:33 ERROR (MainThread) [homeassistant.helpers.entity] Update for switch.edimax3 fails
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 225, in async_update_ha_state
yield from self.hass.async_add_job(self.update)
File "/usr/lib/python3.6/asyncio/futures.py", line 331, in iter
yield self  # This tells Task to wait for completion.
File "/usr/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
future.result()
File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
raise self._exception
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/homeassistant/components/switch/edimax.py", line 97, in update
self._state = self.smartplug.state == 'ON'
File "/usr/lib/python3.6/site-packages/pyedimax/smartplug.py", line 172, in state
raise Exception("Failed to communicate with SmartPlug")
Exception: Failed to communicate with SmartPlug

I think the same problem as my report here https://github.com/home-assistant/home-assistant/issues/9119

I fixed it, if you want not to wait you can check out the solution here: https://github.com/rkabadi/pyedimax/pull/5/commits/1e4ed5dc00549951dd4731bf2284b805934e77c2

Thanks @andreipop2005 How do I get this fix working on my hassio setup on RPi please? Is the python code accessible from the command line?

@andreipop2005 Thanks. Will try that out when I get home.

@andreipop2005 no luck on finding the files when using SSH on port 22. I see you have chased to get your pull request merged. Thanks for that I will just have to wait it seems.

Sorry, it seems the repository owner does not respond, so I guess it will take a while until the pull request will be accepted.
I am not using RPi, I have a debian installation, but the files should be there anyway, I think you just need to search entire filesystem for smartplug.py

Hi!
No, the fix is not pulled yet, here: https://github.com/rkabadi/pyedimax/issues/4 I think the maintainer of edimax repository is no longer keeping an eye on it. I can make a fork and add my patch to it, it is a trivial fix, but you will have to change the source repository in home assistant after this.
Please tell me if it is ok with you to change to repository for edimax.
Thanx!

I will submit a pull request with the fix.


[TEST] Changing the JsonSamplerTest for UI so that it does not fail d…

…uring devops test execution

:white_check_mark: Build finished in 5m 49s
Build command:
mvn clean verify -B -e -Daudit -amd -pl plugins/json/core

:ok_hand: All tests passed!
Tests run: 107, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message


Any way to set SNAPSHOT dependency backward to release?

We have contributors who prematurely set the versions of dependencies (that will go untagged because there are no changes) to SNAPSHOTS. I would like the versions plugin to look behind and get the last release. I cannot get any of the goals to perform this task. Is there any way to do this?
If there is not, I will either fork or write my own custom implementation to do a "release-before" goal.

I am in the same boat.
I build as a release and then flip my dependencies back to snapshot in preparation of the next release, and to facilitate any change that's checked in.
My issue is, i currently am forced to rebuild my dependencies as release because the versions plugin won't let me do "get latest release ignoring current version". Instead i'm forced to always look forward.
It'd be nice to be able to specify "get me latest release but lock the Major Minor"

Can you give me an example how your project look like ? Is that a multi module build ? Or do you have external dependencies which you turn back to SNAPSHOT`s ?

Each Component consists of a multi module build[all versioned the same]. And i have Components which Depend on Components.
In terms of implementation. A little bit similar to what http://www.mojohaus.org/versions-maven-plugin/force-releases-mojo.html would do (e.g be able to go from 3.4.5-SNAPSHOT to 3.4.4). Ideally i'd have the granularity to say "restrict Major, Minor or Patch".
That might not be a clear explanation please let me know if i can be more elaborate.

If I correctly understand this is already fixed with #98...

Oh nice!
Seems it's fixed for the update-properties goal, but not the use-latest-releases or use-latest-snapshots or use-latest-versions goals. Atleast according to the last time i looked at the documentation.....

Wow looking now i don't even see -DallowDowngrade here
http://www.mojohaus.org/versions-maven-plugin/update-properties-mojo.html
How out of date is this documentation?

The documentation represents the state of the current available public release...so the point is that the current master has not yet been released to the public...

Hi, so versions-maven-plugin release 2.4 is out. This should be fixed now. If not please don't hesitate to reopen this issue...


Document DB Schemas and create scripts

Currently there is no indication of DB Schemas used within the project, even though Repository.cs makes calls to the DB during startup and it is difficult to deduce what fields are in each table and their respective datatypes.
The docs should provide entry-level SQL/MySQL script which would create the necessary tables and columns (and data types) needed to spin up the project.
So far I have encountered the following tables;

hotspots (Id , Zone, Description, Faction, MinimumLevel, Waypoints ..)
npcs
blacklistedmobs
travelpaths

TODO:

[ ] Enumerate Tables
[ ] Enumerate Fields & data types
[ ] Create SQL script to make the required tables programmatically  (these can be external snippets)

This is a hobby project that I provide no official support for. Please feel free to create these scripts and submit a PR.

Still a WIP as far as Primary/Foreign keys and some datatype adjustments but these are the minimum requirements to get the project running without crashing upon startup due to unknown data bindings. There may also seems to be an indication that a SpellsDB table will be implemented in the future.
CREATE TABLE hotspots(
id int,
zone text,
description nvarchar(4000),
faction nvarchar(4000),
minimumLevel int,
waypoints nvarchar(4000),
innKeeper boolean,
innkeeperId int,
ammoVendor boolean,
ammoVendorId int,
repairVendor boolean,
repairVendorId int,
safeforGrinding boolean,
travelpathId int
);

CREATE TABLE blacklistedmobs(
id int,
name nvarchar(4000),
guid nvarchar(4000)
);

CREATE TABLE travelpaths(
id int,
name nvarchar(50),
waypoints nvarchar(4000)
);

CREATE TABLE commands (
id int,
player nvarchar(50),
command nvarchar(50),
args nvarchar(50)
);

CREATE TABLE reportsignatures(
id int,
player nvarchar(50),
commandId int
)

CREATE TABLE npcs (
id int,
name nvarchar(50),
isInnKeeper boolean,
sellsAmmo boolean,
repairs boolean,
quest boolean,
horde boolean,
alliance boolean,
positionx float,
positiony float,
positionz float,
zone text);

I was using this for vanilla, so be sure to look in Repository.cs file for any changes that could be called from the TBC version. I'm not aware.
That's where I derived the SQL statements to tables.
As far as the conversion to MySQL to AzureMS SQL that looks like the right (and most agreed upon) approach, you could add a default 0 perhaps. Otherwise try tinyint(1)

Were the tables created in your database with no errors? Do they exist? The Exception you're getting has to do with the number of columns or the name, I'm not sure about the typing.  🤔
My bootstrapper also starts to work, but fails under certain class loads/conditions. It also fails to load the player, I suspect from the spells ID table which is needs to be populated. Other times its a lot of warden spam, but that may be a different issue all together due to different clients

Hey guys, I'm going to try to take a look at this over the weekend. I just created a Discord server to make it easier for folks to coordinate if you want to make contributions - feel free to join here.

Thanks for the work on this guys. I added a script "SqlSchema.SQL" to the repo root that will create all table dependencies. You should be able to use either Azure SQL, or a local install of SQL.


typo: reproducable -> reproducible

What kind of changes does this PR include?

Minor content fixes (broken links, typos, etc.)

Description

What does this PR change? Give us a brief description.

This PR fixed two mistyped words

Great catch! Thank you @arty-name!  :rocket:


[Event Request] Codeunit 378 Transfer Extended Text

The following events are required for this object:
    [IntegrationEvent(true, true)]
    local procedure OnBeforeSalesCheckIfAnyExtText(var SalesLine: Record "Sales Line"; SalesHeader: Record "Sales Header"; Unconditionally: Boolean; var MakeUpdateRequired: Boolean; var AutoText: Boolean; var Result: Boolean; var IsHandled: Boolean)
    begin
    end;

    [IntegrationEvent(true, true)]
    local procedure OnBeforePurchCheckIfAnyExtText(var PurchLine: Record "Purchase Line"; PurchaseHeader: Record "Purchase Header"; Unconditionally: Boolean; var MakeUpdateRequired: Boolean; var AutoText: Boolean; var Result: Boolean; var IsHandled: Boolean)
    begin
    end;

    [IntegrationEvent(true, true)]
    local procedure OnBeforeServCheckIfAnyExtText(var ServiceLine: Record "Service Line"; Unconditionally: Boolean; var MakeUpdateRequired: Boolean; var AutoText: Boolean; var Result: Boolean; var IsHandled: Boolean)
    begin
    end;

    procedure SalesCheckIfAnyExtText(var SalesLine: Record "Sales Line"; Unconditionally: Boolean; SalesHeader: Record "Sales Header") Result: Boolean
    var
        ExtTextHeader: Record "Extended Text Header";
        IsHandled: Boolean;
    begin
        //EVENT REQUEST
        IsHandled := false;
        OnBeforeSalesCheckIfAnyExtText(SalesLine, SalesHeader, Unconditionally, MakeUpdateRequired, AutoText, Result, IsHandled);
        if IsHandled then
            exit(Result);
        //EVENT REQUEST

    procedure PurchCheckIfAnyExtText(var PurchLine: Record "Purchase Line"; Unconditionally: Boolean; PurchaseHeader: Record "Purchase Header") Result: Boolean
    var
        ExtTextHeader: Record "Extended Text Header";
        IsHandled: Boolean;
    begin
        //EVENT REQUEST
        IsHandled := false;
        OnBeforePurchCheckIfAnyExtText(PurchLine, PurchaseHeader, Unconditionally, MakeUpdateRequired, AutoText, Result, IsHandled);
        if IsHandled then
            exit(Result);
        //EVENT REQUEST

    procedure ServCheckIfAnyExtText(var ServiceLine: Record "Service Line"; Unconditionally: Boolean) Result: Boolean
    var
        ServHeader: Record "Service Header";
        ExtTextHeader: Record "Extended Text Header";
        ServCost: Record "Service Cost";
        IsHandled: Boolean;
    begin
        //EVENT REQUEST
        IsHandled := false;
        OnBeforeServCheckIfAnyExtText(ServiceLine, Unconditionally, MakeUpdateRequired, AutoText, Result, IsHandled);
        if IsHandled then
            exit(Result);
        //EVENT REQUEST

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 12404.


Type utilities specificity

Some of the typography utilities don't have !important and so they lose the battle and that's inconsistent with all the other utilities (just following conventions for what I've seen with TailWind, Bootstrap, etc., and !important seems to be the preferred approach for this for those established libraries):
https://github.com/AgnosticUI/agnosticui/blob/master/agnostic-css/public/css-src/utilities/utilities.css#L33

This has been fixed off master and propagated to all framework packages. None of those are published at time of writing but this fix will go out when each of them is.
commit 65f6adc73607b72f649989e17728cda602a423d0 (HEAD -> master, origin/master)
Author: Rob Levin<EMAIL_ADDRESS>Date:   Fri Mar 4 10:19:25 2022 -0600

    Sync styles across frameworks (updated text utility classes to use important).

commit f8f837877a2abab887c986a2c198d100188ad0fc
Author: Rob Levin<EMAIL_ADDRESS>Date:   Fri Mar 4 10:17:54 2022 -0600

    Makes other text utility classes important to be consistent


Basic implementation for Orange Pi (Allwinner H3 CPU) GPIO component

Description:
Very basic implementation for Orange Pi (Allwinner H3 CPU) GPIO component
Related issue (if applicable): #
Example entry for configuration.yaml (if applicable):
switch:
  platform: opi_gpio
  ports:
    362: Standby Led
    15: Normal Led
  invert_logic: false

Checklist:
If code communicates with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

This PR seems to have gone stale. Closing it. You can reopen it when you're ready to finish it.

Well, what was a problem to merge it?
It was only one working solution...


bug: Chain data change is delayed using WalletConnect v2

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
1.3.9
Current Behavior
When I connect my wallet through WalletConnect V2 using the Android MetaMask app, the chain data, whether I use useNetwork or getNetwork, delays the chain change for several seconds after the wallet is connected. This issue has been reported and discussed in detail on GitHub at https://github.com/MetaMask/metamask-mobile/issues/6835#issuecomment-1642542716.
when using the const { chain } = useNetwork(); happens the following using a chain different than main net:

before connecting WalletConnect V2 chain.id is equal to undefined
right after connecting the wallet using WalletConnect V2 QR code, chain.id is changed to 1
a few seconds later chain.id is changed to the actual selected chain in the wallet e.g. 1155511

Expected Behavior
When connecting with WalletConnect V2, chain data should be equal to the connected wallet, meaning:

before connecting WalletConnect V2 chain.id is equal to undefined
right after connecting the wallet using WalletConnect V2 QR code, chain.id is changed to the actual selected chain in the wallet e.g. 1155511

This is essential to prevent any issues with operations such as signing requests after connecting the wallet, which could otherwise be sent with the wrong chain ID.
Steps To Reproduce

Set up a wagmi client using WalletConnectConnector and the following chains on configureChains in the same order [mainnet, sepolia, goerli]
observe with a useEffect the chain data from useNetwork(); and validate chain data is undefined
connect your wallet using the metamask app with sepolia or goerli chain ids (Not main net) through scanning the QR code from WalletConnect v2, and observe how first chain.id is 1 and a few seconds later is the real chain.id (5 or 1155511 for this case)

Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
https://stackblitz.com/edit/new-wagmi-y9mxwp?file=src%2Fmain.tsx,src%2FApp.tsx
Anything else?
More context in this filed issue in metamask repository https://github.com/MetaMask/metamask-mobile/issues/6835

Not sure there's much we can do about this one as it's outside of our system.


Allow embedding File chooser as a modeless operational view - p2

In KeenWrite, there exists a FilesView class, which provides a dockable tab (see screenshot, below) for selecting files. Essentially, the FilesView is a File chooser that's not a dialog and allows users to open files at any time. There's a lot of overlap between the FilesView and the File chooser, including:

Icon for file type
Input field for pasting directory name (followed by pressing Enter)
Sortable table that lists file names, dates, times, and sizes
Event-driven to notify of file selection (via arrow keys + Enter or double-click)

Having the File chooser be a bit more modular would enable its reuse both for modal dialogs and for modeless views.

In the screenshot above, the upper-left button can be clicked to open a directory chooser; in effect, it'd be like the File chooser in modeless operation opening a File chooser in modal operation. Here's what this currently looks like:

It'd be nice to use File chooser for both to get a consistent user experience.

Yes, I'd like to do something along these lines as well. I'm intending (at a later date) to develop a very simple window-in-window system for JavaFX. Picture something like a simulation of a desktop-over-VNC. That'll involve being able to embed things like jwheatsheaf into into objects that aren't JavaFX Stage objects.

simple window-in-window system for JavaFX

I reviewed a wide variety of such systems, the results of which may be of interest:
https://github.com/DaveJarvis/PitchDockFX


Subroutine interface method ignore arrays declarations

The interface method of Subroutine ignores arrays declarations.
This is due to the fact that it searches for declared symbols in the list of arguments names, however arrays symbols also include the arrays dimensions which are not part of the arguments.
            if any(v in arg_names for v in decl.symbols):
                assert all(v in arg_names and v.type.intent is not None for v in decl.symbols), \
                    "Declarations must have intents and dummy and local arguments cannot be mixed."

This can be fixed by searching for the symbols names instead of the whole symbols :
            if any(v.name in arg_names for v in decl.symbols):
                assert all(v.name in arg_names and v.type.intent is not None for v in decl.symbols), \
                    "Declarations must have intents and dummy and local arguments cannot be mixed."

Great catch @JoeffreyLegaux , and many thanks for reporting this. The suggested fix has been submitted as PR #60 with additional test coverage.

I did another small change, but I'm not sure if my usage is right and/or it is worth integrating.
I add cray pointers in my definitions, lines in the form of "POINTER(IP_MYVAR_, MYVAR)".
I insert them as Instrinsic nodes, so I search for those in the interface method to remove them :
        for decl in FindNodes((ir.VariableDeclaration, ir.ProcedureDeclaration)).visit(self.spec):
            if any(v.name in arg_names for v in decl.symbols):
                assert all(v.name in arg_names and v.type.intent is not None for v in decl.symbols), \
                    "Declarations must have intents and dummy and local arguments cannot be mixed."
                # Replicate declaration with re-scoped variables
                variables = as_tuple(v.clone(scope=routine) for v in decl.symbols)
                decl_map[decl] = decl.clone(symbols=variables)
            else:
                decl_map[decl] = None  # Remove local variable declarations
        for decl in FindNodes(ir.Intrinsic).visit(self.spec):
            if 'POINTER' in decl.text:
                decl_map[decl] = None # Remove Cray pointers declarations
        routine.spec = Transformer(decl_map).visit(self.spec)


Add grouping of routes by path prefix

As discussed here, this PR adds the ability to group requests by path prefix.

Legend! This looks great.

Legend! This looks great.


hope to update documents

Dear author,
seems like this is the most popular Jenkins image with docker in docker, thank you very much!
I found some issues when trailing your image, hope you can consider them:

will meet the 'Permission Denied' issue. since the /var/run/docker.sock in the host, is only allows root user/docker group to access, but this image will use Jenkins user in the container, so I would like to run with --user 0 to simply avoid this issue, any better idea?

suggest adding volume: /etc/docker. then we can use the same certs.d fold and daemon.json as the host machine. although we can manually mount any path into a Docker container, this is still a hint for some docker management UI to create a volume (like Portainer).

It would be nice to give a Jenkins Pipeline example to build a docker image.

Thanks for the feedback. To your points:

I didn't get that error myself. Running as root all the time isn't the ideal option though, in my opinion. One approach would be to specify the user as arguments - that might add some flexibility?
That looks like a good idea, I'll have a look in to that. You are welcome to submit a pull request if you'd like to be a contributor.
Yes - that is on my list of things to write. Hopefully over the holiday season I will find a day or so to put that together.

I think the first issue here is solved by PR #3. Then you can run with user jenkings and nevertheless access docker from the host. @4OH4 what do you think?

Sorry for dragging my feet a bit on PR #3 - other commitments keeping me away and have been trying to garner some opinons on good practice here.
I'm conscious of adding layers of complexity to patch an issue with the underlying method. That said, the entrypoint script method seems quite neat. Do you see any potential downsides?

I will shift the discussion into the PR as I do not want to hiccup this issue right now.


Please make a way for us to use it with node.js and also let us only pull map data instead of always requiring to create a map.

Pal, you're asking for APIs for map data, not for Leaflet features. e.g. set up a mapproxy instance and do WMS requests through it.


#Spelling and Grammatical errors on the OSCSA main site #144

Summary

Fixes #<144>

Corrected Spelling and Grammatical errors on the OSCSA main site as listed in issue #144 .*

Summary
From the About section down to the footer, there are so many grammatical errors and wrong spellings.

From =>change from This => Open Science (OS) is a an umbrella term that used to describe movements and practices aimed at increasing the accessibility of scientific knowledge and fostering innovations. In order to demistyfy these principles, we describe briefly six of its core components.

To this =>Open Science (OS) is an umbrella term that is used to describe movements and practices aimed at increasing the accessibility of scientific knowledge and fostering innovations. To demystify these principles, we briefly describe six of its core components. .*

From => We are taking part in the CS&S Digital Infrastructure Incubator to explores the cultural infrastructure components for the contextualization of the FAIR principles in Arabic-speaking countries. Take part of this project and support our work by completeing one minute survey. !

To => We are taking part in the CS&S Digital Infrastructure Incubator to explore the cultural infrastructure components for the contextualization of the FAIR principles in Arabic-speaking countries. Take part in this project and support our work by completing one minute survey.*

From => The UNESCO recentely published its recommendation on Open Science, which was adopted by the 41st session of UNESCO General Conference in November 2021. You can read the UNESCO Recommendation on Open Science here.

To =>  UNESCO recently published its recommendation on Open Science, which was adopted by the 41st session of the UNESCO General Conference in November 2021. You can read the UNESCO Recommendation on Open Science here.*

and more.....

What should a reviewer concentrate their feedback on?

[X] looking out for Spelling, verbs, adjectives, and pronunciations.
[X ] sentence construction

Thank you for catching this @mildrette!
@all-contributors add @mildrette for bug

Thank you again @mildrette 🌷 - we will merge this now!


drivers/uart: stm32: Report 9bits transactions as not supported

STM32 uart driver doesn't support 9bits transactions in any case,
so remove case were it was declared as supported.
Fixes #31799
Signed-off-by: Erwan Gouriou<EMAIL_ADDRESS>

Reported error  is the following:
-:13: WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#13: FILE: drivers/serial/uart_stm32.c:342:
+	    || (UART_CFG_DATA_BITS_9 == cfg->data_bits)) {

Need to fix the whole file...

This removes support for following configuration:
UART_CFG_PARITY_EVEN,
UART_CFG_DATA_BITS_9
I found this configuration to result in the uart performing "8 bits, even parity" (on stm32l475) with good success.
Would there be any other way to achieve this configuration after above PR?

I found this configuration to result in the uart performing "8 bits, even parity" (on stm32l475) with good success.

@hwilmers, do you mean "9 bits, even parity"? Or maybe I'm not understanding correctly your point.

I mean "8 bits, even parity", like in "19200 8E1".
It may be the result of an unintended side effect that this works.

It may be the result of an unintended side effect that this works.

Probably
@dcpleung, do you have any hint for this question: https://github.com/zephyrproject-rtos/zephyr/pull/32204#issuecomment-789699346 ? Should we find a way to let it work "unintentionally" ?

Apparently, the word length as it is used in the stm32 usart includes the optional parity bit. This is what I found in this official reference manual, on page 1345:
https://www.st.com/content/ccc/resource/technical/document/reference_manual/02/35/09/0c/4f/f7/40/03/DM00083560.pdf/files/DM00083560.pdf/jcr:content/translations/en.DM00083560.pdf
A straight forward translation between usual notation and the implementation on stm32 would be to add one to the word length if a parity bit is appended.


fix(p-select-card): hide icon of unselected single item

To Reviewers

[ ] Skipping review is not a problem (style, chore ONLY)
[X] Not that difficult

Type of Change

[ ] New feature
[X] Bug fixes
[ ] Feature improvement

[ ] These changes require a usage change

[ ] Others (performance improvement, refactoring, CI/CD, etc.)

Checklist

[ ] Updated Storybook documents
[ ] Tested with console

Description
hide 'ic_radio' for unselected single items (not multiple items)

Things to Talk About

:tada: This PR is included in version 1.1.0-beta.396 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add support for inputting times as UTC

Description
This change adds a boolean utc prop. When set to true, it will cause moment to interpret input times as UTC, rather than the user's local timezone.
Motivation and Context

This PR will help anyone who deals with timestamps primarily in UTC, for example anyone operating in UTC or across multiple timezones.

I build tools to manage a fleet of satellites in low earth orbit, where local time zones don't make any sense. All of our data is stored and queried as UTC. This change will allow my users to query the dataset using its native timezone.

Checklist

[x] My change required changes to the documentation.
[x] I have updated the documentation accordingly.
[x] I have updated the TypeScript type definition accordingly.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Hi @deleted. Thanks for your contribution!
I wish all PRs looked like this, small, compact and straight to the point. It makes my life so much easier :)


make tbb and pcl optional for benchmark

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

Project coverage is 92.42%. Comparing base (d09f920) to head (0de7b12).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master      #17   +/-   ##
=======================================
  Coverage   92.42%   92.42%
=======================================
  Files          36       36
  Lines        1148     1148
  Branches      175      175
=======================================
  Hits         1061     1061
  Misses         87       87

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


Port fix back to Icarus

Description of the bug:
When a user tried to migrate their Daedalus wallet to Yoroi, we need some time to process the transfer through a WebSocket to the Yoroi-backend. The socket automatically times out if it hasn't been used for a certain amount of time (no keep-alive) causing the migration to appear to have failed with the error Unable to restore Daedalus wallet. Error while restoring blockchain addresses. if the user doesn't finish the migration process 50 seconds from when they started it (regardless of whether or not migration was successful). Additionally, no error logs were generated.
This PR adds two fixes

Properly generate an error log if the WS closed unexpectedly
Once we receive the transaction data from the WS, close the connection "normally"

Tested on Staging

I made my commit verified (code didn't change)

repushed my change to force a CI build


Warning: Clock error detected. Your creation may be incomplete.

PHP 7.3.4 (cli)
Zephir 0.12.0
CentOS Linux release 7.5.1804 (Core)

make: Warning: File `/example/ext/modules/example.la' has modification time 9.9 s in the future
make: Warning: Clock error detected. Your creation may be incomplete.
I tried to calibrate the system time, using touch *was the same error.

是你的文件修改日期跟当前系统时间不一致了吧。
make clean

都有执行 fullclean 偶尔还是那样。

I'm closing this issue but if I have made an oversight, please do get back in touch. Thanks


Fixes

for some issues mentioned in #220 and more

now fix #219 too

and partially #223

fix animation lags on hi-res screens (qhd+)

and #222

before:

after:

this thing

match and notmatch operators behave differently when used with arrays-they do not return true/false, they return strings matching the condition. -notmatch "xpui.js_find_8008" will return all strings not containing "xpui.js_find_8008", so the condition will always be true

before:

after:

before:

after:

before:

after:

it was difficult, but now it seems to work with all languages


Don't depend on danger-js

One of the major reasons I was interested in Danger-swift was because I thought it didn't depend on Ruby or JavaScript. Unfortunately this isn't the case. Danger-swift is just a wrapper around the JavaScript tool.
Is there any intent to actually port Danger to Swift?

Nope, not from me - a single danger implementation takes about three years to be feature complete. A sense of software purity isn’t really worth that for me, given that you get every danger js feature (which gets multiple PRs a week)  available to many languages including Swift and it is nice to have a reference language which I care about and understand the build tools.
I’ll happily support someone willing to take it on, but I wouldn’t get your hopes up

The Danger user is not going to see/use any javascript, I think to Danger-js like just an implementation detail, is a binary that is there and you can put somewhere in your repo and just forget about it, all the code you need to write is fully swift.
The benefit of using danger-js is huge though, because the contribution to it are more than 10 times the ones we have on this repo, without it I'm pretty sure we wouldn't have any gitlab or bitbucket cloud support on danger-swift


Feat: Wallet update

PR with preparation for big wallet/accounts refactoring

Added new fields to Account
Moved SigningType to wallets domain
Removed badge for Identicon (it's not used anymore)

Model in Draw.io

Task linked: CU-862kbb80v Research wallet data model for dynamic derivations

Don't merge it until Fiat Values release.


New-DbaClientAlias remove array, make servename singular

This parameter is not even used in this function the way I am reading it, line 81 is commented out.

@wsmelton its used in $serverstring which is used as arg3

If that is the case then there is some cleanup to be done because we are still passing $ServerName as $arg[0] and should not be.
https://github.com/sqlcollaborative/dbatools/blob/b8659a8aadfb04d68231df1c9fba8b1cfa7749c9/functions/New-DbaClientAlias.ps1#L79-L83
https://github.com/sqlcollaborative/dbatools/blob/b8659a8aadfb04d68231df1c9fba8b1cfa7749c9/functions/New-DbaClientAlias.ps1#L133


Clarify install doc

As of now it's hard to get that you should have DoctrineBundle and Doctrine data fixtures installed for both AliceBundle working with doctrine...
Ex right now if trying to use it without installing Doctrine data fixtures:
PHP Fatal error:  Class 'Doctrine\Common\DataFixtures\Executor\ORMExecutor' not found in /path/to/vendor/hautelook/alice-bundle/src/Doctrine/DataFixtures/Executor/ORMExecutor.php on line 25
...

A friendlier message as well may be welcomed.

"Basic usage" documentation section include information about requeired installed Doctrine bundle and Doctrine fixtures bundle, you mean move this sentence to "Instalation" section?

@NovikovViktor no, I mean that if you're using Doctrine ORM, you should install the packages doctrine/doctrine-bundle and doctrine/data-fixtures. They are only suggested cf the composer.json L42 and 44. They are not hard dependency has you may use another Doctrine flavour (Doctrine ODM or Doctrine PHPCR) or whatever database manager for which a support is provided.

@theofidry , so in section "Instalation", should be mention about required installed some of these bundles, depends on project requirements?

Yes or maybe provide the install guide for Doctrine ORM in the README and another page for installing the other ones.

@theofidry, ok. Could I make pull request for this?

@NovikovViktor yes sure, feel free to contribute at any time :)


Support different color inputs

Implementation proposition for #1478.

Nice trick to use canvas to normalize the color!

This now allows rgba(x, y, z, 0.2) form which allows you to have transparent background. We hardcoded transparent to draw a full solid background in order to avoid having "motion blur" effects. But it no longer work for rgba variant. I was able to generate cool pictures like this:

I kinda like this bug to be honest, but if you feel like fixing it that would be great. Code is here https://github.com/excalidraw/excalidraw/blob/6771b505ad580037cd3c310086c2742b85dbed4d/src/renderer/renderScene.ts#L115-L121

Allowing rgba() was not my intention. I expected the canvas to normalize everything to hexadecimal, but forgot about the transparency case. Would you prefer that we support rgba(), and therefore add a new condition sceneState.viewBackgroundColor.startsWith('rgba'), or just reject the color by returning null from my normalization code?
I'll implement the first one, but tell me if you prefer avoiding this case.

(And yes, we really need a hidden toggle to keep this motion blur effect!)

I don’t really care which way. You should probably also test for hsla and figure out if there are other variations from the css spec

Ok, thanks for the tip to check the spec. CSS4 introduces new syntaxes I don't want to deal with. I'll just make sure normalization only returns opaque # values.


Forms library - formex

Since Talon seems to have come back to life, I thought I'd call to your attention formex library, which is very good and seems capable of saving some work regarding forms. Because I thought Talon was dead for real, I even briefly discussed with the author creating an admin framework based on formex. Pinging the author of formex @jakub-zawislak

@tmbb Thanks for the heads up. I need to take a deeper look but at first glance, I like it (thanks @jakub-zawislak!).
@smpallen99 thoughts?

I really like the ability to develop reusable form widgets. I think the most critical widget missing is something like Select2 that downloads properly paginated search results using Ajax. This is very important for relations between large data sets.


Nominate Anuj (cx-anuj-pathak) as Collaborator

Background
The TSC Project Roles defines the main roles for the Zephyr Project, including
Maintainer, Collaborator, and Contributor.
By default anyone that contributes code or documentation is a Contributor, but
with the lowest GitHub Permission Level of Read. For example, Contributors
with Read permission do not have the permission to add reviewers to a pull
request.
Use this template to nominate a GitHub user for the Contributor role with
Triage permission level, which allows the user to add reviewers to a pull
request and be added as a reviewer by other users.
Nomination
GitHub User
Provide the following information about the GitHub user:

Full Name: Anuj Pathak
GitHub username: @cx-anuj-pathak
Organization (optional): Croxel, Inc (@croxel)

Supporting Documents
Add links to 3-5 GitHub pull requests, in the Zephyr project, authored or
reviewed by the GitHub user that demonstrate the user's dedication to the
Zephyr project.
Areas:

#77375
#77408
#77598
#77394
#76790
#72947

Thank you for your contribution to the Zephyr project.
An invite was sent to you to join the project. You can find the invite here: https://github.com/zephyrproject-rtos/zephyr/invitations.
Note that further access and permissoins to the project will be provided following the project guidelines.


Can workshop mods be used, or is this vanilla only?

Modding is the only concern I have about Entangled Worlds; everything is made incredibly well, and I'm very impressed, but I can't find any info about mods anywhere.

depends on the mod https://docs.google.com/spreadsheets/d/1nMdqzrLCav_diXbNPB9RgxPcCQzDPgXdEv-klKWJyS0

Perfect, thanks!


Fixes export and execution of env variables for devfile commands

What type of PR is this?
/kind bug
What does does this PR do / why we need it:
Fixes export and execution of env variables for command in the devfile.
Which issue(s) this PR fixes:
Fixes #4232
PR acceptance criteria:

[X] Unit test

[X] Integration test

[ ] Documentation

[ ] I have read the test guidelines

How to test changes / Special notes to the reviewer:

Use a devfile that defines a command spawning a new shell, for example like this:

  - id: run
    exec:
      component: tools
      commandLine: "sh -c 'mkdir $foo'"
      group:
        kind: run
        isDefault: true
      env:
        - name: foo
          value: bar

Check if the command is executed successfully.

@mik-dass @kadel @adisky correct me if I'm doing something dumb here.
Here's the devfile that I used:
schemaVersion: 2.0.0
metadata:
  name: nodejs
  version: 1.0.0
  alpha.build-dockerfile: "https://raw.githubusercontent.com/odo-devfiles/registry/master/devfiles/nodejs/build/Dockerfile"
  alpha.deployment-manifest: "https://raw.githubusercontent.com/odo-devfiles/registry/master/devfiles/nodejs/deploy/deployment-manifest.yaml"
starterProjects:
  - name: nodejs-starter
    git:
      remotes:
        origin: "https://github.com/odo-devfiles/nodejs-ex.git"
components:
  - name: runtime
    container:
      image: registry.access.redhat.com/ubi8/nodejs-12:1-45
      memoryLimit: 1024Mi
      mountSources: true
      sourceMapping: /project
      endpoints:
        - name: http-3000
          targetPort: 3000
commands:
  - id: run
    exec:
      component: runtime
      commandLine: "sh -c 'mkdir $foo'"
      group:
        kind: run
        isDefault: true
      env:
        - name: foo
          value: bar

And here's the odo push output:
$ odo push

Validation
 ✓  Validating the devfile [34638ns]

Creating Kubernetes resources for component node-todo
 ✓  Waiting for component to start [6s]

Applying URL changes
 ✓  URL http-3000: http://http-3000-node-todo-buikmestmo.apps-crc.testing/ created

Syncing to component node-todo
 ✓  Checking files for pushing [680178ns]
 ✓  Syncing files to the component [243ms]

Executing devfile commands for component node-todo
 ✓  Executing run command "sh -c 'mkdir $foo'" [1s]

Pushing devfile component node-todo
 ✓  Changes successfully pushed to component

But if I spin up another shell, the env var doesn't seem to persist:
$ kubectl exec node-todo-5f5d5d5dd-7mcxm -- env | grep foo
ODO_COMMAND_RUN=export foo="bar" && sh -c 'mkdir $foo'

$ kubectl exec node-todo-5f5d5d5dd-7mcxm -- echo $foo

Am I doing or expecting something that's out of place or doing something wrong here?

But if I spin up another shell, the env var doesn't seem to persist:

These env vars are only used during the execution of run, debug etc commands from the devfile.


97 update server with new sc

gg
sharing two thoughts:

what happens to log size ? is it ever deleted ?
thinking ahead, but user might want to delete cache when closing the server app for privacy reason... we might to think about this down the line ?

what happens to log size ? is it ever deleted ?

We use MS logger which handles log size and stuff like that. We could add some settings in the config file, but it's nota priority
https://github.com/massalabs/station/blob/main/pkg/logger/logger.go

thinking ahead, but user might want to delete cache when closing the server app for privacy reason... we might to think about this down the line ?

could be a nice privacy feature
We could also think about a RAM cache instead of the disk one, which would be cleaned once the server is shutdown
But not a priority for now


Use scale factor for CollisionMesh (suggestion for #142)

Suggestion for #142
What type of change is this?

[ ] Change in a backwards-compatible manner.
Not if users are scaling the collision mesh before adding it to scene.

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I added a line to the CHANGELOG.rst file in the Unreleased section under the most fitting heading (e.g. Added, Changed, Removed).
[x] I ran all tests on my computer and it's all green (i.e. invoke test).
[x] I ran lint on my computer and there are no errors (i.e. invoke lint) .
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added necessary documentation (if appropriate)

To make it completely backwards compatible we could do something like this:
class CollisionMesh(object):
    """[...]"""

    def scale(self, scale_factor):
        """Scales the collision mesh uniformly.

        Parameters
        ----------
        scale_factor : :obj:`float`
            Scale factor. A :class:`compas.geometry.Scale` instance is also accepted for backwords compatibility.
        """
        if ifinstance(scale_factor, Scale):
            # Scale instance accepted to ensure backwards compatibility
            S = scale_factor
        else:
            S = Scale([scale_factor] * 3)

        self.mesh.transform(S)

i would go for a breaking change though....

Added line to changelog to make it ready for merge :).

Approved! Thanks!


Inconsistencies with npm registry API

There were a number of issues found when querying the npm registry API.
Contains tags instead of dist-tags
Camera
Glide.js
HTML5Notification
Vue2Leaflet
angular-filemanager
apng-canvas
backbone-tastypie
blueprintjs-core
buy-button-js
custom-elements-builder
domplotter
elevatezoom
joyride
joyride
js-xss
lazyad-loader
oppia
requirejs-mustache
responsive-elements
roslibjs
signalr.js
techan.js
Contains [latest] instead of latest
angularjs-ie8-build
Missing time
json2
Missing latest
livestamp

Do we have a contact at NPM that we can loop in here? I feel it might be more productive to be able to track this here with folks from NPM than via a support ticket or Twitter DM if possible?

@MattIPv4  we reached out to npm

we are no longer using the latest tag, just pure time stamps. For json2 this was here as a mistake, since the source is git, not npm.


Compliance reporting: Select date from the trend graph

:nut_and_bolt: Description: What code changed, and why?
Clicking a column on the trend graph selects the focused date. I always have to look down at the trend graph to see where reports are and then go up to the date selector to choose that date. With this change, one does not need to use the date selector. Just click the date on the trend graph.
:chains: Related Resources
#441
:+1: Definition of Done
Able to update the date selected from clicking the trend graph
:athletic_shoe: How to Build and Test the Change

build components/automate-ui && start_all_services
Load some compliance nodes chef_load_compliance_scans -N10 -M100 -T10 -D1
Go to https://a2-dev.test/compliance/reports/overview and select dates from the trend graph.

:white_check_mark: Checklist

[x] Tests added/updated?
[ ] Docs added/updated?

:camera: Screenshots, if applicable

@afiune Yes, I agree updating the Automate docs is needed. We can do that in a separate PR.


Client based authentication using  SSL certificate for IOS with Cordova

Hi,
I am actually working on a cordova/Angular project when I have to perform client based authentication using certificate for IOS (I didn’t find any solution to access the installed certificate on IOS device  – Safari  can do that but it’s not a wanted  solution)
What we want to do:
Store the ssl certificate in the client side.
For each request POST/GET the certificate should be send to server.
Does the register method do what we need?
I would be grateful if you could clarify the interface of the register method and what does it do exactly
Thank You In advance

Hi @merouaneh,
unfortunately apple doesn't allow that an app can read certificates from the device keychain. See https://developer.apple.com/library/ios/qa/qa1745/_index.html
Yes our Plugin will solve your issue.
The interface is very easy.

Copy your client certificate to your www folder.
Add the following lines to you onDeviceReady method.

    var success = function(message) {
        alert(message);
    }

    var failure = function(error) {
        alert("Error:" + error);
    }

    clientCertificate.register("certfilePath/cert.p12", "s3cr37", success, failure);

The register method registers the clientCertificate to the cordova container. Each POST / GET / PUT / DELETE / PATCH request will use the client certificate in a transparent way.

Hi @stefanjauker
Thank you very much for your clarification.


Create and add the particular environment variable into the .env file, that would be representing the number, the layout to be used: (1)- use the current layout, 1 calendar PDF notes page per sleep screen, and (2) - 4 calendar PDF notes pages per sleep screen. That way, it would be easy to switch between the different layouts.

Different approach has been taken.
Because there are multiple files which would be different depending on the target sleep screen layout (1 or 2, at this time of writing), the better approach is to create the separate directory for the files related to the each individual layouts. This is achieved as part of the #38


Battery_State -> unknown?

Hi
volvo2mqtt works fine. But in the last UPDATE 1.8.3 --> Battery State is added.
The sensor battery State in my HA say unknown, and there is a difference to the other sensors, because all the other sensors are under the the code volvo_vin_**** .
But now for the Battery State the sensor is named under  volvo_battery_state.
Is it normal? Or is there something missed? or is there a Bug,
Just for info I have a BEV XC40 2023

Isn't this the Android Auto device battery state, similar to an Android
phone battery (I observed the same before)?
/Alex
Op vr 18 aug. 2023 18:14 schreef jvanderweken @.***>:

Hi
volvo2mqtt works fine. But in the last UPDATE 1.8.3 --> Battery State is
added.
The sensor battery State in my HA say unknown, and there is a difference
to the other sensors, because all the other sensors are under the the code
volvo_vin_**** .
But now for the Battery State the sensor is named under
volvo_battery_state.
Is it normal? Or is there something missed? or is there a Bug,
Just for info I have a BEV XC40 2023
—
Reply to this email directly, view it on GitHub
https://github.com/Dielee/volvo2mqtt/issues/88, or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5ASZANB2T7QYPICUMVBLJ3XV6IFDANCNFSM6AAAAAA3VXONOE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

ok ok sorry, i didn't read very well the change is "device_class" it's ok


Does this have a URL?

Hello I am kind of new to all this.
So does this application have an URL and if it does where can I find it?
So far I have a great time with this app!
Thanks! :)

https://github.com/pythonInRelay/ao/releases
and follow instructions


[Help] How to set drop shadow on center controller?

Please give an advice how to set drop shadow on center controller when it appears above left panel.
Thank you!

Can you share more details what you actually looking for? Shadow for left panel is already there.

I'm trying to achieve something like this. When center panel higher than left.

And how I can reload center panel ViewController when left is opened without closing it?

I think the shadow is not there for this scenario. If you can implement this feature and make a merge request then it will be appreciated as I don't get enough time to add new features in this library but i will add a lot of features in it.

And how I can reload center panel ViewController when left is opened without closing it?

Reload means ?

For example some data changes from left panel needs to reload center panel so if I call panel?.center(myNewCenterController) it reloads with animation and left panel closes. The question is how to change center panel without closing left panel?

You can do it using NSNotificationCenter.

Done already. Thanks. Just looked for another options.

@Sergozh  can you guide me how can you set your custom view in center view?
I changed code in centervc.swift and also hide navigation bar from navigation controller. but still i get navigationbar on top.

    panel!.configs = FAPanelConfigurations()
    panel!.configs.rightPanelWidth = 80
    panel!.configs.bounceOnRightPanelOpen = false
    panel!.navigationController?.setNavigationBarHidden(true, animated: false)
    panel!.delegate = self

This line panel!.navigationController?.setNavigationBarHidden(true, animated: false) is not correct.
As the Panel is just a container of all your centre, left and right controllers. So you need to hide navigation bar of centre controller and not the panel controller.
try using this, navigationController?.setNavigationBarHidden(true, animated: false) in view will appear of your centre controller.


Add Arabic Support for Localization

Is your feature request related to a problem? Please describe.
There is no Arabic support.
Describe the solution you'd like
Add localization for Arabic.
I would like to work on this by myself.

Hello @KawtharAlakri,
We have a localization guide that might be worth reading: https://github.com/dbeaver/dbeaver/wiki/Localization


how can i pause the sound

there isn't pause api yet.

https://github.com/zmxv/react-native-sound supports pausing, among some other features.

@zmxv thank you.


Fix amperka/ino#175 moving includes

Moving #include lines to the beginning of the sketch breaks libraries that
need the main sketch to #define things before they are included. This uses
the preprocessing strategy from upstream Arduino (actually from Processing)
to inject the Arduino.h header include line and the extracted prototype
lines after all initial preprocessor directives and before the first
non-preprocesser statement.

Any updates on this?


latest kusama and statemine tx fails

ups, we realized this too.
In our tests, ~yday tests were ok, but now they start falling. Additionally kusama.yml references to Council storages that triggers an error. What we found so far (hopefully it helps ) :)  :
XCM transfer ( from ksm to mangata )  fails with chops  with l&g block
The very same xcm transfer works correctly in the relay
Yday the tx worked in chops, and setting this block works simply ok.
KUSAMA_BLOCK_NUMBER=18049622 npx @acala-network/chopsticks@latest  xcm --parachain=configs/mangata.yml_chops  --relaychain=configs/kusama.yml
It looks like that Council pallet is not available on the l&g block, but works on block 18049622

yes those pallets are removed but these another change in runtime making transaction validation to fail. investigating ...

found it, system::account needs to have providers

@goncer ^


Uploader Component Parameters - Style (and others)

Discussed in https://github.com/google/mesop/discussions/559

Originally posted by lnarimatsu June 28, 2024
“Could the Uploader Button be enhanced by adding a style parameter? This would allow us to customize its appearance.
Additionally, could we consider incorporating all parameters that are currently available in the button component? This would provide greater flexibility and consistency across our components.
Func Uploder

Func Button

@richard-to any thoughts?

Yeah I think that's a good idea, especially being able to style the button properly. I think the main thing we can leave off is on click. Should be fairly straightforward.


[AIRFLOW-3218] add support for poking a whole DAG

Make sure you have checked all steps below.
Jira

[X] My PR addresses the following

https://issues.apache.org/jira/browse/AIRFLOW-3218

Description

[X] Here are some details about my PR, including screenshots of any UI changes:

Currently external task sensor requires a specific task to finish. This change adds support for DAG level checks, if task ID is not provided
Tests

[X] My PR adds the following unit tests OR does not need testing for this extremely good reason:

test_external_dag_sensor
Commits

[X] My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[X] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.

Code Quality

[X] Passes flake8

Tests get stuck for now, need to fix

Codecov Report

Merging #4058 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #4058      +/-   ##
==========================================
+ Coverage   75.91%   75.92%   +<.01%
==========================================
  Files         199      199
  Lines       15959    15964       +5
==========================================
+ Hits        12116    12120       +4
- Misses       3843     3844       +1

Impacted Files
Coverage Δ

airflow/sensors/external_task_sensor.py
97.14% <100%> (+0.26%)
:arrow_up:

airflow/utils/log/logging_mixin.py
96.29% <0%> (-1.18%)
:arrow_down:

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 74c613b...1ed54d2. Read the comment docs.

Inline doc is updated as a part of the PR. Please point what else should I update.

@Fokko, can you please let me know what else apart from the inline doc should be updated


1195/mk/version packages

Changes proposed in this pull request

Adds lerna to repo
Renames 3 public libraries and sets their version to 1.0.0:

@interledger/open-payments
@interledger/openapi
@interledger/http-signature-utils

Updates all imports, uses workspace:1.0.0 to correctly reference local (& publishable) dependencies in repo (see pnpm docs)

Context

Checklist

[ ] Related issues linked using fixes #number
[ ] Tests added/updated
[ ] Documentation added
[ ] Make sure that all checks pass

Closing in favour of https://github.com/interledger/open-payments/pull/244


Premature Nukie Loss Despite Them Being Alive

Somehow during a nukie round, both nukies disguised using a DNA scrambler were going after the captain in space. One nukie died from space while the other pursued the captain. While the last nukie was alive, the round summary tab popped up, ending the round in a nukie loss. I have no clue how this could have happened other than it somehow being related to DNA scramblers, but this is a guess.

are you sure the last one wasnt a reinforcement also scrambler uses polymorph so its possible the new entities count as dead

Nukie reinforcements count as nukies now

are you sure the last one wasnt a reinforcement also scrambler uses polymorph so its possible the new entities count as dead

The new entities probably dont have the NukeOperative component, and thats what counts for the victory condition.

tbh using polymorph for it is very brittle and more issues like this will pop up over time

tbh using polymorph for it is very brittle and more issues like this will pop up over time

yea, it really should change the humanoid appearance, not just polymorph into a human.
I just tested it and this implant can turn a carp into a man

you're telling me a shrimp planted this nuke

bringing mouseops to a whole new level


File Selector seems to be unresponsive in 3.2.3 RC

Godot version:
Latest (3.2.3 RC) fad1feb3a
OS/device including version:
Manjaro 20.1 KDE
Issue description:
File Manager Path shows blank, and clicking "OK" does nothing.
Steps to reproduce:

Minimal reproduction project:
N/A

Might be related, but cannot create a new project from the New Project button.
Keeps saying this after selecting a folder.

Confirmed on Linux. That didn't happen on 3.2.3 RC 4.

Regression from #41520 (CC @Tony-Goat @Paulb23).

Fixed with 7844775a76 (master) and 8a66ea7cb0 (3.2).


[Network Path] Add logic to grab subnet and vpc ids

https://datadoghq.atlassian.net/browse/NETPATH-99

What does this PR do?
Modifies the gateway lookup code currently used by NPM for the network tracer to be compatible with both NPM and Network Path. This allows Network Path to submit the subnet ID to our back end so we can resolve cloud resources as hops such at NAT gateways, transit gateways (eventually), etc.

Motivation
Network Path wants to show cloud resources that are traversed by the host as part of the traceroute. In order to do this, we need to send the network and subnet IDs to the back end.

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes
For NPM, ensure that gateway lookups are still working and the subnet information is still making it to the back end. The actual work being done here shouldn't have changed, the logic has been reorganized to make the code compatible with network path.
For Network Path, I would test in our NDMs internal environment, enable debug logs, and check for the debug log that outputs what's being send to intake. In the source field of that message, it should contain a structure via which includes a resolved subnet alias. Local testing will not yield a good result because resolution only happens when the agent is running on AWS.

/merge


Add link to GitHub to webapp

@arielsvn can we add a link back to the GitHub repo (https://github.com/greenelab/scihub) from the webapp? You could do this with one of the GitHub octocat logos.

Sure, I'll add it in the top bar to the right


Request: Objective C sample/demo

Hi there,
"Starting requirements section" suggests Objective C is possible. ie:

Swift 4.1 (use in Obj-C projects is also possible by writing wrapper around Swift framework)

Any chance u guys can provide a demo/sample ?
thanks !

Hi!
Yeah, that's a good idea to have a sample, written on Objective c. Don't know why it is still missing.

Hi!
Reason is very simple - very low demand for such sample.
@dklt in which part are you interested?

Hi,
Thanks for your response.
With the tutorial, I find some success in creating a swift wrapper for objC code to play a videoId/playlistId. Though I am having some trouble in customising further, say, adding a close button that animates along with other video controls.
cheers ~

Hi again,
You can add your own buttons to our SideBar in ContentControlsViewController. The button requires an icon with images (normal, selected, highlighted), a handler (a closure, wrapped in a Command type) and accessibility with label and hint.
You can find a Swift example here. So, you can also make a wrapper around our PlayerControls module and customize player however you want.

Yo ~ thanks again for your prompt response !
In regards to close button in SideBar, I did indeed attempted that previously. Was using the default sidebar in the tutorial, "the-inserted-close-button" position seems very unnatural. I guess I have to explore PlayerControls module eventually, or settle for a swipe-exit workaround.
Btw, any videoid/playlistid that have a valid sample Ad we can play around / experiment with?
cheers ~

@dklt AFAIK all our video ids, that are not restricted or errored, should have an ad.
There might be some changes done to the backend for testing and other things. It obviously can cause some issues or restrictions.
We're planning to replace those id's with new ones in further, that will be static and will be used only in these samples.

Sorry for reviving an old thread but I'm also after a way to add a close button to the default player controls, what is the best way? Sidebar does not seem an appropriate place for a close button.


Access denied exception

When starting the server, it fails with this message: Failed to start the minecraft server java.nio.file.AccessDeniedException: ./UbuntuCraft/session.lock
It worked fine until I installed Forge, maybe thats the issue.
Running a 1.16.1 server with the latest forge version. No mods installed.

I would check your file permissions and that they are owned by the mscs user minecraft
If not, run chown -R minecraft:minecraft /opt/mscs/worlds/name

@DependentMacaroon: Hopefully you figured out the permission issues you were having.  I'm going to close this issue, but feel free to reopen it if needed.


Hacks Week #5

Scrum Overview

Program Purpose and Roles

HTML Fastpages

Java
Submenu

HTML Python/Flask SS
Index:

Stub:

Scrum Overview

Program Purpose and Roles

HTML Fastpages

Links and Submenus

HTML Python/Flask SS
Index:

Stub:

Nice Scrum overview.  HTML did creative style and about page.  Did not rename stub.
2.5

2.8. Very Proficient

2.6, you did not show much, but I did see that you understood what the objective of this week was.


Submit to the official helm charts repo

I found this old issue but it looks like nothing ever happened with this.
Is there interest in revisiting the inclusion of this plex chart to the official helm charts repo?

This would be cool to see.  It looks like only a couple minor changes were needed.  @munnerz I would make a PR to this repo with those changes if it means they'd be submitted to helm/charts - I don't want to take the credit for your work just because I changed a couple lines in a YAML file ;)

With the new helm hub, adding this chart could be a lot easier, it's basically outlined in this document

The helm/charts repo is being deprecated, so helm hub is t he path forward.
@munnerz, I have a solid github actions implementation that will lint and test charts (via KIND) for all pull requests and then automatically publish charts as a repo release.
I'm going to submit a PR to implement this in repo, but to fully implement it will require you (or someone else with admin access to this repo) to finalize the implementation.  Specifically, github pages will need to be enabled (ideally using the default gh-pages branch), and a github personal access token or equivalent will need to be added as a github actions secret in the repo configuration.
Any issues with this approach?


fix(apache): Enforce ConnectionRequestTimeout

Coverage increased (+0.008%) to 77.192% when pulling 8f14e0f979fd82f52712a6058189fea3d99ff21f on fix/enforce_ConnectionRequestTimeout into 1d055f18769fc23711f5f61ed66f35eefeec799c on master.


tpl/collections: Make sort stable

Fixes #9865

This is not doing what I want.

But does it solve the reported issue?

{{ range sort (sort $m "a") "b" }}

Means sort twice. I don't think it's possible to change that (and even if we found a way, that would be pretty breaking.
What you ask for could be solved by allowing more sort fields, e.g.:

{{ range sort $m (slice "a" "b") }}

/cc @freud14

But does it solve the reported issue?

I'm not sure. The issue title is "Sorting is not stable" but the issue objective is "I'm trying to sort a slice of dicts by two different fields."  I think the issue title is wrong.

What I want:

{{ $m := slice
	(dict "a" 1 "b" 2)
	(dict "a" 2 "b" 2)
	(dict "a" 1 "b" 1)
	(dict "a" 2 "b" 1)
  }}

  {{ range sort (sort $m "b") "a" -}}
	{{ . }}
  {{ end }}

Produces:
  map[a:1 b:1]
  map[a:1 b:2]
  map[a:2 b:1]
  map[a:2 b:2]

Which looks like what you want to me{

Which looks like what you want to me

Yes!  And this was possible prior to this PR.  The order of operations is not intuitive, at least not to me, but this works perfectly.

You could possibly get a more natural ordering with ...
  {{ range ( "a" | sort ("b" | sort $m) ) -}}
	{{ . }}
  {{ end }}

Or something.

{{ $m := slice
	(dict "a" 1 "b" 2)
	(dict "a" 2 "b" 2)
	(dict "a" 1 "b" 1)
	(dict "a" 2 "b" 1)
  }}

  {{ range sort (sort $m "b") "a" -}}
	{{ . }}
  {{ end }}

Produces:
  map[a:1 b:1]
  map[a:1 b:2]
  map[a:2 b:1]
  map[a:2 b:2]

Which looks like what you want to me{

Yep, looks alright to me.
The tests are fine but maybe we are missing these two:
Asc then desc:  {{ sort (sort $values "b" "asc") "a" "desc" }}
Desc then asc: {{ sort (sort $values "b" "desc") "a" "asc" }}

The tests are fine too but maybe we are missing these two:

We have other tests that cover those, I was mostly looking to get coverage for both the calls to sort.Stable.


Improving the cli

I have a few proposals for the cli, which I'd be happy to tackle implementing as well over the course of the summer, if found useful by anyone. Since developers do tend to spend a lot of time on the command line anyways, especially if working with projects that have class generators etc (such as Laravel), it would be easy to have a way to add rules to the TW config straight from the command line as well. Ideally, to not break stuff, this should just add to the bottom of the respective array. Margins and paddings could be automatically predicted based on the default scale, to save typing if the scale has not been changed.
For example:
R2-D2$:tailwind add:color
    Pick a name for your color (Usually 'colorName-shadeName') :
gorgeous-darkest
    Set a value for 'gorgeous-darkest': #5F4B8B

    Color 'gorgeous-darkest' added as #5F4B8B !

R2-D2$:tailwind add:margin
    Pick a margin name: 12
    Pick a margin value (3rem):
    Add negative too (no)?: yes
    Margin m-12 for 3rem added! Negative margin added!

And so on... Any ideas on this?

I think this could be a cool idea but I'd rather it be developed as a separate package, at least to start. Feel free to put something together and I'm happy to play with it and offer fedback.

Closing as "dealt with", not because I'm rejecting it :)


Unable to refactor main sources due to stub project.

Current approach for tests is messing up refactor/finding code/finding resources.

I have removed the android project main sources from the stub project's sources. This should fix the refactoring/finding layouts etc. in Android studio back to normal.
However, this does mean that debugging is a bit less straightforward. You have to put your break points inside the main source if you want to debug and cannot step in directly from the test class.

Thanks for your feedback. Updating to 1.2.2 solves the issue.


Contribute, refactoring suggestions, modernize C#, DataSet, DataLoader

Hi @NiklasGustafsson, I would like to contribute to TensorSharp as we are looking at using it to replace our CNTK usage in our full end-to-end machine learning pipelines written in C#. I have been looking at this example repo in that regard, which is a great starting place. I've mainly work with image models so I've been looking at the CIFAR10 example. I understand that these examples have been created quickly and that they are bare-bones, I would like to improve them. :)
For example, I have a few issues with the Readers like CIFAR10Reader and how they both randomize data by pre-defining randomized batches, which is not normally how you would do this, you create unique random batches for each epoch. Similarly, an epoch would usually (nothing is standardized here and you really can do anything you'd like so this is just IMHO) be defined by iterating our the samples of the dataset once, not by adding transforms after and hence multiplying by that like:
        public IEnumerable<(Tensor, Tensor)> Data()
        {
            for (var i = 0; i < data.Count; i++) {
                yield return (data[i], labels[i]);

                foreach (var tfrm in _transforms) {
                    yield return (tfrm.forward(data[i]), labels[i]);
                }
            }
        }

Also you wouldn't "transform" or augment the data if it is test data, of course you can then just not set the transforms.
Anyway, I was thinking my first contribution could be to refactor the readers to and implement concepts similar to pytorch DataSet and DataLoader. I have worked with this API but am not an expert, nor I am necessarily a fan of the python APIs, but it seems you'd like to have TorchSharp be similar to pytorch, so basing it on that makes sense. Would that be of any interest?
Before doing this I would very much like to migrate this example repo to .NET 6 and C# 10 too and follow standard C# code guidelines and use modern language features, to really make the examples shine with regards to C#. Since performance is my passion I'd also like the examples to at least minimally try to be efficient about what happens, even in cases where it does not matter so much.
Just an example below, I would replace the below with a proper Fischer-Yates shuffle, that is easy to implement.
Enumerable.Range(0, count).OrderBy(c => rnd.Next()).ToArray();

Reproducibility is important too, so all random stuff should be seeded.
Sorry, I am sure you know all this, but I wanted to at least ask whether such changes are of interest first? If you guys agree with them?
To recap I propose:

Migrate to .NET 6 and C# 10
Refactor readers based on a DataSet and DataLoader concept (rough draft)

Address minor various issues as part of this

And we can take it from there.

@nietras -- I think that would be great!
I'm taking this coming week off, but let's discuss the week after.
A couple of initial reactions:

It would be great to get help here.

Yes, the data loading in the examples was a hack to get to the part where we demonstrate building models, training, etc. That's why I kept them in the examples rather than in torchvision, where they belong.

As a design principle, we should stick close to Python when it makes sense for the "transportability" of code, but we should stay true to .NET when possible. Just something to keep in mind when designing this -- we don't need it to look like PyTorch just for the sake of it, only if it makes transporting code easier for users. For example, I think it is more important that the data readers compose well with .NET iteration constructs than follow the PyTorch iterator designs.

The API should be designed to work properly and beautifully across C# and F#.

When designing the API/implementation, we should consider torchtext, as well.

I'm reluctant to agree to moving things to .NET 6 as a dependency. Lots of users will be slow to update to the latest and greatest, and we need breadth. Just FYI -- I've had people push for .NET Standard 2.0 as the baseline for TorchSharp, but I thought that was going too far back.
Also, if you contribute, please introduce yourself to the community here: Welcome to TorchSharp Discussions!. It's always nice for users to know the folks who helped produce the stuff they're using.

@NiklasGustafsson  => @nietras is an ONNX veteran.  His project on ONNXSharp and repos
@nietras  We have ongoing discussion related to ONNX. Hope you find that of interest to you and you can share your opinion.

That's great!

@NiklasGustafsson if you are interested we could do an introductory Teams meeting when you're back from vacation. I have a lot of questions and ideas too.
As @GeorgeS2019 mentions I have a very strong interest in TorchSharp getting support for reading/writing onnx files, without that we can't really use it at my work. I wouldn't call myself an onnx veteran though 😅 I am an ML veteran for sure, though. With lots of real world experience. We use onnx runtime for inference in dotnet apps. So everything's basically dotnet. ❤

@NiklasGustafsson regarding dotnet 6, I think what examples target and what the underlying library targets are two separate things. I can understand having the library target netstandard2.0 and multi target higher too, we still have netfx apps at my work. Although for a library not yet in 1.0 there should be some leeway.
An example repo though should focus on showing the library and platform at its best I think, as it would look now. It's a getting started repo after all, and people getting started should be able to install latest runtime to try out.
For dataloader etc. IAsyncEnumerable seems like a good match for example.
Overall, is multi targeting an option in library ? Only making  some APIs available for higher targets? Span APIs are a must for example.

Span<> and System.Range are the essential reasons not to go too far back in compatibility, IMO.

@NiklasGustafsson if you are interested we could do an introductory Teams meeting when you're back from vacation. I have a lot of questions and ideas too.

Sure, that sounds good. My email address is available in my GH profile. Send me a request for early next week, sometime. I’m back in the office on the 29th, and on Pacific Time.

Span<> and System.Range are

As you are probably aware you can still use Span by using the System.Memory package with portable Span. Additionally, I have extensive experience with the issues of netstandard2.0 and netfx and why you really need to target net45 too in that case, e.g. if using from net461. You can multitarget your way around a lot of this, only have some APIs available on some targets and so on. Requires more work for sure, but it is possible.
Also I lend a small helping hand in the design and implementation of both Span and Unsafe in dotnet, so lots of insights there.
And thanks I'll get in touch.

Closing as simply an introduction. First one line PR at https://github.com/dotnet/TorchSharp/pull/461


Frontend interfacing - Placeholder for tabs we will implement, show barebones measurements and a bit fancier display

Show current temperatures, barometers, weight sensor. Push MongoDB connection to interface for each, but use placeholder for sensors that aren't ready. Include tabs for graphs, current temperature, and temperature history for past 24 hours.

Branch code from master, create a front-end branch, pull all changed go into this branch

Front end is now static, no data pulled yet, but outline is there!

Template is done, now need to pull in live readings. Work on this will be tracked under #13 . Closing out issue.


[NEW ICON] Arc Browser

Skill Name
Arc Browser
Why?
It's gaining populatiry among developers, as it's a great replacement for Chrome.
Reference Image

I'm going to work on this, but it will only be implemented in the newest version of the project, since the maintainer didn't showed up in months here... You may also find other cool icons you could use from the newest repository ;)


[Enhancement] Implement MVRepairHandler to repair table's version changes in cloud native env (backport #48883) (#48989)

Why I'm doing:
What I'm doing:
Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.3
[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

Documentation PRs only:
If you are submitting a PR that adds or changes English documentation and have not
included Chinese documentation, then you can check the box to request GPT to translate the
English doc to Chinese. Please ensure to uncheck the Do not translate box if translation is needed.
The workflow will generate a new PR with the Chinese translation after this PR is merged.

[ ] Yes, translate English markdown files with GPT
[x] Do not translate

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


JNI ERROR: global weak reference table overflow

In my app I was running a rendering loop which was creating/destroying many JSValue objects. It quickly resulted into "global weak reference table overflow".  I fixed the issue with attached patch
liquidcorepatch.log

This issue is a duplicate of #44 .
Thanks for the patch -- I will evaluate it tonight!


Add example of section tree from SWC data block.

This example builds a section tree based on the SWC-like
internal data representation, meaning it can be used for any
of the input data formats. Given that there si a more efficient
reader for h5 data, this could initially be used for SWC and
NeuroLucida (NL) .asc files. Note that NL already comes in a
section-based tree structure, so a more efficient implementation
is also possible.

[Current coverage][cc-pull] is 100%

Merging [#328][cc-pull] into [master][cc-base-branch] will not change coverage

@@           master   #328   diff @@
====================================
  Files          43     43
  Lines        1982   1982
  Methods         0      0
  Messages        0      0
  Branches        0      0
====================================
  Hits         1982   1982
  Misses          0      0
  Partials        0      0

Powered by Codecov. Last updated by [f99c300...dde52eb][cc-compare]
[cc-base-branch]: https://codecov.io/gh/BlueBrain/NeuroM/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/BlueBrain/NeuroM/compare/f99c300d0e9e250370db3d2b24eb958fdcdf5ac6...dde52eb2bb035644e1147bbe21fcf9b1200a2e6b
[cc-pull]: https://codecov.io/gh/BlueBrain/NeuroM/pull/328?src=pr


Color Calibration, Profiles by "id" over JSON RPC

[x] I confirm that this is an issue rather than a question.

Bug report
Have 3 color profiles. When I try to change brightness to one of them by "id" nothings happens.
Steps to reproduce
curl -XPOST -d '{
"command":"adjustment",
"adjustment":{
"brightness":100,
"id":"Untitled"
}
}' 'http://<IP_ADDRESS>:8090/json-rpc'
What is expected?

To this:

What is actually happening?
curl -XPOST -d '{

"command":"adjustment",
"adjustment":{
"brightness":100,
"id":"Untitled"
}
}' 'http://<IP_ADDRESS>:8090/json-rpc'
{
"command": "adjustment",
"success": true,
"tan": 0
}

Nothing happens.
System

Hyperion Server:

Build:       (HEAD detached at ffa2fd45) (Paulchen-Panther-69e9fa6d/ffa2fd45-1595517126)
Build time:  Jul 24 2020 15:49:41
Git Remote:  https://github.com/hyperion-project/hyperion.ng
Version:     2.0.0-alpha.7
UI Lang:     en (BrowserLang: sv-se)
UI Access:   expert
Avail Capt:  dispmanx,v4l2,framebuffer,qt

Hyperion Server OS:

Distribution: HyperBian GNU/Linux 10 (buster)
Arch:         arm
Kernel:       linux (5.4.51-v7+ (WS: 32))
Browser:      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15

Currently additional profiles are not applied during processing...


Enhancement. Reactive api rest for get SVG #216

Signed-off-by: davideduma<EMAIL_ADDRESS>:heart:
What this PR does / why we need it:  Reactive api rest for get SVG
Special notes for reviewers:
Additional information (if needed):

@davideduma thanks for the pr. can you give some info on what it does?

Think most of files are missing our copyright. please add

@davideduma thanks for the pr. can you give some more info on what it does?

With this functionality. It is possible to get the SVG string through a API REST

Think most of files are missing our copyright. please add

Please give me a couple examples. i dont undestand

Hi, you can look at any source files in the repo, for example: https://github.com/serverlessworkflow/sdk-java/blob/main/api/src/main/java/io/serverlessworkflow/api/deserializers/AuthDefinitionDeserializer.java#L1-L15

this suggestion cannot be applied. The above line is required.:

Fixed issues sonatype

Hi. Can you help me. This pull request still in progress. Thanks!

Hi. Can you help me. This pull request still in progress. Thanks!

Only Awaiting approval to owner.


Time Column Width

I use an admittedly very dense setup and am using Nova Launcher and Android 9 which might contribute to my issue.  I have Todo Agenda set up to show one line per event, start time only, and the column width is too small to show the full start time, truncating am/pm on all and the last minute digit for double-digit hours.  Is there a setting I'm missing or is this a bug?
Thanks!
Matt

Same here:

The issue happens with all font sizes.

The problem is caused by my trying to present data in different rows in one column not knowing exact width of each value.
I tried current width on my devices, it's OK, but your screenshots show that in some other cases (other "pixel densities"...) we need wider time column...
Adding "time column width" option would be an overkill? Ok a solution?

Should be fixed in v.3.0.1, see Beta at https://play.google.com/apps/testing/org.andstatus.todoagenda
?!

Thank you! It's working properly now after update to 3.0.1!

It is working, thanks!
Though it seems I can't hide the widget header now.

@Nephiel If that is a real problem, please start a separate Issue

It seems OK now. I think this one can be closed.


Fix make ios-xcode

When calling make ios-xcode on latest master I got this error:
CMake Error at /usr/local/Cellar/cmake/3.17.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
  Could NOT find Threads (missing: Threads_FOUND)

adding set(CMAKE_THREAD_LIBS_INIT "-lpthread") fixed this error.

I just tried make ios-xcode with a clean build folder and I am not encountering this error. I'm using CMake 3.19.2 and Xcode 12.4. Have you tried cleaning your build folder? What version of Xcode are you using?

Thank you a lot @matteblair updating CMake to newest version 3.19.6 did solved this error.


Maybe there is a little controversy in the answer

myObject.life() maybe myObject.life

iife stands for immediately-invoked function expression and is the format of that functional call:
let a = ( function(){ return 1 } )()
a === 1 // true

Yes, it should be myObject.iife without calling it as a function. Feel free to make a PR for this.


New package: SPEI v0.1.0

Registering package: SPEI
Repository: https://github.com/semran9/SPEI.jl
Created by: @semran9
Version: v0.1.0
Commit: 65ccf0d70de72593a8a7839d0a837c72ee099d4f
Reviewed by: @semran9
Reference: https://github.com/semran9/SPEI.jl/issues/1
Description: Julia Package for monthly SPEI calculation

How about DroughtIndices?

Yes, I think that name would work a lot better. I'll update it.

please close

This PR will automatically close after 30 days of inactivity


Fix some launch buttons obscuring widget box shadow

Coverage remained the same at 39.199% when pulling a47ee5af6fbb6cec419270f43cdd9e0f1dadf17f on thevoiceofzeke:cssBugs into d9192e816562f57d29bc295b2316412193d7e070 on UW-Madison-DoIT:master.


graphite-exporter: changing the variable mapping-strict-match

In the newest versions for graphite-exporter the option --graphite.mapping-strict-match doesn't accept any passing value, due to this, it is necessary to update the logic in the job's template due to is failing at the moment is being used.

Closed #323

Thanks @andinod


update rustic-doc sections in readme

Except for the thing I just wrote, this looks good. I appreciate the improvements done.


Text input component not in view after click on mobile

Visiting the daisy ui website and testing text area component https://daisyui.com/components/textarea/
Issue: after clicking in the text area on mobile the mobile keyboard opens and the text are is out of view completely .
The same issue seems to exist for text input component https://daisyui.com/components/input/

That's weird 🤔
Can you provide more info?
Like your phone model and browser?
Also, a video would be helpful.

Feel free to re-open this issue after providing more info


tour: For local installation of tour add a note about methods that will fail

Context: https://tour.golang.org/welcome/3
On Ubuntu focal, I installed Golang from Ubuntu's repositories, which has Go version 1.13. The subsequent go get golang.org/x/tour command on the page did not succeed.
I assume this is by design and people are expected to install the latest version linked as advertised on the page for this to work. But considering that we are beginners :sweat_smile:, it would be reasonable to add a note/warning about this. Like saying, "only this methods works", or, "this version and above"...
Thanks!

#1218 #1203 go get golang.org/x/website/tour
Part of the challenge is that source contributions are moved off GitHub

Closing as a dup of #1203.
Also source contribution never moved off github: the github repository has always been a mirror. The canonical source is on https://go.googlesource.com/ and the canonical way to send changes is trough gerrit.


Implement the myAtoi(string s) function, which converts a string to a 32-bit signed integer (similar to C/C++'s atoi function)

Implement the myAtoi(string s) function, which converts a string to a 32-bit signed integer (similar to C/C++'s atoi function)
Pull Request Template
Description
The algorithm for myAtoi(string s) is as follows:
Read in and ignore any leading whitespace.
##Summary
1.Check if the next character (if not already at the end of the string) is '-' or '+'. Read this character in if it is either. This 2.determines if the final result is negative or positive respectively. Assume the result is positive if neither is present.
3.Read in next the characters until the next non-digit charcter or the end of the input is reached. The rest of the string is ignored.
4.Convert these digits into an integer (i.e. "123" -> 123, "0032" -> 32). If no digits were read, then the integer is 0. Change the sign as necessary (from step 2).
5.If the integer is out of the 32-bit signed integer range [-231, 231 - 1], then clamp the integer so that it remains in the range. Specifically, integers less than -231 should be clamped to -231, and integers greater than 231 - 1 should be clamped to 231 - 1.
6.Return the integer as the final result.
##Approach
Approach
1.Prepare String that is having only +- sign and number value
2.Convert to BigInteger to compare value with 32bit signed Integer range and clamp if goes out of range
3.return output with 0 if no string number found or non number value found before any number value
Put check marks:
Have you made changes in README file ?

[ Done] Added problem & solution under correct topic.
[ Done] Specified Space & Time complexity.
[ Done] Specified difficulty level, tag & Note(if any).

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.
1.This solution has been tested with set of testcases on Leetcode website itself.
2.I personally tested with set of values as below:
"+-12"
"-a33"
"2000000000000"
"        -45"
"+12"
"123abc"
Make sure all below guidelines are followed else PR will get Reject:

[ Done] My code follows the style guidelines of this project
[ Done] I have performed a self-review of my own code
[ Done] I have commented my code so that it is easy to understand
[ Done] I have made corresponding changes to the documentation
[ Done] My changes generate no new warnings
[ Done] Any dependent changes have been merged and published in downstream modules

Thanks Team,
Looking forward to contribute more 😀
On Fri, 2 Jul 2021, 11:47 pm welcome[bot], @.***> wrote:

Your code looks great! Congrats, I've gone ahead and merged your first
pull request! Keep it up! [image: alt text]
https://camo.githubusercontent.com/3561e6e0cd114cab1064a8824bea7636001a7ea92ab4e9ece7a3aeb147a06968/68747470733a2f2f6d656469612e67697068792e636f6d2f6d656469612f6433317732347073475965656b435a792f67697068792e676966
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/codedecks-in/LeetCode-Solutions/pull/178#issuecomment-873176863,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF6JI5M2MUJJNSCIU3KCCVDTVX7ERANCNFSM47WXMV7Q
.


one more deadlink -

http://www.sglyon.com/blog/2014/creating-the-site/

@vsopvsop, thank you again for reporting the dead links on Press page.
Clearing out dead links certainly improves the web browsing experience for new Hugo users and alike.
It turns out that Spencer Lyon has move his blog to a new domain, so I have updated the URL accordingly.  Ditto for Kenny Woo's article.  Jason Yee's... I can't find anything, looks like his site is down for good for the time being.
Thanks again!
Cheers,
Anthony


InvalidQueryArgs::becauseValueDoesNotMatchSchema always expect query arguments to be a string

The function \League\OpenAPIValidation\PSR7\Exception\Validation\InvalidQueryArgs::becauseValueDoesNotMatchSchema(string $argumentName, string $argumentValue, OperationAddress $address, SchemaMismatch $prev)  always expects $argumentValue to have  type string but that may not be the case for all query arguments, e.g. for the url /api/fields[0]=id&fields[1]=name, the query parameter will be type an array

Looks valid, thanks for reporting! Can you please provide a failing test case to speedup things?

I also have this issue. Can I help somehow to fix this ?

Sure, I didn't noticed that @bolanle11 created commit referencing this issue (there is no notificaiton about these things). I think you can try to fix exception signature to accept any data type and maybe somehow serialize it, or just omit the value itself in the message


Cannot insert values larger than 16384 chars in AseCommand for type TEXT

When I want to write a value longer that 16384 chars setting as a parameter of type TEXT it just throws me an exception.
I.e.:
DEFINING THE PARAMETER AS
        var parameter = new AseParameter
        {
            ParameterName = paramName,
            //DbType = DbType.String,
            AseDbType = AseDbType.Text,
            Value = paramValue,
        };
        command.Parameters.Add(parameter);

THEN WHEN EXECUTING THE COMMAND I GET EXCEPTION:
▶ | $exception | {"The token datastream length was not correct. This is an internal protocol error.\n"} |
Environment

.NET Framework 5.0
AdoNetCore.AseClient nuget package version 0.19.2

Hello, this behavior seems to be covered by the following test class https://github.com/DataAction/AdoNetCore.AseClient/blob/master/test/AdoNetCore.AseClient.Tests/Integration/Insert/TextTests.cs. Could you please check if those test are working on your side ?