corrections to k8s deployment docs

Corrected some things I encountered when testing.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/736135e6738f32fdad6239f93cb2b2c9d3021e3b/
Edited pages:

v19.1/orchestrate-a-local-cluster-with-kubernetes.md
v19.2/orchestrate-a-local-cluster-with-kubernetes.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/0db7e0ad24d2d2cb44fc177a64ea0ad81106cba7/
Edited pages:

v19.1/orchestrate-a-local-cluster-with-kubernetes.md
v19.2/orchestrate-a-local-cluster-with-kubernetes.md


How to control TileAnimation Tiled ?

Hi.. I need help,  the mechanism is when traveler is collide with treasure chest, then treasure chest is doing open animating.
Code example will be appreciate  :)

Forum is a better place for questions like that.


Update connect.md

This command works for me when the original command did not.  Also, the command will now match what is in the screenshot - which is where I got the command from.
This might need further testing as my cluster had a different name.  Also, when running
$ aws eks get-token --cluster-name eksworkshop-eksctl | jq -r '.status.token'
different values are returned if different regions are specified with for example '--region us-west-1' after the 'aws' command.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

we actually removed aws-iam-authenticator a while back, in favor of the aws cli. you mention different values, depending on which region is specified, but the workshop setup has you set a default region for aws cli commands prior to building your eks cluster.... see https://eksworkshop.com/020_prerequisites/workspaceiam/ for the steps involved.
Please reopen if I've misunderstood something here.


Disabling road snapping

Your Environment

Plugin version: 5.2.4
Platform: iOS
Device OS version: 16.7.6
Device manufacturer / model: Apple iPhone X, MQAJ2LL/A
XCode version: 15.3
Capacitor info (npx cap doctor)

💊   Capacitor Doctor  💊
Latest Dependencies:
@capacitor/cli: 5.7.4
@capacitor/core: 5.7.4
@capacitor/android: 5.7.4
@capacitor/ios: 5.7.4
Installed Dependencies:
@capacitor/cli: 5.4.0
@capacitor/core: 5.4.0
@capacitor/ios: 5.4.0
@capacitor/android: 5.4.0
[success] iOS looking great! 👌
[success] Android looking great! 👌

Plugin config provided to #ready:

desiredAccuracy: this._bgGeo.DESIRED_ACCURACY_HIGH,
activityType: this._bgGeo.ACTIVITY_TYPE_OTHER_NAVIGATION,
distanceFilter: 0,
disableElasticity: true,
elasticityMultiplier: 1,
locationTimeout: 60,
stationaryRadius: 25,
// ActivityRecognition config
stopTimeout: 5,
stopDetectionDelay: 0,
locationAuthorizationRequest: 'WhenInUse',
// Application config
foregroundService: true,
stopOnTerminate: true,
// Logging / debug config
logMaxDays: 1,
debug: false,
heartbeatInterval: 20,
logLevel: this._bgGeo.LOG_LEVEL_ERROR,
disableStopDetection: true,

Expected Behavior
The GPS is snapping to roads. We never want that behavior.
Actual Behavior
Particularly on turns, the coordinates are snapping to the nearest road when the activity type corresponds to in_vehicle. If the activity type is on_bicycle the road snapping is turned off.
Steps to Reproduce

Using the Transistorsoft example app drive a farmer's field about 20 yards inside a road.
Driving about 20 mph, approach a corner and a corresponding road, and slow down to make the corner.
Results: the GPS coordinates returned are snapped to the nearest road, typically at the corner's exit.

Context
Our application has the functionality to allow a farmer to drive their field boundaries for accurate measurement of the size of the field and the planted acres. The road snapping is frustrating to them because now they have to hand-edit the field boundaries.
The logs are from our app, which uses a slightly older version of the plugin. I was able to reproduce this issue with the example app and logged it to http://tracker.transistorsoft.com/FarmQA. There are 2 relevant logs to the tracker: iPhone10,6-brian-g(capacitor) and iPhone14,3-brian-g(capacitor). The relevant period in the logs is from March 20, 2024 12:00 PM to 12:30 PM. You can see that the newer iPhone (iPhone 14,3) tracks the route I drove perfectly, and it didn't matter how fast or slow I was going. The problem as you can see is with the iPhone X (iPhone 10,6) where the laps I took faster will snap to the road (or just somewhere else).
I also noted that setting the activityType in the example app (angular) does not seem to persist and I don't know if the setting I tried to set was being applied or not. Apple also seems to have updated its activity types. https://developer.apple.com/documentation/corelocation/clactivitytype.
Is otherNavigation (CLActivityType) or ACTIVITY_TYPE_OTHER_NAVIGATION the correct activityType that we should use? Is there another setting that would help us out?
Debug logs

Logs
PASTE_YOUR_LOGS_HERE

[bad-tracking-DEMOAPP-iPhoneX.log](https://github.com/transistorsoft/capacitor-background-geolocation/files/14672094/bad-tracking-DEMOAPP-iPhoneX.log)

The plug-in does not implement any kind of “snap to road” API.  I’m pretty sure “snap-to-road” functionality is provided by map components and you have to pay extra for that.
for example, Google Maps Snap to Road API.

Look at the data I provided via the sample app. Something is going on.

The plug-in turns on the native location for iOS CLLocationManager and tells it to startUpdatingLocation.  The plug-in then delivers those received locations to the onLocation event exactly as-provided.
googling “CLLocationManager snap to road”, this thread might help you.


Heterogeneous cells and diameter choice

Hi, first of all, I want to thank you for creating such a great segmentation tool! I use it intensively to improve our segmentation of heart tissue and I was hoping maybe you can help me to solve a few problems.
Heart tissue is very heterogeneous and there are cells of all different sizes from 35 up to 700 pixels in diameter in one image when I use a higher value of diameter small cells are not detected (even if there is DAPI staining inside), and with a lower value of diameter, the situation is consequently opposite. I also used higher flow_threshold = 0.8, as a result, there are more segmented cells, but not a small one. Could you suggest a possible solution to this problem? I would be grateful for any information.
If I do training and use a pre-trained cyto2 model the mean diameter can not be changed from 30, but as I already mentioned in our tissue most of the cells are bigger than 300 pixels. How strongly does it affect the final result of the training and is there any way how to overcome it?
Thank you in advance for your help! I am also attaching some of the images of the tissue on which I am currently working and the results of the segmentation.

Have you considered combining results from two (or more) runs with different diameters?
You may need to do some additional post-processing ("non max suppression") in a different tool/environment in case you end up with overlapping detections.

Thank you for your answer! Exactly the overlapping is a problem, but we will try to explorer it more.

Thank you for your answer! Exactly the overlapping is a problem, but we will try to explorer it more.


iPad Retina (4th generation) dyld: Library not loaded ... mach-o, but wrong architecture

I get the following error when trying to run my app on a iPad Retina (4th generation). I installed sskeychain via cocoapods. I am running 9.2.1 (13D15). The error occurs at runtime when the app is loading. It does not happen in the simulator, only occurs on an actual device.
dyld: Library not loaded: @rpath/SSKeychain.framework/SSKeychain
Referenced from: /var/mobile/Containers/Bundle/Application/B...7/MyApp.app/MyApp
Reason: no suitable image found.  Did find:
/private/var/mobile/Containers/Bundle/Application/B...7/MyApp.app/Frameworks/SSKeychain.framework/SSKeychain: mach-o, but wrong architecture

Do you use Carthage ?

No, I do not use Carthage.

How are you adding SSKeychain to your project?

I installed sskeychain via cocoapods.

platform :ios, "9.0"
use_frameworks!

target 'Project' do

pod 'SSKeychain'
pod 'SCLAlertView'
pod 'Charts'
pod 'PageMenu'

end

target 'ProjectTests' do

end

target 'ProjectUITests' do

end

I finally found the issue/solution here


<IP_ADDRESS> Do we need central location for common words?

https://github.com/open-voice-network/docs/blob/210d3b28e8a407c0520c611933c28cf286e43cb8/components/voice_registry_system.md#L156-L156
Create a POV if common words like "hello, goodmorning, etc" should be registered in VRS.

Assign it to Christian Wuttke

Christian has not been responsive so Yaser will be taking this.

Yaser and I talked about this today.
He will fix his git account and take this issue.

Hi @maridob , just accepted the invitation, can you try to assign it to me again?

What's a POV? Point of view? Proof of concept maybe?

For Phase 1, this would be out of scope for VRS. This would get in the implicit world. We can revisit this in the future, if there's a more solid use-case


Parser v2

Added another html_parser found on stackoverflow, should be able to parse all visible text on a page.
found here
Less flexible than the first one but easier to simply get all visible text from page.
Please try it and let me know what you think is best.

Will clean up and remove the version we do not need after your input.


feat: Default trait

Add the Default trait, similar to rust

Should this include a breaking-change for Array and Dict?

Yes

Do you mean Felt252DictValue? If so, then it's something else.

No I mean trait Default<T> in traits.cairo. I have 0 idea what it's used for though.

You are right. We should probably Implement it for Dict and Array:)


[RFC] Should there be a spot or tag to include paid courses?

While most things for programming can be found for free in some form it's the unfortunate truth that the most concise, focused, and up to date information is sometimes behind a paywall.
Here's some examples for consideration:

TylerMcGinnis.com - bar none the best place to learn React/React Native beyond what Lambda School teaches.
TestingJavaScript.com - probably the best information I have seen about testing period and it focuses specifically on JavaScript.
Refactoring UI - One of the best books I've read on how to refactor mediocre UI/UX.

Less-focused Considerations:

egghead.io - General content focused on JavaScript and the surrounding ecosystem.
Frontend Masters - Specifically focused on the frontend ecosystem
PluralSight - What it lacks for in quality it makes up for in breadth of content. It easily outclasses the other two for the amount of categories, but it doesn't have the same pedigree of teachers - that's not saying there's not great teachers, but rather there's some not so great teachers on the platform.
Treehouse - Where many of the above resources fall short is that it's mainly watch and do on your own. Treehouse changes that by providing a much more integrated and diverse experience breaking down between watching and writing code.

Moving this improvement point off this thread to Trello


Moived $gutter calcs to dedicated function

I've moved the calculations for $gutter padding to their own function as I would like to use the returned value for purposes of vertical rythm and various areas where I may not be using the row and column layout but I want spacing to be the same.

