Fix scroll performance issues

This PR will fix some performance issues when scrolling on desktop. Not sure how you want to build the src files though, couldn't find a build script in this repo :/
Before

After

Holy shit, that's so much better.
Apparently, it's because page-hero is in position: fixed. If I put it in position: absolute, the issue is fixed. More info: https://benfrain.com/improving-css-performance-fixed-position-elements/
The build is the automatic GitHub pages generated with Jekyll on the gh-pages branch.

Aye, setting backface-visibility: hidden forces the element into it's own rendering layer, thus improving the scroll performance. I didn't know if there was a reason why you added position: fixed instead of position: absolute, so I didn't wanna change that :)

Yeah position: fixed makes the gradient as big as the viewport height. position: absolute makes the gradient as big as the page content (thus way bigger).


[FR] - make address build accept scripts

Internal/External
Internal   if an IOHK staff member.
Area
Token Locking    Related to Token Locking (Allegra).
Describe the feature you'd like
Currently, there's no way to generate a script address that isn't a payment only credential. That's currently done using cardano-cli address build-script.
Talking to ledger team, a script can be used as the payment credential, the stake credential or both, so my suggestion is we get rid of address build-script and add the additional --payment-script and --stake-script parameters to address build and have a requirement that you can only specify a --payment-script or a --payment-verification-key-file but not both and same rule for stake.
This is required for token locking to support continuing to stake to an address which is critical for catalyst fund4.
Example commands:
cardano-cli address build --payment-script foo.script --stake-script bar.script
cardano-cli address build --payment-verification-key-file foo.vkey --stake-script bar.script
cardano-cli address build --payment-script foo.script --stake-verification-key-file bar.vkey

Describe alternatives you've considered
Write my own code to generate an address. (we probably will in voting-tools, but would be good to have this ability in CLI as well and would make it possible for devops to test the feature prior to writing the code)
Additional context / screenshots
Add any other context or screenshots about the feature request here.

There's two sensible approaches:

keep the cli split between address build and address build-script, and extend address build-script to take the same flags as address build does for the stake reference part.
merge them together and allow either a key or script for the payment part, and either a key or script for the stake part.

I think overall 2 makes more sense since there's really 6 combinations:

Payment: either key or script.
Stake: either none, key or script.

Given that there's all possible combinations 2x3, then having it in a single command is probably simpler.


ENH: Add hooks useful for progress bars.

Closes #419. Needs tests.

Codecov Report

Merging #420 into master will decrease coverage by 0.08%.
The diff coverage is 84.61%.

@@            Coverage Diff             @@
##           master     #420      +/-   ##
==========================================
- Coverage   91.43%   91.34%   -0.09%
==========================================
  Files          48       48
  Lines        6551     6507      -44
==========================================
- Hits         5990     5944      -46
- Misses        561      563       +2

Impacted Files
Coverage Δ

ophyd/status.py
95.91% <84.61%> (-1.1%)
:arrow_down:

ophyd/pv_positioner.py
87.3% <0%> (-0.67%)
:arrow_down:

ophyd/epics_motor.py
91.12% <0%> (-0.54%)
:arrow_down:

ophyd/tests/test_epicsmotor.py
97.57% <0%> (-0.14%)
:arrow_down:

ophyd/tests/test_pvpositioner.py
98.87% <0%> (-0.12%)
:arrow_down:

ophyd/tests/test_areadetector.py
97.4% <0%> (-0.03%)
:arrow_down:

examples/signal.py
95.67% <0%> (-0.02%)
:arrow_down:

ophyd/tests/test_signal.py
98.6% <0%> (-0.02%)
:arrow_down:

ophyd/tests/test_quadem.py
100% <0%> (ø)
:arrow_up:

ophyd/areadetector/filestore_mixins.py
85.86% <0%> (+0.63%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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

Previously, status objects could launch a _timeout_thread, which polled at some appropriate interval to check whether the timeout had been exceeded. If the timeout was None, no thread was launched.
In this PR, status objects always launch a thread (rechristened the _heartbeat_thread) which polls a fixed interval (0.2 seconds) to notify any progress bars. It also checks the timeout, if applicable.
In [3]: m = EpicsMotor('XF:31IDA-OP{Tbl-Ax:X1}Mtr', name='m')

In [4]: s = m.set(5); s.watch(print)

In [5]: 0.04499999999999993
0.14500000000000002
0.2450000000000001
0.3500000000000001
0.5
0.6000000000000001
0.7000000000000002
0.8050000000000002
0.9050000000000002
0.9900000000000002
1.0
1.0
1.0
1.0

:disappointed: for threads.  I would rather subscribe to the proper thing (which is typically the default callback).  That way we get updates on the cadence of the underlying hardware.

Good point, not sure why I didn't think of that first. New commit does it with subscribe. Notice we don't get the string of 1.0s the end:
In [5]: s = m.set(1); s.watch(print)

In [6]: 0.02
0.09
0.19
0.29
0.39
0.5
0.6
0.7000000000000001
0.8
0.9
0.97
1.0
In [6]:


Binding to an Array in a repeat.for does not bind in a two-way direction

I read through the current open issues and can't see anything on this. I may have missed something or be making a silly mistake.
If I create a member property on the welcome.js view model like so;
dataArray = [ '111' , '222' , '333' ];
Then use a repeat.for in the welcome.html view;

     <input type='text' value.bind='da'>

The view is updated when attached, but any changes to the input box will not be reflected back to the dataArray. Binding with value.two-way makes no difference.
Here are the versions of Aurelia I'm testing with;
  "jspm": {
    "dependencies": {
      "aurelia-animator-css"<EMAIL_ADDRESS>      "aurelia-bootstrapper"<EMAIL_ADDRESS>      "aurelia-dependency-injection"<EMAIL_ADDRESS>      "aurelia-framework"<EMAIL_ADDRESS>      "aurelia-http-client"<EMAIL_ADDRESS>      "aurelia-router"<EMAIL_ADDRESS>      "bootstrap"<EMAIL_ADDRESS>      "core-js"<EMAIL_ADDRESS>      "css"<EMAIL_ADDRESS>      "font-awesome"<EMAIL_ADDRESS>    },

aurelia-binding is at 0.8.0

Interesting scenario- assigning a new value to the loop variable in a repeat.for will not have any impact on the array.
Consider a for-of loop in javascript:
for (da of dataArray) {
  da = 'something else';
}

Assigning da something else doesn't change the values in dataArray.  The same thing is happening in the repeat.for binding scenario.
Here's how you could modify your code to achieve the desired result:
export class App {
  dataArray = ['111', '222', '333'];

  // Following code is used to display the contents of the array for debugging purposes:
  debugString = '';
  constructor() {
    setInterval(() => this.debugString = JSON.stringify(this.dataArray), 500);
  }
}

<template>

${debugString}

    <input type="text" value.bind="$parent.dataArray[i]">

</template>

@jdanyow Nice work. Can you add this to a list of "How Tos" in the binding repo for our future docs. I think this is a good "recipe" type piece we would want to share in the future.

sure

@jdanyow Thanks Jeremy, nice one.

But what if you were observing the array in the data. It wouldn't update the template because dataArray.length doesn't change. See https://gist.run/?id=1f8eb3ee7a8e3772ab22ade6c719e30b

I've tried a combination of the two approaches and still no luck - but I'm not sure why https://gist.run/?id=fc06317dc6b9a8e099f7eecb25eb6d34

can someone tell me where the repeat.for docs are?
its not under http://aurelia.io/docs/binding - or at least i can't find it there

See if this helps: http://aurelia.io/docs/templating/basics#repeaters

Here's another resource: http://aurelia.io/docs/fundamentals/cheat-sheet#templating-view-resources

yes thanks i found that just after i posted it.
however in this section it does not mention the issue that this bug details - that is there is no example with repeat-for and inputs where two way binding is expected to just work
e.g. instead of

                      <input type="text" class="form-control" value.bind="$parent.arr[i]">

you must use

                      <input type="text" class="form-control" value.bind="$parent.arr[i]">

Any interest in submitting a PR to address the over-sight?

sure - you want it to go in the cheat sheet or the binding basics?

Let's put it in the repeaters section of the templating basics doc. Sounds good? https://github.com/aurelia/templating/blob/master/doc/article/en-US/templating-basics.md#repeaters

Hello,
The documentation is not completed. Check:
Two-way binding with arrays requires a special syntax due to the nature of the for-of loop in javascript. Do not use repeat.for="item of dataArray";doing so will result in one-way binding only - values typed into an input will not be bound back. Instead use the following syntax:

Range
We can also iterate over a numerical range:

${10-i}

The "following syntax" is missing.
I tried using
repeat.for = 'i of arr.length and does not work neither. The array is not updated in view.


Hamburger menu icon

Icon won't show up with latest Samsung Galaxy S6 stock browser.
Stock browser:
http://imgur.com/iJAdRNp
Chrome:
http://imgur.com/h68GU4i

This also seems to happen on the Galaxy S6

iirc this is due to our use of ligatures.
We should try updating the template code to not use menu for the content but the codepoint e5d2 value.
Assigning to @surma to peek at it more. They have done most of the work in Layout iirc and should have access to plenty of devices to test the fix against.

Will look at this once I am back in London :)

Thans I am going to be waiting for this, thanks for your help, very nice work.


Remove strict versioning from requirements.txt

Hi,
I noticed I'm unable to add this library to my project via pipenv due to 'incompatible versions in the resolved dependencies' pipenv error.
This happens because some library vendors sticks to strict versions in their requirements.txt file like this:
requests==2.12.4
robotframework==3.0.3

Therefore if one library needs requests==2.20.0 while another library needs requests==2.12.4 then pipenv would be unable to satisfy those conditions.
robotframework version is also could't be satisfied for my case as I'm using latest 3.1a2 version.
Could we have a more relaxed versions specification, like the next example?
requests>=2.12.4
robotframework>=3.0.3

Thanks guys for quick fixes!
The more improvements I can suggest are:

You specify python_version <= '2.7'. Does it means library can't be used with Python3? It conflicts with 'Programming Language :: Python :: 3.6',
You specified requests>=2.20.0 which is fine. Can it be lowered to requests>=2.12.4? Some other libraries I use required lower version of requests library so to improve compatibility it would be good to have a lower version constraint.
future==0.16.0 - can we also remove strict version specification here?

Hi!
Thank you for you suggestions.

The library can be used with Python 2.7 and Python 3.
python_version <= '2.7' means that package future==0.16.0 will be installed only when Python <= 2.7 is used. This package is not needed with Python 3.
It is recommended to use requests >= 2.20.0 because earlier versions have potential security vulnerability (more information).
We could remove strict version specification of future==0.16.0. But if the library used only with Python 3, there is no difference of how the version of this package specified.

Thanks for the clarification @aleskarovadi!
I did not know about environment markers before.
Agree, it make sense to use latest requests library.
Thanks.


FUNFUNZ-129: new file type and properties model typing

https://funfunz.atlassian.net/browse/FUNFUNZ-129?focusedCommentId=10035

sql-data-connector needs to be updated on this project before running the tests
(pending npm public of sql-data-connector)


GithubOrgReaderProcessor to support the GithubCredentialsProvider in the same way that the github processor does

The standard github processor supports configuring either a personal access token (PAT) or a github app to authenticate against the github APIs.
The GithubOrgReaderProcessor (aka github-org) only supports a PAT.
Feature Suggestion
It would be fantastic if the processor that handlers github-org locations could also support the ability to configure auth using a github app. See here https://backstage.io/docs/plugins/github-apps
Possible Implementation

Context
I am collecting members and teams data from github and also collecting catalog files from github into my backstage instance. Today I use a personal access token (PAT) from github to configure the authentication for both. There are many advantages to using a github app for authenticating with github. As such I would like to move to using a github app instead of a PAT. I can configure backstage to use a github app to collect catalog yaml files, however I cannot do the same for the github-org locations.

I implemented this support in a related feature PR: https://github.com/backstage/backstage/pull/5173
Depending on what feedback received there, it may be merged with the existing GithubOrgReaderProcessor to satisfy this request


language selection is not persistent after page reload

I'm submitting a ...  (check one with "x")
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ x] Bug report  <!-- Please check the repository for a similar issue or PR before submitting -->
[ ] Support request => <!-- Please check the repository for a similar issue or PR before submitting -->
[ ] Feature request
[ ] Documentation issue or request

