sst deploy not authenticating with Cloudflare properly

Version 0.0.398 of ion CLI
I'm using the 'Global API Key' for my Cloudflare account, I'm not able to deploy at all
Trying to set KV values during sst deploy step

The Config

Does setting it in the environment not work? https://ion.sst.dev/docs/start/cloudflare/hono/#set-the-cloudflare-api-token

Removing the provider config value for apiKey and just relying on environment variable produces this

I tried removing explicit configuration, still the same issue as outlined in issue description

sst deploy was able to create a KV namespace, but then the rest of the calls failed.
I'm seeing similar API call flake in #ion Discord channel
https://discord.com/channels/983865673656705025/1177071497974648952/1244473373992681572

is there a reason you cannot use the newer api token system? i think we might have implemented some things that need it

What's new and what's not? I've tried both explicitly defining them in the provider object, and just using the environment variables. Can you link the documentation that explains it?

As per https://ion.sst.dev/docs/start/cloudflare/hono/#set-the-cloudflare-api-token
I've set the required cloudflare environment variables in the .env file at the root of my repo, the same level that sst.config.ts is located

It'd be good to have documentation on what permissions SST needs from Cloudflare, so I don't have to use my account's global api key.

Thanks Dax, this will help heaps. I'll let you know if it works for me and we can take it from there.
I've seen others ask about what perms are needed for Cloudflare, maybe you should share in Discord if you haven't already.

Running sst deploy with those exact token permissions yields the same thing....

https://github.com/sst/ion/blob/prodution/pkg/platform/src/components/cloudflare/worker.ts
I've been looking here trying to figure out what might be needed.

Turns out the keys for my PlanetScale database's credentials were wrong, it happened to be the 15th and 16th position in the plainTextBindings passed to Pulumni.

Closing this, thanks for you time.


feat(charts): merge operator-charts and operator-cluster-charts.

Merged operator-charts and operator-cluster-charts, and operator-cluster-chatrs renamed to cluster-operator-charts.
Removed webhook code.
ProxySpec resource type changed from *v1.ResourceRequirements to v1.ResourceRequirements to fix operator update deployments panic when resource is null

Signed-off-by: xuanyuan300<EMAIL_ADDRESS>
Type of change:

[ ] Bugfix
[x] New feature provided
[ ] Improve performance
[ ] Backport patches

What this PR does / why we need it:

Pre-submission checklist:

[ ] Did you explain what problem does this PR solve? Or what new features have been added?
[ ] Have you added corresponding test cases?
[ ] Have you modified the corresponding document?

Codecov Report

Merging #149 (21e07bd) into main (46be6a7) will increase coverage by 13.57%.
The diff coverage is 78.43%.

@@             Coverage Diff             @@
##             main     #149       +/-   ##
===========================================
+ Coverage   62.36%   75.94%   +13.57%
===========================================
  Files           2        5        +3
  Lines         279      291       +12
===========================================
+ Hits          174      221       +47
+ Misses        103       67       -36
- Partials        2        3        +1

Impacted Files
Coverage Δ

shardingsphere-operator/pkg/reconcile/resource.go
25.00% <ø> (-35.08%)
:arrow_down:

shardingsphere-operator/pkg/reconcile/hpa.go
38.23% <38.23%> (ø)

...hardingsphere-operator/pkg/reconcile/deployment.go
92.56% <92.56%> (ø)

shardingsphere-operator/pkg/reconcile/service.go
94.87% <94.87%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Test may pass test cases which should be fail

