How can I get apns4erl integrated with ejabberd

Indeed I've seen that there's another closed issue with the same name, but there's no any guide/tutorial that explains how to make this integration.
I don't know some things:

Where I have to put the dependency (maybe on rebar.config.script)?
Where I have to put the configuration?
Where I have to make the connection?

And some other things..
Someone can helps me?
Thanks!

well, ejabberd as external module is a bit comple but if you modify the current code, you can add the dependency in rebar.config file, it should do the magic :-) ... after that, you'll need to create a module to use it, of course.

Okay, I will add the 'apns4erl' as a dependency in my rebar.config.
This theorically solves my first question..
But what about the other things?
I'm implementing a module with a hook and so on.. but for example:

Where I should define the configurations detailed on apns4erl readme?
(Maybe on the rebar.config also?)

Where I should create the connection?
(Maybe on the module init function? Or every time that I send a push?)

Etc..
Many thanks @manuel-rubio !!! :+1:

About the questions:

you should to define the configuration in the start of the new module you have to create.
the same, in the start of the module.

About configuration, for example, you can add it to the module configuration to get it in the Opts param for start the module. It's not hard to do, but you need to review code from other modules to realize how to do it ;-)
If you need more help we can talk in DM, talk in spanish is better for me :-P

Okay, It will be better.
DMs in spanish, but with which communication channel? jajaja
Then I will write a Wiki page/tutorial like @monkeyfdude but explaining all the integration process.

I think we can close that ticket


[EMAIL] Improve email sending reliability and security

User description
This pull request fixes the issue where emails are not being sent. It includes several improvements to the email functionality, such as wrapping URLs in email templates with HTML  tags to make them clickable, improving log handling, fixing the reset password request logic, and addressing the email from address. These changes should ensure that emails are sent successfully and improve the overall email functionality.
Fixes #280, #285

Type
Bug fix

Changes walkthrough
Relevant filesError handling

base.rbImprove error handling and logging in API

lib/onetime/app/api/base.rb
Removed verbose debug logging of locale information  Improved error handling for rate limiting exceptions

+0/-1

helpers.rbEnhance rate limiting error handling and logging

lib/onetime/app/helpers.rb
Obscured customer identifiers in rate limiting logs using a hashing function  Replaced verbose debug logging with targeted error handling  Improved error messages for rate limiting exceptions

+2/-2

✨ PR-Agent usage:
Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