I stupidly made my last pull request changes on the same branch so that pull request (https://github.com/zurb/foundation-sites/pull/8970) will need to be merged prior to this, sorry. :-(

Hey @AdamBarnwell this appears to break the sass build due to missing variables - I think it needs a little more work.  Going to close, please feel free to fix and reopen.


Handle array subfields in the  stage of the aggregate pipeline.

While testing some $slice on aggregations, in noticed, arrays subfields inclusions were ignored.
Here is a fix :)

@pcorpet  Is anything missing for merge request ?
Thanks.


Data extraction issue: Query does not return the expected result.

Hi, I'm expecting different results when executing the query below.
There seems to be an issue with data extraction.
(I've checked that there's no problem with CASE WHEN usage: https://github.com/AlaSQL/alasql/wiki/CASE)

AlaSQL query

SELECT
    CASE
        WHEN [age] BETWEEN 0 AND 9 THEN '0-9'
        WHEN [age] BETWEEN 10 AND 19 THEN '10-19'
        WHEN [age] BETWEEN 20 AND 29 THEN '20-29'
        WHEN [age] BETWEEN 30 AND 39 THEN '30-39'
        WHEN [age] BETWEEN 40 AND 49 THEN '40-49'
        WHEN [age] BETWEEN 50 AND 59 THEN '50-59'
        WHEN [age] BETWEEN 60 AND 69 THEN '60-69'
        WHEN [age] BETWEEN 70 AND 79 THEN '70-79'
        WHEN [age] BETWEEN 80 AND 89 THEN '80-89'
        WHEN [age] BETWEEN 90 AND 99 THEN '90-99'
        ELSE '100+'
    END AS [age_group],
    COUNT(*) AS [customer_count]
FROM
    [temptable]
WHERE
    [age] IS NOT NULL
GROUP BY
    [age_group]
ORDER BY
    [age_group];

Result

0: {age_group: '100+', customer_count: 56046}

The data type of the age column is numeric, and the expected result when extracting this data is as follows.
agegroup	customer_count
20-29	6928
30-39	19188
40-49	16326
50-59	9272
60-69	3755
70-79	495
80-89	61
90-99	21

FYI, I've got this result by executing the same query in PostgreSQL.
SELECT
    CASE
        WHEN age BETWEEN 0 AND 9 THEN '0-9'
        WHEN age BETWEEN 10 AND 19 THEN '10-19'
        WHEN age BETWEEN 20 AND 29 THEN '20-29'
        WHEN age BETWEEN 30 AND 39 THEN '30-39'
        WHEN age BETWEEN 40 AND 49 THEN '40-49'
        WHEN age BETWEEN 50 AND 59 THEN '50-59'
        WHEN age BETWEEN 60 AND 69 THEN '60-69'
        WHEN age BETWEEN 70 AND 79 THEN '70-79'
        WHEN age BETWEEN 80 AND 89 THEN '80-89'
        WHEN age BETWEEN 90 AND 99 THEN '90-99'
        ELSE '100+'
    END AS agegroup,
    COUNT(*) AS customer_count
FROM
    adventureworks."adventureworks-total"
WHERE
   age IS NOT NULL
GROUP BY
   agegroup
ORDER BY
   agegroup;

The query isn't returning the expected results when I run it.
Could you help me out?
Thank you so much! 😊

Very interesting.
 SELECT
        CASE
            WHEN age BETWEEN 0 AND 9 THEN '0-9'
            WHEN age BETWEEN 10 AND 19 THEN '10-19'
            WHEN age BETWEEN 20 AND 29 THEN '20-29'
            ELSE '30+'
        END AS age_group

    FROM ?
    --GROUP BY age_group

Gives the expected result (see https://jsfiddle.net/bpkesrh2/ ) and if I want to group across the case column it returns "30+" (see https://jsfiddle.net/1jLnxdmz/1/ ) like you have uncovered.
BUT!!!
If I remove any values over 30 (see https://jsfiddle.net/1jLnxdmz/2/ ) it STILL returns 30+ when grouping (see https://jsfiddle.net/1jLnxdmz/3/ )
This indicate that the grouping logic somehow fetches the value in the else clause - no matter the content actually selected.


test varying data overlaps in time and space

For practical use cases model results and observations have varying overlaps in space and time. It would be great if fmskill can handle this without failing, rather than requiring the user to do the book keeping before adding observations.
Related to this is a performance enhancement: Load as little data as possible, as late as possible.

@Hendrik1987 you marked this PR as draft, does it mean that I should also wait with the review?

@jsmariegaard: Maybe I did not use quite the right workflow? I only added tests to this PR to demonstrate the issue. You are welcome to look at those :-) I don’t know yet what the best fix would be, nor when I would have time to attend to it.

@jsmariegaard: Maybe I did not use quite the right workflow? I only added tests to this PR to demonstrate the issue. You are welcome to look at those :-) I don’t know yet what the best fix would be, nor when I would have time to attend to it.

Thanks for adding these tests @Hendrik1987 - this is really a great help!

Analysis of the problem:

track observation sometimes have non-unique time index (this is the case with some of test data files)
no checks were done on spatial overlap for track "extraction" of dfs0 files
no checks were done on temporal overlap

The following has been done:

track observations time index is made unique (if required) by adding milliseconds to non-unique entries
track observations are interpolated (only relevant for tracks from dfs0 model results)
test for spatial overlap in track data
test for temporal overlap in all data

@Hendrik1987 - I could not add you as a reviewer on your own PR - but could you please check and see if you are satisfied with the above?


Feature request: Ignored diagnostics by code

The typescript-language-server project has a diagnostics.ignoredCodes setting that allows us to ignore certain diagnostics by code. Specifically, I find 80006 "This may be converted to an async function." to be particularly annoying. It would be nice to have a similar ignoredCodes option to turn off unwanted diagnostics messages.

@pmizio may I take a look at this :) ?

@pmizio may I take a look at this :) ?

Not trying to lick the cookie here, just making sure you're not already working on it hehe.

Yes, I look into it tomorrow, this and next weekend I will be a little bit less active because vacation time in my country ;)

@MariaSolOs My idea how to do that isn't in diagnostic code itself, but we can use nvim feature to override response handler a bit of pseudo code:
local api = require("typescript-tools.api")

require("typescript-tools").setup {
  on_attach = ...,
  handlers = {
    ["textDocument/publishDiagnostics"] = api.utils.filter_diagnostic_codes({1, 2, 3}),
  },
}

@pmizio sounds good! So do you want users to filter the diagnostics via settings using such snippet, or do you want them to only provide the codes and leave the filters to the plugin?

1st one I don't want to overcomplicate code of diagnostics which is complicated now. Beside adding one utility function is easier to understand, test and maintain.

@dwoznicki it's now on master and instruction is in README


compose: Fix compose-preview size in expanded mode.

The CSS properties used to make the #compose-textarea full-size
were missing for the #preview_message_area, thus, it was just
getting to the height as specified in the max-height property
of #preview_compose_box.
Adding the missing CSS properties resolved the problem, but only
for not-too-long messages. For very-long messages, the preview
message area was overflowing the parent container (attaining the
maximum height possible according to the content, due to the absence
of max-height), which led to the controls below compose-box to
disappear.
Adding an additional property of height: 1.5em solved this problem,
as if a height lower than min-height is set to an element, it attains
its min-height.
Tested manually on my Ubuntu Development environment.
Fixes: #19243.
GIFs or screenshots:
Without height property

With height property

I tried a lot to find a way to do this without adding an extra height property but couldn't find any. @Signior-X can you please take a look at this and suggest if you have any better way of preventing #preview_message_area from overflowing.

This looks reasonable to me, but I'll hold off on merging until @Signior-X can take a look at it, in case he has better ideas.

I tried a lot to find a way to do this without adding an extra height property but couldn't find any. @Signior-X can you please take a look at this and suggest if you have any better way of preventing #preview_message_area from overflowing?

So, I also tried it. But I think that the simplebar is handling the scroll here and I tried seeing any other way. I feel this solution is the best one.
Also, I tried just removing display: none from the #compose_textarea and see this screenshot, how perfectly this flexbox is working. Now, the flex:1 is working perfectly with this height:1.5em.

With max-height: none, this is similar to the #compose_textarea and these both are the child of .messagebox.
So, good to merge.

Merged, thanks folks!


[Dialog] Update actions property docs

[ ] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

JSON actions were deprecated in 0.14.0, and removed in 0.15.0-alpha.1, but this docs comment for Dialog remained.

:scream: :scream: Good catch :+1: :+1:


Not found column for duplicate columns in JOIN ON section

Cannot resolve duplicated column from right table of JOIN.
create table t(a Nullable(Int64), b Nullable(Int64), c Nullable(String)) engine = Memory;
create table s(a Nullable(Int64), b Nullable(Int64), c Nullable(String)) engine = Memory;

insert into t values(1,1,'a'), (2,2,'b');
insert into s values(1,1,'a');

select * from t left outer join s on t.a = s.a;
1       1       a       1       1       a
2       2       b       \N      \N      \N

select * from t left outer join s on t.a = s.a and t.a = s.b;
1       1       a       1       1       a
2       2       b       \N      \N      \N

select * from t left outer join s on t.a = s.a and t.a = s.a;
Code: 10. DB::Exception: Received from localhost:9000, <IP_ADDRESS>. DB::Exception: Not found column s.a in block. There are only columns: s.b, s.c.

select * from t left outer join s on t.a = s.a and t.b = s.a;
Code: 10. DB::Exception: Received from localhost:9000, <IP_ADDRESS>. DB::Exception: Not found column s.a in block. There are only columns: s.b, s.c.

Similar error #4222

fixed in master


style: fix ruff check

Description
Fix code style according to the newest ruff.
Motivation and Context
Due to the ruff version update, the current code does not comply with the latest ruff specifications. PR #250 has encountered issues during the lint check. This pull request will modify the code according to the latest Ruff specifications, enabling PR #250 to merge after rebasing.
Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds core functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation (update in the documentation)

Checklist
Go over all the following points, and put an x in all the boxes that apply.
If you are unsure about any of these, don't hesitate to ask. We are here to help!

