Can't find functional component

Hi there,
I found that find can't get functional component.
For instance:
import { mount } from 'vue-test-utils'
import functionalComponent from './functionalComponent'
import ParentComponent from './ParentComponent'

const wrapper = mount(ParentComponent);
wrapper.find(functionalComponent); // Can't find it

I know that functional component is instanceless, so it's understandable that wrapper can't find it directly. However, that is really hard to test. One way is use ref to mark component but that is not ease-to-use when using multiple functional components in the same time.
Any suggestions to test functional component? Otherwise, how do you think about supporting finding functional component?

so as class component

One work around is:
const wrapper = mount(ParentComponent, {
  stubs: {
    functionalComponent: '<div id="functional" />'
  }
})

expect(wrapper.find('#functional').exists()).toBe(true)

For the sake of CSS / theming, most components should have specific class names or IDs anyway, depending on your code design. The best way to do this would be as above, using find() with a relevant selector.

Thanks your opinions. It's not not elegant but acceptable. One last thing, should we add how to test functional component in doc? I can help that.

We'll add support for finding functional components.
One thing I'm wondering, since functional components don't create an instance, should we create a new Wrapper for them. This would include a vnode for the component, return true for isVueComponent, but have no vm 🤔

Is there another way do to it? That seems like a lot to do just for functional components (I suppose that's a big just, they are kind of important).
I am still learning about how vue-test-utils works internally. I suppose a new wrapper would be very simple, since it would not need a lot of the stuff existing wrappers need, since functional components cannot emit, or do other fancy things.

@eddyerburgh As long as it's well documented on the disparity between the wrappers (vm vs no vm), it should be fine. I could imagine there being some confusion otherwise.

@eddyerburgh it's awesome to have find feature on functional components.
Supposedly people would know the functional component is instanceless, so it won't has vm instance. Besides, the test of the functional component would focus on props mapping to view structure and listeners called on triggering. Hence, I think people will use attribute, hasStyle, html, trigger...API (might only using them) rather than vm instinctively.
I agree @robcresswell if it's documented, it doesn't matter creating a new Wrapper.

This is fixed in beta.9

@eddyerburgh this is still not working (since beta.9) for the Jest example, see #399

I notice that the example in #399 uses shallow with functional components that have props, might this be causing an issue that previously has not been addressed?

@dvic thanks for the info, I think the issue will be shallow

This should be reopened

@eddyerburgh reopen this please

This issue is still here in v31

@Ruudieboy are you using the find(Component) syntax? You should be able to find a functional component using either name, ref or a selector.

Yes im using wrapper.find({ name: 'aa-header' }) for example. Where aa-header is the name of the functional component.

Reopen please, still don't work with latest version! I'm trying to find v-card-text from vuetify, which is a functional component. Vue-test-utils can't find it.


test: Update test dependencies & fix warnings

Codecov Report

Merging #1491 (8f07f4b) into master (f65a8db) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1491      +/-   ##
==========================================
- Coverage   99.27%   99.24%   -0.03%
==========================================
  Files          91       91
  Lines        6871     6871
  Branches     1207     1207
==========================================
- Hits         6821     6819       -2
- Misses         26       28       +2
  Partials       24       24

Impacted Files
Coverage Δ

src/schemathesis/utils.py
97.78% <0.00%> (-0.89%)
:arrow_down:

Continue to review full report at Codecov.

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


emmet wrapsinglelines is not wrapping each line

Issue Type: Bug
For instance, if I select:
element1
element2
element3

I want to wrap each line with
I use emmet: wrap individual lines with abbreviation
But the result is that it wraps it like this:

element1
element2
element3

VS Code version: Code 1.45.1 (5763d909d5f12fe19f215cbfdd29a91c0fa9208a, 2020-05-14T08:27:35.169Z)
OS version: Windows_NT x64 10.0.18363
Extensions: none

Never mind,
I just realized I had to select each line by separate using Ctrl key, instead of selecting them in one movement with the mouse


How to compress audio streams and video streams better?

Hello Martin. I've recently planned to compress the 4K version of 《Tears of Steel》,I've programmed some commands,Can you suggest some improvements to these commands?
. \ffmpeg_vvceasy -i tearsofsteel-surround.flac -threads 32 -ac 2 -c:a libfdk_aac -profile:a aac_he_v2 -vbr 1 tos.aac

. \ffmpeg_vvceasy -i tearsofsteel-4k.y4m -threads 32 -c:v libvvenc -preset 4 -b:v 0 -qp 35 tos.vvc

mp4box -add tos.vvc -add tos.aac -new Tears_Of_Steel_4k.mp4

I searched the Internet for relevant information and found that HE-AAC V2 supports a minimum of 32Kbps dual-channel audio, so I had to switch the 5.1 channel to dual-channel and set vbr to 1
https://trac.ffmpeg.org/wiki/Encode/AAC

My girlfriend messed with my computer and I had to recompress the video.
I've changed my mind now, and changed the QP value of the video stream to 31, because the 35 effect is a bit blurry, and it might be better to change it to 31; as for the audio stream, it stays the same, and I can't really hear the difference, except when the bitrate is equal to or lower than 12kbps, when I can still hear the difference.

New question, how do I mix a VVENC video stream in MKV format? I'm trying to insert a subtitle file, which is known not to be supported by FFMPEG and MKVToolNix.

Unfortunately, the FFMPEG you modified doesn't seem to support xHE-AAC encoding, and the "EZ CD Audio Converter" you recommended is a commercial software, which I don't like.

xHE-AAC is better than HE-AAC V2

Hi, @jiangzemin-xudamin!
Sorry for my busy hard work outside my home. Anyway...
HE-AACv2 is only supported stereo channel, VBR 1-3 and minimum constant 32kbps, so you are correct. VBR will make good audio quality like you selected VBR 1.

I've programmed some commands,Can you suggest some improvements to these commands?

I can suggest commands for improvement and also changes if possible:
1st command: The afterburner is already on default to improve quality. When selecting HE-AACv2, this can save efficiency for like 5-10% percent than HE-AAC.
2nd command: You can improve using vvenc-params for special options, see the vvencffapp --fullhelp. Example:
ffmpeg_vvceasy -i test.mp4 -c:v libvvenc -qp 20 -b:v 0 -vvenc-params "CIIP=1:IntegerET" result.mp4.
3rd command: You can simply for adding +, if you wish like for it. Also you can still add subtitle for mp4box. Example:
mp4box -add tos.vvc+tos.aac+subtitle.srt -new Tears_Of_Steel_4k.mp4.

New question, how do I mix a VVENC video stream in MKV format? I'm trying to insert a subtitle file, which is known not to be supported by FFMPEG and MKVToolNix.

I might have a look later for forcing add Matroska support for RIFF C source code of my FFmpeg forked repository.

Unfortunately, the FFMPEG you modified doesn't seem to support xHE-AAC encoding, and the "EZ CD Audio Converter" you recommended is a commercial software, which I don't like.

FFmpeg doesn't have officially xHE-AAC encoding support, but MainConcept FFmpeg xHE-AAC encoder of their modified FFmpeg has available: https://github.com/MainConcept/mc-ffmpeg-omx/tree/omx_6.0_public_3.0.
To encode via Mainconcept xHE-AAC plugin via modified FFmpeg, you can try demo (for free) or you can actually pay via MainConcept website to get xHE-AAC encoder license for 79 USD dollars, otherwise it may fail.
I leave here more information for you about MainConcept xHE-AAC encoder via modified FFmpeg.
https://www.mainconcept.com/ffmpeg
https://www.mainconcept.com/hubfs/PDFs/Datasheets/FFmpeg - xHE-AAC Encoder_2021.pdf
Also EZ CD Audio Converter can encode Fraunhofer IIS Pro (proprietary library) and even Exhale USAC encoder for xHE-AAC, but it is trial period allows 21 days until you can buy the key for 39.95 EUR.
You can use alternatively Exhale xHE-AAC encoder of open source: https://gitlab.com/ecodis/exhale
Feel free to reply or/and questions to me. Thank you! :)

Martin Eesmaa

To encode via Mainconcept xHE-AAC plugin via modified FFmpeg, you can try demo (for free) or you can actually pay via MainConcept website to get xHE-AAC encoder license for 79 USD dollars, otherwise it may fail.
That's the downside of closed source coding, and I hope that someday a similar EnCodec encoding will beat xHE-AAC in compatibility.

You can use alternatively Exhale xHE-AAC encoder of open source
Hmmm ...... I have no experience compiling software

3rd command: You can simply for adding +, if you wish like for it. Also you can still add subtitle for mp4box.

I thought Matroska was the only one that supported subtitles, but I didn't realize that MP4 does too!


guideline

could you please write a quick guideline how to use this package?
I know how to handle a2l files but I don't have any experience with rust packages.
Thanks for your effort.

I'm not sure what problem you're having, so I'll just give a quick overview:
If you're using windows and just want to run a2ltool, then you can download the latest .zip file from the releases page.
It's capable of running on Linux and macOS too, but in that case you'll have to clone the source and compile it yourself.
You can follow the instructions on rust-lang.org to get the Rust compiler, and after you have that you can run cargo build --release in the cloned source directory.
The tool itself is a command line tool. Nothing happens if you simply click on a2ltool.exe.
You have to run it in a terminal and provide command line arguments to make the tool modifiy or update your files.
The README.md of this repo has some examples. and like most command line tools, you can list all the options with a2ltool --help


Improve wording of "show unencrypted signatures"

Expected behavior
In the global crypto settings, "Show unencrypted signatures" should say something more clearly explaining that it's for enabling the verification of signed-only emails. I propose the following:

Validate signed-only emails

Signatures of unencrypted emails will be displayed

Actual behavior
Steps to reproduce

View global settings > crypto

Environment
K-9 Mail version: 5.403
Android version: 8.1
Account type (IMAP, POP3, WebDAV/Exchange): N/A

I'd like not to use "validate", because nothing is "validated" in the sense that it is "made valid" in this context. I also think "signed-only" is a confusingly technical term.
How about changing the summary text (on/off) like this?:

All signatures will be displayed
Only encrypted signatures will be displayed

I'd like not to use "validate", because nothing is "validated" in the sense that it is "made valid" in this context.

That's not the only meaning of validate. From WordNet:
  2: prove valid; show or confirm the validity of something [ant:
     {invalidate}, {nullify}]