PR Description updated to latest commit (https://github.com/onetimesecret/onetimesecret/commit/0b514bca630f93b5033df75cd6118c9c6f9ed4f9)

PR Review

 ⏱ Estimated effort to review [1-5]
3, because the PR includes several changes across multiple files, including error handling, logging, email sending, and email template updates. The changes seem focused on improving the reliability and security of the email functionality, which is an important part of the application.

 🧪 Relevant tests
No

 🔍 Possible issues
No

 🔒 Security concerns
No


iOS13: Rooms do not load

We have received this complaint since the first OS13 beta. Several betas after, the problem is still here.
We should have a look at it in case the problem does not solve by itself.
It happens only on real devices, not in emulators.

Doesn't seem fixed with Public Beta 4, Riot v0.91, even after I had cleared the cache.

Hello,
I confirm, I have same issue....

I confirm too and tried to build v0.9.1 for iOS 13 but JitsiMeetSDK gave me "Module compiled with Swift 5.0 cannot be imported by the Swift 5.1 compiler".
https://github.com/jitsi/jitsi-meet/issues/4305

@kevin147147,
At the moment, the best to build Riot-iOS on Xcode 11 is to remove jitsi.
First, remove it from the Podfile. Then, hack JitsiService.swift to make the project build.
I have almost fixed the issue for loading the room screen but there are many others related to iOS13.

This is fixed for me in 5th beta (17A5556d) that came out today

i think we should stick to our guns and refuse to investigate further iOS13 beta issues until it goes GA (or the final beta before GA), precisely because of stuff like this.

@ara4n keep it as a comfort blanket, people will create issues if there's not one already created, if not open

Fixed by iOS Beta 6.


Progress bar with 'determinate' mode applies 'indeterminate' styles

Current :
in progress bar component with mode="determinate" and changing the value property.
the bar behave exactly like bar with mode="indeterminate".
the results of LinearProgress with mode="determinate are elements with MuiLinearProgress-indeterminateBar className

Expected:
bar should be changed based provided value.
example on codesandbox

From #10101
-mode="determinate"
+variant="determinate"


containerd --version: print version.Revision

Signed-off-by: Akihiro Suda<EMAIL_ADDRESS>Currently, docker info producing weird result because containerd --version does not include revision:
$ docker info
...
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: v1.0.0-beta.2-53-g992280e8 (expected: 992280e8e265f491f7a624ab82f3e238be086e49)
runc version: 0351df1c5a66838d0c392b4ac4cf9450de844e2d
init version: 949e6fa
...

This PR adds version.Revision to containerd --version:
$ containerd --version
containerd github.com/containerd/containerd v1.0.0-beta.2-129-gdfdcd4de dfdcd4decb90a51f45b3bf4e2ab51e30fcf7532b

@mlaventure

Codecov Report

Merging #1710 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1710   +/-   ##
=======================================
  Coverage   48.93%   48.93%
=======================================
  Files          27       27
  Lines        4071     4071
=======================================
  Hits         1992     1992
  Misses       1660     1660
  Partials      419      419

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 c933088...dfdcd4d. Read the comment docs.

LGTM


Twitch?

You're gonna hate me Alexis but I think you typo'd your repo name haha

Not at all I'm always happy to correct myself thanks for spotting it.


dbmigration is failing

I am facing similar problem with the issue #217
but I am using default value for quality gate. Could you please help to what/how to trouble shoot this?
IN_PROGRESS
711 | running migration
712 | IN_PROGRESS
713 | running migration
714 | IN_PROGRESS
715 | running migration
716 | FAILED
717 |
718 | [Container] 2023/10/12 17:41:02 Running command if [ "$(jq -r .builds[0].buildStatus codebuild-output.json)" = "FAILED" ]; then echo "Failed";  cat codebuild-output.json; exit -1; fi
719 | Failed
720 | {
721 | "builds": [
722 | {
723 | "id": "bcm-dev-dbmigration:dd2730ea-8d30-46e9-ab69-063c967bc17b",
724 | "arn": "arn:aws:codebuild:us-east-2:758968765298:build/bcm-dev-dbmigration:dd2730ea-8d30-46e9-ab69-063c967bc17b",
725 | "buildNumber": 2,

Hi @bliu9881, thanks for opening an issue and sorry for the late response. Your issue is in the migration stage right? The migration stage allows data.all to automatically perform changes in the tables of the RDS database. Because we are modifying the RDS database, the migration scripts are executed in the deployment account. In other words, from the tooling account pipeline Codebuild stage we trigger a second Codebuild stage in the deployment account.
The logs that you are showing there are the logs from the first Codebuild stage (tooling), which as you probably noticed, do not provide much insights. To investigate the issue we need the logs from the second Codebuild stage. You need to go into the deployment account > CodeBuild > Codebuils projects and search for "migration". You should find a project like the following (probably with a different name). Can you copy/past the logs of the last build of that project?

Hello, it seems there hasn’t been any recent activity on this issue. Is there anything more we can do to assist, or shall we consider closing it if the problem has been resolved? Thanks


Use build variants to produce different releases for different RP instances

Up until now we've been doing this with a renaming script that changes all class and package names. See..

https://developer.android.com/studio/build/build-variants
https://developer.android.com/studio/build/application-id

Seems this would mean having a different release for textit users and so them losing their upgrade path. For now we use a mixture of build flavors (helps with merging resources) and renaming the package.


swig - wrong generation of code for functions in namespace

(not sure if this is the right bugtracker... this one is slightly more active at
tackling bugs than the swig one, though)

hi,

it seems swig-go doesn't generate correct code when a function is in a namespace, not
taking into account the said namespace in the go name for the function.

this leads to collisions, for example:

// c++ code
namespace NS1 {
 void fct();
}
namespace NS2 {
 void fct();
}
//

this leads to the following warning:

test_swig.h:77: Warning 890: Ignoring 'fct' due to Go name ('Fct') conflict with 'fct'

perhaps the exposed Go names should be NS1_Fct and NS2_Fct ?

(I guess the same issue exists for other types in namespaces)

-s

@sbinet did you figure out a way to use %rename to cover this case? %rename is really to avoid collisions in the target language, and not to conditionally resolve namespace-less collision. This appears to be a show stopper for the case given.

as I still had to modify/beautify the C++ API, I ended up wrapping these calls into dedicated function:
double mana_reco_deltaPhi(double a, double b) {
 return mana::reco::deltaPhi(a,b);
}

// etc...

-s


Fix invalid action version

I would hope it worked like that, and yet the action failed?

I'm unsure if that's the issue here - I'd hope it's not because the documentation says otherwise.
Have you tested this theory elsewhere?

Yeah, I tested elsewhere when I used v1 to refer to CSSUoB/action-install-python-project in the TeXBot workflows. It failed, until I gave the specific version

Perplexing. Maybe this is different for actions as opposed to consumers.

Yup, it also makes it more annoying if we ever need to change the actions as we gotta update all the version numbers like you said. Thank goodness these should just be once & done.

I presume the major vs minor versioning is why scripts like this one in the setup-poetry action exist. I really can't be asked to add one for the deployment of this because we really aren't going to be updating it that much


Move build_passed column and rename

Currently the "build_passed" is the first column of the summary table.The default sorting seems to give highest priority to it, and consequently all the "0" lines come first, followed by the "1" lines. Sorting by "host" makes a lot more sense to me instead. Also, I personally expect to first see the columns with configuration information, before the columns with results, "build_passed" as the first results column.
I propose to move the "build_passed" column to sit between the "os" and "unit_pass" columns.
Further I propose renaming "build_passed" to "lib-build", and translate "0"->"fail, "1"->"pass".

Fixed in v1.1.0


Limit Description to 500 words

Ensure that the search results only display book descriptions truncated to the first 500 words or less.

Can I be assigned?

hi can you please assign this to me?

can you assign me this

@Manvith-M-Nayak would you like more time to work on the issue?

!extend 30

!deassign

!assign @Manvith-M-Nayak

@Manvith-M-Nayak would you like more time to work on the issue?

In the readme, there is no app.py . Did you mean frontend.py?

@Manvith-M-Nayak Yes, sorry for the confusion

can i be assigned to this please

Hey, can I get assigned to this?

!deassign

Can I be assigned to this?


Check for Homebrew's PyQt5 install path

This modifies the logic in sip_configure to also check for Homebrew's sip file location. Previous ROS2 MacOS instructions said to symlink PyQt5 -> Qt5, but that's not necessary with this PR.

Passing test?

@mlautman Here is a test for the default situation. I'll work with Dirk to test the new condition
https://ci.ros2.org/job/ci_linux/5794/


[DO NOT MERGE] Render travel advice index from expanded links.

Travel-advice-publisher will soon stop sending the countries data
explicitly in the details hash; it will be expanded automatically by
publishing-api, which means they will be in the "children" element of
the details hash, and have a slightly different structure.
This should not be merged until the data is fully populated and publishing-api is expanding the links correctly.

Now that the schema changes have been merged and deployed, the frontend test suite is failing (except on this branch) as the test data from the schemas is not compatible with the previous presenter.
This should have been caught at the point the govuk-content-schemas change was in review, but the frontend tests simply were not run (fixed by https://github.com/alphagov/govuk-content-schemas/pull/564 and https://github.com/alphagov/frontend/pull/1167 ).
One way to get the test suite passing again would be to make the presenter and tests backwards compatible, I've done this here https://github.com/alphagov/frontend/pull/1168 . This might also be better for deployment, as it means that frontend will automatically switch when appropriate, rather than the deploys having to be carefully timed.


v1.0.3 fails to compile on Arduino

For some reason, Arduino IDE 1.8.x and 2.2 are configured to compile with treat warnings as errors, because a simple warning in your library stops compilation with error:
e:\develop\Arduino\libraries\AsyncEspFsWebserver\src\AsyncFsWebServer.cpp: In member function 'void AsyncFsWebServer::handleUpload(AsyncWebServerRequest*, String, size_t, uint8_t*, size_t, bool)':
e:\develop\Arduino\libraries\AsyncEspFsWebserver\src\AsyncFsWebServer.cpp:457:20: error: unused variable 'i' [-Werror=unused-variable]
         static int i = 0;
                    ^
e:\develop\Arduino\libraries\AsyncEspFsWebserver\src\AsyncFsWebServer.cpp: At global scope:
e:\develop\Arduino\libraries\AsyncEspFsWebserver\src\AsyncFsWebServer.cpp:457:20: error: 'i' defined but not used [-Werror=unused-variable]
cc1plus.exe: some warnings being treated as errors
Multiple libraries were found for "WiFiUdp.h"
  Used: C:\Users\Gebruiker\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\libraries\WiFi
  Not used: E:\develop\Arduino\libraries\WiFi101

Solution is to simply remove the affected line.

Yes, I've seen.
This is a typo that will be eliminated in the next release.

Another issue with Arduino: when installing your library, it wants to install latest ArduinoJson. This is version 7.0.0, which is incompatible with previous version (6.21.4). Better to change that dependency in your library properties.

The ArduinoJson it's as dependency, but with no specific version.
It's the Arduino IDE which download automatically the latest without any kind of prompt.
Anyway, AsyncFsWebServer library works also with latest ArduinoJson despite the presence of some "depracated" warnings.
I don't want to force a specific version of ArduinoJson tied to AsyncFsWebServer.
I'm planning to update the library for the new ArduinoJson APIs, but I think it's still too early.
I know it's annoying, but at least this warnings are not treated as error.

Another cause, that more user might experience, is that Arduino IDE v2 comes by default with a.o. ESP8266 support,
and it apprears that the old method of adding board manager URL's has become obsolete
However, that ESP8266 package is limited to version 3.0.1, causing some compilation errors.
There is currently a stable release of version 3.1.2.
To get this, add following URL to your Arduino IDE preference menu  board manager URLs:
https://arduino.esp8266.com/stable/package_esp8266com_index.json
Lets close this issue.


Add a delay in post process phase

I have added a delay of 60 seconds before read in post process is started by adding a 60 second sleep.
This is to fix the read failed repeatedly issue occurring frequently in daily periodic scalar DL verification test.
I have added Thread.currentThread().interrupt(); in catch block for InterruptedException as I was not sure whether it was a good idea to ignore the exception in the test.

@inv-jishnu Can we close this PR as we have the alternative #45?

@inv-jishnu Can we close this PR as we have the alternative #45?

@brfrn169 san  Thank you. I will close this PR.


Dataset.from_generator breaks on last element

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): YES
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04
TensorFlow installed from: Docker Image
TensorFlow version: v2.3.0-rc2-23-gb36436b087 2.3.0
Python version: 3.6.9

Running the attached gist throws InvalidArgumentError: Argument 0 is out of range. [[{{node args_0}}]].
Describe the expected behavior
It should run through the dataset, and once completed exit gracefully.
Standalone code to reproduce the issue
https://gist.github.com/optiluca/f97a34237837d19f9643b54ef17f8a76
Other info / logs
This issue goes away if I do any one of the following:

If I don't batch the data ( commenting line 41)
If I don't run _transform_after_windowing (commenting line 38)

I noticed this issue when running a similar pipeline and feeding it to a tf.keras model.predict().  It broke with the aforementioned error.

I have tried in colab with TF version 2.3, nightly version(2.4.0-dev20200907) and was able to reproduce the issue. Please, find the gist here. Thanks!

Is 1 Batch of data(8*5) if more than the items number(17)?

I don't think that's how the windowing works - each window steps forward only by one sample and not by an entire window width.  So my batch doesn't contain 8*5 different samples.  In any case, the issue still occurs if you replace the 17 with something large, I just set it small to make it break faster since it only breaks at the last batch!

The issue is fixed in Tensorflow version 2.5, your code no longer breaks, please find the gist here.
Closing this issue since it is resolved, feel free to reopen. Thanks!


Can't work --embed-thumbnail, if filename is non-english

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.04.17. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[X] I've verified and I assure that I'm running youtube-dl 2017.04.17

Before submitting an issue make sure you have:

[X] At least skimmed through README and most notably FAQ and BUGS sections
[X] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[X] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
with --encoding UTF-8

$ youtube-dl --hls-prefer-native --embed-thumbnail --add-metadata  --verbose --encoding UTF-8
[04/21/17 07:17:09] [debug] System config: []
[04/21/17 07:17:09] [debug] User config: []
[04/21/17 07:17:09] [debug] Custom config: []
[04/21/17 07:17:09] [debug] Command-line args: ['--newline', '-i', '-o', 'C:\\Users\\neverapple88\\Music\\Downloads\\%(title)s.%(ext)s', '-x', '--audio-format', 'mp3', '--audio-quality', '0', '--hls-prefer-native', '--embed-thumbnail', '--add-metadata', '--verbose', '--encoding', 'UTF-8', 'https://youtu.be/W_OK4TLbvYs']
[04/21/17 07:17:09] [debug] Encodings: locale cp949, fs mbcs, out cp949, pref UTF-8
[04/21/17 07:17:09] [debug] youtube-dl version 2017.04.17
[04/21/17 07:17:21] [debug] System config: []
[04/21/17 07:17:21] [debug] User config: []
[04/21/17 07:17:21] [debug] Custom config: []
[04/21/17 07:17:21] [debug] Command-line args: ['--newline', '-i', '-o', 'C:\\Users\\neverapple88\\Music\\Downloads\\%(title)s.%(ext)s', '-x', '--audio-format', 'mp3', '--audio-quality', '0', '--hls-prefer-native', '--embed-thumbnail', '--add-metadata', '--verbose', '--encoding', 'UTF-8', 'https://www.youtube.com/watch?v=FegWac9zSkI']
[04/21/17 07:17:22] [debug] System config: []
[04/21/17 07:17:22] [debug] Encodings: locale cp949, fs mbcs, out cp949, pref UTF-8
[04/21/17 07:17:22] [debug] Python version 3.4.4 - Windows-10-10.0.15063
<end of log>

without --encoding UTF-8

$ youtube-dl --hls-prefer-native --embed-thumbnail --add-metadata  --verbose
[04/21/17 07:13:10] [debug] System config: []
[04/21/17 07:13:10] [debug] User config: []
[04/21/17 07:13:10] [debug] Custom config: []
[04/21/17 07:13:10] [debug] Command-line args: ['--newline', '-i', '-o', 'C:\\Users\\neverapple88\\Music\\Downloads\\%(title)s.%(ext)s', '-x', '--audio-format', 'mp3', '--audio-quality', '0', '--hls-prefer-native', '--embed-thumbnail', '--add-metadata', '--verbose', 'https://youtu.be/W_OK4TLbvYs']
[04/21/17 07:13:10] [debug] Encodings: locale cp949, fs mbcs, out cp949, pref cp949
[04/21/17 07:13:10] [debug] youtube-dl version 2017.04.17
[04/21/17 07:13:22] [debug] System config: []
[04/21/17 07:13:22] [debug] User config: []
[04/21/17 07:13:22] [debug] Custom config: []
[04/21/17 07:13:22] [debug] Command-line args: ['--newline', '-i', '-o', 'C:\\Users\\neverapple88\\Music\\Downloads\\%(title)s.%(ext)s', '-x', '--audio-format', 'mp3', '--audio-quality', '0', '--hls-prefer-native', '--embed-thumbnail', '--add-metadata', '--verbose', 'https://www.youtube.com/watch?v=FegWac9zSkI']
[04/21/17 07:13:23] [debug] System config: []
[04/21/17 07:13:23] [debug] Python version 3.4.4 - Windows-10-10.0.15063
[04/21/17 07:13:23] [debug] Encodings: locale cp949, fs mbcs, out cp949, pref cp949
<end of log>

I run without --hls-prefer-native & --add-metadata options. but same result.
** I select ID as Name or Restrict filenames, status is all error, but good work! but... I don't will strange file name. **
edit : little strange.. print images all same as mp3 file...
Result :
Exist Image

No Exist Image

Downdowned Files (everything!) :

ps. I can't english well. plz easy english.
if... bug duplicate.... I so sorry. my search miss.

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video (ENGLISH) : https://www.youtube.com/watch?v=NlprozGcs80
Single video (JAPANESE) : https://youtu.be/W_OK4TLbvYs
Single video (KOREAN) : https://www.youtube.com/watch?v=FegWac9zSkI

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

What exactly does not work?

I want download mp3 from youtube with --embed-thumbnail --hls-prefer-native --add-metadata. but error and can't merge (thumbnail + mp3 file)
and this is complete my command...
sry. I haven't time.

I carelessness.
common sense, I didn't use YoutubeDLG. I forget repository location :(
I try
#!/bin/sh
youtube-dl -v --extract-audio --audio-format mp3 --audio-quality 0 --embed-thumb
nail --add-metadata $1
Good work.
I'm sorry to irritate you.


Use Generic Type for ITextAlignment Source Generators

Description of Change
This PR modifies the ITextAlignment Source Generators to use a generic input type, TAssignable that is constrained to the type of the control, eg where TAssignable : Entry.
This ensures that the extension methods return the declared type instead of the base type.
Before
// Can be used with `class MyPicker : Picker`, but always returns a `Picker`
public static Picker TextStart(this Picker textAlignmentControl);

After
// Can be used with `class MyPicker : Picker` AND returns `MyPicker`
public static TAssignable TextStart<TAssignable>(this TAssignable textAlignmentControl)
            where TAssignable : Picker;

Linked Issues

Fixes #135

PR Checklist

[x] Has a linked Issue, and the Issue has been approved(bug) or Championed (feature/proposal)
[x] Has tests (if omitted, state reason in description)
[x] Has samples (if omitted, state reason in description)
[x] Rebased on top of main at time of PR
[x] Changes adhere to coding standard

Additional information

Promoting PR to Ready For Review
After testing this NuGet Package and confirming it fixes the bug using the sample reproduction provided in #135, I recommend we move forward with merging this PR, and table the discussion for #149.


Can't be used on us inventory

teslaInventory('us', {
model: '3',
condition: 'new'
}).then(results => console.log(results));
or any other model doesn't return results, even that they are shown in the website

Hum, it seems like something in the Tesla API changed. Some petitions are receiving less, results on my local.
I'm going to add some tests there before update the codebase to be sure the change is permanent.


[JENKINS-32801] Get Zephyr Working with Jenkins Pipelines

Updating to make Zephyr work with Jenkins Pipelines. Also fixed the FindBugs issues that popped up during the build. Any feedback would be more than welcomed.

@mohan-zephyr let me know if you have any comments on this, I'm happy to clean up whatever is necessary to get this into the main branch so that it works with Jenkins pipelines.

Any chance this will ever get merged?

I haven't heard back, I don't think this is maintained anymore unfortunately.


JPMS support

Option 1 - Use module-info and make it a fully modular build
Option 2 - Use Automatic-Module-Name in the MANIFEST to reserve the name and make it usable at the very least
... - Any more complicated approach via Moditect

This was an issue with my build of this module and the one published on Maven Central already has JPMS support.
Apologies for the misunderstanding. For future readers, the module name is io.github.cdimascio.dotenv.java and file is generated by Moditect.


Doc updates

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

I spent way too long trying to get the CAKESHOP_REGISTRY_ADDR to work when using Cakeshop for a hackathon at work and then I saw the changeset on this PR.
Hoping these doc changes get in soon!


Allegheny County Jail PA most common commissary expenditure

Someone has requested help on a data project:
Submission notes
Is there information on the things that are most commonly purchased in commissary?
Location
Allegheny County Jail - PA
Requirements
Commissary records
How to help
Leave a comment if you'd like to help. Do you have ideas, questions, or need any more information to get started?

2021 survey
"In an open-ended response, the following items were the most frequently listed as necessary items that respondents purchased at the commissary: soap, toothpaste, shampoo, deodorant, lotion, toothbrush, toilet paper, socks, food, shoes, boxers"


Add IN comparator

Codecov Report

Merging #7 (ba77c93) into main (847d5ad) will increase coverage by 3.27%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main       #7      +/-   ##
==========================================
+ Coverage   73.93%   77.21%   +3.27%
==========================================
  Files           8        8
  Lines         330      338       +8
==========================================
+ Hits          244      261      +17
+ Misses         61       52       -9
  Partials       25       25

Flag
Coverage Δ

unittests
77.21% <100.00%> (+3.27%)
:arrow_up:

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

Impacted Files
Coverage Δ

internal/mongo/models.go
96.29% <100.00%> (+0.29%)
:arrow_up:

internal/spec/models.go
100.00% <100.00%> (ø)

internal/spec/parser.go
95.65% <100.00%> (+0.04%)
:arrow_up:

internal/code/models.go
69.23% <0.00%> (+69.23%)
:arrow_up:

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 847d5ad...ba77c93. Read the comment docs.

Codecov Report

Merging #7 (ba77c93) into main (847d5ad) will increase coverage by 3.27%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main       #7      +/-   ##
==========================================
+ Coverage   73.93%   77.21%   +3.27%
==========================================
  Files           8        8
  Lines         330      338       +8
==========================================
+ Hits          244      261      +17
+ Misses         61       52       -9
  Partials       25       25

Flag
Coverage Δ

unittests
77.21% <100.00%> (+3.27%)
:arrow_up:

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

Impacted Files
Coverage Δ

internal/mongo/models.go
96.29% <100.00%> (+0.29%)
:arrow_up:

internal/spec/models.go
100.00% <100.00%> (ø)

internal/spec/parser.go
95.65% <100.00%> (+0.04%)
:arrow_up:

internal/code/models.go
69.23% <0.00%> (+69.23%)
:arrow_up:

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 847d5ad...ba77c93. Read the comment docs.


Improve stream icons in "Invite users" modal

[x] At present, private streams are shown with both a lock and a # in the Invite users modal. Instead, just the lock should be shown.

[ ] Web-public streams should be shown with a globe icon, rather than a #.

Only the first checkbox is a bug.
Blocker for the remaining improvement:

[ ] #23466

@ganpa3 FYI in case you'd like to pick this up; I noticed it while reviewing #23466.

@zulipbot claim

@SameepAher We noticed that you have not made any updates to this issue or linked PRs for 10 days. Please comment here if you are still actively working on it. Otherwise, we'd appreciate a quick @zulipbot abandon comment so that someone else can claim this issue and continue from where you left off.
If we don't hear back, you will be automatically unassigned in 4 days. Thanks!

@zulipbot I'm working on the PR.

Hello @alya! I believe this issue has been resolved with #23529 and should be closed.

Thanks! The second point has not been resolved yet, but should wait on other work. Updated the issue and labels.

@alya The second point of the issue Web-public streams should be shown with a globe icon, rather than a #. seems to be already fixed.

Here Rome is a web-public stream and in the Invite users modal it is shown with a globe icon.


👮 If a user tries to connect to an unsupported chain an error value will be returned by useEthers.

In the documentation:
networks List of intended supported chain configs. If a user tries to connect to an unsupported chain an error value will be returned by useEthers.

https://usedapp.readthedocs.io/en/latest/core.html?highlight=config#config
But in current version no error is returned.
So i added the code.
And it is consistent with the version before 0.9.1. When an error is returned, the chainId is returned as undefined.

Can this PR be released in version 0.12?

Yes, or as a patch of 0.12.x


Derive hash

I have found ord and eq very useful, specially with the capability of providing custom functions. In the same fashion it would be great having a deriving hash to be used with Hashtbl.Make.

Yeah. I might do this over the weekend...

Hm, maybe not. There's no usable implementation of OCaml's builtin hash algorithm exported from the stdlib; I will not be providing a hash algorithm inside ppx_deriving since this is not the job of ppx_deriving and the choice of a hash function is not trivial; any external library that provides a hashing module (i.e. mix and finalize functions) can provide a ppx_deriving plugin itself, and will probably have to, since I do not know of any standardized interface for such hashing modules.
Feel free to dissent on the above, however.

Actually, I cannot find any usable hashing library at all, so that will have to be written first.


MGDOBR-1207: Move versioned Maven Artifacts to parent-child modules

https://issues.redhat.com/browse/MGDOBR-1207
PR owner checklist
Please make sure that your PR meets the following requirements:

[x] Your code is properly formatted according to this configuration.
Run mvn clean verify -DskipTests so that imports are correctly set.
[x] Your commit messages are clear and reference the JIRA issue e.g: "[MGDOBR-1] - $clear_explanation_of_what_you_did"
[x] The layers in the kustomize folder have been updated accordingly.
[x] All new functionality is tested
[x] Pull Request title is properly formatted: MGDOBR-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket

PR reviewer(s) checklist

[ ] Check if code and Github action workflows have been modified and if the modification is safe
[ ] If the modification is safe, add the safe to test label

How to trigger pipelines and use the bots:

Run the end to end pipeline
Annotate the pull request with the label: safe to test. If you want to run the pipeline again, remove and add it again.

Rebase the pull request
Comment with: /rebase.

Deploy BOT
Comment with `/deploy <dev,stable> when the PR has been merged to deploy to a target environment.

@sutaakar @jiripetrlik Do you know if my failures are "chicken and egg"?
This PR includes a change to the GHA workflow due to code re-organisation in the PR too.. however when the PR is created the old GHA workflow is presumably used? I cannot merge the GHA workflow change in a separate PR since at that point in time the code remains laid out the old way...

@msmagnanijr is there anything we need to change on app-interface side? We are moving manager/pom.xml to /manager-parent/manager/pom.xml with this PR, I can't find on app-interface if we set this path to build the downstream images

@manstis GHA changes from PR are not reflected. You can use 3 branches approach to test this:

Push a branch containing all your changes into dedicated branch on upstream repo.
Push a second branch on top of the previous branch into upstream repo changing i.e. https://github.com/5733d9e2be6485d52ffa08870cabdee0/sandbox/blob/main/.github/workflows/Manager-CI.yaml#L6 to your second branch
open a sample PR targeting second branch which triggers needed checks

@msmagnanijr is there anything we need to change on app-interface side? We are moving manager/pom.xml to /manager-parent/manager/pom.xml with this PR, I can't find on app-interface if we set this path to build the downstream images

hey @r00ta I do not think so. To build the images we use this script  and in app-interface I also don't see a direct reference to that dir: https://gitlab.cee.redhat.com/service/app-interface/-/blob/master/data/services/rhose/cicd/saas/rhose.yml
so I think it's ok.

Bridge, Manager and Update CI builds are here.
They do not work on this PR since the revised GHA definitions are not used for this PR itself.

merged as it was properly tested here https://github.com/5733d9e2be6485d52ffa08870cabdee0/sandbox/pull/1285


Get initial state from the defaultChecked prop

Great work on this component! Thanks for creating and sharing it.
I was having an issue with the component not properly showing the state from defaultChecked prop. This PR address that issue.
I've also fixed a small typo of a missing quote in package.json

Thank you!


RKE: NetworkPolicy based on NamespaceSelector doesn't work

Expected Behavior
Pods in another namespace allow traffic in from nginx-ingress namespace with namepsaceSelector.
Current Behavior

Calico has been deploy when launching rke. (https://rancher.com/docs/rke/latest/en/config-options/add-ons/network-plugins/)
In RKE, nginx-ingress deployed with DaemonSet by RKE.

# ingress controller
ingress:
  provider: nginx
  options:
     use-forwarded-headers: "true"
# CNI
network:
  plugin: calico

We have a service running with containerPort: 80. We create a network policy to nginx-ingress that can connect to our service., but it not working with namespaceSelector but it work if I use node worker IPs.
Possible Solution
Steps to Reproduce (for bugs)

When we use namespaceSeletor to create network policy, I can not access our website.

apiVersion: networking.k8s.io/v1
 kind: NetworkPolicy
 metadata:
   generation: 12
   name: marketing-landing-page-policy
   namespace: marketing-portal
 spec:
   ingress:
   - from:
     - namespaceSelector:
         matchLabels:
           service: ingress-nginx
     ports:
     - port: 80
       protocol: TCP
   podSelector:
     matchLabels:
       app.kubernetes.io/name: marketing-landing-page
   policyTypes:
   - Ingress
   - Egress

I try to create a pod in nginx-ingress namespace and run nc, it's connected.

kubectl run curl-test --labels="app=test-curl" --image=infoblox/dnstools:latest --namespace ingress-nginx -i --tty --rm
If you don't see a command prompt, try pressing enter.
dnstools# nc -v <IP_ADDRESS> 80
<IP_ADDRESS> (<IP_ADDRESS>:80) open

However, nc from nginx-ingress-controller pod => time out

bash-5.0$ ./nc -v <IP_ADDRESS> 80
Ncat: Version 6.49BETA1 ( http://nmap.org/ncat )
Ncat: Operation timed out.

When we use IP worker node (projectcalico.org/IPv4IPIPTunnelAddr) nginx-ingress can connect to our service => but it's not a good solution.

apiVersion: networking.k8s.io/v1
 kind: NetworkPolicy
 metadata:
   generation: 12
   name: marketing-landing-page-policy
   namespace: marketing-portal
 spec:
   ingress:
   - ipBlock:
         cidr: <IP_ADDRESS>/32
     - ipBlock:
         cidr: <IP_ADDRESS>/32
     - ipBlock:
         cidr: <IP_ADDRESS>/32
     - ipBlock:
         cidr: <IP_ADDRESS>/32
     ports:
     - port: 80
       protocol: TCP
   podSelector:
     matchLabels:
       app.kubernetes.io/name: marketing-landing-page
   policyTypes:
   - Ingress
   - Egress

Context
Could you please help me with a solution to use NetworkPolicy base on NamespaceSelector with nginx-ingress?
Your Environment

Calico version: v3.13.4
Orchestrator version (e.g. kubernetes, mesos, rkt): Kubernetes v1.16.13 (RKE)
Operating System and version:  Ubuntu 20.04 LTS
Link to your project (optional):

Hi @ducminhle , thanks for bringing this to our attention. I wanted to ask a few clarifying questions to make sure I'm understanding the use case you've written here. What does the namespace with the service: ingress-nginx label look like? Is that another namespace or is it marketing-portal? I'm also interested in what the IP <IP_ADDRESS> refers to since it appears to be different than the IP addresses you use in the final working (though not ideal) network policy. Is that the curl-test pod's IP? Also is the overall intention to create a policy where all nodes in the same namespace can interact with each other?

Hi @ducminhle , thanks for bringing this to our attention. I wanted to ask a few clarifying questions to make sure I'm understanding the use case you've written here. What does the namespace with the service: ingress-nginx label look like? Is that another namespace or is it marketing-portal? I'm also interested in what the IP <IP_ADDRESS> refers to since it appears to be different than the IP addresses you use in the final working (though not ideal) network policy. Is that the curl-test pod's IP? Also is the overall intention to create a policy where all nodes in the same namespace can interact with each other?

Thank you @mgleung for your reply.

What does the namespace with the service: ingress-nginx label look like?

kubectl get ns ingress-nginx -o yaml
apiVersion: v1
kind: Namespace
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"v1","kind":"Namespace","metadata":{"annotations":{},"name":"ingress-nginx"}}
  creationTimestamp: "2020-10-08T05:48:11Z"
  labels:
    service: ingress-nginx
  name: ingress-nginx
  resourceVersion: "104890552"
  selfLink: /api/v1/namespaces/ingress-nginx
  uid: 32c2e217-24c1-4418-a8b9-a9faa1a70853
spec:
  finalizers:
  - kubernetes
status:
  phase: Active

kubectl get all -n ingress-nginx
NAME                                        READY   STATUS    RESTARTS   AGE
pod/default-http-backend-57545b6b6c-jcqh2   1/1     Running   1          96d
pod/nginx-ingress-controller-2w9jl          1/1     Running   1          6d18h
pod/nginx-ingress-controller-kkltw          1/1     Running   1          6d18h
pod/nginx-ingress-controller-kljbb          1/1     Running   2          6d18h
pod/nginx-ingress-controller-sxgcg          1/1     Running   2          6d18h

NAME                           TYPE        CLUSTER-IP    EXTERNAL-IP   PORT(S)   AGE
service/default-http-backend   ClusterIP   <IP_ADDRESS>   <none>        80/TCP    96d

NAME                                      DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR   AGE
daemonset.apps/nginx-ingress-controller   4         4         4       4            4           <none>          96d

NAME                                   READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/default-http-backend   1/1     1            1           96d

NAME                                              DESIRED   CURRENT   READY   AGE
replicaset.apps/default-http-backend-57545b6b6c   1         1         1       96d
replicaset.apps/default-http-backend-6789ff6fc    0         0         0       96d
replicaset.apps/default-http-backend-67cf578fc4   0         0         0       96d
replicaset.apps/default-http-backend-68fd5d6465   0         0         0       96d

Is that another namespace or is it marketing-portal?
Yes, in my example is marketing-portal

I'm also interested in what the IP <IP_ADDRESS> refers to since it appears to be different than the IP addresses you use in the final working (though not ideal) network policy. Is that the curl-test pod's IP?
It's pod IP of marketing-landing-page

kubectl get pods -n marketing-portal -o wide
NAME                                           READY   STATUS    RESTARTS   AGE   IP             NODE           NOMINATED NODE   READINESS GATES
marketing-landing-page-web-6d99bd9f79-8ffwv    1/1     Running   1          48d   <IP_ADDRESS>   rke-worker-3   <none>           <none>
marketing-portal-be-service-646c59bdb6-qjk42   1/1     Running   0          21h   <IP_ADDRESS>    rke-worker-4   <none>           <none>
marketing-portal-fe-web-6fd79c8c47-nmpqn       1/1     Running   0          29d   <IP_ADDRESS>   rke-worker-3   <none>           <none>

To debug, I create pod curl-test in namespace ingress-nginx to check connect with netcat from pod curl-test to marketing-landing-page-web => connected. However, I check netcat from pod nginx-ingress-controller in namespace ingress-nginx to marketing-landing-page-web => Operation timed out.

Also is the overall intention to create a policy where all nodes in the same namespace can interact with each other?
We want to create a network policy: nginx-ingress-controler can access pods on another namespace (example: marketing-landing-page-web in namespace marketing-portal with port 80) but don't need to use IP worker node, we can use namespaceSelector or podSelector in policy config.

Thank you @mgleung for your reply.

What does the namespace with the service: ingress-nginx label look like?

kubectl get ns ingress-nginx -o yaml
apiVersion: v1
kind: Namespace
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"v1","kind":"Namespace","metadata":{"annotations":{},"name":"ingress-nginx"}}
  creationTimestamp: "2020-10-08T05:48:11Z"
  labels:
    service: ingress-nginx
  name: ingress-nginx
  resourceVersion: "104890552"
  selfLink: /api/v1/namespaces/ingress-nginx
  uid: 32c2e217-24c1-4418-a8b9-a9faa1a70853
spec:
  finalizers:
  - kubernetes
status:
  phase: Active

kubectl get all -n ingress-nginx
NAME                                        READY   STATUS    RESTARTS   AGE
pod/default-http-backend-57545b6b6c-jcqh2   1/1     Running   1          96d
pod/nginx-ingress-controller-2w9jl          1/1     Running   1          6d18h
pod/nginx-ingress-controller-kkltw          1/1     Running   1          6d18h
pod/nginx-ingress-controller-kljbb          1/1     Running   2          6d18h
pod/nginx-ingress-controller-sxgcg          1/1     Running   2          6d18h

NAME                           TYPE        CLUSTER-IP    EXTERNAL-IP   PORT(S)   AGE
service/default-http-backend   ClusterIP   <IP_ADDRESS>   <none>        80/TCP    96d

NAME                                      DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR   AGE
daemonset.apps/nginx-ingress-controller   4         4         4       4            4           <none>          96d

NAME                                   READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/default-http-backend   1/1     1            1           96d

NAME                                              DESIRED   CURRENT   READY   AGE
replicaset.apps/default-http-backend-57545b6b6c   1         1         1       96d
replicaset.apps/default-http-backend-6789ff6fc    0         0         0       96d
replicaset.apps/default-http-backend-67cf578fc4   0         0         0       96d
replicaset.apps/default-http-backend-68fd5d6465   0         0         0       96d

Is that another namespace or is it marketing-portal?
Yes, in my example is marketing-portal

I'm also interested in what the IP <IP_ADDRESS> refers to since it appears to be different than the IP addresses you use in the final working (though not ideal) network policy. Is that the curl-test pod's IP?
It's pod IP of marketing-landing-page

kubectl get pods -n marketing-portal -o wide
NAME                                           READY   STATUS    RESTARTS   AGE   IP             NODE           NOMINATED NODE   READINESS GATES
marketing-landing-page-web-6d99bd9f79-8ffwv    1/1     Running   1          48d   <IP_ADDRESS>   rke-worker-3   <none>           <none>
marketing-portal-be-service-646c59bdb6-qjk42   1/1     Running   0          21h   <IP_ADDRESS>    rke-worker-4   <none>           <none>
marketing-portal-fe-web-6fd79c8c47-nmpqn       1/1     Running   0          29d   <IP_ADDRESS>   rke-worker-3   <none>           <none>

To debug, I create pod curl-test in namespace ingress-nginx to check connect with netcat from pod curl-test to marketing-landing-page-web => connected. However, I check netcat from pod nginx-ingress-controller in namespace ingress-nginx to marketing-landing-page-web => Operation timed out.

Also is the overall intention to create a policy where all nodes in the same namespace can interact with each other?
We want to create a network policy: nginx-ingress-controler can access pods on another namespace (example: marketing-landing-page-web in namespace marketing-portal with port 80) but don't need to use IP worker node, we can use namespaceSelector or podSelector in policy config.

@ducminhle Thanks for the extra info. I think this sounds like we have an issue with our namespace selectors. From your setup this sounds kind of similar to https://github.com/projectcalico/calico/issues/4092 so I would keep an eye on that.

@ducminhle Thanks for the extra info. I think this sounds like we have an issue with our namespace selectors. From your setup this sounds kind of similar to https://github.com/projectcalico/calico/issues/4092 so I would keep an eye on that.

Hi @ducminhle, was taking a crack at trying to replicate your issue and am having a little bit of difficulty (though my testing is on a different version of Calico). I have 2 policies only, 1 to deny traffic from any other namespace and 1 to allow traffic from another namespace (based off of your policy above).
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
  name: deny-from-other-namespaces
  #namespace: my-app
  namespace: ingress-internal
spec:
  policyTypes:
    - Ingress
    - Egress
  podSelector:
    matchLabels:
  ingress:
  - from:
    - podSelector: {}
  egress:
  - to:
    - podSelector: {}
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: allow-ingress
  namespace: ingress-internal
spec:
  ingress:
  - from:
    - namespaceSelector:
        matchLabels:
          name: my-app
    ports:
    - port: 80
      protocol: TCP
  podSelector:
    matchLabels:
      app.kubernetes.io/name: ingress
  policyTypes:
  - Ingress
  - Egress

Thought that I should ask as a follow-up what your network policy looked like that was denying traffic? I'm thinking that the issue might be in the specific combination of deny/allow policies that are used and whether we interpret the rules correctly from them. Also as a sanity check, I was wondering if you could show the labels for the pods in marketing-portal as well? Just want to make sure that the pod selector matches as I would expect it to.

I can confirm the same behavior is at my setup as well.
Current environment:

RKE v1.2.4
K8s 1.19
Canal

Same networkpolicies are working in EKS but not in RKE:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  labels:
    app: app-test
  name: deny-all-ns
  namespace: test
spec:
  ingress:
  - from:
    - podSelector: {}
  podSelector: {}
  policyTypes:
  - Ingress
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  labels:
    app: app-test
  name: allow-monitoring
  namespace: test
spec:
  ingress:
  - from:
    - namespaceSelector:
        matchLabels:
          name: monitoring
  podSelector: {}
  policyTypes:
  - Ingress

Here as well, I'm not targeting pod labels but using the namespaceSelector which does not work for some reason.

@tomerleib that's very interesting. This might possibly be an RKE issue then. Can I get you to quickly verify that targeting pod labels will work in your policies? I want to narrow this down to namespace selectors in your environment first.

@mgleung
It seems that it is a version related, here's my configuration that had this issue:

RKE v1.2.4
K8s 1.19.6
Calico 3.16.1

After I've upgrade my RKE to version 1.2.7, K8s to 1.20.4, Calico images to 3.17.2, the network policies worked as they should.

@tomerleib thanks for testing and narrowing that down for us. Sounds like that at least for now, the workaround is to upgrade the cluster components. If you have your RKE cluster still up, would you mind checking if Calico 3.17 works on RKE 1.2.4? I don't recall any changes between Calico 3.16 and 3.17 that should affect policy to this extent but I want to narrow down that the issue is Calico and not dependent on the version of RKE.

Hello. I want to confirm the behaviour initially described by @ducminhle.
Namespace selectors per se are working, but whitelisting ingress-nginx namespace does not work.
Or rather, it works, but the ingress-nginx controllers do not seem to be catched by the rule (also deployed a simple pod in ingress-nginx namespace to confirm that this pod CAN reach my "target" namespace).
Some search indicated, that hostNetwork may be the problem:

https://superuser.com/questions/1481901/networkpolicy-has-no-effect-on-nginx-ingress-namespace
https://github.com/projectcalico/felix/issues/1361
Tried it with three different RKE/K8s/Calco versions (upgraded to newest stable RKE 1.2.7 yesterday from a few versions back - old RKE had k8s 1.17.7 - I don't know RKE or Calio version, though. I think Calico was < 3.16 before)

Current versons:

RKE v1.2.7
K8s v1.20.5
Calico 3.17.2

Is this a known limitation? How can I isolate my namespace to only allow ingress from a few other pods/namespaces AND ingress-nginx? Using the internal IPs of the ingress-nginx-controllers would be very static...
What I did:

Add label to ingress-nginx namespace to be able to select it (e.g. type: ingress)
Deny all ingress in my own namespace
Allow ingress from namespace with label "type: ingress"

apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: default-all-deny
  namespace: my-own-namespace
spec:
  podSelector: {}
  policyTypes:
  - Ingress
  ingress: []
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: ingress-allow-ingress
  namespace: my-own-namespace
spec:
  podSelector: {}
  policyTypes:
  - Ingress
  ingress:
  - from:
    - namespaceSelector:
        matchLabels:
          type: ingress

Sorry for the super long delay. I am still having a little bit of trouble replicating this issue. I think from my past attempts, I hadn't quite replicated the scenario reported here perfectly since I wasn't using RKE so in case there's anything else I'm missing here, I've tried to detail my replication steps as much as possible below.
My replication versions:

RKE v1.2.7
K8s v1.20.5
Calico v3.17.6

Replication steps:

Set up an nginx pod that will function as my test app to test connectivity

apiVersion: v1
kind: Namespace
metadata:
  labels:
    service: nginx
  name: nginx
spec:
  finalizers:
  - kubernetes

---

apiVersion: v1
kind: Pod
metadata:
  name: nginx-server
  namespace: nginx
  labels:
    app: connect-test
spec:
  containers:
  - name: nginx-server
    image: nginx

---

apiVersion: v1
kind: Service
metadata:
  name: nginx
  namespace: nginx
spec:
  selector:
    app: connect-test
  ports:
  - protocol: TCP
    port: 80
    targetPort: 80
  type: LoadBalancer

Install the nginx ingress controller (following the instructions for installing the nginx ingress controller from a manifest from the website. kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.1.0/deploy/static/provider/cloud/deploy.yaml
Creating an Ingress resource to route to my nginx backend pods at the /nginx path

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: nginx-backend-ingress
  namespace: nginx
  annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/ssl-redirect: "false"
    nginx.ingress.kubernetes.io/rewrite-target: /
spec:
  rules:
  - http:
      paths:
      - path: /nginx
        pathType: Prefix
        backend:
          service:
            name: nginx
            port:
              number: 80

Creating a nodeport service to expose my ingress controllers to external traffic

apiVersion: v1
kind: Service
metadata:
  name: ingress-nodeport
  namespace: ingress-nginx
spec:
  type: NodePort
  selector:
    app.kubernetes.io/name: ingress-nginx
  ports:
    - port: 80
      targetPort: 80
      nodePort: 30007

Creating the K8s network policies in my nginx backend's namespace to only allow traffic from the ingress controller's namespace

apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: default-all-deny
  namespace: nginx
spec:
  podSelector: {}
  policyTypes:
  - Ingress
  ingress: []

---

apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: allow-from-ingress-nginx
  namespace: nginx
spec:
  podSelector: {}
  policyTypes:
  - Ingress
  ingress:
  - from:
    - namespaceSelector:
        matchLabels:
          app.kubernetes.io/name: ingress-nginx

SSH into a node that my nginx backing pod is not on in order to curl my nodeport service and test that non-locally originating traffic can make it through the ingress and network policies properly.

$ curl <IP_ADDRESS>:30007/nginx
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
<style>
html { color-scheme: light dark; }
body { width: 35em; margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif; }
</style>
</head>
<body>
<h1>Welcome to nginx!</h1>
<p>If you see this page, the nginx web server is successfully installed and
working. Further configuration is required.</p>

<p>For online documentation and support please refer to
<a href="http://nginx.org/">nginx.org</a>.<br/>
Commercial support is available at
<a href="http://nginx.com/">nginx.com</a>.</p>

<p><em>Thank you for using nginx.</em></p>
</body>
</html>

Anyone who is still seeing this issue notice any corners I am cutting in my replication?

Thanks for the answer. I think maybe the ingress controller used is at fault here.... We're using the ingress controller installed by RKE, if I see that correctly (image: rancher/nginx-ingress-controller:nginx-0.43.0-rancher1), which deploys a DaemonSet with hostNetwork: true - and the hostNetwork seems to be the problem.
The ingress controller you're using is structured qute differently.
According to https://rancher.com/docs/rke/latest/en/config-options/add-ons/ingress-controllers/#configuring-network-options newer RKE ingress installations do not use hostNetwork anymore (and before, it could have been configured not to use hostNetwork). Maybe I'll ask our admins to upgrade the test cluster to see, if the issue will be solved then.

@dev-maniac let me know how changing the ingress controller configuration goes. If it ends up working, then I think we can close this out as being an issue with using host networking on the ingress controllers.

yeah, host network pods are certainly going to be excluded from network policy unless you have host endpoints set up for your nodes.

@mgleung the RKE instance was updated yesterday and I tried today. Now it really works. Ingress in new RKE versions are not host networked anymore and network policies can be correctly set.
So I think maybe this issue can be closed with the hint, that the ingress controller must not be run with hostNetwork: true
Thank you.


1 address assigned to two rhs.

Steps to reproduce:
Create peer.
Add rhs.
Turn off one of the rhs and turn on back.
Go to Console =>Resource Hosts and approve request.
Result: On bazaar you will see one online and one offline rhs with the same ip address.

Follow the steps above to test this issue

Followed the steps above:
After turning on rh, did not get a request on console.
Did not face with it
Tested in master


37 poetry dependencies remove click and add pillow

Closes #37.

Merging to main. Thanks @Marcony1


feat: Add ability to get SmtpStream from SmtpTransport

I am the author of https://github.com/reacherhq/check-if-email-exists, and I currently use async-smtp 0.6. I would like to upgrade to 0.9, but I'm blocked on one small feature missing in this library.
The check-if-email-exists lib manually sends the EHLO, MAIL FROM, RCPT commands, but does not actually send the email. Looking at the SmtpClient, it only exposes the send() function, which does MAIL FROM, RCPT, DATA and sending. It seems like there's no way to have more granularity on the SMTP commands.
I would like to propose this small addition so that I can upgrade to 0.9 and continue using this great library without forking.
Thanks for considering.

Thanks! Any chance you can tag a 0.9.2?

Thanks @link2xt for your reactivity


Implement Fisher's Exact Test for allele frequency differences

Because this is going to be required for a project depending on GATK4, maybe this can be implemented there directly using org.broadinstitute.hellbender.utils.FisherExactTest.twoSidedPValue(). Anyway, it would be nice to have our own implementation here for completeness...


Enable travis testing

I've already configured the .travis.yml @martenson! :)

I will close the issue then :D

No, as in I've written the test cases. If you could go here and flip the switch. https://travis-ci.org/martenson/public-galaxy-servers

trigerred build https://travis-ci.org/martenson/public-galaxy-servers/builds/290563848

Perfect! thanks so much


InterOP tests failing on 4.11/4.12

/area testing
Odo faced execution error for this week's OCP 4.12 testing
pod-security.kubernetes.io/audit-violations”: “would violate PodSecurity \“restricted:latest\“: allowPrivilegeEscalation != false (container \“agnhost-container\” must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container \“agnhost-container\” must set securityContext.capabilities.drop=[\“ALL\“]), runAsNonRoot != true (pod or container \“agnhost-container\” must set securityContext.runAsNonRoot=true), seccompProfile (pod or container \“agnhost-container\” must set securityContext.seccompProfile.type to \“RuntimeDefault\” or \“Localhost\“)”

Failures on interOP testing is not related to pod security admission, interOP tests are failing while setting up the env with an error
error: x509: certificate signed by unknown authority

Waiting on InterOP team to run the test with the new changes.

/close
the interOp  tests are now fixed.


error when running FinBert Model Example.ipynb

when running model.load_state_dict(torch.load(fine_tuned_weight_path, map_location=device)) from FinBert Model Example.ipynb from my local machine, I ran into this error:
RuntimeError: Error(s) in loading state_dict for BertClassification:
	Missing key(s) in state_dict: "bert.embeddings.position_ids".

did you download the pre-trained and fine-tuned weights folder?

I got the same error. And I downloaded the pre-trained and fine-tuned weights folder.

I believe the error is related to the library version. The notebook was developed using pytorch-pretrained-bert==0.6.2.
BTW, the model is now integrated with transformers. give it a try using the transformers interface.


Race condition in multicast + concat

Sorry for an issue without test code, please feel free to close it if you can't reproduce, but I don't have time to reconstruct a race condition right now. I hope the description will provide enough guidance to fix the issue.
Steps to reproduce:

Create stream A with multicast().
Create stream B from stream A and start observing.
Concat stream A to stream Z (Z.concat(A)), resulting in stream C.
Start observing stream C.

Expected:
All events from stream Z arrive first, then events from stream A. Every time.
Stream A: -a1-a2-a3-a4->
Stream B: -a1-a2-a3-a4->
Stream C: -z1-z2-z3-a1-a2-a3-a4->
Stream Z: -z1-z2-z3|

Actual:
Some events at the beginning of stream A are skipped sometimes. The sometimes part hints at a race condition. At other times everything works as expected.
Stream A: -a1-a2-a3-a4-a5->
Stream B: -a1-a2-a3-a4-a5->
Stream C: -z1-z2-z3-a4-a5->
Stream Z: -z1-z2-z3|

Hints
Sometimes C looks as expected. At other times events from stream A are replaced with events from stream Z.

Hey @dypsilon.  This sounds like the classic "hot vs. cold" issue rather than a race condition (most doesn't exactly have the "hot" and "cold" distinction like RxJS does, but there are similarities).  Could it be that the behavior you see correlates to the kind of source used to create A?  For example, do you always see one behavior when A is "cold", e.g. from(array), and always see the other behavior when A is "hot", e.g. periodic or fromEvent?

Hi @briancavalier, thanks for the fast response. I see both behaviors when I run the same code multiple times. So I just restart the script multiple times and sometimes everything is all right. So A is always hot, the events are pushed using a publisher function.
I did a rewrite without multicasting and everything works as expected. So now I just create two different streams with the same events from the beginning and concat works as expected on the second one without failure.
I'm using 0.19.3 which is published on npm right now, not the master.

Hmmm, ok, interesting.  If you can post a test case when you have time, that'd be great.  Thanks!

I'm still having problems even after removing multicast. Maybe the problem is really in the source.

I have found a workaround in my program for now, the issue seems to be with the unreliable source, though I'm still not sure.

@dypsilon Ok, feel free to reopen if it turns out to be a most.js bug!


Expand keptn CLI trigger * to trigger any sequence?

Discussed in https://github.com/keptn/keptn/discussions/4839

Originally posted by Dynatrace-Adam-Gardner August  6, 2021
Is it a good idea to expand the keptn CLI to trigger any sequence, not only delivery and evaluation

Having this feature would simply what we have to do now. which is make a JSON file and use keptn send event --file mysequence-triggered.json.     I would like to see something like keptn send event mysequence --project myproject


Phrase-level undo command

The problem
As we become more adventurous with long command phrases, it becomes more painful to undo a command phrase that has gone wrong.  We'd like to be able to undo everything done by a single phrase, even if it corresponds to many edits, potentially across multiple editors
The solution
We should probably implement this one as a separate extension.  Seems more generic than just for cursorless
M1: The basics

[ ] Take snapshot of document upon opening it, and after any change in an open editor
[ ] Any time talon sends pre-phrase signal, set a flag, and then any time a document changes mark the previous version so that we can snap back to it
[ ] When user issues a "phrase-level undo", extension will repeatedly issue undo commands in each editor that has had a change until its contents match snapshot.  Need some mechanism to keep this from getting out of hand if something is amiss and for whatever reason the document never matches the snapshot
[ ] Keep a sequence of these "phrase-level actions" so can undo multiple in a row

M2: Other types of actions

[ ] Keep track of editor selections and undo those
[ ] Keep track of editor visible ranges and undo scroll
[ ] Allow extensions to register reverse actions. That way can undo other side effects, make it easier to handle scroll, and not add spam to cursorless selection history tracking

M3 Unopened documents
Handle changes to documents that are not open in an editor

[ ] Extensions can signal that they are about to change a document that is not open
[ ] Any time a document changes that is not open, if it has been signalled by an extension, we handle it like an open editor, except that we can't use undo action; we have to just restore the snapshot
[ ] If a document changes that is not open and hasn't been signalled by an extension, we refuse to handle it as an undo because it could be a git command or something and we don't want to mess something up.  Or I guess we could warn

M4 Undo tree

[ ] Add an undo tree so that if user issues an undo, then does something, that creates a branch.  Can steal a display from a git log plugin or something

Coming from vim, I'm looking forward to the undo tree! I think the only pain point with Cursorless so far is the undo'ing an accidental command! It's surprisingly easy to have many words accidentally get inserted, and I'm used to being able to just press u to undo everything.
Thank you for Cursorless!

Coming from vim, I'm looking forward to the undo tree! I think the only pain point with Cursorless so far is the undo'ing an accidental command! It's surprisingly easy to have many words accidentally get inserted, and I'm used to being able to just press u to undo everything.

Yeah undo tree is def the biggest thing I miss from my vim days. You get drunk on the confidence it gives you

Thank you for Cursorless!

 Glad you're finding it helpful ☺


Fix PS analyzer issues in ComputeAdmin and Infra module

I didn't fix 2 type of issues reported by the tool:

add ShouldProcess for some type of cmdlets, this will change the confirm behavior and want to discuss if we really need it
all issues in test ps1

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


Fix epistola bugs

See https://github.com/luksan47/mars/issues/639

The special characters only appears on the edit page, and the rest should be ok now also.
However, we might need an option to use plain text on some articles (eg. editing poems is quite tricky in markdown)


Fix generated lexers of php.editor automatically via ant task

Comment out or remove unused code
Remove trailing spaces

If the test failure is unrelated, feel free to merge this MR. Thanks!

I restarted the failing build (you just need a travis-ci account) and now it comes back cleanly.

OK, let's merge it.


2 questions: (1) is there a way to get a trace of results for each iteration, (2) jfnk on my problem gives "ERROR: MethodError: no method matching isless(::ComplexF64, ::ComplexF64)"

Hi. Thank you for this package.
I am looking to solve a large highly nonlinear unconstrained least squares problem (no box constraints, either):

1,000 parameters
function to calculate residuals involves operations with a data matrix of 40,000 x 20
it is impractical to calculate analytic gradient and jacobian; I have been using autodiff in other Julia packages

My best approach so far has been to use LsqFit.lmfit, which uses Levenberg-Marquardt and is robust but not as fast as I would like.
I have two questions:

I have been testing out nlboxsolve implementations. (lm_ar seems faster than lm) However, it would be really helpful to have a way to track a solver's progress - something like show_trace in several other packages, with the iteration number and some measure of solution status such as sum of squared residuals, or else the ability to pass a user-defined callback function. I looked through the code but didn't see a parameter that would allow either, but maybe I missed it. Would you mind telling me if there is a way to do this in the nlboxsolve function?
I am thinking for my problem it would be good to avoid computing the full jacobian, because it seems very time consuming. Thus, I am interested in your jfnk method. However, although it works fine on the example problem, on my problem it gives the error message "ERROR: MethodError: no method matching isless(::ComplexF64, ::ComplexF64)". The same problem works with all of the other methods. Would you have advice on what might be causing this problem, and whether you know of a way to fix it?

Many thanks.

Hi,

you are the second person to request show_trace() and/or store_trace() functionality.  Currently I don't have such functionality in the package, but I'll add it since it is a feature people want to have.

I think that the problem might be that the function you are trying to find the fix-point of has been typed in a way that preculdes taking complex numbers as an input.  Try setting up your f(x) function so that x can be a vector of Numbers.

I've added a solver trace to the solution results in version 0.3.4.

Thank you! I'll report back on the jfnk issue after I try what you
suggested. I'm away tomorrow but will try the day after.
Don
On Fri, Jun 3, 2022 at 8:32 PM Richard Dennis @.***>
wrote:

I've added a solver trace to the solution results in version 0.3.4.
—
Reply to this email directly, view it on GitHub
https://github.com/RJDennis/NLboxsolve.jl/issues/18#issuecomment-1146477621,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABR4JGEVE6BMWDT5OV53KTLVNKPYBANCNFSM5XY2CUFA
.
You are receiving this because you authored the thread.Message ID:
@.***>


neo-js experimental branch

During the period of neo-js inactive period, there were some concerns raised in NEO blockchain leads to re-prioritise short term goals for this project to better fit with real world needs:

Several nodes has been hit with high traffic causing transaction delay and overall performance. Consideration of adding pure bookkeeping node to potentially off load from consensus nodes.
Heavy dependence on availability of neoscan API, also lack of alternative or self hosted solutions especially for analysing privatenet.
A better mean to health check/benchmark nodes. ie/ An alternative approach to http://monitor.cityofzion.io/

An experiment (orphan) branch is in motion as a ground up redevelopment with following emphasis (some has already been put in place since 0.8):

Project will be written in TypeScript, enforcing strict typing as a measurement of bug/edge case mitigation during rapid developments.
Heavy logging and highly configurable.
Heavy event emitting allows better application customizations.
Validator pattern usage, project is now more likely to throw errors when appropriate.
Delegators and duck typing usages for forward compatibility for variations of certain components.

Continuous development of neo-js will start off with smaller set of features and its progress will be roughly partitioned into following phases:

Phase 1: Synchronizer for whole blockchain, or as per configured.
Phase 2: A RESTful API act as RPC delegates on ‘read only’ endpoints.
Phase 3: Provide neoscan equivalent REST API endpoints

The project will be released as 1.0 once it able to define itself as a minimal viable product. From that point on, Semver will be used for its continuous development.
Technical features to be implemented within foreseeable future as follow:

Block ignore list
Seamless RPC-JSON API endpoints
Block inconsistent (ie/ fork) alert mechanism

New features may be proposed throughout the development, hence this is issue ticket should be treated as a reference for direction of the project, please refers to proper project milestones are they become available.

neo-js experiment branch.


Issue#273

fixed #273

Your configuration file uses an unknown linter. The standardjs linter is not a supported linter.


Constant initialization for shape-castable objects

Rendered

We have discussed this on the 2023-03-06 weekly meeting. The disposition was to merge.


Update README

This repo's README is leftover from a workshop I gave 6 months ago. We should update it a little to not say "BTC++" and more clearly describe what this repo demonstrates ...

This issue can be closed.


composer安装验证器失败[BUG]

composer require hyperf/validation
Using version ^1.1 for hyperf/validation
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals

Installing hyperf/validation (v1.1.32): Downloading (100%)
Writing lock file
Generating autoload files
composer/package-versions-deprecated: Generating version class...
composer/package-versions-deprecated: ...done generating version class

init-proxy.sh
sh: init-proxy.sh: command not found
Script init-proxy.sh handling the post-autoload-dump event returned with error code 127

Installation failed, reverting ./composer.json to its original content.

composer update "hyperf/*" -o

composer update "hyperf/*" -o

composer update "hyperf/*" -o
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 0 updates, 2 removals

Removing hyperf/validation (v1.1.32)
Removing hyperf/translation (v1.1.26)
Writing lock file
Generating optimized autoload files
composer/package-versions-deprecated: Generating version class...
composer/package-versions-deprecated: ...done generating version class

init-proxy.sh
sh: init-proxy.sh: command not found
Script init-proxy.sh handling the post-autoload-dump event returned with error code 127

仍然是不行

你看看vendor/bin/ 下面有没有对应的脚本

你看看vendor/bin/ 下面有没有对应的脚本

没有呢····底下啥都没

那我觉得你要不删除vendor目录，重来吧

那我觉得你要不删除vendor目录，重来吧

我重装了  bin下文件都出来了  太奇怪了


fix [PG-188]: Fix dimmer brightness cache issue

closes #7

Codecov Report

Merging #8 (8264a49) into main (5e84e58) will decrease coverage by 2.97%.
The diff coverage is 21.42%.

@@            Coverage Diff             @@
##             main       #8      +/-   ##
==========================================
- Coverage   36.58%   33.60%   -2.98%
==========================================
  Files          10       10
  Lines         246      241       -5
  Branches       52       57       +5
==========================================
- Hits           90       81       -9
- Misses        145      149       +4
  Partials       11       11

Impacted Files
Coverage Δ

src/util.ts
100.00% <ø> (ø)

src/dimmerAccessory.ts
31.57% <14.28%> (-7.90%)
:arrow_down:

src/roomTemperatureControllerAccessory.ts
27.69% <25.00%> (-3.20%)
:arrow_down:

src/switchActuatorAccessory.ts
50.00% <33.33%> (-7.15%)
: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 5e84e58...8264a49. Read the comment docs.


⚠ Site ANTS has degraded performance

In a66d3ae, Site ANTS (https://ants.gouv.fr) experienced degraded performance:

HTTP code: 200
Response time: 5617 ms

Resolved: Site ANTS performance has improved in 1bb2607 after 6 minutes.


Compiling in Android

Hi,
I am interested in your C/C++ webview library. Since I don't have any pc I have to use my Android phone to compile it. Please, give me some suggestion about compilation of the library in Android..
Please, note that the linux like "lib*.so" libraries is used in Android for development.
Thnaks,
Redwan

I have uploaded some code to implement Android support, also with a project template.
It is not so good yet, but it can be tested now, so use it with care.

duplicate of #103
@zserge please close, this is a duplicate

I believe #103 is about supporting Android and iOS webviews, while this issue is about compiling on Android itself.


Improve displayed messages

More efficiently draw to the LCD; only drawing characters that are different.
The progress bar is now made up of custom characters allowing for 2% precision.
the printing message now displays the name of the print
After the print is finished, the print time is displayed.
The LCD light is turned off when disconnected/turned on when connected

Should probably edit the readme


release docker images do not have ROS

I want to build and gen my own release docker images.
I found that if I gen docker image, the image name begins with "run".
Here is the list I got:
run-x86_64-20171219_2028
run-x86_64-20171223_1308
run-x86_64-20171223_1501
run-x86_64-20171227_1352
run-x86_64-20171229_0957
run-x86_64-20180103_1300
run-x86_64-20180111_1409
run-x86_64-20180123_1329
run-x86_64-20180130_1338
run-x86_64-20180302_1123
run-x86_64-20180315_1337
run-x86_64-20180319_1154
run-x86_64-20180320_1118
run-x86_64-20180418_1942
run-x86_64-20180508_1647
run-x86_64-20180530_1312
run-x86_64-v2.0.0

When I use run-x86_64-20180302_1123 it would not have ros in /apollo/ros diretory. But if use run-x86_64-20180418_1942 it would have. Now I want to release master code, so I think I should use run-x86_64-20180530_1312, but it does not have ros.
Also if I release_into my own images, dreamview reports an error:
/apollo/scripts/apollo_base.sh: line 82: /apollo/ros/setup.bash: No such file or directory
Started supervisord with release conf
Start roscore...
voice_detector: started
dreamview: ERROR (spawn error)
gengqx@in_release_docker:/apollo$ ll ros
total 12
drwxr-xr-x 3 root root 4096 Jun 27 15:54 ./
drwxrwxrwx 1 root root 4096 Jun 27 15:54 ../
drwxr-xr-x 6 root root 4096 Jun 27 15:54 share/

if I run with run-x86_64-20180418_1942,I would get
Started supervisord with release conf
Start roscore...
voice_detector: started
Dreamview is running at http://localhost:8888
gengqx@in_release_docker:/apollo$ ll ros/
total 68
drwxr-xr-x  1 gengqx gengqx  4096 Apr  3 10:43 ./
drwxrwxrwx  1 root   root    4096 Jun 27 10:19 ../
-rwxr-xr-x  1 gengqx gengqx     0 Apr  3 10:43 .catkin*
-rw-r--r--  1 gengqx gengqx    53 Apr  3 10:43 .rosinstall
-rwxr-xr-x  1 gengqx gengqx 12431 Apr  3 10:43 _setup_util.py*
drwxr-xr-x  2 gengqx gengqx  4096 Apr  3 10:43 bin/
-rwxr-xr-x  1 gengqx gengqx   506 Apr  3 10:43 env.sh*
drwxr-xr-x  4 gengqx gengqx  4096 Apr  3 10:43 etc/
drwxr-xr-x 69 gengqx gengqx  4096 Apr  3 10:43 include/
drwxr-xr-x  1 gengqx gengqx  4096 Apr  3 10:43 lib/
-rw-r--r--  1 gengqx gengqx     6 Apr  3 10:43 meta.txt
-rw-r--r--  1 gengqx gengqx   260 Apr  3 10:43 setup.bash
-rw-r--r--  1 gengqx gengqx  2598 Apr  3 10:43 setup.sh
-rw-r--r--  1 gengqx gengqx   270 Apr  3 10:43 setup.zsh
drwxr-xr-x  1 gengqx gengqx  4096 Apr  3 10:43 share/

So I want to know what's the difference between those images. Is there any way I can build "run" images by myself.

Hence, as per your try out, the new release with ROS enabled and works just fine. Could you please kindly try another higher release version to verify if that is also built with ROS?  If so, this issue might
caused because we failed to add ROS in build procedure of older release IMHO.

Closing this issue as it appears to be resolved. Feel free to reopen if you have additional questions. Thanks!

Problem still remains, I'm currently using apolloauto/apollo:run-x86_64-20181127_1530, no ros in /apollo/ros, same as apolloauto/apollo:run-x86_64-20180906_2002. but as mentioned by gengqx, apolloauto/apollo:run-x86_64-20180418_1942 works fine. Also, I list those 3 images' history by command: docker history , run-x86_64-20180418_1942 seems compeletly different from the other 2. Could you please solve this problem or tell us the reason of the differences? Thanks!

@liutgnu which version of Apollo are you trying to run?
Also, as @freeHackOfJeff mentioned earlier, could you try running a higher version as we do not see the same issue on our end. Let me know your progress. Thanks!


Add some Transform constructors

See https://github.com/flutter/flutter/pull/15383

(modulo doc comments)

PTAL if you want; will land on green unless you comment further. Thakns!

(still)


no primary key

hello i just finished this part but at appsettings at the ConnectionStrings i used not local db but my own witch i created at sql management studio and every thing mostly works except creating new movie they show that
SqlException: Cannot insert the value NULL into column 'ID', table 'statybos.dbo.movie'; column does not allow nulls. INSERT fails.
and
DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
CreateModel.OnPostAsync() in Create.cshtml.cs
        if (!ModelState.IsValid)
        {
            return Page();
        }
        _context.Klientas.Add(Klientas);
        await _context.SaveChangesAsync();
        return RedirectToPage("./Index");
    }
}

}
are where is an easy way how to fix it if i dont want to use local server ?

Išsami dokumento informacija
⚠ Neredaguokite šio skyriaus. To reikia docs.microsoft.com ➟ „GitHub“ problemoms sieti.

ID: 03221075-5dfa-d1b6-0552-3fe88abe1d03
Version Independent ID: b8c7d824-35ca-68fb-e3be-839ae886657c
Content: Work with a database and ASP.NET Core
Content Source: aspnetcore/tutorials/razor-pages/sql.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

That's a great error message. Error has nothing to do with SQL Server. Test this with localDB and you'll get the same error.

no then i tested with my local db with in my computer is (localdb)\Mindaugas every thing was ok but i wanted connect to sql that i could create movie examples more easier and this problem started

now i created this code

and error message has disappear but then i press save nothing happens it does not save the new movie

the code


Make query_results.js use generalize_query_handling

@marcodarko has been updating the query handling code in this branch:
https://github.com/biothings/bte_trapi_query_graph_handler/tree/generalize_query_handling
This code uses a new data structure and needs new method(s) for calling the query_results.js code.

In a change from the current code, the new generalize_query_handling  code calls update just once with all records, so it's now necessary to inspect the records to deduce the query graph.

Close since Marco and Anders merged their code.


Implement ffs_blkatoff

Also move bread to somewhere more central.

Commit d4469ec6de1e6bfc82cebd143db670f201e1c78e is not signed-off.
Please fix these issues:

Graham MacDonald has not signed-off d4469ec.

If you'd like more information on how to sign your commits please visit signed-off-by.me


Issue 109 - .NET Framework - tracing not working

Fix https://github.com/serilog-tracing/serilog-tracing/issues/109.
I've modified the constructor of ActivityListenerConfiguration to set Activity.DefaultIdFormat = ActivityIdFormat.W3C;. This way, serilog tracing works correctly with .NET Framework.

Thanks @pfaustinopt 👍


Ionic 3, Android 9, opening application delay after reboot

Bug report
Current behavior:
I try to send a notification while restarting the phone.
Immediately after starting, notification is displayed on screen (it's so quickly, good job).
But if I try to open it (immediately tap), then my application opens for around 2-3 minutes!
I'm not sure if this is related to the code of this plugin.
Expected behavior:
I think that the application should open immediately after tapping on notification.
Steps to reproduce:

restart the phone
send notification from firebase console while phone is restarting
tap immediately on notification after phone restart

Environment information

Cordova CLI version

8.1.2<EMAIL_ADDRESS>

Cordova platform version

android 8.1.0

Plugins & versions installed in project (including this plugin)

"cordova-plugin-firebasex": "^7.0.1"
  "cordova-plugin-firebasex": {
      "ANDROID_PLAY_SERVICES_TAGMANAGER_VERSION": "17.0.0",
      "ANDROID_FIREBASE_ANALYTICS_VERSION": "17.0.0",
      "ANDROID_FIREBASE_MESSAGING_VERSION": "19.0.0",
      "ANDROID_FIREBASE_CONFIG_VERSION": "18.0.0",
      "ANDROID_FIREBASE_PERF_VERSION": "18.0.0",
      "ANDROID_FIREBASE_AUTH_VERSION": "18.0.0",
      "ANDROID_CRASHLYTICS_VERSION": "2.10.1",
      "ANDROID_CRASHLYTICS_NDK_VERSION": "2.1.0",
      "FIREBASE_ANALYTICS_COLLECTION_ENABLED": "true",
      "FIREBASE_PERFORMANCE_COLLECTION_ENABLED": "true",
      "FIREBASE_CRASHLYTICS_COLLECTION_ENABLED": "true",
      "ANDROID_ICON_ACCENT": "#FF00FFFF"
  }

Dev machine OS and version, e.g.

ubuntu

Device details

Samsung Galaxy S8

OS details

Android 9

Node JS version

v8.16.2

Gradle version

4.10.3  4.4.1  buildOutputCleanup  vcs-1

Target Android SDK version

name="android-targetSdkVersion" value="28"

Related code:
export class NotificationsProvider {
  private win: any = window;
  firebase: any = this.win.FirebasePlugin;

  constructor() {}

  initFirebaseNotifications(): Promise<boolean> {
    var that = this;

    return new Promise(function(resolve, reject) {

      that.firebase.getToken(
        (data) => {
          console.log('getToken success', data);

          that.subscribeFirebaseNotifications();

          // ios anly
          that.permissionFirebaseNotifications();

          resolve();

        },
        (error) => {
          console.error('Error getting token', error);
          reject();
        }
      );

    }); // promise

  }

  subscribeFirebaseNotifications() {
    this.firebase.onMessageReceived(
      (data) => {
        console.log('onMessageReceived success', data);
      },
      (error) => {
        console.log('onMessageReceived error', error);
      }
    );
  }

  permissionFirebaseNotifications() {
    if (this.platform.is('ios')) {
      this.firebase.hasPermission(
        (data) => {
          console.log('hasPermission success', data);

          if(!data.isEnabled){
            this.firebase.grantPermission(
              (data) => {
                console.log('grantPermission success', data);
              },
              (error) => {
                console.log('grantPermission error', error);
              }
            );
          }

        },
        (error) => {
          console.log('hasPermission error', error);
        }
      );
    }
  }

}

Thanks for your help!

Please test the same scenario using the example project to eliminate the possible cause as plugins or code within your own project.
However, if the example project shows the same result, there is nothing this plugin can do about it: when you tap a system notification, it invokes an intent which launches the app and this is part of the core Android operating system - the plugin code is not being executed at this time.
It's also possible that the delay is because the device CPU is heavily under load during the OS startup and this is causing the delay in execution of the launch intent.
Either way, there's nothing that this plugin can do about it from a code perspective, therefore I'm closing this issue.

Thanks for your help, Dave! I tried to check my app on an older phone this evening.
And delay is not modeled on meizu m3 note (android 5.1).
I apologize for the fuss.
Have a nice time!


📖 Update README.md

What this PR does / why we need it:
The provider URL to be used in clusterctl init has changed since the move from telekom to kubernetes-sigs
Which issue(s) this PR fixes
Fixes #169

LGTM
I'll merge it if you can open a PR on kubernetes-sigs/clsuter-api-provider-in-cluster instead of here!


enable password / ssh key retrieval from module outputs as fallback

It should be possible to retrieve the virtual machine's password or SSH key through module outputs, applying conditional expressions to the property:
admin_password = azurerm_key_vault_secret.secret[var.instance.type].value
The process should first check for var.instance.password. If present, use the keyvault module's outputs. Otherwise, default to the already existing value.

Seems to be complicated when resources needs to be conditionally be created based on the password parameter.
This is because the keys used in a for_each statement needs to be static at runtime.
As a workaround we lookup a map instead.
resource "azurerm_key_vault_secret" "secret" {
  for_each = var.instance.type == "windows" && lookup(
    var.instance, "secrets", {}) == {} ? {
    "generate" = true
  } : {}

  name         = format("%s-%s", "kvs", var.instance.name)
  value        = random_password.password["generate"].result
  key_vault_id = var.keyvault
}


Implement hashing functions in C

The erlang interoperability should allow us to easily interface with C and ensure were using a fast implementation of fnv, murmur and Jenkins.

Instead of writing these, I'm going to use these two NIF libraries:
https://github.com/thekvs/erlang-murmurhash
and
https://github.com/pierreis/erlang-xxhash
and maybe another, if I need it


group.all_alerts is missing

Home Assistant release (hass --version): 0.59.2
Python release (python3 --version): Python 3.5.1
Component/platform: Alert
Description of problem:
There is no group.all_alerts entity, so using alerts with an overridden default view makes configuration doubled and error prone as you have to add every new alert to a group by hand.
It would be also very helpful if we could use wildcards in group definitions.
Expected:
There should be a group.all_alerts entity as there is all_automations, all_lights, all_scripts and so on.

This is a feature request and not 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. Thanks!

If there is group.all_automations, group.all_lights, group.all_scripts, group.all_switches than everybody assumes that there is also a group.all_alerts there. I was digging the config why my first alert is not showing up on the frontend (there is no error message if you include group.all_alerts in a group). I think this is a problem and an issue.


[CT-73] [Feature] Better error messages: include line number and location for Compilation Error

Is there an existing feature request for this?

[X] I have searched the existing issues

Describe the Feature
When encountering a Compilation error it's not clear which line the error is on, eg:
.venv/bin/dbt run-operation drop_dev_schema
06:36:30  Running with dbt=1.0.1
06:36:30  Unable to do partial parsing because a project config has changed
06:36:33  Encountered an error:
Compilation Error in model lineitem (models/lineitem/lineitem.sql)
  'NoneType' object is not iterable

  > in macro generate_sat_table (macros/generate_sat_table.sql)
  > called by model lineitem (models/lineitem/lineitem.sql)

Describe alternatives you've considered
No response
Who will this benefit?
Anyone trying to debug compilation errors
Are you interested in contributing this feature?
Yes
Anything else?
dbt 1.0.1

Talking to the team, this might be a bit more complicated to get line numbers because a lot of this work is done in batches by jinja where we won't be able to preserve line-level granularity. However, we might be able to point out the location of the jinja blocks that contain errors when jinja raises them.
If you decide to open up a PR please feel free to tag me as a reviewer.

To provide a concrete/motivating example, if you include the following code in a model:
-- models/my_model.sql
{% set mylist = None %}

{% for item in mylist %}

  select '{{ item }}' as my_item
  {{ 'union all' if not loop.last }}

{% endfor %}

You'll see the reported error:
$ dbt run
14:49:59  Running with dbt=1.0.0
14:49:59  Encountered an error:
'NoneType' object is not iterable

In this case, it's with even fewer helpful pointers — not even a mention that the error was encountered while parsing my_model.sql.

I just spoke with @jtcohen6 about this, and for anyone who wants to try and get this working in a PR, this is where many of the jinja blocks end up being rendered, and there's an existing context manager that catches jinja rendering exceptions to raise better dbt exceptions.
Additionally, instead of threading line numbers through, we could just return the text of the offending jinja block which might be an easier lift.

This is on my list of things to get to (cc @ehmartens) so let's leave it open!

I also spent a few hours tracking down the source of a 'NoneType' object is not iterable error w/ no trace (dbt 1.6.0). This was from a custom macro that fetches some inputs via dbt_utils.get_column_values. A detailed error message would be a huge improvement!
The dbt exceptions.raise_compiler_error method was very useful for debugging (and useful to leave in as a precondition check), since jinja doesn't have standard Python exception/assert mechanisms. Here's a basic example in case others find it a useful workaround:
{% if my_list == None %}
  {{ exceptions.raise_compiler_error("Invalid `my_list`. Got: " ~ my_list) }}
{% endif %}

I'm getting
07:10:16  Running with dbt=1.7.13 07:10:21  Registered adapter: databricks=1.7.13 07:10:21  Unable to do partial parsing because of a version mismatch 07:10:24  Encountered an error: Compilation Error   Encountered unknown tag 'endmacro'. You probably made a nesting mistake. Jinja is expecting this tag, but currently looking for 'endfor' or 'else'. The innermost block that needs to be closed is 'for'.     line 105       {%- endmacro -%}
Its very difficult which macro is breaking at what point

I think it might be better to first discuss capturing a TypeError during the Jinja render phase (this is what I'm requesting here: #10856)), based on the example provided by @jtcohen6. After that,  address the line numbers info in the exception message


Use MiqQueue.put for sync

A number of MiqQueue.put_unless_exist calls can be simplified to MiqQueue.put

My concern is that the underlying use case of these put_unless_exists is that if there were multiple on the queue, then they would be run simultaneously, which can be a problem with race conditions.  stop_event_monitor may be the only one that could be good here, but even that I'm not 100% sure as I'd have to see the code.  The other syncs are very closer to inventory syncs are there is a high probability of race conditions (e.g. process a inserts a record and process b inserts the same record, creating a dup).