Add injectable INetworkService

Closes #37

Adds INetworkService – an interface which should be injected in order to perform network related operations. The default implementation provided is AxiosNetworkService
Adds a NetworkModule – a Global module which is provided by the AppModule. This means that new features can assume that INetworkService will be provided by the main application without depending directly on it
A TestNetworkModule can now be used in the tests where a mock HTTP client is needed

Coverage increased (+0.3%) to 76.615% when pulling 6ff31d6e6be4ea27c0717f6a7d8e36b9779d7569 on network-service-wrapper into da322b4cd5260607b9b69cb6adbc76cfd394658f on main.

@hectorgomezv I'm considering the alternative where the features do not depend on "common" modules like the HTTP one directly but would expect one to be provided by the app.
Nest only allows this via Global modules. The advantage of this would be that we could remove most of the Testing modules and we register the production HTTP module in production code and the test one in the tests.

Awesome job! I really like this approach, way better than depending on Axios explicitly! 🚀

Yeah I agree 🙌

@hectorgomezv I'm considering the alternative where the features do not depend on "common" modules like the HTTP one directly but would expect one to be provided by the app.

Nest only allows this via Global modules. The advantage of this would be that we could remove most of the Testing modules and we register the production HTTP module in production code and the test one in the tests.

Sounds good 👍🏻 For this case I think we'll only use the NetworkModule for config/transaction services but making it Global it's OK. When implementing caching this Global feature would be very useful.

Yeah Caching would also be something that the AppModule would provide. Features can assume it exists. If it doesn't it won't work either way (error message).
Same for the Environment Variables 🙌

BTW I have this PR without using this NetworkModule obviouly, I think we could merge it anyway to maintain it concise, and I will create an issue to make that feature use NetworkModule, what do you think?

Yes! It's ok! 👍

BTW I have this PR without using this NetworkModule obviouly, I think we could merge it anyway to maintain it concise, and I will create an issue to make that feature use NetworkModule, what do you think?

Yes! It's ok! 👍

I adjusted the tests in this PR. It was simple change @hectorgomezv


[Bug]: The database change task that failed to be pre-checked cannot be started again

ODC version
ODC 4.2.0
OB version
Any version of OceanBase
What happened?
The database change task that failed to be pre-checked cannot be started again.
I need to deliver it again.

What did you expect to happen?
A re-launch button should be added for database change tasks that fail to pre-check.
How can we reproduce it (as minimally and precisely as possible)?
1.Deliver a database change task
2.CREATE TABLE "全类型表" (
"col1" NUMBER(*,0),
"col2" NUMBER,
"col3" CHAR(120),
"col4" VARCHAR2(120),
"col5" VARCHAR2(120),
"col6" BLOB,
"col7" CLOB,
"col8" DATE,
"col9" TIMESTAMP(6),
"col10" TIMESTAMP(6) WITH TIME ZONE,
"col11" TIMESTAMP(6) WITH LOCAL TIME ZONE,
"col12" RAW(200),
"col13" INTERVAL YEAR (2) TO MONTH,
"col14" INTERVAL DAY (2) TO SECOND (6),
"col15" NCHAR(120),
"col16" NVARCHAR2(120),
"col17" FLOAT(126),
"col18" BINARY_FLOAT,
"col19" BINARY_DOUBLE,
"col20" UROWID(4000),
"col21" UROWID(4000)
)
Anything else we need to know?
No response
Cloud
No response

Fixed In Commit 57504c68d6544653188a5bd627ac79faca90d450
------
咏和
Fri Dec 1 12:22:40 2023 +0800

pass


What does 'subject' mean in the initialization function of serializer and how to use this package?

I don't understand what does the subject here mean. Should it be the same as the name of the schema?
By the way, I'm confused why in the example the MyRecordExample is never used and how it is related to the serializer. I tried to use faust.topic("a", value_type=MyRecordExample) but it seems it's wrong.
A more detailed example including how to use this with a simple faust application might be very helpful.

Hi @Reapor-Yurnero , we updated the README. With regard to your question, what a subject is, we refer to the official documentation

Thanks. I'm very glad that you finally respond. I once thought this repo is no longer maintained.


Bind to scroll event on elements with inview-scrollable class

Fixes #98 by allowing clients to add "inview-scrollable" class to elements they want the inview directive to detect scrolling on

I commented on this in #98. I believe this problem can be dealt with in an external fashion. closing for now


Containers on neurobagel-node cannot access services on host via host.docker.internal

When an f-API is deployed on this machine in either a standalone container on the default bridge network, or via our local_federation recipe, it cannot access services like the n-API from the local_node recipe, which expose a port to the host and should be accessible via host.docker.internal:<port on host>.
So far, only using the external URL for the n-API (NGINX) in local_nb_nodes.json works.
Notes:

Running curl -vv in a bash terminal inside the container shows that host.docker.internal successfully resolves to whatever the default bridge network IP address is, but services with published ports on the host still can't be reached

We don't plan to investigate this further for now since we've moved away from using a VM with a NFS due to various issues and quirks associated with that setup. We also think that server scenario is unlikely to be common among deploying institutes.

We don't plan to investigate this further for now since we've moved away from using a VM with a NFS due to various issues and quirks associated with that setup. This is also a server scenario that's unlikely to be common among deploying institutes.


Be less restrictive when setting service out of sync

If less than 10% of contracts are out of sync for ERC20/ERC721, consider service synced
That will prevent a lot of alerts when only one new or two contracts are out of sync

Coverage increased (+0.006%) to 88.308% when pulling 9b14d635f24f5de3e3337e1370cbfe2df45f0076 on ignore-out-of-sync into 6b9368d3411d097ba0c94649fa12f4bafccd94ff on master.


tplimpl: Add built-in print funcs to FuncMap

Add print, printf, and println to the Hugo FuncMap so that they are
accessible to the apply template func.
Updates #3139

I didn't include any other built-in funcs because I don't know how relevant they are to the apply use case.  These print funcs may be enough to close the parent issue.

printf is already part of the template funcs.

I think you're missing point of this PR.

I should have dug deeper. Bjørn already stated the problem:

Yes. apply looks in the Hugo internal map for existing funcs (printf is a built-in)... which is limiting. But nothing I can do without fixing Hugo. Can you create an issue on GitHub?

Just forget what I wrote.


New-CsApplicationAccessPolicy returns 404

I am trying to use the Microsoft Graph API to create OnlineMeetings here
https://docs.microsoft.com/en-us/graph/api/application-post-onlinemeetings?view=graph-rest-1.0&tabs=http
But when configuring application access policy as instructed here:
https://docs.microsoft.com/en-us/graph/cloud-communication-online-meeting-application-access-policy
We got a 404 error:
New-CsApplicationAccessPolicy -Identity OnlineMeetings-Link -AppIds "xxx-xxx-xxx" -Description "xxxx Local"

Get-CsOnlineSession: /Users/xxx/.local/share/powershell/Modules/MicrosoftTeams/2.3.1/netcoreapp3.1/SfBORemotePowershellModule.psm1:63

Line |
  63 |      $remoteSession = & (Get-CsOnlineSessionCommand)
     |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | The remote server returned an error: (404) Not Found.

Invoke-Command: /Users/xxx/.local/share/powershell/Modules/MicrosoftTeams/2.3.1/netcoreapp3.1/SfBORemotePowershellModule.psm1:22959

 Line |