Current behavior

When I select Turkish language using language menu, after page reload, this state is not saved. ie. it loads English content again.
Expected/desired behavior

Page should load with turkish content
Minimal reproduction of the problem with instructions

git clone this repo
run npm run serve:watch
go to localhost
select Turkish language from top toolbar right menu
Refresh the browser
English content loads after refresh instead of Turkish

Environment

Angular version: 4.4.1

Browser:

[x ] Chrome (desktop) version 60

@saravmajestic refreshing the browser actually causes loss of the state. As a result, the language gets reset.
I think you pointed out a good issue, added this to our to-do list. There're several possibilities how we can store this language value (ex: cookie, local-storage, or even on a file at server).


Suspend background windows to save memory

Is it possible to implement an option to be able to suspend background windows (that haven' t been used for 2 days) to save memory. Something like the Edge browser can do . Would be useful for people with a lot of system workspaces and windows open that might be used once a week, and put to some background system workspace most times.

This is best achieved in the runtime and not at the application level. Also, we already get this resource management for free from the various optimizations chromium and v8 does for background tabs, for ex:
https://blog.chromium.org/2021/03/advanced-memory-management-and-more.html
https://blog.chromium.org/2020/11/tab-throttling-and-more-performance.html
We have disabled the occlusion tracker on windows due to https://github.com/microsoft/vscode/issues/123257 but we are working to enable it back. There are places in the application code that can be adjusted to better work with visibility apis to conserve resources, any PR to fix that is welcome. But explicit option to suspend specific windows cannot be done without support from the runtime.


Replace Minikube and use the docker-machine Kubernetes

This replaces Minikube with the built in Kubernetes that is included with the desktop version of Docker.
To switch use this config.
kubectl config use-context docker-for-desktop
docker-machine create default
docker-machine env default

Don't think this is relevant anymore


PHP Dev App With Pinpoint APM

We have prepared the entire code and installged PHP agent outside the docker,
also configured the collector config file. with collector IP. and port for the application as per requirement, bust still just app shows not any kind of php app tracking.
How it could be track php app ?

Hello, @anilvaja
I think this issue can be posted https://github.com/naver/pinpoint-c-agent
which is the PHP-agent repository


Return volume details in attach_disk

Bosh attach-disk currently populates the attached disk's size as 1
Ref: https://github.com/cloudfoundry/bosh/issues/1900
Return volume details from attach disk so the persistent_disk can be populated with the actual values.

Closing this as this can be handled by bosh itself.


Test PR to test Netlify integration

Summary

Context

The one concern I have about moving the production environment to Netlify is that it will be tied to one person's account. The advantage of keeping prod in GitHub Pages, and still using Netlify for branch previews, is that the production isn't tied to a single account. I also think GitHub Pages is less temperamental about dependencies than is Netlify.
That said, Netlify is more intuitive, with more build feedback and checks. I think we should at the very least use Netlify for branch builds and previews, but I defer to @shannonmcharg on the bigger prod question.

@rentry I created a Netlify account with the<EMAIL_ADDRESS>email address, which several people have access to and this PR should get it setup in that account.

I have no idea what it means to have prod in one vs. the other.  My mail goal with Netlify is getting preview links, so non-developers can review changes before pushing.

@shannonmcharg Having production in Netlify will require making changes to your DNS records to point the domain to Netlify instead of GH Pages, but other than that, it shouldn't be much different.

I'm good with whatever @rentry and @dpulitano think is best.  Just let me know what you need me to do on my end.

Hi @shannonmcharg, to do this, you must add the following record to the DNS (including the trailing period):
www CNAME awesome-lamarr-6d076d.netlify.app.
Again, I'm pretty sure you won't experience downtime, but not positive :-| -- if there's an hour of day where you will see the least amount of traffic, I'd recommend changing it then
Let me know if you have any questions.. once it's finished I can verify all is well in Netlify

Also, I would recommend to take a copy of the current name server values just in case rolling back is necessary

Closing since we got Netlify setup completely.


scope predictive_load_disabled to the currently unscoped classes

@pschambacher
all other classes are fine to include/play with

:+1: on green


⚠ Bofrost.de has degraded performance

In aef0bfd, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 751 ms

Resolved: Bofrost.de performance has improved in 5d2580f after 16 minutes.


Support for Scala 2.13.0-RC2

Would be great!

Not sure why, but looks like only Play 2.8.0-M1 has been compiled to Scala 2.13.0.RC2 not not Play 2.7.2. I guess we will have to wait to them to release it. And probably target either RC3 or 2.13.0 directly depending on how fast they do it.

The RCs came a bit quick. Scala 2.13.0 has been published now, Akka and Play will follow as soon as Scalatest arrives.

This is done in 3.0.1 (except for play. play-json is ok).

Thank you!


Support AWS Config

This implements nuking AWS Config Rules, but excludes any generated internally by AWS that can't be removed. These generally are prefixed with aws-service-rule

Resolves https://github.com/gruntwork-io/cloud-nuke/issues/69

Thank you for your contribution, Erik!
The files are missing a config_test.go.  You can check out the aws/*_test.go for examples. We create these tests where we (1) create the resource, (2) delete it and (3) confirm that the resource is not there anymore.

Thanks again for your contribution! I wanted to let you know that we've now got support for AWS config recorders and rules in cloud-nuke as of https://github.com/gruntwork-io/cloud-nuke/pull/405
Therefore, I'm going to close out this PR.


Clarification on use of execution content in release 0.12.x

In ReadMe under Configuration section it states "If you plan to use futures of type scala.concurrent.Future[T] ... By default, we will use scala.concurrent.ExecutionContext.global. To specify a different ExecutionContext, in your Boot.boot invoke the apply method of net.liftmodules.ng.AngularExecutionContext...."
And under Change log 0.12.0 mention is made that "All implicit scala.concurrent.ExecutionContext parameters have been replaced by our own ExecutionContextProvider trait." and to use net.liftmodules.ng.AngularExecutionContext._ if not using lift-cluster.
Is first paragraph correct in that scala.concurrent.ExecutionContext is used by default and does this imply that for 0.12.x we must use net.liftmodules.ng.AngularExecutionContext(context) to set ec to net.liftmodules.ng.AngularExecutionContext provided ec instead boot.scala during setup?

Digging deeper it appears that net.liftmodules.ng.AngularExecutionContext is using scala.concurrent.ExecutionContext

Do you have the understanding you need now? In Boot you can specify the execution context provider you want to use, assuming the default scala.concurrent.ExecutionContext.global isn't what you want. Then anywhere you create a lift-ng service with method passing a Future, import net.liftmodules.ng.AngularExecutionContext._ rather than your usual ExecutionContext.

Thanks Joe, seeing the code cleared it up for me, what led to initial post was what I read as a contradiction in two sections of document.
Thanks for rapid response.


asdf mount wrong download path for Mac M1

Describe the bug

When I try to install the swag plugin using asdf in a version that has the binary available for ARM, the binary download path is set incorrectly.
Steps to reproduce

With an ARM architecture computer, run the following commands:

Add swag plugin: asdf plugin-add swag

Install the swag plugin: asdf install swag 1.8.12

And this will be the output:

mkdir: /Users/######/.asdf/downloads/swag/1.8.12: File exists
* Downloading swag release 1.8.12 from https://github.com/swaggo/swag/releases/download/v1.8.12/swag_1.8.12_Darwin_aarch64.tar.gz...
curl: (22) The requested URL returned error: 404
asdf-swag: Could not download https://github.com/swaggo/swag/releases/download/v1.8.12/swag_1.8.12_Darwin_aarch64.tar.gz

Expected behavior

The expectation was that the download path of the swag binary would be the following: https://github.com/swaggo/swag/releases/download/v1.8.12/swag_1.8.12_Darwin_arm64.tar.gz
and not: https://github.com/swaggo/swag/releases/download/v1.8.12/swag_1.8.12_Darwin_aarch64.tar.gz

@brunoxd13 Did you find a way to bypass the issue?

@jybp not yet

I've submitted a merge request for it and put it on my machine, using my branch, if you want it to work out you can try this also.
asdf plugin-add swag https://github.com/brunoxd13/asdf-swag.git
asdf install


Add ShuffleSort

Description
One of the most powerful sorting algorithm is the Shuffle sort algorithm.
It's written (as requested) in Java.
Time Complexity
My guess woud be: O(∞)

@all-contributors please add @Sematre  for code


Error generating gallery

Hi, I've got the following error when generating a gallery:
GENERATING GALLERY
/var/lib/gems/1.9.1/gems/wraith-2.8.0/lib/wraith/gallery.rb:68:in `+': can't convert nil into String (TypeError)
    from /var/lib/gems/1.9.1/gems/wraith-2.8.0/lib/wraith/gallery.rb:68:in `figure_out_url'
    from /var/lib/gems/1.9.1/gems/wraith-2.8.0/lib/wraith/gallery.rb:53:in `matcher'
    from /var/lib/gems/1.9.1/gems/wraith-2.8.0/lib/wraith/gallery.rb:39:in `block (2 levels) in match'
    from /var/lib/gems/1.9.1/gems/wraith-2.8.0/lib/wraith/gallery.rb:36:in `foreach'
    from /var/lib/gems/1.9.1/gems/wraith-2.8.0/lib/wraith/gallery.rb:36:in `block in match'
    from /var/lib/gems/1.9.1/gems/wraith-2.8.0/lib/wraith/gallery.rb:33:in `each'
    from /var/lib/gems/1.9.1/gems/wraith-2.8.0/lib/wraith/gallery.rb:33:in `match'
    from /var/lib/gems/1.9.1/gems/wraith-2.8.0/lib/wraith/gallery.rb:29:in `parse_directories'
    from /var/lib/gems/1.9.1/gems/wraith-2.8.0/lib/wraith/gallery.rb:139:in `generate_gallery'
    from /var/lib/gems/1.9.1/gems/wraith-2.8.0/lib/wraith/cli.rb:100:in `generate_gallery'
    from /var/lib/gems/1.9.1/gems/wraith-2.8.0/lib/wraith/cli.rb:112:in `capture'
    from /usr/lib/ruby/vendor_ruby/thor/command.rb:27:in `run'
    from /usr/lib/ruby/vendor_ruby/thor/invocation.rb:121:in `invoke_command'
    from /usr/lib/ruby/vendor_ruby/thor.rb:363:in `dispatch'
    from /usr/lib/ruby/vendor_ruby/thor/base.rb:440:in `start'
    from /var/lib/gems/1.9.1/gems/wraith-2.8.0/bin/wraith:5:in `<top (required)>'
    from /usr/local/bin/wraith:23:in `load'
    from /usr/local/bin/wraith:23:in `<main>'

With the following config file:
domains:
  test: "http://philsills.test"
  live: "http://www.philsills.co.uk"

paths:
  home: /
  drinks: /drinksphotography
  blog: /blog
  blog_article: /blog/the-hills-are-alive-with-bower-and-wilkins
  about_me: /about-me
  contact: /contact

fuzz: '20%'

threshold: 5

screen_widths:
  - 320
  - 600
  - 768
  - 1024
  - 1280

browser:
  phantomjs: "casperjs"

snap_file: "javascript/casper.js"

history_dir: 'shots_base'

directory: 'shots'

gallery:
  template: 'slideshow_template'
  thumb_width: 200
  thumb_height: 200

mode: alphanumeric

Additionally, this error crashes my Vagrant box and I have to reboot! Any ideas of what went wrong / how to fix it?

I'm seeing this error as well (though nothing as serious as a crashed box!)
I think this might be caused by a backwards-incompatible change in 4f82c063ff05c89402d43a084d775c2e439bae39
@ChrisBAshton has the format of path configs changed now? We have something like
paths:
  front_page_news: /news
  live_page_news: /news/uk-politics-17456712

But that code looks like it expects a path key like this, unless I'm reading it wrong?
paths:
  front_page_news:
    path: /news
  live_page_news:
    path: /news/uk-politics-17456712

That does appear to be the case -- changing the config to have path keys fixes the issue.
I think we should revert that change or at least perform a major version bump because there will be many configs in the wild which will break.

Great - cheers Joseph.


fix: localnet script

Description
Adds peg-multiplier when creating perp vpools.
Purpose
Fixes local testing

Added a fix for the CosmWasm E2E contract tests


Is there a way to set per setting permission?

I need to set permissions for several constance settings for different users, e.g:
CONSTANCE_CONFIG = OrderedDict([
    ('PARAM_1': ('something1', 'Param 1')),
    ('PARAM_2': ('something2', 'Param 2')),
    ('PARAM_3': ('something3', 'Param 3')),
    ('PARAM_4': ('something4', 'Param 4')),
])

I need to make user1 have access to PARAM_1 and PARAM_2, and user2 have access to PARAM_3 and PARAM_4
Both users are not superusers
Is there a way to do it?

There is not a way to do it.


Documentation available?

Hi @magnushiie,
I was wondering whether there is a documentation of how to use your component. I find the working example very interesting but have problems developing my own application as I am not using TypeScript. Therefore, I will appreciate it, if you can provide me with any documentation and help.
Thanks in advance,
Marius

Sorry, there is no documentation yet, the component is in really early stages still.
The fact that it is written in TypeScript shouldn't be an obstacle of using it in vanilla JavaScript projects - in fact, even included example uses the component in its plain JavaScript form (the *.js file in the dist folder).
Do you have any specific questions I could help you with?

Hm, but when I look at the App.tsx file I don't really know how to put this into vanilla JS, to be honest.
However, as the component is still in early stages as you say, I will have to check with my colleague whether we can use it in our application. I will get back to you then :)


Remove tools/code_check and update codecov

See https://github.com/ignition-tooling/action-ignition-ci/pull/32 and https://github.com/ignition-tooling/release-tools/issues/446

Require this PR https://github.com/ignitionrobotics/ign-fuel-tools/pull/178

This is good to go :+1:

This pull request has been mentioned on Gazebo Community. There might be relevant details there:
https://community.gazebosim.org/t/new-ignition-releases-2022-01-10/1228/1


chore: update fluster plugin doc format

Update code indent in doc.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Vanadium proxy does not load URL

I tried to deploy the proxy to Heroku (vandity.herokuapp.com). After following the instructions (npm install and npm start), it says that the page that I requested (google.com) can not be found. Any suggestions?

same


Health Analyzer item

This PR adds a portable health analyzer.
Background: as per guides like https://tgstation13.org/wiki/Medical_items, a first item that medic supposed to use for triage is a portable health analyzer. Adding one similar to the gas analyzer.

This PR is mostly a copy of gas analyzer with some tweaks, and the health information is still a wip. Will add more stuff like organs data in the next update.
The scan functionality somewhat duplicates MedicalScanner and BodyScanner - neither are particularly fleshed out (also both are stationary) and maybe we can try to unify the UI code in further PR's.

You coming back to this @bloodrizer ?

Re-open it when you get around to it.


Add migrate

micrate.cr is abandoned - it has forever pending pull requests with needed features and never updated issues.
I've developed a simpler solution (migrate), which resolves following issues:

https://github.com/juanedi/micrate/issues/11
https://github.com/juanedi/micrate/issues/13
https://github.com/juanedi/micrate/issues/19
https://github.com/juanedi/micrate/issues/20
https://github.com/juanedi/micrate/issues/21

It may be possible to migrate from micrate to migrate :smile:: just add a table called "version" with a single "version" column with your latest migration version value. Also need to replace -- +micrate Up/Down with -- !migrate up/down, which is more universal.
Cheers.

@vladfaust glad to see you here again 😄
We have a new policy in contribution guidelines which does not allow us to add entries to the list which are younger than 30 days. Let's wait for the appropriate time.
Should we remove micrate from the list or not? I vote no for now as it is used by amber and all apps running on amber. Sad it does not have the appropriate support @juanedi

@juanedi If you don't have time to maintain micrate anymore, I'm sure @crystal-community would be glad to take care of the issues. :smiley:

@veelenga that's alright, I can wait.
Regarded to Amber - I'll add a migration guide, which is simple as hell. Just need to replace one table by another.
Additionally, in my opinion, defining a non-universal word +micrate in plain SQL files is not practical. !migrate feels more native. And also not mentioned above, micrate eventually becomes buggy when doing lots of ups and downs and redos - that's because of complex version table, which migrate got rid of.

👍 /cc @eliasjpr

@vladfaust you didn't do any updates of your shard after submitting this PR.  Are you going to extend/maintain it? If not, it may not be that useful imho.

It is used in a couple of production projects and it serves well. All its issues are small enchansements. Let others say what they think, @veelenga, otherwise Crystal newcomers will see the only migrate solution which is abandoned 🤨
Will improve README today though.

Hello everyone! I'm really sorry for disappearing 😅
I never announced the project was dead because I always wished I could make time to work on it, but had a lot of things going on recently.
At this point I don't think I can put a lot of work into it for the moment, so these following days I'll try to make sure people know it's not actively maintained. Of course, if @crystal-community wants to take over it that's totally fine.
Thanks @vladfaust for bringing this up and providing an alternative! Maybe it just makes sense for people to start using that library.
Cheers!

Heads up,
The Amber Framework team has assume maintenance responsibilities for the Micrate crystal shard. As we want to support the crystal community we will maintain Micrate as a complete separate shard. We will monitor and address issues in order of community importance, Welcome people to contribute as well.
@juanedi as the author of the shard we will listen closely and take good consideration to his suggestions. Thank you for the hard work @juanedi.
With no further due point your shards to amberframework/micrate to get latest updates.
dependencies:
  micrate:
    github: amberframework/micrate

In the next few weeks we will be addressing some of the open issues. Feel free to ask question on the Gitter channel https://gitter.im/amberframework/amber


Bugfix/autocomplete small bugs

PR Checklist
This PR fulfills the following requirements:

[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)
[x] A changelog entry has been added to CHANGELOG.md if necessary

PR Type
What kind of change does this PR introduce?

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

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Autocomplete does now not crash when a non-existing defaultValue is provided
Sing Selection + Sync Mode now selects the correct value

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information
Resolved issues

@HybridFox  Could you provide unit tests for the fix you made?

@HybridFox  maybe best also to wait for the merge of https://github.com/digipolisantwerp/acpaas-ui_react/pull/169 since it contains an additional unit test file you may need.

@HybridFox maybe best also to wait for the merge of #169 since it contains an additional unit test file you may need.

Wouldn't it make more sense to merge in the order of time opened :)
I will added the unit tests right now


Getting current server username

Issue Type: Question
Deployer Version: 3.3.0
Local Machine OS: OSX
Remote Machine OS: Ubuntu 14.04
How do I (in a deploy stage script) get the current username from the server config. Eg,
runLocally('echo {user}');

I'm trying to compose a ssh command for fetching files from the remote server, eg,
    runLocally('rsync --exclude .cache -re ssh {user}@{{server.host}}:{{deploy_path}}/shared/web/app/uploads web/app', 999);

And the dep command looks like the following:
dep pull production

whoami

Great! Thanks!


Feature/redesign top level experimental

[ ] The tests are passing

Summary
Initial design of PlayChecker

@RobotJesse be careful not to make your PR too large.


utils.sh ?

Guys, what is $PROGPATH/utils.sh and where does it come from?

This is a small helper script with several useful generic functions for writing check plugins with<EMAIL_ADDRESS>In most case it comes with the monitoring-plugins package of your distro.
The version installed here looks like that:
#! /bin/sh

STATE_OK=0
STATE_WARNING=1
STATE_CRITICAL=2
STATE_UNKNOWN=3
STATE_DEPENDENT=4

print_revision() {
        echo "$1 v$2 (monitoring-plugins 2.1.2)"
        printf '%b' "The Monitoring Plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\ncopies of the plugins under the terms of the GNU General Public License.\nFor more information about these matters, see the file named COPYING.\n"
}

support() {
        printf '%b' "Send email to<EMAIL_ADDRESS>if you have questions regarding use\nof this software. To submit patches or suggest improvements, send email<EMAIL_ADDRESS>Please include version information with all\ncorrespondence (when possible, use output from the --version option of the\nplugin itself).\n"
}

#
# check_range takes a value and a range string, returning successfully if an
# alert should be raised based on the range.  Range values are inclusive.
# Values may be integers or floats.
#
# Example usage:
#
# Generating an exit code of 1:
# check_range 5 2:8
#
# Generating an exit code of 0:
# check_range 1 2:8
#
check_range() {
        local v range yes no err decimal start end cmp match
        v="$1"
        range="$2"

        # whether to raise an alert or not
        yes=0
        no=1
        err=2

        # regex to match a decimal number
        decimal="-?([0-9]+\.?[0-9]*|[0-9]*\.[0-9]+)"

        # compare numbers (including decimals), returning true/false
        cmp() { awk "BEGIN{ if ($1) exit(0); exit(1)}"; }

        # returns successfully if the string in the first argument matches the
        # regex in the second
        match() { echo "$1" | grep -E -q -- "$2"; }

        # make sure value is valid
        if ! match "$v" "^$decimal$"; then
                echo "${0##*/}: check_range: invalid value" >&2
                unset -f cmp match
                return "$err"
        fi

        # make sure range is valid
        if ! match "$range" "^@?(~|$decimal)(:($decimal)?)?$"; then
                echo "${0##*/}: check_range: invalid range" >&2
                unset -f cmp match
                return "$err"
        fi

        # check for leading @ char, which negates the range
        if match $range '^@'; then
                range=${range#@}
                yes=1
                no=0
        fi

        # parse the range string
        if ! match "$range" ':'; then
                start=0
                end="$range"
        else
                start="${range%%:*}"
                end="${range#*:}"
        fi

        # do the comparison, taking positive ("") and negative infinity ("~")
        # into account
        if [ "$start" != "~" ] && [ "$end" != "" ]; then
                if cmp "$start <= $v" && cmp "$v <= $end"; then
                        unset -f cmp match
                        return "$no"
                else
                        unset -f cmp match
                        return "$yes"
                fi
        elif [ "$start" != "~" ] && [ "$end" = "" ]; then
                if cmp "$start <= $v"; then
                        unset -f cmp match
                        return "$no"
                else
                        unset -f cmp match
                        return "$yes"
                fi
        elif [ "$start" = "~" ] && [ "$end" != "" ]; then
                if cmp "$v <= $end"; then
                        unset -f cmp match
                        return "$no"
                else
                        unset -f cmp match
                        return "$yes"
                fi
        else
                unset -f cmp match
                return "$no"
        fi
}