[x] I have read the CONTRIBUTION guide. (required)
[ ] My change requires a change to the documentation.
[x] I have updated the tests accordingly. (required for a bug fix or a new feature)
[ ] I have updated the documentation accordingly.
[x] I have reformatted the code using make format. (required)
[x] I have checked the code using make lint. (required)
[x] I have ensured make test pass. (required)

Codecov Report

Merging #251 (6042853) into main (a079102) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

:exclamation: Current head 6042853 differs from pull request most recent head 7f3fea6. Consider uploading reports for the commit 7f3fea6 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #251      +/-   ##
==========================================
- Coverage   97.03%   97.01%   -0.01%
==========================================
  Files         138      138
  Lines        6994     6994
==========================================
- Hits         6786     6785       -1
- Misses        208      209       +1

Impacted Files
Coverage Δ

omnisafe/common/offline/dataset.py
92.49% <100.00%> (+0.04%)
:arrow_up:

omnisafe/envs/core.py
90.62% <100.00%> (ø)

omnisafe/envs/mujoco_env.py
93.33% <100.00%> (ø)

omnisafe/envs/safety_gymnasium_env.py
97.96% <100.00%> (ø)

omnisafe/envs/safety_gymnasium_modelbased.py
94.17% <100.00%> (-0.03%)
:arrow_down:

omnisafe/utils/math.py
94.12% <100.00%> (-2.94%)
:arrow_down:

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Changing established date

Changing established date, its actually 2015

✅ By submitting this PR, I have verified the following

[x] Checked to see if a similar PR has already been opened 🤔
[x] Reviewed the contributing guidelines 🔍
[x] Added my name to the bottom of the list under the Contributors section in the README.md with a link to my personal website or GitHub profile 👥

@fvntr Can we change wording to "Powered by Latinx since 2015"?

changed


the issue of sqli rule recommendation

Hi
I tested the last commit(cac192b) and tool recommended the sqli rules in spite of the existence of sqli vulnerabilities.
It seems not to push the result of recommendation scan.
(Recommendation status is False)
*Result log is bellow.
[root@XXXXX aws-waf-cac192b]# python ds-to-aws-waf.py sqli -u apiuser -p XXXXX -t User --create-match
[root@XXXXX aws-waf-cac192b]# python ds-to-aws-waf.py sqli -u apiuser -p XXXXX -t User -l -r ap-northeast-1
Requesting information from Deep Security about your deployment
[2016-04-15 08:23:27]   Calling DPIRuleRetrieveAll. This may take 15-30 seconds as the call returns a substantial amount of data

Completed recommendation phase
Instance     Recommendation  Suggested WACL
************* ellipsis *************
************* ellipsis *************
i-be76d621   False   a960c8a1-75df-48e4-aea8-bc26f4961c1b
************* ellipsis *************
************* ellipsis *************

But when I tested 5ca4816 in same envionment, tool recommended the sqli rules to same instance.
(Recommendation status is True)
*Result log is bellow.
[root@XXXXX aws-waf-5ca4816]# python ds-to-aws-waf.py sqli -u apiuser -p XXXXX -t User --create-match
[root@XXXXX aws-waf-5ca4816]# python ds-to-aws-waf.py sqli -u apiuser -p XXXXX -t User -l -r ap-northeast-1
Requesting information from Deep Security about your deployment

Completed recommendation phase
Instance     Recommendation  Suggested WACL
************* ellipsis *************
************* ellipsis *************
i-be76d621   True    a960c8a1-75df-48e4-aea8-bc26f4961c1b
************* ellipsis *************
************* ellipsis *************

Successfully updated WACL [a960c8a1-75df-48e4-aea8-bc26f4961c1b]
Please check it.
ntochizawa

@ntochizawa I've expanded the regex filters to include more Deep Security rules. Should make recommendations more often as of commit 7f0f35448599cfb214212d7093effb7fc554c1d4


Pydantic causing installation issues - could it be less specific?

#0 105.8 The conflict is caused by:
#0 105.8     vocode 0.1.0 depends on pydantic==1.10.5
#0 105.8     nemoguardrails 0.2.0 depends on pydantic==1.10.6
#0 105.8     vocode 0.1.0 depends on pydantic==1.10.5
#0 105.8     nemoguardrails 0.1.0 depends on pydantic==1.10.6

which version of vocode has this problem? we actually don't have a specific version of pydantic in our dependencies

With requirements.txt as follows, I'm trying pip3 install -r requirements.txt
nemoguardrails
vocode

Here's a related bug i filed with nemoguardrails