I also think "signed-only" is a confusingly technical term - "only" as opposed to what?

As opposed to signed and encrypted, which is what k9 supports by default. This toggle is specifically for showing (and validating) signatures for emails which are only signed and not encrypted.

How about changing the summary text (on/off) like this?:

I'm ok with those; they're better than what the app currently shows.

That's not the only meaning of validate

Right, but I think that isn't so obvious to someone who isn't already aware of what a signed-only mail is. And given the proposition "should I validate mails when you read them, or not?" most people who don't know what that means will likely say sure - if something can be made more valid when I read it, go for it!
Anyways, see #3276 for related changes


reconnect to same session

same as https://github.com/subugoe/metacheck/issues/211

this is a server-side feature https://shiny.rstudio.com/articles/reconnecting.html


Pb when draging item "out" of the screen.

Hi. I have a strange comportement (& so you do) when draging an element and going to the right of the page.
Just as show below, the "container" will move to the left.
Is there a way to stop the system from moving Right if he try to move further than the Screen size?

Use containment option in jqyoui-options="{containment: 'window'}.


Fix deserialization issue for RateLimitType

Cannot deserialize value of type com.binance.api.client.domain.general.RateLimitType from String "RAW_REQUESTS": not one of the values accepted for Enum class: [REQUEST_WEIGHT, ORDERS]

LGTM, did the same fix.


The Deploying private offers is out of date

The Deploying private offers section describes a Private Badge that will appear when there are search results in the general marketplace that are private neither the screen shot nor the current version of the portal shows this. The documentation needs to be updated to better explain what the experience will be like with private offers in the Marketplace.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 90d78351-7bde-2224-ae47-1c567c65a05d
Version Independent ID: cf1c0055-aca8-17e0-73ca-9b5688c25909
Content: Private offers in Microsoft commercial marketplace
Content Source: articles/marketplace/private-offers.md
Service: marketplace
Sub-service: partnercenter-marketplace-publisher
GitHub Login: @vikrambmsft
Microsoft Alias: vikramb

Hello @nastassiar
I have assigned the issue to the content author for further review and update the doc as appropriate.

#reassign:navits09 Assigning to correct owner

navits09 is not a valid GitHub ID, or is not a collaborator on this repo.

#reassign:mingshen-ms Looks like there are some issues assigning to the right owner. Can you help?

#reassign:@emuench Please work with Navit to address this feedback.


Arm64 architecture

Please add arm64 architecture
! motrix-web The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s

Built arm ver. images, you can try again


Fix spring cloud env configuration

This pr is to fix the bug in #21336 that spring cloud libraries cannot support all azure clouds. The solution is to provide another property "spring.cloud.azure.cloud-name" to allow users to specify the cloud name, and deprecate the old one "spring.cloud.azure.environment".

/azp run java - spring - tests

have you seen this one ? https://github.com/Azure/azure-sdk/pull/1550/files

Close this PR for #22369 refactors it.


2d-array GetEnumerator() not implemented

Object of type 'JSIL.MultidimensionalArray' has no implementation of I83$GetEnumerator
  static class WebProgram
  {
    static void Main(string[] args)
    {
      var SquareArray = new int[2, 2] { { 1, 2 }, { 3, 4 } };
      var SquareEnumerator = SquareArray.GetEnumerator();
      while (SquareEnumerator.MoveNext())
        Console.WriteLine(SquareEnumerator.Current);
    }
  }

I'm not sure that this test case has been fixed.  I get this error:
SCRIPT28: Out of stack space
File: JSIL.Core.js, Line: 2382, Column: 7
Unhandled exception at http://localhost:53125/Libraries/JSIL.Core.js line 2382:

@callanh , could you check that #909 fix included in your version (GetEnumerator for multidimensional arrays fixed.)?

Apologies, your work is great and my git skills are weak.
On Tue, Nov 17, 2015 at 8:52 AM, Igor Kiselev<EMAIL_ADDRESS>wrote:

@callanh https://github.com/callanh , could you check that #909
https://github.com/sq/JSIL/pull/909 fix included in your version
(GetEnumerator for multidimensional arrays fixed.)?
—
Reply to this email directly or view it on GitHub
https://github.com/sq/JSIL/issues/895#issuecomment-157223911.


Refactor to use Maybe/Either

I have calls to error everywhere, this should be refactored to use Maybe/Either as appropriate.

I haven't gotten rid of all calls to error, but the reading/writing logic works better now.


Color Black in "Your Badge"

I saw this badge in the site main list , and I found the black color great, but I could not get it with the custom url in the Your Badge section:
https://img.shields.io/badge/SUBJECT-STATUS-COLOR.svg
Is there an easy way to get it? If not, could you please add this feature :D :+1:
Thank you

The hint comes from the list of color badges at the bottom of the page. You can use hex colors as a value for COLOR. Say, https://img.shields.io/badge/SUBJECT-STATUS-000000.svg, although that might be too dark.


how to import the struct which needs ent  to generate  before ent  generate？

take a example:
// scheam/adult.go
type Person struct{
      head Head
      body Body
}

func (Adult) Fields() []ent.Field {
	return []ent.Field{
		field.JSON("person",Person{}),
	}
}

//ent/head.go  ent generated
type Head struct{
      xxxx
}

// ent/body.go ent generated
type Body struct{
      xxxx
}

the Head and Body which shoud be generated with People together
if I import the Head or Body struct,it turns out that import cycle not allowed
Is there a good way to solve it?

Hey @CooperXJ 👋
The typical approach for this is to move these structs to a different package that will be imported from both ent/schema and the generated ent package.
Closing, but please feel free to reopen or join our Discord server if you still need help or have questions about it 😎


tiflash keep reporting mismatch cluster id error

When init cluster id, should also check error in rpc response, otherwise cluster id maybe zero mistakely. Because PD will not set cluster id if go error, instead it put err msg in rpc response.Error. check here and here

/found customer

/found customer

/found customer


Relax python dependency

The python dependency is too tight right now, I couldn't get the environment to create on the mac (even with CONDA_SUBDIR):
Could not solve for environment specs
The following package could not be installed
└─ python 3.10.9*  is uninstallable because it requires
   └─ libffi >=3.4,<4.0a0 , which conflicts with any installable versions previously reported.

From the README we just need 3.8 minimum, right?
(this did work for me)

Thank you!! I agree, this was probably too strict.


Add brand new logo to the project

Following your request in the tweet:
http://twitter.com/icanhazstring/status/1179517916263456769
Here it is your brand new logo. Hope you like it!

@caneco Really nice and fitting logo.
Before using it I would probably ping @seldaek and/or @naderman for a quick feedback if they are OK with this logo as it's close to the original one.

@bcremer good point… just ping them in the tweet thread:
https://twitter.com/Caneco/status/1181529220385771521
Let's hear their feedback.

Thank you for getting in touch about this! While we think the logo is pretty funny and really appreciate your particular project/package, from a legal perspective we can't really allow you to use a variant of our trademark as a logo for products which are not under our direct control. Essentially we'd open it up to anyone to do the same and the logo would no longer convey that the authors of Composer have some control over the quality of the project, so anyone would eventually be allowed to modify the logo in whatever way they like and stick it on something else that we really do not approve of.
So I'm sorry to have to ask this, but we would appreciate if you didn't use this logo for your package. Maybe you can come up with your own Composer figure or something similar that is distinct enough not to suggest the package was created by us?

Thanks for clarification @naderman. So @caneco I think we have to come up with a new plan 👌

@naderman sorry to hear that… but it's totally understandable. Thanks for you time!
@icanhazstring I'm going think about another solution 😄

Logo updated 🤞

@caneco thanks, looks nice! :)
But can you still fix the .png file suffix which is missing in the readme?

@icanhazstring done :)

Thanks @caneco !
Merged :)


Update Set-ExternalInOutlook.md

Added wildcard support to AllowList param per email request.

Docs Build status updates of commit 7f39892:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Set-ExternalInOutlook.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


I am trying to use this loader with NX workspace for Sentry profiling node; and it fails to interpret the node files

I am integrating the profiling node plugin for sentry to a NextJS application in a nx monorepo.
I had to make one change to the code base where I removed adding webpack_public_path to the dlopen. That properly maintains the path for loading the .node file. With webpack_public_path it was adding /_.next which was wrong.
With this change, I can see dlopen being successful but the loaded ProfilingIntegration object is undefined. True for other node files as well. Any pointers I can try.

Hi, post me the link to reproducible. I'm out of ideas without seeing an example where this happens

Hi, other users reported the same issue, it starts occuring at the nextjs > 13.2.5. Try the 1.1.5-alpha.0 version, webpack_public_path is excluded by default


Add upgradesFrom and downgradesTo fields to the beta packages

Trial run with C* is already merged.

Install is fine on 1.10.


Doubled functions: LookupInstanceGroup() & GetInstanceGroup()

There are 2 functions which have the same functionality but different API:

compute.GetInstanceGroup() at instanceGroup.go
and compute.LookupInstanceGroup() at getInstanceGroup.go

The LookupInstanceGroup() has broader range with the LookupInstanceGroupArgs and is better documented. Anyway, confusing filenames.
Related: https://github.com/pulumi/docs/issues/3075

@leezen The related issue doesn't solve this here.
I think it's still a bug that the compute.GetInstanceGroup() exists. The compute.LookupInstanceGroup() should be the only function:

Concise with the renaming-schema (avoid naming collisions) and
The LookupInstanceGroup() includes all functionality of the GetInstanceGroup(), AFAICS.

I see. Sorry for the confusion and we should probably document this better. It's not a bug that both exist -- this is by design. One method returns an object of the actual resource type based on the unique identifier while the other returns a lookup result based on some set of criteria. This functionality exists across all the SDKs (as described here: https://www.pulumi.com/docs/intro/concepts/programming-model/#resource-get). The lookup functions allow one to lookup resources in potentially other ways. As an example:
aws.ec2.getInstance allows lookup via a set of filters (and not necessarily id) https://www.pulumi.com/docs/reference/pkg/aws/ec2/getinstance/#using whereas https://www.pulumi.com/docs/reference/pkg/aws/ec2/instance/#look-up is intended to get back an instance purely based on ID.


Monolist device

Request type

[x] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[ ] Correction or update