why no bitcoin-qt for Linux (Ubuntu) ?

Please provide the bitcoin-qt for Linux (Ubuntu)

I got bored of waiting, so I installed Wine on Ubuntu and used the Windows bitcoin-qt.exe
It works!

The QT version for linux builds and runs just fine.  Compiling is quite straightforward if you follow the instructions for the Unix build inside the doc directory.
I strongly think you should re-consider dropping support for the QT version.  Bitcoin need high security, and web browsers are never going to provide the kind of security needed.  The attack surface of a web browser is extremely high.

Hmm, sounds like it’s waste of time

On 7 Feb 2018, at 8:04 AM, SteveSether<EMAIL_ADDRESS>wrote:
The QT version for linux builds and runs just fine. Compiling is quite straightforward if you follow the instructions for the Unix build inside the doc directory.
I strongly think you should re-consider dropping support for the QT version. Bitcoin need high security, and web browsers are never going to provide the kind of security needed. The attack surface of a web browser is extremely high.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/superbitcoin/SuperBitcoin/issues/34#issuecomment-363608923, or mute the thread https://github.com/notifications/unsubscribe-auth/Ad6ZPmgvolOvIW9iaKTY38egy12FP72sks5tSOh3gaJpZM4RPiP3.


Add trailing slash to custom paths