Related issue:
langchainplus-sdk 0.0.20 requires pydantic<2,>=1
elevenlabs 0.2.27 requires pydantic>=2.0```

Another related issue
vocode 0.1.0 depends on typing-extensions==4.5.0


Attach the generated swagger.json for deployment with classifier is the filename of swaggerDirectory

for  issue  #254

If I understand this PR, it allows you to create a maven artifact from the swagger.json file ?
If this is the case, please do the following:

rename <attachSwagger>true</attachSwagger> to <attachSwaggerArtifact>true</attachSwaggerArtifact>.
add documentation to README.md describing the change and when/how someone would use it.

Oops, accidentally close this - sorry.  Please see my last comment for action items, @dantran

@who  will do. Thank you for reviewing it

@who not sure if I squash it right

@who could you squash them for me if it is not too much of your time. Thanks

Merged. Thanks @dantran


Deploy apps/proxy to GKE

Add new github action for apps/proxy
GKE Settings

done.
deploy to http://<IP_ADDRESS>/


Code question

I wonder if the check for MBEDTLS_HAVE_INT64 at line 1303 is really required here? It's not done in ecp_mod_p256k1() or ecp_mod_p192k1():
https://github.com/ARMmbed/mbedtls/blob/development/library/ecp_curves.c#L1303-L1307
With argument adjust being 1 when function ecp_mod_koblitz() is called, at line 1328 M->n will increase by 0:
    M.n += R.n - adjust; /* Make room for multiplication by R */
and then when it gets to line 1247
    MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &M, &M, &R ) );
mbedtls_mpi_grow() may force releasing the buffer (Mp) of M, which is allocated on the stack at line 1216:
 mbedtls_mpi_uint Mp[P_KOBLITZ_MAX + P_KOBLITZ_R];

Hi, thank you for taking interest in mbed TLS!
I think MBEDTLS_HAVE_INT64 is necessary at that line. If you have 64 bit words, then your 256 and 192 bit modulus will perfectly fit within the word boundaries, but when the modulus is 224 bit long then may have to do some adjustments.
Yes, you are right that the buffer Mp in ecp_mod_koblitz() is allocated on the stack and it would be very unfortunate if the mbedtls_mpi_grow() function would try to free it.
Clearly this is very suspicious and probably shouldn't be like this. Thank you for pointing it out!

If needed, I could provide a test case to show how this bug can be reproduced.

Yes, that sounds very good!
But please know, that to accept any contributions we will need a Contributor’s Licence Agreement (CLA) signed or authorised by yourself. You can find an agreement to sign here, which can be signed and returned to us, or you could create an mbed account and accept a slightly different agreement here with a click through if this is a personal contribution.
Also we can't promise anything about when this bug will be fixed or when your contribution will be merged.
Thanks for your understanding!

ARM Internal Ref: IOTSSL-951

The issue that, as @yanesca describes of, "the buffer Mp in ecp_mod_koblitz() being allocated on the stack and ... if the mbedtls_mpi_grow() function would try to free it" has been fixed and is now pending release.


Menu selected style not updated

Click any menu first, and then click home. The previous menu style is still selected.


Write check to get sample names from VCF header.

Currently relying on user using GATK's CombineVariants tool to combine VCFs together prior to using this suite. As is, we just use the set INFO field to determine which samples have the variant and which do not. This will work for our data, but is not nearly robust enough for production due to the assumptions it makes. Really need to settle on a standard format for sample naming in column headers (split by '.' and using everything in first element might be a good idea). Would still allow additional info in column headers.

Getting the names was implemented awhile ago in sequence.py as read_line2sample_dictionaries and read_line2sample_list. I fixed the former today.


net/http: TestResponseWriterWriteStringAllocs fails on windows-amd64

windows-amd64 build http://build.golang.org/log/f117061c3ee9fa9bb29820834431b964d9137d71 fails with
--- FAIL: TestResponseWriterWriteStringAllocs (0.01s)
serve_test.go:2398: WriteString allocs of 21 >= Write allocs of 21
FAIL
FAIL	net/http	8.384s

Not a windows specific problem.
On linux/amd64:
$ go test net/http -v -run=TestResponseWriterWriteStringAllocs
=== RUN TestResponseWriterWriteStringAllocs
--- FAIL: TestResponseWriterWriteStringAllocs (0.07s)
serve_test.go:2398: WriteString allocs of 39 >= Write allocs of 22
FAIL
exit status 1
FAIL net/http 0.070s
I think a lot of allocation tests are broken after the interface pointer
change.
(Esp. those not run during -short)

It seems this happened before and has been corrected by increasing number of testing.AllocsPerRun:
commit 542415c9df03e40a99ef9eb1005e43ba2cadc46a
Author: Brad Fitzpatrick<EMAIL_ADDRESS>Date:   Tue Mar 4 09:59:07 2014 -0800
net/http: deflake another alloc test
I have one machine where this 25 test run is flaky
and fails ("21 >= 21"), but 50 works everywhere.
LGTM=josharian
R=josharian
CC=golang-codereviews
https://golang.org/cl/67870053
It appears my problem goes away if I increase that number again to 100. Should I send a CL?
Alex

we need to ask @bradfitz to decide.

Sent https://go-review.googlesource.com/2720


Implement Continuous algebraic Riccati equation function

This PR implements an algorithm to solve the Continuous algebraic Riccati equation.
The main idea has been taken from drake.
cc @Giulero

hI, @S-Dafarra  I was trying to transform the function into a class but I've several doubts. I was thinking to organize it as
bool initialize(std::weak_ptr<ParametersHandler::IParametersHandler> handler);

bool setMatrices(Eigen::Ref<const Eigen::MatrixXd> A,
                     Eigen::Ref<const Eigen::MatrixXd> B,
                     Eigen::Ref<const Eigen::MatrixXd> Q,
                     Eigen::Ref<const Eigen::MatrixXd> R);

Solution getSolution();

bool getSolution(Eigen::Ref<Eigen::MatrixXd> S);

however, I don't know how to split the code. For instance, in setMatrices I can just copy the matrices A, B Q and R and I can also create the hamiltonian matrix H.
On the other hand in getSolution() I can run the algorithm to compute S. However, given a set of A B Q and R only one solution exists so it's not efficient to compute the solution in getSolution()
For instance this code will run the algorithm 4 times.
CARE care();
care.setMatrices(A,B,Q,R);

CARE::Solution sol = care.getSolution();
sol = care.getSolution();
sol = care.getSolution();
sol = care.getSolution();
sol = care.getSolution();

So the question is: shall we compute the solution while setting A, B Q and R and store it as a parameter of the class? In this case, shall we add the following matrices as a parameter of the class (notice that the size of  H is known only after setMatrices is called)?
Eigen::MatrixXd Z = H;
Eigen::MatrixXd Z_old;

Indeed every time we set new matrices H has to be reset

I think you can add a solve method that does the computation. This may also just output a boolean in case of success/failure. Then, the entire pipeline init -> set -> solve -> get could be handled by a single static function, in case you don't care about memory allocation.

I like it

Hi @S-Dafarra and @prashanthr05 I completely restructure the code. Let me know what you think

@S-Dafarra let me know if you're fine with the modifications

@S-Dafarra let me know if you're fine with the modifications

Yes, feel free to merge as soon as the CI passess.


fix #7 don't wrap values containing parentheses in qoutes

fix for #7

closing due to this solution


API changes review for Algebird Core

The review of API changes for the Algebird Core library since 0.8.0: https://abi-laboratory.pro/java/tracker/timeline/algebird-core/
The report is updated three times a week. Hope it will be helpful for users and maintainers of the library.
The report is generated by https://github.com/lvc/japi-tracker and https://github.com/lvc/japi-compliance-checker tools.
Thank you.

This is really awesome. I would love to have this tool running in CI against each PR.


No License

I was unable to locate a license for this software. Is this MIT licensed? Could we document this and include an appropriate license file? I'd like to utilize this plugin but due to the missing license I can't pull it into our org.

I'll add one, it'll be MIT.


Use submodule for External (#2133)

Reference Issue
#2133

What does this implement/fix? Explain your changes.
Try to perform git submodule init for the following:

External/CoordGen/coordgen
External/CoordGen/maeparser
External/catch/catch

Submodules are pinned so that they are consistent with the corresponding tar balls.
CI failure is due to maeparser submodule leftovers
in coordgenlibs, which is fixed by schrodinger/coordgenlibs@589e7ca4f3737c7566baab85e2fe22ddc6f19011 (schrodinger/coordgenlibs#41).
The change is not versioned yet.

There is a consistent failure during configuration:
The command "eval git submodule update --init --recursive " failed. Retrying, 2 of 3.

fatal: No url found for submodule path 'External/CoordGen/coordgen/maeparser' in .gitmodulesFailed to recurse into submodule path 'External/CoordGen/coordgen'

The command "eval git submodule update --init --recursive " failed. Retrying, 3 of 3.

fatal: No url found for submodule path 'External/CoordGen/coordgen/maeparser' in .gitmodules
Failed to recurse into submodule path 'External/CoordGen/coordgen'

The command "eval git submodule update --init --recursive " failed 3 times.

The command "git submodule update --init --recursive" failed and exited with 1 during .

The issue is fixed by pinning coordgen to schrodinger/coordgenlibs@a45ecd9a738317c17b5e16b9675a4f8694b9422a, try git clone --branch=_submodule_a45ecd9 --recursive https://github.com/e-kwsm/rdkit.git.
But it is not compatible with the current tarball.

Would it be helpful if I issue releases for coordgen & maeparser?

@d-b-w  I appreciate if the issue is fixed, but priority is not high—current mechanism (download tarball) is working.


searching for users requires capitalisation in the mobile app

Summary
When you search for a user in mobile app, you have to type their full name starting with capitalised letter
Environment Information
Android 10
Mattermost Mobile Version: 2.5.1 (6000476)
Database Schema Version: 104
Database: mysql
Steps to reproduce
For example, we have a user named @user1, his full name is John Smith.
If you search for "smith" or "john" in the mobile app, the user @user1 doesn't come up as a result.
You can find the user only by typing his name with first letters capitalised - "Smith" or John".
Expected behavior
The user should come up in search results.
Observed behavior (that appears unintentional)
The user doesn't show up in the search results.
This issue is not present in the desktop and browser versions, as well as the Mattermost Classic App.

@az-bp Just to confirm, by "search for a user", are you referring to the "Create Direct Message" modal or another modal?

@az-bp Just to confirm, by "search for a user", are you referring to the "Create Direct Message" modal or another modal?

@amyblais I mean the "Find channels" at the top

Updating the app didn't solve the problem.
Server Version - v7.9.0

@lindy65 Are you able to reproduce this on Android?

Hi @amyblais @az-bp
I am not able to reproduce this on Android 13, mobile v2.6.0 build 479
Might it have something to do with server version?  I tried on v7.10 and 8.0 and couldn't reproduce on either.  Are you able to upgrade to latest server version @az-bp ?

Hi, I have updated Mattermost Server to version 8.1.0. That didn't solve the problem.

Apparently the problem appears only while searching for names, that contain Cyrillic characters, not Latin.


Please add color preview feature or make a plugin for that

Can you add the color preview feature, please? So that if we write a color code or name then it shows the color like the plugin below.
plugin link: https://marketplace.visualstudio.com/items?itemName=kamikillerto.vscode-colorize

I believe this exists here: https://github.com/lite-xl/lite-xl-plugins/blob/master/plugins/colorpreview.lua.


Question regarding linked remotes

First of all, thank you for your work! I haven't had yet the chance to actually use it, but it looks pretty much like something I wanted for years 👏
I'm wondering what it technically means when a remote is linked.
So the following scenario: Each blind has a physical remote. Now I want to make this smarter, I use an ESP, your software, etc. I added a blind and linked the physical remote.
Is the physical remote still able to control the blind fully independently from the ESP? Basically, I would like to know if the status quo still works if the ESP is powered off (for whatever reason).
Is ESPSomfy-RTS basically listening to all nearby remote -> blind RTS signals or is there a physical remote -> ESP -> blind connection then?

Is the physical remote still able to control the blind fully independently from the ESP? Basically, I would like to know if the status quo still works if the ESP is powered off (for whatever reason).

Yes.  ESPSomfy-RTS simply acts like another remote independent of your existing remotes.

Is ESPSomfy-RTS basically listening to all nearby remote -> blind RTS signals or is there a physical remote -> ESP -> blind connection then?

Yes.  While ESPSomfy-RTS acts like a remote, it is also a good listener.  So if you press a button on a remote it will hear that command and act on it if the remote is linked to the defined Blind in ESPSomfy-RTS.    ESPSomfy-RTS does not do this and you should not use the same addresses of any of your existing remotes.  Normal motors allow around a dozen independent remote channels.

Btw just to be certain you understand.    In essence you will have two remotes that control the blind, but only one of them can receive signals from other remotes.

Thank you!

Dear rstrouse, also thanks a lot for your great work.
I have also integrated your ESPSomfy-RTS  into my HomeAssistant. It works perfectly :-)
I have one short question. I have in addition to my Remotes (Centralis) also a central remote Somfy Chronis where all Centralis are connected. Is it somehow possible to connect this Chronis as remote (listener) also to the shades? If the Chonis moved down all shades, it is not seen by the ESPSomfy-RTS integration.
Thanks a lot.


Add IRM contractor script

Sorry this wasn't clear - we want all columns, not just the last few that this is cleaning up. Namely
Project Name
Province
Department
Local Municipality
District Municipality
Latitude
Longitude
Project Status
Project Start Date
Estimated Construction Start Date
Estimated Project Completion Date
Contracted Construction End Date
Estimated Construction End Date
Professional Fees
Construction Costs
Variation Orders
Total Project Cost
Project Expenditure from Previous Financial Years (Professional Fees)
Project Expenditure from Previous Financial Years (Construction Costs)
Project Expenditure from Previous Financial Years (TOTAL)
Main Budget Appropriation (Professional Fees)
Adjustment Budget Appropriation (Professional Fees)
Main Budget Appropriation (Construction Costs)
Adjustment Budget Appropriation (Construction Costs)
Main Budget Appropriation (TOTAL)
Adjustment Budget Appropriation (TOTAL)
Main Budget Appropriation (Professional Fees)
Adjustment Budget Appropriation (Professional Fees)
YTD Actual Expenditure (Professional Fees)
Main Budget Appropriation (Construction Costs)
Adjustment Budget Appropriation (Construction Costs)
YTD Actual Expenditure (Construction Costs)
Main Budget Appropriation (TOTAL)
Adjustment Budget Appropriation (TOTAL)
YTD Actual Expenditure (1)
YTD Actual Expenditure (2)
Budget Programme
Primary Funding Source
Nature of Investment
Funding Status
Implementing Agent
Principle Agent
Main Contractor

Please require and take input and output argument as command line arguments

Looks like either the input isn't being parsed properly, or the output isn't saving with quotes like it should. There's non-provinces in the output data

Actually I was just allowing semicolon to be a delimiter when importing, when I shouldn't. I've hid the encoding coment as resolved.


ASTMangler: sink fix to be more safe

My previous fix in 6f6a46f was the correct fix in theory, but in practice it could accidentally change the mangling of something I haven't considered, which would break ABI with Swift 6.0
I've narrowed that fix here to only affect dependent conformances specifically for Copyable/Escapable. The existing code in appendDependentProtocolConformance would always reach a trap because we're mangling a conformance path that ends with Copyable/Escapable.
We can assume no such symbol has been successfully been mangled before, thanks to the pre-existing skip in conformanceRequirementIndex, so there's no risk of ABI change.
rdar://135310019

@swift-ci smoke test

unrelated macOS failure:
Unexpectedly Passed Tests (6):
  Swift(macosx-x86_64) :: embedded/concurrency-actors.swift
  Swift(macosx-x86_64) :: embedded/concurrency-async-let.swift
  Swift(macosx-x86_64) :: embedded/concurrency-simple.swift
  Swift(macosx-x86_64) :: embedded/darwin-bridging-header.swift
  Swift(macosx-x86_64) :: embedded/darwin.swift
  Swift(macosx-x86_64) :: embedded/dependencies-concurrency.swift

@swift-ci smoke test macOS


Async SdkContext.AzureCredentialsFactory.FromServicePrincipal()

A call to SdkContext.AzureCredentialsFactory.FromServicePrincipal() can take 5 seconds or more to return. Is there an async version or other way to invoke it that would free the thread whilst it waits for the Azure service to do its stuff?

@ImageQC can you please help us understand this scenario better.
Please provide the name of the sdk nuget package that you are using.
Also any code that will help us to repro this issues helps.

                        var azure = Azure
                            .Configure()
                            .WithLogLevel(HttpLoggingDelegatingHandler.Level.Basic)
                            .Authenticate(credentials)
                            .WithDefaultSubscription();

                                            var containerGroup = await azure.GetResult().ContainerGroups
                                                .Define(containerName)
                                                .WithRegion(Region.EuropeWest)
                                                .WithExistingResourceGroup(resourceGroupName)
                                                .WithLinux()
                                                .WithPublicImageRegistryOnly()
                                                .WithoutVolume()
                                                    .DefineContainerInstance(containerName)
                                                    .WithImage(classifierImage)
                                                    .WithExternalTcpPort(80)
                                                    .WithCpuCoreCount(cpuCount)
                                                    .WithMemorySizeInGB(memoryGb)
                                                    .Attach()
                                                    .WithDnsPrefix(dnsPrefix)
                                                    .WithRestartPolicy(ContainerGroupRestartPolicy.OnFailure)
                                                .CreateAsync();

The delay is in the second call. Please let me know if you need anything more.

@ImageQC this seems like a .NET Fluent SDK issue.
Can you open an issue in this repo for all .NET Fluent related stuff
https://github.com/Azure/azure-libraries-for-net/issues
Closing this issue. Let me know if you think otherwise.


Image support?

I'd like to add a digital signature to a template PDF as well as the form fields. I appreciate creating the digital signature is out of the scope of this project (I've already written such logic using canvas) but I'd like to insert the generated signature image into the PDF in a fixed location.

I currently don't have a use case for importing images into PDFs. But, I am more than happy to accept a PR which does it!

closing due to no activity


feat: blake3 benchmarks

Describe your changes
This PR addresses #14 , as part of #12 , and implements benchmarks for Blake3 hash function.
Checklist before requesting a review

Repo forked and branch created from next according to naming convention.
Commit messages and codestyle follow conventions.
Relevant issues are linked in the PR description.
Tests added for new functionality.
Documentation/comments updated according to changes.

Looks good to me


Find a way to offload symbol resolution to client

Currently, we resolve symbols on server side. This is done in a separate thread and doesn't seem to cause much slow-down, but it would be better if we could resolve addresses to strings on client side. This would require loading a symbol file for the target platform, though, so we're not sure if this will even work.

Alternative idea: at the start of profiling, or when an assembly is loaded in the server, send the list of classes and methods gleaned from assembly via various image.h methods (mono_image_get_table_info with MonoMetaTableEnum might help to enumerated all classes, and then I can use other calls to get a list of class methods). Then we can avoid sending strings to client. But I have to consider various cases, like static methods, display classes, generic classes etc. and make it sure it all works.


docs(ticdc): add db sorter design doc

What problem does this PR solve?
Issue Number: ref #3227
Check List
Tests

No code

Release note
None

/merge


Update jsoniter-scala-macros to 2.13.39

Updates com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-macros from 2.13.5 to 2.13.39.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (2.13.5).
You might want to review and update them manually.
modules/build/src/test/scala/scala/build/tests/BuildTests.scala
modules/build/src/test/scala/scala/build/tests/SourcesTests.scala
website/docs/cookbooks/scala-versions.md

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.plokhotnyuk.jsoniter-scala", artifactId = "jsoniter-scala-macros" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "com.github.plokhotnyuk.jsoniter-scala", artifactId = "jsoniter-scala-macros" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

Can't update this version, JDK8 support was dropped from 2.13.6 onward.

We can set config in .scala-steward.conf to ignore it, for example https://github.com/scalacenter/bloop/blob/main/.scala-steward.conf

We can set config in .scala-steward.conf to ignore it, for example https://github.com/scalacenter/bloop/blob/main/.scala-steward.conf

It should fix it - https://github.com/VirtusLab/scala-cli/pull/1694/files.


LP-156 Create skeleton app

https://companieshouse.atlassian.net/browse/LP-156
A basic skeleton app
run 'npm i' to install packages
followed by
'npm run build' to compile
and 'npm run start' to start the service
I set default port to random number - 3127
use localhost:3127/limited-partnerships/start to view the test page
/limited-partnerships/ is not the decided domain name so may change.

https://companieshouse.atlassian.net/browse/LP-156
A basic skeleton app
run 'npm i' to install packages followed by 'npm run build' to compile and 'npm run start' to start the service
I set default port to random number - 3127
use localhost:3127/limited-partnerships/start to view the test page
/limited-partnerships/ is not the decided domain name so may change.

Suggest adding these instructions for building and running the app to the README file.

https://companieshouse.atlassian.net/browse/LP-156
A basic skeleton app
run 'npm i' to install packages followed by 'npm run build' to compile and 'npm run start' to start the service
I set default port to random number - 3127
use localhost:3127/limited-partnerships/start to view the test page
/limited-partnerships/ is not the decided domain name so may change.

Suggest adding these instructions for building and running the app to the README file.
Also with the version of Node and npm that should be used.

updated readme and set the node version in package.json


Support dynamic plugin loading

A plugin loader should be written using the GHC API. A context should be created and the plugin name should be added to an import declaration. dynCompileExpr should be used to retrieve a Dynamic representation of the plugin's exports. The plugin import should also be qualified to prevent issues arising from an exported name conflicting with a name defined in the Prelude.
Additionally, the Plugin interface should be defined, if possible without cyclic dependencies, in a new module Arata.Plugin to separate these types from the other types defined in Arata.Types.

To clarify on why this issue has not yet been closed, the Plugin interface is still to be defined in Arata.Plugin.

This is not possible due to CommandH being a type alias of Client -> Client -> [String] -> Arata (), therefore requiring knowledge of Client, and Env containing a record for servs :: M.Map String Commands, therefore requiring knowledge of Commands.
A boot file may allow for the two modules to be mutually recursive, but this requires further investigation. For now, I'm closing the issue.


[TF 2.0 API Docs] tf  - typo, extra symbols in pip install doc copy code

Existing URL(s) with the issue:
https://www.tensorflow.org/versions/r2.0/api_docs/python/tf
Description of issue (what needs changing):
Copyable code block has extra characters ", at the end:
pip install tensorflow==2.0.0-alpha0",
Clear description
Copyable code block should be changed to the following to make copying easier.
pip install tensorflow==2.0.0-alpha0
Correct links
This is the overview for the TF 2.0 API, but I couldn't find the docstring in the referred source: https://github.com/tensorflow/tensorflow/blob/r2.0/tensorflow/init.py
Submit a pull request?
Would love to, but couldn't find in source where this was a docstring or being generated :(

@ghchinoy Looks like this is fixed.
Can you please let us know if you are happy to close if no issue persists. Thanks!


Add support for specifying the Port as a parameter to the constructor…

… to allow for customization of the server initialization.
@stefanbirkner Let me know what you think about this approach as I know it is a bit different than what you had in mind.

I like the idea of using an unused port. But I would like to have this a default behaviour when calling new FakeSftpServerRule(). I don't like having the port as constructor argument. It gets confusing when people need other parameters, too. My current plan is to release a version 1.1 with a withPort(int) method and the a version 2.0 which by default selects an arbitrary free port.

@stefanbirkner That's understandable.  I've updated the PR with changes to match what I believe you envisioned for version 1.1.  Let me know what you think.

The tests seem to work locally for me.  Any way to re-trigger the build?

Fake SFTP server rule starts the server on an unused arbtirary port by default.


[tool_crash] FileSystemException: readInto failed, OS Error: The request could not be performed because of an I/O device error., errno = 1117

Command
flutter --no-color run --machine --track-widget-creation --device-id=adb-6TTKCAFM6X9DIB9L-ne1Hyw._adb-tls-connect._tcp --start-paused --dart-define=flutter.inspector.structuredErrors=true lib\main.dart

Steps to Reproduce

...
...
...

Logs
FileSystemException: readInto failed, OS Error: The request could not be performed because of an I/O device error.
, errno = 1117
#0      _RandomAccessFile.readIntoSync (dart:io/file_impl.dart:835:7)
#1      _File.readAsBytesSync (dart:io/file_impl.dart:593:35)
#2      _File.readAsStringSync (dart:io/file_impl.dart:624:18)
#3      ForwardingFile.readAsStringSync (package:file/src/forwarding/forwarding_file.dart:99:16)
#4      ErrorHandlingFile.readAsStringSync.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:217:22)
#5      _runSync (package:flutter_tools/src/base/error_handling_io.dart:587:14)
#6      ErrorHandlingFile.readAsStringSync (package:flutter_tools/src/base/error_handling_io.dart:216:12)
#7      _DefaultPub.get (package:flutter_tools/src/dart/pub.dart:275:37)
#8      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1731:17)
<asynchronous suspension>
#9      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1389:27)
<asynchronous suspension>
#10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#11     CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:355:9)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#14     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:295:5)
<asynchronous suspension>
#15     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:119:9)
<asynchronous suspension>
#16     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)

[✓] Flutter (Channel stable, 3.19.2, on Microsoft Windows [Version 10.0.19045.4046], locale en-US)
    • Flutter version 3.19.2 on channel stable at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (6 weeks ago), 2024-02-27 16:51:22 -0500
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.1

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\prash\AppData\Local\Android\sdk
    • Platform android-UpsideDownCakePrivacySandbox, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio1\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✗] Visual Studio - develop Windows apps
    ✗ Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[✓] Android Studio (version 2022.3)
    • Android Studio at C:\Program Files\Android\Android Studio1
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)

[✓] VS Code (version 1.87.2)
    • VS Code at C:\Users\prash\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.84.0

[✓] Connected device (4 available)
    • CPH2337 (mobile)  • adb-6TTKCAFM6X9DIB9L-ne1Hyw._adb-tls-connect._tcp • android-arm64  • Android 13 (API 33)
    • Windows (desktop) • windows                                           • windows-x64    • Microsoft Windows [Version 10.0.19045.4046]
    • Chrome (web)      • chrome                                            • web-javascript • Google Chrome 123.0.6312.106
    • Edge (web)        • edge                                              • web-javascript • Microsoft Edge 123.0.2420.65

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version:<PHONE_NUMBER>e8d758338d8a28f589f317e1e42ba4
Plugins
path_provider_linux-2.2.1
path_provider_windows-2.2.1
shared_preferences-2.2.2
shared_preferences_android-2.2.1
shared_preferences_foundation-2.3.5
shared_preferences_linux-2.3.2
shared_preferences_web-2.3.0
shared_preferences_windows-2.3.2
url_launcher-6.2.5
url_launcher_android-6.3.0
url_launcher_ios-6.2.5
url_launcher_linux-3.1.1
url_launcher_macos-3.1.0
url_launcher_web-2.3.0
url_launcher_windows-3.1.1

Hi @pv73
This seems to be an issue with the driver. Could you try starting your computer in safe mode to see if it works? (please check the detailed answer here: https://answers.microsoft.com/en-us/windows/forum/all/error-0x8007045d-the-request-could-not-be/17d085c8-bab4-4d31-9a2b-e7a4ba38d387)


build: update control-plane submodule addressing infinite rebuilds

This should address the inifite rebuild issue when no code change is made. Dev UX should now improve as consecutive cargo builds should not rebuild.

Description

Motivation and Context

Regression

How Has This Been Tested?

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added unit tests to cover my changes.

bors merge


Encoding of special characters not working on artist search

First of all, great work! This is one nice wrapper!
I've upgraded the wrapper from 1.5.0 to the latest version and I've encountered a new bug.
When searching on the api with the searchArtists(#name).market(#market) I get an IllegalArgumentException.
For example when searching for the artist "Brand New Wayo" :
java.lang.IllegalArgumentException: Illegal character in query at index 57: https://api.spotify.com:443/v1/search?type=artist&q=Brand New Wayo&market=nl
It's kind of obvious what is happening, the space char isn't encoded to HTML entities.

Should be fixed in 0023eddf33f6dda545aa4b6ea958fd0e4809cda8. But I suggest that you check out v2.0.0 which will be released this weekend.

v2.0.0 looks good! Definitely going to switch

Version 2.0.0-RC1 of spotify-web-api-java was just released.


chore: migrated settings.gradle to kts version

@marcodallaba Could you also delete the settings.gradle, please? Thank you 🙏

@mcatta sorry, I forgot to commit that part. Done!


Dramatically simplify Kubernetes deployment

We need to dramatically simplify deploying Kubernetes.
Task list to reduce/eliminate the bash/salt necessary for getting a cluster up and running:

[ ] Provide an 'all-in-one' binary for server components.  This was started in #2121 but we should let users specify individual components (i.e. kube-proxy) or a batch of servers (node, master)

[ ] Integrate etcd so that it isn't necessary to download/start separately.  Users should be able to easily turn this off and use an existing etcd.
[ ] Integrate flannel so that there is a networking solution that works out of the box.  This eliminates the need to statically assign container subnets to nodes.
[ ] Integrate flannel-route-manager so that more advanced configurations (GCE) are supported easily.

[ ] Allow for kubelets to securely nominate themselves to join the cluster

[ ] Lock down kubelet auth via a TLS CA flow.
[ ] Have the kubelet register itself with the apiserver. #2435 is a start at this.
[ ] Stock policies to auto approve/reject CA signing requests.

[ ] Implement the bootstrap API.  (Defined below but should be broken out into a new issue).

[ ] Finish definition of the bootstrap API
[ ] Implement a new binary/mode for serving the bootstrap API
[ ] Host the bootstrap API on k8s.io
[ ] Have the unified binary race to be the master via the bootstrap API.  Have it publish it's location.
[ ] Have the minion use the bootstrap API to find the api server and self-register
[ ] Have kubectl use the bootstrap API to find the api server (and CA for the api server).

[ ] Reduce/eliminate command line flags.  These don't work well in a clustered environment.  Thoughts in #1627.

[ ] Have initial config of cluster come from bootstrap API

[ ] Recast add-ons as post-cluster deploy scripts/tools that run on top of kubernetes.  Try to eliminate any node configuration that isn't done through the kubernetes API

[ ] Node monitoring
[ ] Cluster monitoring
[ ] Node logging
[ ] DNS

cc: @eparis @smarterclayton
The end result is that we'd love for something like this to work:
Once per cluster start up:
$ kubernetes cluster-create
Creating new cluster via https://k8s.io/
Cluster ID: f95e695d6eac75b7
Admin certificate saved to ~/.k8s/f95e695d6eac75b7/admin.crt
Admin key saved to ~/.k8s/f95e695d6eac75b7/admin.key

Launch kubernetes on multiple machines with:
  kubernetes --bootstrap=https://k8s.io/k/f95e695d6eac75b7 --bootstrap-key=041fb4965cd31be8

And then on every node in the cluster:
kubernetes --bootstrap=https://k8s.io/k/f95e695d6eac75b7 --bootstrap-key=041fb4965cd31be8
docker -d $(cat /var/run/kube-docker-flags)

And then from the client, you can use the same URL to auth to the servers as an 'admin' user.  It'll use the bootstrap url to get admin keys, certs and such.  If you connect to a mode and it isn't the master, it'll return a redirect to who is currently the master.  This way updating the bootstrap URL can lag actual master election.
kubectl --bootstrap=https://k8s.io/k/f95e695d6eac75b7 list pods

So I'm a huge +1 for this, with one caveat of having a whitelist option on master #3103 , with reverse DNS lookup on minions to join.  That should narrow the vector.

xref https://github.com/mesosphere/kubernetes-mesos/issues/169

We now separately track the items from this uber-proposal that are part of milestone v1, so removing that tag.

@alex-mohr, @jdef - could we get a new label for tracking mesos-framework integration pieces?

Created label cluster/platform/mesos
On Thu, Mar 19, 2015 at 2:40 PM, Timothy St. Clair<EMAIL_ADDRESS>
wrote:

@alex-mohr https://github.com/alex-mohr, @jdef https://github.com/jdef

could we get a new label for tracking mesos-framework integration pieces?

—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/2303#issuecomment-83769518
.

I've broken cluster bootstrapping out into #5754.

I've broken the all-in-one binary out into #5755.

For reference, "Allow for kubelets to securely nominate themselves to join the cluster" is being tracked in #3168.

And "Recast add-ons as post-cluster deploy scripts/tools that run on top of kubernetes" is being tracked in #3579.

Closing this umbrella issue now that all of the various parts have been split into separate issues.

@jbeda, is it implemented/in process? I mean master/minion combined installation? I just didn't see it in the ones @roberthbailey separated this monstruosed issue to, can you point me to discussion? thx.

@sandric Check out:
https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/getting-started-guides/docker.md


Table features implementation and various fixes

This patch provides implementation of the table features marshaling
and unmarshaling as well as respective tests. It also contains the
fixes for Actions and Instructions unmarshaling.

Pretty all much done that relates the OpenFlow message serialization.


Revoke token for an app and all apps

Feature: add a revoke all tokens button on the apps page
Feature: add a revoke token button for a specific app

Can we have something like this:

Instead of a long button, we can have a box in bottom of the pages with title, description and small button.

The box "revoke all oauth token" should not appear in /apps but in /apps/authorized.
The box should also appear in pages /apps/@appname and we should remove the button "revoke token access" here:

Also this page should be working<EMAIL_ADDRESS>

@gregory-latinier Can you make it in plural? You not revoke 1 token but any token that you have with the app actually

@gregory-latinier Is it possible to switch from dropdown to modal for confirm token revoke?


Refactor cellfinder workflow tests

Suggestions for refactoring the cellfinder workflow tests, from the PR #23 review (thanks @alessandrofelder!)

Can we redefine the integration tests as parametrised instead, considering a range of input configs (default, fetching from GIN, fetching locally)?

Split the current integration tests into unit tests, each testing the individual steps (e.g., split setup into the 4 setup steps, and then test the actual workflow separately). This would allow us to remove the subprocess call and we think it would simplify the whole suite.

I would then use pytest's fixture caplog / capsys to assert logs

Make the tests more modular.

Separate general unit tests (parser for now) and cellfinder-specific unit tests (with modules / directories)

Start a utils module for all workflows (which for now would include the parser function)

(unit) test this separately

Do we need the make_config helper functions?

if we are doing away with the subprocess call, probably no. Instead, have a fixture that returns the config as a CellfinderConfig class instead.
if we do need them, can we make them smaller? can they be defined inside the relevant fixtures instead?

Integrate fixtures back into file with the tests' definitions, rather than in conftest.py

Remove autouse=True for cellfinder_cache_dir fixture: this is because autouse=True will automatically execute the fixture for every test, and we won't want e.g. brainreg tests to trigger this fixture. (Can we have autouse only at module level?)

(Can we have autouse only at module level?)
Yes - we can define it in the module instead of conftest.py I think
if an autouse fixture is defined in a test module, all its test functions automatically use it. from pytest docs


waffle mark 🧇

Fixes #2029.

[x] waffleX
[x] waffleY
[x] Rounded corners (rx, ry)
[x] Automatic row/column size determination
[x] Fractional cell rendering
[x] Configurable units
[x] Configurable gap
[x] Fix patterns in test snapshots
[x] Fix the r option; don’t allow asymmetric corner rounding
[x] Fix orientation of partial rows with negative values
[x] Fix rendering stroke glitch with partial cells
[x] Handle constant fill and stroke better
[x] Consolidate and optimize waffle rendering
[x] Documentation
[x] Tests

Current status:

I’m now computing the number of waffle cell columns correctly, and rendering them as a pattern. But I need to replace the rect elements generated by BarY with a path element so that the top & bottom cells aren’t truncated (unless there’s a fractional value).

Now with fractional cell rendering!

Whew! 😅 That was a lot of work but I’m pretty happy with how this turned out.

I was wondering how to use this for ISOTYPE charts, and it appears that it's possible to use the render transform to edit the patterns’ contents:
render: (index, scales, values, dimensions, context, next) => {
  const g = next(index, scales, values, dimensions, context);
  const pattern = d3.select(g).selectAll("pattern");
  pattern.selectAll("rect").remove();
  pattern.append("text").attr("x", 10).attr("y", 15).text("🚀");
  return g;
}

This gives two ideas for future enhancements:

extend the mark to accept a symbol option, or
extend the mark to accept a pattern option

The rendered pattern might also be easier to manipulate if it was centered on the origin with a viewBox rather than extending from it (in that case, the values for x and y above would essentially be zero).
@@ -62,10 +62,11 @@ function waffleRender(y) {
     const basePattern = document.createElementNS(namespaces.svg, "pattern");
     basePattern.setAttribute("width", cellsize);
     basePattern.setAttribute("height", cellsize);
+    basePattern.setAttribute("viewBox", [-cellsize / 2, -cellsize / 2, cellsize, cellsize]);
     basePattern.setAttribute("patternUnits", "userSpaceOnUse");
     const basePatternRect = basePattern.appendChild(document.createElementNS(namespaces.svg, "rect"));
-    basePatternRect.setAttribute("x", gap / 2);
-    basePatternRect.setAttribute("y", gap / 2);
+    basePatternRect.setAttribute("x", (gap - cellsize) / 2);
+    basePatternRect.setAttribute("y", (gap - cellsize) / 2);
     basePatternRect.setAttribute("width", cellsize - gap);
     basePatternRect.setAttribute("height", cellsize - gap);
     if (rx != null) basePatternRect.setAttribute("rx", rx);

It makes total sense that the number of rows/columns is completely automatic and not configurable, but it might be useful to call this out explicitly in the documentation?

It might be nice in the future to allow a configurable orientation (e.g. filling rows from the left instead of from the right). Not a blocker at all, I'm not even sure I would use it.

It makes total sense that the number of rows/columns is completely automatic and not configurable, but it might be useful to call this out explicitly in the documentation?

That’s already called out here:

The waffle mark automatically determines the appropriate number of cells per row or per column (depending on orientation) such that the cells are square, don’t overlap, and are consistent with position scales.

It would also be very easy to expose this as an option. In fact I had it as an option in the past. But it was a footgun: if you hard-code the value it’s easy to produce overlapping waffles. In practice, what I want is to guarantee that the rows/columns is either a factor or a multiple of the corresponding position scale. The waffle mark doesn’t have that information easily available at render time, though (since the axis could be rendered after the waffle, or there could be multiple axes)… maybe an option to limit it to a power of ten times 1, 2, 5? Anyway.
The number of rows/columns is also heavily affected by the values, so I’m not sure I have much useful hints. Maybe just, if you have narrower bands, you have fewer cells per row/column? Setting padding on the ordinal scale for example.

It might be nice in the future to allow a configurable orientation (e.g. filling rows from the left instead of from the right).

Sure… though I’m skeptical of adding such an obscure feature unless someone can explain why it’s worth adding. You could always do it with a custom mark or render transform.

The ISOTYPE chart idea is interesting, but I’m not sure how well the waffle would work for that, since often the glyphs are non-square, and they can even vary across series. Which means that there’s no meaningful position encoding, and you’re just responsible for counting glyphs to perceive the encoded value.

But for sure there are more extensions we could do here than square/rounded squares for the pattern! I don’t think we should implement these now, with the possible exception of non-square aspect ratios as previously mentioned.


Could not find com.google.firebase:firebase-analytics:12.0.1.

Everything was working fine untill this morning. I have no idea what's wrong but it is across multiple projects. Didn't change anything I'm still in process of programming. Didn't add any new node modules or change any of the settings.
This was output:
`Could not resolve all dependencies for configuration ':app:_debugApk'.