Details

All clears trip


change def of GO:0071818 BAT3 complex

GO:0071818 BAT3 complex:
-Def: A protein complex consisting of BAT3 (BAG6) and its cofactors. In mammals these cofactors are TRC35 (GET4) and UBL4A. It facilitates tail-anchored protein capture by ASNA1/TRC4 and also chaperones polypeptides from the endoplasmic reticulum retrotranslocation machinery to the proteasome, maintaining the solubility of substrates to improve ER-associated protein degradation (ERAD).
+Def: A protein complex consisting of BAT3 (BAG6) and its cofactors. In mammals these cofactors are TRC35 (GET4) and UBL4A. It facilitates tail-anchored protein capture by GET3 (ASNA1/TRC4) for targeting to endoplasmic reticulum membrane  and also chaperones polypeptides from the endoplasmic reticulum retrotranslocation machinery to the proteasome, maintaining the solubility of substrates to improve ER-associated protein degradation (ERAD).
GET3 is now the main gene symbol, see https://www.uniprot.org/uniprot/O43681

Actually, we should swap the order - plus some other changes:
+Def: mammalian complex that transfers tail-anchored (TA) proteins from SGTA to GET3 (ASNA1/TRC4) for targeting to the endoplasmic reticulum membrane. Also chaperones polypeptides from the endoplasmic reticulum retrotranslocation machinery to the proteasome, maintaining the solubility of substrates to improve ER-associated protein degradation (ERAD). Consists of BAG6 (BAT3) and its cofactors GET4 (TRC35) and UBL4A.
This is the mammalian ortholog of yeast GO:0072380 TRC complex. But it looks like the mammalian complex has additional functions in ERAD.

related to: https://github.com/geneontology/go-ontology/issues/20920


Don't keep track of old torrents

In my opinion, there's no point on knowing which infoHashes the tracker has tracked. It just makes the torrents object a huge data structure. Also makes iterating over the infoHashes more resource expensive when the stats are loaded.
It'd be better if we delete them once the last peer exists. If a new peer rejoins the swarm, it would of course recreate the swarm in the tracker. Only keeping track of active torrents.
@feross @jakefb @alxhotel

Sounds good to me.

Version 1.1.2 delete torrents.
https://github.com/DiegoRBaquero/uwt/blob/64fbe2144833d4502b0ef7eb91102c1a16128c35/index.js#L535
There's still a leak because active < all torrents as seen here: https://tracker.btorrent.xyz/stats
Once fixed, there won't be a difference between all torrents and active torrents in stats and shall be removed.

Fixed.
Swarm was being deleted when last peer closed socket. It closes when stopped event is sent to swarm and that's the last peer.
Eviction will cause to check if that's the last peer too.
Released as 1.2.0

Nice work @DiegoRBaquero 👏


refmt - use less stric behaviour towards empty-lines

Hi there!
I just started with Reason React and it's a really nice experience so far!
But one thing keeps bothering me, which is refmt's behaviour towards empty-lines.
For example, if I put a react component into a module, refmt force-removes all new-lines, so that I end up with a large, dense, hard to read code block:
module Nice = {
  type dog = string;
  type state =
    | Loading
    | Error
    | Loaded(array(dog));
  type action =
    | DogsFetch
    | DogsFetched(array(dog))
    | DogsFailedToFetch;
  module Decode = {
    let dogs = json : array(dog) =>
      Json.Decode.(
        json |> field("message", array(string)) |> Array.map(_, dog => dog)
      );
  };
  let component = ReasonReact.reducerComponent("Nice");
  let fetchDogs = () =>
    ReasonReact.UpdateWithSideEffects(
      Loading,
      self =>
        Js.Promise.(
          Fetch.fetch("https://dog.ceo/api/breeds/list")
          |> then_(Fetch.Response.json)
          |> then_(json =>
               json
               |> Decode.dogs
               |> (dogs => self.send(DogsFetched(dogs)))
               |> resolve
             )
          |> catch(_err => Js.Promise.resolve(self.send(DogsFailedToFetch)))
          |> ignore
        ),
    );
  let make = _children => {
    ...component,
    initialState: _state => Loading,
    reducer: (action, _state) =>
      switch (action) {
      | DogsFetch => fetchDogs()
      | DogsFetched(dogs) => ReasonReact.Update(Loaded(dogs))
      | DogsFailedToFetch => ReasonReact.Update(Error)
      },
    didMount: self => {
      self.send(DogsFetch);
      ReasonReact.NoUpdate;
    },
    render: self =>
      switch (self.state) {
      | Error =>

 (ReasonReact.stringToElement("An error occurred!"))

      | Loading =>
 (ReasonReact.stringToElement("Loading..."))

      | Loaded(dogs) =>

 (ReasonReact.stringToElement("Dogs"))

 (ReasonReact.stringToElement("Source: "))

            (ReasonReact.stringToElement("https://dog.ceo"))

            (
              Array.map(dogs, dog =>

 (ReasonReact.stringToElement(dog))

              )
              |> ReasonReact.arrayToElement
            )

      },
  };
};

The same code with empty-lines:
module Nice = {

  type dog = string;

  type state =
    | Loading
    | Error
    | Loaded(array(dog));

  type action =
    | DogsFetch
    | DogsFetched(array(dog))
    | DogsFailedToFetch;

  module Decode = {
    let dogs = json : array(dog) =>
      Json.Decode.(
        json |> field("message", array(string)) |> Array.map(_, dog => dog)
      );
  };

  let component = ReasonReact.reducerComponent("Nice");

  let fetchDogs = () =>
    ReasonReact.UpdateWithSideEffects(
      Loading,
      self =>
        Js.Promise.(
          Fetch.fetch("https://dog.ceo/api/breeds/list")
          |> then_(Fetch.Response.json)
          |> then_(json =>
               json
               |> Decode.dogs
               |> (dogs => self.send(DogsFetched(dogs)))
               |> resolve
             )
          |> catch(_err => Js.Promise.resolve(self.send(DogsFailedToFetch)))
          |> ignore
        ),
    );

  let make = _children => {
    ...component,

    initialState: _state => Loading,

    reducer: (action, _state) =>
      switch (action) {
      | DogsFetch => fetchDogs()
      | DogsFetched(dogs) => ReasonReact.Update(Loaded(dogs))
      | DogsFailedToFetch => ReasonReact.Update(Error)
      },

    didMount: self => {
      self.send(DogsFetch);
      ReasonReact.NoUpdate;
    },

    render: self =>
      switch (self.state) {
      | Error =>

 (ReasonReact.stringToElement("An error occurred!"))

      | Loading =>
 (ReasonReact.stringToElement("Loading..."))

      | Loaded(dogs) =>

 (ReasonReact.stringToElement("Dogs"))

 (ReasonReact.stringToElement("Source: "))

            (ReasonReact.stringToElement("https://dog.ceo"))

            (
              Array.map(dogs, dog =>

 (ReasonReact.stringToElement(dog))

              )
              |> ReasonReact.arrayToElement
            )

      },
  };
};

In this regard I really like the default behaviour of yapf (a popular Python code formatter). In general yapf simply allows you to add a single empty-line wherever you like, but it would reduce two and more empty-lines to one. This works really well.
Any love for this?
If I'm missing something, please excuse me for bothering!

This was fixed in Reason's master branch a little while ago with the merge of https://github.com/facebook/reason/pull/1873.

I guess this can be closed 🤔


Issue with comment in use statement

When I have this
use std::{
    // cell::RefCell,
    ops::{Index, IndexMut},
    rc::Rc,
};

Rustfmt will convert the file to this:
use std::{
    // cell::RefCell, ops::{Index, IndexMut},
    rc::Rc,
};

Which means that second line is also commented out.
This isn't really much of a problem in practice but just wanted to alert in case it was a unknown issue.

I was unable to reproduce this error with the information given. I cloned and built rustfmt used the following program...
use std::{
    // cell::RefCell,
    ops::{Index, IndexMut},
    rc::Rc,
};

fn main() {
    println!("HELLO WORLD!");
}

and the resulting file was exactly the same after running rustfmt on the file. I'm curious if I am missing something?

This might be fixed on master, but not on nightly?

yeah, it works correctly on master.


Invite juicebox users to discuss MTOTM

The people below commented on the last MTOTM Jukebox grant proposal. We need to dig into their questions, likely turn them into FAQs, and ideally get a couple of contributors to the project.
The people and discussion
Proposal yes

jigglyjams
nicholas
DrGorilla.eth
jango
0xBA5ED

Proposal no

0xSTVG.eth
KMac
zhape
jmill
matthewbooks.eth

We need a delivery date


Adds next step info to construction examine

Kinda fixes 1563? It doesn't show on construction ghosts as those are client side and IExamine is on the server.
Could use the icon, but I don't think there is a way to add those in the ExamineText yet

IExamine is on the server

I guess you could make that shared and actually show construction steps on ghosts.

I preferred the wording of SS13's deconstruction hints (ex: "It is bolted down." to indicate wrenching) but this is better than nothing.


NomadBSD dies when i touch the touchpad

Hello, i was trying to install NomadBSD on a MacBook Pro 4,1 but it dies when i touch the touchpad and the machine restarts abruptly.
This happens on 1.2 and 1.3, on amd64 and mac imgs.
Please help :(

Hi @leandroramos8787,
try to set hw.psm.synaptics_support=0 in /boot/loader.conf.

Hi @leandroramos8787,
try to set hw.psm.synaptics_support=0 in /boot/loader.conf.

Hi, thanks for the reply.
The solution is to comment out wsp_load="YES" in /boot/loader.conf.
The wsp driver was the problem.

Thank you for the feedback. Does the touchpad work without the wsp driver?

Yes it works, i can move the cursor and to do left click

How do I edit that file ??

@3ux1n3: right click on the desktop, select terminals/sakura, then enter
 sudo ee /boot/loader.conf

enter your password then edit the file and leave the editor by pressing Esc and Enter after each other. Then save the file from the menu that pops up.


Suggestion: Add GetRemainingBytesMemory() to NetDataReader

Some serializers (specifically MessagePack-CSharp) can't read from a Span, but they have no problem reading from Memory. This is already possible using this code:
Memory<byte> myData = reader.RawData.AsMemory(reader.Position, reader.AvailableBytes);
// "reader" is a NetDataReader

Therefore, adding in GetRemainingBytesMemory() is unnecessary, but it would be a nice addition just for completeness. I guess it would be added somewhere around here:
https://github.com/RevenantX/LiteNetLib/blob/d0a2f8d6ea4b1cc4d191f5a3c1ea72375b97d794/LiteNetLib/Utils/NetDataReader.cs#L473-L479

you can create pull request :)

