introduce V2 threads

This addresses the concerns raised in issue https://github.com/BalzGuenat/CustomThreads/issues/2 and PR https://github.com/BalzGuenat/CustomThreads/pull/3.
The changes bring the generated thread profiles closer to standard metric profiles. In particular, it removes the previously fixed tolerances which caused problems with certain thread parameters. This also means that now the O.0 tolerance class is actually a zero tolerance fit.
Of course, these new threads are incompatible with those generated previously. In order not to break people's models, the 3DPrintedMetric.xml file remains unchanged. The threads are now provided in a new file 3DPrintedMetricV2.xml and under a new name "3D-printed Metric Threads V2". People who don't have models with old threads only need this file.
I would kindly ask @zhogov and @jil24 to test these changes and report if they fix their respective issues.

Here's how threads look in v2 compared to master and #3:

this is 24x3.5 offset 0.1
I like how they look now, thank you so much!
Nitpick: two versions in the middle have "min" and "max" vertical lines have same length and this

looks aesthetically pleasing
would make threads sturdier as thread has more balanced distribution of material between the "crest" and "flank" parts
corresponds more to wiki page for ISO threads:

* corresponds more to wiki page for ISO threads:
  ![400px-ISO_and_UTS_Thread_Dimensions svg](https://private-user-images.githubusercontent.com/7951939/302512974-73b00e32-e267-4aa3-a672-4127d196fdf2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDcyMDc3NjksIm5iZiI6MTcwNzIwNzQ2OSwicGF0aCI6Ii83OTUxOTM5LzMwMjUxMjk3NC03M2IwMGUzMi1lMjY3LTRhYTMtYTY3Mi00MTI3ZDE5NmZkZjIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDIwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDAyMDZUMDgxNzQ5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDM3YTY5ZDYyMDhhZTViOTM5ZThiNzU3OGVkY2M2ODQ3ZWM5ZTBiZDQ2NTZlN2IxMTA3Y2YzMzA1NDY1NjY3YyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.CjnzhtwPPTYHZFFOPNY3fXykzTiOA6zLQrtFTdLGxf0)

You will notice the ISO profiles also have different lengths of "vertical lines" (or in the above diagram horizontal lines), so I would consider the new threads more corresponding to ISO.

* corresponds more to wiki page for ISO threads:
  ![400px-ISO_and_UTS_Thread_Dimensions svg](https://private-user-images.githubusercontent.com/7951939/302512974-73b00e32-e267-4aa3-a672-4127d196fdf2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDcyMDc3NjksIm5iZiI6MTcwNzIwNzQ2OSwicGF0aCI6Ii83OTUxOTM5LzMwMjUxMjk3NC03M2IwMGUzMi1lMjY3LTRhYTMtYTY3Mi00MTI3ZDE5NmZkZjIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDIwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDAyMDZUMDgxNzQ5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDM3YTY5ZDYyMDhhZTViOTM5ZThiNzU3OGVkY2M2ODQ3ZWM5ZTBiZDQ2NTZlN2IxMTA3Y2YzMzA1NDY1NjY3YyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.CjnzhtwPPTYHZFFOPNY3fXykzTiOA6zLQrtFTdLGxf0)

You will notice the ISO profiles also have different lengths of "vertical lines" (or in the above diagram horizontal lines), so I would consider the new threads more corresponding to ISO.

looked closer – true, they do indeed :sweat_smile:


Output link to Cypress logs in integ-test-opensearch-dashboards

Is your feature request related to a problem? Please describe
When tests fail in Jenkins, there's no easy way to locate the logs associated with that run. My understanding is that there's some workflow involving copying various IDs to manually assemble that URL, but I'm not sure where it's documented.
Describe the solution you'd like
It would save a lot of debugging time if there were links to the Cypress logs (and video recordings!) within the Jenkins output itself, a simple message like 2023-12-25 12:00:00 INFO     Saved Cypress logs to: https://.../output.log.
Describe alternatives you've considered
Linking to documentation on how to generate the link could also help, without as much string building complexity, but seems roundabout compared to just formatting a string to the correct place directly.
Additional context
No response

Hi, @Swiddis , we currently have AUTOCUT issue sent to plugin repos with the test related links, please refer to this https://github.com/opensearch-project/OpenSearch-Dashboards/issues/5506 where you would find the * Test-report manifest:* with all the links to the detail.. hopefully that would resolve this issue? thanks,
cc : @kavilla

Thanks for the feedback, @Swiddis , we have the AUTOCUT mentioned at here in opensearch-build repo; and the intention was to provide more visibility and easier access to the logs when people needs it. ( by using the links in those AUTOCUT issues to access to the manifest or the logs on Jenknis ) ; good to know that worked for you.

Issue should have been addressed with instructions in the comments. thanks!


Service log level implementation

implement service log level filter
reduce example/kafka log visibility to SEVERE

Feature example:
test.properties
ts.<YOUR SERVICE NAME>.log.level=FINE

External Doc about log level integer value(useful in order to understand the proposal):
https://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html

@pjgg Wouldn't it be more prudent to keep some level of logging (info and higher like in standard runtime), or alternately to pipe the logs into a file rather than stdout?

@mjurc currently we are not supporting service log level
Wiki log ref
Based on your feedback, I think that could be useful to implement it. By this way, we can set Kafka service as SEVERE or WARNING in order to log only those events.

LGTM, thank you.


Odd bug

Describe your bug here.
When I was making a character with an external XML generator (AHEM https://gamebanana.com/tools/7136) I did everything right and when I loaded in the animations were fine. In the character editor when I went in game the character had no idle and when a note was pressed just teleported under BF's right (Player's left) foot like he was stomping on the character.
I looked up  label:bug character animations  in the search and found only two questions: #3535 #2283 they're old I know, one was answered by shadow mario but the answer he gave was vague that answer being "Missing song files." Which I do think spookeez isn't missing it's song files so that's not the answer. If you had a similar bug or found another issue please tell me.
Command Prompt/Terminal logs (if existing)
None

Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
Not in the source files, only lua. Added a few characters and a few songs (all charted and using base game assets as place holders)

Honestly it is very funny the first time you see it, but I want the character to work.
I even followed what the comments said on the second one, it didn't help.

I'm very desperate right now.

Some footage would help but it sounds like you either typed the animation names wrong or didn't change offsets

Given that your other issue is solved, please close this one.


[FEATURE REQ] Update Schema Type to support JSON

Library name
Schema Registry
Please describe the feature.
From Eric:
the schema registry client will need to support the same set of operations for avro with json and custom. Peeking at the code/api, it looks like the only thing that is preventing the current client to do things like put/get schema of other type is the schemaType parameter (which is an enum) so from interface point of view, adding the new enum for json/custom is a start

Status:
The client library was built such that it supports sending and receiving any type of schema as long as it is just bytes and its content type is application/json; serialization=${format} where format is the schema type.
I am looking for guidance from @hmlam and @nickghardwick on the above. Also, tests will need to be added after the service completes deployment.

This has been addressed.


[FEATURE] Add Showwcase Icon

Description
We can add the Showwcase in the social icons. Showwcase is a professional network built for developers to connect, build community, and find new opportunities.
Screenshots
It's a showwcase profile page of Tapas Adhikary

Additional information
I found this logo from Showwcase About Page format (webp)

I want to work on this issue can you assign me @emmalearnscode

Sure. When adding an icon it needs adding in 3 places.

It needs importing from react icons and adding to the switch in GetIcons.js,
it needs a color code adding in config/links.json
and it needs adding to the readme.

The first 2 files are in alphabetical order, readme is not yet ordered so it can be placed anywhere.

Hey, @vasantisuthar Do you need any help with this? Let me know.

Hey @vikasganiga05, Looks like their PR has been merged already, this issue hasn't been closed yet, so could you or one of the maintainers, do the neatful?

Hey @vikasganiga05, Looks like their PR has been merged already, this issue hasn't been closed yet, so could you or one of the maintainers, do the neatful?

No, The showwcase icon is not added to README.md, src/config/links.json and src/Components/Icons/GetIcons.js.

I got confused because of the merged PR mentioned 😅 Sorry about that.

hey @vikasganiga05, I am working on it, if I ran into any issue, I'll ask. Thanks

I got confused because of the merged PR mentioned sweat_smile Sorry about that.

It's okay. :smile:

hey @vikasganiga05, I am working on it, if I ran into any issue, I'll ask. Thanks

That sounds great :+1:

@vasantisuthar are you still working on this?

The showwcase icon is not on any font illustration platform so I have created an issue in font-awesome for the icon to be added. Here is the link to the issue https://github.com/FortAwesome/Font-Awesome/issues/18631, and we can vote it so the icon can be added shortly.

Hello @vikasganiga05 , I see the issue is not closed. Is any work still pending here, if Yes I would like to work on it.
Thanks!

2 PRs have been merged, so I think this issue is now complete.


overwrite nodeSelector for jobs

Pod that should execute a job got
Node-Selectors:              kubernetes.io/arch=amd64
while nodes in GKE with Kubernetes version: v1.26.6-gke.1700 are labeled  beta.kubernetes.io/arch=amd64
.woodpecker.yml
pipeline:
  dummy-job:
    image: busybox
    commands:
      - echo "Dummy pipeline"
    backend_options:
      kubernetes:
        nodeSelector:
          beta.kubernetes.io/arch: amd64

values.yaml
    agent:
      image:
        tag: "v1.0.0"
      env:
        WOODPECKER_AGENT_SECRET: "aaaaaaa"
        WOODPECKER_SERVER: "woodpecker-server.woodpecker.svc.cluster.local:9000"
        WOODPECKER_BACKEND: kubernetes
        WOODPECKER_BACKEND_K8S_NAMESPACE: woodpecker
      nodeSelector:
        beta.kubernetes.io/arch: amd64

In the documentation is mentioned:

Labels defined here will be appended to a list already containing "kubernetes.io/arch". By default the pod will use "kubernetes.io/arch" inferred from top-level "platform" setting which is deducted from the agents' environment variable CI_SYSTEM_PLATFORM. To overwrite this, you need to specify this label in the nodeSelector section.

The question is how to remove that default label, and add beta.kubernetes.io/arch=amd64

Which WP version are you using?
    backend_options:
      kubernetes:
        nodeSelector:
          beta.kubernetes.io/arch: amd64

will set set label. To remove it, just remove it from the pipeline definition. Otherwise I don't understand your question...


Switched names to the desired version

Made the changes in the MissionConfiguration.jsx, EnvironmentConfiguration.jsx, simulation_taskmanager.py

could you elaborate a little bit more, I don't think I changed anything when it comes to the wind type


docs(roadmap.md): add roadmap with epics for next release #550

Dependencies
Depends on #656 (only so that the CI actually passes, not a code dependency since this is only a documentation change)
Commit to review
Author: Peter Somogyvari<EMAIL_ADDRESS>Committer: Peter Somogyvari<EMAIL_ADDRESS>Date: Tue Mar 23 2021 20:41:04 GMT-0700 (Pacific Daylight Time)
docs(roadmap.md): add roadmap with epics for next release #550
WORK IN PROGRESS

Epics need to be created in ZenHub still

Fixes #550
Signed-off-by: Peter Somogyvari<EMAIL_ADDRESS>

@sfuji822 @takeutak Kindly requesting that you review or follow-up on the review discussion within this pull request (whichever is applicable). Thank you very much in advance.

@petermetz Thank you for posting. Sorry for my late reply.
As I said at Contributor's meeting, I think we need to consider the item list for V1.
I am very sorry, but I will have a holiday until next week and it is difficult for me to respond, but I plan to prepare a countermeasure plan as soon as possible after that. Could you wait for a moment, please?

@takeutak

@petermetz Thank you for posting. Sorry for my late reply.

It's okay.

As I said at Contributor's meeting, I think we need to consider the item list for V1.

Great. I said the same thing months ago and opened pull requests to try and move the discussion along.
Could you please include your proposed items here in the road map and then list the ones you deem necessary for V1?

I am very sorry, but I will have a holiday until next week and it is difficult for me to respond, but I plan to prepare a countermeasure plan as soon as possible after that. Could you wait for a moment, please?

No worries, enjoy your holiday, we can resume the conversation when you are back.

@takeutak +1

@petermetz Sorry for late reviewing this PR. I added checkpoints for V1-RC on Q3 and some task items as the commit https://github.com/hyperledger/cactus/pull/716/commits/aa61ee9e824c1260cf7c38334b128e5ae4ec21d8 . Would you review it again?

@petermetz I added a plan of checkpoints for releasing V1-RC on the roadmap. But in order to ensure the quality of the code V1-RC, I'm sure that we need to arrange the task list for error handling and test cases before fixing the roadmap.
Could I discuss with you about this topic in the next week on some meeting?

@petermetz I added a plan of checkpoints for releasing V1-RC on the roadmap. But in order to ensure the quality of the code V1-RC, I'm sure that we need to arrange the task list for error handling and test cases before fixing the roadmap.
Could I discuss with you about this topic in the next week on some meeting?

@takeutak Agreed, automated tests with sufficient coverage are very important to me as well, happy to talk about it.

@takeutak Could you please squash your changes into a single commit before I merge?

@petermetz Thanks for comment. I will try to fix the typo and squash the commits soon. After doing it, I will contact you again.

@petermetz Thanks for comment. I will try to fix the typo and squash the commits soon. After doing it, I will contact you again.

@takeutak Thank you very much! If you need any help with the git squashing just let me know, happy to assist!

Could you please squash your changes into a single commit before I merge?
@petermetz Sorry for my late replying. I tried git squashing on this PR but failed due to the access right to your folk. Would you mind if you try to git squash?

Could you please squash your changes into a single commit before I merge?

@petermetz Sorry for my late replying. I tried git squashing on this PR but failed due to the access right to your folk. Would you mind if you try to git squash?

@takeutak No worries, I did the squash just now. Thank you for the contributions to the roadmap!


Rename challenge slice-and-splice to frankensplice

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[ ] I have tested these changes either locally on my machine, or GitPod.

Related to https://github.com/freeCodeCamp/freeCodeCamp/issues/43064#issuecomment-889296023

I hope I managed to do all the right steps

ok, I missed one step. commit coming soon

I was actually semi joking with that comment @ieahleen - I do think it's a better name, but I'm not sure if we want to actually rename it or not.

@moT01 😂 should I close it?

I think it's fine to leave it open - I think we should discuss whether we want this or not though a little bit.

A little funny how this PR came to be...
I think it best not to change the name, though

Renaming files resets their translation progress - IMHO best to avoid unless absolutely needed.


Filters disappears

Description
We can create filters with rpc command eth_newFilter and after around 20 - 30 minutes they disappears.
Steps to Reproduce
Replace the example steps below with actual steps to reproduce the bug you're reporting.

create a new filter with eth_newFilter
test that the filter has been created with eth_getFilterChanges with filter index : you can see a result without error.
wait for 20 - 30 minutes
call again the rpc command eth_getFilterChanges with same filter index : you will get a message like Filter id X does not exist

Expected vs. Actual Behavior
Filters should be persistent
Environment
I tried different nodes, local, moonbeam..

There is a config here const FILTER_RETAIN_THRESHOLD: u64 = 100;
https://github.com/paritytech/frontier/blob/master/template/node/src/eth.rs#L210

Close it, feel free to open it again.


slickGoTo wont work during animation

I am building a slider than is 10 sliders. Each one is a slice of a horizontal slide of an image.
If one of them is clicked then they should all slide to the same random index with slickGoTo. However if a slide is currently being animated that one slider finishes it's animation instead of going to the proper slide.
I tried to stop the animation with $('.slick-track').stop(true, true); but that doesn't work.

        $(document).ready(function(){
            var slick_settings = {
                slidesToShow: 1,
                adaptiveHeight: true,
                dots: false,
                arrows: false,
                infinite: true,
                speed: 1000
            };

            var slider_collection = $('.your-class');
            var slick_collection = slider_collection.slick(slick_settings);
            var slick_collection_length = slick_collection.length -1;// -1 since it is used for indexes

            // slide a random slider left or right
            function slide() {
                var slider_key = Math.floor(Math.random() * slick_collection_length);
                var slider = slider_collection[ slider_key ];
                // pause on hover
                if(slider_collection.filter(function() { return $(this).is(":hover"); }).length){
                    return;
                }
                // left or right
                if(Math.random() >= 0.5){
                    $(slider).slick('slickNext');
                }
                $(slider).slick('slickPrev');
            }
            setInterval(slide, 2000);

            // build a image
            $(slider_collection).click(function(e){
                var slider_key = Math.floor(Math.random() * slick_collection_length);
                $('.slick-track').stop(true, true); // doesnt stop the animation
                $(slider_collection).each(function(){
                    $(this).slick('slickGoTo', slider_key);
                });
            });
        });

did you try: waitForAnimate from the readme?

also, this bit:
 // left or right
if(Math.random() >= 0.5){
    $(slider).slick('slickNext');
}
$(slider).slick('slickPrev');

doesn't look right, you should have a return in there, or you should have an } else { } around the slickPrev I think?

Yes on waitForAnimate  was what I needed.
Once I did that I had to add the return statements but the else is unnecessary.
@kenwheeler This option is not on the website documentation. Any way this can be added?


[Hub Generated] Review request for Microsoft.Media to add version preview/2019-05-01-preview and stable/2018-07-01

If you are a MSFT employee you can view your work branch via this link.
Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-python

Automation for azure-sdk-for-js

Automation for azure-sdk-for-java

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-go

Will review the issues with the examples in subsequent PRs

Can one of the admins verify this patch?

Can't merge this due to the failing checks.

@AutorestCI the failure in the first check is a exception thrown by the diff tool. Is there anything I can do to resolve that?
Thanks

I didn't understand your command:
the failure in the first check is a exception thrown by the diff tool. Is there anything I can do to resolve that?

in this context, sorry :(
This is what I can do:

rebuild
regenerate
help : this help message

I didn't understand your command:
the failure in the first check is a exception thrown by the diff tool. Is there anything I can do to resolve that?

in this context, sorry :(
This is what I can do:

rebuild
regenerate
help : this help message

I didn't understand your command:
the failure in the first check is a exception thrown by the diff tool. Is there anything I can do to resolve that?

in this context, sorry :(
This is what I can do:

rebuild
regenerate
help : this help message

I didn't understand your command:
the failure in the first check is a exception thrown by the diff tool. Is there anything I can do to resolve that?

in this context, sorry :(
This is what I can do:

rebuild
regenerate
help : this help message

I didn't understand your command:
the failure in the first check is a exception thrown by the diff tool. Is there anything I can do to resolve that?

in this context, sorry :(
This is what I can do:

rebuild
regenerate
help : this help message

I didn't understand your command:
the failure in the first check is a exception thrown by the diff tool. Is there anything I can do to resolve that?

in this context, sorry :(
This is what I can do:

rebuild
regenerate
help : this help message

@tjprescott Any idea why files aren't being passed to autorest?

@BrianBlum I'm not sure. I mentioned your PR in the Swagger reviewers channel to see if someone else has an idea.

Thanks @tjprescott

@AutorestCI generate azure-sdk-for-net

I didn't understand your command:
generate azure-sdk-for-net

in this context, sorry :(
This is what I can do:

rebuild
regenerate
help : this help message

I didn't understand your command:
generate azure-sdk-for-net

in this context, sorry :(
This is what I can do:

rebuild
regenerate
help : this help message

I didn't understand your command:
generate azure-sdk-for-net

in this context, sorry :(
This is what I can do:

rebuild
regenerate
help : this help message

I didn't understand your command:
generate azure-sdk-for-net

in this context, sorry :(
This is what I can do:

rebuild
regenerate
help : this help message

I didn't understand your command:
generate azure-sdk-for-net

in this context, sorry :(
This is what I can do:

rebuild
regenerate
help : this help message

@AutorestCI regenerate azure-sdk-for-net

@tjprescott I found the bad package tag in the readme.md. And there was a typo in a description that was causing a failure in csharp generation.

@tjprescott Thanks Travis.


Slow Startup: RPC commands delayed and stalling

Background
Describe your issue here.
Have around 460 channels, running lnd  on go 1.11.5, seeing increased memory usage as well, when booting up for quite some time RPC commands are delayed and stall.
Your environment

version of lnd 0.5.2-99-beta commit=v0.5.1-beta-805-ga6cf6f4237ef53b1f0c51c2fcfb9c1ce73cf9e06

which operating system (uname -a on *Nix) x86_64 GNU/Linux

version of btcd, bitcoind, or other backend: bitcoind 0.17

any other relevant environment details

Steps to reproduce
Tell us how to reproduce this issue. Please provide stacktraces and links to code in question
go profile dump:  http://paste.ubuntu.com/p/SsyVbRYrWt/
Expected behaviour
Tell us what should happen
RPC commands responding not so slowly
Actual behaviour
Tell us what happens instead
RPC commands take almost a minute to respond. Although after some time running, RPC commands do respond swiftly like normal

Hunch is that the rpcserver is querying the backend for best blocks, timestamps etc, while it is in process of registering block/spends subscriptions.

Also all the recent gossip growth can lead to performing many database operations which hold the lock.

@juscamarena addressed by 0.6 and also the new --stagger-initial-reconnect?

Yes, addressed by that and earlier fixes.
Can be closed, thanks for the improvements. :)


bugs of DataTransform_TD

I have run the latest code, but it seems the problem have not solved yet, in DataTransform_TD, only the front 2 samples get the chance to be set as zeros.
li_onehot = one_hot_encoding(li) # this line generate [0,1,0,1....0]
aug_1[1-li_onehot[:, 0]] = 0 # only first two rows of aug_1 are set to be zeros

Please check the updated code, the following is the time domain augmentation bank:
def DataTransform_TD_bank(sample, config):
    """Augmentation bank that includes four augmentations and randomly select one as the positive sample.
    You may use this one the replace the above DataTransform_TD function."""
    aug_1 = jitter(sample, config.augmentation.jitter_ratio)
    aug_2 = scaling(sample, config.augmentation.jitter_scale_ratio)
    aug_3 = permutation(sample, max_segments=config.augmentation.max_seg)
    aug_4 = masking(sample, keepratio=0.9)

    li = np.random.randint(0, 4, size=[sample.shape[0]])
    li_onehot = one_hot_encoding(li)
    aug_1 = aug_1 * li_onehot[:, 0][:, None, None]  # the rows that are not selected are set as zero.
    aug_2 = aug_2 * li_onehot[:, 0][:, None, None]
    aug_3 = aug_3 * li_onehot[:, 0][:, None, None]
    aug_4 = aug_4 * li_onehot[:, 0][:, None, None]
    aug_T = aug_1 + aug_2 + aug_3 + aug_4
    return aug_T


[add] clarify interactive properties file

adds as comments to the interactive sample property files where to get the ldbc.snb.interactive.update_interleave value.
points towards the necessity of also updating the frequency of read queries based on SF

@filipecosta90 thanks for opening this PR! One question: the proposed frequency numbers seem to target SF100, is that correct? I think we'd better put SF1 values in the example property files (especially given that the properties files for some implementations, e.g. Postgres, actually encode the data set in the file). WDYT?

@filipecosta90 thanks for opening this PR! One question: the proposed frequency numbers seem to target SF100, is that correct? I think we'd better put SF1 values in the example property files (especially given that the properties files for some implementations, e.g. Postgres, actually encode the data set in the file). WDYT?

Totally agree. Changing frequency values to match SF1

Looks good, thanks!

One thing though... where did the update interleave 4477 come from?
For me, SF1 shows 113040.
$ cat params.ini
ldbc.snb.datagen.generator.scaleFactor:snb.interactive.1

ldbc.snb.datagen.serializer.dynamicActivitySerializer:ldbc.snb.datagen.serializer.snb.csv.dynamicserializer.activity.CsvBasicDynamicActivitySerializer
ldbc.snb.datagen.serializer.dynamicPersonSerializer:ldbc.snb.datagen.serializer.snb.csv.dynamicserializer.person.CsvBasicDynamicPersonSerializer
ldbc.snb.datagen.serializer.staticSerializer:ldbc.snb.datagen.serializer.snb.csv.staticserializer.CsvBasicStaticSerializer

# To generate RFC 3339-compliant timestamps (https://tools.ietf.org/html/rfc3339), uncomment the following line:
#ldbc.snb.datagen.util.formatter.StringDateFormatter.dateTimeFormat:yyyy-MM-dd'T'HH:mm:ss.SSS+00:00
$ cat social_network/updateStream.properties
ldbc.snb.interactive.gct_delta_duration:10000
ldbc.snb.interactive.min_write_event_start_time:1347528980076
ldbc.snb.interactive.max_write_event_start_time:1570999509040
ldbc.snb.interactive.update_interleave:113040
ldbc.snb.interactive.num_events:1976901

One thing though... where did the update interleave 4477 come from?
For me, SF1 shows 113040.
$ cat params.ini
ldbc.snb.datagen.generator.scaleFactor:snb.interactive.1

ldbc.snb.datagen.serializer.dynamicActivitySerializer:ldbc.snb.datagen.serializer.snb.csv.dynamicserializer.activity.CsvBasicDynamicActivitySerializer
ldbc.snb.datagen.serializer.dynamicPersonSerializer:ldbc.snb.datagen.serializer.snb.csv.dynamicserializer.person.CsvBasicDynamicPersonSerializer
ldbc.snb.datagen.serializer.staticSerializer:ldbc.snb.datagen.serializer.snb.csv.staticserializer.CsvBasicStaticSerializer

# To generate RFC 3339-compliant timestamps (https://tools.ietf.org/html/rfc3339), uncomment the following line:
#ldbc.snb.datagen.util.formatter.StringDateFormatter.dateTimeFormat:yyyy-MM-dd'T'HH:mm:ss.SSS+00:00
$ cat social_network/updateStream.properties
ldbc.snb.interactive.gct_delta_duration:10000
ldbc.snb.interactive.min_write_event_start_time:1347528980076
ldbc.snb.interactive.max_write_event_start_time:1570999509040
ldbc.snb.interactive.update_interleave:113040
ldbc.snb.interactive.num_events:1976901

for me it shows 4477 for SF1. Should it be related to our different ldbc.snb.interactive.max_write_event_start_time:1363757151388?
/neo4j-data-dir$ cat sf1/social_network/updateStream.properties
ldbc.snb.interactive.gct_delta_duration:10000
ldbc.snb.interactive.min_write_event_start_time:1347528962967
ldbc.snb.interactive.max_write_event_start_time:1363757151388
ldbc.snb.interactive.update_interleave:4477
ldbc.snb.interactive.num_events:3623993

@filipecosta90 thanks! It seems some of our changes in the lifespans branch of Datagen made this diverge. We'll investigate.


US-404006: Implement Query Builder Matcher

https://internal.almoctane.com/ui/entity-navigation?p=131002/6001&entityType=work_item&id=404006

A developer build has not yet been created for this branch. Click here to go ahead and create the build...

CI Build Link:
http://sou-jenkins2.swinfra.net:8080/job/CAFapi/job/CAFapi~querybuilder~US-404006~CI


Terminal : Support for Windows Subsystem for Linux version 2

What would you like to be added:
Support WSL2 as terminal
The problem is described in https://github.com/lensapp/lens/issues/179#issuecomment-712288655
Why is this needed:
Windows Subsystem for Linux is commonly used by Kubernetes administrator running on Windows.
Environment you are Lens application on:

Kubernetes distribution: ANY
Desktop OS: Windows with WSL2

Any news about this?

Is there any known workaround that we can use for WSL2 to work in Lens?

Seems like I found a solution, see https://github.com/lensapp/lens/issues/179#issuecomment-1063873311.

Seems like I found a solution, see #179 (comment).

hmm... I can just use it directly under windows. In my case,the need of kubectl in wsl is for some plugin only available under linux.

We still need proper kubectl support, seems like using the kubectl command by default didn't work, and you have to use kubectl.exe. Some may suggest using a bash alias "alias kubectl='kubectl.exe'", but this will break any program that spawns subprocesses without using shell, most likely Helm support is still broken


Post image overlaps content on Safari

Hi everyone,
The post image when scrolled down starts to overlap the content below, it jumps out of the post image box on Safari.
Image also disappears if scrolled down to the bottom and appears again if scrolled up to the top.
I'm using Safari 14.0.1 (haven't tested earlier versions) and it could be reproduced on https://dope.ghost.io (any post).
Video of the issue.

Hey Mijo, the issue was fixed in https://github.com/TryGhost/Dope/commit/d003116a6fa6e881907271c5ed026189148dd0c8. Thanks for your detailed feedback 🙂


upnpSearch

When performing some sequential upnpSearch (e.g. to force reconnection upon link going down), node.js EventEmitter gives up since it reaches the maxListeners limit.
(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
    at process.addListener (events.js:160:15)
    at process.on.process.addListener (node.js:796:26)
    at new SSDPSearch (/.../node_modules/node-hue-api/hue-api/search.js:57:14)
    at Object.locateBridges (/.../node_modules/node-hue-api/hue-api/search.js:15:18)
    at Object.module.exports.networkSearch [as upnpSearch] (/.../node_modules/node-hue-api/hue-api/bridge-discovery.js:20:19)
    at Firefly.searchForBridge (/.../backend/server/firefly.js:15:13)
    at /.../backend/server/firefly.js:18:22
    at _fulfilled (/.../node_modules/node-hue-api/node_modules/q/q.js:787:54)
    at self.promiseDispatch.done (/.../node_modules/node-hue-api/node_modules/q/q.js:816:30)
    at Promise.promise.promiseDispatch (/.../node_modules/node-hue-api/node_modules/q/q.js:749:13)
    at /.../node_modules/node-hue-api/node_modules/q/q.js:509:49
    at flush (/.../node_modules/node-hue-api/node_modules/q/q.js:108:17)
    at process._tickCallback (node.js:442:13)

I tracked down the cause to be a process.on statement at the end of SSDPSearch function in search.js.
Commenting down lines 57-61 removes the warning, but I'd like to retain the 'exit' cleansing idea, how can I do it?

Thanks for the info, I need to fix this to only register the process.exit listener once, if it is called multiple times during execution. All the existing tests only perform a single lookup, so I missed this one.
I would suggest that you utilise the other search function, as this SSDP lookup is a throw back to before Phillips provided the discovery service, which should work better in most cases.

I am not at a computer with Node.js at the moment, but I think you could change the code at 57-61 to something like this;
if (!exitFunction) {
        exitFunction = function () {
            if (!self.closed) {
                _close(self);
            }
        };
        // Clean up if close is not called directly
        process.on("exit", exitFunction);
    }

And put a line at line 8 in the file with:
var exitFunction;

I think that would prevent it from registering multiple times in your app.
I need to put together a test case for this when I get back to a machine I can develop on.

Thank you very much, tomorrow i will try it (it's night here)!
Can the other search function be used without a internet connection?
Il giorno mar 18 ago 2015 23:29 Peter Murray<EMAIL_ADDRESS>ha
scritto:

I am not at a computer with Node.js at the moment, but I think you could
change the code at 57-61 to something like this;
if (!exitFunction) {
exitFunction = function () {
if (!self.closed) {
_close(self);
}
};
// Clean up if close is not called directly
process.on("exit", exitFunction);
}
And put a line at line 8 in the file with:
var exitFunction;
I think that would prevent it from registering multiple times in your app.
I need to put together a test case for this when I get back to a machine I
can develop on.
—
Reply to this email directly or view it on GitHub
https://github.com/peter-murray/node-hue-api/issues/55#issuecomment-132357247
.

Ah, no, the other function uses the Internet to connect with the hue discovery service, so you are stuck with the SSDP way then.


delete_all method returns Empty attribute name error

This is my table setting:
table(
    name: :test_admin_request_logs,
    read_capacity: 5,
    write_capacity: 100
  )
  field :created_date
  field :admin_user_id, :integer
  field :admin_user_email
  field :url
  field :ip
  field :user_agent
  field :http_method
  field :parameters
  global_secondary_index(
    hash_key: :created_date,
    range_key: :created_at,
    projected_attributes: :all,
    read_capacity: 5,
    write_capacity: 100
  )
  range :created_at, :integer

I tried to delete record by this command
RequestLog.where(id: "cc3e3fhy-7ae7-43c5-8cf2-2d32434e6c80").delete_all
But the request I captured contained the empty key. It seems to be the value of created_at
{
  "RequestItems":{
      "remitano_application_development_test_admin_request_logs":[
          {
              "DeleteRequest":{
                  "Key":{
                      "id":{
                          "S":"1-7ae7-43c5-8cf2-2d32434e6c80"
                      },
                      "":{
                          "N":"1657698332.0"
                      }
                  }
              }
          }
      ]
  },
  "ReturnConsumedCapacity":"TOTAL",
  "ReturnItemCollectionMetrics":"SIZE"
}

So it showed Empty attribute name error.

Closed. Because of range : created_at


Remove UK Cloud VPN

This is no longer required because we've worked with Civica to allowlist the IPs of our AWS NAT Gateways for the vast majority of their local authority customers.
 The liquidators only expect the platform to be operational until 10 February 2023, and in the meantime the liquidators have been increasing prices exponentially to cover the costs of operating the platform with an ever diminished customer base.
I have notified UK Cloud and the liquidators that from the end of December 2022 we no longer require our account.
See also https://github.com/alphagov/govuk-aws-data/pull/1144

The destroy plan in staging:
$ terraform plan -destroy -var-file=staging.tfvars
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.

data.terraform_remote_state.infra_networking: Refreshing state...
data.terraform_remote_state.infra_vpc: Refreshing state...
aws_customer_gateway.ukcloud_vpn_gateway: Refreshing state... (ID: cgw-0003cbc76f58f5fa2)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation_reserved_ips[2]: Refreshing state... (ID: vgw-07a35b30965dccb58_rtb-004e90edd1b3bb512)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation_reserved_ips[1]: Refreshing state... (ID: vgw-07a35b30965dccb58_rtb-05896e3b8657f76c2)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation_reserved_ips[0]: Refreshing state... (ID: vgw-07a35b30965dccb58_rtb-0757f8ce9a8f0de09)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation[0]: Refreshing state... (ID: vgw-07a35b30965dccb58_rtb-0f89f08e09272cfe7)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation[2]: Refreshing state... (ID: vgw-07a35b30965dccb58_rtb-0fb98c3bd38298229)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation[1]: Refreshing state... (ID: vgw-07a35b30965dccb58_rtb-07e15602056ca4bfa)
aws_vpn_connection.aws_ukcloud_vpn: Refreshing state... (ID: vpn-00bd506788f9e7899)
aws_vpn_connection_route.civica_cidr: Refreshing state... (ID: <IP_ADDRESS>/24:vpn-00bd506788f9e7899)

------------------------------------------------------------------------

An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
  - destroy

Terraform will perform the following actions:

  - aws_customer_gateway.ukcloud_vpn_gateway

  - aws_vpn_connection.aws_ukcloud_vpn

  - aws_vpn_connection_route.civica_cidr

  - aws_vpn_gateway_route_propagation.ukcloud_route_propagation[0]

  - aws_vpn_gateway_route_propagation.ukcloud_route_propagation[1]

  - aws_vpn_gateway_route_propagation.ukcloud_route_propagation[2]

  - aws_vpn_gateway_route_propagation.ukcloud_route_propagation_reserved_ips[0]

  - aws_vpn_gateway_route_propagation.ukcloud_route_propagation_reserved_ips[1]

  - aws_vpn_gateway_route_propagation.ukcloud_route_propagation_reserved_ips[2]

Plan: 0 to add, 0 to change, 9 to destroy.

------------------------------------------------------------------------

Note: You didn't specify an "-out" parameter to save this plan, so Terraform
can't guarantee that exactly these actions will be performed if
"terraform apply" is subsequently run.

I'll destroy this in staging and production once the PR is approved (before merging).

 (ID: cgw-0003cbc76f58f5fa2)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation_reserved_ips[2]: Refreshing state... (ID: vgw-07a35b30965dccb58_rtb-004e90edd1b3bb512)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation_reserved_ips[0]: Refreshing state... (ID: vgw-07a35b30965dccb58_rtb-0757f8ce9a8f0de09)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation[2]: Refreshing state... (ID: vgw-07a35b30965dccb58_rtb-0fb98c3bd38298229)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation[0]: Refreshing state... (ID: vgw-07a35b30965dccb58_rtb-0f89f08e09272cfe7)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation[1]: Refreshing state... (ID: vgw-07a35b30965dccb58_rtb-07e15602056ca4bfa)
aws_vpn_connection.aws_ukcloud_vpn: Refreshing state... (ID: vpn-00bd506788f9e7899)
aws_vpn_connection_route.civica_cidr: Refreshing state... (ID: <IP_ADDRESS>/24:vpn-00bd506788f9e7899)

An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
  - destroy

Terraform will perform the following actions:

  - aws_customer_gateway.ukcloud_vpn_gateway

  - aws_vpn_connection.aws_ukcloud_vpn

  - aws_vpn_connection_route.civica_cidr

  - aws_vpn_gateway_route_propagation.ukcloud_route_propagation[0]

  - aws_vpn_gateway_route_propagation.ukcloud_route_propagation[1]

  - aws_vpn_gateway_route_propagation.ukcloud_route_propagation[2]

  - aws_vpn_gateway_route_propagation.ukcloud_route_propagation_reserved_ips[0]

  - aws_vpn_gateway_route_propagation.ukcloud_route_propagation_reserved_ips[1]

  - aws_vpn_gateway_route_propagation.ukcloud_route_propagation_reserved_ips[2]

Plan: 0 to add, 0 to change, 9 to destroy.

  Terraform will destroy all your managed infrastructure, as shown above.
  There is no undo. Only 'yes' will be accepted to confirm.

  Enter a value: yes

aws_vpn_gateway_route_propagation.ukcloud_route_propagation[2]: Destroying... (ID: vgw-07a35b30965dccb58_rtb-0fb98c3bd38298229)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation_reserved_ips[1]: Destroying... (ID: vgw-07a35b30965dccb58_rtb-05896e3b8657f76c2)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation[0]: Destroying... (ID: vgw-07a35b30965dccb58_rtb-0f89f08e09272cfe7)
aws_vpn_connection_route.civica_cidr: Destroying... (ID: <IP_ADDRESS>/24:vpn-00bd506788f9e7899)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation[1]: Destroying... (ID: vgw-07a35b30965dccb58_rtb-07e15602056ca4bfa)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation_reserved_ips[2]: Destroying... (ID: vgw-07a35b30965dccb58_rtb-004e90edd1b3bb512)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation_reserved_ips[0]: Destroying...  (ID: vpn-00bd506788f9e7899)
aws_vpn_connection.aws_ukcloud_vpn: Still destroying... (ID: vpn-00bd506788f9e7899, 10s elapsed)
aws_vpn_connection.aws_ukcloud_vpn: Destruction complete after 11s
aws_customer_gateway.ukcloud_vpn_gateway: Destroying... (ID: cgw-0003cbc76f58f5fa2)
aws_customer_gateway.ukcloud_vpn_gateway: Destruction complete after 1s

Destroy complete! Resources: 9 destroyed.

 (ID: vgw-030bbd5f7fff53bf8_rtb-0d3bbd7066ec8cbbc)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation[1]: Refreshing state... (ID: vgw-030bbd5f7fff53bf8_rtb-0c443ad6946387208)
aws_customer_gateway.ukcloud_vpn_gateway: Refreshing state... (ID: cgw-0249f68d13cf45f5a)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation_reserved_ips[0]: Refreshing state... (ID: vgw-030bbd5f7fff53bf8_rtb-0f44b7c0c50433690)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation_reserved_ips[1]: Refreshing state... (ID: vgw-030bbd5f7fff53bf8_rtb-0f43f57bf4a287a1b)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation_reserved_ips[2]: Refreshing state... (ID: vgw-030bbd5f7fff53bf8_rtb-0d1c2e094c21e285e)
aws_vpn_connection.aws_ukcloud_vpn: Refreshing state... (ID: vpn-00272a60828828cdb)
aws_vpn_connection_route.civica_cidr: Refreshing state... (ID: <IP_ADDRESS>/24:vpn-00272a60828828cdb)

An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
  - destroy

Terraform will perform the following actions:

  - aws_customer_gateway.ukcloud_vpn_gateway

  - aws_vpn_connection.aws_ukcloud_vpn

  - aws_vpn_connection_route.civica_cidr

  - aws_vpn_gateway_route_propagation.ukcloud_route_propagation[0]

  - aws_vpn_gateway_route_propagation.ukcloud_route_propagation[1]

  - aws_vpn_gateway_route_propagation.ukcloud_route_propagation[2]

  - aws_vpn_gateway_route_propagation.ukcloud_route_propagation_reserved_ips[0]

  - aws_vpn_gateway_route_propagation.ukcloud_route_propagation_reserved_ips[1]

  - aws_vpn_gateway_route_propagation.ukcloud_route_propagation_reserved_ips[2]

Plan: 0 to add, 0 to change, 9 to destroy.

  Terraform will destroy all your managed infrastructure, as shown above.
  There is no undo. Only 'yes' will be accepted to confirm.

  Enter a value: yes

aws_vpn_gateway_route_propagation.ukcloud_route_propagation[2]: Destroying... (ID: vgw-030bbd5f7fff53bf8_rtb-0939872e7068ded2c)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation[0]: Destroying... (ID: vgw-030bbd5f7fff53bf8_rtb-0d3bbd7066ec8cbbc)
aws_vpn_connection_route.civica_cidr: Destroying... (ID: <IP_ADDRESS>/24:vpn-00272a60828828cdb)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation_reserved_ips[1]: Destroying... (ID: vgw-030bbd5f7fff53bf8_rtb-0f43f57bf4a287a1b)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation_reserved_ips[2]: Destroying... (ID: vgw-030bbd5f7fff53bf8_rtb-0d1c2e094c21e285e)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation[1]: Destroying... (ID: vgw-030bbd5f7fff53bf8_rtb-0c443ad6946387208)
aws_vpn_gateway_route_propagation.ukcloud_route_propagation_reserved_ips[0]: Destroying...  (ID: vpn-00272a60828828cdb)
aws_vpn_connection.aws_ukcloud_vpn: Still destroying... (ID: vpn-00272a60828828cdb, 10s elapsed)
aws_vpn_connection.aws_ukcloud_vpn: Destruction complete after 11s
aws_customer_gateway.ukcloud_vpn_gateway: Destroying... (ID: cgw-0249f68d13cf45f5a)
aws_customer_gateway.ukcloud_vpn_gateway: Destruction complete after 0s

Destroy complete! Resources: 9 destroyed.


How to make pay in bot?

I want ,that my bot work only after payment

we are working on telegram payment API, meanwhile you can handle the payment inside your Laravel app through a dedicated page


put those back

didnt work, put WCF cert back

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against 28b1e4d99e1b8514fe212717388102e3159534ac


chore: pin deps to patch version, use @opentelemetry/api release candidate

Description
Use release candidate version of @opentelemetry/api.
All instrumentations need to use the same major version of OpenTelemetry API or context management will break (https://github.com/open-telemetry/opentelemetry-js-api/blob/4cda9bd10a8caff59f637e7d982387772c626866/src/internal/global-utils.ts#L71), causing instrumentations to use different API / context managers.
What's great is that some newer instrumentations (for example loggers) were published with a dependency on 1.0.0-rc, while others remained on API 0.18.0, causing context toe be lost between instrumentations.
This PR pins the versions to patch versions, so each of the instrumentation has a dependency on 1.0.0-rc and nothing else, see these PRs for releases and versions:
https://github.com/open-telemetry/opentelemetry-js/commit/0c15999dccd377294a03cf7d36085216d6e8c5c1
https://github.com/open-telemetry/opentelemetry-js-contrib/commit/d9365c5d9aa543542a9b48cfe8bc59949101cb02
https://github.com/aspecto-io/opentelemetry-ext-js/commit/708790e6b00aeddc5f013f576a4a266936c379e9

So all instrumentations we are pinning now explicitly depend on API 1.0.0-rc.0 and everything should work with 1.0.0-rc.0?

Codecov Report

Merging #117 (1b80179) into main (72bff17) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #117   +/-   ##
=======================================
  Coverage   85.77%   85.77%
=======================================
  Files          11       11
  Lines         225      225
  Branches       46       46
=======================================
  Hits          193      193
  Misses         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 72bff17...1b80179. Read the comment docs.

So all instrumentations we are pinning now explicitly depend on API 1.0.0-rc.0 and everything should work with 1.0.0-rc.0?

Yeah, the linked PRs (at least for OpenTelemetry) are the release PRs and the instrumentations there contain ^1.0.0-rc.0 for the API dependency, so I pinned the instrumentations to patch versions, since any newer releases, e.g. 0.20.0 for core or 0.17.0 for contrib might be breaking changes, changing the API dependency to 0.20.0.
For example, a recent change to the core repo, switching from API 1.0.0-rc to 0.20.0 for http instrumentation: https://github.com/open-telemetry/opentelemetry-js/commit/ac81e17c684c3eb9228a08669bb91fb28c406984#diff-7006c7070bcbe67e8dcc806e2baa00ede28dce729be2a23295d274a777f9aa6d

Will open a new one with signed commits


docs: Introduction - move todo-item.dtoand todo-item.entity into their own folders

Fixes https://github.com/TriPSs/nestjs-query/issues/76

Thanks for the PR. Personally I think these names are a bit weird, maybe better to update the command to reflect what is defined?

Thanks for the PR. Personally I think these names are a bit weird, maybe better to update the command to reflect what is defined?

Sure, fair enough, I've changed the documentation to include the --flat parameter to the command lines


mmk_mock/mmk_when question

Hello,
I know this is very experimental, but we're playing around with mimick in the need for a decent mocking framework.
I'm mainly asking for clarification. I found that the mock is installed by calling mmk_mock(). It doesn't seem to matter when mmk_when() is called, so long it's called after mmk_mock().
Is this intended like this? I think it makes the API a bit awkward, if you want to install the mock in the middle of a test. It would seem more natural to have the mmk_when() call at the beginning of a scope, and making it effective with a later mmk_mock() call.
Also, maybe I'm missing something, but as of now mmk_mock() could also be folded into mmk_when(), and then calling mmk_when() when the mock should be installed.
Don't think of this as a bug report, I just want to understand mimick better, because it seems very useful.

I have two more questions:

Have you considered libffi for installing trampolines in a more portable manner (libffi supprts a vast number of architectures)?
Can you install real functions for mocks instead of mmk_when()-sugar? The ability to return expressions and to modify arbitrary global variables seems limited inside mmk_when().

The thing is that mmk_when is supposed to be called multiple times -- it just setups a input-output binding for an existing mock. Think of it as it inserting an if (actual_inputs == when_inputs) return when_output in the mock's code.
It might be a bit awkward when you have a really simple behaviour to describe, but when you want to make a mock that does something a bit more complicated depending on inputs, putting that complex handling in one big mmk_when makes things hard, when you could split that into multiple mmk_when.
As for your questions:

I'll take a more in-depth look at libffi. The problem with mimick is that it has to both do this low-level plumbing while not being able to trust anyone (which is why mimick is redefining a few libc functions itself because it cannot assume that they aren't going to be mocked themselves). If libffi is using internally some functions that are probably going to be mocked, this is not going to work out.

You could either just install a stub with mmk_stub_create using your function, or use the .then_call parameter in mmk_when. I'd recommend the first one if you don't want to specify additional behaviour with mmk_when, or don't care about verifying relationships with mmk_verify.

ffi is really low-level too. I'm not aware that it calls libc functions besides mmap() and mprotect() to get writable, then executable sections. It goes great lengths for many architectures to install trampoline functions with any number of parameters and even variadic functions (the trampoline functions can call back into user code which can then introspect the parameters). It can also be linked statically.
Just saying, it would be help to get rid of assembler code and support more architectures.

I'll send an email to their mailing list to get some more info. libffi seems to heavily rely on the assumption that callers know exactly the types & calling conventions of their functions are, which is sadly not the case for mimick -- we just forward a call to another function, preserving registers along the way as they are. I hope there's a way for me to use libffi for just that, but I don't know enough of the library yet.

So I investigated some more on how I could "convince" libffi (or dyncall, for that matter), but I don't think this is going anywhere.
Fundamentally, the problem is very delicate for Mimick:

Mimick has to make sure that the user isn't mocking one of the functions it's using -- so I have to be extra careful when writing trampoline code.
The trampoline implementation must not call the mock function. It tries to be as invisible as possible, by not touching at all the registers that should have been passed to the real function. It even has to jmp, to avoid messing with the stack. In contrast, libffi/dyncall provide an interface to call foreign functions, which is not what we want.
The trampoline has no idea what the parameters are. We just know someone called us, and we have a bunch of registers that may or may have some significance as parameters. So, all in all, I can't build a function call with libffi, since they need those informations.
Mimick's trampoline must prepare the mock context before handing control to the mock function. Even if I tried to integrate libffi to do my bidding, I would still end up in square one with the problem of preparing the libffi procedure to call, which is even more intrusive for the trampoline.

All in all, libffi & dyncall both address the problem of calling foreign functions, but that's not the problem we are trying to solve with trampolines in Mimick. It's a shame because that means that I'll have to maintain & test a bunch of different architectures, but I don't know any other project that does this.


Gif support for Bokeh HoloMaps

If I do %%output filename="tmp" holomap='gif', it works with the Matplotlib backend, but with a Bokeh backend I get Format 'gif' does not appear to be supported`.  It seems like Bokeh should now be supportable, now that Bokeh provides PNG output?
Note that #2460 proposes to remove the ImageMagick gif creation that would be one way to implement this, but presumably the pillow-based support used with Matplotlib would also work here?

Yes, but without a persistent selenium session running that will be unusably slow which is why it was not implemented immediately. So it's definitely possible but probably not useful until we have a way of reusing a selenium session.

Unusably slow compared to what?  Right now the alternative, which I am watching someone do right now, is to export every figure to disk one frame at a time, then manually patch in a gif. Surely it can't be slower than that?  So I don't see why not to simply do it and then worry later about reusing a session.


Clients that connect after a Startup Actor (with bNetLoadOnClient = true) will not delete the Actor

Description
Clients that connect to a deployment after a Startup Actor has been deleted will miss the delete entity operation, so the Actor will persist locally.
Workaround
Set bNetLoadOnClient to false on level actors that might get deleted.
Tracking issue

UNR-1128
UNR-1488

Resolved in 0.8.1 and later.

This was fixed by: https://github.com/spatialos/UnrealGDK/pull/1357


Add the ability to validate the IP address

I set default value of address to bind to from `` to <IP_ADDRESS>.
from issue #122
The address to which [...]" and "The port to which [...]" are redundant and can be removed
We should check the validity of the address
We should listen to <IP_ADDRESS> by default, not the empty string.

Could you also add validation so it rejects empty or invalid values ? At the moment, what would happen if someone wrote, say, "helloworld" as the address ?

Could you also add validation so it rejects empty or invalid values ? At the moment, what would happen if someone wrote, say, "helloworld" as the address ?

I applied a class IPValidator that can validate the IP address.

Can't we use the URL type for validation ?

I added a validation of the IP address. and I changed default value of address to "<IP_ADDRESS>"

Because IP addresses can be changed using the configuration file, I developed them intensively to verify IP addresses.


Implement coverage: field

job1:
  script: rspec
  coverage: '/Code coverage: \d+\.\d+/'

Print coverage in end report if coverage field is used

https://github.com/firecow/gitlab-ci-local/commit/c1a00df37f02e425d0d32291c5350f4fc0d3c1f6


Library not compatibile with use_frameworks! firebase condition

Summary
I am working on a project with React Native 0.69.5. I've tried to install Firebase SDK v6 and, as you know, their requirement is to use use_frameworks! into Podfile of the iOS project.  Doing that, will make the iOS build to fail because
'Google-Maps-iOS-Utils/GMUHeatmapTileLayer.h' file not found
There is a similar issue posted here (https://github.com/react-native-maps/react-native-maps/issues/4380) but it does not help....
Reproducible sample code
Here is the Podfile used in the project
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '13.0'
install! 'cocoapods', :deterministic_uuids => false

production = ENV["PRODUCTION"] == "1"

project 'TestApp',
  'Debug' => :debug,
  'Release' => :release,
  'Prod.Debug' => :debug,
  'Prod.Release' => :release,
  'Dev.Debug' => :debug,
  'Dev.Release' => :release

target 'TestApp' do
  # use_frameworks!
  use_frameworks! :linkage => :static
  $RNFirebaseAsStaticFramework = true

  permissions_path = '../node_modules/react-native-permissions/ios'
  pod 'Permission-LocationAccuracy', :path => "#{permissions_path}/LocationAccuracy"
  pod 'Permission-LocationAlways', :path => "#{permissions_path}/LocationAlways"
  pod 'Permission-LocationWhenInUse', :path => "#{permissions_path}/LocationWhenInUse"

  rn_maps_path = '../node_modules/react-native-maps'
  pod 'react-native-google-maps', :path => rn_maps_path

  pod 'ZendeskChatSDK'

  config = use_native_modules!

  # Flags change depending on the env values.
  flags = get_default_flags()

  use_react_native!(
    :path => config[:reactNativePath],
    # to enable hermes on iOS, change `false` to `true` and then install pods
    :production => production,
    :hermes_enabled => flags[:hermes_enabled],
    :fabric_enabled => flags[:fabric_enabled],
    :flipper_configuration => FlipperConfiguration.disabled,
    # An absolute path to your application root.
    :app_path => "#{Pod::Config.instance.installation_root}/.."
  )

  target 'TestAppTests' do
    inherit! :complete
    # Pods for testing
  end

  post_install do |installer|
    installer.pods_project.targets.each do |target|
      if target.name == 'react-native-google-maps'
        target.build_configurations.each do |config|
          config.build_settings['CLANG_ENABLE_MODULES'] = 'No'
          paths = Array["\"$(inherited)\"", "\"$(SRCROOT)/Google-Maps-iOS-Utils/src/Heatmap\""]
          config.build_settings['HEADER_SEARCH_PATHS'] = paths.uniq
          puts config.build_settings['HEADER_SEARCH_PATHS']
        end
      end
      target.build_configurations.each do |config|
        # config.build_settings['ENABLE_BITCODE'] = 'NO'
        config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
        config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
      end
    end

    react_native_post_install(installer)
    __apply_Xcode_12_5_M1_post_install_workaround(installer)
  end
end

Steps to reproduce

Install a project with React Native 0.69.5
Install react-native-maps
Install latest version of firebase

Expected result
Project should build successfully
Actual result
Build fails because of the error
'Google-Maps-iOS-Utils/GMUHeatmapTileLayer.h' file not found

If I remove the below code from Podfile.
`

if target.name == 'react-native-google-maps'
target.build_configurations.each do |config|
config.build_settings['CLANG_ENABLE_MODULES'] = 'No'
paths = Array[""$(inherited)"", ""$(SRCROOT)/Google-Maps-iOS-Utils/src/Heatmap""]
config.build_settings['HEADER_SEARCH_PATHS'] = paths.uniq
puts config.build_settings['HEADER_SEARCH_PATHS']
end
end
target.build_configurations.each do |config|
# config.build_settings['ENABLE_BITCODE'] = 'NO'
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
end

`
I ran into this issue when trying to run 'pod install'

React Native Maps Version
1.3.1
What platforms are you seeing the problem on?
iOS (Apple Maps), iOS (Google Maps)
React Native Version
0.69.5
What version of Expo are you using?
Not using Expo
Device(s)
iPhone 13
Additional information
No response

Same problem

https://github.com/react-native-maps/react-native-maps/discussions/4389
https://github.com/react-native-maps/react-native-maps/discussions/4301

See my work around as @Willham12 linked to.

Closing in favour of the linked issues/discussion :)


The variable type in documentation should be number, not string

Hi
This is the line that contains the wrong type. As the topic says, it should be numeric, not string.

Yes, seems like many of the text arguments have the wrong type. Could you prepare a pull request fixing the types in the JSDoc comment of the text method.

Sure. Here's my pull request.


Patches are generated in wrong order after keydown

It seems that after removal of keydown from fast-json-patch (https://github.com/Starcounter-Jack/JSON-Patch/issues/98), we introduced another bug.
Steps to reproduce

Create two elements that binds data to change and click events respectively, e.g.

<input type="text"value="{{model.B_Value::change}}" onchange="console.log('change')" placeholder="type first">
<button value="{{model.A_Clicks::click}}" onclick="++this.value">then click here</button>

Type something into input
Press the button

Expected result
As onchange is triggered before onclick, we should get operation objects in same order:
{op:'replace', path: '/model/B_Value', value: 'smth'},

{op:'replace', path: '/model/A_Clicks', value: '1'}

Actual result
Dirty checking is done only after the click event so it results in single patch with
{op:'replace', path: '/model/A_Clicks', value: '1'},
{op:'replace', path: '/model/B_Value', value: 'smth'}

Proposed solutions:
1. Revert the change with keydown/mousedown
So we will dirty-check between actions
2. Replace dom observers with deeper Polymer notification protocol integration
So we will not wait for events, but for children to parent notification that the property of the view-model was changed.
//cc @andwah, @warpech, @aloscha
PS> @andwah - this is the reason why Warehouse Client app adds empty Store Keys

Aren't the patches generated in the order in which they are defined in JSON?

Perhaps 1) is indeed the best solution until we have us JS Proxy some time in future

Yest, they are, but we want them to be generated in order they happened, and workaround involving renaming/redefining JSON is extremely ugly.

Ok, then solution 1) is agreed. @tomalec could you please make it?

great, sure

Thanks for resolving this, because it also hits me from time to time.

Thanks a lot for taking this! I've also faced this problem today. Would be great to have it working correctly.

Fixed in 2.2.1
(Starcounter><IP_ADDRESS>57)


[Android] onPress not work in Android with overlapped components

[OK] Review the documentation: https://facebook.github.io/react-native
[OK] Search for existing issues: https://github.com/facebook/react-native/issues
[OK] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.6
CPU: x64 Intel(R) Core(TM) i5-5575R CPU @ 2.80GHz
Memory: 34.23 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 8.11.3 - /usr/local/bin/node
Yarn: 1.10.1 - /usr/local/bin/yarn
npm: 5.6.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0
Android SDK:
Build Tools: 26.0.3, 27.0.3, 28.0.1
API Levels: 25, 26, 27, 28
IDEs:
Android Studio: 3.1 AI-173.4907809
Xcode: 10.0/10A255 - /usr/bin/xcodebuild
npmPackages:
react: ^16.6.0-alpha.8af6728 => 16.6.0
react-native: ^0.57.4 => 0.57.4
npmGlobalPackages:
react-native-cli: 2.0.1
Description
I have a TouchableOpacity overlapping on an Image component, but onPress can't be fired on Android. In iOS works fine. The problem occurs in real devices and emulators of both platforms.
Inspector on Android:

Inspector on Ios:

Reproducible Demo
Overlap button:
<View               style={{                 elevation: 4               }}             >               <TouchableOpacity                 style={{                   width: 50,                   height: 50,                   left: scale(200),                   top: scale(200),                   right: 0,                   bottom: 0                 }}                 onPress={this.showLabel}               >                 <View>                   <Animated.Image                     source={image}                     style={{                       width: scale(35),                       height: scale(35)                     }}                   />                 </View>               </TouchableOpacity>             </View>
Image:
<Image             source={images[imgteste]}             style={{               width: width,               height: verticalScale(512),               resizeMode: "contain"             }}           />

Could you turn that reproducible demo into a snack or a snippet that is self contained? If you are not able to reproduce the issue using base views Image/Text and without specific scaling (react-native-size-matters?) add your specific context step by step until you start being able to reproduce it. It's easier to find an issue when debugging from simple to complex, instead of the other way around. Try to reduce noise for others looking at your issue, so that we can easily see if this is a bug in RN vs an implementation problem.

@bartolkaruza link to snack where I reproduce the same error using only react-native components. The same behavior repeat, works on ios but nothing happens in android.

I have a feeling this is related to the negative top value of the TouchableOpacity. On Android, a view is not able to render outside of its parent, but it is on iOS. Why do you need a negative absolute position?

Well, i keep testing on snack different ways of render my views and find this way, works on Android and iOS. I really don't understand why is working and the other way not. You know why @bartolkaruza ? And thank you for the help :)

When you give a view negative margin or negative position, it is basically outside of the parent view. Although the view renders in the case of iOS even if it is not inside the parent, on Android the view is simply clipped to the part that is in the parent.

This is true for display of the view and for touch handling.

I am using react-native 0.57 and the issue with clipping child seems to be solved, but onPress events still don't work... Is there any way I can make it work as it works on IOS? Or maybe 0.58 solves this problem?

When you give a view negative margin or negative position, it is basically outside of the parent view. Although the view renders in the case of iOS even if it is not inside the parent, on Android the view is simply clipped to the part that is in the parent.

This is true for display of the view and for touch handling.

@Zver64 Did you solve it? I've got the same problem... On Android i cannot click on the TouchableOpacity (for the portion outside of the parent view)

Just make the parent at least as big as the touch area.

Just make the parent at least as big as the touch area.

It's not the best solution. Especially in some cases. For example I have header and I want to have a small button with a dropdown that can overlap my header.

Try making the header absolute positioned, offset the content by the height of the header. Now you can make the header parent view any arbitrary height and it will draw over the content.

Try making the header absolute positioned, offset the content by the height of the header. Now you can make the header parent view any arbitrary height and it will draw over the content.

It draws over them, but the OnPress event of Top elements are not working...

I have the same issue - with any number of touchables absolutely positioned on top of each other, the lowest one in the dom is triggered regardless of elevation/zIndex on android.

We've had the same issue when wrapping a react-native-elements <Icon> with a TouchableOpacity. We were able to work around the issue by adding hitSlop={{ top: 10, left: 10, bottom: 10, right: 10 }} to the TouchableOpacity component, but this isn't a very satisfying fix. I would love to work out what the root cause of this issue is.

Is there any news on this issue? I am using the following style properties on a view, cotaining a TouchableWithoutFeedback:
buttonContainerStyle: {
position: 'absolute',
top: -45,
width: '100%',
height: '100%',
alignItems: 'flex-end',
paddingRight: 15,
},
It is working perfectly on iOS, but I cannot access the Touchable on android (onPress not working). I do require the View containing the Touchable be removed from its parent View. zIndex and hitSlop did not solve the issue.

Is there any news on this issue? I am using the following style properties on a view, cotaining a TouchableWithoutFeedback:
buttonContainerStyle: {
position: 'absolute',
top: -45,
width: '100%',
height: '100%',
alignItems: 'flex-end',
paddingRight: 15,
},
It is working perfectly on iOS, but I cannot access the Touchable on android (onPress not working). I do require the View containing the Touchable be removed from its parent View. zIndex and hitSlop did not solve the issue.

try to removed backgroudColor of  the parent View.  in my case , It works.

has this been solved? i am having similar issue with a the touch being triggered for the component below the overlapping component

When two components are overlapped the touchableopacity is not working in android. We are using react native version 0.57. Is there any solution for this.

I have same problems but I found
(https://github.com/kmagiera/react-native-gesture-handler)
I just import TouchableOpacity and it works perfect

I had same problems but I found
(https://github.com/kmagiera/react-native-gesture-handler)
I just import TouchableOpacity from it and it works as on IOS

Are you doing anything special? I'm trying to use TouchableOpacity and still have the same problem (overlapping an element causes the top element to be pressed instead), plus a lot of layout problems of its own.

I used the TouchableOpacity  from react-native instead of react-native-gesture-handler and it worked. God knows why.

I had same problems but I found
(https://github.com/kmagiera/react-native-gesture-handler)
I just import TouchableOpacity from it and it works as on IOS

Are you doing anything special? I'm trying to use TouchableOpacity and still have the same problem (overlapping an element causes the top element to be pressed instead), plus a lot of layout problems of its own.

there is some really big problems on touchable in  android, zIndex works differently in android, and also you should pay attention to "position" style, you can wrap it in a View or you can play with it, and you will find out some strange logic or at least it will work :D. have a nice day

right!Only on Android. Is this the cause of position: 'absolute'? I also have the same issue

I had the same issue while working with KeyboardAvoidingView with position behavior. Changing it to padding fixed the issue.

I had same problems but I found
(https://github.com/kmagiera/react-native-gesture-handler)
I just import TouchableOpacity from it and it works as on IOS

Awesome! This worked for my.
I was trying to make a bigger button on a bottom tab-bar, but I got this problem with Android.
That TouchableOpacity solved the problem.
Thanks!

I had same problems but I found
(https://github.com/kmagiera/react-native-gesture-handler)
I just import TouchableOpacity from it and it works as on IOS

Awesome! This worked for my.
I was trying to make a bigger button on a bottom tab-bar, but I got this problem with Android.
That TouchableOpacity solved the problem.
Thanks!

Nice, but it only solved part of the problem, we could trigger the event in the foreground, but if the backdrop has Touchable as well. The application will receive both of them

I used the TouchableOpacity  from react-native instead of react-native-gesture-handler and it worked. God knows why.

Life Saver!

For me this was resolved after I forced a height/width on the parent TouchableOpacity which has to match (or more) the containing Image's height/width

Same problem here. TouchableOpacity does not fire onPress event on Android when it is inside a view with absolute positioning. Please see snack: https://snack.expo.io/@sorinbogdan/working-maybe
Please reopen issue.

TouchableOpacity works great!! However, if you don't need any UI feedback, just set the activeOpacity prop to 1, and you get a TouchableWithoutFeedback.

To not make mistake described by @mayooresan again, added ESLint rule which will show error when it happens: https://github.com/kmagiera/react-native-gesture-handler/issues/578#issuecomment-558599996

Facing an issue while using a position: absolute, TouchableOpacity onPress is not working in Android Only. it works fine in iOS.

I'm try to use the TouchableOpacity from react-native-gesture-handlerbut i does not seems to work.

Having a similar issue but I'm not using 'absolute' style tag anywhere. Using the TouchableOpacity from 'react-native-gesture-handler' seems to do the trick though.

I've had problems with Touchable's in RN for the longest time. Thanks to @Bonfs for filing this very meaningful bug which shows the kind of simple things that are so problematic with React Native still, and worst yet it's not acknowledged.
For those who want a mini version of what doesn't work, please try this:
import React from 'react';
import {Text, TouchableOpacity, View} from 'react-native';

export default class TouchableBug extends React.Component {
    static URL = '/demos/touchable-bugs';

    constructor(props) {
        super(props);
        this.state = {
        };
    }
    onPress = () => {
        console.log('Touchable pressed');
    };

    render() {
        return (
            <View style={{ width: 200, height: 200, borderWidth: 1, position: 'relative' }}>
                <TouchableOpacity onPress={this.onPress}>
                    <View style={{ height: 40, width: 50, borderWidth: 1 }}>
                        <Text>Hi - clickable</Text>
                    </View>
                </TouchableOpacity>

                <TouchableOpacity onPress={this.onPress}>
                    <View style={{ height: 40, width: 50, borderWidth: 1, marginLeft: 300 }}>
                        <Text>Hi - unclickable</Text>
                    </View>
                </TouchableOpacity>

                <TouchableOpacity onPress={this.onPress}>
                    <View style={{ height: 40, width: 50, borderWidth: 1, top: 100 }}>
                        <Text>Hi - unclickable</Text>
                    </View>
                </TouchableOpacity>

                <TouchableOpacity onPress={this.onPress}>
                    <View style={{ height: 40, width: 50, borderWidth: 1, position: 'absolute', right: 30 }}>
                        <Text>Hi - unclickable</Text>
                    </View>
                </TouchableOpacity>
            </View>
        );
    }
}

These are 4 touchables, anytime you set position: 'absolute' or move out of the parent visual boundary, they stop responding to touch events. zIndex does not fix the problem.
The only way to get your elements to respond to touch are the following:

No absolute positioning. Don't even use the top, left, right, bottom attributes
Touchable should not go outside the visual boundary of its parent / ancestor. If it is, add an extra parent element to the top of the tree and move the touchable out to be a direct descendent of it.

Will try to add more later.

On IoS i have no problem with TouchableOpacity inside any dialog (positioned) component.
On Android, with no positioning set it works fine (either library, react-native, or react-native-touchable-gestures). BUT, on Android, put inside an Overlay, Modal, etc. and touchable stops functioning and have not found any solution so far. Disappointed to see this issue is marked closed.

This is definitely an issue. Strangely, in the previous version of Expo (35) which used RN 0.59 this wasn't an issue. And in fact it's not documented anywhere that this is an issue and I discovered in on accident.

Issue for me also. Why was this closed?

Btw, here's another hack in case you want to absolute position something on the top right of a view / image. Use flex direction row and specify negative margin.
<View style={{ display: 'flex', flexDirection: 'row', alignItems: 'flex-start' }}>
    <Image style={{ width: 20, height: 20 }} src={photo} />
    <View style={{ marginLeft: 40, marginTop: 20 }}>
        <TouchableOpacity onPress={() => {}}>
            <Text>Hi</Text>
        </TouchableOpacity>
    </View>
</View>

Needless to say all of this would not be required if React Native team would also prioritize Touchable bugs and fix them.


Handshake failed

hi
I tested on my xiaomi Mi 6 which is installed the chinese version of rom.
when I try to connect to testing server (odoo 11) on Lan. I got error on the app: "Handshake failed".
the debug info of app:
D/OkHttp: --> POST https://<IP_ADDRESS>:8079/web/webclient/version_info
    Content-Type: application/json; charset=UTF-8
    Content-Length: 54
    User-Agent: MI 6
D/OkHttp: {"id":"1","jsonrpc":"2.0","method":"call","params":{}}
    --> END POST (54-byte body)
D/OkHttp: <-- HTTP FAILED: javax.net.ssl.SSLHandshakeException: Handshake failed

on the odoo server I got this message:
code 400, message Bad request version ('\x00\x02\x01\x00\x00')
           hhttp/1.1    " HTTPStatus.BAD_REQUEST

what can I do?

sorry, after update the code and rebuild. I can input the username and password now.
but there is no database to choice, so still couldn't login.

update:
after remove "dbfilter = ^%d$" in the odoo config file, I can connect to my LAN server now.

@fanha99
Thanks for sharing the above information. It may helpful to other users.


some commands not available (CoAP, Commissioner...)

Good Evening,
I'm using the EFR32™ Mighty Gecko Wireless Starter Kit, and I followed each step from this page https://github.com/openthread/openthread/tree/master/examples/platforms/efr32 .
However, I now have got some issue, in fact I would use CoAP and Commissioner commands for my project, but they are not available when I enter help into the console:
help
autostart
bufferinfo
channel
child
childmax
childtimeout
contextreusedelay
counter
dataset
delaytimermin
diag
discover
eidcache
eui64
extaddr
extpanid
factoryreset
ifconfig
ipaddr
ipmaddr
joinerport
keysequence
leaderdata
leaderpartitionid
leaderweight
masterkey
mode
neighbor
networkdiagnostic
networkidtimeout
networkname
panid
parent
parentpriority
ping
pollperiod
promiscuous
pskc
releaserouterid
reset
rloc16
router
routerdowngradethreshold
routerrole
routerselectionjitter
routerupgradethreshold
scan
singleton
state
thread
txpower
udp
version
>

And when I want to use those command, I have those messages:
> commissioner start
Error 6: Parse

> coap start
Error 6: Parse

I precise that I'm using a virtual box Ubuntu 16.04, and I have enabled those features before compiling:
$ make -f examples/Makefile-efr32 COMMISSIONER=1 COAP=1 JOINER=1 DHCP6_CLIENT=1 DHCP6_SERVER=1 BOARD=BRD4161A
Thank you a lot for your anwsers,
Regards,
Bastien Jeanjean

@BJeanjean, thanks for reporting this issue.  I just tested with the latest master and was unable to reproduce your issue.
If you did a build without those optional features enabled, you may need to run configure again.  You could try running clean first and then rebuilding:
$ make -f examples/Makefile-efr32 BOARD=BRD4161A clean
$ make -f examples/Makefile-efr32 COMMISSIONER=1 COAP=1 JOINER=1 DHCP6_CLIENT=1 DHCP6_SERVER=1 BOARD=BRD4161A

Alternatively, you could try building from a clean repo:
$ git clean -xfd
$ git checkout -- .
$ ./bootstrap
$ make -f examples/Makefile-efr32 COMMISSIONER=1 COAP=1 JOINER=1 DHCP6_CLIENT=1 DHCP6_SERVER=1 BOARD=BRD4161A

You should see configuration output similar to:
  OpenThread CLI support                    : yes
  OpenThread CLI-MTD support                : yes
  OpenThread CLI-FTD support                : yes
  OpenThread NCP support                    : yes
  OpenThread NCP-MTD support                : yes
  OpenThread NCP-FTD support                : yes
  OpenThread NCP-BUS Configuration          : uart
  OpenThread NCP Vendor Hook Source         : none
  OpenThread NCP Spinel Encrypter           : none
  OpenThread Multiple Instances support     : no
  OpenThread MTD Network Diagnostic support : no
  OpenThread builtin mbedtls support        : yes
  OpenThread TMF Proxy support              : no
  OpenThread Commissioner support           : yes
  OpenThread Joiner support                 : yes
  OpenThread DTLS support                   : yes
  OpenThread Jam Detection support          : no
  OpenThread Channel Monitor support        : no
  OpenThread Channel Manager support        : no
  OpenThread MAC Filter support             : no
  OpenThread Diagnostics support            : yes
  OpenThread Child Supervision support      : no
  OpenThread Legacy network support         : no
  OpenThread Certification log support      : no
  OpenThread DHCPv6 Server support          : yes
  OpenThread DHCPv6 Client support          : yes
  OpenThread DNS Client support             : no
  OpenThread Application CoAP support       : yes
  OpenThread Raw Link-Layer support         : no
  OpenThread Border Router support          : no
  OpenThread Service support                : no
  OpenThread examples                       : efr32

Let me know if that helps.

Thanks for your fast answer.
I've try clean first before rebuilding and that now works with the leader. However I still cannot use CoAP with the Router, but I don't even know if I am supposed to be able to do so.
In fact, in my project I need one leader, and other nodes which could communicate in mesh Network, like we already can do with the examples from SiLabs (client/server), and I would use the CoAP method.
Thank you a lot.

@BJeanjean, did you try running through the CoAP CLI example?  You should be able to use the CoAP service on any Thread device role (leader, router, child).  I just tried with the latest master (b76f72e) and it worked fine for me.
If you are still running into issues, can you provide more detail on the steps you performed so that we can reproduce the issue?

I retried to do everything again (even delete de gecko_sdk_suite folder to copy another one) and it seems to work now. I suppose that after cleaning I did something wrong when I flashed the second card.
Well thank you a lot for your help, and good luck for the future of OpenThread !

@BJeanjean, great to hear, and thanks!


77 up cased

Solving #77
Implemented text.up-cased by eo.

@OlesiaSub please review

@yegor256 this can be merged

@yegor256 please check

@rultor merge

@rultor merge

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

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 7min)


the implementation of pointnet

Hi, I want to know whether there is the implementation of pointnet in this project?

MMDet3D only supports PointNet2 now because it is more commonly used.

thanks for reply. @ZwwWayne
But if I want to use pointnet, how should I do?


Fix 'cross-database references' mis-syntax error

I think this must just have been a typo, since it's been documented as
UPDATE (column) ON table in all versions since column specificity was
introduced in 9.0:
https://www.postgresql.org/docs/9.0/sql-grant.html
https://www.postgresql.org/docs/13.0/sql-grant.html (current)
(and nothing older, or 9, is supported.)
Confusingly, instead of a syntax error, pg complains that
'cross-database references are not implemented', presumably
misinterpreting:
schema.table.column

as an attempt to do:
db.schema.table

which isn't allowed, but also isn't what we're trying to do.
This commit fixes the error when restoring DDL by using the documented
syntax of:
(column) ON schema.table

Thanks for PR!
You are absolutely right. That was my "typo".
This repo definitely needs some tests.
I will write tests in month.

Thanks! Appreciate what you've added here over the original 'gist', and just having an actual repo at all is a win IMO.


languageCode always return en on iOS, works on Android.

I'm coming from here
Steps to Reproduce
void main() => runApp(MaterialApp(home: HomePage()));

class HomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(),
      body: Builder(
        builder: (newContext) {
          return Center(
            child: Text(
              // always shows `en` in iOS and works fine in Android
              window.locale?.languageCode ?? "Searching",
              style: Theme.of(context).textTheme.headline,
            ),
          );
        },
      ),
    );
  }
}

The above print statement always show en on iOS no matter what locale you have selected. I did full start of the application after stopping the ongoing process. Tested it on Simulator and iPhone 6s real device, both show en, however this code works fine in Android emulator and Samsung Galaxy S8+ real device.
Flutter doctor
[✓] Flutter (Channel dev, v1.8.3, on Mac OS X 10.14 18A389, locale en-GB)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 10.1)
[✓] Android Studio (version 3.5)
[✓] Connected device (1 available)

• No issues found!

@dark-chocolate in iOS I think there is a place in .plist file to add languages..did you added it in .plist in xcode?

@amreniouinnovent  I am not aware of anything like that, I am from Android side, not much familiar with iOS and Xcode, can you guide me where to add that file?

@dark-chocolate check last section
https://flutter.dev/docs/development/accessibility-and-localization/internationalization#appendix-updating-the-ios-app-bundle

OK, thanks a lot. I am not in front of my system, so I am not able to test it out, however I am sure this would solve the problem so I am closing this issue now. In case it didn't solve, I'll reopen it.


Add tube filter

@ajpmaclean : : Please review.

Ww
On Saturday, December 22, 2018, Bharatesh Chakravarthi S B <
<EMAIL_ADDRESS>wrote:

@ajpmaclean https://github.com/ajpmaclean : : Please review.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/lorensen/VTKExamples/pull/304#issuecomment-449569662,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAUFDP2-Mw_k32gmxC0VUW7_-rqbF2uAks5u7jFogaJpZM4ZfdBg
.

--
Unpaid intern in BillsParadise at noware dot com

Thankyou


messageReactionAdd -- Missing reaction information

Please describe the problem you are having in as much detail as possible:
When the messageReactionAdd event is called, it gives no information about who is reacting and what that user is reacting with. The reaction variable that is given upon event firing contains information about the message and a collection of all the users who has reacted, but it does not contain who currently reacted. Is this a bug or just me?
Include a reproducible code sample here, if possible:
bot.on("messageReactionAdd", (reaction) => {
    console.log(reaction);
});

Output:
MessageReaction {
  message:
   Message {
     channel:
      TextChannel {
        type: 'text',
        id: '265156286406983680',
        name: 'testing-1',
        position: 3,
        permissionOverwrites: [Object],
        topic: '',
        lastMessageID: '318930018807971840',
        guild: [Object],
        messages: [Object],
        _typing: [Object],
        lastMessage: [Circular] },
     id: '318930018807971840',
     type: 'DEFAULT',
     content: 'ugh',
     author:
      User {
        id: '153173425844781056',
        username: 'PassTheMayo',
        discriminator: '1281',
        avatar: '7327ba7b60c488ecd564c18a7fe399ef',
        bot: false,
        lastMessageID: '318930018807971840',
        lastMessage: [Circular] },
     member:
      GuildMember {
        guild: [Object],
        user: [Object],
        _roles: [Object],
        serverDeaf: false,
        serverMute: false,
        selfMute: undefined,
        selfDeaf: undefined,
        voiceSessionID: undefined,
        voiceChannelID: undefined,
        speaking: false,
        nickname: 'var Mayo = new PassTheMayo();',
        joinedTimestamp:<PHONE_NUMBER>995,
        lastMessageID: '318930018807971840',
        lastMessage: [Circular] },
     pinned: false,
     tts: false,
     nonce: '318930016807157760',
     system: false,
     embeds: [],
     attachments: Collection {},
     createdTimestamp:<PHONE_NUMBER>917,
     editedTimestamp: null,
     reactions: Collection { '%E2%AD%90' => [Object] },
     mentions:
      MessageMentions {
        everyone: false,
        users: Collection {},
        roles: Collection {},
        _content: 'ugh',
        _client: [Object],
        _guild: [Object],
        _members: null,
        _channels: null },
     webhookID: null,
     hit: null,
     _edits: [] },
  me: false,
  count: 1,
  users:
   Collection {
     '153173425844781056' => User {
     id: '153173425844781056',
     username: 'PassTheMayo',
     discriminator: '1281',
     avatar: '7327ba7b60c488ecd564c18a7fe399ef',
     bot: false,
     lastMessageID: '318930018807971840',
     lastMessage: [Object] } },
  _emoji: ReactionEmoji { reaction: [Circular], name: '⭐', id: null } }

Further details:

discord.js version: 11.1.0 (tested on 1.12.0 as well)
node.js version: 7.10.0
Operating system: MacOS Sierra
Priority this issue should have – please be realistic and elaborate if possible: Low to medium

[x] I have also tested the issue on latest master, commit hash: 29ead89

https://discord.js.org/#/docs/main/stable/class/Client?scrollTo=messageReactionAdd

Thank you so much! I didn't know that events and their callbacks were listed under the documentation. Thank you!!! @appellation


Rewrite topics in Concepts > Storage > Volumes to remove mentions of Docker in text and code samples

ref: https://github.com/kubernetes/website/issues/30775
After removing Dockershim, all of https://kubernetes.io/docs/concepts/storage/volumes/ needs a technical review, and the following sections need to be rewritten almost completely:

https://kubernetes.io/docs/concepts/storage/volumes/#background
https://kubernetes.io/docs/concepts/storage/volumes/#hostpath
https://kubernetes.io/docs/concepts/storage/volumes/#configuration

/milestone 1.24
/sig storage
/triage accepted

I aim to work on this. Should be able to make headway without SIG Storage input, at least at first.
/assign

/unassign sftim

/assign chrisnegus
/assign chris-short

/remove-kind feature

I'm happy to [try to] answer questions about how to reword here.

/assign @rolfedh

/assign

Clearing the 1.24 milestone. This can be added to subsequent milestones if needed.
/milestone clear

/remove-lifecycle stale

Can I check if somebody is working on this?


Comparison with Linkerd2 is wrong

The comparison with linkerd is wrong, as of linkerd2.
Linkerd itself is a complete service-mesh, and not only a proxy, and the proxy itself is written in Rust and based on Tokio, no JVM-based language. Maybe that part should get revisited?

My feeling is we should just remove the comparison page at this point. It will inevitable always be out of date and at this point Envoy is well known enough that I'm not sure it's necessary.
@envoyproxy/maintainers thoughts here?

Voting with my PR.  We can land or revert :-)


acrylic effect goes away when window loses focus

Environment
Windows build number: Microsoft Windows [Version 10.0.18362.418]
Windows Terminal version (if applicable): 0.6.2951.0

Any other software?

Steps to reproduce

Open up Windows Terminal. Open up any other window. Make sure windows terminal has the useAcrylic set to tru and the opacity set to something like .5. Snap the two windows to either side. When Terminal is in focus the acrylic will work. When it's not it will not.

Expected behavior
The acrylic effect to stay whether or not terminal is in focus.

Actual behavior
The acrylic effect only appears when terminal is in focus

This is just part of how the Windows UI works -- Acrylic effects fade in and out depending on focus.

Terminal feels like a case where it would be great to have the opposite: acrylic to blend into the background when inactive and not when focused.

This has been discussed to death why it's not possible unfortunately.

Unfortunately this is by design.
The system-level policy for all acrylic applications is that only the active/focused window is allowed to display it.
So there is no parameter or config that you can use to always display it.

This is, unfortunately, by design. System policy dictates (and Windows controls this, not Terminal(!)) that only a currently-active window can be displayed with the acrylic effect.

It may be difficult due to the limitations of the OS.
docs.microsoft.com/en-us/windows/uwp/design/style/acrylic#usability-and-adaptability

In addition, only background acrylic will replace its translucency and texture with a solid color:

When an app window on desktop deactivates
When the UWP app is running on phone, Xbox, HoloLens or tablet mode

/dup #2326 #1886 #1747 #1546 #1505 #1099 #593 #3336 #2763 #2698

Just realized I could do this.
Came here to be sad about the out of focus lack of acrylic blur.
This is a bummer.

@Pitta If you'd take a look at #7158, there's a potential solution that just requires a decent amount of work to investigate and apply.

Argh, this is a useless feature! The window in focus has way less contrast then the ones not in focus? It doesn't make sense - what's the thinking behind how this was implemented? Also, what's the point of the retro terminal effect? Feels like misplaced priorities.

I wouldn't go that far. The app is open source and the internal maintainers are not likely to be core windows development that can make that a priority.
I'll dump on MS for totally breaking stuff on the mobile Xbox app and ignoring it, but this just seems unfortunate and ultimately not super important.

I came here thinking it would just be a tweak to settings.json but I found it as a bummer...

Just realized I could do this.
Came here to be sad about the out of focus lack of acrylic blur.
This is a bummer.

Sadness

:( terminal looks ugly when its fully black

It may be difficult due to the limitations of the OS.

Good thing a new OS is here to save us; Windows 11.


Doesn't work with PNG files

I selected some JPEG files and it worked, but none PNG files worked. I tried these files in demo page too and do nothing. What's the problem?

Solved with smallImage property :) awesome

@maiconcarraro  how you fix ?

Thank you @maiconcarraro!  I implemented Cropit in my React app and it wasn't working with PNG files for me either.  I was sure it was my code as it takes tweaking to get JQuery to work correctly inside of React.  I set the smallImage property to 'allow', and...VOILA!  It works!
This needs to be documented.


Default Preferences

The highlight filter and opened files should remain the same for the next session. This is how other log viewers work and they save a lot of time. Thanks for the software!

This is a great suggestion!
Remembering the opened files + their corresponding filters would be very close to "Restore last session" functionality


[JS] Topic: NPM Packages

Description
I want to cover the documentation part explaining NPM Packages in brief.
Domain
JavaScript_Domain
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


Compare Branch not working for Translation flow

When having spanish as Target language and en_tn as Source, Compare button does not function.

@birchamp @klappy  Question: For Translation workflow, do we need to compare user branch with the Source Master file? If not, this button can be disabled.
DoD: should compare master for your org and your branch.

@birchamp Needs attention

@elsylambert I am not able to get to that screen you are showing. I keep getting this dialog before I am able to see my translation notes.
Are you still able to reproduce this issue?

@RoyalSix "Elsy-org-test" organization does not have a Repo for en language. Please select ru or es as language for tn resource.

QA PASS
confirmed in 1.0.1
https://deploy-preview-257--tc-create-app.netlify.app/


Add java-home option to select java version to use.

When two or more java version are installed, I want to select java version to use.
We can select it to use this java-home option.

This seems to be achievable by setting PATH to have the correct java binary before running the launcher, which is how we do it. Does this work for you?=

This seems to be achievable by setting PATH to have the correct java binary before running the launcher, which is how we do it. Does this work for you?

Thanks for your advice, and sorry for my late reply.
It worked well to set correct PATH, and I will close this pull request, soon.