Loading editor is very slow (≥10 seconds)

Describe the bug
Clicking an item in the list view and opening the editor is slow (≥10 seconds). Looking at the Chrome DevTools network request, I can see that around 25 requests are being sent, many of which seem to be unrelated to the current item.
Context:

I have 4 collections, with ±530, ±80, ±10 and ±10 items, respectively;
In the one collection I have three relation widgets (see below), but no relation widgets in the others three. All of them are slow, though the one with relation widgets sometimes seems a little slower (which I assume is to be expected; I'm also aware of #3810, but that seems like an issue mainly after the editor has loaded);
I'm using the use_graphql: true flag (I added this yesterday to see if it would help, but I had the same issue without it);
I am based in South Africa. I assume the long round trips to the GitHub API (which has no endpoint in Europe or Africa, as far as I could discern) compounds the issue, but it seems there is something more to this.

To Reproduce

Open Chrome DevTools
Go to collection list view
Click item title in list view
See loading taking long and watch requests in Chrome DevTools.

Expected behavior
Loading should be quick. Not sure whether there should be fewer requests, or whether this is normal?
Screenshots
Please see the GIF recording below. It's slightly cropped for privacy.

Applicable Versions:

Netlify CMS version: netlify-cms-app 2.12.12 / netlify-cms-core 2.26.0
Git provider: GitHub
OS: MacOS 10.15.4, although I've also encountered this on a colleague's Windows/Chrome setup
Browser version: Chrome 83.0.4103.97

CMS configuration
publish_mode: editorial_workflow
site_id: XXXX
site_url: XXXX
logo_url: XXXX
media_folder: "content/images"
public_folder: "/images"
backend:
  name: github
  repo: XXXX
  base_url: XXXX
  auth_endpoint: /oauth/auth
  squash_merges: true
  use_graphql: true

collections:
  - name: posts
    label: Posts
    folder: content/posts
    create: true
    media_folder: ""
    public_folder: ""
    preview_path: "/xxxxx/{{slug}}"
    editor:
      preview: false
    sortableFields: ["commit_date", "date", "title", "category"]
    fields:
      - label: Thumbnail
        name: thumbnail
        required: true
        widget: image
        hint: ""
        default: ""
        allow_multiple: false
      - label: Title
        name: title
        required: true
        widget: string
        hint: ""
        default: ""
      - label: Date
        name: date
        required: true
        widget: datetime
        hint: ""
        format: YYYY-MM-DDTHH:mm:ssZZ
        dateFormat: "DD/MM/YYYY"
        timeFormat: "HH:mm"
      - label: Category
        name: category
        required: true
        widget: select
        hint: ""
        default: ""
        options:
          [3 options]
        multiple: ""
      - label: "Scholar authors"
        name: "scholars"
        widget: "relation"
        collection: "scholars"
        searchFields: ["title"]
        valueField: "{{slug}}"
        displayFields: ["{{title}} (Class of {{cohort}})"]
        multiple: true
        required: false
      - label: "Staff authors"
        name: "staff"
        widget: "relation"
        collection: "staff"
        searchFields: ["title"]
        valueField: "{{slug}}"
        displayFields: ["{{title}}"]
        multiple: true
        required: false
      - label: "Trustee authors"
        name: "trustees"
        widget: "relation"
        collection: "trustees"
        searchFields: ["title"]
        valueField: "{{slug}}"
        displayFields: ["{{title}}"]
        multiple: true
        required: false
      - label: Body text
        name: body
        required: false
        widget: markdown
        hint: ""
        default: ""
        buttons:
          - bold
          - italic
          - link
          - heading-two
          - heading-three
          - heading-four
          - quote
          - bulleted-list
          - numbered-list
  - name: scholars
    label: Scholars
    folder: content/scholars
    create: true
    media_folder: ""
    public_folder: ""
    editor:
      preview: false
    preview_path: "/xxxx/yyyy/{{slug}}/"
    summary: "{{title}} (Class of {{cohort}})"
    sortableFields: ["commit_date", "title", "commit_author", "cohort"]
    fields:
      - label: Thumbnail
        name: thumbnail
        required: true
        widget: image
        hint: ""
        default: ""
        allow_multiple: false
      - label: Title
        name: title
        required: true
        widget: string
        hint: ""
        default: ""
      - label: Cohort
        name: cohort
        required: true
        widget: select
        hint: ""
        default: ""
        options:
          - "AAA"
          - "BBB"
          - ...about 20 options
        multiple: ""
      - label: Country
        name: country
        required: true
        widget: select
        hint: ""
        default: ""
        options:
          - "AAA"
          - "BBB"
          - ...about 50 options
        multiple: ""
      - label: Institution
        name: institution
        required: false
        widget: select
        hint: ""
        default: ""
        options:
          - "AAA"
          - "BBB"
          - ...about 20 options
        multiple: ""
      - label: Degree
        name: degree
        required: false
        widget: string
        hint: ""
        default: ""
      - label: Body text
        name: body
        required: false
        widget: markdown
        hint: ""
        default: ""
        buttons:
          - bold
          - italic
          - link
          - heading-two
          - heading-three
          - heading-four
          - quote
          - bulleted-list
          - numbered-list
  - name: staff
    label: Staff
    folder: content/staff
    create: true
    media_folder: ""
    public_folder: ""
    editor:
      preview: false
    preview_path: "/xxxx/yyyy/{{slug}}/"
    fields:
      - label: Thumbnail
        name: thumbnail
        required: true
        widget: image
        hint: ""
        default: ""
        allow_multiple: false
      - label: Title
        name: title
        required: true
        widget: string
        hint: ""
        default: ""
      - label: Position
        name: position
        required: true
        widget: string
        hint: ""
        default: ""
      - label: Order
        name: order
        required: true
        widget: number
        hint: ""
        default: ""
        valueType: int
        min: "1"
        max: "99"
        step: 1
      - label: Body text
        name: body
        required: false
        widget: markdown
        hint: ""
        default: ""
        buttons:
          - bold
          - italic
          - link
          - heading-two
          - heading-three
          - heading-four
          - quote
          - bulleted-list
          - numbered-list
  - name: trustees
    label: Trustees
    folder: content/trustees
    create: true
    media_folder: ""
    public_folder: ""
    editor:
      preview: false
    preview_path: "/xxxx/yyyyy/{{slug}}/"
    fields:
      - label: Thumbnail
        name: thumbnail
        required: true
        widget: image
        hint: ""
        default: ""
        allow_multiple: false
      - label: Title
        name: title
        required: true
        widget: string
        hint: ""
        default: ""
      - label: Order
        name: order
        required: true
        widget: number
        hint: ""
        default: ""
        valueType: int
        min: "1"
        max: "99"
        step: 1
      - label: Nominee
        name: nominee
        required: true
        widget: select
        hint: ""
        default: ""
        options:
          - "AAA"
          - "BBB"
      - label: Body text
        name: body
        required: false
        widget: markdown
        hint: ""
        default: ""
        buttons:
          - bold
          - italic
          - link
          - heading-two
          - heading-three
          - heading-four
          - quote
          - bulleted-list
          - numbered-list

Additional context

Hi @JohJonker, this might be a duplicate of https://github.com/netlify/netlify-cms/issues/3468
What do you think?

Closing as duplicate, please comment if you have any objections


GH-41738: [C++] Fix the issue that temp vector stack may be under sized

Rationale for this change
See #41738.

What changes are included in this PR?
Allocate the underlying buffer of temp stack vector using padded size.

Are these changes tested?
UT included.

Are there any user-facing changes?
None.

GitHub Issue: #41738

@felipecrv @ZhangHuiGui would you please help to take a look? Thanks.


(WIP) Add CONTRIBUTING.md and related files

Will eventually resolve #41.
Changes:

Add Contributor Covenant (CODE_OF_CONDUCT.md).
Add contribution guide (CONTRIBUTING.md).
Add style guide (STYLE_GUIDE.md).

TODO:

[ ] Needs at least one more moderator for enforcement (available by direct email and subscribed to wangscape-team@googlegroups.com). @hryniuk, are you willing to take on this role? If so, what email address would you like to use?
[ ] Link to CODE_OF_CONDUCT.md and CONTRIBUTING.md in README.md.
[ ] Mention target platforms somewhere - perhaps README.md rather than CONTRIBUTING.md?
[ ] Add clang format file.
[x] Behaviour guidelines for maintaining an inclusive community.
[x] What kinds of contributions are especially sought.
[x] Project structure.
[x] Procedure for contributing to the code, documentation, build system, and other files tracked in the repository.
[x] Procedure for submitting feature requests, bug reports, wiki changes, and other contributions not tracked in the repository.
[x] Coding style (may be split into a separate document).

~Documentation practices~ (not applicable until a doc generator is configured).

Nice, I'm going to read it in detail this weekend.
I can be a moderator (we don't have many takers :D), no problem. I'll use my current main address: lukasz.hryniuk[at]wp.pl. I can also configure clang-format - it could be a separate issue.

Great :) I'll add you to the enforcement section and invite you to the mailing list.

I think we could also provide an example code snippet, which conforms to all these guidelines, but it can be done in another MR.


Is the MTCNN model optimized for RGB or BGR image format?

Hello everyone,
I am under the assumption the MTCNN model weights were imported from the original authors' repository and were not trained from scratch. If so, then the MTCNN was trained using the Caffe framework which reads images as BGR since it uses OpenCV (evidence).
Then why is the MTCNN performing well enough when having RGB images as input instead of BGR?
EDIT:
The model should be optimized for RGB because the authors' repository uses the MATLAB imread() function which uses RGB instead of the caffe.io.load_image() function which uses BGR.

Hi
https://github.com/ipazc/mtcnn/issues/36
The following link discussion shows that it will perform better on RGB images as authors trained the model using RGB chanel in matlab. From my experience RGB deefinitely performs better especially on tilted and dark backround faces, een though BGR images work fine most of the time.

Thank you, much appreciated.


Add docs for debugging with VSCode

The ## Using the debugger section in /vscode_deno.md is empty right now.
Should demo the same thing as is described in getting_started/debugging_your_code.md, just with VSCode instead of Chrome Dev Tools.

VSCode debugging documentation linked here: https://docs.deno.com/runtime/manual/basics/debugging_your_code#vscode and available here: https://docs.deno.com/runtime/manual/references/vscode_deno#using-the-debugger.


feat(timeseries): allow timeseries to show times in GMT

Closes #1287
Summary

Adds a new prop to TimeSeriesCard that will prevent the automatic conversion to the browsers local timezone (the default) and instead allow them to show it to users in GMT

Change List (commits, features, bugs, etc)

refactor(CardPropTypes): move the TimeSeriesCard propTypes over to the TimeSeriesCard file
feat(TimeSeriesCard): add  the showTimeInGMT prop to prevent conversion of the timestamp into the local timezone when formatting
fix(TimeSeriesCard): prevent double conversion of the date
test(TimeSeriesCard.story): simplify the stories so they're more understandable from an outsider perspective

Acceptance Test (how to verify the PR)

verify in the TimeSeriesCard stories if you change the showInGMT bit it should flip the displayed timestamp to GMT

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Webhook poller panics on shutdown because channel is closed before (by Bot)

I set up Bot with webhook poller and after I call bot.Stop() my app panics because webhook tries to close stop channel, which is already closed by Bot instance. don't know if it's reasonable to even close this channel inside waitForStop channel..

I faced with same panic issue, @tucnak

Okay, thank you for the catch, I'll try to reproduce it and fix it to proper behavior.

awesome! thank you

Can confirm, I deployed my bot in Heroku and here are the logs:
2022-07-27T01:22:50.592013+00:00 app[web.1]: panic: close of closed channel 2022-07-27T01:22:50.592015+00:00 app[web.1]:  2022-07-27T01:22:50.592019+00:00 app[web.1]: goroutine 65 [running]: 2022-07-27T01:22:50.592034+00:00 app[web.1]: gopkg.in/telebot%2ev3.(*Webhook).waitForStop(...) 2022-07-27T01:22:50.592049+00:00 app[web.1]: 	/tmp/codon/tmp/cache/go-path/pkg/mod/gopkg.in/telebot.v3@v3.0.0/webhook.go:150 2022-07-27T01:22:50.592068+00:00 app[web.1]: gopkg.in/telebot%2ev3.(*Webhook).Poll.func1(0xc0001374a0?) 2022-07-27T01:22:50.592089+00:00 app[web.1]: 	/tmp/codon/tmp/cache/go-path/pkg/mod/gopkg.in/telebot.v3@v3.0.0/webhook.go:137 +0x34 2022-07-27T01:22:50.592102+00:00 app[web.1]: created by gopkg.in/telebot%2ev3.(*Webhook).Poll 2022-07-27T01:22:50.592122+00:00 app[web.1]: 	/tmp/codon/tmp/cache/go-path/pkg/mod/gopkg.in/telebot.v3@v3.0.0/webhook.go:136 +0x1d9 2022-07-27T01:22:50.737391+00:00 heroku[web.1]: Process exited with status 2

Hi!
I'm facing the same problem
Is there any updates?


ADD step copies local node_modules to the container

Hello,
On line 6 of the dockerfile (https://github.com/GoogleCloudPlatform/nodejs-docker/blob/master/runtime/Dockerfile#L6) the local app files are added to the container. In the steps before the right node_module folder has been created.
But the step on line 6 will copy your (dirty) local node_modules over the (clean) container node_modules.
This is very bad for so many reasons! ;-)
ps. i'm using managed vm's with custom runtimes; a .dockerignore file does not work.
ps2. I accidentally also posted this issue at the docker repository github page. But this is actually relevant for both. See https://github.com/dockerfile/nodejs-runtime/issues/2

I believe this is addressed.  Feel free to re-open if this is still an issue.


Hotkeys doesn't work when the focus is in iframe

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[X ] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior
When I have focus into an iframe, hotkeys stop to work

Expected behavior
Hotkeys continue to work

Minimal reproduction of the problem with instructions
Create a page with an iframe and configure 1 hotkey
take focus to the iframe
press hotkey configured
What is the motivation / use case for changing the behavior?

Environment

Angular version: 14.2.11

Browser:
- [x] Chrome (desktop) version  119.0.6045.124
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:
- Node version:
- Platform:  Windows

Others:

Nobody?


EVENT

> While	O
> attending	O
> the	O
> May	B-EVENT
> 2012	B-EVENT
> NATO	EVENT
> summit	EVENT
> meeting	EVENT

I guess for the above annotation, the rule of the "large entity match principle" is applicable. However, don't you think we are losing the "timing" of the event itself by ignoring the PERIOD "May 2012"?

Well, we're not losing it, it requires a further analysis of the sub-components of the "global" entity (which is also a NER process).
As I said in issue #32, the longest entity principle is a compromise... if we introduce too many exceptions, it becomes at the same time very complicated to justify what is an exception or not and it could make the NER parser much more complicated to train (because it has to lean all the exception instead of a systematic labeling).


Consider adding backward-compatibility to the kernel .dill files

To add Flutter flavor to https://github.com/dart-lang/sdk/issues/30188, Flutter app kernel .dill file is produced with one version of dart sdk on a workstation, consumed by another running on a device. Would it be possible to have some guarantees regarding backward compatibility for .dill files, so whatever is produced on the workstation can be consumed on the device?
Reason there are two is that:

Flutter tools running on the workstation have been using dart sdk to run pub and analyzer. This will change with adding kernel support, where .dill file will be produced when running flutter app in debug mode. That dart sdk moves slow.
Flutter engine running on the device has another dart sdk 'built-in', that is built and included into engine artifacts. Engine artifacts are downloaded from the cloud by Flutter tools separately from dart sdk(https://github.com/flutter/flutter/blob/master/bin/internal/engine.version).

So to summarize, for Flutter tools dart-sdk.version moves slower, engine.version moves fast, and if there is significant gap between them, kernel files produced on the workstation won't be loaded on the device.
@a-siva
@sigmundch

@Hixie , I remember someone mentioned a reason why Flutter tools track dart sdk at slower pace than Flutter engine, but I don't remember what it was. If there is no good reason, we might be keeping dart-sdk.version in sync with engine DEPS file reference whenever we advance engine.version.

I'm not aware of any reason. Keeping them exactly in sync would be ideal. cc @pq

I'm not sure what the rationale for the lag is; if there is one, maybe it has to do w/ staying in sync with the internal SDK?  @tvolkert might have more to say about that.
All of that being said, no skew would be awesome for all the obvious reasons! 👍

There's no inherent reason.
If we can make dart-sdk.version reference an exact SHA1 hash, then yes, we could just keep it in sync with the SDK version that's in the DEPS file of the matching engine version.
Or potentially even better, see https://github.com/flutter/flutter/issues/7437#issuecomment-311474355 -- we could build a standalone embedder in the engine against the version in our DEPS file and ship that with the engine so that we don't even have to maintain a separate dart-sdk.version file in flutter/flutter...

One potential gotcha to be aware of is that if we start using new Dart SDK APIs in flutter_tools before those APIs are available inside Google, then we'll be blocked on rolling Flutter into Google, which we need to avoid.

@a-siva since we are considering relying on kernel files backward-compatibility, I just ran a test where flutter tools runs on dart sdk 1.25.0-dev.7.0, flutter engine dart is on a83a69ff3eff845980308779cadbdb80cc03a603 (Jul 18). In this setup main.dart.dill produced by flutter tools fails to run on flutter engine:
[+1920 ms] E/flutter (27161): [ERROR:lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
[        ] E/flutter (27161): type 'int' is not a subtype of type 'StackTrace' of 'stackTrace' where
[        ] E/flutter (27161):   int is from dart:core
[        ] E/flutter (27161):   StackTrace is from dart:core
[        ] E/flutter (27161):
[        ] E/flutter (27161): #0      _setAsyncThreadStackTrace (dart:async)
[        ] E/flutter (27161): #1      SystemChrome.setApplicationSwitcherDescription (package:flutter/src/services/system_chrome.dart)
[        ] E/flutter (27161): #2      new Future.microtask.<anonymous closure> (flutter_patched_sdk/lib/async/future.dart:200:37)
[        ] E/flutter (27161): #3      _microtaskLoop (flutter_patched_sdk/lib/async/schedule_microtask.dart:41:21)
[        ] E/flutter (27161): #4      _startMicrotaskLoop (flutter_patched_sdk/lib/async/schedule_microtask.dart:50:5)
[   +4 ms] E/flutter (27161): [ERROR:lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
[        ] E/flutter (27161): Invalid argument(s)
[        ] E/flutter (27161): #0      _setAsyncThreadStackTrace (dart:async)
[        ] E/flutter (27161): #1      CachingAssetBundle._fetchString (package:flutter/src/services/asset_bundle.dart)
[        ] E/flutter (27161): #2      new Future.microtask.<anonymous closure> (flutter_patched_sdk/lib/async/future.dart:200:37)
[        ] E/flutter (27161): #3      _microtaskLoop (flutter_patched_sdk/lib/async/schedule_microtask.dart:41:21)
[        ] E/flutter (27161): #4      _startMicrotaskLoop (flutter_patched_sdk/lib/async/schedule_microtask.dart:50:5)
[        ] E/flutter (27161): [ERROR:lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
[        ] E/flutter (27161): type 'int' is not a subtype of type 'StackTrace' of 'stackTrace' where
[        ] E/flutter (27161):   int is from dart:core
[        ] E/flutter (27161):   StackTrace is from dart:core
[        ] E/flutter (27161):
[        ] E/flutter (27161): #0      _setAsyncThreadStackTrace (dart:async)
[        ] E/flutter (27161): #1      OptionalMethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart)
[        ] E/flutter (27161): #2      new Future.microtask.<anonymous closure> (flutter_patched_sdk/lib/async/future.dart:200:37)
[        ] E/flutter (27161): #3      _microtaskLoop (flutter_patched_sdk/lib/async/schedule_microtask.dart:41:21)
[        ] E/flutter (27161): #4      _startMicrotaskLoop (flutter_patched_sdk/lib/async/schedule_microtask.dart:50:5)

After @a-siva and me looked closer at the stacktrace above, it became clear the the root cause of the failures is not kernel file format per se, rather the fact that kernel file didn't have changes needed to get causal_async_stacks flag working in VM. These changes were introduced in https://codereview.chromium.org/2982943002/ and that cl didn't make it into 1.25.0-dev.7.0.

Is there any update on this?


Micronaut - Java framework for build microservices - Logo

:clipboard: Description
Micronaut - a modern, jvm-based, full-stack framework for building modular, easily testable microservice and serverless applications

:link: Data
Micronaut framework

:microphone: Motivation

Need a badge with Micronaut logo for portfolio

Thanks for reaching out, but it's not at all clear what you're asking. It sounds like you're asking for the ability to use a logo on your badge, in which case I'd point you to our docs on https://github.com/badges/shields/blob/master/doc/logos.md and https://shields.io/#styles.

Thanks for reaching out, but it's not at all clear what you're asking. It sounds like you're asking for the ability to use a logo on your badge, in which case I'd point you to our docs on https://github.com/badges/shields/blob/master/doc/logos.md and https://shields.io/#styles.

Thank you, I should use 'Custom logo' variant

Excellent, glad this is sorted then. Going to close accordingly


Fix for cubic line chart fill when charts that don't start at x-index 0 #711

Fix for issue #711
Cubic line charts that don’t start at x-index 0 don’t fill correctly
because the fill starts at index 0 (Regular line charts don’t have that
issue). To correct this the index for the fill is taken from the data
entries (similar to regular line chart fill).
Ultimately i think the renderer should be refactored to use a common
code path for filling cubic and regular line charts.

Thank you!
I'll take a look at it soon.
About the refactoring suggested - you are right, although I'm not sure how easy this would be... There are more complex issues to solve about cubic paths, like clipping them to straight lines when going below minimum axis...

I understand - yes it might be more complex than i thought. I just felt a little uneasy fixing this issue the way i did. I didn't like the smell of code duplication.


added #[derive(Hash)] to struct WatchDescriptor

I've derived the Hash trait for WatchDescriptor, so it can be added to HashMaps and used for lookup.
I ran into difficulties while implementing inotify-rs in a project that watches a large number of files. Not being able to match an inotify::Event to a file in a database is crippling for me.

I'm not a maintainer, but I'd bet you could squash all of those commits, especially since they only provide a single line of change.

I think that the type could also implement the three RawFd traits in https://doc.rust-lang.org/std/os/unix/io/index.html

commits squashed.
Instead of deriving Hash for the WatchDescriptor struct, I've made the field RawFd public. This works for me, and is much cleaner than using a struct as a HashMap key.

commits squashed.

I think you might have had some crossed wires in your rebase; the commit is now +945 −789.
Again, I'm not a maintainer so you don't need to listen to me, but were this my project I'd be very hesitant about exposing a field. The traits from the standard library would be more comfortable to me (and then you also get to participate in that abstraction).

is much cleaner than using a struct as a HashMap key.

I don't necessarily agree, but I can't speak to your particular usecase.

Yes, I screwed that rebase up pretty bad. I should brush up on git and best practices.
I understand the hesitation re: exposing a field.
I'm going to try and figure out if I can implement the traits.

I'm going to close this PR until I've arrived at a working solution that would benefit other users of inotify-rs.

Thank you @arsalan86 for the pull request, and thank you @shepmaster for the review!
I've opened an issue regarding the RawFd traits. Thanks for the suggestion!


Security Contact Needed #217

Hello,
I am a member of the GitHub Security Lab (https://securitylab.github.com).
I've attempted to reach a maintainer for this project to report a potential security issue but have been unable to verify the report was received. Please could a project maintainer contact us at<EMAIL_ADDRESS>or provide an email address so we can contact you.
Thank you,
Agustin Gianni (@agustingianni)
GitHub Security Lab

Thanks for letting me know @agustingianni,
I am assuming when you contacted a maintainer you contacted @nebrelbug who is away on a 2 yr leave. I have emailed<EMAIL_ADDRESS>to get the details about this.

Thanks for letting me know @agustingianni,
I am assuming when you contacted a maintainer you contacted @nebrelbug who is away on a 2 yr leave. I have emailed<EMAIL_ADDRESS>to get the details about this.

Thank you very much, yes I did mail @nebrelbug so instead now I will get in contact with you through that email address. Thank you again.

Thank you very much, yes I did mail @nebrelbug so instead now I will get in contact with you through that email address. Thank you again.


markerWithLabel doesn't work at all

Hello, I am using react-google-maps the last version and I am trying to Implement markerWitLabel, and I don't get any results at all, the markers don't show on the map nor I get any errors in the console. I am using exactly the same code from the example.
Maybe I am missing something? any 3d party library?

I'm getting the same thing. I see on the demo site they are importing css for the marker label so maybe I could try adding my own css somehow on the marker. I will experiment and report back. i'm not a contributor btw

I found what I was doing wrong, first I need to use some external library like v3-utility-library and pass the MarkerWithLabel function to google-maps-react, and secondly, I was using className on label content instead of class. But i have now another problem too, the labels don't render instantly,  i have to reload the map 2-3 times to see them on the map.

In my case i went for the OverlayView component instead.

Was introduced by #573 but I can't get it to work as well……

@stelro Yes that's the correct way. I sampled on my pr.
Also i'm using className too even labelContents are occur from HoCs
const ListingMarker = ({listing, onMarkerClick, selectedMarkerIds, outStanding, markerType = "listing"}) => {
  return (
    <Marker
      position={{
        lat: listing.map.coordinates.lat,
        lng: listing.map.coordinates.lon
      }}
      key={listing.id}
      defaultAnimation={2}
      markerWithLabel={window.MarkerWithLabel}
      opacity={0}
      onClick={() => onMarkerClick(listing)}
      labelContent={ReactDOMServer.renderToString(
        <MarkerPureBuilder marker={listing}
                                          markerType={markerType}
                                          outStanding={outStanding} />
      )}
      labelClass={style['map-price-container']}
      labelAnchor={new google.maps.Point(35, 27)}
    />
  );
};

Instant 50+ makers at the same time but i didn't realize any delay or reload bug.  Are you getting this in example or your project ? If it is your code base, maybe there is a flaw in your approach.

@RGFnaGFuIEd1bmF5

what about the css import they are using in the demo?
why/how is markerWithLabel being read from the window?
can you pass the google object down through props?

@jamesjsewell

Yes. Check it out here. markerWithLabel.css. markerWithLabel produce markers with raw html with this, we can make our custom markers. So css is require to styling markers.

You can use https://github.com/warent/markerwithlabel library as a package.

What do you mean? react-google-maps require global google object.

@RGFnaGFuIEd1bmF5 thank you, I am new to this library and am making use of it. your answer to 3 answers my question. In regards to 1., so is this why my label is invisible?  I am putting a Semantic Ui for react component in there instead of raw html and css

Did you use? ReactDOMServer.renderToString() to get raw html from jsx. My opinion pull my pr and play with it. It's really easy to use.

I've copied verbatim the marker you're using and have google.maps and markerwithlabel as globals and I get the error:
Uncaught TypeError: Cannot read property 'x' of undefined
    at MarkerLabel_.setAnchor (markerwithlabel.js:399)
    at MarkerLabel_.setMandatoryStyles (markerwithlabel.js:388)
    at MarkerLabel_.setStyles (markerwithlabel.js:371)
    at MarkerLabel_.draw (markerwithlabel.js:324)
    at MarkerLabel_.Cz (maps.googleapis.com/maps-api-v3/api/js/30/8/overlay.js:1)
    at Ez._.Sf.C (js:127)
    at zg.trigger (js:111)
    at zg.<anonymous> (js:51)
    at _.Ev.trigger (js:111)
    at _.Ev.<anonymous> (js:51)
    at Object.trigger (js:111)
    at _.Ev._.k.da (maps.googleapis.com/maps-api-v3/api/js/30/8/common.js:219)
    at js:127

It seems as though somehow the anchor is not properly set?
Also, the map becomes unusable, very slow to drag and not re-rendering.

I'm having the same issue of @MGHawes with markerwithlabel in window object.

@CDimonaco Wait #657 for new infrastructure.

@d46 I tried as you said in pr example for setting labelStyle in a marker. Instead of  changing the label color, it returns with an error saying
this.label.setMap is not a function at MarkerWithLabel.setMap.
Could you please help me in fixing the issue.

@Kanakala This feature does't work at all, wait for new release or put marker with label manually like i did.. So create your marker with label object and attach the map instance from the GoogleMap component, you can find it in the context... It's a little bit frustrating remember to manually setMap to null for markers you don't use anymore in the map but at least, it works.

Seriously, there is no way to set style to label ?
I just want to center the alignment and change the font and color.
Help if anyone got a result. I'm trying something like this.
            <Marker               key={id}               position={markerLocation}               icon={markerIcon}               label={markerLabel}               labelStyle={{color: '#fff'}}             />

Hi everyone,
I figured out a solution for the same. You will need to fork the library until they come up with the new infrastructure. In the lib/components/Marker.js, you'll need to add two setters for labelClass and labelAnchor inside the variable updaterMap. Here is my new function:
`var updaterMap = {
/*

@see https://github.com/printercu/google-maps-utility-library-v3-read-only/blob/master/markerwithlabel/src/markerwithlabel.js
*/
labelContent: function labelContent(instance, _labelContent) {
instance.set("labelContent", _labelContent)
},
labelClass: function labelClass(instance, _labelClass) {
instance.set("labelClass", _labelClass)
},
labelAnchor: function labelAnchor(instance, _labelAnchor) {
instance.set("labelAnchor", _labelAnchor)
},
animation: function animation(instance, _animation) {
instance.setAnimation(_animation)
},
clickable: function clickable(instance, _clickable) {
instance.setClickable(_clickable)
},
cursor: function cursor(instance, _cursor) {
instance.setCursor(_cursor)
},
draggable: function draggable(instance, _draggable) {
instance.setDraggable(_draggable)
},
icon: function icon(instance, _icon) {
instance.setIcon(_icon)
},
label: function label(instance, _label) {
instance.setLabel(_label)
},
opacity: function opacity(instance, _opacity) {
instance.setOpacity(_opacity)
},
options: function options(instance, _options) {
instance.setOptions(_options)
},
place: function place(instance, _place) {
instance.setPlace(_place)
},
position: function position(instance, _position) {
instance.setPosition(_position)
},
shape: function shape(instance, _shape) {
instance.setShape(_shape)
},
title: function title(instance, _title) {
instance.setTitle(_title)
},
visible: function visible(instance, _visible) {
instance.setVisible(_visible)
},
zIndex: function zIndex(instance, _zIndex) {
instance.setZIndex(_zIndex)
},
}`

Now, the only nuance is you'll have to pass the labelAnchor, since there's no handling of null case in markerWithLabel.js file inside the setAnchor function. Here's mine which is working perfectly fine:
<Marker     key={marker.id}     position={{ lat: marker.latitude, lng: marker.longitude }}     markerWithLabel={window.MarkerWithLabel}     labelContent={${marker.price}}     labelAnchor={new window.google.maps.Point(marker.latitude, marker.longitude)}     labelClass={'map-marker-icon'} />
Now in map-marker-icon, you would need to set the css:
.map-marker-icon {     display: block !important;     margin: 0px !important; }
I couldn't find a way to override labelStyle in the same way, so had to use !important in the css. You can change the margins according to your needs.

Released v9.0.0

So there is still not support for label style in marker ? Do you have any roadmap on when is going to be supported ?

@rahpuser could you just check the new API released in v9.0.0:
https://tomchentw.github.io/react-google-maps/#markerwithlabel

markerwithlabel's labelAnchor for me has the label at point(0,0) going to the top left of the map. Not being bound relative to the marker.


text to speech

Issue #37
i have converted text to speech in Python using the gTTS (Google Text-to-Speech) library.
pip install gTTS (install this package in terminal)
os.system("start output.mp3") plays the saved audio file directly on your system.

should i merge the changed web page design over here


4.2.1?

package.json in master lists the version as 4.2.0 yet the latest published version on NPM is 4.2.1

@mweststrate

On it, forgotten push, but don't want to merge & force push as somebody might have a living fork ;-)

Pushed (and created fresh release). Thanks for noticing.


packageRestore section of nuget.config is optional

In https://docs.microsoft.com/en-us/nuget/reference/nuget-config-file
The packageRestore section of nuget.config is optional, but the docs don't make this clear, or say what the defaults are.
Similarly most other sections besides packageSources.
People use the example file given, and produce overcomplex files, most of which isn't needed. We are currently using a simple file that looks like this:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <clear />
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
    <add key="Acme" value="https://pkgs.acme.com/nuget/v3/index.json" />
  </packageSources>
</configuration>

Which should be a better starting point.

@AnthonySteele - it is not optional. It works because some config file in the hierarchy, most likely the default ones created by a VS install, is supplying this value. NuGet reads and all config files right up to the root to determine the effective nuget.config.

Good point. Though people do tend to assume that the "Example config file" is the kind of thing that they should check into each rope.


[Flake] pubsub SubscriptionSessionTest receives extra messages after cancel?

https://github.com/googleapis/google-cloud-cpp/actions/runs/5594970777/jobs/10230389682?pr=12152#step:9:3808
[ RUN      ] SubscriptionSessionTest.SequencedCallbacks
/Users/runner/work/google-cloud-cpp/google-cloud-cpp/google/cloud/pubsub/internal/subscription_session_test.cc:469: Failure
Expected: (c) <= (kMaximumMessages), actual: 10 vs 9
/Users/runner/work/google-cloud-cpp/google-cloud-cpp/google/cloud/pubsub/internal/subscription_session_test.cc:469: Failure
Expected: (c) <= (kMaximumMessages), actual: 11 vs 9
/Users/runner/work/google-cloud-cpp/google-cloud-cpp/google/cloud/pubsub/internal/subscription_session_test.cc:469: Failure
Expected: (c) <= (kMaximumMessages), actual: 12 vs 9
/Users/runner/work/google-cloud-cpp/google-cloud-cpp/google/cloud/pubsub/internal/subscription_session_test.cc:469: Failure
Expected: (c) <= (kMaximumMessages), actual: 13 vs 9
/Users/runner/work/google-cloud-cpp/google-cloud-cpp/google/cloud/pubsub/internal/subscription_session_test.cc:469: Failure
Expected: (c) <= (kMaximumMessages), actual: 14 vs 9
/Users/runner/work/google-cloud-cpp/google-cloud-cpp/google/cloud/pubsub/internal/subscription_session_test.cc:469: Failure
Expected: (c) <= (kMaximumMessages), actual: 15 vs 9
/Users/runner/work/google-cloud-cpp/google-cloud-cpp/google/cloud/pubsub/internal/subscription_session_test.cc:469: Failure
Expected: (c) <= (kMaximumMessages), actual: 16 vs 9
/Users/runner/work/google-cloud-cpp/google-cloud-cpp/google/cloud/pubsub/internal/subscription_session_test.cc:469: Failure
Expected: (c) <= (kMaximumMessages), actual: 17 vs 9
/Users/runner/work/google-cloud-cpp/google-cloud-cpp/google/cloud/pubsub/internal/subscription_session_test.cc:469: Failure
Expected: (c) <= (kMaximumMessages), actual: 18 vs 9
/Users/runner/work/google-cloud-cpp/google-cloud-cpp/google/cloud/pubsub/internal/subscription_session_test.cc:469: Failure
Expected: (c) <= (kMaximumMessages), actual: 19 vs 9
/Users/runner/work/google-cloud-cpp/google-cloud-cpp/google/cloud/pubsub/internal/subscription_session_test.cc:469: Failure
Expected: (c) <= (kMaximumMessages), actual: 20 vs 9
[  FAILED  ] SubscriptionSessionTest.SequencedCallbacks (1828 ms)

The test should process the messages in sequence, then cancel the subscription (in band, because max concurrency == 1) when it hits 9. I think something is wrong with the concurrency.
I ran the test 5000 times on linux and did not reproduce this flake. Also, I did not see anything in the logs from the SCOPED_TRACE() nearby...

No repeats in over 90d, closing.


Installation: future proof apt repo instructions

In future debian releases, the way how you configure a third-party repository is going to change, see  https://wiki.debian.org/DebianRepository/UseThirdParty
Note: I tried this under Ubuntu Focal & Groovy and can confirm it works.
This is my first contribution to your docs, and I don't know what your policy is for changing instructions as such; and since this is a very sensitive step in the installation process, I would suggest someone confirms this works under Ubuntu 20.04 & 20.10
This is a list of the changes in this PR:

The GPG key is now converted to a binary with gpg --dearmor
The location of the ROS repository key changes to the recommended path under
/usr/share/keyrings
The sources.list entry requires a signed-by option to be set
pointing to the GPG binary key

TODO: Standard Pinning needs to be set to allow apt to understand the level of priority that should be given to the sources found on the ROS repository
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858406

For the pinning and priority it gets a priority of 500 by default when not set. I don't think that we need to adjust that for now.

@tfoote @nuclearsandwich thanks for the review, seems like we are on the same page and ready to go!

@tfoote @nuclearsandwich I accepted both of your suggestions, I suggest we squash this PR when merging, and mix all the sub-commit descriptions for reference in case we one day want to go back to look at why this change happened.
Thanks for your help, this is my first contribution to ROS in general... I feel honored 👍

@mrpollo Thanks for the attention to these details! We're glad to have your contributions.
@Mergifyio backport foxy dashing

Glad I was able to help @tfoote 🙌

This pull request has been mentioned on ROS Discourse. There might be relevant details there:
https://discourse.ros.org/t/ros-gpg-key-expiration-incident/20669/18

This pull request has been mentioned on ROS Discourse. There might be relevant details there:
https://discourse.ros.org/t/ros-gpg-key/20671/5


Implement UART type erasure

Thank you for your contribution!
We appreciate the time and effort you've put into this pull request.
To help us review it efficiently, please ensure you've gone through the following checklist:
Submission Checklist 📝

[x] I have updated existing examples or added new ones (if applicable).
[x] I have used cargo xtask fmt-packages command to ensure that all changed code is formatted correctly.
[x] My changes were added to the CHANGELOG.md in the proper section.
[x] I have added necessary changes to user code to the Migration Guide.
[x] My changes are in accordance to the esp-rs API guidelines

Extra:

[x] I have read the CONTRIBUTING.md guide and followed its instructions.

Are we fine with me disabling LTO in the test suite?

Are we fine with me disabling LTO in the test suite?

What would be the alternative?


[Bug] KubeRay tries to create ClusterRoleBinding when singleNamespaceInstall and rbacEnable are set to true

Search before asking

[X] I searched the issues and found no similar issues.

KubeRay Component
ray-operator
What happened + What you expected to happen
After https://github.com/ray-project/kuberay/pull/1106 and https://github.com/ray-project/kuberay/pull/1162 were merged, I provided the following config combination:
rbacEnable: true
crNamespacedRbacEnable: false
singleNamespaceInstall: true
watchNamespace:
- ns1
I expected KubeRay to not create cluster-scoped resources and to not create roles and rolebindings in "ns1" namespace. But I observed that KubeRay tries to create ClusterRoleBinding. Looking at the code https://github.com/ray-project/kuberay/blob/master/helm-chart/kuberay-operator/templates/rolebinding.yaml#L1-L2, it will always create a ClusterRoleBinding if rbacEnable is set to true.
Reproduction script

Create a Kind cluster
Install KubeRay operator via Helm and provide following config combination:
rbacEnable: true
crNamespacedRbacEnable: false
singleNamespaceInstall: true
watchNamespace:
- ns1
Observe that KubeRay tries to create a ClusterRoleBinding

Anything else
This problem occurs everytime. I think the logic for creating ClusterRoleBinding should be the same as that for ClusterRole: https://github.com/ray-project/kuberay/blob/master/helm-chart/kuberay-operator/templates/role.yaml#L1C1-L1C1.
Are you willing to submit a PR?

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

@kevin85421 could you, please, take a look? Thanks.


Remove Save Filter Settings button from filters menu

Description

Sometimes it is not simple to understand what this option is for https://github.com/dbeaver/dbeaver/issues/18642
This option isn't working for the resultset in SQL Editor

https://user-images.githubusercontent.com/31996417/211580939-2ffd4046-5a97-4723-bade-0003719b7457.mp4
DBeaver Version
CE 22.3.2
Operating System
win10
Database and driver
No response
Steps to reproduce
No response
Additional context
No response

Fixed


Project JavaScript Functions

trying Javascript Functions

JS todos console
JS contact console
JS function

https://github.com/thomasfebrianseiei/project-javascript-functions

https://github.com/thomasfebrianseiei/project-contacts-console


Unable to install tensorflow-riemopt using pip

I am trying to install tensorflow-riemopt using pip, but I get the following error:
Collecting tensorflow-riemopt
Using cached tensorflow-riemopt-0.1.0.tar.gz (26 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-_11t6hkx/tensorflow-riemopt_fac0a1b208494368aed81d89896d0ee5/setup.py", line 13, in
install_requires=Path("requirements.txt").read_text().splitlines(),
File "/usr/lib/python3.8/pathlib.py", line 1236, in read_text
with self.open(mode='r', encoding=encoding, errors=errors) as f:
File "/usr/lib/python3.8/pathlib.py", line 1222, in open
return io.open(self, mode, buffering, encoding, errors, newline,
File "/usr/lib/python3.8/pathlib.py", line 1078, in _opener
return self._accessor.open(self, flags, mode)
FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The installation fails. Any ideas how to fix it ? I use python 3.8 and python 3.10 and Tensorflow 2.9.

Are you installing the package from PyPi or from a local copy?

I tried to install it using pip install.

Fixed in the new release.


Feature/340 collection host input

What this PR does / why we need it:
Adds a read only input field for the host collection in Create Dataset Page
Which issue(s) this PR closes:
Closes #340
Special notes for your reviewer:
Suggestions on how to test this:
Create a new collection then navigate to the collection page.  From the collection page, select the "Add Dataset" dropdown.  On the Create Dataset page, the Host Collection input should be prefilled with the alias of the new collection.
Does this PR introduce a user interface change? If mockups are available, please link/include them here:

Is there a release notes update needed for this change?:
no
Additional documentation:
none

coverage: 97.806% (-0.02%) from 97.829%
when pulling 4bb55f5402220d919c3faad97f19fd08096a08ed on feature/340-collection-host-input
into 0046b6aff4abf4ca691deb85378c8d500ce7a560 on feature/376-add-dynamic-field-types-to-create-dataset-form.

@GermanSaracca I made the changes you suggested, thank you


Update component_info.json

Description
This PR fixes #
Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

LGTM


Cow milk bucket

*Description of issue:
Hello, any player taking the cow milk sends him a message that has to wait x seconds before being paid, except that this milk recovery system I put them only to the farmer and not to the other trades.Hello, any player taking the cow milk sends him a message that has to wait x seconds before being paid, except that this milk recovery system I put them only to the farmer and not to the other jobs
https://cdn.discordapp.com/attachments/692673447704133663/694869775918301204/unknown.png
**

Server Type (Spigot/Paperspigot/etc): paper
**Server Version (using /ver): This server is running Paper version git-Paper-146 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)
**

What version of Jobs are you using?

Jobs Reborn 4.15.7

Fixed in that commit ^


Output Fusion Reactor

I run the latest Nuclearcraft Version. (1.9d)
I have a Lithium 7 - Lithum 7 and a Tritium-Deuterium Fusion Reactor.
They are both supposed to output Neutron Capsule, but they dont. They only output Helium 4.
the bar wich shows how far the process is going fills up complet but then it stand still and no Neutron Capsule appears. (while it still outputs helium 4)
Maybe iam doing something wrong, but it looks like a bug to me.

Have you put empty capsules into the input slot about the neutron output?

no i didnt.
sorry so its not bug :/
thank you verry much :)

No problem!


Fix XML documentation compiler warnings

Description
Fixed all the following XML documentation warnings:
CS0419, CS1570, CS1572, CS1573, CS1574, CS1584, CS1658, CS1723
Missing XML comment warnings (CS1591) still need to be fixed.
Motivation and Context
Compiler warnings.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Non-functional change (xml comments/documentation/etc)

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.
[x] All new and existing tests passed.

I can see that some of those come from my work, so thank you, @StefanoRaggi !


Remove / from .git suffix for binderUrl

This PR removes the / from the .git suffix for the binderUrl. When including the / the repository is not recognized, for example by a privately hosted GitLab server.
Now the following config DOES work, while without this PR it does not:
binderOptions: {
      repoProvider: "git",
      repo: "https://gitlab.example.com/user/repo",
      ref: "e6c970126f4e819e4a3eb717a86ba9fb5237fde3",
    }

Thanks!


End to end testing for all commands

Add support for end to end testing for all commands

https://github.com/niteshbalusu11/lndboss/pull/20


Add directories to store Models and Routes

What is the change?
I have remove the blog model and the routes from app.js and place them under the correct directory, now the code is clean and ready for further development.
Related issue?
issue: #282
How was it tested?
I have tested on my pc locally on localhost, all its functionality is working fine.
Checklist:
Before you create this PR, confirm all the requirements listed below by checking the checkboxes [x]:

[x] Have you followed the Contribution Guidelines while contributing.
[x] Have you checked there aren't other open Pull Requests for the same update/change?
[x] Have you made corresponding changes to the documentation?
[x] Your submission doesn't break any existing feature.
[x] Have you tested the code before submission?

Screenshots or Video:
VIdeo

/reviewed

the changes were made as requested.

@Abhinaba006 Reviewed the code, looks good and ready to be merged. The demo video you added is restricted (I am guessing on google drive) Can you add an open link or just add the video in chat, GitHub now allows that

Yes, the permission was restricted, now it
should be visible httpss://drive.google.com/file/d/1pwA1wdbU6IVCCwtgckkgc6YO0nPUj6Qh/view?usp=drivesdk

Video

video

@Abhinaba006 After merging this PR, when I click on READ More on any post it gives error!

@Pranav016  I have a doubt as this PR changing the code structure and using still postName for post endpoints but my PR #264  still not merged that fixed postName related issue and using the old code structure. that will not create a conflict?

@Pranav016 I have a doubt as this PR changing the code structure and using still postName for post endpoints but my PR #264 still not merged that fixed postName related issue and using the old code structure. that will not create a conflict?

Yes, It can give conflicts.
I'd suggest you pull the changes and work on a new branch or work on the same branch and squash the commits.

@Pranav016 I have a doubt as this PR changing the code structure and using still postName for post endpoints but my PR #264 still not merged that fixed postName related issue and using the old code structure. that will not create a conflict?

Yes, It can give conflicts.
I'd suggest you pull the changes and work on a new branch or work on the same branch and squash the commits.

ok thanks, I pull changes and work on the same branch. I think that will update PR as well as I commit to that branch


Add Amazon Linux

The Amazon Linux documentation advises users to pull the container image with this command:
docker pull public.ecr.aws/amazonlinux/amazonlinux:latest

It also mentions pulling the image from Docker Hub, but it mentioned the ECR name first so it's probably safe to consider that the default.
https://docs.aws.amazon.com/AmazonECR/latest/userguide/amazon_linux_container_image.html
https://gallery.ecr.aws/amazonlinux/amazonlinux

LGTM
@vrothberg PTAL


Fetch google api on Android gets too long to get a response

Description:
Trying to call google places api it does have a very strange behavior on Android once the iPhone does work fine. It sometimes returns fast some times gets a very long delay. It sometimes returns fast most the time got a really strong delay which makes a bad user experience.
React Native version:
System:
    OS: macOS 10.15.2
    CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
    Memory: 323.64 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 12.12.0 - /usr/local/bin/node
    Yarn: 1.13.0 - /usr/local/bin/yarn
    npm: 6.11.3 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.1, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0
    Android SDK:
      API Levels: 16, 23, 24, 25, 26, 27, 28
      Build Tools: 23.0.1, 25.0.0, 25.0.2, 26.0.0, 26.0.1, 26.0.2, 27.0.3, 28.0.2, 28.0.3
      System Images: android-16 | Intel x86 Atom, android-16 | Google APIs Intel x86 Atom, android-22 | Google APIs Intel x86 Atom, android-23 | Google APIs Intel x86 Atom, android-24 | Google APIs Intel x86 Atom, android-25 | Google APIs Intel x86 Atom, android-26 | Google APIs Intel x86 Atom, android-27 | Google APIs Intel x86 Atom
      Android NDK: 16.0.4293906-beta1
  IDEs:
    Android Studio: 3.5 AI-191.8<IP_ADDRESS>00203
    Xcode: 11.1/11A1027 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native: 0.61.2 => 0.61.2
  npmGlobalPackages:
    create-react-native-app: 2.0.2
    react-native-cli: 2.0.1
    react-native-git-upgrade: 0.2.7
    react-native-progress-circle: 2.0.0

Steps To Reproduce
You might run the code over a wifi.
     const response = await fetch(`https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=${coords}&key=${this.GOOGLE_TOKEN}&rankby=distance&opennow=true`,{
      headers: {
        'Accept': 'application/json',
        'Content-Type': 'application/json',
      }
     })
     const json = await response.json()
     const mapped = json.results.map((data)=>{
        return data
      }))
     alert(JSON.stringify(mapped))

It works fine on 3G/4G/5G.
Expected Results
It should return as soon as possible but doesn't on wifi. Over the 3G/4G/5G does fine.
Snack, code example, screenshot, or link to a repository:
nothing here. code above is enough to reproduce

Related issues I found

https://github.com/facebook/react-native/issues/24698
there's another issue related to DNS and IPv6

Any help?

anyone?!?

Any ideia?

Any comment on it?

Does anyone have the same issue?

Anyone got same problem?

related issues I think so far

https://github.com/expo/expo/issues/2756
https://github.com/facebook/react-native/issues/24698


Switching layouts fails to load the window

When switching to a different layout the button disappears, this is related to a known issue that Unity isn't worried about fixing.
https://issuetracker.unity3d.com/issues/unity-doesnt-open-a-custom-editor-window-that-is-a-part-of-a-custom-layout

Hey. I didn't reply but definitely saw it :). As it's a known issue for Unity, it can be considered out of scope for this project and I'm therefore inclined to close this issue as it's not actionable. Do you think otherwise?

Yea that's what I found as well. Close it up!


Devs SBAT to test npm packaging

Expected Behavior
Devs SBAT to test each and every PR and ensure that it won't break any of our npm packages.
Current Behavior
npm packaging is tested post-deployment via a daily cron job on Circle CI

#1207

#1263


[xxx] Remove double back link from trainee summary

Context
Bad merge or something - the back link was refactored into a funding/navigation partial but remained in the main view too.
Changes proposed in this pull request
Remove the back link from the main view, keep it in the shared partial.
Guidance to review
On the trainee summary view:
Before:

After:

Important business

[ ] Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?
[ ] Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?

NB: Please notify the #twd_data_insights team and ask for a review if new fields are being added to analytics.yml

 Design history entry for cohort / helping users distinguish past and current trainees

 [s] Remove double back link on trainee summary page


Issues with errors

Decided to try using your framework to see how far along it was and came across a few issues:

Errors only show the error line but no stack traceback to see where the error came from, this makes finding out what's wrong significantly more difficult.

Errors only output to console and the game window closes immediately. This forces you to run the game from an already open console window, otherwise you won't be able to see what the error was, as any console window opened from running the game from a command (i.e. I normally run it from a run.bat file) also closes when the main game window closes. LÖVE shows the error on screen and doesn't close the game's window, so you can still see what's sent to the console (on top of seeing the error + stack traceback on screen). GameMaker closes the window but opens a new one that shows you the stack traceback I think.

Hope you don't mind me creating a few issues over the next few days as I try making something with your framework.

Thank you for filing this!  I should fix (1) in 0.5.
I'm thinking about how to approach (2). Do you like love2d's style here more or gamemaker's? Or something else altogether?
And filing other bugs... Please do! Any feedback at all is appreciated! (Including non-bug/API feedback/usability/etc.)

I think LÖVE's way is best, especially because it allows you to do whatever you want with the error string, like send it to your server from the client. However you should probably do what's easiest and will take less effort first, since this is a less important issue compared to the first.

Made a (temporary) fix for (1) and got an official built out: https://github.com/morew4rd/lyte2d/releases/tag/v0.5-pre.2
For now, I just copied lua interpreter's way of doing this. I'm refactoring/unprototyping that part of the code (entry point, loaders, etc.) so there'll be probably some changes there before 0.5.
Hope this helps with the rest of your exploration!

(2) is for the most part fixed. I have a "prerelease" with it here: https://github.com/morew4rd/lyte2d/releases/tag/v0.6-pre.7 Will be "officially" released with 0.6.  (Meaning getting more testing.)
The only issue that I'm aware of now is that draw_text API currently does not handle escape characters such as newlines so long error messages look weird. But probably not a very big deal for now.
It's ugly, but hopefully functional.

Closing this as fixed in 0.6 release (Fixed in 0.6 (https://github.com/morew4rd/lyte2d/releases/tag/v0.6))
There are more error classes to be added that are visible in the window, but at least for now the window doesn't close, shows most code errors on the window.
Please file another one/reopen if there are other issues around this.


Not working with HomeBridge 1.3.0 anymore

After upgrading HomeBridge to 1.3.0 the plugin is not working anymore
[22/02/2021, 10:36:52] [homebridge-wiz-lan] This plugin threw an error from the characteristic 'Model': Error: [Model] characteristic must have a length of more than 1 character otherwise HomeKit will reject this accessory. Ignoring new value.     at Characteristic.validateUserInput (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1991:38)     at Characteristic.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1457:21)     at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)     at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)     at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75     at new Promise (<anonymous>)     at Object.__awaiter (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:113:16)     at Characteristic.handleGetRequest (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/Characteristic.js:632:24)     at Characteristic.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2127:22)     at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27) See https://git.io/JtMGR for more info.

I quick suggestion might be to try the new Homebridge beta (v1.3.1-beta.5) as I think Oznu has done some work to fix how Homebridge handles some of these errors. Homebridge v1.3.x did not break my homebridge-wiz-lan but it is throwing a number of warnings.

Yes 1.3.1 is just released and throws only warnings every ~4 seconds now

Hi all,
after upgrading to 1.3.1, this plugin throws many warnings like the below:
[2/24/2021, 9:27:38 AM] [homebridge-wiz-lan] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[2/24/2021, 9:27:38 AM] [homebridge-wiz-lan] This plugin slows down Homebridge. The read handler for the characteristic 'Brightness' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
Moreover, when I hide an accessory, this still appears in the Home App.
Any help would be much appreciated.

Please try updating to the latest version 3.0.0 :)

thanks @kpsuperplane, much appreciate your response. Deleted the plugin, removed the config as well, but the warning still appears.
[2/26/2021, 2:26:40 AM] [homebridge-wiz-lan] This plugin generated a warning from the characteristic 'Brightness': characteristic was expected valid number and received NaN. See https://git.io/JtMGR for more info.
Is there anything I am missing? If there is any info I could provide to you and the community for debugging this please let me know.
Thanks in advance! :)