22959 |  …    -Session (Get-PSImplicitRemotingSession -CommandName 'New-CsApplic …
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      | Cannot validate argument on parameter 'Session'. The argument
      | is null or empty. Provide an argument that is not null or
      | empty, and then try the command again.

I am an admin of the work/school account, and I have done all setup prerequisites:
https://docs.microsoft.com/en-us/microsoftteams/teams-powershell-install
https://docs.microsoft.com/en-us/microsoft-365/enterprise/manage-skype-for-business-online-with-microsoft-365-powershell?view=o365-worldwide
I have all admin permissions to perform PowerShell cmdlet:

Environment:
PowerShell version: 7.1.3, installed with homebrew
MicrosoftTeams module version: 2.3.1
OS: Mac Mojave 10.14.6

I have no firewall, VPN/proxy enabled. The same issue happens when I tried it in the default PowerShell of Windows 10 VM on VirtualBox.
What should I do to get around this issue?

Hello @hoang-phan how are you?
Please be aware that, here we are limited to documentation issues and improvements. Said that, tried to reproduce in case we needed to adjust any documentation.
Please be aware that currently, the recommended version to run Teams PowerShell is 5.1

Microsoft Teams PowerShell module is currently supported for use with PowerShell 5.1 on Windows.

Source https://docs.microsoft.com/en-us/microsoftteams/teams-powershell-install
So instead of opening PowerShell 7, you need to open Windows PowerShell (5.1) and also, have you run
Connect-MicrosoftTeams
before the New-CsApplicationAccessPolicy?
Hope this information helps you,

Hi @get-itips ,
I have also tried this on Windows 10 Virtual machine, which runs Windows PowerShell 5.1, and ran Connect-MicrosoftTeams successfully before doing the command. But this issue still happened.
Thanks for letting me know that I might have posted this to the wrong place. Would you please advise the repo I should post this issue to get the right support?

Hello @hoang-phan how are you?
I understand, as I could not reproduce, the best in this situation would be to open a support ticket from your tenant, they will be able to help you in your specific scenario.
Thank you

@get-itips Thank you very much for the contribution and sharing this explanation. @hoang-phan Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


SBB app: Update Android Security Provider not available

I've installed LineageOS for microG on a LeEco x822 (Codename x2) device which worked fine. Checking "microG Settings -> Self-Check" revealse a tick on every single possible line.
After installing the SBB app I wanted to login to SBB store, but this fails because the app doesn't seem to recognize the Play Services.
Running adb logcat reveals the following log output:
--------- beginning of main
06-30 13:18:42.660  3624  3624 V v       : ADVERTISEMENT paused.
06-30 13:18:47.583  3624  3624 I W       : Event TOUCH: Login - Navigationsmenu -  -
06-30 13:18:47.583  3624  3624 I W       : Referrer: Navigationsmenu
06-30 13:18:47.583  3624  3624 D W       : ATIT Parameter: Navigationsmenu::::::Login
06-30 13:18:47.598  3624  3624 I ch.sbb.spc.E: add request requestType: LOGIN
06-30 13:18:47.600  3624  5630 I ch.sbb.spc.E: process request requestId: 4da9926e requestType:LOGIN
06-30 13:18:47.600  3624  5630 I ch.sbb.spc.E: login
06-30 13:18:47.603  3624  5630 W DynamiteModule: Local module descriptor class for providerinstaller not found.
06-30 13:18:47.603  3624  5630 W DynamiteModule: IDynamite loader version < 2, falling back to getModuleVersion2
06-30 13:18:47.603  3624  5630 D GmsDynamiteLoaderImpl: unimplemented Method: getModuleVersion for providerinstaller
06-30 13:18:47.603  3624  5630 I DynamiteModule: Considering local module providerinstaller:0 and remote module providerinstaller:0
06-30 13:18:47.603  3624  5630 W ProviderInstaller: Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0.
06-30 13:18:47.604  3624  5630 D GmsProviderInstaller: Provider installer invoked for ch.sbb.mobile.android.preview
06-30 13:18:47.604  3624  5630 E ProviderInstaller: Failed to install provider: dlopen failed: "/system/priv-app/GmsCore/GmsCore.apk!/lib/arm64-v8a/libconscrypt_jni.so" is 64-bit instead of 32-bit
06-30 13:18:47.604  3624  5630 E ch.sbb.spc.k: Update Android Security Provider not available: null
--------- beginning of system
06-30 13:18:47.605  1068  2197 I ActivityManager: START u0 {act=GOOGLE_PLAY_SERVICE_INSTALL_ACTION flg=0x10000000 cmp=ch.sbb.mobile.android.preview/ch.sbb.spc.CustomTabActivity (has extras)} from uid 10110
06-30 13:18:47.608   566   613 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [2, 1]
06-30 13:18:47.608   566   613 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [2, 1]
06-30 13:18:47.614   587   640 D SurfaceFlinger: duplicate layer name: changing ch.sbb.mobile.android.preview/ch.sbb.mobile.android.vnext.splashscreen.SplashScreenActivity to ch.sbb.mobile.android.preview/ch.sbb.mobile.android.vnext.splashscreen.SplashScreenActivity#1
06-30 13:18:47.631  3624  3624 V v       : QUICK_ACCESS paused.
06-30 13:18:47.631  3624  3624 V i       : TRIPS_AND_TICKETS paused.
06-30 13:18:47.631  3624  3624 V v       : BEST_GUESS_TICKETS paused.
06-30 13:18:47.631  3624  3624 V i       : DEPARTURE_TABLE paused.
06-30 13:18:47.632  1068  1767 W ActivityManager: Unbind failed: could not find connection for android.os.BinderProxy@3fcd89a
06-30 13:18:47.644  3624  3624 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@5c77097
06-30 13:18:47.645  2672  2672 D GmsMeasureBrokerSvc: onBind: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }
06-30 13:18:47.651  3624  3624 I ch.sbb.spc.CustomTabActivity: Custom tab action intent received
06-30 13:18:47.654  3624  3624 I ch.sbb.spc.CustomTabActivity: show customtab alert
06-30 13:18:47.675  3624  3624 I ch.sbb.spc.CustomTabActivity: Custom tab activity resume, is cancelling false
06-30 13:18:47.700   587  1083 D SurfaceFlinger: duplicate layer name: changing ch.sbb.mobile.android.preview/ch.sbb.spc.CustomTabActivity to ch.sbb.mobile.android.preview/ch.sbb.spc.CustomTabActivity#1
06-30 13:18:47.716  2672  3995 D SafeParcel: Unknown field num 10 in com.google.android.gms.common.internal.GetServiceRequest, skipping.
06-30 13:18:47.717  2672  3995 D SafeParcel: Unknown field num 11 in com.google.android.gms.common.internal.GetServiceRequest, skipping.
06-30 13:18:47.717  2672  3995 D SafeParcel: Unknown field num 12 in com.google.android.gms.common.internal.GetServiceRequest, skipping.
06-30 13:18:47.717  2672  3995 D GmsMeasureBrokerSvc: bound by: GetServiceRequest{serviceId=MEASUREMENT, gmsVersion=12451000, packageName='ch.sbb.mobile.android.preview', extras=Bundle[{}]}
06-30 13:18:47.725  2672  3995 D GmsMeasureSvcImpl: onTransact [unknown]: 10, android.os.Parcel@6cc7932, 16
06-30 13:18:47.753  2672  3995 D GmsMeasureSvcImpl: onTransact [unknown]: 1, android.os.Parcel@a90683, 16
06-30 13:18:47.755  2672  3995 D GmsMeasureSvcImpl: onTransact [unknown]: 1, android.os.Parcel@6cc7932, 16
06-30 13:18:47.762  2672  3995 D GmsMeasureSvcImpl: onTransact [unknown]: 10, android.os.Parcel@a90683, 16
06-30 13:18:51.422  2012  2012 D QtiCarrierConfigHelper: WARNING, no carrier configs on phone Id: 0
06-30 13:18:51.887  3624  3749 D OpenGLRenderer: endAllActiveAnimators on 0xc650e980 (RippleDrawable) with handle 0xc75c6db0
06-30 13:18:51.897  3624  3624 I ch.sbb.spc.k: Google Play Service Dialog closed
06-30 13:18:51.917  2672  3995 D GmsMeasureSvcImpl: onTransact [unknown]: 10, android.os.Parcel@6cc7932, 16
06-30 13:18:51.941  3624  3624 E r       : requestLogin:
06-30 13:18:51.941  3624  3624 E r       : ch.sbb.mobile.android.repository.user.swisspass.SwissPassException: requestLogin:
06-30 13:18:51.941  3624  3624 E r       : 	at ch.sbb.mobile.android.repository.user.swisspass.K$c.a(SourceFile:11)
06-30 13:18:51.941  3624  3624 E r       : 	at ch.sbb.mobile.android.repository.user.swisspass.K$c.onResult(SourceFile:1)
06-30 13:18:51.941  3624  3624 E r       : 	at ch.sbb.spc.ca.a(SourceFile:8)
06-30 13:18:51.941  3624  3624 E r       : 	at ch.sbb.spc.ca.onResult(SourceFile:1)
06-30 13:18:51.941  3624  3624 E r       : 	at ch.sbb.spc.ma.a(SourceFile:3)
06-30 13:18:51.941  3624  3624 E r       : 	at ch.sbb.spc.ma.onResult(SourceFile:1)
06-30 13:18:51.941  3624  3624 E r       : 	at ch.sbb.spc.k.a(SourceFile:11)
06-30 13:18:51.941  3624  3624 E r       : 	at ch.sbb.spc.CustomTabActivity.a(SourceFile:36)
06-30 13:18:51.941  3624  3624 E r       : 	at ch.sbb.spc.h.onClick(SourceFile:2)
06-30 13:18:51.941  3624  3624 E r       : 	at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:172)
06-30 13:18:51.941  3624  3624 E r       : 	at android.os.Handler.dispatchMessage(Handler.java:106)
06-30 13:18:51.941  3624  3624 E r       : 	at android.os.Looper.loop(Looper.java:193)
06-30 13:18:51.941  3624  3624 E r       : 	at android.app.ActivityThread.main(ActivityThread.java:6718)
06-30 13:18:51.941  3624  3624 E r       : 	at java.lang.reflect.Method.invoke(Native Method)
06-30 13:18:51.941  3624  3624 E r       : 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
06-30 13:18:51.941  3624  3624 E r       : 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
06-30 13:18:51.944  1068  2202 W ActivityManager: Unable to start service Intent { act=android.support.customtabs.action.CustomTabsService pkg=com.android.chrome } U=0: not found
06-30 13:18:51.949  3624  3624 V v       : QUICK_ACCESS resumed.
06-30 13:18:51.950  3624  3624 V i       : TRIPS_AND_TICKETS resumed.
06-30 13:18:51.950  3624  3624 V v       : BEST_GUESS_TICKETS resumed.
06-30 13:18:51.950  3624  3624 V i       : DEPARTURE_TABLE resumed.
06-30 13:18:51.959  2672  2672 D GmsLocManagerSvc: onBind: Intent { act=com.google.android.location.internal.GoogleLocationManagerService.START pkg=com.google.android.gms }
06-30 13:18:51.965  2672  3995 D GmsMeasureSvcImpl: onTransact [unknown]: 1, android.os.Parcel@a90683, 16
06-30 13:18:51.972  3624  3624 I System.out: certificate pinning disabled: false
06-30 13:18:51.979  3624  3624 I W       : Event VIEW: Navigationsmenu - Startseite -  -
06-30 13:18:51.979  3624  3624 I W       : Referrer: Navigationsmenu
06-30 13:18:51.985  3624  3624 V v       : ADVERTISEMENT resumed.
06-30 13:18:51.995  3624  3624 D y       : Measure view failed.

The following line is puzzling me:
06-30 13:18:47.604  3624  5630 E ch.sbb.spc.k: Update Android Security Provider not available: null

Does someone know what that could mean and even better how I could make the app recognizing that there are Play Services available, through microG?
Another interesting thing is that the app "Signature Spoofing Checker" reports "Signature Spoofing: DISABLED" whereas the Self-Check of microG reports everything is fine.

Another interesting thing is that the app "Signature Spoofing Checker" reports "Signature Spoofing: DISABLED" whereas the Self-Check of microG reports everything is fine.

Not actually. Several ROMs limited signature spoofing permission to system apps since last December. If you installed the checker as user app it is expected to not get the permission.

Thanks @Nanolx, that a least explains this one. But I still struggle to understand why the SBB apps thinks that there is no Play Services available.

If it helps at all I have version <IP_ADDRESS> running fine with Microg on Lineage 14.1
You post makes me not brave enough to update to the latest version since I rely on the app a lot and downgrading is always a pain.

I'm running SBB Preview v9.3.1 (94), but it's the same behaviour with the standard, non-preview SBB app. Somewhen last year they started to rely on Play Services, afaik <IP_ADDRESS> doesn't rely on Play Services. See also https://balmer.name/howtos-linux/sbb-mobile-app-blocks-swisspass-without-google-play/.
What could be reasons that an app doesn't detect Play Services with microG installed? From the logging it seems the Android Security Provider is missing or unavailable. Although I couldn't find much information about this provider.

This should be fixed through b02d72b01fd0c7239b494818c05ab7252880d3b0

WOW! Thanks a lot @mar-v-in for taking care of this, really appreciated. As soon as I get hands on a release containing this fix I'll report back if the issues with the SBB app are resolved. Or is there any pre-release / nightly build which I could test?

New release is planned for today or tomorrow

@mar-v-in
would you be so kind to check existing requests?
Some of 14 pull requests are not critical, but some of them solves known problems like this https://github.com/microg/android_packages_apps_GmsCore/pull/821 annd this one https://github.com/microg/android_packages_apps_GmsCore/pull/799
It will be great if you approve some useful, reject unnecessary or leave review to requests that needs some work.
Sorry for bad english

I can confirm that the release <IP_ADDRESS>85 fixes the issue and the SBB app no longer complains about the missing Play Services. The login screen appears and I can login. Now I hit: #863. As this is another issue, I'll close this one.
Thanks a lot to @mar-v-in for adding support so fast. This gives me a very good feeling about the microG project.

@tobru How did you log in with your SwissPass? I'm on 9.2.4 and it tells me I need to update my Google Play Services. The log in screen does not appear.

Play Services missing usually refers to absence of Play Store. Either install Fake Store or Play Store.
Am 5. Juli 2019 17:03:11 MESZ schrieb vandenheuvel<EMAIL_ADDRESS>
@tobru How did you log in with your SwissPass? I'm on 9.2.4 and it
tells me I need to update my Google Play Services. The log in screen
does not appear.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/microg/android_packages_apps_GmsCore/issues/854#issuecomment-508786970

