add the udf.enabled setting

Codecov Report

Merging #5203 into udf will increase coverage by <.01%.
The diff coverage is 86.36%.

@@             Coverage Diff              @@
##                udf    #5203      +/-   ##
============================================
+ Coverage     82.52%   82.53%   +<.01%
  Complexity    11247    11247
============================================
  Files          1352     1352
  Lines         45820    45840      +20
  Branches       5749     5749
============================================
+ Hits          37814    37832      +18
+ Misses         5313     5308       -5
- Partials       2693     2700       +7

Impacted Files
Coverage Δ
Complexity Δ

...ava/io/crate/metadata/sys/SysClusterTableInfo.java
100% <100%> (ø)
4 <0> (ø)
:arrow_down:

...rate/operation/udf/UserDefinedFunctionService.java
91.25% <100%> (+0.11%)
23 <2> (+1)
:arrow_up:

...ference/sys/cluster/ClusterSettingsExpression.java
100% <100%> (ø)
4 <0> (ø)
:arrow_down:

...peration/udf/UserDefinedFunctionDDLDispatcher.java
84.21% <66.66%> (-3.29%)
4 <3> (+1)

...java/io/crate/metadata/settings/CrateSettings.java
90.2% <87.5%> (-0.05%)
16 <0> (ø)

...n/java/io/crate/exceptions/JobKilledException.java
0% <0%> (-66.67%)
0% <0%> (-1%)

...in/java/io/crate/data/CollectingBatchConsumer.java
69.23% <0%> (-15.39%)
4% <0%> (-1%)

...peration/collect/BatchIteratorCollectorBridge.java
65.78% <0%> (-10.53%)
2% <0%> (ø)

...ration/collect/collectors/OrderedDocCollector.java
90% <0%> (-10%)
5% <0%> (-1%)

.../java/io/crate/analyze/symbol/ParameterSymbol.java
87.5% <0%> (-6.25%)
6% <0%> (-1%)

... and 22 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 3f0fced...66a9c99. Read the comment docs.


Check timestamps

With #98 (2022-12-29), the following podcast episodes became 1 second shorter. If ads changed, or if #93 is involved, this may affect timestamps:

C2E20
C2E23
C2E24
C2E26
C2E29
C2E30
C2E31
C2E33
C2E34
C2E40
C2E43
C2E46
C2E47
C2E48
C2E49
C2E53
C2E54
C2E59
C2E69
C2E70
C2E71
C2E73
C2E74
C2E78
C2E81
C2E84
C2E85
C2E87
C2E88
C2E91
C2E92
C2E93
C2E96
C2E97
C2E100
C2E101
C2E103
C2E106
C2E107
C2E111
C2E112
C2E118
C2E119
C2E121
C2E123
C2E125
C2E127
C2E131
C2E132
C2E135
C2E136
C2E137
C2E138
C2E140
C2E141
C3E1
C3E6
C3E12
C3E13
C3E15
E1E1
E1E5
E2E1
E2E2
SP1
SP2
SP3
SP4

Closed by 2ca68d9.
It seems only SP1-4 were affected by #98. They experienced some significant timestamp shifts, presumably due to changed ads. The other episodes showed no change.


raft: fix bullet point indentation in README

Before this change:

After this change:

lgtm

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@3cad5e4). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #8570   +/-   ##
=========================================
  Coverage          ?   75.79%
=========================================
  Files             ?      357
  Lines             ?    29293
  Branches          ?        0
=========================================
  Hits              ?    22203
  Misses            ?     5542
  Partials          ?     1548

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 3cad5e4...b9c4f5b. Read the comment docs.


Prevent hangs on timeout in slimerjs

Slimerjs appears to incorrectly implement phantom.onError. This results in
hangs when a test or a step times out in casperjs.
Relevant slimerjs bug is tracked here: https://github.com/laurentj/slimerjs/issues/406
This PR deals with that bug in slimerjs by using errorHandlerAndDone instead of throwing an exception. This is a similar code path to how onWaitTimeout works in modules/tester.js.
To reproduce the problem in casperjs, put the following in /tmp/test.js:
casper.options.timeout = 1000;
casper.options.stepTimeout = 100;

casper.test.begin("should timeout after 100ms", function(test) {
  casper.start();
});

casper.test.begin("should timeout after 50ms", function(test) {
  casper.start();
  casper.then(function() {
    casper.waitStart();
  });
  casper.run();
});

Then run:
$ bin/casperjs --engine=slimerjs test /tmp/test.js
Test file: /tmp/test.js
# should timeout after 100ms
PASS should timeout after 100ms (NaN test)

And it will hang after the PASS.
If you run the same thing with phantomjs, it times out as you'd expect:
$ bin/casperjs --engine=phantomjs test /tmp/test.js
Test file: /tmp/test.js
# should timeout after 100ms
PASS should timeout after 100ms (NaN test)
FAIL Timeout occured (1000ms)
#    type: uncaughtError
#    file: /tmp/test.js
#    error: Timeout occured (1000ms)

#    stack: not provided
# should timeout after 50ms
PASS should timeout after 50ms (NaN test)
FAIL Step timeout occured at step 1-1 (100ms)
#    type: uncaughtError
#    file: /tmp/test.js
#    error: Step timeout occured at step 1-1 (100ms)

#    stack: not provided
FAIL 2 tests executed in 1.254s, 0 passed, 2 failed, 0 dubious, 0 skipped.

Details for the 2 failed tests:

In /tmp/test.js
  should timeout after 100ms
    uncaughtError: Timeout occured (1000ms)
In /tmp/test.js
  should timeout after 50ms
    uncaughtError: Step timeout occured at step 1-1 (100ms)