ERROR running force:project:create:  A name parameter is required to create a storage

Summary
During deployment process we create a new scratch org, and during scratch org creation we are getting intermittent errors -- : ERROR running force:project:create:  A name parameter is required to create a storage
We have had the same process for the past 2 years and some days scratch org creation is fine and some days we get this error randomly.
We are also always using the latest version of SFDX

We're on it.

Can you check 2 things

What's the name of the project you're trying to create?
Is there a package.json anywhere nearby that's getting hit (for example, you're trying to create a project on top of an existing one, or there might be a package.json somewhere in a directory above the one you're trying to create the project from)


Uploading Images and PDFs

Currently, when uploading documents such as images and PDFs, they do not appear on the actual documents tab in the patient's portal. This could be due to incorrect encoding, but nevertheless needs to be examined and fixed.

Image Fix:  Using form-data npm library. Using form.append(), and '...form.getHeaders()' in Axios Post headers. It uses multi-part/form-data content type. This properly encodes the image in binary for upload.
HTML shows up still.
PDFs Working!
TIFF/Storage type 13 (Lab Requests) not working. However, 13 can be converted to HTML (type 4) which works. TIFF can be converted to PDF (type 17) or PNG (type 3) and will work.


[Mobile][Inconsistency] [Date payloads from mobile and web clients are in different formats]

