Guidelines scaling thanos compact

At Monzo we have over 100TB of Thanos metrics and we are noticing some serious performance bottlenecks. Since downsampling must be run as a singleton, we are building up a huge backlog right now as the max performance we are able to get out of our current setup is around 16MB/s. Compaction performance is also comparable but we manage this with a few shards.
This issue is about requesting guidelines for other people with similar scale.
Here is a sample downsampling event.
level=info ts=2020-01-08T13:44:33.768943954Z caller=downsample.go:284 msg="downsampled block" from=01DWRR1MBJE3G61NY0PKB91ZVT to=01DY2F87NB1S6J2J61PAXXXJ89 duration=2h4m45.237070743s

This is a 2w long block with 5m resolution downsampled to 1h.
01DWRR1MBJE3G61NY0PKB91ZVT is about 244 512MB chunks with 1.5GB Index.
numSamples:<PHONE_NUMBER>9, numSeries: 7777499, numChunks: 73985300
01DY2F87NB1S6J2J61PAXXXJ89 is 1.2GB index with 26 512MB chunks.
numSamples:<PHONE_NUMBER>, numSeries: 7777499, numChunks: 28488448
Reducing the resolution from 5m to 60m lead to a 12x reduction in number of samples, no of chunks and total storage. Number of series is the same as expected.
0:23 spent downloading data (11:17 -> 11:40)
2:04 spent down sampling 120GB at about 16MB/s
CPU pegged to 1 core with ~20MB/s read from disk and about 30GB memory usage.
It looks like the bottleneck is the single threaded thanos process rather than network or disk.
Any tips on how to make this faster? I thought I'd start a discussion here before starting to CPU profile the compactor.
This is one of the smaller blocks, we have seen some raw blocks approach almost a TB in size and some downsampling/compactions take almost 11-12hrs.

Environment:

Thanos v0.8.1 using the official docker image
Thanos runs inside k8s pods. r4.8xlarge instance with tons of CPU and memory on AWS
Linux debug 4.19.43-coreos-r1 #1 SMP Tue Jun 11 07:24:09 -00 2019 x86_64 GNU/Linux
Data stored in s3.

Thanks for the detailed description of the problem (:
Are you sharding at the end? If yes, how far you can get with sharding? Because sharding, in the same way, helps to quickly catch up with downsampling.
Within one "block stream" 11-12h is indeed a bit slow, although compacting to 2w (and downsampling of 2w) happens only every 2w at maximum, so compactor can usually catch up in between.
Anyway, let's discuss what we can improve here, some initial thoughts:

I believe we can add more concurrency to the downsampling process (we process each series sequentially).
Adding
From v0.10.0 (release soon) block loading memory consumption should be reduced. This means we might be able to add more concurrency to single shard (downsample multiple blocks "streams"). It should also improve memory of compaction, so we can as well increase concurrency and compact multiple streams concurrently. As a side effect compaction will take even longer for v0.10.0, see this. I believe this might make the latency even worse for you case.
What's the cardinality of your blocks? How many series, samples?
Wonder if it makes sense to split the block at some point if it comes to TB size.... even upload and load takes a lot of time, not mentioning manual operations/debug if needed.

@bwplotka I work with @jaseemabid.  It seems to us that downsampling doesn't consider the relabel config in the latest release (https://github.com/thanos-io/thanos/blob/0833cad83db8b257a2275ec83a3d034c73659056/cmd/thanos/downsample.go#L168). I've seen the latest commits that the new meta syncer solves this problem, so I suspect we have to wait until 0.10 is released or run from master.
Just for reference our biggest index files are currently around 40Gb (but previously we managed to hit the 64Gb tsdb index limit) and I think the biggest block had ~2400 chunks, so around 1.2TB.

In review: https://github.com/thanos-io/thanos/pull/1922

We are also running into similar issues so good to see we are not the only ones 😆

Our metrics bucket is a lot smaller than Monzo's, but as you can see the CPU is still the bottleneck here. One issue I think is a gap in the Thanos docs with guidelines on what numbers are sensible for the compactor. Here are the flags we are using on compactor:
        - --log.level=debug
        - --retention.resolution-raw=14d
        - --retention.resolution-5m=6m
        - --retention.resolution-1h=10y
        - --consistency-delay=30m
        - --objstore.config-file=/etc/thanos/objstore-config.yaml
        - --data-dir=/data
        - --wait

I did try bumping the --compact.concurrency from the default of 1 but this did not seem to allow the compact process to use more than 1 core still.
Another thing which would be good to know... is there an easy way to look at the current status of the metrics in the bucket; i.e. to find out how much of a backlog of work the compactor has right now. Presumably there is at least some backlog, since the compactor is constantly doing work; as soon as it finishes working on some blocks there are always more it can pick up right away.
In other news though, the 0.10 release certainly did reduce memory usage! In this staging cluster pictured above, the memory usage on compactor went down from ~4GB to <0.5GB!

Glad to hear!
Let's see if improved compactor is good enough for you guys (:
On Wed, 26 Feb 2020 at 08:55, Aaron Trout<EMAIL_ADDRESS>wrote:

We are also running into similar issues so good to see we are not the only
ones 😆
[image: Screenshot 2020-02-26 at 08 46 33]
https://user-images.githubusercontent.com/2394679/75327942-1c73f200-5875-11ea-8e37-0cf48de46885.png
Our metrics bucket is a lot smaller than Monzo's, but as you can see the
CPU is still the bottleneck here. One issue I think is a gap in the Thanos
docs with guidelines on what numbers are sensible for the compactor. Here
are the flags we are using on compactor:
    - --log.level=debug

    - --retention.resolution-raw=14d

    - --retention.resolution-5m=6m

    - --retention.resolution-1h=10y

    - --consistency-delay=30m

    - --objstore.config-file=/etc/thanos/objstore-config.yaml

    - --data-dir=/data

    - --wait

I did try bumping the --compact.concurrency from the default of 1 but
this did not seem to allow the compact process to use more than 1 core
still.
Another thing which would be good to know... is there an easy way to look
at the current status of the metrics in the bucket; i.e. to find out how
much of a backlog of work the compactor has right now. Presumably there is
at least some backlog, since the compactor is constantly doing work; as
soon as it finishes working on some blocks there are always more it can
pick up right away.
In other news though, the 0.10 release certainly did reduce memory usage!
In this staging cluster pictured above, the memory usage on compactor went
down from ~4GB to <0.5GB!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thanos-io/thanos/issues/1964?email_source=notifications&email_token=ABVA3OYDBO4PZ4LOWUIWIF3REYVB3A5CNFSM4KEKKJ2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM7LH7A#issuecomment-591311868,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABVA3O66ITUYS3D36JJKR73REYVB3ANCNFSM4KEKKJ2A
.


NullPointerException when initializing ND4J with CUDA backend

Issue Description
When I try to do, well, anything with ND4J using the CUDA backend, I get a NullPointerException inside of the initWithBackend() method.
No such error when running with CPU backend.
I'll post a stack trace, the line of code indicated by the stack trace, and minimal code needed to reproduce in the comments.
Version Information
Please indicate relevant versions, including, if relevant:

ND4J master built from source (0.9.2-SNAPSHOT)
Ubuntu 16.0.4
Titan GTX X
CUDA 8.0
NVIDIA driver version: 375.66

Minimal code to reproduce:
import org.nd4j.linalg.factory.Nd4j;

public class ReproduceBug {
    public static void main(String[] args) {
        Nd4j.zeros(12, 34);
    }
}

Stack trace:
2017-09-05 14:41:15 INFO  Nd4jBackend:194 - Loaded [JCublasBackend] backend
2017-09-05 14:41:15 WARN  Reflections:181 - given scan urls are empty. set urls in the configuration
Exception in thread "main" java.lang.ExceptionInInitializerError
	at ai.skymind.cdg.dev.ReproduceBug.main(ReproduceBug.java:7)
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
	at org.nd4j.linalg.factory.Nd4j.initWithBackend(Nd4j.java:6365)
	at org.nd4j.linalg.factory.Nd4j.initContext(Nd4j.java:6229)
	at org.nd4j.linalg.factory.Nd4j.<clinit>(Nd4j.java:205)
	... 1 more
Caused by: java.lang.NullPointerException
	at org.nd4j.linalg.factory.Nd4j.initWithBackend(Nd4j.java:6286)
	... 3 more

Line 6286 from Nd4j.initWithBackend():
sparseNDArrayClazz = (Class<? extends NDArrayFactory>) Class.forName(System.getProperty(SPARSE_NDARRAY_FACTORY_CLASS, props.getProperty(SPARSE_NDARRAY_FACTORY_CLASS).toString()));


Restrict SciMLBase compat

Restricting SciMLBase.jl to 2.11.0 to address the changes in https://github.com/SciML/OrdinaryDiffEq.jl/pull/2087 (see also https://github.com/SciML/OrdinaryDiffEq.jl/pull/2087#discussion_r1429668635).
Note to self: check compat update for https://github.com/SciML/BoundaryValueDiffEq.jl in a few days, they seem to have the same issue.

Actually, you are not really restricting the versions, thus the current PR would be free touse the most recent version of SciMLBase. However, it seems like for unrelated reasons, SciMLBase is restricted to v1.98.1.
Thus this PR for now does not solve the original issue (nor does it test for it), but somehow the problem is a non-issue 😅


Add wiki/documentation

Description

In following the project requirements we are to add documentation regarding a contributions table, future issues, wiki, setup guides, endpoint design.
Acceptance Criteria

[ ] create extra required documentation
[ ] move existing documentation from various locations (Drive/Discord etc) to centralised location (GitHub Repo)

Implementation details

n/a
Testing notes

n/a

LGTM!

LGTM


feat like and bookmark a post

This PR will add code for the Like and Bookmark feature of a post
In this PR, 448 additions 158 deletions lines of code

many files are just backend related
many files contain only 5 to 6 lines of code change

Please review this PR and give your feedback

Live Preview

you need also add liked posts in the like tab of the profile page, apart from it, great work! nothing to suggest more.

Yup! will add.

Thankyou for reviewing,


Refactor testcases in framework

As of now, there are two packages used in test cases in the framework i.e. testify and reflect. We should remove reflect and use the testify package in all the test cases(apart from mock_interfaces).

Would like to work like this.


Fix bundled compass triggering "not found: compass" since 1.1.0 update due to whichSync on compass before bundle

Fixes issue raised in #248

+1 this is breaking my builds as well


[Feature Request] add wc check option to all checks like the ssrf check

Hi,
can you add
if [[ $(cat gf/ssrf.txt | wc -l) -le 1000 ]]; then
else
end_func "Skipping SSRF: Too many URLs to test, try with --deep flag" ${FUNCNAME[0]}
to all the functions so I can set a limit of ~2000, then it will require the --deep flag, otherwise it will skip.
(for large domains, then i can run the --deep later) just so it speeds up the initial scanning.
Thanks

Good feature, I will add this thanks :)