Problem
Test may pass test cases which should be fail, if test case use assertAnnotated/assertFailure.
Reproduce
Change any test case using assertAnnotated/assertFailure to a wrong case deliberately and execute npm run test.
For example, change the first failure case in test/bananaInBoxRule.ts
template: \` <input type="text" ([ngModel])="foo" name="foo">

to
template: \` <input type="text" [(ngModel)]="foo" name="foo">

This template doesn't violate rule and assert should fail and Chai report test fail. However, Chai report all test passes.
Reason
Chai is work by exception. assertFailure catch the exception, cause Chai didn't detect the failed assertion.
Here is the code snippet: https://github.com/mgechev/codelyzer/blob/master/test/testHelper.ts#L236-L251
Seem like PR #659 broke it.
I'm new to Codelyzer and not sure if it is a bug. If it's not a bug, please close this issue. If it's a bug, I'm pleasure to make a PR to fix it :grin:

Thanks for pointing this out! We'd love to get a PR! :-)


Create components from response / requestBody / paramenters

@walsha2
Just wanted to start off and say that this is by far the best generator I've come across! I want to put in work so that it's more popular and easier to use.
I started working on a PR that would add a CLI to this package, but then realized that this package doesn't generate anything for the components that are declared in the path Items itself, this is a major downer :(
So...

Are you interested in a PR that adds a CLI to the package
Are you interested in a PR that would convert all the schemas declared in pathitems to a reference?

(EDIT)
Well, too late:
https://github.com/tazatechnology/openapi_spec/pull/49

Well, too late

Ha no worries!

Just wanted to start off and say that this is by far the best generator I've come across

Yea I agree 😄. I used the openapi-generator for Dart and it was a mess. So opted to roll my own to better handle the edge cases and nuances of the OpenAPI spec.
On the todo list is better docs and more examples to help advertise this generator. Pretty bare right now. As it goes with OSS, time is always the issue.
I'll try to prioritize this here soon because I genuinely use this repo almost every week to generate client Dart code for a variety of APIs I maintain.


Upgrade to qulice 0.17.5

This is for #837

it was originally for 0.17.3, and I fixed as much things as I could and added todos for going toward latest 0.17.6 and also toward 0.18.x
I used grep and sed to do the fixes on a large scale:

changed headers with grep -r -l "^ \* The MIT License" * | xargs sed -i '1 s/\/\*\*/\/*/'
remove @author and @version with find . -name "*.java" -exec sed -i '/@author/d'

Job #874 is now in scope, role is REV

This pull request #874 is assigned to @krzyk/z, here is why; the budget is 15 minutes, see §4; please, read §27 and when you decide to accept the changes, inform @paulodamaso/z (the architect) right in this ticket; if you decide that this PR should not be accepted ever, also inform the architect; this blog post will help you understand what is expected from a code reviewer; there will be a monetary reward for this job

Codecov Report

Merging #874 into master will decrease coverage by 0.1%.
The diff coverage is 75%.

@@             Coverage Diff              @@
##             master     #874      +/-   ##
============================================
- Coverage     75.27%   75.16%   -0.11%
+ Complexity      972      970       -2
============================================
  Files           220      220
  Lines          4712     4712
  Branches        368      368
============================================
- Hits           3547     3542       -5
- Misses         1010     1013       +3
- Partials        155      157       +2

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/org/takes/rs/xe/XeStylesheet.java
83.33% <ø> (ø)
1 <0> (ø)
:arrow_down:

...a/org/takes/facets/auth/social/XeFacebookLink.java
90% <ø> (ø)
3 <0> (ø)
:arrow_down:

src/main/java/org/takes/rq/RqGreedy.java
87.5% <ø> (ø)
2 <0> (ø)
:arrow_down:

...ain/java/org/takes/facets/fallback/TkFallback.java
50% <ø> (ø)
5 <0> (ø)
:arrow_down:

src/main/java/org/takes/rs/RsWrap.java
85.71% <ø> (ø)
4 <0> (ø)
:arrow_down:

...c/main/java/org/takes/facets/fallback/FbChain.java
92.85% <ø> (ø)
2 <0> (ø)
:arrow_down:

...rc/main/java/org/takes/facets/auth/XeIdentity.java
84.61% <ø> (ø)
1 <0> (ø)
:arrow_down:

src/main/java/org/takes/rq/RqHeaders.java
83.92% <ø> (ø)
0 <0> (ø)
:arrow_down:

src/main/java/org/takes/facets/auth/PsLogout.java
75% <ø> (ø)
3 <0> (ø)
:arrow_down:

src/main/java/org/takes/rs/RsPrettyXml.java
87.5% <ø> (ø)
14 <0> (ø)
:arrow_down:

... and 211 more

Continue to review full report at Codecov.

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

@krzyk I've pushed changes as per your comment, thanks (and I rebased again on master)

@victornoel thanks

@rultor merge

@rultor merge

@krzyk Thanks for your request. @yegor256 Please confirm this.

@paulodamaso good to merge

@krzyk Thanks for the reminder

@rultor merge

@rultor merge

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

@rultor merge

@paulodamaso Done! FYI, the full log is here (took me 20min)

@krzyk According to our QA Rules:

The code reviewer found at least three problems in the code.
Comments were mostly about design problems, not cosmetic issues.

Only two issues were found during code review.
Please confirm that you'll try to find at least three major problems while future reviews.

@ypshenychka Actually three, you missed probably this one: https://github.com/yegor256/takes/pull/874#discussion_r238062328

@krzyk You're right. My bad. I've counted this comment, however I've misinterpreted this answer and thought it was not fixed. Thanks!

@0crat quality good

Order was finished, quality is "good": +20 point(s) just awarded to @krzyk/z

Quality review completed: +8 point(s) just awarded to @ypshenychka/z


It should not fire events when i drag the view to the initial position

When I pull down and then pull up back to the normal position, it fires the refresh event. Maybe user just don't want to refresh in this time.

Hello,
I think it's already implemented with https://github.com/FaridSafi/react-native-gifted-listview/blob/master/GiftedListView.js#L351
The difference between refreshableViewHeight and refreshableDistance is the distance before triggering the refresh

refreshableDistance do not exists anymore?


mypy: Basic typings

Fixes #396

@tony Anything one can do to help you get this ready to be merged and afterwards merged? I would be interested in this.

@SchoolGuy I just need more time 🙏
@kislyuk There seems to be more interest in mypy than just me.  I will continue this over the next few weeks

@kislyuk This is mypy w/ default settings. It should be fine to merge as-is. What do you think?
I will make a second PR based on this with full typings.
cc: @SchoolGuy The PR with annotations won't be until the follow up PR.

Thanks, LGTM


question: ramdisk for runners _work directory

Question:
I'm not sure if this is the correct location for this question, but I was wondering if github considered using a ramdisk for the default runners _work directory? On our own self-hosted runners we get a significant performance increase (our test actions do a lot of IO). It would add more size constraints but maybe it's possible to expose a special directory to the runner.
Virtual environments affected

[ ] Ubuntu 16.04 LTS
[ ] Ubuntu 18.04 LTS
[ ] Ubuntu 20.04 LTS

2 years late on this, but seems the question is not answered even the issue is closed.
For anyone looking for a solution to use your RAM (not necessarily ramdisk) for the _work directory, mount a tmpfs over the _work directory with
sudo mount -t tmpfs -o size=2G _work/

-t defines the mount type, -o defines the size of the mount, we took 2GB for the _work folder from our RAM here. The command is for ubunu/debian based systems, adjust according to your OS (i.e. remove sudo if you're already root). IO speed up is immediate after setup, and also saves your SSD from going bad with constant writes by your pipelines

sudo mount -t tmpfs -o size=20G tmpfs /home/runner/actions-runner/_work


Disable Streamango and Rapidvideo

Went through and disabled the code for streamango and rapidvideo.  Both sites are dead.  Also disabled Kissanime, as the captcha has broken the site for dl.
See issues: #254 and #263
I also fixed gogoanime so it handles quality choice (and fallback qualities) for the default host (cdn).

Close, this is from 8 months ago now.


io.druid

Hi Team,
I just want to know why Maven central hai io.druid API which belong to 0.12.3 version. Do we have any latest API or the package name is changed.
Thanks,
Ashish

Hi, @averma111 . You should try https://mvnrepository.com/artifact/org.apache.druid .

Thanks I got that.

@averma111 You are welcome.


Cleanup consistency of position types in bevy_window

What problem does this solve or what need does it fill?
When interacting with windows in bevy and positions thereof, bevy_window presents the user with quite a variety of units without too much clarity or direction on why:
// From WindowCommands
resolution: (u32, u32), // window resolution
logical_resolution: (f32, f32), // also window resolution
position: IVec2, // window position
position: Vec2, // cursor position
// From Window
physical_cursor_position: Option<DVec2>, // cursor position

Winit behind the scenes works in either Logical or Physical units for sizes and positions.

physical meaning "physical pixels", usually in the form of u32
logical meaning "logical pixels" which are f32 / f64 values and usually a helper type to define sizes before any scaling has been applied.

What solution would you like?
I think it would improve consistency if the end user of bevy was encountered with a similar interface. Either by reexporting winit's definitions or by building some new types better suited for bevy's userspace.
What alternative(s) have you considered?
Keep using native types such as vectors and ints to not clutter the userspace with additional types. Most new users will quickly become familiar with Vec2 / IVec2 so keep using that might be preferable? If yes, I'd prefer all tuples become vectors so that we don't mix them.

Related to #4960


Lighting

The bare minimum programmed in basically just use a global color overlay, mainly for the day/night cycle. As on would expect, this is janky as hell. We need Box2D Lights implemented! They should be implemented in a way so some objects can be pulled from Tiled to automatically have lights (according to day time), while others can have just the effect of lighting.
This is labeled as a bug because what is programmed now was quick, dirty, and absolutely BROKEN!

Has been updated somewhat, but the color blending is too fuzzy right now, and the FadingSpriteBatch has conflicts when trying to fade out with the lighting included


OCR model not being downloaded fully

Environment

OS : macOS Big Sur
Python version : 3.8
Misc. : brainOCR

Getting this error while trying to download OCR model
urllib.error.ContentTooShortError: <urlopen error retrieval incomplete: got only 31204512 out of 83152330 bytes>

FAQ

Windows Support (fairseq)

Could you conduct the following steps then try again?
cd ~/.pororo/misc
rm craft.pt
rm brainocr.pt
rm ocr-opt.txt


Move examples into test dummy app

Remove the examples/ top-level dir that is not currently used, pull those same examples into the test dummy app.
Also remove some unused broccoli-related dependencies.

released in v0.9.3


Feature: Midas Editor

Specifications: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Midas.

I believe this is already covered by https://caniuse.com/#feat=mdn-api_document_designmode Looks like "Midas" is just the code name for Gecko's implementation of this.

That's fair. Might, then, a small note in the document.contentEditable and document.designMode pages be appropriate?


Revert "Tweak iOS animation easing, gesture tweaks"

https://github.com/react-community/react-navigation/commit/296becd5d1491f2c00bae0657a6bfaa199ed2f8f#commitcomment-22192854
PLEASE DO NOT MAKE ANY BREAKING CHANGE ON THE MASTER BRANCH DIRECTLY

Hi there!
Sorry if this affected you.
We need to be able to push things to the master branch to be able iterate quickly.
Most of the time, things will go through PR review in public. In this case, it was a small change and was discussed privately among some members of the core team. The intention was that further review of this change would go through review (aka, UX review, not code review) before we launched the next beta to the public.
The master branch should not be treated as stable.
This change was tested, and this transition duration is done this way to match the default iOS push transition more closely.
The reason that it's 500ms is because the actual duration of the default iOS push transition is 500ms. Even though it seems shorter than that in practice, I took the time and measured this in After Effects, along with the bezier curve.
Generally, unless you're paying extremely close attention, in practice you may not even notice the above change in your app. But the idea is that it makes the animation smoother and more responsive.
This change is a positive one, and there will be more animation / gesture changes coming in the future to align react-navigation more closely with platform default.
Thanks for your concern!

Also, re: the stability of the master branch.
As you have demonstrated with this PR -- reverting is easy.
When we committed the gesture change, we understood that it was breaking, and that it could cause issues.
As I look at the PRs / issues you've personally filed towards correcting the issues introduced there, you've done great work!
Basically, the way that we need to run this project, at this point in it's life, is to move fast and attempt to fix some of the long standing issues with features + user experience. If some of those things happen without extensive enough review and cause some kind of regression, we can take the approach that you've taken previously, which is to accept PRs that fix these issues! This is a good thing. I'd rather push forward, and revert if necessary, then have many things sitting in review for long periods of time and never be merged (we actually have this problem right now, in some cases, with some of the open pull requests).
When we reach 1.0 + stability -- we can run this project a bit more traditionally, with more rigorous testing requirements + code review. The community deserves that, of course. But at the moment, moving quickly is paramount.

One thing that we'd appreciate, however, is constructive PRs.
There's no need to get frustrated about a breaking change that wasn't released. These things happen.
As you mentioned in your commit comment -- you have not tested this change. So you don't actually know if something was broken by it or not.
Instead of reverting as a knee-jerk reaction -- let's make sure we provide test cases, etc for why a revert should happen.
Admittedly -- I could have put more details in that commit as to what it does. I will follow up with some code comments + more changes to iOS animations that explain my reasoning (in a PR) and tag you, if you're curious.

Moving fast shouldn't be the reason not committing via PR, OK?
You can still merge it as fast as your wish, but at lest someone can review it or test it. But now the only thing we can do is to admit it and use it!
On 18 May 2017, at 22:53, Adam Miskiewicz <notifications<EMAIL_ADDRESS>wrote:
One thing that we'd appreciate, however, is constructive PRs.
There's no need to get frustrated about a breaking change that wasn't released. These things happen.
As you mentioned in your commit comment -- you have not tested this change. So you don't actually know if something was broken by it or not.
Instead of reverting as a knee-jerk reaction -- let's make sure we provide test cases, etc for why a revert should happen.
Admittedly -- I could have put more details in that commit as to what it does. I will follow up with some code comments + more changes to iOS animations that explain my reasoning (in a PR) and tag you, if you're curious.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/react-community/react-navigation/pull/1582#issuecomment-302428482, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACeY8pQgUAMb-HTh9t3WQn3ng4DyzCZtks5r7FtugaJpZM4NfUWk.

I'm always using the master branch of this package in my app, this kind of change make me lose the tracking on what's happening on it
Do you still remember the issues you've introduced by your swift moving changes? Animated.timing with speed?
If you made the change via PR, it's really easy to be noticed and revised
On 18 May 2017, at 22:53, Adam Miskiewicz <notifications<EMAIL_ADDRESS>wrote:
One thing that we'd appreciate, however, is constructive PRs.
There's no need to get frustrated about a breaking change that wasn't released. These things happen.
As you mentioned in your commit comment -- you have not tested this change. So you don't actually know if something was broken by it or not.
Instead of reverting as a knee-jerk reaction -- let's make sure we provide test cases, etc for why a revert should happen.
Admittedly -- I could have put more details in that commit as to what it does. I will follow up with some code comments + more changes to iOS animations that explain my reasoning (in a PR) and tag you, if you're curious.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/react-community/react-navigation/pull/1582#issuecomment-302428482, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACeY8pQgUAMb-HTh9t3WQn3ng4DyzCZtks5r7FtugaJpZM4NfUWk.

You called this as a knee-jerk reaction, but I take it as a protest
On 18 May 2017, at 22:53, Adam Miskiewicz <notifications<EMAIL_ADDRESS>wrote:
One thing that we'd appreciate, however, is constructive PRs.
There's no need to get frustrated about a breaking change that wasn't released. These things happen.
As you mentioned in your commit comment -- you have not tested this change. So you don't actually know if something was broken by it or not.
Instead of reverting as a knee-jerk reaction -- let's make sure we provide test cases, etc for why a revert should happen.
Admittedly -- I could have put more details in that commit as to what it does. I will follow up with some code comments + more changes to iOS animations that explain my reasoning (in a PR) and tag you, if you're curious.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/react-community/react-navigation/pull/1582#issuecomment-302428482, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACeY8pQgUAMb-HTh9t3WQn3ng4DyzCZtks5r7FtugaJpZM4NfUWk.

Ok.
Again, I'm sorry if this affected you in a negative manner. Part of using the master branch of a repo in your app means that you should a) be locking to a specific commit and b) you should be watching the commits in the repo.
PRs or not -- we can make no guarantees at this point in the project about the stability of the master branch.
My point about constructive PRs still stands. I'm happy to chat about things like this in a constructive manner. PRs with bold text and all caps are not how I like to have conversations.

I'm going to lock this thread.
If you'd like to chat about this further, please feel free to reach out to me on Twitter (@skevy) or Facebook messenger (@skevy on Facebook).


[Request] Add "SkyTorrents"

Hi.
Please add "SkyTorrents" https://www.skytorrents.lol/ to the Public trackers list.
Thank you!

Would be re-added in the next version.

Thanks and HNY!

Is available in v0.0.43.

added in v0.0.43.


Using Fluent FTP to realize continuous transmission

How to achieve breakpoint continuation through FlFuent FTP? Or any good suggestions, thank you！！！

It is natively supported. For both sync and async methods.


added ADC Module to Lizard

Created a module that can read Analogue signals with the ESP32's ADC modules.
Crate ADC with adc = Adc() and read data with adc.read(adc_unit, channel, attenuation). The reading can be stopped with adc.stop()  and the interval delay can be changed with adc.set_delay(value in ms) .
The exact GPIO to adc_channel configurations, attenuation levels and other requirements can be found in the ESP documentation.
Stable State:

ESP works under the usual conditions
ESP continues to work under the usual conditions while reading a signal with the ADC module
ESP continues to work under the usual conditions after reading a signal with the ADC module and the module being stopped.
ESP continues to work under the usual conditions when the reading of a pin failed (invalid parameters for the read or read_raw method).

Commit Messages:

added read with voltage output
added read_raw with bit output
added set_delay
added stop
added docs
added validation
added module in callable modules
changed misc

Feature request: #47

Updated to work with properties. The ADC module is now called like adc = Adc(channel, number[, attenuation]) and the values can be accessed with adc.raw_value and adc.voltage

Changed the attenuation level input to match the attenuation db levels: 0, 2.5, 6 & 11


longest common substring between 2 string

Enter your question -
Q. length of longest common substring between 2 string in java?
input  = 1. "sunil " 2. "sunita"
output= 4 (suni)
Enter link to the question(if question belongs to any online platform) -
NA
Tags for the question(eg - Array, Basic, Stack, etc.) -
String

@SarthakKeshari  assign me this issue.

@iamsunil25,
I wish to reform this question and will put it under admin-choice

@iamsunil25, I wish to reform this question and will put it under admin-choice

okk

@iamsunil25,
I wish to correct myself instead of admin-choice it would be appreciation tag.

@iamsunil25, I wish to reform this question and will put it under admin-choice

@iamsunil25,
Updated question
Enter your question -
Q. length of longest common substring between 2 strings permutations in java?
NOTE - Lowercase and Uppercase alphabets will be treated differently
Sample Test case 1
Input -
cat
tackle
Output -
3
Explaination -
Permutations of "cat" are - cat, act, tca, cta, atc, tac
Permutations of "tackle" are - tackle, atckle, ctakle, tcakle, actkle, catkle, etc.
If we see:
1st permutation of "cat" - cat
6th permutation of "tackle" - catkle
We can see longest common substring is "cat" and is of "3" letters
Sample Test case 2
Input -
cat
taCkle
Output -
2
Explaination -
Permutations of "cat" are - cat, act, tca, cta, atc, tac
Permutations of "tackle" are - taCkle, atCkle, Ctakle, tCakle, aCtkle, Catkle, etc.
If we see:
1st permutation of "cat" - cat
6th permutation of "tackle" - Catkle
We can see longest common substring is "at" and is of "2" letters. Since 'c' and 'C' will be treated differently.
Enter link to the question(if question belongs to any online platform) -
NA
Tags for the question(eg - Array, Basic, Stack, etc.) -
String

@iamsunil25,
Kindly add your solution to "String Handling" folder.
Also mention "(admin-choice)" word in your filename and PR title.
Deadline - 06/10/2021

Please assign this issue to me.


New editor base on ScintillaNET

New features:

Highlight XML in editor
Folding XML elements
Highlight text at search
Fixed some finding bugs
Fixed tabs tooltip

Peter, Can you see why build is fail?

@Gankov   Ignore the AppVeyor build failure for now.  I've not finished configuring it.  It is currently auto detecting which tests to run and it is causing a problem.  Once setup every build will archive nuget and build packages.
Travis ci seems to be having the following problem again
/usr/lib/mono/4.5/Microsoft.Common.targets: error : Tool exited with code: 1. Output: Error: Invalid ResX input.
Position: Line 338, Column 5.
Inner exception: Requested value 'Del' was not found.


Update to Go 1.12

We're probably going to skip Go 1.12 to wait for 1.12.1 with, hopefully, fixes for these:
https://github.com/golang/go/issues/30398
https://github.com/golang/go/issues/30464


Image onLoad callback

Is your feature request related to a problem? Please describe.
I have a problem with calculating the time when image was totally loaded.
Describe the solution you'd like
Add additional property onLoad and use it as a callback in this.bgImageRef.onload.
Describe alternatives you've considered
Also you can pass all non registered properties to img tag, so the user could pass onLoad property which will be transmitted to img, but it is not safe.
Additional context
Maybe you had the same issue and will propose some workaround.

Hey, sorry für the late response - I think an onLoad callback would be the best. I will have a look at this in the next few days.

Hey, sorry für the late response - I think an onLoad callback would be the best. I will have a look at this in the next few days.

The latest version v3.3.0 now has an onLoad callback you can use.


Conversional

How to handle this scenario? Should I handle it myself or is there any provision in the package?
user: /test
bot: enter param1
user: hello
bot: enter param 2

Figured it out. It would be better to provide some example for askUser plugin


Notes: Submit notes with cmd+enter

I am used to sumitting a comment form with cmd+enter (mac) from other apps (eg here on github issues).
This would be a nice addition to the notes input (textarea id="new-comment-input").

Good suggestion, I just added this


Add interfaces for activating across thread boundaries

Add interfaces that make it easy to send activations across thread
boundaries.
The approach is to give Activations an MPSC channel which it checks
for activation requests on every call to advance. Other threads can
acquire a handle to the send side of this object via SyncActivations
or SyncActivator, which are careful to also call unpark on the
associated worker thread for easy interop with Worker.step_or_park.
@frankmcsherry I created more interfaces than we actually need just to see how it feels–and I think it feels pretty good! My WIP @MaterializeInc branch only uses SyncActivator, so we could potentially inline the SyncActivations struct, but the symmetry with Activator and Activations seemed like it might be nice. We could also expose the underlying SendError directly, instead of replacing it with a SyncActivationError.

Looks nice! Is it ready to go from your point of view?

Yessir!


Fixing em dash usage

Re: https://github.com/docker/docker.github.io/issues/9217
Signed-off-by: Adrian Plata<EMAIL_ADDRESS>

Deploy preview for docsdocker ready!
Built with commit 4b35e8d9adc8b3a0132bdc9d00206d85f117cf2b
https://deploy-preview-9223--docsdocker.netlify.com


[Feature] Remember me

Hello. Thank you for the great project.
Is there any way to make checkbox remember me in the login page?

Hi, @funivan. Thanks! Yes, I already think about it but didn't have time yet.

Done. @funivan Can you test this feature in feature-remember-me branch?

Now in master branch.

@corpsee thanks


feat: add reporting of visible range

This introduces visibleRange and unobstructedVisibleRange properties on ListController which can be used to query range of visible item indices for each SuperSliverList.
Fixes https://github.com/superlistapp/super_sliver_list/issues/23

@knopp Thanks for your effort in adding this feature
so I can almost replace the Google scrollable_positioned_list library
Now I can get the first visible items to update the side alphabet bar
I will replace itemPositionsListener by ScrollController listener
  widget.itemPositionsListener.itemPositions.addListenerWithCloser(this,
          () {
        if (widget.itemPositionsListener.itemPositions.value.isNotEmpty) {
          final double scrollableItemIndex =
              _getFirstScrollableItem().toDouble();
          if (scrollableItemIndex != _currentSliderValue) {
            setState(() {
              _currentSliderValue = scrollableItemIndex;
            });
          }
        }
      });

I will let you know if I was able to replace it successfully
Thanks again for your effort


Insert Text from drop down?

How can i insert text from drop down? and also how i use external js

You can add external Summernote JavaScript plugins by adding into SUMMERNOTE_CONFIG
Example: https://github.com/summernote/django-summernote/blob/2d350ace5ab85e75a1220ebfe7ae07c3d889272b/djs_playground/settings.py#L137-L142


Open source licensing

Hello, I am refering this repo to implement pointer generator with PyTorch for my project. Since there is no LICENSE file, I am not sure if it is okay to use and edit your code. Can you give any guidelines for it?

Hi, sorry about the belated reply.
I added a LICENSE file to the repository.
Hope this helps and hope it's not too late!


iOS system task bar does not display correctly on physical device.

Steps to Reproduce
main.dart.zip
iOS physical device will not display the system task bar in black.
The color changes as expected on iOS emulators using the AppBar.brightness = Brightness.light. However, no matter how one attempts to change the color on the physical device it always displays in white. I've attempted to set the task bar color using the method outlined in the docs (AppBar.brightness = Brightness.light). I've attempted to simply set the theme of the app to a color which uses a dark accent color by trying ThemeData.primarySwatch = Colors.amber and still the physical device only displays in white. I've also tried using the SystemOverlay method which also fails.

Create a new flutter project
Set the AppBar.brightness to Brightness.light

    return Scaffold(
      appBar: AppBar(
        brightness: Brightness.light,
        title: Text(widget.title),
      )...

**Target Platform: iOS **
Target OS version/browser: iOS 13.1.3
Devices: iPhone X
Logs
#0      throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:287:7)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand
(package:flutter_tools/src/runner/flutter_command.dart:532:11)
<asynchronous suspension>
#3      FlutterCommand.run.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command.dart:457:33)
<asynchronous suspension>
#4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:157:29)
<asynchronous suspension>
#5      _rootRun (dart:async/zone.dart:1124:13)
#6      _CustomZone.run (dart:async/zone.dart:1021:19)
#7      _runZoned (dart:async/zone.dart:1516:10)
#8      runZoned (dart:async/zone.dart:1463:12)
#9      AppContext.run (package:flutter_tools/src/base/context.dart:156:18)
<asynchronous suspension>
#10     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:446:20)
#11     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:416:21)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:157:29)
<asynchronous suspension>
#14     _rootRun (dart:async/zone.dart:1124:13)
#15     _CustomZone.run (dart:async/zone.dart:1021:19)
#16     _runZoned (dart:async/zone.dart:1516:10)
#17     runZoned (dart:async/zone.dart:1463:12)
#18     AppContext.run (package:flutter_tools/src/base/context.dart:156:18)
<asynchronous suspension>
#19     FlutterCommandRunner.runCommand
(package:flutter_tools/src/runner/flutter_command_runner.dart:367:19)
<asynchronous suspension>
#20     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:112:25)
#21     new Future.sync (dart:async/future.dart:222:31)
#22     CommandRunner.run (package:args/command_runner.dart:112:14)
#23     FlutterCommandRunner.run
(package:flutter_tools/src/runner/flutter_command_runner.dart:251:18)
#24     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:63:22)
<asynchronous suspension>
#25     _rootRun (dart:async/zone.dart:1124:13)
#26     _CustomZone.run (dart:async/zone.dart:1021:19)
#27     _runZoned (dart:async/zone.dart:1516:10)
#28     runZoned (dart:async/zone.dart:1500:12)
#29     run.<anonymous closure> (package:flutter_tools/runner.dart:61:18)
<asynchronous suspension>
#30     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:157:29)
<asynchronous suspension>
#31     _rootRun (dart:async/zone.dart:1124:13)
#32     _CustomZone.run (dart:async/zone.dart:1021:19)
#33     _runZoned (dart:async/zone.dart:1516:10)
#34     runZoned (dart:async/zone.dart:1463:12)
#35     AppContext.run (package:flutter_tools/src/base/context.dart:156:18)
<asynchronous suspension>
#36     runInContext (package:flutter_tools/src/context_runner.dart:64:24)
<asynchronous suspension>
#37     run (package:flutter_tools/runner.dart:50:10)
#38     main (package:flutter_tools/executable.dart:65:9)
<asynchronous suspension>
#39     main
(file:///Users/jon/Desktop/dev.nosync/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#40     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:303:32)
#41     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)

Analyzing appbartest...

   info • Avoid empty statements • lib/main.dart:63:5 • empty_statements

[✓] Flutter (Channel master, v1.10.15-pre.368, on Mac OS X 10.15.1 19B88, locale en-US)
    • Flutter version 1.10.15-pre.368 at /Users/jon/Desktop/dev.nosync/flutter
    • Framework revision 3cd8c3142c (13 hours ago), 2019-10-31 19:35:52 -0700
    • Engine revision 8ea19b1c76
    • Dart version 2.6.0 (build 2.6.0-dev.8.2 bbe2ac28c9)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/jon/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.2, Build version 11B52
    • CocoaPods version 1.8.3

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

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 40.1.2
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

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

[✓] Connected device (4 available)
    • Jon's iPhone      • a43c511942e827a5caf34b8aee15bfd074cb356b • ios            • iOS 13.1.3
    • iPhone 11 Pro Max • 6A1F9F24-FF8A-4B71-8352-1F307EEE6BC1     • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-13-2 (simulator)
    • Chrome            • chrome                                   • web-javascript • Google
      Chrome 78.0.3904.87
    • Web Server        • web-server                               • web-javascript • Flutter
      Tools

• No issues found!

Hi @jcairo
does this solution solve your issue?

Hi. Thanks for your response.
I'm not seeing how this is different from what I've implemented.
To me it looks like he is saying to set the brightness property on the AppBar which is what i've already done.

Is this a dup of https://github.com/flutter/flutter/issues/41067?

Is this a dup of #41067?

Yup. Didn't see this. Still an issue, not sure why it was closed.


Added Ubuntu 24.04 image to ci.

Why
For https://github.com/roc-streaming/roc-toolkit/issues/634
This adds the Ubuntu 24.04 image
What

Created a new env-ubuntu dir with a Dockerfile for 24.04, copied from 22.04.

Removed clang-11 and clang-12, which are not available.
Added more clang and g++ versions, so that we have a complete set - not necessarily all have to be used for builds.

Updated csv file.

Testing
Ran make.sh script to build image locally.

Thanks for PR!

Could you please also update this page? https://roc-streaming.org/toolkit/docs/development/continuous_integration.html

gcc 10..12 and clang-11..14 are already covered by other ubuntu images (see link above). Let's instead cover only new compiler versions: g++-13 and clang-15 & clang-17.

Let's move latest alias from 22.04 to 24.04.

gcc 10..12 and clang-11..14 are already covered by other ubuntu images (see link above). Let's instead cover only new compiler versions: g++-13 and clang-15 & clang-17.

Sorry, I didn't see the second commit, I see they're already present.
So what I said is relevant only to ci script in roc-toolkit repo, but this PR is OK.

For this PR, only this change is needed:

Let's move latest alias from 22.04 to 24.04.

Let's move latest alias from 22.04 to 24.04.

Done:
76ad933e999defc6a7e0d8f9f8267507f7e8f5e3


CSS new line just between selectors

Input
With this new feature, when I give like this input:
* {
    margin: auto;
    padding: 0;
    border: 0;
}
.container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: block;
}

Expected Output
I'd like to see this output:
* { margin: auto; padding: 0; border: 0; }
.container { position: relative; width: 100%; height: 100vh; display: block; }

#1124

Has been proposed long time ago, but it seems this kind of css formatting only interests old css wolf....
Milenials prefers to use the height of their wide screen because the right part of it is reserved for twitch streaming... 🥇
Fortunately, jonshou saved us by releasing a compact css extension


how to undo kubectl apply ... portainer.yaml

I was playing with portainer in my local k3d cluster.
by follow the document, I installed portainer by applying the following command:
kubectl apply -n portainer -f https://downloads.portainer.io/ce2-16/portainer-lb.yaml
I am new to kubernetes, thus, I am a bit overwhelmed by the yaml file.
silly question is:  how to undo this?  I want to remove portainer from my cluster completely.
And... similar to spam ware and malware,  the official document doesn't contain anything on how to remove it... other than delete docker completely in the closed ticket item.
thanks in advance

@kngharv
Upon running kubectl apply -n portainer -f https://downloads.portainer.io/ce2-16/portainer-lb.yaml installs Portainer in a namespace called portainer.  All you have to do is kubectl delete -n portainer to delete Portainer from the cluster.
https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
Thanks!


Minor fixes in server.py

@pbalm

Hello @OrkoHunter! Thanks for submitting the PR.

In the file src/main/python/server.py, following                are the PEP8 issues :

Line 19:5: E128 continuation line under-indented for visual indent
Line 20:5: E128 continuation line under-indented for visual indent
Line 25:15: E225 missing whitespace around operator
Line 28:1: E265 block comment should start with '# '
Line 29:30: E251 unexpected spaces around keyword / parameter equals
Line 29:32: E251 unexpected spaces around keyword / parameter equals
Line 31:31: E211 whitespace before '('
Line 33:1: E302 expected 2 blank lines, found 1
Line 33:42: E251 unexpected spaces around keyword / parameter equals
Line 33:44: E251 unexpected spaces around keyword / parameter equals
Line 35:43: E211 whitespace before '('
Line 35:80: E501 line too long (85 > 79 characters)
Line 37:1: E302 expected 2 blank lines, found 1
Line 37:37: E251 unexpected spaces around keyword / parameter equals
Line 37:39: E251 unexpected spaces around keyword / parameter equals
Line 39:38: E211 whitespace before '('
Line 39:80: E501 line too long (80 > 79 characters)
Line 40:13: E128 continuation line under-indented for visual indent
Line 40:80: E501 line too long (82 > 79 characters)
Line 42:1: E302 expected 2 blank lines, found 1
Line 48:1: E302 expected 2 blank lines, found 1
Line 49:53: E202 whitespace before ')'
Line 51:1: E305 expected 2 blank lines after class or function definition, found 1
Line 51:40: E261 at least two spaces before inline comment
Line 51:80: E501 line too long (87 > 79 characters)

Here you go with the gist !

You can ask me to create a PR against this branch with those fixes. Submit a review comment as @pep8speaks pep8ify.

@OrkoHunter

Hello @OrkoHunter! Thanks for updating the PR.

In the file src/main/python/server.py, following                are the PEP8 issues :

Line 36:80: E501 line too long (84 > 79 characters)
Line 42:80: E501 line too long (108 > 79 characters)
Line 56:1: E305 expected 2 blank lines after class or function definition, found 1
Line 56:80: E501 line too long (88 > 79 characters)

@pbalm The bot created a PR using autopep8 on my branch with not all but most fixes after the last review comment.

@OrkoHunter Thanks for the fixes :-)


Adding more languages for Tree-Sitter

What problem are you trying to solve?
We are migrating away from ANTLR and rather use Tree-Sitter and Tree-Sitter queries. This PR adds support for the following languages: JavaScript, TypeScript, Go and YAML.
What is your solution?
Our solution is to add the languages in the server, make sure tree-sitter queries can be performed with the languages mentioned above.
What the reviewer should know

We are changing the way we are processing the tree-sitter query. Instead of trying to build an AST element from Rosie, we are just passing the JSON representation of the tree-sitter node to the JavaScript code.
This representation does not contain the content of the code itself. We are adding a helper function to get the code from the start and end position. See getCode in VmContext here
In rosie, the start and end position always starts at 1. This is what the IDE are doing. We are updating the code to reflect this.

Do we still need this line in TreeSitterPatternMatching?

Good catch. I removed it.


fix typo in parameter name from last PR

Summary

Checklist

[x] If code changes were made then they have been tested.

[ ] I have updated the documentation to reflect the changes.

[ ] This PR fixes an issue.
[ ] This PR adds something new (e.g. new method or parameters).
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)

Oh yeah there is a slight typo.


[$500] Chat - Message moves when navigate back from error page

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.38-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4282338&group_by=cases:section_id&group_order=asc&group_id=229067
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Navigate to staging.new.expensify.com
Open any chat
Enter this link with restricted access (https://staging.new.expensify.com/r/6821704960193694
) to the message composer and send
Error page will appear
Click on Back
Hover over the last send message

Expected Result:
The chat page and message send should be stable
Actual Result:
Message moves when navigate back from error page (https://staging.new.expensify.com/r/6821704960193694
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/609de170-86e4-4ad5-9c94-d3f6b9802b6c
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01f6152996f68a9b46
Upwork Job ID:<PHONE_NUMBER>827866624
Last Price Increase: 2024-02-07

This is a super niche bug. I don't think it relates to any of our roadmap priorities. Going to close for now, and we can reassess if any customers actually experience this.


PDF JS Annotation

Attach (recommended) or Link to PDF file here:
sample.pdf
Configuration:

Web browser and its version: 77.0.3865.120 (Official Build) (64-bit)
Operating system and its version: Windows 7
PDF.js version: 2.2
Is a browser extension:

Steps to reproduce the problem:

Make correction to a pdf through adobe acrobat.
Open the pdf through pdf js.

What is the expected behavior? (add screenshot)
When we place the cursor hover the changes made should give a annotation popup for the changes in the exact cursor position.

What went wrong? (add screenshot)
While clicking on this page whatever the changes are the annotation popup doesn't show for the corresponding changes it shows same popup for all changes in the right top corner.

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

The problem here is that some annotations appear to have a rectangle entry that covers most of the page and we use that since we don't use the quad points yet. We should be using that if it is available and forget about the rectangle entry in that case.

Is there anyway to fix this issue?

Yes, quad points are already supported in the core layer since a recent patch, but we do not use it in the display layer yet, which should still be done.

I am trying to get the start and end offset of the annotation. When the annotation is within a single line the offset which i am getting is correct. But, when i try to get offset of multiple line annotation I am getting wrong instead.
Please look into the screenshot:
Start and End offset of the strikeout text is wrong while getting annotation. Instead of getting start and end point of the text i am getting the offset of the canvas layer which cover entire two lines.  Note : Actually the marked start and end points to be get.

Hi, is there any progress on this issue?
Thanks!

Unfortunately not, https://github.com/mozilla/pdf.js/issues/11286#issuecomment-548125140 still holds.

Closing since this is a duplicate of #6811.


Add @munnerz to SECURITY_CONTACTS.md

/hold
(Held until James is actually added to the group)
/kind documentation
/priority important-soon
add @munnerz to SECURITY_CONTACTS.md

/unhold

/test pull-cert-manager-bazel

/lgtm


App not updating after update code

Environment
New project nativescript 8/ angular 11
Describe the bug
After updating the application code, the application is not updated. You have to run "ns run android" again

I have the same issue

Same here

Still not working:
"dependencies": {
"@angular/animations": "~13.2.0",
"@angular/common": "~13.2.0",
"@angular/compiler": "~13.2.0",
"@angular/core": "~13.2.0",
"@angular/forms": "~13.2.0",
"@angular/platform-browser": "~13.2.0",
"@angular/platform-browser-dynamic": "~13.2.0",
"@angular/router": "~13.2.0",
"@nativescript/angular": "^13.0.0",
"@nativescript/core": "~8.2.0",
"@nativescript/theme": "~3.0.2",
"rxjs": "~7.5.0",
"zone.js": "~0.11.5"
},
"devDependencies": {
"@angular-devkit/build-angular": "~13.2.0",
"@angular/compiler-cli": "~13.2.0",
"@nativescript/android": "8.2.2",
"@nativescript/types": "~8.2.0",
"@nativescript/webpack": "~5.0.6",
"@ngtools/webpack": "~13.2.0",
"typescript": "~4.5.5"
}

Layout capture the changes, but typescript files still not working....


Sparrow test net coldcard issues when verifying addresses

Was testing testnet with Sparrow and coldcard and there seems to be an issue in either Coldcard or Sparrow.
When verifying receive address or address you spend to on coldcard via Sparrow I do not see the testnet address on my coldcard but the addresses associated with mainnet.

Sparrow >tools >testnet
Open account via coldcard
send
paste testnet address
'create transaction
finalize > sign
see that the address doesnt match and you see a mainnet address on your coldcard.

I can assure you this setup works well, I use it very regularly :)
Did you configure the Coldcard for testnet use? It buried deep in the menus (Advanced menu: https://coldcard.com/docs/advanced)

No reply, closing this off.


Add support for ReStructured Text grid tables

https://docutils.sourceforge.io/docs/user/rst/quickref.html#tables

closed by #8


Update to terraform-bridge v3.11.0, pulumi v3.17.0

Re-submitted in #692 with a fresh rebase.  Closing and deleting branch.


Add thread id in log output

Signed-off-by: Suraj Singh<EMAIL_ADDRESS>Description
This change adds thread id in the test log output. As per nature of OpenSearch engine, there are multiple threads active at a time, it is not easy to identify logs belonging to a specific thread. This enables user to perform search and filter logs specific to a thread.
Sample output
[2022-12-24T09:33:44,483][DEBUG][o.o.t.TransportService   ] [node_t2] [Thread 92] Action: internal:index/shard/replication/get_checkpoint_info
[2022-12-24T09:33:44,483][TRACE][o.o.i.b.in_flight_requests] [node_t2] [Thread 92] [in_flight_requests] Adjusted breaker by [16440] bytes, now [16492]
[2022-12-24T09:33:44,483][TRACE][o.o.t.TransportLogger    ] [node_t2] [Thread 92] NioSocketChannel{localAddress=/<IP_ADDRESS>:49825, remoteAddress=<IP_ADDRESS>/<IP_ADDRESS>:49809} [length: 376, request id: 17, type: request, version: 3.0.0, header size: 56B, action: internal:index/shard/replication/get_checkpoint_info] WRITE: 376B
[2022-12-24T09:33:44,483][TRACE][o.o.i.b.in_flight_requests] [node_t2] [Thread 90] [in_flight_requests] Adjusted breaker by [-16440] bytes, now [52]
[2022-12-24T09:33:44,483][TRACE][o.o.t.T.tracer           ] [node_t2] [Thread 90] [17][internal:index/shard/replication/get_checkpoint_info] sent to [{node_t0}{dM8siREPSiWwHR7XSLdLQA}{JRWGmH00R-e7Ud-I0mlbXw}{<IP_ADDRESS>}{<IP_ADDRESS>:49809}{dimr}{shard_indexing_pressure_enabled=true}] (timeout: [1m])
[2022-12-24T09:33:44,484][TRACE][o.o.i.b.in_flight_requests] [node_t0] [Thread 45] [in_flight_requests] Adding [297b][internal:index/shard/replication/get_checkpoint_info] to used bytes [new used: [833b], limit:<PHONE_NUMBER> [3gb], estimate: 1666 [1.6kb]]
[2022-12-24T09:33:44,484][TRACE][o.o.t.TransportLogger    ] [node_t0] [Thread 45] NioSocketChannel{localAddress=/<IP_ADDRESS>:49809, remoteAddress=/<IP_ADDRESS>:49825} [length: 376, request id: 17, type: request, version: 3.0.0, action: internal:index/shard/replication/get_checkpoint_info] READ: 376B
[2022-12-24T09:33:44,484][TRACE][o.o.t.T.tracer           ] [node_t0] [Thread 45] [17][internal:index/shard/replication/get_checkpoint_info] received request
[2022-12-24T09:33:44,484][TRACE][o.o.t.TaskManager        ] [node_t0] [Thread 49] register 84 [transport] [internal:index/shard/replication/get_checkpoint_info] []

Issues Resolved
NA
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #5631 (657e34f) into main (35605c6) will decrease coverage by 0.17%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main    #5631      +/-   ##
============================================
- Coverage     71.16%   70.98%   -0.18%
+ Complexity    58621    58500     -121
============================================
  Files          4757     4757
  Lines        279194   279194
  Branches      40316    40316
============================================
- Hits         198675   198180     -495
- Misses        64302    64869     +567
+ Partials      16217    16145      -72

Impacted Files
Coverage Δ

...adonly/AddIndexBlockClusterStateUpdateRequest.java
0.00% <0.00%> (-75.00%)
:arrow_down:

...pensearch/client/cluster/RemoteConnectionInfo.java
0.00% <0.00%> (-73.18%)
:arrow_down:

...readonly/TransportVerifyShardIndexBlockAction.java
9.75% <0.00%> (-73.18%)
:arrow_down:

...port/ResponseHandlerFailureTransportException.java
0.00% <0.00%> (-60.00%)
:arrow_down:

...a/org/opensearch/client/cluster/ProxyModeInfo.java
0.00% <0.00%> (-55.00%)
:arrow_down:

...n/admin/indices/readonly/AddIndexBlockRequest.java
17.85% <0.00%> (-53.58%)
:arrow_down:

...a/org/opensearch/client/cluster/SniffModeInfo.java
0.00% <0.00%> (-52.95%)
:arrow_down:

...a/org/opensearch/tasks/TaskCancelledException.java
50.00% <0.00%> (-50.00%)
:arrow_down:

...opensearch/persistent/PersistentTasksExecutor.java
22.22% <0.00%> (-44.45%)
:arrow_down:

...indices/readonly/TransportAddIndexBlockAction.java
20.68% <0.00%> (-41.38%)
:arrow_down:

... and 483 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@dreamer-89 Are we ready to merge this in?

@dreamer-89 Are we ready to merge this in?

With latest changes, I see some issue with log format (prints entire thread info).

Closing this PR, will reopen once fix the existing issue.


integrate tracing

There was preliminary work in this direction, but I think that's been canned. Not sure if this was for any structural reason, but if not it would be good to have xi-trace support.

In case someone else wonders what this is about: it's about performance tracing.
See https://github.com/xi-editor/xi-editor/blob/master/docs/docs/tracing.md for a bit of context.


THRIFT-4176: Implement threaded server for Rust

Client: rs
Overview

Replaces single-threaded synchronous server with synchronous threadpool server
Removes refcounting (simplifies reasoning about thread-safety - i.e. when developing server)
Reworked types to allow for single-instance ownership and remove refcounting
Removed Box in the user-visible API

Rationale
The original version of the library supported only single-threaded operation. To encode the idea that a Transport could be shared by a InputProtocol and an OutputProtocol I used reference-counting via Rc in the user-visible API. When I implemented the threaded server I would have had to change all instances of Rc to Arc for thread-safety. This would incur a large runtime cost (each access of a *Protocol, many hundreds while serializing and deserializing messages) for no good reason: after all, while two threads may read/write from the same socket or channel concurrently, only one thread would ever be reading and another thread the writing.
Using inspiration from Tokio I pushed the concept of shared ownership into a new low-level construct - TIoChannel, and allowed it to be split() into a readable and writable type, each of which could be owned by upper layers. This allowed me to remove all reference counting and explicit boxing in the user-visible API and allowed for a straightforward implementation of a threaded server. It also made the library easier to use and simplified test code.
Consider the two code samples below:
Original:
use std::cell::RefCell;
use std::rc::Rc;
use thrift::protocol::{TBinaryInputProtocol, TInputProtocol};
use thrift::transport::{TTcpTransport, TTransport};

// create the I/O channel
let mut transport = TTcpTransport::new();
transport.open("<IP_ADDRESS>:9090").unwrap();
let transport = Rc::new(RefCell::new(Box::new(transport) as Box<TTransport>));

// create the protocol to decode bytes into types
let mut protocol = TBinaryInputProtocol::new(transport.clone(), true);

// read types from the wire
let field_identifier = protocol.read_field_begin().unwrap();
let field_contents = protocol.read_string().unwrap();
let field_end = protocol.read_field_end().unwrap();

transport has to be explicitly ref-counted, boxed and cloned into the protocol.
Updated:
use thrift::protocol::{TBinaryInputProtocol, TInputProtocol};
use thrift::transport::TTcpChannel;

// create the I/O channel
let mut transport = TTcpChannel::new();
transport.open("<IP_ADDRESS>:9090").unwrap();

// create the protocol to decode bytes into types
let mut protocol = TBinaryInputProtocol::new(transport, true);

// read types from the wire
let field_identifier = protocol.read_field_begin().unwrap();
let field_contents = protocol.read_string().unwrap();
let field_end = protocol.read_field_end().unwrap();

transport can be used directly, without any additional wrapping.
Testing

C++ code compiles cleanly without warnings
All cross-tests pass
All library, tutorial, test and cross-test code pass clippy lint checks

Additional Notes
As requested in the THRIFT-4176 JIRA discussion I've replaced the existing single-threaded, synchronous server with a fixed-size threadpool-based server.

@jeking3 @Jens-G Any chance this could be merged in?

Updated the PR description with an example. This PR now contains the final state of all types, etc and should make the runtime code a lot cleaner and easier to use!

My only hesitation on these changes is that there are no cross tests for rust right now, so we don't have a good indicator on their stability in general.  We need to update the docker files for Ubuntu to include rust, and get rust into the crosstest (Travis build jobs 1, 2).  You can even follow the java-c_glib multiplexed test example if you want to make it complete.
I'm not very useful reviewing the code because I don't know the language.  As for the appveyor build error, I will fix that.  Some path strings have to be unix-style with later releases of cmake or FindBoost gets "confused" and reports invalid escape sequences.

@jeking3 That's a very fair point - I didn't realize the cross-tests weren't running. I try to be disciplined in my testing and ensure nothing breaks, but I'm only human; automating things is the right way to go. I'll look at the c_glib example and update the docker images to run the cross tests.
And, I agree that it would be nice to have a second person knowledgeable in the language. I'm not sure how best to make that happen. Any ideas?

Based on Jira comments it looks like @RandyAbernethy might be using it. :)


[BUG] <download only 10 videos per page>

l try to download this page
https://www.cartoonpornvideos.com/videos/straight/all-recent-2.html
but script only download the first 10 videos after it stop

Thanks for reporting! I found the issue and it is a easy fix. I'll update get-sauce as soon as most of the websites supported are working again so I don't have to disable too many tests.


Adds JS/TS toggle to interactive docs samples

Adds a JS/TS toggle to all interactive samples in the docs, behind the ?mods=jsSamples feature flag.
Note: The playground page, tutorial page, and static samples will come in a followup PR.
Also note: There are a some issues with the JS samples that I've seen already, mostly around /*playground-fold*/ and /*playground-hide*/ comments not getting preserved quite right. I'll address those in a followup too.
Also moves the "open in playground" link from the top-right of the preview to the top-right of the whole playground. I think this makes more sense since its an action on the whole thing, not just the preview, but especially now that there will be a second control there.
Also fixes upgrade layout shift issues with inline playgrounds.
With tabs

Without tabs

Part of https://github.com/lit/lit.dev/issues/332

<div id="bar"> is possibly missing border-radius. Visual artifact is the rounded corner has a tiny break in it.

Good catch, that was it! Fixed.

Last example has a scroll bar. This is fine, but maybe could add some padding beneath the "open example in playground" and the top of the scroll bar.

Good catch. I think actually a lot of the samples are a weird size right now, even for TypeScript. I'll do a sweep through all of them as a followup to improve the sizes. (I've been planning to automatically compute the sizes during build, but still haven't gotten around to it, so right now they are all defined manually and they get out of sync easily as the code changes.)

The JS side of the toggle is ~40px while the TS side is ~45px. This is a very micro nit, but it feels like it should be equal size.

Oh right, it was using the intrinsic size of the content, so it was very slightly different. Fixed so they are equal size.

Is there a "switch" component that could be used? I think that would be more intuitive/obvious.
This switch doesn't look that switchable at first glance to me, in that the options are mutually exclusive. Maybe some styling tweaks could help - like making the non-selected option more grayed out, and/or share a background color with its container?

Is there a "switch" component that could be used? I think that would be more intuitive/obvious.
This switch doesn't look that switchable at first glance to me, in that the options are mutually exclusive. Maybe some styling tweaks could help - like making the non-selected option more grayed out, and/or share a background color with its container?

Yeah, I could see that. The current design is what I think a Material-ish to this problem would look like. A totally different option (no reason we have to stick with Material) is something like this:

I'm going to punt on this for now, since the switch feature is behind a feature flag, but I'll make sure to revisit and potentially implement something like above before the public launch.


model.fit() appears to stop prematurely without iterating through the entire dataset.

I am trying to pretrain BERT on a dataset of 65M examples for 1 epoch without early stopping (patience = 1). However I notice that model.fit just stops and finishes prematurely without any error. It does not go through the entire dataset.
model.compile(
        loss=custom_bce_loss,
        optimizer=tf.keras.optimizers.SGD(learning_rate=0.01)
        metrics=[prauc_metric],
    )

early_stop_callback = tf.keras.callbacks.EarlyStopping(monitor="val_loss",
                                                       patience=1,
                                                       min_delta=0.01)
tensorboard_callback = tf.keras.callbacks.TensorBoard(
                            log_dir=tensorboard_path(model_name, base_dir),
                            update_freq="batch",
                            profile_batch=2,
                            embeddings_freq=0)

ckpt_callback = tf.keras.callbacks.ModelCheckpoint(
                      checkpoint_path(model_name, base_dir, ckpt_name_suffix),
                      monitor="val_loss",
                      save_best_only=False,
                      save_weights_only=False,
                      mode="min",  # minimize loss
                      save_freq=int(100000/BATCH_SIZE),
                      verbose=1)

custom_callback = CustomCallback()

# In[20]:

history = model.fit(train_dset,
                    epochs=1,
                    batch_size=BATCH_SIZE,
                    validation_data=val_dset,
                    callbacks=[early_stop_callback,
                               tensorboard_callback,
                               ckpt_callback])
`