Date format inconsistent across different SDKs

[ ] Android
[ ] iOS
[ ] JS
[ ] UWP
[ ] WPF

This was raised by WorkDay
Added the screenshots

@shalinijoshi19

@jwoo-msft / @paulcam206 is this a dup of #3613? Where does the original issue's fix stand? thanks!

@anbah34   @adumrewal @Gunashree-R-V.
We've updated our renderer as part 2.0 update a.k.a 1.3 such that renderers's input format will respect the platform's input format. Please check if this issue is fixed after 1.3 update. Thanks

@anbah34 @adumrewal @Gunashree-R-V.
We've updated our renderer as part 2.0 update a.k.a 1.3 such that renderers's input format will respect the platform's input format. Please check if this issue is fixed after 1.3 update. Thanks

hello @anbah34 please go ahead and reactivate this issue if it still persists with our latest v1.3 artifacts.. Thanks!


Lh/extension chain tip

A rebased extension of #8583. Alters the set assumes proven block as well such that it is inclusive since it seemed weird otherwise. This means a slight change to the environment variable as well.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#8593  👈
#8583
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @LHerskind and the rest of your teammates on  Graphite


"flutter doctor" always downloads package from start no matter previous downloaded or not.

I setup flutter environment on my MacBook via "flutter doctor" under slow and unstable network . It took hours to download all packages, darwin, android, and IOS. When I re-ran "flutter doctor" after network broke, all previous downloaded packages would be downloaded again and took another a few hours. and network broke again. I was stuck in this step many times. I'm wondering is that possible to check downloaded packages before trigger new download for flutter setup?
Steps to Reproduce

