Issues post Nats Java Client Upgrade : SEVERE: exceptionOccurred, Connection:

Observed behavior
We upgraded our nats java client from 2.12.0 to 2.15.7 and upgraded nats-server from 2.9.20 to 2.10.12. Upgrades were done in the following order

upgrade apps that run jetstream consumers
upgrade the nats-server
upgrade the apps that publish to jetstream. They also have consumers that responds to nats request-reply.

Step#1 and #2 went fine. But after Step3 we started seeing a flood of "SEVERE" log in the application.log
Apr 19, 2024 4:28:00 PM io.nats.client.impl.ErrorListenerLoggerImpl exceptionOccurred
SEVERE: exceptionOccurred, Connection: 45, Exception: java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
We reverted the nats-server version to 2.9.20 and then these logs stopped appearing. Client versions remain the same.
After 24 hours we started seeing the same "SEVERE" logs without any deployment. Though the applications are functional, we are trying to understand what's causing this issue. The flood of logs is also disturbing the actual log analysis.
Some more details about the project.
Framework: Micronaut 3
Jdk version : 17
Applications of nats: RequestReply, PubSub, JetStream, ObjectStore, leafnode
Expected behavior
no flooded logs as the applications are functional
Server and client version
nats-server 2.9.20
nats-client 3.15.7
Host environment
production
Steps to reproduce
upgrade nats-server to 2.10.12
upgrade nats-client to 2.15.7

any chance you can make a custom ErrorListener and implement
public void exceptionOccurred(final Connection conn, final Exception exp)

to give a stack trace?
Also, where/does Micronaut have an impact, if any. Is there any unusual threading model in the app or any Java 17 features being leveraged.

That looks good, as long as the logger gives a stack trace. Thanks for letting this run, seeing the trace will help immensely.

Hi @scottf
We found the root cause of the IndexOutOfBoundsException. It was coming from one of our DTO Mapper classes. I will share the steps I followed to get the detailed exception logged and why I did not succeed in the first attempt.

adding a custom implementation ErrorListener alone does not bind it with the interface during app start up. @Primary annotation in micronaut framework is intended to inform the dependency injection system, which implementation of an interface to pick. Unfortunately, in this scenario, things are not that straight forward
In-order to override the default errorListener, we need to create a custom implementation of the ErrorListener and provide the custom implementation reference to the io.nats.client.Option class which is an input to the Nats.connect() method. This is a very important step and I missed it, due to which my custom error logger was not working

@io.micronaut.context.annotation.Factory
public class Factory {
  @Bean
  @SneakyThrows
  @Primary
  public Connection connection(ErrorListener errorListener) {
    return Nats.connect(new Options.Builder()
        .server("nats://localhost:4222")
        .errorListener(errorListener)
        .build());
  }

  @Bean
  public ErrorListener errorListener() {
    return new CustomErrorListenerImpl();
  }

}

Thanks for the help. Closing the issue.

Glad you figure it out. Is there anything I could do to make the error listener better out of the box?

Instead of just logging the Exception message, perhaps we could log the stack of exception so that it becomes readable & helpful in debugging the issue. wdyt ?

I did a quick proof-of-concept for detailed exception logging and it looks like this. Code quality can improved, but you get the general idea
@Override
    public void exceptionOccurred(final Connection conn, final Exception exp) {
        LOGGER.severe(() -> supplyMessage("exceptionOccurred", conn, null, null, "Exception: ", exceptionToStackTrace(exp)));
    }

    private String exceptionToStackTrace(Throwable exp) {
        StringWriter sw = new StringWriter();
        PrintWriter pw = new PrintWriter(sw);
        exp.printStackTrace(pw);
        return sw.toString();
    }


[BUG] client. Retries (0) setting retry count is invalid

cmd Init client_retries params default 1,client  setting retry count is invalid，


feat(select): added filter by option group

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

20 of 27 (74.07%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.05%) to 83.993%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/select/src/components/base-select/Component.tsx
5
7
71.43%

packages/select/src/presets/useSelectWithApply/hook.tsx
5
7
71.43%

packages/select/src/utils.ts
10
13
76.92%

Totals

Change from base Build<PHONE_NUMBER>:
-0.05%

Covered Lines:
9856

Relevant Lines:
10819

💛  - Coveralls


add(comment): note for user for the filetype from treesitter

That's a good tip👍
Thank you!

Also, what are your thoughts on renaming the updateevents in config to update_events? It would adhere to the other keys as they are snake case... It would be a breaking change though...

I think we are almost at the point of having a 1.0 release WDYT?

Also, what are your thoughts on renaming the updateevents in config to update_events? It would adhere to the other keys as they are snake case... It would be a breaking change though...

Right, changing that makes a lot of sense. We can keep the old updateevents, and change all the documentation to update_events, accepting either key will be no problem I think.

I think we are almost at the point of having a 1.0 release WDYT?

Yes! Once add_snippets is merged we can probably release 1.0.
For releasing, there's packspec, but it doesn't seem to be ready yet, so for now we should probably just use tags.


MyLoatcion icon with white square

Hey guys.
I have enable myLocation after getMap function,
but no metter how I tried there are always a white square above my location icon.
And I search a lot of snapshots of this plugin and they didn't look like mine.
Is anybody have idea how to solve it ?

Looks like your image is a jpg/gif/png16. You need a png32 icon so the transparency is maintained.

I have the same issue, but only when running my app in the ios simulator. When running on an actual device there is no white square and the location icon works as expected.

This is not the plugin issue. The problem is Google's one.
Please report to here.
https://code.google.com/p/gmaps-api-issues/


[UX] Wrapping client mutate function

Feature Request
Currently, when calling mutate functions users will need to pass generated optimistic response and also supply global cache updates. UX of that approach is quite restrictive and prevents developers from taking things even further.
client.mutate({
     ...devOptions,
     *optimisticResponse: createOptimisticResponse()*
     update: updateFn
})

Proposal
Provide wrapper for client.mutate that will provide extra capabilities:
Variant 1
Example parameters for wrapped mutate function:
client.mutate(...devOptions,
  // Ability to control how offline state is reported
  offlineStrategy: 'failWhenOffline',
  // Add ability to update Query cache automatically
  updateQuery: "getItems",
  // Adds automatic optimistic response based on payload
  generateOptimisticResponse: "getItems")
}

Variant 2
client.mutate(...devOptions,
  // Supplies argument that will be used to build
  // Optimistic response and query Updates
  // Devs will be able to override them by
  // supplying original parameters to function.
  affectedQueries: ["getItems"]
  // Many other arguments possible
}

Function internally can

Check if we are offline online
For offline it will save changes locally
Register update functions that will be triggered to see optimistic responses.
Allow providing sensible defaults and better support for offline that is not limited to Apollo Link/Apollo client API.

Pros/Cons
Pros
Doing this will give us many benefits:

Awesome UX and Offline support out of the box.
Simplify entire implementation (no holding mutations etc.)
Ability to work with other clients depending on the community interest (not only Apollo)
Ability to autogenerate cache updates (update fn) if dev did not supply them
Ability to autogenerate optimisticReponse if it was not supplied
Ability to supply extra parameters. For example, we can check if the client is offline and then return result instantly

Cons

A custom client without the ability to reuse links inside
Offline Link will no longer be sufficient to integrate that with other projects.

Alternatives
Keep existing implementation without the wrapper and provide a toolbox that will generate some parameters:
const offlineArguments = offlineHelper({affectedQueries}
client.mutate(...devOptions, ...offlineArguments)

Dear Community
We would like to know your opinion about this major improvement to Apollo Offline.
We were holding off with making this decision for some time as it will have a major impact on developers. Any opinions feedback and questions are really welcome.
@2WheelCoder
@aarondancer
@amcdnl
@benseitz
@damianesteban
@darahayes
@evereq
@gihrig
@JayKan
@jtmthf
@kmelkon
@KrisKiddell
@michalbrabec
@mikekoopie
@ntziolis
@sebastianmacias
@shonie
@StephenCoady
@xtagon

ping @lterfloth

Totally see the usefulness of this. that said, given the fluid state of graphql ecosystem I would wait a little longer before going down the path of a custom client while still providing a way to reduce boilerplate code by:

Exposing the offlineHelper method as you described for people that wanne do it manually
as well as add an additional medhod to the client ala client.mutateWithOffline() that internally calls the above helper method for people that wanne reduce boilerplate

Any future refactoring necessary for users of this lib would be pretty straight forward should you decide to go down the path fop a custom client lateron.

Offline Link will no longer be sufficient to integrate that with other projects

Can you expand on the ramifications of this? Would it still be possible to integrate things like ember-apollo-client (which wraps Apollo Client) and still use links other than the offline link (such as Phoenix's subscription websocket link)?

@xtagon When wrapping mutate function we will be throwing some of the functionalities before client mutate will be called.
This will mean that from the simple process of adding required links, we going to move to more complex integration that people will need to replicate.
I really like @ntziolis suggestion. We can start with a helper (we have one for optimistic responses and now we can add one for updates. After that, we can create a uber helper for both and even expose a separate method in on the client.

I also think @ntziolis has a great suggestion. Exposing an optional method to reduce boilerplate sounds great.

Done. Documentation updated by @StephenCoady


Exercise on the photodisintegration of ultra-high-energy cosmic rays

About the second item in this exercise, I don't believe it's analytically possible to obtain a Lorentz factor that is independent of the nucleus's mass, due to the binding energy having a more complicated dependence on A. Is there any assumption we should make in this question to get the expected answer? Thank you.

thanks! I changed Show it is independent with Show it is weakly dependent


Why is my experience slowing down when I pay more?

Describe the bug
I recently moved quickly to the highest tier because I love your product.  But now at $200 a month the inference speed has dramatically reduced.   Why? Why if I pay more do I get a worse experience?  PLEASE STOP THIS.  At the speed I am getting now I will have 1) a lot of tokens left and 2) likely move to another platform or build something similar myself.  Please give everyone the same experience or at LEAST give the fastest experience to those who are giving you the most money ...I think this is LOGICAL:)
Link to the Bolt URL that caused the error
https://bolt.new/~/testwe234-uddxae
Steps to reproduce
Upgrade to the 200 pro plan ..wait 30 min of use ...and see your speed decline to a crawl.
Expected behavior
"Provide a clear and concise description of what you expected to happen." LOL  1) I have to wait a full min or two when I ask the Bolt LLM now for a change (this used to be instantaneous before I upgraded) 2) The coding speed is dramatically slower even though I am coding at 7PM at night (no way its due to being over loaded).   You know what you are doing .... but I am the 200/month not the 20.... I PAY for experience... Give high usage users the same or better service... please do not be evil.
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 129
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 86291961,
  "usedJSHeapSize": 80694937,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = ReEnvisionAi