This doesn't quite work yet, because it doesn't reset state on a timeout (i.e. if a wait is still pending from a previous test, it doesn't reset that start at the beginning of the next).

It is good that you present test cases. Please include them in your PR, so we can just pull your branch and inspect what is stilling missing to make your bug-fix fully functional.

Hi @istr! I wasn't sure how to write tests in the style of the other tests I found in the repository, because none of the others seem to expect timeouts, and wrapping these failures with an assertThrows or whatever the casper equivalent would complicate the test case quite a lot, because it would alter the queueing order of the tests.

Archiving PR using ARCHIVE label as CasperJS, like PhantomJS, is not actively maintained for now. These PRs are from 1-5 years ago but there just hasn't been maintainers to continue the work.


Add BufferedInputFile to MediaAttachment

Example of use:
class QRCodeMedia(Media):
    def __init__(
            self,
            *,
            data: Union[Text, str, None] = None,
            type: ContentType = ContentType.PHOTO,
            media_params: Dict = None,
            when: WhenCondition = None,
    ):
        super().__init__(when=when)
        if not data:
            raise ValueError("No data is provided")
        self.data = data
        self.type = type
        self.media_params = media_params or {}

    async def _render_media(
            self, data: Any, manager: DialogManager,
    ) -> Optional[MediaAttachment]:

        figfile = BytesIO()
        qr = QRCode(version=1, box_size=15)
        qr.add_data(self.data)
        qr.make_image().save(figfile)

        return MediaAttachment(
            type=self.type,
            data=MediaBufferedData(figfile.getvalue(), filename='qrcode'),
            **self.media_params,
        )

In dialog:
  Window(
    Const("Scan the QRCode to go to the github page"),
    QRCodeMedia(data='https://github.com/Tishka17/aiogram_dialog'),
    state=MainSG.start,
  ),

In fact, I simplified the example to generate the same QRCode, in a real case, data is taken from manager.dialog_data in _render_media and the QRCode is generated from them, and at each generation they are always unique.
The custom_media_url example is interesting, haven't seen it before, thanks.
To implement caching media_id for identical data field, can use the filename field and override media.url in get_media_source, for example f'buffered://{media.data.filename}'. Or change the MediaIdStorage code, but this is not desirable.

I am not sure about advantages of this approach over provided example with custom urls. Let's continue discussion in telegram @aiogram_dialog

My opinion is that MessageManager should be able to understand if we are showing the same image or not. With proposed approach you will regenerate and resend new image on each button click. To prevent it you can either use custom URL or send photo without dialogs.
Anyway you can do it on your side by providing a child of MessageManager
So I am closing this PR.


Vue template

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Why don't move to a standard vue template using vue-cli and benefit of the base configuration ?
Describe alternatives you've considered
Maybe could be cool to move to v3 of vue and starting with Composition API
Additional context
No

Rewriting all of Postwoman to latest vue is also a prime concern for me-but I can't afford to break any features. Will surely consider your advice :open_hands:

Well, I don't think it will have that big of a deal on any of the features we have right now, just that it affects the current PRs....
I think we should work on a vue-cli build, build it in a separate branch perhaps...
I am not a Vue guy (React ftw :stuck_out_tongue: ) so anyone willing to take up the task feel free to make a PR...

Well. i'm pretty comfortable with vue ecosystem; my doubt is only the merge because the project scaffold of vue template will change the project folder structure.
Anyway i'll be glad to contribute even if i don't have so much time, but if you consider this issue not a priority feel free to assign to me and i'll try to work on it
best regards
Diego

@diego81b Let it change the project structure, that's fine, please be free to work on your PR but we should assign it to a separate branch so existing PRs can still be worked on and integrated before we merge it to master...

Keep seperate branches for development ✌

I love Vue - perhaps I could fork the project (and anyone else interested in helping to port this to Vue) could work on the fork. Then we can just PR into the main repo when it's done?

Also we should totally make a PWA from this!

I would love to migrate to Vue. Need some helping hands. Btw, PWA support has already been implemented. But Vue integration would enhance it. No offense.

@NBTX
my intention was to use this https://github.com/chrisvfritz/vue-enterprise-boilerplate
appropriately resized for our purpose
i have this issue assigned but feel free to work on your fork add maybe add me as collaborator

@liyasthomas Just noticed the PWA support -- neat!
@diego81b Okay. I'll take a look at the boilerplate. I've created the fork and sent you and @liyasthomas collaborator invites: https://github.com/NBTX/postwoman-vue

Closing the issue since #51 solved it

@all-contributors please add NBTX for code


Appstudio update test-component-pac-vozi

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-vozi-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
1 minute
init

✅ Succeeded
2 minutes
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
2 minutes
inspect-image

✅ Succeeded
2 minutes
deprecated-base-image-check

✅ Succeeded
4 minutes
clair-scan

✅ Succeeded
2 minutes
clamav-scan

✅ Succeeded
13 seconds
sbom-json-check

✅ Succeeded
10 seconds
optional-label-check

✅ Succeeded
11 seconds
label-check

✅ Succeeded
17 seconds
show-sbom

✅ Succeeded
23 seconds
show-summary

Pipelines as Code CI/test-component-pac-vozi-on-pull-request has successfully validated your commit.


scrcpy from commandline works but scrcpy-client-0.3.5 doesn't

Hi, I am encountering an issue with scrpy-client-0.3.5 (and scrpy-client-0.3.6) and I am not sure how to get it to work. Running scrcpy directly works as expected but using python didn't work for me. Any idea how to solve this?
screencapture video
ADB Logcat
11-22 18:57:56.778  1411  1411 E adbd    : failed to connect to socket 'localabstract:scrcpy': could not connect to localabstract address 'localabstract:scrcpy'

If I set a breakpoint to at core.py and wait a little before continuing code execution, it will work:
screencapture video

Seems like pushing the ADB server exceeds 3 seconds and causes a timeout. And in the official scrcpy, it takes more than 3 seconds too.
I will release a fix to allow you to set a custom timeout.

I will also add something to wait for the server to start.

It should be fixed now, can you try the newest version from GitHub? (NOT PYPI)

Or you can update the core.py manually

There is still has an error but you are right about waiting for the server.
kuanyong@kuanyong-GP66:~/Desktop/MyProjects/pq3$ python3 client.py
[AdbDevice(serial=8AFX0RRXU)]
Traceback (most recent call last):
  File "client.py", line 22, in <module>
    client.start(threaded=True)
  File "/home/kuanyong/.local/lib/python3.8/site-packages/scrcpy/core.py", line 153, in start
    self.__deploy_server()
  File "/home/kuanyong/.local/lib/python3.8/site-packages/scrcpy/core.py", line 142, in __deploy_server
    self.__server_stream.check_okay()
  File "/home/kuanyong/.local/lib/python3.8/site-packages/adbutils/__init__.py", line 171, in check_okay
    raise AdbError("Unknown data: %s" % data)
adbutils.errors.AdbError: Unknown data: [ser
kuanyong@kuanyong-GP66:~/Desktop/MyProjects/pq3$

The the server is started it prints the device name after a pause:
kuanyong@kuanyong-GP66:~/Desktop/MyProjects/pq3$ adb push /usr/local/share/scrcpy/scrcpy-server /data/local/tmp/scrcpy-server.jar && adb shell CLASSPATH=/data/local/tmp/scrcpy-server.jar app_process / com.genymobile.scrcpy.Server 1.20 info 0 100000 1 -1 true - false true 0 false false - - false
/usr/local/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 3.9 MB/s (37139 bytes in 0.009s)
[server] INFO: Device: Google Pixel 3 (Android 12)

V0.3.7 is publishing, and the problem should be solved. Can you try it 10 minutes later?

It works now, thanks!


Suppress deprecated-declarations compiler warning

Suppress the deprecated-declarations warning when compiling config_monitor_service.cc. The warning appears to be interfering with Coverity analysis.
Signed-off-by: Derek G Foster<EMAIL_ADDRESS>

I understand that we want to suppress this warning because it is in Stratum code and not the code we wrote?

I want to make the warning go away because it appears to be causing the Coverity scan to fail outright.
I looked for an alternative method to using the deprecated method and was referred to a Go module. (Not much help.) I then checked the latest Stratum code. (Not fixed there) The lowest-impact change I could think of was to suppress the deprecated-method warning for just this file.

Approved


[FancyZones] Template for arbitrary columns and rows

It would be nice if you could create a (custom) layout just by defining rows and columns.
I would like to use the same grid layout for each display.
But maybe it would be useful to define different grid sizes with this tool for each display.
The current grid template does not allow  4x3 by defining"12". It creates 3x4 instead.
Here is a mock up:

Another solution to my personal problem would be a checkbox to invert the current grid template.
So when I define "12" it creates 3x4.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

My primary monitor is on portrait orientation and I need it to have more rows than columns.


UV API not working

When requesting UV data, the response is always 404.
The current method uses the old UVI API (https://openweathermap.org/api/old-uvi). It should be changed to the current API methods (https://openweathermap.org/api/uvi).

This is now fixed by #132.


Update Makefile

SHALLOW_SUB wasn't getting picked up by sdk build files, leading to moderate clone times

Wait for https://github.com/black-parrot-sdk/black-parrot-sdk/pull/4 to bump SDK


[CHEF-3775] Converting recipe loading to recursive.

This should fix the issue raised on the jira a while back where recipes couldn't be referenced if they were in subfolders. The format I went for was simply recipe[cookbook::folder/recipe], though if desired I can alter it to be recipe[cookbook::folder::recipe].

This was a feature, not a bug IMO, and I bet this breaks in a lot of other places. :-1: from me.

Also regardless of goals, a change of something this fundamental should go through the RFC process most likely, given the broad ramifications.

it looks like @root_paths[0] is blowing up because its nil in a lot of cases -- on a lot of functional tests, so its real breakage.
also no DCO, and if we're going to do this i'd prefer the more consistent foo::bar::baz syntax, and probably does need an RFC.
also the usual suggestion that if you're writing enough recipe code like this in a single cookbook that you want to organize things like this, you probably want to consider refactoring.  the apache2 cookbook is a good example of a bad pattern where a hundred recipes really need to be replaced by one single resource that can be called arbitrarily.

@lamont-granquist My use-case is specifically for a "provision" cookbook. If node provisioning were handled with a different structure, it'd be a different story, but that'd be a waaay bigger change than this.
I'll look up the RFC procedure and put something together when I can get time.

I think we're going to close this PR given it's age and our general nervousness about this. If you'd like to write up an RFC we can have a discussion there.
Thanks for your submission!


Debouncing rapid clicks.

Now im not entierly sure this is the place for this issue, if it can be implemented in ratbag, or if i have to go straight to libinput. It seems to be a problem mainly with lightspeed mice tough.
Is your feature request related to a problem? Please describe.
My G305 double clicks more than half the time when i single click.
Describe the solution you'd like
Libinput and evdev have a debouncing option, tough i libinput it is hardcoded to 25ms. Rather not use evdev.
Would it be possible to add a range for double click detection?
I.e. any 2 clicks under X (say 125ms) are read as one, and any 2 clicks in X time are read as a double click.
Describe alternatives you've considered
The alternatives right now are to pull the PKGBUILD of libinput and patch the values in evdev-debounce.c and compile.
Or possibly use evdev with the Xorg config options they provide (have not tried, possible they are deprecated).
And to make an issue with libinput about this.
Additional context
Iv'e seen a lot of posts on this double click issue, some where resolved with libinput adding debounce, but it seems it persists for many there the hardware switch bounces slower than 25ms. It needs to be modifyable to a higher value.
Windows and mac have other debounce implementations that works better, or maybe it is in the mice drivers.

libratbag only consfigures settings on the hardware, it only talks to the hardware, it has nothing to do with input even handling.
The correct place should be libinput but I doubt they will allow you to configure this :confused:

Ok, kinda suspected this.
Yeah i doubt libinput would care enough. They just grabbed the code for debouncing off of evdev.
Guessing i will have to grab the PKGBUILD and add a patch to hackily solve this.


Query CLI command for price history

@vuong177 , Can I working on this issue

Done via #458 andand #459


Cannot render a form for a valid JSON schema

Prerequisites

[x] I have read the documentation;
[x] In the case of a bug report, I understand that providing a SSCCE example is tremendously useful to the maintainers.

Description
The form shows an error for a part of valid JSON schema
Steps to Reproduce
Provide the folllowing JSON schema (from https://github.com/Azure/open-service-broker-azure):
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "properties": {
    "firewallRules": {
      "description": "Firewall rules to apply to instance. If left unspecified, defaults to only Azure IPs",
      "items": {
        "description": "Individual Firewall Rule",
        "properties": {
          "endIPAddress": {
            "description": "End of firewall rule range",
            "type": "string"
          },
          "name": {
            "description": "Name of firewall rule",
            "type": "string"
          },
          "startIPAddress": {
            "description": "Start of firewall rule range",
            "type": "string"
          }
        },
        "required": [
          "name",
          "startIPAddress",
          "endIPAddress"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "location": {
      "description": "The Azure region in which to provision applicable resources.",
      "type": "string"
    },
    "resourceGroup": {
      "description": "The (new or existing) resource group with which to associate new resources.",
      "type": "string"
    },
    "sslEnforcement": {
      "default": "",
      "description": "Specifies whether the server requires the use of TLS when connecting. Left unspecified, SSL will be enforced",
      "enum": [
        "",
        "enabled",
        "disabled"
      ],
      "type": "string"
    },
    "tags": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Tags to be applied to new resources, specified as key/value pairs.",
      "type": "object"
    }
  },
  "type": "object"
}

Expected behavior
Rendering the whole form
Actual behavior
Rendering the form until the tags key appears
Invalid tags object field configuration:Cannot convert undefined or null to object.

{"additionalProperties":{"type":"string"},"description":"Tags to be applied to new resources, specified as key/value pairs.","type":"object"}

This part is problematic:
"tags": {
  "additionalProperties": {
    "type": "string"
  },
  "description": "Tags to be applied to new resources, specified as key/value pairs.",
  "type": "object"
}

Commenting it makes the error disappear.
Version
1.0.3

Hi @glasserc , @graingert , @edi9999
Is this project still being actively developed. We noticed there are many issues without maintainers comments. If you do not have time we would be glad to support and make a pull request for above, but we first need to actually make sure it makes sense or we should rather do fork or research a replacement

If you make a pull request I will review it and merge it if ok. rjsf is in fact not actively maintained.

Hello guys :) I wanted to implement this feature in the next days but... wait for it - someone did it before me 👍  Opened today :) We would be super-grateful for review this PR ;)
https://github.com/mozilla-services/react-jsonschema-form/pull/1021
Looks nice, I tested this on our schema&case and it worked fine :)

I'm inside your head...

Yea dude its creepy, from now on I will intensively think about features I need and then all I have to do, is waiting :D
Now I know that reading The Power of Your Subconscious Mind by Joseph Murphy paid off 🕺

@pkosiec @derberg is this still an issue in the latest version?

@epicfaace yeap, this is fixed, I think we did some additional PRs for this topic afaik. Tags are handled super nice by the lib


Starting workers in parallel may fail due to same pidFile

When having lots of queues and lots of workers, the time it takes to serially start all workers gets noticeable. In my case this is >30s.
When trying to start them in parallel with e.g. cake cake_resque -q foo -n 5 & we run into troubles that sometimes a worker is reported as Fail during startup.
We traced this to the following code-line https://github.com/wa0x6e/Cake-Resque/blob/42c4fbcca3cd8e5ae7817604887e84208552f1d2/src/Shell/CakeResqueShell.php#L825 :
$pidFile = Configure::read('CakeResque.Resque.tmpdir') . str_replace('.', '', microtime(true));

It's unlikely but not impossible that two workers receive the same value from microtime(true). The entropy is simply too low.
This $pidFile gets deleted after a worker successfully starts so although both workers start correctly up, one of them is faster deleting this file and the other is thus reported as being false (and: likely still to run correctly).

Closing, no longer using CakeResque


prototype pollution

Hi,
Could you patch this? See links below:
https://hackerone.com/reports/381194
https://nvd.nist.gov/vuln/detail/CVE-2018-16469
facebook/jest#7318 (comment)

Fixed in v1.2.1.

Fixed in v1.2.1.


Suggestions: sharing repositories

I think this is very well placed - it could move to the end of git-intro but it was a nice break here.

[x] The examples show cloning via ssh, but ssh takes more work to set up which we don't cover here.  I used https for simplicity.  Change defaults to https with a pointer to how to set up ssh keys.
[ ] Add pointers to how to use ssh keys and benefits of this.
[x] Emphasize more on bottom that we will cover github more later - a lot of our negative feedback was saying they wanted to know more about thsi.
[x] emphasize that this is enough to make a backup copy of your work and almost enough if you are only working yourself!

ssh keys are mentioned in  coderefinery/git-collaborative#36, so this can be closed (pr coming).


Add option to pass additional args to Whisper

This allows us to pass additional arguments to Whisper without having to deal with every single option separately.
For example, I'm using this to pass the location for the model to Whisper with --model_dir, since at least whisper-ctranslate2 defaults to the home directory of the user... but if your user doesn't have a home directory, this doesn't work. This is also the reason I'm aiming this at 13.x, though this might be controversial.

Approved and discussed, gonna merge this.


#542 因https://github.com/apache/dubbo/issues/4497 并入dubbo 2.7.4。故dubbo-spring-boot-starter要修改

Sorry for the delayed response, it has been released, thus this PR will be closed!


Solution for a proxy-like element (i.e preview cells in a datagrid)

Hi!
There's a specific use case that I had difficulties with and had to add a lot of hacks to solve, but if the library supported it out of the box it would be much easier.
The situation is where we have a "preview cell" showing in a data grid, so when hovering on the cell which has a tooltipster set up, the preview cell shows up immediately because it was clipped.
No what happens is that the tooltipster detects a mouseleave and hides.
If I'll set it up on the preview cell's element, it will have problems in interactive mode, because dragging the mouse to the tooltip will hide the preview, and the garbage collector detects that the preview cell was removed.
A possible solution for this is to add some kind of a callback to inform if the element that the mouseleave detected is a legitimate "parent" of the tooltip, in that case it wouldn't hide - but will register for mouse events on the new element too.
What do you think?

Hello, thank you for your message. The dismissable event might help you, check the source code for explanations. It's half way between the built-in triggers (which you can prevent via a callback if you wish), and full manual control through the methods.

If that's not enough, I personnaly wouldn't add more features for these use cases, as everyone has a different situation, and methods are here for that really.


Update add_users.sh

extend to support FSx home directories.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Needs to be moved


Added real time streaming

As you requested, I have broken this commit into a separate branch.

Added real time streaming
Better shell recognition for windows
Shorter and Better prompts for system role

In this pull request I have chosen the wrong brunch.
Correct pull request here: https://github.com/lpurdy01/shell_gpt/pull/4


smuggler run

We don't use DLC pack name for vehicles category, but we use vehicles categories name. You can learn more here:
https://wiki.rage.mp/index.php?title=Vehicle::getClass


feat: specify explicit input field type

closes https://github.com/pmndrs/leva/issues/200

Looks fine! Can you just add to the comment here since at this point it might not be a custom input but a forced input type as well? https://github.com/pmndrs/leva/blob/c1c24e8884960d543f1fa2b3042d5ddad60f930b/packages/leva/src/utils/input.ts#L79

@dbismut done!


ViewNotFoundException even know the views are in the build output

Exception: Nancy.RequestExecutionException: Oh noes! ---> Nancy.ViewEngines.ViewNotFoundException: Unable to locate view 'Search/Index'
The problem is that the output folder actually contains the standard Views/Search/Index.cshtml.
This does not happen when running locally (through Visual Studio). It happens when running it from the build output.
Any ideas?

Is this a self-hosted application?

Correct, You can see how I am starting the application here:
https://github.com/tidusjar/RequestPlex/blob/master/RequestPlex.UI/Program.cs
using (WebApp.Start<Startup>(uri))
{
    Console.WriteLine($"Request Plex is running on {uri}");
    Console.WriteLine("Press any key to exit");
    Console.ReadLine();
}

Yeah but what Nancy hosting adapter are you using? I'm guessing it's something with the root path that's not functioning correctly. Are you using any of the Nancy.Hosting.* packages?

@tidusjar Since your module is called SearchModule, I suspect you could just do return View["Index"]? Can you post the list of locations Nancy tried to search?

@thecodejunkie I am not using any Nancy.Hosting.* packages, but I am using Microsoft.Owin.Hosting.
@khellang I am not 100% sure (New to Nancy).
My Views folder structure is the following:
Views
---- Search
     ---- Index
---- Home etc

Here is the whole stacktrace:
Nancy.RequestExecutionException: Oh noes! ---> Nancy.ViewEngines.ViewNotFoundException: Unable to locate view 'Search/Index'
Currently available view engine extensions: sshtml,html,htm
Locations inspected: views/Search/Search/Index-en-US,views/Search/Search/Index,Search/Search/Index-en-US,Search/Search/Index,views/Search/Index-en-US,views/Search/Index,Search/Index-en-US,Search/Index
Root path: C:\Program Files\Request Plex\Release\
If you were expecting raw data back, make sure you set the 'Accept'-header of the request to correct format, for example 'application/json'
   at Nancy.ViewEngines.DefaultViewFactory.GetRenderedView(String viewName, Object model, ViewLocationContext viewLocationContext)
   at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3)
   at Nancy.ViewEngines.DefaultViewFactory.RenderView(String viewName, Object model, ViewLocationContext viewLocationContext)
   at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3)
   at Nancy.Responses.Negotiation.ViewProcessor.Process(MediaRange requestedMediaRange, Object model, NancyContext context)
   at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3)
   at Nancy.Responses.Negotiation.DefaultResponseNegotiator.NegotiateResponse(IEnumerable`1 compatibleHeaders, NegotiationContext negotiationContext, NancyContext context)
   at Nancy.Responses.Negotiation.DefaultResponseNegotiator.CreateResponse(IList`1 compatibleHeaders, NegotiationContext negotiationContext, NancyContext context)
   at Nancy.Responses.Negotiation.DefaultResponseNegotiator.NegotiateResponse(Object routeResult, NancyContext context)
   at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2)
   at Nancy.Routing.DefaultRouteInvoker.<>c__DisplayClassa.b__6(Task`1 completedTask)
   --- End of inner exception stack trace ---
   at Nancy.NancyEngine.InvokeOnErrorHook(NancyContext context, ErrorPipeline pipeline, Exception ex)

You have something whacky going on because it's looking in Search/Search - can you post the module?

You haven't installed the razor view engine package.

Currently available view engine extensions: sshtml,html,htm
^^ that's just the built in SSVE view engine, you need to install Nancy.ViewEngines.Razor in order to use Razor (cshtml) views.

He hast he package installed, might be a case of the .net linker removing the reference (deferred loading)
try putting
var foo = typeof(RazorViewEngine) anywhere in your code, before you actual start up Nancy. That will give us an indication if that's the problem

@grumpydev Strange, If I copy my build output manually over to the server it all works. But If I use the build output from the CI build it doesn't (Nancy.ViewEngines.Razor.dll is present there).

Anything to do with requireReinstallation="true" being all over the packages. file?

Is the CI build copying the MS Razor DLL too? Sounds like something is trying to be "clever" in what it deploys depending on what it thinks you need :)

Yeah... You can see what it copies over here: https://ci.appveyor.com/project/tidusjar/requestplex

Found the problem, I'm hoping you guys can explain. Inside my bin (output) folder I have the following
Debug (folder)
Release (folder)
Nancy.ViewEngines.Razor.BuildProviders.dll
Nancy.ViewEngines.Razor.dll
I copied the two dll's above onto the server and replaced what was existing and it now works.

Found it. The Nancy.ViewEngines.Razor.dll was 'blocked' I had to right click -> Properties -> unblock. It now works... I wonder why windows was blocking it.
Thank you for the assistance anyway :+1:

Ah, it will block it if you have a ZIP file you've downloaded from the internet, and if you extract without unblocking the ZIP it will block all the DLLs which then .net won't load :)
Interesting project btw :)

Ah that's why!
Thanks! It should be a replacement for the Original Plex Requests. I'm quite new to Nancy so I'm probably not doing things 100% correctly. I will be revisiting the documentation soon :)

@tidusjar one thing you can change in your modules is call :base() on them. It will let you pass in a module path and all routes, which are declared in the same module` will be relative to that. So no need to do
Get["/search"]
Get["/search/foo"]
Get["/search/bar"]

they will simply be
Get["/"]
Get["/foo"]
Get["/bar"]

https://github.com/NancyFx/Nancy/wiki/Exploring-the-nancy-module#using-modules-to-create-a-root-for-your-routes

What are your static files? All HTML files?
HTML files are considered Views so you could do a directory browse to create an in-memory list of files in the folder. Then do a single route like:
Get["/statics/{file}"]...

This uses the _.file value to look up if its a file from the directory (so that users don't attempt to navigate to files by passing in ../web.config and if it's ok then just doing
return View[(string)_.file];

@thecodejunkie Thanks! I discovered that yesterday, handy!
@phillip-haydon My static files are .cshtml,.js and .css. Do you have some sort of example I could look at?

.cshtml or .html? If they are razor files I would assume you want to process them before returning them...
For .js and .css can't they just come from ./content folder which is already a folder that nancy ignores and serves as static content?

@phillip-haydon I'm using .cshtml so they are all razor files. And yes all of my .js and .css are in the /content folder.
So what are you suggesting? I'm a bit lost now.

Sorry @tidusjar I'm getting confused between issues being raised. Mixed this ticket with another one just raised an hour ago that I replied to.


What do I do next?

I successfully deployed the Helm chart, and then I created a CRD resource and applied it using kubectl apply -f runner-resource.yaml. So what's next? Do I need to add a runner in the GitHub UI? Or does the runner automatically startup when the /workflows/config.yml references a specific runner name?
Sorry... this is my first time with GitHub self-hosted runners. Thank you.

You should see the runner(s) appearing in https://github.com/organizations/yourorg/settings/actions according to the min/max: https://github.com/evryfs/github-actions-runner-operator/blob/master/config/samples/garo_v1alpha1_githubactionrunner.yaml#L8

Thanks for the help @davidkarlsen. I'm using a personal access token value as the secret, and personal access tokens don't seem to have the option to register/deregister runners as one of its permission options. I assume a personal access token is not what I want. Do you have more clarity on this?

A PAT is OK for this - but it needs to have the required scopes in order to be able to register runners. See https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#self-hosted-runners for reference

I'm expecting to see a self-hosted runner as soon as the pod is started and available... let me know if that is incorrect.
There are no errors in the log, the pod is available, but I never see a runner in GitHub Actions.
If you have time to look at my config, I'd appreciate it, but understand if you are busy.
https://github.com/RedPillAnalytics/gke-cluster
Thanks for all your help so far.

that looks correct.
What does kubectl logs runner-pool-<thepodid> -c runner say?

I don't have a pod with a name like runner-pool-<thepodid>, only one with a name like github-actions-runner-operator-<thepodid>. Am I supposed to have 2 pods? If so... applying my resource is not spinning up the second pod.

yes - the operator will create those pods, let's look in the operator pod then - what does the logs say...?

This error:
2020-12-04T14:47:14.798Z        ERROR   controller      Reconciler error        {"reconcilerGroup": "garo.tietoevry.com", "reconcilerKind": "GithubActionRunner", "contr oller": "githubactionrunner", "name": "runner-pool", "namespace": "actions-runner", "error": "Secret \"actions-runner\" not found"}

I wasn't adding the secret to the actions-runner namespace. That has been corrected. But I now get a new error:
2020-12-04T16:06:56.728Z        ERROR   controllers.GithubActionRunner  error from github api   {"githubactionrunner": "actions-runner/runner-pool", "error": "GET https
://api.github.com/orgs/RedPillAnalytics/actions/runners?per_page=30: 401 Bad credentials []"}

I'm getting the token from the self-runner API, and I get the token API payload back:
{
  "token": "<redacted>",
  "expires_at": "2020-12-04T12:12:37.216-05:00"
}

I'm still looking at this, but just wanted to update.

I've gotten further. It's the personal access token, not the runner token, that we need to store in the secret. I now have 2 pods. I'll keep you posted. Thanks for the help.

I am now hitting the issue in #105 related to MountVolume.SetUp failed for volume "settings-xml" : configmap "settings-xml" not found. That issue mentions a solution, but doesn't specify it.

@davidkarlsen I meant to say thanks for your help prior to closing.

Well it all depends on your build env requirements - in my case this is a configmap I define for maven settings xml - if you don't need it you can just remove it - and do any other changes to the build-pod spec.

Yeah... I figured that out. Thanks.


Register Parameter names in Gpflow

Feature request
When creating a Parameter, e.g an Inducing Point, gpflow sets tf.Variable( value, name = None) name to None. In this way we cannot track parameters later on by looping over model.trainable_variables.
This is clearly a tensorflow problem, since in my opinion it should define a name automatically. For example in pytorch if name is not specified then Pytorch uses class name (nn.Module) to set a name for parameters.
Motivation
Track parameters. An example could be the case in which you want to use two different optimizers for different parameters. For example in Deep Kernel Learning we might wanna use SGD for the Neural Network (since SGD usually performs better on these models) and then use Adam for the GP part.
Also another motivation would be to use different learning rates or optimization schedulings ( for example natural gradients for variational parameters and LBGFS for hyperparameters)
Another motivation could be for setting parameters to be non trainable without having to reference them directly (i.e can be done in a loop filtering by name).
The only way we can do this at the moment is by directly adding the parameters to a list manually, i.e variable_list.append( model.kernel.trainable_variables ), which in my opinion is tedious as we filtering by name in a loop seems easier and more dynamic.
Solution:
The solution is quite simple. For example in the svgp code we can just replace:
q_mu = np.zeros((num_inducing, self.num_latent_gps)) if q_mu is None else q_mu
        self.q_mu = Parameter(q_mu, dtype=default_float())  # [M, P]

        if q_sqrt is None:
            if self.q_diag:
                ones = np.ones((num_inducing, self.num_latent_gps), dtype=default_float())
                self.q_sqrt = Parameter(ones, transform=positive())  # [M, P]
            else:
                q_sqrt = [
                    np.eye(num_inducing, dtype=default_float()) for _ in range(self.num_latent_gps)
                ]
                q_sqrt = np.array(q_sqrt)
                self.q_sqrt = Parameter(q_sqrt, transform=triangular())  # [P, M, M]
        else:
            if q_diag:
                assert q_sqrt.ndim == 2
                self.num_latent_gps = q_sqrt.shape[1]
                self.q_sqrt = Parameter(q_sqrt, transform=positive())  # [M, L|P]
            else:
                assert q_sqrt.ndim == 3
                self.num_latent_gps = q_sqrt.shape[0]
                num_inducing = q_sqrt.shape[1]
                self.q_sqrt = Parameter(q_sqrt, transform=triangular())  # [L|P, M, M]

to
q_mu = np.zeros((num_inducing, self.num_latent_gps)) if q_mu is None else q_mu
        self.q_mu = Parameter(q_mu, dtype=default_float(), name = 'svgp_variational_mean')  # [M, P]

        if q_sqrt is None:
            if self.q_diag:
                ones = np.ones((num_inducing, self.num_latent_gps), dtype=default_float())
                self.q_sqrt = Parameter(ones, transform=positive(), name = 'svgp_variational_covariance')  # [M, P]
            else:
                q_sqrt = [
                    np.eye(num_inducing, dtype=default_float()) for _ in range(self.num_latent_gps)
                ]
                q_sqrt = np.array(q_sqrt)
                self.q_sqrt = Parameter(q_sqrt, transform=triangular(),  name = 'svgp_variational_covariance')  # [P, M, M]
        else:
            if q_diag:
                assert q_sqrt.ndim == 2
                self.num_latent_gps = q_sqrt.shape[1]
                self.q_sqrt = Parameter(q_sqrt, transform=positive(),  name = 'svgp_variational_covariance')  # [M, L|P]
            else:
                assert q_sqrt.ndim == 3
                self.num_latent_gps = q_sqrt.shape[0]
                num_inducing = q_sqrt.shape[1]
                self.q_sqrt = Parameter(q_sqrt, transform=triangular(), name = 'svgp_variational_covariance')  # [L|P, M, M]

Note that at the moment Gpflow allows the user to pass in a name argument when creating different instances like kernels, or inducing points. But then these names are not use to register the parameters, which in my opinion is something we could fix for a better usage of Gpflow.

This would be great, and in fact GPflow 1 had its own parameter-tracking system that did give names by default, but I think it'd be a significant amount of work to get this working in a consistent way across all of GPflow... would probably require a bit of upfront discussion how to actually do it.


Update README.md

Bold the system requirement to draw attention to it.

Sure thing.
Btw, I was alerted to your post on the official rust discord this morning. Sorry I wasn't around to help but there is some effort to get tarpaulin running on Macs https://github.com/xd009642/tarpaulin/issues/152, so far I load the mach-o files, and get the trace points. There's code to launch processes as well, but tracing doesn't work the same so that's a WIP - and as someone without a Mac I appreciate any help :+1: .
In future I'm more active on https://discordapp.com/invite/aVESxV8 but I'm on both discords so you can tag me with @xd009642


Possible Issues with Coverage Reports?

When I am running "test:coverage": "vitest --coverage.enabled true"I am noticing that there is nothing called coverage-summary.json but there is something called coverage-final.json.
I updated my action to use that json-summary-path: ./coverage/coverage-final.json
However I am seeing TypeError: Cannot read properties of undefined (reading 'lines') in the action.
I'm going to guess this is not the correct json we need, but this is the only json I see.
My vite config is as follows
    test: {
        browser: {
            enabled: true,
            name: 'chrome',
            provider: 'webdriverio',
        },
        coverage: {
            reporter: ['text', 'json', 'html'],
            provider: 'istanbul',
            reportOnFailure: true,
            thresholds: {
                lines: 0,
                branches: 0,
                functions: 0,
                statements: 0
            }
        },
    },

Is this a problem with the latest version of things or a fault in my configuration?
Thanks.

Also having similar issue, json-summary is missing. is this still valid for vitest 2.0.4?

Hey @CollinHerber , thanks for opening this issue.
This action actually requires the json-summary reporter to be configured, with the json reporter being optional (explanation below), so your configuration should look like this:
test: {
  [...]
  coverage: {
      reporter: ['text', 'html', 'json-summary', 'json'],
      [...]
  }
}

The JSON-Summary contains summarized information which allows me to generate the general table and coverage for individual files, whereas the `json` report contains detailed information about the lines which are covered, allowing me to generate the `uncovered lines` column. Hence, `json` is optional as it just gives me additional information, but `json-summary` is vital to do any kind of reporting.

@jonmh85 : Yes, I just upgraded to `Vitest 2.0.4` in one of my projects and this action was working there. 🙂

Just added this and I am seeing coverage-summary.json now . The CI actions have been kicked off and should have a report here soon as long as this is working. Thank you. Will edit this post with the status.

@CollinHerber : Thank you for the quick feedback and I like this idea.
The only challenge here is that actually parsing the vite-config is a bit difficult, given it's various formats, and a bit out of scope of this action.
That's why, e.g. for the coverage, I don't really import the config, but just read it in as a string with fs and use a regexp to parse out the coverage-setting. It's brittle - but has worked for most of the cases so far 🙂. I could be using this method to also check the reporters.
I'll think about it and potentially implement it when I have the time.
Also happy to accept a PR if you want to go for it.


pkg/kf/commands: group command names

This CL uses k8s.io/kubernetes/pkg/kubectl/util/templates to group the
commands into logical groups.
fixes #55

@josephlewis42  I ran go mod tidy


Error response from daemon: NetworkDriver.CreateNetwork: Non-Calico IPAM driver is used

This error is hit when networks are created without the --subnet argument.
2016/11/05 17:31:29 RequestPool response JSON={"PoolID":"CalicoPoolIPv4","Pool":"<IP_ADDRESS>/0","Data":{"com.docker.network.gateway":"<IP_ADDRESS>/0"}}
2016-11-05 17:31:29.223445 I | Entering go-plugins-helpers createnetwork
2016/11/05 17:31:29 CreateNetwork JSON={"NetworkID":"d169372db9a4dc0e3937c95aa9adaa34acd001b395a7609527c7b93cac55a464","Options":{"com.docker.network.enable_ipv6":false,"com.docker.network.generic":{}},"IPv4Data":[{"AddressSpace":"","Pool":"<IP_ADDRESS>/0","Gateway":"<IP_ADDRESS>/0","AuxAddresses":null}],"IPv6Data":[]}
2016/11/05 17:31:29 Non-Calico IPAM driver is used

isn't a bug on Docker 1.12.3 but it does show up on Docker 1.11.2

Logs from 1.12.3
016/11/05 18:26:43 GetCapabilities response JSON={"Scope":"global"}
2016/11/05 18:26:43 GetCapabilities response JSON={"RequiresMACAddress":false}
2016/11/05 18:26:43 GetDefaultAddressSpace response JSON={"LocalDefaultAddressSpace":"CalicoLocalAddressSpace","GlobalDefaultAddressSpace":"CalicoGlobalAddressSpace"}
2016/11/05 18:26:43 RequestPool JSON={"AddressSpace":"CalicoGlobalAddressSpace","Pool":"","SubPool":"","Options":{},"V6":false}
2016/11/05 18:26:43 RequestPool response JSON={"PoolID":"CalicoPoolIPv4","Pool":"<IP_ADDRESS>/0","Data":{"com.docker.network.gateway":"<IP_ADDRESS>/0"}}
2016-11-05 18:26:43.719963 I | Entering go-plugins-helpers createnetwork
2016/11/05 18:26:43 CreateNetwork JSON={"NetworkID":"1bd5a7e3d4a17bfa119d162375a2743b79aa58bf4c7bc5ca18831b6516356ec5","Options":{"com.docker.network.enable_ipv6":false,"com.docker.network.generic":{}},"IPv4Data":[{"AddressSpace":"CalicoGlobalAddressSpace","Pool":"<IP_ADDRESS>/0","Gateway":"<IP_ADDRESS>/0","AuxAddresses":null}],"IPv6Data":[]}

Crucial difference is in the NetworkCreate which includes the CalicoGlobalAddressSpace

Fixed by #78


Add an API to see the list of Clients

=> Migrate to Entity Framework 7 : DONE
=> Read doc : http://ef.readthedocs.org/en/latest/modeling/relationships.html#many-to-many : DONE
=> Protect the API with ScopeAttr : DONE
=> Add notion of RO role into the database : TODO
=> Configure swagger to interact with IdentityServerManager API : TODO

Software which can be used to record : http://recordit.co/


YII db bug in postgres with array values

What steps will reproduce the problem?
$query = (new \yii\db\Query())
            ->from('table')
            ->where(['=', 'field', [1]])
            ->count();

If values is an array, containing only 1 element, the query will not work (always returns 0), although
createCommand()->getRawSql() returns the correct query.
If I have 2 or more elements in values, then query works fine (it is executed as IN query).
What is the expected result?
According to documentation http://www.yiiframework.com/doc-2.0/yii-db-query.html#where()-detail
In case when a value is an array, an IN expression will be generated. But it doesn't happen.
Moreover I expect the results to be returned, but I always get 0 in all cases.
What do you get instead?
I get empty results, the IN statement is not generated, and getRawSql() shows wrong query.
Additional info

Q
A

Yii version
2.0.12

PHP version
7.0.14

Operating system
Debian 8

Database
postgres 9.5

What are expected and actual queries?

@samdark

the expected query according to documentation should contain where clause with IN, but getRawSql() returns equality.
The actual executed query always return 0 if I have 1 element in array. It happens
due to bindParam in pdo.
The query looks like this

select count(*) from table where field = :qp0

\yii\db\Command have _pendingParams with this values
array
  ':qp0' =>
    array
      0 => int 1

Then there is invocation of bindPendingParams
protected function bindPendingParams()
    {
        foreach ($this->_pendingParams as $name => $value) {
            $this->pdoStatement->bindValue($name, $value[0], $value[1]);
        }
        $this->_pendingParams = [];
    }

3rd Parameter will be null. So I get 0 everytime.

If you wish IN statement to be generated you should use in operator instead of =:
$query = (new \yii\db\Query())
            ->from('table')
            ->where(['in', 'field', [1]])
            ->count();

related to https://github.com/yiisoft/yii2/issues/7640

@klimov-paul please, read the documentation once more. I provided link in the first message.

Docs never mentions that array of single value passed to = will be converted into IN expression.

@klimov-paul In case when a value is an array, an IN expression will be generated
It doesn't say that condition with array containing 1 element will not be converted to IN. It says when a value is an array. Arbitrary array, array with variable number of elements.

@cebe I don't think it relates to #7640. I think you'll get the same problem in mysql.

@miholeus then I probably did not understand the problem, what type is the column in the database and which values does it contain?

Converting single-value array to regular comparison has its purpose: it allows valid comparison for null values, which are usually unable to be processed via IN statement.
Compare:
SELECT * FROM Item WHERE some IS NULL

and
SELECT * FROM Item WHERE some IN (NULL)

Thus current behavior can not be changed. It is designed to facilitate regular scalar columns.
You should be aware while operating complex DB types such as array or jsonb.
Thier suport is not garanteed as  #7640 displays.

@cebe I have INT column

@klimov-paul I'm not talking about array or jsonb. I'm talking about error in component that is based on PDO.
3rd parameter here
$this->pdoStatement->bindValue($name, $value[0], $value[1]);

is null. It is a bug, there should be 1, or 2 for int,string.
That's why I always get 0.
I don't understand why you closed this issue. It's an obvious bug...

Unable to reproduce: following unit test passes correctly:
public function testCompareArray()
    {
        $connection = $this->getConnection();
        $query = new Query();
        $query->from('item')
            ->where(['id' => [2]]);
        $result = $query->all($connection);
        $this->assertCount(1, $result);
        $this->assertEquals(2, $result[0]['id']);
    }

Can you provide a nit test, which reproduces your issue?

Reproduced:
public function testCompareArray()
    {
        $connection = $this->getConnection();
        $query = new Query();
        $query->from('item')
            ->where(['=', 'id', [2]]);
        $result = $query->all($connection);
        $this->assertCount(1, $result);
        $this->assertEquals(2, $result[0]['id']);
    }

Triggers notice: ' Undefined offset: 1'

Still, this is not a bug.
According to the docs you are refer value is an array, an IN expression will be generated only for the hash condition format, e.g. the one I mentioned at https://github.com/yiisoft/yii2/issues/14385#issuecomment-313096224
For the explicit comparison array can not contain single value, but should hold the value with bind type.

@klimov-paul I see. At least it looks strange, that this code
where(['id' => [2]]);

works, but the equivalent with condition does not. Don't you agree?
Maybe it will be better to update docs to clarify that situation?


Refactor modules

This PR:

Adds library-module-android.gradle and library-module.gradle
Makes core a kotlin only module
Converts EspressoUtils from 🤢 to kotlin
Adds AppBuildInfo

Can be used in all modules
Single source of truth for Build infos (Problem: many modules, many BuildConfig files)

Delayed until #10 or #7 are merged into master.

@FlowMo7

One minor thing though: Should the Reaktor.handleErrorsWith(crashInDebug = true, handler = Timber::e) actually always be set to true here, or be coupled with the debuggable flag as well?
Agree.
Furthermore (but more a Reaktor topic than template): I kind of think the crashInDebug parameter could be better named, as it does not really need to be coupled to the debug mode, right? (as one could also want to have those crashes in production for example) Maybe something like crashOnErrors?
It is in fact coupled to BuildConfig.DEBUG, therefore the naming is good/necessary I think.


Adsk contrib - Removing dev for official release 2.2

Signed-off-by: Cédrik Fuoco<EMAIL_ADDRESS>

The expected CI checks passed on the three platforms, so I'll go ahead and merge this.  We will do a follow up to fix the extra CI checks.


2D array @params support

/**
 * @param {number[][]} matrix
 */

Refs:
jsdoc3/jsdoc#705
jscs-dev/jscs-jsdoc#94

Oops, it is a bug.
I'm working on #10, but the changes will break the backword compatibility.
Now, I'm gonna implement a converter class for old style results.

@Kuniwak Hey there. Can I help you with that somehow?

@zxqfox
I apologize for worrying you.
I implemented the new parser, and now, I'm preparing publish v1.2.0-alpha and v2.0.0.
In v2.0.0, we can get new AST.
In v1.2.0, we can get results that is equivalent to v1.1.4, but it using the new parser and transform it to legacy.

Great work! Thank you!
Going to try it :smirk_cat:

Resoved on #10.


188 enhance logging

<IP_ADDRESS> and <IP_ADDRESS> could both have very frequently changing numbers. How do we ensure what is displayed here is not just a blur? A short term average would help but that risks obscuring volatility - which might be an interesting property.

This is discussed in the logging document.  Perhaps it belongs in this document.  Today, we just "log as things happen".  With this work, we will have 3 modes of logging:

as things happen (e.g. new worker registers)
on a periodic clock not to exceed 1 Hz (e.g. count of assigned jobs)
canonical - gathered and assembled at the end of a key piece of work (e.g. job_succeeded, job_failed)


Research about open zeppelin library

Main page -> https://docs.openzeppelin.com/
Documentation -> https://docs.openzeppelin.com/contracts/4.x/

Helpful thread
https://ethereum.stackexchange.com/questions/121718/how-to-send-bytes-data-to-contract-with-web3-py-to-decode

Which method I used
https://docs.openzeppelin.com/contracts/4.x/api/utils#Base64


Properly defined group can't be inserted

I have a C++ codebase which contains a group that is defined properly for doxygen and is also exported to XML and HTML successfully. When I try to reference this exact group by its name from asciidoxy I get the error message  Cannot find any hil_pslwip_api for any.
/** @defgroup hil_pslwip_api LwIP based IP Stack API
 *
 *  This group describes the application interface of the LwIP based IP stack
 * component.
 *
 * @{ */

[...]

This is the adoc file. I get the information for LWIP_MEMORY_POOL_CTG_T and LWIP_INIT_PARAM_T fine but the group is still eluding me.
= asciidoxy notes
:toc: left

elements are the content of the "innerclass" XML element

${insert("hil_pslwip_api", kind="group")}

${insert("LWIP_MEMORY_POOL_CFG_T")}

${insert("LWIP_INIT_PARAM_T")}

What am I doing wrong here?
Could you please add some more documentation or examples on how to reference elements from C structures? I have managed to reference single elements by looking for the innerclass element in the XML files but I doubt the idea behind this tool is to manually add all definitions to AsciiDoc files?!
I would think the groups and "pages" (for a lack of a better word) that come from the doxygen export would be reusable. Am I just misunderstanding how this is supposed to be used?

It looks like AsciiDoxy does not handle the group concept correctly yet. Some work to do here.


Fix crash on android

this code, crash android, check this https://github.com/software-mansion/react-native-reanimated/issues/3775
return fill: interpolateColor(progress.value, [0, 1], ['rgba(0, 0, 0, 0)', `rgba(0, 0, 0, ${options?.backdropOpacity ?? 0.8})`]),

so instead of animating the color, I change it to animate the opacity,
return fillOpacity: interpolate(progress.value, [0, 1], [0, 1]),

@Nghi-NV


Storage Explorer - New Folder - Folder disappears after creation

In Dev environment:
When the user clicks on an initiative and goes to Storage Explorer > View Storage > New Folder, a new folder is created, but when the user clicks on the new folder and goes back to the previous page, the new folder that was created disappears

Deactived the new folder for now. We need a strategy to upgrade the storage accounts to allow for this functionality.


TPS issue

Unlike in the BL2 version, it doesn't seem to work in the pre sequel on multiplayer. It just deletes the weapon for anyone who isn't the host.

The multiplayer compatibility for BL2 happened mostly on accident.
If anyone is interested in fixing the multiplayer for TPS I'll gladly accept a pull request, otherwise I'll be leaving it as is.


Change bad rows file to a bad rows report

Tests are failing even though it works as expected if not ran with rake spec. I'll investigate.

I took a quick look and it seems that the modified Avro::Schema does not clear it's errors array and basically you print out all errors that ever occurred till that point.
I have now explanation why it works when you run it without RSpec. How do you run it? The same input as the in the spec?

LGTM code wise, but let's figure out why CircleCI is failing.

This finally works and tests run as expected. @tmichel can you merge if it looks good?

Great piece of refactoring, LGTM with comments


Add integration tests using test-tube on the CI

Add integration tests on the CI for the cosmwasm using a smart contract to consume the cw, and calling the sc on test-tube's chain.

See branch f/injective-cosmwasm-testing-suite as a starting point.


License: Apache-2.0 license

Thanks for this nice dataset.
Apache-2.0 license is used in the original ARC dataset, and also in the Mini-ARC dataset.
Perhaps use Apache-2.0 license?

Thanks for adding license.


Data model is missing resources for Identity Source Sequence

Identity Source Sequence is needed for most certificate-based authentication.
The TF provider defines this resource:
https://registry.terraform.io/providers/CiscoDevNet/ise/latest/docs/resources/identity_source_sequence

Confirmed resolved with the addition of the resource in the latest branch


Kafka connector - does it need to be in XDM format or can the AEP mapper be used to translate it into XDM

Issue in ./help/ingestion/streaming-ingestion/kafka.md
Can we add details to this document on whether or not the XDM mapper can be used?
Does the data need to be in XDM format, or can it be translated using the mapper in AEP into XDM format?

Thank you for logging this issue.
We will review the documentation and update accordingly.
Internal Tracking: https://jira.corp.adobe.com/browse/PLAT-104092


updating inputs and outputs

@billmath,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Use weldx quantity

Changes
use our weldx unit/quantity instead of the asdf tag
Related Issues
Closes # (add issue numbers)
Checks

[ ] updated CHANGELOG.md
[ ] updated tests
[ ] updated doc/
[ ] update example/tutorial notebooks
[ ] update manifest file

!<asdf://weldx.bam.de/weldx/tags/unit/unit-0.1.0> looks a bit ugly in the examples but it's much better with !weldx!unit/unit in the actual code


Align spring-cloud-serveless to main

update to spring 3.0.1
update to java 17
remove repo.spring.io

Since this is now targeting Java 17, the az spring app deploy command in the readme should include the build-env option for Java 17: --build-env BP_JVM_VERSION=17


Firebase setup docs updated in docs

Thanks :)

It's my pleasure, to work on this amazing project
On Fri, Oct 7, 2022 at 8:47 PM Tushar Khatri @.***>
wrote:

Thanks :)
—
Reply to this email directly, view it on GitHub
https://github.com/tusharkhatriofficial/Blogify/pull/12#issuecomment-1271729513,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASLYLEJ5GZBCBLIJFJZYBILWCA5GXANCNFSM6AAAAAAQ7U4WYI
.
You are receiving this because you authored the thread.Message ID:
@.***>


Diagnostics reported remains after file is deleted

Creating "foo.rego" and deleting it doesn't seem to remove the diagnostics reported for that file.

I was able to replicate this but now I can't. Do you remember anything you had in this env to make it happen?

No, seems to have been accidentally fixed somehow 😅 But I'll take it! Let's close and re-open if we encounter this again.

Hmm, this is hard as in this case the client didn't delete the file. (aka right click, delete).
I'd be interested to know what other language servers do here, but doing a full reload on branch change seems reasonable.

Yeah... there's probably a branch change listener somewhere in the client already, but ideally we'd be able to catch this without relying on client code 🤔 we could perhaps just check periodically, but if there's a better way, that'd be good.

Some notes from my working on this.
FS Notify can't operate in a recursive way. If you want to watch new files added to new dirs then you need to introduce some polling based delay to get the file state should you miss the initial file creation event.
Other language servers seem to still use this approach, e.g. https://github.com/golang/tools/blob/55d718e5dba2aaaa12d0a2ab2c11c7ac7eb84fcb/gopls/internal/cache/snapshot.go, but I was unable to write a test that reliably passed without introducing a delay. Some WIP on that here: https://github.com/StyraInc/regal/commit/f0bce94ebb5ab7c2daa38bd2ed8b469409bffee7
I opted to keep it really simple for now and circle back if we still have other issues.
One additional challenge here is that you can't 'just' load the changed contents from disk as there might be unsaved changes in an open buffer. So even my polling implementation misses files that are changed outwith the client. I am unsure how to address this particular issue even with an event based approach.
It might be best to open a new issue for this specifically? (changes files behind open buffers)


Retrieve existing certificates

I was wondering if there could be an option to retrieve existing certificates.
I generated some certificates and then accidentally deleted them from the IIS console. Now when I try to generate new ones I get an error:
Error creating new cert :: Too many certificates already issued for:
I believe I'll have to wait atleast a week before I can get new certificates right? Is there some way to pull the existing ones or restore them if they are backed up by the program before installing them in IIS?

It saves them to %appdata%\letsencrypt-win-simple\URL\ since you haven't generated new ones, they should still be there.
Here are the limits:
10 certs per 3 hours per IP
5 certs per domain per 7 days
See https://community.letsencrypt.org/t/quick-start-guide/1631

2 question please:

How do I use the certificates? Just import them manually into the IIS server certificate?
When you say 10 certificates per 3 hours per IP and 5 per domain,
So say if I www.mydomain.com 3 times and sub.mydomain.com 3 times. (this is what I did). I've only 2 certificates and I've requested 6 certificates in total (and now it's past 3 hours). Why can't I get them again? What am I missing?

1 You will need to install the .pfx files
See Importing from a .pfx File
2 Your example falls under the 5 certs per domain in 7 days.
My advise is if you are using the application for the first time, is that you specify the --test parameter when you run it. That will use the test server that has no limits in place. The certificates won't be valid certificates but you can use them to make sure everything is working correctly before you hit your rate limit.
Here's what Let's Encrypt says on the limits:
During this beta test we have very tight rate-limiting in place. We plan to loosen these limits as the beta proceeds.

There are two rate limits in play: Registrations/IP address, and Certificates/Domain.

Registrations/IP address limits the number of registrations you can make in a given time period; currently 10 per 3 hours. This means you should avoid deleting the /etc/letsencrypt/accounts folder, or you may not be able to re-register.

Certificates/Domain you could run into through repeated re-issuance. This limit measures certificates issued for a given combination of Top Level Domain + Domain (a "registered domain"). This means if you issue certificates for the following domains, at the end you would have what we consider 4 certificates for the domain example.com.

www.example.com286
example.com www.example.com286
webmail.example.com ldap.example.com
example.com www.example.com286
The limit on Certificates/Domain is 5 certificates for a registered domain in a sliding window of 7 days. We know it's restrictive at present; thank you for your patience in helping us ensure Let's Encrypt is ready for the whole world.

Thank you!
It would be awesome if the script could have a parameter to automatically reinstall the pfx certificates (I've done it manually for now - thanks) given that the routines to install are already built in.

I'm not sure that would be worth the effort to add that in. It would actually have a bit of modification to get it to work, and more changes would be required to the plugins.
Does anyone else want to see this? or code it?

If anyone wants to see this enhancement, add your +1 (via add your reaction) to the first comment of this issue.

I'll close this now due to lack of interest.

I was looking for something that would be able to fetch a previously issued certificate via win-acme on a new host and install it. Is there such a workaround available?

Check https://www.win-acme.com/manual/migration


error in committees/CommitteeAgendaSearch: failed to get meetings for committee 321

This issue was automatically created, please do not modify the title or remove any labels
Unexpected exception received while trying to get meetings of committee 321: ('Connection aborted.', error(110, 'Connection timed out'))

Encountered the error again
Unexpected exception received while trying to get meetings of committee 321: ('Connection aborted.', error(110, 'Connection timed out'))

Encountered the error again
Unexpected exception received while trying to get meetings of committee 321: ('Connection aborted.', error(110, 'Connection timed out'))

Encountered the error again
Unexpected exception received while trying to get meetings of committee 321: ('Connection aborted.', error(110, 'Connection timed out'))

Encountered the error again
Unexpected exception received while trying to get meetings of committee 321: ('Connection aborted.', error(110, 'Connection timed out'))


Clarified local docker build process and added build.sh script

Minor doc clarifications for docker process

Thanks @stevehaigh! That's really useful.


Request for Open Sourcing Qt Code of TMCL IDE for Customization and Learning Purposes

Could you please open-source the Qt code for TMCL IDE? This will aid us in learning the application and customizing it to suit our requirements.

Hello,
sorry, but for now there is no plan to make the TMCL-IDE open-source.
Regards,
Enrico


Script host compilation errors should include function name

Customers using the Functions CLI see errors that just refer to run.csx, without telling them which function they apply to: https://github.com/Azure/azure-functions-cli/issues/44
The script host is just outputing these errors to the console, so it needs to provide a way for the CLI to customize the output.

This would be a pretty simple enhancement. Any thoughts on what the output should look like? Both, for the portal and CLI?

At the moment when running the cli we get (for example):

@rndthoughts Thanks for the feedback. I like the second option: MyAzureFunction\run.csx(11,16): error CS0234 ...

I like the second option as well.
This will be the same output we'll see in the portal, which may feel a bit odd since the logs are already function scoped, but all this information will (hopefully) eventually come from the structured log stream and the portal could easily format how it wants to display things.


Large INSERT INTO SELECT read timeout

Hi!
How to run large (6B rows) INSERT INTO SELECT query via clickhouse-jdbc?
It runs well but never ends and throws read timeout error.  Clickhouse process finishes correctly with finish result in query_log. But after that, the clickhouse-jdbc waits for the timeout to end. And throws read timeout
But if I put LIMIT 100 executeUpdate ends correctly
I tried 0.3.2-patch9 and 0.3.1-patch versions
final ClickHouseDataSource clickHouseDataSource = new ClickHouseDataSource(chUrl);;
clickHouseDataSource.getProperties().setUser(chUser);
clickHouseDataSource.getProperties().setPassword(chPassword);
clickHouseDataSource.getProperties().setConnectionTimeout(10000000);
clickHouseDataSource.getProperties().setSocketTimeout(10000000);
clickHouseDataSource.getProperties().setTimeToLiveMillis(10000000);
clickHouseDataSource.getProperties().setSessionTimeout(10000000L);
clickHouseDataSource.getProperties().setDataTransferTimeout(10000000);
clickHouseDataSource.getProperties().setMaxExecutionTime(10000000);

try (ClickHouseStatement statement = clickHouseDataSource.getConnection().createStatement()) {
    log.info("START update query");
    statement.executeUpdate("INSERT INTO SELECT"...);
    log.info("FINISH update query");
} catch (Exception e) {
   ...
}

Hi @sneakythr0ws, can you reproduce the issue using new driver? I tried below on DBeaver using new driver and it worked fine.
create table null_table(number UInt64)engine=Null;

-- query_duration_ms: 1,081,404
-- read_rows: 1,000,000,512,135
-- written_rows: 1,000,000,000,000
-- connect_timeout: 5000
-- socket_timeout: 3,600,000
-- session_timeout: <same as server default>
set max_execution_time=60000;
insert into null_table select number from numbers(1000000000000)

can you reproduce the issue using new driver?

what do you mean new driver? java client or patch10?

I tried below on DBeaver using new driver and it worked fine.

in my case every row contains ~10 strings

what do you mean new driver? java client or patch10?

I meant com.clickhouse.jdbc.ClickHouseDriver.

in my case every row contains ~10 strings

How long it took for the query? I'll add some tests to see if I can reproduce the issue.

How long it took for the query? I'll add some tests to see if I can reproduce the issue.

~1.5 hour

That's a bit too long but let me give it a shot. @sneakythr0ws, are you using a proxy between the client and server by any chance?


Add a task for staging deployment

Switch branch to stage, merge master, commit, push, switch back to master.
(Dry run and  check for merge conflicts, revert and suggest manual merge if appropriate?)

Doing this would hard code the branch flow dev > staging > production which isn't always appropriate. A good shell autocomplete from history is more useful IMO.
I now most often do something like this:
git checkout staging ; git merge main ; git push ; git checkout main


Setup vale

Description
This PR introduces Vale. The setup is meant to be extended over time in order to establish a more strict style guide for our documentation. At the moment, Vale does basic spell checking.

Aiven also uses Vale, e.g. in devportal

This PR

adds Vale setup (see .vale.ini and .github/vale
add "Google" as style package, which applies some rules from the Google developer documentation style guide. (devportal follows this style guide)
adds a custom Klaw dictionary with custom vocabulary
adds README for vale setup
adds GitHub workflow for vale with documentation
adds customs scripts to run Vale locally
extends developer documentation with information about Vale

@mathieu-anderson  I sneaked in two commits, one adding info about vale sync in the docs and one renaming the docs files from "README" to be specific about their content, that way they are a bit easier to find when searching for files names.


[Win7 and older] XInput 9 configuration

As simple as it sounds - create a build config for Win7 and older to use XInput9 (and target older build tools)
Will be done soon-ish...

vc98 support when

vc98 support when

somewhat serious question actually, getting vc98 as a compiler under vs2022 is a bit ass but it is possible, and it'd allow the dll to run without any redistributables or anything under windows xp even

But the problems are:

ASI loaders aren't really compatible with older APIs
XInput doesn't even work under anything older than XP so why even target that

I was just planning to target vc140_xp like I did with the XP variant of Ultimate ASI loader (and maybe disable SSE2 instructions)

I've created the config for the NFSU XtendedInput just fine and it even works on an old Pentium 3 machine running Windows 7.
However, that same machine is having issues with this one.
For whatever reason, it crashes the video driver (ati3d1ag.dll) during D3D9 device creation, causing a BugCheck (BSOD). No idea why at the moment, still investigating... This should never happen. The only thing that could remotely cause this from the perspective of this plugin is the injector which uses the kernel protect functions.

From basic checking - apparently UpdateFECursorPos being injected causes the crash... Odd, but interesting.

Fixed by adding a check whether we're in the game or not in that function itself...
So what seems to happen:

Game starts
UpdateFECursorPos gets executed before the game even runs InitializeEverything
Something very important to the ATI DirectX driver gets overwritten in memory before IDirect3D9::CreateDevice happens
ATI driver crashes and takes the whole system with it

Should be fixed in 1.13: https://github.com/xan1242/NFS-XtendedInput/releases/tag/1.13


Fix OSQP and SCS cache dictionary keys

Fixes #525.

Coverage decreased (-0.02%) to 80.398% when pulling c7d12845ec86e024b8fc7b81fe303c77776169fb on bstellato:master into 3381e7c0a9990e06412a44adf916b183f3c2dc3b on cvxgrp:master.


metaplex's rust folder is empty

GM! First of all, thanks for open-source this repo, I really appreciate it :)
So I was following the guide to setup the metaplex, and I have noticed the rust folder in metaplex's repo has been deprecated and move to a new repo https://github.com/metaplex-foundation/metaplex/pull/1482
May I know which contract I should download and move to the metaplex/rust folder for me to run the cargo build command?

Hi John 👋🏽 someone else asked similar in our Discord today and just realised this hasn't be updated in the readme yet just talked about occasionally there. We'll update the README and close this out this week.
Running cargo build in the new repository will generate all programs but I believe metaplex/program is enough to get the correct tooling. https://github.com/metaplex-foundation/metaplex-program-library

My previous comment is not accurate — running on the latest for the mpl repository does not successfully build. I believe using metaplex-foundation/metaplex and checking out an old tag may be the way forward here so I've been walking through that process myself from a clean environment.


chore: remove the ability to delete cloudfront distribution

Description of changes

This PR removes the ability for users to remove their cloudfront distribution when enabling hosting with S3 and CloudFront.
A customer will still be able to configure hosting with cloudfront and S3 however, they will not be able to remove their cloudfront distribution from the CLI.

Issue #, if available
Closes #12590

Description of how you validated changes
Checklist

[x] PR description included
[ ] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
[ ] Pull request labels are added

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

need to remove two end to end tests

Codecov Report

Merging #12607 (11f6c03) into dev (ec9a2ba) will increase coverage by 47.56%.
The diff coverage is 48.14%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff             @@
##              dev   #12607       +/-   ##
===========================================
+ Coverage    0.00%   47.56%   +47.56%
===========================================
  Files        1296      843      -453
  Lines      149743    38349   -111394
  Branches     1296     7846     +6550
===========================================
+ Hits            0    18239    +18239
+ Misses     148447    18478   -129969
- Partials     1296     1632      +336

Impacted Files
Coverage Δ

...ify-category-function/src/events/prePushHandler.ts
33.33% <0.00%> (+33.33%)
:arrow_up:

...ib/S3AndCloudFront/helpers/configure-CloudFront.js
87.06% <ø> (+87.06%)
:arrow_up:

...lify-category-hosting/lib/S3AndCloudFront/index.js
89.65% <ø> (+89.65%)
:arrow_up:

...s/amplify-cli-core/src/errors/amplify-exception.ts
82.35% <ø> (+82.35%)
:arrow_up:

packages/amplify-cli-core/src/types.ts
100.00% <ø> (+100.00%)
:arrow_up:

packages/amplify-cli/src/commands/console.ts
0.00% <0.00%> (ø)

packages/amplify-cli/src/commands/pull.ts
0.00% <0.00%> (ø)

...y-provider-awscloudformation/src/push-resources.ts
20.73% <0.00%> (+20.73%)
:arrow_up:

...c/extensions/amplify-helpers/auth-notifications.ts
41.00% <4.34%> (+41.00%)
:arrow_up:

...service-walkthroughs/execPermissionsWalkthrough.ts
70.42% <11.11%> (+70.42%)
:arrow_up:

... and 20 more

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


Create importer script for Cloudflare public IP ranges

Is your feature request related to a problem? Please describe.
Currently, information about Cloudflare's IP ranges needs to be manually maintained. This can lead to it being out of date fairly quickly.
Describe the solution you'd like
Cloudflare publishes a list of public IP ranges (IPv4 and v6) which it regularly updates and maintains. The ideal solution would be to create an importer script like the ones present for Google, AWS, Microsoft, and Equinix (https://github.com/thegreenwebfoundation/admin-portal/tree/master/apps/greencheck/importers). This can then be used to automate the updating of Cloudflare IP ranges.
List of public IP ranges: https://www.cloudflare.com/ips/
TXT IPv4 list: https://www.cloudflare.com/ips-v4/#
TXT IPv6 list: https://www.cloudflare.com/ips-v6/#
Information can also be accessed via the Cloudflare API as outlined in these docs: https://developers.cloudflare.com/api/operations/cloudflare-i-ps-cloudflare-ip-details

Before getting started on this, it would be super handy to find someone at Cloudflare who can confirm that these are the only IP ranges they use for customers. If others do exist, then it'd be useful to know where we can find those too so that they can also be included in this update.


Engine loading failed, please restart the App

X5 is provided by Tencent. Please ensure that the local service provider supports it.


Clean-up terminology

Clean up terminology to match the original PEG paper and other PEG implementations better. This mainly concerns specs, docs, and the AST.
My current thinking:

literal → literal string (or string literal?)
choice → ordered choice
dot → any character
positive semantic predicate → semantic and-predicate
negative semantic predicate → semantic not-predicate
group → grouping
zero or more → zero-or-more
one or more → one-or-more
positive simple predicate → syntactic and-predicate
negative simple predicate → syntactic not-predicate

Updated thinking:

literal → string
dot → any character
positive semantic predicate → semantic and-predicate
negative semantic predicate → semantic not-predicate
zero or more → zero-or-more
one or more → one-or-more
positive simple predicate → syntactic and-predicate
negative simple predicate → syntactic not-predicate
label → labeled

Moving to 0.11.0, I’ll do this simultaneously with the documentation rewrite.

Hi.
I would like to separate this from the documentation rewrite.  The documentation rewrite is mostly about tooling and writing docblocks; 95% of the job is that, and 5% would be updating the labels.
Things are much easier apart than together.  It's worth 5% over-weight to be able to handle them one at a time.
If this library is brought to a place that it can take PRs again, I will:

Get the documentation running
Later, source commentary from active developers and David on what these terms should be
Make the changes
Write extensive tests (the current AST has spelling errors)


Checkpoint awaitability

It's often convenient to use a checkpoint as latch to yield the main thread when a condition is met:
Checkpoint checkpoint = ctx.checkpoint();
webClient(callback -> {
  checkpoint.flag();
});

// Await until the checkpoint si met
// we are on the JUnit thread, so it's ok and very convenient
checkpoint.await();

There was any progress on this?

@cvgaviao The test method will always execute from the main thread.


Remove announcement for KubeCon + CloudNativeCon EU 2020

Remove announcement for KubeCon + CloudNativeCon EU 2020 (revert to previous BLM announcement).
This reverts commit 988f55f999fa779141f4e006b767107cb80d82f1 from PR #23183.
/cc @zacharysarah
/kind cleanup
/language en

/hold
KubeCon isn't over yet!

/hold cancel

/lgtm
/approve


Allow API token to be scope to multiple projects

Hello, I'm a member of the core team for Apache Airflow, and we have our project split up in to a number of distributions on PyPI - the core "apache-airflow" dist and (currently, but it grows over time) 70 provider modules, apache-airflow-providers-*.
I would like to be able to "easily" upload those provider dists via API tokens, but currently I either need to use an account-wide token, or each upload needs a separate API key (which doesn't easily work for our normal release workflow, where we will release all provider packages with changes once a month)
It's possible Organizations might help here if it's possible to have an Org-wide API token?
Relates to #7265

You can create an account wide token, then scope it yourself for multiple projects if that works for you, although I do agree ti would be nice for our UI to support multiple of them here.

Hi, thanks for the issue. We agree this is a good idea, and that it's going to be much easier to implement to implement for organizations/teams once that feature has landed, so we'll consider this blocked on https://github.com/pypi/warehouse/issues/11590.

Is this a duplicate of #6292 perhaps?

Yep! Duplicate of #6292.


handling of reHLT MC datasets

goes along with https://github.com/cp3-llbb/Framework/pull/206 to address point 3. of https://github.com/cp3-llbb/Framework/issues/205

Looks good thanks! Did you test it?

not yet ;)

updated with small fixes, it does work :)

Perfect, thanks a lot!


Papilio 84 task - Address autofill integration

General info
To increase the UX in the form for the business creation, we implemented autofill for the address of the company. It takes an input in the first line of the address (the street name and house number) and search through through it's database an address with all the information (postal code, country, city, province/state, ...) and fills the missing information in their corresponding field.
Since the address is now saved inside a single field in the database, the address is then combine together into a single field in the backend of the frontend before sending it to the backend.
Issue number: Papilio-84
Task description:

Autofill address in business form
combine address information into a single field
test

Manual Test
To test the address input you have to create your businessId then visit the profile form. Then you can submit the business and the business should be created.
Make sure that you have the appropriate variables in the backend .env file. (Contact me if you don't)
You need a Token to use mapbox autofill. (contact me to get it)

start the backend
npm run build && npm start
start the website
npm start
on the main page add the businessId then click on create business
Add information for the business, including the address
Submit the business form

##Testing
To run all the unit tests, run the following code: npm test
To make sure that the tests have reach the appropriate level of coverage, run the following code: npm run coverage
Additional Notes

In the current state of this branch, you won't be able to submit the form because you are missing the email of the business. This is a requirement in the backend now. However, this has been added in #19 . Once, the 2 are merge, it will work correctly.

I wasn't sure of the request message anymore. I left the address object inside the request object. I think I can delete it but I was sure so I left it there.

{
    business: ...,
    address: ...,
    employee: ...
}

only business and employee are required now. address was removed and put as a string field inside business. you can safely remove.


Use numerical order of spaces (1, 2, 3 ..., 10)  instead of lexicographical (1, 10, 2, 3, 4)

I disabled spaces assigned to letters, I have now only ten spaces, but they are ordered in the lexicographical order (1, 10, 2 ...)
instead of ordering them by their value (1, 2, 3... 10)
I have 2 screens -  my active workspaces after restarting aerospace have active spaces 1 and 10.

I consider this as a bug.

Duplicate of #162
And no, I don't consider it as a bug


Set the CONFIGURATION_BUILD_DIR in generated xcconfig when debugging core device

Xcode uses the CONFIGURATION_BUILD_DIR build setting to determine the location of the bundle to build and install. When launching an app via Xcode with the Xcode debug workflow (for iOS 17 physical devices), temporarily set the CONFIGURATION_BUILD_DIR to the location of the bundle so Xcode can find it.
Also, added a Xcode Debug version of the microbenchmarks_ios integration test since it uses flutter run --profile without using --use-application-binary.
Fixes https://github.com/flutter/flutter/issues/134186.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

ok great i redeployed frob and Google Testing is now propagating the correct information on merge conflict


HPE_UNEXPECTED_CONTENT_LENGTH

Expected behavior
tested post directly it's ok.
Actual behavior
[HPM] Error occurred while trying to proxy request /graphql from <IP_ADDRESS>:1234 to http://localhost:3000 (HPE_UNEXPECTED_CONTENT_LENGTH) (https://nodejs.org/api/errors.html#errors_common_system_errors)

Setup
pack:
"devDependencies": {
    "babel-plugin-transform-object-rest-spread": "^6.26.0",
    "babel-plugin-transform-react-jsx": "^6.24.1",
    "babel-preset-env": "^1.6.1",
    "browser-sync": "^2.23.6",
    "compression": "^1.7.2",
    "eslint": "^4.18.1",
    "eslint-config-dwing": "^1.2.0",
    "eslint-plugin-html": "^4.0.2",
    "eslint-plugin-react": "^7.7.0",
    "http-proxy-middleware": "^0.17.4",
    "parcel-bundler": "^1.6.2",
    "stylus": "^0.54.5"
  },

server:
/* eslint-disable import/no-extraneous-dependencies */
const serve = require('browser-sync');
const Bundler = require('parcel-bundler');
const proxy = require('http-proxy-middleware');
const compress = require('compression');
const path = require('path');

const bundler = new Bundler(
  path.join(__dirname, '../src/index.html'),
  {
    cache: false
  }
);

serve({
  port: 1234,
  open: false,
  server: { baseDir: 'dist', https: false },
  middleware: [
    proxy('http://localhost:3000/graphql'),
    proxy('http://localhost:3000/oauth'),
    compress(),
    bundler.middleware()
  ]
});

Can you try with minimal setup? And see if the issue persists?

just need :
"browser-sync": "^2.23.6",
"http-proxy-middleware": "^0.17.4",

you can run a graphql example and proxy to it.

If you think it's a bug, can you provide a minimal working example? In which you can reproduce the issue.

Issue has gone stale; Closing issue.
Feel free to re-open.


Molecules with missing MOL2 files in database

See http://pqr.pitt.edu/mol/FQZJPOQXUNESIK-NULOGZTHSA-L
This leads to 502 Bad Gateway. We need to fix this.

Fixed.


Fix "Fix All" and "Retry All"

Changes:

Move the "retry" function back to elastic-service
Properly switch all the "queue" references to "role" (since we're trying to use more generic wording)

This fixes the issue with "Fix All" and "Retry All" on the main page where it would pick up undefined as the role to act on because of not properly renaming variable references.
From there, if continued, "Fix All" would apply to all would apply to all messages instead of those with just that role because of javascript's treatment of undefined.
Testing:

Ensure that logs for other roles aren't affected when doing the following:

Tested that multiple error messages are resent to the ActiveMQ echo consumer with "retry all" and return to an error state, and can then all be fixed together with "fix all"
Did similar testing for a simple Kafka consumer

Tested that normal retry still works for Kafka and ActiveMQ, since the function got refactored a little

Please Review:
@ShaneIsrael @shirigulax

Seems fine to me. Once Jake approves I'll merge and let him build and deploy it.

Looks good! I especially like the migration to Elastic service. Makes sense.


Fn::GetAZs only returns VPC's with default subnets

I don't think this is something that stacker needs to try to handle, but wanted to put it here in case anyone runs into it.
Within the vpc stack we iterate through AZCount and select from Fn::GetAzs. However, it's possible that if you ever delete the default subnets in an aws account that this function will not return anything:
From http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getavailabilityzones.html

For the EC2-Classic platform, the Fn::GetAZs function returns all Availability Zones for a region. For the EC2-VPC platform, the Fn::GetAZs function returns only Availability Zones that have a default subnet unless none of the Availability Zones has a default subnet; in that case, all Availability Zones are returned.

Going to go ahead and close this since there's no much we can do about it - but at least it's documented here if someone goes looking for it.


test: Fix flake in requeueAfter returned from expiration disruption

Fixes #N/A
Description
This fixes a flake in the requeueAfter returned from a test in the NodeClaim Disruption controller. This ensures that the expiry time is always 100 seconds away from the current time.
How was this change tested?
make presubmit
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 80.632%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
7981

Relevant Lines:
9898

💛  - Coveralls


[4282] Switch default course year to 2022

Context
We have a default course year setting which determines what year of courses we display when a user is setting course details on a trainee.
Changes proposed in this pull request
Set it to 2022 as most users will be adding trainees for next academic cycle now.
Guidance to review

The course list should default to 22/23 courses in the course details section.
I did some possibly controversial defaulting in the factories to fix a few tests that broke once the year was incremented.

Important business

[ ] Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?
[ ] Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?

NB: Please notify the #twd_data_insights team and ask for a review if new fields are being added to analytics.yml

 Switch default course year to 2022


error when load new css

use toggleTheme to change the theme in my project
and got an error
browser-utils.js?v=615a3dac:73          GET http://<IP_ADDRESS>:3000/assets/black.css net::ERR_ABORTED 404 (Not Found)

the theme variable has changed， but body‘s classname didn't

Tell me the plugin version and options，or  check  the demos reproduces the problem ：https://github.com/GitOfZGT/dynamic-theme-demos

it's very strange,  when i open my project in fireFox, it's totally ok, but not work in chrome,  and i checked the ant vue preset demo , it works in both!
I found that in chrome, when i use toggleTheme function , it makes the following requests

and creates link labels like this : <link rel="stylesheet" href="/assets/white.css" id="theme-link-tag_old">
i don't get it ,  but i guess maybe it related to the operating environment ?like dev or product?
plugin version :
     "ant-design-vue": "^3.0.0-beta.4",
    "@vitejs/plugin-vue": "^1.9.3",
    "@zougt/vite-plugin-theme-preprocessor": "^1.4.0",
    "unplugin-vue-components": "^0.17.9",
    "less": "^4.1.2",
    "vite": "^2.7.2",
    "vue": "^3.2.25"

Please give me a demo, I can't reproduce it in my demo.

It seems that I have solved the problem, although I don't know where the bug is. Thank you very much