The size of the dataset is 65 million instances and batch size is 64. So I would expect 1 epoch to have 1015625 steps. However, when I fit the model and training progresses it just finishes at 135585th step and says training is done (no errors).
initially I thought that this might be because I was using Adam and the learning rate became too small and so gradient became 0 and so training stopped. So I tried using SGD with a constant learning rate and I still see the same issue.
135585/135585 [==============================] - 22867s 168ms/step - loss: 1.4894 - pr_auc: 0.0030 - val_loss: 0.7146 - val_pr_auc: 0.0000e+00
Tensorflow version used: In [3]: tf.version
Out[3]: '2.4.1'
I am using tf.keras.  Other details: The dataset (TFdataset) is constructed by streaming in data from Big Query and I have verified that iterating through the batches of the dataset (in a seperate for loop) yields 1015625 batches. I  am training this model on a A100 GPU.

@viveksck Can you please share a standalone code to reproduce the issue? Also, can you try running the code with recent TF2.6 or tf-nightly and post entire output. Thanks!


Custom image filters to help labeling

Is your feature request related to a problem? Please describe.
Sometimes labeling requires a great level of expertise. Additional information could be helpful, especially when working with images.
Describe the solution you'd like
I'd like to apply filters to help me detect objects in high resolution images. Using a framework such as MarvinJ would enable filters like gradient/emboss, threshold based black and white, or edge detection and could help with the annotation. A plugin based implementation would enable users to implement their own filters. An interactive way is required to select the threshold or direction of the gradient.
Describe alternatives you've considered
I considered implementing it in a fork, but the web project structure in two projects is kinda confusing.
Additional context
Happy to help, as long as the PR is merged faster than my previous contribution.