Install flutter to new box.
Run flutter doctor to setup environment.
Wait for a few packages downloading and disconnect network before all packages download complete.
Run flutter doctor to setup environment again.
Existing packages were downloaded again. Wait for a few packages downloading and disconnect network before all packages download complete.
Repeat step 4 and 5. Flutter always downloads package from 1st one no matter it was downloaded previously or not.

I know the 3rd steps wasn't real but remember that I'm in slow and unstable network facility and my network broke frequently. Therefore, I used disconnect to simulate unstable network.
Logs
No log since issue was on flutter setup.
Flutter Doctor
$: flutter doctor
Downloading package sky_engine...                    22.7s
Downloading common tools...                          168.3s
Downloading darwin-x64 tools...                      730.0s
Downloading darwin-x64 tools...                      1113.7s
Downloading android-arm-profile/darwin-x64 tools...  97.8s
Downloading android-arm-release/darwin-x64 tools...  84.4s
Downloading android-x86 tools...                     474.9s
Downloading android-x64 tools...                     478.0s
Downloading android-arm tools...                     280.2s
Downloading android-arm-profile tools...             201.9s
Downloading android-arm-release tools...             169.0s
Downloading ios tools...
Download failed -- attempting retry 1 in 1 second...
Oops; flutter has exited unexpectedly.
Sending crash report to Google.
Failed to send crash report due to a network error: SocketException: OS Error: Operation timed out, errno = 60, address = clients2.google.com, port = 55793
Crash report written to /Users/user/flutter/flutter_01.log;
please let us know at https://github.com/flutter/flutter/issues.

