release: Update the action after merging the release to main branch

PR Checklist
PR Structure

[ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[ ] This PR's title starts with name of package that is most changed in the PR, ex.
paymentservice.stellar, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.

What
Update the action after merging the release to main
Why
Make the library publication more clear.
Known limitations
N/A

Reference Server Preview is available here:https://anchor-ref-pr619.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr619.previews.kube001.services.stellar-ops.com/


[Program]: Write a R program to check lower case

Description
Write a R program to check lower case
Check if given character is lower case (a-z).
Input  : a
Output : Lower Case

How to contribute

Save the solution in program/program/check-lower-case/program/check_lower_case.r file

!assign


Race condition while updating queries

Description
In atomic-router you can update queries by setting value of the $query store. Probably under the hood atomic using navigate in response to changing this store but the problem is that in some cases it may get incorrect state of currently active route leading to not only changing queries but navigate user to another route
Reproduction
Link
https://stackblitz.com/edit/effector-vite-react-template-z8thxs?file=src/application.tsx
Steps

Click on the "Go to second" link
You have been navigated to the second page
Click on the "Go to first" link
The route doesn't change. Actually in changed twice as you can see in logs provided on the page. First it navigates to the "First page" but then it immediately navigates backwards
Click on the "Go to first" link second time. Now route changes

Why is this happening? That is because of this sample:
sample({
  clock: routes.first.opened,
  fn: () => ({
    anotherQuery: '3123',
  }),
  target: router.$query,
});

You can read it as "whenever first route is opened change queries to some value that differs from current". This causes $query to navigate user to previous route cause it have incorrect state of the currently active route and doesn't aware of the fact that the second route was already closed and the first was opened. The second click navigates user since $query doesn't do anything if new query are the same as old.

The workaround is not changing $query right after opened has been called:
import { delay } from 'patronum'

sample({
  clock: delay(routes.first.opened, 0),
  fn: () => ({
    anotherQuery: '3123',
  }),
  target: router.$query,
});


SciPy 2020

The SciPy conference is happening next week and is fully remote and quite a bargain! There is a combo of live sessions/tutorials and pre-recorded content for watching at your leisure.
This conference is a great way to learn more about the python scientific stack via tutorials and talks.
Also, it would be great for us as a community to support the Astro talks by Brigitta Sipocz (Astropy) and Monica Bobra (Sunpy), as well as the other astro-related content. The Astro Q&A is on Friday, July 10, 3:45-4:45 CDT and it would be nice to have as many of us there as possible.
Check out the schedule (times in US/Central):
https://www.scipy2020.scipy.org/schedule
Since registration is only $75 each, the Finance Committee has approved covering the registration fee for all interested maintainers.
Please email me directly or comment on this issue if you'd like a registration and I will try to buy them in bulk.

Registration closes Thurs July 3, so please let me know ASAP.

Hi! I had already registered when I saw this, not sure if reimbursement is a possibility.

@astrojuanlu: They will refund you and I'll include you in our bulk purchase. :)

Thanks Kelle, you can count me in as well!
I am not sure if I could participate in a sprint, if @mwcraig still gets to schedule one for the weekend, due to other appointments, but might still make it for the p.m. CDT.

I also haven't yet registered, so count me in the bulk one.


CSV or XML to CKL process?

export to csv and then make the object generic so that it can be csv or ckl or xml and then the person can respond in csv, THEN it makes CKL from CSV that was auto generated with all the stuff it needed

like this?  I just put it up today.  Needs work, but might be a start.
https://github.com/brownleeb/csv_to_ckl


fix graphics issues

Fix issues with graphics performance on desktop.

Make sure to install the proprietary drivers and make sure that we select the correct driver for our window manager


HTML Parser Fuzzing

We should fuzz the parser against two main invariants:

Shouldn't crash
If an input parses correctly, the re-rendered AST (ie the autoformatted code) should be equal to the original input modulo whitespace and newlines

Fuzzing is now implemented and v0.3.0 features a fuzz-tested HTML parser.


Automatically run init for first time use

On a new project, it should be possible to simply call paket add <package> without first calling paket init.

@forki I'm trying to find out how this works. Looks like LocateFromDirectory is the code that prints the error but I can't find where that gets called?


Pcap conditional v2

Rebase of https://github.com/OISF/suricata-verify/pull/542 and updated to use test.yaml instead of check.sh.

https://github.com/OISF/suricata/pull/6766

Replaced by: https://github.com/OISF/suricata-verify/pull/718


glauth: init at 2.3.0

Description of changes
Add glauth, an LDAP server with nice declarative properties.
https://github.com/glauth/glauth
Fixes https://github.com/NixOS/nixpkgs/issues/239396 ("Package request: glauth")

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Just leaving a note here for posterity:
I've used this glauth package definition to get a service up and running, however, the sql database backed datastores don't work. This is because they are go plugins, using go's built-in plugin system.
Some of the changes that would need to be made:

Set fetchSubmodules = true
Tell buildGoModule that there are extra binaries to build under v2/pkg/plugins
Tell buildGoModule to use build-mode plugin

I took another stab at packaging the glauth-sqlite plugin, and I got it working! Kind of.
Code is here:

https://github.com/leroycep/glauth
https://github.com/leroycep/glauth-sqlite

Changes:

I used gomod2nix to build the packages: https://github.com/nix-community/gomod2nix
I targeted master/main instead of v2.3.0
I made sure glauth-sqlite depended on the same versions for all of the packages by manually editing it's gomod2nix.toml to match the one for glauth
I set buildFlags to include -buildmode=plugin and ignored the subsequent deprecation warnings
I set glauth-sqlite to build the subpackage sqlite.go

The plugin actually loads in without an error about version mismatches!
Now it's only "kind of" working because I haven't got it to answer requests with data from the sqlite database. That might be from misconfiguration; it will take more testing to figure it out.

@leroycep: Should we merge this PR as-is and then have your improvements in follow-up PR(s), or do you want to take over/rewrite this one?

No, I probably won't take over it. Mostly I just wanted to document what I'd done somewhere publicly.
Also, I've switched to lldap. I liked the idea of putting service accounts in a configuration file and user accounts in a sqlite database, but glauth doesn't support that ATM.

@christoph-heiss: I still have interest, but mostly for possible future use (not actively using it yet). If you want, add yourself to maintainer list?

I'd be happy to! :+1:
Feel free to add me, as I cannot edit your branch/PR.

@christoph-heiss: I would prefer if you make a PR yourself, so that we get your metadata into the commit. (I can merge it.)

I don't think there's a point in waiting any longer; I'll merge and we can continue from there.


Remove flap and pflogger from UFS CI Build

Description

This PR is to help prevent #2152 from happening again by adding two options to the circleci-tools orb: remove_flap and remove_pflogger. That way, we don't get a UFS issue again.
Related Issue

See #2152
Motivation and Context

This should correctly trap the UFS build style.
How Has This Been Tested?

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Trivial change (affects only documentation or cleanup)

Checklist:

[ ] I have tested this change with a run of GEOSgcm (if non-trivial)
[ ] I have added one of the required labels (0 diff, 0 diff trivial, 0 diff structural, non 0-diff)
[ ] I have updated the CHANGELOG.md accordingly following the style of Keep a Changelog

Failed as expected. Closing


Added sample files to create a cluster with kubectl

What this PR does / why we need it:
This PR has the correctly formatted manifests needed to create a cluster with kubectl.
Decided to put this in an assets dir, since this is completely separate from clusterctl and it's files.
I would like to point the README to these files.

Thank you, Cindy!


Cannot get characteristics of battery service

I'm struggling with reading the battery value of a peripheral.
The peripheral is based on a Nordic nrf52 and implements the battery service 0x180F and a read characteristic.
After connecting to the device I can find the battery service, but it does not contain any characteristics, although I can confirm that they exist with the 'nrfConnect' app.
Has anyone succeeded  in reading the battery value of a peripheral or in discovering its battery characteristics?

The Battery Service and its characteristics are hidden by the battery plugin that is loaded at startup of bluetoothd.
You can simply tell bluetoothd to not load the battery plugin and you'll be able to access the Battery Service. To do so startup bluetoothd with '-P battery'. Edit the bluetooth.service file to do this.

Hi, I am hitting this as well when talking to an industrial device over BLE. Why would the battery characteristic be hidden by default? Any chance of fixing that?


Install the test cell library

I've been unwittingly using these from devel space underlays, but would like to access them from install spaces as they provide alot of useful cells to build some of our own tests from.

feel free to release if it's in your interest.


Update convert-unmanaged-to-managed-disks.md

Have done two changes and below are the description of the changes:
1.Removed the 'Start-AzureRmVM' command from "Convert VMs in an availability set" section 2 as Conversion will automatically restart the VM.
2. Added the conversion fail error caused by failed extension in 'Troubleshoot' section.

@pranoybej : Thanks for your contribution to the Azure documentation! The author, @cynthn, has been notified to review your proposed change.

@pranoybej Can you make a couple of grammatical fixes to your change?
This is what is in the PR:
Before conversion from unmanaged to manged disk be sure to check if all the VM extension in 'Provisioning succeeded' state else the conversion will get failed with error code 409.
I think this is what you were trying to say:
Before converting, make sure all the VM extensions are in the 'Provisioning succeeded' state or the conversion will fail with the error code 409.

@cynthn ,
Thanks for correcting my sentence.
I have made the changes as you said.
Kindly review it.

#sign-off @pranoybej thank you for the fix!


Wrong path for WTHIT plugin is being initialized

line 30 of fabric.mod.json
        "waila:plugins": {
            "id": "wmitaf:waila_plugin",
            "initializer": "io.github.shaksternano.wmitaf.client.plugin.waila.fabric.WmitafWailaPlugin"
        }

should be
        "waila:plugins": {
            "id": "wmitaf:waila_plugin",
            "initializer": "io.github.shaksternano.wmitaf.client.plugin.wthit.fabric.WmitafWthitPlugin"
        }

Log that includes the error, at the line it occurs

Thanks


Fix rejected VPCE preventing cleanup of Route53

This commit fixes a bug where a rejected VPC Endpoint would cause the generation of a Route53 Record to fail, which was halting the deletion of a VpcEndpoint. This is fixed by not trying to generate a Route53 record and depending on the status field.
If we own a hosted zone, then just cleanup all records during deletion.

This is a continuation of #195 where I noticed uninstalls could still get stuck by this edge case after further testing in stage
Fixes OSD-17219

Codecov Report

Merging #196 (29db672) into main (19804a5) will decrease coverage by 0.30%.
The diff coverage is 0.00%.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #196      +/-   ##
==========================================
- Coverage   39.25%   38.95%   -0.30%
==========================================
  Files          31       31
  Lines        1954     1969      +15
==========================================
  Hits          767      767
- Misses       1096     1111      +15
  Partials       91       91

Impacted Files
Coverage Δ

controllers/vpcendpoint/cleanup.go
12.50% <0.00%> (-2.32%)
:arrow_down:


not working

{'status': 'error', 'message': "Error: Error solving the challenge. On platform win32 at step 'browser init': 'NoneType' object has no attribute 'closed'", 'startTimestamp':<PHONE_NUMBER>.417136, 'endTimestamp':<PHONE_NUMBER>.894636}
PS C:\Users\DAngelo\test>

Please, try latest version (here few fixes in nodriver, that can generate this error), if problem will be reproduced please provide docker logs (command: docker compose logs) or service output if you run without docker

it's an issue in nodriver, hasn't been updated in ages.

@Xoncia , yep, nodriver have much problems :(
we switched to zendriver for more productive stabilization process (zendriver already contains part of my fixes, and few additional fixes in MR on review)


Add API to retrieve asset ids which can be used to sign & pay extrinsics

When signing and sending a transaction, we can provide an option assetId: AnyNumber to use that asset to pay for the submitted extrinsic.
eg. to pay for sending USDT from Asset Hub to Interlay, and pay the submission in USDT too, we would submit something like this:
transaction
            .signAndSend(account, { nonce: -1, assetId: 1984 }, (result: ISubmittableResult) => callback({ unsubscribe, result }))
            .then((u: () => void) => (unsubscribe = u))
            .catch((error) => reject(error));

This feature request is to provide an API to get a list of asset ids by token name so the consumer (our UI) can use that number to feed into the assetId option.

At first I was thinking an API like this:
type FeeInfo = {
    default: CurrencyId;
    overrides: {
        dexCurrencyId: CurrencyId;
        assetId: number;
    }[]
}
function getFeeTokens(...): FeeInfo {...}

But then again, this override for the assetId is not available on every chain, statemint/e is the only one that I'm aware of that uses this. Other chains, like acala, also allow different currencies, but they're implemented differently (e.g. similar to what we have on our chain, with the withFeeCurrency wrapper). So it's difficult to provide a generalized solution

Closing issue after internal discussions.
Summary:
Chains implement alternative fees differently. So this type of interface would be of limited use. In fact, currently, we'd only be using it for sending USDT from the Asset Hub to Interlay/Kintsugi.
So the special case will be handled in the UI instead.


Add OpenGL state cache to avoid performance penalties

Since state changes in OpenGL may quickly degrade performance on mobile platforms, maybe it could be added a state cache in the rasterizer to keep track of those changes

This is already there for 3d, but could be improved considerably for 2d
On Feb 21, 2015 12:00 PM, "rraallvv"<EMAIL_ADDRESS>wrote:

Since state changes in OpenGL may quickly degrade performance on mobile
platforms, maybe it could be added a state cache in the rasterizer to keep
track of those changes
—
Reply to this email directly or view it on GitHub
https://github.com/okamstudio/godot/issues/1412.

I was thinking something like
class GLStateCache {
	static void bindBuffer(GLenum target, GLuint buffer) {
		if (bind_buffer != buffer) {
			glBindBuffer(target, buffer);
			bind_buffer = buffer;
		}
	}
}

to be used like this
GLStateCache::bindBuffer(GL_SOME_BUFFER, 0);

instead of just calling
glBindBuffer(GL_SOME_BUFFER, 0);

The problem is that the whole game engine would have to be changed to use the cache for those states that are being tracked.

this already happens at a higher level:
https://github.com/okamstudio/godot/blob/master/drivers/gles2/rasterizer_gles2.cpp#L6246
On Sat, Feb 21, 2015 at 12:26 PM, rraallvv<EMAIL_ADDRESS>wrote:

I was thinking something like
class GLStateCache {
static void bindBuffer(GLenum target, GLuint buffer) {
if (bind_buffer != buffer) {
glBindBuffer(target, buffer);
bind_buffer = buffer;
}
}
}
to be used like this
GLStateCache::bindBuffer(GL_SOME_BUFFER, 0);
instead of just calling
glBindBuffer(GL_SOME_BUFFER, 0);
The problem is that the whole game engine would have to be changed to use
the cache for those states that are being tracked.
—
Reply to this email directly or view it on GitHub
https://github.com/okamstudio/godot/issues/1412#issuecomment-75376370.

the renderer works like this:

states tracked are material, geometry, lights, skeleton, etc.
rendered elements are sorted to minimize state changes
render loop only changes state when needed, this is generally small

With GLES3 this can be done a lot more efficient thanks to UBOs and VAOs,
instancing support and the ability to defer rendering.
On Sat, Feb 21, 2015 at 12:49 PM, Juan Linietsky<EMAIL_ADDRESS>wrote:

this already happens at a higher level:
https://github.com/okamstudio/godot/blob/master/drivers/gles2/rasterizer_gles2.cpp#L6246
On Sat, Feb 21, 2015 at 12:26 PM, rraallvv<EMAIL_ADDRESS>wrote:

I was thinking something like
class GLStateCache {
static void bindBuffer(GLenum target, GLuint buffer) {
if (bind_buffer != buffer) {
glBindBuffer(target, buffer);
bind_buffer = buffer;
}
}
}
to be used like this
GLStateCache::bindBuffer(GL_SOME_BUFFER, 0);
instead of just calling
glBindBuffer(GL_SOME_BUFFER, 0);
The problem is that the whole game engine would have to be changed to use
the cache for those states that are being tracked.
—
Reply to this email directly or view it on GitHub
https://github.com/okamstudio/godot/issues/1412#issuecomment-75376370.

I see, the steps you describe mimize the state changes, although there are still a few redundant changes that popped out in the Xcode’s profiler analysis, I’ll try to see whether those changes affect performance somehow, if there is a noticeable effect I’ll post it here.

I’m closing this then.

@rraallvv I'm considering implementing this in another project, however I'm doubtful about any potential benefits. I have a hunch that redundant OpenGL calls are already optimized away in the driver.
Did you notice any performance increase by tracking state changes?


Inline comments support

This allows the user to write inline comments explaining the doc-test without affecting the generated test.
input:
{-| some inline comments

    >>> -- comment
    >>> quux 10 32 -- another
    42 --result

-}
quux : Int -> Int -> Int
quux n m =
    n + m

output:
Test.test ">>> quux 10 32 " <|
    \() ->
        (quux 10 32 )
        |> Expect.equal (42 )

Fixes #18

@eeue56 No it's formatted using elm-format@exp. I asked stoeffel if it's okay here: https://github.com/stoeffel/elm-doc-test/issues/18#issuecomment-305766149

@stoeffel and @eeue56, I reset my branch and only made the toTest change as suggested, plus changed the run-tests.sh so that it checks the number of tests from the generated files. Is that okay?

Thanks for your work! I will review it tomorrow.

arg, forgot to review today, will do it tomorrow. but on a quick look this looks great. will review and if okay publish tomorrow.

published with 3.0.0


Transition from Donorbox to OpenCollective

Feature
Why is this feature being added?
Consolidate our donation platform under one system.
What should your feature do?
Find references to Donorbox, and change them to https://opencollective.com/operationcode#support

Dibs.

All yours!

Trying to push, seems my user its not allowed

@gdsrosa as you can see above, the issue has been claimed by another member.
Being that you're not a member of the organization, you'll be unable to push changes from your own clone of the repository. On some other issue, I recommend that you fork the repository first, and make a pull request based upon changes to that fork!
Follow this: https://gist.github.com/Chaser324/ce0505fbed06b947d962

Thank you, @ksmacleod99!


Copilot removal

Description
Remove all copilot buttons from the UI, including the explain on actions logs.
Example URLs
https://github.com/

It's annoying to me too, but unfortunately we can't just hide a whole feature that presumably is good/useful.
I was actually thinking about introducing this as an "opt-in" feature just for myself, but ended up just using Safari's "hide distracting elements" feature to hide each button.
If you write a userstyle or uBlock-style selector list, please post it below so it can be useful to others.

Yeh, I've adblocked it too, but I think it may be useful to have this as part of this, for those who want an easy way to block it, and future additional copilot things.

Opt-in features don't belong to Refined GitHub. You can use this snippet for now, feel free to add more selectors below
[partial-name="copilot-code-chat"],
#copilot-chat-header-button,
#copilot-floating-button {
	display: none !important;
}

To remove the chat on the homepage the following worked for me:
.copilotPreview__container,
[partial-name="copilot-code-chat"],
#copilot-floating-button {
	display: none !important;
}