@twsl MarvinJ is really cool tool! Now we are going to release interactive pre-annotations, they allow ML to assist users in the labeling, hope it helps you too!

In my specific usecase I need an interactive gradient via sobel filters where you can select orientation and strength to find edges and other features in greyscale images that are useful hints for experts.
Are these pre-annotations customizable? In that case I could simply replace the ML algo with a simple filter with default values

Yes, interactive pre-annotations are an extension of ML backend. It's a good idea to replace images from ML backend "on the fly", but our interactive annotations don't have this functionality yet.

Thats what I thought. But I think js based filters could offer a great benefit to many users working with greyscale/depth images where changes are subtle and hard to spot

I would like to reignite this idea here. In my opinion it would be a great addition to help any Labeler do a better job. I have often come across images that were hard to label as normal RGB images, but a simple contrast enhancement did wonders. Although my interest is mainly for Image based annotations, I could also imagine that similar filters could help with other types of annotations such as timeseries data.
Would it be an option to include this feature into your roadmap?

@suahelen Thank you for your feedback. If there are many requests about it, we try to implement/include PRs to our releases. So, it depends on demand.


Find and Replace functionality fails to Find tags which the normal Find does find

Downloading the latest, it appears that the Find works fine, but Find and Replace does not
Failing (clicking the "Find Next", "Replace" or "Replace All") :