Made a pull request to add the method! 😀


scalar shape processing

As we implement more feature, we meet more scenarios with the scalar shape, and we have confusion in processing the scalar shapes, and it is easy to cause bugs in adding new features.
For now, MIGRAPHX use lens [1] and strides [0] to represent a scalar shape, which is different from the design in numpy and onnxruntime, which uses empty lens and strides. Maybe sometime later, we can change our design to be consistent with numpy and onnxruntime, and any changes we make later to follow this way.
This issue is to track the potential problem, and we can fix that systematically in MIGraphX sometime later.

Mathematically, the zero rank tensor is a scalar(see here), but in migraphx the shape describes just a multi-dimensional container of values. This makes it simple to apply pointwise operators since it can iterate over tensors and scalars the same, but requires extra care when manipulating the shape.
If we make the zero-rank shape a scalar, then that means elements() would return 0, and should size() from tensor_view return 0 as well? Which would imply we couldn't iterate over scalars using a for loop. This may make sense, and for pointwise operators we can upgrade the shape to a tensor before we iterator over it.
The scalar and the tensor really are two different "types" mathematically. The tensor is in the vector field and the scalar is in the scalar field. As such, tensors and scalars can have different meanings semantically. So I do think its important for us to distinguish this better, and not make scalars and tensors so easily interchangeable.


:arrow_up: Chore: Upgrade version of bun in ci

Description
Upgrade version of bun to .20 to hopefully fix build issue in stacked pr
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

Current dependencies on/for this PR:

main

PR #783   👈

PR #782

This stack of pull requests is managed by Graphite.


OLS-858: Note about fixes made in model evaluation script

Description
Note about fixes made in model evaluation script
Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[x] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library
[ ] Bump-up library or tool used for development (does not change the final image)

Related Tickets & Documents

Related Issue #OLS-858

/lgtm

/approve

/override "Red Hat Konflux / lightspeed-service-on-pull-request"

/retest

/override "Red Hat Konflux / ols-e2e-tests-rosa / lightspeed-service"
/override "Red Hat Konflux / ols-enterprise-contract / lightspeed-service"

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.68%. Comparing base (5c313f4) to head (52af293).
Report is 21 commits behind head on main.

Additional details and impacted files

@@           Coverage Diff           @@
##             main    #1461   +/-   ##
=======================================
  Coverage   94.68%   94.68%
=======================================
  Files          58       58
  Lines        2503     2503
=======================================
  Hits         2370     2370
  Misses        133      133


Integrate Watch-Directory with Pester?

Hello,
Wanted to get your thoughts, and maybe even convince you to implement it :-)
Your Watch-Directory is the most reliable one I've found.
I think it'd be great to wire into Pester. Invoke-Pester -wait. Along the lines of npm compile wait, in the node.js world.
Here's how I'm using it. I need to launch Pester in another PowerShell instance because it gets cranky that I'm using ps classes.
Watch-Directory . -Command {PowerShell {Invoke-Pester -testname 'AppService Tests' } } -WaitSeconds 1 -TestSeconds 1 -Filter  *.ps1 -Recurse
I have not analyzed Pester, seems like this may be an easy thing to bolt on.
Don't know if you've tried or might know of a better approach?
Thanks
Doug

Hi Doug,
I am glad you found Watch-Directory useful and "the most reliable". I am not sure how I can help, though. I am not using Pester for testing. Invoke-Build is quite enough for me, and actually more useful due to available output from tests.
So please go ahead and if anything is needed from me/Watch-Directory then I will think of this.


Add .well-known file example

Sometimes we need to serve a static file from the root to verify domain ownership, e.g. mydomain.com/.well-known/verification.
We should add an example of how to do this with the bootstrapper. Here's some sample code from another project:
# server/myproject/urls.py

urlpatterns = [
    path(r"staff/", admin.site.urls),
    path(r"", include("myproject.common.favicon_urls")),
    path(r"", include("myproject.common.stripe_domain_verification_urls")),
    path(r"", include("myproject.common.urls")),
]

# server/myproject/common/urls.py

from django.conf import settings
from django.urls import path

from myproject.common import views as common_views

urlpatterns = []

if settings.IN_STAGING or settings.IN_PROD or settings.IN_REVIEW:
    urlpatterns += [
        path(
            r".well-known/apple-developer-merchantid-domain-association",
            common_views.StripeDomainVerificationFile.as_view(),
            name="domain-verify",
        ),
    ]

Serve the file from STATIC FILES storage. In this example, the file was placed in the client/public/apple-pay directory. This gets collected to staticfiles when the app is built and so the file can be retrieved from staticfiles_storage in the directory apple-pay/...
# views.py

from django.contrib.staticfiles.storage import staticfiles_storage
from django.http import FileResponse, Http404
from django.views.generic.base import View
from rest_framework import permissions

class StripeDomainVerificationFile(View):

    permission_classes = (permissions.AllowAny,)

    def get(self, request):
        try:
            file = staticfiles_storage.open("apple-pay/apple-developer-merchantid-domain-association", "rb")
            return FileResponse(file, as_attachment=False)
        except FileNotFoundError:
            raise Http404("Static file not found")

Thanks @JSicardiNC for this example implementation.


jumpbox aws

[ ] terraform
[ ] documentation
[ ] examples

@vinnie357 or @yossi-r  is this the workstation module previously located under commitid: a0c9e3a.  Just wondering, apart from the incorrect pathing, why this was removed?

not 100% but I didn't see it where I expected it and jon needed it for the kic stuff.
I made one based on these: https://github.com/vinnie357/bash-onboard-templates/blob/master/terraform/aws/sca/onboard.sh
I was thinking the workspaces would
accept custom cloud init, or move to packer?
today the aws one installs:
aws cli
f5 cli
terraform
docker
coder

f5 extension in coder
terraform extension in coder
nginx

and:
clones a list of repos.
I was thinking about just using docker, and running customized coder instances using these:
https://github.com/vinnie357/devcontainers
and using nginx to present them, lets us use the jumpbox and all the tools without the user having to make them.

we need to clarify the name, in code its workstation, in context we call it jumphost
other than that, it already has docker on it, its being used to present coder. it does however need awscli configured since this instance needs to talk to ecr and aws when building the nginx ingress images

cheers @vinnie357 & @jmcalalang - left of center suggestion if you would humor me - along the lines of what you are thinking and I am sure @JeffGiroux or FouadC can shoot me down on Azure or @memes on GCP, along the line of the initial commit and to be consistent can we either use jumphost/jumpbox (accepted norm) and then dependent on CSP install the relavent tools?  (aws-cli, gcp, azure)

@merps oh.
yeah jumphost/jumpbox/bastion/bastionhost/workspace
I my only ask is whatever we pick is the same for all "providers/clouds"
I am voting for jumphost since we are using it with public addresses to make the labs easier to run.
I feel like bastion has a different expectation only accessible in the cloud env/shell?


Spark.after not being called when there is an exception or halt is called

Hey guys, You really have a nice API in here, congratulations.
I have been working with it and I found out that the filters to handle "after" actions are not being invoked after an exception arise on the real method. Also this happens when you call Spark.halt() or any other of its overrides.
Even though it might not seem like a bug from the definition of "after" I think it would be nice to have some sort of after(path,(e,req,res)) to be able to handle something after a method was called and executed, despite if it ends in an exception or in a halt.
To reproduce this behavior just follow this code:

Spark.get("/hello", (req,res) -> "hello you!");
Spark.get("/throw", (req,res) -> { throw new RuntimeException("Ouch!"); });
Spark.before("/halt/*", (req,res) -> { Spark.halt(); });
Spark.before("/", (req,res) -> System.out.println("before"));
Spark.after("/", (req,res) -> System.out.println("after"));

So if you call "/hello" you will get as a response "Hello you!" and you will see in console something like:

before
after

If you call "/throw", you will end up with an exception in your logs, but in your console you will only find:

before

(No after is called, but if you register any exception handler it will get fired up).
And the last one, if you call "/halt", no error in logs, only a 404 or something is returned and in the console you will see only:

before

Nothing else.
Hope you understand this post. (And sorry for the length).
Javier.

There is already PR #546 for that and issues #195 #324

Thanks! At least I'm not the only one. Any ideas when it might be released?

PR has been merged, this issues can be closed now.

@MouettE-SC Thanks!


embedding.get_embeddings_from_file

I am running embedding.get_embeddings_from_file() and it is resulting in "embedding.get_embeddings_from_file"
Is my text file too large? What is the size limit?

Hello, @mansj
Which framework do you use? Is it langchain or something else?


Create your own Enumerable

In this pull request, my partner @Abdo9826 and I implemented the following:

created the three public instance methods all?, any? and filter?
created a modules MyEnumerable and defined the public instance methods within it
created MyList class that has an instance of @list, then implemented the #each method that yields successive members of @list and uses the MyEnumerable module.
Each class and module has a separate .rb file.
Thanks.

Thank you.


Cchain transaction query endpoint

Pull Request Test Coverage Report for Build 596619946

0 of 128 (0.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.6%) to 27.326%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

services/indexes/params/params.go
0
1
0.0%

services/indexes/params/collections.go
0
45
0.0%

services/indexes/avax/reader.go
0
82
0.0%

Totals

Change from base Build 595822844:
-0.6%

Covered Lines:
1630

Relevant Lines:
5965

💛  - Coveralls


[Feature] Jump to question # - and/or randomize

If I close the browser and reopen it, I have to restart from question #1. If the questions were randomized it would not matter but having to getting back to a question, may take a few hundred clicks.

good idea, I was thinking about that too but I don't know where to add it on the page