--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

@vandenheuvel You need the latest microG release. And - for the record - I'm using the LineageOS for microG distribution. Also I've installed Chromium, not sure if it's needed, but without Chromium and only with Fennec the login-page looked broken.
Nevertheless, the SBB doesn't fully work yet. See #863

@tobru Interesting. I have the same LineageOS for microG, no Chromium. In the end I installed an older version, logged in and then upgraded as was linked to above. Thanks!


added fibonacci program

Thanks for your Contribution!
Keep Contributing!

Happy Hacktober!


ipipan module looks like dead since not data for corpus in internet

I tried download data for ipipan module but not found on http://korpus.pl/index.php?page=download or http://clip.ipipan.waw.pl/NationalCorpusOfPolish.
This data looks as suitable (similar file names) but not loads http://korpus.pl/download/frek.bin.tar.bz2 some functions not works like .readme() and there is not .words(), .sents(), .paras().

I was prepared such test code:
from nltk import corpus
pl = corpus.ipipan

print 'dir', dir(pl)

print 'root', pl.root
print 'fileids', pl.fileids()[0:5]
print 'categories', pl.categories()
print 'channels', pl.channels()
print 'domains', pl.domains()
print 'words', corpus.ipipan.words()
print 'tagged words', corpus.ipipan.tagged_words()

Gives such result - something wrong with loading data from http://korpus.pl/download/frek.bin.tar.bz2:
dir ['_LazyCorpusLoader__args', '_LazyCorpusLoader__kwargs', '_LazyCorpusLoader__name', '_LazyCorpusLoader__reader_cls', '__class__', '__delattr__', '__dict__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__name__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__unicode__', '__weakref__', '_get_root', '_get_tag', '_list_header_files', '_list_morph_files', '_list_morph_files_by', '_map_category', '_parse_header', '_view', 'abspath', 'abspaths', 'categories', 'channels', 'domains', 'encoding', 'ensure_loaded', 'fileids', 'open', 'paras', 'raw', 'readme', 'root', 'sents', 'tagged_paras', 'tagged_sents', 'tagged_words', 'unicode_repr', 'words']
root C:\Users\Crezary Wagner\AppData\Roaming\nltk_data\corpora\ipipan
fileids [u'A/A0001/morph.xml', u'A/A0002/morph.xml', u'A/A0003/morph.xml', u'A/A0004/morph.xml', u'A/A0005/morph.xml']
categories []
channels []
domains []
words []
tagged words []

Is this it? I'm thinking about adding this to the NLTK corpus collection, for use with corpus.reader.nkjp.
http://clip.ipipan.waw.pl/NationalCorpusOfPolish?action=AttachFile&do=get&target=NKJP-PodkorpusMilionowy-1.2.tar.bz2

ipipan module is dead but ipipan corpus is not dead - whetever you can not download parsable data for ipipan module - author of module can not help with it.
nkjp is very good direction I am waiting for nltk 3.0.1+ with nkjp. nkjp looks very good and is prepared with more modern tagging methods. I am Polish. Please realease nkjp ASAP.

So once I add nkjp (https://github.com/nltk/nltk/pull/844), what still needs to happen?

I think https://pypi.python.org/pypi publication is need I will test nkjp. Next thing is inflection for Polish without it there will be no lemmanization - nkjp contains some morfeusz/manual lemmatization.
Inflection/lemmatization is very important in Polish since multi gender, multi inflection, and nice, normal, hard forms of objectives (you will say "old cat" "stary kocur" rather than "stary kot" - you will say "young cat" "mały kotek" rather than "mały kot" - there is much more nuance but hard to express it). It is need to do lemmatization to understand semantic meaning.
Consider that simple singular "cat" has three genders "kot", "kocica", "kocię" and some variants "kotek", "kotka", "kociątko", "kocur", "kocie", "kocurzysko", "kocisko", "kocio" ... it is still one word "cat" - each can have 7 inflections or more male singular "kot", "kota", "kota", "kotu", "kotem", "kocie", "kocie". Some people says that same is possible in English.
See this inflection of one word "cat" in Polish all is one word.
http://pl.wiktionary.org/wiki/kot, http://pl.wiktionary.org/wiki/kotka, ...
Here is morfeusz and "kotka" == female cat.
https://www.dropbox.com/s/q2huz97s433s79m/Zrzut ekranu 2015-03-12 22.33.17.png?dl=0
I put some questions because I do not know how to get word class and lemmatization - lack of knowledge nltk can be also reason.
http://stackoverflow.com/questions/28920787/how-to-take-word-class-in-ntlk
http://stackoverflow.com/questions/28930165/how-can-i-extract-lemma-with-pl196x-from-nltk-for-polish-in-python

You can try http://nkjp.pl/poliqarp/nkjp1M/query/ and "kot", "kotka", "kocię":
[kot:subst:sg:nom:m2] singular:nominative:male-inflection-2 (can be about one of 150 inflections)
[kotek:subst:sg:acc:m2] OR  [kotka:subst:sg:nom:f] (accusative male or nominative female)
[kocię:subst:sg:nom:n] (nominative neutral) (morfeusz tagged 300 mln corpus not 1 milion manual)


Added the option to remove low-tier upgrades

This will run in the main loop (is there a better way?).

How about instead of just changing the element to none, change the buy box to gold and set the cost to MAX and make it unclickable.

I personally like the free space: http://i.imgur.com/fDke975.png

This could actually complement #124 if both are merged. That way then it would only go for the higher tier if this is check (Which would require another commit, but I believe it would be a really good idea).

Having an option to remove these upgrades is good, but you should also handle re-showing them if player decides to unhide them without requiring a page refresh.

You shouldn't hide the lower tier upgrades. Eventually they become more cost effective.

Closed, see #150.


Inventory and Convert User Facing Documentation for Possible Conversion to OS Community Documentation

[x]  Inventory the documentation

[x]  Prioritize the inventory

[x]  Post Archives of Existing Pearson documentation to GitHub Pages

[x] Generalize  documentation that would be maintained by the community - technical set up, key Admin guides

[x]  Convert documents identified for community maintenance to to Markdown

Initial drafts of all key documentation have been converted to Markdown and checked in to GitHub -- PDF archives of all  key identified Pearson guides/documents have also been checked in to GitHub for historical reference.
This issue is being closed -  As new documentation is identified or changes are required those will be tracked under separate tasks


Questions about superposition

Hi, two questions about superposition:
Is it possible to get the transformation matrix of a superposition?
Is there a way to apply the transformation matrix to biological units as well?

working on it, related #442

Is it possible to get the transformation matrix of a superposition?

no, but should be exposed

Is there a way to apply the transformation matrix to biological units as well?

no, but should be possible

This would be awesome for us too! (Specifically being able to apply to map objects).


How to use Dataset API

According to the issues here it seems that the Dataset API has been implemented but I cannot figure out how to use it. Are there any examples, samples?

@lukebuehler Dataset API in Mobius is limited and that is by design. See the comments in https://github.com/Microsoft/Mobius/blob/master/csharp/Adapter/Microsoft.Spark.CSharp/Sql/Dataset.cs#L118. It is recommended to use DataFrame API in Mobius.

@skaarthik , I see. But then my concern is how to make the best use Mobius, the comment states:

It would offer static type checking at the cost of runtime optimizations because C# functionality need to execute in CLR

So, how would I go about using static typing, i.e. my own classes, and complex C# logic (thousands of lines of code) in Mobius, without having to push everything down into the DataFrame API (which in my case seems no possible)?

@lukebuehler if you have complex C# logic and want to reuse existing classes, I think the best bet is to use RDD API even though it cannot leverage optimizations in DataFrame & Dataset API. Note that using lot of C# UDFs with DataFrame API (without static type checking) is not a good option either considering the performance overhead.

@skaarthik Thank you this is what I was wondering!
Do you have, by any chance, an example how to use SQL to get a DataFrame and then to convert it to a C# class?

@lukebuehler - I do not have an example for the scenario you described.
Closing this issue. Feel free to reopen if needed.


Make it easier to install into a project

There's a nice feature to install a package and add to a project at the same time. However, you need to actually open up the proj file in the editor first to "select" it. This isn't especially obvious to do and a little awkward e.g. you're using Ionide's project view but need to go back to file view etc.
I suggest having the palette actually prompt you to select the project you wish to add the package to as a drop-down, if this is even possible.

Yes, I agree. Some of the UX of Paket plugin comes from the time when we’ve been just starting with VSCode plugins. It’s hard to me to say now if that particular design was caused by more limited API back in early days, or by just my “views” on something. But in 2019 we definitely can do better :-)


[feature] Improve datepicker documentation for date format

Bug, feature request, or proposal:
The documentation is not clear on how to change the date format
What is the expected behavior?
Have a better example on how to achieve it
What is the current behavior?
It says it's easy but it's not
What is the use-case or motivation for changing an existing behavior?
Use the date picker on every application in the world
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Material beta.8
Angular 4.2.4
I tried to change the format to "dd MM yyyy" or "dd MMMM yyyy" but without any success.
Stackoverflow Angular 2 Material 2 datepicker date format
This post shows an example (which is incredibly complex for what we want to achieve) but it's not working.

@Robouste Right now you have to write your own DateAdapter.. That is the only workaround that I found..
import {NativeDateAdapter} from '@angular/material';

export class MyDateAdapter extends NativeDateAdapter {

  format(date: Date, displayFormat: Object): string {
    if (displayFormat === 'input') {
      const day = date.getDate();
      const month = date.getMonth() + 1;
      const year = date.getFullYear();
      return `${year}-${month}-${day}`;
    } else {
      return date.toDateString();
    }
  }
...
}

For short day names add this lines(super hard coded at the moment, because I only need short names..):
getDayOfWeekNames(style): string[] {

    const SHORT_NAMES = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];

    return SHORT_NAMES;
  }

To return Monday as the first day of the week(add to MyDateAdapter class as well):
getFirstDayOfWeek(): number {
    return 1;
  }

Although the date formats I wasn't able to figure out, yet..
I tried:
const MY_DATE_FORMATS = {
  parse: {
    dateInput: {month: 'short', year: 'numeric', day: 'numeric'},
  },
  display: {
    dateInput: 'input',
    monthYearLabel: {year: 'numeric', month: 'numeric'},
    dateA11yLabel: {year: 'numeric', month: 'long', day: 'numeric'},
    monthYearA11yLabel: {year: 'numeric', month: 'long'},
  },
};

Then in app.module:
providers: [
    ...
    {provide: DateAdapter, useClass: MyDateAdapter},
    {provide: MD_DATE_FORMATS, useValue: MY_DATE_FORMATS},
    ...
  ],

I hope this helps..

Ow, it actually worked to make the format like dd-MM-yyyy, thanks a lot !
The doc says :

Making the datepicker work with a different date implementation is as easy as extending DateAdapter, and using your subclass as the provider

I hate when they do that and say it's easy, it makes me feel like a very dumb person

Welcome.. I think the document should include an example..
No, I don't mind, but please do link this issue somewhere in your answer

Yes of course, thanks again

@Robouste because DateAdapter is a generic abstract class, you can just specify the type of your custom date and extend it. The compiler would show you what you need to implement.

@mxth

The compiler would show you what you need to implement.

I think the document should include an example..

I think updated documentation is better than having the compiler telling me what to implement

While we are waiting for a better documentation, here is the equivalence in codes

Comments for documentation: https://github.com/angular/material2/blob/a5551081e7f045466ac94f511afabbff280ccaae/src/lib/core/datetime/date-adapter.ts
An example: https://github.com/angular/material2/blob/master/src/lib/core/datetime/native-date-adapter.ts

this is about the display format
what about input and output format
what if i dnt want my date to be time zone aware
for example birthdate
i want to input my custom format and not iso

You can write your own custom dateadapter if you need a different parsing format.

Closing since the docs now has an example: https://material.angular.io/components/datepicker/examples (last example "Datepicker with custom formats")

@mmalerba  @kuhnroyal i have written my own adapter by extending native date adapter
fromIso8601(iso8601String: string): Date | null {
return new Date(iso8601String);
}
the above function ensures i can patch "11/13/2017, 4:09:46 PM" as input but when selecting fresh i still get iso. which function i should alter to get same locale output and not ISO when i do this.FormGroup.value
https://stackoverflow.com/questions/47262449/how-to-change-output-format-of-material-2-date-picker/47290841#47290841

The stackblitz example of Datepicker is not working.

Anyone was able to figure out how to format DD.MM.YYYY? As state before the verbose example on stackblitz is not working

It's not working on Stackblitz due to https://github.com/angular/material2/issues/9780, you can see it working on the examples page of our documentation though, it's the same code: https://material.angular.io/components/datepicker/examples

@Robouste Right now you have to write your own DateAdapter.. That is the only workaround that I found..

Hi, as far as you know, do I need to implement a solution like yours in Angular material 7 ? I included your snippet in my code but ts throws me error: ERROR in node_modules/@angular/material-moment-adapter/typings/adapter/moment-date-adapter.d.ts(10,24): error TS2307: Cannot find module 'moment'.
, even if moment is installed

You can use amazing time picker (amazing-time-picker) for this purpose, and it is fully compatible with Angular 2-7 and Material design:
https://github.com/owsolutions/amazing-time-picker
Live demo:
https://owsolutions.github.io/amazing-time-picker
Thanks.


Form is not updated as tainted when changing zod sets.

When you have a zod schema like:
const schema = z.object({ things: z.set(z.number()) });
... and you modify that collection through add/delete (or even through assigning a new set), like:
$form.things.add(1);
... or
 $form.things = new Set($form.things);
...  the form is not marked as tainted.  e.g.:
 let isTainted = $tainted;
...will === false in the onSubmit super form function.

It's working now in 1.1.0, but to taint a set when using only its methods, requires the use of form.update instead of just assignment:
form.update($form => {
  $form.things.add(1);
  return $form;
})

Direct assignment will taint as usual: $form.things = new Set(...)


Storage - Queues Readme and Sample Issue

Section link1, link2, link3:

Reason:
HttpResponseError: The specifed resource name contains invalid characters.
Suggestion:
Update to myqueue or <my_queue>

Section link1, link2:

Reason:
Func called next didn't give a new queue name, which causes
ResourceExistsError: The specified queue is being deleted.
Suggestion:
Update myqueue3 in func receive_one_message_from_queue tomyqueue8
@rohit-ganguly, @lmazuel, @kyle-patterson, @kasobol-msft, @annatisch for notification.

Hi @ChenxiJiang333, thanks for catching this. I will add this and your other findings to a PR to resolve shortly.
Thanks!


Add support for MaterialMesh2dBundle

Follow up on https://github.com/aevyrie/bevy_mod_picking/issues/7.

Does this work with Lyon? I couldn't get it to work.

just found mini-texture-generator and it seems works fine :)

I rebased and added a 2d example to verify this is working. Thanks for the contribution!


feature request: live demo of this app

It would be great if I could try this app without any set up.  Is there a live demo version of this app available?

Yes, it is available at http://talent-manager.mybluemix.net


Update Base Objects.

Hi @JesperSchulz, were the changes from #119 (COD3010, COD3012) removed by mistake?

Well... Kind of! We're currently juggling two versions: version 14 which is C/AL and the upcoming version 15, which will be in al. Today I updated the Base Objects with the ones from version 14, to which I didn’t backport the changes you are mentioning. Hence they appear gone again. They are, however, still part of version 15. This is all a little confusing and we need figure out what to do here. Sorry about that. Your changes are still in the upcoming release.

@kwettermann: Well... Kind of! We're currently juggling two versions: version 14 which is C/AL (like this repo) and the upcoming version 15, which will be in al. Today I updated the Base Objects with the ones from version 14, to which I didn’t backport the changes you are mentioning - that was probably a mistake. Hence they appear gone again. They are, however, still part of version 15. But I cannot update with version 15 objects, as those are in al. I would have to redo this repo. This is all a little confusing and we need figure out what to do here. Sorry about that. Your changes are still in the upcoming release.


cannot find -ltensorflow_framework

While building and execute sh make.sh, i got
/usr/bin/ld: cannot find -ltensorflow_framework
collect2: error: ld returned 1 exit status

From tensorflow github issues, i found that tensorflow_framework was removed. https://github.com/tensorflow/tensorflow/issues/1569
Anyone knows how to deal with it? Thanks!

This should be a library in tensorflow. Maybe try to upgrade your tensorflow version.

As far as I tested, 1.2 and 1.3 of TF does not have that framework. So I work it out by using TF 1.4.

Hi, is it works with TF1.4?  do you get the tensorflow_framework?

I have installed TF 1.14. Still, I am getting the same error. Does anyone have any idea if it has been again moved from TF 1.14 onwards?

same problem on TF 1.14

I have installed TF 1.14. Still, I am getting the same error. Does anyone have any idea if it has been again moved from TF 1.14 onwards?

same problem on TF 1.14

https://github.com/bgshih/aster/issues/56#issuecomment-501973315
This answer can help you

if using tensorflow 2.0   change out "-ltensorflow_framework" for  "-fPIC"

same problem on TF 1.14

Make sure the directory $(python -c 'import tensorflow as tf; print(tf.sysconfig.get_lib())') is linked with the -L parameter and that libtensorflow_framework.so* exists under that directory

As far as I tested, 1.2 and 1.3 of TF does not have that framework. So I work it out by using TF 1.4.

Hi, does it work with TF1.4? do you get the tensorflow_framework?

Make sure the directory $(python -c 'import tensorflow as tf; print(tf.sysconfig.get_lib())')  is linked with the -L parameter and that libtensorflow_framework.so* exists under that directory

While building and execute sh make.sh, i got
/usr/bin/ld: cannot find -ltensorflow_framework
collect2: error: ld returned 1 exit status

From tensorflow github issues, i found that tensorflow_framework was removed. tensorflow/tensorflow#1569
Anyone knows how to deal with it? Thanks!

I met the same problem.Have you solved it?

I also met this problem in TF1.8.
And my work station is Windows.
Does anyone know how to deal with it?
Thank you.


form-item validate rule need a render-message like render-label

This function solves the problem (这个功能解决的问题)
when change i18n language, the rule message can not change.
Expected API (期望的 API)
:render-message="(option) => h('span', {}, $t(option.message))"

The form-item validate message is written by yourself, we cannot control it, maybe you can retry validate.

e message is written by yourself, we cannot control it, maybe yo

We may try it, I think it's somehow possible.
Although message is uncontrolled, it can accept context and change its content.

thx！


PTZ zoom controls

It would be nice to have PTZ zoom controls, for those that have a camera that can zoom.

Included in https://github.com/AlexxIT/WebRTC/pull/44


Update fs2-core to 2.1.0

Updates co.fs2:fs2-core from 1.0.5 to 2.1.0.
Release Notes/Changelog
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "co.fs2", artifactId = "fs2-core" } ]

labels: semver-major

Codecov Report

Merging #1176 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1176   +/-   ##
=======================================
  Coverage   80.52%   80.52%
=======================================
  Files          54       54
  Lines        1022     1022
  Branches       45       45
=======================================
  Hits          823      823
  Misses        199      199

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cda79cd...920cbb2. Read the comment docs.


Prep Patch/1.2.5

The following PRs were considered for the 1.2.5 patch:
#2047
#2080
#2084
#2086
#2126
#1821
#2160
#2159
PRs that were merged in the 1.3.2 Patch were not considered here for the following reasons:
#2088: The cherry-pick seems empty because changes have already been available on the patch/1.2.5 branch.
#2123: tr_inv is not available on the branch patch/1.2.5.
#2131: PowerCone3D is not available on the branch patch/1.2.5.
#2134: COPT is not available on the branch patch/1.2.5.
#2161: pr_benchmark.yml does not exist on the branch patch/1.2.5.
Side note:
#2049 may have been added as part of the preparations for the new patch; please let me know about that.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.5 out of 6 committers have signed the CLA.:white_check_mark: phschiele:white_check_mark: allenlawrence94:white_check_mark: dcajasn:white_check_mark: SteveDiamond:white_check_mark: bkurtz:x: PaulnkkYou have signed the CLA already but the status is still pending? Let us recheck it.

@Paulnkk PowCone3D is in 1.2.0, so #2131 should be added to this PR.

@Paulnkk PowCone3D is in 1.2.0, so #2131 should be added to this PR.

@rileyjmurray Thanks for the comment! I added the commit and unfortunately, I receive the following error as before (for this reason I have not included this commit):

Additionally, I have to apologize that I made the cherry picks on patch/1.2.5 and directly merged into release/1.2.x and pushed on that branch. If this is not optimal, I can create a new PR and request a merge from patch/1.2.5 into release/1.2.x directly (sorry for those kind of mistakes it is my first PR of that kind but very happy to work on that!)

@Paulnkk I suspect there was a bug where PowCone3D was not exposed in CVXPY's top-level namespace in 1.2.x; it should have been.

@rileyjmurray What is the best way to deal with this issue? I can make a separate commit in patch/1.2.5 and try to solve the problem, does that work ?

@Paulnkk thanks for putting this together. Let me clean up this one remaining issue here. You can get started on the 1.1 patch if you like.

@phschiele Yes, I am currently working on it and plan to release the PR today evening or tomorrow 👍🏻

Not sure why this won't run CI. Going to go ahead and merge and fix any issues later.


⚠ Adacta-fintech.com has degraded performance

In bdd916a, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 200
Response time: 848 ms

Resolved: Adacta-fintech.com performance has improved in 822e86d after 7 minutes.


Gitilist 1.0.0 shows version as 0.7.0

Basically, header says it all.

My bad, clearing out the cache folder helped.


Add new Build site job to testing workflow and fix building site

Added new job on testing workflow to validate the site is built successfully.
Fix dialect.options rendering.