Working:

@jaquadro I will investigate the code a little tonight, but is there an obvious reason to you before I do so?


Update RefResolver.php

Increased maxDepth to a higher number to handle more common levels of depth.
https://github.com/justinrainbow/json-schema/issues/193
The maxDepth is of course an arbitrary number but this works for my use case.

Closing, I saw this was already addressed elsewhere

@drupalninja thanks for closing the issue!


code for issue 3826

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Implement the myAtoi(string s) function, which converts a string to a 32-bit signed integer (similar to C/C++'s atoi function).
The algorithm for myAtoi(string s) is as follows:
Read in and ignore any leading whitespace.
Check if the next character (if not already at the end of the string) is '-' or '+'. Read this character in if it is either. This determines if the final result is negative or positive respectively. Assume the result is positive if neither is present.
Read in next the characters until the next non-digit charcter or the end of the input is reached. The rest of the string is ignored.
Convert these digits into an integer (i.e. "123" -> 123, "0032" -> 32). If no digits were read, then the integer is 0. Change the sign as necessary (from step 2).
If the integer is out of the 32-bit signed integer range [-231, 231 - 1], then clamp the integer so that it remains in the range. Specifically, integers less than -231 should be clamped to -231, and integers greater than 231 - 1 should be clamped to 231 - 1.
Return the integer as the final result.
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
Code for issue: 3826

Can you help me regarding this ?


Support UI Router page views

I noticed that you only register on locationChangeSuccess events which is fine for anyone using the default router. But since UIRouter is the most popular router used in angular1 apps I think that supporting it out of the box would be nice.
Handling is identical with one you have now, but you should also listen to $stateChangeSuccess event. Having both event listeners registered should cause any trouble I believe.

+1

Now, $viewContentLoaded event is supporting out from the box. It allows to catch as $locationChangeSuccess  as $stateChangeSuccess event.

Duration parameter works incorrectly for UIRoute mechanism. So I need to redesign it.

I've completed the last fixes with duration parameter for UI Router. (look at #26 ).
Now app could track page view events for both mechanism: ngRoute and ui-route.
App trackes ngRoute events by default ($locationChangeStart and $locationChangeSuccess).
If you need to track ui-route events ($stateChangeStart and $stateChangeSuccess) you will turn on the autoStateChangeTracking option too.


Expose an API to log out the current account and clean up any related cached credential

related to #31498
related to https://github.com/Azure/azure-sdk-for-net/issues/31844

Hello @christothes, will confidential clients like client certificate have support for log out as well?

@christothes, I think this is a different scenario. The original request was about clearing the on-disk cache. The API could be named something different that communicates the behavior. Is the policy something an SDK user sets or is it an internal implementation detail?

Are you referring to a scenario where the credential is constructed with TokenCachePersistenceOptions ?

@christothes, yes. That's right. having a way to tell Azure Identity that the token cache should be cleared would be useful for the product I'm working on. At the moment, I've had to apply a hack of constructing an MSAL public client, registering a token cache that matches what Azure Identity creates and removing accounts from it.

Given that you are going to re-construct the token to clear it, would using the named token cache work? When re-creating the credential, you would just choose a new unique name.

We use a named token cache already. Won't creating new named caches every time litter the user's folder with unused token cache files?

#31844
Here is the link to the line of code referenced in this issue.
https://github.com/microsoftgraph/msgraph-sdk-powershell/blob/eb0f42e4f01aecece5abe75b5129936c094c7e24/src/Authentication/Authentication.Core/Utilities/AuthenticationHelpers.cs#L109

#31844

We use a named token cache already. Won't creating new named caches every time litter the user's folder with unused token cache files?

Actually - thinking about this further - as long as we aren't passing an AuthenticationRecord to the new credential instance, it should be fine that there is still a cache file present. Without the record, the interactive flow should be taken even with a populated cache.


Upgrade franz-go to v1.4.1

 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.Alexander Falca seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Android: Camera still crashing on Android 11

This is a continuation of https://forums.solar2d.com/t/build-3644-accessing-camera-on-android-crashes/353459.
I haven't tested on Android 10.
The camera seems to work on Android 8 and 9, but on Android 11, however, Solar2D encounters the following error after giving the permission: "allow only while using the app."
Lua error
09:52:18.117     : Execute the lua listener task
09:52:18.119     : ERROR: CoronaActivity.DefaultRequestPermissiosnResultHandler.forwardRequestPermissionsResultToLua():Cannot forward results to Lua as no registry ID was found!

Device log:
06-22 11:29:01.010 21815 21815 W CAM_ActivityUiStartup: CameraActivityController failed!
06-22 11:29:01.010 21815 21815 W CAM_ActivityUiStartup: java.lang.IllegalStateException: GCA not granted write permission to content://com.solar2d.app.Camera.Test.files/cache/Picture1.jpg, the specified output in intent: Intent { act=android.media.action.IMAGE_CAPTURE flg=0x3 cmp=com.google.android.GoogleCamera/com.android.camera.activity.CaptureActivity clip={text/uri-list {...}} (has extras) }.
06-22 11:29:01.010 21815 21815 W CAM_ActivityUiStartup:         at muj.n(PG:1)
06-22 11:29:01.010 21815 21815 W CAM_ActivityUiStartup:         at bly.r(PG:6)

Here's the same old Camera Test sample project that will demonstrate it.
First time that you tap the white rect, it'll request access to the camera. The second time that you tap it, it will launch the camera.
Camera Test.zip (updated, but with same issues)

Extended error log:
06-22 09:52:23.275 13229 13229 D AndroidRuntime: Shutting down VM
06-22 09:52:23.275 13229 13229 E AndroidRuntime: FATAL EXCEPTION: main
06-22 09:52:23.275 13229 13229 E AndroidRuntime: Process: com.google.android.GoogleCamera, PID: 13229
06-22 09:52:23.275 13229 13229 E AndroidRuntime: java.lang.RuntimeException: java.lang.IllegalStateException: GCA not granted write permission to content://com.solar2d.app.Camera.Test.files/cache/Picture1.jpg, the specified output in intent: Intent { act=android.media.action.IMAGE_CAPTURE flg=0x3 cmp=com.google.android.GoogleCamera/com.android.camera.activity.CaptureActivity clip={text/uri-list {...}} (has extras) }.
06-22 09:52:23.275 13229 13229 E AndroidRuntime:        at jwc.run(PG:1)
06-22 09:52:23.275 13229 13229 E AndroidRuntime:        at bso.run(Unknown Source:6)
06-22 09:52:23.275 13229 13229 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:938)
06-22 09:52:23.275 13229 13229 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:99)
06-22 09:52:23.275 13229 13229 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:223)
06-22 09:52:23.275 13229 13229 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:7656)
06-22 09:52:23.275 13229 13229 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
06-22 09:52:23.275 13229 13229 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
06-22 09:52:23.275 13229 13229 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
06-22 09:52:23.275 13229 13229 E AndroidRuntime: Caused by: java.lang.IllegalStateException: GCA not granted write permission to content://com.solar2d.app.Camera.Test.files/cache/Picture1.jpg, the specified output in intent: Intent { act=android.media.action.IMAGE_CAPTURE flg=0x3 cmp=com.google.android.GoogleCamera/com.android.camera.activity.CaptureActivity clip={text/uri-list {...}} (has extras) }.
06-22 09:52:23.275 13229 13229 E AndroidRuntime:        at muj.n(PG:1)
06-22 09:52:23.275 13229 13229 E AndroidRuntime:        at bly.r(PG:6)
06-22 09:52:23.275 13229 13229 E AndroidRuntime:        at egi.<init>(PG:2)
06-22 09:52:23.275 13229 13229 E AndroidRuntime:        at egj.a(PG:2)
06-22 09:52:23.275 13229 13229 E AndroidRuntime:        at egz.get(PG:1)
06-22 09:52:23.275 13229 13229 E AndroidRuntime:        at ofv.get(PG:1)
06-22 09:52:23.275 13229 13229 E AndroidRuntime:        at ecb.F(PG:11)
06-22 09:52:23.275 13229 13229 E AndroidRuntime:        at ecb.w(PG:54)
06-22 09:52:23.275 13229 13229 E AndroidRuntime:        at bpc.b(PG:4)
06-22 09:52:23.275 13229 13229 E AndroidRuntime:        at bpc.a(PG:1)
06-22 09:52:23.275 13229 13229 E AndroidRuntime:        at bvy.run(Unknown Source:1)
06-22 09:52:23.275 13229 13229 E AndroidRuntime:        ... 8 more