Done in dev  https://github.com/six2dez/reconftw/commit/331f728a23414639c31c155bc766dab02f624ef1

Awesome, thanks.
Could you also put amass enum brute option in as well?
I see there is already massdns brute list, but amass adds to it, along with the amass active and passive already in place.


feat: Update nri-bundle to version 5.0.72

Update nri-bundle to version 5.0.72

VMware (K8s 1.28, Bottlerocket 1.15): Pods deploy successfully, however the tester doesn't complete with exit code 0. Logs from the tester are displayed below:

Closing PR as the updated 5.0.74 will be reviewed/merged to update Addon version


Compile a list of frequently asked questions

As discussed in the dev meeting, we need an FAQ page (and to create code snippets/notebooks in the demo folder if necessary).

available at https://github.com/NifTK/NiftyNet/wiki/NiftyNet-FAQ


Refresh, notifications in statusbar

Thanks! Merged in https://github.com/jysperm/my-github-profile/commit/70abc42f43c4e8de6a61a6c4b47eee5c28d6a2e9


script name outdated

please replace partitionweblogs.hql with hivescript.hql

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

ID: fc24ebe8-5309-3143-ae92-41b6a5150cf6
Version Independent ID: d0e667a5-9160-73ce-2d29-156915b60a83
Content: Tutorial: Create on-demand Apache Hadoop clusters in Azure HDInsight using Data Factory
Content Source: articles/hdinsight/hdinsight-hadoop-create-linux-clusters-adf.md
Service: hdinsight
GitHub Login: @hrasheed-msft
Microsoft Alias: hrasheed

@vlad-kozlov Thanks for the feedback and bringing this to our notice. At this time we are reviewing the feedback and will update the document as appropriate.

@vlad-kozlov Could you please elaborate more on the issue with script file name?
When I downloaded the script file from https://hditutorialdata.blob.core.windows.net/adfhiveactivity/script/partitionweblogs.hql , i see 'partitionweblogs.hql' as file name and that is what mentioned in the document.

@vlad-kozlov We will now proceed to close this thread as we have not heard back from you. If there are further questions regarding this matter, please tag me in your reply and reopen the issue. We will gladly continue the discussion.


create kokoro/ folder with build scripts

Added Kokoro folders with build scripts.
The only difference between this and our previous GoB setup is the cd command that now it points to ../github/.. instead of ../git/...
Next: wait a few minutes and create a test PR.

When JD looked at this the other day he noticed that a lot of google repositories are calling it ".kokoro" so that the folder is hidden by default. Do you think that would be good for us to do to?

good idea. I'll verify that the setup works and then changed to ".kokoro".


Accessibility: Can't see focus on thumbnails of second page on PDP

Environment Details
Spartacus: epic/accessibility branch
Browser: Chrome & Safari & Firefox
Device: mac
Happens on: http://dev-com-3.accdemo.b2c.ydev.hybris.com:4200/electronics-spa/en/USD
Steps to Reproduce

Go to Product Details Page of a product that has many thumbnails, for eg: 1990255
Tab to the thumbnail of the other "page"

Actual Result
It has the focus but we can't see it because it hasn't changed "page".

This is caused by current implementation of carousel. Will be fixed after we have a new carousel. #4674

Duplicate of #4674


No mix use of theme color and hard coded color please

Describe the bug
The details screen is not readable when app has a dark theme.
Please don't mix use the of the theme color and hard coded color.
To Reproduce

Set the theme to a dark one
Open activity details screen.

Expected behavior
The screen is dark themed, but got a white screen with white text.
Screenshots

Smartphone (please complete the following information):

network_inspector: ^1.0.3

Sorry for late response, ah see. Thank you for your concern, i will fix this. I think the text need to adjust to use the parent theme instead using it own style. thanks again !

This issue will be included in the next release 1.0.4 to support material 3 and dark mode


SQL Error when using plugin in Trino 448 and 449

Hi,
Using this plugin with the openmeteo site I got this error when installed in trino 448 and 449.
SQL Error [65536]: Query failed (#20240601_052641_00010_q9zan): class io.trino.spi.block.VariableWidthBlock cannot be cast to class io.trino.spi.block.SqlRow (io.trino.spi.block.VariableWidthBlock and io.trino.spi.block.SqlRow are in unnamed module of loader 'app')
Installation method is the same. So no clue whats happening here.
Sjaak

Fixed in 385748262b13f286f2b6330160472f7faed867c1. Thanks for reporting this, it's a regression I introduced recently. I added a new test to avoid this happening again.

Please try v1.51

Thanks a log, its working again.


Implement Missing Checks

We've fixed up/add most of the missing checks and added a few extra features (e.g. don't enable full patching, and allow 'errors' for things like IPv6; as when it is removed it errors.
Let me know if you have any questions.

Many many thanks for this PR. Please give me a couple of days to digest it.
Would you be able to rebase it?

Would you be able to rebase it?

@anthcourtney it appears that there is nothing to rebase? Are you seeing some issue/conflict?

@gergnz - Apologies (late night baby brain), I meant to ask if you could squash some of the commits into either a single commit or a series of commits which reflected functionality (with neater commit messages).

Damn, I was hoping you wouldn't ask me that. It was my intention, but then time got away and I wanted to get this out the door. Yes, OK, fair call. Give me a few days to put something together that's more coherent.


Also enable search in uri-fields

Summary:
Related issue:
Suggested reviewer(s):
Reviewer checklist:

[ ] The headers of all files contain a reference to the repository license
[ ] 100% test coverage of new code - meaning:

[ ] The overall test coverage increased or remained the same as before
[ ] Every function is accompanied with a test suite
[ ] Tests are both positive (testing that the function work as intended with valid data) and negative (testing that the function behaves as expected with invalid data, e.g., that correct exceptions are thrown)
[ ] Functions with optional arguments have separate tests for all options

[ ] Examples are supported by doctests
[ ] All tests are passing
[ ] All names (e.g., files, classes, functions, variables) are explicit
[ ] Documentation (as docstrings) is complete and understandable

The checklist is based on the S-ENDA conventions and definition of done (see General Conventions). The above points are not necessarily relevant to all contributions. In that case, please add a short explanation to help the reviewer.

The tests fail when checking the API (i.e. when not run with  -m 'not live', which github does), so we need to write a test for the non-live version that catches the same error (As I noted in my comment on the code)


running sarotate on arm based system

i tried to run the sarotate om arm based system , and it was not able to run . will there be support for arm ?
./SARotate :
-bash: ./SARotate: cannot execute binary file: Exec format error
uname -m:
aarch64
cat /etc/os-release :
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.3 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

You need an binary built for that arch. Try the arm one in https://github.com/saltydk/SARotate/actions/runs/1554004613

You need a binary built for that arch. Try the arm one in https://github.com/saltydk/SARotate/actions/runs/1554004613

im not able to find the url for the arm binary, can any one share

New release should have them listed in releases.

New release should have them listed in releases.

thanks , it works like a charm on arm64 too


Poor typings in ExecutionArgs in @envelop/types

Is your feature request related to a problem? Please describe.
I enabled @typescript-eslint/no-unsafe-member-access (part of plugin:@typescript-eslint/recommended-type-checked) and I get into trouble now for Unsafe member access .definitions on an `any` value.
This is due to the typings in ExecutionArgs in @envelop/types v5.0.0 which look like this:
export interface ExecutionArgs {
    schema: any;
    document: any;
    rootValue?: any;
    contextValue?: any;
    variableValues?: any;
    operationName?: any;
    fieldResolver?: any;
    typeResolver?: any;
    subscribeFieldResolver?: any;
}

Example:
import { type Plugin } from 'graphql-yoga';
export const useErrorHandling = (): Plugin => {
  return {
    onExecute: (payload) => {
      const operationName = payload.args.operationName as unknown as string; // manual type casting...
      const operation = payload.args.document.definitions[0]
                                           // ^-- Unsafe member access .definitions on an `any` value

Is unsafely accessing definitions on document: any.
Describe the solution you'd like
Isn't there anything we can do to give the user more hints that we have some sort of clue what these properties are? It is set by the framework isn't it so we should know that it is at least e.g.
export interface ExecutionArgs {
    schema: Schema; // Whatever the correct type is
    document: Document; // Whatever this type is, and that it is likely including `operation` which is e.g `query` | `mutation`
    rootValue?: RootValue; // Whatever the correct type is
    contextValue?: Record<string, unknown>; // Should be possible to get from Context generic
    variableValues?: Record<string, unknown>;
    operationName?: string;
    fieldResolver?: SomeFn;
    typeResolver?: AnotherFn;
    subscribeFieldResolver?: ThirdFn;
}

Describe alternatives you've considered

Overriding the type def myself, but I dont think I can make typings file that overrides an internal type :-(
Laborious type casting in place everytime we access this

Hi, yes the typing is not really great there...
We have to check why we define this type in Envelop and doesn't rely on the type defined by graphql.

For your information, the typing is a custom one here because we wanted to stay agnostic on the actual engine or schema building libraries you are using.
We are searching for an happy path for you to customize this types and avoid the any types everywhere.
We are exploring the possibility to use module declarations, that would let you override the types we use, or some kind of generics to let you define the actual types to use.
I will keep you update here once we will take action on this.
The workaround during this time is, as you pointed out, to type cast each time you use it... Sorry about that, we should come with a better solution soon.


Horizontal scrollbar is always scrollable

After upgrading to 3.0.0-RC.18.
It seems you can always scroll a small area equivalent to the width of the vertical scrollbar. There is also a double line in the top right corner. Bug is clearly visible in all demos.
Is this a bug or by design. Can it be turned off?

Hello,
You can disable the horizontal scroll bar with enableHorizontalScrollbar option.
$scope.grid = {
enableHorizontalScrollbar: 0
};
0 -> disable
1 -> enable
2 -> enable when needed

Thanks for the response, but it doesn't fix the bug.
The scrollbar should be visible but without the extra offset.
Something has been changed between RCv12 and RCv18

still when the scrollbar is disabled with 0, it doesnt show but when pressing middle mouse and scrolling right you can still reach the dead zone:

You can see the double lines in the area marked as green.
Regardless, I need to have the scroll-y enabled, as I did in rc12. There is
an offset which appeared after version rc12.
Paul, can you comment on this?
2015-02-10 8:37 GMT+01:00 mikila85<EMAIL_ADDRESS>
still when the scrollbar is disabled with 0, it doesnt show but when
pressing middle mouse and scrolling right you can still reach the dead zone:
[image: untitled]
https://cloud.githubusercontent.com/assets/3965957/6123262/728369b0-b108-11e4-9ca0-6269e7635177.png
—
Reply to this email directly or view it on GitHub
https://github.com/angular-ui/ng-grid/issues/2734#issuecomment-73656488.

This is a duplicate of #2592

I have the same problem :/

I found a place where is bug:
https://github.com/angular-ui/ng-grid/blob/master/src/js/core/directives/ui-grid-header.js#L75
In this place the scrollbar width should be substracted from viewport width (viewport include scrollbar width), so it should be changed for something like this:
var availableWidth = containerCtrl.colContainer.getViewportWidth() - grid.scrollbarWidth;
grid.scrollbarWidth is greater than 0 only when enableVerticalScrollbar is set to ALWAYS, so it should work when we have scroll enabled and disabled...
I don't know this library, so it's hard for me to say that will break something else or not - i think no, but maybe someone else confirm this or propose how do this better?

Closed via cf86090

fixed?? :)

yes fixed :)

thank you :+1:   great work!! going to try now.

can still drag it with mouse

@mikila85, but the version e099c5b5721afcae40d1ad3cc2c8b4e5bde00731 is before this fix?
Look here:
https://github.com/angular-ui/ng-grid/commits/master
You should have at least cf86090f66ee057f541961d563ca42597112bdb4

thank you, sorry, still new at this i'll learn,
thank you again :)

I checked it. It is almost perfect, but when enableHorizontalScrollbar = 2 scrollbar shouldn't be visible but it is visible.

OK thanks for checking that. I'll try again tomorrow :)

@mszpiler, scroll is always visible because options enableHorizontalScrollbar = 2 is not supported? :)
Look here for available values for scrollbar:
https://github.com/angular-ui/ng-grid/blob/master/src/js/core/constants.js#L104
And here for relese notes:

scrollbars.WHEN_NEEDED no longer an option

So it not works because this option is not supported ;)

