Revert "Revert "[flutter_tools] always initialize the resident runner from di…"

Reverts flutter/flutter#58193
Fixes https://github.com/flutter/flutter/issues/58250

Do you want to land this, or just fix the merge conflicts in https://github.com/flutter/flutter/pull/58188?

Probably this one first.

Friendly ping @zanderso


Failed to import file in Conversational AI -> Intent Classification and Slot Filling

Describe the bug
I start label-studio locally, and I want label my conversation data in it. But I got wrong with my import file.
To Reproduce
Steps to reproduce the behavior:

Run label-studio locally.
I create a project use label interface that intent classification in conversational AI.
I'm created my task like this:

{
    "dialogs1": "

Jules: No no, Mr. Wolfe, it's not like that. Your help is definitely appreciated.

Vincent: Look, Mr. Wolfe, I respect you. I just don't like people barking orders at me, that's all.

The Wolf: If I'm curt with you, it's because time is a factor. I think fast, I talk fast, and I need you two guys to act fast if you want to get out of this. So pretty please, with sugar on top, clean the car.

",
    "dialogs2": "

Jules: No no, Mr. Wolfe, it's not like that. Your help is definitely appreciated.

Vincent: Look, Mr. Wolfe, I respect you. I just don't like people barking orders at me, that's all.

The Wolf: If I'm curt with you, it's because time is a factor. I think fast, I talk fast, and I need you two guys to act fast if you want to get out of this. So pretty please, with sugar on top, clean the car.

"
}

When I imported my data, I got this RUNTIME ERROR:
Validation error
Error at item 0: "dialogs" key is expected in task data [assume: item["data"] = task root with values] :: {'data': {'dialogs1': '

Screenshots
Error screenshots:

Environment (please complete the following information):

OS: windows 10
Label Studio Version: 1.2

Additional context
And can you give some example data file for this label task?
Thank you very much.

@yanhuibin315 You are using wrong input task data, please check this example.


DLL load failed while importing _dlib_pybind11: A dynamic link library (DLL) initialization routine failed.

face_recognition version: 1.3.0
Python version: 3.7
Operating System: Windows 10

Description
Trying to implement face_recognition library and when i isntalled it from pip there i am getting this error when i try to run my script
What I Did
I imported dlib from conda and face_Recognition through pip.
When i run my script i am getting this error:  DLL load failed while importing _dlib_pybind11: A dynamic link library (DLL) initialization routine failed.
This is the whole stacktrace
Traceback (most recent call last):
  File "C:/Users/***/PycharmProjects/pythonProject/CameraLib.py", line 4, in <module>
    import face_recognition
  File "C:\Users\***\anaconda3\envs\pythonProject\lib\site-packages\face_recognition\__init__.py", line 7, in <module>
    from .api import load_image_file, face_locations, batch_face_locations, face_landmarks, face_encodings, compare_faces, face_distance
  File "C:\Users\***\anaconda3\envs\pythonProject\lib\site-packages\face_recognition\api.py", line 4, in <module>
    import dlib
  File "C:\Users\***\anaconda3\envs\pythonProject\lib\site-packages\dlib\__init__.py", line 19, in <module>
    from _dlib_pybind11 import *
ImportError: DLL load failed while importing _dlib_pybind11: A dynamic link library (DLL) initialization routine failed.

Hey! MrMake  i think that u should try installing both dlib and facerecognition through same idle ( different idle may create some problems ) and i think that u don't have to install dlib seperately ( atleast for version 3.19.0 ) its already included in face_recognition library , further check if u have all necessary library installed such as Click,CMake, opencv , numpy it favours in installation( recommended - try to use latest ve5sion of python(3.9.0))
( Furthermore if you are installing it in visual studio code  terminal make sure that you have have visual studio community installed )

I had a similar problem with the line 19 "from _dlib_pybind11 import *" in Ubuntu.

Any solution around there?
@MrMak21 did you fix that?

@dofamin-1 yes i found that the problem was with my proccesor. It didn't support these operations. When i changed and test this on another pc with intel xeon it was running perfect


minIndex doesn't start the issue from the provided index

Repro snack - https://snack.expo.dev/@sam042/infinite-pager
Issue - when we specify minIndex instead of starting the page renders from that page it shows 0th page after init and first scroll will take us to the provided index instead of starting in the beginning.

please try https://github.com/computerjazz/react-native-infinite-pager/releases/tag/v0.3.11


Blockchain Verifier

Short Description
A tool to check and verify the integrity of ledgers and the correctness of smart contracts
Signed-off-by: Taku Shimosawa<EMAIL_ADDRESS>

@hartm could you confirm your sponsership ?

Happy to confirm sponsorship.  Thanks!

@trbs Thank you for the review. We are implementing it in a plugable way so that it can run with multiple blockchain platforms.
While it is true that it currently supports only Fabric, we consider that our next target will be Indy (but with no concrete date yet),
and we anticipate contributions for other platforms.

@shimos thank you for the response and explanation
Think your proposal looks fine to me and an interesting project.
Any further thoughts on naming things in this context is more a question to other stewards then your proposal :-)
Have an awesome labs ;-)

Looks like all necessary approvals are in so I merged.


Make core/v2.AdhocRequest a Resource

API Resource unmarshalling is tied to the set of registered resources. Make AdhocRequest a resource so that it will be restiered with apitools as a Resource.

For https://github.com/sensu/sensu-go/issues/5023


Unsupported state class

Hi, Just looking at the Statistics view in the Developer tools and noticed this.

Here is the window when you press fix...

I can't think of two many use cases where you would want to track stats on the size of the tank, but it would be nice to get rid of this error from the statistics view!

Fixed in v.1.6.3.


[Feature][Doc] Improve the description of code inspection specification.

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
The code review CI contains restrictions on the order of automatic import packages. Developers who are not familiar with the configuration may turn off automatic import or ignore it.
        <module name="ImportOrder">
            <property name="staticGroups" value="org.apache.dolphinscheduler,org.apache,java,javax,org,com"/>
            <property name="separatedStaticGroups" value="true"/>

            <property name="groups" value="org.apache.dolphinscheduler,org.apache,java,javax,org,com"/>
            <property name="ordered" value="true"/>
            <property name="separated" value="true"/>
            <property name="option" value="top"/>
            <property name="sortStaticImportsAlphabetically" value="true"/>
        </module>

Adding the description of automatic import package sequence configuration is expected to improve the code audit CI pass rate or development efficiency.
For example

To this page https://dolphinscheduler.apache.org/zh-cn/community/development/pull-request.html
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

cluster deployment also has this problem

 cluster deployment also has this problem

Hi @thisisnige it's not the same thing, please submit another issue, thanks.

@czeming could you please check whether this rule already in our check-style.xml or not?

@czeming could you please check whether this rule already in our check-style.xml or not?

I compared it, and now I only see:

"separatedStaticGroups" will not take effect after being imported (it will not appear in "Import Layout")

I can try how to make it work. If there are other rules that need to be repaired, you can also tell me.

I can try how to make it work
Great and looking forward to it.
If there are other rules that need to be repaired, you can also tell me
I do not know is there any other error too 🤣

I can try how to make it work

Great and looking forward to it.

If there are other rules that need to be repaired, you can also tell me

I do not know is there any other error too 🤣

I've tried this. It didn't work on it.

https://github.com/jshiell/checkstyle-idea/blob/ac7a6b16c065848d0de9d1985e0f97fda38634c8/src/main/java/org/infernus/idea/checkstyle/importer/modules/ImportOrderImporter.java
org.infernus.idea.checkstyle.importer.modules.ImportOrderImporter#processOptionAttribute

This's the source code for processing ImportOrder, I think it didn't supports separatedStaticGroups.

Hi @kezhenxu94 do you have time to take a look? does check-style support static import sort?

I can see the configuration takes effect after importing the checkStyle.xml

@czeming could you make a double-check about this issue?

I can see the configuration takes effect after importing the checkStyle.xml

It's the current configuration.
<property name="staticGroups" value="org.apache.dolphinscheduler,org.apache,java,javax,org,com"/>
...
<property name="option" value="top"/>