@XeduR crap... Unfortunately it does work on my device :/ (samsung galaxy)
What device are you using and what camera app do you have?

I don't have access to the test device as it belongs to a client of mine. I've informed them to try out the camera again with the new build. I'm waiting to hear back from them and what device they've got, I'm guessing it's Pixel 2, and yeah, they are simulator builds.

Pixel 2, built with simulator. Still crashes
06-30 11:18:54.704 26670 26670 E AndroidRuntime: FATAL EXCEPTION: main
06-30 11:18:54.704 26670 26670 E AndroidRuntime: Process: com.google.android.GoogleCamera, PID: 26670
06-30 11:18:54.704 26670 26670 E AndroidRuntime: java.lang.RuntimeException: java.lang.IllegalStateException: GCA not granted write permission to content://com.solar2d.app.Camera.Test.files/cache/Picture1.jpg, the specified output in intent: Intent { act=android.media.action.IMAGE_CAPTURE flg=0x3 cmp=com.google.android.GoogleCamera/com.android.camera.activity.CaptureActivity clip={text/uri-list {...}} (has extras) }.
06-30 11:18:54.704 26670 26670 E AndroidRuntime:        at jwc.run(PG:1)
06-30 11:18:54.704 26670 26670 E AndroidRuntime:        at bso.run(Unknown Source:6)
06-30 11:18:54.704 26670 26670 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:938)
06-30 11:18:54.704 26670 26670 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:99)
06-30 11:18:54.704 26670 26670 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:223)
06-30 11:18:54.704 26670 26670 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:7656)
06-30 11:18:54.704 26670 26670 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
06-30 11:18:54.704 26670 26670 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
06-30 11:18:54.704 26670 26670 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
06-30 11:18:54.704 26670 26670 E AndroidRuntime: Caused by: java.lang.IllegalStateException: GCA not granted write permission to content://com.solar2d.app.Camera.Test.files/cache/Picture1.jpg, the specified output in intent: Intent { act=android.media.action.IMAGE_CAPTURE flg=0x3 cmp=com.google.android.GoogleCamera/com.android.camera.activity.CaptureActivity clip={text/uri-list {...}} (has extras) }.
06-30 11:18:54.704 26670 26670 E AndroidRuntime:        at muj.n(PG:1)
06-30 11:18:54.704 26670 26670 E AndroidRuntime:        at bly.r(PG:6)
06-30 11:18:54.704 26670 26670 E AndroidRuntime:        at egi.<init>(PG:2)
06-30 11:18:54.704 26670 26670 E AndroidRuntime:        at egj.a(PG:2)
06-30 11:18:54.704 26670 26670 E AndroidRuntime:        at egz.get(PG:1)
06-30 11:18:54.704 26670 26670 E AndroidRuntime:        at ofv.get(PG:1)
06-30 11:18:54.704 26670 26670 E AndroidRuntime:        at ecb.F(PG:11)
06-30 11:18:54.704 26670 26670 E AndroidRuntime:        at ecb.w(PG:54)
06-30 11:18:54.704 26670 26670 E AndroidRuntime:        at bpc.b(PG:4)
06-30 11:18:54.704 26670 26670 E AndroidRuntime:        at bpc.a(PG:1)
06-30 11:18:54.704 26670 26670 E AndroidRuntime:        at bvy.run(Unknown Source:1)
06-30 11:18:54.704 26670 26670 E AndroidRuntime:        ... 8 more