@mszpiler how did you get the version that includes the fix?
all i find here: https://github.com/angular-ui/ui-grid.info/tree/gh-pages/release
is   * ui-grid - v3.0.0-rc.19-78a4b43 - 2015-02-16
and i dont see the fix is there

@mikila85 I build it with changes @c0bra on master
@dczepierga thank you for detailed explanation - so solution for me is ok :)

how did you build it? (sorry for noob question)

Follow with instruction on https://github.com/angular-ui/ng-grid

thank you! :)

stuck like this for a very long time :(

still hasnt finished lol. something is wrong

OK sounds like this issue is indeed fixed, then. Closing again.

I am using ng-grid and I cannot switch to ui-grid since my app is heavily depends on ng-grid. Is it possible to fix this issue for ng-grid.

I have the same issue and there is no misalignment when I go to that page through navigation menus but when I click refresh and when the grid loads I am getting the misalignment.
On the first navigation load I see a small rectangle bar in the top of the vertical bar but when I refresh it goes off and get this issue. as in the above first screenshot in this thread the rectangle box above the scroll is going off when I refresh.
I there any fix for this? I tried all the option that is showed nothing is working
Please help to fix this


Add Option to import JSON as-is

Having an option to import the JSON from the kafka message as-is into a VARCHAR(2000000) field will provide more flexibility to read JSON data downstream using JSON functions JSON_VALUE and JSON_EXTRACT. We are currently implementing this and would like to provide a pull request once finished.

Hello @tglunde,
Thanks for the feedback!
We are in works to support this option.
Please check out the recent pull request #12 in common library. Once the #13 is merged, we are going to release a new version of Kafka connector.

That is great news! Storing the Avro schema as an additional metadata would help!
Please feel free to send the pull request!

Hey @ilikutle, @tglunde,
Thanks again! This is now merged in #18.

Cool, thx! What is the current road map to releasing this?

I want to update the Kafka versions (#14) so that it is included in the next release.
But we do not have to wait for it, please let me know if you prefer another release early.

Hey @tglunde, @ilikutle,
I have released a new version that includes these changes! Please give it a try!
And thanks for your contributions!


Re-visit resource index creation

PR #80 didn't quite do it for reasons that are beyond me. For reference, doing this on an interactive session fixed HXN's massive db in a matter of minutes:
import filestore.api

fstore = filestore.api._FS_SINGLETON
collection = fstore._db.datum
collection.create_index('resource')

Retrievals are down from 30 sec to 0.025 sec!

attn @licode Any idea if this index is still in place?

'resource' is used in datum. So far so good. There was a hot fix at hxn on this at the beginning of this cycle.  https://github.com/NSLS-II-HXN/hxntools/pull/9/files

I could be confused but that I don't think that issue is at all related to this one, which is about mongo indices.


Parameter hint has less clear docs than the tsDoc

Testing #194028
I don't think this is specific to this particular method doc, but the parameter hint that appears after autocompleting the method is different (and confusing/vague) than just hovering over the method name:
type vscode.env.onDidChangeShell( and let the parameter hints pop up:

vs mouse hover on the method

Correct me if I'm wrong, but I think this is just the shared doc for all event listeners as they are all Event<T>s:

yeah, looks like it. Pretty strange


Filter Projects by "My Projects"

Closes #468
Add mine field to ProjectFilterOptions

I think we want to default to mine. Maybe we could change this to all / "Show All Projects"?

From a UX perspective, I kind of think the better thing would be to just change the default. That way the text ("Only Show My Projects") explains why some projects aren't shown. I'm always a little annoyed when some things are hidden by default and the option to change that is labeled "Show all", because it doesn't tell me what is hidden

I agree that "show all" isn't very indicative of the other option.
I wanted to replace the toggle switch here for that reason with two toggle buttons. That way labels for either option could be represented. Kinda like this:

I'm working on an EnumField that could be used for here for that.

I think we want to default to mine.

So, as far as I can tell, our useProjectFilters hook will always return an empty object from the default filters, which means there's no obvious way to use it to set a default filter that's different than the API default. We could do something like this:
const [filters, setFilters] = useProjectFilters();

const defaultMine = {
  ...filters,
...(filters.mine ? null : { mine: true }),
}

  const { data } = useProjectListQuery({
    variables: {
      input: {
        ...sort.value,
        filter: filters,
      },
    },
  });

But that feels a little gross. It seems more like if we want this to be the default we should change it on the API side. Thoughts, @CarsonF?

Yes there is a mismatch here between the UI & the API, but the API mutation is called projects not myProjects. I think the fact that this is defaulted to my projects is a UI concern.
And yes I believe the default values should be left off of the query parameters. Ideally this change doesn't leave the ProjectFilterOptions.tsx file.
It's possible that this is enough:
  mine: BooleanParam(true),

SwitchField might also need a default as well:
<SwitchField name="mine" defaultValue={true} />

It's possible that this is enough:
export const useProjectFilters = makeQueryHandler({
  mine: BooleanParam(true),
  ...

<SwitchField name="mine" defaultValue={true} />

I made both of these changes in a recent commit, but the filters object is still empty. The SwitchField does mount in true position, but it has no effect on what gets queried

@CarsonF this is ready to review again, unless you want to wait for the EnumField to be ready first


docs(app): fix some typos

This PR fixes some minor typos.
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added/updated (for bug fixes/features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] CI-related changes
[x] Documentation content changes
[ ] Other... Please describe:

Issue Number

Issue Number: N/A
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Big thanks for the PR! :)

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

v16.16.0
GitHub release

Your semantic-release bot :package::rocket:


Columnar cli

Codecov Report

Merging #1740 (1a72844) into main (bc95900) will decrease coverage by 0.09%.
The diff coverage is 90.46%.

@@            Coverage Diff             @@
##             main    #1740      +/-   ##
==========================================
- Coverage   94.13%   94.04%   -0.10%
==========================================
  Files         266      277      +11
  Lines       50791    52155    +1364
==========================================
+ Hits        47813    49050    +1237
- Misses       2978     3105     +127

Impacted Files
Coverage Δ

fastfield_codecs/src/lib.rs
98.89% <ø> (ø)

columnar/src/value.rs
63.63% <63.63%> (ø)

columnar/src/reader/mod.rs
63.88% <63.88%> (ø)

columnar/src/writer/value_index.rs
83.96% <83.96%> (ø)

columnar/src/writer/mod.rs
89.60% <89.60%> (ø)

columnar/src/writer/serializer.rs
91.78% <91.78%> (ø)

columnar/src/writer/column_operation.rs
94.35% <94.35%> (ø)

columnar/src/dictionary.rs
97.43% <97.43%> (ø)

columnar/src/writer/column_writers.rs
98.86% <98.86%> (ø)

columnar/src/column_type_header.rs
99.06% <99.06%> (ø)

... and 6 more

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


#844: ensure logging is enabled when an error occurred or CLI parameters are invalid

fixes #844
ensure logging is enabled when an error occurred or CLI parameters are invalid

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

0 of 0   changed or added relevant lines in 0 files are covered.
28 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 66.892%

Files with Coverage Reduction
New Missed Lines
%

com/devonfw/tools/ide/context/AbstractIdeContext.java
28
61.39%

Totals

Change from base Build<PHONE_NUMBER>6:
-0.01%

Covered Lines:
6577

Relevant Lines:
9480

💛  - Coveralls


✨ Group-level CI/CD variables API: add description

https://docs.gitlab.com/ee/api/group_level_variables.html
#1872

After this is merged and released, i will add it to the gitlab terraform provider.

@svanharmelen can you take a look, when you have time?

Fixed by #1872


Left nav shouldn't visible when moved to left

This issue shows up if you have a really long left nav item. When the navigator is pushed in iOS, the long nav item will be visible alongside the new nav item.
Steps to repro:
1/ Modify Examples/UIExplorer/Navigator/NavigationBarSample.js
2/ In NavigationBarRouteMapper.LeftButton, make the following change
<Text style={[styles.navBarText, styles.navBarButtonText]}>
  Very Long Title {previousRoute.title}
</Text>

3/ On iOS, get the UIExplorer project up and navigate to Navigator > Navbar Example > Next (top-right nav item) > Next
You should see the overlap.

With these changes the overlap is gone.

@facebook-github-bot shipit


Windows 11 urls and other shortcuts cannot be seen

Description
Windows 11 urls and other shortcuts cannot be seen although they are in the folder because if you try again to move a url or shortcut it asks if you want to replace.
Steps To Reproduce
Create shortcut
Drag or copy / paste to folder
Requirements

e.g. Fix crash that occurs when...

Files Version
10.0.22621.2134
Windows Version
11
Log File
debug.log

Thank you for the report, is this by any chance on a network drive?

No, standalone

Files Version
10.0.22621.2134
Some shortcuts are shortcuts to files on the hard drive, inside the OneDrive folder .... C:\Users\NAME\OneDrive\ .....
With urls I can drag them from a browser they just don't appear

10.0.22621.2134

Thats not the Files version this is a Windows version number

Oh sorry <IP_ADDRESS>
Thanks for trying to help by the way. And so quickly!

Have you try refreshing the folder (F5 key) after pasting it?
Can you also see if this is an issue in the preview version. https://files.community/download

Yes have tried refreshing and also going up and or back a couple of levels. And when I open the same folder in the Windows File Explorer it does appear. Apart from this one issue I much prefer Files to the Windows File Explorer.

Installing Preview version now ....

Seems related to this issue https://github.com/files-community/Files/issues/12626#issuecomment-1712841136

No luck with the Preview version either

I have just noticed that the shortcuts and urls whilch were in folders before Files was installed can be seen, but new ones cannot.

Just installed Files v<IP_ADDRESS> on Windows 10 and I'm seeing this issue too. I see the issue in the preview version as well.
For one of the shortcuts, I tried copying it from File Explorer and pasting it into the same folder in Files, and then after refreshing, the original shortcut will show in Files, but not the copy.
All my shortcuts are in my OneDrive. So far it seems like the only shortcuts that don't show are ones pointing to some server (e.g. \servername), but not all shortcuts to a server don't show up. Shortcuts to websites seem to work fine.

Should this be closed in favor of #15821?

Sounds like a good idea


hareThirdParty.hare-ssh: init at unstable-2023-11-16

Description of changes
hare-ssh package provides an implementation of the SSH client & server protocol for Hare.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 276437 run on x86_64-linux 1

1 package built:

hareThirdParty.hare-ssh

Please rebase and add the suggestions, should be good afterwards.

Done

Result of nixpkgs-review pr 276437 run on x86_64-linux 1

1 package built:

hareThirdParty.hare-ssh


Rotation of Doubly LinkedList by the given node

🚀 Feature
I want to add a new operation on linkedlist  into cp folder, which is  to rotate a doubly linkedlist by the given node .
Have you read the Contributing Guidelines on Pull Requests?
Yes
Motivation : Never give  up before trying the things!
(Please outline the motivation for the proposal.)
Pitch
(Please explain why this feature should be implemented and how it would be used.)
I checked all the operation of doubly linkedlist but there is no operation of rotation in your project. So I would like to add this to make better understanding of it.

/assign

Closing this due to inactivity. Thank you for your valuable time.😊

Ankit can you please assign this to me ?

@ankitaggarwal23 I want to add the code for this issue , if the code is not merged then please assign me .

If we don't find any activity in 10 days, this issue will be closed @anshmishra010


A Detailed Description about the use of the various Monitors, especially Prometheus

Hi @davidkel ! Can I take up this issue and work on it?


Connection Error

Hi, I am trying to include the SumUp iOS API into my system.
Everything is working on Android
On the other side, I am struggling with iOS.
This is what I am doing:
let request: SMPPaymentRequest = SMPPaymentRequest(amount: 1.0,
                                                   currency: "PLN",
                                                   title: "This is a title",
                                                   affiliateKey: "MY-AFFILIATE-KEY")

request.callbackURLFailure = URL(string:"sumuppoc://")
request.callbackURLSuccess = URL(string:"sumuppoc://")
request.openSumUpMerchantApp()

And I am always getting a "Connection Error" in the SumUp application when trying to launch the payment to the device.
I am using a SumUp Air device (configured to be paid in 'PLN' as currency (as I said before, everything works fine on Android.
I am using iOS version 15.7.1.
Thanks a lot

Ok, I understood the reason:

Note: Add the app ID com.sumup.appswitch in the developer section of your SumUp account as it is required for the iOS platform. The rest of the parameters can be changed depending upon the SumUp account configuration and requirements

Btw, you should include that in the official documentation as it is not mentioned anywhere (or I couldn't find it)


License statement

Currently there is no license statement. Could you please add a LICENSE file that contains the license text. Shipping the LICENSE file is a requirement for some distributions (e.g., Fedora).
Thanks.

done

If there are any plans on adding it to some distro that'd be cool :)


Randomized Inventory Messes Up Location Of Machine Gun After Ammo Pickup

Version
2.2.1 (bd54d6c)
Seed
R620-8LL5-ZTCQ4NZCF3BZVPEVPEZZZZZZZZZZGGZ
Scenario
RE 2 (Leon A)
What happened?
So I started with a Magnum with extra ammo and a 100% Machine Gun. I killed a Tyrant in the next room after the start and reloaded the Magnum. Picked up more Magnum ammo, and got this. Perhaps the game is not aware that the machine gun occupies 2 spaces? I don't know.

Might not be a bug. Randomizer had put the machine gun in the second row of the inventory, I went to the item box, emptied my inventory and it corrects itself. I guess the game forces 2 space weapons to have priority to the top of the inventory.

I thought the same was a bit smarter than this, I will have to force all double items to be at the top.


Don't do heap allocation during initialization of Array and Dictionary

@sheepandshepherd pointed out something really interesting here https://github.com/godotengine/godot/issues/34264#issuecomment-577939718
Currently all builtins except array and dictionary initialize without doing any heap allocation.
For instance Pool*Array lazily allocate it underlying buffer
https://github.com/godotengine/godot/blob/5da20d6cf2b334a0703f95fd05e84a9a5aa29a0f/core/pool_vector.h#L464
This is cool because it means resizing the container just after initialization becomes optimal (instead of having.
On top of that this means GDNative code would be guaranteed that doing zero initialization is enough to initialize builtins:
godot_string var_var;
memset(&my_var, 0, sizeof(godot_string));

@Zireael07 https://xkcd.com/859/ ;-)
I guess I wanted to say something like:

instead of having to do a first useless allocation, then doing the right allocation when user call my_array.resize(...)

Also during Godot sprints @reduz orally commented on this issue, saying he didn't think this was that much of a good idea given it would mean this kind of ugly behavior:
var a = []
var b = a
# underlying hashmap is allocated here, so b doesn't know about !
a.resize(10)
a.append(1)
print(a)
[1]
print(b)
[]
# underlying hashmap is already available, so c can reference it...
var c = a
a.append(2)
print(a)
[1, 2]
print(c)
[1, 2]

Note this issue is not possible with String given this type is not mutable.
On the other hand PoolXXXArray use a copy-on-write system, so the behavior consistent. But anyway, @reduz said PoolXXXArray are going to be removed in Godot 4.0 ;-)

Now that PoolArray was replaced with PackedArray in 4.0, what's the status on this?


RFM - thebrain.install

I DON'T Want To Become The Maintainer

[x] I have followed the Package Triage Process and I do NOT want to become maintainer of the package;
[x] There is no existing open maintainer request for this package;

Checklist

[x] Issue title starts with 'RFM - '

Existing Package Details

Package URL: https://chocolatey.org/packages/thebrain.install
Package source URL: https://github.com/dtgm/chocolatey-packages/tree/master/automatic/thebrain.install/

Date the maintainer was contacted (in YYYY-MM-DD): 2021-12-13
How the maintainer was contacted: email

Closing due to the following comment.
Only the meta-package should be opened as an RFM request unless there are different maintainers for the install/portable package.


Add validation on Login and Signup Pages

I've implemented validation using the HTML attribute.
To work with HTML validation, I added the onSubmit attribute with the onSubmit Function in the form tag and removed the onClick attribute from the button. Still, in the email, the HTML validation pattern attribute isn't working correctly.
To fix that I have useEffect to check and validate email using a pattern.

Deployment Failed Because of CI=True
I have also Deployed the site in Netlify.
https://cheery-froyo-b8a69d.netlify.app/
My Build Command is  CI=false npm run build
@shelcia

Deployment Failed Because of CI=True I have also Deployed the site in Netlify.
https://cheery-froyo-b8a69d.netlify.app/
My Build Command is CI=false npm run build
@shelcia

Deployment is still failing

@shelcia
So how can I fix deployment issue?

use yup library instead

use yup library instead

okay


[backport] cuDNN v8.2.2

Backport of #5516 by @takagi

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit d6b1c172a52f8bd5c164ee9e336817ae1d3658c0, target branch v9) succeeded!


Fix plot issues

This PR fixes some problems with plotting functions  in python-control:

Fixed sgrid, zgrid to use existing axes if they exist (fixes issue #291)
Use Hz=False for MATLAB + docstring corrections (fixes issue #373)
Fixed gangof4 when dB=True, which was not using semilogx for plotting
Changed Plot and PrintGain keywords to plot and print_gain, with deprecation warnings (better consistency with the rest of python-control).
Removed conversion to state space in examples/pvtol_nested.py that was giving spurious zero at infinity
PEP8 cleanup

Coverage decreased (-0.4%) to 84.2% when pulling 249d85e854e76c40e8b0cafdc4a6a4108ae7dcce on murrayrm:fix_plot_issues into 874d52eca13f1644eddad52be3e74a5c79883cfd on python-control:master.


How to archive empty folder in other folder?

I have folder with files and empty folders, but ssziparchive don't archive empty folder.
How to fix it?

Have you figured out what was wrong, @DimonDeveloper?

Yes, and i sended code to Sam Soffes, but he is not added it to git.

Awesome! If you could fork and create a PR with the related improvements, that would be much appreciated.

@istx25 I add two PR, I did it the first time, I do not know whether they added.

#135


Remove redundant call to get_particles

For my peace of mind, the = sign here
https://github.com/Team-RADDISH/ParticleDA.jl/blob/a54959bc8baf6718dde5eaeceded18ad2abff3fc/test/model/model.jl#L432
creates a reference to d.states.particles?

Yes, this function here basically returns a reference to the d.states.particles array, so when you do
particles = ParticleDA.get_particles(model_data)

the particles variable points to the memory address of d.states.particles, and if you modify the particles variable you're actually modifying d.states.particles.

Now that I think about it, that makes is possible for the model implementation to break things if it doesn't return a reference.

The only way I can see this to be possible is if a ParticleDA.get_particles method returns a copy of the actual particles, rather than the array itself, which I think is a weird thing to do.

Should we have some kind of a check for that?

I'd be happy to add a test, but not sure what to test :thinking:  Maybe we should better document this?

Let's add it in the docstring of get_particles (and others if applicable) that it should return a reference. That's probably good enough for now.

A simple test off the top of my head would be
particles=get_particles(d)
particles .= 0.0
particles=get_particles(d)
assert particles \approx 0.0


hello i need datasets for carbon estimation of biomass estimation so i can derive equation for my model, can you please help me with this.

Hi, what can I help you?


Undefined symbols for architecture arm64:   "OBJC_CLASS$_RNPermissionHandlerPhotoLibrary", referenced from:objc-class-ref in libRNPermissions.a(RNPermissions.o) in react native ios

Enviroment info
System:
OS: macOS Mojave 10.14.6
CPU: (4) x64 Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz
Memory: 232.40 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.16.3 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3
Android SDK:
API Levels: 23, 25, 26, 27, 28, 29
Build Tools: 27.0.3, 28.0.3, 29.0.2, 29.0.3
Android NDK: Not Found
IDEs:
Android Studio: 3.5 AI-191.8<IP_ADDRESS>91312
Xcode: 10.3/10G8 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_222 - /usr/bin/javac
Python: 2.7.10 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.1 => 0.62.1
npmGlobalPackages:
react-native: Not Found
.  Android works perfectly, but I get this error on building my iOS app: i also try manual linking , drag and drop permission.xcodeproj file in libeary, delete path buildSetting -> libeary path  but no solution.
              ld: warning: directory not found for option '-
                L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos'
                Undefined symbols for architecture arm64:
                "_OBJC_CLASS_$_RNPermissionHandlerPhotoLibrary", referenced from:
                objc-class-ref in libRNPermissions.a(RNPermissions.o)
                "_OBJC_CLASS_$_RNPermissionHandlerMediaLibrary", referenced from:
              objc-class-ref in libRNPermissions.a(RNPermissions.o)
                "_OBJC_CLASS_$_RNPermissionHandlerFaceID", referenced from:
                objc-class-ref in libRNPermissions.a(RNPermissions.o)
                "_OBJC_CLASS_$_RNPermissionHandlerLocationWhenInUse", referenced from:
                objc-class-ref in libRNPermissions.a(RNPermissions.o)
               "_OBJC_CLASS_$_RNPermissionHandlerCamera", referenced from:
                objc-class-ref in libRNPermissions.a(RNPermissions.o)
                ld: symbol(s) not found for architecture arm64
                clang: error: linker command failed with exit code 1 (use -v to see invocation)

here is my pod file:
                 platform :ios, '10.0'
                 require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

               def add_flipper_pods!
               version = '~> 0.33.1'
              pod 'FlipperKit', version, :configuration => 'Debug'
              pod 'FlipperKit/FlipperKitLayoutPlugin', version, :configuration => 'Debug'
              pod 'FlipperKit/SKIOSNetworkPlugin', version, :configuration => 'Debug'
             pod 'FlipperKit/FlipperKitUserDefaultsPlugin', version, :configuration => 'Debug'
              pod 'FlipperKit/FlipperKitReactPlugin', version, :configuration => 'Debug'
             end

            def flipper_post_install(installer)
            installer.pods_project.targets.each do |target|
            if target.name == 'YogaKit'
            target.build_configurations.each do |config|
            config.build_settings['SWIFT_VERSION'] = '4.1'
                       end
                  end
             end
        end

       target 'HealthKangaroo' do

       pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
       pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
       pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
       pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"
       pod 'React', :path => '../node_modules/react-native/'
      pod 'React-Core', :path => '../node_modules/react-native/'
      pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
      pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
      pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
      pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
     pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
     pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
     pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
     pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
     pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
     pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
    pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
    pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'

     pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
    pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
    pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
    pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
   pod 'ReactCommon/callinvoker', :path => "../node_modules/react-native/ReactCommon"
   pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
   pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga', :modular_headers => true

   pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
   pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
   pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'

   pod 'RNCAsyncStorage', :path => '../node_modules/@react-native-community/async-storage'

    target 'HealthKangarooTests' do

       pod 'RNPermissions', :path => '../node_modules/react-native-permissions'
       permissions_path = '../node_modules/react-native-permissions/ios'
        pod 'Permission-Camera', :path => "#{permissions_path}/Camera.podspec"
        pod 'Permission-FaceID', :path => "#{permissions_path}/FaceID.podspec"
        pod 'Permission-LocationWhenInUse', :path => "#{permissions_path}/LocationWhenInUse.podspec"
        pod 'Permission-MediaLibrary', :path => "#{permissions_path}/MediaLibrary.podspec"
        pod 'Permission-PhotoLibrary', :path => "#{permissions_path}/PhotoLibrary.podspec"

    inherit! :complete

  end

       use_native_modules!

     add_flipper_pods!
     post_install do |installer|
      flipper_post_install(installer)
     end
end

   pre_install do |installer|
   installer.pod_targets.each do |pod|
    if pod.name.eql?('RNPermissions') || pod.name.start_with?('Permission-')
      def pod.build_type;
        Pod::BuildType.static_library # >= 1.9
       # Pod::Target::BuildType.static_library # < 1.9
          end
      end
   end
end

Hi 👋. Please respect the template and format the issue correctly.

my apologies @zoontek  can you please again check it?

You appear to have included the pods. Strange it's not working. When I have one of those ":shrug: I dunno" issues on Xcode I start with npx react-native-clean-project

@govind1530 Does npx react-native-clean-project did the trick for you?

I reinstall the library

I have same problem.
cd ios
rm -rf Pods
rm Podfile.lock
pod install
now  It's working.

@choijiho0021 you might like https://github.com/pmadruga/react-native-clean-project

@mikehardy working for me


Add basic test scaffold

Signed-off-by: Matias Charriere<EMAIL_ADDRESS>
This PR:

Adds basic E2E tests

Towards https://github.com/giantswarm/giantswarm/issues/31354
Checklist

[ ] Update changelog in CHANGELOG.md.

/run app-test-suites

/run app-test-suites

/run app-test-suites

/run app-test-suites

There we go. This is only a scaffold to be able to build tests on top.
As you can see, nothing is actually being tested; BUT nothing breaks :)
Ran 0 of 2 Specs in 1669.198 seconds
SUCCESS! -- 0 Passed | 0 Failed | 0 Pending | 2 Skipped
PASS


https://developer.mozilla.org/en-US/Firefox_OS/Debugging/Installing_ADB

Request type

[ ] New documentation
[ ] Correction or update

Page to change
If this request relates to an existing article, please give its URL:
Details
Please describe the change you are requesting. If you know of technical experts who can review the change, please mention them.
Related issues
If this request relates to other issues in Bugzilla or GitHub, please provide links:

@amatobuononato Did you find a link to this page somewhere? It has been moved to https://developer.mozilla.org/en-US/docs/Archive/B2G_OS/Debugging/Installing_ADB
It's supposed to redirect, so if that's not happening, please say where you found it.


Does the mzXML file contain the information of the data acquisition Date?

HI,
I have checked the previous issue about the startTimeStamp of mzML converted by Water RAW files. https://github.com/ProteoWizard/pwiz/issues/124
And I could get the acquisition Date information from mzML files. But I could not find the acquisition Date from mzXML. Does the mzXML file contain the information of the data acquisition Date? The mzXML files were converted by Msconvert.
Best regards,

From what I can tell reading the schema, mzXML doesn't support a standard attribute encoding the acquisition time. There is msRun@startTime, but that's an xsd:duration which isn't suitable. There's software@completionTime but that seems like an odd fit.


added jenkinsfile and changed port to 9090 cause 8080 is being used b…

…y Jenkins

@arfeen14 Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.


Expose config loading methods

Resolves #214

@ekcasey A private helper is not a problem. It would just have to be duplicated. pack can't import the commands package, and commands cant use it if it lives privately in pack. I could create a third package to decouple, but feels a little tedious.


Support relative $ref references

As raised in #43, JSONForm does not yet support schemas that use the $ref JSON Schema keyword.
At a minimum, JSONForm should support internal references. Support for external references may be harder to achieve due to the async nature of such references.
See JSON Reference and JSON Schema URI resolution scope alteration with the "id" keyword for details.

Bump! Looking to use this in a new project, but we have a complex json schema accross many files using many $refs.
It would be great to add each schema object to jsonform then generate a form.

resolveRefs(data.schema, data.schema.definitions);
$('form').jsonForm(data);
Uncaught RangeError: Maximum call stack size exceeded
at String.replace ()
at escapeSelector (jsonform.js:101)
at formTree.buildFromLayout (jsonform.js:3108)
at formTree. (jsonform.js:3196)
at underscore.js:73

Please reopen.

is there a definition of what the ref link should look like?  I have some time

https://json-schema.org/understanding-json-schema/structuring.html

@sciurius  thx.. is there a place to talk about this outside of this issue?

i know its been 7 years,
so this is a specific subset of the jsonform.org spec which allows all kinds of target refs (not just 'definitions')
I think this needs a hash of already resolved links, to prevent recursion, and probably have to make a resolved copy of the target
so you don't trapse into it every time. oops. resolved..
it is ok to stomp on the source definition?
function resolveRefs(obj, defs)
{
  Object.keys(obj).forEach(function(prop, index, array){
    var def = obj[prop];

    if (def.$ref) {
      var ref = def.$ref.replace(/^#\/definitions\//, '');
      obj[prop] = defs[ref];
    } else if (typeof def === 'object') {
      resolveRefs(def, defs);
    }
  })
}

and the uri resolution decoder.. , ~0, ~1 and %nn
external would never work for my use (unless it was a full URI), as the lib doesn't know where THIS doc came from as its loaded directly via javascript.

External refs (/schemas) should not be in the scope of this feature, you're right.
For internal refs (/definitions), we should process the definitions property first, and then replace them where needed. I would implement this as a pre-processor, I think, and directly modify the JSON object that is fed to JSONForm

in general I agree. the example is recursive, as it uses the definition IN the definition. not sure how to update the object with this.

In the spec, the loop is ok for the validation process, but in our case where we need to construct the form, it's slightly more complicated. I think we might need to stop at the first level. Maybe put a parameter for this, like levels: <integer> for instance ? Or a "global" parameter in the JSONForm object that could be overriden ? I'm not sure...

I was thinking stop at the 1st level.
the question is what do you put in the schema for any secondary?, or is that an error? then the example would fail.
thus rule : no refs in /definitions

And no { "$ref": "#" } too.
I think that we should be able to display an error stating the probleme

just fyi, I got jammed on another project suddenly..   so my 'free' time evaporated

That's alright, don't worry :)


How to set light theme permanently?

Hi,
Fantastic theme Yaoyao.
I had a quick question. Is there a way to permanently set to the light theme? On my phone and laptop, I believe it chooses the theme based on the system theme. I tried modifying the minimal-light.scss file, but did not have satisfying results. Is there one global setting to do this?

I realized this can be done by commenting out the  @media (prefers-color-scheme: dark)  blocks in _sass/minimal-light.scss and also in assets/css/publications.css

Hello @harishankarv
Thanks for your suggestion. Now I added a parameter that allows the users to disable the dark theme:
https://github.com/yaoyao-liu/minimal-light/blob/363a871b453bb28189489a791163dd146b7d8c65/_config.yml#L31-L33


for loop over cis_transition_dipole requires integer as an argument

This is a small issue in clients.py:recv_job_async
  File "/XXXXXXX/tcpb-client/tcpb/clients.py", line 518, in recv_job_async
    for i in range((output.cis_states + 1) * output.cis_states / 2):
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'float' object cannot be interpreted as an integer

wrapping the expression in range fixes the issue:
for i in range(int((output.cis_states + 1) * output.cis_states / 2)):

sounds like a python 3 vs python 2 thing.  but your fix should work also in python 2.7, so go ahead and issue a pull request.

Should be resolved.

Thanks @ChristopherAMyers for the quick fix. I've released a new version of the client including your patch to PyPi (0.13.2). You can install it with pip install tcpb or if you're installing into an environment that already has tcpb then pip install --upgrade tcpb to get the latest version.
@tmartine68 just a heads up that this package does not support python 2.7. 2.7 end of life'ed at the end of 2019 and I dropped support a few years back.


on authentication problem from azd

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

On some environment, after running azd auth login, it does nothing as below, no browser popups for Azure authentication

that's because there's no default browser settings with x-www-browser in the environment. in that case,

Install wslu, see this [link(https://wslutiliti.es/wslu/install.html)]
Add 'export BROWSER=wslview' in your .bashrc3.

@euchungmsft  so it looks you find a workaround for this. should we add this in the README under the FAQ session?


Aboutus update

Codecov Report

Merging #42 (be688fe) into master (0c06756) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #42   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Continue to review full report at Codecov.

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


How can I make isort under apheleia works same as isort under pre-commit?

My default isort setup in the setup.cfg file is:
[tool:isort]
force_grid_wrap = 0
include_trailing_comma = True
known_standard_library = tkinter
line_length = 120
multi_line_output = 3
use_parentheses = True

This applied on the pre-commit. But I realize that isort runs inside apheleia acts different than the isort works on the pre-commit.  Like isort inside emacs changes the import locations than when I run pre-commit it got changes again. Is it possible to make isort works parallel that works in the pre-commit?

Does isort behave the same if you run it outside emacs? If not then it is not a problem with apehlia.

isort does not behave the same when I run it outside emacs. Hence it is a problem with aphelia.

isort should function the same outside of apheleia as it does inside. If it doesn't it's likely a bug. There's one reason I can think of for why this might be happening. Apheleiea always runs the formatter in the same working directory as the buffer. git commit-hook always runs it from the root of your project. Could you try running isort outside of apheleia in the same directory as the file being formatted and confirm it's the same behaviour as the commit-hook. If this is the case please share an example python file and maybe a project layout as well.

This thread is being closed automatically by Tidier because it is labeled with "waiting on response" and has not seen any activity for 90 days. But don't worry—if you have any information that might advance the discussion, leave a comment and I will be happy to reopen the thread :)


Is there an existing issue for this?

[X] I have searched the existing issues

What kind of documentation would you like added or changed?
pipline算子之前的数据交换存在CPU和GPU互相拷贝吗？
Why is this needed?
No response
Anything else?
No response

@OMG59E I think it depends on the data processing in different operators. Can you show the pipeline and more details about your question?


az webapp list-runtimes

Describe the bug
Running az webapp list-runtimes is the easiest way to cause a crash likely related to a host of other failures we're seeing, all related to knack\cli.py.
Command Name
az webapp list-runtimes
Errors:
'bool' object has no attribute 'provider'
Traceback (most recent call last):
Temp\pip-install-1o1fsnhi\knack\knack\cli.py, ln 206, in invoke
azure\cli\core\commands\__init__.py, ln 608, in execute
azure\cli\core\commands\__init__.py, ln 666, in _run_jobs_serially
azure\cli\core\commands\__init__.py, ln 659, in _run_job
Local\Temp\pip-install-1o1fsnhi\six\six.py, ln 703, in reraise
azure\cli\core\commands\__init__.py, ln 636, in _run_job
azure\cli\core\commands\__init__.py, ln 306, in __call__
azure-cli-core\azure\cli\core\__init__.py, ln 493, in default_command_handler
azure\cli\command_modules\appservice\custom.py, ln 704, in list_runtimes
azure\cli\command_modules\appservice\custom.py, ln 2159, in stacks
azure\cli\command_modules\appservice\custom.py, ln 2180, in _load_stacks
AttributeError: 'bool' object has no attribute 'provider'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

az webapp list-runtimes

Expected Behavior
Not crash.
Environment Summary
Windows-10-10.0.19041-SP0
Python 3.6.6
Shell: Windows Terminal

azure-cli 2.0.81

Extensions:
application-insights 0.1.1
interactive 0.4.3

Additional Context

@TomBonnerAtTFL , thanks for reporting, we are looking at it.

Hi @arrownj, is there any way to roll-back a version of Az-cli? Our CI pipeline is using the latest and it's now blocking our release.

If anyone else is finding this issue, you can roll-back by using direct version referencing:
apt-get install azure-cli=2.0.79-1~xenial --allow-downgrades

issue will be fixed in 2.0.82 - please use the edge builds in the meantime Same as #12159.

It is failing even in your own Cloud Shell for both bash and Powershell, maybe you should prioritize this, we are people running production here.

@mrscommentor this fix has already been merged to our dev branch - and is available with this release https://github.com/MicrosoftDocs/azure-docs-cli/blob/master/docs-ref-conceptual/release-notes-azure-cli.md
Not sure what version cloud shell is using .

Thanks I see that, and cloud shell has now been upgraded to 2.1.0 I can see. Unfortunately the list does no longer contain DOTNETCORE versions, why is that?
mrs@Azure:~$ az webapp list-runtimes
[
  "aspnet|V4.7",
  "aspnet|V3.5",
  "node|0.6",
  "node|0.8",
  "node|0.10",
  "node|0.12",
  "node|4.8",
  "node|6.5",
  "node|6.9",
  "node|6.12",
  "node|7.10",
  "node|8.1",
  "node|8.4",
  "node|8.5",
  "node|8.9",
  "node|8.10",
  "node|8.11",
  "node|10.0",
  "node|10.6",
  "node|10.14",
  "node|10.15",
  "php|5.6",
  "php|7.0",
  "php|7.1",
  "php|7.2",
  "php|7.3",
  "python|2.7",
  "python|3.6",
  "java|1.7|Tomcat|7.0",
  "java|1.7|Tomcat|8.0",
  "java|1.7|Tomcat|8.5",
  "java|1.7|Tomcat|9.0",
  "java|1.7|Jetty|9.1",
  "java|1.7|Jetty|9.3",
  "java|1.7|Java|SE",
  "java|1.8|Tomcat|7.0",
  "java|1.8|Tomcat|8.0",
  "java|1.8|Tomcat|8.5",
  "java|1.8|Tomcat|9.0",
  "java|1.8|Jetty|9.1",
  "java|1.8|Jetty|9.3",
  "java|1.8|Java|SE",
  "java|11|Tomcat|7.0",
  "java|11|Tomcat|8.0",
  "java|11|Tomcat|8.5",
  "java|11|Tomcat|9.0",
  "java|11|Jetty|9.1",
  "java|11|Jetty|9.3",
  "java|11|Java|SE"
]

So I wrote in the previous post that dotnet core is missing completely from the list, and it still is I can see, why close it then?


Serialization of single object with context / options

We already discussed serialization of a single object and the docs were updated with the example here.
Now, I face the situation where I need to pass some options and I noticed it is not possible due to the implementation in ResponseCreator (response.rb)
wdyt about adding this change?
   # in lib/panko/response.rb
    def self.serializer(data, serializer, options = {})
      json serializer.new(options).serialize_to_json(data)
    end

So I can then do something like this:
render(
  json: Panko::Response.create do |r|
    {
      status: 'active',
      user: r.serializer(user, UserSerializer, context: {index: true})
    }
  end
)

I could send a Pull Request if you think this is a good idea.

Hi @bbay ,
Sounds good, I am always open to PR :)

Closed at #84
Thanks !! Waiting for that fancy preloader now! 😍


handle command detection during tts (or in complex/ loud environments)

maybe make use of the topic /behavior_node/response

It's basically how to handle voice recognition while the speech synthesis is actively producing speech or when people are speaking in the background. Yunlong said the command detection is very sensitive so this ticket is just a reminder to think about solutions in situations like this.
I think the keyword "Marimbabot" works fine but the command detection also needs 2s of silence to signal the end of a command, which might not always be possible in every situation.
So far no testing was performed and we might need to consider adjusting the detection sensitivity or applying some sort of noise filter.
And no, I'm not working on this. I opened the ticket for yunlong some time ago when I talked to him about it and he asked me to make a ticket.

Thank you for the elaboration on this. :)

I think it can be solved by adding keyword spotting, which can extract text from speech when the keyword is spotted. And at the exhibition, the audience could focus on what you are doing, there could be not so much noise.

done in #230 by using hot word spotting, then close it.


Admin Screen to Manage Deployment Channels

Today, we have to use a API call to create a Solr Index in SMUI:
SOLR_INDEX_ID=`curl -S -X PUT -H "Content-Type: application/json" -d '{"name":"ecommerce", "description":"Ecommerce Demo"}' http://localhost:9000/api/v1/solr-index | jq -r .returnId`

I am working with a client that, if we are successful, will have many collections.    They could use this API call, however it would be nice if SMUI had an admin interface that let you via clicking create and update new "Solr Index".   Bonus points on if you could edit the deployment scripts via the web interface ;-)

It sounds great, but let's keep in mind that it should also work for ES some day, and Solr access is not always as simple as an HTTP call --> we'll need good abstractions

The internal concept SolrIndex is deprecated. We already started to refactor it to the concept of a Deployment Channel in the documentation. The corresponding code refactoring should be part of that issue, when establishing an admin interface for the channels. The concept is decoupled from a specific search engine as it will only be used to organise rules.
Note: when refactoring the SolrIndex also the database structure needs to be touched.

Reminder: When establishing an admin interface to manage the Deployment Channels, it should also be considered to establish an admin interface for managing the Rule Tags (currently configured via an explicit file referred by the application.conf).

linked also to #65


Set-Cookie header related Vulnerabilities

The set-cookie header has some flags like secure, httponly, samesite. If these flags are not enable then it can help attacker to exploit the site in various ways. But if samesite cookie is enabled then the website is safe from CSRF attacks. Ex In this blog: https://www.acunetix.com/blog/articles/chrome-tightens-csrf-protection/ after adding samesite cookie which will prevent the csrf attacks. I will add a module for searching for these flags in Set-Cookie header which will in return gives whether the application is vulnerable or not.

OS: Linux
OS Version: Ubuntu
Python Version: 3.6.9

Fix for this issue: #249 @securestep9 please review it and suggest me changes if any :)


Added Armstrong Number in Python

Hi Kanha,
Could you please add "hacktoberfest-accepted" label to my PR #313 ?
Because it will only then be counted as a valid PR in completing
Hacktoberfest challenge.

Additionally, any pull request with the hacktoberfest-accepted label,
submitted to any public GitHub repository, with or without the
hacktoberfest topic, will be considered valid for Hacktoberfest.

On Tue, Oct 6, 2020 at 1:36 AM Kanha Khatri<EMAIL_ADDRESS>wrote:

Merged #313
https://github.com/ephremdeme/data-structure-and-algorithms/pull/313
into master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ephremdeme/data-structure-and-algorithms/pull/313#event-3842219869,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGEVHD5WEOEECZXVBFQ5TCTSJIRK3ANCNFSM4SEKZEIA
.

--
Gaurav Ahuja
B.Tech.
Computer Science And Engineering
Punjab Engineering College
Sector 12
Chandigarh

Hi @Kanhakhatri065, Could you please add "hacktoberfest-accepted" label to this PR ?
Because it will only then be counted as a valid PR in completing Hacktoberfest challenge.

hacktoberfest-accepted

Thanks @Kanhakhatri065 for replying. But I suppose, the hacktoberfest people are asking to add a label, like we add to some issue.
In the right side of this page, there is "Labels" field, which is currently showing "None" yet.
It would be very helpful if you could add the label there of "hacktoberfest-accepted"
Thanks,
Gaurav

My bad, I thought the maintainers have to comment hacktoberfest-accepted.

Thanks @Kanhakhatri065 !


microprofile-openapi @Extension is missing in /openapi.yml model

Hi,
I am currently trying to use @Extension annotation from the microprofile-openapi fraction. The example is @Extensions({@Extension(name = "x-audience", value = "internal")})
which I annotate on a GET resource method. However this custom extension is not populated in the yaml file when accessing the /openapi url. Is this a bug or is this currently not supported? Perhaps I am doing something wrong aswell, but in that case I'd appreciate any light on how to actually use it.
/david

Is this with v2 or v4?
Thoughts @EricWittmann?

I'm running 2.0.0.Final.

Ok, if this turns out to be a bug, it will need to be raised here: http://issues.jboss.org/browse/THORN
GitHub issues are for v4 only

I'll try to look into this today, but it's likely a bug.

Alright - so @Extensions on jax-rs methods are not being read.  At this point, this is really a bug in SmallRye and should probably be raised/tracked there.
https://github.com/smallrye/smallrye-open-api

Alright, thank you, will raise the issue there.

Thanks @dvddhln, will close this one


Suggestion: add usage for cocoapods, like below

Installation (Auto)
iOS: (for cocoapods)
pod 'react-native-image-picker', :path => '../node_modules/react-native-image-picker'
the path of react-native-image-picker just custom yourself.

This is how the module is installed in my app.

I am getting the following errors when I add above:
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
../src/contextify.cc:131:56: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]
Local wrapper = Nan::New(constructor)->NewInstance();
^
/Users/kaila/.node-gyp/8.7.0/include/node/v8.h:3836:3: note: 'NewInstance' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", Local NewInstance() const);
^
/Users/kaila/.node-gyp/8.7.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated))
^
../src/contextify.cc:150:16: error: no member named 'SetAccessCheckCallbacks' in 'v8::ObjectTemplate'
otmpl->SetAccessCheckCallbacks(GlobalPropertyNamedAccessCheck,
~~~~~  ^
../src/contextify.cc:182:51: warning: 'GetRealNamedProperty' is deprecated [-Wdeprecated-declarations]
Local rv = Nan::New(ctx->sandbox)->GetRealNamedProperty(property);
^
/Users/kaila/.node-gyp/8.7.0/include/node/v8.h:3388:3: note: 'GetRealNamedProperty' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/kaila/.node-gyp/8.7.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated))
^
../src/contextify.cc:209:38: warning: 'GetRealNamedProperty' is deprecated [-Wdeprecated-declarations]
if (!Nan::New(ctx->sandbox)->GetRealNamedProperty(property).IsEmpty() ||
^
/Users/kaila/.node-gyp/8.7.0/include/node/v8.h:3388:3: note: 'GetRealNamedProperty' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/kaila/.node-gyp/8.7.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated))
^
../src/contextify.cc:210:42: warning: 'GetRealNamedProperty' is deprecated [-Wdeprecated-declarations]
!Nan::New(ctx->proxyGlobal)->GetRealNamedProperty(property).IsEmpty()) {
^
/Users/kaila/.node-gyp/8.7.0/include/node/v8.h:3388:3: note: 'GetRealNamedProperty' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users/kaila/.node-gyp/8.7.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated))
^
4 warnings and 1 error generated.
make: *** [Release/obj.target/contextify/src/contextify.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/kaila/.nvm/versions/node/v8.7.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:285:23)
gyp ERR! stack     at emitTwo (events.js:125:13)
gyp ERR! stack     at ChildProcess.emit (events.js:213:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 17.3.0
gyp ERR! command "/Users/kaila/.nvm/versions/node/v8.7.0/bin/node" "/Users/kaila/.nvm/versions/node/v8.7.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/kaila/Library/Caches/CocoaPods/Pods/Release/React/0.7.1-f78d5/node_modules/contextify
gyp ERR! node -v v8.7.0
gyp ERR! node-gyp -v v3.6.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      /Users/kaila/.npm/_logs/2017-12-13T21_41_19_946Z-debug.log


[fix)(colocate join) fix wrong use of colocate join (#37361)(#37729)

cherry-pick #37361 and #37729 to branch-2.0

run buildall


Facebook problem - how to solve this?

"message": "(#10) To use 'Page Public Content Access', your use of this endpoint must be reviewed and approved by Facebook. To submit this 'Page Public Content Access' feature for review please read our documentation on reviewable features: https://developers.facebook.com/docs/apps/review."
Anyone solve this error? Help me. I try to submit review but cant get facebook feed

Welcome:
https://github.com/pavelk2/social-feed/issues/330

is a facebook problem, there is nothing we can do on the js script.

yes, I had solved this

yes, I had solved this

How?

Hi,
All FB apps must submit to review

@htrxuan I did, like several times. And I am getting declined all the time. The last time they said they couldn't find a FB login button on the website (wtf?!). It's my FB app, and I am the admin of that FB Page. And just want to get the public posts.
Now my client has to open the Facebook Business account in order to ask them a question. Because their responses are so generic and seems like they didn't look at the video and my description at all.
This is insane.


Disable/Enable buttons

Hi guys, love the code here but very newb question here. Is there a way to disable a button when the textarea text/word count goes over the maximum or re-enable it when it's under the text/word count?
I can easily do this using ('#UpdateButton').prop('disabled', true); in my code but not whilst using your text counter.
As I say, newb question here.
Cheers

You may have already solved this, but you can use the events for maxcount and maxunder.
So it might look something like:
$('input').textcounter({
  max: 20,
  maxcount: function(el) {
    $('#UpdateButton').prop('disabled', true);
  },
  maxunder: function(el) {
    $('#UpdateButton').prop('disabled', false);
  }
});


Add double-factorial implementation

Resolves #44 .
Description

What is the purpose of this pull request?

This pull request:

adds an implementation of the double factorial function.

Related Issues

Does this pull request have any related issues?

This pull request:

resolves #44
is related to prior attempts to add similar functionality: https://github.com/stdlib-js/stdlib/pull/72 and https://github.com/rreusser/stdlib/commit/255f520dc5a901cd2b6af132a445cdc0d34281b8.

Questions

Any questions for reviewers of this pull request?

Should the implementation be extended to include all reals? Complex numbers?

Related discussion: https://github.com/stdlib-js/stdlib/pull/72#discussion_r92948961

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

Prior art:

Boost: https://github.com/boostorg/math/blob/develop/include/boost/math/special_functions/factorials.hpp#L74
SciPy: https://docs.scipy.org/doc/scipy/reference/generated/scipy.special.factorial2.html and https://github.com/scipy/scipy/blob/v1.11.3/scipy/special/_basic.py#L2940-L3014

Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

As discussed with regard to extension to complex numbers (https://en.wikipedia.org/wiki/Double_factorial#Extensions), the gamma approximation does not agree for even integers. As such, I am inclined to think we should stick with the "classic" definition.
We could, in theory, extend to negative integers; however, I don't think there's an immediate use case, so leaving as restricted to nonnegative integers, seems fine with me.

Additionally, I think that manually re-computing via a loop is fine. A loop-up table would likely be a bit faster; however, a static table would significantly increase bundle sizes for what is likely to be a function which is not heavily used.


Is there a way to import markdown format or .md file

Hello, I like this plug-in idea, it is simple and convenient to use.
Is there a way to import markdown format or .md file?

Want it to support this feature.

Hi!
No, not yet. There's a way to do it. But I have to check if they allow it through the security rules and chrome's supported API.
Because I think it is better to be drag and drop or load/save button but they are all web based so I need to check if they allow that first.
But I am pretty sure I should be able to add that feature.
By the way, this update might take some time as i'm working on other things too.

The update of this is curently getting reviewed by chrome web store.
If there's no problem, it will be passed and I will push the changes and close this issue.

done in version 0.0.2

Thank you so much
This reduces the time I spend adjusting the format of posts.


How to deal with huge amounts of training data

Hello. I wonder if there is a way to deal with huge amounts of training data which is too large to be fully loaded into memory.

You can either try using smaller batch sizes, limit the maximum length of the sequences or a limited vocabulary size. It is always better to provide some more details on your training data such as the number of examples, average length, your use case etc.,

Thanks, @shahbazsyed . But the problem is that my training set is too large. I even generate load the files to generate .t7 file using preprocess.lua

Hello, the best is to use dynamic dataset exactly meant for that and for which you don't have upper limits - see http://forum.opennmt.net/t/dynamic-dataset/746/31 and http://opennmt.net/OpenNMT/training/sampling/#dynamic-dataset.

@jsenellart  Thanks. It's exactly what I want


python37Packages.daphne: 2.2.3 -> 2.2.4

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-daphne/versions.
meta.description for python37Packages.daphne is: '"Django ASGI (HTTP/WebSocket) server"'.
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
/nix/store/dg9np6aar1s2h7ywkfplg90mk16iqwd7-python3.7-daphne-2.2.4/bin/.daphne-wrapped passed the binary check.
/nix/store/dg9np6aar1s2h7ywkfplg90mk16iqwd7-python3.7-daphne-2.2.4/bin/daphne passed the binary check.
2 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 2.2.4 with grep in /nix/store/dg9np6aar1s2h7ywkfplg90mk16iqwd7-python3.7-daphne-2.2.4
directory tree listing: https://gist.github.com/ca70f61726acd3230204a2f919bbd809
du listing: https://gist.github.com/0b4d8dab4d8f92882135c71c100cac39

Rebuild report (if merged into master) (click to expand)

8 total rebuild path(s)
2 package rebuild(s)
2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
python37Packages.channels
python37Packages.daphne

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/dg9np6aar1s2h7ywkfplg90mk16iqwd7-python3.7-daphne-2.2.4 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A python37Packages.daphne https://github.com/r-ryantm/nixpkgs/archive/c3114d1f4eb256763b81d265eb28afa2479772da.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/dg9np6aar1s2h7ywkfplg90mk16iqwd7-python3.7-daphne-2.2.4
ls -la /nix/store/dg9np6aar1s2h7ywkfplg90mk16iqwd7-python3.7-daphne-2.2.4/bin

@GrahamcOfBorg build python37Packages.channels


Rename to TrimSubmap

Trimmable::MarkSubmapAsTrimmed was incorrectly named and commented.
It really trims the submap.

@wally-the-cartographer merge

Merge requested by authorized user gaschler. Merge queue now has a length of 1.


Building on Windows

I'm unable to build this project on Windows 10 under Android Studio with the latest updates.
The message I get is:
No variants found for ':app'. Check build files to ensure at least one variant exists. at:
com.android.tools.idea.gradle.project.sync.AndroidModule.prepare(GradleModules.kt:266)

Are there build instructions online or some alternative script?

Same issue, will try with Mac and Ubuntu.


Thinking of using this...How does it compare to FreshMVVM

Besides letting me use my own IOC (DryIOC in my case), what are some differences between this and FreshMVVM?

FreshMVVM is quite nice MVVM framework. What comes to my mind is:

PageFactory has a Page/ViewModel caching and reusing mechanism. It could result in more responsive UI experience. You don't have to create Page instance every time you want to push it, etc.
PageFactory doesn't use any dependency injection.
FreshMVVM forces you to use FreshBasePageModel (correct me if I'm wrong), with PageFactory you're not limited to any concrete implementation of Pages and ViewModels. You could use a provided ones, or just implement needed interfaces, eg. INotifyPropertyChanged or IBaseMessagable (if you need to use ViewModel messaging). The minimal requirement is to implemented only  INotifyPropertyChanged for viewmodels
PageFactory has a basic INotifyPropertyChanged implementations out of the box, so you can use it right away.
PageFactory has a fluent API, eg:

PageFactory.GetMessagablePageFromCache<SimpleSecondViewModel>()
					.ResetViewModel()
					.SendMessageToViewModel("ViewModelTestMessage", sender: this, arg: Guid.NewGuid())
					.SendMessageToPage("PageTestMessage", sender: this, arg: Guid.NewGuid())
					.PushPage();

Whole IPageFactory implementation is here: https://github.com/daniel-luberda/DLToolkit.PageFactory/blob/master/DLToolkit.PageFactory.Forms/XamarinFormsPageFactory.cs
It's the only needed thing to create your own IPageFactory which you could use with this lib.

@daniel-luberda  thank you. Looks like this also has predefined nav methods like tabbed and master detail. Is there an example of such usage somewhere?

@robertbaker No problem. If you have any questions, just ask. There isn't any example anywhere but I'll create one and let you know. It's basically the same as with pure Xamarin.Forms:

All that is different that you use PFContentPage (and others) as child pages.
You can create their instances manually: Children.Add(new MyPage()) - PageFactory will be aware of it and handle all the ViewModels initialization, etc
You can use PageFactory methods to create them:

Children.Add(GetPageAsNewInstance())
Children.Add(GetPageFromCache())
etc...

The same with NavigationPages... just use PFNavigationPage or its derivatives.

PageFactory is currently Xamarin.Forms specific, but it could be extended to another platforms.

Another advice about tabbed and master detail pages:

Be sure to not use cached page instance in multiple places, eg. one as a MasterDetail child and the second one as a pushed page(without a master). If you need to do something like this:

For MasterDetail child use: PageFactory.GetCachedPage
for all the additional pages: PF.Factory.GetPageAsNewInstance or create and handle additional instances by yourself

@daniel-luberda Does this do Automatic wiring of BindingContext
Automatic wiring of Page events?

Yes, if you use PageFactory navigation, you don't need to worry about anything. ViewModels are automatically wired and initialized when instance of a page is created (doesn't matter how)

BTW: Pages have ViewModelinitializer method which you could override to change the way how a page initializes its ViewModel.

I recommend you put this in your readme as a comparison. Thanks!

I think I could prepare something :) Thanks!


chore disable fault injection to make pipeline task check happy (#38665)

pick (#38665)
test_delta_writer_v2_back_pressure_fault_injection would make pipeline task can not finish, disable it temporarily to make pipeline task check happy.

run buildall


autocommand results in nesting too deep errors

I was using the vim tip from here to view NFO files: http://vim.wikia.com/wiki/View_NFO-files_correctly
MacVim used to work with these, but something changed at some point and it now causes "autommand nesting too deep" errors.
# get a sample nfo file
wget http://artscene.textfiles.com/asciiart/NFOS/wolf.nfo
# works as expected, no error
vim -N -u NONE -U NONE --cmd "au BufNewFile,BufRead *.nfo set filetype=nfo" --cmd "au FileType nfo edit ++enc=cp437" wolf.nfo
# used to work, now results in error: "autocommand nesting too deep"
mvim -N -u NONE -U NONE --cmd "au BufNewFile,BufRead *.nfo set filetype=nfo" --cmd "au FileType nfo edit ++enc=cp437" wolf.nfo

Running with -V shows MacVim is repeatedly executing the Filetype autocommand:
Executing BufRead Auto commands for "*.nfo"
autocommand set filetype=nfo
Executing FileType Auto commands for "nfo"
autocommand edit ++enc=cp437
chdir(/Users/me)
fchdir() to previous dir
"wolf.nfo" [converted] 73 lines, 5935 characters
Executing FileType Auto commands for "nfo"
autocommand edit ++enc=cp437
chdir(/Users/me)
fchdir() to previous dir
"wolf.nfo" [converted] 73 lines, 5935 characters
...

Tested against latest MacVim version (snapshot-103).

@grr How about snapshot-105?

It is not MacVim issue. I recommend you to post it in https://github.com/vim/vim/issues


Actual Unicode support

This probably will require ICU to be added as a dependency first. I don't know how Lua will handle Unicode strings (should research this). Also, this should be done now, as it will be even harder to add in later.

This page says:

If your use of Unicode is restricted to passing the strings to external libraries that support Unicode, you should be OK. For example, you should be able to extract a Unicode string from a database and pass it to a Unicode-aware graphics library.

It seems like the best option for Unicode in Lua would be using UTF-8. (probably making all FoneOSStrings UTF-8 would be the easiest option). The only problem is that the SIM800 likes to use UTF-16.... :angry:


Program panicked: Unhandled error

🤯 Program panicked: Unhandled error at test.emojic:13:11: Broken pipe
Aborted (core dumped)
`  Here we’ve an example of a minimal echo-server that listens on port 8728. The server simply sends
back a copy of the data it received.
📦 sockets 🏠

💭 Simple echo server listening on port 8728
🏁 🍇
  🍺🆕🏄 8728❗ ➡ server

  🔁 👍 🍇
    🍺 🙋 server❗ ➡ clientSocket

    🔁 👍 🍇
      🆗 data 👂 clientSocket 50❗ 🍇
        💭 We’ve read 50 bytes and send them back
        🍺 💬 clientSocket data❗
      🍉
      🙅♀ error 🍇🍉
    🍉
  🍉
🍉

Not sure what exactly the error means, any help would be appreciated

Broken pipe is a TCP error that you did not handle on line 13 by using 🍺 instead of performing proper error handling. Please do not use the issue tracker for debugging help.


fix indent on code example

What is the purpose of this pull request? (put an "X" next to item)
[x] Documentation update
[ ] Bug fix
[ ] New feature
[ ] Other, please explain:
What changes did you make? (Give an overview)
fix indent on code example
Which issue (if any) does this pull request address?
documentation
Is there anything you'd like reviewers to focus on?
JSON syntax

Hi @munierujp and thank you for caring enough to submit a pull request.
It failed on linting of the commit message.
Could you please amend the commit message and then force-push? How about docs: fix indent in example config?

@mightyiam Now I've fixed commit message. Thank you.

@munierujp ideally, this would be a single commit and not 3:
https://github.com/standard/eslint-config-standard-with-typescript/commits/master
To achieve that next time, avoid merging pull requests using merge commits. Use either "rebase and merge" or "squash and merge".
:heart: