Resource_Error

Hi Typesense Team
i get the following message when i try to install this extension with the console and cli

RESOURCE_ERROR at /deployments/firebase-ext-firestore-typesense-search/resources/backfillToTypesenseFromFirestore: {"ResourceType":"gcp-types/cloudfunctions-v1:projects.locations.functions","ResourceErrorCode":"400","ResourceErrorMessage":"Build failed: {"metrics":{},"error":{"buildpackId":"","buildpackVersion":"","errorType":"OK","canonicalCode":"OK","errorId":"","errorMessage":""},"stats":[{"buildpackId":"google.nodejs.runtime","buildpackVersion":"1.0.0","totalDurationMs":1496,"userDurationMs":0},{"buildpackId":"google.utils.archive-source","buildpackVersion":"0.0.1","totalDurationMs":45,"userDurationMs":44},{"buildpackId":"google.nodejs.npm","buildpackVersion":"1.0.0","totalDurationMs":6428,"userDurationMs":6185},{"buildpackId":"google.nodejs.functions-framework","buildpackVersion":"0.9.4","totalDurationMs":3756,"userDurationMs":3541},{"buildpackId":"google.config.entrypoint","buildpackVersion":"0.9.0","totalDurationMs":0,"userDurationMs":0},{"buildpackId":"google.utils.label","buildpackVersion":"0.0.2","totalDurationMs":0,"userDurationMs":0}],"warnings":null,"customImage":false}"}; RESOURCE_ERROR at /deployments/firebase-ext-firestore-typesense-search/resources/indexToTypesenseOnFirestoreWrite: {"ResourceType":"gcp-types/cloudfunctions-v1:projects.locations.functions","ResourceErrorCode":"400","ResourceErrorMessage":"Build failed: {"metrics":{},"error":{"buildpackId":"","buildpackVersion":"","errorType":"OK","canonicalCode":"OK","errorId":"","errorMessage":""},"stats":[{"buildpackId":"google.nodejs.runtime","buildpackVersion":"1.0.0","totalDurationMs":1485,"userDurationMs":0},{"buildpackId":"google.utils.archive-source","buildpackVersion":"0.0.1","totalDurationMs":59,"userDurationMs":59},{"buildpackId":"google.nodejs.npm","buildpackVersion":"1.0.0","totalDurationMs":6677,"userDurationMs":6425},{"buildpackId":"google.nodejs.functions-framework","buildpackVersion":"0.9.4","totalDurationMs":3689,"userDurationMs":3477},{"buildpackId":"google.config.entrypoint","buildpackVersion":"0.9.0","totalDurationMs":0,"userDurationMs":0},{"buildpackId":"google.utils.label","buildpackVersion":"0.0.2","totalDurationMs":0,"userDurationMs":0}],"warnings":null,"customImage":false}"}

when i look at the cloud functions there is a warning that the functions could not be built - log message from the function:

Build failed: {"metrics":{},"error":{"buildpackId":"","buildpackVersion":"","errorType":"OK","canonicalCode":"OK","errorId":"","errorMessage":""},"stats":[{"buildpackId":"google.nodejs.runtime","buildpackVersion":"1.0.0","totalDurationMs":1437,"userDurationMs":0},{"buildpackId":"google.utils.archive-source","buildpackVersion":"0.0.1","totalDurationMs":42,"userDurationMs":42},{"buildpackId":"google.nodejs.npm","buildpackVersion":"1.0.0","totalDurationMs":6883,"userDurationMs":6640},{"buildpackId":"google.nodejs.functions-framework","buildpackVersion":"0.9.4","totalDurationMs":3529,"userDurationMs":3323},{"buildpackId":"google.config.entrypoint","buildpackVersion":"0.9.0","totalDurationMs":0,"userDurationMs":0},{"buildpackId":"google.utils.label","buildpackVersion":"0.0.2","totalDurationMs":0,"userDurationMs":0}],"warnings":null,"customImage":false}