A problem occurred configuring project ':react-native-fcm'.
Could not resolve all dependencies for configuration ':react-native-fcm:_debugPublishCopy'.
Could not find com.google.firebase:firebase-analytics:12.0.1.`

Just tried to run react-native run-android.

I've the similar problem with version 14.1.3. It gives error:

Could not find com.google.firebase:firebase-analytics:11.8.0.`

Google separated Play Services from Firebase on the latest release: https://developers.google.com/android/guides/releases
I'm no Android expert and got lost in the gradle files, but from the reading I did it looks like you now have to use the latest release of all firebase and gms libraries (their latest can be found here: https://mvnrepository.com).
In the rn-fcm library, @evollu uses the same version for both gms and firebase. As a temporary solution I changed the library's build.gradle to use the latest version:
    compile "com.google.firebase:firebase-core:+"
    compile "com.google.firebase:firebase-messaging:+"

I hope @evollu can update those files to support the new libraries from Google. I didn't create a pull request because I don't feel that I fully understand the implications but that solution seems to work for me.

Some more references:
https://stackoverflow.com/questions/50182756/multiple-dex-files-define-lcom-google-android-gms-internal-measurement-zzabn
https://github.com/invertase/react-native-firebase/issues/1155

I find that upgrading to firebase 16.0.1 and compileSDKversion to 27 and build tool to 27.0.3 solve the problem for me .

