Does not respect NUMA constraints

Running  numactl --cpubind=0 --membind=0 -- vmtouch -ldw targetfile shows locked memory over all available NUMA nodes.
Expected behavior would be for all the memory to be membound to NUMA node0.
Possibly I'm doing it in a wrong way.
Would such functionality be possible with the current binaries? Otherwise, could it be considered as a feature?

Currently vmtouch is not NUMA-aware at all. It might be possible, but vmtouch hasn't done anything special to enable it.
I don't think I have easy access to any hardware that would work for this testing. If you get any more results from your experiments, please let us know! It's possible that vmtouch could gain some new flags that let us do NUMA stuff, I just don't have the time to look into it now.

I see, thank you. I was actually hoping the numactl wrapper would ensure this happens regardless of whether vmtouch is aware of it or not, i.e. that it would disallow the vmtouch process to handle/touch the memory outside its allocated NUMA node, but it doesn't seem to be the case. Perhaps it only provides hints to NUMA-aware applications and doesn't enforce anything.
I will write here if I end up having any further insights.

One thing you might want to look into is how NUMA affects the page-cache. Your command is touching (what I assume is) a regular file, so it's locking memory backed by the page-cache.

Yes, it's a regular ~170G file. I was checking beforehand with vmtouch -v {file}, and it was saying 0/x pages are resident - would this have shown the "page cache" part too or it reports a different kind of "residence in RAM"?

vmtouch just mmap()s the file and calls mincore(), so for regular files it's always just reporting the residency status of the page-cache. You have to be doing something a bit special for it to report on any other type of memory.


add stickiness support for gateway load-balancer

Description
This pull request is related to issue #316.
The default hash algorithm may introduce issues in certain scenarios, for example for FTP connection with centralize inspection. The reason is the default 5-tuple has algorithm used by the gateway load balancer. This algorithm may load-balance across several firewall causing the other end to drop traffic as different connections related to the same session use different public IPs.
This pull request add a variable to trace the desire of the user to change the default hash algorithm. aws/provider introduce several options from version 4.38 and above. Allowing the users to select with a granularity the hash algorithm among three possible options.
The rational behind the change is that the assignment of a value to that variable will generate the dynamic block related to stickiness in the gateway load balancer.
Motivation and Context
This change is needed because in our production environment we found the FTP issues shared in #316 and was resolved changing the hash algorithm.
How Has This Been Tested?
This has been tested in a development environment and then in production.
Development testing was done with one test:

Test 1: deploying a full environment from zero with the suggested changes, allowing us to confirm that the hash algorithm can be set properly via terraform.

Production testing was done with two test:

Test 1: Verify that the current environment is not change in case of the introduction of the changes. This is doing the changes to the cade but leave default value for the new variable. This is to make sure that this change are not harmfull to current deployed environments that do not need this value to be set.

Test 2: Assign a value to the variable in the "envmodules" of terragrunt in order to make effective the change of hash algorithm. In this case the change is detected and the hash algorithm is changed properly.

Is worth noting that the possible values of hash algorithm has change from aws/provides 4.37 and 4.38, giving more options from 4.38 and above. I have not change the minimum release version of the provider but is worth noting that our environment runs 4.57 to make use of the new values.
As far as we have reviewed this change is quite an add-on in the sense that it does not impact older deployment and is just giving the user the option to set the hash algorithm in case necesary.
Screenshots (if appropriate)
Types of changes

Add a variable to the gwlb module in order to select hash algorithm option available in the aws/provider.
In case the variable is set a dynamic "stickiness" module is added.

New feature (non-breaking change which adds functionality)

Checklist
NOTE: I have read the contributing but was unable to rebase with "upstream dev", so I rebase with main. In case this is wrong I can change that to the proper branch.

[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes if appropriate.
[x] All new and existing tests passed.

I close this pull request as code has been updated on #317


Listing Management - The scroll bar moves from the right side of the browser to the right side of the content after editing a listing

Develop Branch
I noticed that when I went to the listing management pages that there were 4 columns of listings. I then went to edit a listing and went back to the Listing Management pages and there was only 3 columns. After further investigation I found that the scroll bar initially is at the right side of the browser. After coming back from editing a listing the scroll bar moved from the right side of the browser to the right side of the content causing less usable space causing the reducing of the columns.  (Content means where the white background and gray background meet.)

I think I know what's causing this.  The create/edit page is styled such that the page overall never scrolls - only the form in the middle does.  The only way that I could cause this behavior was to add (when create/edit is opened) a css class to one of the very high-level elements (like html or body) that changes their sizing.  This class is probably not being removed appropriately when the create/edit page is closed.

I can't seem to replicate the 4 to 3 column issue with the latest chrome or FF24, but i see the scroll bar part

Interesting I was able to reproduce it on every browser. But I assume fixing the scroll bar should fix the column issue I was seeing.

Just made a change that should fix the scrollbars on develop

All Browsers
Verified that the scroll bar no longer moves.

All Browsers.
Verified that when I went to the listing management pages there were 4 columns of listings. I then went to edit a listing and went back to the Listing Management pages and there were still four columns.


Raveling coefficients example doesn't work in 2D

Hi,
I tried the example given in the docs for raveling coefficients in n-D: https://pywavelets.readthedocs.io/en/latest/ref/dwt-coefficient-handling.html#raveling-and-unraveling-coefficients-to-from-a-1d-array .
It works perfectly. However, if I chose to use wavedec2 instead of wavedecn, it fails:
import pywt
from numpy.testing import assert_array_almost_equal
cam = pywt.data.camera()
coeffs = pywt.wavedec2(cam, wavelet='db2', level=3)
arr, coeff_slices, coeff_shapes = pywt.ravel_coeffs(coeffs)
coeffs_from_arr = pywt.unravel_coeffs(arr, coeff_slices, coeff_shapes)
cam_recon = pywt.waverec2(coeffs_from_arr, wavelet='db2')
assert_array_almost_equal(cam, cam_recon)

gives:
ValueError                                Traceback (most recent call last)
<ipython-input-187-3b8a21e194b7> in <module>
      4 arr, coeff_slices, coeff_shapes = pywt.ravel_coeffs(coeffs)
      5 coeffs_from_arr = pywt.unravel_coeffs(arr, coeff_slices, coeff_shapes)
----> 6 cam_recon = pywt.waverec2(coeffs_from_arr, wavelet='db2')
      7 assert_array_almost_equal(cam, cam_recon)

~/workspace/pysap/venv/lib/python3.5/site-packages/PyWavelets-1.0.1-py3.5-linux-x86_64.egg/pywt/_multilevel.py in waverec2(coeffs, wavelet, mode, axes)
    323             idxs = tuple(slice(None, -1 if a_len == d_len + 1 else None)
    324                          for a_len, d_len in zip(a.shape, d_shape))
--> 325         a = idwt2((a[idxs], d), wavelet, mode, axes)
    326
    327     return a

~/workspace/pysap/venv/lib/python3.5/site-packages/PyWavelets-1.0.1-py3.5-linux-x86_64.egg/pywt/_multidim.py in idwt2(coeffs, wavelet, mode, axes)
    116
    117     coeffs = {'aa': LL, 'da': HL, 'ad': LH, 'dd': HH}
--> 118     return idwtn(coeffs, wavelet, mode, axes)
    119
    120

~/workspace/pysap/venv/lib/python3.5/site-packages/PyWavelets-1.0.1-py3.5-linux-x86_64.egg/pywt/_multidim.py in idwtn(coeffs, wavelet, mode, axes)
    275                          "band")
    276     if any(s != coeff_shape for s in coeff_shapes):
--> 277         raise ValueError("`coeffs` must all be of equal size (or None)")
    278
    279     if axes is None:

ValueError: `coeffs` must all be of equal size (or None)

After looking into the unraveled coeffs, it appears that some of them are actually dictionary rather than tuple. Example: type(coeffs[1]) == tuple and type(coeffs_from_arr[1]) == dict. I haven't looked much more into it, so it might not be the cause of this, but I guess for the sake of idempotence, this shouldn't be the case. Also it's not the case in n-D.

In this case, you need to specify the output_format argument to pywt.unravel_coeffs as follows:
coeffs_from_arr = pywt.unravel_coeffs(arr, coeff_slices, coeff_shapes, output_format='wavedec2')

wavedecn is the default.  Perhaps for the example in the documentation we should explicitly specify output_format='wavedecn' to make it less likely for users to overlook the option?

We could also potentially add some sort of check in waverec2 to raise a more informative error if a dictionary is encountered unexpectedly.

It works indeed.
I can try and add that in the docs, as well as the check in waverec2 if you want me to.

I can try and add that in the docs, as well as the check in waverec2 if you want me to.

I just submitted #471 to do this. My apologies if you had already started working on this (I just now saw your reply).


Remove light-stemcell pipeline from bosh-google-cpi-release

moved to cloudfoundry/bosh-google-light-stemcell-builder

#152327898

thanks @cdutra !