Chat ID = 542cd586e8fb

Additional context
PLEASE GIVE HIGH PAYING CUSTOMERS HIGH QUALITY EXPERIEINCE

@ReEnvisionAi I am escalating this to engineering as this is not expected behavior

Happy to report - the slowdown is now gone for the last several days. I think you have fixed the issue. THANK YOU!


Add log-scaling version of cumulative returns and raw returns plot to returns tear-sheet

Looks like there's a flake8 error. Other than that, LGTM!


⚠ Contemporanea B2B has degraded performance

In 203ea12, Contemporanea B2B ($SITE_CNTMB) experienced degraded performance:

HTTP code: 200
Response time: 11591 ms

Resolved: Contemporanea B2B performance has improved in 09bef29.


Config is not published

Laravel 5.5
Self-Updater 1.4.3
PHP 7.2.11
Config is not published when running command:
php artisan vendor:publish --provider="Codedge\Updater\UpdaterServiceProvider"

Other packages are successfully publishing their configs.
Is it Laravel 5.5 compatible?

Copied manually self-updater.php, now when doing Updater::isNewVersionAvailable('1.2'):

Call to undefined method Codedge\Updater\UpdaterManager::isNewVersionAvailable()

In the readme this
'aliases' => [
        // ...

        'Updater' => Codedge\Updater\UpdaterManager::class, // [2]

should be changed to
'aliases' => [
        // ...

        'Updater' => Codedge\Updater\UpdaterFacade::class, // [2]

I cannot reproduce the issues.
$ -> php artisan vendor:publish --provider="Codedge\Updater\UpdaterServiceProvider"
Copied File [/vendor/codedge/laravel-selfupdater/config/self-update.php] To [/config/self-update.php]
Copied Directory [/vendor/codedge/laravel-selfupdater/resources/views] To [/resources/views/vendor/self-update]
Publishing complete.

... and the files are actually there.
The readme is changed. Thanks for the hint.


Image crash

Description
[error][tid:com.facebook.react.ImageLoaderURLRequestQueue][RCTNetworkTask.m:104] Missing request token for request: <NSMutableURLRequest: 0x600000008aa0> { URL: picture url  }
The url of picture have been checked and is working fine.

Reproduction
Put some Network Images on the Page and reloading the application, you will see this error. But about roughly 3% of the time when loading or reloading the application, we are getting a crash.
Additional Information

React Native version: 0.35
Platform: iOS
Operating System: MacOS

Hmm it seems like you have censored out a key part for reproducing this bug. Can you repro this using rnplay.org, and using an image that you feel okay sharing what it is?

I also experience this when developing the app. I'm not sure if it's somehow related to https://github.com/facebook/react-native/issues/10433

Same on my side. Resource exists if I check the path.

I'm experiencing pretty much the exact same thing today, intermittently.

Also getting this, and it's causing some images not to display. The images were working fine before and the paths have not changed.

I am also getting this error

For me, it happened when other remote image URLs on the same screen were
not responding. Once my image server was responding again, this exception
went away.
On 25 Mar 2017 00:42, "perrosnk"<EMAIL_ADDRESS>wrote:

I am also getting this error
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/facebook/react-native/issues/10553#issuecomment-289174595,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AASE-lns2vbKYE9YPTVdDDy5e_iUFORMks5rpGL2gaJpZM4Kg1G4
.

I just discovered that there was a similar issue with my server as well. Thank you @chrisharrison

I am experiencing this as well. Anyone aware of a fix or workaround for this issue?

Hello guys,
upping this issue as I see it also in my app with an asset picture. I'm using RN 0.39.
If anybody found a workaround it'd be great!
Thanks!

+1 for this issue happened after upgrading to RN 0.44

+1 Same issue happening here after RN 0.44. I'm using https://lorempixel.com images.

Same here. We updated some time ago to RN 0.41. But on Friday it worked, today on Monday we get this error all the time. What is this???

same on RN 0.43.4, random happen

same on RN 0.44, random happen

ping @ide  @javache

+1

Commenting +1 is not useful, those comments will be deleted.
Please provide a sample app that reproduces the issue.

same problem on RN0.38

same on RN 0.44, random happen

+1

A lot of people are +1'ing this issue but how many are coming back to say how they resolved it? As I said earlier, I do not believe this is an RN bug per se, but happens when your app is making errnoneous network errors or a server you are calling is not responding correctly.

hello... I am getting it today for our splash image that has otherwise worked 100%. I am trying to get our foregrounding - backgrounding ux to work well, and am seeing this now. This is a dev build hitting the local packager for a resource that would be baked-in in production. What is extra weird is that it first shows the splash page on resume (because that is baked into the xcode app maybe?) and then says the error about the splash screen. weird. The file really does exist, I can ls it ok. RN 0.45.1 on Mac OS 10.12.5 with node 6.11.1.

same on RN 0.46, random happen

nothting

random happen.reload again

Maybe you have to clear the cache, I was having the same issue.
Not sure if it is related to cache or AssyncStorage but i've reset both and the problem stoped.
Good Luck all

Same on RN 0.39.2, random happen when continues refresh.

This issue is occurring for me as well.
Happened after I did a build clean on iOS.

Started happening to me todays as soon as I started working on a component that has to fetch images dynamically (async). I had static images in my app before and I had never seen this error. This is definitely coming from AJAX requests made by my app.
As other users have noted this is error is not happening all the time but is on and off... When I do a fresh reload of the app, everything works fine. However, as soon as a component that has fetched images via AJAX ALL images have issues rendering, event static ones.

Crash into this with detox.

Also having this now.

Has anyone had any progress with this error?

+1

+1

+1

+100 to this!

I am seeing this error as well now, RN 0.50

Still happening here.

hi guys,
Is there anyone running into this one? This is really random. Sometimes it happens and fail the test. Sometimes it run normally. +9000

my issue was that i was using react-native-swiper and i was generating images dynamically inside it, i just generated these images outside the swiper in a variable, then gave the variable to the swiper as a children and the problem was gone.

I still get the same error on RN 0.53

Issue appeared for me after i updated from 0.51.0 to 0.53.3.

Getting the same error now on 0.52...

Wow, anyone fixed this?

Facing the same issue 😞

For me the issue only when I rapidly refresh the simulator.
This is probably caused be the previous refresh not having a chance to complete the load, and then being aborted.
So it's not a biggy in my case

Facing the same issue  when very slow internet

Same error here "react-native": "0.54.2"


Running the file gives an error

Running the file gives this error. I am a beginner can't get around this. Please help !

My guess is that you are using a version of Python older than 2.6.

Remove the parenthesis before 'format' and add another parenthesis at the end of the whole 'print'.
print("Starting gradient descent at b = {}, m = {}, error = {}".format(initial_b, initial_m, compute_error_for_line_given_points(initial_b, initial_m, points)))

I recommend you update your Python version to 2.6 or newer. I will note this version requirement in the README.


Ship Kyverno resource counts to cortex

Towards: https://github.com/giantswarm/giantswarm/issues/26347
This PR ships the count of each type of Kyverno resource to cortex to help measure the impact of performance improvements and identify potential trouble spots.
Checklist

[x] Update CHANGELOG.md
[ ] Add Unit tests
[ ] Follow Alert structure
[ ] Consider creating a dashboard (guidelines) (if it does not exist already) to help oncallers monitor the status of the issue.
[ ] Request review from oncall area, as well as team (e.g: oncall-kaas-cloud GitHub group).

Tested on :giraffe: and verified metrics in Grafana Cloud


Mark stranded_event_test as flaky

This test is flaking under multiple configs. b/161998689 for more details.

linux artifact build failure is a transient failure ("ERROR:  While executing gem ... (Gem::RemoteFetcher::UnknownHostError)")


Variant type include purchasable flag

Variant type is currently defined as
/** Variant */
export type Variant = Node & {
  __typename?: 'Variant'
  /** The ID of an object */
  id: Scalars['ID']
  /** Id of the variant. */
  entityId: Scalars['Int']
  /** Sku of the variant. */
  sku: Scalars['String']
  /** The variant's weight. If a weight was not explicitly specified on the variant, this will be the product's weight. */
  weight?: Maybe<Measurement>
  /** The variant's height. If a height was not explicitly specified on the variant, this will be the product's height. */
  height?: Maybe<Measurement>
  /** The variant's width. If a width was not explicitly specified on the variant, this will be the product's width. */
  width?: Maybe<Measurement>
  /** The variant's depth. If a depth was not explicitly specified on the variant, this will be the product's depth. */
  depth?: Maybe<Measurement>
  /** The options which define a variant. */
  options: OptionConnection
  /** Product options that compose this variant. */
  productOptions: ProductOptionConnection
  /** Default image for a variant. */
  defaultImage?: Maybe<Image>
  /** Variant prices */
  prices?: Maybe<Prices>
  /** Variant inventory */
  inventory?: Maybe<VariantInventory>
  /** Metafield data related to a variant. */
  metafields: MetafieldConnection
}

The product section on dashboard allows setting variants to purchasable or not. would be a nice small addition to include that in the Storefront API response and in these hooks. In the meantime setting the inventory to 0 works but its not the same.
It's not clear to me what the relationship between the storefront API and the management API is. Looking at https://developer.bigcommerce.com/api-reference/store-management/catalog/product-variants/getvariantbyid it seems that the storefront hooks and the typings it provides do not necessarily try and follow the management API which I think is fine and good as its got a different purpose. The only issue is that the purchasable toggle feature on the UI dashboard that store admins would use is then redundant if only fetching data use the storefront hooks, if that's correct.
Thanks for the time,
Best

Alright nice, I guess they only have it through the management, hopefully they add it to the GraphQL one.


ddev issue template: Put diagnostic information inline into issues and hide under "details" collapsed block

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem?
When reporting an issue with ddev, I need to create a gist and paste link to it.
Describe your solution
Instead will be much easier to paste the full text into the issue creation form, and the issue template will hide (collapse) this text under the <details> block. Here is an example of this: https://gist.github.com/pierrejoubert73/902cc94d79424356a8d20be2b382e1ab
Describe alternatives
No response
Additional context
No response

I'm OK with it. Do you want to do a PR?

I still can't find the way how to insert wrappers to form elements in a template form :(


Fixed #48

The bottom most line is the bug fix

@divyanshumehta Sorry for keeping you waiting. Can you make a small change? Can you keep the if statement within the <div class="col-xs-12 col-md-12 col-lg-12 thread-col"> block since as you can see the line is otherwise padded a little left w.r.t of the reply divs above. Also keep the login prompt message in a p tag.

Let's dive a little deeper now. Instead of making another commit for changes you can squash the previous commits and amend the commit. So follow these steps

git rebase -i HEAD~2 Here 2 refers the no of commits you are going back. You will see a rebase window appear. There replace the pick word with squash beside  the commits. Then you will be prompted to edit the commit message again. You will see some instructions follow them and replace the previous commit messages by a single commit message. Then save it and you are done squashing.

After this make you changes and do git add filename

After that do git commit --amend What this will do is add the added changes in the previous commit itself and you will be again prompted to edit the commit message. I think you don't need to edit the commit message this time so just save it. And you are done

Finally while pushing do a git push -f this time since you have to force push this time as the commit history is changed now, The -f stands for force push.

I hope this will do it. If you face any difficulties please feel free to contact me.

@divyanshumehta Please don't put those files in gitignore. They are needed. Also going with some coding conventions please use two spaces as indentation. You can set your tabs to 2 spaces. This after doing your changes do git add filename, then do a git commit --amend.

Repeat the previous steps again this without a git add since there is nothing to be added just ammend the commit message

i think this is final and good to merge

@divyanshumehta Thanks for your good work on this : smiley: Consider looking into other issues and silving them. You can probably choose an easy or medium difficulty issue this time :blush:

Small steps at a time :stuck_out_tongue_winking_eye: .

@divyanshumehta Also use a different branch in case work on some feature or issue like you did in the last PR.


nitro.compressPublicAssets breaks fonts

Describe the bug

Reproduction
No response
System / Nuxt Info
No response

Thank you for resolving this! :fire:


Error: Database was built with a different version of diamond as is incompatible.

Hi,
I am getting this error in the .log file in mytaxa_scan:
more SBI1554.log
MiGA: /home/ubuntu/Downloads/miga
Project: /home/ubuntu/Prioritized.candidates.2018/Hafnia
diamond v<IP_ADDRESS> | by Benjamin Buchfink<EMAIL_ADDRESS>Licensed under the GNU AGPL https://www.gnu.org/licenses/agpl.txt
Check http://github.com/bbuchfink/diamond for updates.
#CPU threads: 2
Scoring parameters: (Matrix=BLOSUM62 Lambda=0.267 K=0.041 Penalties=11/1)
#Target sequences to report alignments for: 5
Temporary directory: /tmp/MiGA.dJC0vMnl2bQS
Opening the database...  [0.002349s]
Error: Database was built with a different version of diamond as is incompatible.
Thanks,

Hello,
It looks like you're using diamond v<IP_ADDRESS>, which is not supported by MiGA.
You'll need at diamond v0.9.20 or newer.
See: https://github.com/bio-miga/miga/blob/master/utils/requirements.txt#L17


rich quick pick

There are needs for more complex quick pick and asking for input, like do something on focus, validate user input etc. There are:

[x] user input validation and feedback (#1381)
[x] handle item focus/blur (#540, #1979)
[ ] update items based on input
[x] have an option to show label and description in two rows
[x] have an option to include octicons

Idea is to have in addition to showQuickPick and showInputBox something like createQuickPick which could look like this:
interface QuickPick {
  show(): void;
  hide(): void;
  items: Item[]|Thenable<Item[]>
  message: string;
  onDidSelectItem: Event<Item>
  onDidFocusItem: Event<Item>
  onDidBlurItem: Event<Item>
  onDidChangeInput: Event<string>
}

Interesting!  cc @dfinke

Looks good. It'd be nice to be able to customize the dropdown too. The extension install does with readme and install icons.

Hi @jrieken . Is it already available in the Insider build?
I tried to use the Extension API Consumption #1881 and Proposal for separating the vscode tools from the vscode API #970 instructions, but it still result in the same API. Maybe I'm doing something wrong in my package.json?
Thanks in advance.

I just updated to the latest vscode.d.ts (using the new install script) and I don't see it either.

Hi @daviwil ,
It was an error in my package.json. I fixed and now the new API is available:
Update the engine:
	"engines": {
		"vscode": "0.10.7-insiders"
	},

Add the postinstall script
  "scripts": {
    "vscode:prepublish": "node ./node_modules/vscode/bin/compile",
    "compile": "node ./node_modules/vscode/bin/compile -watch -p ./",
    "postinstall": "node ./node_modules/vscode/bin/install"
  },

Update vscode in devDependencies
  "devDependencies": {
    "vscode": "~0.11.0",
    "typescript": "^1.6.2"
  }

And it is working perfectly, thanks @jrieken  :smile:

See also: https://github.com/Microsoft/vscode-docs/blob/master/release-notes/latest.md#api-consumption

Cool!  I didn't know there was an 0.10.7-insiders engine specifically.  I think I didn't understand what I was looking for in the quick pick typings, the API suggestion that Johannes wrote in a comment before is what I was looking for :)  I can see now that the typings are different between 0.10.6 and 0.10.7.  All good now, thanks for the help!

@jrieken Regarding the "update items based on input" story that got removed, is there an alternative for this? It would be useful to allow the user to enter some custom text if none of the options suffice.

We are tracking that in #426

allowing to have splitter in the list would be useful.

Just to confirm, are these rich quick pick features currently available? I want to create custom keybindings for the quick pick dropdown items and currently can't do something on focus.


Putting a modal dialog in TreeView causes a crash.

Description
When adding a <dialog> element within the contents of a TreeView, and showing the dialog as modal, it will trap the focus to the contents of the dialog, however moving the focus causes TreeView to check where focus is, and assumes the next items to be within the TreeView. This is not the case for Dialogs.
Steps to reproduce

Use a <TreeView>.
Add a <dialog> in the contents of the TreeView and call .showModal()
See an error Element is not a treeitem.

Version
v36.3.1
Browser
Chrome, Safari, Firefox, Edge, iOS Safari

@keithamus are you running into a crash in a particular area of the product that prompted this bug report? Understanding where this is showing up live (if at all) will help with prioritization.

I've just added this issue for tracking https://github.com/primer/react/pull/4013, which is an attempt to split out the dialog work in https://github.com/primer/react/pull/3840. I discovered the crash in https://github.com/primer/react/pull/3840


Error while building for android

I'm experiencing the following problem during compilation for android:

"FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring root project 'android'.
Could not resolve all dependencies for configuration ':_debugCompile'.
Could not find any version that matches io.smooch:core:latest.release."

The same thing happens with the ui part of library. I also tried to change 'latest.release' to diffirent versions, still no success.
Can you please help me?

Can you please try the newest plugin version to see if the problem persists?
Thanks.


Issues with Nested Flow

If you try to drag the nested flow and drop it onto itself it throws error.
If you try to drag existing step on canvas onto the nested flow it throws error.

@michaelmarcuccio To be honest I do not like the nested flow at all. It was introduced to allow parallel lanes to converge on a single child. I am making more fundamental changes to allow this behavior. Is this the purpose you are trying to use the nested flow?

yeah pretty much, but I would also like to be able to have a list of pre-existing flowcharts in my palette menu and be able to drag them into a flowchart as a nested flow. Essentially a flowchart template step that pulls in multiple steps as a big group from a previously created flowchart. I haven't tried this yet, so I don't know if this is currently possible or not, though. There may be better options than what I mentioned for the same functionality.

@michaelmarcuccio Got it. Sounds like a nested flow would actually be the right approach based on the use case you described. I will take a look at this tomorrow then.

@michaelmarcuccio I spent a while looking at this and it became too complicated to move steps between canvases so for now I wont be fixing this in the current model. I will keep your use case in mind during the v2 release as things get reworked however.

Is there a way to prevent moving steps into the nested flow/moving the nested flow into itself? The bug occurs before the "canDrop()" method, so I cannot prevent drops on the flow. I do not necessarily want the capability to move steps between canvases, just want to stop the ability of accidentally trying to thus causing an error.

Sorry to bring this up again, but now after using nested flows for looping, we tend to have pretty much every step in a flow in or around a nested flow. Not being able to drag steps between normal canvas to nested canvas and vice versa is pretty rough on the user experience. Do you think this is possible to implement with the current design of everything? I could potentially work on implementing this in the library if I can get some extra time soon and wondering if you had any info on this as you looked into it earlier.


build: Upgrade DF to 36.0.0 and arrow-rs 50.0.0

Which issue does this PR close?

Closes #56.
Rationale for this change

What changes are included in this PR?

How are these changes tested?

Yea

I think we should wait for 36.0.1?

Just curious, what is so interesting in 36.0.1? 🤔

I think @andygrove encountered circular dependency issue while releasing 36.0.0. So there is 36.0.1 after fixing the issue.

Looks like 36.0.1 is abandoned. Shall we move forward with this PR?

Sounds good to me.


"decline an transaction"

removed typo "declined-and" and "decline and" to
"declined-an" and "decline an" to

Thanks for the PR @ColdestDay. Seems like your editor striped the whitespaces. Can you update the PR to only include the typo changes


Layer list doc

Updated LayerList documents
Adding in new ability to add detailed markdown doc to the beginning of an api doc allowing the automate markdown at the end.  Avoids large details in js files.

@wnordmann isn't docs/LayerList.html a generated file that should not be in github?

Coverage increased (+0.003%) to 70.705% when pulling 33e71255a92fe12e563e6ed7139ffe9084e1372a on layerListDoc into c36a3faed4b058f8e7b0a8946020318929b27f45 on master.

Coverage increased (+0.003%) to 70.705% when pulling 957a12c4907936a3a875b90cd4e12c0dcb9e5a96 on layerListDoc into c36a3faed4b058f8e7b0a8946020318929b27f45 on master.


Validating CSIP14

There are 2 issues with validating the CSIP14 requirement:

The validator does not check if the agent's name is empty
The validator does not check if the agent's name is missing

This can be seen when testing rule 1, packages "mets-xml_metsHdr_agent_name_empty" and "mets-xml_metsHdr_agent_name_element_missing" from testCase.xml

Looks good
Test
eark-validator /eark-test-corpus/eark-ip-test-corpus/corpus/CSIP/CSIP14/invalid/mets-xml_metsHdr_agent_name_empty

Result prepatch
Fail: No entry for CSIP14
Fix result
Pass: Rule reported correctly.
[
    {
        "rule_id": "CSIP14",
        "severity": "Error",
        "location": {
            "context": "/mets:mets/mets:metsHdr/mets:agent[@ROLE = 'CREATOR']",
            "test": "count(mets:name) = 1 and mets:name != ''",
            "description": "/*[local-name()='mets' and namespace-uri()='http://www.loc.gov/METS/']/*[local-name()='metsHdr' and namespace-uri()='http://www.loc.gov/METS/']/*[local-name()='agent' and namespace-uri()='http://www.loc.gov/METS/']"
        },
        "message": "The agent element MUST have a child name element that records the name of the software tool used to create the IP."
    }
]

CSIP14 The validator does not check if the agent's name is missing
Test
eark-validator /eark-test-corpus/eark-ip-test-corpus/corpus/CSIP/CSIP14/invalid/mets-xml_metsHdr_agent_name_element_missing

Result prepatch
Fail: No entry for CSIP14
Fix result
Pass: Rule reported correctly.
[
    {
        "rule_id": "CSIP14",
        "severity": "Error",
        "location": {
            "context": "/mets:mets/mets:metsHdr/mets:agent[@ROLE = 'CREATOR']",
            "test": "count(mets:name) = 1 and mets:name != ''",
            "description": "/*[local-name()='mets' and namespace-uri()='http://www.loc.gov/METS/']/*[local-name()='metsHdr' and namespace-uri()='http://www.loc.gov/METS/']/*[local-name()='agent' and namespace-uri()='http://www.loc.gov/METS/']"
        },
        "message": "The agent element MUST have a child name element that records the name of the software tool used to create the IP."
    }
]

Test
eark-validator /eark-test-corpus/eark-ip-test-corpus/corpus/CSIP/CSIP14/valid/mets-xml_metsHdr_agent_name_ok

Result prepatch
Pass: No entry for CSIP14
Fix result
Pass: No entry for CSIP14.

Issue solved - https://github.com/E-ARK-Software/eark-validator/pull/48


Incompatible install in Ubuntu 20.04 Beta

I've been contracted to upgrade some legacy systems to Python 3. I know Python 2 is EOL, but I do need to be able to run the old system under a virtualenv while I'm working on it.
These are the steps I expected to work, and the error they caused:
$ sudo apt install python-virtualenv
$ cd ~/Temp
$ virtualenv -p python2 test2
$ cd test2
$ . bin/activate
$ which pip
/home/leon/Temp/test2/bin/pip
$ pip
/home/leon/Temp/test2/lib/python2.7/site-packages/pkg_resources/py2_warn.py:22: UserWarning: Setuptools will stop working on Python 2
************************************************************
You are running Setuptools on Python 2, which is no longer
supported and
>>> SETUPTOOLS WILL STOP WORKING <<<
in a subsequent release (no sooner than 2020-04-20).
Please ensure you are installing
Setuptools using pip 9.x or later or pin to `setuptools<45`
in your environment.
If you have done those things and are still encountering
this message, please comment in
https://github.com/pypa/setuptools/issues/1458
about the steps that led to this unsupported combination.
************************************************************
  sys.version_info < (3,) and warnings.warn(pre + "*" * 60 + msg + "*" * 60)
Traceback (most recent call last):
  File "/home/leon/Temp/test2/bin/pip", line 5, in <module>
    from pip._internal.cli.main import main
  File "/home/leon/Temp/test2/lib/python2.7/site-packages/pip/_internal/cli/main.py", line 10, in <module>
    from pip._internal.cli.autocompletion import autocomplete
  File "/home/leon/Temp/test2/lib/python2.7/site-packages/pip/_internal/cli/autocompletion.py", line 9, in <module>
    from pip._internal.cli.main_parser import create_main_parser
  File "/home/leon/Temp/test2/lib/python2.7/site-packages/pip/_internal/cli/main_parser.py", line 7, in <module>
    from pip._internal.cli import cmdoptions
  File "/home/leon/Temp/test2/lib/python2.7/site-packages/pip/_internal/cli/cmdoptions.py", line 25, in <module>
    from pip._internal.locations import USER_CACHE_DIR, get_src_prefix
  File "/home/leon/Temp/test2/lib/python2.7/site-packages/pip/_internal/locations.py", line 20, in <module>
    from pip._internal.utils.compat import WINDOWS
  File "/home/leon/Temp/test2/lib/python2.7/site-packages/pip/_internal/utils/compat.py", line 29, in <module>
    import ipaddr as ipaddress # type: ignore
ImportError: No module named ipaddr

Dupe with #2068


Make MetricsFactory Sendable

In #109, we likely forgot to require sendability for MetricsFactory. Given that MetricsFactory is accessed through the global MetricsSystem.factory, it clearly must be thread safe.
Modifications

Add sendability requirement to MetricsFactory

Result:
MetricsFactory is sendable and I can remove @preconcurrency from my CoreMetric imports.

The API checker does not understand Sendable, the change is fine -- merging.


ConfigModule.resolveSrcPath prints warning

Issue type:
[x] question
[ ] bug report
[ ] feature request
[ ] documentation issue
nestjs-config version

@nestjs/common+core or other package versions

@nestjs/common:
@nestjs/core:

Excepted behavior
Actual behavior or outcome (for issue)
Replication/Example

ConfigModule.resolveSrcPath(__dirname).load('config/**/!(*.d).{ts,js}', { path: envPath }),

https://github.com/nestjs-community/nestjs-config/blob/8ebfa857feb6be3004e8fda1a4697eda2476c2b0/src/module/config.module.ts#L7-L10
https://github.com/nestjs-community/nestjs-config/blob/8ebfa857feb6be3004e8fda1a4697eda2476c2b0/src/module/config.service.ts#L186-L226
  console.log node_modules/nestjs-config/dist/module/config.service.js:180
    WARNING: Method 'resolveSrcPath' has been deprecated. Please use 'resolveRootPath'

Is there any way else to config the root path?

That's embarrassing... I forgot to add the method to configModule.

What is the different between resolveRootPath and resolveSrcPath? And why not to use app-root-path?

There isn't a difference however I thought maybe people would find the method name misleading similar to the glob pattern example I had in the readme previously.
I made the change because 'root' could be anything for the config module. Could be src could be dist could be package could even be ~/configs or however one decides to organise their application or server. I didn't want the term src in the method name to be confused with just the src directory (like I had done before) so I thought root was a better replacement and to be fair, both methods were incredibly similar so I thought why not merge them and kill off the confusing/misleading method name


fix: HelpCenterArticle typings

I believe the typings are incorrect on the HelpCenterArticle type exposed in index.d.ts.
Fetching a collection with Intercom.fetchHelpCenterCollection("COLLECTION_ID") returns id and title props. But types are declared as it and title
// Returned value from fetchHelpCenterCollection
{"articles": [
{"id": "1234", "title": "Article 1"},
{"id": "5678", "title": "Article 2"}]

Version: 1.1.1
Feel free to close this if I'm out sailing. Have good one :)

I actually found another typing issue in the HelpCenterSection type.
// property articles should be an array of HelpCenterArticle
export type HelpCenterSection = { title: string; articles: HelpCenterArticle };


testing release process with empty commit

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Changes to Oozie site xml to enable email action

This is for enhancement req in #679.
Note: Not tested by creating a new cluster.

anything else required here?

This will be a good feature to have for users. Anything else needs to be done here?

Thanks @vt0r .


Adopt new style guideline for capitalization: "Title Case" titles vs "Sentence case" buttons

TopNav titles should be "Title Case" where every major word (and, for now, every minor word, too) should be capitalized.

Only aware of one English screen that needs to be fixed: https://github.com/SeedSigner/seedsigner-screenshots/blob/dev/en/seed_views/SeedAddPassphraseExitDialogView.png

But buttons should be "Sentence case": only the the first word is capitalized (though proper nouns like "SeedQR" should always retain their capitalization).
There are many buttons that need capitalization fixes.

Some proper noun judgment calls:

"Xpub" always capitalized? I vote no.
"BIP-39 Passphrase"? Probably yes because it's such an important topic to get right.
"Native Segwit" / "Nested Segwit" / "Taproot"? Yes? They are crucial concepts, even if they're not always capitalized elsewhere in the bitcoin world.
"Custom derivation"? No need to always capitalize.

related: https://github.com/SeedSigner/seedsigner-translations/issues/8

Yes, YES, 100%!
Guidelines that are strict and implemented in English will also be picked up by detail-oriented translators where applicable.  While I don't understand Spanish, I'm picking-up that this is getting discussed in that tg group too.  It's helpful as I'll make similar suggestions in French.


Handle NoPassive idp responses

This issue is imported from pivotal - Originaly created at Feb 26, 2019 by Thijs Kinkhorst
EngineBlock currently had partial support for the IsPassive flag/NoPasssive response.
Because it’s not fully complete it cannot be relied o, but more importantly to me, we get quite some ruis in the logs with Exceptions which could have been handled
I researched the current state of support.
When receiving an IsPassive authnrequest, EB:

sends a correct NoPassive response when >1 IdP is connected to this SP (no action possible without user interaction then); ✅
sends a correct IsPassive authnrequest when 1 IdP is connected to this SP; ✅
processes an assertion correctly when this IdP decides to return one; ✅
throws an exception and shows the error screen "Identity Provider error" when the IdP returns a NoPassive response. ❌

The last bullet is incorrect. The correct behaviour is that if EB receives a NoPassive from the IdP, it should similarly send out a NoPassive message to the SP.
One solution is to just drop it and always return NoPassive responses. But that seems wasteful since 3 out of 4 aspects already work.
Therefore I propose to fix this by making point 4 working.

The substatus seems to be missing in the feedback page. (Michiel Kodde - Feb 26, 2019)

EB kan alreeds een "nopassive" SAML reponse sturen en doet dat als het request passive is EN er > 1 IdP gekoppeld is. Dan weet EB dat hij geen passive kan doen omdat er user interactie nodig is. Dus stuurt hij nu al correct nopassive terug.

Wat we dus zien in de foutmelding is dat er een request is met isPassive gezet, op een dienst die 1 idp gekoppeld heeft. Wij sturen het door naar de idp, die stuurt ons nopassive terug, wij crashen met exception.
Genoemd in de laatste alinea van de story is de eenvoudigste oplossing: EB aanpassen om gewoon altijd direct nopassive te retourneren op ispassive requests. Dat is een heel eenvoudige code-aanpassing: onderscheid 1 en 2+ bij behandelen ispassive request weghalen.
Alternatieve oplossing is wel meer een feature denk ik.  (Thijs Kinkhorst - Mar 27, 2019)

I'd say go for the simple solution first: always send a NoPassisve is response to a passive request. We won't make anything worse and be more compliant.
Passing the passive request through to the IdP is a feature that needs more thought. (Pieter van der Meulen - Mar 27, 2019)

To research:

We do seem to return nopassive already (when >1 idp), but do we do that correctly?
If the idp supports ispassive, do we do something useful with the response? (Thijs Kinkhorst - Mar 27, 2019)

I researched this issue and these are the conclusions:
When receiving an IsPassive authnrequest, EB:

sends a correct NoPassive response when >1 IdP is connected to this SP;
sends a correct IsPassive authnrequest when 1 IdP is connected to this SP;
processes an assertion correctly when this IdP decides to return one;
throws an exception and shows the error screen "Identity Provider error" when the IdP returns a NoPassive response.

The last bullet is incorrect. The correct behaviour is that if EB receives a NoPassive from the IdP, it should similarly send out a NoPassive message to the SP.
I'm putting this in the icebox however, since it does not seem to happen a lot. (Thijs Kinkhorst - Oct 21, 2019)

Now that this is back on the backlog:

Should I shut the door for IsPassive authnrequests and clean up the partially correct implementation of our support for Passive authentications?
Or should I finalize the support for passive auth? Basically fixing throws an exception and shows the error screen "Identity Provider error" when the IdP returns a NoPassive response.

@thijskh @pmeulen  (Michiel Kodde - Aug 20, 2020)

My latest insight is not in the story text itself but in the most recent comment (sorry for that). That is the desired change, for my part. (Thijs Kinkhorst - Aug 20, 2020)

I have updated the story to my view of what it should be (Thijs Kinkhorst - Aug 20, 2020)

It fails with a message "No assertions in response?". So we were wrong to suggest that the code needed to be moved further down because the check on valid key already fails on this. Placing it at the original proposed location, i.e. just before checkResponseSignatureMethods(), makes it work as expected. (Thijs Kinkhorst - Sep 4, 2020)

The code block moved back to it's original location in https://github.com/OpenConext/OpenConext-engineblock/pull/890 (Michiel Kodde - Sep 7, 2020)


Fix prioritize logic to handle duplicate resources

In the case of deployment units, requests can come in that have the
same resource type requested more than once. I.e., a request can come
in that asks for 300 compute and 400 compute. This fix allows the
prioritization logic to handle such requests in aggregate.

Addresses https://github.com/rancher/rancher/issues/6253


400 bad request on get

curl gives the expected response, whilst ht does not.
$ curl -i http://chaz6.com
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Sat, 06 Feb 2021 12:42:53 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive
Location: https://chaz6.com/

<title>301 Moved Permanently</title>

301 Moved Permanently

nginx

$ ht get http://chaz6.com
HTTP/2.0 400 Bad Request
content-length: 150
content-type: text/html
date: Sat, 06 Feb 2021 12:41:40 GMT
server: nginx

<title>400 Bad Request</title>

400 Bad Request

nginx

Some additional output:-
$ curl -i --http2 https://chaz6.com

HTTP/2 200
server: nginx
date: Sat, 06 Feb 2021 12:49:38 GMT
content-type: text/html
content-length: 4271
last-modified: Tue, 18 Feb 2020 21:09:10 GMT
etag: "5e4c5276-10af"
[..]

$ ht get https://chaz6.com
HTTP/2.0 400 Bad Request
content-length: 150
content-type: text/html
date: Sat, 06 Feb 2021 12:50:33 GMT
server: nginx

<title>400 Bad Request</title>

400 Bad Request

nginx

The difference from the first comment comes from a difference in the handling of redirects and should be fixed by https://github.com/ducaale/ht/pull/19; the second comment has likely the same root cause as https://github.com/ducaale/ht/issues/13 (i.e., handling of HTTP2)

This is now fixed as part of the ht v0.5.0 release. Feel free to reopen the issue if the bug still persists.


Some SIMBL preferences not saved

Howdy,
In mySIMBL 0.5.1, under the SIMBL tab, the two check boxes `Allow load in Xcode 8+' and Allow load in Safari Tech Preview' do not retain their manually unchecked value between runs of mySIMBL. Not a big deal.
Good Luck,
herbs

Currently they're broken. Will be fixed in the next release. Thanks for the feedback.

Should be fixed in 0.5.3


[1170] make specs/travis more readable

Removes deprecation notices highlighted in #1170

I couldnt figure out the simple form deprecation messages; the only place we have def input didn't affect the deprecation message. It may be a bootstrap thing?

Hmmm... I'm not seeing that message at all when I run specs; where does it show up for you?


Bug: s3Sink Cannot upload to s3: RequestError: send request failed

Issue:
caused by: Post "https://<s3_bucket_path_with_filename>.gz?uploads=": dial tcp: lookup <s3_bucket_name>.<s3_endpoint> on <IP>: read udp <IP_A>:<Port_A>->:53: i/o timeout
2023-11-28T13:01:41.140 ktranslate/ [Error] s3Sink Cannot upload to s3: RequestError: send request failed
I was checking online for this issue but found this comment from CpuId "https://github.com/hashicorp/terraform/issues/10354#issuecomment-263026960"

Port 53 and udp here is saying its a dns issue. Best guess is that your dns server is slow so hence the i/o timeout. If running in docker, can you set the --dns flag to your preferred dns provider. For example, --dns=<IP_ADDRESS> to use Cloudflare.


Add .MessagesImplementing() to the docs about message routing

Updates the message routing sample with the missing .MessagesImplementing<T> option.
resolves #593

Thanks Raphael!


Azure IoT Hub Zero Touch Provisioning without the Azure IoT C SDK

Zero Touch Provisioning for Azure IoT Hub using the Device Provisioning Service without the Azure IoT C SDK

Project is discontinued


Add a tutorial to the GridPaint activity

Add a tutorial to the GridPaint activity following tutorial 9 in Sugarizer development tutorial: https://github.com/llaske/sugarizer/blob/dev/docs/tutorial_step9.md
The tutorial:

[ ] Should display a welcome message to explain the activity (could reuse the help message describing the activity in Sugarizer activities List view)
[ ] Should explain usage of each element in the UI
[ ] Should be localized
[ ] Should respect the Sugarizer UI, as explained in tutorial

Fixed in https://github.com/llaske/sugarizer/pull/542/


Test for RepeatDataset

This PR adds the test for the kernel of RepeatDataset.
cc @rachellim @jsimsa

@jsimsa Thanks for your review! The comments are addressed in this commit. Could you have a look when you have time?

@jsimsa This commit removes the internal member variables, and move the code in the helper class to each test to improve the code readability. Could you have a look at the changes? Any suggestions are very welcome.


I encountered some problems when I was using Drill 1.20.2 to connect MySQL database

Hello everyone, I encountered some problems when I was using Drill 1.20.2 to connect MySQL database. When I execute the following SQL statement, an error occurred:
SQL statement as follows:
  SELECT t.name AS apiName, t.param_name AS requestParamName, t.unit_field_name AS unitFieldName FROM (SELECT t1.id AS api_id, t3.api_request_param_id AS id, t1.name AS name, t1.created_by AS created_by, t2.param_name AS param_name, t2.param_type AS param_type, t3.unit_field_name AS unit_field_name FROM mysql11.drillTest.`api_request_param` t2 LEFT JOIN mysql11.drillTest.`api_config` t1 ON t2.api_id = t1.id LEFT JOIN mysql11.drillTest.`api_request_param_unit_assoc` t3 ON t2.id = t3.api_request_param_id) t WHERE t.api_id = '240'
Error message as follows:
  Sql: SELECT `t0`.`name` AS `apiName`, `t0`.`param_name` AS `requestParamName`, `api_request_param_unit_assoc`.`unit_field_name` AS `unitFieldName`
  FROM (SELECT `api_request_param`.`id`, `api_request_param`.`api_id`, `api_request_param`.`param_name`, `api_request_param`.`param_type`, `api_request_param`.`op`, `api_request_param`.`sample`, `api_request_param`.`description`, `api_request_param`.`is_required`, `api_request_param`.`is_public`, `api_request_param`.`create_time`, `api_request_param`.`update_time`, `api_request_param`.`is_deleted`, CAST(`t`.`id` AS SIGNED) AS `id0`, `t`.`name`, `t`.`api_type`, `t`.`request_type`, `t`.`description` AS `description0`, `t`.`return_type`, `t`.`return_limit_num`, `t`.`expire_ttl`, `t`.`is_buffered`, `t`.`buffer_expire_ttl`, `t`.`api_sql`, `t`.`status`, `t`.`created_by`, `t`.`user_id`, `t`.`create_time` AS `create_time0`, `t`.`updated_by`, `t`.`update_time` AS `update_time0`, CAST(`t`.`is_deleted` AS TINYINT) AS `is_deleted0`
  FROM `drillTest`.`api_request_param`
  INNER JOIN (SELECT *
  FROM `drillTest`.`api_config`
  WHERE `id` = '240') AS `t` ON `api_request_param`.`api_id` = `t`.`id`) AS `t0`
  LEFT JOIN `drillTest`.`api_request_param_unit_assoc` ON `t0`.`id` = `api_request_param_unit_assoc`.`api_request_param_id`
  Fragment: 0:0

  [Error Id: c1c179d8-f849-4a84-b798-93bf4dfcd159 on master1:31010]```

This is my storage related configuration:

```  {
    "type": "jdbc",
    "driver": "com.mysql.jdbc.Driver",
    "url": "jdbc:<mysql://<IP_ADDRESS>:31150/drillTest>",
    "username": "xxxx",
    "password": "xxxx",
    "sourceParameters": {
      "keepaliveTime": 0,
      "minimumIdle": 0,
      "idleTimeout": 3600000,
      "maximumPoolSize": 10,
      "maxLifetime": 21600000
    },
  "writerBatchSize": 10000,
  "enabled": true
}```
How do we solve this problem? Thank you!

[Slack Message](https://apache-drill.slack.com/archives/CG5CH5571/p1676601412231049)

Does Drill support multi-table left join queries in MySQL? I have found that the corresponding statement of EXPLAIN PLAN FOR cannot be executed in MySQL.
drill query sql：
SELECT t.name AS apiName, t.param_name AS requestParamName, t.unit_field_name AS unitFieldName FROM (SELECT t1.id AS api_id, t3.api_request_param_id AS id, t1.name AS name, t1.created_by AS created_by, t2.param_name AS param_name, t2.param_type AS param_type, t3.unit_field_name AS unit_field_name FROM mysql11.drillTest.`api_request_param` t2 LEFT JOIN mysql11.drillTest.`api_config` t1 ON t2.api_id = t1.id LEFT JOIN mysql11.drillTest.`api_request_param_unit_assoc` t3 ON t2.id = t3.api_request_param_id) t WHERE t.api_id = '240'

expliain plan for sql：
SELECT
	`t0`.`name` AS `apiName`,
	`t0`.`param_name` AS `requestParamName`,
	`api_request_param_unit_assoc`.`unit_field_name` AS `unitFieldName`
FROM
	(
	SELECT
		`api_request_param`.`id`,
		`api_request_param`.`api_id`,
		`api_request_param`.`param_name`,
		`api_request_param`.`param_type`,
		`api_request_param`.`op`,
		`api_request_param`.`sample`,
		`api_request_param`.`description`,
		`api_request_param`.`is_required`,
		`api_request_param`.`is_public`,
		`api_request_param`.`create_time`,
		`api_request_param`.`update_time`,
		`api_request_param`.`is_deleted`,
		CAST( `t`.`id` AS SIGNED ) AS `id0`,
		`t`.`name`,
		`t`.`api_type`,
		`t`.`request_type`,
		`t`.`description` AS `description0`,
		`t`.`return_type`,
		`t`.`return_limit_num`,
		`t`.`expire_ttl`,
		`t`.`is_buffered`,
		`t`.`buffer_expire_ttl`,
		`t`.`api_sql`,
		`t`.`status`,
		`t`.`created_by`,
		`t`.`user_id`,
		`t`.`create_time` AS `create_time0`,
		`t`.`updated_by`,
		`t`.`update_time` AS `update_time0`,
		CAST( `t`.`is_deleted` AS TINYINT ) AS `is_deleted0`
	FROM
		`drillTest`.`api_request_param`
		INNER JOIN ( SELECT * FROM `drillTest`.`api_config` WHERE `id` = '240' ) AS `t` ON `api_request_param`.`api_id` = `t`.`id`
	) AS `t0`
	LEFT JOIN `drillTest`.`api_request_param_unit_assoc` ON `t0`.`id` = `api_request_param_unit_assoc`.`api_request_param_id`

mysql execute info：


Weird characters displayed in the application GUI

Hi,
when simple-viewer-app is opened, some captions are displayed using weird / incorrect characters:

Used configuration:

Windows 10 version 1709
National settings: Czech
Node.js version: 8.12.0

Not critical issue, unofrtunatelly my current knowledge of Node.js / Electron / TypeScript is not good enough to find the bug and to push a modification.
Regards,
Jan

These are pseudolocalizatized strings that we used for internal development to ensure we have prepared our applications for internationalization.  This should be disabled for the sample applications.
Thanks for the bug report.

Hi Colin,
thanks for your explanation 😄
Jan


User permissions are removed too early in PlayerQuitEvent, causing lag.

User permissions are currently removed using PlayerQuitEvent(priority = NORMAL) in the PermissionsEx.PlayerEventsListener class.
This causes permissions to have to be re-loaded if other plugins call Player.hasPermission() in PlayerQuitEvent using any priority that is higher or equal to NORMAL. Many plugins including NoCheatPlus and some of my own plugins do this, leading the server to be blocked for an unnecessary time every time a player logs off.
The fix is changing the priority of the PlayerQuitEvent in PermissionsEx.PlayerEventsListener to HIGHEST or even MONITOR.

Thanks for giving such a detailed suggestion! When I have time I'll add this -- have you tested the fix locally at all?

I haven't done very detailed testing, all I did was change the priority to HIGHEST and compile that, which seemed to work fine.
The one thing I can think of that needs to be looked into if you decide to use MONITOR is making sure it is called before the one in SuperpermsListener, the one that removes the permission attachment.

I've got it running on HIGHEST priority for about three days now since my last reply, seems to be working just fine.

This is still relevant for the Spigot version of PEX 2.0, so I've fixed it there. Backporting will happen as I have time.


investigate mpi person create/update

Looks like on updating existing person (with id) new entity with new id created, and old record still exists

create / update works correct, issue was open wrongly


Remove unused components and rename page form select

It removes some unused components. That will help make PF5 migration easier.
It also renames the PageFormSelectOption to PageFormSelect - because it was confusing.
A PageFormSelectOption was PageFormSelect that had options object array.
It sounded like PageFormSelectOption was an option you would pass to a PageFormSelect.

LGTM 🚀


Can not load evaluation dataset.

When I run train.py, a ckpt can be successfully trained but evaluation is failed. I find the problem in build_dataloader().
train_set, train_loader, train_sampler = build_dataloader(
        dataset_cfg=cfg.DATA_CONFIG,
        class_names=cfg.CLASS_NAMES,
        batch_size=args.batch_size,
        dist=dist_train, workers=args.workers,
        logger=logger,
        training=True,
        merge_all_iters_to_one_epoch=args.merge_all_iters_to_one_epoch,
        total_epochs=args.epochs
    )

test_set, test_loader, sampler = build_dataloader(
        dataset_cfg=cfg.DATA_CONFIG,
        class_names=cfg.CLASS_NAMES,
        batch_size=args.batch_size,
        dist=dist_train,
        workers=args.workers,
        logger=logger,
        training=False
    )

The param training which is set to True can load data successfully but False cause a mistake.(len(train_loader))！=0，len(test_loader)=0).How to fix it?

It means your test split pkl is empty.

It means your test split pkl is empty.


Unable to ssh to VM

Using the dsub version 0.3.2 and unable to ssh into the VM spun by dsub. Unable to login to the google-pipelines-worker VM via browser (Error: We are unable to connect to the VM on port 22) or gcloud command (port 22: Operation timed out). Could you please look into that? It would be helpful for troubleshooting. Thanks!

Hi @vandhanak !
Are you using the --ssh flag when starting your dsub tasks?
Please check the troubleshooting guide if not.
https://github.com/DataBiosphere/dsub/blob/f7f0ed4b91e661997ec856aa262b457389bb5eb7/docs/troubleshooting.md#ssh-to-the-vm

Hi @mbookman,
Thanks, I hadn't used the --ssh flag when starting dsub. Somehow missed that in the transition to google-v2. Thank you!


What is the difference between quickstart.ipynb and llama_finetuning.py?

What is the difference between quickstart.ipynb and llama_finetuning.py? Is llama_finetuning.py more precise?

@daegonYu quick start notebook make use of HF trainer and llama-finetuning.py uses the training loop provided in utils/train_utils.py, in essence both should have feature parity its just the matter of preference.


Questions regarding current JSON decoding choices

Hello
After reviewing the JSON file format pdf (https://ec.europa.eu/health/sites/default/files/ehealth/docs/covid-certificate_json_specification_en.pdf) I have one question: nam/fn and nam/fnt are both reputed mandatories (Exactly 1 (one) non-empty field MUST be provided) but nam/fn is decoded as optional when nam/fnt is decoded a required, is there a reason for that?

Hi @ygini
The current definition of EUDCC.Name is based on a JSON schema I have downloaded from the EU server which states that there is only one required property fnt (see attached code snippet)
But you are correct that the JSON specification from https://ec.europa.eu/health/sites/default/files/ehealth/docs/covid-certificate_json_specification_en.pdf declares different requirements 🤔
So I think it would be best fitting to change the requirements based on the covid-certificate_json_specification_en.pdf.
Additionally I will try to check if there is a way to find the most current JSON specification requirements for the EU Digital COVID Certificate as most of the links I have stored are no longer reachable to download the JSON specification files 😅
"person_name": {
    "description": "Person name: Surname(s), forename(s) - in that order",
    "required": [
        "fnt"
    ],
    "type": "object",
    "properties": {
        "fn": {
            "title": "Surname",
            "description": "The surname or primary name(s) of the person addressed in the certificate",
            "type": "string",
            "maxLength": 80,
            "examples": [
                "d'Červenková Panklová"
            ]
        },
        "fnt": {
            "title": "Standardised surname",
            "description": "The surname(s) of the person, transliterated ICAO 9303",
            "type": "string",
            "pattern": "^[A-Z<]*$",
            "maxLength": 80,
            "examples": [
                "DCERVENKOVA<PANKLOVA"
            ]
        },
        "gn": {
            "title": "Forename",
            "description": "The forename(s) of the person addressed in the certificate",
            "type": "string",
            "maxLength": 80,
            "examples": [
                "Jiřina-Maria Alena"
            ]
        },
        "gnt": {
            "title": "Standardised forename",
            "description": "The forename(s) of the person, transliterated ICAO 9303",
            "type": "string",
            "pattern": "^[A-Z<]*$",
            "maxLength": 80,
            "examples": [
                "JIRINA<MARIA<ALENA"
            ]
        }
    }
},

Here is the corresponding link to the referenced JSON schema
https://github.com/ehn-dcc-development/ehn-dcc-schema/blob/release/1.3.0/DCC.combined-schema.json#L102

Closing due inactivity. Feel free to re-open the issue at any time.


Autofill on web, while scrolling gets fixed over the screen.

Steps to Reproduce
Visit the link https://sanbox-3adab.web.app/ and autofill your email on the first text input and scroll.
It will get a blue background and get stuck on the screen
Actual results:

Code sample
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    const appTitle = 'Form Autofill Bug';

    return MaterialApp(
      title: appTitle,
      home: Scaffold(
        appBar: AppBar(
          title: const Text(appTitle),
        ),
        body: const MyCustomForm(),
      ),
    );
  }
}

// Create a Form widget.
class MyCustomForm extends StatefulWidget {
  const MyCustomForm({super.key});

  @override
  MyCustomFormState createState() {
    return MyCustomFormState();
  }
}

// Create a corresponding State class.
// This class holds data related to the form.
class MyCustomFormState extends State<MyCustomForm> {
  // Create a global key that uniquely identifies the Form widget
  // and allows validation of the form.
  //
  // Note: This is a GlobalKey<FormState>,
  // not a GlobalKey<MyCustomFormState>.
  final _formKey = GlobalKey<FormState>();

  @override
  Widget build(BuildContext context) {
    // Build a Form widget using the _formKey created above.
    return SingleChildScrollView(
      child: Container(
        padding: const EdgeInsets.all(20),
        child: Form(
          key: _formKey,
          child: Column(
            crossAxisAlignment: CrossAxisAlignment.start,
            children: [
              Image.network(
                  'https://flutter.github.io/assets-for-api-docs/assets/widgets/owl.jpg'),
              Image.network(
                  'https://flutter.github.io/assets-for-api-docs/assets/widgets/owl.jpg'),
              Image.network(
                  'https://flutter.github.io/assets-for-api-docs/assets/widgets/owl.jpg'),
              Image.network(
                  'https://flutter.github.io/assets-for-api-docs/assets/widgets/owl.jpg'),
              Image.network(
                  'https://flutter.github.io/assets-for-api-docs/assets/widgets/owl.jpg'),
              Image.network(
                  'https://flutter.github.io/assets-for-api-docs/assets/widgets/owl.jpg'),
              Image.network(
                  'https://flutter.github.io/assets-for-api-docs/assets/widgets/owl.jpg'),
              Image.network(
                  'https://flutter.github.io/assets-for-api-docs/assets/widgets/owl.jpg'),
              Image.network(
                  'https://flutter.github.io/assets-for-api-docs/assets/widgets/owl.jpg'),
              Image.network(
                  'https://flutter.github.io/assets-for-api-docs/assets/widgets/owl.jpg'),
              Image.network(
                  'https://flutter.github.io/assets-for-api-docs/assets/widgets/owl.jpg'),
              Image.network(
                  'https://flutter.github.io/assets-for-api-docs/assets/widgets/owl.jpg'),
              Image.network(
                  'https://flutter.github.io/assets-for-api-docs/assets/widgets/owl.jpg'),
              Image.network(
                  'https://flutter.github.io/assets-for-api-docs/assets/widgets/owl.jpg'),
              Image.network(
                  'https://flutter.github.io/assets-for-api-docs/assets/widgets/owl.jpg'),
              Image.network(
                  'https://flutter.github.io/assets-for-api-docs/assets/widgets/owl.jpg'),
              Image.network(
                  'https://flutter.github.io/assets-for-api-docs/assets/widgets/owl.jpg'),
              Image.network(
                  'https://flutter.github.io/assets-for-api-docs/assets/widgets/owl.jpg'),
              Image.network(
                  'https://flutter.github.io/assets-for-api-docs/assets/widgets/owl.jpg'),
              Image.network(
                  'https://flutter.github.io/assets-for-api-docs/assets/widgets/owl.jpg'),
              TextFormField(
                autofillHints: const [AutofillHints.email],
                textInputAction: TextInputAction.next,
                // The validator receives the text that the user has entered.
                validator: (value) {
                  if (value == null || value.isEmpty) {
                    return 'Please enter some text';
                  }
                  return null;
                },
              ),
              TextFormField(
                textInputAction: TextInputAction.next,
                autofillHints: const [AutofillHints.name],
                // The validator receives the text that the user has entered.
                validator: (value) {
                  if (value == null || value.isEmpty) {
                    return 'Please enter some text';
                  }
                  return null;
                },
              ),
              TextFormField(
                textInputAction: TextInputAction.done,
                autofillHints: const [AutofillHints.addressCity],
                // The validator receives the text that the user has entered.
                validator: (value) {
                  if (value == null || value.isEmpty) {
                    return 'Please enter some text';
                  }
                  return null;
                },
              ),
              Padding(
                padding: const EdgeInsets.symmetric(vertical: 16.0),
                child: ElevatedButton(
                  onPressed: () {
                    // Validate returns true if the form is valid, or false otherwise.
                    if (_formKey.currentState!.validate()) {
                      // If the form is valid, display a snackbar. In the real world,
                      // you'd often call a server or save the information in a database.
                      ScaffoldMessenger.of(context).showSnackBar(
                        const SnackBar(content: Text('Processing Data')),
                      );
                      _formKey.currentState!.reset();
                    }
                  },
                  child: const Text('Submit'),
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

Logs

flutter analyze
Analyzing flutts...
No issues found! (ran in 1.1s)

Flutter (Channel stable, 3.3.10, on macOS 13.1 22C65 darwin-arm, locale
    en-US)
    • Flutter version 3.3.10 on channel stable at
      /opt/homebrew/Caskroom/flutter/2.8.1/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 135454af32 (4 weeks ago), 2022-12-15 07:36:55
      -0800
    • Engine revision 3316dd8728
    • Dart version 2.18.6
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version
    32.0.0)
    • Android SDK at /Users/bilonik/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google
      Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.74.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.56.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.1 22C65
      darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome
      109.0.5414.87

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Happens on Chrome and Safari / MacOS and Windows

@Bilonik Thanks for filing the issue, I also can see the filled field has blue background but it doesn't slip out of the old position like yours.
https://user-images.githubusercontent.com/104349824/212030410-e5c7d3e7-31f3-433e-9b76-ae7b63c6c7e0.mov
Does it slide out of position when you start scrolling upward? Would you mind providing a recorded video for this issue? Thanks!

@huycozy Sure here is a screen recording,
https://user-images.githubusercontent.com/8235588/212169029-7505120b-4d15-425c-9bae-76b908654f20.mov
To slide out of position, i have added a Navigator.push to the same screen, but it happens with any other router to other screens.

@Bilonik Thanks for the video, now I also can see the exact same behavior. Steps as below:
Steps to reproduce

Click on a field to show a list of suggestion
Scroll up a little bit and will see the light blue background on that field appears, the cursor is behind the text and background.
Press Submit button then scroll the page and will see a filled value and its background are drawn over the page.

The issue is reproducible on the latest stable and master channels. And it affects both canvaskit and html renderers.

Canvaskit
HTML

❌
❌

✅: No Issue ❌: Issue reproduced

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.3.10, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.3.10 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 135454af32 (13 hours ago), 2022-12-15 07:36:55 -0800
    • Engine revision 3316dd8728
    • Dart version 2.18.6
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.73.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.54.0

[✓] Connected device (3 available)
    • SM T225 (mobile) • R9JT3004VRJ • android-arm64  • Android 12 (API 31)
    • macOS (desktop)  • macos       • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)     • chrome      • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[!] Flutter (Channel master, 3.7.0-20.0.pre.26, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.7.0-20.0.pre.26 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f7b444e117 (17 minutes ago), 2023-01-13 03:11:08 +0100
    • Engine revision 8aa26baa9d
    • Dart version 3.0.0 (build 3.0.0-119.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.74.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.56.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

This looks related to https://github.com/flutter/flutter/issues/61132 - we use transition-delay to hide the autofill overlay, but scrolling seems to bypass that. The overlay is then "stuck" for the duration of the delay (or until the input is refocused). Wonder if there's a different way we can hide the overlay?


Transition to AndroidX

We are transitioning our app to AndroidX and I think because we have forked and are using it as a project instead of a library, hover is having issues.
Would you accept a PR that moves hover over to use AndroidX?

Yes, we're waiting for such a transition, but the project hasn't been update for 2 years.


Email regular expressions used are too restrictive

Trying to understand why a newly created secret could not be shared (email not sent), I found two places (there can be more) with regexes, which expect email addresses' TLD to be 4 characters at most. Do they really have to be so restrictive?

No they definitely have to be. We replaced the email validation on signup (with Truemail) a couple months ago. I haven't gotten around to following up with recipient addresses yet so thanks for raising this up.
I have a couple other changes on the go at the moment, but I'll get to this soon.


While integrating the angular 2 version of formio. i got a issue "ERROR TypeError: Cannot read property 'checkConditions' of undefined"

I tried to use "survey" component in Formio. on run the Angular APP i tried to drag the survey component to Form Builder page, it shows this error on console and no questions are visible.
ERROR TypeError: Cannot read property 'checkConditions' of undefined
at eval (DataGrid.js:285)
at arrayEach (lodash.js:516)
at Function.forEach (lodash.js:9342)
at eval (DataGrid.js:284)
at arrayEach (lodash.js:516)
at Function.forEach (lodash.js:9342)
at DataGridComponent.checkConditions (DataGrid.js:282)
at eval (NestedComponent.js:388)
at Array.forEach ()
at TabsComponent.checkConditions (NestedComponent.js:387)
Issue Screencast

Having the same issue. If I attempt to drop an HTML Component in the form builder. I get the same error and
core.js:1542 ERROR TypeError: Cannot read property 'checkConditions' of undefined
    at DataGrid.js:286
    at arrayEach (lodash.js:516)
    at Function.forEach (lodash.js:9342)
    at DataGrid.js:285
    at arrayEach (lodash.js:516)
    at Function.forEach (lodash.js:9342)
    at DataGridComponent.checkConditions (DataGrid.js:283)
    at NestedComponent.js:399
    at Array.forEach (<anonymous>)
    at TabsComponent.checkConditions (NestedComponent.js:398)

I solved this issue temporally by adding custom configuration in the builder config JSON
`

`


FW-527. Port CC1200dk

Why closing this PR? Please re-open so I can go through your code.

Thomas,
I wanted to add just the files related to the cc1200dk and not those of
silabs-32wg.
I just did another pull request.
Regards
2016-08-10 17:49 GMT+02:00 Thomas Watteyne<EMAIL_ADDRESS>
Why closing this PR? Please re-open so I can go through your code.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/openwsn-berkeley/openwsn-fw/pull/279#issuecomment-238910565,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKY91C6VPRelM1grjNwreXZbSqy7zNmNks5qefLvgaJpZM4JhLuu
.

--
Jonathan Muñoz
PhD student at Gridbee Communications & INRIA Paris
+33 (0) 6 59 05 93 83

sounds good. It's a good idea to add a description of wat the PR is, and a comment if you decide to close it.


CNN Max Pooling

Is there an easy way to add max pooling to the CNN layer in the same vein as "flatten"? If not, this would be a great feature! I'm on a tight deadline and would appreciate any help with this.
Thank you so much for this amazing project!

@AlexKuhnle can chime in but essentially need to create a small layer class and register it using
tf.layers.max_pooling2d(inputs=x, pool_size=[size, size], strides=stride)

Added a Conv2d layer (https://github.com/reinforceio/tensorforce/blob/master/tensorforce/core/networks/init.py#L24). Hope that helps.


feat: Fullfill the page security.md

Hello,
we try to add our contribution to setup with a bit of information the page security.md.
The informations are taken from evmos/cro/juno documentation with the adeguate corrections in name of binary and chain-id.
It could be improved further, but we think that the source documentations are well done, so it's a good point to start.
Hope you'll apreciate it
Wookie

Added commit lint

corrected all markdown errors

had to fix a bit of old commits subjects but now should be all correct. There is still commit c9ab9ba without lint, should I fix it also?

@StakeandRelax-Validator Thank you very much for your input, we really appreciate it.
From what I see, the git commits history is not clean, but what I can suggest, if you agree, is that I squash & merge in one commit your work on main. This will solve the history problem as well as potentially the commit messages.

@amimart need your approval.


Show prev and next post in content

LoadPage in content processor needs a content of "current list" as well as "index of this page" in a fast way so it can
populate these entities
May be a single "allPosts" call is needed once?

Let us NOT support custom ordering - not really big deal tbh and not os valuble.
very rarely will user want to see all my posts in a non default order (ie default = reverse created)


issue in installing, WslRegisterDistribution failed with error: 0x8007023e Error: 0x8007023e {Application Error}

Windows Version
22H2 19045.4651
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
5.10.16
Distro Version
24.04
Other Software
Docker Desktop
Repro Steps
.
Expected Behavior
.
Actual Behavior

C:\Users\ali>wsl.exe
Windows Subsystem for Linux has no installed distributions.
Distributions can be installed by visiting the Microsoft Store:
https://aka.ms/wslstore

C:\Users\ali>wsl --install
Copyright (c) Microsoft Corporation. All rights reserved.

Usage: wsl.exe [Argument] [Options...] [CommandLine]

Arguments for running Linux binaries:

    If no command line is provided, wsl.exe launches the default shell.

    --exec, -e <CommandLine>
        Execute the specified command without using the default Linux shell.

    --
        Pass the remaining command line as is.

Options:
    --cd <Directory>
        Sets the specified directory as the current working directory.
        If ~ is used the Linux user's home path will be used. If the path begins
        with a / character, it will be interpreted as an absolute Linux path.
        Otherwise, the value must be an absolute Windows path.

    --distribution, -d <Distro>
        Run the specified distribution.

    --user, -u <UserName>
        Run as the specified user.

Arguments for managing Windows Subsystem for Linux:

    --help
        Display usage information.

    --install [Options]
        Install additional Windows Subsystem for Linux distributions.
        For a list of valid distributions, use 'wsl --list --online'.

        Options:
            --distribution, -d [Argument]
                Downloads and installs a distribution by name.

                Arguments:
                    A valid distribution name (not case sensitive).

                Examples:
                    wsl --install -d Ubuntu
                    wsl --install --distribution Debian

    --set-default-version <Version>
        Changes the default install version for new distributions.

    --shutdown
        Immediately terminates all running distributions and the WSL 2
        lightweight utility virtual machine.

    --status
        Show the status of Windows Subsystem for Linux.

    --update [Options]
        If no options are specified, the WSL 2 kernel will be updated
        to the latest version.

        Options:
            --rollback
                Revert to the previous version of the WSL 2 kernel.

            --inbox
                Only update the inbox WSL 2 kernel. Do not install WSL from the Microsoft Store.

            --web-download
                Download the most recent version of WSL from the internet instead of the Microsoft Store.

Arguments for managing distributions in Windows Subsystem for Linux:

    --export <Distro> <FileName>
        Exports the distribution to a tar file.
        The filename can be - for standard output.

    --import <Distro> <InstallLocation> <FileName> [Options]
        Imports the specified tar file as a new distribution.
        The filename can be - for standard input.

        Options:
            --version <Version>
                Specifies the version to use for the new distribution.

    --list, -l [Options]
        Lists distributions.

        Options:
            --all
                List all distributions, including distributions that are
                currently being installed or uninstalled.

            --running
                List only distributions that are currently running.

            --quiet, -q
                Only show distribution names.

            --verbose, -v
                Show detailed information about all distributions.

            --online, -o
                Displays a list of available distributions for install with 'wsl --install'.

    --set-default, -s <Distro>
        Sets the distribution as the default.

    --set-version <Distro> <Version>
        Changes the version of the specified distribution.

    --terminate, -t <Distro>
        Terminates the specified distribution.

    --unregister <Distro>
        Unregisters the distribution and deletes the root filesystem.

C:\Users\ali>wsl --install -d Ubuntu
Installing: Ubuntu
Ubuntu has been installed.
Launching Ubuntu...

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x8007023e
Error: 0x8007023e {Application Error}
The exception s (0x
Press any key to continue...

     ```

### Diagnostic Logs

_No response_

deploying WSL2 distributions
ensuring main distro is deployed: deploying "docker-desktop": importing WSL distro "Failed to configure network (networkingMode Nat). To disable networking, set wsl2.networkingMode=None in C:\Users\ali.sharify\.wslconfig\r\nError code: Wsl/Service/RegisterDistro/CreateVm/ConfigureNetworking/HNS/ERROR_UNHANDLED_EXCEPTION\r\n" output="docker-desktop": exit code:<PHONE_NUMBER>: running WSL command wsl.exe C:\Windows\System32\wsl.exe --import docker-desktop \AppData\Local\Docker\wsl\main C:\Program Files\Docker\Docker\resources\wsl\wsl-bootstrap.tar --version 2: Failed to configure network (networkingMode Nat). To disable networking, set wsl2.networkingMode=None in .wslconfig
Error code: Wsl/Service/RegisterDistro/CreateVm/ConfigureNetworking/HNS/ERROR_UNHANDLED_EXCEPTION
: exit status 0xffffffff
checking if isocache exists: CreateFile \wsl$\docker-desktop-data\isocache: The network name cannot be found.


Look into exports section for layers

Depending on labels is too implicit. Users need to explicitly define the export prop name for each layer. This will also give somewhat of a performance boost. This is also important for cases where a typed definition file is not used.

[ ] update react code compiler to use exportName instead of label
[ ] UI for changing export name
[ ] prohibit export names that already exist

This feature is a little problematic to implement now since other exported values such as variants would have to follow this kind of pattern. Layers also already provide this kind of functionality, although the DX around this is a bit off, I think that in practice, exporting labels instead of an explicit export name will be far easier to work with (you can get all the exported prop names just by looking at the layers pane). I did however make a few changes in https://github.com/tandemcode/tandem/commit/827ef20e21db0cded43bf2aab54a68c2c5bc2e1a to reduce some of the confusion around the current export functionality.

All layers names are now auto-generated on insertion (for instances, the label is based on the component)
Layer labels cannot be undefined. This forces all layers to be exported.
Layer labels are no-longer computed.

#2 will cause performance penalties since not every layer may need to be exported. To fix that, there may be a make this layer private checkbox in the properties instead of an exports input.


Need usage example docs

We need some examples on how to use conditionals .

Hi @lakinmohapatra yes there is an example 4 on the use of conditions, in the flow samples section of readme - https://github.com/tebelorg/TagUI#flow-samples
This is the direct link to that sample - (I think it will fail at facebook step, now facebook ask for captcha)
https://github.com/tebelorg/TagUI/blob/master/src/samples/4_conditions
You can type conditions in JavaScript or in natural language. Eg, both examples below can be used -
read some_price_element to item_price
if item_price greater than 21
echo "Price is too expensive - $" item_price

read some_price_element to item_price
if (item_price > 21)
echo "Price is too expensive - $" item_price

In the readme there is also a section with more examples of different conditions -
https://github.com/tebelorg/TagUI#conditions-examples

Thanks for your response.
If we will be using javascript directly , do we need to use any js step ?
Please let me know.

In most cases, there is no need to use js step, as TagUI automatically checks and recognize commonly used JavaScript code. But if TagUI shows an error message for something you are trying to do in JS, you can use js step followed by the JS statement to force it as JavaScript code.
Actually TagUI can be designed in a simpler way to assume anything that is not official steps to be JS code. But I intentionally make it do this checking to try to feedback error in the script before the automation even starts. I find a lot of time can be wasted if we only see the errors during execution. Better to fix whatever is possible before even running.

Closing for now, but do reopen if you run into anything.
Wish you have fun using the tool for web automation!


Image of Project Maintainer in readme.md is broken

The image of Project Maintainer in readme.md is broken and clicking on its source code in readme.md returns an access denied error.

https://media-exp1.licdn.com/dms/image/C5603AQFQjgQVGH77fQ/profile-displayphoto-shrink_400_400/0/1621153995462?e=1646265600&v=beta&t=rBye2Q3S0h5bXjy49WDcKlvmzVPvxs5wFuLERK_vsRg
This link as mentioned in the readme shows access denied. Any other link to the image intended to be there?

You can create any other issue as image of project maintainer is clearly visible in the readme file. I am closing this issue.


UI cannot switch to non preferred language of browser

Select language to Chinese, the browser refereshes, then it still displays in English, because the browser is set to  English as preferred language

Duplicated with #1965, close this one.


Update Question 83 to React Router V6 README.md

Update of Question 83 TOC & Answer to React Router V6 README.md

I think it is fine now kindly check

I will make all the changes.

@Benappiahpoku There are conflicts right now. I will merge once it is updated to Router v6

@sudheerj i will work on it.  Thanks

@Benappiahpoku  Thank you. Let me know once it is resolved.

More questions


Leveraging blockchain and iot for refi and climate actions through celo

article is good to go

Thanks for submitting this tutorial for Celo Sage
Before you hit "Create Pull Request", make sure you have read the Tutorial Contribution Guidelines and reviewed the Sample Tutorial Structure.

[x] My tutorial follows the Tutorial Contribution Guidelines.
[x] The title of the Pull Request matches the title of my tutorial.
[x] I've followed the tutorial template structure.
[x] I've proofread the tutorial for spelling and grammar mistakes.
[x] I've thoroughly explained the code, with inline code comments and text explanations.
[x] I've run a linter & prettifier to format my code blocks.
[x] I've run the tutorial to test it and the code works.

NOTE: We cannot review your Pull Request if it does not meet the standard outlined above.
Reviewers - @joenyzio & @viral-sangani


Update steps on joining Linux to AD

Update docs to mention extra steps for SLES 12 and to also mention quirk with hostname when using realmd.
Added section describing RDNS prereqs.

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

Thanks @slaymaker1907!
#sign-off

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

@ktoliver - Hi again Kristine! Please help merge. Thanks!

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