So, stock Android camera

Returning to this after the summer. Camera is no longer crashing, but there are other issues, see #274

I will try this on my Pixel 2 when I get home, but just wanted to let you know I am seeing this issue

I just got this error on my Pixel 2 will look into it

Should this be addressed by https://github.com/coronalabs/corona/commit/581d8448923e50b3e408329c26cb4bc5b0e9155b?

No, a fix has not been found or implemented yet


ModuleNotFoundError in Python 3.8.2 OSX 10.15.2

Describe the bug

module not found error even though I had installed it
Expected behavior

it is ok
Actual behavior

but it is still existing , cannot work well
Steps to reproduce

Environment

OS:
Python version:
Locust version:
Locust command line that you ran:
Locust file contents (anonymized if necessary):

If you want help resolving your issue you must provide us with some minimum amount of info for us to have any chance of reproducing the error, or figuring out what might  be wrong. The full stack trace would be a start, what version of Locust you're using, as well as the locustfile that triggers this.


Also extract Bookmarks?

Hey, cool project!
I was wondering if extracting Bookmarks is out of scope for this? Since the project is named browserhistory.
You already seem to have 90% of the code for this, all that is needed now is a SQL query to extract the bookmarks!

Hello dufferzafar!
That sounds like a plan. I'll add the bookmark feature to the module by the end of this week or later.

Will you also be renaming the project then? 😋
On 22-Aug-2018 9:07 PM, "kcp18"<EMAIL_ADDRESS>wrote:
Hello dufferzafar!
That sounds like a plan. I'll add the bookmark feature to the module by the
end of this week or later.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kcp18/browserhistory/issues/3#issuecomment-415076493,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABYeKBfvv6AFtZ8LVsipmlUdllaeyG7rks5uTXrFgaJpZM4WG_nq
.

I'll think about it. If you have any suggestions, let me know! Thank you for your feedback.

Yeah, I feel you should rename the project. Perhaps to something generic like browserdata (which is available on PyPI - in case you want to push your package there.)

That's a generic and simple name for a package, what a name! @dufferzafar, would you like to participate in the project? If you're interested, shoot me an email at<EMAIL_ADDRESS>


Translate November 2024

Work notes

Replace:(\./)?images/

https://code.visualstudio.com/assets/updates/

Prompt:Translate markdown contents into Japanese and insert white space between English words or inline code blocks and Japanese.

Revision: https://github.com/microsoft/vscode-docs/commit/dc32849ca199843388fbc49c4a7e99aee16ca565

more notes ...

Download release notes -> commit
Replace relative links -> commit
Generate english anchor with AI -> commit
Translate into Japanese with AI -> commit


Discord.js v13.5.0 supports

With latest setAuthor and setFooter options