Thanks
Michael

  "environmentVariables": {
    "DATABASE_INSTANCE": "",
    "DATABASE_URL": "",
    "EXT_INSTANCE_ID": "firestore-typesense-search-p78z",
    "FIREBASE_CONFIG": "{\"projectId\":\"workid-d9387\",\"databaseURL\":\"\",\"storageBucket\":\"workid-d9387.appspot.com\"}",
    "FIRESTORE_COLLECTION_PATH": "occupations",

this looks a bit suspicious to me empty database_url / instance

@mibto Firebaser here. I took a look around and saw nothing suspicious happening in Cloud Build or Cloud Functions. We've escalated this internally to the Cloud Build team to check your account and its permissions. I suggest creating a ticket with Cloud Support to keep track of the updates from our side.

Hi @i14h
I found the issue, it's because i redirected the traffic from container registry to artefact registry. i have reproduced it with a new project. unfortunately i already finalized the redirect, which can not be undone :(
any idea how i can get it working with he artefact registry?
thanks!
Michael

thanks for the information. let me dig a bit and see what I can find

I just found the "solution"
--> go to https://console.cloud.google.com/functions -> edit the functions -> expand "Runtime, build, connections and security settings", select "SECURITY AND IMAGE REPO", under "Image repository", select "Google managed Artifact Registry".
would be nice if the extension could detect if you are using the container registry or artefact registry and deploy the functions accordingly

@jasonbosco why is this closed? did you change something?


otel-cli exec doesn't successfully parse a result from an HTTP service

While diagnosing how to make trapping signals work in Go, I identified that using an HTTP client has a bug. The call to processHTTPStatus here goes on to do proto.Unmarshal. When communicating with Honeycomb, this causes an error, because Honeycomb returns JSON.
Debug output:
guess we're almost done. resp:  &{200 OK 200 HTTP/1.1 1 1 map[Access-Control-Allow-Origin:[*] Connection:[keep-alive] Content-Length:[2] Content-Type:[application/json] Date:[Fri, 08 Sep 2023 02:16:22 GMT] Vary:[Accept-Encoding]] 0xc000674300 2 [] false false map[] 0xc00015e400 0xc000197a20}

Specifically Content-Type:[application/json].
Changing proto.Unmarshal to json.Unmarshal appears to fix the issue for the Honeycomb case, but i suspect that you'd want to use the content-type to determine the exact unmarshal function.

Oh, fascinating. I don't think the spec says this is illegal, but it does say the response should be another protobuf, not json. So I think this is a Honeycomb bug that the otel stack usually ignores.
I'm open to having otel-cli switch on content type and handle both, and will also ping HC folks to see if they want to fix this.

@parsonsmatt I merged #263 so otel-cli should return a better error. I spoke with someone at Honeycomb and they felt this was the better option than accepting the JSON.

Going to close this. Please reopen if the chosen strategy prevents you from solving problems.


Is this language going to be a serious programming language or just for play?

If this is going to be a serious language, which I hope it does. Then we do need to be able to add negative numbers, keep floats and double, ints, etc. Also pass should be "transaction". Goes well with the whole Trump theme.
And unless there is going to be a automatic way of typing key words, for example: instead of typing a long word like generate it could be shortened. Or make it show a list of key words like Java does. Then we can either just hit enter or tab and it auto-enters it for us. Kind of like how the Linux terminal commands go. This would be very helpful and less time consuming.

I don't know what you mean by "serious" language. We've already developed it to the point where it is Turing complete (ish, I think, sans the infinite memory part). Also, you're asking specifically for an autocomplete feature, which isn't a language feature, that's more of a feature of a particular IDE or text editor (or the bash shell) to include autocomplete for different languages. It's a stretch goal of ours to develop some kind of plugin for a text editor like Sublime, but that's long after we get the rest of the language working as intended.

Hahhah..no auto complete... I have died......  U should add lol


Problem with UART in hello_sleep example

I am currently experimenting with the sleep/dormant modes of the Raspberry Pi Pico. As a base I am using the examples hello_sleep respectively hello_dormant. The problem I encountered: After going to sleep, no printf() statements will be printed to the uart.
The only text I'll ever see using a serial monitor is the following:
[Connected]
Hello Sleep!
Switching to XOSC
I am using a Mac. Thus, I don't know whether Windows 10 and Linux have the same issue.
Is there anything I need to consider when sleeping or recovering from sleep? Saving the clock registers before sleep and restoring them after sleep did not work either.

I have the same issue while monitoring stdio via USB on Windows 10. Dormant mode appears to shut down things without properly re-enabling them on wake-up.
I implemented the recover_from_sleep function found here, but while that does fix some issues and appears to bring the clocks back up, it does not fix the USB and allow stdio to display on my monitor via PuTTY.

This is just a random guess (and may not actually be anything to do with your problem at all), but I wonder if Windows might be "getting confused" by the USB device suddenly becoming non-responsive, when the RP2040 goes to sleep?

Windows does seem to get confused, but I think this is more of a Pico issue than a Windows issue. I would think that a proper "wake up" after going dormant should reinitialize USB in such a way that Windows could recognize the device again. And as mentioned above, this also seems to be an issue on Mac. I've monitored the system clocks and by default the USB clock stays at 0Khz after waking up from dormant.
I tried to restore this manually but setting the clock back to its original value doesn't seem to be enough to get the connection working again.


update - button loader component

David please elaborate on updating the loader component found in loader component. I am not sure what should be done here.

@christopherdancy does this still need to be addressed?


Holding down keyboard keys on MacOS brings up special character menu

Copied from a Haxeflixel issue by @increpare. Moving the discussion, here as this will likely need to be fixed either here or in Lime.

Haxe version: 4.2.5
Flixel version: 5.6.2
OpenFL version: 9.3.3-L3uoGG
Lime version: 8.1.2
Affected targets:
MacOS 14.0 (23A344) - Apple M1 Max

Code snippet reproducing the issue:
Any project with a window will reproduce it.  For instance, running the default flixel tpl -n "HelloWorld" project.
Possibly relevant settings system:
I have the "ABC - Extended" keyboard layout selected.

Observed behavior:
If I hold down certain keys on the keyboard that have variants/accents (like the A key, for instance), then a menu will appear to the top-left of the window (if in windowed mode) or screen (if fullscreen).

Expected behavior:
Unless I'm specifically inputting into a text field, I would not want this menu to appear.  And in those cases, were it to appear, I would want it to appear in the correct location. Asking for perfect behaviour might be too much, but I would much prefer the menu never appear, rather than its current behaviour.

It is also present in other haxe games, like Dead Cells, so there must be some similarities in window instantiation/app settings.

(looking for games/apps that don't exhibit this behaviour, uh, it's not haxe I think, but VVVVVV and Aseprite don't)
Possible links to people possibly struggling with the same problem that I stumbled across while I was trying to solve it myself (sometimes it manifests as people reporting that key-repeats aren't getting sent):
https://apple.stackexchange.com/questions/332769/macos-disable-popup-showing-accented-characters-when-holding-down-a-key
https://www.reddit.com/r/runescape/comments/atudk0/macbook_whenever_i_press_and_hold_a_key_an_accent/
https://github.com/bus-stop/Termination/issues/9
https://fsunuc.physics.fsu.edu/git/gwm17/glfw/commit/17a15a20f28ed95e0e69d403687416c023c77e7e
https://stackoverflow.com/questions/76546729/why-are-certain-repeated-keys-ignored-by-interpretkeyevents-in-nsresponder
https://fsunuc.physics.fsu.edu/git/gwm17/glfw/commit/17a15a20f28ed95e0e69d403687416c023c77e7e
https://github.com/smolck/uivonim/issues/106#issuecomment-782522713

Does dead cells use Lime? I wanna say it does, but He might be rolling his own entirely proprietary engine, in which case this may be a Haxe issue

SDL provides our native implementation of keyboard events and text input. This is likely something that will need to be fixed in SDL first. Not sure if they're aware of it, or have fixed it already. It might be worth trying the 8.2.0-Dev branch of Lime, which is using a newer version of SDL than the current stable release of Lime.

SDL provides our native implementation of keyboard events and text input. This is likely something that will need to be fixed in SDL first. Not sure if they're aware of it, or have fixed it already. It might be worth trying the 8.2.0-Dev branch of Lime, which is using a newer version of SDL than the current stable release of Lime.

For what it's worth, I just checked on lime directly (version 8.1.2) with the SimpleImage testproject ( https://lime.openfl.org/docs/home/ )
Happens both in macos and neko target:

And trying in 8.2.0-Dev, for both neko and macos targets, same behaviour:

Looking at SDL2-2.30.1 - going through the LazyFoo tutorial https://lazyfoo.net/tutorials/SDL/01_hello_SDL/mac/index.php  , I get the same behaviour

I'll make a bug report on SDL, one sec...

https://github.com/libsdl-org/SDL/issues/9268#issuecomment-2002616878. explains how to fix the behaviour - by calling SDL_StopTextInput (the vvvvvv sourcecode on GitHub has example usage https://github.com/TerryCavanagh/VVVVVV if you search) - this is presumably something SDL want to keep enabled by default, so maybe better to deal with it here? I don't know how dependent on text input behaviour OpenFL is though

We call SDL_StartTextInput() only when a TextField of type INPUT has focus. We call SDL_StopTextInput() when it no longer has focus.
It's odd if SDL calls SDL_StartTextInput() automatically by default without our intervention. I guess I'll look into it when I get a chance.


Change order of error handling during import.

If I did not upload a file I'd like to be reminded first about that there is no file to import. Preferably an "open" window would appear instead of the error message.

I disabled the button and added a tooltip


[Feature Request] An ability to hide "remove" icon or an ability to prevent removing individual files

Existing Component
Yes
Component Name
Upload
Description
Trying to figure out a way to hide "el-icon-close" for individual files. The only option I see is to find a list item by file name, and hide the icon from there, but that wont work with duplicate file names.

You can add display: none to the close icons.

Like I mentioned in the descriptions: How can it be done with duplicate file names?
https://jsfiddle.net/x20e4upf/

Your fiddle has three files, which icon(s) do you wish to hide?

For example: hide remove from: fileList[1] only. In the fiddle, file list is static, in reality I have a dynamic list, where each file has "removable" attribute. File name and URL's can be duplicated.

Then I guess you'll have to play with DOM a little bit: https://jsfiddle.net/x20e4upf/1/ . If the file list is  dynamic, you can simply watch it.


Scale 3D object according to the Z transpose

Currently the only issue I'm facing is the static size of the model due to Orthographic camera which leads to undesired behavior
When I move away or close to the camera the object size doesn't change which doesn't look nice
Along with position, normal and rotation data I have calculated scale data also which it exposes through track return object

Hey, I am having the same issue, can you please share how you solved that?
Is it actually possible to do Z transform with mediapipe?


Add a combinator always returning a value

Optionally, this parser could take a child parser, and return that value if the child parser is successful

Fixed in efc2830


Document fixtures usage in basic and advanced app tests

This issue is based on p1 of this comment:

For codeception tests, should we need to develop a base test class which has the fixture management feature like the unit test class? How do functional tests make use of fixtures?

@DavertMik said:

@Ragazzo @qiangxue Sure, fixtures can be applied to any tests. And the test-dump is not the one and not the best choice.
As I see usage of AR in functional tests may look like:
$user_id = $I->haveRecord('User', array('name' => 'Yii'));
$I->haveRecord('Category', array('name' => 'Testing')');

This can be improved to use fixtures as well:
$I->haveFixture('UserProfile', 'user1');

And yes, it means that Yii2 module should handle AR interactions as well. So it would allow testing the database as well as responses.
Also I think fixture trait may be used in Helper classes and Group classes. Something like, to load a common set of fixtures for a specific group of tests.

@Ragazzo said:

as for @DavertMik approach, i would rather vote for second:
$I->grabFixture('UserProfile', 'user1');
Need more thinking here of course.

enough information on this subject at http://www.yiiframework.com/doc-2.0/guide-test-fixtures.html


Make error initializers more consistent (breaking changes)

This issue involves reworking error class initializer method signatures to be more consistent and predictable. Each __init__ should order args and kwargs as follows:

Required, specialized args. Most error classes will not have any required args.
title=None
description=None
**kwargs

Moving this to 3.0 in the interest of getting 2.0 out sooner.


[BUG] Two splits use the same stats_meter

There is a bug here. The stats_meter should be set to None at the beginning of each split. In the current implementation, the second split will include the results from the first split, i.e., the results on 4DLoMatch-F are much higher the real numbers.
Results after fixing the bug:

Benchmark
EPE
AccS
AccR
Outlier

4DMatch-F
7.745
61.299
74.121
17.365

4DLoMatch-F
17.687
26.587
41.051
33.807

The bug mainly affects the results on 4DLoMatch-F, which are much lower than the numbers in the paper.

Thanks, that's indeed a bug. We will fix and update the paper.

Thanks for the patience, we fixed the scores in this paper. We managed to increase the scores by replacing the loss from L2 norm to L1 norm, which is more tolerant to large chamfer distance and more robust to correspondence outliers.


Feat/lambda signer

Adds a base AwsSigner class and separates KMS/Lambda specific logic into their own classes.

@miguelmota all but one comment resolved. LMK what you think about the final comment I left.


Support external-service and external-route

Closes #272

See https://github.com/getappmap/appmap-intellij-plugin/issues/272 for the note why this is closed.


New at this..getting this error upon installation of Homebridge

I've gone through all the steps apparently successfully and have gotten this error:

Any help would be appreciated.  Thanks!

Nevermind, I didn't realize you had to actually disable Windows Powershell.  Every time I'd open the command prompt as instructed, I notice the window header would change to Windows Powershell.  I went in and disabled it and all is good.


Remove readmes and point to docs

First part of a two part process.
Remove the readmes and point to docs.docker.com.
Anything that is about contributing, I'll leave in the readme.
Signed-off-by: Mary Anthony<EMAIL_ADDRESS>

@abronan didn't move leadership/README.md i hear from @dongluochen that you are working on this. We can update later.  The actual readme hasn't been touched in 5 months.  Does this work for you?

@moxiegirl yes, sounds good.
LGTM
@vieux @dongluochen PTAL

@moxiegirl could you please update Godeps/Readme  so there is no change in it (last line) ? thanks

@abronan done!


Multi-person direct message creates an unleavable channel

Using direct message with a single user uses /msg with matterircd. But when a direct message is initiated that includes multiple users a new IRC room is created with a random identifier.
Once I'm aded to a multi-user direct message, I'm unable to permanently leave that room. I can /part the room, but the next time I connect to matterircd my IRC client automatically joins the direct message chat room.

This should be fixed in master (0.15.0-dev), could you try?


[BEAM-4474] Ensure unbounded Dataflow jobs are submitted as streaming jobs

R: @kennknowles

R: @lostluck

LGTM


CGMES-NC PowerSystemProject-AP-Voc-RDFS2020: junk terms

CGMES-NC/ttl/PowerSystemProject-AP-Voc-RDFS2020 redefines some terms in dcterms, dcat namespaces but prepends a class name (following the CGMES convention), which means the URLs are wrong. These should be deleted:
dcat:Resource a rdfs:Class ;
dcat:Resource.hasVersion a rdf:Property ;
dcat:Resource.isVersionOf a rdf:Property ;
dcat:Resource.keyword a rdf:Property ;
dcat:Resource.version a rdf:Property ;
dcat:Resource.versionNotes a rdf:Property ;
dcterms:PowerSystemProjectGroup.description a rdf:Property ;
dcterms:PowerSystemProjectGroup.identifier a rdf:Property ;
dcterms:PowerSystemProjectGroup.title a rdf:Property ;
dcterms:Resource.accessRights a rdf:Property ;
dcterms:Resource.conformsTo a rdf:Property ;
dcterms:Resource.creator a rdf:Property ;
dcterms:Resource.description a rdf:Property ;
dcterms:Resource.identifier a rdf:Property ;
dcterms:Resource.issued a rdf:Property ;
dcterms:Resource.license a rdf:Property ;
dcterms:Resource.modified a rdf:Property ;
dcterms:Resource.publisher a rdf:Property ;
dcterms:Resource.rights a rdf:Property ;
dcterms:Resource.rightsHolder a rdf:Property ;
dcterms:Resource.title a rdf:Property ;

We will need to fix this. I was fixing in header RDFS, but we forgot we have dcat and dcterms usage in PSP as well
@Sveino can we make CIM WG comment and fix this within r2.3.1?

Ok, I assigned to @griddigit-ci, let me know if you disagree.

I guess we missed to do an issue and fix this. So we will need to fix it in the next patch

With the agreed update to the DifferenceSet we would need to make more changes to the PowerSystemProject.


CentOS support

Works with flannel.
Trying to get calico working

Fail with sudo even with -t
 "sudo: sorry, you must have a tty to run sudo\n"

Currently the only way i've been able to get it working is to edit the file /etc/sudoers  and add
Defaults:travis !requiretty

But i guess, you don't want to change cloud provider's images.
Still searching for the right option.

For an unknown reason the options --ssh-extra-args="-t -t" causes ansible to hang

I will try with a root user for now.

Could you please try with
-R root

instead of
-b --become-user=root

?

it doesn't work.
root ssh isn't allowed,
I'll create a custom image that allow non-tty until we find a way

I use a custom image that allow sudo:
Got a new error:
"No Package matching 'python-httplib2

next error:
TASK [kubernetes/node : Secrets | synchronize certificates for nodes] **********
skipping: [node2] => (item=/etc/kubernetes/ssl/ca.pem)
skipping: [node2] => (item=/etc/kubernetes/ssl/node.pem)
skipping: [node2] => (item=/etc/kubernetes/ssl/node-key.pem)
skipping: [node1] => (item=/etc/kubernetes/ssl/ca.pem)
skipping: [node1] => (item=/etc/kubernetes/ssl/node.pem)
skipping: [node1] => (item=/etc/kubernetes/ssl/node-key.pem)
failed: [node3 -> None] => (item=/etc/kubernetes/ssl/ca.pem) => {"cmd": "rsync --delay-updates -F --compress --delete-after --archive --rsh 'ssh  -S none -o StrictHostKeyChecking=no' --one-file-system --out-format='<<CHANGED>>%i %n%L' \"/etc/kubernetes/ssl/ca.pem\" \"<IP_ADDRESS>:/etc/kubernetes/ssl\"", "failed": true, "item": "/etc/kubernetes/ssl/ca.pem", "msg": "Warning: Permanently added '<IP_ADDRESS>' (ECDSA) to the list of known hosts.\r\nPermission denied (publickey,gssapi-keyex,gssapi-with-mic).\r\nrsync: connection unexpectedly closed (0 bytes received so far) [sender]\nrsync error: unexplained error (code 255) at io.c(605) [sender=3.0.9]\n", "rc": 255}
failed: [node3 -> None] => (item=/etc/kubernetes/ssl/node.pem) => {"cmd": "rsync --delay-updates -F --compress --delete-after --archive --rsh 'ssh  -S none -o StrictHostKeyChecking=no' --one-file-system --out-format='<<CHANGED>>%i %n%L' \"/etc/kubernetes/ssl/node.pem\" \"<IP_ADDRESS>:/etc/kubernetes/ssl\"", "failed": true, "item": "/etc/kubernetes/ssl/node.pem", "msg": "Permission denied (publickey,gssapi-keyex,gssapi-with-mic).\r\nrsync: connection unexpectedly closed (0 bytes received so far) [sender]\nrsync error: unexplained error (code 255) at io.c(605) [sender=3.0.9]\n", "rc": 255}
failed: [node3 -> None] => (item=/etc/kubernetes/ssl/node-key.pem) => {"cmd": "rsync --delay-updates -F --compress --delete-after --archive --rsh 'ssh  -S none -o StrictHostKeyChecking=no' --one-file-system --out-format='<<CHANGED>>%i %n%L' \"/etc/kubernetes/ssl/node-key.pem\" \"<IP_ADDRESS>:/etc/kubernetes/ssl\"", "failed": true, "item": "/etc/kubernetes/ssl/node-key.pem", "msg": "Permission denied (publickey,gssapi-keyex,gssapi-with-mic).\r\nrsync: connection unexpectedly closed (0 bytes received so far) [sender]\nrsync error: unexplained error (code 255) at io.c(605) [sender=3.0.9]\n", "rc": 255}

node3 is kube-node only

there is one more issue on apimaster restart (check travis)


v1.6.0-rc.1: slider doesn't work

I have migrated to the v1.6.0-rc.1 and the result is dreadful:

slider autoply doesn't work, it shows only the last image
drag to scroll doesn't work

(tested on both Android and iOS)

Can you provide an example for me to reproduce?

@borgogelli I setup a minimal usecase in the commit above. It works well and pass the test, you can provide the bad case you meet.

Here the a demo app: https://github.com/iubar/slider-test

Here the snack:
<EMAIL_ADDRESS>You can see that the web version works fine while the android once (expo managed) doesn't work as expected (the same on the iOS)

@borgogelli
https://github.com/iubar/slider-test/blob/master/ProductSlider1.js#L61 style => containerStyle

But is not the same of https://github.com/leecade/react-native-swiper/blob/master/examples/components/Basic/index.js#L36 ?

But is not the same of https://github.com/leecade/react-native-swiper/blob/master/examples/components/Basic/index.js#L36 ?

The style is used on each page, and use empty style won't have effect

Thank you very much


New version: cyanreg.cyanrip version <IP_ADDRESS>

Pull request has been created with komac v2.2.1 :rocket:
Microsoft Reviewers: Open in CodeFlow

/azp run


Include information about relation between syncthing.exe and SyncTrayzor

Added small FAQ for the relation between syncthing.exe and SyncTrayzor as I stumbeld about that and thought this might help others..

Worth adding.
I might touch this up a bit before merging.

Merged, thanks!


tweak the debug logs

See the commit messages for more info.

Codecov Report

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

@@          Coverage Diff          @@
##           master    #93   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          39     39
  Branches        9      9
=====================================
  Hits           39     39

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 f46b334...74aa308. Read the comment docs.

:tada: This PR is included in version 1.2.12 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


small improvements

Codecov Report

Merging #61 into master will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master      #61   +/-   ##
=======================================
  Coverage   74.05%   74.05%
=======================================
  Files          16       16
  Lines         871      871
=======================================
  Hits          645      645
  Misses        226      226

Impacted Files
Coverage Δ

src/session.jl
89.06% <ø> (ø)

src/types.jl
76.80% <0.00%> (ø)

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 3be442d...83e5c64. Read the comment docs.


Sample workshop deployment command broken.

Describe the bug
The repo https://github.com/vmware-tanzu-labs/lab-k8s-fundamentals was removed and thus make deploy-workshop target in source Makefile is broken. Quick start steps in docs also used that repo and thus it is also broken.
These need to be changed to use https://github.com/educates/lab-k8s-fundamentals.
Additional information
No response

Was fixed by https://github.com/vmware-tanzu-labs/educates-training-platform/pull/509


[tutorials] optimize images

convert them to webp and in the litdev card, load lazily

Does safari support webp?
This indicates maybe only in TP? https://caniuse.com/webp

It does support webp. It just indicates that you need MacOS 11+


fix: remove default policy server name CLI flag.

Description
Updates the CLI flag to allow users to define the default policy server name to be used when users does not define one in policies. Now the default policy server name will be always: "default"
Fix #809

I would like to merge this at the same time that we change the helm-charts to not depend on this flag.

@kubewarden/kubewarden-developers  https://github.com/kubewarden/helm-charts/pull/484


Title bar not modified on Debian

The configurations did not take effect no matter window.titleBarStyle is set to "custom" or "native". My desktop environment is MATE 1.26.1

https://www.electronjs.org/docs/latest/api/browser-window#new-browserwindowoptions
here you can see which of the options are available for which operating system


OCM-9940 | test: automated id:34950 check available regions

Test output:
$ ginkgo run -focus id:34950 tests/e2e/
Running Suite: ROSA CLI e2e tests suite - /home/jericho/work/repos/rosa/tests/e2e
=================================================================================
Random Seed:<PHONE_NUMBER>

Will run 1 of 235 specs
SSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS

Ran 1 of 235 Specs in 2.828 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 234 Skipped
PASS

Ginkgo ran 1 suite in 4.13106253s
Test Suite Passed

/lgtm

@jerichokeyne Please run make lint and review the issues. Some lines may be too big

@radtriste the linting issue should be fixed now


Navbar Not Visible On Login Screen

The navbar is not properly visible on the login page. It could be because of the mismatched z-index.

I am a GSSOC 2023 participant & would like to work on this.

please assign this issue to me


Move Camuda 8.6 Docker Compose from camunda/camunda-platform to this repo

Move Camuda 8.6 Docker Compose from camunda/camunda-platform to this.
### Tasks
- [ ] Move it to the same dir `docker-compose/camunda-8.6`.
- [ ] Ensure Docker Compose works locally as expected.
- [ ] Ensure the related GitHub Actions workflows are moved to this repo and work as expected.

Kindly assign this task to me


Performance Efficiency Lab 'Calculating Differences In Clock Sources'…

… Needs Updating #128
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This pull request consists of a modified CloudFormation script for the Performance Efficiency 100 level lab 'Calculating Differences In Clock Sources'. Modifications:

Creation of a dedicated VPC, subnet, and route table for this lab.
Creation of a gateway VPC Endpoint to S3 that allows the 'yum' commands to execute at EC2 machine init time without having to use the public internet to do so. This modifies the created route table.
Creation of interfaces VPC Endpoints to CloudFormation, SSM, SSM Messages, and EC2 Messages services, which allows the lab to be completed without using the public internet.
Creation of a security group for the CloudFormation VPC Endpoint that allows the CloudFormation service to communicate with the created subnet over port 443.
Creation of a uniquely named S3 bucket for lab artifacts.

ToDos:

Review my security assumptions with a AWS SME.
Restrict the regions and AZs this can run in.
2a. Regions: VPC endpoints for CloudFormation service restrictions: https://docs.aws.amazon.com/general/latest/gr/rande.html#cfn_region
2b. AZs: Lab defaults to using m5.large EC2 instances, which are not available in us-east-1e, causing the CF script to bomb out if that is the AZ chosen.

The original intent of the lab was to use the default VPC (which comes standard with every account) and not require the user to create a new VPC.  I do see the value in learning how to deploy a machine with SSM in a VPC with no internet connectivity, but for this 100 level lab I don't want to take away from the base concept we are teaching.
Thanks again for your insight and I appreciate you spending the time creating this PR!
Eric

Understood....however, as previously stated, consider lab participants inside corporate customers where the AWS environment is restricted due to corporate security rules. Having access to the open internet via an IGW at those places is by no means default. This is the whole point of VPC enpoints, correct? A more secure environment where you are not exposed to the public internet?
Also, do consider the 100 level Operational Excellence 'Inventory and Patch Management' lab. The CloudFormation script for this lab does create a VPC + subnets + routing tables + IGW from the ground up and cleans itself up nicely. This lab would fail too on a corporate VPC where access to the general internet might be restricted, but the problem would arise at CloudFormation time when the IGW creation bombed out and it would be much clearer what was wrong, rather than at run time, when neither of the EC2 instances registered with the Systems Manager.
Either way, no big deal...the lab served my purpose as far as I am concerned. I think the labs are awesome tools, and I am encouraging everyone on my end to run through them.


Bump identity.apps.core version

Note the $subject

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7110888857

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7110888857
Status: failure


Add Laravel 11 support

Requires a new major version because of spatie/image!

I'm not familiar with phpstan so not really sure how to fix its errors


remove host header in requests;change proxy image name

The security-proxy-setup in Fuji release removes the requirement of setting header when sending HTTP request over proxy. This is to adjust the test cases in blackbox testing.
Signed-off-by: Tingyu Zeng<EMAIL_ADDRESS>

May address:

https://github.com/edgexfoundry/edgex-go/issues/1997
https://github.com/edgexfoundry/edgex-go/issues/1998
https://github.com/edgexfoundry/edgex-go/issues/1999
https://github.com/edgexfoundry/edgex-go/issues/2000
https://github.com/edgexfoundry/edgex-go/issues/2001
https://github.com/edgexfoundry/edgex-go/issues/2002
https://github.com/edgexfoundry/edgex-go/issues/2003
https://github.com/edgexfoundry/edgex-go/issues/2004
https://github.com/edgexfoundry/edgex-go/issues/2005
https://github.com/edgexfoundry/edgex-go/issues/2006
https://github.com/edgexfoundry/edgex-go/issues/2007


Fix downgrades in apt_package

apt_package never even looks at new_resource.version when deciding
what version to install. That's silly.
This fixes that. It requires the version be exact (as the yum_package
did for most of Chef's history), and if you specify a non-existent
version, it'll raise an exception.
The unit tests for this provider are a bit of a mess, so I kinda stuck
in the tests where I could.
[2021-02-07T15:59:35-08:00] TRACE: apt_package[hub] installed version for hub is 2.14.2-1vcrs.1
[2021-02-07T15:59:35-08:00] TRACE: apt_package[hub] candidate version for hub is 2.14.2-1vcrs.1
[2021-02-07T15:59:35-08:00] TRACE: apt_package[hub] hub 2.14.2-1vcrs.1 needs updating to 2.7.0~ds1-1vcrs.1
[2021-02-07T15:59:38-08:00] INFO: apt_package[hub] installed hub at 2.7.0~ds1-1vcrs.1

OK. tested and linted... should be ready for review

hmm looks like I broke multipackage cookbook thing :/

OK @lamont-granquist / @tas50 - all relevant tests finally pass... there's some kitchen failures, but that's around Ohai versions, seems pretty unrelated.

I assume we don't want to backport this since the raises behavior is technically breaking?

I could argue either way. 16 is pretty broken today - it blindly ignores version, so it seems OK to backport, but also, raising when it didn't before also sucks... so.... I'm open.


[BUG] xgcm installed but can't be import

What happened:
I installed the xgcm Librairie but once I tried to import it to use it, I obtain an error message, which is nowhere to be found on the internet.
What you expected to happen:
By using this same method on another mac (more recent), xgcm was nicely imported and ready to be used...
Minimal Complete Verifiable Example:
! pip install xgcm
Requirement already satisfied: xgcm in ./opt/anaconda3/lib/python3.7/site-packages (0.6.2rc2.dev5+g09c50fd)
Requirement already satisfied: future in ./opt/anaconda3/lib/python3.7/site-packages (from xgcm) (0.17.1)
Requirement already satisfied: dask in ./opt/anaconda3/lib/python3.7/site-packages (from xgcm) (2.5.2)
Requirement already satisfied: xarray>=0.17.0 in ./opt/anaconda3/lib/python3.7/site-packages (from xgcm) (0.20.2)
Requirement already satisfied: numpy in ./opt/anaconda3/lib/python3.7/site-packages (from xgcm) (1.20.3)
Requirement already satisfied: importlib-metadata; python_version < "3.8" in ./opt/anaconda3/lib/python3.7/site-packages (from xarray>=0.17.0->xgcm) (0.23)
Requirement already satisfied: pandas>=1.1 in ./opt/anaconda3/lib/python3.7/site-packages (from xarray>=0.17.0->xgcm) (1.3.5)
Requirement already satisfied: typing-extensions>=3.7; python_version < "3.8" in ./opt/anaconda3/lib/python3.7/site-packages (from xarray>=0.17.0->xgcm) (4.1.1)
Requirement already satisfied: zipp>=0.5 in ./opt/anaconda3/lib/python3.7/site-packages (from importlib-metadata; python_version < "3.8"->xarray>=0.17.0->xgcm) (0.6.0)
Requirement already satisfied: python-dateutil>=2.7.3 in ./opt/anaconda3/lib/python3.7/site-packages (from pandas>=1.1->xarray>=0.17.0->xgcm) (2.8.0)
Requirement already satisfied: pytz>=2017.3 in ./opt/anaconda3/lib/python3.7/site-packages (from pandas>=1.1->xarray>=0.17.0->xgcm) (2019.3)
Requirement already satisfied: more-itertools in ./opt/anaconda3/lib/python3.7/site-packages (from zipp>=0.5->importlib-metadata; python_version < "3.8"->xarray>=0.17.0->xgcm) (7.2.0)
Requirement already satisfied: six>=1.5 in ./opt/anaconda3/lib/python3.7/site-packages (from python-dateutil>=2.7.3->pandas>=1.1->xarray>=0.17.0->xgcm) (1.12.0)

import xgcm
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-2-814b32b375aa> in <module>
----> 1 import xgcm

~/opt/anaconda3/lib/python3.7/site-packages/xgcm/__init__.py in <module>
      4     __version__ = "unknown"
      5
----> 6 from .autogenerate import generate_grid_ds
      7 from .grid import Axis, Grid

~/opt/anaconda3/lib/python3.7/site-packages/xgcm/autogenerate.py in <module>
----> 1 import xarray as xr
      2
      3 from xgcm.grid import Axis, raw_interp_function
      4
      5

~/opt/anaconda3/lib/python3.7/site-packages/xarray/__init__.py in <module>
      1 import pkg_resources
      2
----> 3 from . import testing, tutorial, ufuncs
      4 from .backends.api import (
      5     load_dataarray,

~/opt/anaconda3/lib/python3.7/site-packages/xarray/testing.py in <module>
      6 import numpy as np
      7
----> 8 from xarray.core import duck_array_ops, formatting, utils
      9 from xarray.core.dataarray import DataArray
     10 from xarray.core.dataset import Dataset

~/opt/anaconda3/lib/python3.7/site-packages/xarray/core/duck_array_ops.py in <module>
     11
     12 import numpy as np
---> 13 import pandas as pd
     14
     15 from . import dask_array_compat, dask_array_ops, dtypes, npcompat, nputils

~/opt/anaconda3/lib/python3.7/site-packages/pandas/__init__.py in <module>
     53 import pandas.core.config_init
     54
---> 55 from pandas.core.api import (
     56     # dtype
     57     Int8Dtype,

~/opt/anaconda3/lib/python3.7/site-packages/pandas/core/api.py in <module>
      3 import numpy as np
      4
----> 5 from pandas.core.arrays.integer import (
      6     Int8Dtype,
      7     Int16Dtype,

~/opt/anaconda3/lib/python3.7/site-packages/pandas/core/arrays/__init__.py in <module>
      8 from .datetimes import DatetimeArray  # noqa: F401
      9 from .integer import IntegerArray, integer_array  # noqa: F401
---> 10 from .interval import IntervalArray  # noqa: F401
     11 from .numpy_ import PandasArray, PandasDtype  # noqa: F401
     12 from .period import PeriodArray, period_array  # noqa: F401

~/opt/anaconda3/lib/python3.7/site-packages/pandas/core/arrays/interval.py in <module>
     36 from pandas.core.arrays.categorical import Categorical
     37 import pandas.core.common as com
---> 38 from pandas.core.indexes.base import Index, ensure_index
     39
     40 _VALID_CLOSED = {"left", "right", "both", "neither"}

~/opt/anaconda3/lib/python3.7/site-packages/pandas/core/indexes/base.py in <module>
     72 from pandas.core.ops import get_op_result_name, make_invalid_op
     73 import pandas.core.sorting as sorting
---> 74 from pandas.core.strings import StringMethods
     75
     76 from pandas.io.formats.printing import (

~/opt/anaconda3/lib/python3.7/site-packages/pandas/core/strings/__init__.py in <module>
     28 #     - ArrowStringArray
     29
---> 30 from pandas.core.strings.accessor import StringMethods
     31 from pandas.core.strings.base import BaseStringArrayMethods
     32

~/opt/anaconda3/lib/python3.7/site-packages/pandas/core/strings/accessor.py in <module>
     14
     15 import pandas._libs.lib as lib
---> 16 from pandas._typing import (
     17     DtypeObj,
     18     FrameOrSeriesUnion,

ImportError: cannot import name 'DtypeObj' from 'pandas._typing' (/Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/pandas/_typing.py)

Anything else we need to know?:
We are two to have that kind of issues, both of us having Mac book from 2013 and 2011. No idea if it's linked , but what's the odd
xgcm version and environment:

Can you import pandas? If not, your problem has nothing to do with xgcm. The problem is with pandas.
This stackoverflow issue seems very similar. (I found it by just typing ImportError: cannot import name 'DtypeObj' from 'pandas._typing' into google.) https://stackoverflow.com/questions/68463220/pandas-importing-error-importerror-cannot-import-name-dtypearg-from-pandas
In general, we recommend installing scientific python packages (including xgcm) with conda, not pip.

oh, okey... pandas is not working... last time it was... sorry about that
I also tried conda actually. I will try to fix the pandas issue then, thanks a lot

okey, so pandas is fixed, but still can't managed to import xgcm :
import pandas

import xgcm
---------------------------------------------------------------------------
TypingError                               Traceback (most recent call last)
<ipython-input-2-814b32b375aa> in <module>
----> 1 import xgcm

~/opt/anaconda3/lib/python3.7/site-packages/xgcm/__init__.py in <module>
      4     __version__ = "unknown"
      5
----> 6 from .autogenerate import generate_grid_ds
      7 from .grid import Axis, Grid

~/opt/anaconda3/lib/python3.7/site-packages/xgcm/autogenerate.py in <module>
      1 import xarray as xr
      2
----> 3 from xgcm.grid import Axis, raw_interp_function
      4
      5

~/opt/anaconda3/lib/python3.7/site-packages/xgcm/grid.py in <module>
     15     import numba
     16
---> 17     from .transform import conservative_interpolation, linear_interpolation
     18 except ImportError:
     19     numba = None

~/opt/anaconda3/lib/python3.7/site-packages/xgcm/transform.py in <module>
     17     ],
     18     "(n),(n),(m),(),()->(m)",
---> 19     nopython=True,
     20 )
     21 def _interp_1d_linear(

~/opt/anaconda3/lib/python3.7/site-packages/numba/npyufunc/decorators.py in wrap(func)
    177         guvec = GUVectorize(func, signature, **kws)
    178         for fty in ftylist:
--> 179             guvec.add(fty)
    180         return guvec.build_ufunc()
    181

~/opt/anaconda3/lib/python3.7/site-packages/numba/npyufunc/ufuncbuilder.py in add(self, sig)
    194             targetoptions = self.nb_func.targetoptions
    195         cres, args, return_type = _compile_element_wise_function(
--> 196             self.nb_func, targetoptions, sig)
    197         sig = self._finalize_signature(cres, args, return_type)
    198         self._sigs.append(sig)

~/opt/anaconda3/lib/python3.7/site-packages/numba/npyufunc/ufuncbuilder.py in _compile_element_wise_function(nb_func, targetoptions, sig)
    128     # Do compilation
    129     # Return CompileResult to test
--> 130     cres = nb_func.compile(sig, **targetoptions)
    131     args, return_type = sigutils.normalize_signature(sig)
    132     return cres, args, return_type

~/opt/anaconda3/lib/python3.7/site-packages/numba/npyufunc/ufuncbuilder.py in compile(self, sig, locals, **targetoptions)
     77         flags.unset("enable_looplift")
     78
---> 79         return self._compile_core(sig, flags, locals)
     80
     81     def _compile_core(self, sig, flags, locals):

~/opt/anaconda3/lib/python3.7/site-packages/numba/npyufunc/ufuncbuilder.py in _compile_core(self, sig, flags, locals)
    112                                               self.py_func, args=args,
    113                                               return_type=return_type,
--> 114                                               flags=flags, locals=locals)
    115
    116                 # cache lookup failed before so safe to save

~/opt/anaconda3/lib/python3.7/site-packages/numba/compiler.py in compile_extra(typingctx, targetctx, func, args, return_type, flags, locals, library, pipeline_class)
    970     pipeline = pipeline_class(typingctx, targetctx, library,
    971                               args, return_type, flags, locals)
--> 972     return pipeline.compile_extra(func)
    973
    974

~/opt/anaconda3/lib/python3.7/site-packages/numba/compiler.py in compile_extra(self, func)
    388         self.lifted = ()
    389         self.lifted_from = None
--> 390         return self._compile_bytecode()
    391
    392     def compile_ir(self, func_ir, lifted=(), lifted_from=None):

~/opt/anaconda3/lib/python3.7/site-packages/numba/compiler.py in _compile_bytecode(self)
    901         """
    902         assert self.func_ir is None
--> 903         return self._compile_core()
    904
    905     def _compile_ir(self):

~/opt/anaconda3/lib/python3.7/site-packages/numba/compiler.py in _compile_core(self)
    888         self.define_pipelines(pm)
    889         pm.finalize()
--> 890         res = pm.run(self.status)
    891         if res is not None:
    892             # Early pipeline completion

~/opt/anaconda3/lib/python3.7/site-packages/numba/compiler_lock.py in _acquire_compile_lock(*args, **kwargs)
     30         def _acquire_compile_lock(*args, **kwargs):
     31             with self:
---> 32                 return func(*args, **kwargs)
     33         return _acquire_compile_lock
     34

~/opt/anaconda3/lib/python3.7/site-packages/numba/compiler.py in run(self, status)
    264                     # No more fallback pipelines?
    265                     if is_final_pipeline:
--> 266                         raise patched_exception
    267                     # Go to next fallback pipeline
    268                     else:

~/opt/anaconda3/lib/python3.7/site-packages/numba/compiler.py in run(self, status)
    255                 try:
    256                     event("-- %s" % stage_name)
--> 257                     stage()
    258                 except _EarlyPipelineCompletion as e:
    259                     return e.result

~/opt/anaconda3/lib/python3.7/site-packages/numba/compiler.py in stage_nopython_frontend(self)
    513                 self.args,
    514                 self.return_type,
--> 515                 self.locals)
    516             self.typemap = typemap
    517             self.return_type = return_type

~/opt/anaconda3/lib/python3.7/site-packages/numba/compiler.py in type_inference_stage(typingctx, interp, args, return_type, locals)
   1122
   1123         infer.build_constraint()
-> 1124         infer.propagate()
   1125         typemap, restype, calltypes = infer.unify()
   1126

~/opt/anaconda3/lib/python3.7/site-packages/numba/typeinfer.py in propagate(self, raise_errors)
    925         if errors:
    926             if raise_errors:
--> 927                 raise errors[0]
    928             else:
    929                 return errors

TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Invalid use of Function(<function interp at 0x119cd54d0>) with argument(s) of type(s): (array(float32, 1d, A), array(float32, 1d, A), array(float32, 1d, A))
 * parameterized
In definition 0:
    TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Invalid use of Function(<function np_interp_impl_inner_factory.<locals>.impl at 0x82d1d9200>) with argument(s) of type(s): (array(float32, 1d, A), array(float32, 1d, A), array(float32, 1d, A), dtype(float64))
 * parameterized
In definition 0:
    TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Cannot unify array(float32, 1d, C) and array(float64, 1d, C) for 'slopes', defined at /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py (2120)

File "opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py", line 2120:
    def impl(x, xp, fp, dtype):
        <source elided>
            if lenxp <= lenx:
                slopes = (dy[1:] - dy[:-1]) / (dx[1:] - dx[:-1])
                ^

[1] During: typing of assignment at /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py (2122)

File "opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py", line 2122:
    def impl(x, xp, fp, dtype):
        <source elided>
            else:
                slopes = np.empty(0, dtype=dtype)
                ^

    raised from /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/typeinfer.py:927
In definition 1:
    TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Cannot unify array(float32, 1d, C) and array(float64, 1d, C) for 'slopes', defined at /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py (2120)

File "opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py", line 2120:
    def impl(x, xp, fp, dtype):
        <source elided>
            if lenxp <= lenx:
                slopes = (dy[1:] - dy[:-1]) / (dx[1:] - dx[:-1])
                ^

[1] During: typing of assignment at /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py (2122)

File "opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py", line 2122:
    def impl(x, xp, fp, dtype):
        <source elided>
            else:
                slopes = np.empty(0, dtype=dtype)
                ^

    raised from /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/typeinfer.py:927
This error is usually caused by passing an argument of a type that is unsupported by the named function.
[1] During: resolving callee type: Function(<function np_interp_impl_inner_factory.<locals>.impl at 0x82d1d9200>)
[2] During: typing of call at /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py (2237)

File "opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py", line 2237:
        def np_interp_impl(x, xp, fp):
            return inner(x, xp, fp, dtype)
            ^

    raised from /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/typeinfer.py:927
In definition 1:
    TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Invalid use of Function(<function np_interp_impl_inner_factory.<locals>.impl at 0x82d1d9200>) with argument(s) of type(s): (array(float32, 1d, A), array(float32, 1d, A), array(float32, 1d, A), dtype(float64))
 * parameterized
In definition 0:
    TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Cannot unify array(float32, 1d, C) and array(float64, 1d, C) for 'slopes', defined at /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py (2120)

File "opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py", line 2120:
    def impl(x, xp, fp, dtype):
        <source elided>
            if lenxp <= lenx:
                slopes = (dy[1:] - dy[:-1]) / (dx[1:] - dx[:-1])
                ^

[1] During: typing of assignment at /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py (2122)

File "opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py", line 2122:
    def impl(x, xp, fp, dtype):
        <source elided>
            else:
                slopes = np.empty(0, dtype=dtype)
                ^

    raised from /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/typeinfer.py:927
In definition 1:
    TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Cannot unify array(float32, 1d, C) and array(float64, 1d, C) for 'slopes', defined at /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py (2120)

File "opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py", line 2120:
    def impl(x, xp, fp, dtype):
        <source elided>
            if lenxp <= lenx:
                slopes = (dy[1:] - dy[:-1]) / (dx[1:] - dx[:-1])
                ^

[1] During: typing of assignment at /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py (2122)

File "opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py", line 2122:
    def impl(x, xp, fp, dtype):
        <source elided>
            else:
                slopes = np.empty(0, dtype=dtype)
                ^

    raised from /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/typeinfer.py:927
This error is usually caused by passing an argument of a type that is unsupported by the named function.
[1] During: resolving callee type: Function(<function np_interp_impl_inner_factory.<locals>.impl at 0x82d1d9200>)
[2] During: typing of call at /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py (2237)

File "opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py", line 2237:
        def np_interp_impl(x, xp, fp):
            return inner(x, xp, fp, dtype)
            ^

    raised from /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/typeinfer.py:927
This error is usually caused by passing an argument of a type that is unsupported by the named function.
[1] During: resolving callee type: Function(<function interp at 0x119cd54d0>)
[2] During: typing of call at /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/xgcm/transform.py (31)

File "opt/anaconda3/lib/python3.7/site-packages/xgcm/transform.py", line 31:
def _interp_1d_linear(
    <source elided>

    output[:] = np.interp(target_theta_levels, theta, phi)
    ^

It seems to be erroring inside numba, which is weird. numba is supposed to be an optional dependency (and our core-deps CI environment manages to import xgcm without numba), but I would be interested to know if installing numba makes your error disappear or not?

Okey, so I tried to instal numba, but still the same error
import xgcm
---------------------------------------------------------------------------
TypingError                               Traceback (most recent call last)
<ipython-input-1-814b32b375aa> in <module>
----> 1 import xgcm

~/opt/anaconda3/lib/python3.7/site-packages/xgcm/__init__.py in <module>
      4     __version__ = "unknown"
      5
----> 6 from .autogenerate import generate_grid_ds
      7 from .grid import Axis, Grid

~/opt/anaconda3/lib/python3.7/site-packages/xgcm/autogenerate.py in <module>
      1 import xarray as xr
      2
----> 3 from xgcm.grid import Axis, raw_interp_function
      4
      5

~/opt/anaconda3/lib/python3.7/site-packages/xgcm/grid.py in <module>
     15     import numba
     16
---> 17     from .transform import conservative_interpolation, linear_interpolation
     18 except ImportError:
     19     numba = None

~/opt/anaconda3/lib/python3.7/site-packages/xgcm/transform.py in <module>
     17     ],
     18     "(n),(n),(m),(),()->(m)",
---> 19     nopython=True,
     20 )
     21 def _interp_1d_linear(

~/opt/anaconda3/lib/python3.7/site-packages/numba/npyufunc/decorators.py in wrap(func)
    177         guvec = GUVectorize(func, signature, **kws)
    178         for fty in ftylist:
--> 179             guvec.add(fty)
    180         return guvec.build_ufunc()
    181

~/opt/anaconda3/lib/python3.7/site-packages/numba/npyufunc/ufuncbuilder.py in add(self, sig)
    194             targetoptions = self.nb_func.targetoptions
    195         cres, args, return_type = _compile_element_wise_function(
--> 196             self.nb_func, targetoptions, sig)
    197         sig = self._finalize_signature(cres, args, return_type)
    198         self._sigs.append(sig)

~/opt/anaconda3/lib/python3.7/site-packages/numba/npyufunc/ufuncbuilder.py in _compile_element_wise_function(nb_func, targetoptions, sig)
    128     # Do compilation
    129     # Return CompileResult to test
--> 130     cres = nb_func.compile(sig, **targetoptions)
    131     args, return_type = sigutils.normalize_signature(sig)
    132     return cres, args, return_type

~/opt/anaconda3/lib/python3.7/site-packages/numba/npyufunc/ufuncbuilder.py in compile(self, sig, locals, **targetoptions)
     77         flags.unset("enable_looplift")
     78
---> 79         return self._compile_core(sig, flags, locals)
     80
     81     def _compile_core(self, sig, flags, locals):

~/opt/anaconda3/lib/python3.7/site-packages/numba/npyufunc/ufuncbuilder.py in _compile_core(self, sig, flags, locals)
    112                                               self.py_func, args=args,
    113                                               return_type=return_type,
--> 114                                               flags=flags, locals=locals)
    115
    116                 # cache lookup failed before so safe to save

~/opt/anaconda3/lib/python3.7/site-packages/numba/compiler.py in compile_extra(typingctx, targetctx, func, args, return_type, flags, locals, library, pipeline_class)
    970     pipeline = pipeline_class(typingctx, targetctx, library,
    971                               args, return_type, flags, locals)
--> 972     return pipeline.compile_extra(func)
    973
    974

~/opt/anaconda3/lib/python3.7/site-packages/numba/compiler.py in compile_extra(self, func)
    388         self.lifted = ()
    389         self.lifted_from = None
--> 390         return self._compile_bytecode()
    391
    392     def compile_ir(self, func_ir, lifted=(), lifted_from=None):

~/opt/anaconda3/lib/python3.7/site-packages/numba/compiler.py in _compile_bytecode(self)
    901         """
    902         assert self.func_ir is None
--> 903         return self._compile_core()
    904
    905     def _compile_ir(self):

~/opt/anaconda3/lib/python3.7/site-packages/numba/compiler.py in _compile_core(self)
    888         self.define_pipelines(pm)
    889         pm.finalize()
--> 890         res = pm.run(self.status)
    891         if res is not None:
    892             # Early pipeline completion

~/opt/anaconda3/lib/python3.7/site-packages/numba/compiler_lock.py in _acquire_compile_lock(*args, **kwargs)
     30         def _acquire_compile_lock(*args, **kwargs):
     31             with self:
---> 32                 return func(*args, **kwargs)
     33         return _acquire_compile_lock
     34

~/opt/anaconda3/lib/python3.7/site-packages/numba/compiler.py in run(self, status)
    264                     # No more fallback pipelines?
    265                     if is_final_pipeline:
--> 266                         raise patched_exception
    267                     # Go to next fallback pipeline
    268                     else:

~/opt/anaconda3/lib/python3.7/site-packages/numba/compiler.py in run(self, status)
    255                 try:
    256                     event("-- %s" % stage_name)
--> 257                     stage()
    258                 except _EarlyPipelineCompletion as e:
    259                     return e.result

~/opt/anaconda3/lib/python3.7/site-packages/numba/compiler.py in stage_nopython_frontend(self)
    513                 self.args,
    514                 self.return_type,
--> 515                 self.locals)
    516             self.typemap = typemap
    517             self.return_type = return_type

~/opt/anaconda3/lib/python3.7/site-packages/numba/compiler.py in type_inference_stage(typingctx, interp, args, return_type, locals)
   1122
   1123         infer.build_constraint()
-> 1124         infer.propagate()
   1125         typemap, restype, calltypes = infer.unify()
   1126

~/opt/anaconda3/lib/python3.7/site-packages/numba/typeinfer.py in propagate(self, raise_errors)
    925         if errors:
    926             if raise_errors:
--> 927                 raise errors[0]
    928             else:
    929                 return errors

TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Invalid use of Function(<function interp at 0x1083be200>) with argument(s) of type(s): (array(float32, 1d, A), array(float32, 1d, A), array(float32, 1d, A))
 * parameterized
In definition 0:
    TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Invalid use of Function(<function np_interp_impl_inner_factory.<locals>.impl at 0x8234f3170>) with argument(s) of type(s): (array(float32, 1d, A), array(float32, 1d, A), array(float32, 1d, A), dtype(float64))
 * parameterized
In definition 0:
    TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Cannot unify array(float32, 1d, C) and array(float64, 1d, C) for 'slopes', defined at /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py (2120)

File "opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py", line 2120:
    def impl(x, xp, fp, dtype):
        <source elided>
            if lenxp <= lenx:
                slopes = (dy[1:] - dy[:-1]) / (dx[1:] - dx[:-1])
                ^

[1] During: typing of assignment at /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py (2122)

File "opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py", line 2122:
    def impl(x, xp, fp, dtype):
        <source elided>
            else:
                slopes = np.empty(0, dtype=dtype)
                ^

    raised from /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/typeinfer.py:927
In definition 1:
    TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Cannot unify array(float32, 1d, C) and array(float64, 1d, C) for 'slopes', defined at /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py (2120)

File "opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py", line 2120:
    def impl(x, xp, fp, dtype):
        <source elided>
            if lenxp <= lenx:
                slopes = (dy[1:] - dy[:-1]) / (dx[1:] - dx[:-1])
                ^

[1] During: typing of assignment at /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py (2122)

File "opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py", line 2122:
    def impl(x, xp, fp, dtype):
        <source elided>
            else:
                slopes = np.empty(0, dtype=dtype)
                ^

    raised from /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/typeinfer.py:927
This error is usually caused by passing an argument of a type that is unsupported by the named function.
[1] During: resolving callee type: Function(<function np_interp_impl_inner_factory.<locals>.impl at 0x8234f3170>)
[2] During: typing of call at /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py (2237)

File "opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py", line 2237:
        def np_interp_impl(x, xp, fp):
            return inner(x, xp, fp, dtype)
            ^

    raised from /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/typeinfer.py:927
In definition 1:
    TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Invalid use of Function(<function np_interp_impl_inner_factory.<locals>.impl at 0x8234f3170>) with argument(s) of type(s): (array(float32, 1d, A), array(float32, 1d, A), array(float32, 1d, A), dtype(float64))
 * parameterized
In definition 0:
    TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Cannot unify array(float32, 1d, C) and array(float64, 1d, C) for 'slopes', defined at /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py (2120)

File "opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py", line 2120:
    def impl(x, xp, fp, dtype):
        <source elided>
            if lenxp <= lenx:
                slopes = (dy[1:] - dy[:-1]) / (dx[1:] - dx[:-1])
                ^

[1] During: typing of assignment at /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py (2122)

File "opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py", line 2122:
    def impl(x, xp, fp, dtype):
        <source elided>
            else:
                slopes = np.empty(0, dtype=dtype)
                ^

    raised from /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/typeinfer.py:927
In definition 1:
    TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Cannot unify array(float32, 1d, C) and array(float64, 1d, C) for 'slopes', defined at /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py (2120)

File "opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py", line 2120:
    def impl(x, xp, fp, dtype):
        <source elided>
            if lenxp <= lenx:
                slopes = (dy[1:] - dy[:-1]) / (dx[1:] - dx[:-1])
                ^

[1] During: typing of assignment at /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py (2122)

File "opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py", line 2122:
    def impl(x, xp, fp, dtype):
        <source elided>
            else:
                slopes = np.empty(0, dtype=dtype)
                ^

    raised from /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/typeinfer.py:927
This error is usually caused by passing an argument of a type that is unsupported by the named function.
[1] During: resolving callee type: Function(<function np_interp_impl_inner_factory.<locals>.impl at 0x8234f3170>)
[2] During: typing of call at /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py (2237)

File "opt/anaconda3/lib/python3.7/site-packages/numba/targets/arraymath.py", line 2237:
        def np_interp_impl(x, xp, fp):
            return inner(x, xp, fp, dtype)
            ^

    raised from /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/numba/typeinfer.py:927
This error is usually caused by passing an argument of a type that is unsupported by the named function.
[1] During: resolving callee type: Function(<function interp at 0x1083be200>)
[2] During: typing of call at /Users/pitbull/opt/anaconda3/lib/python3.7/site-packages/xgcm/transform.py (31)

File "opt/anaconda3/lib/python3.7/site-packages/xgcm/transform.py", line 31:
def _interp_1d_linear(
    <source elided>

    output[:] = np.interp(target_theta_levels, theta, phi)
    ^

but I created a next environment and no idea why it's working...
But I'm still open to fixed this issue, if you are curious about it^^

but I created a next environment and no idea why it's working...

You opened a new environment and now it's working? That implies it's a problem with your local environment setup, not with xgcm. If you would like any further help we would really need to be able to reproduce your exact environment locally, and by far the easiest way to do that would be for you to use conda.

And thanks to @Marioherreroglez for recommending me to create a new environment


⚠ Fortnite has degraded performance

In 0e9ea83, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1646 ms

Resolved: Fortnite performance has improved in e34a142.


rpc: add SamplePeerMetadata call

A small one, just one RPC :)
This is somewhat a unification of ipfs swarm peers and ipfs id. We used to do this with a shell script using parallel, feeding a peer list from ipfs swarm peers back into ipfs id. That was kinda slow. Now we can do it in one RPC call, and it's very fast :)
This should not do any DHT lookups or the like, only things from memory.

I think if you want me to review this I will need time to look into IPFS and Go :D That will probably take some time.


Web-based NFT management (publishing tools)

Going to close this as it will likely involve a different initiative & repo.


Disable @everyone tag

hey,
I have the bridge between slack and discord. On Discord the @everyone tag is disabled which prevents the notification on discord but the bridge does deliver this message to slack which causes to notify everyone on slack.
Is there currently any way to prevent this?

You can use IgnoreMessages
Specify IgnoreMessages="@everyone" on the sending bridge

Thanks, wasn't aware of that option. There is no way to regex replace that instead of ignoring the message right?

At the moment not, you could open a feature request for regex replacing messages though :)

I guess this https://github.com/42wim/matterbridge/issues/269 already covers it or do you want a separate one?

oh indeed, sorry :)


Channel cleanup broken

Currently PubSub_ChannelDisconnected is emitted before the channel is disconnected.
GFX channel cleanup is broken because of that, the GFX context is invalidated, then the channel is disconnected and resources cleaned up (which fails because of an invalid context)

Fix in #4079


Is it possible to render as html?

Yes, you can render inside jupyter by using dashboard.serve_dashboard_from_local_server(mode='jupyter').
You can also save the dashboard using dashboard.save_dashboard(zip_dashboard=False) then you have two options:

Navigate to the location of the dashboard and open index.html then upload the report_data.json file.
Navigate to the location of the dashboard and make sure you activated the python environment which has olliepy installed then use start_dashboard.bat or start_dashboard.sh which will run a flask server then serve you the dashboard.


Added chapter with initial examples

Issue #25
Also I removed sf from list ffcode parameters, because some characters didn't work with it (> and \).

@yegor256 @mximp, please, take a look

@c71n93 try to use the \usepackage{to-be-determined} and then format all TODO markers as \tbd{...}. This way, we will see them in the rendered PDF. Also, make them more descriptive. They are too short and vague now.

@c71n93 try to use the \usepackage{to-be-determined} and then format all TODO markers as \tbd{...}. This way, we will see them in the rendered PDF. Also, make them more descriptive. They are too short and vague now.

@yegor256 Is 0pdd integrated somehow with tbd snippets?

@mximp nope. If you want PDD to work, do this:
\tbd{
TODO 28 Add more text here, to explain
 the idea of this and that.
}

@yegor256 done

@c71n93 remove the % symbol. We want todo markers to be visible in the document, rendered in yellow color.

@yegor256 there is some problem with removing the % symbol. This example:
\tbd{
TODO: #28 Add more text here, to explain
 the idea of this and that.
}

leads to an error while compiling latex. Because the # character must be escaped with \. And this example:
\tbd{
TODO: \#28 Add more text here, to explain
 the idea of this and that.
}

leads to an error with pdd: TODO found, but puzzle can't be parsed, most probably because TODO is not followed by a puzzle marker. I don't know how to solve this better.

@yegor256 I can't do as you suggest, because it leads to an error with pdd too:

Format of TODO must be as described here. So it brings us to this. My version of pdd is 0.23.1

@c71n93 try this:
\tbd{\catcode`\#=12\relax
TODO: #28 Add more text here, to explain
 the idea of this and that.
}

@yegor256, thank you. I changed a little bit this example:
\catcode`\#=12\relax
\tbd{
TODO: #28 Add more text here, to explain
 the idea of this and that.
}

and it worked.

@c71n93 you change the \catcode for the hash symbol in the entire document. This means that it's impossible to make comments anymore. Is it what we want?

@yegor256 but I understood the problem. I found another solution:
\usepackage{fancyvrb,cprotect}
\cprotect\tbd{\verb
	TODO: #11 make an up-to-date version of the syntax
}

It works, but only without highlighting.

@rultor merge

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 1min)


feat(query): Return an error if no parser found

In cases where there are no treesitter parsers installed for the
current buffer, we can't do anything. This could happen in cases
where the user hasn't installed treesitter parser for the
specific language.
This should improve the user experience by telling them what to fix.
Issue #216

@zemzale Sorry looks like there was an issue with tests (and minor formatting issue here). If you use the make fmt command it should resolve the formatting issue. Merging master should fix the tests.

I rebased and formated the code. Should be good to go now.


fix source bug

Reference Issues / PRs
closes #3
What does this implement/fix?
fixes source is showing undefined bug

Any other comments?
No

Hey, @Achal-00 nice work, but can you make link like this
Source: https://americanliterature.com/author/stephen-leacock/short-story/the-new-food
The text should be a link and the link text should be same as the link href

Hey @iamBijoyKar, I have implemented the requested functionality.

Nice work @Achal-00 👍, looking forward to your next PR 😄


vcpkg_install_msbuild PLATFORM incorrect default parameter

Default parameter of vcpkg_install_msbuild PLATFORM is not ${TRIPLET_SYSTEM_ARCH}.
https://github.com/microsoft/vcpkg/blob/266e4910c6c6a2fe1b20a1bdb5cec4e16f190f01/scripts/cmake/vcpkg_install_msbuild.cmake#L23

Could you please describe your problem in detail, such as which port you encountered unexpected results when installing, and what are your expected results?
If it is not the problem encountered during installation, what do you think is the problem with the script content and what are the expected results?

mytestlib_2.zip

Default parameter of vcpkg_install_msbuild PLATFORM is not ${TRIPLET_SYSTEM_ARCH}.

That's because the default for what Visual Studio stamps into vcxprojes on creation is Win32. See the survey of existing ports I did in my reply to Cheney-W's PR here: https://github.com/microsoft/vcpkg/pull/28119#issuecomment-1336270264

Default parameter of vcpkg_install_msbuild PLATFORM is not ${TRIPLET_SYSTEM_ARCH}.

That's because the default for what Visual Studio stamps into vcxprojes on creation is Win32. See the survey of existing ports I did in my reply to Cheney-W's PR here: #28119 (comment)

See the document.

See the document.

PR out to fix the doc to match reality https://github.com/microsoft/vcpkg/pull/28189

Fixed by https://github.com/microsoft/vcpkg-docs/pull/21.


fix(repos): autoware_common to sync lanlet2

Description

Because of the update of lanelet2, humble autoware_common  build fails.
To take in the below hotfixes, update the autoware_common hash to awsim-stable,

https://github.com/autowarefoundation/autoware_common/pull/183
https://github.com/autowarefoundation/autoware_common/pull/184

TIER IV internal link
Tests performed

success build locally
Effects on system behavior

Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

This fix will have to wait a bit.

The awsim stable branch is a branch that may be modified and that I personally would like to delete in the future.
Therefore, I think it's worth discussing whether to specify the awsim stable branch or not.

@yukkysaito
Yes this branch is to invite people to awf:autoware who has engaged in project (currently we do this as volunteer) if this branch is deleted then  we have less tasks. As for the project we don't have any purpose to increase autoware user so It's fine to delete this branch or decide me to maintain for this branch as AWF member.


Update description and transcript fields to support HTML

This is the change to description and transcript fields based on:
https://github.com/ndlib/honeycomb/pull/95 HONEYCOMB: Add redector to item description and transcript fields #95

:+1:


Unit Tests for hasValidFilletSelection

Unit Tests for hasValidFilletSelection
Description:
This PR adds unit tests for the hasValidFilletSelection function to ensure comprehensive test coverage.
issue: #3051
Test Cases:
1. No Bodies in the Scene:

[x] The state should be false regardless of the selection.

2. Bodies Present in the Scene:

[x] The state should be true when nothing is selected.
[x] The state should be true when a segment is selected.
[x] The state should be false when something other than a segment is selected.

Closes #3051

Engine disconnect & reconnect in sketch mode is known issue.


Update readme for projects

Closes #211

@vsmalladi: Perhaps you wanna add a PR description and/or add a description to #211


Volume conversion fails from units like Tablespoons(US), Teaspoons(UK) -  Possible issue from 1.0.6

The conversion will not automatically compute, nor upon confirmation of the entry and selection via the bottom [Enter] button.
Congratulations on a beautiful gimmick.
Further irony, the results field (the second measurement field) oddly seems to request manual insertion of the answer — as the cursor continues to bat it it's eye in hopes for an entry.

Hello @Andoriax, yes volume conversion does fail while converting to or from units like teaspoons and tablespoons since 1.0.6 after I fixed another issue regarding cups, quarts, etc and I did not get the time to review all the units of every section at that time.

Further irony, the results field (the second measurement field) oddly seems to request manual insertion of the answer — as the cursor continues to bat it it's eye in hopes for an entry.

First thing, you can convert to and from either of those fields and that means it accepts an input. It does not request or force you to write the answer or so, that's your choice. When it fails, ofcourse it won't show any result or would be wrong.
Well, thanks for the report. I will be working on it when I get time and by the way the next time you create an issue, please provide an accurate title and description with some deceny.

You're on it!
My apologies, and will do!

Fixed as of #53


Deprecate gems and update Envfiles

Deprecates older versions of gems and instrumented gems with low customer adoption.
Raises the lowest tested version for some gems.
Adds TODOs to remove code in major version 9.0.0

Created from #1104
Closes #1100

FYI - Changelog entry is on a different PR: https://github.com/newrelic/newrelic-ruby-agent/pull/1116/commits/c28f409b946a748e33c85ca594396620a9ff8446 (I wanted to avoid another CI run)


Add Yande.re search

Hey, thanks for another pr!
If they do have an api, since i see you're using .xml, maybe use it normally instead of regex. and if you could check if there is 2 tag limit on this one too for sure. If tag limit is greater than 2, then use one for Order:random, and get only first post - much less expensive. 1000 is too much. Also add it to ~hentaibomb.

Doing it now and looking further into it, I found that it's pretty much the same as danbooru. I don't use these sites lol. Going to be pushing commits soon.

Removed safeyandere due to request.

ty 👌


No custom field sets for folder type categories?

PHP Version
7.4
Shopware Version
<IP_ADDRESS>
Expected behaviour
Allow editing of custom field sets also on folder types - or at least at a setting to allow it.
I want to use custom fields to add additional information on footer navigation top categories (and maybe sub-categories). As those are not really pages that are usable, it makes more sense to set them as type folder.
However, custom fields are currently not shown, if the category is of type folder.
Seems like an unnecessary arbitrary limitation as even links show the custom fields.
Actual behaviour
Custom field sets are not shown for categories of type folder.
How to reproduce

Add custom fields to category entity
Open a category
Change type to folder
Now custom field sets are hidden.

confirmed

Hello,
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know.
Thank you again for your valuable feedback.


Pass CWD when instrumented through babel-jest

Summary
The babel-jest package can sometimes be used to transpile and instrument
at the same time. Only jest-runtime was passing CWD properly to
istanbul. This pull mirrors this behavior in babel-jest as well now.
Test plan
After this change, any usage of istanbul that I can see is properly passed a 'cwd' variable equal to the config.rootDir option. No tests or APIs should be impacted by this.

Current coverage is 88.57% (diff: 100%)

Merging #2165 into master will not change coverage

@@             master      #2165   diff @@
==========================================
  Files            39         39
  Lines          1409       1409
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           1248       1248
  Misses          161        161
  Partials          0          0

Powered by Codecov. Last update fd9be0a...1464b82

thank you for your PR! This will be in the next Jest release this week.


using connect as a decorator happenning a error!

×
You must pass a component to the function returned by connect. Instead received {"kind":"class","elements":[{"kind":"method","key":"render","placement":"prototype","descriptor":{"writable":true,"configurable":true,"enumerable":false}}]}
▶ 5 stack frames were collapsed.
Module../src/pages/login/Login.jsx
C:/Users/leese/Desktop/xiaoyuanwang/src/pages/login/Login.jsx:12
   9 | const mapDispatchToProps = {};
  10 |
  11 | @connect(mapStateToProps, mapDispatchToProps)
> 12 | class Login extends React.Component {
  13 |     render() {
  14 |         console.log(this.props)
  15 |         return (

I had same issue as OP. The problem was that babel wasn't configured properly to process react components or babel config file has wrong name (i.e .babelrc instead of babel.config.json)


send button msg

No description provided.

TemplateButton is what you are looking for probably. If you need an example tell me.

Has anybody an example for sending messages with buttons?

Has anybody an example for sending messages with buttons?

Just saw this, check the README


ObjectBuilder doSave() function bug

I think there is a bug in the file
src/Propel/Generator/Builder/Om/ObjectBuilder.php
line: 5780
        if ($reloadOnInsert || $reloadOnUpdate) {             $script .= "             if (\$reloadObject) {                 \$this->reload(\$con);             } ";
reload function has a  connection as second parameter, first is deep and in this case  inside reload connection will be null

Is someone able to make a PR here with suggested changes?


Headless rendering on OSX/Cocoa not working

Right now it gives an error version '150' is not supported because it's using the legacy version of OpenGL. Adding this:
NSOpenGLPFAOpenGLProfile as u32, NSOpenGLProfileVersion3_2Core as u32,

to https://github.com/tomaka/glutin/blob/master/src/api/cocoa/headless.rs#L39 takes it a bit further; the shaders will load and run. However I can't get it to actually render anything: the rendered image is just a blank image of whatever you put in gl::ClearColor, but no geometry shows up.
I've tried a bunch of variations for the attributes but none of them have made any difference.
I also tried switching the framebuffer code in https://github.com/tomaka/glutin/blob/master/src/api/cocoa/headless.rs#L70 to:
let mut renderbuffer: u32 = 0;
//Set up a FBO with one renderbuffer attachment
gl::GenFramebuffersEXT(1, &mut framebuffer);
gl::BindFramebufferEXT(gl::FRAMEBUFFER_EXT, framebuffer);
gl::GenRenderbuffersEXT(1, &mut renderbuffer);
gl::BindRenderbufferEXT(gl::RENDERBUFFER_EXT, renderbuffer);
gl::RenderbufferStorageEXT(gl::RENDERBUFFER_EXT, gl::RGBA8, 1024, 768);
gl::FramebufferRenderbufferEXT(gl::FRAMEBUFFER_EXT, gl::COLOR_ATTACHMENT0_EXT,
                 gl::RENDERBUFFER_EXT, renderbuffer);
let status = gl::CheckFramebufferStatusEXT(gl::FRAMEBUFFER_EXT);
if status != gl::FRAMEBUFFER_COMPLETE_EXT {
    panic!("Error while creating the framebuffer");
}

which I believe is closer to what is specified in https://developer.apple.com/library/mac/documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_offscreen/opengl_offscreen.html, but it doesn't seem to make a difference.
The way I'm reading out the data is through:
e: Vec<u8> = vec![0; 1024 * 768 * 4];
gl::ReadPixels(0, 0, 1024, 768, gl::RGBA, gl::UNSIGNED_BYTE, value.as_mut_ptr() as *mut GLvoid);
let image = RgbaImage::from_raw(1024, 768, value).unwrap();
image.save(Path::new("test.png"));

(using the piston image library).
Any suggestions and ideas appreciated, would be really cool to get this working!

I've also tried different variations of gl::ReadBuffer (though I'm pretty sure it should be gl::ReadBuffer(gl::COLOR_ATTACHMENT0);).

This article talks about how to accomplish it: http://renderingpipeline.com/2012/05/windowless-opengl-on-macos-x/
I've tried the exact attributes he's using, but they don't seem to help

Under no circumstances glutin should call OpenGL functions. That code should be changed.


Maximize window vertically/horizontally

The default behavior for the windows key bindings is to enlargen instead of replacing all windows in the given direction. For me it sounds more sensible to do replacement but if you don't agree it's fine with me. I can keep this functionality in my private separate configuration.
I copied the maximize functions from Spacemacs. Apparently, they were copied from a blog post that no longer exists.
The second commit just adds the missing register key mapping for helm.

Nice :) I have the same functions in my private config also copied from Spacemacs, and they're one of my more frequently used window commands.
I think you have the bindings swapped around though, "|" should be maximize-vertically and "_" horizontally.

On a similar note, "SPC w m" for toggling full maximization might also be a useful command to borrow from Spacemacs:
(defun doom/toggle-maximize-buffer ()
  "Toggle between maximized buffer and previous window configuration"
  (interactive)
  (save-excursion
    (if (and (= 1 (length (window-list)))
             (assoc ?_ register-alist))
        (jump-to-register ?_)
      (window-configuration-to-register ?_)
      (delete-other-windows))))

This looks great, I'm going to use it :)
The only question I have is with doom/toggle-maximize-buffer, which looks to be the same as doom/window-zoom.

I removed the helm-register commit, I'll submit in a different PR.

Looks good to me! Thanks for your help.


Vanity issue for Leon

I hereby confirm that @LeonFedotov has communicated with me over a popular instant messaging platform and in the span of a few short text messages, using his knowledge, experience, and expertise, helped to resolve an acute issue, thus proving his proficiency as a software engineer and value to the burner community.

Issue deemed closed.

pfffttt @amotenko 💃 💃 💃 💃 💃


feature/language-selector add ability to manually switch language to frontend

Description
In this PR we are adding a means to manually select the language for the frontend by:

adding a new language selector component as a drop-down menu
adding translation strings to support the menu
adding a "supported languages" enum that the frontend uses as the actual source of truth for what languages are available (context: because loading translations via i18n-http-backend doesn't allow the frontend to have inherent awareness of what translations are available, for now we include a separate means to make this information available)

Motivation and Context
This work was already near to completion in the old frontend repo, and thanks to @nielsmaerten contributing the remaining Dutch strings, we now have two translations for the frontend, so let's make them available and get this work completed.
How Has This Been Tested?
Manually tested, unit tested.
Additional context

Above, at greater-than-mobile width, the selector is displayed with a label, while on mobile it collapses to just the icon and chevron...

Types of changes

New feature (non-breaking change which adds functionality)

Checklist:

[x] I've made my changes in a separate branch
[ ] I've updated documentation, or created an issue to do so later
[x] My change is passing new and existing tests

@nielsmaerten Am I right to think that what I've done here with the new keys in the translations files is no longer how we do this?

@nielsmaerten Am I right to think that what I've done here with the new keys in the translations files is no longer how we do this?

The current approach will probably be fine. Ideally, we would move all strings into the common package, and frontend would depend on it. But I think then we need some kind of pre-build step to extract the json files and place them in the /assets folder, no?
The biggest advantage of moving all strings into 1 package would be preventing duplicate strings. But since CrowdIn already handles duplicates very well, I'd consider it a nice-to-have

Looks like the selected language is lost between page changes.
To reproduce:

You're signed out
Open the root page (/)
Set language to Dutch
Sign in, get redirected to Google, then back to the root page
When the page reappears, the language is back to English. It should still be Dutch

Other example:

On the root page (/), and signed in
Set language to Dutch
Click "Verbinden met Nightscout" (Link your Nightscout)
The settings page appears, but it's in English. It should still be Dutch

😂 yup got focused on the wip on the menu and forgot the most important part of the feature. Looking into adding cookie-based persistence now. Will re-request review once it's ready!

😂 yup got focused on the wip on the menu and forgot the most important part of the feature. Looking into adding cookie-based persistence now. Will re-request review once it's ready!

Oops, I just moved 'querystring' to the top of the detection array in i18n.ts. bc Google prefers some way of setting the language in the URL, so it can link to the proper language (for example from the Actions Directory)
Hope that won't interfere 😄

😂 yup got focused on the wip on the menu and forgot the most important part of the feature. Looking into adding cookie-based persistence now. Will re-request review once it's ready!

Oops, I just moved 'querystring' to the top of the detection array in i18n.ts. bc Google prefers some way of setting the language in the URL, so it can link to the proper language (for example from the Actions Directory)
Hope that won't interfere 😄

Ah! Okay, if query-based is preferred by google then let's do that, I'll update the selection handler to support this.

Here's a link to Google's recommendations for multi-lingual sites: https://developers.google.com/search/docs/advanced/crawling/managing-multi-regional-sites?hl=en&visit_id=637554994656937806-3704866960&rd=1#use-different-urls-for-different-language-versions
Quote from that page:

Google recommends using different URLs for each language version of a page rather than using cookies or browser settings to adjust the content language on the page.

So using the url is preferred over cookie or navigator, and more specifically https://glucocheck.app/en/settings is preferred over https://glucocheck.app/settings?lng=en

So using the url is preferred over cookie or navigator, and more specifically https://glucocheck.app/en/settings is preferred over https://glucocheck.app/settings?lng=en

Had been assuming that using url-param locales was going to a challenge better left for later, as far as integrating react-router and i18next, but as far as I can tell the implementation in the most recent commit is working just as we want and turned out to be very straightforward to implement.

Had been assuming that using url-param locales was going to a challenge better left for later, as far as integrating react-router and i18next, but as far as I can tell the implementation in the most recent commit is working just as we want and turned out to be very straightforward to implement.

If it turns out detecting the url from the path is too tricky, pulling it from the querystring is perfectly fine. But it looks like you've got i18next and react-router working together like a charm already 🥳

Found another minor issue: the label on the Sign in with Google button isn't updating when changing the language.

At root page, signed out. Default language english
Set language to Dutch
Expected: "Sign in with Google" changes to "Aanmelden met Google"
Instead: The page language changes, except the Google sign in button. The text is still "Sign in with Google"

Maybe related to: https://github.com/nielsmaerten/gluco-check/pull/116#pullrequestreview-649823082 ?
https://github.com/nielsmaerten/gluco-check/blob/f6e4000a874699fee55642d8941539cb2e18ba88/gluco-check-frontend/src/pages/Welcome.tsx#L89
It looks like this button is doing a full page refresh? It's navigation is not handled by React-Router, instead doing a GET request back to the server and reloading the whole page.
Sorry if I'm nitpicking btw 😅

Sorry if I'm nitpicking btw 😅

No not at all this is great, I was not paying close enough attention yesterday, and your feedback was very helpful. I think I've now got the url issues sorted out.
The not-updating sign-in button turns out to be more complicated...
The fullLabel in the ui config that's passed to <StyledFirebaseAuth> does not update after the initial render. Nothing I've tried has been able to get around that. The "proper" way to work around this would be, I think, to not set a label here at all and set the locale on firebaseui when the i18next languageChanged event fires, and let the library to do work. But this would require including localized versions of firebaseui, which run ~200kb each, which doesn't seem worth it for what we're trying to do here.
What seemed like the lowest-impact way to achieve this was... actually navigate with a window.location.assign when the user chooses a language. Not that much to reload, hopefully a user's not going to trigger this that often, and has the overall desired effect. Let me know if you disagree, it's what I've currently got implemented.

What seemed like the lowest-impact way to achieve this was... actually navigate with a window.location.assign when the user chooses a language. Not that much to reload, hopefully a user's not going to trigger this that often, and has the overall desired effect. Let me know if you disagree, it's what I've currently got implemented.

This seems like a good approach 👍
I agree it's not worth downloading a 200kb l10n package for an event that probably rare.
And a full page refresh will still be relatively fast thanks to browser and CDN caching

Looks like the Metrics aren't getting translated yet:

Looks like the Metrics aren't getting translated yet:

😭 the code was already there, it just wasn't being used. What's the translation for "pump reservoir"?

😭 the code was already there, it just wasn't being used. What's the translation for "pump reservoir"?

"Pomp reservoir" 😁 99% the same.
It's fine to have those translations duplicated in frontend and backend btw. CrowdIn will make sure they're only translated once.


Fix icon

Fix icon to allow the user to specify a separate icon in addition to image_file.
BTW: The default icon in bytes does not seem to render for me at least not on a fire stick. This is the default but perhaps we should remove it if it indeed displays nothing.

I have tried removing it but it won't work without setting an icon. I think that is why the original code included this icon which is nothing but just to make it work.


Dose the test reuslts on several images rather than whole videos represent the performance of video semantic segmentation methods?

Here is another problem I'm confusing.
The task of video semantic segmentation is to segment each frame of videos. But only several frames are labeled in the test set, the test performance in experiments is on several images rather than whole videos. I think it can not represent the performance of video semantic segmentation methods. Did I misunderstand something here?

It is a compromise strategy to evaluete models on sampled key frames with labels because existing datasets can not provide per-frame labels for evaluation due to their high cost. And you are correct. It is more reasonable to evaluate on each frame if per-frame labels are given. Besides, some recent works proposed to evaluate temporal consistency (TC), which can represent the consistency of segmentation results. In our paper, we provide TC scores in Table 9.

Thanks for your patience. I was wondering whether the main difference between video semantic segmentation and semi-supervised video semantic segmentation is whether training with unlabeled video.

Yes, you are correct.

Thank you very much! Some VSS methods aggregate features of neighborhood unlabeled frames to segment the current frame, so I think these methods also use unlabeled frames for training and they can be considered semi-supervised. Did I misunderstand something here?