We shouldn't be crashing, either.

Marking as current milestone since this is a first-hour issue that will affect many users.

Thanks for marking this in current milestone. More info that my network was very poor at that time. It will be better to add good retry for that. Even the worse case, network totally down and tool can't continue, I'm ok to receive friendly prompt for retry later and tool stop. But when I retry, those packages which had downloaded should be reused rather than download them again.

@vestayin  Have you solved this problem?  I had the same problem。
https://github.com/flutter/flutter/issues/29333

We shouldn't be crashing, either.

Even in >flutter run also,I first switched between channels often,it that's why?


Improve GitHub Actions for pull requests

See https://github.com/Senzing/community-roadmap/issues/71

Pull requests:

https://github.com/Senzing/dockerhub-util/pull/80


Latest langchain_community is giving an error "No MODULE PWD" while using TEXTLOADER

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.

Example Code
na
Error Message and Stack Trace (if applicable)
No response
Description
The latest version of langchain_coomunity 0.0.20 is giving an error "NO MODEUL PWD" while using TEXTLOADER()
System Info
Running on windows and using TEXTLOADER

Same happens with GenericLoader...


Added integration tests for lambda and express, closes #110.

Coverage increased (+4.7%) to 98.917% when pulling 77983d2fbac2cdd9fa0f46b70a823e8efaacafdf on dblock:integration-tests into 6aad05884922804c9e413926fef937d867666216 on matt-kruse:master.