@richtia @amol- I did some local debugging and this is the first time I am looking at this repo but the dialect.options is a list of options not a dict.
I've also added on this PR a job so the site is built on PRs so we don't fail rendering the site in the future.

The build site job is successful as seen on the PR jobs now

@raulcd Thanks for fixing this!


Update Add to match portal.

@hpsin : Thanks for your contribution! The author, @priyamohanram, has been notified to review your proposed change.

@hpsin : Thanks for your contribution! The author, @priyamohanram, has been notified to review your proposed change.

#sign-off

@hpsin: I'm sorry - only the author of this article, @priyamohanram, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off

Reviewed the change and it looks good. Thanks!


[Question] Validation of multiple fields within one request

Is it possible to validate group of fields in by submitting the whole form instead of one by one validation?
E.g. I submit form with values {name, title, description}, server responds with
{
  errors: {
      name: "can't be empty",
      title: ...
      description: ...
   }
}

And show this errors in associated form fields.
Thanks

Use onbeforesave handler for that http://vitalets.github.io/angular-xeditable/#editable-form

@eugef I am having trouble getting an error message to be displayed if I do in fact have a server error.  The form will not close and the model is not updated, but I don't see the error message being displayed.  Is this behavior correct?  Shouldn't the error message be displayed somewhere like when the onbeforesave directive is used on individual fields?

Is this still an issue?

I can't replicate this issue anymore, so I'd like to close it.

@eugef please close this issue.

I guess it is the same issue I am seeing.
http://jsfiddle.net/dongyb/msjc56w3/

The jsfiddle code posted above is forked from official example of Editable row.
What I changed are:

change the mocked post /saveUser to return 406.
change the saveUser function of controller to reject with error message.
After the changes, when edit a row and submit it. it fails but no error message shown

The documentation for onbeforesave says a string must be returned and that string is displayed as the error.

Thanks for your reply @ckosloski .
In the section 'Validate remote' of documentation, it says "
You can perform remote validation e.g. checking username in db. For that define validation method returning $q promise. If promise resolves to string validation failed.
"
In my example, http://jsfiddle.net/dongyb/msjc56w3/, it does return a promise that resolves to string.

Your issue is different that the one mentioned originally.  It seems there is no handling/display of error messages for the onbeforesave that is set at the form level.
It does seem like the documentation does back that up:

If you need to send data on server before writing to local model then you should define form's onbeforesave.
The result of form's onbeforesave is important for next step:

true or undefined: local model will be updated and form will call onaftersave
false: local model will not be updated and form will just close (e.g. you update local model yourself)
string: local model will not be updated and form will not close (e.g. server error)
VS what is says for onbeforesave for a specific editable element:

If you need validation of individual editable elements then you should define onbeforesave on particular editable element.
The result of child's onbeforesave is important for next step:

string: submit will be cancelled, form will stay opened, string will be shown as error message
not string: submit will be continued

@ckosloski  you are right. As what you say my real question is that "no display of error message for the onfbeforesave that is set at the form level".
It seems likely it is not designed to display error message at form (row in my case) level. It is only designed to display error message at field (td) level.
I am working around it to call 'form.$setError(null, " ")' in the form's onbeforesave, which would show all fields in red border. It is not perfect but at least it tells something is wrong.

@dongyb80 I did take try some stuff to see if I could get errors to display on the form level, but I didn't get anything to work.  If you come up with something, please post your code here.

@ckosloski
Please see http://jsfiddle.net/dongyb/msjc56w3/4/
It shows what I said in previous post. It does NOT show error message. It shows all fields in red border to indicate something is wrong. To see how it behaves, edit a row and click save button.
It is absolutely NOT good solution. Please let me know if you have better one :)
The key pieces of code posted below
$scope.saveUser = function(form, data, id) {
//$scope.user not updated yet
console.log("saving user");
angular.extend(data, {id: id});
let d=$q.defer();
$http.post('/saveUser', data).then(
()=>{d.resolve()},
(err)=>{
console.log("server error");
console.log(err);
form.$setError(null, ' '); //please note that the second parameter is a blank char.
d.reject("server error");
})
return d.promise;
};

Thanks @dongyb80, at least it's a step in the right direction :)


Permission for adding player to own group

How to give an player the permission to add or remove new users to his own group?
I need the permission like permissionex.parent.add.group.<group>.
Thx for help!
Greetz,
yololetsplay

Unfortunately PermissionsEx is currently unmaintained and no further updates are planned. Because of this, all pull requests are being closed. If you are looking for an actively maintained permissions plugin, take a look at LuckPerms. It is compatible with major server platforms and can import data from PEX.


How to generate X25519 keys in openssl 1.1.0h?

EVP_PKEY_CTX *pctx = EVP_PKEY_CTX_new_id(NID_X25519, NULL); for initializing the context but this return -2.
I tried implementing below code:
        EVP_PKEY *pkey = NULL;
	EVP_PKEY_CTX *pctx;
	if (NULL == (pctx = EVP_PKEY_CTX_new_id(NID_X25519, NULL))) {
		fprintf(stderr, "error while initializing public key context\n");
	}
	if (EVP_PKEY_keygen_init(pctx) <= 0) {
		printf("error while initialization %d\n");
	}
	if (EVP_PKEY_keygen(pctx, &pkey) <= 0) {
		printf("error while key generation\n");
	}
	EVP_PKEY_CTX_free(pctx);

this did not work all the conditons failed.
I even tried:
       EC_GROUP *ec_group;
	ec_group = EC_GROUP_new_by_curve_name(NID_X25519);
	if (ec_group == NULL) {
		printf("\nEC_GROUP is INVALID.\n");
	} else {
		printf("\nEC_GROUP is ok.\n");
	}

which prints invalid group.

you cannot use the low level EC functions with it)

can you tell me, what is the right way to do?

Are you sure you are picking up the correct version of the library and not an older version?

am using: openssl 1.1.0h, I checked by using openssl version

can you tell me, what is the right way to do?

You should use the EVP functions, as you have been doing.

am using: openssl 1.1.0h, I checked by using openssl version

That tells you the version of the openssl binary - not necessarily what your code is using.
Is your code dynamically or statically linked against openssl? Assuming you are using dynamic linking what does ldd report for your application? E.g. if your app is compiled into a binary called myapp, then run ldd myapp.

Hello,
Maybe you can have a look:
https://github.com/alexkrontiris/OpenSSL-x25519-key_exchange

There was no further response from the reporter. Closing.


Test failures for GCC 8

Avg response time

Defect/Bug Report
Today, @zbeekman  and I merged the master branch of the GCC git mirror of into the teams branch of the Sourcery Institute fork of GCC.  I just used that branch to build MPICH 3.2 and  OpenCoarrays 1.9.1 and observed the following test failures:
The following tests FAILED:
	 11 - async_comp_alloc_2 (Failed)
	 12 - comp_allocated_1 (Failed)
	 13 - comp_allocated_2 (Failed)
	 14 - get_array (Failed)
	 15 - get_self (Failed)
	 16 - send_array (Failed)
	 17 - get_with_offset_1d (Failed)
	 18 - whole_get_array (Failed)
	 19 - strided_get (Failed)
	 20 - strided_sendget (Failed)
	 31 - co_reduce_string (Failed)
	 37 - coarray_burgers_pde (Failed)
	 41 - convert-before-put (Failed)
	 42 - put-alloc-comp (Failed)
	 43 - get-put-alloc-comp (Failed)
Errors while running CTest

OpenCoarrays Version: 1.9.1

Fortran Compiler: gcc 8.0.0

C compiler used for building lib: gfortran 8.0.0

Installation method: ./install.sh -M /opt/mpich/3.2/gnu/8.0.0/ --install-prefix /opt/opencoarrays/1.9.1/gnu/8.0.0 -y -z

Output of uname -a: Linux Sourcery-Linux-VM 4.4.0-77-generic #98-Ubuntu SMP Wed Apr 26 08:34:02 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

MPI library being used: 3.2

Machine architecture and number of physical cores: 2.7 GHz Intel Core i7

Version of CMake: 3.7.0

Observed Behavior
See above.

Really? Gfortran 8 changed the array descriptor. As long as you don't adapt, gfortran 8 will not function properly. That's the downside of carrying your own declaration of the array descriptor.

@vehre:

is it just lib-caf-gfortran-descriptor.h that needs to change?
Could we use GFortran's copy of the array descriptor?
Is it included in an installed header file somewhere?

A quick search through my install tree is having trouble finding any gfortran specific header files containing array descriptors

Applying the attached patch that @zbeekman provided reduces the test failures to the following with OPENCOARRAYS_DEVELOPER=ON:
The following tests FAILED:
	 12 - comp_allocated_1 (Failed)
	 13 - comp_allocated_2 (Failed)
	 41 - convert-before-put (Failed)
	 42 - put-alloc-comp (Failed)
	 43 - get-put-alloc-comp (Failed)

I think these are all the expected failures.  Correct?  I'll submit a pull request later this evening that applies the patch and closes this issue.
patch-array-descriptor.txt

@rouson: Would you be able to unset OPENCOARRAYS_DEVELOPER and then
delete the CMake cache (or the whole build dir), reconfigure, rebuild and
retest? That will tell you definitely the patch resolved everything
On Wed, Sep 13, 2017 at 9:43 PM Damian Rouson<EMAIL_ADDRESS>wrote:

Applying the attached patch that @zbeekman https://github.com/zbeekman
provided reduces the test failures to the following with
OPENCOARRAYS_DEVELOPER=ON:
The following tests FAILED:
12 - comp_allocated_1 (Failed)
13 - comp_allocated_2 (Failed)
41 - convert-before-put (Failed)
42 - put-alloc-comp (Failed)
43 - get-put-alloc-comp (Failed)
I think these are all the expected failures. Correct? I'll submit a pull
request later this evening that applies the patch and closes this issue.
patch-array-descriptor.txt
https://github.com/sourceryinstitute/OpenCoarrays/files/1301463/patch-array-descriptor.txt
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sourceryinstitute/OpenCoarrays/issues/447#issuecomment-329344854,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAREPLO5HRW7Mu9EPKcl053F9Hynf032ks5siITWgaJpZM4PVk2m
.

@zbeekman Building with GCC 8 after export OPENCOARRAYS_DEVELOPER=ON gives
The following tests FAILED:
	 12 - comp_allocated_1 (Failed)
	 13 - comp_allocated_2 (Failed)

By contrast, the above two tests pass when I build with GCC 7.2.0.  Hmm... we might need some input from @vehre to resolve this

@vehre Any updates on this or any chance of looking at it this week?  In the interim, @zbeekman will publish a release with the updated descriptor.  We don't yet know the cause of the two new failures mentioned in my most recent comment: comp_allocated_1 and comp_allocated_2. These work with GCC 7 but not with GCC 8.

Have a look at the pull request for the descriptor fix: #448

We're all set.  I just tested the master branch built with GCC 8 and the comp_allocated_1 and comp_allocated_2 tests pass.  Thanks, @vehre.
@zbeekman please generate a new release at your earliest convenience.  I'll close this issue.


don't work with eslint<9