Hey @Spongecade, since you seemed to want to do the update for discord.js v13 (and it's been ages since I used discord.js haha) I'm asking you for your opinion : does the code seem correct ? Do you have any remarks to make ? Should I merge it ?

nothing, just merge it.
I got so many deprecated warnings from discord.js by this module.

 Spongecade is not working on it (sorry for mentioning you if you read this post).
I looked at the code, I'll merge

Thanks a lot for your contribution !

You haven't push the update to npm yet

Done !


Setup Project

GitHub Project: https://github.com/Trast00/Capston-javascript/projects/1
We are 2 on the team: @quavo19 and @Trast00

STATUS: APPROVE :heavy_check_mark: :heavy_check_mark:  :champagne:
Hi @Trast00 and @quavo19
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉 :clap: :clap: :100:

To highlight :champagne:

Good isuue description :heavy_check_mark:

Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please ping me @tresorsawasawa when you comment so I can receive the notification or use slack with the same name.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


pyglet 1.5 crash when noisy.py loads ball image (windows)

noisy.py crashes with
(3.7.7) D:\dev\pyglet_pillow>python noisy.py
Traceback (most recent call last):
  File "noisy.py", line 66, in <module>
    class Ball(pyglet.sprite.Sprite):
  File "noisy.py", line 67, in Ball
    ball_image = pyglet.resource.image(BALL_IMAGE)
  File "d:\dev\cocos-testcmp\work\pyglet\pyglet\resource.py", line 575, in image

    identity = self._cached_images[name] = self._alloc_image(name, atlas, border
)
  File "d:\dev\cocos-testcmp\work\pyglet\pyglet\resource.py", line 502, in _allo
c_image
    img = pyglet.image.load(name, file=file)
  File "d:\dev\cocos-testcmp\work\pyglet\pyglet\image\__init__.py", line 191, in
 load
    image = decoder.decode(file, filename)
  File "d:\dev\cocos-testcmp\work\pyglet\pyglet\image\codecs\wic.py", line 386,
in decode
    bitmap_decoder, stream = self._load_bitmap_decoder(file, filename)
  File "d:\dev\cocos-testcmp\work\pyglet\pyglet\image\codecs\wic.py", line 311,
in _load_bitmap_decoder
    ole32.CreateStreamOnHGlobal(hglob, True, byref(stream))
TypeError: byref() argument must be a ctypes instance, not 'IUnknown'

Windows 7
py 3.7.7
pyglet 1.5 maintenance from github:
git log
commit 0de2c9b03ee645170c4aa678ba29de3504ba70e0 (HEAD -> pyglet-1.5-maintenance,
 origin/pyglet-1.5-maintenance)
Author: caffeinepills
Date:   Sun Oct 18 22:47:49 2020 -0500

In the previous (in branch 1.5 history) checkout,  a39ebc20, which is also pyglet release 1.5.8 noisy works normal, so the problem was introduced at 0de2c9b03, "Support for Xaudio2 driver" which changes a lot in com.py

Currently out of town but I'm guessing line stream = com.IUnknown() needs to be stream = com.pIUnknown() which was missed in the refactor.

@caffeinepills
I gave that a change, but then saw another issue further down the line. Trying to fix that gave me a deeper ctypes error, which I wasn't able to understand yet.
I was thinking to push out a point update shortly. Do you think we should disable the WIC codec for the moment? The XAudio2 code on the other hand seems to be working well, so it seems a little overkill to roll that back as well.

My apologies, com.IUnknown should be find/replaced for com.pIUnknown in the whole file . I started XAudio2 branch before I created WIC, so that's why it was missed.

#298 should fix it, tested with noisy on Windows 10 and Python 3.7,

tested the merged PR, no problems.

Great! Thanks for the PR caffeine, and thanks for your testing @ccanepa!
I'll close this for now.


Better error message for s3fs-mapped files that are in glacier (C4-747)

This addresses SubmitCGAP vague error from awscli (C4-747) by making a specific error message relating to s3fs. However, to do that, it requires that the environment variables CGAP_S3FS_UPLOAD_DIR and CGAP_S3FS_UPLOAD_BUCKETS are set.
@sbreiff, best would be if we could get the setup script for s3fs into SubmitCGAP as well, so that it can arrange to set those variables. From discussion on the ticket, with env vars adjusted:
#!/bin/bash
# Expects $CGAP_S3FS_UPLOAD_DIR = ~/upload_files
# and $CGAP_S3FS_UPLOAD_BUCKETS set to a string containing one or more bucket names,
# separated by line breaks.

# Install s3fs-fuse for mounting S3 buckets
sudo amazon-linux-extras install epel -y
sudo yum install s3fs-fuse -y

# Mount buckets to $CGAP_S3FS_UPLOAD_DIR directory
mkdir $CGAP_S3FS_UPLOAD_DIR
for BUCKET in $CGAP_S3FS_UPLOAD_BUCKETS
do
    s3fs $BUCKET $CGAP_S3FS_UPLOAD_DIR -o iam_role
done

# Create virtual env for package installation
python3 -m venv ~/cgap_submission
source ~/cgap_submission/bin/activate

# Run SubmitCGAP with mounted files
pip install submit_cgap

The env vars this PR uses are slightly different, so that would have to be adjusted, too. The interaction looks like:
export CGAP_S3FS_UPLOAD_BUCKETS=elasticbeanstalk-fourfront-cgap-wfoutput
export CGAP_S3FS_UPLOAD_DIR=~/upload_files/
bash upload_files.sh
source ~/cgap_submission/bin/activate
resume-uploads 76298911-78b8-4a97-8704-37f5ce391e58 -u $UPLOAD_DIR -s http://fourfront-cgaptest.9wzadzju3p.us-east-1.elasticbeanstalk.com

The interaction looks like:
Upload 1 file? [yes/no]: yes
Uploading /home/ec2-user/upload_files/6502af34-4313-4295-bdff-12991d8fcd46/GAPFI4SUPQO9.cram to item 82e5354e-cc3f-4bf5-a0d7-3948c32df0c2 ...
Going to upload /home/ec2-user/upload_files/6502af34-4313-4295-bdff-12991d8fcd46/GAPFI4SUPQO9.cram to s3://elasticbeanstalk-fourfront-cgaptest-wfoutput/82e5354e-cc3f-4bf5-a0d7-3948c32df0c2/GAPFI1HFPW19.cram.
upload failed: upload_files/6502af34-4313-4295-bdff-12991d8fcd46/GAPFI4SUPQO9.cram to s3://elasticbeanstalk-fourfront-cgaptest-wfoutput/82e5354e-cc3f-4bf5-a0d7-3948c32df0c2/GAPFI1HFPW19.cram [Errno 5] Input/output error
The file /home/ec2-user/upload_files/6502af34-4313-4295-bdff-12991d8fcd46/GAPFI4SUPQO9.cram is mapped via S3FS to DEEP_ARCHIVE storage.
RuntimeError: Upload failed with exit code 1

Before leaving, Sarah left a review comment on PR #25, which I'm going to close (because the part of it that was not this PR is already merged to master):

At this point maybe some documentation on how to set the CGAP_S3FS_UPLOAD_BUCKETS and CGAP_S3FS_UPLOAD_DIR ENVs correctly is needed, because the error handling isn't working as intended for me during some brief testing so far.


how do you trigger anime.js when it becomes visible?

Hi, I do not understand how I can start animations when they are visible like aos.js

@iamalessiopaoletti If you set autoplay: false on the animation you can call play on the animation object when the element becomes visible, and it'll start the animation. This will play the animation only the first time it becomes visible. Swapping play for restart would make the animation replay from the start every time the element is scrolled into view.
How to determine whether the element is visible? Something like Waypoints might be what you're after.

If WayPoints is too hefty, there's always the InView plugin:
https://github.com/protonet/jquery.inview
There are some vanilla JS versions of this floating around, as well. Waypoints is AWESOME, but can be overkill in some situations, especially if you only want it to fire once.

@cheestudio
I know this is not the place to comment but I just wanted to point out that you can use the intersection observer api to animate on scroll, it would be a nice feature if was implemented out of the box in animejs since it's such a nice library


[Maintenance] Improve and align Vitest testing configurations

Relevant template
refarch-frontend, refarch-webcomponent
Problem description (optional)
Currently the Vitest configurations differ quite alot in both templates.
We should try to align them as good as possible.
Desired solution
Rework the Vitest configurations and think about thinks like:

Merging configs vs. defining separate configs
Imports in test files vs. global available imports (in Vite config)
DOM support (jsdom or happy-dom)

Considered alternatives (optional)
No response
Additional context (optional)
No response
No duplicate

[X] I confirm that this issue is not a duplicate

Code of Conduct

[X] I agree to follow this project's Code of Conduct

https://github.com/vitest-dev/vitest-browser-vue might also be relevant in the future. We should take a look at it.

We decided to go with jsdom as a browser implementation library for now. This is supported by vitest out of the box.
On top of that, it has more maturity than happy-dom and supports broader browser APIs.
Vitest Browser Mode will be evaluated again once it is out of experimental mode and provides a stable API when used with Vue components.


Fix transition band warnings

Issue #79

So the transition band computation was having problems cause I was too lazy to check if the frequency response ever indeed went below -20dB (the strong attenuation cutoff for the edge of the transition band).
I've updated the code so that it does this now and provides a warning. In the examples below, we see this warning appearing appropriately for a highpass and bandstop filter when the filters are defined to be too short.

@rdgao @tunmiseo

looks good by eye, and it looks like that original unhelpful error is gone. So I'm cool with merge, and @tunmiseo can test it again.


Python3.6 compatibility

This package is not Python3.6 compatible due to this error:
  File "/usr/lib/python3.6/subprocess.py", line 423, in run
    with Popen(*popenargs, **kwargs) as process:
TypeError: __init__() got an unexpected keyword argument 'text'

Python 3.7 added the text argument to subprocess.Popen. To have it backwards compatible, you'd need to replace text with universal_newlines. Here is a release note (https://docs.python.org/3/library/subprocess.html#call-function-trio):
Changed in version 3.7: Added the text parameter, as a more understandable alias of universal_newlines.

Thanks,
Bartek

@bpawlik - Thanks for the heads-up. I replaced the sp argument as you suggested. See if it works for you now.
(Eventually I'll set up a test to validate it against older python versions...)

@hokiedsp Thanks for quick turnaround! It looks like problem is solved now in version 0.1.6, thanks!


throw error when converting a factor to DataArray

Now, error is thrown when converting factor to DataArray. One have to convert it to PooledDataArray. The DataFrame method is also changed accordingly to use DataArray or PooledDataArray adaptively.

test passed.


Harden per-platform keyboard label identification

Cross platform testing! 🥳

Ready to test with new keyboard_lastchar behaviour on dev branch.

Is this solved now on dev?

Just want to confirm all's well on relevant platforms (Win/Mac/Linux/Android), haven't yet

android's going to be a Whole Thing and i need to give AZERTY a bit of polish but #83 gets things where i want them at for now 🏋♀


[FLINK-2436] [streaming] Make ByteStreamStateHandles more robust

If you could take a quick look @uce,  I would like to merge this :)
I think it is a safe change.

Looks good!