I was thinking that the first label (the one with the incremental #) could become a text field and it someone enters a number and press the enter key, it would jump to the question.

Created this design for solving this issue -> Figma file


Initial version

This allows to:

list articles
add them 1 by 1 to the cart (saved to LocalStorage)
remove them entirely from the cart

I would make the cart visible - when loading it for the first time I thought Add to cart was broken.


fix(region): aws not support create server with public ip

这个 PR 实现什么功能/修复什么问题:

[x] 功能、bugfix描述
[x] 冒烟测试
[ ] 单元测试编写

是否需要 backport 到之前的 release 分支:

release/3.5

/area region
/cc @zexi

Codecov Report

Merging #9995 (1e3d38a) into master (7e69faa) will increase coverage by 2.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #9995       +/-   ##
==========================================
+ Coverage    5.97%   8.05%    +2.08%
==========================================
  Files         849     107      -742
  Lines      132265   12991   -119274
==========================================
- Hits         7897    1047     -6850
+ Misses     123667   11824   -111843
+ Partials      701     120      -581

Flag
Coverage Δ

aFlag
8.05% <ø> (+2.08%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/cloudprovider/retry.go

pkg/multicloud/aws/vpc_peering_connection.go

pkg/cloudcommon/db/statusinfrasuserresource.go

pkg/httperrors/httperrors.go

pkg/cloudcommon/validators/validators_sshkey.go

pkg/hostman/hostinfo/hostinfo.go

pkg/compute/models/secgrouprules.go

pkg/cloudcommon/db/statusbase.go

pkg/multicloud/aws/iam_policy.go

pkg/compute/models/dnszoneresource.go

... and 731 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #9995 (1e3d38a) into master (7e69faa) will increase coverage by 2.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #9995       +/-   ##
==========================================
+ Coverage    5.97%   8.05%    +2.08%
==========================================
  Files         849     107      -742
  Lines      132265   12991   -119274
==========================================
- Hits         7897    1047     -6850
+ Misses     123667   11824   -111843
+ Partials      701     120      -581

Flag
Coverage Δ

aFlag
8.05% <ø> (+2.08%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/cloudprovider/retry.go

pkg/multicloud/aws/vpc_peering_connection.go

pkg/cloudcommon/db/statusinfrasuserresource.go

pkg/httperrors/httperrors.go

pkg/cloudcommon/validators/validators_sshkey.go

pkg/hostman/hostinfo/hostinfo.go

pkg/compute/models/secgrouprules.go

pkg/cloudcommon/db/statusbase.go

pkg/multicloud/aws/iam_policy.go

pkg/compute/models/dnszoneresource.go

... and 731 more

Continue to review full report at Codecov.

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

/lgtm

/lgtm

/lgtm

/lgtm

/lgtm

/lgtm

/approve

/approve

/approve

/approve


Can I pack NativeUI.dll into my mod rar?

Hi,
after ScriptHookVDotNet's menu functionality got messed up I switched to NativeUI. Alas the gamers have to download and install another dll now. To make it slightly more convenient for them I'd like to pack the NativeUI.dll along with my mod into the rar which I am about to upload. Do you give permission or do you insist that I just provide the link to here?

Sure you could pack it but please state in the description which version you used, and include a link to the thread on gtaforums so people can update when there's a new version available.

Alright but can you give me the link to the GTAforums thread? I came here via the scripthookvdotnet issue tracker where I asked for an alternative menu API.

Sure: http://gtaforums.com/topic/809284-net-nativeui/

Thanks :)


Upgrade the minimum php version to 8.0 for rpc-server.

https://github.com/hyperf/hyperf/issues/4238


Implement generateOpenStreetMap() Appwrite Function ⚡

Introduction
Appwrite Functions allow you to extend and customize your Appwrite server functionality by executing your custom code 🤩 You can learn more at our official Appwrite Functions docs.
Your task is to implement generateOpenStreetMap function. You can look at the existing Appwrite Functions demo in the coding language you prefer to see how it works.
This function should take latitude and longitude as an input, generate map preview using OpenStreetMap API and save it into Appwrite Storage.

Please make sure to store all configurable parameters as environment variables, so others can start using your script without having to edit it. If some data is different for each execution, make sure to use APPWRITE_FUNCTION_EVENT_DATA or APPWRITE_FUNCTION_DATA environment variable.

Tasks summary:

[ ] Fork & clone this repository
[ ] Create feat-implement-generate-open-street-map-X branch where X is programming language you used
[ ] Write code for the function
[ ] Test the function using Appwrite
[ ] Write a README.md explaining what function does, how to use and customize it. Here is an example.
[ ] Submit pull request

If you need any help, reach out to us on our Discord server.
Are you ready to work on this issue? 🤔 Let us know, and we will assign it to you 😊 There are 9 languages in which you can implement this function. When requesting to be assigned, please mention which language would you like to use.
Assignees table
✅ = Done - This language has already been finished
⚒ = In progress - Someone is already working on this language
❌ = Unassigned yet - This language can be assigned to you

Function / Language
Deno
NodeJS
PHP
Python
Ruby
Dart
.NET
Java
Kotlin

generateOpenStreetMap
⚒ aggmoulik
⚒ AnirudhPanda
❌
⚒ geeythree
❌
❌
❌
⚒ oshi36
❌

Happy Appwriting!

Hey can i take this?
Language: Node JS

Hey, I can take the issue.
Language: Deno

@AnirudhPanda Assigned it to you! All the best 🚀

@aggmoulik Assigned it to you! All the best 🚀

Hey, I can take this issue.
Language : Java

@oshi36 Assigned it to you! All the best 🚀

I'd like to work on this
Language : Python

@geeythree Assigned it to you! All the best 🚀

Hey, I can take the issue.
Language: PHP


Async testing change

Base custom component testing on https://github.com/MatthewFlamm/pytest-homeassistant-custom-component

ok I need to amend the .github/workflows/test.yaml

No you removed the local hooks, but they are still listed as excluded (but it can't find them):
skip: [test-core-prep, test-pip-prep, testing, quality]
So if you completely remove them, you have to remove them from skip in pre-commit
pre-commit.ci is an environment that runs pre-commit for you (and potentially much quicker than pre-commit installing each run), but downside is not everything works, hence skipping all the local tests we normally do for commits.

Otherwise check with the smile one - otherwise I can check tomorrow

but downside is not everything works, hence skipping all the local tests we normally do for commits
Otherwise check with the smile one - otherwise I can check tomorrow

It now tests inline ... so it does the test but using pytest-homeassistant-custom-component but i'll continue Thursday...


ios crash on launch

hi, my app crash sometimes on launch. below are the xcode log.
is there some reason for this?

This crash happens a lot，please pay attention

below are 'flutter doctor -v' print
yangwendongdeMacBook-Pro:ocs_crowd ywd$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.14.5 18F132, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.3)
[✓] Android Studio (version 3.4)
[!] IntelliJ IDEA Ultimate Edition (version 2019.1)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Connected device (1 available)
! Doctor found issues in 1 category.
yangwendongdeMacBook-Pro:ocs_crowd ywd$ flutter doctor -v
[✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.14.5 18F132, locale zh-Hans-CN)
• Flutter version 1.2.1 at /Users/ywd/FlutterProj/flutter
• Framework revision 8661d8aecd (5 months ago), 2019-02-14 19:19:53 -0800
• Engine revision 3757390fa4
• Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/ywd/Library/Android/sdk
• Android NDK at /Users/ywd/Library/Android/sdk/ndk-bundle
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = /Users/ywd/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.3, Build version 10G8
• ios-deploy 1.9.4
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.4)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 35.3.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
[!] IntelliJ IDEA Ultimate Edition (version 2019.1)
• IntelliJ at /Applications/IntelliJ IDEA.app
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.io/intellij-setup/#installing-the-plugins
[✓] Connected device (1 available)
• 杨文冬的 iPhone • e32a50313989341c90a1b2a11e69c11e9cb9bf4f • ios • iOS 12.2
! Doctor found issues in 1 category.


Django Permissions

Hey Jordan,
I thought I would just let you know the install seems to fail now with the following error
(venv) root@dev-netbox:/opt/netbox/netbox# python manage.py migrate Operations to perform:   Apply all migrations: account, admin, auth, circuits, contenttypes, core, dcim, django_rq, extras, ipam, sessions, social_django, taggit, tenancy, users, virtualization, vpn, wireless Running migrations: Traceback (most recent call last):   File "/opt/netbox-3.7.4/venv/lib/python3.11/site-packages/django/db/backends/utils.py", line 87, in _execute     return self.cursor.execute(sql)            ^^^^^^^^^^^^^^^^^^^^^^^^   File "/opt/netbox-3.7.4/venv/lib/python3.11/site-packages/psycopg/cursor.py", line 732, in execute     raise ex.with_traceback(None) psycopg.errors.InsufficientPrivilege: permission denied for schema public LINE 1: CREATE TABLE "django_migrations" ("id" bigint NOT NULL PRIMA...


Edit-OfficeConfigurationFile now has Branch options (used in 2016)

Hi @michaeldraftz, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;


This is a pull request to add my project to brainhack school.

Hii
@complexbrains @me-pic
I hope you are doing well
This is a pull request to add my project to brainhack school.
Please let me know if need any additional information.
Best
Roqa

Hi, could you please let me know if I should do something or just wait for the notification?


Unable to reach context attributes in setup method

Version
3.0.0-alpha.11
Reproduction link
https://github.com/blacksonic/todomvc-vue-composition-api/blob/master/src/components/app/app.vue
Steps to reproduce
Clone the repository, install dependencies and after running npm start uncomment the commented lines linked to the issue
What is expected?
Able to access attributes on context
What is actually happening?
The Proxy object always return undefined for properties which exist on the target object

In the setup method in the second context parameter, I try to reach context.attrs.parent or context.attrs.appContext. They exist on the target property of the Proxy because when console logging to the terminal I can check them, but when accessing them programmatically they can't be reached

appContext exit on context but not context.attrs

context.appContext is undefined also

I think that's private API: https://github.com/vuejs/vue-next/blob/master/packages/runtime-core/src/component.ts#L102 and that's why it's hidden

The reason behind this is to reach the store instance and use it in the setup method. Map functions of the store are working but I can't combine them with the setup method as they reside on the this scope.

attrs is all fallthrough attributes and it has nothing to do with appContext. The reason you see appContext in the console is because attrs is a proxy pointing to the internal instance. This is a side effect of using Proxies and I'm working on improving this so it shows actual attrs in the console.

To use the store instance in setup, use the useStore method.

Thanks, it works like a charm.
What is the desired way when dealing with the store in the new API?
If I have a component only with mappers and don't need anything else, should I move them to the setup function or just leave it there?
Here is the component with only mappers:
https://github.com/blacksonic/todomvc-vue-composition-api/blob/master/src/components/list/list.vue

Closing since attrs inspection has been improved in ec4a4c1e0688bca05022f21a959750f848b7aed1
For Vuex specific problems please open issue in Vuex repo instead.


[FLINK-2617] Added static mutexes for configure, open, close HadoopIOFormats

+1 Looks good to merge

will merge this


docs: update installation / get started

What I did

Updated the "Getting Started" and "Quick Docs" pages to provide updated examples and some additional wording to make information clearer.
Added an "Installation" section to the component docs that mimics RHDS which gives them the install instructions for patternfly/elements and how to import that specific component.

Testing Instructions

Please check out the deploy preview and check over the docs for information / wording.

@bennypowers ptal - added in some wording to make it more clear which pieces go together in the install template and adding the note not to mix and match like you mentioned.


[Bug]: Import of tag resources failed with 403 error

Is there an existing issue for this?

[X] I have searched the existing issues

Affected Resource(s)
tags.gcp.upbound.io/v1beta1 - TagBinding
tags.gcp.upbound.io/v1beta1 - TagKey
tags.gcp.upbound.io/v1beta1 - TagValue
Resource MRs required to reproduce the bug
apiVersion: tags.gcp.upbound.io/v1beta1
kind: TagKey
metadata:
  annotations:
    meta.upbound.io/example-id: tags/v1beta1/tagkey
    upjet.upbound.io/manual-intervention: "The resource requires a real external name"
    crossplane.io/external-name: "tagKeys/281475435132414"
  labels:
    testing.upbound.io/example-name: key-external
  name: key-external
spec:
  managementPolicies: ["Observe"]
  forProvider: {}

Steps to Reproduce
Create a resource TagKey, TagValue or TagBinding with label crossplane.io/external-name and managementPolicies = ["Observable"]
What happened?
Currently, the import fails with at best a 403 error:

Relevant Error Output Snippet
No response
Crossplane Version
1.17.0
Provider Version
1.8.1
Kubernetes Version
No response
Kubernetes Distribution
GKE
Additional Info
No response

/fresh PR is still open


How to access my ip camera if I am not in the same local network

I installed feniks on my laptop and was able to access a Hikvision ip camera. But my laptop and the camera are on the same router so I know the camera's ip number. My router's ip number is not public as it is behind my ISP's router. In this case, with feniks on my laptop, how do I access the camera if I connect the laptop to the ISP's router or if it is connected somewhere on the Internet?

Port forward. Easy

Yes, I solved with port forward. Thanks.


feat: upgrade to Vercel SpeedInsights

Vercel has upgraded their former @vercel/analytics to the @vercel/speed-insights package, offering more features. This upgrade requires only a simple change to start using the new package.

But these are two functions, where is the upgrade?


fab pull broken by newer versions of git

Bug Report
Summary
fab pull breaks with git version 2.36.1. (Not sure when behaviour changed.)
Steps to Reproduce

Update to recent git
pull down repo
commit changes to remote
commit changes to local
git pull

Expected Behaviour
Expected git pull to merge based on previous behaviour.
Actual Behaviour
Default behaviour is now `--ff-only.
Other Information
% git pull
remote: Enumerating objects: 2, done.
remote: Counting objects: 100% (2/2), done.
remote: Total 2 (delta 1), reused 2 (delta 1), pack-reused 0
Unpacking objects: 100% (2/2), 213 bytes | 23.00 KiB/s, done.
From github.com:shadowspawn/play
   d7b4313..16576ff  master     -> origin/master
hint: You have divergent branches and need to specify how to reconcile them.
hint: You can do so by running one of the following commands sometime before
hint: your next pull:
hint:
hint:   git config pull.rebase false  # merge
hint:   git config pull.rebase true   # rebase
hint:   git config pull.ff only       # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
fatal: Need to specify how to reconcile divergent branches.

I think this is probably a feature rather than a bug. fab just calls git, and git pull in repo fails too.
Might be a nicety to add fab support for --rebase, --no-rebase, and --ff-only. So can follow the advice for a one-off behaviour.
But if user wants merge-on-pull, they should save global config as per the instructions.

Hmm, the git options are not wonderfully clear. Let alone trying to match in Mercurial.

-r, --rebase[=false|true|merges|preserve|interactive]
--no-rebase

Leave until someone wants more functionality!


Update CHANGELOG.MD

Close because first I think it contains some other changes, but it's merged since it contains just needed changes.


Delete submap scan matchers that are unconstrained after trimming.

This improves the memory issue in pure localization mode as
mentioned in issue #1737.
Signed-off-by: Michael Grupp<EMAIL_ADDRESS>

This could be also ported to the 3D equivalent, but I haven't done that yet because I don't use 3D localization and thus haven't tested it..

if a submap scan matcher is constructed but never succeeds in computing a constraint, it will retained forever even with this change, right?

Yes, I only use the inter-submaps constraints of the localization trajectory like reference counters. As commented above, this could theoretically have the same worst case memory accumulation if no constraints are found at all. But in practice it has a noticeable impact from our experience.

Did you consider the alternative implementation where this is handled at the constraint builder, e.g. by keeping the set of n closest submaps.

I thought about sth similar, but didn't come up with a good idea. It would potentially require a distance check for each trimmed trajectory node, no? :thinking:

This would have the additional benefit of starting matcher construction before it is needed further reducing latency.

I don't completely understand how this is related if we could construct before it's needed. Right now the matchers are built in MaybeAddConstraint for node-submap combos that are within max_constraint_distance (src). I don't think it's a good idea to construct all (?) matchers in a neighborhood in a advance, it would effectively bypass the constraint_sampling_ratio that is also crucial for reducing latency. But maybe you mean something else.


Sync getting stuck

Anyone knows why the sync is getting stuck?
Progress bar staying at "5 hours behind" on Francs core. Does not move at all.
I tried deleting blockchain and resync but no luck.

Please make sure you're using the last version from
http://www.francs.paris/wallet.html

Same problem here. Version <IP_ADDRESS> 32bits

"aucune source de blocs disponible"


Zuora endpoint not generated even though referenced schema exists

Describe the bug
Endpoint not generated even though referenced schema exists
components:
    schemas:
          accountCreateRequest:
                type: object
                title: AccountCreateRequest
                description: ''
                additionalProperties: false

OpenAPI Spec File
https://www.zuora.com/developer/yaml/swaggerv2API.yaml
Desktop (please complete the following information):

OS: macOS 13.6 (22G120)
❯❯❯ python --version

Python 2.7.15

python3 --version
Python 3.11.6
openapi-python-client version: 0.15.2

Additional context
✗ openapi-python-client generate --path ~/Downloads/swaggerv2API.yaml
Generating quickstart-api-reference-client
Warning(s) encountered while generating. Client was generated, but some pieces may be missing

WARNING parsing POST /accounts within accounts. Endpoint will not be generated.

Could not find reference in parsed models or enums

Reference(ref='#/components/schemas/accountCreateRequest')

WARNING parsing POST /payment_methods within payment_methods. Endpoint will not be generated.

Could not find reference in parsed models or enums

Reference(ref='#/components/schemas/paymentMethodCreateRequest')

WARNING parsing POST /subscriptions within subscriptions. Endpoint will not be generated.

Could not find reference in parsed models or enums

Reference(ref='#/components/schemas/subscriptionCreateRequest')

WARNING parsing POST /subscriptions/preview within subscriptions. Endpoint will not be generated.

Could not find reference in parsed models or enums

Reference(ref='#/components/schemas/subscriptionPreviewRequest')

WARNING parsing POST /orders within orders. Endpoint will not be generated.

Could not find reference in parsed models or enums

Reference(ref='#/components/schemas/orderCreateRequest')

WARNING parsing POST /orders/preview within orders. Endpoint will not be generated.

Could not find reference in parsed models or enums

Reference(ref='#/components/schemas/orderPreviewCreateRequest')

Unable to process schema /components/schemas/ccRef:

Attempted to generate duplicate models with name "CcRefMandate"

Failure to process schema has resulted in the removal of:
/components/schemas/ccRef
/components/schemas/accountPaymentMethodRequest
/components/schemas/accountCreateRequest
/components/schemas/orderCreateRequest
/components/schemas/subscriptionCreateRequest
/components/schemas/subscriptionPreviewRequest
/components/schemas/postSubscriptionOrderRequest
/components/schemas/orderPreviewCreateRequest
/components/schemas/paymentMethodCreateRequest

Schema(title='Mandate', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, type=<DataType.OBJECT: 'object'>, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, properties={'id': Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, type=<DataType.STRING: 'string'>, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, properties=None, additionalProperties=None, description='Identifier of the single- or multi-use mandate generated by the payment gateway.', schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'reason': Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, type=<DataType.STRING: 'string'>, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, properties=None, additionalProperties=None, description='Reason for the mandate.', schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'state': Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=['active', 'canceled', 'expired', 'agreed'], type=<DataType.STRING: 'string'>, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, properties=None, additionalProperties=None, description='The status of the mandate, which indicates whether it can be used to initiate a payment.', schema_format=None, default=None, nullable=False, discriminator=None, readOnly=True, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)}, additionalProperties=False, description='The mandate information for the Credit Card, Credit Card Reference Transaction, ACH, or Bank Transfer payment method.', schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)

The message at the end of the error explains the issue—accountCreateRequest could not be generated because there was a conflict. Two different models would be generated named CcRefMandate. The ccRef has an inline-object named Mandate which would create a class called CcRefMandate. This conflicts with the ccRefMandate schema.
The only way to avoid this right now is to modify the OpenAPI document to tweak the names (using title) so that they don't conflict.


AWS service throws unauthorizes causing issues in RHPDS

SUMMARY
This is not a 100% occurrence, but now and again we see the RHUI service in the EUROPE region throw an unauthorized error message, which causes deployments in RHPDS to fail time and again.
We usually recommend users try another region, but it is our understanding you can work this with AWS support, you need to open a ticket in your account and follow their guidance.
We must verify, at least, that configuration for these servers is equal to their counterparts in APAC and NA:
rhui2-cds01.eu-central-1.aws.ce.redhat.com/
rhui2-cds02.eu-central-1.aws.ce.redhat.com/
The error in AAD logs is:
REGION-jbcs-rhui-rhel-7-rpms: [Errno 256] No more mirrors to try.\nhttps://rhui2-cds01.eu-central-1.aws.ce.redhat.com/pulp/repos//content/dist/rhel/rhui/server/7/7Server/x86_64/jbcs/1/os/repodata/repomd.xml: [Errno 14] HTTPS Error 401 - Unauthorized\nhttps://rhui2-cds02.eu-central-1.aws.ce.redhat.com/pulp/repos//content/dist/rhel/rhui/server/7/7Server/x86_64/jbcs/1/os/repodata/repomd.xml: [Errno 14] HTTPS Error 401 - Unauthorized"}
c696-student1-ansible      : ok=9    changed=6    unreachable=0    failed=1
ISSUE TYPE

Bug Report

EXTRA VARS FILE
N/A
ANSIBLE VERSION

issue opened with AWS, waiting on response
unsuccessful on trying to replicate, will continue testing on eu-central-1 for all development going forward until we figure out what is going on.

updated aws ticket with additional info, still waiting response from aws.  the rhui servers are controlled by another group at red hat, they have to open another ticket which will make the tickets go full circle :)

found out contact internally is Jerome Boutaud

@NonyNo3lle is this still an issue?

@IPvSean Allow me a couple days to check on status with Ops, sorry about the delay

no response from submitter for 22 days


[Terra-dropdown] Added focus styles for dropdown list-items

Summary
[Terra-dropdown] Added focus styles for dropdown list-items
What was changed:
Added outline for the dropdown list-items.
Why it was changed:
While navigating through keyboard mainly in safari browser not able to see the focus for the dropdown list-items
https://github.com/cerner/terra-core/assets/126655256/16a3ab72-3157-40f2-a03a-3bd77ded398a
https://github.com/cerner/terra-core/assets/126655256/4bd6c00c-485e-4924-97f3-667239a0450a
https://github.com/cerner/terra-core/assets/126655256/a1b9bbd3-c0ad-4bb9-9227-2c2a49363c0d
UXPLATFORM-9029

Thank you for contributing to Terra.
@cerner/terra

There are few WDIO failures due to updates made for dropdown list. Please update the screenshots.


Simple light weight generators without coroutines

https://compiler-explorer.com/z/ds4E9fGW1

Also working with small fixed data sets: https://github.com/compiler-explorer/compiler-explorer/pull/5160

Can I suggest this?
https://compiler-explorer.com/z/hjYGKcjd3
Here, you keep the fib function separate from its use as a generator.
The generator is totally non-intrusive now.
great post, thanks :-)


fix(trello-clickup): Fix trello clickup for button styles

Please remember the Contributing Guidelines :heart:
:star2: What does this PR do?

:bug: Recommendations for testing
All changes should be tested across Chrome and Firefox.

:memo: Links to relevant issues or information


⚠ ETF has degraded performance

In 82023c1, ETF (https://markets.hankyung.com/equity-product/etf) experienced degraded performance:

HTTP code: 200
Response time: 6985 ms

Resolved: 신규상장 performance has improved in 5b73ce1.


[Chore] Explore using viper for dynamic config changes

Background
We introduced dynamic log level config changes in #2181 using fsnotify. It was suggested that we could use something like viper to do this instead of using our own implementation. We could also expand the scope of which configuration options can be dynamically modified without restarting a component.
Action to take
Try to incorporate viper into Korifi's config management. This might involve replacing some of our current configuration management code. Open a PR if this is possible, or document the issues encountered if not.
Impact
Using viper would allow us to remove the logic to watch the config directory for changes.
Dev Notes

If this is possible, we could discuss expanding the scope to allow dynamic reloading of all configuration values. We could also investigate updating the Helm configuration to remove the random suffix from the ConfigMaps as it should no longer be necessary.

We decided to put this story down for the moment. Changing to Viper for it's file monitoring functionality uses the same base fsnotify mechanism as the current code and doesn't remove all that much code in exchange for added package dependencies and parsing uncertainty. Even if we switch to Viper to monitor all config changes, work would still have to be done for each param to make them take effect without restarting the controller so we don't gain any additional functionality with just the switch.

Closing as we don't think it's worth introducing an extra dependency


INTP-311 (MAPPDK_SERVER,204) Uninitialized data is used

I got fanucpy working well on my first CRX but on my second CRX I get this error message.   I've searched the threads and this message pops up for a variety of reasons with other socket based programs.   Was wondering if you had any troubleshooting tips.

Hi. Have you copied the latest fanuc driver files from https://github.com/torayeff/fanucpy/tree/main/src/fanuc-driver ?
Basically, you need to install the latest version of fanucpy (0.1.11) with the latest version of fanuc driver files.

i did this morning hoping to resolve the issue.   Some threads suggest it
might be a memory issue.
Will try again.
Sabri
BTW great job with integrating ChatGPT!
On Tue, Mar 21, 2023 at 12:06 PM Agajan Torayev @.***>
wrote:

Hi. Have you copied the latest fanuc driver files from
https://github.com/torayeff/fanucpy/tree/main/src/fanuc-driver ?
Basically, you need to install the latest version of fanucpy (0.1.11) with
the latest version of fanuc driver files.
—
Reply to this email directly, view it on GitHub
https://github.com/torayeff/fanucpy/issues/18#issuecomment-1478364315,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACV24LVMTW2QB4HU5K7IG3W5HUZXANCNFSM6AAAAAAWCZM5QM
.
You are receiving this because you authored the thread.Message ID:
@.***>

@sansoy Let me know how it goes. I will have a closer look at the issue on Thursday. Some far there were not any problems while testing using Roboguide.

I can confirm that v0.1.11 works with the latest .pc and .ls files. Please copy the new files from https://github.com/torayeff/fanucpy/tree/main/src/fanuc-driver

Thanks Agajan!  I was able to get it to run my CRX!
Great work!
Sabri
On Thu, Apr 6, 2023 at 7:08 AM Agajan Torayev @.***>
wrote:

Closed #18 https://github.com/torayeff/fanucpy/issues/18 as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/torayeff/fanucpy/issues/18#event-8945813893, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACV24KURBH5IQNMKUKDQ5DW7253LANCNFSM6AAAAAAWCZM5QM
.
You are receiving this because you were mentioned.Message ID:
@.***>


Accept validator function when making a dropdown field via .fromJson

Resolves
Towards LLK/scratch-gui#4400 - this is supporting code for LLK/scratch-gui#4613 and should be merged before it!
Proposed Changes
This PR adds makes it so that FieldDropdown.fromJson can take a validator function and pass it to the FieldDropdown constructor. In practice, that means you can add "validator": function() { ... } to a block's jsonInit function:
this.jsonInit({
  message0: `%1`,
  args0: [
    {
      type: 'field_dropdown',
      name: ...,
      options: ...,
      validator: function() { ... }
    }
  ]
});

Reason for Changes
Support for LLK/scratch-gui#4613! This is also a generally useful tweak, but I didn't adjust the rest of the fields to also take validator functions. That can be done if wanted, but right now there's no PR that requires it.
Test Coverage
Tested manually. Dropdowns still work, and validators function are passed through properly!

Closing (see comment on LLK/scratch-gui#4613).


Cover Edge Case avatar isn't always retreived as you would expect by json.decode

Im using this instead
  if(m["avatar"] is List<dynamic>){
    List av = m["avatar"];
    if(av.length == 0) avatar = new Uint8List(0);
    else{
      List<int> ints = new List<int>();
      for(int i = 0; i < av.length; i++){
        int number = av[i];
        ints.add(number);
      }
      avatar = Uint8List.fromList(ints);
    }
  }
  else avatar = m["avatar"];

and I created my own fromMap in the meantime
Contact myFromMap(Map m) {
  //init vars
  String identifier, displayName, givenName, middleName, prefix, suffix, familyName, company, jobTitle, note;
  Iterable<Item> emails = [];
  Iterable<Item> phones = [];
  Iterable<PostalAddress> postalAddresses = [];
  Uint8List avatar;

  //set vars
  identifier = m["identifier"];
  displayName = m["displayName"];
  givenName = m["givenName"];
  middleName = m["middleName"];
  familyName = m["familyName"];
  prefix = m["prefix"];
  suffix = m["suffix"];
  company = m["company"];
  jobTitle = m["jobTitle"];
  emails = (m["emails"] as Iterable)?.map((m) => Item.fromMap(m));
  phones = (m["phones"] as Iterable)?.map((m) => Item.fromMap(m));
  postalAddresses = (m["postalAddresses"] as Iterable)
      ?.map((m) => PostalAddress.fromMap(m));

  //avatar is more complex
  if(m["avatar"] is List<dynamic>){
    List av = m["avatar"];
    if(av.length == 0) avatar = new Uint8List(0);
    else{
      List<int> ints = new List<int>();
      for(int i = 0; i < av.length; i++){
        int number = av[i];
        ints.add(number);
      }
      avatar = Uint8List.fromList(ints);
    }
  }
  else avatar = m["avatar"];
  note = m["note"];

  //return
  Contact c = new Contact(
    givenName: givenName,
    middleName: middleName,
    familyName: familyName,
    prefix: prefix,
    suffix: suffix,
    company: company,
    jobTitle: jobTitle,
    emails: emails,
    phones: phones,
    postalAddresses: postalAddresses,
    avatar: avatar,
    note: note,
  );

  c.identifier = identifier;
  c.displayName = displayName;

  return c;
}

Hi @b-cancel we are swamped right now and with limited resources available at the moment. Please feel free to contribute updates and improvements via PR.
Also, major code changes were recently pushed. You will want to grab the latest code. Thanks!


Rubocop mistakens plain ruby for rspec DSL

PDK v2.2.0 using rubocop v1.6.1 (pdk enforces the rubocop version, so sorry if this has been fixed already).
Expected behavior
Rubocop would distinguish between plain ruby and rspec DSL.
Actual behavior
Given the line
hosts.each { |_x| install_puppet } unless ENV['BEAKER_provision'] == 'no'

I get
hosts.each { |_x| install_puppet } unless ENV['BEAKER_provision'] == 'no'
^^^^^^^^^^

Steps to reproduce the problem
$ pdk new module whatever --skip-interview
$ cd whatever
$ echo "hosts.each { |_x| install_puppet } unless ENV['BEAKER_provision'] == 'no'" >spec/spec_helper_local.rb
$ pdk bundle exec rubocop --debug spec/spec_helper_local.rb
pdk (INFO): Using Ruby 2.7.3
pdk (INFO): Using Puppet 7.9.0
warning: parser/current is loading parser/ruby27, which recognizes
warning: 2.7.4-compliant syntax, but you are running 2.7.3.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
For /home/me/whatever: configuration from /home/me/whatever/.rubocop.yml
configuration from /opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rubocop-performance-1.9.1/config/default.yml
configuration from /opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rubocop-performance-1.9.1/config/default.yml
Default configuration from /opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rubocop-1.6.1/config/default.yml
configuration from /opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rubocop-rspec-2.0.1/config/default.yml
configuration from /opt/puppetlabs/pdk/share/cache/ruby/2.7.0/gems/rubocop-rspec-2.0.1/config/default.yml
Inspecting 1 file
Scanning /home/me/whatever/spec/spec_helper_local.rb
C

Offenses:

spec/spec_helper_local.rb:1:1: C: RSpec/IteratedExpectation: Prefer using the all matcher instead of iterating over an array.
hosts.each { |_x| install_puppet } unless ENV['BEAKER_provision'] == 'no'
^^^^^^^^^^

RuboCop version
$ pdk bundle exec rubocop -V
pdk (INFO): Using Ruby 2.7.3
pdk (INFO): Using Puppet 7.9.0
warning: parser/current is loading parser/ruby27, which recognizes
warning: 2.7.4-compliant syntax, but you are running 2.7.3.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
1.6.1 (using Parser <IP_ADDRESS>, rubocop-ast 1.10.0, running on ruby 2.7.3 x86_64-linux)
  - rubocop-performance 1.9.1
  - rubocop-rspec 2.0.1

Tracked it down to .all?:
rubocop-rspec/lib/rubocop/cop/rspec/iterated_expectation.rb:39 RuboCop::Cop::RSpec::IteratedExpectation#on_block:

    36: def on_block(node)
    37:   each?(node) do |arg, body|
    38:     require 'pry'; binding.pry
 => 39:     if single_expectation?(body, arg) || only_expectations?(body, arg)
    40:       add_offense(node.send_node)

here,
only_expectations?(body, arg)
=> true

but
body.child_nodes.count # => 0

only_expectations? is defined as:
          def only_expectations?(body, arg)
            body.each_child_node.all? { |child| expectation?(child, arg) }

which is incorrect for the case when there are no children.
As in:
[].all? { |x| x == 100 } # => true

I'd suggest adding a check:
def only_expectations?(body, arg)
+ body.each_child_node.any? &&
  body.each_child_node.all? { |child| expectation?(child, arg) }
end

Would you like to send a PR, @githubuseracct ?
Your example is quite good to be added as a spec as is.


test: run the development environment steps in CI

Exercise some of our Makefile, docker-compose.yml and shell script wrapper utilities.
Originally conceived in #10052, simplified with current commands.
Closes #10052

I don't know if this is a great idea yet.
It seems like a good idea, but it's also another ~12 minutes CI step.
Doesn't have to be required, but also maybe should run post-merge on main? Or some other time? Up for debate.

Doesn't have to be required, but also maybe should run post-merge on main?

Given that deploys are blocked on status checks passing, this might be a worse time to run it, unless we made it not required, which I'm not sure we'd ever see.
Instead, maybe we can run it regularly (daily?) via cron and alert us if it fails?

Given that deploys are blocked on status checks passing, this might be a worse time to run it, unless we made it not required, which I'm not sure we'd ever see.

Excellent point - definitely should not be in the critical path of anything, will remove those triggers.

Instead, maybe we can run it regularly (daily?) via cron and alert us if it fails?

I like this better. Have we established a notification pattern elsewhere? I have used Datadog CI before - I don't think we have that set up yet, but once it is, we can set a CI Monitor to tell us things we want to know.

Have we established a notification pattern elsewhere?

Sort of, we do issue some Sentry messages like this: https://github.com/pypi/warehouse/blob/fec156fdaa6d81dd33615f926356ae39f2ee6166/warehouse/ip_addresses/models.py#L89
I think that works fairly well? But definitely is made easier by the fact that we already have a Sentry integration present there.

... the fact that we already have a Sentry integration present there.

Yeah, that's during runtime, and bootstrapped the Sentry config already. I think with the schedule changes we can ship this, and figure out notification out of band.


Additional identify filters: by location obscurity, location accuracy and observation license

On the Identify page, there are some Filters, I'd like to suggest filters for:

obscured location - any/yes/no
location accuracy - < Xm
observation licensing

I want to help out with identifications, but I'm not going to volunteer my time to contribute identifications where the observation is not open licensed (I'd like to filter out, all right reserved, potentially also the non-commercial observations).
Same goes for obscured locations, these are less useful for me as a data consumer, so I'd like to be able to focus on helping with identifications that are more useful when the have a location and that location is < 100m in accuracy. To do this I want to filter these out.
compared to the current options:

Thanks for the ideas, Andrew, but we'd prefer that feature requests like this go through the Forum. For more guidelines for contributing via Github, please see https://github.com/inaturalist/inaturalist/blob/master/CONTRIBUTING.md

Sorry my bad. I normally only read the CONTRIBUTING guide if I'm going to submit a PR.
If you're finding you're still getting a lot of feature requests as issues, if there was an ISSUES_TEMPLATE with a note about using the forum I would have noticed that.


Bug: Cannot find module '@kinde-oss/kinde-auth-nextjs/components' or its corresponding type declarations

Prerequisites

[X] I have searched the repository’s issues and Kinde community to ensure my issue isn’t a duplicate
[X] I have checked the latest version of the library to replicate my issue
[X] I have read the contributing guidelines
[X] I agree to the terms within the code of conduct

Describe the issue
I used the document at https://kinde.com/docs/developer-tools/nextjs-sdk/ to set up my next.js project. However, I encountered a typescript issue mentioned in the title.
Library URL
https://github.com/kinde-oss/kinde-auth-nextjs
Library version
1.9.1
Operating system(s)
macOS
Operating system version(s)
macOS 14.1.2 Chrome Version 121.0.6167.139
Further environment details
No response
Reproducible test case URL
No response
Additional information
No response

Sorry, my mistake, I should install v2 from npm


ParquetInputFormat.getFooters() should return in the same order as what listStatus() returns

Because of how the footer cache is implemented, getFooters() returns the footers in a different order than what listStatus() returns.
When I provided url "hdfs://.../part-00001.parquet,hdfs://.../part-00002.parquet,hdfs://.../part-00003.parquet", ParquetInputFormat.getSplits(), which internally calls getFooters(), returned the splits in a wrong order.
Reporter: Mingyu Kim / @mingyukim
Assignee: Mingyu Kim / @mingyukim
PRs and other links:

PR #164

Note: This issue was originally created as PARQUET-241. Please see the migration documentation for further details.

Ryan Blue / @rdblue:
[~skonto], I think that most formats are consistent by accident, but that consistency isn't guaranteed. This would probably make the collect result in Spark more consistent.

Stavros Kontopoulos:
I suspected that...Is there some spec about the semantics regarding Parquet?
Btw I built the parquet 1.7.0 with the patch and didnt seem to have any effect at the spark level (built spark with the new library as well 1.5.1). Does listStatus return the correct order?
I am checking with this code snippet:
import org.apache.spark.{SparkConf, SparkContext}
import org.apache.spark.sql.SQLContext
import org.apache.spark.sql.functions._
import sqlContext.implicits._
sc.makeRDD(1 to 100).sum
case class Record(key: Int, value: String)
val df = sc.parallelize((1 to 100).map(i => Record(i, s"val_$i"))).toDF()
df.registerTempTable("records")
sqlContext.sql("SELECT * FROM records").collect().foreach(println)
df.write.parquet("hdfs://localhost:8020/p2.parquet")
val parquetFile = sqlContext.read.parquet("hdfs://localhost:8020/p2.parquet")
parquetFile.collect().foreach(println)
If you do :
...saveAsTextFile("hdfs://localhost:8020/result3.txt")
...sc.textFile("hdfs://localhost:8020/result3.txt")
and print the results then order is preserved... I was looking at spark code too, i was not expecting much difference...
Thanx!

Ryan Blue / @rdblue:
Building 1.7.0 shouldn't make a difference because this issue is still unresolved. There are specs for Parquet, but nothing that covers this behavior. The order of listStatus probably depends on the order files were created, like most file systems. This would only make it so that the order of footers is the same as the order of the file status array.

Ryan Blue / @rdblue:
Merged #164. Thanks @mingyukim for the contribution!
(And sorry this took so long. Next time, feel free to ping the mailing list to remind us!)

Mingyu Kim / @mingyukim:
Hi @rdblue, can you take a look at my PR or add someone to it for review? Thanks!

Ryan Blue / @rdblue:
What is your reasoning for needing this feature? Is that order useful for some reason?

Mingyu Kim / @mingyukim:
PR submitted at https://github.com/apache/incubator-parquet-mr/pull/164

Mingyu Kim / @mingyukim:
I'm using ParquetInputFormat for my Spark job, and being able to set the precise order is crucial in keeping the order information across persistence. For example, if you sort your data in Spark and write it out to HDFS, part-00001 will have the largest rows. However, if part files are read in a rather arbitrary order by ParquetInputFormat, the order is not guaranteed when I read in those files.
Another thing is consistency. Because of the footer cache, if I call .getSplits() with the same input multiple times, it's only the first call that doesn't preserve the order, while the subsequent calls does (assuming all footers fit in the cache). Since this is fairly easy to fix, I thought it's worth it.
My preliminary commit is at https://github.com/mingyukim/incubator-parquet-mr/commit/eb2b5fc3a0509a6df00cd0d75ad4f5a3ddd3589d. I'll write unit test, clean things up (e.g. bug number is wrong currently) and submit a PR soon.

Stavros Kontopoulos:
Does this affect actual data order shown on spark for example...eg. use collect() on an parquet file as dataframe ... Hdfs seems preserving the order of data...Is order of data out of the scope of parquet?

Mingyu Kim / @mingyukim:
Will do. Thanks for following up on my PR!