Describe the bug
When I use<EMAIL_ADDRESS>with<EMAIL_ADDRESS>the ignored files in .gitignore still get checked.
I found that this repo has been updated recently so I believe it is caused by this and post isssue here. Perhaps I am wrong.
Reproduction
https://stackblitz.com/edit/vitejs-vite-ruwbf2?file=package.json
If you delete the lock file and remove the peerDependencies field in package.json, then run eslint . again, it will fail.
System Info
System:
    OS: Linux 5.4 OpenCloudOS 8.8
    CPU: (2) x64 Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz
    Memory: 1.60 GB / 3.58 GB
    Container: Yes
    Shell: 4.4.20 - /bin/bash
  Binaries:
    Node: 18.16.0 - /usr/bin/node
    Yarn: 1.22.22 - ~/.local/share/pnpm/yarn
    npm: 10.8.1 - ~/.local/share/pnpm/npm
    pnpm: 9.4.0 - ~/.local/share/pnpm/pnpm
    bun: 1.1.17 - ~/.bun/bin/bun

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

Contributions

[ ] I am willing to submit a PR to fix this issue
[ ] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)

@IgorKowalczyk Is this caused by #10 ? I am not familiar with eslint, I just read the version history timeline.

It's expected, just ping the version of this library to v0.1.5 until you upgrade your ESLint to 9


Add rustfmt.toml from substrate repo

We shall have a consistent style across all parity repositories.

