M3-5863: Fix Jest 'usePayPalScriptReducer' errors

Description
What does this PR do?
This fixes usePayPalScriptReducer errors that get logged to the console when running Jest:
Error: usePayPalScriptReducer must be used within a PayPalScriptProvider

I've also mocked a few calls to the APIv4 client library which will eliminate a couple Warning: captured a ... request without a corresponding request handler warnings (see M3-5864 for the remaining work on those warnings).
How to test
What are the steps to reproduce the issue or verify the changes?
To reproduce, run yarn test against develop, and observe a handful of usePayPalScriptReducer errors in the console output.
To verify these changes, run yarn test against this branch and observe that those errors are no longer present.
How do I run relevant unit tests?
To verify just the affected tests, run the following command and confirm that no warnings or errors are shown:
yarn test PaymentMethodRow.test BillingSummary.test PaymentInformation.test

Haven't looked deeply at the code changes, but i did pull this down and confirm the usePayPalScriptReducer are no longer in the test logging output. 👍 👍


Add explicit platform to Dockerfile FROM statements

Describe your changes
Added explicit platform statements to the Dockerfile
Issue ticket number and link

Fixes #51

I don't know if this is the best solution, but it's the one that worked for me. runArgs did not seem to do anything for some reason.


issue with unused rocket url parameters being renamed in one place only

Not sure if this is the right place (or if this issue is open using more correct terminology I don't follow), but I received this message:
warning: failed to automatically apply fixes suggested by rustc to crate `packagename`
after fixes were automatically applied the compiler reported errors within these files:
...
This likely indicates a bug in either rustc or cargo itself,
and we would appreciate a bug report!

The warnings weren't all that clarifying on their own, but by setting --broken-code, I was able to see that the following breaking change:
#[get("/<a>/<b>")]
pub fn endpoint(a: String, b: String) -> Result<AttachmentString, failure::Error> -> {

to
#[get("/<a>/<b>")]
pub fn endpoint(a: String, _b: String) -> Result<AttachmentString, failure::Error> -> {

as to why one would do that, it was a simple way to set filename without having to add a content-disposition header.

Thanks for the report! This is actually due to https://github.com/rust-lang/cargo/issues/5738 during the edition migration (and was also the original impetus for that report!)
I'm gonna close this in favor of that upstream issue


Add movie ' Hacker (2016) '

Add movie ' Hacker ' (2016)  https://www.imdb.com/title/tt3173594/ ,
Not to be mixed up with ' Hacker (2019) ' , ' Hackers (1995) '  or ' Hacker TV Movie (2018) '

Checklist for submitting a pull request to Movies For Hackers:

[x] I have carefully read and comply with the Contributing Guidelines of this repo.
[x] I have searched the PRs of this repo and believe that this is not a duplicate.

Title: Hacker
Link: https://www.imdb.com/title/tt3173594/
Genre: Crime, Drama, Thriller
Rating: 6.2

Description:

This movie is already on the list under it's alternate title "Anonymous"


Update Data Labs team

This is so it encapsulates everyone currently in Data Labs.

Thanks @avisionh!


interface_meta 1.3.0

Changelog: https://github.com/matthewwardrop/interface_meta/releases
License: https://github.com/matthewwardrop/interface_meta/blob/v1.3.0/LICENSE
Requirements: https://github.com/matthewwardrop/interface_meta/blob/v1.3.0/pyproject.toml
Actions:

Apply an initial percy patch and run locally a script to:

Remove noarch python
Skip py<37
Add flags --no-deps --no-build-isolation to script
Add missing setuptools and wheel to host
Fix python in host and run

Add poetry-core pin 1.5.1 (note that 1.4.0 hasn't py311 support on ppc64le)
Add description

Notes:

formulaic requires it https://github.com/AnacondaRecipes/formulaic-feedstock/blob/d669d6055b51a38bc1e0b7bcd4471e0e10cbc76a/recipe/meta.yaml#L28

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_c0xqizbr83/clone/recipe/meta.yaml:22: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_b1pusogy57/clone/recipe/meta.yaml:22: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_30foz0ln00/clone/recipe/meta.yaml:22: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_8b33jim548/clone/recipe/meta.yaml:22: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
Errors were found


Lots of CVEs detected from old dependencies

What did you do?
Looking at the security report at https://artifacthub.io/packages/helm/prometheus-community/prometheus
There are a number of vulnerabilities listed.
What did you expect to see?
Some automation opening tickets or resolving these issues.
What did you see instead? Under which circumstances?
A bunch of known vulnerabilities from the dependencies of the default helm chart.
System information
No response
Prometheus version
No response
Prometheus configuration file
No response
Alertmanager version
No response
Alertmanager configuration file
No response
Logs
No response

Please do not report security incidents via GitHub issues. Should a report turn out to expose an actually serious security problem, it would be highly problematic to have it reported in the open before a fix has been provided.
See https://prometheus.io/docs/operating/security/ for instructions how to report security incidents (and also take into account the note about security scanners).

We do have automation in place that flags security problems in dependencies. The reports on https://artifacthub.io/packages/helm/prometheus-community/prometheus aren't very helpful, though, because they flag dependencies that aren't actually used, and they flag issues of obsolete versions, which have been fixed long ago.


Calling base _init yields confusing error

Godot 3.0.6
Windows 10 64 bits
class Test:
	func _init(a, b, c, d):
		print("Test ", a, b, c, d)

class TestDerived extends Test:
	func _init(a, b, c, d):
		._init(a, b, c, d)
		print("TestDerived ", a, b, c, d)

Try instancing TestDerived, it will fail at calling the base _init:
SCRIPT ERROR: TestDerived._init: Invalid call to function '_init'. Expected 4 arguments.

EDIT
just saw that I'm supposed to use this instead:
http://docs.godotengine.org/en/3.0/getting_started/scripting/gdscript/gdscript_basics.html#class-constructor
Not sure why GDScript works in such a specific way for _init, but the error I got is very confusing.

@akien-mga it does not work fine on 4 because there is no way to call the base init, and I think that the new syntax should be something like super(a,b,c,d) instead of ._init but keyword super does not work (yet?, is mentioned in #40670 ).

4.0 RC 1:

3.5 (correct code):

3.5 (wrong code from OP):

The error message could be improved though. I suggest changing milestone to 3.x.

Though I doubt we will address this in 3.x.


changed some code for my laptop

Hey, I'm struggling with the google api. Any help you can offer?

Reply to this email directly, view it on GitHub
https://github.com/raghunat/2016-333-pizza/pull/1, or mute the thread
https://github.com/notifications/unsubscribe-auth/AUYPxDq1R_4WFCJRT9qgTgU2rnMpIpD-ks5qpL_wgaJpZM4J6MbL
.

I would need code. This particular branch shows the location test project, and it is working fine (native android API)


panic: runtime error: invalid memory address or nil pointer dereference

To reproduce, try importing the bergie/passport-saml repo to another empty repo on Github.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x69a399]

goroutine 1 [running]:
github.com/itchyny/github-migrator/migrator.groupEventsByCreated(0xc00008eea0, 0x4, 0x4, 0xc0002351c0, 0x702a60, 0xc0002351a0)
        /home/mark/RAgit/github-migrator/migrator/builder_events.go:75 +0x1b9
github.com/itchyny/github-migrator/migrator.(*builder).buildImportEventComments(0xc0004a1980, 0xc0000fb280, 0x4, 0x4, 0x6d54c0, 0xc0002771c0)
        /home/mark/RAgit/github-migrator/migrator/builder_events.go:15 +0x92
github.com/itchyny/github-migrator/migrator.(*builder).buildImportComments(0xc0004a1980, 0xc000182870, 0x9dd528, 0x0, 0x0, 0xc000130e38)
        /home/mark/RAgit/github-migrator/migrator/builder.go:151 +0x72
github.com/itchyny/github-migrator/migrator.(*builder).build(0xc0004a1980, 0x0, 0x77, 0x77)
        /home/mark/RAgit/github-migrator/migrator/builder.go:71 +0x1c7
github.com/itchyny/github-migrator/migrator.(*migrator).buildImport(0xc00020fd60, 0xc0004b4340, 0xc0003a5cc0, 0xc0000fafe0, 0x4, 0x4, 0xc00008eea0, 0x4, 0x4, 0xc00012e270, ...)
        /home/mark/RAgit/github-migrator/migrator/builder.go:43 +0x190
github.com/itchyny/github-migrator/migrator.(*migrator).migrateIssue(0xc00020fd60, 0xc0004b4340, 0xc0004a1d20, 0x0, 0x0, 0x0, 0x0)
        /home/mark/RAgit/github-migrator/migrator/issues.go:136 +0x8d8
github.com/itchyny/github-migrator/migrator.(*migrator).migrateIssues(0xc00020fd60, 0x0, 0x0)
        /home/mark/RAgit/github-migrator/migrator/issues.go:42 +0x1bc
github.com/itchyny/github-migrator/migrator.(*migrator).Migrate(0xc00020fd60, 0x14, 0x7fff11f4f169)
        /home/mark/RAgit/github-migrator/migrator/migrator.go:71 +0x2fa
main.run(0xc000114160, 0x2, 0x2, 0x44316a, 0x971fe0)
        /home/mark/RAgit/github-migrator/main.go:31 +0x96
main.main()
        /home/mark/RAgit/github-migrator/main.go:17 +0x6c

The issue is reproducible. When re-running the script, it skips a bunch of work with "already done" messages and then crashes at the  same point:
<=== 200 OK: GET: https://api.github.com/users/ghost
===> GET: https://api.github.com/users/bergie
<=== 200 OK: GET: https://api.github.com/users/bergie
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x69a399]

goroutine 1 [running]:
github.com/itchyny/github-migrator/migrator.groupEventsByCreated(0xc000242940, 0x4, 0x4, 0xc000243300, 0x702a60, 0xc0002432c0)
        /home/mark/RAgit/github-migrator/migrator/builder_events.go:75 +0x1b9
gi

Root case appears that getEventUser() can return nil in some some cases, but the code currently assumes this would never happen and crashes.

Can you paste the issue number?

@itchyny I'm not sure what you mean. There is only one issue and it is this issue, issue #1.

I'm attempting a patch now, but I'm learning Go at the same time, so results may be mixed.

Which issue in bergie/passport-saml causes the panic?

I can't see that in the output. I looked for a debug or verbose option and didn't see one. The last user mentioned is bergie, the original author and project owner.

I have admin access on the repo, but not owner access, if that makes a difference.

This patch helped get past the immediate error, but it crashes later at a different point in the code, apparently due to another lack of nil checking.
diff --git a/migrator/builder_events.go b/migrator/builder_events.go
index 302810a..9b6fa2a 100644
--- a/migrator/builder_events.go
+++ b/migrator/builder_events.go
@@ -72,7 +72,8 @@ func groupEventsByCreated(xs []*github.Event) [][]*github.Event {
        for _, x := range xs {
                var appended bool
                for i, es := range ess {
-                       if getEventUser(es[0]).Login == getEventUser(x).Login &&
+                       if getEventUser(es[0]) != nil &&
+        getEventUser(es[0]).Login == getEventUser(x).Login &&
                                nearTime(es[0].CreatedAt, x.CreatedAt) &&
                                eventGroupTypes[es[0].Event] == eventGroupTypes[x.Event] {
                                ess[i] = append(ess[i], x)

I'm looking at the second case now.

Here's the second issue:
<=== 404 Not Found: GET: https://api.github.com/users/Herbert%20Voj%C4%8D%C3%ADk

The name is "Herbert Vojčík ".
That doesn't look like a Github username to me.
This may be a different kind of bug.

I only find "Herbert Vojčík" mentioned in the package.json. I can't find any other mentions in the project, nor any user on Github that matches that name.

It seems that still fails due to https://github.com/bergie/passport-saml/pull/15/commits/3ba015843757bde81127b30bf2ec27250c0f773d.

Yes, I confirm it fixes the first failure I ran into, but there's another. I'll open a new issue for it.


how to run it?

do you have any examples how to run it? i see no .html only js files here?

This repo is only a JS module so it generates a bracket string and then it'd be up to different code (that isn't part of the module) to generate HTML from that.


nhost-cli: 1.18.2 -> 1.18.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/nhost/cli/releases.
meta.description for nhost-cli is: A tool for setting up a local development environment for Nhost
meta.homepage for nhost-cli is: https://github.com/nhost/cli
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.18.3 with grep in /nix/store/02a3g7zrcj52zah1rn4zrd7l0nj3g7wj-nhost-cli-1.18.3
found 1.18.3 in filename of file in /nix/store/02a3g7zrcj52zah1rn4zrd7l0nj3g7wj-nhost-cli-1.18.3

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

nhost-cli

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/02a3g7zrcj52zah1rn4zrd7l0nj3g7wj-nhost-cli-1.18.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A nhost-cli https://github.com/r-ryantm/nixpkgs/archive/492c47de9d837ff446337613483f966893570b4c.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/492c47de9d837ff446337613483f966893570b4c#nhost-cli

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/02a3g7zrcj52zah1rn4zrd7l0nj3g7wj-nhost-cli-1.18.3
ls -la /nix/store/02a3g7zrcj52zah1rn4zrd7l0nj3g7wj-nhost-cli-1.18.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

nhost-cli

Maintainer pings
cc @Moraxyc for testing.

@NixOS/nixpkgs-merge-bot merge


Kogan SmarterHome™ 1.7L Smart Glass Kettle

Any chance of getting any of the kogan smarterhome range into tuya2 intergration. its the only reason i am staying with the V1
https://www.kogan.com/au/buy/kogan-smarterhome-17l-smart-glass-kettle/
model: "KASMCDSKTLA",
name: "Kogan smart kettle",
2021-07-04 15:43:59 DEBUG (Thread-8) [tuya iot] connecting ssl://m1.tuyaeu.com:8883
2021-07-04 15:44:00 DEBUG (SyncWorker_6) [tuya iot] Response: {
"result": [
{
"active_time":<PHONE_NUMBER>,
"biz_type": 0,
"category": "bh",
"create_time":<PHONE_NUMBER>,
"icon": "smart/icon/1556262669dq8dq3rifuv_0.png",
"id": "7312002040f5201c02cc",
"ip": "XXXXXXXXXX",
"lat": "XXXXXX",
"local_key": "XXXXXX",
"lon": "XXXXXXX",
"model": "KASMCDSKTLA",
"name": "Kogan smart kettle",
"online": true,
"owner_id": "23484236",
"product_id": "GXoLAzy1gQUbckKe",
"product_name": "Kogan smart kettle",
"status": [
{
"code": "start",
"value": false
}
],
"sub": false,
"time_zone": "+10:00",
"uid": "eu1609970476224VfVbf",
"update_time":<PHONE_NUMBER>,
"uuid": "7312002040f5201c02cc"
},
Device Info
2021-07-04 15:44:00 DEBUG (SyncWorker_6) [tuya iot] Request: method = GET, url = https://openapi.tuyaeu.com/v1.0/devices/7312002040f5201c02cc/specifications, params = None, body = None, headers = {'client_id': 'xxxxxxx', 'sign': 'xxxxxx', 'sign_method': 'HMAC-SHA256', 'access_token': 'xxxx', 't': '1625377440649', 'lang': 'en'}
2021-07-04 15:44:00 DEBUG (Thread-8) [tuya iot] _on_log: Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b'cloud_xxxxx'
2021-07-04 15:44:01 DEBUG (Thread-9) [tuya iot] _on_log: Received CONNACK (0, 0)
2021-07-04 15:44:01 DEBUG (Thread-9) [tuya iot] connect flags->{'session present': 0}, rc->0
2021-07-04 15:44:01 DEBUG (Thread-9) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/ebc1d658bf210987387c9f4d12782ce2', 0)]
2021-07-04 15:44:01 DEBUG (SyncWorker_6) [tuya iot] Response: {
"result": {
"category": "bh",
"functions": [
{
"code": "start",
"type": "Boolean",
"values": "{}"
}
],
"status": [
{
"code": "start",
"type": "Boolean",
"values": "{}"
}
]
},
"success": true,
"t":<PHONE_NUMBER>886
}

Yes please! I came on here to ask the same thing! I would also like to add the ability in V2 to be able select the "keep warm" temperatures as you can in the app.

Hey guys.
I have created a pull request to add support for the kettle (I own one of these kogan ones too and I love it! ).  :)

@tsutsuku. Seeking your advice on how the status set for product id: GXoLAzy1gQUbckKe works. In the app we have greater control of the device. Setting keep warm temps as well as current temp. When I look at the instruction set and status set for the device, none of it is there. Just the status "start" item. Is there something I am missing? Thought you may be able to see more in the back end on how the product is working.

@tsutsuku, as @frankosborne stated above, within the kogan and tuya apps there is greater control of the kettle such as keep warm and current temp. is this something that would be able to be road mapped in future updates of the component.
i have just manually loaded the files that were changed 2 hrs ago and the kettle is now detected and working with on/off in HA

I've got the same issue however my Tuya V2 version already has the modified code but the Kettle is not discovered. In my backend cloud account, I can see my two devices; my Kogan Panel Heater and the Kogan Kettle but both Tuya V2 and Google Home, only see the panel heater. Oddly, when adding Smart Life to Alexa, it can see both.
TUYA_SUPPORT_TYPE = {
    "kg",     # Switch
    "cz",     # Socket
    "pc",     # Power Strip
    "bh",     # Smart Kettle
    "dlq",    # Breaker
    "cwysj",  # Pet Water Feeder
    "kj",     # Air Purifier
    "xxj"     # Diffuser
}

# Switch(kg), Socket(cz), Power Strip(pc)
# https://developer.tuya.com/en/docs/iot/categorykgczpc?id=Kaiuz08zj1l4y
DPCODE_SWITCH = "switch"

# Air Purifier
# https://developer.tuya.com/en/docs/iot/categorykj?id=Kaiuz1atqo5l7
# Pet Water Feeder
# https://developer.tuya.com/en/docs/iot/f?id=K9gf46aewxem5
DPCODE_ANION = "anion"        # Air Purifier - Ionizer unit
# Air Purifier - Filter cartridge resetting; Pet Water Feeder - Filter cartridge resetting
DPCODE_FRESET = "filter_reset"
DPCODE_LIGHT = "light"        # Air Purifier - Light
DPCODE_LOCK = "lock"         # Air Purifier - Child lock
# Air Purifier - UV sterilization; Pet Water Feeder - UV sterilization
DPCODE_UV = "uv"
DPCODE_WET = "wet"          # Air Purifier - Humidification unit
DPCODE_PRESET = "pump_reset"   # Pet Water Feeder - Water pump resetting
DPCODE_WRESET = "water_reset"  # Pet Water Feeder - Resetting of water usage days

DPCODE_START = "start"


docs build needs environment installation (graphviz error)

I tried building the docs, but was met with a graphviz error. Typically this means I can spend a few hours pecking away at the dependencies until I get stable build... or someone that has it working can export their environment, and publish an environment.yml that we can use with the build instructions.
I was going off of the d2l book since that's a dep here, but their environment.yml seems incompatible since I must work with Python 3.7 due to the MXNet pip wheel for Mac, and the environment doesn't mention graphviz. Which, by the way, I recommend not using at all because of issues I ran up against trying to get some tutorials working on Windows. Graphviz seems to have dropped caring about Windows. Separate issues, but if we can maybe keep things to matplotlib, we might have an easier time making things cross-platform and keeping the dependencies manageable.

https://github.com/awslabs/autogluon/blob/master/docs/build.yml


Irritating and distracting unneeded confirmation

In the Edit Taxon Name module,
in the submodule Original combination and classification

Every time I want to change the combination I have to press the red trashcan icon, which I find weird to begin with, but the real issue here is this useless confirmatory message which forces me to deviate from what I'm doing to go up and press "yes" -- multiply this for hundreds of times.... how much time spoiled.

What seems to be the alternative here?
-- No, I'm just a crazy person randomly pressing keys?
Therefore I humbly suggest, if I may, that you remove this confirmatory message. All 5 people in my project think the same way... We think it is a counter-productivity tool.

@adrik29 thanks for the insight.  Are you thinking about all confirmation dialogs, or just this original combination dialog specifically?

If implemented, only as a user preference. I would say, if the database is well maintained, the delete is relatively rare action. We started with the interface without confirmation. Everything was deletable in a single mouse click. I run into the problem, that occasionally I delete something, not intentionally. just clicking in a wrong area (you know the buttons close to each other and the mouse cursor slides), and after deletion, I realize that I do not know what is deleted. Unless there is an implementation, to revert every single deletion, I would prefer to keep the confirmation. With the revert mechanism, I would agree, that delete without confirmation is much more convenient. Besides, we have slightly different behavior in different parts of the system, which adds additional confusion. In some places delete means deleting the object in the database. In some other places, it is related to editing, for example in the pin board removing default property from the selection. Removing the default does not remove the object. And you can also click the same button again, and restore the default condition. The same for untag and tag back the object. You can repeat it several times. Deleting the original combination, on the other hand is not reversible. I would strongly oppose removing the confirmation.

Second bit- There should be no confusion about delete functionality.  Red means touch a database and remove a record (default on current record), Green means touch a database and add data, everything else does not touch the database.
First bit- is tricky.  There is a strong argument for optimizing the application to getting new data towards stable, rather than mantaining stable.  Stable data will also have fewer edit operations in general.  Your data are exceptional @proceps, new sets like @adrik29 are going to be more likely?

Folowup to @adrik29 do you know you can drag/drop the names up and down in that tool rather than destroying and re-creating?

Look Three buttons. All of them red (meaning deletable from the database). But in case of first 2, I can delete and restore, but in case of the third one, it is permanently out of the database. This is a huge difference. The interface originally had no confirmation for any delete action. It was extremely difficult for me. Yes in most of the cases it does not matter, I remember what I deleted, and could just search and restore, but few time, I had to go and find a catalog to restore the relationship, and in few instances, it was not trivial. The win win solution would be to implement some kind of delete cashing, and if you delete something by mistake, you can restore it. But I understand it is not trivial. Not in all cases. In some cases the delete is cascading. For example citations do not prevent objects from being deleted. Few times I deleted the distribution record with several citations attached to it, and this is already something which is not that trivial to restore. One can delete an object with citations, identifiers, notes, tags, etc. And you do not even notice that you delete those.

Yes, @mjy made a good point, in most cases editing of the original combination for me is moving taxon from genus to the subgenus. it is the same taxon name. So you can just drag the name one line down. The same for the taxon authors, if you want to change the order, you can just drag and drop.

I see the distinction @proceps, thanks.  I'm hoping @adrik29 just didn't know a bout the drag drop :)

Thanks for all the hints. In the case of our project "Opiliones of the World" there is a particularity:
We started up by importing a spreadsheet containing names and authorship, but the author and dates act as placeholders, and we have to as I say "kill the placeholders", replacing them for real connections, real sources, with real people.
What often happens: we have a species originally described in genus Aus, but which is currently in genus Bus.
For example:

In my database we had Ventrivomer ancyrophorus (Butler, 1873), but we know we should insert Gonyleptes as the original genus.
Then I just go to Edit taxon name > Original combination and classification, here:

As far as I know I cannot write or paste the name Gonyleptes in the form, rather I have to hit the "set as current" button so I am able to somehow interact with the form.
Then I have this:

And now I can edit. Maybe I'm missing something here.
But this is the part where I mentioned I'm using the red trash can because the system requires confirmation...
And after I insert the original genus, and kill the placeholder, inserting the real source the result should be this:

I wish to clarify that I'm not talking about the pinboard. I understand that the red trash can in the pinboard simply removes the shortcut and that I should should look for the green bar to see which of the items on the pinboard is the current one.
And I'm not talking about every single confirmation -- I am just talking about this specific part which seems very weird to me. Because I cannot interact with the form until I choose the "set as current" option.

You can trigger the start of the editing by dragging the name down, rather than clicking set as parent!  Then all the boxes are searchable.

Oops.... I knew there was something weird.

Now a new world unveils before my eyes.

    Basically our intent was the up/down arrow became a drag drop cue anywhere in TW.  We'll try to emphasize this.  @jlpereira perhaps we can add blue circles around the arrows to indicate actionability?

Well, Matt -- the best way to learn is doing. A little bit every day, so that you get familiar with the system.
In the very beginning TW is intimidating, especially for people who don't master nomenclature concepts, as I can gather by my 4 collaborators (they are intelligent people, but who stumbled a lot with the interface).
But in time I've become very comfortable using TW, and now I can appreciate the careful attention you gave to the details.
It is a truly wonderful platform!

@mjy agree, blue button and title on mouse hover to explain this is a drag and drop input


Resizeable machine code column

Hi, I've noticed that the machine code column (when disassembling is enabled) can't be resized. Would it be possible to add that feature?
Also, the syntax highlighting is applied to comments.

Hi! We'd love to! It's unfortunate but we're (ab-)using the line number column to do this in our choice of editor (MS's monaco editor). It doesn't support this feature, unfortunately.

Mmmh... oh well.
Any idea regarding the syntax highlighting issue then?


DAO metadata

Description
This PR implements handling hardcoded DAO metadata and creates such metadata for ETH Lizzards DAO
Notes
Issue / Notion doc (if applicable)
Testing

Go to DAO dashboard page for any DAO
Observe no visual changes
Go to DAO with address 0x27feCf4E8A4394B1daC54541414b607f88c451F1
Observe magic

Screenshots (if applicable)

Holding this PR until EthLizards gives us their Safe address


Fixed #30796 -- Prevented select_related() from mutating a queryset on chaining.

Thanks Darren Maki for the report.

Thanks SImon :+1:


[Web App]: Task Delay --> Semaphore (wifi_manager)

Currently the wifi_manager is running in a 10ms xTaskDelay loop.  I bet we can set semaphores in thewifi_manager_event_handler to handle the execution of a loop instead of this delay. Same for http_server.

Looked more closely and no polling is actually happening. It's already locked on a semaphore.


How to get X11 errors as events?

I just spent way too long trying to figure out why X11 errors are silently eaten. In the end, I needed to use gdb and set a breakpoint on xcb_discard_reply. That's how I found this:
impl<'a, T: Copy + CookieSeq> Drop for Cookie<'a, T> {
    fn drop(&mut self) {
        unsafe { xcb_discard_reply(self.conn.get_raw_conn(), self.cookie.sequence()) };
    }
}

Thanks to the above, all X11 errors from unchecked requests (e.g. set_input_focus() with a non-existing window) are silently ignored unless I explicitly std::mem::forget() the cookie. That's quite surprising and totally not what I was expecting.

I added Drop on Cookie based on your suggestion ironically (https://github.com/rtbo/rust-xcb/issues/57#issuecomment-536166739).

I added Drop on Cookie based on your suggestion ironically (https://github.com/rtbo/rust-xcb/issues/57#issuecomment-536166739).

Thanks for finding that. I totally do not remember that. :-)
Okay... Meh. This is all not a good fit for the libxcb API. At least VoidCookies for unchecked requests do not need that (there it would only ignore X11 errors since there is nothing else to ignore). Checked requests and requests with a reply would cause a memory leak without the xcb_discard_reply(), as explained in #57...
Sadly, libxcb has no API for "discard the reply and treat any errors as events".

Thanks for finding that. I totally do not remember that. :-)
Okay... Meh. This is all not a good fit for the libxcb API. At least VoidCookies for unchecked requests do not need that (there it would only ignore X11 errors since there is nothing else to ignore). Checked requests and requests with a reply would cause a memory leak without the xcb_discard_reply(), as explained in #57...
Sadly, libxcb has no API for "discard the reply and treat any errors as events".

Thanks for opening the issue though.
My understanding of _unchecked and _checked was totally wrong until this issue came up. The difference is just two different way of dealing with errors with _checked meaning "in a blocking fashion".
I don't see an easy fix though.

Thanks for opening the issue though.
My understanding of _unchecked and _checked was totally wrong until this issue came up. The difference is just two different way of dealing with errors with _checked meaning "in a blocking fashion".
I don't see an easy fix though.

The difference is just two different way of dealing with errors with _checked meaning "in a blocking fashion".

Since I believe this explanation could be improved/extended:

When an X11 error occurs with an unchecked request, you get the error as an X11 event from xcb_wait_for_event() or xcb_poll_for_event().

For requests without a reply, there is not much more to say here, I think

I am not sure what happens when one calls xcb_request_check() anyway. It might be that this behaves similarly to what happens in the following point (checked requests with a reply)

For requests with a reply... uhm... I'm not quite sure. It might be that when you call the *_reply() function, you still get the error (if it was not already returned as an event)

When an X11 error occurs with a checked request, you get the error when you check for the reply.

For requests without a reply, you have to explicitly call xcb_request_check().
For requests with a reply, there is not much more to say here: The *_reply() function gives you the error.

Then there is the default:

Requests without a reply default to unchecked and have a foo_checked() function for sending a checked request
Requests with a reply default to checked and have a foo_unchecked() function for sending an unchecked request

The *_reply() and xcb_check_request() functions are blocking in that they read from the X11 server until they "find what they are looking for".

The difference is just two different way of dealing with errors with _checked meaning "in a blocking fashion".

Since I believe this explanation could be improved/extended:

When an X11 error occurs with an unchecked request, you get the error as an X11 event from xcb_wait_for_event() or xcb_poll_for_event().

For requests without a reply, there is not much more to say here, I think

I am not sure what happens when one calls xcb_request_check() anyway. It might be that this behaves similarly to what happens in the following point (checked requests with a reply)

For requests with a reply... uhm... I'm not quite sure. It might be that when you call the *_reply() function, you still get the error (if it was not already returned as an event)

When an X11 error occurs with a checked request, you get the error when you check for the reply.

For requests without a reply, you have to explicitly call xcb_request_check().
For requests with a reply, there is not much more to say here: The *_reply() function gives you the error.

Then there is the default:

Requests without a reply default to unchecked and have a foo_checked() function for sending a checked request
Requests with a reply default to checked and have a foo_unchecked() function for sending an unchecked request

The *_reply() and xcb_check_request() functions are blocking in that they read from the X11 server until they "find what they are looking for".

v1.0.0 is released.


Add support for Enum value options

Per protobuf specification, options are allowed for enum values:
https://developers.google.com/protocol-buffers/docs/reference/proto3-spec#enum_definition

Resolved, see above PR


Removing Markers Without Click

Hi there,
I am using react-google-maps with a GPS tracker to keep track of where a boat is. At the moment I am just placing markers and then removing and placing a new one when I need to update the position.
Is there a way to change the lat and lon of a current marker defined in state and show it on the map, or do I have to delete and recreate a marker? If I do need to recreate markers, how can I delete one? I tried using the script from the example (on the handleMarkerRightclick) but I am struggling to use it outside of the handleMarkerRightclick.
Ideally I'd like to have a marker with the same name to reference it by - like 'taxi1' - So I can delete taxi1 then create taxi1.
Thanks.

Here is the code I have already been trying:
componentDidMount() {     const socket = io('localhost:3000');     socket.on('receiveCoord', function(givenCoords) {       console.log('Coordinates received clientside: LAT: ' + givenCoords.lat + ', LON: ' + givenCoords.lon);       //REMOVE LAST MARKER       const targetMarker =taxi1;       const lastMarkers = this.state.markers.filter(marker => marker !== targetMarker);       this.setState({         markers: lastMarkers,       });       //ADD NEW MARKER       const nextMarkers = [         ...this.state.markers,         {           position: { lat: givenCoords.lat, lng: givenCoords.lon },           defaultAnimation: 2,           key: Date.now(), // Add a key property for: http://fb.me/react-warning-keys         },       ];       this.setState({         markers: nextMarkers,       });       console.log('SET STATE!');     }.bind(this));   }

Here the bit of code I have been trying (and failing with).

@reeceaw you just need to call setState once:
componentDidMount() {
  const socket = io('localhost:3000');
  socket.on('receiveCoord', function(givenCoords) {
    console.log('Coordinates received clientside: LAT: ' + givenCoords.lat + ', LON: ' + givenCoords.lon);
    //REMOVE LAST MARKER
    const targetMarker = taxi1;
    const lastNewMarkers = this.state.markers.filter(marker => marker !== targetMarker);
    //ADD NEW MARKER
    const nextMarkers = [
      ...lastNewMarkers,
      {
        position: { lat: givenCoords.lat, lng: givenCoords.lon },
        defaultAnimation: 2,
        key: Date.now(), // Add a key property for: http://fb.me/react-warning-keys
      },
    ];
    this.setState({
      markers: nextMarkers,
    });
    console.log('SET STATE!');
  }.bind(this));
}

Please ask on StackOverflow instead in the future. This is not related to react-google-maps but only react.

Thanks for the help @tomchentw


WIP: Check macOS problem [skip azp] [skip circle]

First let's see which command is actually hanging
Closes #10805

The failure is trying to call to the C functions at all:
++ popd
++ mne_process_raw --version
Error: The operation was canceled.

For now let's just not install these on macOS


[Suggestion]Run in Flask

The script could run on the web server allowing one to enter the location in the map or clicking in the map to go there.

Be careful with clicking around maps.. With ingress Niantic monitored how fast players moved and if you had too many quick moves you'd get banned
i think the map is good to watch the bot move and see whats around it and maybe suggest pokemon/stops to hit

@mzupan bot movement is already watchable through a map.

@douglascamata With a web server in place the script can be run via a browser (as a frontend for the script).
For example clicking on Pokemon a on a filter and only showing those pokemon in the map. One could then click on them and walk to them.
There can be plenty of cool features implemented like this.

@douglascamata i'd rather run it in flask and open a port.. there's a lot more we can do other then some static work.. you can actually have a control plane via the web for the bot instead of dropping json files all over the place for the two to interact.

@mzupan This is exactly what I mean


 In this pr, I tried to explore to possibility of accurate dirty data archive for jdbc by modifying the executors. The modifications are well-tested and stable in most cases, and in other cases it will give a warning "jdbc enhance failed for class:{}", and won't affect normal code.
Modification
Support dirty data accurate archive by using reflection to replace some kinds of executors, and replace the tablesimplestatementexecutor with one that adds metrics.
To-do and to-improve
1.There are 8 total implementations of flink-cdc-executors.
The currently supported sink executor types are:
TableBufferedStatementExecutor
TableBufferReducedStatementExecutor
TableSimpleStatementExecutor
unsupported executor types: (will not archive dirty data, but will not break code)
KeyedBatchStatementExecutor
NoOPStatementExecutor
TableInsertOrUpdateStatementExecutor
no need to support:
InsertOrUpdateJdbcExecutor (TableInsertOrUpdateStatementExecutor is enough)
SimpleBatchStatementExecutor (TableSimpleStatementExecutor is enough)
2.This pr uses Java reflection depending on flink-cdc-connectors. This design can be improved by introducing the executors into Inlong-jdbc-connector, and modifying the builder to directly change the executor class, instead of doing all this reflection. Also, throughput can increase by refactoring too.
Even Though this pr still has imperfections, I think it can be merged for the following reasons:

This pr can support all the common cases of JDBC dirty data archive, and can support more in the future.
For cases where it does not support, it will not cause exceptions, but simply give a warning and go on.
This will not slow down the existing code and normal data integration.

@gong  @yunqingmoswu  Thanks for the review. I've addressed your comments.

@Yizhou-Yang pls resolve conflict


Builder solc downloads

Download and cache the various versions of solc when creating
the builder image (rather than at runtime).
Changes to be committed:
modified:   docker/Dockerfile.boba_deployer
modified:   docker/Dockerfile.monorepo

Codecov Report

Merging #435 (af13498) into develop (06b8a6e) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head af13498 differs from pull request most recent head e35fd5e. Consider uploading reports for the commit e35fd5e to get more accurate results

@@           Coverage Diff            @@
##           develop     #435   +/-   ##
========================================
  Coverage    73.61%   73.61%
========================================
  Files           59       59
  Lines         1789     1789
  Branches       272      272
========================================
  Hits          1317     1317
  Misses         472      472

Flag
Coverage Δ

contracts
87.18% <ø> (ø)

core-utils
53.79% <ø> (ø)

data-transport-layer
32.91% <ø> (ø)

message-relayer
83.17% <ø> (ø)

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

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 06b8a6e...e35fd5e. Read the comment docs.

Looks great! This is assuring to know about hardhat's use of the solc binaries. Thanks for pointing it out


how to get username?

@tunm1228  see http://www.digitaldomo.nl/philips-hue-verlichting/hue-api-gebruiker-aanmaken/ (in dutch, but you should be able to follow).

There are good instructions in English here:
https://raspberrytips.com/control-lights-raspberry-pi/


Use onSurface and onSurfaceVariant

I wrong selecting MaterialTheme.colorScheme

Codecov Report
Base: 23.60% // Head: 23.60% // No change to project coverage :thumbsup:

Coverage data is based on head (b464609) compared to base (2ac9a15).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #239   +/-   ##
=========================================
  Coverage     23.60%   23.60%
  Complexity       36       36
=========================================
  Files            58       58
  Lines          1004     1004
  Branches        172      172
=========================================
  Hits            237      237
  Misses          764      764
  Partials          3        3

Impacted Files
Coverage Δ

...mplate/compose/home/listitem/GitHubRepoListItem.kt
0.00% <0.00%> (ø)

...usu/template/compose/info/listitem/InfoListItem.kt
0.00% <0.00%> (ø)

...main/java/com/tfandkusu/template/ui/theme/Color.kt
0.00% <ø> (ø)

...java/com/tfandkusu/template/view/error/ApiError.kt
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


"python -m pdb …" is broken

In case I run python -m pdb ... I see the old pdb prompt not (pdb++).
I guess this is related to the recent changes in Python 3.7 to offer a builtin breakpoint function. If I use breakpoint() instead of import pdb; pdb.set_trace() the (pdb++) appears.

I've release 0.9.5 with this fix now: https://pypi.org/project/pdbpp/


Allow new org so that they can use splunk

What
We've had a request to enable splunk for this org. We need to add it to the allow list too
How to review
Name of the org matches cs-conclave-evidence-locker?

🚨⚠ Please do not merge this pull request via the GitHub UI ⚠🚨

Amazing. Thank you


Max items ?

Hello, I'm trying to add a method to display a list of selectable texture in a window with imageButtons. But when there are more than 125 buttons in the window, buttons (with an index > 125) don't react to the click. I tried to use a withId (index) to make sure they have a different id but it doesn't change anything. Thanks to you, Catvert.

Salut!
I set a deep of integers to 100, maybe it's that (125 looks weird..)
Anyway, I increases to 500
pull again and let me know :)
Ps: cool screenshot! Once you reach a nice point, would you like to share it in a gallery?

I thought the problem had to be internal!
Of course, as soon as I have a satisfying result, I will share screenshots!
Thanks again !

Hi, I didn't check if the patch worked but apparently it doesn't work, I still have the same problem.

Uhm, I should debug that, is it always the same project? How can I reach that menu?

Yes, It's in Platform-Creator, the code is situate in the last commit to the components/graphics/AtlasComponent.kt line 307, and in the game, open the game, click on the button Jouer then on the button Nouveau then click on Créer. Now in the editor, left click on the player, it should open a properties gameobject window, then open the collapsing header components, select the AtlasComponent then click on the Éditer button. It should open a window and in it just expand the collapsing header Ressources. You will now have the image buttons to change the texture of the gameobject, when there is a large number of image button, for example in the pack "elements", buttons with an index greater than ~ 100 no longer respond to the click. I hope I have been clear enough, if you have questions I am here. Thanks

Thanks for description, it was useful.
Anyway, problem had to do with the fact that
System.identityHashCode(++ptrIndices)
where
var ptrIndices = 0
didn't return always the same value for integers bigger than 125
I have no idea why, but I tested using bytes instead and it works (please don't ask why ^^, I'll open an issue on stackOverflow maybe)
Anyway, I don't have the possibility to test it now, so if you can I'm looking forward to know if it does work for you

I tested and the solution seemed to work but I then encounter another problem when there are more than 256 buttons, I get:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 256
   at imgui.internal.Window.getId(classes.kt:505)
   at imgui.imgui.imgui_idScopes$DefaultImpls.pushId(idScopes.kt:19)
   at imgui.ImGui.pushId(imgui.kt:29)
   at imgui.imgui.imgui_widgetsMain$DefaultImpls.imageButton(widgetsMain.kt:115)
   at imgui.ImGui.imageButton(imgui.kt:29)
   at imgui.imgui.imgui_widgetsMain$DefaultImpls.imageButton$default(widgetsMain.kt:108)

I don't know if this problem is voluntary or not, but I can't find an effective way to fix it, I've tried to create a group every time there are more than 256 items but I still have this error that happens.

Doubled the size to 512, is it enough?

Yes it's perfect !  it works like a charm :)

Excellent 👍

I have another question while we're at it ahah, when do you think the inputText will work? What's your problem with it? :)

I have another question while we're at it ahah,

sure dear ^^

when do you think the inputText will work? What's your problem with it? :)

:D I need to find time to seriously drive deep inside it, however if you point me out simple dead bugs I might be try to focus on that singularly at the moment (step by step)

Of course, I'd be happy to help you! I use a lot of inputText in my game so I can easily find some bugs. Do you want me to open a new issue to discuss in this one? :)

As you prefer, although maybe a separate issue may be more useful to distinguish from other ones and be easier to be tracked by users

Yeah, that's what I thought.


fix(consumer): Don't compare node contents during tree update

I'm making this change for two reasons:

Comparing instances of the current, huge Node struct is expensive. Eliminating this comparison reduces the size of the Windows example by several kilobytes, whether optimizing for speed or size.
When I implement the transition to a Node trait, comparing across implementations of that trait would be even more expensive, since it would require dynamically dispatched method calls for every property.

This change does eliminate an optimization for immediate-mode GUIs. But honestly, sending a whole tree for every frame isn't good enough for performance anyway; if nothing else, it wastes memory allocations. So I think toolkits will just have to do their own optimizations to avoid sending full trees unnecessarily.

Indeed, this was one of my concerns. If you plan on releasing a new version before switching to a trait, I would update TreeUpdate's documentation to mention that pushing the same tree over and over is not free. Otherwise it's OK for me.


Reimplement device system

Not for merging yet

Please, this PR has 34 files, it is massive change.


Compare with category doesn't belong on the scan card

Hi @M123-dev ,
Do we have to remove it and place it somewhere else? or just remove it for now?

I'm sure it's correct there in the SummaryCard but not when the card is in the scanner the it shouldn'tbe displayed. I think there is already a bool inside the SummaryCard whether it is on the Scanner or not.

If this is free to take, please assign this to me.

Hi,
We can close this as this is fixed by #1439.


Appstudio update test-component-pac-hzqn

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-hzqn-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
20 seconds
clone-repository

✅ Succeeded
39 seconds
build-container

✅ Succeeded
24 seconds
deprecated-base-image-check

✅ Succeeded
25 seconds
sanity-inspect-image

✅ Succeeded
1 minute
clamav-scan

❌ Failed
21 seconds
clair-scan

✅ Succeeded
11 seconds
sbom-json-check

✅ Succeeded
9 seconds
show-summary

Failure reasontask clair-scan has the status "Failed":
File /tekton/home/clair-vulnerabilities.json doesn't exist

Pipelines as Code CI/test-component-pac-hzqn-on-pull-request has failed.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
20 seconds
clone-repository

✅ Succeeded
39 seconds
build-container

❌ Failed
21 seconds
clair-scan

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
25 seconds
sanity-inspect-image

✅ Succeeded
24 seconds
deprecated-base-image-check

✅ Succeeded
11 seconds
sbom-json-check

✅ Succeeded
9 seconds
show-summary

Failure reasontask clair-scan has the status "Failed":
File /tekton/home/clair-vulnerabilities.json doesn't exist


Updating Dogecoin references in CONTRIBUTING

Someone had to do it

Much NACK - no links to subreddit and discord. Doge needs to stay decentralized.

@rainulf I didn't add those links, I believe that Github got confused when I rebased it.

Overriding Travis because it's being ridiculous at this point, given it's only a text change.


Install packages in parallel using -j/--jobs option

Allow packages to be downloaded and installed in parallel similar to compiling with make:
gdpm install -j 4 "my package"

Added here.


Das Keyboards - Q Series

Please add support for the following device:
Device Name: <Das Keyboard 4Q>
Device Website: <!https://www.daskeyboard.io/applet-development/> https://www.daskeyboard.io/

https://www.daskeyboard.io/applet-development/

I'd also love to see support for the Das Keyboard devices. I've got the 5QS and the software they provide is somewhat limited, even compared the competitors.


Brackets '[' ']' in link description cause broken org-mode link

Thank you for this great extension, it worked out of the box with my config (Debian distro).
I just had some problems with ArXiv.org links (https://arxiv.org/abs/1606.04838 for instance), because page tile:

[1606.04838] Optimization Methods for Large-Scale Machine Learning

contains [, ] brackets.
Using the org-capture-template:
(setq org-capture-templates `(

	("L" "Protocol Link" entry (file+headline ,(concat org-directory "notes.org") "Inbox")
        "* %? [[%:link][%:description]]\n")
))

returns broken org-mode link.
I used a function to convert [, ] char into (, ) to fix this:
(defun transform-square-brackets-to-round-ones(string-to-transform)
  "Transforms [ into ( and ] into ), other chars left unchanged."
  (concat
  (mapcar #'(lambda (c) (if (equal c ?[) ?\( (if (equal c ?]) ?\) c))) string-to-transform))
  )

(setq org-capture-templates `(

	("L" "Protocol Link" entry (file+headline ,(concat org-directory "notes.org") "Inbox")
        "* %? [[%:link][%(transform-square-brackets-to-round-ones \"%:description\")]]\n")
))

but I think that there is certainly better/more elegant fix.
Maybe it would be interesting to mention this potential problem in the doc (ArXiv is a widely used site)
Best,
Vincent

:-) Thanks for pointing this out!
I'm not sure there is a better solution than what you posted to be found - I believe the extension itself should send the data to emacs unmodified since various users could have different templates (i.e. the templates in the readme should be viewed as a starting point for further modification). I guess the original org link format was not designed to have links with square brackets in their descriptions.
I'll add your solution to the readme - in the future, feel free to create the PR :-)

I understand and do agree. Next time I will think of PR :-)


Multi select

It would be nice to have st.multiselect functionality 🥺
Doesn't even have to be fancy with ctrl+ selection, just  toggle like select/unselect.

okay couldn't resit so made PR https://github.com/jrieke/streamlit-pills/pull/3

@jrieke I agree that this would be a nice addition to the feature! Any chance we can merge it?
Thanks a lot @cceyda !

@vrdn-23 until it is merged you can use it by pip installing git+https://github.com/cceyda/streamlit-pills@multiselect_release#egg=streamlit-pills

+1 for the feature request suggested by @cceyda . Just now I felt it's need .
Would be great to have it implemented in the main package :)

@vrdn-23 until it is merged you can use it by pip installing git+https://github.com/cceyda/streamlit-pills@multiselect_release#egg=streamlit-pills

@cceyda thank you for sharing! Was looking for that

@cceyda  Awesome! Thank you for sharing!

Would be great to add this!

Please add this! 👍

Would be great to add this feature!

Streamlit has pills as a built-in feature now, using st.pills. See docs. Please use that instead of this component! It also supports multiselect via selection_mode="multi".


Any tips for speeding up generation?

Because of the autoregressive nature of Transformers, I know that they are fairly slow when generating new sequences from scratch, but I was wondering if you had any tips or tricks on how to do faster inference or to know if you had plans for maybe adding some of the tricks to avoid full computation, like the ones used by Huggingface https://huggingface.co/blog/accelerated-inference
Thank you very much for your amazing work!

@pabloppp Oh hey Pablo! are you using the repository in production? Yea I can make the inference fast (by adding caching of key / values, standard practice)

That would be awesome.
What I have tried to speed up
the inference in my custom implementations for autoregressive self-attention is caching the output of the self-attention at timestep T and then, in timestep T+1, passing the full keys/values but only passing the last element of the query sequence, then getting the output and concatenating it with the cache, that way each query can pay attention to the full previous sequence but we don't need to compute attention for all the previous queries when we only need the output at T+1
It looks something like this:

But I only achieved a x3 speedup 🤔
I actually needed to perform autoregressive inference in a very large dataset, and it was taking more than 1 day even with the above speedup. I am currently doing some weird custom stuff, keeping the Transformer attention layers but replacing the self-attention layers with LSTMs, which are way faster at generating sequences token by token, and with that I achieve the x10 speedup that I needed.

@pabloppp the fastest speedup you'll get is to train a vanilla transformer, and then fine-tune it with Performer linear attention https://github.com/lucidrains/performer-pytorch that's probably the penultimate trick

What do you mean by 'fine-tune'? Training a vanilla transformer, then replacing the attention layers with performer attention layers and do some more training?

Yes exactly!

I will try that, thanks! Any idea about what could be the expected speedup?

In short, it will be as fast as if you had an RNN

https://arxiv.org/abs/2006.16236

@lucidrains thanks for your awesome work! Can you explain a bit, why not training performers from scratch, why you need to train vanilla and then finetune?

@stas-sl Performers scale very efficiently at longer sequence lengths (roughly 1500+), but they lose that advantage for short sequences. This is especially true for the softmax Performer, which is the version that's directly compatible with vanilla Transformers. For the softmax Performer, the constant costs of calculating the attention can cause it to be even slower than a Transformer during training. Hope that helps!

@stas-sl What Tom said :)
@pabloppp relevant to your interests https://arxiv.org/abs/2103.13076

Awesome, thanks!

@lucidrains > I can make the inference fast (by adding caching of key / values, standard practice)
Please can you help me how to make the inference fast (by adding caching of key / values, standard practice)?

I am curious why key value can be cached? Doesn't key and value is globally changed, except for the first decoder layer, after a new id is produced?


Set vars subst

Reviewer checklist

[ ] Test coverage: stack test --coverage
[ ] Public API documentation: stack haddock
[ ] Style conformance: stylish-haskell

Major changes:

[x] matching and unification for set variables
[x] Distinctions between set variables and regular variables in free variables and substitutions

TODO:

[ ] (more) tests
[ ] variable normalization cycles: when all variables are set-variables the cycle is solvable by assigning all variables to bottom.

It looks like some things would be simplified if we had data TermLikeF = ... | VariableF (SubstVar variable) | ... instead of two distinct constructors, would you agree?

Yes, this seems like a quite nice idea.


Eclipse timings are incorrect (time zone offset issue?)

Fixed. Indeed it was stragglers from the old approach of having to explicitly compute timezone offsets in the code.


re-open -- ionic huge cache/data size issue ??

ref to this closed issue:
https://github.com/driftyco/ionic/issues/3730
unfortunately the fix  is not working ( testes on 3 android devices)
sorry to ask again but adding this line to my config.xml
preference name="xwalkCommandLine" value="--disable-cache-size=1024'"
and also i tried "zwacky" line :
preference name="xwalkCommandLine" value="--disk-cache-size=1024'"
has no effect at all on the cache/data.
again, here are my app details:
ionic version 1.1.1
For android - crosswalk 12.41.296.5
(do i need to update to crosswalk 14 to enable the cache/data feature ?)
cordova 5.4.1
i also tried adding these lines (to config.xml ) that didn't work - my cache/data keeps on getting bigger and bigger
preference name="xwalkCommandLine" value="--media-cache-size=1024"
preference name="xwalkCommandLine" value="--disable-cache"
android keeps ignoring my cache/data limits (last check, cache = 25mb, data= 10 mb)
do i need to do anything else after adding this line to my config.xml ?
the only thing that i do after adding the line is: "ionic build android"
maybe i need to update my crosswalk as well ?
thanx

Take a look at this page https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview#configure
See release notes at the end. You should be running version 1.1.0 at least of the plugin where you can set  tags on your config.xml

hi
i just checked and i am using
cordova-plugin-crosswalk-webview 1.4.0
i also tired reinstalling the plugin , so now i am using
cordova-plugin-crosswalk-webview 1.5.0
tried with regular install and with
cordova plugin add cordova-plugin-crosswalk-webview --variable XWALK_COMMANDLINE="--disk-cache-size=1024"
and my data is : 11 mb , cache: 8 mb?
my config.xml is:
preference name="webviewbounce" value="false" />
preference name="UIWebViewBounce" value="false" />
preference name="DisallowOverscroll" value="true" />
preference name="android-minSdkVersion" value="10" />
preference name="BackupWebStorage" value="none" />
preference name="SplashScreen" value="screen" />
preference name="SplashScreenDelay" value="8000" />
preference name="AutoHideSplashScreen" value="false" />
preference name="ShowSplashScreenSpinner" value="false" />
preference name="KeyboardDisplayRequiresUserAction" value="false" />
preference name="xwalkCommandLine" value="--disk-cache-size=1024" />
am i missing something ?

Hello all! Is this still an issue with the latest version of ionic? Thanks!

Hi Boten,
There are many places available for help online such as our very active Ionic community, stackoverflow, etc.
This is not an issue with the framework, so no need to keep recreating an issue.
If you're modifying your config.xml, you should make sure you are rebuilding your platform, so try cordova prepare android.
Give that a shot, and if you're still having issues please check out the community.
Thanks,
Dan


Add SplitButton and ToggleSplitButton porting over from WinUI

Would be great to add these two controls to Avalonia porting over from WinUI. I'll do this myself if I get a thumbs-up.
SplitButton

https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.splitbutton?view=winrt-19041

ToggleSplitButton

https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.togglesplitbutton?view=winrt-19041

Comparison of button controls:
https://docs.microsoft.com/en-us/windows/uwp/design/controls-and-patterns/buttons

Cool stuff! Would be happy to see these awesome buttons in Avalonia 🥰

Looks like I have a weekend project then :)

To implement this correctly it depends on #5172.
Otherwise, it should be possible to do something similar to what ComboBox already does. In the future there would likely need to be a breaking change to align the API with WinUI if/when Flyout is added to Avalonia though.

Flyouts are in progress. Hopefully can start this soon.

@robloo FYI the Flyouts PR has now been merged. Happens that https://github.com/AvaloniaUI/Avalonia/discussions/5893 reminded me of this, so I figured I may as well let you know. I'm sure they'd love to see the SplitButton and ToggleSplitButton ported over :+1:

@Splitwirez @robloo just for case, there are already ports of these controls https://github.com/amwx/FluentAvalonia/blob/master/FluentAvalonia/UI/Controls/Button/SplitButton.cs
In our case, I am not sure, if it should be in core repo or some kind of our own community toolkit.

@Splitwirez Yea, it's still on the todo list along with DropDownButton. I'll make time to finish these for 0.11. I dont have a lot of spare time these days.
@maxkatz6 The criteria for whether controls should be added directly to Avalonia is simple in my mind. If the control exists in WPF/WinUI it should be added without having to use a 3rd party library. This significantly increases developer friendliness and adoption.
.NET UI layers are undergoing significant changes over the past years but I think we are past the difficult part and it will slow down and stabilize. I dont think maintenence burden will be significant long term.

Hey, may I ask what the current state of this is? Is this still being worked?

Would you be willing to help test?

For sure, we need something like this for Application. Happy to help with testing and feedback once a PR is there 👍


DI support

Hi,
Can you please update the code to be DI compatible?
You need to prefix the directive definition like so
.directive('placeholder',['$timeout', '$document', '$interpolate', '$injector', 'placeholderSniffer', function($timeout, $document, $interpolate, $injector, placeholderSniffer) {
don't foget to add the ] at the end of the function :)

Check the dist folder.

On Jun 2, 2015, at 01:34, gilsmdt<EMAIL_ADDRESS>wrote:
Hi,
Can you please update the code to be DI compatible?
You need to prefix the directive definition like so
.directive('placeholder',['$timeout', '$document', '$interpolate', '$injector', 'placeholderSniffer', function($timeout, $document, $interpolate, $injector, placeholderSniffer) {
don't foget to add the ] at the end of the function :)
—
Reply to this email directly or view it on GitHub.

Here's a little more detail, for the people of the future. The source (lib/) uses the "implicit annotation" style, and then during the build process, ngmin transforms this into the minification-safe "inline array annotation" style that you've requested, and saves the result in the dist/ folder.


Asset import from other Cloud hosting sources

I would like to be able to import asset content stored in any of the following providers:

Box
Dropbox
Sharepoint

Possible API integrations:

http://libcloud.apache.org/ + Jython 2.7 (would likely have nasty glue code)
https://github.com/pkgcloud/pkgcloud + Node.JS on Nashorn (might work, also might have nasty glue code)
http://jclouds.apache.org/reference/providers/ + custom providers (Might require lots of work but better overall abstraction)
Other one-off solutions for each provider, similar to existing S3 implementation.  This is simpler but could also result in a lot of fragmentation of the code base.

Other existing unified API solutions are not compatible with the Apache license.


Swipe function in iOS Help

Hello Everyone, I need one Help
I want to use top to bottom and bottom to up swipe/Scroll gesture in my Project
Can any one tell me how to to do this using Touchaction? @imurchie

Please visit the appium discourse forums at discuss.appium.io for help.


Send success result for AlarmService.initialized method call

LGTM, thanks.
Make sure to update the changelog and bump the version before submitting.

I have some other changes for this plugin that should be going in shortly, so I'll hold off bumping the version for now and include this change in that release, particularly since this change shouldn't actually change any behavior for users.


FastAPI over Flask

What about change Flask to FastAPI?

Why should i think changing to fastapi? Flask has more stars!

FastAPI now has more stars.

still, like flask more!


Added function for scroll_to

All Submissions:

[ ] Have you followed the guidelines stated in CONTRIBUTING.md file?
[ ] Have you checked to ensure there aren't any other open Pull Requests for the desired changed?

Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

New Feature Submission:

[x] Does your submission pass the tests?
[ ] Have you linted your code locally prior to submission?

Changes To Core Features:

[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your core changes, as applicable?
[x] Have you successfully ran tests with your changes locally?

After these steps, you're ready to open a pull request.
a. Give a descriptive title to your PR.

b. Describe your changes.

c. Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such).

fixes #2834

close #2834

when i run python ./scripts/pyi_generator.py  to generate the component (the CI build fails with that error as well )
, i get the below error

supersede by #2948


counts summary section on overview

I'm thinking we can display some of the counts data (abbreviated) on the Overview page.  Category data like:

radiant/dire and winrate on each
most played gamemode and winrate
winrate and matches played in most recent patch
top 3 regions and winrate

We can make the counts API call (like we do for peers, heroes, and matches) and then just display a subset of the data.

@howardchung, what's need change in pr #756?
Can I'll add this data in second column on the bottom?


App wont build using Google Map iOS

Bug report

Summary

After following the install instructions for iOS attempted to run the app in the XCODE simulator. If the install instruction code is present the app will not build.
Environment info
  react-native: "~0.63.4"
  react: "16.13.1"
  react-native-maps: "0.30.1"
  Target Platform: eg: iOS - 15.2 Simulator/iPhone 11 (trying to use googleMaps)
  XCODE: Version 13.2.1 (13C100)

react-native info output:
# paste your react, react-native, react-native-maps versions here
"_swift_willThrow", referenced from:
      GoogleMapsUtils.HeatMapInterpolationPoints.generatePoints(influence: Swift.Double, granularity: Swift.Double) throws -> [__C.GMUWeightedLatLng] in libGoogle-Maps-iOS-Utils.a(HeatMapInterpolationPoints.o)
  "Swift.Array.init() -> [A]", referenced from:
      variable initialization expression of GoogleMapsUtils.HeatMapInterpolationPoints.(data in _085340145A7263942932318178DB6148) : [__C.GMUWeightedLatLng] in libGoogle-Maps-iOS-Utils.a(HeatMapInterpolationPoints.o)
      variable initialization expression of GoogleMapsUtils.HeatMapInterpolationPoints.(heatMapPoints in _085340145A7263942932318178DB6148) : [__C.GMUWeightedLatLng] in libGoogle-Maps-iOS-Utils.a(HeatMapInterpolationPoints.o)
      GoogleMapsUtils.HeatMapInterpolationPoints.init(givenClusterIterations: Swift.Int) -> GoogleMapsUtils.HeatMapInterpolationPoints in libGoogle-Maps-iOS-Utils.a(HeatMapInterpolationPoints.o)
      GoogleMapsUtils.HeatMapInterpolationPoints.(kcluster in _085340145A7263942932318178DB6148)() -> [[__C.CLLocationCoordinate2D]] in libGoogle-Maps-iOS-Utils.a(HeatMapInterpolationPoints.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **

Steps to reproduce

set up pod file per instructions

require_relative '../node_modules/react-native-unimodules/cocoapods.rb'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '11.0'

target 'app' do
  use_unimodules!
  config = use_native_modules!

  # React Native Maps dependencies
  rn_maps_path = '../node_modules/react-native-maps'
  pod 'react-native-google-maps', :path => rn_maps_path

  use_react_native!(:path => config["reactNativePath"])

  permissions_path = '../node_modules/react-native-permissions/ios'
  pod 'Permission-LocationAlways', :path => "#{permissions_path}/LocationAlways"

  # Uncomment to opt-in to using Flipper
  #
  # if !ENV['CI']
  #   use_flipper!('Flipper' => '0.75.1', 'Flipper-Folly' => '2.5.3', 'Flipper-RSocket' => '1.3.1')
  #   post_install do |installer|
  #     flipper_post_install(installer)
  #   end
  # end
end

add lines to AppDelegate.m resulting:

#import "RNNotifications.h"
#import "AppDelegate.h"

// ADD THIS
#if RCT_DEV
#import <React/RCTDevLoadingView.h>
#endif
// TILL HERE

#import <React/RCTBridge.h>
#import <React/RCTBundleURLProvider.h>
#import <React/RCTRootView.h>
#import <React/RCTLinkingManager.h>

#import <TSBackgroundFetch/TSBackgroundFetch.h>

#import <GoogleMaps/GoogleMaps.h>// react-native-maps

#import <UMCore/UMModuleRegistry.h>
#import <UMReactNativeAdapter/UMNativeModulesProxy.h>
#import <UMReactNativeAdapter/UMModuleRegistryAdapter.h>
#import <EXSplashScreen/EXSplashScreenService.h>
#import <UMCore/UMModuleRegistryProvider.h>

#if defined(FB_SONARKIT_ENABLED) && __has_include(<FlipperKit/FlipperClient.h>)
#import <FlipperKit/FlipperClient.h>
#import <FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h>
#import <FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h>
#import <FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h>
#import <SKIOSNetworkPlugin/SKIOSNetworkAdapter.h>
#import <FlipperKitReactPlugin/FlipperKitReactPlugin.h>

static void InitializeFlipper(UIApplication *application) {
  FlipperClient *client = [FlipperClient sharedClient];
  SKDescriptorMapper *layoutDescriptorMapper = [[SKDescriptorMapper alloc] initWithDefaults];
  [client addPlugin:[[FlipperKitLayoutPlugin alloc] initWithRootNode:application withDescriptorMapper:layoutDescriptorMapper]];
  [client addPlugin:[[FKUserDefaultsPlugin alloc] initWithSuiteName:nil]];
  [client addPlugin:[FlipperKitReactPlugin new]];
  [client addPlugin:[[FlipperKitNetworkPlugin alloc] initWithNetworkAdapter:[SKIOSNetworkAdapter new]]];
  [client start];
}
#endif

@interface AppDelegate () <RCTBridgeDelegate>

@property (nonatomic, strong) UMModuleRegistryAdapter *moduleRegistryAdapter;
@property (nonatomic, strong) NSDictionary *launchOptions;

@end

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
  [GMSServices provideAPIKey:@"KEY"]; // add this line using the api key obtained from Google Console //react-native-maps//OUR KEY
#if defined(FB_SONARKIT_ENABLED) && __has_include(<FlipperKit/FlipperClient.h>)
  InitializeFlipper(application);
#endif

  self.moduleRegistryAdapter = [[UMModuleRegistryAdapter alloc] initWithModuleRegistryProvider:[[UMModuleRegistryProvider alloc] init]];
  self.launchOptions = launchOptions;
  self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
  #ifdef DEBUG
    [self initializeReactNativeApp];
  #else
    EXUpdatesAppController *controller = [EXUpdatesAppController sharedInstance];
    controller.delegate = self;
    [controller startAndShowLaunchScreen:self.window];
  #endif

  [super application:application didFinishLaunchingWithOptions:launchOptions];

  // [REQUIRED] Register BackgroundFetch
  [[TSBackgroundFetch sharedInstance] didFinishLaunching];

  // for react-native-notifications
  [RNNotifications startMonitorNotifications]; // -> Add this line

  return YES;
}

- (RCTBridge *)initializeReactNativeApp
{
  RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:self.launchOptions];
  // THIS CONDITION
  #if RCT_DEV
    [bridge moduleForClass:[RCTDevLoadingView class]];
  #endif
  // TILL HERE
  RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge moduleName:@"main" initialProperties:nil];
  rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];

  UIViewController *rootViewController = [UIViewController new];
  rootViewController.view = rootView;
  self.window.rootViewController = rootViewController;
  [self.window makeKeyAndVisible];

  return bridge;
 }

- (NSArray<id<RCTBridgeModule>> *)extraModulesForBridge:(RCTBridge *)bridge
{
  NSArray<id<RCTBridgeModule>> *extraModules = [_moduleRegistryAdapter extraModulesForBridge:bridge];
  // If you'd like to export some custom RCTBridgeModules that are not Expo modules, add them here!
  return extraModules;
}

- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge {
 #ifdef DEBUG
  return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
 #else
  return [[EXUpdatesAppController sharedInstance] launchAssetUrl];
 #endif
}

- (void)appController:(EXUpdatesAppController *)appController didStartWithSuccess:(BOOL)success {
  appController.bridge = [self initializeReactNativeApp];
  EXSplashScreenService *splashScreenService = (EXSplashScreenService *)[UMModuleRegistryProvider getSingletonModuleForClass:[EXSplashScreenService class]];
  [splashScreenService showSplashScreenFor:self.window.rootViewController];
}

// Linking API
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options {
  return [RCTLinkingManager application:application openURL:url options:options];
}

// Universal Links
- (BOOL)application:(UIApplication *)application continueUserActivity:(nonnull NSUserActivity *)userActivity restorationHandler:(nonnull void (^)(NSArray<id<UIUserActivityRestoring>> * _Nullable))restorationHandler {
  return [RCTLinkingManager application:application
                   continueUserActivity:userActivity
                     restorationHandler:restorationHandler];
}

// for react-native-notifications
- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
  [RNNotifications didRegisterForRemoteNotificationsWithDeviceToken:deviceToken];
}
- (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error {
  [RNNotifications didFailToRegisterForRemoteNotificationsWithError:error];
}

@end

Describe what you expected to happen:

I expected to project to build and run in the simulator so I could try and make use of this package

Describe what you actually happens:

if the podfile and and AppDelegate.m code from the install staeps is present the app will not build
Tried both npm run ios and running from XCODE

Reproducible sample code

The issue is the app can not run once you add the code from the instructions, either something in the instructions is unclear, and the Prdfile or AppDelegate.m are wrong, or somthing is broken. My guess is something is unclear, but I am at a loss as to what line is wanted to be moved? Or why I need to change in XCODE for this to build

hi @kapil21. We need to keep the issue section related to bugs and feature requests. I suggest taking this question to stackoverflow or the likes :) The install instructions haven't changed for a while, so it's unlikely that this is caused by react-native-maps. If you manage to track down the issue further, feel free to open a new issue :)

Who is @kapil21? @Simon-TechForm And so this repo just ignores critical install wholes?

@russmenum my apologies, too quick on the paste. Edited my comment :)
We don't ignore issues if bug reports indicates that there's an error in the library, but your issue doesn't indicate any issue in the library. As I said, if you manage to track down the issue, please feel free to open another issue :)

Then what is the error?
If I remove this library app builds, if I install it, the Google-Maps-iOS-Utils ver it requires prevents the app building

@Simon-TechForm  this is a bug with respect to fresh installs, I am not sure what changed but at this time you cant use Google Maps on iOS following the current directions. It could be anything from a ver change of who knows... I am willing to provide whatever info is needed to track this down, as I am sure it is affecting a lot of iOS builds... But I am very confused why instead of prob the ticket is just forced closed completely unresolved or addressed?

@russmenum Lets make sure I wasn't too quick on this :)
I just tried to reproduce your issue, but I can't. I even tried to reproduce it in a<EMAIL_ADDRESS>project to be sure. It builds and runs successfully on my end.
If you are able to provide a minimal reproducible example project in a repo, I will be happy to revisit the issue :) Please make sure to provide steps for how you set up the example project.

@russmenum Lets make sure I wasn't too quick on this :)
I just tried to reproduce your issue, but I can't. I even tried to reproduce it in a<EMAIL_ADDRESS>project to be sure. It builds and runs successfully on my end.
If you are able to provide a minimal reproducible example project in a repo, I will be happy to revisit the issue :) Please make sure to provide steps for how you set up the example project.

@Simon-TechForm  cloned the project, still cant build when using Google Maps on iOS
striping out all keys and screens other than the Map.js in its most min form for a minimal reproducible example project
If this repo will build for you that would mean there is just something beyond odd in the node, xcode, or pod files that are in the .gitignore standard to an RN project. But beyond comparing between a working system set up which I do not have, and this broken one how would you even troubleshoot that? And with this being a copy from a fresh git clone that would basically rule that out anyways.
you can clone git@github.com:russmenum/mrep.git
The ``README``` documents steps I took here; and the error snip I get before it fails.
As noted this is related to Google Maps, but I am following the installation instructions and this is supposed to be supported use.

@russmenum your example repo builds and runs successfully for me as well.

If this repo will build for you that would mean there is just something beyond odd in the node, xcode, or pod files that are in the .gitignore standard to an RN project.

Yeah it definitely seems like there's something odd going on in your local env. I would suggest creating a new RN project from scratch and installing react-native-maps in that and check whether that works as expected, eg.:

npx react-native init MapsTest
Follow the installation instructions of react-native-maps

@Simon-TechForm respectfully having to restart a project from scratch just to use a library is itself a bug.
How did you build the project? Directly in XCODE or using "npm run ios"? If in XCODE what target?
What ver of XCODE? and so on? Whatever this X ingredient is, that or a lack of it is the bug...

@russmenum I'm not talking about restarting a project, I'm asking you to check whether it works in a fresh project, since the bug is only reproducible on your computer :)

@Simon-TechForm the clean test you recommend won't even let me npm install
[user_name]@iMac MapsTest %  npm install react-native-maps --save-exact
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   peer react@">= 16.0 || < 18.0" from<EMAIL_ADDRESS>npm ERR!   node_modules/react-native-maps
npm ERR!     react-native-maps@"*" from the root project
npm ERR!   2 more (react-native, react-native-web)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/react-dom
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/react-native-web
npm ERR!     peer react-native-web@">= 0.11" from<EMAIL_ADDRESS>npm ERR!     node_modules/react-native-maps
npm ERR!       react-native-maps@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/[user_name]/.npm/eresolve-report.txt for a full report.

npm ERR!      /Users/[user_name]/.npm/_logs/2022-04-14T18_41_45_442Z-debug.log
[user_name]@iMac MapsTest %

17.0.2 seems to be in the target range so very confused? And it at least completed this step on the project that was 16.13.1
I literally only done:

npx react-native init MapsTest
cd MapsTest
npm run ios to test that it built right
closed the app
and now npm install react-native-maps --save-exact

So this is as clean fresh start as you can get

@russmenum yeah, this is caused by https://github.com/react-native-maps/react-native-maps/issues/4167. You should be able to install with the --force flag without issues :)

Not sure why but it builds, but it is still using Apple Maps, not Google

@russmenum  Make sure to apply the provider="google" prop.

@Simon-TechForm any idea where to look for what is different? While this runs, it does not really fix the problem, unless this app is completely rebuilt on this new base from scratch.
There is clearly some change here that needs to be spliced over, but nothing obvious. And it is still beyond odd that the same code will run on your system, but not this one. I would also expect a core system config issue to persist even on a fresh build like this.
That it is not doing so makes it even more strange that you can DL the same repo as me but it runs for you and not me?

@russmenum since you're able to build in a fresh install, you've most likely ruled out system settings, xcode version etc, and probably narrowed it down to something project specific. Since I'm able to build and run the exact same code, I would suspect that cleaning out the project completely, reinstalling everything might fix it. The easiest way to test that is probably to clone your own repo into a new folder and install/build/run in the new folder.

@Simon-TechForm that is basically how I made the MREP

Fresh clone of this app repo to a separate dir
copied everything but .git to the MREP
npm install
cd ios
pod install
cd ..
npm run ios

Before I committed the change to MREP I removed all the things listed above, so the keys and what not would not be on that GIT. But I am at a complete loss how a "something project specific" error would carry overdoing that where it would not run here, but run for you there?
I even fresh cloned the git@github.com:russmenum/mrep.git to a separate dir and did nothing but:

npm install
cd ios
pod install
cd ..
npm run ios

And this link error on npm run ios presisited.

@russmenum are you currenly on an Intel or M1 mac?

@Simon-TechForm I have both. Today am on an Intel one.

@russmenum Okay. I'm also currently on an Intel one, so that doesn't explain why it doesn't build on your end.

@Simon-TechForm
While I still get
      GoogleMapsUtils.HeatMapInterpolationPoints.(kcluster in _085340145A7263942932318178DB6148)() -> [[__C.CLLocationCoordinate2D]] in libGoogle-Maps-iOS-Utils.a(HeatMapInterpolationPoints.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

It looks like the build may keep running past that? It goes on to

/Users/[user_name]/github/test-mrep/FRD-Clone/fr-driver-track-app/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'boost-for-react-native' from project 'Pods')
/Users/[user_name]/github/test-mrep/FRD-Clone/fr-driver-track-app/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'react-native-notifications' from project 'Pods')
/Users/[user_name]/github/test-mrep/FRD-Clone/fr-driver-track-app/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'react-native-maps' from project 'Pods')
/Users/[user_name]/github/test-mrep/FRD-Clone/fr-driver-track-app/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'RNBackgroundFetch' from project 'Pods')
/Users/[user_name]/github/test-mrep/FRD-Clone/fr-driver-track-app/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'react-native-google-maps' from project 'Pods')

** BUILD FAILED **

The following build commands failed:
	Ld /Users/[user_name]/Library/Developer/Xcode/DerivedData/frdrivertrackapp-gimfqgdjlxeiqvczvobjuesndnse/Build/Products/Debug-iphonesimulator/frdrivertrackapp.app/frdrivertrackapp normal (in target 'frdrivertrackapp' from project 'frdrivertrackapp')
(1 failure)

no idea where it is even getting 8 from because IPHONEOS_DEPLOYMENT_TARGET = 11.0; but that does not seem to be what is crashing this. Any idea on the next bit ?

@Simon-TechForm In case anyone else encounters this posting here. I have never encunted this issue before.
As noted above was getting a lot of Could not find or use auto-linked library 'swift*' and then errors for not finding them.
Finaly found this
Apparently, in weird cases, XCODE needs you to manually add an empty Swift file and bridge. No clue why, or how this worked for you can not me with out you doing this, but if anyone else gets traped in this, it is a fix.
Not sure if it is common enough to add to the how to insall page or not.

@russmenum I'm glad you worked it out :)
If we get more people reporting the issue, I will make sure to add a note about it in the installation instructions. I think this will happen on any library that relies on swift libraries, so it isn't specific to react-native-maps :) But yeah, very strange that it worked fine on my end.


7.6.1 breaks gradle-consistent-versions

Expected Behavior
gradle-consistent-versions is one of our most essential gradle plugins used by 1000s of repos internally at our company.
One half of the plugin takes a versions.props file (example) and applies these constraints to all configurations in all projects. The expectation is that if you add a constraint to this versions.props, it will end up in all your configurations (that it makes sense to apply constraints automatically to).
I have a made a minimal reproducer repository to demonstrate this. It has a project with two configurations that are resolved sequentially by a task, pulling in the constraints from versions.props using gradle-consistent-versions:
# versions.props
com.google.guava:guava = 31.1-jre
junit:junit = 4.12

// build.gradle snippet
configurations {
    one
    two
}

dependencies {
    one 'com.google.guava:guava'
    two 'junit:junit'
}

task resolveBoth {
    doFirst {
        configurations.one.resolve()
        configurations.two.resolve()
    }
}

With Gradle 7.6, if you run ./gradlew resolveBoth both configurations manage to resolve as they both have the constraints loaded from versions.props. See this buildscan when running with Gradle 7.6:

Current Behavior
With Gradle 7.6.1, this same code does not manage to resolve the second configuration (or any configuration after the first). See this buildscan when running with Gradle 7.6.1:

Unfortunately, this causes every repo using gradle-consistent-versions (which is 99% of our repos) to not work with Gradle 7.6.1 (and by extension 8.0.2).
Context
Regressed commit in Gradle
I ran a git bisect between v7.6.0 and v7.6.1 and found this to be the commit that causes the regression:

"Re-evaluate component configuration metadata if the underlying configuration may have changed" by @big-guy / @ljacomet (from "Reduce memory consumption more" PR).

Buildscans before and at this commit:

Before @ https://github.com/gradle/gradle/commit/f492a51d9984915f5e0582c940be4a7b669572a5: https://scans.gradle.com/s/4kj22kbazgfss
At regression @ https://github.com/gradle/gradle/commit/46e39a311d3909428419ca835545ce7a63480487: https://scans.gradle.com/s/4cpltyjyzkif2

gradle-consistent-versions Internals Context
gradle-consistent-versions achieves this constraint propagation by creating a "platform" configuration of dependency constraints in the root project. Another root project configuration rootConfiguration then adds the constraints from the "platform" configuration using a project dependency. (Pretty much) all other configurations extendsFrom this rootConfiguration to ensure they get all the constraints.
You'll notice the regressed 7.6.1 scan is missing the reference to the root project constraint "platform" the successful build using 7.6 had:

Steps to Reproduce
Run ./gradle resolveBoth on https://github.com/CRogers/gradle-7.6.1-gcv-repro/commit/b66a044e398538844c5e5c3176cae84b1ddb9136. The previous commit uses 7.6 and works.
Additionally gradle-consistent-versions has a branch showing it's tests succeeding with 7.6 and failing with 7.6.1.
Your Environment
Build scan URLs:

7.6: https://scans.gradle.com/s/ndp5y5z2yhr3g
7.6.1: https://scans.gradle.com/s/x52zvtf2qdd4o

@CRogers thanks for the detailed report. We'll take a look

@CRogers It looks like this may have been fixed in 8.0.2 and as a result 8.1 (nightly) already by this PR. Would you be able to test with either of these versions to confirm or deny whether this is fixed there?
If so, we can be sure to target the same fix to a 7.x backport.

@jvandort I can confirm it:

Doesn't work in 8.0.1
Works in 8.0.2

FWIW I also tested against that commit and the parent commit and can confirm it's specifically that which fixes it:

Fix commit 79a3a1471a4 succeeds: https://scans.gradle.com/s/kume5ghsxogoq
Parent of above 038ae5945c2 fails: https://scans.gradle.com/s/l7wamyxawwkyi

@CRogers Thank you for verifying this.
Lets leave this issue open and targeted for 7.x backport, so that if/when we release a 7.7, we can be sure https://github.com/gradle/gradle/commit/79a3a1471a426a67e2e53d9076b8c52c2eef9abf is included.

Resolved with #25166


Tracking: Static JNI

Issue description
Tracking ticket for codebase-wide Static JNI support.
### Static JNI
- [ ] https://github.com/elide-dev/elide/pull/1007
- [ ] https://github.com/elide-dev/elide/pull/1006
- [ ] https://github.com/elide-dev/elide/pull/950
- [ ] https://github.com/elide-dev/elide/issues/992
- [ ] https://github.com/elide-dev/elide/pull/1018
- [ ] #1019
- [ ] #1022
- [x] Audit of all native libraries in use

this is done for now :)


Metaspolit Database not working

I updated Metasploit with chocolaty after installation but when i run msfconsole I get this error where database is unable to start or initialize.How can i fix this
[-] ***
[-] * WARNING: No database support: could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "<IP_ADDRESS>" and accepting
TCP/IP connections on port 5433?
[-] ***

@codesahil please check this issue to see if it will resolve what you are seeing: https://github.com/fireeye/commando-vm/issues/8


Add SenML JSON Decoder.

This PR aims to finalize support of SenML JSON begins by @cavenaghi9 long time ago.
It contains :

refactoring code to be able to add a new SenML JSON encoder/decoder based on jackson,
add LwM2mNodeSenMLDecoder,
Enhance number support (especially unsigned it),
support of timestamped value,
some integration tests refactoring to test codec more easily,
support of resource instance operation,
support of object link.

About :

When there is no reference to Object Instance in the TLV/CBOR/JSON payload of the "Create" command, the LwM2M Client MUST assigns the ID of the created Object Instance.

From LWM2M 1.1 §6.3.6. Create Operation, for now we will not make this possible as specification is not clear enough : see https://github.com/OpenMobileAlliance/OMA_LwM2M_for_Developers/issues/422.

This PR does not contains support of empty multi instance resource : see #915

(some relative SenML issue which are not part of this PR : #915, #916,  #917)


cwd '/Volumes/Work/s/w/ir/cache/builder/flutter' is not a directory failure

https://ci.chromium.org/p/flutter/builders/prod/Mac mac_ios_engine/1835
https://ci.chromium.org/p/flutter/builders/prod/Mac mac_host_engine/1966

It was caused by https://flutter-review.googlesource.com/c/recipes/+/39760

Fixed with https://flutter-review.googlesource.com/c/recipes/+/39762


Avoid FOUC with FastBoot

Without explicit FastBoot support, the content would come down rendered from the server but no styles would be present yet. This caused an issue called "flash of unstyled content", or FOUC, that is common with server-side-rendered JavaScript apps that use CSS-in-JS solutions.
This PR introduces proper FastBoot support.  The styles required for the initial render are computed on the server and baked into the initial payload, so that they're ready when the content is rendered by the browser. emotion is also "hydrated" with these styles, so that it avoids injecting them into the page a second time.
The technical approach to these things leans heavily on the patterns established by the first-party React SSR support, so I feel confident that I'm not using APIs that will break in the near future.
Additionally, emotion has an issue with the FastBoot environment that I landed emotion-js/emotion#550 to fix. This PR (once merged) will reference a version of emotion that includes that change.
TODOs

[x] Update to emotion version 9.0.0-3 (or later)
[ ] Add some smoke tests for FastBoot to ensure that the server-side rendering doesn't break without me noticing

Probably can't test that the re-hydration works, but can at least test that the initial payload includes the CSS that's expected

Closes #2

Punting on tests due to this issue:
https://github.com/tomdale/ember-cli-addon-tests/issues/157
I can't run the generator for an addon test because I overwrite the resolver.js and lack a way to tell the command to clobber the default file.


Add support for compressed timeseries

we are using compressed timeseries within our projects. Very often we store timeseries for 50 years in 15 minute granularity which consist of only one value at the start of the timeseries and means that this value is valid until another value is stored.
Even if not beeing able to store such values in this way. It could be a great performance enhancement transferring such timeseries compressed and expand them on server side.

is fill(previous) what you're asking for? http://influxdb.com/docs/v0.9/query_language/querying_data.html#filling-intervals-with-no-data

Hi
at first I wanted to say no. But I reread the manual and I found that previous argument. Well it seems that this is exactly what I was looking for. So I could use the 'group by time fill previous ' feature to if needed.
Best regards
Marco

Am 27.04.2015 um 21:01 schrieb Ben Hockey<EMAIL_ADDRESS>is fill(previous) what you're asking for? http://influxdb.com/docs/v0.9/query_language/querying_data.html#filling-intervals-with-no-data
—
Reply to this email directly or view it on GitHub.

Marco, fill(previous) was built for exactly your use case. Should there be rough edges please let us know.


Website theme sidebar doesn't work well on smaller resolution

Could just add the left size "This project is maintained..." and "This material is based upon" at the bottom of the page.

@achalker FYI for a quick fix to this problem I got rid of the footer on the left and moved the "This project is maintained by the Ohio Supercomputer Center (OSC)" to the bottom of the page. On smaller screens (my laptop, etc.) the sidebar is too long to fit on the page.

If you would prefer something different feel free to edit. Of course _layouts/default.html and index.md are the files.