Hi! I tried using peerdart with my own server and kept getting an error retrieving the ID. I checked the URL that it generated and it turned out that the URL is missing a slash. This should fix it. Please let me know your thoughts.
Thanks!

Fixed in 0.3.2!


Many simple checks versus fewer larger checks

@simoncozens made a suggestion at https://github.com/fonttools/fontbakery/issues/4418#issuecomment-2024676780 and then also hinted at the idea when posting https://github.com/fonttools/fontbakery/issues/4729#issue-2303588008

When we think of some new thing which needs checking, our response is normally to add another check for it. This means we have a large number of small, discrete checks, which individually are easy to understand and reason about but which don't necessarily "communicate" with one another. I would prefer to move towards a smaller number of checks which tell you everything about a particular topic - i.e. license URLS in all the different places they can appear - because then they can ensure consistency together.

I agree, in principle, but I fear clarity of rationale for each check validation may be lost.
There are some checks that really validate the same kind of thing in multiple places, with the exact same rationale. For those it would be fine to clump everything in a single check.
But there are also small checks that have different reasoning each, such as the many aspects that we validate on different fields of the METADATA.pb file. Clumping those together would make it more complicated to convey to users what's the reasoning for each specific thing being checked. And it would also result in multiple "proposed" links to issue tracker entries.

I suggest we start with one initial proposal of clumping together a given set of checks, and we see how we feel about it. If we like the result, we can move on to refactor additional sets of checks.
@simoncozens, which ones would you like to propose clumping together at first?

Description/article. It's a GF-only thing so it only affects our process, and it's not as sprawling as metadata.pb.

I'd personally like to do away with the little checks tbh.
I'd much prefer it is there was a single check for METADATA.pb that simply compares the current metadata.pb against a generated one, since we shouldn't be editing these by hand anyway (apart from the designer name, stroke etc).

Just to keep track of a few checks I have been merging as I look at porting them:

DSIG is now just an unwanted table, com.google.fonts/check/dsig moves into com.google.fonts/check/unwanted_tables
com.google.fonts/check/unique_glyphnames can be checked at the same time as com.google.fonts/check/valid_glyphnames
com.google.fonts/check/metadata/parses, com.google.fonts/check/metadata/designer_values, com.google.fonts/check/metadata/date_added, com.google.fonts/check/metadata/category, com.google.fonts/check/metadata/menu_and_latin, com.google.fonts/check/metadata/subsets_order, com.google.fonts/check/metadata/single_cjk_subset are all standalone METADATA.pb validation checks, can all be done at the same time.
com.google.fonts/check/varfont/regular_wght_coord, com.google.fonts/check/varfont/regular_wdth_coord, com.google.fonts/check/varfont/regular_slnt_coord, com.google.fonts/check/varfont/regular_ital_coord, com.google.fonts/check/varfont/regular_opsz_coord can all be checked at the same time with a dictionary of regular coordinate values; similarly for the range checks in opentype/fvar.py.


redis kafka choice

Its failing checks, please sort that out.

Fetching version metadata from https://rubygems.org/.. Could not find octomessageadapters-0.0.1 in any of the sources The command '/bin/sh -c bundle install' returned a non-zero code: 7
OctoMessageAdapters Gem need to be hosted on rubygems


bpfctl load-from-file is broken

$ bpfctl load-from-file -s "pass" --path /home/afredette/bpf/xdp_pass.bpf.o xdp -i bpfd-host --priority 100
Error = status: Aborted, message: "Bytecode image has section name:  isn't equal to the provided section name pass", details: [], metadata: MetadataMap { headers: {"content-type": "application/grpc", "date": "Thu, 24 Aug 2023 18:14:57 GMT", "content-length": "0"} }

Ok


Show attachments in horizontal ScrollView

Summary
Show file attachments in one row inside an Horizontal ScrollView
Ticket Link
Part of the 4K post limit
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Has UI changes

Device Information
This PR was tested on:

iOS 11.2 iPhone 5s, iPhone 6 and iPhone X (Simulator)
Android 7.1.1 Nexus 5 (Emulator)

Screenshots
Android

iOS
iPhone 5s

iPhone 6

iPhone X

@hmhealey done


Fix forms markup

Buttons are under avatar. Should be under fields.

https://github.com/Paqmind/react-starter/pull/17

Btw, I updated Loading component styles and have q about this component.
Why we use it only on robot pages? and not on home/about pages?

Why we use it only on robot pages? and not on home/about pages?
There is no dynamic content

Pls check this pull-request

Should be fixed after merging https://github.com/Paqmind/react-starter/pull/17


Update branch protections to include new GitHub Actions docs.yml workflow

https://github.com/crate/crash/pull/341 added a GitHub Actions docs.yml workflow and removed the Travis CI tests configuration
accordingly, the branch protections for master need to be updated to:

no longer require the Travis CI checks
require the new GitHub Actions docs.yml workflow

in case it helps, the current .mergify.yml configuration identifies the correct tests to include (lines starting with status-success)

can a @crate/sysadmins please review and take the necessary actions to close this issue? I do not have the permissions necessary to view or modify the current branch protections (it may be the case that the repository is already set up correctly, in which case a simple confirmation of that fact would be enough to close this issue imo)

@mechanomi I updated the branch protection settings. You can verify them in PR https://github.com/crate/crash/pull/346

@chaudum thank you!
your PR correctly had all three docs tests failing and blocking the merge. I attempted to rebase to drop your commit to see if the tests would pass, but GitHub interpreted this as merge and closed the PR. (a merge of zero commits) unexpected behavior, but no harm done
I'll close this issue as fixed now!


Update pants-plugins/uses_services to support checking for redis

Background
This is another part of introducing pants, as discussed in various TSC meetings.
Related PRs can be found in:

pantsbuild milestone (which includes PRs since #5713)
https://github.com/StackStorm/st2/labels/pantsbuild label (which also includes preparatory PRs that came before adding pantsbuild)

Overview of this PR
This PR builds on #5864 and #5884 to further improve the DX (developer experience) by failing as early as possible if the development (or CI) environment does not have the required services.
This PR adds checks for redis, like #5864 added mongo checks and #5884 added rabbitmq checks.
Please see #5864 for a more detailed description of pants-plugins/uses_services.
is_redis_running.py script and the rule that runs it
is_redis_running.py is the part that checks to see if redis is running.
The pants plugin cannot import anything from our other st2* code, so is_redis_running.py is a minimal self-contained script that mirrors how st2 connects to redis. It should be as minimal as possible so that keeping it up-to-date with the core st2 code is not onerous.
The is_redis_running.py rule gets opened and run in a pex with the same rule logic as is_mongo_running.py and inspect_platform.py (see #5864).
Redis, like rabbitmq, embeds all auth stuff in the connection url. So, there are not as many settings to worry about as there were with mongo. For now, this only supports the url hard-coded in the tests. Here is where the rule defines the default url:
https://github.com/StackStorm/st2/blob/06aedfa0a1efa28d17affe6f114a7d6bac631b28/pants-plugins/uses_services/redis_rules.py#L47-L62
Here is the definition of the rule that runs is_redis_running.py:
https://github.com/StackStorm/st2/blob/06aedfa0a1efa28d17affe6f114a7d6bac631b28/pants-plugins/uses_services/redis_rules.py#L96-L98
So, when another rule Gets RedisIsRunning with a UsesRedisRequest, pants will also run the rule that generates Platform (described in #5864), and then it will run this is_redis_running rule.
The is_redis_running rule either returns RedisIsRunning() if it is running, or raises ServiceMissingError if it is not. By raising an error, this actually breaks a convention for pants rules. Exceptions stop everything and get shown to the user right away, and for most goals, pants wants to see some dataclass returned that has something like a succeeded boolean instead. But, we want to error as early as possible, so this breaks that convention on purpose.
wiring up the test goal so it runs is_redis_running when pytest runs on a target with the uses field.
The last piece that ties this all together is a rule that makes sure the is_redis_running rule runs before pytest runs (if pants is running it on a target with the uses field). Here is the definition of the redis_is_running_for_pytest rule:
https://github.com/StackStorm/st2/blob/06aedfa0a1efa28d17affe6f114a7d6bac631b28/pants-plugins/uses_services/redis_rules.py#L83-L85
This rule is very simple. It just triggers running the is_redis_running rule:
https://github.com/StackStorm/st2/blob/06aedfa0a1efa28d17affe6f114a7d6bac631b28/pants-plugins/uses_services/redis_rules.py#L86-L89
This rule needs the PytestUsesRedisRequest which selects targets that have the uses field.
https://github.com/StackStorm/st2/blob/06aedfa0a1efa28d17affe6f114a7d6bac631b28/pants-plugins/uses_services/redis_rules.py#L70-L76
This request will be made by the pants-internal pytest rules thanks to this UnionRule, which is a way to declare that our class "implements" the PytestPluginSetupRequest:
https://github.com/StackStorm/st2/blob/06aedfa0a1efa28d17affe6f114a7d6bac631b28/pants-plugins/uses_services/redis_rules.py#L168
If we need to add uses support to other targets, we will need to find similar UnionRules where we can inject our rule logic. For now, I've only wired this up so our uses rules will run for pytest.

I don't know. They are needed at least for the orquesta tests. When we find other tests that need any of the services (mongo, rabbitmq, redis), then we can add uses= to the BUILD metadata for those tests too.


Settings changes fix

what

Fix of #43 for terraform 0.12.x for now and separated classic & application ELB settings

why

As #43 shows, terraform 0.12.x shows settings changes during terraform planwhen no changes were done.
furthermore, if you are using an application load balancer the classic ELB settings are always shown as changes. I used the AWS documentation of "deprecated" classic ELB values if you are using an ALB to decide which settings go into which of the two lists.

references

This PR will fix issue #43 for terraform 0.12.x

/codefresh run test

Really looking forward to this!

Tests are failing on s3 bucket that already exist but I verified that it doesn't so I'm going to trigger tests once again

/codefresh run test

/terraform-fmt

/codefresh run test

/codefresh run test

@helvalius @macnibblet here is new release: https://github.com/cloudposse/terraform-aws-elastic-beanstalk-environment/releases/tag/0.21.0

We are still having problems with unrelated changes
      - setting {
          - name      = "SpotFleetOnDemandAboveBasePercentage" -> null
          - namespace = "aws:ec2:instances" -> null
          - value     = "70" -> null
        }
      + setting {
          + name      = "SpotFleetOnDemandAboveBasePercentage"
          + namespace = "aws:ec2:instances"
          + value     = "70"
        }
      - setting {
          - name      = "SpotFleetOnDemandBase" -> null
          - namespace = "aws:ec2:instances" -> null
          - value     = "0" -> null
        }
      + setting {
          + name      = "SpotFleetOnDemandBase"
          + namespace = "aws:ec2:instances"
          + value     = "0"
        }
      - setting {
          - name      = "SpotMaxPrice" -> null
          - namespace = "aws:ec2:instances" -> null
        }
      + setting {
          + name      = "SpotMaxPrice"
          + namespace = "aws:ec2:instances"
          + value     = "null"
        }

@macnibblet  I created a new pull request #125 . The issues that you have were added in between merging my pull request with missing the resources fix in #115 .
@maximmi  could you check the new pull request and merge if everything is fine? :) thx


[SPARK-39320][SQL] Support aggregate function MEDIAN

What changes were proposed in this pull request?
Many mainstream database supports aggregate function MEDIAN.
Syntax：
Aggregate function
MEDIAN( <expr> )
Window function
MEDIAN( <expr> ) OVER ( [ PARTITION BY <expr2> ] )
Arguments：
expr: The expression must evaluate to a numeric data type (INTEGER, FLOAT, DECIMAL, or equivalent).
Examples：
select k, median(v) from aggr group by k order by k;
+---+-----------+
| K | MEDIAN(V) |
|---+-----------|
| 1 |  20.00000 |
| 2 |  22.50000 |
| 3 |      NULL |
+---+-----------+

Why are the changes needed?
The mainstream database supports MEDIAN show below:
Snowflake
https://docs.snowflake.com/en/sql-reference/functions/median.html
Oracle
https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/MEDIAN.html#GUID-DE15705A-AC18-4416-8487-B9E1D70CE01A
ClickHouse
https://clickhouse.com/docs/en/sql-reference/aggregate-functions/reference/median
Redshift
https://docs.aws.amazon.com/redshift/latest/dg/r_MEDIAN.html
Teradata
https://docs.teradata.com/r/Teradata-VantageTM-SQL-Functions-Expressions-and-Predicates/March-2019/Ordered-Analytical/Window-Aggregate-Functions/MEDIAN
DB2
https://www.ibm.com/docs/en/db2/11.5?topic=functions-median
Vertica
https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/SQLReferenceManual/Functions/Analytic/MEDIANAnalytic.htm?tocpath=SQL Reference Manual|SQL Functions|Analytic Functions|_____20
H2
http://www.h2database.com/html/functions-aggregate.html#median
Sybase
https://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01776.1601/doc/html/san1278453109663.html
Exasol
https://docs.exasol.com/db/latest/sql_references/functions/alphabeticallistfunctions/median.htm
Yellowbrick
https://www.yellowbrick.com/docs/5.2/ybd_sqlref/median.html
Mariadb
https://mariadb.com/kb/en/median/
Singlestore
https://docs.singlestore.com/db/v7.6/en/reference/sql-reference/aggregate-functions/median.html
InfluxDB
https://docs.influxdata.com/flux/v0.x/stdlib/universe/median/
Does this PR introduce any user-facing change?
'No'.
New feature.
How was this patch tested?
New tests.

ping @MaxGekk cc @cloud-fan

@MaxGekk @cloud-fan Thank you for review.


Mixed tabbed/stacked workspaces.

The program works great as long as you only have one tabbed container in a workspace, otherwise, it focuses the next parent, wherever it may be, instead of the next tabs within the initial container . I couldn't figure out from looking at the code what I'd need to change to restrict changing to the current container's tabs, can you help me here, please?

Well, it started working correctly after a few reboots, seems it was a problem on my end. Nice project.

Hi, thanks for report. I also noticed the program misbehaving in some cases.
I released new version (v0.1.4) which should be more resilient, so please try it out :)

New version working pretty good, Thank you!


Fix sourcemaps error if no rollbar_sourcemaps_minified_url_base provided

This should fix #713
Looks like this was just plain not working unless :rollbar_sourcemaps_minified_url_base was supplied with truthy value.
This makes it so:

the value does not need to be provided
unnecessary interpolation removed to stop it blowing up if rollbar_sourcemaps_minified_url_base if falsey value

This bug seems to still be present in 2.16.2 despite the release notes for 2.16.1 saying it was fixed in 2.16.1. The last working version for our application is 2.15.5.
Am I missing something?


Restrict all queries to fetch results for a specific user

User statement
As a user, I would like to only see events/cameras that belong to me.
Proposed solution
Add a where clause to the SQL queries to filter on the logged-in user_id.
Development notes
Add any other notes, context, or screenshots relevant to the ticket here

Done.


Revert #7567 after it's been in a few versions (July or August 2015)

#7567 adds the ability to migrate etcd keys to a new prefix. This is fine, but it'll be tricky to use once apiserver is HA. We should either document the proper steps (shut down all apiservers, run a single apiserver with the right command to do the migration, shut down that apiserver, start all apiservers again), or (my preference) remove it. IMO it should not have gone in at all; you should use a specific tool to do the migration after shutting down all apiservers. There's no need to build that into apiserver, and in fact, it's dangerous if used incorrectly.

There's also a bug in the migration code -- since the flag for "old" etcd-prefix defaults to a value, the migration code always runs when you specify an etcd-prefix. apiserver then crashes immediately on a clean setup without /registry:
$ docker run --net=host -v /etc/kubernetes:/etc/kubernetes \
    -v /usr/share/ca-certificates:/etc/ssl/certs -v /var/run/kubernetes:/var/run/kubernetes \
    --name api0 quay.io/kelseyhightower/kube-apiserver:0.19.0 \
    --etcd-servers=http://<IP_ADDRESS>:2379 --insecure-bind-address=<IP_ADDRESS> \
    --insecure-port=10000 --logtostderr=true --service-cluster-ip-range=<IP_ADDRESS>/24 \
    --v=2 --etcd-prefix=/clusters/10000
I0619 05:52:57.151224       1 plugins.go:69] No cloud provider specified.
I0619 05:52:57.152515       1 etcd_helper.go:621] Couldn't get the existing etcd root node.
F0619 05:52:57.152575       1 server.go:314] Migration of old etcd keys failed: 100: Key not found (/registry) [2]

$ etcdctl ls
$

The workaround is to pass an empty --old-etcd-prefix=.
cc @kbeecher

Now that this is going to be removed, a note to those who want to use this migration functionality:
Shutdown all apiservers. Make an etcd backup. Use etdctl.


deploy/chart: etcd-operator bump to 0.9.4

This PR brings the default etcd-operator version to 0.9.4 in line with upstream latest. The past two patch releases included a few important bug fixes so I would like to get this updated. Let me know if I missed anything.

@hexfusion Also, can these changes be applied in the upstream-community-operators directory as well? The distinction is that upstream-community-operators is for operators that work on vanilla kubernetes, and community-operators is for operators that work on OpenShift. In the case of etcd there's overlap since it works on both.

Replaced by #223


libredirect: handle mkdir(2)

Motivation for this change
This adds missing path rewriting to mkdir() calls. Fixes https://github.com/NixOS/nixpkgs/issues/140735.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

This could do with an addition to test.c to cover it.

nixpkgs-review reveals no new failures on macos 10.15.


Create Pranjal Gupta.md

Notes for Reviewers
This PR fixes #
Signed commits

[ ] Yes, I signed my commits.

🚀 Preview for commit a327f189ead48d474ae68e23cafb7547f7a89e2d at: https://66e2ec49b59537809e725a5a--meshery-docs-preview.netlify.app

Thank you @pranjalg1331 :sunglasses:


Android export breaks string resources in resources.arsc

Godot version:

3.1-dev @ 3f9c05416
OS/device including version:

Linux Mint 19 exporting to Android (also tested in other Linux distros)
Issue description:

When exporting to Android, the strings in resources.arsc seems to be corrupted. The actual data seems to change from each time we export but sometimes it gets rejected by the Play Store:

Analyzing the APK with aapt dump --values resources I can see that the one of the translations contain a ^M character (which is a new line):

The template reports the strings correctly.
It seem the function to _fix_resources() incorrectly parses the strings and rewrite them with weird characters.
Maybe it needs some updating like @hpvb did for the manifest.
Steps to reproduce:
Export a project to Android.
In particular we are using some modules with Google Play Services which are adding the offending string.
Minimal reproduction project:
Happens with any project.

Can anyone still reproduce this bug in Godot 3.2.2 or any later release?

Might be tricky to reproduce this since it was an issue in a module, but now both the module and the export workflow changed.
If the code to _fix_resources() isn't used anymore then this is fixed. Otherwise it's likely still broken.

While _fix_resources() is still used for legacy purposes, the recommend export format (and enforced starting mid 2021) is Android App Bundle which uses a different export logic, thus resolving this issue.

While _fix_resources() is still used for legacy purposes, the recommend export format (and enforced starting mid 2021) is Android App Bundle which uses a different export logic, thus resolving this issue.


Add stargaze timeline asset

Is your feature request related to a problem? Please describe.
My feat is simple to showcase the popularity & success of the project from the GSSoC-Ext & Hacktoberfest'24
run by adding a timeline stargaze animation effect.
Describe the solution you'd like
Adding a stargazers animated video asset of your project to be displayed with the contributors page or in another section for showcase effects
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
@jahnvisahni31 Can you assign me this issue as gssoc-ext contributor, and give level based on how good it is at the end result

@jahnvisahni31 can you assign this issue to me

Go ahead @yashksaini-coder


Generating Go code for the API server

schematic works nicely when creating a client.
I think it might be cool to consider generating code for the server too.
The bare minimum would be generating the response structs to serialize responses.
A more ambitious goal would be to generate the main boilerplate to serve the HTTP API: http handlers, helpers to parse requests and render responses, etc.
Maybe even doing something like this:
package main

import (
  "http"
  "github.com/whatever/api/server"
)

func main() {
  // NewHandler takes an object that implements server.Handler and returns an http.Handler
  // server.Handler is generated by schematic and it has one method for each link in the Schema
  h := server.NewHandler(backend{})
  s := &http.Server{Addr: ":8080", Handler: h}
  s.ListenAndServe()
}

+1
It would be great to split this package in two parts. First, a generic JSON Schema  implementation, then the client code generator. That would allow people to easily reuse the first part to generate server implementations.

FYI, there's a new project called goa that generates JSON Hyper Schema from Go code and also generates all the scaffolding to serve the API so you can focus on the business logic.
http://goa.design/index.html

@ernesto-jimenez As far as I can see, though, goa is monolithic, in the sense that it's not possible to generate only the server scaffolding, based only on the hyperschema: the only possible input is goa's own DSL.

@KellerFuchs goa allowed you to generate de JSON Hyper Schema from their DSL, and then you could ideally other tools to generate the client. I believe since my comment back in December goa favoured Swagger more instead, but have not checked it recently :)

@ernesto-jimenez Yes, but this doesn't cover at all implementing an existing Hyper-Schema, or simply wanting to model the API directly during the design phase.
Anyhow, I will likely have a stab at implementing this.


Log the req/res body

Hey there!
This lib is quite excellent.
Only issue: I'd love to log the req and res bodies as they contain useful information.
What is the desired way of doing this?

we don't log them because they could be quite big. They are also very likely to contain personal information you might not want to log anyway. You can just log them yourself req.log.info({ body }).

thank you, it would be nice as an option for scenarios where you know what the bodies should contain ( like internal microservices )

Would the PR be in the pino-http repo or in this repo? I am a bit confused by the existence of the two

pino-http, thanks!

@mcollina I think giving the user the possibility to choose whatever he wants to log is important. In my use case, I don't have any huge request bodies, I want to be able to automatically log all of them. I prefer not to have more than one log for each request. Also, for sensitive information, we should be able to hide them 😄

https://github.com/pinojs/pino-http/pull/76 created which adds the example as how to achieve logging req body

@naseemkullah when trying to apply this example to express-pino-logger the request body does not seem to be available.

@naseemkullah do you have an example of logging the request body?

@ryan-efendy from my experience with Express, https://github.com/richardschneider/express-mung was required to add the body to the res object, then followed the pattern hereby mentioned but for res

@ryan-efendy answered in pinojs/pino-http#173


Add caching of pip, hatch and hatch envs in doc-tests

Adding pip cache for docs test and release actions. pre-commit action has it's own cache and in testing, there was no benefit in adding pip cache at all.

Consolidating the html and linkcheck jobs to a single one to only run one checkout, python-setup(incl. cache) and pip install hatch.

Adding cache action for hatch environments for docs-test.

Argh, I can't get it to use the hash of PIPX_HOME/.cache/CACHEDIR.TAG.
Cache saved with key: Linux-pipx-home-
That's the last thing to figure out.
Oh and I was thinking about adding a check to only start docs-test if certain files/dirs were changes, as there are many changes in PRs that don't affect docs. I'm not confident to put together a list of dirs/files to ignore though.

https://github.com/teemtee/tmt/pull/3241/commits/34534cc4a4bcc0d62ee645f7139cf4c780091f89 on second thought, maybe best to not have any cache for release. Since it's execution is so rare, it wouldn't be much of a benefit anyway.

/packit test


exception from dartanalyzer

From the latest dev release (dartanalyzer version 1.14.0-dev.5.0):
Caused by The null object does not have a getter 'bound'.

NoSuchMethodError: method not found: 'bound'
Receiver: null
Arguments: []
#0      Object._noSuchMethod (dart:core-patch/object_patch.dart:42)
#1      Object.noSuchMethod (dart:core-patch/object_patch.dart:45)
#2      ErrorVerifier._checkForTypeParameterSupertypeOfItsBound (package:analyzer/src/generated/error_verifier.dart:5351)
#3      ErrorVerifier.visitTypeParameter (package:analyzer/src/generated/error_verifier.dart:1072)
#4      TypeParameter.accept (package:analyzer/src/generated/ast.dart:19344)
#5      NodeList.accept (package:analyzer/src/generated/ast.dart:12645)
#6      TypeParameterList.visitChildren (package:analyzer/src/generated/ast.dart:19406)
#7      RecursiveAstVisitor.visitTypeParameterList (package:analyzer/src/generated/ast.dart:15556)
#8      TypeParameterList.accept (package:analyzer/src/generated/ast.dart:19402)
#9      AstNode._safelyVisitChild (package:analyzer/src/generated/ast.dart:3062)
#10     MethodDeclaration.visitChildren (package:analyzer/src/generated/ast.dart:12077)
...

This is when run with most analysis flags on, including strong mode.

The exception is occurring on the last line:
bool _checkForTypeParameterSupertypeOfItsBound(TypeParameter parameter) {
TypeParameterElement element = parameter.element;
// prepare bound
DartType bound = element.bound;
This means that we have a type parameter for which there is no element. There's only one place I can think of where this might happen, so I've added debugging code (https://codereview.chromium.org/1713793002/) to help catch the problem earlier.
Please re-open this issue if you see this behavior again.


AUI-1902 Setting all button types on Form Builder to button type

Just started reviewing :) :octocat: Sent from GH.

Just started reviewing :) :octocat: Sent from GH.

Just started reviewing :) :octocat: Sent from GH.

Pull request merged.


Add Support for API Gateway Lambda authorizer

Is your feature request related to a problem? Please describe.

The API Gateway Resolver does not (appear) to support the ability to dispatch to a function as a Lambda authorizer.
Describe the solution you'd like

Add support to be able to dispatch to a function that is a Lambda authorizer.
Describe alternatives you've considered

Additional context

@gwlester Do you have an example json event for this?

The type is "token"  the exact format of the rest will vary depending on if it is a SAML, OpernID, or some other type of authentication token .

@gwlester  we have an example event for a lambda authorizer, tests/events/apiGatewayProxyV2LambdaAuthorizerEvent.json and you see if this looks correct, because then we already support it.

@gwlester @heitorlessa
Ok I see the docs for this is in various places:

There is a old blog post on lambda authorizer support, but it only covers the TOKEN type, which is like the example you gave. eg:

{
    "type":"TOKEN",
    "authorizationToken":"{caller-supplied-token}",
    "methodArn":"arn:aws:execute-api:{regionId}:{accountId}:{apiId}/{stage}/{httpVerb}/[{resource}/[{child-resources}]]"
}

The official docs on lambda authorizer covers this in more detail and references the blueprints examples for a lambda authorizer

And also covers the other type REQUEST, example:
{
  "type": "REQUEST",
  "methodArn": "arn:aws:execute-api:us-east-1:123456789012:abcdef123/test/GET/request",
  "resource": "/request",
  "path": "/request",
  "httpMethod": "GET",
  "headers": {
    "X-AMZ-Date": "20170718T062915Z",
    "Accept": "*/*",
    "HeaderAuth1": "headerValue1",
    "CloudFront-Viewer-Country": "US",
    "CloudFront-Forwarded-Proto": "https",
    "CloudFront-Is-Tablet-Viewer": "false",
    "CloudFront-Is-Mobile-Viewer": "false",
    "User-Agent": "..."
  },
  "queryStringParameters": {
    "QueryString1": "queryValue1"
  },
  "pathParameters": {},
  "stageVariables": {
    "StageVar1": "stageValue1"
  },
  "requestContext": {
    "path": "/request",
    "accountId": "123456789012",
    "resourceId": "05c7jb",
    "stage": "test",
    "requestId": "...",
    "identity": {
      "apiKey": "...",
      "sourceIp": "...",
      "clientCert": {
        "clientCertPem": "CERT_CONTENT",
        "subjectDN": "www.example.com",
        "issuerDN": "Example issuer",
        "serialNumber": "a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1",
        "validity": {
          "notBefore": "May 28 12:30:02 2019 GMT",
          "notAfter": "Aug  5 09:36:04 2021 GMT"
        }
      }
    },
    "resourcePath": "/request",
    "httpMethod": "GET",
    "apiId": "abcdef123"
  }
}

And both types expects an output like:
{
  "principalId": "yyyyyyyy", // The principal user identification associated with the token sent by the client.
  "policyDocument": {
    "Version": "2012-10-17",
    "Statement": [
      {
        "Action": "execute-api:Invoke",
        "Effect": "Allow|Deny",
        "Resource": "arn:aws:execute-api:{regionId}:{accountId}:{apiId}/{stage}/{httpVerb}/[{resource}/[{child-resources}]]"
      }
    ]
  },
  "context": {
    "stringKey": "value",
    "numberKey": "1",
    "booleanKey": "true"
  },
  "usageIdentifierKey": "{api-key}"
}

So this could be a good candidate for a event source data class and some helpers for building the response.

@heitorlessa based on our last discussion, we agreed to tackle this for the most common event types and also cover AppSync lambda authorizor.
@heitorlessa could you help supply a list of real world fixtures for all of the possible variations for requests. And examples for the responses.

@gwlester  - i added an example implementation for AppSync. See this PR for the usage:

https://github.com/awslabs/aws-lambda-powertools-python/pull/610

@heitorlessa once we are happy with the api, i can look at the API Gateway Authorizer.

Moving this to the Roadmap to improve visibility of what's being worked on.


resolve high cpu usage api_server

What current issue(s) does this address, or what feature is it adding?
fix #917
How did you solve this problem?
followed solution by hal
How did you make sure your solution works?
Are there any special changes in the code that we should be aware of?
Please check the following, if applicable:

[ ] Did you add any tests?
[X] Did you run make lint?
[X] Did you run make test?
[X] Are you making a PR to a feature branch or development rather than master?
[ ] Did you add an entry to CHANGELOG.rst? (if not, please do)

Coverage remained the same at 86.895% when pulling d666f067bfed529b219890352567f081868325aa on ixje:resolve-cpu-old-network into 660db6ad935f84e78f8c609ef461eeef9108c267 on CityOfZion:development.


Is There Any PHP Version

Hello everyone. I want to control ewelink devices with php codes. Is there any code for this?

Can anybody help me?


Fix showing initial active users

I set refresh interval to 10 minutes. I open the map and see on the map people who were refreshed say 3 minutes ago (which is totally fine), but they don't show up in the active users button until 10 minutes pass. I think this happens because the check for lastPoint !== null happens too early, it should happen after the for loop where the value possibly can get set.
With this change, the list of active users is correct even when I just open the map.

Huh, that's an interesting oversight. Thanks a lot for spotting this! Merging.


#75 - don't fail nmt job on delete failing

This change is

src/SIL.Machine.AspNetCore/Services/ClearMLNmtEngineBuildJob.cs line 150 at r1 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
You can pass the exception directly to the LogError method. This way the stack trace wouldn't be lost. It is a good idea to always pass the exception when logging an error.

By the time it gets there, we already know what happened (we have read and write privileges, but not delete).  The error stack trace becomes less valuable.  That is why I chose to not include it.


Add baremetal quickstart

Can you please generalize this PR so that it just says to use any modern Linux distribution instead of RancherOS?

Doesn't "bare metal" imply that there really is no OS, such as linux?

Yeah, but the PR includes Rancher OS in the prerequisites and says to install it.

The prereqs say to download the iso file.
Do you have any suggestions on what to change so the instructions are more understandable?

The problem isn't a lack of clarity. The problem is that it says to install the RancherOS ISO. My concern is that a newcomer reading these instructions might assume that because it says to install RancherOS, that means RancherOS is required to install Rancher. That would convey a different message than what's in our installation requirements, which say the following:

Rancher should work with any modern Linux distribution and any modern Docker version. Rancher has been tested and is supported with Ubuntu, CentOS, Oracle Linux, RancherOS, and RedHat Enterprise Linux.

In the big picture, we want to show that Rancher is compatible with a wide variety of other technologies and we don't want people to think you have to use Rancher with other Rancher products, such as RancherOS.

@SheilaghM The outstanding question on this PR is whether or not bare metal installation instructions should be included to the docs.
If this PR is merged, it would need to be modified to remove all mention of any specific Linux distribution, including RancherOS. RancherOS is deprecated, and as for the other distros, we don't want to say which versions Rancher was tested on or supported on in the docs, because the terms of service needs to be the single source of truth for that information.


Missing config.schema.json

According to the documentation  there should be a config.schema.json file.
Using this file also helps users to configure the settings using a browser when using Config UI X

According to the documentation there should be a config.schema.json file.

The link to the documentation is for plugins being managed by the @homebridge GitHub account.  They created this account quite some time ago, but then went silent.  It doesn't look like any plugins have been moved over there.

Using this file also helps users to configure the settings using a browser when using Config UI X

Also?  What else does it do?
I have tried homebridge-config-ui-x in the past, but I'm not currently running that plugin.  I run homebridge as a service under user pi from systemctl and I've installed homebridge and the plugins using sudo npm -g.  homebridge-config-ui-x will only manage this setup when sudo is enabled.  I'm no fan of web sites being able to run privileged commands.  Using a non-standard homebridge installation so homebridge-config-ui-x can run without sudo is bound to lead to more issues than it prevents.
I'm a big fan of anything that will reduce the number of config.json related issues, and would consider creating a config.schema.json for all my plugins, not just for homebridge-ws.  I'm not sure I've seen any config.schema.json before.  Do you know of any other plugins that actually provide this?  I dislike their lack of support for user-defined keys, which I currently use for homebridge-hue.  Their workaround of using an array won't guarentee uniqueness of the key.

Hm, I re-installed homebridge-config-ui-x on my test machine and added the config.scheme.json to the homebridge-ws installation.  I'm now seeing a Settings option for homebridge-ws, but I cannot seem to add any locations.

The file might not be perfect, I had problems adding multiple locations to that array too. However I did not really test this as thought that configurating more than one location for one weather station is a contradiction anyhow.

Other plugins using jonfig.schema.json:
https://github.com/merdok/homebridge-webos-tv
https://github.com/itsmepetrov/homebridge-zigbee

more than one location for one weather station is a contradiction anyhow.

The plugin creates a separate virtual weather station for each location.

Added schemas for homebridge-ws and homebridge-zp.  It's way more powerful than the documentation suggest.  Created an issue, https://github.com/oznu/homebridge-config-ui-x/issues/289, for the inability to add elements to the array.

Excellent, thank you very much.

closing


Azure Alerts

Pull Request Template
Describe your changes

fix: align severity level and recipient of SQL alerts
fix: align severity level and recipient of horizon submission alerts
feat: add appeals back office SQL alerts
feat: add applications front office SQL alerts
chore: update apps and functions to 1.16, with alert changes

Part of: https://pins-ds.atlassian.net/browse/DEV-112
Useful information to review or test

Type of change 🧩

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[ ] My code follows the style guidelines of this project
[ ] My code changes do not include any hardcoded secrets or passwords
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] My Tech Lead is aware of any infrastructure changes that will cost money

Plan here looks OK. Some unrelated changes because I ran before rebase.
https://dev.azure.com/planninginspectorate/infrastructure/_build/results?buildId=76021&view=logs&j=d8c8df2e-1b9e-55db-c620-fddadb65a07b&t=4249e1c0-7c45-519a-22b6-aa3426e7584b


MessageReceiver binding from java @ServiceBusQueueTrigger

Documentation states that MessageReceiver is part of the metadata but while using Java I cannot seen to get a @BindingName Binding to this object.
I want to be able to Dead Letter a message that is started with a @ServiceBusQueueTrigger binding.
I can get the message uuid, but cannot see a way to DLQ the message without the Message Receiver being available.

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

ID: 1d50399c-0873-e903-35ca-1845c84b6c6c
Version Independent ID: 1a3150b4-5eb9-0ac5-ee2b-d1bb6b6fd63e
Content: Azure Service Bus trigger for Azure Functions
Content Source: articles/azure-functions/functions-bindings-service-bus-trigger.md
Service: azure-functions
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

@EricBauld Thanks for reaching out. We will investigate and update the thread accordingly.

@EricBauld The MessageReciever and MessageSession bindings are only available in .NET functions. For Java the incoming Service Bus message is available via a ServiceBusQueueMessage or ServiceBusTopicMessage parameter. Please refer to usage section.

@EricBauld Hope the above helps and clears things up. We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

Thanks, that does help. It was confusing that some message meta data is available in Java. Such as messageId or correlationId is available and usable as a binding but not listed in the usage section. Yet MessageReceiver is not available even though there is a package protected MessageReciever class and a IMessageReceiver interface.


Inconsistent Header Formatting and Link Matching in Table of Contents

Hey VyomX1010,
I found a couple of issues in the Markdown file:

Inconsistent Index Links: The links in the Index have some inconsistencies, particularly with extra spaces in titles (e.g., 1- Setting Up an IDE with MinGW vs. 1. Setting Up an IDE with MinGW), and the section numbering in the links doesn't always match the actual section numbering.
Missing Subsection Links: Some subsections, such as "Write and Run Your First Program" under both Code::Blocks and VS Code, don't have links for direct navigation.
Repetitive Headings: The term "Objective" is repeated frequently, which could be condensed or renamed to improve clarity.
Header Level Inconsistencies: There are some instances where headers are inconsistently used (e.g., ### Objective under different sections).

It would be great if these could be fixed for better navigation and readability.
Thanks!

Response to Feedback
Hi Navneet1206,
Thank you for your thorough review and for pointing out these issues! I appreciate your attention to detail. Here’s how I plan to address each of your points:

Inconsistent Index Links: I will review the index links and correct any inconsistencies in the titles and section numbering to ensure they match throughout the document.

Missing Subsection Links: I’ll add the necessary links for the subsections, including "Write and Run Your First Program" under both Code::Blocks and VS Code, to enhance navigation.

Repetitive Headings: I agree that the frequent use of "Objective" can be confusing. I’ll look into condensing or renaming these headings for better clarity.

Header Level Inconsistencies: I will go through the document to ensure that header levels are used consistently across all sections.

I’ll make these changes and update the Markdown file shortly. Thanks again for your valuable feedback!
Best,
VyomX1010


Elevator and Barometer log messages

kahliadev0 transfers 5 The pirate code from your forecast to your hand.
I shouldn't be able to see what card is transfered, and "your" should be "their" twice.
kahliadev0 chooses to transfer the 0s from all other score piles to their score pile.
"0s" should be the value chosen (in this case, it was 3s)

The biggest problem with barometer is that it informs the opponent of the card being transferred.
The 0s in the log message should have been 1s.


Sink's EDID timing only allows integer frame rates

https://github.com/AMWA-TV/nmos-sink-metadata-processing/blob/94d07e27e766146ce1ef385e572cf6201b691e57/APIs/schemas/edid_timing.json#L16-L17
This is in contrast with BCP-005-01, where we always use the exact rational.
Must the frame_rate be rounded in this case?

was fixed with #16 I was looking at a stale branch

https://github.com/AMWA-TV/nmos-sink-metadata-processing/blob/4054d72c65d6f6022b730b04910fe1ff73abe45a/APIs/schemas/edid_timing.json#L16-L18
There is still a discrepancy


Update documentation for templates

Some still mention outdated docker building instructions etc.

Outdated Docker instructions at least partially solved, but the issue will be kept open as a general reminder to improve the documentation as soon as possible.


Openshift close listen debug

I tried my best to open jxm on OpenShift results were unexpected error returns listen AECES
jxm.io v0.3.9
HTTP -> http://<IP_ADDRESS>:8080/
events.js: 72
        throw er; // Unhandled 'error' event
              ^
Error: listen EACCES
    at errnoException (net.js: 905: 11)
    at Server._listen2 (net.js 1024: 19)
    at listen (net.js: 1065: 10)
    at Server.listen (net.js: 1139: 5)
    at Object.exports.startServer (/var/lib/openshift/563b86a389f5cf62c400021e/app-root/runtime/repo/node_modules/jxm/backend/jx_server.js:268:16)
    at Object.rabbit.OnConnected (/var/lib/openshift/563b86a389f5cf62c400021e/app-root/runtime/repo/node_modules/jxm/backend/jx_server_events.js:169:17)
    at Object.exports.start (/var/lib/openshift/563b86a389f5cf62c400021e/app-root/runtime/repo/node_modules/jxm/backend/jx_rabbit_api.js:134:21)
    at Object.exports.Start (/var/lib/openshift/563b86a389f5cf62c400021e/app-root/runtime/repo/node_modules/jxm/backend/jx_server_events.js:174:12)
    at Object.exports.start (/var/lib/openshift/563b86a389f5cf62c400021e/app-root/runtime/repo/node_modules/jxm/backend/jxm.js:327:39)
    at Object.  (/var/lib/openshift/563b86a389f5cf62c400021e/app-root/runtime/repo/server.js:16:8)
DEBUG: Program exited with code 8 node server.js
DEBUG: Starting child process with 'node server.js'

var server = require('jxm');
server.setApplication("kjnw89dfho2j3bfoweyhf892h", "/", "908j1n23okdnwqe98hf2oi3ubrowehf98wehroi24bfoiqewhf08293hr09243hbre8hfi0owehf420ith20");
var server_port = process.env.OPENSHIFT_NODEJS_PORT || 8080;
var server_ip_address = process.env.OPENSHIFT_NODEJS_IP || '<IP_ADDRESS>';
server.addJSMethod("serverMethod", function (env, params) {
server.sendCallBack(env, params + " World!");
});
server.linkResource("/", ["index.html", "text/html" ]);
server.on('request', function(req, res){
return true;
});
server.start({address:server_ip_address,port:server_port });

I bet 8080 is already taken on that machine?

I tried replacing each one process.env.OPENSHIFT_NODEJS_PORT
but the result is still like I'm wondering.

So it looks like process.env.OPENSHIFT_NODEJS_IP is null or undefined ?

I have tried many ways to find the cause, but there is no way but it runs on OpenShift What I do not understand why!
also a code which I tried on c9.io it works very well.

the truth I am very interested in jxm but by no vps / server should run on OpenShift free

What is the result of the following code?
console.log('env port', process.env.OPENSHIFT_NODEJS_PORT);

env port 8080
jxm.io v0.3.9
HTTP  -> http://<IP_ADDRESS>:3008/
events.js:72
throw er; // Unhandled 'error' event
^
Error: listen EACCES
at errnoException (net.js:905:11)
at Server._listen2 (net.js:1024:19)
at listen (net.js:1065:10)
at Server.listen (net.js:1139:5)
at Object.exports.startServer (/var/lib/openshift/563b86a389f5cf62c400021e/app-root/runtime/repo/node_modules/jxm/backend/jx_server.js:268:16)
at Object.rabbit.OnConnected (/var/lib/openshift/563b86a389f5cf62c400021e/app-root/runtime/repo/node_modules/jxm/backend/jx_server_events.js:169:17)
at Object.exports.start (/var/lib/openshift/563b86a389f5cf62c400021e/app-root/runtime/repo/node_modules/jxm/backend/jx_rabbit_api.js:134:21)
at Object.exports.Start (/var/lib/openshift/563b86a389f5cf62c400021e/app-root/runtime/repo/node_modules/jxm/backend/jx_server_events.js:174:12)
at Object.exports.start (/var/lib/openshift/563b86a389f5cf62c400021e/app-root/runtime/repo/node_modules/jxm/backend/jxm.js:327:39)
at Object. (/var/lib/openshift/563b86a389f5cf62c400021e/app-root/runtime/repo/server.js:16:8)
DEBUG: Program node server.js exited with code 8
DEBUG: Starting child process with 'node server.js'

OK, but if you say:

no vps / server should run on OpenShift free

then maybe this is a reason? Are you using OpenShift free ?

I'm testing right on OpenShift free.

So maybe this is the reason for error?

I'm thinking maybe jxm code system problems when running on the host Openshift? one listen was closed after the show:
jxm.io v0.3.9
HTTP -> http://<IP_ADDRESS>:8080/123

jx_server.js: 268: 16)
jx_server_events.js: 169: 17)
jx_rabbit_api.js: 134: 21)
jx_server_events.js: 174: 12)
jxm.js: 327: 39)

You can do a simple test without jxm:
var http = require('http');
var server_port = process.env.OPENSHIFT_NODEJS_PORT || 8080;
var server_ip_address = process.env.OPENSHIFT_NODEJS_IP || '<IP_ADDRESS>';

var server = http.createServer(function (request, response){
  response.end('Request received ' + request.url);
});

server.listen(server_port, server_ip_address, function(){
  console.log("Server listening on: http://%s:%s", server_ip_address, server_port);
});

server.on('error', function(e) {
  console.log(e);
});

code good not debug !
[ujshjrnfsdf90j23fj2ofjwof-freid.rhcloud.com repo]> node server
Server listening on: http://<IP_ADDRESS>:8080

Maybe today the port 8080 is free? Try jxm today.

jxm.io v0.3.9
HTTP  -> http://<IP_ADDRESS>:8080/123
events.js:72
throw er; // Unhandled 'error' event
^
Error: listen EACCES
at errnoException (net.js:905:11)
at Server._listen2 (net.js:1024:19)
at listen (net.js:1065:10)
at Server.listen (net.js:1139:5)
at Object.exports.startServer (/var/lib/openshift/563b86a389f5cf62c400021e/app-root/runtime/repo/node_modules/jxm/backend/jx_server.js:268:16)
at Object.rabbit.OnConnected (/var/lib/openshift/563b86a389f5cf62c400021e/app-root/runtime/repo/node_modules/jxm/backend/jx_server_events.js:169:17)
at Object.exports.start (/var/lib/openshift/563b86a389f5cf62c400021e/app-root/runtime/repo/node_modules/jxm/backend/jx_rabbit_api.js:134:21)
at Object.exports.Start (/var/lib/openshift/563b86a389f5cf62c400021e/app-root/runtime/repo/node_modules/jxm/backend/jx_server_events.js:174:12)
at Object.exports.start (/var/lib/openshift/563b86a389f5cf62c400021e/app-root/runtime/repo/node_modules/jxm/backend/jxm.js:327:39)
at Object. (/var/lib/openshift/563b86a389f5cf62c400021e/app-root/runtime/repo/server.js:16:8)
a connection port has been closed .

BTW; I've updated it on npm to latest 0.4


Predicate support for connecting to Metamask

Today the way we build predicates enables users to spend coins from a certain predicate when matching the script requirements. The idea is to have a built-in predicate that enables users to operate with Metamask as a way to sign transactions on Fuel, without the need to have a Fuel Wallet.
The ideal implementation would be a Wallet that uses a Predicate as the underneath signers replacing the need for private keys.
Use case;

When the application calls the sign method from Predicate Wallet, Predicate will use a MetaMask SDK to request a signature from the user. When it returns, we should treat and add this to the TX  and continue the current flow.

Agreed this should be done via the wallet connector with examples / documentation


Adding external Language Model

Hi,
Is it possible to use an external language model with Speechbrain? I.e. there is an option to add LM to beam search models but I was wondering if I could add any LM models here provided that they are based on PyTorch ModuleList?
If it is possible, are there any additional steps for implementation that I should keep in mind?

Hi, I guess that this is indeed feasible as long as it is a PyTorch ModuleList. You should have a look at the class available in speechbrain/decoders/seq2seq.py In practice, you will have to create a class to manage you custom module inheriting from one of the searcher.

Ok thanks, also the tokens used for ASR and external LM have to be the same, right?


Configure Kubernetes feature gates per cluster

User Story

As a cluster operator, I would like configure Kubernetes feature gates so that I can enable Kubernetes alpha or beta features that are disabled by default.

Acceptance Criteria

[ ] Given I need a specific Kubernetes feature that is behind a feature gate that is disabled by default, when I create a cluster, then I should be able to enable the desired feature gate for my cluster.

Tasks

[ ] Add Helm values for enabling API server feature gates
[ ] Add Helm values for enabling controller manager feature gates

Currently feature gates are configurable only for the provider integration here in the cluster chart:
internal:
  providerIntegration:
    controlPlane:
      kubeadmConfig:
        clusterConfiguration:
          apiServer:
            featureGates: []

The above field can be set by cluster-aws, which means that it is then used by all clusters by default.
Now we should enable setting specific feature gates for specific clusters, so that cluster operators can enable customer feature gates they need for their use cases.
We should add the following new Helm values to the cluster chart:
internal:
  advancedConfiguration:
    controlPlane:
      apiServer:
        featureGates: []
      controllerManager:
        featureGates: []

Features gates specified per-cluster in .Values.internal.advancedConfiguration here should either:

override provider-wide feature gates from .Values.internal.providerIntegration, or
it should not be allowed to override provider-wide feature gates from .Values.internal.providerIntegration (if some providers really need some feature gates to be enabled/disabled for whatever reason).

The first option above is probably simpler and good enough for now, especially if we add it to .Values.internal.advancedConfiguration.
(Ideally we add a new property for feature gates in .Values.internal.providerIntegration where we can specify if a feature gate can be overridden or not, but we can do that later.)

This is linked to the following issue : https://github.com/giantswarm/giantswarm/issues/29575


image view arrows position

Trying the theme on vivaldi on mastodon 4.1.2
When viewing images the arrows are not vertically centered and overlap with the close button.

Hmm, interesting. Does this happen only on advanced interface or on single column as well? You are running Mastodon 4.1.2 stable or main (nightly)? What Mastodon Bird UI version is in use?

We are running the stable mastodon versioin, and I am using the current master of the UI.
This happens both on advanced and single column.
I run the css through the extension 'User Javascript and CSS'


Mono: BindingsGenerator enum fixes

Make enums have an unique signature name of int. This means that when generating internal methods, there is no difference between different enums types nor between enums and int. This way enums can re-use internal methods.
Make type resolver fall back to int if a type is not found and it's an enum.

Make type resolver fall back to int if a type is not found and it's an enum.

Right now, master is failing to generate the mono bindings because the following enum constants are not registered with BIND_ENUM_CONSTANT.
https://github.com/godotengine/godot/blob/91dfccd1eef05b84618f92f9b43b99646a665aec/modules/csg/csg_shape.cpp#L392-L394
This will no longer be necessary after the change above.
This also fixes Zylann/godot_voxel#14

Cherry picked into 3.0.3