run rustfmt in your main task (so you don't need to instantiate a second runner and install the tookchain)

That "main task" uses a matrix (os, toolchain) so it will run 4 times. This is why I created a new task.

run rustfmt at the beginning as it will run faster than the builds

They are started all in parallel (this is what I observed just now). Are you sure that this matters?

That "main task" uses a matrix (os, toolchain) so it will run 4 times. This is why I created a new task.

Oh I see, then leave it as it is, we are talking about saving 20s...


No rule to make target "install-with-libs"

Running the same docker file as in https://github.com/facebook/infer/issues/1194 but based on the https://github.com/facebook/infer/commit/598a4d5a5579a92bf51ee5cad5dbe5a36edfa2d0
Please include the following information:

[x] The version of infer is this commit https://github.com/facebook/infer/commit/598a4d5a5579a92bf51ee5cad5dbe5a36edfa2d0
[x] Debian 10 "Buster" docker Slim
[x] Building infer

Hello @XVilka. I will fix the docker build script. Thank you for reporting this.
The target install-with-libs has been removed 387ef518f995d7bd0254b3cf70c143eab891b10a, which was to install shared objects. For now, it should be good to run make install instead.


gnustep.back: 0.28.0 -> 0.29.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gnustep-back/versions.
meta.description for gnustep.back is: "A generic backend for GNUstep"
meta.homepage for gnustep.back is: "http://gnustep.org/"
meta.changelog for gnustep.back is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/c8ipshgsfjilq9y04k48zbxhsldwqh6i-gnustep-back-0.29.0/bin/gpbs passed the binary check.

/nix/store/c8ipshgsfjilq9y04k48zbxhsldwqh6i-gnustep-back-0.29.0/bin/.gpbs-wrapped passed the binary check.

2 of 2 passed binary check by having a zero exit code.

0 of 2 passed binary check by having the new version present in output.

found 0.29.0 with grep in /nix/store/c8ipshgsfjilq9y04k48zbxhsldwqh6i-gnustep-back-0.29.0

found 0.29.0 in filename of file in /nix/store/c8ipshgsfjilq9y04k48zbxhsldwqh6i-gnustep-back-0.29.0

directory tree listing: https://gist.github.com/bdc9bab713ef1d9c77b1ef8642be7be7

du listing: https://gist.github.com/c017db56cb300f304c1a0ccaaf2e21fe

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

19 total rebuild path(s)

6 package rebuild(s)

6 x86_64-linux rebuild(s)
6 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
6 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
gnustep.back
gnustep.gorm
gnustep.gworkspace
gnustep.projectcenter
gnustep.system_preferences
pikopixel

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/c8ipshgsfjilq9y04k48zbxhsldwqh6i-gnustep-back-0.29.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/c8ipshgsfjilq9y04k48zbxhsldwqh6i-gnustep-back-0.29.0
ls -la /nix/store/c8ipshgsfjilq9y04k48zbxhsldwqh6i-gnustep-back-0.29.0/bin

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

6 packages built:

gnustep.back
gnustep.gorm
gnustep.gworkspace
gnustep.projectcenter
gnustep.system_preferences
pikopixel

Maintainer pings
cc @ashalkhakov @matthewbauer for testing.

Result of nixpkgs-review pr 130618 at 76c78e82 run on aarch64-linux 1

6 packages built successfully:

gnustep.back
gnustep.gorm
gnustep.gworkspace
gnustep.projectcenter
gnustep.system_preferences
pikopixel

Result of nixpkgs-review pr 130618 run on x86_64-linux 1

6 packages built:

gnustep.back
gnustep.gorm
gnustep.gworkspace
gnustep.projectcenter
gnustep.system_preferences
pikopixel


Add support for Ubuntu 20.10 "Groovy Gorilla"

This issue is created to track progress for the work to enable Ubuntu 20.10 support for .NET Core 3.1, 2.1 and .NET 5.
Product and Test updates

[x] [All teams] Do a compatibility check for the product with the new OS
[x] [CoreCLR/CoreFX] Runtime / RID Support update
[x] [Infra] Ensure that the correct Docker images used by teams are built in the dotnet-buildtools-prereqs (if applicable)
[x] [Infra] Replace docker tags used in builds across repos and branches
[x] [CLI team] Update CI legs to latest updated Dockerfile
[x] [All teams] Update test infrastructure to support the new version
[x] [Acquisition] Add support within nightly repos
[x] [Acquisition] Deploy to master (GA) during next patch release cycle

Release team:

[x]  Notify .NET Core teams regarding new OS release
[x] Add feed for new OS release to packages.microsoft.com
[x]  Update release manifest files
[x] Create new Docker files to test the new OS
[x] Update the supported OS content on GitHub and marketing sites.

Document updates:

[x] Add OS prerequisites to the dependencies document
[x] Update distro install page

FYI while Ubuntu 20.10 is due for release on October 22, 2020.
ref: https://www.omgubuntu.co.uk/2020/05/ubuntu-20-10-release-features
You can already found docker image on DockerHub...
my test:
# Create a virtual environment with all tools installed
# ref: https://hub.docker.com/_/ubuntu
FROM ubuntu:20.10 AS env

RUN apt update -q
RUN apt install -y wget apt-transport-https

# Dotnet Install
# see: https://docs.microsoft.com/en-us/dotnet/core/install/linux-package-manager-ubuntu-2010
RUN wget https://packages.microsoft.com/config/ubuntu/20.10/packages-microsoft-prod.deb
RUN dpkg -i packages-microsoft-prod.deb
RUN apt update -q
RUN apt install -yq dotnet-sdk-3.1

# Trigger first run experience by running arbitrary cmd
RUN dotnet --info

docker build .

FYI: We only publish container images for Ubuntu LTS releases.

To avoid any ambiguity, I don't want any container image, I only need an Ubuntu 20.10 dotnet-sdk-3.1 feed so I can integrate it in our Google OR-Tools docker container to provide our .Net native prebuilt binaries...
ref: https://github.com/google/or-tools/blob/stable/tools/docker/ubuntu-20.10.Dockerfile
The simplify Dockerfile above is just a way to reproduce the error and what I'm looking for unless for 20.10 you'll manage to integrate dotnet-sdk directly into an official ubuntu feed ?

https://github.com/dotnet/core/issues/5352

.NET Core 3.1 and .NET 5.

Missing .NET Core 2.1?

Updated the issue with 2.1 as well. I am able to install both on Ubuntu 20.10

Neither 3.1 or 2.1 works for me using the package repository, for the same underlying reason installing 5.0-rc2 via .deb doesn't work.

@jamshedd FYI.

FYI ubuntu:rolling has been bumped to Ubuntu 20.10, hope you'll fix your libicu usage ASAP...
ref: https://hub.docker.com/_/ubuntu

The following packages have unmet dependencies:
 dotnet-runtime-deps-2.1 : Depends: libicu but it is not installable or
                                    libicu66 but it is not installable or
                                    libicu65 but it is not installable or
                                    libicu63 but it is not installable or
                                    libicu60 but it is not installable or
                                    libicu57 but it is not installable or
                                    libicu55 but it is not installable or
                                    libicu52 but it is not installable
E: Unable to correct problems, you have held broken packages.

Looks like the package is up, but in a broken state.

@Entomy thanks a lot for letting us know.  This is a known issue and a workaround has been posted on https://github.com/dotnet/core/issues/5352. Hope this helps

Seems fixed today !
ref: https://github.com/dotnet/core/issues/5549#issuecomment-728362949
EDIT: Tested using my Dockerfile above

New packages were pushed for 5.0 and 3.1 to support Ubuntu 20.10, but not 2.1.
(dotnet-sdk-2.1 still fails to install because dotnet-runtime-deps-2.1 isn't compatible with Ubuntu 20.10. More info and workarounds at https://github.com/dotnet/core/issues/5352.)

Is this issue still active, or can it be closed?

Is this issue still active, or can it be closed?

dotnet-sdk-2.1 now installs fine for me in an Ubuntu 20.10 container. There are still checkboxes open in the original issue so leaving it to @rbhanda to close if this is done.

dotnet-sdk-2.1 now installs fine for me in an Ubuntu 20.10 container. There are still checkboxes open in the original issue so leaving it to @rbhanda to close if this is done.

This issue can be closed now.

This issue can be closed now.


JRE fatal error

I cannot start DBeaver, and the DBeaver-cli give the following error:
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffbf6d6a780, pid=8688, tid=10212
JRE version: Java(TM) SE Runtime Environment (8.0_77-b03) (build 1.8.0_77-b03)
Java VM: Java HotSpot(TM) 64-Bit Server VM (25.77-b03 mixed mode windows-amd64 compressed oops)
Problematic frame:
C  [swt-win32-4919.dll+0x5a780]
detail log is :
hs_err_pid8688.log

Can't reproduce.
What Windows version do you have?

I found this error too.
hs_err_pid6756.log

Can't reproduce.
What Windows version do you have?
10.0.18272.1000

the bottom of the log show my system info.

I am seeing the same, and dbeaver will not start... Have uninstalled and reinstalled clean, same result.  Log snip below.  Running Windows 10 x64, 18272.

A fatal error has been detected by the Java Runtime Environment:

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007fff1ef6a780, pid=11580, tid=6972

JRE version: Java(TM) SE Runtime Environment (8.0_77-b03) (build 1.8.0_77-b03)
Java VM: Java HotSpot(TM) 64-Bit Server VM (25.77-b03 mixed mode windows-amd64 compressed oops)
Problematic frame:
C  [swt-win32-4919.dll+0x5a780]

Failed to write core dump. Minidumps are not enabled by default on client versions of Windows

If you would like to submit a bug report, please visit:
http://bugreport.java.com/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.

I am seeing the same, and dbeaver will not start... Have uninstalled and reinstalled clean, same result. Log snip below. Running Windows 10 x64, 18282.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007fff1ef6a780, pid=11580, tid=6972
#
# JRE version: Java(TM) SE Runtime Environment (8.0_77-b03) (build 1.8.0_77-b03)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.77-b03 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [swt-win32-4919.dll+0x5a780]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

NOTE: I installed the 32 bit version, and that RUNS.  It is ONLY the x64 version that shows the above error.

Looks like a bug with swt-win32-4919.dll library.   As a suggestion, updating to new version of this library might help.

Not DBeaver issue.


Clarify intro paragraphs. Addresses #60840

Addresses #60840

@konrad-jamrozik : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


There is a defined project structure for M1 push to file

As a M1 developer,
I want a defines project structure,
So that development can be coordinated between developers.
For the M1 push to file, the general project layout should be defined.

There should be a directory(s) where the components should be places.
Verify if placing in pkg is the best location.
Subdirectories for each component should be defined?

Acceptance Criteria

[ ] Subdirectories are created and the project layout is defined.

Need someone to propose something as a strawman argument.


WASI Support

Support compiling whoami to WASI.

In order for a couple of features to work right, this will require https://github.com/ardaku/wasite.  If it's not supported, it can fallback.


CNCF Annual Review of Carvel as a Sandbox Project

Sandbox projects are subject to an annual review by the TOC. This is intended to be a lightweight process to ensure that projects are on track, and getting the support they need. Process outlined here.
Your annual review should answer the following questions:

[ ] Include a link to your project’s devstats page. We will be looking for signs of consistent or increasing contribution activity. Please feel free to add commentary to add colour to the numbers and graphs we will see on devstats.
---------> https://carvel.devstats.cncf.io/d/8/dashboards?orgId=1&refresh=15m
[ ] How many maintainers do you have, and which organisations are they from? (Feel free to link to an existing MAINTAINERS file if appropriate.)
---------> 10 (9 VMware, 1 converge.io) https://github.com/carvel-dev/carvel/blob/develop/MAINTAINERS.md
[ ] What do you know about adoption, and how has this changed since your last review / since you joined Sandbox? If you can list companies that are adopters of your project, please do so. (Feel free to link to an existing ADOPTERS file if appropriate. Refer to the FAQs for more information on adopters.)
---------> Based on our conversation at KubeCon in Amsterdam, those that attend our community meetings, and those that contribute to the project, as well as those that add their details to our pinned issue and adopters file, we have several adopters, including Swisscom and bol.com, which we met in Amsterdam.
[ ] How has the project performed against its goals since the last review? (We won't penalize you if your goals changed for good reasons.)
[ ] What are the current goals of the project? For example, are you working on major new features? Or are you concentrating on adoption or documentation?
[ ] How can the CNCF help you achieve your upcoming goals?
[ ] Do you think that your project meets the criteria for incubation?

Example can be found here: https://github.com/cncf/toc/blob/main/reviews/sandbox/2022/2022-Antrea-annual.md

Current backlog of reviews: https://github.com/cncf/toc/pulls

Per Amye with CNCF: "no rush on that September due date because of the backlog" @renuy


fix(@angular/cli): typo in error message

This change resolves the error in the console if the nodejs version is not supported showing the actual version instead of "undefined".

Node.js version undefined detected.
The Angular CLI requires a minimum Node.js version of either v10.13 or v12.0.

@googlebot I signed it!

Also merged to 9.0.x patch branch.


Rewrite verification section to leave room for proof verifications

An update to the verification section.  @aritroCoder -- please note the space made available for the last three proof verifications -- for the eq_proof, ge_proof and the aggregate_proof.  I think these are the last items on your list, correct?

An update to the verification section. @aritroCoder -- please note the space made available for the last three proof verifications -- for the eq_proof, ge_proof and the aggregate_proof. I think these are the last items on your list, correct?

yes


Build fails when org.jetbrains.compose is applied from a script plugin

Describe the bug
Applying of id("org.jetbrains.compose") from a script plugin fails the build. But if stop Gradle daemon and re-run it again, the build passes. If stop Gradle daemon and clean temporary directories (build and .gradle), then the build fails.
So, it always fails from the begging (especially on CI). But you can make it work by re-running Gradle daemon with the previously generated cache.
I see such behavior only with Compose plugin. Downgrading Gradle doesn't change anything.

Thrown exception
Could not stop org.gradle.internal.build.event.DefaultBuildEventsListenerRegistry$ForwardingBuildEventConsumer@60251ed.
org.gradle.internal.snapshot.impl.IsolationException: Could not isolate value org.jetbrains.compose.internal.service.GradlePropertySnapshotService$Parameters_Decorated@85190fa of type GradlePropertySnapshotService.Parameters
        at org.gradle.internal.snapshot.impl.DefaultIsolatableFactory.isolate(DefaultIsolatableFactory.java:51)
        at org.gradle.api.services.internal.RegisteredBuildServiceProvider.instantiate(RegisteredBuildServiceProvider.java:127)
        at org.gradle.api.services.internal.RegisteredBuildServiceProvider.getInstance(RegisteredBuildServiceProvider.java:118)
        at org.gradle.api.services.internal.RegisteredBuildServiceProvider.calculateOwnValue(RegisteredBuildServiceProvider.java:111)
        at org.gradle.api.internal.provider.AbstractMinimalProvider.calculateOwnPresentValue(AbstractMinimalProvider.java:80)
        at org.gradle.api.internal.provider.AbstractMinimalProvider.get(AbstractMinimalProvider.java:100)
        at org.gradle.internal.build.event.DefaultBuildEventsListenerRegistry$ForwardingBuildEventConsumer.handle(DefaultBuildEventsListenerRegistry.java:261)
        at org.gradle.internal.build.event.DefaultBuildEventsListenerRegistry$ForwardingBuildEventConsumer.handle(DefaultBuildEventsListenerRegistry.java:238)
        at org.gradle.internal.build.event.DefaultBuildEventsListenerRegistry$AbstractListener.run(DefaultBuildEventsListenerRegistry.java:180)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
        at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.IllegalStateException: BuildScopeServices has been closed.
        at org.gradle.internal.service.DefaultServiceRegistry.serviceRequested(DefaultServiceRegistry.java:289)
        at org.gradle.internal.service.DefaultServiceRegistry.getService(DefaultServiceRegistry.java:328)
        at org.gradle.internal.service.DefaultServiceRegistry.find(DefaultServiceRegistry.java:323)
        at org.gradle.internal.service.DefaultServiceRegistry.get(DefaultServiceRegistry.java:308)
        at org.gradle.internal.instantiation.generator.ManagedObjectFactory.getObjectFactory(ManagedObjectFactory.java:136)
        at org.gradle.internal.instantiation.generator.ManagedObjectFactory.newInstance(ManagedObjectFactory.java:111)
        at org.jetbrains.compose.internal.service.GradlePropertySnapshotService$Parameters_Decorated.getGradlePropertiesCacheKindSnapshot(Unknown Source)
        at org.jetbrains.compose.internal.service.GradlePropertySnapshotService$Parameters_Decorated.unpackState(Unknown Source)
        at org.gradle.internal.snapshot.impl.AbstractValueProcessor.processValue(AbstractValueProcessor.java:134)
        at org.gradle.internal.snapshot.impl.DefaultIsolatableFactory.isolate(DefaultIsolatableFactory.java:49)
        ... 15 more

Versions

Kotlin: 1.9.10
Gradle: 8.4
Compose Multiplatform: 1.5.10 (the same with 1.6.0-dev1265)
OS architecture (x86 or arm64): x86
JDK: Zulu11.68+17-CA (build 11.0.21+9-LTS)

To Reproduce

Generate an empty Gradle project: gradle init.
Put Compose plugin on the classpath of buildSrc: implementation("org.jetbrains.compose:compose-gradle-plugin:1.5.10").
Create a script plugin: compose.gradle.kts.
Apply Compose plugin from it: id("org.jetbrains.compose").

Please take a look on reproducer.zip.
Using the reproducer:

Unzip the archive.
Make sure all Gradle daemons are stopped by ./gradlew --stop.
Build the reproducer ./gradlew clean build.
See fail.
Stop daemons again ./gradlew --stop.
Build it ./gradlew clean build.
See success.
Remove build, .gradle, buildSrc/build, buildSrc/.gradle directories, stop daemon ./gradlew --stop.
Build it ./gradlew clean build.
It fails again.

I believe in all cases we should have seen success. Doesn't matter whether it is built upon cache or with new/old daemons.

Related to Issue: https://github.com/gradle/gradle/issues/27099

Done, fix of this bug will be available in next 1.6.0-dev version of Compose Multiplatform
https://github.com/JetBrains/compose-multiplatform/releases

Fixed in version 1.6.0-dev1334

Hello @dima-avdeev-jb, could the fix please be backported to 1.5? I'm an author of a library that uses Compose Multiplatform and I don't want to depend on a dev version, imposing that version on the users of the library.

@svenjacobs
Sorry, we don't have enough time to do this in the near future. As a workaround you can use compose plugin right in your root build.gradle.kts instead of buildSrc/...

Hey! I see this one re-appearing on 1.6.10-rc03, not happening in 1.6.10-rc02. Is that known?

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


Using '_source' in a script with SearchService

Please use the following questions as a guideline to help me answer
your issue/question without further inquiry. Thank you.
Which version of Elastic are you using?
[ ] elastic.v2 (for Elasticsearch 1.x)
[ ] elastic.v3 (for Elasticsearch 2.x)
[ ] elastic.v5 (for Elasticsearch 5.x)
[*] elastic.v6 (for Elasticsearch 6.x)
Please describe the expected behavior
Search runs with the script
Please describe the actual behavior
I am trying to run a simple script that needs to access '_source' with SearchService. However, a null_pointer_exception is thrown at 'ctx.'.
Here's the code snippet,
modScriptText := "int count = ctx._source.Versions?.size();""
modScript := elastic.NewScript(modScriptText)
modScriptQuery := elastic.NewScriptQuery(modScript)

boolQuery := elastic.NewBoolQuery()
boolQuery.Must(modScriptQuery)

searchResult, err := esClient.
				Search().
				FetchSource(true).
				Index("test_index").
				Query(boolQuery).
				Size(9999).
				Do(context.Background())
if err != nil {
				t.Fatal("Failed to get a response from ES client: ", err)
			}

JSON (Pretty),
{
   "error":{
      "root_cause":[
         {
            "type":"script_exception",
            "reason":"runtime error",
            "script_stack":[
               "count = ctx._source.Versions?.size();",
               "           ^---- HERE"
            ],
            "script":"int count = ctx._source.Versions?.size();",
            "lang":"painless"
         }
      ],
      "type":"search_phase_execution_exception",
      "reason":"all shards failed",
      "phase":"query",
      "grouped":true,
      "failed_shards":[
         {
            "shard":0,
            "index":"test_index",
            "node":"G9e3ushES4e3mnGOCjWm6A",
            "reason":{
               "type":"script_exception",
               "reason":"runtime error",
               "script_stack":[
                  "count = ctx._source.Versions?.size();",
                  "           ^---- HERE"
               ],
               "script":"int count = ctx._source.Versions?.size();",
               "lang":"painless",
               "caused_by":{
                  "type":"null_pointer_exception",
                  "reason":null
               }
            }
         }
      ]
   },
   "status":500
}

Raw JSON,
{"error":{"root_cause":[{"type":"script_exception","reason":"runtime error","script_stack":["count = ctx._source.Versions?.size();","           ^---- HERE"],"script":"int count = ctx._source.Versions?.size();","lang":"painless"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"test_index","node":"G9e3ushES4e3mnGOCjWm6A","reason":{"type":"script_exception","reason":"runtime error","script_stack":["count = ctx._source.Versions?.size();","           ^---- HERE"],"script":"int count = ctx._source.Versions?.size();","lang":"painless","caused_by":{"type":"null_pointer_exception","reason":null}}}]},"status":500}
Any steps to reproduce the behavior?

Create a script
Run it with a SearchService

Please use a valid script according to the Painless scripting docs.
I've added a test for illustration purposes.

Apologies for the late reply.
Just to close this question properly, i have found the problem.
'ctx._source' does not work with search requests.
To access it, my script had to use 'params._source' instead.
References:
https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting-fields.html#_update_scripts
This is where is found out that ctx._source only works with update, update-by-query, or reindex API.
https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting-fields.html#modules-scripting-stored
From this same page, i see an example of using 'params._source'.

Yes, when it comes to this i will ask them instead.
Thank you for creating the test though.


Can't add a new secret

Steps to reproduce the issue:

Create a new k8s secret: kubectl create secret generic super-secret --from-literal key=hello -n kbs-operator-system
Update KbsConfig CRD by adding the following item:

kbsSecretResources:
  - super-secret

Result:
The trustee deployment is not updated, hence the new secret is not mounted into trustee file system

Closed via https://github.com/confidential-containers/trustee-operator/pull/37


A Bookmark Command

Description
When a user tends to use a command often, either by the user manually adding it, or have the bot automatically add through command tracking, add a ".bookmarks", and it will pull up all the bookmarked commands of that user.
Reasoning
For easier use and memorization of the bot commands.

[ ] I'd like to implement this feature myself
[x] Anyone can implement this feature

Okay that means a bot  who will book mark all the commands for the user
This will be going to increase the storage and Idea I think it is not good
Because while if any user want to just want to use the command he can just .help
So I don't think this will be a good idea to add .bookmark command

@NeilShah2026 This bot currently doesn't have a database, such as postres.
I don't think many users would like to be message automatically if the bot noticed a pattern that is set by some constant.
The bot does have a feature for bookmarking a message, so if the user wants to save something for later, they can always do so.

A possible way for doing this is by going through each message in the user DM history and checking if the message is an embed and if so it has the title of Bookmark.

That's not the best idea if the user has a long message history with the bot.

Agreed, a better way I just remembered as we had discussed in dev-contrib was to pin the bookmark messages in DMs of the user and then the bot could go through the pin history?

True, that would also work

I don't think many users would like to be message automatically if the bot noticed a pattern that is set by some constant.

I still think this is relevant. Not sure if the default should have this feature turned on or off.

I don't want to fill up the user's pinned messages, since it may collide with something in the future.
If anything, we should go with manual additions instead of automatic bookmarking so users aren't randomly DM'd.

@ NeilShah2026 This bot currently doesn't have a database, such as postres.
To note, at this point, the bot basically has a database with redis.

Well, yes, but I'm not sure if it's suited for long-term storage. We'd have to put some time limit on the bookmark or something so we don't use up storage for no reason.


Missing .meta files in the package.

Just installed 0.7 via Package Manager with GitHub url into our project using Unity 2022.3.20 on macOS arm64. It's generating a lot of errors due to missing .meta files in the package.

EDIT: This only occurs if the pacakge is installed via 'from git url' method in Package Manager. Manually installing the package file fixed the issue.

Thanks for reporting. I have fixed this in https://github.com/statsig-io/unity-sdk/releases/tag/0.7.1


Historic conversation search window was not expanded as default

Issue Statement:
It is expected to show the historic conversation window expanded as default for the chat user.

@vickyokrm This should be default on browser, but not on mobile.
Can you confirm that this issue persists?


Regression build script output collision  when using unstable target-applies-to-host and debug=0

Problem
cargo check and co. fail to build the project with the error below. It does not fail with older nightlies.
thread '<unnamed>' panicked at src/cargo/core/compiler/custom_build.rs:1266:39:yn, anyhow(build), memchr
build script output collision for anyhow v1.0.86/4f7f6ef5a5e5df20
old=BuildOutput { library_paths: [], library_links: [], linker_args: [], cfgs: ["std_backtrace", "error_generic_member_access"], check_cfgs: ["cfg(anyhow_nightly_testing)", "cfg(anyhow_no_fmt_arguments_as_str)", "cfg(anyhow_no_ptr_addr_of)", "cfg(anyhow_no_unsafe_op_in_unsafe_fn_lint)", "cfg(doc_cfg)", "cfg(error_generic_member_access)", "cfg(std_backtrace)"], env: [], metadata: [], rerun_if_changed: ["build/probe.rs"], rerun_if_env_changed: [], warnings: [] }
new=BuildOutput { library_paths: [], library_links: [], linker_args: [], cfgs: ["std_backtrace", "error_generic_member_access"], check_cfgs: ["cfg(anyhow_nightly_testing)", "cfg(anyhow_no_fmt_arguments_as_str)", "cfg(anyhow_no_ptr_addr_of)", "cfg(anyhow_no_unsafe_op_in_unsafe_fn_lint)", "cfg(doc_cfg)", "cfg(error_generic_member_access)", "cfg(std_backtrace)"], env: [], metadata: [], rerun_if_changed: ["build/probe.rs"], rerun_if_env_changed: [], warnings: [] }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at src/cargo/core/compiler/job_queue/mod.rs:971:64:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }

Steps

Checkout https://github.com/erikjohnston/cargo-regression-repro
Use a nightly version (e.g. nightly 2024-08-09)
Run cargo check

That is a minimum example, I ran into this error while trying to compile https://github.com/matrix-org/matrix-rust-sdk/commit/5954ee18b7649956188cf410b435b2bf72dae06a
Possible Solution(s)
No response
Notes
This regressed in toolchain nightly-2024-07-08, and rustc commit https://github.com/rust-lang/rust/commit/20ae37c18df95f9246c019b04957d23b4164bf7a. This PR got pulled in, which touches target-applies-to-host: https://github.com/rust-lang/cargo/pull/13900, though I haven't actually checked it is that PR.
I don't really understand what target-applies-to-host is doing, so this may just be a silly combination of flags :shrug:
Version
cargo 1.82.0-nightly (0d8d22f83 2024-08-08)
release: 1.82.0-nightly
commit-hash: 0d8d22f83b066503f6b2b755925197e959e58b4f
commit-date: 2024-08-08
host: x86_64-unknown-linux-gnu
libgit2: 1.8.1 (sys:0.19.0 vendored)
libcurl: 8.9.0-DEV (sys:0.4.74+curl-8.9.0 vendored ssl:OpenSSL/3.3.1)
ssl: OpenSSL 3.3.1 4 Jun 2024
os: Ubuntu 22.4.0 (jammy) [64-bit]

Studying the build plans (generated via cargo +nightly build --build-plan -Z unstable-options) and diffing between a good and bad version, it appears that the anyhow build script gets run twice. It looks like the difference between the two build steps is CARGO_ENCODED_RUSTFLAGS.
It looks like in the bad plan the dependency tree is:
<crate> -> anyhow build -> anyhow run build script \
                                               anyhow build build script
prost-derive -> anyhow build -> anyhow run build script /

where the top has 'CARGO_ENCODED_RUSTFLAGS': '-Wrust_2018_idioms' set in the run build script, whereas the bottom has 'CARGO_ENCODED_RUSTFLAGS': '' set.
In the good plan both the crate and prost depend on the same anyhow build
The build plans:
good_output.json
bad_output.json

Thanks for setting up the reproduction example!
I believe this is an identified regression in https://github.com/rust-lang/cargo/issues/14253. If you remove [profile.dev] debug = 0 it will all be gone.
Close in favor of that.


Sqlite support

Hi, would be great to have Sqlite support also for Sql Databases.

Hi @nhaberl
Currently, LiteDb is the default embedded database but perhaps we can look into integrating SQLite in the future
You can also implement that and send a PR

Maybe you have any advice on what to implement?


Add plugin to the tracy folder

Might be nice to write the plugin of the currently executing tracy binary into the tracy folder for reference. This would make it easy to move back a version. The flow would be:

Download the tracy binary
Run it
Load the plugin in the tracy folder using the load unpacked extension

The current flow requires the user to also download the git repo and then browse to the commit version and load it.

Removing this because of how we are moving to the extension.


Create Django application from cookiecutter

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@3ee359a). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #2   +/-   ##
=========================================
  Coverage          ?   89.36%
=========================================
  Files             ?        4
  Lines             ?       47
  Branches          ?        0
=========================================
  Hits              ?       42
  Misses            ?        5
  Partials          ?        0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3ee359a...0ed9bd9. Read the comment docs.


Performance: fuse strategies where possible

Creating strategies and extracting values from them is relatively expensive, and literal values are a decent chunk of most regular expressions.

[x] merge adjacent literal characters into one strategy (in #6)

Honestly I think that's already gained us most of the performance benefits, but there are some other places where we might be able to fuse strategies if you're interested:

[ ] when a repeated pattern is entirely literal, it can be expressed as multiplying a string; when the at_least and at_most range are identical we can calculate that when constructing the strategy
[ ] several codes translate to hs.just(...), and these could be fused with adjacent literals
[ ] groups of one character are equivalent to a literal for our purposes

I think the key for much of this is that Hypothesis actually reduces things to JustStrategy(value) wherever it can, so this could be implemented by adding a post-construction pass that unwraps and fuses strategies.  Essentially we'd be taking advantage of the fact that we know all the sub-strategies generate strings which will be concatenated.  This may well be reaching too far into the Hypothesis internals to be worthwhile at the moment - and may actually lead to some internal changes in strategy fusion - so I suggest merging upstream first, and either of us can look at it again after that.

Yeah, I'm aware of possibility to merge static consequent literals (as long as IGNORECASE is not enabled) and something I was definitely was going to do at some point.
Not sure I understand how generating groups upfront can help performance wise and how is this different to using tuple and then merging all results together.

Nice.  On further reading it looks like the groups advice is inapplicable, and your approach with tuples is nicer anyway.

@Zac-HD you mentioned that merging literals is not enough. Could you outline other cases?

I was actually just in the middle of investigating that!  It looks like the best way to do further fusion is actually after the strategy has been constructed.  However, as noted above, this is best done internally in Hypothesis - so I'll close this issue.