@cdutra What's the status on the heavy stemcells? Will those eventually move out of the CPI project as well?

Hmm, I don't think the heavy pipelines here are actually being used. I think they were used when the CPI was originally under development. Core team publishes the Google stemcells now alongside the other IaaS stemcells.

Exactly what Danny said. Sorry for not responding earlier. It can be removed too
Chris Dutra

On Oct 31, 2017, at 6:16 PM, Danny Berger<EMAIL_ADDRESS>wrote:
Hmm, I don't think the heavy pipelines here are actually being used. I think they were used when the CPI was originally under development. Core team publishes the Google stemcells now alongside the other IaaS stemcells.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

thank you!


Failing build

`STDOUT:
go install<EMAIL_ADDRESS>/root/go/bin/controller-gen "crd:crdVersions=v1" rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
STDERR:
Error: err: exit status 1: stderr: go<EMAIL_ADDRESS>missing go.sum entry; to add it:
go mod download cloud.google.com/go/compute
Usage:
controller-gen [flags]
Examples:
# Generate RBAC manifests and crds for all types under apis/,
# outputting crds to /tmp/crds and everything else to stdout
controller-gen rbac:roleName= crd paths=./apis/... output:crd:dir=/tmp/crds output:stdout
    # Generate deepcopy/runtime.Object implementations for a particular file
    controller-gen object paths=./apis/v1beta1/some_types.go

    # Generate OpenAPI v3 schemas for API packages and merge them into existing CRD manifests
    controller-gen schemapatch:manifests=./manifests output:dir=./manifests paths=./pkg/apis/...

    # Run all the generators for a given project
    controller-gen paths=./apis/...

    # Explain the markers for generating CRDs, and their arguments
    controller-gen crd -ww

Flags:
-h, --detailed-help count   print out more detailed help
(up to -hhh for the most detailed output, or -hhhh for json output)
--help                  print out usage and a summary of options
--version               show version
-w, --which-markers count   print out all markers available with the requested generators
(up to -www for the most detailed output, or -wwww for json output)
Options
generators
+webhook                                                                                package  generates (partial) {Mutating,Validating}WebhookConfiguration objects.
+schemapatch[:generateEmbeddedObjectMeta=],manifests=[,maxDescLen=]                                                             package  patches existing CRDs with new schemata.
+rbac:roleName=                                                                                package  generates ClusterRole objects.
+object[:headerFile=][,year=]                                                                                package  generates code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
+crd[:allowDangerousTypes=][,crdVersions=<[]string>][,generateEmbeddedObjectMeta=][,ignoreUnexportedFields=][,maxDescLen=]  package  generates CustomResourceDefinition objects.
generic
+paths=<[]string>  package  represents paths and go-style path patterns to use as package roots.
output rules (optionally as output::...)
+output:artifacts[:code=],config=  package  outputs artifacts to different locations, depending on whether they're package-associated or not.
+output:dir=                               package  outputs each artifact to the given directory, regardless of if it's package-associated or not.
+output:none                                       package  skips outputting anything.
+output:stdout                                     package  outputs everything to standard-out, with no separation.
run controller-gen crd:crdVersions=v1 rbac:roleName=manager-role webhook paths=./... output:crd:artifacts:config=config/crd/bases -w to see all available markers, or controller-gen crd:crdVersions=v1 rbac:roleName=manager-role webhook paths=./... output:crd:artifacts:config=config/crd/bases -h for usage
gmake: *** [Makefile:62: manifests] Error 1
MSG:
<EMAIL_ADDRESS>missing go.sum entry; to add it:
go mod download cloud.google.com/go/compute
Usage:
controller-gen [flags]
Examples:
# Generate RBAC manifests and crds for all types under apis/,
# outputting crds to /tmp/crds and everything else to stdout
controller-gen rbac:roleName= crd paths=./apis/... output:crd:dir=/tmp/crds output:stdout
    # Generate deepcopy/runtime.Object implementations for a particular file
    controller-gen object paths=./apis/v1beta1/some_types.go

    # Generate OpenAPI v3 schemas for API packages and merge them into existing CRD manifests
    controller-gen schemapatch:manifests=./manifests output:dir=./manifests paths=./pkg/apis/...

    # Run all the generators for a given project
    controller-gen paths=./apis/...

    # Explain the markers for generating CRDs, and their arguments
    controller-gen crd -ww

Flags:
-h, --detailed-help count   print out more detailed help
(up to -hhh for the most detailed output, or -hhhh for json output)
--help                  print out usage and a summary of options
--version               show version
-w, --which-markers count   print out all markers available with the requested generators
(up to -www for the most detailed output, or -wwww for json output)
Options
generators
+webhook                                                                                package  generates (partial) {Mutating,Validating}WebhookConfiguration objects.
+schemapatch[:generateEmbeddedObjectMeta=],manifests=[,maxDescLen=]                                                             package  patches existing CRDs with new schemata.
+rbac:roleName=                                                                                package  generates ClusterRole objects.
+object[:headerFile=][,year=]                                                                                package  generates code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
+crd[:allowDangerousTypes=][,crdVersions=<[]string>][,generateEmbeddedObjectMeta=][,ignoreUnexportedFields=][,maxDescLen=]  package  generates CustomResourceDefinition objects.
generic
+paths=<[]string>  package  represents paths and go-style path patterns to use as package roots.
output rules (optionally as output::...)
+output:artifacts[:code=],config=  package  outputs artifacts to different locations, depending on whether they're package-associated or not.
+output:dir=                               package  outputs each artifact to the given directory, regardless of if it's package-associated or not.
+output:none                                       package  skips outputting anything.
+output:stdout                                     package  outputs everything to standard-out, with no separation.
run controller-gen crd:crdVersions=v1 rbac:roleName=manager-role webhook paths=./... output:crd:artifacts:config=config/crd/bases -w to see all available markers, or controller-gen crd:crdVersions=v1 rbac:roleName=manager-role webhook paths=./... output:crd:artifacts:config=config/crd/bases -h for usage
gmake: *** [Makefile:62: manifests] Error 1`

Current workaround is to use "go mod tidy" before build.


Cant get bot to work?! PLS HELP

Charless-MBP:bot GavinMcWhirter$ node .module.js:130
throw e;    ^
SyntaxError: Error parsing /Users/GavinMcWhirter/Desktop/xcode/bot/package.json: Unexpected end of JSON
input
at JSON.parse ()
at readPackage (module.js:126:52)
at tryPackage (module.js:136:13)
at Function.Module._findPath (module.js:218:20)
at Function.Module._resolveFilename (module.js:545:25)
at Function.Module._load (module.js:474:25)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
Charless-MBP:bot GavinMcWhirter$

Hi,
It's hard to tell what's going on without seeing your package.json file. There's probably a syntax error. Try to lint your JSON file here.
Hope it helps!

Please use forum.vuejs.org


[NuGet.org Bug]: Add caniuse images via bitsofco.de to trusted image domains

Impact
It bothers me. A fix would be nice
Describe the bug
We are offering Blazor wrapper packages for different web APIs. There is a great service called caniuse.com that shows the availability of a particular API on different platforms. Ire Aderinokun offers a service that shows the caniuse.com status data and MDN compat data in a (static) image, e.g.:
https://caniuse.bitsofco.de/image/async-clipboard.png → https://res.cloudinary.com/ireaderinokun/image/upload/v1663850793397/caniuse-embed/all/async-clipboard.png

Thus, I'd like to suggest adding either caniuse.bitsofco.de or the resolved version res.cloudinary.com/ireaderinokun/*/caniuse-embed/all/*.png to the allowlist.
Repro Steps
Status image is currently not shown:

https://www.nuget.org/packages/Thinktecture.Blazor.AsyncClipboard
https://www.nuget.org/packages/Thinktecture.Blazor.WebShare

Expected Behavior
Status image is shown.
Screenshots
No response
Additional Context and logs
No response

@ireade Could you maybe add a privacy policy to caniuse.bitsofco.de? Or is there any existing policy already?