@KBepo I'm looking at the file on master and it seem that the version is set by googlePlayServicesVersion or defaults to 11.+:
https://github.com/evollu/react-native-fcm/blob/master/android/build.gradle
@linh1987 I will try that (I've already set the version to the latest, but haven't checked reverting my manual change to the library's build.gradle.

Ok I've tried again. With the code as it is the build fails. I had to modify fcm's build.gradle as stated above.

When i change build.gradle to
compile "com.google.firebase:firebase-core:+"   compile "com.google.firebase:firebase-messaging:+"
I have other problem

Failed to apply plugin [id 'com.google.gms.google-services']
For input string: "+"
Any one known about this problem

@jacktv1 I have the same problem. I guess what @noambonnie means is to leave app/build.gradle file as it is and change the build.gradle file of react-native-fcm in node modules.

However by changing the the build.gradle file in node_modules/react-native-fcm/android/build.gradle to match the dependencies as:
compile "com.google.firebase:firebase-core:+"
compile "com.google.firebase:firebase-messaging:+"
I now face this error
> Could not find method getCompileConfiguration() for arguments [] on object of type com.android.build.gradle.internal.api.ApplicationVariantImpl.

Got everything working by changing node_modules/react-native-fcm/android/build.gradle dependencies to:
compile "com.google.firebase:firebase-core:+"
compile "com.google.firebase:firebase-messaging:+"

and changing dependencies in project's build.gradle file to:
dependencies {
  classpath 'com.android.tools.build:gradle:2.2.3'
  classpath 'com.google.gms:google-services:3.2.1'
}

@arsal-wal what version of firebase core in android/app/build.gradle
here is my: compile 'com.google.firebase:firebase-core:10.0.1'

@jacktv1 here are the firebase versions in my app build.gradle file:
compile project(':react-native-fcm')
compile "com.google.firebase:firebase-core:10.0.1"
compile "com.google.firebase:firebase-messaging:10.0.1"

Note: My react-native-fcm version in package.json is 14.1.3:

"react-native-fcm": "^14.1.3",

@arsal-wal Thanks for pointing me to this issue as i have posted same issue at same time. But i am having following versions of RN :

"react-native": "0.44.0",
"react-native-fcm": "^7.2.0",

dependencies in android build.gradle:
dependencies {
        classpath 'com.android.tools.build:gradle:2.2.3'
        classpath 'com.google.gms:google-services:3.0.0'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }

following are dependencies in my app build.gradle:
dependencies {
    compile project(':react-native-orientation')
    compile project(':react-native-fcm')
    compile 'com.google.firebase:firebase-core:10.0.1' //this decides your firebase SDK version
    compile project(':react-native-image-picker')
    compile project(':react-native-device-info')
    compile project(':react-native-google-analytics-bridge')
    compile project(':react-native-vector-icons')
    compile fileTree(dir: "libs", include: ["*.jar"])
    compile "com.android.support:appcompat-v7:23.0.1"
    compile "com.facebook.react:react-native:+"  // From node_modules
}

I am in a situation where i can't upgrade as i have a delivery date and this issue just appeared out of nowhere.
Can anyone help me with some other solution.

@niranjan-b-prajapati did you try changing google-services version to 3.2.1 in android/build.gradle
    classpath 'com.google.gms:google-services:3.0.0'

I got it working by upgrading fcm to latest version.

@arsal-wal  I have set my android/build.gradle  to
classpath 'com.google.gms:google-services:3.2.1'
And my android/app/build.gradle is set to
'com.google.firebase:firebase-core:10.0.1'
node_modules/react-native-fcm/android/build.gradle is set to
compile "com.google.firebase:firebase-core:+"
compile "com.google.firebase:firebase-messaging:+"
I am using react-native:0.45.1
react-native-fcm - "^10.0.1"
But stiil I am getting this error:Could not resolve all dependencies for configuration ':react-native-fcm:_debugCompile'.

I have slove problem on android when upgrading fcm to latest version.
But i have orther problem in ios

I tried everything from all the above mentioned solutions to upgrading fcm to latest version, nothing worked for me.
following is the solution which worked for me:
change this in your project's build.gradle file
allprojects {
    repositories {
        mavenLocal()
        jcenter()
        maven {
            url "$rootDir/../node_modules/react-native/android"
        }
      }
}

to this
allprojects {
    repositories {
        mavenLocal()
        jcenter()
        maven {
            url "$rootDir/../node_modules/react-native/android"
        }
         maven {
             url 'https://maven.google.com'
         }
    }
}

@rajeshbhagat Thank you so much your solution worked for me seriously man you saved my day was struggling with this from last few days

@evollu, Thanks for your continued support on this project.
Not sure why this is closed. The issue persists (and the commit doesn't seem to address the fact that the versions of Firebase and Play Services are no longer the same).

@noambonnie it seems to be a configuration issue and seems some people have provided some solutions.
What is your config?

anyone plz add working project configuration of gradle file..

Great,
i can fix my error, tnks @rajeshbhagat
God Bless You.

Get learn from here , it solves error foe me
https://firebase.google.com/docs/analytics/android/start

I still get crash on notification received.
android/app/gradle
`
android {
compileSdkVersion 28
buildToolsVersion '28.0.0'
defaultConfig {
    applicationId "com.XXX"
    minSdkVersion 16
    targetSdkVersion 28
    versionCode 013
    versionName "XXXX"
    multiDexEnabled true

    ndk {
        abiFilters "armeabi-v7a", "x86"
    }
    manifestPlaceholders = [manifestApplicationId: "${applicationId}",
                            onesignal_app_id: "XXX",
                            onesignal_google_project_number: "XXX"]
}

packagingOptions {
pickFirst 'lib/x86/libc++_shared.so'
pickFirst 'lib/x86_64/libjsc.so'
pickFirst 'lib/arm64-v8a/libjsc.so'
pickFirst 'lib/arm64-v8a/libc++_shared.so'
pickFirst 'lib/x86_64/libc++_shared.so'
pickFirst 'lib/armeabi-v7a/libc++_shared.so'
}
signingConfigs {
     debug {
        if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) {
            storeFile file(MYAPP_RELEASE_STORE_FILE)
            storePassword MYAPP_RELEASE_STORE_PASSWORD
            keyAlias MYAPP_RELEASE_KEY_ALIAS
            keyPassword MYAPP_RELEASE_KEY_PASSWORD
        }
    }
    release {
        if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) {
            storeFile file(MYAPP_RELEASE_STORE_FILE)
            storePassword MYAPP_RELEASE_STORE_PASSWORD
            keyAlias MYAPP_RELEASE_KEY_ALIAS
            keyPassword MYAPP_RELEASE_KEY_PASSWORD
        }
    }
}

splits {
    abi {
        reset()
        enable enableSeparateBuildPerCPUArchitecture
        universalApk false  // If true, also generate a universal APK
        include "armeabi-v7a", "x86"
    }
}
buildTypes {
     release {
      manifestPlaceholders = [isDebug:false]
       minifyEnabled enableProguardInReleaseBuilds
       proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
       signingConfig signingConfigs.release
   }
   // added on 2/6/2019
     debug {
          manifestPlaceholders = [isDebug:true]
     }

}

// applicationVariants are e.g. debug, release
applicationVariants.all { variant ->
    variant.outputs.each { output ->
        // For each separate APK per architecture, set a unique version code as described here:
        // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
        def versionCodes = ["armeabi-v7a":1, "x86":2]
        def abi = output.getFilter(OutputFile.ABI)
        if (abi != null) {  // null for the universal-debug, universal-release variants
            output.versionCodeOverride =
                    versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
        }
    }
}

//     packagingOptions {
//        pickFirst '**/libjsc.so'
//     }
}
dependencies {
compile project(':react-native-gesture-handler')
compile project(':react-native-push-notification')
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.android.support:appcompat-v7:28.0.0"
compile "com.android.support:support-core-utils:28.0.0"
implementation project(':react-native-fcm')
implementation 'com.google.firebase:firebase-core:16.0.8'
implementation 'com.google.firebase:firebase-messaging:17.6.0'
implementation ("com.facebook.react:react-native:+") { force = true }  // From node_modules
implementation project(':realm')
implementation project(':react-native-fs')
implementation project(':react-native-vector-icons')
implementation project(':react-native-image-picker')
implementation project(':react-native-fetch-blob')
implementation project(':react-native-image-crop-picker')
implementation project(':react-native-exit-app')
implementation project(':react-native-onesignal')
implementation project(':react-native-sensor-manager')
implementation project(':react-native-smart-barcode')
implementation project(':react-native-push-notification')
implementation project(':react-native-linear-gradient')
implementation project(':react-native-file-picker')
implementation project(':react-native-doc-viewer')
implementation project(':react-native-svg')
implementation project(":react-native-google-signin")
implementation project(':react-native-spinkit')
implementation project(':react-native-pdf')
}
task copyDownloadableDepsToLibs(type: Copy) {
from configurations.compile
into 'libs'
}
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.android.support') {
if (!requested.name.startsWith("multidex")) {
details.useVersion '25.3.1'
}
}
}
}
apply plugin: 'com.google.gms.google-services'
`
build/gradle
`buildscript {
ext {
// googlePlayServicesAuthVersion = "15.0.1" // <--- use this version or newer
firebaseVersion ="16.0.6"
buildToolsVersion = "28.0.3"
minSdkVersion = 16
compileSdkVersion = 28
targetSdkVersion = 28
supportLibVersion = "28.0.0"
}
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.1'
classpath 'com.google.gms:google-services:+'
}

}
allprojects {
repositories {
google()
mavenLocal()
mavenLocal()
// for modules depending on jitpack.io
maven { url "https://jitpack.io" }
// add this one
maven {
url "https://maven.google.com"
}
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
//   url 'https://maven.google.com'
}
jcenter()
}
}
subprojects {
afterEvaluate {project ->
if (project.hasProperty("android")) {
android {
compileSdkVersion 28
buildToolsVersion "28.0.0"
defaultConfig {
targetSdkVersion 28
}
}
}
}
}
`
AndroidManifest
`

<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_INTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.READ_CALENDAR" />
<uses-permission android:name="android.permission.WRITE_CALENDAR" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-feature android:name="android.hardware.camera" android:required="true"/>
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>

 <uses-sdk
    android:minSdkVersion="16"
    android:targetSdkVersion="28" />

<application
  android:name=".MainApplication"
  android:usesCleartextTraffic="true"
  android:allowBackup="true"
  android:label="@string/app_name"
  android:icon="@mipmap/ic_launcher"
  android:theme="@style/AppTheme"
  android:launchMode="singleTop" >

    <meta-data  android:name="com.dieam.reactnativepushnotification.notification_channel_name"
            android:value="YOUR NOTIFICATION CHANNEL NAME"/>
    <meta-data  android:name="com.dieam.reactnativepushnotification.notification_channel_description"
                android:value="YOUR NOTIFICATION CHANNEL DESCRIPTION"/>
    <!-- Change the resource name to your App's accent color - or any other color you want -->
    <meta-data  android:name="com.dieam.reactnativepushnotification.notification_color"
                android:resource="@android:color/white"/>

    <receiver
        android:name="com.google.android.gms.gcm.GcmReceiver"
        android:exported="true"
        android:permission="com.google.android.c2dm.permission.SEND" >
        <intent-filter>
            <action android:name="com.google.android.c2dm.intent.RECEIVE" />
            <category android:name="${applicationId}" />
        </intent-filter>
    </receiver>

 <receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationPublisher" />
    <receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationBootEventReceiver">
        <intent-filter>
            <action android:name="android.intent.action.BOOT_COMPLETED" />
        </intent-filter>
    </receiver>
    <service android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationRegistrationService"/>
    <service
        android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationListenerService"
        android:exported="false" >
        <intent-filter>
            <action android:name="com.google.firebase.MESSAGING_EVENT" />
        </intent-filter>
    </service>

    <service
        android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationListenerService"
        android:exported="false" >
        <intent-filter>
            <action android:name="com.google.firebase.MESSAGING_EVENT" />
        </intent-filter>
    </service>

  <activity
    android:name=".MainActivity"
    android:label="@string/app_name"
    android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
    android:windowSoftInputMode="adjustResize"
    android:screenOrientation="portrait"
    >

`


Confirm submit when not all letters placed

Accidently hit submit instead of a letter. Would be great to get a confirmation prompt instead of ending the game abruptly. :(
Thanks for the fun game.

Hey sorry for the late reply — that's a good idea, I actually ran into the same issue a few times (it's so easy to hit that button by mistake).
Next update I'll try to incorporate something! Thanks for the tip 😄

Only a few years later..... I have good news!
Crosswordle has rebranded to Scrambed and can now be found here → https://github.com/nickzuber/scrambled or https://play-scrambled.com/
Many little improvements like this have been added there 🙂


Update doUpdateCros

Only use moveDevicesToOu if the only field being updated is orgUnitPath; otherwise orgUnitPath will be updated in the loop with whatever other fields are being updated
Update GamCommand for PR #574

We should always be using moveDevicesToOU, even if it's just one device, update should not be used for our moves.

If you are updating multiple fields, then I just use the update loop. Why do one loop to update the other fields and then use moveDevicesToOu to update the OUs.
Is updating the OU in update broken?

movdDevicesToOU is ultimately faster and more efficient for the devices themselves to get updated. It should be used for all device OU moves now.


Refactor/add inngest schemas

closes  https://github.com/Stand-With-Crypto/swc-web/issues/1434
fixes
What changed? Why?
Adds type inference on any inngest method like createFunction and send

PlanetScale deploy request

Notes to reviewers

How has it been tested?

[X] Locally
[ ] Vercel Preview Branch
[ ] Unit test
[ ] Functional test

I think we should use PascalCase for defining the event schema types since it's the convention in TypeScript:
type BULK_SMS_COMMUNICATION_JOURNEY_INNGEST_EVENT_SCHEMA = {}

type BulkSMSCommunicationJourneyInngestEventSchema = {}

If you search for await inngest.send in the codebase, you'll find all the instances where we're executing Inngest events. In most of these cases, we're importing the event type, but with this refactor, that's no longer necessary. By simply passing the event name, the payload is already type-checked. I think we should go through these files and remove the payload definitions.
For example, here we're defining the payload before calling inngest, but we don't need to do this anymore, we could just do
  await inngest.send({
    name: CAPITOL_CANARY_UPSERT_ADVOCATE_INNGEST_EVENT_NAME,
    data: {
    campaignId: getCapitolCanaryCampaignID(CapitolCanaryCampaignName.DEFAULT_MEMBERSHIP),
    user: {
      ...mockedUser,
      address: mockedAddress,
    },
    userEmailAddress: mockedEmailAddress,
    opts: {
      isEmailOptin: true,
    },
    metadata: {
      tags: ['C4 Member', 'Smoke Test User'],
    },
  },
  })

and data would be type-safe

closing PR in favor of https://github.com/Stand-With-Crypto/swc-web/pull/1447


handle trailing

Hello there,
I am new to Crow, so excuse if something I say does not make sense . I have an endpoint CROW_ROUTE(app,"/host/test"). Is there any way the endpoint could be the same as  CROW_ROUTE(app,"/host/test**/**")? In case a request comes up, how is it possible an endpoint with / in the end handles the request effectively?
Thank you

Currently crow doesn't support it.