Coverage increased (+5.05%) to 99.278% when pulling aef678d1f493930048331c08cc9dbc481976fefb on dblock:integration-tests into 6aad05884922804c9e413926fef937d867666216 on matt-kruse:master.


Vectorized variants of to_bits and from_bits

fixes #811

Add new vectorized variants to_bits_array and from_bits_array
Port the ints_to_bits and bits_to_ints functions from classical_sim to QUInt.to_bits_array and QUInt.from_bits_array

ptal! I haven't removed ints_to_bits and bits_to_ints yet, as a sanity check that the old tests pass.
I'm debugging some Fxp issue right now, after that I'll move the above tests and remove the old functions.

Implemented in #1215


Check Landsat images

Landsat images have been added to the framework as part of #91. Still to do: see if we can improve the compatibility of landsat and sentinel network centrality metrics by changing the image eq, smoothing and adaptive threshold thresholding parameters

Tests suggest that an offset of -30 is better, particularly for landsat. Have moved to this by default in #132


Feature/cameraX

Description
This PR intends to migrate the app to CameraX among other improvements to the Android platform, including:

Rewrite Android API to use CameraX instead of Camera2
Start Kotlin migration
Use pigeon instead of MethodChannel when possible on Android
Add Video capture on Android (with pause and resume)
Add ability to save GPS location in Exif for pictures

Checklist
Before creating any Pull Request, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).

[x] 📕 I read the Contributing page.
[x] 🤝 I match the actual coding style.
[x] ✅ I ran flutter analyze without any issues.

Breaking Change

[ ] 🛠 My feature contain breaking change.

This PR brings a lot of changes and must be heavily tested. There should not be breaking changes, but since the CameraX API is quite different from Camera2, there might be some differences.
iOS could not be tested as I don't have a physical iOS device.

GPS Position

Should we capture the GPS position before taking the picture (as done now)? It adds some delay to the actual image capture

ImageAnalysis

ImageAnalysis resolution is hardcoded. I'd like to give users the option to choose it, but I am not sure if this is available on iPhone. Any idea @dim-apparence ?
An example using the ImageAnalysis could be nice (decoding barcodes?)
ImageAnalysis does not rotate the picture (but since we get the orientation on the client side, it could be up to them to do it). It seemed to not be rotated on master.

Sized preview

Camera preview size seems to be stretched to the screen size. On my screen for instance, the higher camera resolution I get is 1600x1200. I asked for a resolution of 3000x3000 (and pictures taken are with this resolution). This implies that the preview I get in response is of a different aspect ratio than what I asked.
Sometimes the transition between full screen and sized preview does not work very well in the example app.

Focus

Focus on a specific point is not that hard to do with CameraX. The code to do it is included but the UX part is not done. iOS is not done neither.

Just as a small note on the current state: by default, seems like after the rework, Microphone and Location permissions are being included in the manifest and requested automatically, but I think this should be something that the developer should have control of

That's a good idea!
THank you for getting a look at this


Does toil allow return values to be PromisedJobReturnValue instances

I noticed this while reading the Docstring of Job.run
Note: We disallow return values to be PromisedJobReturnValue instances
(generated by the Job.rv() function - see below).
A check is made that will result in a runtime error if you attempt to do this.
Allowing PromisedJobReturnValue instances to be returned does not work because
the mechanism to pass the promise uses a jobStoreFileID that will be deleted once
the current job and its descendants have been completed. This is similar to
scope rules in a language like C, where returning a reference to memory allocated
on the stack within a function will produce an undefined reference.
Disallowing this also avoids nested promises (PromisedJobReturnValue
instances that contain other PromisedJobReturnValue).

I have such an instance in my pipeline so i decided to test it out on a toy example.
from __future__ import print_function
from toil.job import Job

import argparse

def f(job):
    '''
    DOCSTRING
    '''
    G = job.addChildJobFn(g)
    return G.rv()

def g(job):
    '''
    DOCSTRING
    '''
    return 'test.foo'

def i(job, work_dir):
    '''
    DOCSTRING
    '''
    pass

def test_1():
    '''
    DOCSTRING
    '''
    parser = argparse.ArgumentParser()
    parser.add_argument('-f', dest='txt', default='txt')
    Job.Runner.addToilOptions(parser)
    params = parser.parse_args()
    F = Job.wrapJobFn(f)
    I = Job.wrapJobFn(i, F.rv())
    F.addFollowOn(I)
    Job.Runner.startToil(F, params)