Hey @christianliebel , I've tried to put a privacy policy together. I used a free online generator, but hopefully it's sufficient, let me know what you think.
To summarise though, with the exception of google analytics on the main website (https://caniuse.bitsofco.de/), I don't collect or store any information. There isn't any analytics on the actual embed so I don't have any tracking on where it is used. I also don't have any tracking on the image URLs.

@ireade, let me know once you publish your privacy policy. I will continue to review again. thanks!

@ireade Looks good to me! Thank you!

@christianliebel great! this has now been published @lyndaidaii


Adding plugins to report payload

A plugin has a functionName, wouldn't just name be better for this purpose? That way it isn't confused with the lambda's functionName.
Also, thinking a version property for a plugin might be worth tracking.

 (5) Plugin usage/stats to intercom company attribute to be provided via payload

@kolanos we need to have a test that verifies the meta gets in the report from start to finish, adding the plugins to the report directly as a test only tests that the report can accept that argument. If you look at plugins.test L 130ish, you'll see expectations on the actual reports as we would receive them in kinesis. You can tack on more expectations in there I think. Also, I don't think we should execute the plugin with no arguments to get to the meta, like here
https://github.com/iopipe/iopipe/pull/172/commits/62e644290e0e0feaee386e7ade266b4a73d335f0#diff-0b4a2f6311b84ad265d80e971eba9bc6R51
This is the unknown path that I was worried about. We need to figure out a way to get to the meta without side effects. If plugins have to add extra data to the invocationInstance, and not their own class, then so be it. That might be the only way?
Obv we can discuss on call for brainstorming. Tuesday is best for me!

@coreylight I experimented with static methods to handle meta data on a plugin class, but those are not callable on an instance. I only instantiate the plugin if it is not already instantiated. Agree it is not ideal, but es6 classes don't yet support class bound properties, that's apparently still an experimental feature.

@coreylight I turned meta into a plugin method, which I think is cleaner.

@coreylight Ok, meta is now a getter.

Adding @ewindisch as final reviewer

@ewindisch You mean instead of dummy? I can change that, it's really ust a mock plugin, so maybe mock as a name?

yes for dummy... mock is fine by me!

@pselle @coreylight Think this is ready to merge.


lock down egress by default

Changelog

lock down ASG egress traffic to allow by default NTP, DNS, HTTP, and HTTPS

Issues fixed or closed
Questions (open the PR then click the check boxes)
Did you update the documentation related to your changes?

[x] Yes
[ ] My changes were not already documented

Did you run make before committing code and opening this PR?

[x] Yes
[ ] I didn't change any code

Did you run porter create-stack and porter sync-stack to verify provisioning
works?

[x] Yes
[ ] N/A

👍

:shipit:

👍


discussion test

discussin should be on board. agree?

Technical issues should be handled by the board.


How do I change the names to be "Crypto Thing #1" but the number aligns with the copy it is

In V3/V4, if you go to index.js, find the addMetadata constant and edit "name" to something like this (see bold):
const addMetadata = (_dna, _edition) => {
let dateTime = Date.now();
let tempMetadata = {
dna: _dna.join(""),
name: Crypto Thing #${_edition},
description: description,
image: ${baseImageUri}/${_edition}.png,
edition: _edition,
date: dateTime,
attributes: attributesList,
};
metadataList.push(tempMetadata);
attributesList = [];
};

Thanks for the response. How exactly do i access this text? I cant find it on the code. sorry im totally new to code lol

@thecryptobirdie which branch version are you on?
you can usually tell by looking at your root folder "generative-art-opensource-3"
should give you a version number or "main"

nevermind. i found out how to change it. thank you so much!!

one more question though: {"name":"LAVENDER"},{"name":"LIGHT BLUE"},{"name":"MAROON EYES"},{"name":"ORANGE BEAK"},{"name":"HEADPHONES"},{"name":"NONE"}]}
Im making bird nft's and im wondering if i upload them to Opensea from here, will they all fall under a "name" category? how to I make it individual cateories like eyes: Maroon eyes or beak: Orange beak

or in general, what do most creators do? what would you recommend i do?

so you're wanting traits, correct? I suggest downloading the V3 branch as the traits are already in the config.js.
Hashlips (the creator of this project) has a few tutorials on adding traits for the metadata/opensea

it may be alright. so if it says {"name":"LAVENDER"},{"name":"LIGHT BLUE"},{"name":"MAROON EYES"},{"name":"ORANGE BEAK"},{"name":"HEADPHONES"},{"name":"NONE"}]}, in opensea the "name" wouldnt show? it would say Attributes: ORANGE BEAK and Attributes: HEADPHONES