You can see this code.
https://github.com/jshiell/checkstyle-idea/blob/ac7a6b16c065848d0de9d1985e0f97fda38634c8/src/main/java/org/infernus/idea/checkstyle/importer/modules/ImportOrderImporter.java
        switch (staticImportPosition) {
            case TOP:
                // remove other instances of PackageEntry.ALL_OTHER_STATIC_IMPORTS_ENTRY from the table
                // iterate from the end so we can remove elements without having to modify the index afterwards
                for (int x = settings.IMPORT_LAYOUT_TABLE.getEntryCount() - 1; x >= 0; x--) {
                    if (settings.IMPORT_LAYOUT_TABLE.getEntryAt(x) == PackageEntry.ALL_OTHER_STATIC_IMPORTS_ENTRY) {
                        settings.IMPORT_LAYOUT_TABLE.removeEntryAt(x);
                    }
                }
                settings.IMPORT_LAYOUT_TABLE.insertEntryAt(PackageEntry.ALL_OTHER_STATIC_IMPORTS_ENTRY, 0);
                break;
            case BOTTOM:

The question isIntelliJ only imports static all other import.
I've been a little busy recently, so I didn't update latest discussion  in the issue content.
what I expect support static import sort. (Please ignore the content of import with '*', I used the screenshot from the past.)

Maybe I need to make an issue for checkstyle-idea.
@zhongjiajie @kezhenxu94

Maybe I need to make an issue for checkstyle-idea.

Please do so, let's close this issue for now and if you have any further progress, let us know, thanks!


[Noto Color Emoji] Choice to include in lean4monaco

Thank your for the constant improvements!
I have a pipeline which leverages lean4monaco and automatically uses the latest published NPM package.
During the week, I noticed a 10s degradation in load times for the Lean4 editor (I was in the countryside with a poor connection, but it was fast earlier last week).
It seems the introduction of the Noto Color Emoji font in e1d06209 accounts for 24MB:

VSCode probably comes bundled with those fonts, but web browsers download them.
Could we bring down the load time by switching to a lighter font / working without it?

Absolutely, I included the emoji font as Lean has a few emojis being used, which look bad in JuliaMono's black-and-wwhite. Most concretely its about ✅ and ❌.
If you have a suggestion for a lighter emoji font, I think we can just switch them out.

Absolutely, I included the emoji font as Lean has a few emojis being used, which look bad in JuliaMono's black-and-wwhite. Most concretely its about ✅, ❌, (and 💥).
If you have a suggestion for a lighter emoji font, I think we can just switch them out.

I've tried to create my own font with just these emojis, but apparentoy its not compatible with some devices/browsers. That one is here:
https://github.com/hhu-adam/lean4monaco/tree/main/src/fonts/LeanWeb

Thanks @joneugster, I got back to it because I faced the slow initial load once again.
I opened https://github.com/hhu-adam/lean4monaco/pull/4 to replace Noto with the one you created.


Error: labels.forEach is not a function

Hey, I got a strange error during release-drafter execution:
##[error]Docker run failed with exit code 1
Run<EMAIL_ADDRESS>/usr/bin/docker run --name *** --label *** --workdir /github/workspace --rm -e GITHUB_TOKEN -e HOME -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e GITHUB_ACTIONS=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/platform/platform":"/github/workspace" e959fb:4e4e96b1066945ebb1df2df14d41adab
13:40:19.801Z  INFO probot: ***/platform: Found 2 releases
13:40:19.802Z  INFO probot: ***/platform: Draft release: untagged-9ab21a9cb5397988cc67
13:40:19.803Z  INFO probot: ***/platform: Last release: release-1.2.35
13:40:19.803Z  INFO probot: ***/platform: Fetching all commits for branch master since 2019-10-14T17:54:37Z
13:40:20.157Z ERROR event: labels.forEach is not a function (id=d08e54e9-0e8a-4444-9c90-f32f4ad710c7)
  TypeError: labels.forEach is not a function
      at config.categories.reduce (/app/lib/releases.js:83:12)
      at Array.reduce (<anonymous>)
      at getCategoriesConfig (/app/lib/releases.js:81:46)
      at generateChangeLog (/app/lib/releases.js:129:49)
      at module.exports.generateReleaseInfo (/app/lib/releases.js:179:17)
      at app.on (/app/index.js:69:25)
  --
  event: {
    "event": "push",
    "id": "d08e54e9-0e8a-4444-9c90-f32f4ad710c7",
    "repository": "***/platform"
  }
##[error]Docker run failed with exit code 1```

I just had the same issue and fixed it. The problem was that I had a category without a label or labels attached to it. Thinking it would get added to a 'default' category. I removed the category without labels and it worked perfectly. See here for what I did

thanks!


Fix/queryable derived types

Codecov Report
Patch coverage: 91.24% and project coverage change: +1.93 :tada:

Comparison is base (5551508) 89.97% compared to head (4b8d017) 91.91%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #16      +/-   ##
==========================================
+ Coverage   89.97%   91.91%   +1.93%
==========================================
  Files          76      131      +55
  Lines        2475     4144    +1669
  Branches      308      570     +262
==========================================
+ Hits         2227     3809    +1582
- Misses        181      221      +40
- Partials       67      114      +47

Impacted Files
Coverage Δ

src/Polyfills/Nullable.cs
0.00% <0.00%> (ø)

...k.Mapperly.Abstractions/MapDerivedTypeAttribute.cs
0.00% <0.00%> (ø)

src/Riok.Mapperly.Abstractions/MapEnumAttribute.cs
100.00% <ø> (ø)

...iok.Mapperly.Abstractions/MapperIgnoreAttribute.cs
100.00% <ø> (ø)

...pperly.Abstractions/MapperIgnoreSourceAttribute.cs
100.00% <ø> (ø)

...pperly.Abstractions/MapperIgnoreTargetAttribute.cs
100.00% <ø> (ø)

.../Riok.Mapperly/Descriptors/Mappings/TypeMapping.cs
100.00% <ø> (ø)

src/Riok.Mapperly/Helpers/DictionaryExtensions.cs
100.00% <ø> (ø)

...berMappings/MemberNullDelegateAssignmentMapping.cs
53.12% <53.12%> (ø)

...ok.Mapperly/Configuration/AttributeDataAccessor.cs
73.33% <56.52%> (-3.34%)
:arrow_down:

... and 118 more

... and 1 file with indirect coverage changes

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


Open Service Mesh translation missing in French

https://docs.microsoft.com/en-us/azure/aks/servicemesh-osm-about?pivots=client-operating-system-linux
==> to be translated landing at :
https://docs.microsoft.com/fr-fr/azure/aks/servicemesh-osm-about?pivots=client-operating-system-linux

Détails du document
⚠ Ne pas modifier cette section. C’est obligatoire pour docs.microsoft.com ➟ Liaison des problèmes GitHub.

ID: edf448c9-4082-1124-0a41-f09f1771fe5d
Version Independent ID: 95abeb00-0d5a-6e9a-bc4e-24f5dcc6ddba
Content: Open Service Mesh (Preview) - Azure Kubernetes Service
Content Source: articles/aks/servicemesh-osm-about.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: pgibson

@ezYakaEagle442 Thank you for bringing this to our notice, we will review it further and get back to you at the earliest.

@ezYakaEagle442 Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

Thank you for the feedback.
The French translation is now available
https://docs.microsoft.com/fr-fr/azure/aks/servicemesh-osm-about?pivots=client-operating-system-linux
#please-close


Bump dependency version

This PR (also related to #3) updates the version number of the geo crate and adds the num_traits crate as a dependency, so this should allow for better integration with the geo crate.
By the way, I don't know what is the best pattern to follow in this kind of cases (so I don't particularly advocate this solution), but is it really necessary to use the type geo::Point as input / output for the Proj::project method?
This involves adding the "geo" crate to a project only to use this function (while it might take as input / output something like (f64, f64) or Vec<f64> ; that's what I did on another branch for a project not using the geo crate for now).

I guess we could also remove rust 1.0.0 from travis configuration file.

Bumping to 0.2.0 since it's technically a breaking change since we bumped rust-geo

but is it really necessary to use the type geo::Point as input / output for the Proj::project method?

not really, what you did is cool

but is it really necessary to use the type geo::Point as input / output for the Proj::project method?

not really, what you did in your other branch is cool for removing the geo dependency

bors r+

Thanks!


alookup returns non ipv4 answers

It seems to happen when a DNS server returns records of different types in the answer section to an A query:
$ echo s7hscpw1zwk8c8breqsiv6oiap07p6qz3dm0u5e3.ipleak.net | ~/go/bin/zdns a -iterative
{"name":"s7hscpw1zwk8c8breqsiv6oiap07p6qz3dm0u5e3.ipleak.net","class":"IN","status":"NOERROR","timestamp":"2019-06-23T14:59:09+02:00","data":{"answers":[{"ttl":3600,"type":"A","class":"IN","name":"s7hscpw1zwk8c8breqsiv6oiap07p6qz3dm0u5e3.ipleak.net","answer":"<IP_ADDRESS>"},{"ttl":3600,"type":"AAAA","class":"IN","name":"s7hscpw1zwk8c8breqsiv6oiap07p6qz3dm0u5e3.ipleak.net","answer":"2a03:b0c0:0:1010::509:d001"}],"additionals":[],"authorities":[],"protocol":"udp","flags":{"response":true,"opcode":0,"authoritative":false,"truncated":false,"recursion_desired":false,"recursion_available":true,"authenticated":false,"checking_disabled":false,"error_code":0}}}
$ echo s7hscpw1zwk8c8breqsiv6oiap07p6qz3dm0u5e3.ipleak.net | ~/go/bin/zdns alookup -iterative
{"name":"s7hscpw1zwk8c8breqsiv6oiap07p6qz3dm0u5e3.ipleak.net","class":"IN","status":"NOERROR","timestamp":"2019-06-23T14:59:56+02:00","data":{"ipv4_addresses":["<IP_ADDRESS>","2a03:b0c0:0:1010::509:d001"]}}

Note that the second address in the ipv4_addresses field of data is actually an ipv6 address, returned as an AAAA record in the DNS query. I've also seen a server name show up in the ipv4_addresses field though I can't reproduce it right now.

Apparently the nameserver (<IP_ADDRESS> in this case) returns both A and AAAA in the answer section independent of the actual question and the tool (you might even try something weired like s7hscpw1zwk8c8breqsiv6oiap07p6qz3dm0u5e3.ipleak.net. HS NAPTR and will receive the IN A/IN AAAA tuple.
First of all I'd not consider this being a bug in ZDNS, as I would not expect any sanity checks on the answers. (in fact non-regular answers might contain far more information than expected behavior in some cases)
Second part is the alookup module which simply takes the results without any checks either. One might discuss if the answers should be filtered at this point - most likely here: https://github.com/zmap/zdns/blob/c4cc17aedca28e491b6756683063bcc0733ace42/modules/alookup/alookup.go#L63-L70
Something like filtering result class and type (here IN/A) from the answer sections might be legit. However if the actual value if a declared "IN A" record is not a valid v4 IP ZDNS is definitely not to blame.

I agree that this operates as expected in the a module case since for those modules we simply want to return the server's exact response, but we probably do want to filter for alookup.

I've also seen a server name show up in the ipv4_addresses field though I can't reproduce it right now.

This happens when the first answer received is a valid A record and the second is something like CNAME, NS, MX where FQDNs are valid results.
That's because only the very first result of the answer set is checked.


Git gutter diff highlight not refreshing after commit

After doing a commit in my git client the gutter marker for changed lines still highlights the lines changed even after the changes have been committed to the repository.

VSCode Version: 1.12.2
OS Version: macOS 10.12.5

Steps to Reproduce:

make changes to a file within git (I have the repo open in the file explorer)
stage and then commit changes to the file
observe the highlighting of changed files remains

Closing and reopening the file clears the files changed highlighting, but only until the next commit.

If you close the file and reopen than it refreshes.
Strange.

Can you always repro this? I've been seeing more people with this problem, but I can't seem to repro myself.

Yes, I can always reproduce this when I'm fast enough hitting the keyboard shortcuts.

#26642


[EVENT] Openscapes NASA Cloud Data Services Telecon (1 hour)

Summary
Hi All, apologies for the late notice.
This is a one-time event: a 1-hour hands-on demo for the NASA Cloud Data Services Bi-Weekly Telecon, led by Amy Steiker (NSIDC) as part of NASA-Openscapes.
Event Info

Community Representative: @jules32, @erinmr
Event begin: March 10, 2022
Event end: March 10, 2022
Active times: 9:30-10:30am Pacific
Number of attendees: 40-50
Hub Events Calendar

Hub info

Hub URL: https://openscapes.2i2c.cloud/hub/
Hub decommisioned after event?: no

Task List
Before the event

[ ] Dates confirmed with the community representative and added to Hub Events Calendar

[ ] One week before event Hub is running.

[ ] Confirm with Community Representative that their workflows function as expected.

👉Template message to send to community representative
Hey {{ COMMUNITY REPRESENTATIVE }}, the date of your event is getting close!

Could you please confirm that your hub environment is ready-to-go, and matches your hub's infrastructure setup, by ensuring the following things:
- [ ] Confirm that the "Event Info" above is correct
- [ ] On your hub: log-in and authentication works as-expected
- [ ] `nbgitpuller` links you intend to use resolve properly
- [ ] Your notebooks and content run as-expected

[ ] 1 day before event, either a separate nodegroup is provisioned for the event or the cluster is scaled up.

During and after event

[ ] Confirm event is finished.
[ ] Nodegroup created for the hub is decommissioned / cluster is scaled down.
[ ] Hub decommissioned (if needed).
[ ] Debrief with community representative.

👉Template debrief to send to community representative
Hey {{ COMMUNITY REPRESENTATIVE }}, your event appears to be over 🎉

We hope that your hub worked out well for you! We are trying to understand where we can improve our hub infrastructure and setup around events, and would love any feedback that you're willing to give. Would you mind answering the following questions? If not, just let us know and that is no problem!

- Did the infrastructure behave as expected?
- Anything that was confusing or could be improved?
- Any extra functionality you wish you would have had?
- Could you share a story about how you used the hub?

- Any other feedback that you'd like to share?

I'll scale up the hub and keep an eye out during the event as well.

Thank you so much @yuvipanda 🚀

@jules32, I just tested the scale-up event and things worked as expected.
I will give @yuvipanda some free time 😉 and I will be scaling up the cluster tomorrow morning (I am 5 hours ahead of PT) to minimize the cost associated with a too early scale-up process but making sure the cluster is ready for the time you need it.
I will post updates here as I trigger those scale events.
Btw, I assume I should scale down the cluster by afternoon? evening? (not sure if people will stay a little bit longer playing around).

Thanks so much @damianavila ! That sounds like a great plan.
Yes scaling down by the evening would be great in case folks play around a little bit more during the day/afternoon. Thank you!

FYI, I have scaled up the cluster to 50 nodes (supporting the small instances you used in previous events).
I have also successfully launched one small instance without any issues (starting the container took less than one minute).

FYI, I have scaled down the cluster since the usage was in levels close to the size before the event started.
I did not see any irregularities but feel free to post here any feedback you may have about your experience.

That's great @damianavila, thank you. It was a great experience, I didn't see the peak number of folks using the hub together but 42 people had requested access in advance so hopefully close to that number were all following along with the tutorial.

This is the usage profile in case you are interested (14:30 ARG time is the start of the event):

Glad to hear everything run smoothly, @jules32!!

I'll close this issue as I believe the event is now over!

@damianavila just a quick question: do you plan to leave the dedicated node pool for the next event? Or did you delete it as well?

@choldgraf I think this is its own cluster, so a dedicated nodepool is not necessary.

@yuvipanda good point :-)


java.lang.RuntimeException: Could not invoke OneSignal.promptForPushNotificationsWithUserResponse

Description
Hello, I am using webview with react-native, along with onesignal and google ads. I have started experiencing an error more frequently, although it doesn't happen all the time. I haven't been able to find a solution for it, so I wanted to open a discussion about it. After this error occurs, the application stays in the background and can only be opened with a few persistent attempts. However, this leads to user loss, especially for new users. Thank you in advance for your help.
java.lang.RuntimeException: Could not invoke OneSignal.promptForPushNotificationsWithUserResponse 	at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:383) 	at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:188) 	at com.facebook.jni.NativeRunnable.run(Native Method) 	at android.os.Handler.handleCallback(Handler.java:942) 	at android.os.Handler.dispatchMessage(Handler.java:99) 	at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27) 	at android.os.Looper.loopOnce(Looper.java:211) 	at android.os.Looper.loop(Looper.java:300) 	at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:228) 	at java.lang.Thread.run(Thread.java:1012) Caused by: java.lang.reflect.InvocationTargetException 	at java.lang.reflect.Method.invoke(Native Method) 	at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372) 	... 9 more Caused by: java.lang.ExceptionInInitializerError 	at com.onesignal.OneSignal.promptForPushNotifications(OneSignal.java:2864) 	at com.geektime.rnonesignalandroid.RNOneSignal.promptForPushNotificationsWithUserResponse(RNOneSignal.java:473) 	... 11 more Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Context.getPackageName()' on a null object reference 	at com.onesignal.OSUtils.getTargetSdkVersion(OSUtils.java:490) 	at com.onesignal.NotificationPermissionController.<clinit>(NotificationPermissionController.kt:48) 	... 13 more
React Native Version
0.71.4
Output of npx react-native info
Directory: D:\apps
Android SDK: Not Found
Windows SDK:
AllowAllTrustedApps: Disabled
IDEs:
Android Studio: AI-213.7172.25.2113.9123335
Visual Studio: Not Found
Languages:
Java: 17.0.5 - C:\Program Files\Common Files\Oracle\Java\javapath\javac.EXE
npmPackages:
@react-native-community/cli: ^11.0.0 => 11.0.0
react: 18.2.0 => 18.2.0
react-native: 0.71.4 => 0.71.4
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
It may occur when the application is first installed or later.
Snack, code example, screenshot, or link to a repository
`java.lang.RuntimeException: Could not invoke OneSignal.promptForPushNotificationsWithUserResponse
at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:383)
at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:188)

⚠	Add or Reformat Version Info
ℹ	We could not find or parse the version number of React Native in your issue report. Please use the template, and report your version including major, minor, and patch numbers - e.g. 0.70.2

React Native Version
0.71.4

Hi @yigiterdall
Thanks for reporting this issue.
It seems like this issue is actually unrelated to React Native core but related to OneSignal. Please open this issue against this other repository:
https://github.com/OneSignal/react-native-onesignal/issues
I'll be closing this but feel free to reopen if the other repo points back to us as a issue in the core of React Native.


After some runnings, "System Events" crash :(

{ [Error: /Users/kopiro/Projects/AnythingPlayableServer/node_modules/spotify-node-applescript/lib/scripts/get_artwork.applescript:981:1027: execution error: System Events got an error: Application isn’t running. (-600)
]
appleScript: '/Users/kopiro/Projects/AnythingPlayableServer/node_modules/spotify-node-applescript/lib/scripts/get_artwork.applescript',
exitCode: 1 } undefined

get_artwork is has been removed because it's no longer supported, so I'm closing this issue.


use css for padding instead of 4 leading spaces in code blocks

From https://github.com/iterative/dvc.org/issues/310

Is this applicable for react web page which hosts the dvc website?

@kurianbenoy yes. This is related to these indents in the code blocks. Right now they are done manually by including spaces.

@shcheklein we have only so far padded Get Started section, should I manually remove 4 leading spaces in other sections also?


Progress Bar Persists on External Links with Specified target Attribute

Description
Hello, and first off, thank you for the amazing work on this project! I've encountered a consistent bug related to the behavior of the progress bar when interacting with external links.
Steps to Reproduce

Navigate to a page that contains external links.
Click on any external link where the <a> tag has a specified target attribute. This issue arises not only with target="_blank" but also with custom frame names.

Expected Behavior
The progress bar should complete or disappear after the external link has loaded, indicating that the navigation process has finished.
Actual Behavior
The progress bar appears and remains visible indefinitely, suggesting that the navigation or loading process is still ongoing. This occurs regardless of the target attribute specified in the <a> tag, affecting both standard _blank targets and custom frame names.
Links
https://www.w3schools.com/tags/att_a_target.asp

Yeah. I think I should those too. But because I haven’t  used frames before I didn't explore other options but yes It can be implemented easily. So I'll do the same as it is on _blank target.

checkout latest release it tackles all target attribute values

Thanks for your quick reply !
This doesn't solve the framename issue. Framenames are basically like _blank but with a specific id.
It works in the following:

It opens a new tab the first time the user clicks on the link.
Then, it just switches to the tab if it's already opened.

Any string can be in the target attribute.

ex: <a target="editor">.

So the commit only partially solves the issue.

I think you can open another issue about frames compatibility as I think it is a potential feature to be worked on it carefully.
And thanks for your continuing contribution.

I don't think it must be another issue, as it is directly related to this one.

@ndungtse ?

I don't think this is quite complicated as it would only require to invert the if statement to stop if anchor element is not on same page.
Instead of :
https://github.com/ndungtse/next13-progressbar/blob/d7d56831bffc1f46564d2ee649c8a8d7ba321725/src/AppProgressBar.tsx#L116
It would only require:
if (anchorElement.target !== '_self' && anchorElement.target?.trim() !== "")
   return;

I'm not sure if the anchorElement.target?.trim() !== "" is needed. I don't know if not passing a target through props automatically gives _self or if you need to handle it.
And for this:
https://github.com/ndungtse/next13-progressbar/blob/d7d56831bffc1f46564d2ee649c8a8d7ba321725/src/AppProgressBar.tsx#L142-L145
Replace it to this:
const validAnchorELes = Array.from(anchorElements).filter((anchor) => {
   if (anchor.href.startsWith('tel:+') || anchor.href.startsWith('mailto:')) return false;
   if (anchor.target !== '_self' && anchor.target?.trim() !== "") // again not sure about the `anchor.target?.trim() !== ""`
       return false;
   return anchor.href;
 });

@ndungtse Any update ?

Well, Sorry for oversight I was somehow busy but I tested it and will be available sonn

Thanks !

Hi, I have the same problem when I try to navigate to another page, but my links do not have any specific attributes that can affect the progress bar, except for href and prefetch (next js extended prop).
https://github.com/ndungtse/next13-progressbar/assets/97913944/8c638fd0-2c2c-4a4a-85f1-fcf24ddb30f5

Hello, I encountered the same problem when I wanted to go to another page using the next link, but in my case the links do not have any specific properties that can affect the progress bar.
I noticed that my problem only occurs when I try to go from the page of the new version of the project (was completed in next js 14 where i have app folder) to the page of the old version of the project (with the pages folder - next js 12). It seems that the progress bar sees the old project as an external page.
https://github.com/ndungtse/next13-progressbar/assets/97913944/2bbc28f3-95dc-442d-887c-09a2f5567a29

Hello, I encountered the same problem when I wanted to go to another page using the next link, but in my case the links do not have any specific properties that can affect the progress bar. I noticed that my problem only occurs when I try to go from the page of the new version of the project (was completed in next js 14 where i have app folder) to the page of the old version of the project (with the pages folder - next js 12). It seems that the progress bar sees the old project as an external page.
ad
Screen.Recording.2023-12-11.at.10.37.09.mp4

Well, I tried to go to the same site you developing and the issue didn't appear again. but I also noticed the full reload as you used default html a tag. did you manage to handle it after above comment? cause for me the issue didn't show up
Uploading Quality Engineering Services By Solvd To Meet High Standards - Personal - Microsoft Edge 2024-05-11 12-13-15.mp4…

Hello, I encountered the same problem when I wanted to go to another page using the next link, but in my case the links do not have any specific properties that can affect the progress bar. I noticed that my problem only occurs when I try to go from the page of the new version of the project (was completed in next js 14 where i have app folder) to the page of the old version of the project (with the pages folder - next js 12). It seems that the progress bar sees the old project as an external page.
ad
Screen.Recording.2023-12-11.at.10.37.09.mp4

Well, I tried to go to the same site you developing and the issue didn't appear again. but I also noticed the full reload as you used default html a tag. did you manage to handle it after above comment? cause for me the issue didn't show up
record.mp4

Hello again. This problem doesn't appear when you use chrome, but if you check it in firefox / safari or opera, you can see it. At the moment I only have one solution, which is to add the target property to the link tag, but in general this does not solve the problem because the preloader disappears.
P.S I don't use the default html a tag, instead I use the next extended link component.

Thanks @MenroMi . I'm going to test it on those browsers and ckeck why it behaves like that

Hello @ndungtse, it still doesn't work for me on custom targets. You only added the last part of my message but you haven't added this part on line 116:

I don't think this is quite complicated as it would only require to invert the if statement to return if anchor element is not on same page. Instead of :
https://github.com/ndungtse/next13-progressbar/blob/d7d56831bffc1f46564d2ee649c8a8d7ba321725/src/AppProgressBar.tsx#L116
It would only require:
if (anchorElement.target !== '_self' && anchorElement.target?.trim() !== "")
   return;

Hello @ndungtse, it still doesn't work for me on custom targets. You only added the last part of my message but you haven't added this part on line 116:

I don't think this is quite complicated as it would only require to invert the if statement to return if anchor element is not on same page. Instead of :
https://github.com/ndungtse/next13-progressbar/blob/d7d56831bffc1f46564d2ee649c8a8d7ba321725/src/AppProgressBar.tsx#L116
It would only require:
if (anchorElement.target !== '_self' && anchorElement.target?.trim() !== "")
   return;

Ooh. I get it right now @johannbuscail . First I thought you need all target values to be evaluated, so as you suggested only '_self' and target with some value will not trigger the progressbar. I think that would be easier then 👍🏻. Gonna update it in next release

@johannbuscail check out new release I think issue should be now resolved


[Feature] Provide getter_mut?

According to How to avoid writing duplicate accessor functions for mutable and immutable references in Rust?, there's currently no easy tool in rust for defining immutable and mutable getter without copying the function definition twice.
lombok could fill this gap with a new macro get_mut.
It can also provide a macro for implementing get_* and get_*_mut at the same time, but only require the type once, though due to the explicit &mut requirement, this might not be that helpful as get_mut macro.

That feature definitely makes sense.
I've implemented and released a new minor version.
Thanks for raising it!


Request error shown Cancelled while loading image with SDWebImage

im using this library for display async images in my table view but sometime image request got cancelled especially .png images or http:// images. please help

@vinayakpal can you replicate the issue in the demo project with your own images?
which version of the library are you using?

@mythodeia i'm currently using SDWebImage (4.3.3) version via pods. i will revert back to you after check in demo project. Thanks for responding

Could you please provide more information about your use case ? This description is a little inaccuracy.
If you mean when you using UIImageView with UITableViewCell, when the cell reused, all the previous request will be cancelled. And so NSURLSession will produce a error identify that the task is cancelled.
If you mean that all your image request can not finished, even for single UIImageView, maybe you sohuld check that error information or your network config, such as App Transport Security

@dreampiggy  Yes im using an UIImage which is in my UITableView Cell in an table view.
here's the sample of the particular image
`cell.feedImage.sd_setImage(with: URL(string : "http://res.cloudinary.com/purnesh/image/upload/f_auto/v1520249635/shiv-tikki-wala-final-header-1.png"), completed: { (image, error, type, url) in
                    print(String(describing: error?.localizedDescription))
                    print(String(describing: error.debugDescription))
                    print(type)
                    print(url!)
                    print(image!)
                })`

@vinayakpal So. Does that means your receive a cancelled error when you scroll and the cell is disappear and reused ? It's a designed behavior to let the SDWebImage's View category work with the UITalbViewCell and UICollectionViewCell reusing mechanism.

Other images in my table view are loading correctly well I have issue with previous mention URL as i tested in a demo app as well but with this URL I'm not able to load the image as well.

@vinayakpal i tried the url (http://res.cloudinary.com/purnesh/image/upload/f_auto/v1520249635/shiv-tikki-wala-final-header-1.png) in the browser and got an error as well. this does not seem to be a problem with the library


Fixed 9 errors that occured when running 'rake spec' by changing let …

…:wallet to let(:wallet), etc.

The errors before the change can be seen here: https://pastebin.com/raw/1j8z936u
After the syntax corrections included in this commit: https://pastebin.com/raw/ecDNKeRi

Coverage remained the same at 99.325% when pulling fbd41e978dbbdd7d0c9964c50ad7d6348ae1b2b4 on Grace:master into 2e21ebf2ecb83e8e2967a8aad8f51b661e02cc9d on DanKnox-BitFS:master.

Many apologies for the late reply here. If you see this, would you mind letting me know what version of ruby you are running? Just guessing that is the source of the errors.
I will definitely accept this in case anyone else runs into this issue.
How is this gem working out for you? My guess is that it needs to be updated pretty significantly now that bcoin is done with their big refactor.


Renew - Error in main function: Object reference not set to an instance of an object

C:\windows\system32>"C:\Program Files\Win-Acme\wacs.exe" --renew --baseuri "https://acme-v02.api.letsencrypt.org/" --verbose
[VERB] Verbose mode logging enabled
[VERB] ExePath: C:\Program Files\Win-Acme\wacs.exe
[VERB] ResourcePath: C:\Program Files\Win-Acme
[VERB] PluginPath: C:\Program Files\Win-Acme
[VERB] Looking for settings.json in C:\Program Files\Win-Acme
[DBUG] Config folder: C:\ProgramData\win-acme\acme-v02.api.letsencrypt.org
[DBUG] Log path: C:\ProgramData\win-acme\acme-v02.api.letsencrypt.org\Log
[DBUG] Cache path: C:\ProgramData\win-acme\acme-v02.api.letsencrypt.org\Certificates
[VERB] Arguments: --renew --baseuri https://acme-v02.api.letsencrypt.org/ --verbose
[DBUG] Renewal period: 55 days
[VERB] Sending e-mails False
[INFO] A simple Windows ACMEv2 client (WACS)
[INFO] Software version <IP_ADDRESS>7 (release, trimmed, standalone, 64-bit)
[INFO] Connecting to https://acme-v02.api.letsencrypt.org/...
[VERB] SecurityProtocol setting: SystemDefault
[DBUG] Send GET request to https://acme-v02.api.letsencrypt.org/directory
[VERB] Request completed with status OK
[DBUG] Connection OK!
[DBUG] IIS version 10.0
[DBUG] Running with administrator credentials
Error in main function: Object reference not set to an instance of an object.
at PKISharp.WACS.Services.TaskSchedulerService.<>c.b__14_1(ExecAction action)
at System.Linq.Utilities.<>c__DisplayClass1_01.<CombinePredicates>b__0(TSource x)    at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext()
at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable1 source, Boolean& found)    at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source)
at PKISharp.WACS.Services.TaskSchedulerService.IsHealthy(Task task)
at PKISharp.WACS.Services.TaskSchedulerService.ConfirmTaskScheduler()
at PKISharp.WACS.Host.Wacs.ShowBanner()
at PKISharp.WACS.Host.Wacs.Start()
at PKISharp.WACS.Host.Program.Main(String[] args)
Press  to close

This build introduces some additional error checks to try and prevent this from happening:
https://ci.appveyor.com/project/WouterTinus/win-acme-s8t9q/builds/38326098
I'd be curious to see the output of that on your system.
Also you can probably fix this without updating by deleting your scheduled task and having the program recreate it (from the menu > more options...).

Thank you, I used that build and it worked. Would the fix be included in
the next release?
On Sun, Mar 21, 2021 at 12:48 AM Wouter Tinus @.***>
wrote:

This build introduces some additional error checks to try and prevent this
from happening:
https://ci.appveyor.com/project/WouterTinus/win-acme-s8t9q/builds/38326098
I'd be curious to see the output of that on your system.
Also you can probably fix this without updating by deleting your scheduled
task and having the program recreate it (from the menu > more options...).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/win-acme/win-acme/issues/1791#issuecomment-803517616,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF72ENZ6Y6B22YCFY5X75F3TEWCCLANCNFSM4ZQVR2RA
.

Yes it will be :)

It has been released.


Integration not starting in 0.9.45

I just updated the integration, but now the integration fails to start.
Logs:
2023-05-28 22:40:21.991 ERROR (MainThread) [custom_components.dahua] Failed to initialize device at <IP_ADDRESS>
Traceback (most recent call last):
  File "/config/custom_components/dahua/__init__.py", line 263, in _async_update_data_int
    is_doorbell = self.is_doorbell()
  File "/config/custom_components/dahua/__init__.py", line 553, in is_doorbell
    return m.startswith("VTO") or m.startswith("DH-VTO") or ( "NVR" not in m and m.startswitch("DHI")) or self.is_amcrest_doorbell()
AttributeError: 'str' object has no attribute 'startswitch'
2023-05-28 22:40:22.015 ERROR (MainThread) [custom_components.dahua] Unexpected error fetching dahua data: Dahua device at <IP_ADDRESS> isn't fully initialized yet
Traceback (most recent call last):
  File "/config/custom_components/dahua/__init__.py", line 263, in _async_update_data_int
    is_doorbell = self.is_doorbell()
  File "/config/custom_components/dahua/__init__.py", line 553, in is_doorbell
    return m.startswith("VTO") or m.startswith("DH-VTO") or ( "NVR" not in m and m.startswitch("DHI")) or self.is_amcrest_doorbell()
AttributeError: 'str' object has no attribute 'startswitch'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh
    self.data = await self._async_update_data()
  File "/config/custom_components/dahua/__init__.py", line 187, in _async_update_data
    data = await self._async_update_data_int()
  File "/config/custom_components/dahua/__init__.py", line 305, in _async_update_data_int
    raise PlatformNotReady("Dahua device at " + self._address + " isn't fully initialized yet") from exception
homeassistant.exceptions.PlatformNotReady: Dahua device at <IP_ADDRESS> isn't fully initialized yet
2023-05-28 22:40:22.028 WARNING (MainThread) [homeassistant.config_entries] Config entry '(device name redacted)' for dahua integration not ready yet: Dahua device at <IP_ADDRESS> isn't fully initialized yet; Retrying in background

Running on HA core: 2023.5.0
It worked with the previous version 0.9.44
Tried to delete and setup the integration again, but got the same error.

Thanks for reporting. Checking it out...

Can you please try 0.9.46? https://github.com/rroller/dahua/releases/tag/0.9.46

0.9.46 works for me, thanks for the quick fix!

Btw I just tried the NFC and it works great!


Add Support for Fortnite Gamemode List (with active ones)

Get all Gamemodes:
Endpoint: https://fortnitecontent-website-prod07.ol.epicgames.com/content/api/pages/fortnite-game
Where is the data stored: result['playlistinformation']['playlist_info']['playlists']
What is important? image, name, violator, description (Name is internal)
How to get the Real Playlist Names:
Trough the Game files, but I dunno the Location
How to get actives:
Endpoints: https://fortnite-public-service-prod11.ol.epicgames.com/fortnite/api/calendar/v1/timeline
Where is the data stored: result['channels']['client-matchmaking']['states'][INDEX]
Check date/time: data['validFrom']
Get the Infos: data['state']['region'][REGION]['eventFlagsForcedOn'][INDEX]

Thanks for the request. I have implemented both fetching of all playlists and fetching of currently active LTMs for a specific region.
Unfortunately, as you already know, I have decided to postpone a potential solution for gathering the actual display names of the playlists from the files. This might become an extension at a later time.


Will the training code be published?

I would like to make a model by having it learn in an original camera pose.
Hopefully the training code will be made available.

The training code is very specialized towards our infrastructure, and thus we do not have a plan to release a complete training script for now. But every module is there in the diffusers pipeline. It would be straightforward to write your own training script, though you may need to do some heavy engineering to utilize your IO/CPU and GPU/TPU/... efficiently to finish training in reasonable time.
We do plan to release the ControlNet training part in the near future.
A larger issue is how you deal with the camera pose. Because Zero123++ is all about reusing as much SD prior as possible for 3D; there can be only very weak prior for poses in SD.

Though not official, you can try the finetune code from https://github.com/TencentARC/InstantMesh


TINYINT is not supported by table inspector currently

Solves #27
@jung-thomas  if you want - i can also make a flag for inspectTables/massConvert commands to support hana. cds type.
Like --hana. What do you think about this?

Now it's optional and can be used like that
hana-cli massConvert SFLIGHT --hana or hana-cli inspectTable SFLIGHTS --hana


check for initialization call of redux in "Reuing Reducer Logic" example

Reducers get called initialy to return their initial state, this action will probably not pass a filter.
Therefor it is necessary to check for undefined as the given state and return a call to the reducer,
in order to get the reducers state initialzed

Yeah, I could see that working.  Thanks!


[Feature]: Add support for individual client imports

Self-service

[ ] I'd be willing to implement this feature

Input code
import DynamoDB from "aws-sdk/clients/dynamodb";

const client = new DynamoDB();

Expected Output
import { DynamoDB } from "@aws-sdk/client-dynamodb";

const client = new DynamoDB();

Additional context
No response

Test for individual client imports is added at https://github.com/trivikr/aws-sdk-js-codemod/pull/48


Add some links to epsic.ch or others famous websites

epsic.ch
ict-berufsbildung.ch
gri.ch
...

maybe in the readme?


[WIP] Romanian translation

so vampires can also understand HTTP/3

Well that was fun. The initial version of the translation is ready. Thank you for the great work you did, guys.

Awesome, I will merge. I've also invited you as a "collborator" on this repository so that you can deal with PRs and issues that are filed on the Romanian version!


Avoid using inv when not necessary

As pointed out by @pmli in #27, instead of computing matrix inverses, better to use np.linalg.solve when needed.

Addressed in PR #91, now merged into master.


macOS(10.12.1) install fail.  (unicorn-1.0.0rc3)

Building wheels for collected packages: simuvex
  Running setup.py bdist_wheel for simuvex ... error
  Complete output from command /Users/wxy/.virtualenvs/angr/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/g4/d0skzchs7m71kfqntq95x7jh0000gn/T/pip-build-9Uvh1g/simuvex/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /var/folders/g4/d0skzchs7m71kfqntq95x7jh0000gn/T/tmpmfqpZHpip-wheel- --python-tag cp27:
  running bdist_wheel
  running build
  Building sim_unicorn
  gcc -fPIC -c -O3 -o log.o log.c
  log.c:110:87: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
          dprintf(log_fd, "[%s][%s][%d] %s():%d ", timestr, logLevels[ll].descr, (pid_t)syscall(__NR_gettid), fn, ln);
                                                                                ^
  /usr/include/unistd.h:733:6: note: 'syscall' has been explicitly marked deprecated here
  int      syscall(int, ...);
           ^
  1 warning generated.
  g++ -I /Users/wxy/.virtualenvs/angr/lib/python2.7/site-packages/unicorn/include -I /Users/wxy/.virtualenvs/angr/lib/python2.7/site-packages/pyvex/include -L /Users/wxy/.virtualenvs/angr/lib/python2.7/site-packages/unicorn/lib -L /Users/wxy/.virtualenvs/angr/lib/python2.7/site-packages/pyvex/lib `pkg-config --cflags glib-2.0` -O3 -fPIC -std=c++11 -shared -o sim_unicorn.dylib log.o sim_unicorn.cpp `pkg-config --libs glib-2.0` -lunicorn -lpyvex
  sim_unicorn.cpp:207:3: error: use of undeclared identifier 'uc_context_free'
                  uc_context_free(saved_regs);
                  ^
  sim_unicorn.cpp:470:59: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
                                          printf("[%#lx, %#lx] overlaps with [%#lx, %#lx].\n", address, address + size, after->first, after->first + after->second.size);
                                                   ~~~~                                        ^~~~~~~
                                                   %#llx
  sim_unicorn.cpp:470:68: warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long' [-Wformat]
                                          printf("[%#lx, %#lx] overlaps with [%#lx, %#lx].\n", address, address + size, after->first, after->first + after->second.size);
                                                         ~~~~                                           ^~~~~~~~~~~~~~
                                                         %#llx
  sim_unicorn.cpp:470:84: warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long' [-Wformat]
                                          printf("[%#lx, %#lx] overlaps with [%#lx, %#lx].\n", address, address + size, after->first, after->first + after->second.size);
                                                                              ~~~~                                      ^~~~~~~~~~~~
                                                                              %#llx
  sim_unicorn.cpp:470:98: warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long' [-Wformat]
                                          printf("[%#lx, %#lx] overlaps with [%#lx, %#lx].\n", address, address + size, after->first, after->first + after->second.size);
                                                                                ~~~~                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                %#llx
  sim_unicorn.cpp:482:59: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
                                          printf("[%#lx, %#lx] overlaps with [%#lx, %#lx].\n", address, address + size, before->first, before->first + before->second.size);
                                                   ~~~~                                        ^~~~~~~
                                                   %#llx
  sim_unicorn.cpp:482:68: warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long' [-Wformat]
                                          printf("[%#lx, %#lx] overlaps with [%#lx, %#lx].\n", address, address + size, before->first, before->first + before->second.size);
                                                         ~~~~                                           ^~~~~~~~~~~~~~
                                                         %#llx
  sim_unicorn.cpp:482:84: warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long' [-Wformat]
                                          printf("[%#lx, %#lx] overlaps with [%#lx, %#lx].\n", address, address + size, before->first, before->first + before->second.size);
                                                                              ~~~~                                      ^~~~~~~~~~~~~
                                                                              %#llx
  sim_unicorn.cpp:482:99: warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long' [-Wformat]
                                          printf("[%#lx, %#lx] overlaps with [%#lx, %#lx].\n", address, address + size, before->first, before->first + before->second.size);
                                                                                ~~~~                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                %#llx
  8 warnings and 1 error generated.
  make: *** [sim_unicorn.dylib] Error 1
  error: Unable to build sim_unicorn

  ----------------------------------------
  Failed building wheel for simuvex
  Running setup.py clean for simuvex
Failed to build simuvex

Please see if this issue is helpful, as well as the PR (here)[https://github.com/angr/angr-doc/pull/116].

i think https://github.com/angr/simuvex/commit/89a952fb23c3ec3f2e28aa20c17a625acf810b6e fix this bug .
Can you update the package on pypi ?
thanks a lot

In fact that's not a bug on our side, rather an API breaking change in unicorn-engine itself.
Hopefully we are releasing a package this weekend.

For now, you can manually pull SimuVEX from GitHub and then perform a pip install locally.
BTW, happy Chinese new year!

Yes , that is not simuvex's bug.
I will perform a pip install locally.
Happy Chinese new year too.
新年快乐。再次感谢。


NGINX configuration link is not working

The link to the sample configuration for NGINX in documentation gives 404, the link is not pointing to the correct file.

The link is at the end of this document. Confirm that it is linked properly.
https://github.com/beckn/beckn-onix/blob/main/docs/user_guide.md


Removed try-catch from script, add regex to replace newline

Last pull request (#14) introduced a serious problem when running any script in a single line (python won't run a script with a try-except block in a single line because indentations, see #15 for more details).
Also, running the package on a linux-based server throws an error related with newline not being replaced correctly.
This PR should address all of this.

I need feedback on 753c104 in order to change how to handle exceptions in such cases.

Requesting review from @Gummibeer to merge this asap

I think that's no longer needed as of latest main changes!?

There's a new release: https://github.com/Astrotomic/php-deepface/releases/tag/0.4.0


Missing text in "Working with the Apache Maven registry"

What article on docs.github.com is affected?
https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry
What part(s) of the article would you like to see updated?
The first if statement at line 34 of the corresponding Markdown file causes nothing to appear between "Replace" and ", and OWNER", effectively resulting in the paragraph being

In the repositories tag, configure a repository by mapping the id of the repository to the id you added in the server tag containing your credentials. Replace , and OWNER with the name of the user or organization account that owns the repository. Because uppercase letters aren't supported, you must use lowercase letters for the repository owner even if the GitHub user or organization name contains uppercase letters.

0xBEBedeF0B8844e3406E8D3a803Bf0c61E586005C

That is wonky @giovannivelludo! You or anyone else are welcome to open a PR with a fix 💖


Cannot send basket with Koha 19.05 & plugin 19.05009

Upon trying to send the contents of the basket, we receive the following error:
Undefined subroutine &main::decode_json called at /var/lib/koha/cust/plugins/Koha/Plugin/EDS/opac/eds-methods.pl line 521.
Explicitly adding an import for decode_json alongside the existing encode_json import appears to fix the issue though, checking the mail logs, the mail is never sent. It is silently failing somehow as there are no errors in the log.
Koha: <IP_ADDRESS> running Plack
Plugin: 19.05009

This should be resolved in eds_plugin_20.05002.kpz, which is compatible with 19.11.  Let us know if you have any issues!


Front End MVP features

Let's discuss MVP features for the front end
Please add any thoughts you have on what the features are for the front end, we can add them to a checklist here, which can then be added to the MVP Checklist this will help with the planning of the next stage of the project.

Our tools :hammer:

Gatsby
styled-components
CSS Grid

But they're tools, not features 🙃

Well, our features:

we are using React and best practices of React to build components and then assemble pages from components
we are doing CSS in JS with styled-componets and loading page colours as props.theme
we don't use libraries with built-in grids instead we build our own responsive grid with CSS Grid
we use qraphQL queries to insert data into pages (one query till now but will be more)
we use prop-types and eslint(last I switched off, because it makes my coding in atom quite impossible :upside_down_face: )

Well, now I'm able to understand the question. :thinking:
The font-end features of our MVP consists of:

5 pages of grad.then() are built
all 5 pages are responsive

Create pages for:

adding user content (project User Stories, issue #129 )
reading a whole text of story ( project User Stories, issue #130)

Front-end MVP features in Voyage-6

[ ] Pages

[x] Main, Jobs, Learn, Events, Support, Stories pages;
[ ] Page for adding user content;
[ ] Page for reading the whole story;
[ ] Page for user authentication.

[ ] Data

[ ] the app state is managed by React Context API (or Redux);
[ ] data layer is managed by Apollo qraphql client;
[ ]  Jobs page has real content (data from 3-rd party API's or our DB);
[ ] Stories page has real content.

[ ] Testing UI components

[ ] test for every component;
[ ] good coverage.


chore(Order/SuccPred/Basic): Move succ/pred being archimedean to a different file

Also prove le_total_of_ge, le_total_of_le, lt_or_le_of_ge, lt_or_le_of_le.

Would you mind moving the new lemmas to a later PR? Can be #16272 if you want

Alright

Thanks!
maintainer merge

bors merge


Sort by sender bug

The unified inbox sometimes has this issue where it visually sorts by sender, but the entries I tap open up messages which do not corespond to the subject line.
It seems the list is visually sorted, but the objects still think they're sorted by date.

Works for me. Closing this because the information on which K-9 Mail version is affected is missing. For all we know this is no longer an issue with the current version.


Parallelising builds: Update info about knapsack gem

I added a few more tests runners in knapsack gem.
I also worked with a few companies with large projects. They use Buildkite and knapsack_pro gem. Often people ask me how to run a project with knapsack_pro and what CI provider I recommend and my first choice is Buildkite because it can be really fast comparing to other solutions.
I prepared article with a simple introduction to Buildkite:
http://docs.knapsackpro.com/2017/auto-balancing-7-hours-tests-between-100-parallel-jobs-on-ci-buildkite-example
and examples of configured Ruby/Rails project + knapack_pro with and without Docker:

https://github.com/KnapsackPro/buildkite-rails-docker-parallel-example-with-knapsack_pro
https://github.com/KnapsackPro/buildkite-rails-parallel-example-with-knapsack_pro

Here is related PR for list of pipelines:
https://github.com/buildkite/example-pipelines/pull/4

Thanks @ArturT! I've done some testing before we merge this in, and I have some problems getting capybara-screenshot behaving. I'll resolve it with you on email/Slack and then we can get this in.

One of knapsack_pro users spotted the problem with capybara-screenshot. I added info how to solve it here:
https://github.com/KnapsackPro/knapsack_pro-ruby#how-to-use-queue-mode
If you will encounter a problem with stack level too deep then you may want to ensure you load your dependencies only once in spec/rails_helper.rb or spec/spec_helper.rb. The Queue Mode may load multiple times the rails_helper.rb hence the problem. For instance, the problem occurs for capybara-screenshot gem. Here is the example how you should load the gem.
unless ENV['KNAPSACK_PRO_RSPEC_DEPENDENCIES_LOADED']
  ENV['KNAPSACK_PRO_RSPEC_DEPENDENCIES_LOADED'] = 'true'
  require 'capybara-screenshot/rspec'
end

I've updated example of spec_helper.rb by adding info how to load capybara-screenshot:
https://github.com/KnapsackPro/buildkite-rails-docker-parallel-example-with-knapsack_pro/blob/master/spec/spec_helper.rb
https://github.com/KnapsackPro/buildkite-rails-parallel-example-with-knapsack_pro/blob/master/spec/spec_helper.rb

@ArturT ah, I tried that but couldn't get it working. I've made some more adjustments to make sure the env check happens between the require and the bind.
I'm running some more tests now… and I'd love to fix the underlying cause inside capybara-screenshot.
Do you know what part of knapsack might be causing that, so I can dig some more?

I was looking at the capybara-screenshot the other day but without luck what was the root problem.
Here is how I load RSpec
https://github.com/KnapsackPro/knapsack_pro-ruby/blob/master/lib/knapsack_pro/runners/queue/rspec_runner.rb#L42
to run subset of the work queue. Then I clear rspec world and again run subset of work queue.
Probably the problem is with RSpec that may load rails_helper.rb/spec_helper.rb again. require 'capybara-screenshot/rspec' should load once but it seems not or RSpec is caching something.
The workaround with ENV['KNAPSACK_PRO_RSPEC_DEPENDENCIES_LOADED'] seems to be good enough and can be reused if another gem will cause a similar problem.

I sent you more details over the Buildkite Slack. Any chance you could jump on? Or support email better?

@toolmantim You can send me details on my email. I will have more time to dig it later this evening (I'm in CEST).

@ArturT I have a recreated the smallest possible example to show the error: https://gist.github.com/toolmantim/2a1d73fd2f8cca15f38255995af035a2 I hope that helps to figure out what's going on!

I found root problem.
https://github.com/mattheworiordan/capybara-screenshot/blob/master/lib/capybara-screenshot/rspec.rb#L91
Here is before(:suite) block. It is expected to run only once before whole test suite.
But in Knapsack Pro Queue Mode then RSpec runner is run multiple times for each subset of test files from work queue. It means the before(:suite) will be executed for each subset of test files from the work queue.
I will try to find some workaround how to solve it.

Perhaps this would do it?
diff --git a/lib/capybara-screenshot/rspec.rb b/lib/capybara-screenshot/rspec.rb
index cc51fb0..fa60d0e 100644
--- a/lib/capybara-screenshot/rspec.rb
+++ b/lib/capybara-screenshot/rspec.rb
@@ -88,6 +88,7 @@ RSpec.configure do |config|
     if Capybara::Screenshot::RSpec.add_link_to_screenshot_for_failed_examples
       RSpec.configuration.formatters.each do |formatter|
         next unless (reporter_module = Capybara::Screenshot::RSpec::REPORTERS[formatter.class.to_s])
+        next if formatter.singleton_class.included_modules.include?(reporter_module)
         formatter.singleton_class.send :include, reporter_module
       end
     end

Perfect! It works. I will create PR for capybara-screenshot.

Awesome!

I've created PR to capybara-screenshot. https://github.com/mattheworiordan/capybara-screenshot/pull/205

Awesome! I've just tested and it works AOK.
I also updated the gist:
https://gist.github.com/toolmantim/2a1d73fd2f8cca15f38255995af035a2
Will test that out on our app now.

I update the documentation for knapsack_pro in Queue Mode section and in FAQ.
I also updated examples rails apps:
https://github.com/KnapsackPro/buildkite-rails-docker-parallel-example-with-knapsack_pro/blob/master/spec/spec_helper.rb
https://github.com/KnapsackPro/buildkite-rails-parallel-example-with-knapsack_pro/blob/master/spec/spec_helper.rb
This should be good enough solution for now until capybara-screenshot fix is merged and a new gem version released. Then I will update docs for knapsack_pro to ensure the proper version of capybara-screenshot is in use.

@toolmantim It seems capybara-screenshot releases are not that often. I think we could merge this PR and I will keep an eye on the capybara-screenshot and when the release will be published then I will update documentation in buildkite-rails-parallel-example repos to point directly to capybara-screenshot version >= with our fix.

Thanks @ArturT. This PR needs some changes before merging. We'll get to it shortly, I promise!

@toolmantim Please let me know if I need to change anything in this PR or here https://github.com/buildkite/example-pipelines/pull/4

Thanks Arthur! I've just updated it to match the rest of the style of our documentation, and will merge it now :) Sorry for the wait.

@toolmantim Looks awesome. Thanks!
There is one more left PR: https://github.com/buildkite/example-pipelines/pull/4

Thanks @ArturT. I'm not sure about merging that, because it's the only example that requires a commercial tool, and might be a little confusing. I wonder if we should simply update the Readme on the existing Knapsack example repo to point to the two Knapsack Pro example pipelines?

Sorry for sitting on that one for a while… I had to figure out what to do! That's been fixed up on the other PR now.

Sure 👍


Crash and weird behavior when using const packed arrays

Godot version
4.0b11, 0abd60b9530d574fc8fc466e6a3f0c5b9814f697
System information
Windows 10, RTX 2060, Vulkan
Issue description
Trying to iterate over a const PackedStringArray in an _init() function causes silent crash. PackedInt32 + PackedInt64Arrays don't have the correct values.
Not fixed by #71228
Steps to reproduce
Try to run this code (note: same issues exist using _ready() as well):
extends Node

const array: Array = ["hello", 1234, 1.234]
const packed32: PackedInt64Array = [5034, 4343, 10101]
const packed64: PackedInt64Array = [5034, 4343, 10101]
const packed_string: PackedStringArray = ["hello", "goodbye", "testing"]

func _init():
	print_debug("about to iterate over array")
	for thing in array:
		print(thing)
	print_debug("about to iterate over packed32")
	for thing in packed32:
		print(thing)
	print_debug("about to iterate over packed64")
	for thing in packed64:
		print(thing)
	print_debug("about to iterate over packed_string")
	for thing in packed_string:
		print(thing)

which gives this output:
Godot Engine v4.0.beta.custom_build.0abd60b95 - https://godotengine.org
Vulkan API 1.3.224 - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce RTX 2060 with Max-Q Design

about to iterate over array
   At: res://main.gd:9:_init()
hello
1234
1.234
about to iterate over packed32
   At: res://main.gd:12:_init()
249108103170
10101
0
about to iterate over packed64
   At: res://main.gd:15:_init()
249108103170
10101
0
about to iterate over packed_string
   At: res://main.gd:18:_init()

================================================================
CrashHandlerException: Program crashed
Engine version: Godot Engine v4.0.beta.custom_build (0abd60b9530d574fc8fc466e6a3f0c5b9814f697)

Minimal reproduction project
static-packed.zip

I assume it will be fixed by #70873. There is an implicit conversion involved for packed32: PackedInt64Array = [5034, 4343, 10101], from usual array to PackedInt64Array, which currently does not happen because it is const.

Yes, I tested, with #70873 the output looks correct:
about to iterate over array
hello
1234
1.234
about to iterate over packed32
5034
4343
10101
about to iterate over packed64
5034
4343
10101
about to iterate over packed_string
hello
goodbye
testing

I'm not sure how #70873 works with typed arrays, but I think it's either already fixed in #69248 or can be fixed quickly.

It works because there exist a conversion for a usual array to packed one and back. Which before I read this issue I was not aware of. The fact that it exists makes my array PR more consistent with current state.
When it comes to literals, like in shown example, I do agree that it is handy, but I'm not sure about implicit copying existing array - var packed: PackedStringArray = my_array.

I encountered the same kind of crash behavior in Godot 4.0 beta 11 while iterating in an array using this:
const ARRAY : PackedStringArray = ["a", "b", "c", "d", "e"]
While, using this works perfectly:
var ARRAY : PackedStringArray = ["a", "b", "c", "d", "e"]
If it can help...


Improve error message for dependency loading

Currently LSP display just generic [E] Failed to load deps which does not give a clue
about what happens. Pass underlying error information, so user can at least guess what's going on

That should help me troubleshoot https://github.com/FStarLang/FStar/issues/2523


Usage of Ingress in deCONZ causes HA to ban my IP

Hi,
my config is:
Conbee 2,
RPi 3B+,
Hass.io 0.103.2,
deCONZ add-on 4.1.
I tried to use deCONZ UI via Ingress but after that HA bans my IP. I think it's unexpected behavior.

This is already reported in https://github.com/home-assistant/hassio-addons/issues/929

I wouldn't say it's the same issue. I understood #929 is regarding access to Phoscon app (invalid password). I can access my Phoscon app (password is correct) but after I close the app I can see notification from HA about banned IP (my IP).

Oh, I see. I have issues both with logging into phoscon and getting banned when trying to access the add on. I just assumed that you also had login issues into phoscon.

@VivantSenior It is a duplicate/result of #929


Prompt for username/password, and choose remote

The remote is selected based on the location that the docs are set to be
pushed to. If it cannot be found locally, then the docs location (with
https) is used.

@pblasucci )

Sweet!


Improve Questions Page Layout

The questions page layout could be better with more intuitive design and user experience

I can contribute to improvising the questions page layout. Kindly assign this to me under SWOC'24

Sure @Anubhab-03, go ahead and feel free to reach out for any help

can you please assign me this issue under SWOC.

i can contribute to this issue, can you please assign me to this

Go ahead @gayathrik23


kvstore: forcefully close etcd session on error

If etcd returns an error of lease not found we need to close the session
so it gets renewed automatically.
Signed-off-by: André Martins<EMAIL_ADDRESS>

This change is

test-me-please

@tgraf @raybejjani I've added a helper to check for the error condition. I've test it locally and the main reason why the channel is not close is because the TTL for that particular has not been reached in the client side. The channel is closed when:
// Done returns a channel that closes when the lease is orphaned, expires, or
// is otherwise no longer being refreshed.

test-me-please


Debugger: error text from configurationDone is not shown to the user

Issue Type: Bug
Issue
If a debug adapter fails configurationDone, then debugging stops. But VS Code will no longer show the user the error message that the debug adapter sent.
This issue was previously reported and fixed (see https://github.com/microsoft/vscode/issues/87745) but it has regressed in the most recent version of VS Code (insiders and standard).
Insiders version that I checked:
Version: 1.45.0-insider (system setup)
Commit: d69a79b73808559a91206d73d7717ff5f798f23c
Date: 2020-05-06T09:26:27.927Z
Electron: 7.2.4
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363

CC @isidorn

@gregg-miskelly I have no clue how I removed the .error call in the past couple of releases, but reintroduced it now so we should be good.
Try it out with VS Code insiders from Monday and let me know how it goes. Thanks!

@isidorn Thanks for the quick fix. Works great.

Thanks for letting us know, adding verified label.


Support for timezones?

Ask your Question
Say the time is 0:00 UTC and I'm in GMT+1 and I open the timepicker, the time will show 01:00.
What if I want to show 0:00 instead? Do I have to manually do some date shifting based on the UTC offset to get this behaviour? Or is there some way to set a timezone?

👋 this component doesn't the input/output date and/or its manipulation, at least not more than the native components do. So, yes, you'll need to do that directly outside of it.

I had the same problem and I solved it using moment.
new Date('2000-01-01T20:00:00') parses a string as UTC, but time picker will adjust it to local time. So if the local timezone is GMT+1, time picker would display 21:00.
While moment parses the same string as local time by default.
moment('2000-01-01T20:00:00').toDate() on a device with GMT+1 timezone would return a date object with UTC time 19:00 and then time picker will adjust it back to GMT+1 and display it as 20:00.
So if you want to set initial time from a string, you should set date prop to
<DateTimePicker
      mode="time"
      date={moment('2000-01-01T20:00:00').toDate()}
      onConfirm={this._handleTimePicked}
/>

No matter the timezone settings, initial time displayed would be 20:00. Then when a user selects time 10:00 in his local time zone, say GMT+3, onConfirm function would return a Date object in UTC time 07:00. If you want to convert it to local time and display it as a string, you could do it like this:
  _handleTimePicked = date => {
    timeStringLocal = moment(date).format("HH:mm"); // "10:00"
    timeStringUTC = moment(date).utc().format("HH:mm"); // "07:00"
    console.log(timeStringLocal);
  };

If you want to parse a date-time string as UTC with moment, Z should be added at the end.
moment('2000-01-01T20:00:00Z') would return an object with UTC time 20:00

Thanks for the suggestion.
One thing to consider that makes this more confusing is that V8 (so in debug mode) and JavascriptCore have different behaviors here.
new Date('2000-01-01T20:00:00') is actually parsed in local timezone in debug mode. This is according to the latest ECMA spec which states that the lack of timezone specifier in a date time string should mean it's parsed in local timezone. That's what happens in debug mode too.
In non-debug mode, the same line is parsed as UTC like you said. The getTimezoneOffset is the same in either case.


need to check Block.plot_areas_3panels(peak_idx!=None) working properly

I use this a lot for my olivine paper supplement (currently in a private repo)


hey im getting error after install xcode 8

i updated xcode to 8 and its force me to do covert code in to current syntax with this message.

“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.

any have idea about that?

to resolve your problem set Pods>Alamofire>Use Legacy ... to No (look at the screenshot)

but after this i have lot of issues, so if someone know how to resolve these please tell me

same problem here, and the solution on #1526 does not work.

Same problem for me too. After changing it to NO getting Plethora of errors. any solution guys???

solution #1526 not working

same error. I tried to force a specific version of the pod, but still the same. 😢

Looks like you are using a older release. You must use

3.5.0 for Swift 2.3
4.0.0 for Swift 3.0

and also CocoaPods 1.1.0.rc.2 for Xcode 8: gem update cocoapods --pre.

Same error.I need use Alamofire in swift2.3&Xcode8.0. But have not found any solution

Thank you @ikesyo! 🍻
For anyone still having issues, please refer to @ikesyo's solution.

Hi @cnoon I am using  CocoaPods 1.1.0.rc.2 with Xcode 8 but still when I compile my project got above errors. I think solution should work for all. What do you suggest?
thanks

Wipe your DerivedData folder @amirpervaiz086. If you continue to have questions then you should move your question to Stack Overflow.


Proposal - Move the Xcode project rules into a separate repository

rules_ios currently supports two different ways for generating and building Bazel projects in Xcode.
These rules add a fair amount of complexity and their tests have been a source of confusion in several PRs. I.e. updating the fixtures, bzlmod support, requiring use of Intel/Rosetta to ensure fixtures are the same as CI.
Should we instead separate the repositories such that rules_ios contains the Apple bundling rules and rules_ios_xcodeproj contains the legacy & xchammer Xcode rules?
IMO this fixes a few issues:

Users who don't use rules_ios for Xcode project generation no longer need to understand or maintain these rules.
Maintainers/contributors to the Xcode rules now have a tested repository where they can dictate the versions used for rules_ios & it's dependencies.
Maintainers/contributors to rules_ios who do not use or have worked on the Xcode rules can better focus on improving the existing iOS rules.

@thiagohmcruz @jerrymarino Thoughts?

I can see the benefits of splitting things up this way, one concern is how would CI work? IMO It's very useful to know right away (in a PR) that a change to the rules broke the Xcode project generator so I assume one (potentially minor?) downside is that the dependency inversion here implies that rules_ios_xcodeproj would have to manage its dependency on rules_ios SHAs and vet changes independently correct (similar to what rules_xcodeproj does today)?
Re XCHammer I added most things here when I was experimenting with it. If anything XCHammer/xcbuildkit is blocking things we should simply delete the code since (1) we were the only ones using it as an experimental thing that was not supposed to break any main flow and (2) we can always blame and bring back if anyone wants to continue the XCHammer work.

I can see the benefits of splitting things up this way, one concern is how would CI work?

The goal here would be so that folks in this repo do not have to worry about it. It should be something the users of the legacy generator care about. If newer rules_iOS breaks something for legacy generator the maintainers of the legacy generator would be responsible for fixing it vs. right now that cost is ok everyone.

I'm mostly thinking of users of rules_ios that are also relying on the legacy generator (we are the main consumers I think but I don't think if we're the only ones?).
If the generator breaks the cost is on everyone today because the legacy generator is part of the repo and the intent is to provide a set of rules and an Xcode generator that work together. But, I understand that the proposal here is exactly to break that dependency.
To us it would be less of a problem soon since we're migrating to rules_xcodeproj but my concern is about "legacy generator maintainers" not having CI vetting that the legacy generator continues to work until someone bumps rules_ios there or someone reports an issue (ideally we would catch these things earlier).
I'm not against the proposal, I just want us all to understand the trade-offs as maintainers and wanted to brain dump what is on my mind.
If we knew how many folks rely on it it would be a lot easier to make a call 😔. I wonder how other OSS repos solve for that without being creepy and collecting data they shouldn't 🤔 (surveys I guess?).

Yeah it would be useful to understand how many users are using these rules first for sure.

The built in generator is what we currently use, ( AFAIK others of rules_ios ) and it does make it easier having it in tree for us. If we move off of it, it might be an argument in favor of removing it: when folks use either xchammer or rules_xcodeproj to generate projects. At the EOD these rules are be pretty interchangeable to genrate the pbxproj.

These rules add a fair amount of complexity and their tests have been a source of confusion in several PRs. I.e. updating the fixtures, bzlmod support, requiring use of Intel/Rosetta to ensure fixtures are the same as CI.

Is there an issue with running ./tests/xcodeproj-tests.sh --update ? We use the script quite often to bump the fixtures and have seen large adoption of rules_ios with this generator. I also wonder how we can improve the situation by moving to another repo


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v5.15.12",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=53ccdc73eedaf0e922c45b569b797d2796fbaafa"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "53ccdc73eedaf0e922c45b569b797d2796fbaafa",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "phonet/pep: refuse to enable an unbound pipe\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.15.12 by commit 53ccdc73eedaf0e922c45b569b797d2796fbaafa. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2021-1002843


.NET Core performance

The new .NET Standard library seems to be a lot slower than the .NET Framework counterpart. In some cases my requests take up to 6 times longer.
I guess you are already aware of this as it is a very early preview release. For tracking purposes I created this issue anyway.

Thanks for reporting this! Yes, there are cases where requests might take longer. Can you tell whether you are running your app on Windows/Linux/MAC? Which connection mode/policy are you using while instantiating client? If you can list the requests that are taking longer, we will be able to narrow it down.

I'm running .NET Core 1.0.1 on Windows w/ default connection policy + EnableEndpointDiscovery = false;.
It seems to be slower for all requests quite consistently, I'll update this once I analyzed it in more detail.

@FelschR are you still blocked?

@kirankumarkolli I haven't checked this for a while because I was working on other things.
Feel free to close this issue. I'll create a new one or ask for this to be reopened in case I notice any issues with this once I work on it again.


Now that the pirate bay is down, what is everyone using to search and get magnet links?

Was just wondering what everyone is migrating to now that tpb's api is down for good.

http://thepiratebay.cr could work with some minor changes

@mojoaxel Whoa! Looks like https://thepiratebay.se is back!
However, tests are still failing :disappointed:
Sorry, I'm down with flu :mask: Will look at it in a few days!

thepiratebay is up. I've fixed the tests.
@AndrewSB  May I close the issue?

Yup, I'm sorry I didn't do it myself. Thanks for all the work @t3chnoboy


Remove trailing slash of host

Fix https://github.com/tensorflow/k8s/issues/130.
@jlewi PTAL.

/ok-to-test


Added bind_front() and bind_back()

Hopefully it is fully constexpr and conditionally noexcept with C++14 onwards

Could add bind_back() as well. Though I've never had a need for it.

@davisking This should be ready to go

I'm getting a build error for this when trying it with gcc 7.5.0.  Try building with that and you will see what I mean.

Cool. I'm currently using Ubuntu22 so will figure out a way to install gcc7

Might have to get a rusty old RPI out. I think gcc7 is the default ok raspbian

I think this will work. But this is definitely due to a bug in gcc7. I've seen other similar reports online

Yeah.  Totally a bug in that version of gcc.
Anyway, thanks for the PR :)


[Select] getting slow when loading 2000 options

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

When Select Component rendered with 2000 options, getting delay to show the drop-down and select the value

Expected Behavior 🤔
Need to be fast on showing the drop-down and selecting the value

Steps to Reproduce 🕹
https://codesandbox.io/s/material-demo-5ygxr

Your Environment 🌎

Tech
Version

Material-UI
v4.3.2

React
16.9.1

Browser
chrome

etc.

That's to be expected. You need to use a virtualisation solution, perhaps following this example: https://material-ui.com/components/lists/#virtualized-list

That's to be expected. You need to use a virtualisation solution, perhaps following this example: https://material-ui.com/components/lists/#virtualized-list

@mbrookes with a usual virtualisation solution we'll lose full keyboard interactivity. For example, we'll not be able to type an option's text to move the focus. Is it possible to tweak something and have full keyboard interactivity with a virtualisation solution??

You might have to use the native select in that case: https://material-ui.com/components/selects/#native-select

Hi @oliviertassinari
Thanks for adding as Enhancement, we are waiting for upcoming release.
@mbrookes : By using native-select, options will not come in material design but we are expecting the performance in material-ui-select.

That's to be expected. You need to use a virtualisation solution, perhaps following this example: https://material-ui.com/components/lists/#virtualized-list

@mbrookes with a usual virtualisation solution we'll lose full keyboard interactivity. For example, we'll not be able to type an option's text to move the focus. Is it possible to tweak something and have full keyboard interactivity with a virtualisation solution?

It's one of the reasons why I prefer <Select options={[options]} /> + renderprops APIs. While a declarative API looks nice for few options it just doesn't scale for multiple options or custom renderers with type-ahead support. It's also much friendlier to types which would probably negate the reduced DX from using renderprops.
This applies essentially to all collection widgets (trees, lists and grids). I'll take a look at the current keyboard a11y implementation and how you would add virtualization to Select.

That's to be expected. You need to use a virtualisation solution, perhaps following this example: https://material-ui.com/components/lists/#virtualized-list

@mbrookes with a usual virtualisation solution we'll lose full keyboard interactivity. For example, we'll not be able to type an option's text to move the focus. Is it possible to tweak something and have full keyboard interactivity with a virtualisation solution?

It's one of the reasons why I prefer <Select options={[options]} /> + renderprops APIs. While a declarative API looks nice for few options it just doesn't scale for multiple options or custom renderers with type-ahead support. It's also much friendlier to types which would probably negate the reduced DX from using renderprops.
This applies essentially to all collection widgets (trees, lists and grids). I'll take a look at the current keyboard a11y implementation and how you would add virtualization to Select.

Hi eps1lon,
did you have the time to checkout the implementation of virtualization to Select (either using React-Window or React-Virtualized).
My problem is pretty similar to this post here:
https://stackoverflow.com/questions/57799541/unable-to-select-item-when-using-textfield-or-select-with-react-window/60258515#60258515

did you have the time to checkout the implementation of virtualization to Select (either using React-Window or React-Virtualized).

Sorry, I didn't have time for it. Doesn't look like I will have bandwidth for this during OSS time in the near future.

https://material-ui.com/components/autocomplete/#virtualization

virtualization is good, but anyway concerning with  overhead in performance
I have list of ~800 items
{list.map(s=>{
                      return <Fragment key={s.mediaID}>

{s.title}

                        </Fragment>
                  }) }

{list.map(s=>{
                      return <Fragment key={s.mediaID}>
                             <Typography className={classes.someClass}>{s.title}

                        </Typography>
                  }) }

the difference in execution time is 6-7 times.
if use ListItem instead of Typography, difference will be up to x20 times

virtualization is good, but anyway concerning with  overhead in performance
I have list of ~800 items
{list.map(s=>{
                      return <Fragment key={s.mediaID}>

{s.title}

                        </Fragment>
                  }) }

{list.map(s=>{
                      return <Fragment key={s.mediaID}>
                             <Typography className={classes.someClass}>{s.title}

                        </Typography>
                  }) }

the difference in execution time is 6-7 times.
if use ListItem instead of Typography, difference will be up to x20 times

Will this ever be fixed? Ive researched around and the only solutions seem to be using virtualization with Autocomplete, which is not a Select (and Ive tried to make the Autocomplete work as a select by disabling typing, but could not make it work), so its really not a solution.

@UnderTheMoonspell we might rebuild the select to solve this and a dozen other issues we have with the component.

@UnderTheMoonspell 🤟

So basically there's no way to integrate any virtualization solution with non-native Select component? I am not asking about List or Autocomplete.
Select requires you to pass MenuItem as direct descendants, so as the result you can't wrap them in say FixedSizeList from react-window.
Is there some way around it?

Hello! Are there any updates on this issue? Regarding of virtualization in Select component specifically.


Version 5.2.0 & mysql SessionDataStore delete failed with wrong SQL

I've got the following exception with version 5.2.0 and MySQL version 5.7.12-log.
java.sql.SQLException: You can't specify target table 'IDN_AUTH_SESSION_STORE_DELETE' for update in FROM clause
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:963)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3966)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3902)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2526)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2673)
	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2549)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1861)
	at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1192)
	at org.wso2.carbon.identity.application.authentication.framework.store.SessionDataStore.deleteSTOREOperationsTask(SessionDataStore.java:468)
	at org.wso2.carbon.identity.application.authentication.framework.store.SessionDataStore.removeExpiredOperationData(SessionDataStore.java:347)
	at org.wso2.carbon.identity.application.authentication.framework.store.OperationCleanUpService$DatabaseOperationCleanUpTask.run(OperationCleanUpService.java:62)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

I've checked the org.wso2.carbon.identity.application.authentication.framework.store.SessionDataStore class and find out the following SQL must be wrong:
private static final String SQL_DELETE_STORE_OPERATIONS_TASK_MYSQL = "DELETE IDN_AUTH_SESSION_STORE_DELETE FROM IDN_AUTH_SESSION_STORE IDN_AUTH_SESSION_STORE_DELETE WHERE OPERATION = 'STORE' AND SESSION_ID IN (SELECT SESSION_ID FROM (SELECT SESSION_ID FROM IDN_AUTH_SESSION_STORE WHERE OPERATION = 'DELETE' AND TIME_CREATED < ?) IDN_AUTH_SESSION_STORE_SELECT)";

This SQL use subquery SELECT and DELETE row from same table, that's not allowed in current MySQL.
Also, this SQL seems cannot delete anything. Why not doing like this:
DELETE IDN_AUTH_SESSION_STORE_DELETE
FROM
	IDN_AUTH_SESSION_STORE IDN_AUTH_SESSION_STORE_DELETE
WHERE
	IDN_AUTH_SESSION_STORE_DELETE.OPERATION = 'DELETE'
AND IDN_AUTH_SESSION_STORE_DELETE.TIME_CREATED < ?;

@mefarazath @madurangasiriwardena
Sorry for my miss understood for that query. But I confirmed following will work:
DELETE IASS
FROM
	idn_auth_session_store IASS
WHERE
	IASS.OPERATION = 'STORE'
AND	IASS.SESSION_ID IN(
		SELECT
			IASS_DEL.SESSION_ID
		FROM
			(
				SELECT
					IASS_SEL.SESSION_ID
				FROM
					idn_auth_session_store IASS_SEL
				WHERE
					IASS_SEL.OPERATION = 'DELETE'
			) IASS_DEL
	)

I'll try to fork current code, fix this and commit a pull request.


refactor: Swift UI FCM app consistency

Part of: https://github.com/customerio/issues/issues/9818
Misc changes to make the UI of the sample app more consistent to other sample apps.

I saw enough in testing this build that I know the issue won't close after this push, but I am fine with this commit happening and more clean-up following up behind it. https://www.notion.so/custio/073e1db8d6954fa0b53008c77b153add?v=675d4a8a76c041958b390b1e1b4ffdf3