if __name__ == '__main__':
    test_1()

f is returning a PromisedJobReturnValue object of G and this should result in a runtime error, right?

Docstring needs to be modified as this issue has been merged (According to Hannes)

Yes, this should be fixed. I will fix. Standby.
On Fri, Oct 2, 2015 at 11:07 AM, Arjun Arkal Rao<EMAIL_ADDRESS>wrote:

Docstring needs to be modified as this issue has been merged (According to
Hannes)
—
Reply to this email directly or view it on GitHub
https://github.com/BD2KGenomics/toil/issues/450#issuecomment-145108871.
--
You received this message because you are subscribed to the Google Groups
"cgloud-jenkins" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to<EMAIL_ADDRESS>To post to this group, send email to<EMAIL_ADDRESS>To view this discussion on the web visit
https://groups.google.com/d/msgid/cgloud-jenkins/BD2KGenomics/toil/issues/450/145108871%40github.com
https://groups.google.com/d/msgid/cgloud-jenkins/BD2KGenomics/toil/issues/450/145108871%40github.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


dex example available

Is there an example of how to use oidc with dex? I see there is a dex setup in the e2e tests and authorino-examples repo, but it doesn't look like it's ever used.

@OperationalDev, we used to have a tutorial based on dex in the main repo, but it was removed. However, setting up Authorino to validate JWTs from a dex server is simple. It should be no different than with Keycloak really (at least from the perspective of writing the AuthConfig). Something like the following will do:
spec:
  identity:
  - name: dex
    oidc:
      endpoint: http://dex:5556

The Kuadrant/authorino-examples repo still includes manifests to deploy a sample dex server pre-configured with a couple static clients and one user: https://github.com/Kuadrant/authorino-examples/tree/f6bf72d122e3e7a0b1d9e29bb28e1da51e4518b1#dex
This repo also includes another app, called Talker Web. This is a webapp that implements OAuth Authorization Code flow with the dex server from above, and consumes the already known Talker API we use in pretty much all examples of Authorino.
The sample Envoy configs included in Kuadrant/authorino-examples serve the Talker Web app on requests to /web.
So, say you follow steps 1-5 of Authorino's OIDC/JWT authentication user guide, skipping the step to deploy Keycloak. You can then:

Deploy dex:

kubectl -n authorino apply -f https://raw.githubusercontent.com/Kuadrant/authorino-examples/main/dex/dex-deploy.yaml
kubectl -n authorino wait --timeout=300s --for=condition=Available deployments --all
kubectl -n authorino port-forward deployment/dex 5556:5556 &

Deploy the Talker Web app:

kubectl -n authorino apply -f https://raw.githubusercontent.com/Kuadrant/authorino-examples/main/talker-web/talker-web-deploy.yaml
echo "<IP_ADDRESS> dex" >> /etc/hosts # needed because the webapp is hardcoded to call dex on this host name

Create an AuthConfig as follows:

kubectl -n authorino apply -f -<<EOF
apiVersion: authorino.kuadrant.io/v1beta1
kind: AuthConfig
metadata:
  name: talker-api-protection
spec:
  hosts:
  - talker-api-authorino.<IP_ADDRESS>.nip.io
  identity:
  - name: dex
    oidc:
      endpoint: http://dex:5556
    credentials:
      in: cookie
      keySelector: ACCESS-TOKEN
EOF

And you should then be able to access http://talker-api-authorino.<IP_ADDRESS>.nip.io:8000/web on the web browser.
Click 'Login' and authenticate with:

Username: marta@localhost
Password: password

Thanks!


Unable to run an integration on Minikube

I created a Minikube cluster with the registry and olm addons and then follow the steps outlined below.
podman machine init --cpus 2 -m 4096
podman machine start
minikube start --driver=podman --container-runtime=containerd --addons=registry,dashboard,olm
kubectl config set-context --current --namespace=$NS
kamel install --global
kamel init Example.java # Just the default, no additions
kubectl describe integration example

No events get added to the integration and no Camel pods are added to the namespace. Versions of the clients are listed below and this is all on MacOS 12.4.
$ kamel version
Camel K Client 1.9.2

$ minikube version
minikube version: v1.26.0
commit: f4b412861bb746be73053c9f6d2895f12cf78565

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"17+", GitVersion:"v1.17.17-dispatcher", GitCommit:"a39a896b5018d0c800124a36757433c660fd0880", GitTreeState:"clean", BuildDate:"2021-01-28T22:06:27Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.1", GitCommit:"3ddd0f45aa91e2f30c70734b175631bec5b5825a", GitTreeState:"clean", BuildDate:"2022-05-24T12:18:48Z", GoVersion:"go1.18.2", Compiler:"gc", Platform:"linux/amd64"}

The registry created by Minikube works, as I can push custom images to it as described https://minikube.sigs.k8s.io/docs/handbook/registry/#docker-on-macos and create pods from the images I create.
Is there a step I'm missing? Any other steps I can take to debug what is going on?

Hi, there is one more important step left to run your integration. It is:
kamel run Example.java

Hi, there is one more important step left to run your integration. It is:
kamel run Example.java

My bad, that's a bit of a documentation fail. Yes, I ran kamel run Example.java before describe integrations. The describe command did return the object (which wouldn't have been the case if run had been omitted entirely) but never one that progressed to actually running.

@michaeljmcd Ah ok, then if you chose kamel install --global method, run the following command in your namespace before creating an integration:
kamel install --skip-operator-setup -n $NS

So, starting fresh, I get CRD installation errors.
$ export NS=example
$ minikube delete
$ kubectl create namespace $NS
$ kubectl config set-context --current --namespace=$NS
$ kamel install --global
OLM is available in the cluster
Error: cannot check CRD installation after 90 seconds
# Re-run due to the message above.
$ kamel install --global
OLM is available in the cluster
OLM resources are already available: skipping installation
Error: cannot check CRD installation after 90 seconds
$ kamel install --skip-operator-setup -n $NS
Error: cannot check CRD installation after 90 seconds
$ kubectl get pods -n $NS
No resources found in example namespace.

I'll try it again here in a bit.

OK, I think my previous error was an error installing OLM which I worked around by manually pulling the image first.
With the following sequence:
$ export NS=example
$ minikube delete
$ minikube start --driver=podman --container-runtime=containerd --addons=registry,dashboard
$ podman pull quay.io/operator-framework/olm # I got image pull errors without manually pulilng the image.
$ operator-sdk olm install
$ kubectl create namespace $NS
$ kamel install --global
$ kubectl config set-context --current --namespace=$NS
$ kamel install --skip-operator-setup -n $NS
$ kamel init Example.java
$ kamel run -n $NS Example.java

I get the following events:
$ k describe integration example
[...]
Events:
  Type     Reason                       Age                From                            Message
  ----     ------                       ----               ----                            -------
  Normal   IntegrationConditionChanged  48s                camel-k-integration-controller  Condition "IntegrationPlatformAvailable" is "False" for Integration example: example/camel-k
  Normal   IntegrationPhaseUpdated      48s                camel-k-integration-controller  Integration "example" in phase "Waiting For Platform"
  Warning  IntegrationError             48s (x3 over 48s)  camel-k-integration-controller  Cannot reconcile Integration example: error during trait customization: unable to find catalog matching version requirement: runtime=, provider=quarkus

What are the events when you see the related k describe ik and k describe ikb?

Events from k describe ik:
Events:
  Type    Reason                      Age    From                                Message
  ----    ------                      ----   ----                                -------
  Normal  IntegrationKitPhaseUpdated  2m44s  camel-k-integration-kit-controller  Integration Kit "kit-cb82mq4tgdqc73a5603g" in phase "Build Submitted"
  Normal  IntegrationKitPhaseUpdated  2m44s  camel-k-integration-kit-controller  Integration Kit "kit-cb82mq4tgdqc73a5603g" in phase "Build Running"
  Normal  IntegrationKitPhaseUpdated  63s    camel-k-integration-kit-controller  Integration Kit "kit-cb82mq4tgdqc73a5603g" in phase "Ready"

Events from k describe ikb:
Events:
  Type    Reason             Age    From                      Message
  ----    ------             ----   ----                      -------
  Normal  BuildPhaseUpdated  3m54s  camel-k-build-controller  Build "kit-cb82mq4tgdqc73a5603g" in phase "Scheduling"
  Normal  BuildPhaseUpdated  3m54s  camel-k-build-controller  Build "kit-cb82mq4tgdqc73a5603g" in phase "Pending"
  Normal  BuildPhaseUpdated  3m54s  camel-k-build-controller  Build "kit-cb82mq4tgdqc73a5603g" in phase "Running"
  Normal  BuildPhaseUpdated  2m14s  camel-k-build-controller  Build "kit-cb82mq4tgdqc73a5603g" in phase "Succeeded"

Continuing the experiment, if I run the registry:
CONTAINER ID  IMAGE                                                                                COMMAND               CREATED            STATUS                PORTS                      NAMES
2c726839ea18  docker.io/library/registry:2                                                                    /etc/docker/regis...  About an hour ago  Up About an hour ago  <IP_ADDRESS>:5001->5000/tcp   kind-registry
ae0d4e841510  docker.io/kindest/node@sha256:0866296e693efe1fed79d5e6c7af8df71fc73ae45e3679af05342239cdc5bc8e                        16 minutes ago     Up 16 minutes ago     <IP_ADDRESS>:53017->6443/tcp  kind-control-plane
```

With the registry attached to the Kind network and pull the IP:

```
$ podman inspect kind-registry -f='{{json .NetworkSettings.Networks.kind}}'

{"EndpointID":"","Gateway":"<IP_ADDRESS>","IPAddress":"<IP_ADDRESS>","IPPrefixLen":24,"IPv6Gateway":"fc00:f853:ccd:e793::1","GlobalIPv6Address":"fc00:f853:ccd:e793::4","GlobalIPv6PrefixLen":64,"MacAddress":"c2:52:5a:54:81:d2","NetworkID":"kind","DriverOpts":null,"IPAMConfig":null,"Links":null,"Aliases":["2c726839ea18"]}
```

Then install Camel-K with that address:

```
$ kamel install --olm=false -n $NS --registry <IP_ADDRESS>:5000 --organization myorg --registry-insecure true --wait
```

And run the default integration, I get a successful build:

```
k get builds
NAME                       PHASE       AGE   STARTED   DURATION          ATTEMPTS
kit-cbcq60phte5c73bqjoq0   Succeeded   12m   12m       1m30.171809865s

A successful image push:
$ curl -X GET http://localhost:5001/v2/_catalog
{"repositories":["myorg/camel-k-kit-cbcq60phte5c73bqjoq0"]}