So in theory you should have something like this. This would be the BACKGROUND attribute, and then I have several different backgrounds with different names. so in Opensea, it would show 'Background: Blue" or something. It would be the same with other attributes like eyes and beak.
name: "Background",
elements: [
{
id: 0,
name: "Blue",
path: ${dir}/Background/bg_1.png,
weight: 60,
},
{
id: 1,
name: "Yellow",
path: ${dir}/Background/bg_2.png,
weight: 20,
},
{
id: 2,
name: "Green",
path: ${dir}/Background/bg_3.png,
weight: 20,
},

if I decided to stick with just one overarching thing, looking at my lines of code that i sent, the blue would say Attributes and the black would say ORANGE BEAK and everything else?

but if I were to go with what you said, where would I paste it, and what would i have to change/enter for each attribute?

There is a trait type solution in #19 i believe ponda fixed it

Perfect. thank you!!


Better fix for menus..

After a bit more investigation, the DisableNativeMenus does actually help a little here as it doesn't set the menu for each window.  As long as you don't want native menus for your Avalonia windows this might work well for you.
Cheers!

This is fantastic, it works! Thanks a lot @cwensley 🥳😍

var rhinoDelegate = MacOSHelpers.AppDelegate;

appBuilder = BuildAvaloniaApp().SetupWithoutStarting();

MacOSHelpers.AppDelegate = rhinoDelegate;

from testing only these lines are needed for the fix.
I tried to make an option in Avalonia to not use a delegate at all, but it seems mac os provides one by default.
So we would have to add an api for you to pass in an existing delegate.
This work around seems suitable.
Regarding unknown consequences:

loose ability to handle urls
some issues with shutdown and window closing, since yours is single window its probably not an issue.

https://github.com/AvaloniaUI/Avalonia/blob/master/native/Avalonia.Native/src/OSX/app.mm
can be reviewed here.

Thanks @danwalmsley ! I'll test these asap as well

Hey @cwensley, any idea on what submenu items we should add to also fix the Grasshopper "Quit" menu? 😅
https://github.com/specklesystems/speckle-sharp/issues/1801


Privacy policy?

What is your privacy policy? From the start your app requires a connection to google for fonts. Do you send or collect any information? Does the face detection send data to the cloud to be processed?

Hi @friendlytherapist
MoviePrint does not collect any data. The fact that it connects to fonts.googleapis.com is correct. This comes from a dependency to semantic ui a ui framework. But that should be the only communication with the outside world. All work including detection is done in app.
Hope that answers your question.

Hi @friendlytherapist
MoviePrint does not collect any data. The fact that it connects to fonts.googleapis.com is correct. This comes from a dependency to semantic ui a ui framework. But that should be the only communication with the outside world. All work including detection is done in app.
Hope that answers your question.

Thanks, maybe consider adding this to the readme?

Thanks, maybe consider adding this to the readme?

Good idea, I have added it to the readme section.

Good idea, I have added it to the readme section.


call the layout once with all the frame indices

implements my comment https://github.com/observablehq/plot/pull/648#issuecomment-1022492736
The layout is called once, with an index that is an array of arrays, one for each facet.
this addresses two concerns:

makes it possible to create "smarter" layouts that can work on either the elements of each facet or the whole set of elements
performance (memory allocation is done once for all the facets)

the cost is a slightly more complex function to write, because it needs to iterate on the arrays in index; but this is consistent with what we do in transforms.

As you point out, there is a cost to doing this: an increase in the complexity of every layout. Therefore we should be confident that the added expressiveness (or performance) is worth the added complexity. In the case of transforms, we knew that transforms had to be facet-aware e.g. so that the same set of bins would be used across facets. It is not clear to me that the same is true of layouts: none of the current or proposed layouts appear to require knowledge of facets. Also it is not clear that the performance cost of the current approach is appreciable.
Even if we want facet-aware layouts in the future, it seems likely that this will be the less common case. So there is likely a way we could design that is backwards-compatible where some layouts could opt-in to the added complexity of facets when needed, letting most layouts remain simple.


Added a configurable timeout value for the StatsD Client

This PR adds a configurable timeout to prevent long delays when attempting to open the socket connection. If not specified, it will default to the default_socket_timeout setting in php.ini, which is the normal behavior if no $timeout is passed to fsockopen(...).
Note that while I've added tests for this, it's not possible to test that the $timeout value is actually being passed to fsockopen unless:
(a) the League\StatsD\Test namespace is changed to League\StatsD, which will allow me to use the "namespace global function hack" to verify that fsockopen was called with the correct timeout, or (b) Travis needs to install the uopz Pecl module in order to "mock" the global fsockopen(...) function.
I'd be happy to send a PR if you wish to go either route, but otherwise, this PR covers all new lines of code.

Good work! Sorry for the delay. Hey @marcqualie whats up?

Thanks @philsturgeon
I don't have a PHP environment to test these pull requests ATM, I had planned to get around to them next week.
I've asked around for a new maintainer, is there a mailing list for these kind of things?

Yessir, throw a message up here:
https://groups.google.com/forum/#!forum/thephpleague
We’ll get somebody to take it off your hands :)
--
Phil
From: Marc Qualie<EMAIL_ADDRESS>Reply: thephpleague/statsd<EMAIL_ADDRESS>Date: March 19, 2015 at 1:29:01 PM
To: thephpleague/statsd<EMAIL_ADDRESS>Cc: Phil Sturgeon<EMAIL_ADDRESS>Subject:  Re: [statsd] Added a configurable timeout value for the StatsD Client (#17)
Thanks @philsturgeon
I don't have a PHP environment to test these pull requests ATM, I had planned to get around to them next week.
I've asked around for a new maintainer, is there a mailing list for these kind of things?
—
Reply to this email directly or view it on GitHub.

Thanks for the merge!


Kanban board for our capstone project

Link to the GitHub project: https://github.com/AmineDerbal/capstone-project-2 👍
Link to the Kanban board: https://github.com/AmineDerbal/capstone-project-2/projects/2 👍
There are two collaborators in this project: @AmineDerbal @QueenterJuma
Student A => Amine, Student B => Juma

Changes Required 👍
Hi @AmineDerbal ,

Indeed you did an exceptional but still, there is room for changes to complete this project. 💯

To highlight 🎯

Link to the GitHub issue that has a link to the GitHub project ✔
Information about the number of people in the group ✔
Descriptive issue. ✔

Required Changes ♻

Check the comments below to have a look at the required changes.

All cards need to be assigned to team members. You will have a circle with the user's avatar on each card. Please consider assigning it in accordance with the project requirements.

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

This is My GitHub:
This is My Linkedin:
This is My Twitter:

Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

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

Assign team members to All Tasks

Changes Required ♻
Hi @AmineDerbal and @QueenterJuma,
Nice job, you are almost there.

(Changes Required) Aspects to improve: ♻

[ ] All kanban cards should be assigned as mentioned by the previous reviewer unfortunately you missed one card, Please assign both of you to the group task card shown in the image below.

[Optional] suggestions:

Nothing to mention.

Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear, and please remember to tag me in your question so I can receive the notification**
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

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

Approved ✔
Hi @AmineDerbal and @QueenterJuma,
Great job, Your project is complete!  There is nothing else to say other than... it's time to close this issue and start working on the project :shipit:
GOOD LUCK 🤞

(Changes Required) Aspects to improve: ♻

N/A

[Optional] suggestions:

N/A

Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
**Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear, and please remember to tag me in your question so I can receive the notification**
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

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


Internationalise requirement metadata labels

Need:

Obligation
Subject
Inherit (or Inherits From or Dependency)

@ronaldtse Please provide Mandarin

Is this for ITU or GB?

义务
主体
继承 （继承自 / 依属关系）

It's the generic code about requirements, so it's intended for both GB and ITU, unless there's an override.
Thanks; I'll go for "inherits from", 继承自


SQL Injection Vulnerability

Describe the bug
SQL injection is a type of cybersecurity attack that targets databases through maliciously crafted SQL (Structured Query Language) statements. SQL injection occurs when an attacker inserts or "injects" malicious SQL code into input fields of a web application, exploiting vulnerabilities in the application's software that inadequately validate or sanitize user input.

https://github.com/logspace-ai/langflow/blob/dev/src/backend/base/langflow/services/monitor/utils.py#L97
https://github.com/logspace-ai/langflow/blob/dev/src/backend/base/langflow/services/monitor/utils.py#L17
https://github.com/logspace-ai/langflow/blob/dev/src/backend/base/langflow/services/monitor/utils.py#L63
https://github.com/logspace-ai/langflow/blob/dev/src/backend/base/langflow/services/monitor/utils.py#L67

Remediation
To prevent SQL injection attacks, developers should use parameterized queries or prepared statements with bound parameters, which separate SQL code from user input, thereby preventing malicious code injection.

Hi @ogabrielluiz ,
Thank you for your response and detailed explanation 🙏

You are welcome! I'll close this issue now.
Please, let us know if you find any other vulnerabilities!


create dynamic keyboard from table on database

I have a question or need help
Please DO NOT post it! We don't provide support in GitHub issues any more.
We would be happy if you join our group chat on Telegram  and ask the community to help.

If you open an issue asking for support, the issue would be closed without providing any answer.

hi
i want to create dynamic keyboard from a table on my database.
please help me to cod it.
thank you


Can not find lib/style.css.

I used DatePickerInput component since 2 month ago.
but my colleague did "npm update" today and then React project can not find <lib/style.css> now.
It make that DatePickerInput component doesn't look like before. After that, All of datepicker component style is native.
Also I already added <styles.js> in root folder but it's not work well.
How to apply default style of component now?

Hi @novemberde, thanks for pointing this out!
Looks like v5.0.2 somehow introduced this regression.
I just published v5.0.3 which should fix it (lib/style.css should be there)
Let me know if it works for you


Enable usage of GenericHWInterfaces inside a combined_robot_hw

This creates an adapter class for GenericHWInterfaces which allows usage inside a combined_robot_hw. This adapter is then used to export SimHWInterface.
For demonstration, an additional rrbot demo is created. While creating this, some restructuring of rrbot_control was needed, which should reflect its function more clearly.
This starts as a draft, as i want to add more documentation and explore the possibility of a "generic" combined_robot_hw_runner node (or similar) in ros_control_boilerplate.
Fixes #34. Continuation of #42.

There were two issues from the discussion in #42 remaining:

Empty controller list: @Tuebel after reading about this again i am not quite sure i understand exactly where you still get the empty controller list. In which functions do you see this empty list? In the doSwitch() function?
As for the namespacing: I agree that this is inconsistent between the direct usage of a GenericHWInterface and usage inside a combined_robot_hw, but i don't think there is any way to fix this without a breaking change for most setups. Some of the uncertainty around this might stem in an error of mine in  therrbot_control config files (some of the settings for the simple GenericHWInterface case were loaded even in the combined_robot_hw case), i tried to remedy this in the restructuring of rrbot_control config files. Could you try if a similar structure works for you? I don't think there is any need for absolute paths in this use case.

I see the empty start_list in both functions: prepareSwitch and doSwitch.
Yes, this structure works for me. Right now, I use the same name for the robot_hardware parameter and the namespace of robot_nh in the standalone node. This way, one config file works for both the standalone and combined hardware.

I just added some small debug output to these functions in SimHWInterface and could reproduce this issue with the upstream ros_control package. Running roslaunch ros_control_boilerplate rrbot_combined_simulation.launch yielded:
[...]
Loaded 'joint_state_controller'
Loaded 'position_trajectory_controller'
[ INFO] [1607972663.230785821]: prepareSwitch (nh: /rrbot/rrbot_combined_hardware_interface/joint_1_hw):
[ INFO] [1607972663.230828164]: prepareSwitch (nh: /rrbot/rrbot_combined_hardware_interface/joint_2_hw):
[ INFO] [1607972663.234206317]: doSwitch (nh: /rrbot/rrbot_combined_hardware_interface/joint_1_hw):
[ INFO] [1607972663.234236261]: doSwitch (nh: /rrbot/rrbot_combined_hardware_interface/joint_2_hw):
Started ['joint_state_controller'] successfully
[ INFO] [1607972663.237278510]: prepareSwitch (nh: /rrbot/rrbot_combined_hardware_interface/joint_1_hw):
[ INFO] [1607972663.237313109]: prepareSwitch (nh: /rrbot/rrbot_combined_hardware_interface/joint_2_hw):
[ INFO] [1607972663.237519892]: doSwitch (nh: /rrbot/rrbot_combined_hardware_interface/joint_1_hw):
[ INFO] [1607972663.237551139]: doSwitch (nh: /rrbot/rrbot_combined_hardware_interface/joint_2_hw):
Started ['position_trajectory_controller'] successfully
[...]

, but building ros_control from source (either melodic-devel or noetic-devel works correctly:
[...]
Loaded 'joint_state_controller'
Loaded 'position_trajectory_controller'
[ INFO] [1607972580.227317489]: prepareSwitch (nh: /rrbot/rrbot_combined_hardware_interface/joint_1_hw):
[ INFO] [1607972580.227387877]: prepareSwitch (nh: /rrbot/rrbot_combined_hardware_interface/joint_2_hw):
[ INFO] [1607972580.230209118]: doSwitch (nh: /rrbot/rrbot_combined_hardware_interface/joint_1_hw):
[ INFO] [1607972580.230268160]: doSwitch (nh: /rrbot/rrbot_combined_hardware_interface/joint_2_hw):
Started ['joint_state_controller'] successfully
[ INFO] [1607972580.234556711]: prepareSwitch (nh: /rrbot/rrbot_combined_hardware_interface/joint_1_hw):
[ INFO] [1607972580.234610032]:   + position_trajectory_controller
[ INFO] [1607972580.234680437]: prepareSwitch (nh: /rrbot/rrbot_combined_hardware_interface/joint_2_hw):
[ INFO] [1607972580.234709043]:   + position_trajectory_controller
[ INFO] [1607972580.236852555]: doSwitch (nh: /rrbot/rrbot_combined_hardware_interface/joint_1_hw):
[ INFO] [1607972580.236889973]:   + position_trajectory_controller
[ INFO] [1607972580.236938568]: doSwitch (nh: /rrbot/rrbot_combined_hardware_interface/joint_2_hw):
[ INFO] [1607972580.236963784]:   + position_trajectory_controller
Started ['position_trajectory_controller'] successfully
[...]

can you verify again that

your prepareSwitch and doSwitch gets called
the lists are empty
You are on either melodic-devel or noetic-devel of ros_control

I don't doubt you did this correctly, i am just really confused as to what else could cause this problem.
If this problem persists, there should be a workaround: Changing the registerInterfaceManager call in CominableGenericHW<...>::init with these calls
registerInterface(adapted_hw_interface_->get<hardware_interface::JointStateInterface>());
registerInterface(adapted_hw_interface_->get<hardware_interface::PositionJointInterface>());
registerInterface(adapted_hw_interface_->get<hardware_interface::VelocityJointInterface>());
registerInterface(adapted_hw_interface_->get<hardware_interface::EffortJointInterface>());

does this work for you?
As for the naming: That's kind of clever, i might just steal that in future projects...

Maybe there is a bit of an misunderstanding here as my results are similar to yours. The funcitons prepareSwitch and doSwitch get called with a non-empty start_list but then again with an empty list. This seems to depend on the order in which the controllers are loaded. For the following results I have checked out this pull request, ros_control noetic-devel and launched the rrbot_combined_simulation.launch. I did add the logging.
<node name="ros_control_controller_manager" pkg="controller_manager" type="controller_manager" respawn="false" output="screen"
args="spawn position_trajectory_controller joint_state_controller" />

Gives:
Loaded 'position_trajectory_controller'
Loaded 'joint_state_controller'
[ INFO] [1608049123.583915146]: prepareSwitch start_list size: 1
[ INFO] [1608049123.584019505]: prepareSwitch start_list size: 0
[ INFO] [1608049123.584666694]: doSwitch start_list size: 1
[ INFO] [1608049123.584742755]: doSwitch start_list size: 0
Started ['position_trajectory_controller'] successfully
[ INFO] [1608049123.592145302]: prepareSwitch start_list size: 0
[ INFO] [1608049123.592213115]: prepareSwitch start_list size: 0
[ INFO] [1608049123.594641366]: doSwitch start_list size: 0
[ INFO] [1608049123.594706177]: doSwitch start_list size: 0
Started ['joint_state_controller'] successfully

Swapping the order as:
<node name="ros_control_controller_manager" pkg="controller_manager" type="controller_manager" respawn="false" output="screen"
args="spawn joint_state_controller position_trajectory_controller" />

leads to:
Loaded 'joint_state_controller'
Loaded 'position_trajectory_controller'
[ INFO] [1608049530.806072379]: prepareSwitch start_list size: 0
[ INFO] [1608049530.806140649]: prepareSwitch start_list size: 0
[ INFO] [1608049530.809190649]: doSwitch start_list size: 0
[ INFO] [1608049530.809245116]: doSwitch start_list size: 0
Started ['joint_state_controller'] successfully
[ INFO] [1608049530.812512765]: prepareSwitch start_list size: 1
[ INFO] [1608049530.812562018]: prepareSwitch start_list size: 0
[ INFO] [1608049530.815827487]: doSwitch start_list size: 1
[ INFO] [1608049530.815880670]: doSwitch start_list size: 0

In my setup I have stored the controller yamls separately for the robots. Thus, I multiple controllers instead of a single one. Splitting up the controller for the rrbot and spawning them via:
<node name="ros_control_controller_manager" pkg="controller_manager" type="controller_manager" respawn="false" output="screen"
args="spawn position_trajectory_controller_1 position_trajectory_controller_2 joint_state_controller" />

leads to:
Loaded 'position_trajectory_controller_1'
Loaded 'position_trajectory_controller_2'
Loaded 'joint_state_controller'
[ INFO] [1608049761.242010679]: prepareSwitch start_list size: 1
[ INFO] [1608049761.242089090]: prepareSwitch start_list size: 0
[ INFO] [1608049761.245403474]: doSwitch start_list size: 1
[ INFO] [1608049761.245460553]: doSwitch start_list size: 0
Started ['position_trajectory_controller_1'] successfully
[ INFO] [1608049761.250531467]: prepareSwitch start_list size: 0
[ INFO] [1608049761.250588287]: prepareSwitch start_list size: 1
[ INFO] [1608049761.251965187]: doSwitch start_list size: 0
[ INFO] [1608049761.252011527]: doSwitch start_list size: 1
Started ['position_trajectory_controller_2'] successfully
[ INFO] [1608049761.255328591]: prepareSwitch start_list size: 0
[ INFO] [1608049761.255378649]: prepareSwitch start_list size: 0
[ INFO] [1608049761.258653497]: doSwitch start_list size: 0
[ INFO] [1608049761.258698951]: doSwitch start_list size: 0
Started ['joint_state_controller'] successfully

Which is similar to what I got for my setup earlier.

Ah now i understand the problem. The specific issue we see in every example is that the starting procedure calls prepareSwitch()/doSwitch() with empty lists for joint_state_controller and otherwise correctly splits the lists between both hardware interfaces. I did not even think about this behavior, but the cause for this is actually an inconsistency in the combined_robot_hw implementation.
In both of these functions, combined_robot_hw tries to figure out which hardware interfaces get affected by a controller switch. For this it looks at the list of claimed resources (mostly = joints) by the processed controller (a controller typically claims a resource if it wants to move it, this prevents multiple controllers from trying to move a joint at the same time). In your last example the controllers claim:

position_trajectory_controller_1 and position_trajectory_controller_2 both claim one joint each. You can see the result of this: Both hardware interfaces receive a call for each starting controller, but only the hardware interface actually "owning" the particular joint sees the controller in its start_list.
joint_state_controller does not attempt to control any joint, as it only reads and publishes the joint states. This is why it does not claim any resources and combined_robot_hw doesn't think any hardware interface needs to get notified about it getting loaded.

This is obviously inconsistent with the normal behavior, as a controller_manager doesn't do any of this filtering. I never realized this was actually inconsistent, as i only ever saw usage of these functions to check e.g. if the robot needs to change any internal state when moving from e.g. position-based goals to velocity-based goals (this always worked, as only controllers that would claim resources were relevant in these cases).
I will open an issue in ros_control about this, but don't know if there is any reasonable change that could be made to fix this - Not doing the filtering at all would probably break some existing code that just checked the type of interfaces affected and changing the behavior of controller_manager would probably be equally problematic.
In any case, i don't think this issue should block further development/merging of this feature, as the issue is in combined_robot_hw itself and not this specific implementation. You mentioned that you can just ignore this case - Is this procedure okay for you?

Well i huddled up some of the specifics in the explanation: The controllers get handles to interfaces that claim resources (position_trajectory_controller_X gets a handle from a PositionJointInterface which is claiming, while joint_state_controller only gets handles from a JointStateInterface, which is not claining). But the basic idea of controllers not claiming resources getting ignored in the start/stop lists should be correct.

Thanks for the explanation, now I understand the underlying issue.
For me it is totally fine to proceed with this feature as the empty start_list is easy to ignore. I also don't see how the empty lists would harm anyone else when iterating through it. More problematic would have been if an incorrect list was passed to the functions.


Enable runc.v2 as the default runtime in test.

For https://github.com/containerd/cri/issues/1075.
/cc @crosbymichael @yujuhong
Use per-pod shim in the node e2e and cluster e2e test.
We should consider switching the default runtime in pkg/config/config.go, once the test result looks good.
Signed-off-by: Lantao Liu<EMAIL_ADDRESS>

LGTM


Add two remaining demos to Caikit/TGIS Quickstart

Remaining demos are:

Update runtime
Traffic splitting

Add those to documentation.

Related issue: https://github.com/opendatahub-io/caikit/issues/15

We will wait for direction from PM about desired features in KServe/Caikit/TGIS


More tests for information imbalance and density estimators

Proposed changes
I added two more tests.
@charliematteo please have a look at whether the kNN interpolator test makes sense to you!
Types of changes
What types of changes does your code introduce?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist
Put an x in the boxes that apply.

[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works

Thanks @charliematteo for your feedback, merging now


Update gen_requirements.py with new onnx things

Response to https://github.com/apache/tvm/pull/9519
cc @areusch

ping @areusch

poke  @areusch

I checked and onnxoptimizer publishes packages for python 3.6 to 3.9, so it looks safe to add this dependency.


Post import script seems not working at current head.

Hello.
I'm not sure but Post import script seems not working at current head.
even if most simple code like
tool
extends EditorScenePostImport
func post_import(_scene)
    print(_scene)

is not working.
I think this is happen after this commit.
#https://github.com/godotengine/godot/commit/2a7fdb23b3381900c3dd087f567e50d2d738c43a
My simple example code work as expected before this commit.
Please anyone confirm this?

I can confirm this. It throws  res://rigifyToGodot.gd:8 - Invalid get index '1' (on base: 'Array') error.

I'm almost sure I did test it with the return and it didn't work. The problem was either fixed or my testing scene was somehow bugged (but I saw users with this problem on Facebook). Anyway, post script import seems to be working fine in the current version (compiled from source today).

I tested this and it's working, the problem was the script above is laking :  at the end of the function, and error of script not being parsed properly was not shown as it should. Will fix the error reporting


Improve README with more instructions in how to work locally

Maybe it's just me, but I like to work locally and even push the changes to my local repo for future references.
I took some time to figure out how the dynamics of the project works. This is exactly what I did in my local environment:

clone the project
cargo check (success)
I fixed the variables1.rs and I was thinking "hum...ok, how can I just this one?"
cargo run (success)
I checked the local changes and then realized that the README was different, I open the new link and realized that my change also opened in the editor. It was just then that I realized how it works.

The idea is to improve a little bit the instructions.

Hi @mrcosta! We're currently in the process of rewriting Rustlings, as can be seen in #80! The proposed version would work a lot like the one you found out here, but it's not quite done yet. I'll merge this in regardless since we still have the old one pointing here!


update notebook version

updates to the current release

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Thanks! The CI failed because it needed a re-render (#14). We're just about to release 4.3.1 (hopefully today) with some important fixes, so maybe we can wait for that?

Sure I can wait a few more days, then the recipe can also be rerendered.

Just released 4.3.1, if you want to rebase and update to that version.

rebased and updated to 4.3.1

Please also enable CircleCI on your fork.

@jakirkham How was the CircleCI build disabled here? The file for the build exists. If you are complaining that the CircleCi build doesn't happen on this PR and it has to do with the settings of this repository.

Please see issue ( https://github.com/conda-forge/status/issues/30 ) for details.

I've enabled circleCI

Thanks!


Quarkus 3 migration: Jobs Service

There are some issues on the Job Services that is blocking the migration to Quarkus 3.
The main issue is that Quarkus upgraded Mutiny to v2 which has moved from Reactive Streams API's to java Flow API's. Internally, the Job Service is using both Mutiny and Reactive Streams to interact with the different services and due to this version change there are some conflicts that need to be solved.
There are two options:

Migrate the all the Reactive Streams usages to Mutiny v2. The APIs aren't so different and the change should be easy to do but might imply a lot of changes and tests.
Use Mutiny Zero (link), which offers adapters types to convert from Mutiny to RS (and vice versa).

Due to the tight schedule, for simplicity we're going to go with #2 since this is also being used in different areas for this migration, but we should keep in mind option #1 for the future.

PR including the fix:

https://github.com/kiegroup/kogito-apps/pull/1707


Azure Stream Analytics -> Job Topology -> Functions does not provide an "Add" button as this document suggests

Instead, it gives a note that one must use Visual Studio to add them. Do I have to use Visual Studio?

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

ID: ede13241-47f5-e890-a4f9-7fa32d920994
Version Independent ID: fa82696c-229d-d951-1496-e4ee8b4f8ed5
Content: Tutorial: Azure Stream Analytics JavaScript user-defined functions
Content Source: articles/stream-analytics/stream-analytics-javascript-user-defined-functions.md
Service: stream-analytics
GitHub Login: @rodrigoamicrosoft
Microsoft Alias: rodrigoa

@hubez I'm able to see Add button as suggested in the document.
After creating Azure Stream Analytics => Go to Job Topology => Select Functions => Add => Javascript UDF => Enter Function alias => Enter function => Save.

If you still need any assistance, could you please provide the screenshot which says "must use Visual Studio to add them" to understand your issue and provide the solution accordingly.
Hope this helps.

@hubez is the Stream Analytics job configured to run in the cloud, or on the edge?

@hubez seems like this is a limitation of jobs configured to run on the edge.

@mamccrea Can you please check with the right folks, and adapt the doc to include the edge configuration.

@hubez - if you are developing an ASA job to run on Azure IoT Edge, then you can write your UDF in C# - https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-edge-csharp-udf

@hubez is the Stream Analytics job configured to run in the cloud, or on the edge?

Hi @JasonWHowell it is an Edge job. I didn't realize this workflow forks from ASA in Cloud. I'll remember this.

@hubez - if you are developing an ASA job to run on Azure IoT Edge, then you can write your UDF in C# - https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-edge-csharp-udf

Thanks for the link @sidramadoss, didn't realize we're limited to C# in Visual Studio for now. Still, ooph! I'm having trouble getting a line-of-sight on how I'm going to be able to piece ASA Edge into a CI/CD build process.

if you have questions about CI/CD or run into issues, please ping us: askasa [at] microsoft [dot] com

@hubez we'll add a caveat to the doc to make it clear. Thanks for the good questions and feedback. ~Jason
#please-close


Chem: "Use as Substructure Filter" action for molecules

Requires Datagrok v1.02 and Chem v0.52
This is how it's done:
https://github.com/datagrok-ai/public/blob/master/help/develop/how-to/context-actions.md


fast_align

hello, would you offer the code for the aligner definded in the mapping.py :
aligner = '~/fast_align/build/fast_align'
Thanks.

FastAlign is available at https://github.com/clab/fast_align. You can build that toolkit to get the binary file.


For github organization, people page is not responsive for small screens

Current Condition

The bug is on the organization people webpage, not properly handled for the small screens.
urlType: https://github.com/orgs/{organization_name}/people
urlExample: https://github.com/orgs/github/people
Solution
Probably have to fix some HTML and CSS.

👋 @shaykhsiddique I'm sorry, we only take care of docs.github.com in this repo 💖 You can let the wonderful folks in support know about the bug you've found though!


Added Ring Highlighting For Vim !!

Hello Mr.Mahmoud , new editor joined our editors family , it's " Vim " .
I have added Ring highlighting for vim , we can now use it simply !!

Thanks for your contribution

Hello Omar
The image is removed
It contains multiple syntax errors
In Ring we use (endif), (endfunction) as one keyword
Also, we use (=) instead of (==) to test the variable value
Thanks

Hi , well I used Gemini Ai for this code , as I think it makes mistakes like chat gpt (It gives me unknown keyword before on JS)
I think Ai isn't yet can be used for development

Hello
You will find a lot of samples in this folder: https://github.com/ring-lang/ring/tree/master/samples
You can use any of them in the screen shot


Error: "undefined is not an object (evaluating 'self.domPositions[elemId].isMap = true')" v2.3.6

I'm submitting a ...  (check one with "x")

[ ] question
[x] any problem or bug report
[ ] feature request

If you choose 'problem or bug report', please select OS:  (check one with "x")

[ ] Android
[x] iOS

cordova information:  (run $> cordova plugin list)
com.googlemaps.ios 2.6.0 "Google Maps SDK for iOS"
cordova-plugin-googlemaps 2.3.6 "cordova-plugin-googlemaps"

If you use @ionic-native/google-maps, please tell the package.json (only @ionic-native/core and @ionic-native/google-maps are fine mostly)
"@ionic-native/core": "4.6.0",
"cordova-plugin-googlemaps": "^2.3.6",

When it's called "GoogleMaps.create" it throw this error
this.map = GoogleMaps.create(this.mapsWrapper.nativeElement);

Please share your project files on GitHub.

Ok I found the problem. Before the "map_ready" event, I set visibility: hidden; to the "div" element. This triggered the error ...

Congrats to resolve the problem.


Taxon constraint:  isoprenoid pathways

Please provide as much information as you can:

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5031371/

GO term ID label:

Request to add a taxon constraint:

**only in taxon: **

**never in taxon: **

Request to remove a taxon constraint:
Please specify

Supporting evidence if available (e.g PMID):

Thanks, GO:1902767 is an incorrect annotation in EcoCyc and I've removed it
Amanda

From: Val Wood @.>
Sent: Friday, 12 July 2024 11:53 PM
To: geneontology/go-ontology @.>
Cc: Amanda Mackie @.>; Mention @.>
Subject: Re: [geneontology/go-ontology] Taxon constraint: isoprenoid pathways (Issue #27778)
Closed #27778https://github.com/geneontology/go-ontology/issues/27778 as completed.
—
Reply to this email directly, view it on GitHubhttps://github.com/geneontology/go-ontology/issues/27778#event-13487716257, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AELYAGQAM6M23TSCBMLAJKDZL7NVBAVCNFSM6AAAAABG7YXXISVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGQ4DONZRGYZDKNY.
You are receiving this because you were mentioned.Message ID: @.***>


Sync contact form with Syna's

This PR does the following:

Add captcha
Add netlify form submission support

\o/
/LGTM


Phoenix column encoding

If a table is created with using Phoenix CREATE TABLE, column names in hbase are encoded as byte values. How can I access them with shc? HBaseTableCatalog doesn't allow use byte as column name.
Sample of row:
\x87\xE1 column=0:\xF8, timestamp=1529048735742, value=\x80\x00

Convert all columns datatypes to string datatype

@vineelavelagapudi , please note, that I'm speaking about column names, not values. Phoenix has data storage optimization ("column  mapping" ), so column name in hbase table is encoded as one (or more) byte.

@vineelavelagapudi, you can create table in hbase (define CF) and then map Phoenix table on it.

Thanks you for suggestion. But actually I've just tried to know if the Connector supports column name encoding or not. Look like it dosn't... It whould be nice feature since "column mapping" affects performance and disk usage (https://issues.apache.org/jira/browse/PHOENIX-1598)..
Btw, it's possible just switched off the "column mapping" for table - COLUMN_ENCODED_BYTES = 0.


Fix heat transfer between overlapping heat sources.

Blending function of CSS shadow is not averaging as blurring applied but it is addition, so it creates exaggerated heat at overlapping area between two heat sources, even exceed the center of a heat source.
Heat transfer between sources should be gradually blend like normal color, RGB, then I made it on G channel and used Math.min() to make sure the edge still feathering to transparent.

I just made it on current code base. It should somehow solve the issue #186 and #223 .
To use it, add "absolute" property to configuration when creating HeatmapOverlay object
var heatmap = new HeatmapOverlay(map, { min:0, max:10, absolute:true });
This mode is not activated by default, and it might exhibit unexpectedly when using with useLocalExtrema: true.
I would call it "absolute mode" because it is intended for plotting absolute measured value like scatterplot. The points themselves are not actually heat sources but just heat sampling, so the more point existence in the same area won't increase heat density. Overlapping areas are just casual interpolation effect on top of plain scatterplot, not heat accumulation, so the overlapping area shouldn't have greater intensity than one of its measured points.
The technique I did was to separate face filling rendering on Red channel and silhouette edge rendering on Alpha channel.
Calculating the overlapping face filling area using ctx.globalCompositeOperation = 'lighten' can retain actual greater value no matter how many times it was overlapped. The trick was to lighten composite using fully opaque color (unless it would use minimum value at the feathering edge), so it needs separated templates for each intensity value. Although it is not true interpolation, I would leave it as maximum biased.
The silhouette edge rendering remain the same, and may still be replaced by useGradientOpacity: true . I just renamed variables from shadowXxx to edgeXxx to be consistent with faceXxx .
I have to mention that this library is only the one I have seen so far that can work on absolute values rather than relative fashion. I mean the case when points aren't overlapped, the color tone depends on the actual provided value, unlike others (e.g. Google's Heatmap Layer) those will always visualize both extreme red and green for remaining points on current viewport regardless of global value range.

Hi,
I've just downloaded versin from this branch and while using abosolute=true have maximum not average as on screenshoot.

Hi Woracheth,
I downloaded this version and I added it to my leaflet project but I haven't seen any difference at all (i used patrick's version before).
Does this fix work with leaflet or do i need to install something else?
Thank you

Hi @ErikaHD ,
Sorry if you downloaded from Woracheth/heatmap.js/build/heatmap.min.js.
It is not updated there because mine is still not official build and I want to avoid further merge conflicts.
You need to checkout the repository and build via grunt.
BTW, for your convenience, you can just use this file instead.
When you call heatmap via leaflet plugin, you must also pass absolute: true in the config object.
I didn't test on leaflet plugin, but it should work because I modified on the core heatmap, not particular plugin.
I'm not sure whether my version would solve exactly your problem. Your screenshot doesn't seem that you have exaggerated heat between points, unlike my initial problem.

Hi Worachetch,
Thank you for your quick reply. I am going to try this and let you know how it goes.
Thanks a million.

Great job @Woracheth
We are using the heatmap with around 70.000 points and after applying your changes in Mozilla FF and Edge we have issues with the performance (browser took lot of time to render the heatmap) , however in Chrome is working quite well. Do you have any idea what we can try to solve the performance issues?
Other than that the changes are doing the job ;)
Thanks

Hi,
I've just downloaded versin from this branch and while using abosolute=true have maximum not average as on screenshoot.
const cfg = {
absolute:true,
radius: .01,
minOpacity: .5,
maxOpacity: .5,
blur: 0,
...

Hey :D do you have the source code for me? i also need exactly the same thing

@MrTob on my fork

Hi @Woracheth,
I increased the radius level in the configuration and your file is working well. It is just doing what I need.
Thank you so much for your help. Your approach has helped me so much.
The heatmap is looking way better :-)

Hi @ErikaHD, do you have a demo of your display somewhere?
The temperature field looks good visually. I'm having some patchy display but that may be because my data have a log-normal distribution. Comparing with another continuous field, such as yours, would be useful. Thanks
I'm also using Leaflet v1.40, heatmap.js leaflet-heatmap.js - unsure if the latter two are the latest available version.
Thanks


Pagination

Issue number: #269
This PR does the following:

Updates Pagination to use sub components as children and props

Front End Review:

[ ] View the example in Storybook

@hokei That's a good suggestion—added!

@hokei that is a great suggestion... that for the life of me I can't figure out how to do.
I've mocked out an "it-should" statement and will file an issue if someone else wants to try and take that on (I suspect there are a number of people who would find such a thing quite easy).


Drag radiobutton with forceFallback

When forceFallback is true and dragable element has radio buttons, checked status of radio button is disappears

Try dev-branch, perhaps the problem has been solved;
Use the search, maybe already have an answer;
If not found, create example on jsbin.com (draft) and describe the problem.

I have the same issue and in some scenarios even with forceFallback set to false.
Event though I couldn't reproduce this second case on JSBin, I did add a test case to show the problem with forceFallback set to true.
http://jsbin.com/vupoya/edit?js,output
Just try sorting any item with radio buttons and also try adding new ones through the button.

Fixed: https://github.com/RubaXa/Sortable/commit/3e562a85fae39298be44d4a98dac1f7a853228a1


Show what changed when updating

It would be nice to see what packages were added / removed / updated when running scoop update

Scoop updates itself via git pull, so the only info it could show is the output from git.

Should be able to parse the output of git diff
λ git fetch
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 4 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (4/4), done.
From github.com:dsbert/git-pull-test
   92469a2..01a36c5  master     -> origin/master

λ git diff --name-status 92469a2..01a36c5
A       1.txt
M       2.txt
D       4.txt


The border disappears when the ViewController's view background is white

I know this is flat design like iOS.
But let's check out how Apple make a HUD.
There are some screens using HUD to indicate Loading in Apple Store.app
see the last tab: Cart

Now I have to use 0.9 in my App, I love the black style :-)


Improve Frontend Dockerfile

What would you like to share?
We should improve and rewrite frontend dockerfile to make the image smaller.
Additional information
You can take inspiration from tracker service.

Can you assign me?

Can you assign me?

Go for it champ!

Done https://github.com/origranot/reduced.to/pull/616


Icon request: pro.youngplatform.com

URL of the site or app
https://pro.youngplatform.com
Logo resources for the icon
https://storage.googleapis.com/young-documents/2019_Presskit_Smart.zip
Anything else?
Pro version of service/site YoungPlatform.

One icon for service is enough.


Fixing Codacy issues

Thanks @hkaiser for doing this!

@msimberg Please review, this is all I can stand doing in this direction for now ;-)

I have no idea why the Codacy errors show up now. All of them are bogus and I don't know how to disable them. Even more as  the analysis results shown for the commit itself are green: https://app.codacy.com/app/STEllAR-GROUP/hpx/commit?bid=13877137&cid=385608496

I have no idea why the Codacy errors show up now. All of them are bogus and I don't know how to disable them. Even more as the analysis results shown for the commit itself are green: https://app.codacy.com/app/STEllAR-GROUP/hpx/commit?bid=13877137&cid=385608496

Ahh, now it came to its senses. Please ignore my comment above.

@msimberg Please review, this is all I can stand doing in this direction for now ;-)

A little is better than nothing, and this is a lot. Thanks a lot!
We should also try the the check for explicit member initializers in clang-tidy now and see how much is left. I asked @aurianer to wait with it because there were so many warnings, but now that you've done the hard work...

@msimberg I think this is ready to go. I still don't understand why this shows the wrong Codacy results, though. The correct results are here: https://app.codacy.com/app/STEllAR-GROUP/hpx/pullRequest?prid=4008999.

@msimberg I think this is ready to go. I still don't understand why this shows the wrong Codacy results, though. The correct results are here: https://app.codacy.com/app/STEllAR-GROUP/hpx/pullRequest?prid=4008999.

I think I found the problem. We did have two independent webhooks registered for Codacy. I removed one of those, that should fix the problem in the future.


[ZCO-230] Provide different output styles

Right now, there's only the table style but it might be worthwhile to also provide a more traditional console log output style and/or CSV etc.
Should be configurable via a Settings view.
ZCO-230

Hi thanks for your plugin and it really saves my time.
And I am also +1 for different output styles. Especially my log outputs json with have lots of line breaks, which will break the table styles easy.
I think the most obvious way is just wrapping each result of each call of console.log using ```. Something like this is sufficient:
```
time: 2024-02-25T11:00:14.773Z
plugin:abc:114931:15
level: log
output: xxxxxxxxxx
```

```
time: 2024-02-25T11:00:14.773Z
plugin:abc:114931:15
level: log
output:  a json is here: {
  "aaa":"bbb",
  "ccc":"ddd"
}
```

@fyears Thanks for the suggestion. Quick question, how do you work with the log output? Do you get files from your users, or do you use it locally on your own log output?
I'm asking because I believe there are two ways to deal with the output:

You read it, i.e. "human consumption"
You feed it to a script, i.e. parsing by machine.

Logstravaganza was initially written for (1) but I've realized that having it output NDJSON (as an option) would be beneficial for (2).

Hi! I debug my plugin on ios and find your plugin very useful.
However, in my plugin I use lots of console.log(JSON.stringify(obj,null,2) so they will break the table generated by your plugin.

Got it, thank you!
I've played around with NDJSON (newline delimited JSON) which is great for streaming structured data to the terminal. Every line is a JSON object, so keeping an eye on new log entries from the terminal is easy:
tail -f output.ndjson | jq
That said, I've decided to add NDJSON logging for sure but I might add other formats, too!

so are you going to output ndjson files? i am concerned that whether it's directly readbale in obsidian...

Yes, I'll add them. My internal timeline got screwed over hard due to some emergencies related to my for-purchase apps. Since those are what keeps me afloat, they'll always have highest priority. 😉

i am concerned that whether it's directly readbale in obsidian..

They are. The user has to enable Settings → Files and links → Detect all file extensions to see them in the file explorer, however.

But are they readable in obsidian? or, say, need vacode to read?
I mean, the plugin is very useful on iOS where there is no console. I believe the generated note being directly readable (i.e. in markdown format) in Obsidian is greatly useful.

And would you like to accept pull requests? I could contribute to the project by adding even more output formats if you’d like.

No, it wouldn't be readable in Obsidian; I believe Obsidian simply hands it over to the OS, saying "deal with it, it's not one of mine". Here's a test file, simply drop it in your vault to test it out:
LOGGING-NOTE (Chonky-Boi).json
For this file, the extension would be .ndjson but GitHub doesn't know that extension and won't upload those files.

And would you like to accept pull requests? I could contribute to the project by adding even more output formats if you’d like.

Yes! But please let me implement the general settings & output format handling first. I have a rather clear idea of what it's going to look like, and have it sketched out already, but there's no code to show yet. Give me a few days, please. It's on my plate for this week!

OK!! I am looking forward to it! Thank you so much!

Work has begun. I'll keep you posted, @fyears :)

The 1.3 branch is my WIP. I've rewritten the whole plugin, basically. There's a new settings tab and a rather simple formatters system – basically, for each output format there's a little object, containing metadata and a formatting function. That function is called for every intercepted console message, and returns the new line to be written to the output file. Take a look.
I'll release that version before Tuesday, and then I'll be open to PR's ;)

Sure!

Implemented, will be rolled out in the upcoming v2.0.0.


Fix data loading for Berlin

Closes #2

I cannot really review this and since this is a hotfix I do not want to delay this :)


Show resource stats for limits too

In reality, resource utilization can be higher than the sum of the
requests of pods in the cluster. Especially for cluster operators who
want node stability, resource limits are much more relevant than
resource requests.
I tried to keep the output format relatively similar as before, though I
thought it might be good to be consistent with the term "CPU" instead of
"cores" and the capitalization "MEMORY" since that was used in one place
and it matches the capitalization of CPU, but that honestly matters
less than just adding output for limits.

I will change the tests if you OK the output format

Thank you for contributing to the project. I think limits are great add-on feature to have. I would tweak the output format.
This is inspired by linux df command where everything is clear at a glance. I'm suggesting to put percentage values in own columns for easier parsing in shell scripts.
Resource  Req  %Req  Lim  %Lim  Avail
CPU       8.5   42%   26   64%     20
Memory    49G   64%  51G   67%    76G

Avail available total resources in cluster
For the organization and header naming we could just use same output as kubectl describe node have for pods.
CPU Requests  CPU Limits  Memory Requests  Memory Limits

Any suggestions are welcome. Right now we're using human readable numbers so abbreviations are ok just like df -h command.
Abbreviated could look like this:
CPU Req  CPU Lim  Mem Req  Mem Lim

Skeleton for output is in more-columns branch. That branch also implements Free column which right now its only based on requests. Json output and tests will have to be fixed.

I think the changes on master are fine, I will rebase and follow your lead

@etopeter Please let me know what you think of the changes. I also updated the tests this time.

Wonderful! Thank you for this contribution.


MariaDB standard service name

What this PR does / why we need it: Use a standard service name for MariaDB master, that way other applications can use MariaDB with or without replication without any change in its configuration.

/ok-to-test
/lgtm


clean up geos-aero 4dvar ctest

goes with https://github.com/JCSDA-internal/fv3-jedi/pull/1143

If we still wan tot test PSEUDO we might want to keep those files. Or could we save the outputs of the fv3lm model and create another test with a dependency on the fv3lm one?


Coverage doesn't work under Python package

I am trying to set up code coverage in a Python package pyarrow that has Cython modules inside it. The modules compile fine, and the .cxx files do include __Pyx_TraceCall invocations.
However, when I run coverage report after running some tests, I get the following errors:
$ coverage report
_parquet.pyx   NoSource: No source for code: '/home/antoine/arrow/python/_parquet.pyx'.
Aborting report output, consider using -i.
array.pxi   NoSource: No source for code: '/home/antoine/arrow/python/array.pxi'.
Aborting report output, consider using -i.
lib.pxd   NoSource: No source for code: '/home/antoine/arrow/python/lib.pxd'.
Aborting report output, consider using -i.
lib.pyx   NoSource: No source for code: '/home/antoine/arrow/python/lib.pyx'.
Aborting report output, consider using -i.
memory.pxi   NoSource: No source for code: '/home/antoine/arrow/python/memory.pxi'.
Aborting report output, consider using -i.
plasma.pyx   NoSource: No source for code: '/home/antoine/arrow/python/plasma.pyx'.
Aborting report output, consider using -i.
public-api.pxi   NoSource: No source for code: '/home/antoine/arrow/python/public-api.pxi'.
Aborting report output, consider using -i.
scalar.pxi   NoSource: No source for code: '/home/antoine/arrow/python/scalar.pxi'.
Aborting report output, consider using -i.
serialization.pxi   NoSource: No source for code: '/home/antoine/arrow/python/serialization.pxi'.
Aborting report output, consider using -i.
stringsource   NoSource: No source for code: '/home/antoine/arrow/python/stringsource'.
Aborting report output, consider using -i.
types.pxi   NoSource: No source for code: '/home/antoine/arrow/python/types.pxi'.
Aborting report output, consider using -i.
Name                                    Stmts   Miss  Cover
-----------------------------------------------------------
pyarrow/__init__.py                        57     32    44%
pyarrow/compat.py                         102     60    41%
pyarrow/filesystem.py                     136     79    42%
pyarrow/hdfs.py                            57     36    37%
pyarrow/ipc.py                             35     18    49%
pyarrow/pandas_compat.py                  322    286    11%
pyarrow/parquet.py                        507    412    19%
pyarrow/serialization.py                   86     46    47%
pyarrow/tests/__init__.py                   0      0   100%
pyarrow/tests/conftest.py                  48     15    69%
pyarrow/tests/test_convert_builtin.py     464      2    99%
pyarrow/types.py                           83     36    57%
pyarrow/util.py                            12      2    83%
-----------------------------------------------------------
TOTAL                                    1909   1024    46%

Apparently Cython doesn't pass the right file path in the __Pyx_TraceCall calls: it only passes the bare filename (e.g. lib.pyx), not the file path from the package root (e.g. pyarrow/lib.pyx). The trace calls look like this:
  __Pyx_TraceCall("set_cpu_count", __pyx_f[6], 58, 0, __PYX_ERR(6, 58, __pyx_L1_error));

and the __pyx_f structure is as follows:
static const char *__pyx_f[] = {
  "error.pxi",
  "scalar.pxi",
  "array.pxi",
  "types.pxi",
  "io.pxi",
  "ipc.pxi",
  "lib.pyx",
  "memory.pxi",
  "stringsource",
  "lib.pxd",
  "builder.pxi",
  "table.pxi",
  "io-hdfs.pxi",
  "feather.pxi",
  "serialization.pxi",
  "benchmark.pxi",
  "public-api.pxi",
  "common.pxd",
  "type.pxd",
  "bool.pxd",
  "complex.pxd",
};

I looked for a Cython or coverage option to workaround this but I can't find any.

A hackish workaround is to run coverage from inside the package to help it find the Cython files. But now I hit into issue #1508 (i.e. NotPython: Couldn't parse '/home/antoine/arrow/python/pyarrow/lib.pyx' as Python source: 'invalid syntax').

Ok, it seems, this is down to the following assumption in Cython.Coverage, in _find_source_files:
# a module "pkg/mod.so" can have a source file "pkg/pkg.mod.c"

In our case, our C file is named pyarrow/lib.cxx, not pyarrow/pyarrow.lib.c[pp]...

I think this is similar to what I'm facing: https://github.com/cython/cython/issues/3636. Did you solve it in setup.py?