If you have uBlock Origin, you can hide the Copilot elements and block the JS scripts used for them with this:
github.com##.copilotPreview__container
github.com##.AppHeader-CopilotChat
github.com##.react-code-size-details-in-header > :matches-attr(data-testid="copilot-popover-button"):upward(1)
||github.com/github-copilot/
||github.githubassets.com/assets/*copilot$script
github.com##.feed-content:style(margin-top: 0 !important;)


freeze chart js version to workaround datetime format compatibility.

See: https://github.com/Netflix/ice/issues/210
A breaking change has been made to the latest highstock.js file. Fixing the version to 4.2.1 appears to have worked-around the issue.

Thanks for the update. I'm cutting version 2.1 of the Docker image and I'll add a note in Netflix/ice#210 as well as this repo's README.


newly generated code shows right side blank area, not full width listing

Ok, what I did to resolve this issue is
//var sass = require('gulp-ruby-sass');
var sass    = require('gulp-sass');
I am working on windows and do not want to install ruby so I used gulp-sass package to make css from scss.
Hope someone can take a help from this.
Cheers!!

@TejasCMehta
Glad you got it running. We should move to 'plain sass' insted of ruby sass in general.
So I close this issue, if you stumble on any problems please open a new issue.


Deploy on a CDN

Hi there,
why don't you deploy to a CDN as well? It could be helpful for gists, fiddles or examples, increasing your library popularity...
https://www.cloudflare.com/features-cdn/ offers free CDN service. I think it's the same used by Leaflet.
Cheers,
Vito

because of cool projects like unpkg.com, publishing to npm gives you a cdn automatically.


Handle Missing Data

Right now, a key error is thrown in kdigo.py line 126 when a patient has no entry in one of the input dataframes. This will be the case often for CRRT data. We should not throw a KeyError here but instead just ignore this and not calculate the corresponding stages for this particular patient then. Maybe just fill in np.nan in the corresponding stages col?

Users also should be able to omit Urineoutput data in case they don't have it. Then we should just output the other stages and calculate the stage via the rest.

@aegis301 This should be fixed


c# support?

Do you plan support for c# or did somebody try to use it with c#?
Thanks a lot.
Best regards
Dominic

Open to pull-requests but I don't think anyone has been working on it


[frontend] Improve function def parsing with stacked decorators.

Under certain conditions where we apply another decorator on top of triton.jit, there is a small chance that in the decorator body there's a "def" substring in it. This is problematic when JITFunction parses function def using str.find('def'). This causes an issue compiling some pytorch model when we happened to decorate a jit function with a hash string argument which has "def" in it.
This diff tries a bit harder to locate the real "def" position using a more complex regex which should further reduce the chance to hit this error.

Addressed comments to minimize the test. Tweak the regex a little bit so that we always match against the beginning of a line, which is simpler to reason about.

Re-push this to fix yapf lint error.


Highlight diff

cc @bkcsoft
Following up https://github.com/gogits/gogs/pull/2296
Not all lines are being highlighted, but not even GitHub or GitLab do it.

I'll have a look later on but I like the idea :)

Thanks! Will review after #2296

@andreynering ypu'll have to rebase on #2296 again :)

@Unknwon  @bkcsoft
I rebased with develop, improved my code and just updated the pull request.
Here's a picture for who's curious:

Awesome, I'll checkout locally and test.

@Unknwon I did the fixes.

I added another commit to the PR. I think I finally got it working now. :grinning:

LGTM, I'll merge now but will have comment for questions.


Is Spanish supported?

In this document I see many languages but I don't see Spanish
https://github.com/nfarina/homebridge/wiki/Siri-commands
Is Spanish supported? Is it supported automatically because Siri supports it?
Thanks.

If Siri supports Spanish, HomeKit commands should work automatically.
Sent from my iPhone

On May 20, 2016, at 4:24 PM, Ricardo Ruiz<EMAIL_ADDRESS>wrote:
In this document I see many languages but I don't see Spanish
https://github.com/nfarina/homebridge/wiki/Siri-commands
Is Spanish supported? Is it supported automatically because Siri supports it?
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

Yes, now it works. I don't know the reason.
The Philips Hue app, when you change the name of your room or light, it appears an exclamation icon saying that a resynchronisation with Siri is necessary. You press a button and then everything works.
That is my question, maybe homebridge also needs some kind of synchronisation with Siri. Am I right? Am I missing something?
Thanks a lot.


empd port close abnormal

There are many time_waits on port 4369. The new node cannot be connected

Thanks for the report. Could you please provide the way to reproduce this behavior?

When one node crashes unexpectedly, other nodes communicate to this node, and then this node restarts, but this node cannot be linked to other nodes. Try using Erlang nodes, and neither can be linked. At present, it is found that the node link is somewhat unstable. Do you need to add the NET Keepalive attribute

fixed in v2.0.2


add examples for ESP32 via SPI lib

These examples use the adafruit_esp32spi library which is a bit more maintained than the serial AT library.
This should work with all boards that use an external ESP32 for WiFi via SPI/Nina FW including the AirLift Shield/FeatherWings that Adafruit makes.
The API differs a bit unfortunately to the serial AT library but it works mostly the same.

This is awesome, thank you for contributing!


New command: spo listitem attachment get

Usage
m365 spo listitem attachment get [options]
Description
Gets an attachment from a list item.
Options

Option
Description

-u, --webUrl <webUrl>
URL of the site where the list item is located.

--listId [listId]
ID of the list. Specify either listTitle, listId or listUrl.

--listTitle [listTitle]
Title of the list. Specify either listTitle, listId or listUrl.

--listUrl [listUrl]
Server- or site-relative URL of the list. Specify either listTitle, listId or listUrl.

--listItemId <listItemId>
The ID of the list item.

-n, --fileName <fileName>
Name of the file to get.

Examples
Get an attachment from a list item by using list title
m365 spo listitem attachment get --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle "Demo List" --listItemId 147 --fileName "File1.jpg"

Get an attachment from a list item by using list URL
m365 spo listitem attachment get --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl "/sites/project-x/Lists/DemoList" --listItemId 147 --fileName "File1.jpg"

Additional Info
More info regarding the SP REST endpoint to use: https://learn.microsoft.com/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest#working-with-files-attached-to-list-items-by-using-rest

Made few changes, other than that, looks good to me! 👍

Hi @milanholemans, @Jwaegebaert
Should this command be spo listitem attachment get ?

Yeah totally, good remark @nanddeepn, let me update it!

Definitely!


Optimize env() first and last characters check

I am closing this pull request because it lacks sufficient explanation, tests, or both. It is difficult for us to merge pull requests without these things because the change may introduce breaking changes to the framework.
Feel free to re-submit your change with a thorough explanation of the feature and tests - integration tests are preferred over unit tests. Please include it's benefit to end users; the reasons it does not break any existing features; how it makes building web applications easier, etc.
Thanks!


Implement 64-bit radical inverse functions

Fixed in https://github.com/appleseedhq/appleseed/pull/917.


ERR_PACKAGE_PATH_NOT_EXPORTED

generator-jhipster: 8.3.0
generator-jhipster-react-native: 4.4.0
~/demo/mobile > rnhipster
node:internal/modules/cjs/loader:597
throw e;
^
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './cli/utils' is not defined by "exports" in /Users/myself/.config/yarn/global/node_modules/generator-jhipster-react-native/node_modules/generator-jhipster/package.json
at new NodeError (node:internal/errors:405:5)
at exportsNotFound (node:internal/modules/esm/resolve:366:10)
at packageExportsResolve (node:internal/modules/esm/resolve:713:9)
at resolveExports (node:internal/modules/cjs/loader:590:36)
at Module._findPath (node:internal/modules/cjs/loader:664:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1126:27)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at Object. (/Users/myself/.config/yarn/global/node_modules/generator-jhipster-react-native/cli/rnhipster.js:21:20) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
Node.js v18.20.1

I think the latest release of the React Native blueprint still requires Node 16.

I am seeing this as well, my nodejs is v20.14.0, which is the default version being used in jhipster 8.5.0.
Ideally both this blueprint and jhipster  should use the same nodejs version?
any plan to fix this? or any known working workaround before it's fixed?

I also tried "jhipster --force jdl my_jdl_file --blueprints react-native" and got a similar stacktrace. both jhipster  and generator-jhipster-react-native are 8.5.0.
INFO! No custom commands found within blueprint: generator-jhipster-react-native at /usr/local/share/nvm/versions/node/v20.14.0/lib/node_modules/generator-jhipster-react-native ERROR! ERROR! Package subpath './generators/app' is not defined by "exports" in /usr/local/share/nvm/versions/node/v20.14.0/lib/node_modules/generator-jhipster-react-native/node_modules/generator-jhipster/package.json Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './generators/app' is not defined by "exports" in /usr/local/share/nvm/versions/node/v20.14.0/lib/node_modules/generator-jhipster-react-native/node_modules/generator-jhipster/package.json     at exportsNotFound (node:internal/modules/esm/resolve:304:10)     at packageExportsResolve (node:internal/modules/esm/resolve:651:9)     at resolveExports (node:internal/modules/cjs/loader:592:36)     at Module._findPath (node:internal/modules/cjs/loader:669:31)     at Module._resolveFilename (node:internal/modules/cjs/loader:1131:27)     at Module._load (node:internal/modules/cjs/loader:986:27)     at Module.require (node:internal/modules/cjs/loader:1233:19)     at require (node:internal/modules/helpers:179:18)     at Object.<anonymous> (/usr/local/share/nvm/versions/node/v20.14.0/lib/node_modules/generator-jhipster-react-native/generators/app/index.js:6:22)     at Module._compile (node:internal/modules/cjs/loader:1358:14) {   code: 'ERR_PACKAGE_PATH_NOT_EXPORTED' }

This will be fixed in the v4.5.0 release, which we're working on now.

Any updates when is the newer version i.3 4.5.0 is going to get released?

Any updates when is the newer version i.3 4.5.0 is going to get released?

2026


Remote control - part of WebRTC?

So the screensharing put into Chrome 34 is great.
For an application I'm developing, I'll need not just screensharing, but also the ability for a user to accept having the connected user move their mouse and type on their keyboard, ala VNC, LogMeIn, or TeamViewer.
I KNOW it sounds crazy and dangerous. Yes, I know this. But with the correct provisions, it will enable a huge new class of applications, and will be amazing.
TeamViewer does this. The user has to install it though. I'm looking to be able to do this by a Chrome extension. Even if Chrome doesn't currently support this, what is a potential (even if crazy) approach to getting a Chrome extension to be able to move and click the mouse, and type on the keyboard? Is there a JNI native like ability for Chrome to access system APIs on Mac and PC? Is there any assisted install that can be done via a Chrome extension that might open this up?
Crazy I know. So looking for a crazy solution.
Cheers,
Tom.

see https://github.com/maxogden/screencat


MAISTRA-1948 Fix URL generation and parsing in wasm-cacher

This can potentially wait for a 2.0.1 release

@rcernich do you think this can be merged or should it wait? not sure if we're respinning the images

seems low risk to me.  we just need to make sure it gets incorporated into a build.

Closing in favor of https://github.com/maistra/istio/pull/206


Selecting the "Group" Unit of Assignment breaks the app

Describe the bug
When creating an experiment, if I select "Group" Unit of Assignment in the Overview step, UpGrade stops working, and I see the error message in the console "TypeError: Cannot read properties of undefined (reading 'state')...".
To Reproduce
Steps to reproduce the behavior:

Click "Add Experiment"
Select "Group" Unit of Assignment in the Overview step
Check the developer console

Expected behavior
The error should not occur.
Video
https://user-images.githubusercontent.com/90279765/223153306-ffce0891-c3e4-4caf-8c5f-4b456197c89e.mov

@zackcl @ppratikcr7 i see this, small thing introduced by merging in the factorial details page code, I have probable fix, will push up


why did I get cpu is not supported on E5-2699 v3 (Haswell)?

I thought numatop should work on Haswell chip. However, it failed to launch. More info below.
$ sudo yum info numatop
Loaded plugins: versionlock
Installed Packages
Name        : numatop
Arch        : x86_64
Version     : 1.0.1
Release     : 5.fc20

$ numatop
CPU is not supported!

$ cpuid
CPU 0:
   vendor_id = "GenuineIntel"
   version information (1/eax):
      processor type  = primary processor (0)
      family          = Intel Pentium Pro/II/III/Celeron/Core/Core 2/Atom, AMD Athlon/Duron, Cyrix M2, VIA C3 (6)
      model           = 0xf (15)
      stepping id     = 0x2 (2)
      extended family = 0x0 (0)
      extended model  = 0x3 (3)
      (simple synth)  = Intel Core i7-5000 Extreme Edition (Haswell R2) / Xeon E5-x600 v3 (Haswell-EP C1/M1/R2), 22nm
   miscellaneous (1/ebx):
      process local APIC physical ID = 0x0 (0)
      cpu count                      = 0x40 (64)
      CLFLUSH line size              = 0x8 (8)
      brand index                    = 0x0 (0)
   brand id = 0x00 (0): unknown

Could you try with latest kernel?
4.12 4.13 should be all ok.
Thanks
Jin Yao
From: testn<EMAIL_ADDRESS>Sent: Friday, September 1, 2017 12:44 AM
To: 01org/numatop<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [01org/numatop] why did I get cpu is not supported on E5-2699 v3 (Haswell)? (#35)
I thought numatop should work on Haswell chip. However, it failed to launch. More info below.
$ sudo yum info numatop
Loaded plugins: versionlock
Installed Packages
Name        : numatop
Arch        : x86_64
Version     : 1.0.1
Release     : 5.fc20
$ numatop
CPU is not supported!
$ cpuid
CPU 0:
vendor_id = "GenuineIntel"
version information (1/eax):
  processor type  = primary processor (0)

  family          = Intel Pentium Pro/II/III/Celeron/Core/Core 2/Atom, AMD Athlon/Duron, Cyrix M2, VIA C3 (6)

  model           = 0xf (15)

  stepping id     = 0x2 (2)

  extended family = 0x0 (0)

  extended model  = 0x3 (3)

  (simple synth)  = Intel Core i7-5000 Extreme Edition (Haswell R2) / Xeon E5-x600 v3 (Haswell-EP C1/M1/R2), 22nm

miscellaneous (1/ebx):
  process local APIC physical ID = 0x0 (0)

  cpu count                      = 0x40 (64)

  CLFLUSH line size              = 0x8 (8)

  brand index                    = 0x0 (0)

brand id = 0x00 (0): unknown
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/01org/numatop/issues/35, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADo4LnzppJHTDkasJWSqUOK_jSegGHPdks5sduLlgaJpZM4PJGy9.

Cpu detection has something to do with kernel version as well? I looked at the code, it does not seem to check that.


Significance of DCCA output

Hi,
I notice that the output of DCCA has two components and target classes appended to new_data. And in svm_classify, only the first component is used for classification. Could you explain the significance of these two components?

No idea how I missed that they were the projections from two views.


fix numerous warnings

loop over datasets variables: we're looking to find variables without 'time' to turn them into coord. skipping the coords should not be a problem

rlev = L seems to be only used in atmospheric experiments with different levels for dynamics and physics. It seems safe for now to set it to be equal to Nr

if rlev = X and layers is not used, remove the warning since we know how to process these diags.

Codecov Report

Merging #112 into master will decrease coverage by 0.43%.
The diff coverage is 63.15%.

@@            Coverage Diff             @@
##           master     #112      +/-   ##
==========================================
- Coverage   92.19%   91.75%   -0.44%
==========================================
  Files           4        4
  Lines         820      825       +5
  Branches      188      190       +2
==========================================
+ Hits          756      757       +1
- Misses         38       41       +3
- Partials       26       27       +1

Impacted Files
Coverage Δ

xmitgcm/mds_store.py
91.68% <100%> (ø)
:arrow_up:

xmitgcm/utils.py
91.32% <61.11%> (-0.93%)
:arrow_down:

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 ce8e3cb...854c7bf. Read the comment docs.


Tweak copy button styles

This updates the copy button styles for HSAPP-995

Pull Request Test Coverage Report for Build 2911

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 2910:
0.0%

Covered Lines:
79

Relevant Lines:
79

💛  - Coveralls

@digitaldesigner , I enjoy your prototypes, I really do. 👍
They just confuse the heck out of me, when combined with the mock ups in Figma and also HSDS-React (being different and having 10 options for something that we only use one version of and probably needs 0 options, but that's a different story). 🙃
https://c.hlp.sc/4bdf269b9a0a
Hopefully you can help me get to the bottom of this, I've pushed the first commit and we can figure it out from here:
#1 - copy button hover color, is that new, should it apply to the ButtonV2 component default state as well, ie all Buttons with default state in HSAPP, or just specific to this component?
#2 - background color of input, to disable or not to disable?
#3 - focus border color, to use or not to use?

Okay, I've confused you with my prototypes — that's my bad. So for the interactions, ignore the prototype completely, this is the reference: https://www.figma.com/file/WM0YJJK0Zbbby2Eu2domSC/Forms-Encapsulated-Buttons?node-id=1%3A302
So in summary, you're basically done — light blue background is the intended hover. Also if you could make the top-left and bottom-left have no rounded corners, that'd be great too (https://c.hlp.sc/o0uQRvB4)

@digitaldesigner , thanks for clearing up the confusion:
Updated here:
http://c.hlp.sc/c40462458553
And it updates the hover color for this one too (but not border radius):
http://c.hlp.sc/e56e1f0fa7b8


Cocoapods update to 2.3.x and 2.4.x fail

Goals
What do you want to achieve?
Update Pods in project with Realm >= 2.3
Expected Results
Proper update of Pods in project.
Actual Results
-> Installing Realm 2.4.0 (was 2.1.2)
 > Git download
 > Git download
     $ /usr/local/bin/git clone https://github.com/realm/realm-cocoa.git
     /var/folders/mc/63p3khl53ybfs7xcfc6spbr40000gn/T/d20170127-57186-3xvwl0 --template= --single-branch --depth 1 --branch v2.4.0
     Cloning into '/var/folders/mc/63p3khl53ybfs7xcfc6spbr40000gn/T/d20170127-57186-3xvwl0'...
     Note: checking out 'a0c5399f7344a3e7b0af4cda898635a00d6d26e6'.

     You are in 'detached HEAD' state. You can look around, make experimental
     changes and commit them, and you can discard any commits you make in this
     state without impacting any branches by performing another checkout.

     If you want to create a new branch to retain commits you create, you may
     do so (now or later) by using -b with the checkout command again. Example:

       git checkout -b <new-branch-name>

     $ /usr/local/bin/git -C /var/folders/mc/63p3khl53ybfs7xcfc6spbr40000gn/T/d20170127-57186-3xvwl0 submodule update --init --recursive
     Submodule 'Realm/ObjectStore' (https://github.com/realm/realm-object-store.git) registered for path 'Realm/ObjectStore'
     Cloning into '/private/var/folders/mc/63p3khl53ybfs7xcfc6spbr40000gn/T/d20170127-57186-3xvwl0/Realm/ObjectStore'...
     Submodule path 'Realm/ObjectStore': checked out '1c0db48c1d53ed28f6238c73da662a2716f442c0'
     Submodule 'external/catch' (https://github.com/philsquared/Catch) registered for path 'Realm/ObjectStore/external/catch'
     Submodule 'external/pegtl' (https://github.com/ColinH/PEGTL) registered for path 'Realm/ObjectStore/external/pegtl'
     Cloning into '/private/var/folders/mc/63p3khl53ybfs7xcfc6spbr40000gn/T/d20170127-57186-3xvwl0/Realm/ObjectStore/external/catch'...
     Cloning into '/private/var/folders/mc/63p3khl53ybfs7xcfc6spbr40000gn/T/d20170127-57186-3xvwl0/Realm/ObjectStore/external/pegtl'...
     Submodule path 'Realm/ObjectStore/external/catch': checked out 'f294c9847272b1b92c5119a6f711e57113b5f231'
     Submodule path 'Realm/ObjectStore/external/pegtl': checked out '3c4128a7e7e1288eb746418ea60c41477358f26a'
 > Running prepare command
   $ /bin/bash -c  set -e sh build.sh cocoapods-setup
[!] /bin/bash -c
set -e
sh build.sh cocoapods-setup

/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/executable.rb:69:in `execute_command'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/executable.rb:27:in `block in executable'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/installer/pod_source_preparer.rb:66:in `block (2 levels) in run_prepare_command'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/installer/pod_source_preparer.rb:60:in `chdir'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/installer/pod_source_preparer.rb:60:in `block in run_prepare_command'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/installer/pod_source_preparer.rb:59:in `run_prepare_command'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/installer/pod_source_preparer.rb:37:in `prepare!'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/downloader/cache.rb:202:in `copy_and_clean'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/downloader/cache.rb:159:in `block (2 levels) in uncached_pod'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/downloader/cache.rb:157:in `each'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/downloader/cache.rb:157:in `block in uncached_pod'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/downloader/cache.rb:181:in `call'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/downloader/cache.rb:181:in `in_tmpdir'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/downloader/cache.rb:153:in `uncached_pod'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/downloader/cache.rb:33:in `download_pod'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/downloader.rb:42:in `download'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/installer/pod_source_installer.rb:120:in `download_source'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/installer/pod_source_installer.rb:60:in `install!'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/installer.rb:355:in `install_source_of_pod'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/installer.rb:322:in `block (2 levels) in install_pod_sources'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/user_interface.rb:85:in `titled_section'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/installer.rb:321:in `block in install_pod_sources'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/installer.rb:313:in `each'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/installer.rb:313:in `install_pod_sources'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/installer.rb:159:in `block in download_dependencies'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/installer.rb:157:in `download_dependencies'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/installer.rb:111:in `install!'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/command/update.rb:81:in `run'
/Library/Ruby/Gems/2.0.0/gems/claide-1.0.1/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0.rc.1/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:22:in `load'
/usr/local/bin/pod:22:in `<main>'

Steps to Reproduce
What are steps we can follow to reproduce this issue?

pod update

Version of Realm and Tooling
In the CONTRIBUTING guidelines, you will find a script,
which will help determining these versions.
Realm version: >= 2.3
Xcode version: 8.2.1
iOS/OSX version: macOS 10.12.4 beta
Dependency manager + version: CocoaPods 1.2.0.rc.1

This isn't a problem that's specifically related to Realm. I managed to create a new Xcode project using all of the same tools you are. Here's a copy of the project. I recommend reinstalling CocoaPods and filing an issue with them too.

pod install
pod update

Both worked for me. I'm closing but let me know if you need any more help.

This is still not working. I've tried both CocoaPods 1.1.1 and 1.2.0.rc.1, and it always fails when trying to install or update Realm 2.2 or 2.3. If I specify pod 'RealmSwift', '< 2.2', it works fine. That feels a lot like a Realm issue and not a CocoaPods issue.

Apologies for closing this before helping you resolve your issue.
Could you please run sudo xcodebuild -license accept and try running pod install --verbose?
It's also possible that CocoaPods has stale cache, you you could try deleting that to see if it helps.

Forcing the license acceptance seems to have done the trick. I think there might have something screwy on my machine with having both regular Xcode and the 8.3 beta installed at the same time. Thanks!


[WIP] MINOR: web docs for KIP-220

added functions for KafkaStreams and KafkaClientSupplier.
added prefix for admin client in StreamsConfig.

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@guozhangwang   Can you tell me what tool to generate html ？  I only find docs folder including html file in project.

@mikechengwei you can see this wiki for guidelines: https://cwiki.apache.org/confluence/display/KAFKA/Setup+Kafka+Website+on+Local+Apache+Server

@mjsax @bbejeck @hachikuji please review.

@guozhangwang I see the guidelines , and deploying website by apache server. But it not sloves my problem.  The display page is text style without css file rendering.
I want to depoly pages the same with offical page .  Can you give me some advices？Thank you so much for helping me.

Left a couple of comments, otherwise LGTM

Merged to trunk.


Using new callable and generator to benchmark

Codecov Report

Merging #25 (7bb71e1) into v2 (255add3) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##               v2      #25   +/-   ##
=======================================
  Coverage   86.97%   86.97%
=======================================
  Files          26       26
  Lines        1420     1420
=======================================
  Hits         1235     1235
  Misses        185      185

Impacted Files
Coverage Δ

include/libcopp/future/storage.h
80.68% <ø> (ø)

include/libcopp/future/poller.h
100.00% <100.00%> (ø)

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 255add3...7bb71e1. Read the comment docs.


users.admin.invite optional params don't work

I've tried channels, first_name and last_name params from doc, but they don't work. User still need to enter full name and display name on registration screen and after registration user has only one default channel.
Probably slack team changed something.

Btw, thanks for your work!

Nope, I can confirm that those API parameters still work. Nothing has changed.
I tested the channels, the first_name and last_name parameter and they work as documented. e.g. the new user auto-joined all specified additional channels.
So if it does not work for you, the root cause must lie somewhere else.

Btw. if you like to get help with your code please post your issue on https://stackoverflow.com/. I will be happy to help you there get your code running.

@ErikKalkoken hmm, ok, I'll try to make them work. Thank you!

Ok, I found the problem. First call to method saves additional data about invited user. If you don't specify first_name, last_name or channels on first call, and then send another request with that data, it will be ignored.

yes, good point. you can send an invite to an email address only once. Unless you remote the invite again before the recipient uses the link. then you can sent it again.
Maybe something to add to the documentation...

I've been trying to set first_name / last_name but I can't seem to get it to work.. Are you sure this is still working?

You are right. those indeed seam not to work anymore.  But I just found out that real_name works and is not yet documented. I will update the API doc.
Thanks for letting me know!

Thanks. real_name works! May I ask how you are knowing this?

I just use https://getnada.com/ to generate new emails and then try it out with my private workspace.
I guessed real_name was the one, because that is how its also called in the user object.


Improve the currency selection option

It supports selecting or searching for a currency to enable. You can search and press enter to quickly enable. You can press backspace to delete the previous addition. You can press the x to delete previous additions. KMD and CHIPS cannot be deleted.

I really like it but I'm not sure how usable it's going to be with a large amount of coins. This is only with 9 coins enabled and it already becomes a bit unclear that it's a select input:

If a user had 20 or 30 coins enabled the drop down selection might be off the visible page.
One potential solution could be to keep the select component but not list all the currencies inside it, list them below instead. What do you think?

If a user had 20 or 30 coins enabled the drop down selection might be off the visible page.

That's a good point. I've set a max height on it now, so that it scrolls the content if there are a lot of currencies. I've set it to a low number so you can test. I'll increase it if accepted so that it doesn't need scrolling quite as early.

That's much better 👌


Few missing Annoints

Hello again, I have found a few annoints that are not working
High Voltage
Steeped in the Profane
Thanks!

Found another
Overprepared

Hey mate,
thanks for the Info!
Seems like those arent yet added to the list of anointments on the wiki and overprepared has an old name in the wiki.
I added all 3 and going to create a release (trying to add the "create release" step to the pipeline, so its even easier to deploy)
Keep it up!

Sounds good! If I run into anymore Ill report it.  Keep up the good work this tool is amazing for time savings.

Thanks a lot for your input!
Keep it up!


Adapt kind cluster's registry configuration to the new way of configuring registry mirrors in containerd

How to categorize this PR?

/area dev-productivity
/kind enhancement
What this PR does / why we need it:
Starting<EMAIL_ADDRESS>there is a new way of configuring containerd registries. The new way is https://github.com/containerd/containerd/blob/main/docs/hosts.md, the old way is https://github.com/containerd/containerd/blob/main/docs/cri/registry.md#configure-registry-credentials.
Unfortunately the old way is not compatible with the new way. In the registry-cache extension, we would like use the new way. To be able to use (for dev purposes) the registry-cache extension in local setup, we have to switch the old way of configuring in the local setup.
kindest/node:v1.26.3 comes with<EMAIL_ADDRESS>This PR is a small step and it only adapts the kind cluster's containerd configuration.  We will follow-up to adapt the containerd registry mirrors for the Shoot cluster in a dedicated PR.
Which issue(s) this PR fixes:
Part of https://github.com/gardener/gardener-extension-registry-cache/issues/3
Special notes for your reviewer:
N/A
Release note:

The kind cluster used in local setup does now use the new way in containerd to configure registry mirrors.

/test all

/cc @timebertt

/retest

/test pull-gardener-e2e-kind-operator

/retest-required


History headache list

When switching back from the calendar view of the history, the list of headaches and medicines is empty

Fixed


Update header for manager and applicant view

Manager and Applicant views should have different headers.

Looks good. Thank you.


"Attempt to present X on Y whose view is not in the window hierarchy!" using authorize_url_handler

I'm trying to let my users authenticate from within my application, so they don't need to be redirected to safari. I have implemented the WebViewController and set the authorize_url_handler to WebViewController. But I'm getting the following warning:
Warning: Attempt to present <.WebViewController: 0x7967b7e0> on <.LoadingViewController: 0x7a029e60> whose view is not in the window hierarchy!
Am I missing something here? I can't seem to find any information about it anywhere, so that's why I'm asking here.

ios?
without your code difficult to give an exact answer but the error seems clear and just do a google search on "whose view is not in the window hierarchy"
did you addChildViewController ?
If you present a view not using as parent the root, you must add the WebViewController as child controller of the parent controller view where you did presentXXX....

WebViewController: http://pastebin.com/GdA8iFFE
func authenticateUser() {
    let theView = WebViewController()
    OAuth.authorize_url_handler = theView
    OAuth.authorizeWithCallbackURL( NSURL(string: "MyApp://oauth")!, success: {
        credential, response in
        print("success")
        }, failure: { error in
            print(error)
    })
}

I have tried adding self.addChildViewController(theView) but that crashes the application.

Not getting the SFSafariViewController to work either.

ok you copy demo code using the OAuthWebViewController
and the code used to present is :
 UIApplication.sharedApplication().keyWindow?.rootViewController?.presentViewController(
theWebViewController, animated: true, completion: nil)

I will test the demo app just in case
maybe it's because you are not displaying currently the  UIApplication.sharedApplication().keyWindow?.rootViewController, but another when doing the job
I will add a function to override to choose the good controller, the one that is displayed maybe
or have you a UINavigationController? a Storyboard?
or you call authenticateUser when you have not finished to load a view (for instance in a viewDidLoad stack)

I'm calling the authenticateUser after the user presses a button, so the view has loaded. When the app loads it loads a view calling LoadingViewController, if the user is not logged in it shows the LoginViewController, which contains the button and the authenticateUser  method.
Not sure what to do now?

try in   override func handle(url: NSURL) {
do not call super.handle(url:)
instead do some code to present the view from your LoadingViewController
loadingViewConroller.presentViewController(self, animated: true, completion: nil)
you can add this LoadingViewController into your WebViewController as attribute when you creating it (passing in init for instance)

Alright, got it working now. Would be awesome to be able to override the controller, so I can pass the LoginViewController to the handle method.
Thanks for helping! :+1:

yes I will add that to OAuthWebViewController
and keep the issue open until that

Any idea how I can implement the webView into a custom viewController?

maybe I don't understand the question.
You put a UIWebView into your custom WebViewController (by coping demo code) that's the way to do it.
PS: there is also  to ask little question

If anyone is interested, here is how I managed to solve the discussed problem.
public func handle(url: NSURL){
       #if os(iOS)
          var topController = UIApplication.sharedApplication().keyWindow?.rootViewController
          while ((topController?.presentedViewController) != nil) {
          	topController = topController?.presentedViewController
          }
         topController?.presentViewController(self, animated: true, completion: nil)
      ...

97d692c198918a14483dca7460ec193957662641 @driver733 I take your code but make a recursive one in UIViewController/UIApplication extension
I make special case for UINavigationController and UITabViewController as I read on internet but maybe I do wrong by doing this
@driver733 @DennisDreissen feedback is welcome because I have no app with a controller hierarchy to test (demo app have only an UINavigationController as root)


::: Copy saved to /tmp/debug.txt
:::

Issue
I am using cable internet service .
During installation the ip  <IP_ADDRESS> was automatically chosen  which is the local ip of my cable modem . Now when i am connected to my home wifi , i am obviously able to connect to the vpn but if i am connected via  cellular service then vpn wouldnt connect . I tried changing the ip address in Default.txt file to the external ip address of my internet connection(Created a new client file after the change) . After that i am not able to connect to the vpn (doesnt matter if i am connected via wifi or 4g) . I also tried connecting to my neighbour's wifi which is from the same isp and the vpn would work . Please let me know what to do to access the vpn from anywhere.

@carshiv What do you get when run the following commands

sudo iptables -S
sudo iptables -t nat -S

I look at your debug output at the top, it looks the same as mine except you have more profile.  I am using wlan0 just to be clear.
Also I am running Docker (which in theory should not matter)
You cannot connect to your OpenVpn if your client is using the same IP as the OpenVpn. You need to be on a separate IP like connected on a mobile.

echo -e '\n#Enable IP Routing\nnet.ipv4.ip_forward = 1' | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
sudo iptables -t nat -A POSTROUTING -s <IP_ADDRESS>/24 -o wlan0 -j MASQUERADE
sudo iptables -A FORWARD -i tun0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT
sudo iptables -A FORWARD -i wlan0 -o tun0 -j ACCEPT
sudo iptables -P FORWARD ACCEPT
sudo systemctl enable netfilter-persistent
sudo netfilter-persistent save

This took me four hours to make it work.  The key entry for me was this:
sudo iptables -P FORWARD ACCEPT

I found this tip from an old 2012 article!
::: Copy saved to /tmp/debug.txt

@markserrano915 this is what i get
pi@raspberrypi:~ $ sudo iptables -S -P INPUT ACCEPT -P FORWARD ACCEPT -P OUTPUT ACCEPT pi@raspberrypi:~ $ sudo iptables -t nat -S -P PREROUTING ACCEPT -P INPUT ACCEPT -P OUTPUT ACCEPT -P POSTROUTING ACCEPT -A POSTROUTING -s <IP_ADDRESS>/24 -o eth0 -j MASQUERADE
Pretty sure i am using the right profile .

I discovered my ISP is using Carrier-grade NAT . Can be this be the cause of problem ?

Probably. Did you portforward the OpenVPN port on the Pi?

Yes , i did .

@carshiv will look into this better tomorrow, but that ISP NAT might be your problem. =/

@carshiv sorry for leting you sit here for that long ... things just got quite confusing ...
I will be closing the issue mainly because it is already quite old ... however, Feel free to coment here if tou still have the issue ... I will gladly help you out!


Sentinel configuration for redis plugin

Thanks for contributing to Logstash! If you haven't already signed our CLA, here's a handy link: https://www.elastic.co/contributor-agreement/
DONE:

CHG code refactor for rubocop style guide
ADD sentinel configuration with new sentinel parameters
Update jruby version

Why is it build the master branch, not mine?


OSFUSE-435: Allow using properties to authenticate against Openshift cluster

This merges the changes made on branch 'v3.1.80-redhat' (for authentication using properties) into master.
Tested on Minishift and origin 1.4.

Linked to #676.

@rhuss I assume PRs against the -redhat branch is okay to accept and merge from the fuse team?

Yes, I reviewed it on the branch already.
[merge]


C-CUSTOM-TYPE: these may be okay but we should be mindful of future changes (device-specific timeout options, 10-bit addresses)

timeout field in Config is an Option
address parameter in write, read, write_read and transaction is a u8

👍 for address we definitely can't keep u8 - should we do it like embedded-hal and have it <A: AddressMode = SevenBitAddress> or have an enum? Enum would be more explicit but also more annoying - and implementing the embedded-hal traits might be annoying
Not sure about timeout - given the docs already need to explain the different behavior of None depending on the target device this might call for being more explicit (the u32 already made users wonder what the unit of measurement is)


SRP Proof Verification Failed

homeSpan.setPairingCode("95279527");but ERROR: SRP Proof Verification Failed.

Known issue - see #786

Thanks


Device Tracker: Luci json-rpc option for enabling https with self signed certs

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.59.2
Python release (python3 --version):
Python 3.4.3
Component/platform:
Device Tracker / Luci
Description of problem:
When https is enabled you can't connect because only http is an option and the use of self signed certificates.
Expected:
You should be enable https in the yaml file. Add an option for to the luci platform:
https: true/false
verify_cert: true/ false

install and enable https on openwrt / luci
restart hass-daemon
It doesnt work anymore...

Additional info:
I enabled/ fixed this momentarily by replacing:
url = 'http://{}/cgi-bin/luci/rpc/uci'.format(self.host)
on line 70 with:
 url = 'https://{}/cgi-bin/luci/rpc/uci'.format(self.host)
and on line 95
 url = 'http://{}/cgi-bin/luci/rpc/sys'.format(self.host)
with:
 url = 'https://{}/cgi-bin/luci/rpc/sys'.format(self.host)
and on line 154
url = 'http://{}/cgi-bin/luci/rpc/auth'.format(host)
with:
 url = 'https://{}/cgi-bin/luci/rpc/auth'.format(host)
And I added:
verify=False,
on line 123 in the arguments of the post request
res = requests.post(url, data=data, timeout=5, verify=False, **kwargs)
If this is considered a feature request I'll close the issue!

Duplicate of #11044.

closed because of duplicate


Input name attribute not being used

Current Behavior
Input component is not rendering the name attribute.
I'm running this:
import { Input } from 'tamagui';

const Test = () => (
  <Input name="input name" />;
);
export default Test;

and it is rendering this html:
<input autocapitalize="sentences" autocomplete="on" autocorrect="on" dir="auto" rows="1" spellcheck="true" virtualkeyboardpolicy="auto" data-disable-theme="true" tabindex="0" class="...">
Expected Behavior
It is expected that the name prop gets passed to Input element:
<input autocapitalize="sentences" autocomplete="on" autocorrect="on" dir="auto" rows="1" spellcheck="true" virtualkeyboardpolicy="auto" data-disable-theme="true" tabindex="0" class="..." name="input name">
Tamagui Version
v1.115.4

Platform (Web, iOS, Android)
Web, iOS, Android

Reproduction
import { Input } from 'tamagui';

const Test = () => (
  <Input name="input name" />;
);
export default Test;

System Info
No response

We simply wrap react-native-web, which has this limitation.
You can try our re-write @tamagui/input-next for now. Moving to discussion.


[feature request] opening all tabs of one given day

It would be cool to be able to click a day, and it opens all results corresponding to the query. I don't know if others would also benefit from this so I'm putting that here

What do you mean, open all links of the result in a new tab?

In multiple tabs. Say I searched for youtube and had multiple results from yesterday. Then I would want to open all these tabs up (probably by simply clicking the day, very intuitively) so I could copy the urls or further search in them.
So opening all the search results of a day, each in a different tab, by clicking on the day

works beautifully thank you


243 runtime error for an endpoint with no parameters and no return objects while using strip prefix base

Codecov Report

Merging #246 (f3824f1) into main (1f8eca7) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

: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             @@
##             main     #246      +/-   ##
==========================================
- Coverage   76.43%   76.42%   -0.01%
==========================================
  Files         152      152
  Lines        8504     8509       +5
==========================================
+ Hits         6500     6503       +3
- Misses       1672     1674       +2
  Partials      332      332

Flag
Coverage Δ

unittests
76.42% <100.00%> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

diff/endpoints_diff.go
83.63% <100.00%> (+0.45%)
:arrow_up:

diff/path_items_diff.go
96.34% <100.00%> (-0.18%)
:arrow_down:

diff/paths_diff.go
91.42% <100.00%> (+0.18%)
:arrow_up:

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


JSON enabled but 'Failed to parse request body' in logs

Environment
I have configured libModSecurity (aka v3) and nginx connector on CentOS 7.
Is this the correct to check whether it has been compiled properly?
# ldd /usr/local/modsecurity/lib/libmodsecurity.so.3 | grep -i yajl
	libyajl.so.2 => /lib64/libyajl.so.2 (0x00007f66478ea000)

Problem
Failed to parse request body in log and below error in UI

Error in /var/log/nginx/error.log
2017/06/21 09:57:34 [warn] 61#61: *2114 [client <IP_ADDRESS>] ModSecurity: Access denied with code 400 (phase 2). Matched "Operator `Eq' with parameter `0' against variable `REQBODY_ERROR' (Value: `1' ) [file "/etc/nginx/modsec/modsec_rules.conf"] [line "11"] [id "200002"] [rev ""] [msg "Failed to parse request body."] [data ""] [severity "0"] [ver ""] [maturity "0"] [accuracy "0"] [hostname "<IP_ADDRESS>"] [uri "/v2-beta/token"] [unique_id "149803905416.910867"] [ref "v475,1"], client: <IP_ADDRESS>, server: mysite.xyz.com, request: "GET /v2-beta/token HTTP/1.1", host: "mysite.xyz.com", referrer: "https://mysite.xyz.com/"
2017/06/21 09:57:34 [warn] 62#62: *2116 [client <IP_ADDRESS>] ModSecurity: Access denied with code 400 (phase 2). Matched "Operator `Eq' with parameter `0' against variable `REQBODY_ERROR' (Value: `1' ) [file "/etc/nginx/modsec/modsec_rules.conf"] [line "11"] [id "200002"] [rev ""] [msg "Failed to parse request body."] [data ""] [severity "0"] [ver ""] [maturity "0"] [accuracy "0"] [hostname "<IP_ADDRESS>"] [uri "/v2-beta/schema"] [unique_id "149803905474.710536"] [ref "v476,1"], client: <IP_ADDRESS>, server: mysite.xyz.com, request: "GET /v2-beta/schema HTTP/1.1", host: "mysite.xyz.com", referrer: "https://mysite.xyz.com/"
2017/06/21 09:57:34 [warn] 62#62: *2117 [client <IP_ADDRESS>] ModSecurity: Access denied with code 400 (phase 2). Matched "Operator `Eq' with parameter `0' against variable `REQBODY_ERROR' (Value: `1' ) [file "/etc/nginx/modsec/modsec_rules.conf"] [line "11"] [id "200002"] [rev ""] [msg "Failed to parse request body."] [data ""] [severity "0"] [ver ""] [maturity "0"] [accuracy "0"] [hostname "<IP_ADDRESS>"] [uri "/v2-beta/projects"] [unique_id "149803905493.197393"] [ref "v506,1"], client: <IP_ADDRESS>, server: mysite.xyz.com, request: "GET /v2-beta/projects?all=true&limit=-1&sort=name HTTP/1.1", host: "mysite.xyz.com", referrer: "https://mysite.xyz.com/"
2017/06/21 09:57:34 [warn] 62#62: *2118 [client <IP_ADDRESS>] ModSecurity: Access denied with code 400 (phase 2). Matched "Operator `Eq' with parameter `0' against variable `REQBODY_ERROR' (Value: `1' ) [file "/etc/nginx/modsec/modsec_rules.conf"] [line "11"] [id "200002"] [rev ""] [msg "Failed to parse request body."] [data ""] [severity "0"] [ver ""] [maturity "0"] [accuracy "0"] [hostname "<IP_ADDRESS>"] [uri "/v2-beta/userpreferences"] [unique_id "149803905499.256323"] [ref "v504,1"], client: <IP_ADDRESS>, server: mysite.xyz.com, request: "GET /v2-beta/userpreferences?limit=-1&sort=name HTTP/1.1", host: "mysite.xyz.com", referrer: "https://mysite.xyz.com/"
2017/06/21 09:57:34 [warn] 62#62: *2119 [client <IP_ADDRESS>] ModSecurity: Access denied with code 400 (phase 2). Matched "Operator `Eq' with parameter `0' against variable `REQBODY_ERROR' (Value: `1' ) [file "/etc/nginx/modsec/modsec_rules.conf"] [line "11"] [id "200002"] [rev ""] [msg "Failed to parse request body."] [data ""] [severity "0"] [ver ""] [maturity "0"] [accuracy "0"] [hostname "<IP_ADDRESS>"] [uri "/v2-beta/setting"] [unique_id "149803905487.495233"] [ref "v506,1"], client: <IP_ADDRESS>, server: mysite.xyz.com, request: "GET /v2-beta/setting?all=false&limit=-1&sort=name HTTP/1.1", host: "mysite.xyz.com", referrer: "https://mysite.xyz.com/"
2017/06/21 09:57:34 [warn] 62#62: *2120 [client <IP_ADDRESS>] ModSecurity: Access denied with code 400 (phase 2). Matched "Operator `Eq' with parameter `0' against variable `REQBODY_ERROR' (Value: `1' ) [file "/etc/nginx/modsec/modsec_rules.conf"] [line "11"] [id "200002"] [rev ""] [msg "Failed to parse request body."] [data ""] [severity "0"] [ver ""] [maturity "0"] [accuracy "0"] [hostname "<IP_ADDRESS>"] [uri "/v2-beta/schema"] [unique_id "149803905497.996843"] [ref "v476,1"], client: <IP_ADDRESS>, server: mysite.xyz.com, request: "GET /v2-beta/schema HTTP/1.1", host: "mysite.xyz.com", referrer: "https://mysite.xyz.com/"
2017/06/21 09:57:34 [warn] 62#62: *2121 [client <IP_ADDRESS>] ModSecurity: Access denied with code 400 (phase 2). Matched "Operator `Eq' with parameter `0' against variable `REQBODY_ERROR' (Value: `1' ) [file "/etc/nginx/modsec/modsec_rules.conf"] [line "11"] [id "200002"] [rev ""] [msg "Failed to parse request body."] [data ""] [severity "0"] [ver ""] [maturity "0"] [accuracy "0"] [hostname "<IP_ADDRESS>"] [uri "/v2-beta/projectTemplates"] [unique_id "149803905492.131429"] [ref "v505,1"], client: <IP_ADDRESS>, server: mysite.xyz.com, request: "GET /v2-beta/projectTemplates?limit=-1&sort=name HTTP/1.1", host: "mysite.xyz.com", referrer: "https://mysite.xyz.com/"
2017/06/21 09:57:34 [warn] 61#61: *2122 [client <IP_ADDRESS>] ModSecurity: Access denied with code 400 (phase 2). Matched "Operator `Eq' with parameter `0' against variable `REQBODY_ERROR' (Value: `1' ) [file "/etc/nginx/modsec/modsec_rules.conf"] [line "11"] [id "200002"] [rev ""] [msg "Failed to parse request body."] [data ""] [severity "0"] [ver ""] [maturity "0"] [accuracy "0"] [hostname "<IP_ADDRESS>"] [uri "/v2-beta/projects"] [unique_id "149803905474.799709"] [ref "v506,1"], client: <IP_ADDRESS>, server: mysite.xyz.com, request: "GET /v2-beta/projects?all=true&limit=-1&sort=name HTTP/1.1", host: "mysite.xyz.com", referrer: "https://mysite.xyz.com/"

Error in /var/log/nginx/modsec_audit.log
---hAifXuzH---H--
ModSecurity: Warning. Matched "Operator `Eq' with parameter `0' against variable `REQBODY_ERROR' (Value: `1' ) [file "/etc/nginx/modsec/modsec_rules.conf"] [line "11"] [id "200002"] [rev ""] [msg "Failed to parse request body."] [data "JSON parsing error: parse error: premature EOF\x0a"] [severity "2"] [ver ""] [maturity "0"] [accuracy "0"] [ref "v493,1"]

Config Files
/etc/nginx/modsec/modsec_rules.conf
SecRuleEngine On
SecRequestBodyAccess On
SecRule REQUEST_HEADERS:Content-Type "(?:application(?:/soap\+|/)|text/)xml" "id:'200000',phase:1,t:none,t:lowercase,pass,nolog,ctl:requestBodyProcessor=XML"
SecRule REQUEST_HEADERS:Content-Type "application/json" "id:'200001',phase:1,t:none,t:lowercase,pass,nolog,ctl:requestBodyProcessor=JSON"
SecRequestBodyLimit 13107200
SecRequestBodyNoFilesLimit 131072
SecRequestBodyInMemoryLimit 131072
SecRequestBodyLimitAction Reject
SecRule REQBODY_ERROR "!@eq 0" "id:'200002', phase:2,t:none,log,deny,status:400,msg:'Failed to parse request body.',logdata:'%{reqbody_error_msg}',severity:2"
SecRule MULTIPART_STRICT_ERROR "!@eq 0" "id:'200003',phase:2,t:none,log,deny,status:400, msg:'Multipart request body failed strict validation: PE %{REQBODY_PROCESSOR_ERROR}, BQ %{MULTIPART_BOUNDARY_QUOTED}, BW %{MULTIPART_BOUNDARY_WHITESPACE}, DB %{MULTIPART_DATA_BEFORE}, DA %{MULTIPART_DATA_AFTER}, HF %{MULTIPART_HEADER_FOLDING}, LF %{MULTIPART_LF_LINE}, SM %{MULTIPART_MISSING_SEMICOLON}, IQ %{MULTIPART_INVALID_QUOTING}, IP %{MULTIPART_INVALID_PART}, IH %{MULTIPART_INVALID_HEADER_FOLDING}, FL %{MULTIPART_FILE_LIMIT_EXCEEDED}'"
SecRule MULTIPART_UNMATCHED_BOUNDARY "!@eq 0" "id:'200004',phase:2,t:none,log,deny,msg:'Multipart parser detected a possible unmatched boundary.'"
SecPcreMatchLimit 1000
SecPcreMatchLimitRecursion 1000
SecRule TX:/^MSC_/ "!@streq 0" "id:'200005',phase:2,t:none,deny,msg:'ModSecurity internal error flagged: %{MATCHED_VAR_NAME}'"
SecResponseBodyAccess On
SecResponseBodyMimeType text/plain text/html text/xml application/json
SecResponseBodyLimit 524288
SecResponseBodyLimitAction ProcessPartial
SecTmpDir /tmp/
SecDataDir /tmp/
SecAuditEngine RelevantOnly
SecAuditLogRelevantStatus "^(?:5|4(?!04))"
SecAuditLogParts ABIJDEFHZ
SecAuditLogType Serial
SecAuditLog /var/log/nginx/modsec_audit.log
SecArgumentSeparator &
SecCookieFormat 0
SecUnicodeMapFile unicode.mapping 20127
SecStatusEngine On

# OWASP CRS v3 rules
Include /usr/local/owasp-modsecurity-crs/crs-setup.conf
Include /usr/local/owasp-modsecurity-crs/rules/REQUEST-900-EXCLUSION-RULES-BEFORE-CRS.conf
Include /usr/local/owasp-modsecurity-crs/rules/REQUEST-901-INITIALIZATION.conf
Include /usr/local/owasp-modsecurity-crs/rules/REQUEST-903.9001-DRUPAL-EXCLUSION-RULES.conf
Include /usr/local/owasp-modsecurity-crs/rules/REQUEST-903.9002-WORDPRESS-EXCLUSION-RULES.conf
Include /usr/local/owasp-modsecurity-crs/rules/REQUEST-905-COMMON-EXCEPTIONS.conf
Include /usr/local/owasp-modsecurity-crs/rules/REQUEST-910-IP-REPUTATION.conf
Include /usr/local/owasp-modsecurity-crs/rules/REQUEST-911-METHOD-ENFORCEMENT.conf
Include /usr/local/owasp-modsecurity-crs/rules/REQUEST-912-DOS-PROTECTION.conf
Include /usr/local/owasp-modsecurity-crs/rules/REQUEST-913-SCANNER-DETECTION.conf
Include /usr/local/owasp-modsecurity-crs/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf
Include /usr/local/owasp-modsecurity-crs/rules/REQUEST-921-PROTOCOL-ATTACK.conf
Include /usr/local/owasp-modsecurity-crs/rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf
Include /usr/local/owasp-modsecurity-crs/rules/REQUEST-931-APPLICATION-ATTACK-RFI.conf
Include /usr/local/owasp-modsecurity-crs/rules/REQUEST-932-APPLICATION-ATTACK-RCE.conf
Include /usr/local/owasp-modsecurity-crs/rules/REQUEST-933-APPLICATION-ATTACK-PHP.conf
Include /usr/local/owasp-modsecurity-crs/rules/REQUEST-941-APPLICATION-ATTACK-XSS.conf
Include /usr/local/owasp-modsecurity-crs/rules/REQUEST-942-APPLICATION-ATTACK-SQLI.conf
Include /usr/local/owasp-modsecurity-crs/rules/REQUEST-943-APPLICATION-ATTACK-SESSION-FIXATION.conf
Include /usr/local/owasp-modsecurity-crs/rules/REQUEST-949-BLOCKING-EVALUATION.conf
Include /usr/local/owasp-modsecurity-crs/rules/RESPONSE-950-DATA-LEAKAGES.conf
Include /usr/local/owasp-modsecurity-crs/rules/RESPONSE-951-DATA-LEAKAGES-SQL.conf
Include /usr/local/owasp-modsecurity-crs/rules/RESPONSE-952-DATA-LEAKAGES-JAVA.conf
Include /usr/local/owasp-modsecurity-crs/rules/RESPONSE-953-DATA-LEAKAGES-PHP.conf
Include /usr/local/owasp-modsecurity-crs/rules/RESPONSE-954-DATA-LEAKAGES-IIS.conf
Include /usr/local/owasp-modsecurity-crs/rules/RESPONSE-959-BLOCKING-EVALUATION.conf
Include /usr/local/owasp-modsecurity-crs/rules/RESPONSE-980-CORRELATION.conf
Include /usr/local/owasp-modsecurity-crs/rules/RESPONSE-999-EXCLUSION-RULES-AFTER-CRS.conf

From my own testing, JSON logging only works in Parallel mode.  My settings for comparison:
SecAuditEngine RelevantOnly
SecAuditLogRelevantStatus "^(?:5|4(?!04))"

# Log everything we know about a transaction.
SecAuditLogParts ABIJDEFHZ

# Use a single file for logging. This is much easier to look at, but
# assumes that you will use the audit log only ocassionally.
#
SecAuditLogType Parallel

#SecAuditLog /var/log/nginx/modsec_audit.log

# Specify the path for concurrent audit logging.
SecAuditLogStorageDir /var/log/nginx/modsec

This has been the only way I've been able to output as JSON.  This will create a single file per event.

Thanks @met3or ,
I have made the changed as suggested but still encountering the same error.
But, now I have something which I was trying yesterday :) i.e. create logs in JSON format by setting SecAuditLogFormat JSON which didn't work as suggested here. Interestingly, Parallel option is not listed here.
Now, I have this in my logs
cat /var/log/nginx/modsec/20170622/20170622-1104/20170622-110412-14981294521.076860
{
    "transaction": {
        "client_ip": "<IP_ADDRESS>",
        "time_stamp": "Thu Jun 22 11:04:12 2017",
        "server_id": "63a4eac4502cbff393b26c3bb9b2bf8cb01a3846",
        "client_port": 57033,
        "host_ip": "<IP_ADDRESS>",
        "host_port": 443,
        "id": "14981294521.076860",
        "request": {
            "method": "GET",
            "http_version": 1.1,
            "uri": "/v2-beta/token",
            "body": "",
            "headers": {
                "Referer": "https://mysite.xyz.com/",
                "x-api-no-challenge": "true",
                "x-api-action-links": "actionLinks",
                "Content-Type": "application/json",
                "Accept-Encoding": "gzip, deflate, br",
                "Cookie": "PL=rancher",
                "Accept-Language": "en-US,en;q=0.5",
                "Accept": "application/json",
                "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:54.0) Gecko/20100101 Firefox/54.0",
                "Host": "mysite.xyz.com",
                "Connection": "keep-alive"
            }
        },
        "response": {
            "http_code": 400,
            "headers": {
                "Server": "nginx",
                "Date": "Thu, 22 Jun 2017 11:04:12 GMT",
                "Content-Length": "166",
                "Content-Type": "text/html",
                "Connection": "close"
            }
        },
        "producer": {
            "modsecurity": "ModSecurity v3.0.0-alpha (Linux)",
            "connector": "ModSecurity-nginx v0.1.1-beta",
            "secrules_engine": "Enabled",
            "components": [
                "OWASP_CRS/3.0.2\""
            ]
        },
        "messages": [
            {
                "message": "Failed to parse request body.",
                "details": {
                    "match": "Matched \"Operator `Eq' with parameter `0' against variable `REQBODY_ERROR' (Value: `1' )",
                    "reference": "v423,1",
                    "ruleId": "200002",
                    "file": "/etc/nginx/modsec/modsec_rules_new.conf",
                    "lineNumber": "11",
                    "data": "JSON parsing error: parse error: premature EOF\n",
                    "severity": "2",
                    "ver": "",
                    "rev": "",
                    "tags": [

                    ],
                    "maturity": "0",
                    "accuracy": "0"
                }
            }
        ]
    }
}

@vikas027 I see the error you're experiencing now, though I am glad to have helped format the logs as JSON  (which admittedly was what I had originally believed the issue to have been!  My mistake)
The error appears to be taking issue with the following line:
SecRule MULTIPART_UNMATCHED_BOUNDARY "!@eq 0" "id:'200004',phase:2,t:none,log,deny,msg:'Multipart parser detected a possible unmatched boundary.'"
Could you perhaps comment this line out and retry your page?

Hey @met3or , I did the same in vain; still have the same error in the messages block

Hi @vikas027,
Please comment the following line in your configuration file:
https://github.com/SpiderLabs/ModSecurity/blob/v3/master/modsecurity.conf-recommended#L59-L60
Notice that the error that you are receiving is due to a malformed JSON which most likely you want to block. I guess that you should try to identify why you are receiving such JSON or if there is a error in ModSecurity. Can you paste in gists the request details? (including the request body)


(PUP-1085) Fix handling of package groups in pacman provider.

These commits fix the pacman package provider's handling of groups.
Previously, the pacman provider would return a version of '1' for package groups if a single package of the group was installed. This meant that groups that were partially installed were considered to be installed.  Additionally, if a package in a group was updated, the group was still considered to be the latest and no action would be taken to update the group.
This fixes the above issue by considering a package group to be installed only if all the packages in the group are installed.  Additionally, package group versions are now a concatenation of all the versions of the packages comprising the groups.  This allows the group to install packages in the group that have been updated.
Also fixed:

Pass the --needed option to pacman to prevent needless reinstallation of packages.
Return :absent instead of :purged if a package is missing
Implement the virtual_packages feature to disable handling package groups.
Improve errors and warnings in the provider.

This needs a rebase now, possibly due to the rspec 3 support, or perhaps other changes.

@kylog I've rebased.  The conflicts came from the rspec 3 changes.

Triage notes: we do intend to merge this after the Puppet 4.0.0 merge freeze.


Monthly - On every second Tuesday etc..

How can the user change the "on every SECOND tuesday of the month" to third or whatever he wants?
I don't find an option in the GUI.
But it must be supported because the recurrence rule send the sceond back ;-)

Have missunderstood this. The second/third etc.. are coming from the current set weedkay in the month.


Custom extension help

Hello
I'm trying to develop boxbilling extension for SMS notifications. I'm trying to produce some functionality but i'm unable, but mostly for lack of knowledge of this framework.
My concept is based on example extension provided in version 4.20. I also thinking about plugin system for this extension which I see in license product in box billing. And here I encounter a issue
I.e my URL for editing plugin is similar to this:
/smsgateway/plugin&code=clickatel
I know that I need to register get in admin controller
Which I did .
But how can I manage last part 'code=clickatel'
Should I check this in api or controller part of extension
In example are only samples with id which are numeric and I can't use numeric values for plugin classes.
Can you point me in right direction?
Regards

Currently most of extension is done ( forms, reports, plugin classes etc.
The only thing where I stuck is mentioned above

Hi,
I think you need to do it in both controller and API. Controller is for the URL. API is for the functions.
Look at the code of the Invoice module (admin controller and API), I think they are more explicit for your case.
Perhaps in controller register function
$app->get('/smsgateway/plugin/:code','get_code', array('code'=>'[A-Za-z0-9]+'), get_class($this));
Then a get_code function in the controller that does whatever you wish to do (api call like in get_invoice, or just show a template...)

Well I tried this but can get this working
I'll cleanup my code little bit ( it's still have old example code there in some templates )
I'll upload this on git and send you details if you interested to see

@scith I uploaded on my repo
It's mostly skeleton and concept
https://github.com/n3bir0s/boxbilling/tree/SmsGateway

@scith
I finally managed :)
take look at
https://github.com/n3bir0s/boxbilling/tree/SMSGateway
And let me know what you think

It looks very nice! I can't test it further because I'm not a client of these companies, but the admin interface looks amazing!
Good idea this plugin system.

@scith
re.: error that is solved in last commit - i'll post another in next few hour ( or minutes :) )
regarding testing i write plugins as stand alone modules and works so this part is easy since i've got them written before and tested them. but currently this part is on hold. i need to get functionality of module first.

Is it working module? How may I test it? How may I download Smsgateway module from: https://github.com/n3bir0s/boxbilling/tree/SMSGateway/src/bb-modules/Smsgateway
?

Currently is under still development


Updated assessment

2/3. Very good, fizz_or_buzz is missing the return value of the integer if none of the conditionals evaluated to true though. Well done.


Advanced widget effects

I would like to apply a spherize effect to my widget (like this). In order to achieve this I compute a mapping from the old image pixels to the new image pixels and then simply iterate over the pixels and apply this mapping every time the widget is rendered.
It is possible to achieve this with a single input ui.Image. I also believe it is feasible to apply this to a widget using the RenderRepaintBoundary.toImage method (here), although I'm not sure how you can capture an image of a widget and render the effect over it all in one build method. This also seems pretty inefficient.
I propose some functionality that allows us to pass some 2d array of indices and remap the pixels of the child widget's rendered image. I've found slightly similar functionality with the backdropfilter which is able to access its child's image and convolve over it with a filter.
If there already exists a suitable solution for this problem I would really appreciate it. I've been searching for a week now :')

Hi @NaOH12
This platform is not meant for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


OCPBUGS-42840: cleanup configmap when event apiVersion change

Tests done:

deploy ptp-operator, update ptpoperatorconfig to enable v1 event
deploy v1 consumer => verify configmap and events
update update ptpoperatorconfig to enable v2 event => verify configmap cleaned up
undeploy v1 consumer and deploy v2 consumer => verify configmap and events
reboot linuxptp-daemon pod => verify configmap and events
reboot consumer => verify configmap and events
reboot linuxptp-daemon pod again => verify configmap and events
update ptpoperatorconfig to enable v1 event => verify configmap cleaned up
undeploy v2 consumer and deploy v1 consumer => verify configmap and events
reboot linuxptp-daemon pod => verify configmap and events

/cherry-pick release-4.17


⚠ GitHub has degraded performance

In cf9f6d4, GitHub (https://www.githubstatus.com/api/v2/status.json) experienced degraded performance:

HTTP code: 200
Response time: 322 ms

Resolved: GitHub performance has improved in 0a66d7b.


Doesn't work on Ubuntu 18.04

I've tried with different IDE's but it doesn't seem to function on Ubuntu 18.04. I'm not sure about 16.04, was this designed with Ubuntu in mind? If not, is this something that could be fixed?

Works fine on my 18.04 installation, make sure you don't use the version from snap/software center.

Yep, thanks - that sorted it.


internal listener: fix assertion in passthrough state

Signed-off-by: Kuat Yessenov<EMAIL_ADDRESS>Commit Message: Fix assertion in internal listener user space socket. The assertion would fail if internal upstream transport socket is not used, but it is not necessary.
Additional Description: Added an integration test as well (apparently there was none before without internal upstream transport)
Risk Level: low
Testing: yes
Docs Changes: none
Release Notes: none

/assign @lizan
(reviewer of internal upstream)


Use static relative start / end dates instead of using energy-date-selector

Is your feature request related to a problem? Please describe.
Currently this plugin cannot show multiple charts of different dates in one dashboard. For example it's impossible to show today/yesterday/this week/last week data in one dashboard.
Additionally it cannot show more precise data than a day. Some time it's useful to know the energy usage of last hour or last few minutes.
Describe the solution you'd like
Add parameters like "start_date" / "end_date" to the chart. it can use relative annotation. I really like the Grafana's implementation: e.g. "-1d", "-1w/w"
refer: https://grafana.com/docs/grafana/latest/dashboards/use-dashboards/?pg=blog&plcmt=body-txt#set-dashboard-time-range
Describe alternatives you've considered
Predefined list of date ranges
Additional context
N/A

v3.3.0

Fantastic - thank you


Change info to debug

current:
producer.rs
info!(
    "Message with key {} delivered to partition {} at offset {}",
    message.key, partition, offset
);

requested:
producer.rs
debug!(
    "Message with key {} delivered to partition {} at offset {}",
    message.key, partition, offset
);

motivation:
it's spammy and the info isn't useful unless I'm debugging.

I think an even better solution would be to remove the log altogether and instead put the status in the return value of the function so that the user can decide what to do with it.


Build MatrixStore during import pipeline

This PR addresses the first half of #1519, namely integrating the MatrixStore build process into the data import pipeline. It also introduces the MATRIX_SUM custom SQL function as this is useful for working out the precomputed totals.
At this stage, nothing should affect the user-visible site: we're simply creating a file which nothing reads.

@seb @inglesp I'm not going to be around much tomorrow, but it would be great if you could take another look at this and let me know if you're happy


org.apache.hadoop.hbase.exceptions.LockTimeoutException: Failed to get user region lock in10000 ms. for accessing meta region server.

How to solve this issue, As soon as I load my dashboard on 8080 port, the dashboard takes time to load and returns this error.

Typically, it is a problem with hbase itself.
Check the status of the hbase.
In my experience, I have seen many things caused by lack of performance and capacity.

can you please mention the steps which I need to follow.

The hbase provided by pinpoint-docker is not intended for production.
You must deploy fully-distributed hbase for use in production.
https://hbase.apache.org/book.html#distributed

server map is not coming up but application is there in the list

@emeroad can we change the pinpoint's default running port from 8080 to some other port ?