And a failed pod initialization:
$ k describe pod example-59b4bc7758-d8d2d
....
Events:
  Type     Reason     Age                   From                         Message
  ----     ------     ----                  ----                         -------
  Normal   Scheduled  12m                   default-scheduler            Successfully assigned example/example-59b4bc7758-d8d2d to kind-control-plane
  Normal   Pulling    10m (x4 over 12m)     kubelet, kind-control-plane  Pulling image "<IP_ADDRESS>:5000/myorg/camel-k-kit-cbcq60phte5c73bqjoq0@sha256:1bd03e9065dfd97939773f15ad83e87976f05ca3cd99d577bdc236fc36600ae0"
  Warning  Failed     10m (x4 over 12m)     kubelet, kind-control-plane  Failed to pull image "<IP_ADDRESS>:5000/myorg/camel-k-kit-cbcq60phte5c73bqjoq0@sha256:1bd03e9065dfd97939773f15ad83e87976f05ca3cd99d577bdc236fc36600ae0": rpc error: code = Unknown desc = failed to pull and unpack image "<IP_ADDRESS>:5000/myorg/camel-k-kit-cbcq60phte5c73bqjoq0@sha256:1bd03e9065dfd97939773f15ad83e87976f05ca3cd99d577bdc236fc36600ae0": failed to resolve reference "<IP_ADDRESS>:5000/myorg/camel-k-kit-cbcq60phte5c73bqjoq0@sha256:1bd03e9065dfd97939773f15ad83e87976f05ca3cd99d577bdc236fc36600ae0": failed to do request: Head "https://<IP_ADDRESS>:5000/v2/myorg/camel-k-kit-cbcq60phte5c73bqjoq0/manifests/sha256:1bd03e9065dfd97939773f15ad83e87976f05ca3cd99d577bdc236fc36600ae0": http: server gave HTTP response to HTTPS client
  Warning  Failed     10m (x4 over 12m)     kubelet, kind-control-plane  Error: ErrImagePull
  Warning  Failed     10m (x6 over 12m)     kubelet, kind-control-plane  Error: ImagePullBackOff
  Normal   BackOff    2m19s (x42 over 12m)  kubelet, kind-control-plane  Back-off pulling image "<IP_ADDRESS>:5000/myorg/camel-k-kit-cbcq60phte5c73bqjoq0@sha256:1bd03e9065dfd97939773f15ad83e87976f05ca3cd99d577bdc236fc36600ae0"

The error appears to be that the insecure registry setting is being respected by the push but not the pull.

Hi,
Sorry, my bad. When you installed operator with kamel install --global you shouldn't need to run the following. My previous instruction was wrong.
kamel install --skip-operator-setup -n $NS

What happens if you do the same steps above but without kamel install --skip-operator-setup?  Does it go back to the original issue?


Add Chinese version of index page

This PR is to add Chinese version of index page so that ebpf.io can support multi-language.
It is WIP and will complete it before the end of this week.

Hi, this PR has been done as I have translated most of index.js into Chinese. Pls help review it. Thx.

:wave: @nevermosby , thanks for the submission!
Netlify seems to be having some trouble trying to render this PR:
10:38:15 PM:   Error: ./~/babel-loader/lib?{"plugins":["/opt/build/repo/~/gatsby/dist/utils/b  abel-plugin-extract-graphql.js","/opt/build/repo/~/babel-plugin-add-module-exp  orts/lib/index.js","/opt/build/repo/~/babel-plugin-transform-object-assign/lib  /index.js"],"presets":[["/opt/build/repo/~/babel-preset-env/lib/index.js",{"lo  ose":true,"uglify":true,"modules":"commonjs","targets":{"browsers":["> 1%","la  st 2 versions","IE >= 9"]},"exclude":["transform-regenerator","transform-es201  5-typeof-symbol"]}],"/opt/build/repo/~/babel-preset-stage-0/lib/index.js","/op  t/build/repo/~/babel-preset-react/lib/index.js"],"cacheDirectory":true}!./src/  pages/zh-CN/index.js
10:38:15 PM:   Module not found: Error: Cannot resolve 'file' or 'directory' ../stylesheets/i  ndex.scss in /opt/build/repo/src/pages/zh-CN
10:38:15 PM:   resolve file
10:38:15 PM:     /opt/build/repo/src/pages/stylesheets/index.scss.js doesn't exist
    /opt/build/repo/src/pages/stylesheets/index.scss.jsx doesn't exist
    /opt/build/repo/src/pages/stylesheets/index.scss doesn't exist
  resolve directory
10:38:15 PM:     /opt/build/repo/src/pages/stylesheets/index.scss doesn't exist (directory de  fault file)
    /opt/build/repo/src/pages/stylesheets/index.scss/package.json doesn't exist   (directory description file)
  [/opt/build/repo/src/pages/stylesheets/index.scss.js]
10:38:15 PM:   [/opt/build/repo/src/pages/stylesheets/index.scss.jsx]
10:38:15 PM:   [/opt/build/repo/src/pages/stylesheets/index.scss]
10:38:15 PM:    @ ./~/babel-loader/lib?{"plugins":["/opt/build/repo/~/gatsby/dist/utils/babel  -plugin-extract-graphql.js","/opt/build/repo/~/babel-plugin-add-module-exports  /lib/index.js","/opt/build/repo/~/babel-plugin-transform-object-assign/lib/ind  ex.js"],"presets":[["/opt/build/repo/~/babel-preset-env/lib/index.js",{"loose"  :true,"uglify":true,"modules":"commonjs","targets":{"browsers":["> 1%","last 2   versions","IE >= 9"]},"exclude":["transform-regenerator","transform-es2015-ty  peof-symbol"]}],"/opt/build/repo/~/babel-preset-stage-0/lib/index.js","/opt/bu  ild/repo/~/babel-preset-react/lib/index.js"],"cacheDirectory":true}!./src/page  s/zh-CN/index.js 23:0-36

I think we need to figure out why this is and resolve it first. Were you able to build & view the changes locally?

@genbit thx for remind and I have fixed the wrong code.
@joestringer thx for review and pls help review again.

Text LGTM, though I couldn't figure out how to switch locales to observe the page in-place with the netlify preview.

@joestringer I don't think we have support for locale switching yet, we need to add support for it.
There are two options:

Add manual switching only - flags that basically goes to different pages
Add automatic locale detection based on IP and redirect to appropriate page. Netlify supports it - https://docs.netlify.com/routing/redirects/redirect-options/#redirect-by-country-or-language

@joestringer if you just want to look at the page: https://deploy-preview-8--ebpfio.netlify.app/zh-CN/

@genbit do you want @nevermosby to take a crack at adding that support before merging this PR or are you happy to merge this as-is then someone can add locale switching afterwards?

@joestringer I'm ok with both as long as we track and have that someone to do redirect switching. If we close PR, we might just forget about it.

The Chinese translation is now merged via #96, and live on the website (see language selector at the top). Thanks a lot @nevermosby!


Binarized p3ds + VSM gloves and A2 PMC uniform

did you convert spaces to tabs in the config.cpp? because the whole file show as changed, it's impossible to read what changed


[release-1.14] prow: update default image to 1.24.0 and fix remote-secret creation

Manual cherrypick required.
#38885 failed to apply on top of branch "release-1.14":
Applying: prow: update default image to 1.24.0
Applying: wait for token data to be available
Using index info to reconstruct a base tree...
M	istioctl/pkg/multicluster/remote_secret.go
Falling back to patching base and 3-way merge...
Auto-merging istioctl/pkg/multicluster/remote_secret.go
CONFLICT (content): Merge conflict in istioctl/pkg/multicluster/remote_secret.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0002 wait for token data to be available
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

resolved by PR #39003


Eigen vector gmm module

Oops, sorry.   I hit "ready for review".   Trying to revert.

LMK when you're ready for the big review.   Diffs are very large now, so it will be valuable to summarize the changes at a high level.

Oops, sorry. I hit "ready for review". Trying to revert.
No problem, I'm almost done with this small PR.

-Implemented manualEigenVectorGmm module
-Added tests
-Finally moved gmm_eigen.h to shared

Closing PR due to obsolescence


Some improvements

Hello @anmcgrath !
Please take a look at this PR. Welcome to code review and feedback.

Added two new editors (textarea and typed enum)
Sheet object passed to renderer for more complex scenarios in custom renders
Data object is upped to IReadOnlyCell for the same purpose
fix errors when copy data with multiline and tabbed text
Added TextAlign property to Format object
Keyboard handling improved to handle not only English keyboard layout
F2 key begins edit like Excel
some simple refactoring
Examples are enriched
Fix null refrence exception while render unbounded cells
Added SetCellReadOnly method
Fix issue about render merged cells at firt render
Fix issue when mousemove event can't send message to server throw disposed dotnet object

Hi @for7raid thank you for the contributions!
I only have two comments to make from these changes:

I'm not 100% sure whether we should include an Enum editor as a default component - Maybe it can be registered in the examples in addition to the number editor example that is already there?
I think the SetCellReadOnly function should be implemented as a command so that it can be undone/redone like a lot of the other sheet functions.

Thanks again!

@anmcgrath Hi!

Why not? This is simple base component for very often cases, I do not register it as default, any developer can register it himself if needed, no need - no use :)
Ok, my bad, change it soon

thanks for reply!

done, modified to command

Thanks @for7raid . Re point 1 - fair enough, happy to leave it in.
Thanks for adding the command for setting readonly and the associated test.


Change ForeignKeyAction to enum in the generator

This changes ForeignKeyAction to be an enum instead of a string. This allows us to be more strict when processing the annotation as well as be more confident when dealing with annotations.
This is a preparation for the sqlanalyzer, to avoid matching strings when converting floor entities to moor/sqlparser tables.

I put the extension on annotations.ForeignKeyAction in the extensions folder (mainly because there is nothing else left in the file) and let value_object/foreign_key.dart re-export annotations.ForeignKeyAction for easy use in the writer.

@mqus I'll look into getting this one merged if you don't mind?

Thank you!


chore: update glog and DoubleConversion pods

This PR updates some hashes in our Podfile.lock file that resulted from running:
cd ios && bundle exec pod update glog DoubleConversion --no-repo-update

Changelog updates
Dev changes

update glug and DoubleConversion pods - iskounen

This PR contains the following changes:

Dev changes (update glug and DoubleConversion pods - iskounen)

  Generated by :no_entry_sign: dangerJS against cd828f0e5f82f857f3cb42babac1989f58d6c03c


Fixed MSVC build errors

struct stat st and int err in function cfg_searchpath() aren't usable
if HAVE_SYS_STAT_H isn't defined and they break the build with MSVC.

@Gikoskos NACK. The first hunk of the patch you'll have to redo, something along the lines of:
if (!value)
        value = "NULL";
cfg_error(cfg, "internal error in cfg_setopt(%s, %s)", opt->name, value);

Fix that and I'll merge right away. Cheers!

Will this one work?
cfg_error(cfg, "internal error in cfg_setopt(%s, %s)", opt->name, (value) ? (value) : "NULL");

@Gikoskos absolutely! :+1:

Thank you so much for contributing to libConfuse and Open Source! :smiley: :heart:


rubyPackages.bulma-clean-theme: init at 0.13.1

Description of changes
Add Ruby gem bulma-clean-theme, a Jekyll theme (even though it does not follow the naming convention of Jekyll themes starting with jekyll-theme-).
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/973