Fix AWS Validation

@smaslennikov FYI trying to fix this here.

porps

Apologies for merging myself, really want to merge the other branch in.

hahahahahah you fcking merge hammer


A retried test doesn't appear in the report when still failed (mocha)

Hello,
I add a retry option on a test which is run with mocha.
When this test is failed, after a retry, it appears in the json file with following status:
"pass": false,
"fail": false,
"pending": false,
...
"skipped": true
So I can see duration, and number of failed test = 1 on top of the report, but I can't see the detail of test. It doesn't appear in the report's body.
Example:
describe(
'Test retries on describe', function () {
this.retries(1);
  it('always failed test', function () {
    expect(1).to.equal(2);
  });

}
You can find the full json report here:
https://gist.github.com/Stephane99/57f23fd5938f71e2e7e49fe9eb543e58

Sorry, it's not an error on mochawesome-report-generator but mochawesome and I found other issues on this problem.

@Stephane99  Could you please share how do you fix this problem ? as I got same issue as well. thanks


Remove browserslist configurations

Stops supporting legacy browsers and relies on the shoulders of the open source contributors completely.

@dependabot rebase


Projects that depend on tslib inherit the Microsoft copyright

Hello,
If I build an app that combines tslib with other code -- e.g. use TypeScript in an app -- as far as I understand the license header on https://github.com/Microsoft/tslib/blob/master/tslib.js, it requires me to include that copyright+license in the resulting product.
Is that intentional?  I think when I use the TypeScript compiler without the --importHelpers flag, I do not have this additional requirement.

Hmm, this definitely was not the intent; these helpers get auto-injected anyway. Babel has also done this under an MIT license which has similar implications. Let me try to figure things out on our end.

Just wanted to ask if there was any progress on this.

Ping again!

Let me try to follow up with legal here.

As an update, I've reached out to our appropriate legal reps. They're not in the office at the moment so we'll need to wait on that.

Heya @DanielRosenwasser !
I would also like to include this in the dist builds of ethers, but the Apache license is incompatible.
Could we possibly get these licensed under multiple, permissive licenses (e.g. MIT, BSD, et cetera)?
Or better yet, just released into the public domain.
Or provide a way in TypeScript to override the library included with importHelpers, so we can override "tslib" with our own implementations.
Thanks! :)

Sorry to re-ping, just wanted to make sure you didn't forget this.

So here's what I can state given the conversations I've had thus far.
Occasionally, the TypeScript compiler injects JavaScript code that users don’t actually write. These are helper functions to make it easier for us to make JavaScript work equivalently with respect to the input TypeScript code. We do not expect users to provide any reference to the Apache 2.0 license governing the TypeScript compiler for the JavaScript code occasionally injected into the output of the compiler. Likewise, we have no expectation that the license text in tslib needs to be retained upon redistribution.

Can that “expectation” be put in writing? :)
Maybe a /*! Public domain: Microsoft 2018 */ injected into the code along side it?

Please do not use "public domain", it's not a license and it makes it impossible to use such code in corporate context. Essentially, only government or very long time makes code public domain.

@mmotorny There are "public-domain" licenses such as the CC0 or the Unlicense which should not be problematic in corporate environments (the problems are when there is no license, because this means that the author retains the copyrights). IMHO any of these should be a good fit for the TSLib code.

@avonwyss I'm aware of CC0 and Unlicense, but that's not what @ricmoo was suggesting.

Really all I was implying is that the license be inlined, and formalized. Not simply suggested in a GitHub issue that it "should be alright to include"...

LLVM is changing their license to a ""Apache 2.0 with LLVM Exception", where the exception is a block at the end of the license to work around issues like these.
http://llvm.org/foundation/relicensing/
http://llvm.org/foundation/relicensing/LICENSE.txt (scroll to the bottom to see the exception)

Another ping -- @DanielRosenwasser's comment is exactly what we want, but we need it in some place that lawyers will believe, because I believe GitHub comments are non-binding.  ;)

Any movement here? It seems like everyone agrees on the solution. Any chance of making it happen?

Hey everyone, just wanted to thank everyone for your patience and to give an update here.
We've managed to get the conversation rolling further and I'm generally pretty happy with the direction we're moving towards. We're looking into adding a license exception, but the specifics are in the works. When we figure that out, we'll post it here to get a gauge on whether the language feels reasonable.

We're looking into adding a license exception,

So, the kind that, like the LLVM exception mentioned above, gets listed at https://spdx.org/licenses/exceptions-index.html, or the kind where your legal people say "yeah, you can use a more liberal license for that part of the code"?
Also, the part about the non---importHelpers case not adding any Apache license headers got me thinking:
Why isn't tslib just getting the helper code from the compiler, perhaps using a special flag to ask tsc to just spit out all helpers (for a given target).
That might not really help with the legal situation, but wouldn't it simplify updates to tslib?

The exceptions in C++ compilers (LLVM/gcc) are actually written about that case specifically, where the compiler emits some code into the resulting binary, like TS without importHelpers.  Currently TS is silent about the legal status of that code, which is what the above LLVM exception is more concerned with.  The tslib issue makes this problem more apparent because it has an explicit license on it.

+1 - I cannot use Typescript in some open source until this is changed

+1

+1

I spoke to @DanielRosenwasser in person about this at tsconf, and I know understand I had two separate issues confused.

Code that TS inserts into the output bundle is of unclear copyright.  This is the thing the LLVM exception is all about, but that is not what this particular issue is about.
This library (tslib) that TS may add as dependency of output, and how that requires the resulting artifacts to carry the MS copyright.  For this one, the best solution is to relicense this library as something that doesn't require the MS copyright on compilation output.

For #2, you can use a license like:
https://opensource.org/licenses/0BSD
For your lawyers, I know it's not the normal license you'd like to use, but this is all for a very special case and it's also not very much code.

Another update on this: as best we can tell at this point, this is not going to be fixed by the TS team -- we've attempted to reach out many times across two years and through multiple channels and still don't have a response.
Our best idea at this point is to attempt a clean room reimplementation of tslib, though we haven't seriously investigated it at this point.  If you were considering doing the same, please comment on this bug to share what you end up with.

Hi guys,
I know less about licences. I'm writing a react library using typescript and tslib. And yeah, I know I have include Ms copyright+license in the resulting product as evmar said. I'm planning to set it under MIT licence. Is that any illegal?

@phinguyen202 as long as you specifically call out which parts are MIT vs. Apache 2.0 you should be fine, but I'd check with an attorney regarding what you're trying to achieve.
Keep in mind, if you're writing a library, you shouldn't need to bundle tslib - let your consumers do that.

Hey all, after some internal discussion, we're leaning towards relicensing tslib under the Zero-Clause BSD license. 0BSD is derived from the ISC license, but specifically differs in that it does not place any requirement on the copyright notice appearing in copies of the licensed work.
- Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
+ Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.

  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

In the near future, we'll be putting up a PR to replace the license. We'll give the PR about 10 business days, and if there are no strong objections, we'll pull the change in and publish a new version of tslib with the less-restrictive license.

See #96 for the PR.

tslib 1.11.2 should contain the relicense. Thanks to everyone for helping out here and being patient! 🙂

Despite the move to zero clause BSD, bundlers still retain the license because it starts with /*!
https://stackoverflow.com/questions/11248363/the-purpose-of-starting-an-initial-comment-with-in-javascript-and-css-files

This is for legal reasons. By default comments with @license, @preserve or starting with /*! are preserved

https://github.com/webpack/webpack/issues/324#issuecomment-157855568
I have opened a #160 to remove the /*!.


Modify Vault to work with EKS

Is your feature request related to a problem? Please describe.
We don't have integration with Vault and EKS service.
Describe the solution you'd like
We won't ability to integrate Vault with EKS service.
Describe alternatives you've considered
None.
Additional context
No.

Closing because of deprecation of Hashicorp Vault component.


Add VersionAdd for RSpec/EmptyOutput

Before submitting the PR make sure the following are checked:

[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[-] Added tests.
[-] Updated documentation.
[x] Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

Yeah, I noticed that also, too late. We should probably add a CI check so we don’t miss it in the future.


False positive for F812 with nonlocal

Couldn't find a previous issue for this.
The following code:
def outer_func():
    variable: int

    def func():
        nonlocal variable
        variable = 1

    func()
    assert variable == 1

outer_func()

This executes just fine but ruff has an issue with it:
❯ ruff check --select=F821 test.py
test.py:9:12: F821 Undefined name `variable`
  |
8 |     func()
9 |     assert variable == 1
  |            ^^^^^^^^ F821
  |

Found 1 error.

Not that this code works because of outer_func. If variable was defined at module level the code fails.

Thanks for filing. This is tough to get right in the general case since you need to reason about the complete flow of the program...
It looks like Pyright also flags this as unbound.
Mypy doesn't, but it's also too permissive in that it allows this:
def outer_func() -> None:
    variable: int

    assert variable == 1

outer_func()

I'm tempted to close as wontfix since it seems rare and hard to get right. Alternatively, we could do what we do for globals and add a binding for variable as soon as we see the nonlocal, which would be closer to Mypy's behavior (and so have some false negatives instead of false positives).

pylint also accepts this while raising on the variant where variable is defined outside of outer_func as well as raise used-before-assignment on the example you gave.
Although as pylint maintainer I'm obviously biased :smile:
At work we're trying to put as much of our checks in ruff instead of pylint and we had to put quite a bit of ignores for this false positive. We use this pattern in testing code to test some obscure behaviour and I would never use it in production code as I don't think it is a good pattern. That said it is valid Python and I think preferring false negatives over false positives is usually better?

I've used a similar pattern for testing as well, but I think I usually initialize the variable as None instead of just annotating it. It seems like that would generally lead to clearer error messages if things don't work as intended in your inner function.
I do agree a false negative seems a little better than a false positive.


[SPARK-26065][SQL] Change query hint from a LogicalPlan to a field

What changes were proposed in this pull request?
The existing query hint implementation relies on a logical plan node ResolvedHint to store query hints in logical plans, and on Statistics in physical plans. Since ResolvedHint is not really a logical operator and can break the pattern matching for existing and future optimization rules, it is a issue to the Optimizer as the old AnalysisBarrier was to the Analyzer.
Given the fact that all our query hints are either 1) a join hint, i.e., broadcast hint; or 2) a re-partition hint, which is indeed an operator, we only need to add a hint field on the Join plan and that will be a good enough solution for the current hint usage.
This PR is to let Join node have a hint for its left sub-tree and another hint for its right sub-tree and each hint is a merged result of all the effective hints specified in the corresponding sub-tree. The "effectiveness" of a hint, i.e., whether that hint should be propagated to the Join node, is currently consistent with the hint propagation rules originally implemented in the Statistics approach. Note that the ResolvedHint node still has to live through the analysis stage because of the Dataset interface, but it will be got rid of and moved to the Join node in the "pre-optimization" stage.
How was this patch tested?
Added a JoinHintSuite.

Test build #98836 has started for PR 23036 at commit 785a423.

cc @gatorsmile @cloud-fan @rxin @juliuszsompolski

Test build #98836 has finished for PR 23036 at commit 785a423.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/98836/
Test PASSed.

Test build #100648 has finished for PR 23036 at commit 93f33d9.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/100648/
Test FAILed.

Test build #100652 has started for PR 23036 at commit ee0c844.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/6564/
Test PASSed.

Test build #100652 has finished for PR 23036 at commit ee0c844.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/100652/
Test FAILed.

Test build #100653 has finished for PR 23036 at commit 470d682.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/100653/
Test PASSed.

Test build #100761 has started for PR 23036 at commit f51e31d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/6655/
Test PASSed.

Test build #100761 has finished for PR 23036 at commit f51e31d.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class JoinHint(leftHint: Option[HintInfo], rightHint: Option[HintInfo])

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/100761/
Test PASSed.


Boilerplate generator npm init telefunc

A boilerplate generator npm init telefunc would be lovely.
My idea so far is that we can make npm init telefunc simply copy-paste one of the examples/.
E.g. npm init telefunc next => cp -r examples/next/ to the user's current directory.

Let's use Bati.


I want to add another cryptocurrency in Backstage2

I want to add another cryptocurrency in Backstage2, LTC exists and so does BTC, but what if I want to add another cryptocurrency in cryptocurrency wallets? How can I do that?
Please guide. Thank You

To do that, please make sure that you have cloned the repositories at
mbassan/wlox (not this repository), since those are the ones that support
multiple wallets.
Also make sure that you are using the wlox.sql.gz file that is in
mbassan/wlox.
When you have installed that version, follow these steps:

Install the appropriate wallet daemons (bitcoind, litecoind, dashd, or
whatever) on your intended wallet server.
Open backstage2 and go to the Currencies tab. Add the specific
cryptocurrencies that you want to add in that list (make sure to check the
"is crypto" checkbox.
Go to Currencies -> Cryptocurrency Wallets. In that tab you will be able
to add the wallet settings for all the cryptos that you added in the
previous step.

If you have any more questions, you can contact me at support.wlox on Skype.
Best,
On Wed, Mar 9, 2016 at 12:58 AM, munawar050<EMAIL_ADDRESS>wrote:

I want to add another cryptocurrency in Backstage2, LTC exists and so does
BTC, but what if I want to add another cryptocurrency in cryptocurrency
wallets? How can I do that?
Please guide. Thank You
—
Reply to this email directly or view it on GitHub
https://github.com/wlox/wlox/issues/71.

--
Moisés Bassan
Organic Technologies
<EMAIL_ADDRESS>www.organic.com.pa
Tel: +507 6616-8671
Skype: moises.bassan

Thank You, it solved it. If I have any other queries I will address them on skype.

Happy to help. Good luck.
On Mar 9, 2016 11:25 PM, "munawar050"<EMAIL_ADDRESS>wrote:

Thank You, it solved it. If I have any other queries I will address them
on skype.
—
Reply to this email directly or view it on GitHub
https://github.com/wlox/wlox/issues/71#issuecomment-194657392.

Hey, please add me on skype also, can you tell me where to clone wlox-cron, is it okay if I clone it in /var/www/html or do I have to clone it in bitcoind installation
Also how can I increase the installation of other currencies?

Hi,
I'm trying to install Ethereum from PPA on an Ubuntu server, using those commands:
sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install ethereum
I would like to know how can I link it to the Backstage server (debian).
Any help please?

Hi,
No answer for me?

Hi vitorgamer58,
Thank you so much, I will check this.

@Kooky02
@vitorgamer58
Have you successfully added ETH crypto?

Unfortunately not

@Kooky02
Thanks for your response. But please kindly elaborate!
When you tried adding ETH to wlox, what kinds of errors did you encounter?
What is the root cause?
Does wlox natively support ETH?
Thanks again


Fix inconsistent formatter configuration

Coverage decreased (-0.006%) to 46.521% when pulling 62c030eda769f08e8b4b49035ba1297b22f9c0b6 on ChesleyTan:formatter-fix into ec1e143abc65fb3d0db6f7c3745628ca27e1776c on locationtech:master.

Coverage decreased (-0.006%) to 46.521% when pulling 62c030eda769f08e8b4b49035ba1297b22f9c0b6 on ChesleyTan:formatter-fix into ec1e143abc65fb3d0db6f7c3745628ca27e1776c on locationtech:master.

Coverage decreased (-0.006%) to 46.521% when pulling 62c030eda769f08e8b4b49035ba1297b22f9c0b6 on ChesleyTan:formatter-fix into ec1e143abc65fb3d0db6f7c3745628ca27e1776c on locationtech:master.

Coverage decreased (-0.006%) to 46.521% when pulling 62c030eda769f08e8b4b49035ba1297b22f9c0b6 on ChesleyTan:formatter-fix into ec1e143abc65fb3d0db6f7c3745628ca27e1776c on locationtech:master.

Coverage decreased (-0.006%) to 46.521% when pulling 62c030eda769f08e8b4b49035ba1297b22f9c0b6 on ChesleyTan:formatter-fix into ec1e143abc65fb3d0db6f7c3745628ca27e1776c on locationtech:master.


Inner Card components

It is just me missing something or for some strange reason this PR cannot be found merged in master?

I think my CI script has force pushed over it! Sorry about that can you push the branch again and I'll manually merge it


test: saving-statistics

An initiative to store test statistics over time to track performance, memory usage based a number of circumstances.
NEW FILES:

get_testStats.py : for collecting/handling statistics and saving to csv files.

2.update.py: for updating statistics to gsheets, written in python3
CHANGES:
The testrunner.py has been updated with a number of things:

A new argument -S and/or --save-stats has been added for a choice to save stats

A few new python libraries have been imported for collecting certain stats:
ex. putil, re

The new module called get_testStats has been imported

A number of new variables have been added for time, memory, os details collection.

Note:
The stat option requires some secret keys to be able to write to gsheets.
The secret keys would have to be copied to the test directory.
current example usage: ./testrunner.py -s intrusive -t fs -p 1 -S
Current filenames are already specified in the update.py, thus running with -S and including the keys with allow write permissions to the file.
In Jenkins, the secret files can be stored and copied to the directory during testing.
NEW dependencies:

python3
pygsheets

This is a work in progress. will close this pull request for now.


Always uses Port 25

I have set the docker-compose.yml to only use ports 143 and 587 but the logs show that docker-mailserver tries to send using the (intentionally blocked) port 25.
Context

Expected Behavior

Send over port 587
Actual Behavior

Sends over port 25
Steps to Reproduce

Fresh Debian 9 installation
Usage of default config files (only removed ports 25 and 993 from docker-compose.yml )
Fresh docker container
Try to send email to any recipient

Your Environment

Amount of RAM available: 3.75GB
Mailserver version used: 2.1
Docker version used: 19.03.8
Environment settings relevant to the config: -
Any relevant stack traces ("Full trace" preferred): -

Log:
May  3 16:25:31 mail postfix/smtp[875]: connect to gmail-smtp-in.l.google.com[<IP_ADDRESS>]:25: Connection timed out
May  3 16:25:31 mail postfix/smtp[875]: connect to gmail-smtp-in.l.google.com[2a00:1450:400c:c07::1b]:25: Cannot assign requested address
May  3 16:25:31 mail postfix/smtp[875]: connect to alt1.gmail-smtp-in.l.google.com[2a00:1450:4010:c03::1b]:25: Cannot assign requested address

Server to server on port 587 only is not the usual case covered by this image.
You will need to define a custom postfix configuration.
A starting point: https://serverfault.com/questions/911172/configuring-outgoing-mail-to-port-587-on-ubuntu-postfix.

Port 25 is the standard port for mail delivery to and from other servers, so unless you listen on that port yourself and send to that port you will not be able to communicate with all domains. You could of course use a dedicated relay host that uses another port for sending (as described by @youtous above), but even so most other servers will try to deliver mail to you on port 25.
In short think twice so that you are sure about what you are doing; then read up on how it is done with Postfix. The same procedure should work with this image. Check the config folder for where to put the configuration options.

Thank you.
I indeed didn't know that MTA's always communicate using Port 25.
I found this article on message transfer agents very helpful.
https://en.wikipedia.org/wiki/Message_transfer_agent


self.aft_get_last_transaction = True

Set check_aft_last_transaction = True as parameter.
make self.check_aft_last_transaction = check_aft_last_transaction
Fix:
2784: if self.check_aft_last_transaction:
There are machines that change the transaction number after receiving the signal, but there are also machines that will change the number after responding with Full transfer successful to aft_clean_transaction_poll.
With this option, you are deprived of one check, but you avoid an unexpected error occurring at an inconvenient moment.
Use check_last_transaction=False only for machines that do not change a transaction number

Fixed with your pull request #29

What is the idea of
I decided to try running the code and it doesn't work. What is meant to be
written here to fix it
match amount:
case 1:
money_1 = money
case 2:
money_2 = money
case 3:
money_3 = money
case _:
raise AFTBadAmount
На нд, 3.03.2024 г. в 1:48 Antonio @.***> написа:

Closed #28 https://github.com/zacharytomlinson/saspy/issues/28 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/zacharytomlinson/saspy/issues/28#event-11988494582,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABZYRJMBL4YKAEKGMDGFJW3YWJQNVAVCNFSM6AAAAABEDF52KGVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRHE4DQNBZGQ2TQMQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Is there any alternative to AR's after_commit?

ActiveRecord's #after_commit is used in conjunction with transactions, which don't exist with MongoDB.
You can use safe mode on your DB operation to ensure that MongoDB completes the operation before the rest of your code executes. Eg:
person.safely.save
# do something after saving the person finishes

so I could use after_save callback alternatively to it?
after_save :update_index

def update_index
  #..
end

The after_save callback fires after Mongoid has finished telling MongoDB to save the document. It could fire before MongoDB has finished performing the operation.
If you need to ensure that MongoDB has finished performing the operation before you execute some other code, you need to use safe mode.


⚠ DesiTorrents has degraded performance

In de1a2d0, DesiTorrents ($DST) experienced degraded performance:

HTTP code: 200
Response time: 1703 ms

Resolved: DesiTorrents performance has improved in 2565359.


r900 Isn't Working

I am using this addon with a Nooelec NESDR Mini on an RPI4B and I'm trying to pull data simultaneously from 4 sources:

Electric meter (SCM)
Gas meter (SCM+)
Water meter (r900)
Irrigation water meter (r900)

The electric and gas meters are working well but I am not able to get either of the r900 water meters working. I monitored the MQTT traffic and I'm not seeing any updates for the water meters.
The amr2mqtt logfile reports that it is listening to r900 and it does not have any of those ll+ messages that are indicative of a processing speed issue.
I tried the same dongle on my PC using rtl_tcp and rtlamr and I see the r900 messages show up.
Please let me know if you have any ideas.
amr2mqtt log:
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001
Using device 0: Generic RTL2832U OEM
Detached kernel driver
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Tuned to 100000000 Hz.
[13:47:17] INFO: Log level set to INFO
[13:47:17] INFO: Waiting for rtl_tcp...
Allocating 15 zero-copy buffers
[13:47:17] INFO: Handing over control to AMR2MQTT...
Signal caught, exiting!
Signal caught, exiting!
INFO:root:Starting rtlamr
INFO:root:Connecting to MQTT broker at core-mosquitto:1883
Allocating 15 zero-copy buffers
13:47:18.998596 decode.go:45: CenterFreq: 912600155
13:47:18.999194 decode.go:46: SampleRate: 2359296
13:47:18.999237 decode.go:47: DataRate: 32768
13:47:18.999265 decode.go:48: ChipLength: 72
13:47:18.999291 decode.go:49: PreambleSymbols: 32
13:47:18.999316 decode.go:50: PreambleLength: 4608
13:47:18.999341 decode.go:51: PacketSymbols: 128
13:47:18.999366 decode.go:52: PacketLength: 18432
13:47:18.999403 decode.go:59: Protocols: r900,scm,scm+
13:47:18.999432 decode.go:60: Preambles:<PHONE_NUMBER>0000001110010101100100,111110010101001100000,0001011010100011
13:47:18.999460 main.go:111: GainCount: 29

PC log (ID changed):
13:45:28.830497 decode.go:45: CenterFreq: 912380000
13:45:28.831142 decode.go:46: SampleRate: 2359296
13:45:28.831142 decode.go:47: DataRate: 32768
13:45:28.831142 decode.go:48: ChipLength: 72
13:45:28.831142 decode.go:49: PreambleSymbols: 32
13:45:28.831683 decode.go:50: PreambleLength: 4608
13:45:28.831683 decode.go:51: PacketSymbols: 128
13:45:28.831683 decode.go:52: PacketLength: 18432
13:45:28.831683 decode.go:59: Protocols: scm,scm+,r900
13:45:28.831683 decode.go:60: Preambles:<PHONE_NUMBER>01001100000,0001011010100011,00000000000000001110010101100100
13:45:28.831683 main.go:124: GainCount: 29
{Time:2022-04-10T13:45:38.141 R900:{ID:1234567890 Unkn1:0xA3 NoUse:36 BackFlow:0 Consumption:  114880 Unkn3:0x00 Leak: 0 LeakNow:0}}

Meter config (ID changed):
  - id:<PHONE_NUMBER>0
    protocol: r900
    name: Irrigation Water Meter
    type: water
    multiplier: 0.01
    unit_of_measurement: ft³
    precision: 2

I was able to resolve this locally. The problem is that my r900 messages are showing up with 8 fields, but the amr2mqtt.py is looking for messages with 9 fields.
With this change, I am able to receive from all 4 of my meters simultaneously.
            # R900 results have 8 fields
            elif fields_count == 8:
                msg_type = "r900"
                meter_id = str(amr_message[ID_FIELD])
                adjust_reading(
                    reading_time=amr_time,
                    meter_id=meter_id,
                    reading=amr_message,
                    consumption_field=CONSUMPTION_FIELD,
                )

Huh. I'm not sure how I screwed that up, it's clearly 9 here. Although I'll be honest, I don't have any r900 meters. I had my thing antenna search around to see if I could pick one up nearby to use for testing but wasn't able to find one. I'll get that fixed up though, sorry about that.

Wait, now I'm confused. That's not what the code of this addon says. I don't really know where that came from but here is what this addon says for R900 in the current stable version (v1.02):
https://github.com/mdegat01/addon-amr2mqtt/blob/05d79bc82a0b9612a0ad536a4b13655b30dbccc5/amr2mqtt/rootfs/amr2mqtt/amr2mqtt.py#L406-L415
Where did you get that? Are you using a fork or something?

Oh wait, I feel silly. You're saying they have 8, duh 🤦
That's very strange since it doesn't match the rtlamr doc. Since I can't really do any testing or confirming of r900 meters myself maybe I'll just make it 8 or 9 fields. No other type of messages have that length so it doesn't create a conflict either way.

Thank you for fixing this! I'm currently using a locally modified copy but I'll switch back to this version upon the next release.

Thanks for the v2.0.0 release. It looks good and I can see the r900 messages come in with MQTT Explorer.


Discv5 Test Vectors

What was wrong?
There are official discv5 test vectors for encoding and crypto by now, which we're not using yet.
How was it fixed?
Add tests using some of the test vectors:

all packet encoding
ping, pong, getnodes, and nodes messages
ecdh and key derivation
encryption

But not:

the remaining message types (as both test vectors and ourselves are behind the current spec version)
nonce signing tests (as we're behind the current spec version)
authentication header construction test (includes nonce signing, so we can't do this at the moment, and I have the feeling we're doing something wrong there as well)

All tests except for the ECDH tests are passing, which I'm still trying to fix.
To-Do

[ ] Clean up commit history
[x] Fix ECDH test

Cute Animal Picture

I've added the remaining tests, excluding the message type tests, so this is ready for review.
Importantly, I also had to make some changes to the code due to recent changes to the spec:

Update the signature format to include the ephemeral pubkey and a prefix: https://github.com/ethereum/trinity/pull/1468/commits/ba3d32a06aee92ca7665c515e8f3f1a4f5e66ea9
Remove the auth header from from the authenticated data part in encryption: https://github.com/ethereum/trinity/pull/1468/commits/f3b87d1d7f00df2aa73b4c97a90bd17cc124be98
[Potentially controversial] Use coincurve directly to do ECDH: https://github.com/ethereum/trinity/pull/1468/commits/89336855dd2a403fe732505182b1aa89aeb263a0 (see https://github.com/ethereum/devp2p/issues/134)


docker improvements

add docker CI, slimmed image, docs
Will add comments in review shortly
closes #172, images succeeded building in my fork

modified docker workflow to run against releases instead of release branch - tested in private repo

with such drastic changes, it doesn't even make sense to continue with this PR. If a rebase and merge reconciliation is needed and with the dev build being abandoned altogether, I'd rather just start fresh, especially with so many commits being made to the project currently and so much back and forth with this PR


Memory cache the result of DNRoot::getCurrentProject()

This will help the various calls from the templates and other callers


Expose Electron builder configuration properties via capacitor.config.json and change build process to read them dynamically

In doing some testing on deep linking in #36 I realized that the built app was pulling statically defined properties from the electron/package.json which is mentioned in the Quick Setup guide for Electron Builder.
I would like to see these values pulled dynamically from the capacitor.config.json at the root of the project.
So the mapping would be as follows:

Capacitor Property
Electron Builder Property

appId
appId

appName
productName

There's likely additional properties we'd want to expose as well like Electron Builder's mac.category.
Finally I believe for deep linking to work for built application it has to be statically defined per the discussion here: https://github.com/electron-userland/electron-builder/issues/1552 so I think it's worth exposing the custom protocol or scheme in the configuration and not have to modify the electron.index.ts to set it.

Yep most static configuration options will be in the capacitor.config come version 3 of capacitor. See https://github.com/ionic-team/capacitor/issues/3141
Like the Android and iOS platforms of Capacitor, Electron will still follow the idea of not getting in the way of the normal development of that platform. So if a process is done one way in electron apps without capacitor, I don't want to make it different in the capacitor platform.

This will be in v3

@IT-MikeS -- What does the solution for this look like? I wouldn't mind contributing to the feature but would like to understand what you're looking for.
Thanks!


fix: Rebuild Api object when legacy building to avoid extension action

This introduces a few bug fixes to BpyBuild regarding extension_settings::build_legacy. Specifically:

Rebuild Api object to make the extension action not be executed
Add guard to built-in extension action that utilizes ctx.is_extension to avoid running on legacy builds done with extension_settings::build_legacy enabled

@StandingPadAnimations Can you share what command you're using to build a demo extension? Just I can make sure I'm replicating the same when I try it later

poetry run bab -c "test/test_legacy_extension"


Term change suggestion SDG1.b/1.2  - [antipoverty]

SDG: 1
Target & phrase: b
Suggested term/change: add "antipoverty" as search term (in addition to "anti-poverty")
Reason: This article 10.1037/pha0000230 is not found as it is today, but with the alteration. Also quite a few more using "antipoverty"

Will also find this one from our test set not found today: 10.1080/00220388.2015.1010157

Also 1.2?


encoding/json: use the Error method to marshal an error value?

What steps will reproduce the problem?
http://play.golang.org/p/epXpwk0s4s

What is the expected output?
Something like this:
http://play.golang.org/p/Dk0l6fTj01

What do you see instead?
{"bar":{},"foo":{}}

Which compiler are you using (5g, 6g, 8g, gccgo)?

Which operating system are you using?
Linux (Ubuntu 12.04, 3.2.0-38-generic)

Which version are you using?  (run 'go version')
go version go1.0.3
go version devel +5260abd6df41 Sat Mar 30 19:05:00 2013 +0800 linux/amd64

Please provide any additional information below.
I think it's not intuitive behaviour. fmt prints errors without problems, why json not?

Hi!  Guess, it is a rare scenario. 😄 Well, result of {"err": {}} wasn't very informative. I realise, that errors interface puprpose is to provide a method to give stringified message of error (with according format for logging even), which doesn't mean it's meant to be marshaled into JSON the same way.
I think adding a configuration option (not default) to json.Encoder to enable using Error() method to encode value if there is no MarshalJSON() method will help everyone to achieve desired behavior without the need of creating a special type for that.

FYI - Had the same issue, expected the error string to be in the json output...
after various searches, ended up with this...
(would love to know if there's a simpler approach)
My original struct
type Result struct {
    Score   int
    Error   error
}

Implmented MarshalJSON on the Result struct
// MarshalJSON -
// create anonymous struct to generate a different representation of the Result, containing the Error() string,
// as the error interface's string won't be marshaled by default
func (r Result) MarshalJSON() ([]byte, error) {
    var errorMsg string
    if r.Error != nil {
        errorMsg = r.Error.Error()
    }
    anon := struct {
        Score   int    `json:"score"`
        Error   string `json:"error"`
    }{
        Score:   r.Score,
        Error:   errorMsg,
    }
    return json.Marshal(anon)
}

JSON output
...
{
   "score": 25,
    "error": "did not qualify"
},
...

just stumbled on this too. I guess changing it now would be a breaking change

The gitlab.com/tozd/go/errors error package provides JSON marshal of errors which uses some standard interfaces to extract data from the error.

But I would suggest that any error marshaling in Go has at least this basic structure: {"error": "...error message"}.

Hi all, we kicked off a discussion for a possible "encoding/json/v2" package that addresses the spirit of this proposal.
I don't think we should provide native support for error types since the JSON representation is only unidirectional (i.e., we can marshal, but can't unmarshal). That said, with #5901, you should be able to accomplish to general gist of what's being asked for here. See this example.


Phantomjs crashes with a top 1Kadplanning website

<EMAIL_ADDRESS>commented:

Which version of PhantomJS are you using? Tip: run 'phantomjs --version'.
1.6.1
What steps will reproduce the problem?

get and install phantomjs-1.6.1-macosx-static

./phantomjs-1.6.1-macosx-static/bin/phantomjs ./phantomjs-1.6.1-macosx-static/examples/netlog.js http://www.softpedia.com
3.

What is the expected output? What do you see instead?

I expected all requested/received messages
I see PhantomJS crash message, after some requested/received lines were printed (attached file phantomjs_crash_printed_lines.txt).
Which operating system are you using?
OS X 10.7.4
Did you use binary PhantomJS or did you compile it from source?
I used binary PhantomJS.
Please provide any additional information below.
I obtained same result with PhantomJS 1.6.1 on Linux Ubuntu 11.04, compiled from source.
I obtained similar crash results with old Phantomjs version on OS X 10.7.4

Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #689.
:star2:   2 people had starred this issue at the time of migration.

Supposedly this was fixed in commit 40a14b72b132468f4bbdfc6ff2dca30407cf866e.


Generate Global Enums

I am trying to use Depot for a card game. I have some Enum fields that are across different sheets, but I don't want to introduce issues with not updating one of the fields.  My current examples are "Illustrators" and "Set Icons", which are needed across all cards.
I was trying to use the "Line Reference" but, I don't want to do lookups across sheets for this later in the code. (And while entering data the ID is hard to use to select the right line).
It would also be ok to have in a line reference the ability to select a field that is shown instead of the ID, to make the dropdown more readable.

@vendolis why doesn't the Line Reference column work here for you? This is effectively what I use it for on some of my projects. Additionally, you can change the Line Reference "Display Column" in the settings for the sheet (that way you can point to some other top line column instead of the ID).
https://github.com/afterschoolstudio/Depot/wiki/Depot-Sheet-Information#sheet-config-options

I am sorry. That is all I wanted. I missed that. I only saw that you can select Guid and Id... and did not think that at that point those are the only fields.


Synchronization notification typo

When I sign onto the hubpress the there is a grammatical error in the notification of it letting me know my devices have Synced:
Synchronization
The synchronization is ended
It should read as:
Synchronization
The synchronization has ended
or something like:
Synchronization Complete
It's a small thing but I wanted to point it out

Thank you :+1:
I close because there is already an issue for this bug #32

What files/paths on /development are these pop up messages stored?
I'll take a look quickly tomorrow and do a grammar pass if you like,
Anthonny.
On Thu, Feb 26, 2015, 17:11 Anthonny Quérouil<EMAIL_ADDRESS>wrote:

Thank you [image: :+1:]
I close because there is already an issue for this bug #32
https://github.com/HubPress/hubpress.io/issues/32
—
Reply to this email directly or view it on GitHub
https://github.com/HubPress/hubpress.io/issues/120#issuecomment-76132340
.

Whoops, got it:  hubpress/scripts/app.js
Any others?
On Thu, Feb 26, 2015, 19:56 Jared Morgan<EMAIL_ADDRESS>wrote:

What files/paths on /development are these pop up messages stored?
I'll take a look quickly tomorrow and do a grammar pass if you like,
Anthonny.
On Thu, Feb 26, 2015, 17:11 Anthonny Quérouil<EMAIL_ADDRESS>wrote:

Thank you [image: :+1:]
I close because there is already an issue for this bug #32
https://github.com/HubPress/hubpress.io/issues/32
—
Reply to this email directly or view it on GitHub
https://github.com/HubPress/hubpress.io/issues/120#issuecomment-76132340
.

@jaredmorgs, hubpress/scripts/app.js is the minified version.
You can change the source on the development branch :
https://github.com/HubPress/hubpress.io/blob/development/src/hubpress/scripts/stores/AppStore.js#L39
Then i'll generate a new dist version

I've made the change:

are the changes I've made going to fit inside the pop-up box constraints?
is this message reused by other parts of the code, and if so will it be
relevant still?

If these two questions are no-issue, then you can go ahead and create a
stable. :D
On Fri, Feb 27, 2015, 18:11 Anthonny Quérouil<EMAIL_ADDRESS>wrote:

@jaredmorgs https://github.com/jaredmorgs, hubpress/scripts/app.js is
the minified version.
You can change the source on the development branch :
https://github.com/HubPress/hubpress.io/blob/development/src/hubpress/scripts/stores/AppStore.js#L39
Then i'll generate a new dist version
—
Reply to this email directly or view it on GitHub
https://github.com/HubPress/hubpress.io/issues/120#issuecomment-76353647
.


Mythic Metals looking for a mixin that doesnt exists [Pure server forge]

Describe the bug
Crash on startup due to mixins
Steps to reproduce
1.Install Server jar, Mythic Metals, Alloy forgery,Connector+Extras, Rei
2.Start it up
3. it crashes
...
Logs
https://pastebin.com/UMfYHrcz
Additional context
It do crashes on pure forge too. Included Logs from pure forge.

https://pastebin.com/CWaVAqWD  Log with pure forge with rei

[17:59:40] [main/ERROR] [ne.mi.fm.lo.ModSorter/LOADING]: Missing or unsupported mandatory dependencies:
Mod ID: 'cloth_config', Requested by: 'roughlyenoughitems', Expected range: '[10.0,)', Actual version: '[MISSING]'
Mod ID: 'architectury', Requested by: 'roughlyenoughitems', Expected range: '[8,)', Actual version: '[MISSING]'

For the other issue, install Connector Extras


Win10 Ent 2004 Outlook / Domain Join GUI

Seems that after applying some of the listed gpo optimizations on my 2004 VDI machines wont work the following fuctionality:

Domain Join using GUI (Control Panel > System > etc)
Outlook autodiscover using GUI, for example, first time connecting to exchange, and further on. (Though autodiscover test works fine, all green).
Problems were gone after i deleted registry.pol in system32\GroupPolicy\Machine
I have exported it using lgpo before deleting, maybe someone more experienced can point me out to exact values that can cause this.
Lgpo export https://pastebin.com/zXa19Puc

Investigating

We have moved to a new repository.  All updates to the code can now be found at the following location: https://github.com/The-Virtual-Desktop-Team/Virtual-Desktop-Optimization-Tool


Fix memory leak in Context_render_icon()

Without this fix, the program runs out of memory, printing a whole
bunch of these messages:
libpng error: Decompression error

At the same time these messages appear, the toolbar disappears
(which was a big clue to find the source of the problem).
And it eventually core dumps in some arbitrary place (usually deep in
some library that's unrelated tot he problem) when malloc returns a
virtual address that cannot be backed up by RAM (or returns 0 if
overcommit is turned off, but overcommit is almost never turned off.)
This fix works, but it's not ideal, as Context_render_icon() is reloading
the icons on every frame, and they should really only be done once
(could be done by polling with stat() or use inotify if you want to be
fancy.)
Signed-off-by: Stephen M. Cameron<EMAIL_ADDRESS>

Thanks Steven.
I just added a spritesheet loader that might (eventually) make this a bit easier.
The icons should probably be in their own sprite sheet anyways.
After reviewing this, I may need to make some changes to the spritesheet loader to ensure the lifetime makes sense.
Thanks for the detail.  That seems scary. haha


Game Crashes on Startup

My game randomly crashes on startup
Here's the log:
https://pastebin.com/jGXxPk5v
It might be helpful for you to know that I'm playing on a custom modpack called Project Gear.
The discord is here:
https://discord.gg/54TUa4

This is fixed in v3.4.0


FAQ - update 'risk_info' entry for #971

Changelog:

Change english heading to use "I get informed" instead of "you get information"
"pseudonymized keys" -> "random IDs"
Change "receive"/"empfangen" in 2. to "download"/"laden": Emphasize that the app is in control and not the server
Rewrite the first 3 steps
Introduce 4.: App assesses risk
Point out that the solution architecture document is english-only

@heinezen @MikeMcC399 @Ein-Tim Thanks.


next image config moved in v12.1.1+

🐛 Bug Report
image config import moved in next:
https://github.com/vercel/next.js/pull/34677/files
packages/next/shared/lib/image-config.ts

@florian-milky are you able to help us by doing a PR for this change? We're low on contributors right now and would appreciate it.

If I get time do you mind if I look at creating a PR?
In the mean time to help others until the fix can be released, in your jest config add the following:
{
  "moduleNameMapper": {
    "next/dist/server/image-config": "<rootDir>/node_modules/next/dist/shared/lib/image-config"
  }
}

@Zach-Jaensch @jasonwilliams sorry, it was a oneliner to fix so I've opened a PR. Please take a look


Any plans moving forward?

hey @nareix,
Hope you are doing well! I appreciate you are busy working on other projects and interests, however I'm wondering if this project would ever get a second life, and if you would consider contributing to this again? As you've seen there is a lot of community interest in your project.
I'm just asking the question, everyone visiting your repo is thinking..
Take care and thanks for this amazing work ;)
Cedric

+1


Add higher level info into jupyter-dev documentaion

At our weekly meeting yesterday it was suggested that I add some higher level introduction to jupyter-dev into our instructions. Also we tried adding a package from inside the notebook and were successful. This process should also be added into the documentation.

Nailed by @jbkalmbach in #73


Unhandled network errors while retrieving end-user yarn dependencies

RequestError: unable to get local issuer certificate
RequestError: self signed certificate in certificate chain
Our option here is to either:

disable strict SSL verification, thereby ignoring certificate errors (enableStrictSsl: false) - I don't think we should do this.
prompt the user to specify a path to the CA signing certificate (caFilePath)

RequestError: getaddrinfo ENOTFOUND
RequestError: getaddrinfo EAI_AGAIN
RequestError: connect ETIMEDOUT
RequestError: connect ECONNREFUSED
Corporate firewall? Proxy configuration necessary?
The easiest path forward may be to provide a workaround via manual installation.
Plan:

Give the user a good error message
Prevent cascading failures for subsequent telemetry messages (lots more errors happen after this once it occurs)
Change the telemetry to not post it to Slack (once the above is done)

Here's another one:
RequestError: write EPROTO 31273096:error:10000410:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE:../../third_party/boringssl/src/ssl/tls_record.cc:594:SSL alert number 40

Another one:
Stdout: ➤ YN0001: │ RequestError: unable to verify the first certificate

Slack
log
Error: Failed to install dependencies
Exit code: 1
Signal: null
Stdout: ➤ YN0000: ┌ Resolution step

Stdout: ➤ YN0001: │ RequestError: unable to verify the first certificate
at ClientRequest.<anonymous> (c:\Users\TEST\AppData\Roaming\Code\User\globalStorage\appland.appmap\yarn.js:222:14361)
at Object.onceWrapper (node:events:510:26)
at ClientRequest.emit (node:events:402:35)
at ClientRequest.o.emit (c:\Users\TEST\AppData\Roaming\Code\User\globalStorage\appland.appmap\yarn.js:217:90453)
at TLSSocket.socketErrorListener (node:_http_client:447:9)
at TLSSocket.emit (node:events:390:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
at TLSSocket.onConnectSecure (node:_tls_wrap:1530:34)
at TLSSocket.emit (node:events:390:28)
at TLSSocket._finishInit (node:_tls_wrap:944:8)
at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:725:12)

Stdout: ➤ YN0000: └ Completed in 0s 551ms
➤ YN0000: Failed with errors in 0s 556ms

at ChildProcess.<anonymous> (\out\extension.js:39013:32)
at Object.onceWrapper (node:events:510:26)
at ChildProcess.emit (node:events:402:35)
at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)

Another one:
RequestError: read ECONNRESET

Slack
log
Error: Failed to install dependencies
Exit code: 1
Signal: null
Stdout: ➤ YN0000: ┌ Resolution step

Stdout: ➤ YN0001: │ RequestError: read ECONNRESET
at ClientRequest.<anonymous> (c:\Users\TEST\AppData\Roaming\Code\User\globalStorage\appland.appmap\yarn.js:222:14361)
at Object.onceWrapper (node:events:646:26)
at ClientRequest.emit (node:events:538:35)
at o.emit (c:\Users\TEST\AppData\Roaming\Code\User\globalStorage\appland.appmap\yarn.js:217:90453)
at TLSSocket.socketErrorListener (node:_http_client:442:9)
at TLSSocket.emit (node:events:526:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)

Stdout: ➤ YN0000: └ Completed in 2m 12s
➤ YN0000: Failed with errors in 2m 12s

at ChildProcess.<anonymous> (\out\extension.js:39013:32)
at Object.onceWrapper (node:events:646:26)
at ChildProcess.emit (node:events:538:35)
at ChildProcess._handle.onexit (node:internal/child_process:291:12)


Fix spec error caused by lookup pr

Description
Fix spec error caused by lookup pr(https://github.com/intel-analytics/ipex-llm/pull/10768)
If the user passes attn mask to generate, will cause an error.
1. Why the change?

2. User API changes

3. Summary of the change

4. How to test?

[x] local test

LGTM


feat(database): Add easier off-cluster db config

I've always liked running "stateless" clusters-- i.e. not only having object storage off cluster in the likes of s3 but also keeping the database off-cluster in the likes of RDS, where I feel more confident I'm never going to lose data. If history is any indicator, many operators feel this way.
Although this has been possible with v2 / Workflow, it has not necessarily been easy to configure. (In comparison, for instance, to the ease with which off-cluster object storage has been configurable.)
This PR permits off-cluster db connection details to be specified in generate_params.toml and utilizes the same pattern as was used for minio in order to exclude the database RC, service, and service account from creation if they are not needed.

Testing please ignore.

More testing, please ignore this. Sorry!

@krancour since it's fine if the scripts in https://github.com/deis/charts/pull/286#discussion-diff-67062208 are together, I'm LGTMing this

still have to manually test, but code LGTM. Philosophically I'm wondering if it might make sense to create a workflow-dev-stateless chart so we don't have to do all this logic for minio/postgres, though.

@arschles the scripts are together because of a helmc limitation that (I think) exists. The commented metadata on the  first line of the toml file can only kick off ONE generator, so far as I know.

@bacongobbler, a separate chart for stateless sounds appealing to me, but then after thinking more...
Having it separate from the usual chart doesn't reduce the work that a user of the usual chart needs to do (i.e. they don't need to fill in any optional config anyway) and it doesn't reduce the work that a user of the stateless chart needs to do (i.e.they still do need to complete optional config). Since it doesn't make life easier for anyone, we should probably leave it alone.

My thoughts are if we can keep just 1 chart and do stateless that would be best. Makes the release easier and makes stateless a first class citizen

I wonder how we could have an e2e stateless setup?

Just in case it was lost in my wordiness... ultimately, I'm not in favor of a separate chart for this.
Re: running e2e against this, I have lots of thoughts on that topic... more than I can type on my phone. Let's discuss tomorrow.

Removing awaiting review label, as I am aware of a small tweak this needs.

I've amended the PR so that, as in the case of off-cluster object storage, the connection to an off-cluster DB can optionally be defined using environment variables only, i.e. without touching genrate_params.toml. Personally, I prefer configuring generate_params.toml (which is still possible, of course). This amendment is purely for the sake of consistency.

Complementary docs: https://github.com/deis/workflow/pull/345

This was manually tested with an RDS instance both via the environment variable approach and via the generate_params.toml approach, verifying sample apps created in the first install were present on the second install (same db, naturally). Docs followed were in accompanying PR deis/workflow#345


Use local porch pkg build for e2e tests

Build local porch pkg for test runs.
Remove GCP specific make targets etc.

This PR also breaks the script in `/Users/liam/git/github/nephio-project/porch/docs/tutorials/porch-development-environment/bin/setup.sh' because the make target 'deployment-config-no-sa" no longer exists.
If the following patch is applied to the file, all is good:
diff --git a/docs/tutorials/porch-development-environment/bin/setup.sh b/docs/tutorials/porch-development-environment/bin/setup.sh
index 7a4bd9b..33445e7 100755
--- a/docs/tutorials/porch-development-environment/bin/setup.sh
+++ b/docs/tutorials/porch-development-environment/bin/setup.sh
@@ -146,8 +146,8 @@ fi
 ############################################
 h1 Install all porch components, except porch-server
 cd "${git_root}"
-make deployment-config-no-sa
-cd .build/deploy-no-sa
+make deployment-config
+cd .build/deploy
 # expose function-runner to local processes
 kpt fn eval \
   --image gcr.io/kpt-fn/starlark:v0.5.0 \

/retest

This PR also breaks the script in `/Users/liam/git/github/nephio-project/porch/docs/tutorials/porch-development-environment/bin/setup.sh' because the make target 'deployment-config-no-sa" no longer exists.
If the following patch is applied to the file, all is good:
diff --git a/docs/tutorials/porch-development-environment/bin/setup.sh b/docs/tutorials/porch-development-environment/bin/setup.sh
index 7a4bd9b..33445e7 100755
--- a/docs/tutorials/porch-development-environment/bin/setup.sh
+++ b/docs/tutorials/porch-development-environment/bin/setup.sh
@@ -146,8 +146,8 @@ fi
 ############################################
 h1 Install all porch components, except porch-server
 cd "${git_root}"
-make deployment-config-no-sa
-cd .build/deploy-no-sa
+make deployment-config
+cd .build/deploy
 # expose function-runner to local processes
 kpt fn eval \
   --image gcr.io/kpt-fn/starlark:v0.5.0 \

Done

@kispaljr minor fix added here regarding gitea url
https://github.com/nephio-project/porch/pull/67/files#diff-045afadc4d6cdb28a618c403d5974c0721a49826a2e49f357ac13c41a9a694ccR107
I was having trouble if/when the gateway assigned by docker wasn't in the 172.18 range

@kispaljr minor fix added here regarding gitea url

seems good.

I was having trouble if/when the gateway assigned by docker wasn't in the 172.18 range

I thought that if the default docker bridge is in the 172.18, that is the problem, not the opposite (but I am not a metalLB expert). I will look into this.

/lgtm

/lgtm
/approve

This is stuck in Tide, I/ll try the close/reopen trick.

/approve
/lgtm


hard coded values for check_healthcheck_ok function

The below function has hard coded values for the OHS instance name which results in errors on this step during OAM deployment
check_healthcheck_ok()
{
   ST=$(date +%s)
   print_msg "Checking Health-check is not blocked"

   printf "\n\t\t\t$OHS_HOST1 - "
   blocked_ip=$( $SSH ${OHS_USER}@$OHS_HOST1 grep health-check.html  $OHS_DOMAIN/servers/ohs?/logs/access_log | grep 403 | awk '{ print $1 }' | tail -1 )
   if [ "$blocked_ip" = "" ]
   then
     echo "Success"
   else
     printf "Blocked by IP Address: $blocked_ip - Fixing - "
     $SSH ${OHS_USER}@$OHS_HOST1 -C sed -i \"/    require host/a "\\    require ip $blocked_ip"\" $OHS_DOMAIN/config/fmwconfig/components/OHS/ohs?/webgate.conf
     print_status $?
     printf "\t\t\tRestarting OHS $OHS_HOST1 - "
     $SSH ${OHS_USER}@$OHS_HOST1 "$OHS_DOMAIN/bin/restartComponent.sh $OHS1_NAME" > $LOGDIR/restart_$OHS_HOST1.log 2>&1
     print_status $? $LOGDIR/restart_$OHS_HOST1.log
   fi

   if [ ! "$OHS_HOST2" = "" ]
   then
     printf "\n\t\t\t$OHS_HOST2 - "
     blocked_ip=$( $SSH ${OHS_USER}@$OHS_HOST2 grep health-check.html  $OHS_DOMAIN/servers/ohs?/logs/access_log | grep 403 | awk '{ print $1 }' | tail -1 )
     if [ "$blocked_ip" = "" ]
     then
       echo "Success"
     else
       printf "Blocked by IP Address: $blocked_ip - Fixing - "
       $SSH ${OHS_USER}@$OHS_HOST2 -C sed -i \"/    require host/a "\\    require ip $blocked_ip"\" $OHS_DOMAIN/config/fmwconfig/components/OHS/ohs?/webgate.conf
       print_status $?
       printf "\t\t\tRestarting OHS $OHS_HOST2 - "
       $SSH ${OHS_USER}@$OHS_HOST2 "$OHS_DOMAIN/bin/restartComponent.sh $OHS2_NAME" > $LOGDIR/restart_$OHS_HOST2.log 2>&1
       print_status $? $LOGDIR/restart_$OHS_HOST2.log
     fi
   fi
}

I see that every where $OHS_HOST2 or $OHS_HOST1 etc. can you please point out a particular instance?


File name displayed in Enums from autoload scripts for docs inside editor

Godot version
4.2.beta.1
System information
Windows 11
Issue description
Enums from autoload scripts displays the file name in place of node name defined in auto loads.
Steps to reproduce
Create an auto load script having an enum with values
Use the enum value in a script with a default value.
Save and search for the script in documentation.

Note the Enum from auto load is properly displayed in the description. and Enums from scripts with class_names are displayed properly.
Here is the code

# Globals (autoLoad ) - globals.gd
extends Node
enum STATUS { ACTIVE, INACTIVE }

# Local Constant File with class_name (Works Fine) - local_constants.gd
class_name LocalConstants extends Node
enum ACTION { SHOOT, PUNCH, THROW }

# Script File base_scene.gd
class_name BaseScene extends Node2D

## Base scene Description

## A local constant description [enum LocalConstants.ACTION]
var action : LocalConstants.ACTION = LocalConstants.ACTION.PUNCH

## A Global constant description [enum Globals.STATUS]
var state : Globals.STATUS = Globals.STATUS.ACTIVE

Minimal reproduction project
N/A

This is because you have no class_name, you can't define an enum in global scope like this AFAIK

This is because you have no class_name

are you saying we have to give class_name in autoload scripts. You cannot, you will get this error when you attach the autoload script to the Project "Class "Globals" hides an autoload singleton"

you can't define an enum in global scope like this AFAIK

I have released a game using this feature itself, although in 3.x, and now I am going to do it in 4.2 😄
Although Enums in autoload scripts (4.x) have issues in auto-completion., but who cares. love this feature.
Regarding the issue at hand. in my world It is a bug, because in description it is displaying correctly but in definition it is not.

For non-global classes, links may appear as invalid GDScript syntax (although extends "script.gd".InnerClass is valid).

"Class "Globals" hides an autoload singleton"

The name of the singleton and its type must be different identifiers, for example Signleton and SignletonType.

See also godotengine/godot-proposals#7722.

Registering the Autoload with one name(name of the node) and defining the class_name different name in the script works.
I could not find any documentation related to this. It looks like, it is a workaround for some limitation.
Having same name for node and class_name in script attached to the node works, but somehow it does not work for autoload scripts. Surprising😮.
I am ok with closing the issue, as long as I found a work around to my problem.
I still feel weird about mismatch between description and definition, but who cares. It is solved for me


tensorRT error

when using trt.Builder(TRT_LOGGER) as builder, an error came out:
[TensorRT] ERROR: Cuda initialization failure with error 1. Please check cuda installation:  http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html.
Traceback (most recent call last):
  File "torch2trt.py", line 4, in <module>
    import torch2trt
  File "/home/aisimba/Documents/second.pytorch-v1.6/scripts/torch2trt.py", line 12, in <module>
    with trt.Builder(TRT_LOGGER) as builder, builder.create_network() as trt_net:
TypeError: pybind11::init(): factory function returned nullptr

import torch
import torchvision
import tensorrt as trt
import torch2trt
TRT_LOGGER = trt.Logger(trt.Logger.INFO)
# trt.Logger(trt.Logger.INFO)

# net = torchvision.models.inception_v3(pretrained=True).eval()
net = torchvision.models.squeezenet1_1(pretrained=True).eval()
inputs = torch.rand(1, 3, 416, 416)

with trt.Builder(TRT_LOGGER) as builder, builder.create_network() as trt_net:
    pass

OS: Ubuntu 16.04
Python3.6
CUDA 10.1
TensorRT 5.1.2-1

this looks like a cuda version mismatch problem. make sure your cuda version, torch cuda version (when install by conda install pytorch cudatoolkit=10.0 -c pytorch) and tensorrt cuda version are same.

change pytorch version to 1.1.0 (CUDA10) and reinstall torch2trt with newest repo code
new error occured when import torch2trt:
>>> import torch2trt
Traceback (most recent call last):
  File "/home/aisimba/.local/lib/python3.6/site-packages/torch/utils/tensorboard/__init__.py", line 2, in <module>
    from tensorboard.summary.writer.record_writer import RecordWriter  # noqa F401
  File "/home/aisimba/.local/lib/python3.6/site-packages/tensorboard/summary.py", line 24, in <module>
    from tensorboard.plugins.audio import summary as _audio_summary
  File "/home/aisimba/.local/lib/python3.6/site-packages/tensorboard/plugins/audio/summary.py", line 34, in <module>
    import tensorflow as tf
ModuleNotFoundError: No module named 'tensorflow'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/aisimba/.local/lib/python3.6/site-packages/torch2trt-1.0.0-py3.6.egg/torch2trt/__init__.py", line 1, in <module>
  File "/home/aisimba/.local/lib/python3.6/site-packages/torch2trt-1.0.0-py3.6.egg/torch2trt/core.py", line 17, in <module>
  File "/home/aisimba/.local/lib/python3.6/site-packages/torch/utils/tensorboard/__init__.py", line 4, in <module>
    raise ImportError('TensorBoard logging requires TensorBoard with Python summary writer installed. '
ImportError: TensorBoard logging requires TensorBoard with Python summary writer installed. This should be available in 1.14 or above.


Version Packages

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
<EMAIL_ADDRESS>Patch Changes

ad0fde9: Upgrade backstage to 1.7 and bump effection dependencies

<EMAIL_ADDRESS>Patch Changes

ad0fde9: Upgrade backstage to 1.7 and bump effection dependencies

<EMAIL_ADDRESS>Patch Changes

ad0fde9: Upgrade backstage to 1.7 and bump effection dependencies

<EMAIL_ADDRESS>Patch Changes

ad0fde9: Upgrade backstage to 1.7 and bump effection dependencies

<EMAIL_ADDRESS>Patch Changes

ad0fde9: Upgrade backstage to 1.7 and bump effection dependencies

<EMAIL_ADDRESS>Patch Changes

ad0fde9: Upgrade backstage to 1.7 and bump effection dependencies

<EMAIL_ADDRESS>Patch Changes

ad0fde9: Upgrade backstage to 1.7 and bump effection dependencies

<EMAIL_ADDRESS>Patch Changes

ad0fde9: Upgrade backstage to 1.7 and bump effection dependencies
Updated dependencies [ad0fde9]

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

ad0fde9: Upgrade backstage to 1.7 and bump effection dependencies
Updated dependencies [ad0fde9]

<EMAIL_ADDRESS><EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

ad0fde9: Upgrade backstage to 1.7 and bump effection dependencies
Updated dependencies [ad0fde9]

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

ad0fde9: Upgrade backstage to 1.7 and bump effection dependencies

The following preview packages were published:

Name
Version
Install Command

@frontside/graphgen-backstage
0.3.1-changeset-release-main.1
yarn add @frontside/graphgen-backstage@changeset-release-main

@frontside/backstage-plugin-humanitec-backend
0.2.5-changeset-release-main.2
yarn add @frontside/backstage-plugin-humanitec-backend@changeset-release-main

@frontside/backstage-plugin-humanitec
0.2.5-changeset-release-main.2
yarn add @frontside/backstage-plugin-humanitec@changeset-release-main

@frontside/backstage-plugin-incremental-ingestion-backend
0.1.2-changeset-release-main.2
yarn add @frontside/backstage-plugin-incremental-ingestion-backend@changeset-release-main

@frontside/backstage-plugin-graphql
0.2.2-changeset-release-main.1
yarn add @frontside/backstage-plugin-graphql@changeset-release-main

Generated by @thefrontside/actions


Draft: Score anchor flow

This PR is a draft and is created to gather reviews for the score anchor flow.
Let's consider that "demo/utils/updateScore" as a marketplace. Within this marketplace, the "fromJournalContent" function in "Scoring.ts" is invoked. The result produced by this function will be employed by the marketplace to trigger the "makeScoreEntryToChain" function in "Scoring.chain.ts."

Looking fine for now. Lets merge and make another work on it. (Merging it on dev-0.9.0 branch)


Support for flexible focus language crawling framework

The first task is defining and expressing the forcus crawling specification.
The second subtask will be implementing that specification in sparkler.
Currently, we have support for URL based focus/filters.
this has to be advanced with content-based focus.
Example task can be:

"Crawl top news in Kannada language"
"Crawl sports news in XYZ language"
"Crawl cooking blogs that are in XYZ language"
"Crawl poetry or song lyrics in XYZ language"
"Craw news about earthquakes in XYZ language"

Sparkler should be able to express and accept this first 'focus' requirement, which is a combination of two filters:

language filter, often rare languages (i.e. languages that are not supported by Google translator). There are over few thousands.
domain such as cooking, news,  sports news etc Maybe a few tens or hundreds max.

great job Thamme! If I may this is "focused language crawling" as opposed to e.g., "focused multimedia crawling" or "web page crawling" etc. We should update the issue title to reflect that. Great job filing the issue.

Thanks for the suggestion. the title is now updated 👍
Focus crawling is needed for everybody, but no existing crawler seems to do it right.
Has put the thinking cap for this, will propose a good solution for languages, multimedia, etc..

Yeah - this could be really cool!


Cant Open a Ticket on Discord there is no server Thread for it

Hi
i cant open a ticket
only what i see is tools
free key discord
and rules also status-update
what can i do i have a payment question

other user have the same problem so there is no ticket system or support ?


NFL API data discussion

Moving conversation from derek-adair/nflgame issue 130 since we are getting off-topic there.
@BrianT71 I haven't been able to actually see any injury data yet. I just started looking at NFL data a couple months ago and the injuries list has always been null. I assume/hope it will be populated once the season starts. I have found that viewer/team/injuries is valid, but it requires a subselection. I tried injuries{id} but it returns null. If you know how to pull in injury info at the team level, I am interested to learn more.
I agree it's very strange for the ids to change every year. It definitely makes things more difficult.
The roster status is confusing me. In the /v1/teams/ endpoint, before it started throwing a 500 error, I was getting a bunch of people with inactive status when I queried for Philadelphia and Washington (week 1 matchup). It had exactly the data I wanted. With the shield query it's only listing active players for both teams. I see Marquise Goodwin showing NWT status for the 49ers, but he's with the Eagles now. I also see Malcolm Jenkins still listed with ACT status in the results for the Eagles even though he's with the Saints. What a mess.

Using shield viewer/team, I'm seeing a bunch of duplicate players for guys that moved teams (20-30 of them) as they are still in their own old team roster as well as new. I'm hoping this will get cleaned up as the season starts. Seems like a lot of issues have surfaced as they migrated NFL.com to use the shield API vs the old JSON feeds. One other thing I noticed is that the roster pages on NFL.com are not making API queries. They are just rendering HTML server side to show the list of players and it does not contain the duplicates.
As for injuries, I was never able to use NFL.com for them in the past. Prior to using the JSON feeds for stats,etc, I was scraping data from Sportsline.com and used their injury report. When I migrated to NFL.com for stats, rosters and schedules I still used Sportsline for injuries. It's a bit messy to match up players in some cases but I once I manually sort out the new players (rookies) at the beginning of the year it works well. I do want to get the injury data from the API but it's a lower priority than an accurate roster.

I can get a valid query with injuries{id} under the /viewer/team endpoint (see below). It's returning null right now but hopefully once the season starts it will have some actual data. The same works when using the /viewer/teams (plural) endpoint.
https://api.nfl.com/v3/shield/?query=query{viewer{team(id%3A"10043800-2020-6de2-d4a8-fc8cf0e8a3ad"){id fullName season{id season} injuries{id}}}}&variables=null

I also found injuries{id} but I'm thinking there are other fields that will need to be included in the subselection. I just don't know what they are because the fields in the injury model don't work. I had the same thought/hope that it will start working when the season starts. Same with the /v1/teams/{id} endpoint where I have actually seen the roster status work how I expect.
Do you have any idea what Name is null might mean for this endpoint?
https://api.nfl.com/v1/teams/10044500-2020-647d-4ff7-d6a678d2a29d?fs={id,season,fullName,nickName,cityStateRegion,abbr,teamType,conference{abbr},division{abbr},standings{overallWins,overallLosses,overallTies,overallWinPct,divisionWins,divisionLosses,divisionTies,clinchDivision,clinchDivisionAndHomefield,clinchWildcard,clinchPlayoff,conferenceRank,divisionRank}}
{
    "errorStatus": "500 Internal Server Error",
    "errorMessage": "Name is null"
}

The team id is the 2020 Eagles, from https://api.nfl.com/v1/teams?s={"$query":{"season":2020}}&fs={id,season,fullName,nickName,abbr,teamType,conference{abbr},division{abbr}}.
The same call does not throw an error for the 2019 team ids, e.g. https://api.nfl.com/v1/teams/10043700-2019-3e28-0cb1-4bbe9b06a082?fs={id,season,fullName,nickName,cityStateRegion,abbr,teamType,conference{abbr},division{abbr},standings{overallWins,overallLosses,overallTies,overallWinPct,divisionWins,divisionLosses,divisionTies,clinchDivision,clinchDivisionAndHomefield,clinchWildcard,clinchPlayoff,conferenceRank,divisionRank}}.
{
    "id": "10043700-2019-3e28-0cb1-4bbe9b06a082",
    "season": 2019,
    "fullName": "Philadelphia Eagles",
    "nickName": "Eagles",
    "abbr": "PHI",
    "cityStateRegion": "Philadelphia",
    "teamType": "TEAM",
    "conference": {
        "abbr": "NFC"
    },
    "division": {
        "abbr": "NCE"
    }
}

When I use the shield API to pull the Eagles 2020 ID, it shows 10043700-2020-3696-5a83-d88a44306b38. That's different from the one you show coming from the V1 query. However, the 2019 ID is the same as you show. I'm becoming convinced that the shield API is using a completely different dataset than the V1 starting in 2020 and things are breaking as a result of this. With the NFL.com pages moving to Shield API, I'm assuming it will be more likely to get corrected going forward.
As for the injuries endpoint, it would seem to me that once the season starts and there are official injury reports, there will be "player" nodes attached to this listing each player on the injury report. I guess we will see next week.

I get the same team id from v1 and shield. The v1 id I listed above was for the 2019 team id, to show that it does return data for team ids from prior years.
There's no Name in my query, so I have no idea why it's throwing an error for the 2020 team ids saying Name is null.

(https://api.nfl.com/v1/teams/10044500-2020-647d-4ff7-d6a678d2a29d?fs={id,season,fullName,nickName,cityStateRegion,abbr,teamType,conference{abbr},division{abbr},standings{overallWins,overallLosses,overallTies,overallWinPct,divisionWins,divisionLosses,divisionTies,clinchDivision,clinchDivisionAndHomefield,clinchWildcard,clinchPlayoff,conferenceRank,divisionRank}})

In this query, you show the eagles ID being 10044500-2020-647d-4ff7-d6a678d2a29d. I thought you said this was the 2020 ID you pulled from a V1 query. When I pull a 2020 ID for the eagles from shield, I get 10043700-2020-3696-5a83-d88a44306b38. Unless I'm misunderstanding you, there are 2 different 2020 IDs for the Eagles depending on which API you query. I do see the same ID for 2019 from both V1 and shield.
As for the Name issue, the fact that it's a 500 error is strange. That's usually an error by the server itself, not an API response.

No, 10044500-2020-647d-4ff7-d6a678d2a29d is the 2020 49ers. You referenced that team id when you pointed out a player in the shield query showing status other than ACT. I'm getting the same team id for 2020 Eagles from all 3 endpoints:
https://api.nfl.com/v3/shield/?query=query{viewer{team(id%3A"10043700-2020-3696-5a83-d88a44306b38"){id abbreviation fullName id nickName cityStateRegion franchise{id slug currentLogo{url}} season{id season} division players{id status position jerseyNumber person{firstName lastName displayName highSchool}} injuries{id}}}}&variables=null
10043700-2020-3696-5a83-d88a44306b38
https://api.nfl.com/v1/games?s={"$query":{"week.season":2020,"week.seasonType":"REG","week.week":1}},"$take":20,"$skip":0}&fs={week{id,season,weekOrder,seasonType,week,weekType,name},id,type,lastModifiedDate,gameTime,gameStatus,homeTeam{id,season,fullName,nickName,cityStateRegion,abbr,teamType,conference{abbr},division{abbr}},visitorTeam{id,season,fullName,nickName,cityStateRegion,abbr,teamType,conference{abbr},division{abbr}},homeTeamScore,visitorTeamScore,networkChannel,venue{id,type,name}}
10043700-2020-3696-5a83-d88a44306b38 (but season=Null)
https://api.nfl.com/v1/teams?s={"$query":{"season":2020}}&fs={id,season,fullName,nickName,abbr,teamType,conference{abbr},division{abbr}}
10043700-2020-3696-5a83-d88a44306b38

Got it.
At this point, I'm going to sit tight and see what happens next week as the official injury list start coming out and the rosters get set. Hopefully the first game night will help clear some things up too.

NFL fixed the issue with the /v1/teams/{id} endpoint for 2020 team ids. The below API call returns data now, including the (currently null/empty) player injury status and team injuries list.
https://api.nfl.com/v1/teams/10043700-2020-3696-5a83-d88a44306b38?fs={id,season,fullName,nickName,abbr,type,cityStateRegion,conference{abbr},division{abbr},roster{id,type,firstName,lastName,displayName,homeTown,college{id,name,type},highSchool,activeRole,player,coach},injuries}

I have a bunch of shield API queries setup in Postman and will see what they return (fingers crossed). I'm out of town right now but will be back home tomorrow to check on this.

Are you seeing players on multiple rosters in the v1 queries? I still have Hopkins on both Houston and Arizona with the shield query (and a dozen others with similar situation).
Also, the NFL.com injuries site (nfl.com/injuries) isn't showing anything. They should be showing injuries for the KC/HOU game by now.

I haven't noticed any issues with the rosters when I use the /v1/teams/{id} endpoint.
I only see DeAndre Hopkins on the Arizona roster: https://api.nfl.com/v1/teams/10043800-2020-6de2-d4a8-fc8cf0e8a3ad?fs={id,season,fullName,nickName,abbr,type,cityStateRegion,conference{abbr},division{abbr},roster{id,type,firstName,lastName,displayName,homeTown,college{id,name,type},highSchool,activeRole,player,coach},injuries}
Not listed for Houston: https://api.nfl.com/v1/teams/10042120-2020-b48b-be99-9b4c2ef7c3c0?fs={id,season,fullName,nickName,abbr,type,cityStateRegion,conference{abbr},division{abbr},roster{id,type,firstName,lastName,displayName,homeTown,college{id,name,type},highSchool,activeRole,player,coach},injuries}
I don't know what NFL is doing with injury status. there are nodes under each player as well as the team level, and no data in any of them.

I'm seeing injury data in the v1 team endpoint now. Not sure I found all of the injury status fields, but here's what I found:
https://api.nfl.com/v1/teams/10043700-2020-3696-5a83-d88a44306b38?fs={id,season,fullName,nickName,abbr,type,cityStateRegion,conference{abbr},division{abbr},roster{id,type,firstName,lastName,displayName,homeTown,college{id,name,type},highSchool,activeRole,player,coach},injuries{status,injuryStatus,practiceStatus,type,person{id,firstName,lastName,displayName,activeRole,player}}}

Some of us working on reddit game thread bots have a discord server for sports data. Feel free to join: https://discord.gg/XYtmNGW


chore change decimal literal toSql as plainString (#41809)

pick from master #41809
for example, 0 with decimal(38,4) will return 0.0000

run buildall

run feut


paths.d doesn't exist when macOS 10.12 is installed fresh

One odd change – possibly a bug – in Sierra is that the directory /etc/paths.d doesn't exist in clean installs of macOS Sierra. As a result, the postinstall script of the Mono installer package is unable to add mono to $PATH. Regardless of whether the upstream of this is a bug or an intended change, it's easy enough to work around by adding mkdir -p /etc/paths.d to the postinstall script.
See also: dotnet/core-setup#362

This was fixed in the Mono 4.6.1 release.


Fix dependency issue with DBM and Prat

A strange dependency issue between Prat, DBM, and Glass is preventing Glass from hiding the social, chat, and voice icons.

Unable to reproduce this. Might be a problem with the old architecture.


chore(release): 2.34.0

See CHANGELOG

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: ea6630a19458ab3fe2202cc8b0d6307cd1e0cbd0
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Update to z2jh 2.0.0

This better be done at some point in time, and one reason to do it is because it makes us compatible with k8s 1.25 and higher among other things.

Closes #1541
Enables resolving #1444 in a way like z2jh has done it

Since this may be relevant knowing about I pinged a lot of you who I guessed could be influenced.
Draft status of PR because of ...
[D 2022-10-10 14:15:14.238 JupyterHub app:2035] Loading roles into database
[I 2022-10-10 14:15:14.249 JupyterHub roles:173] Role jupyterhub-idle-culler added to database
[I 2022-10-10 14:15:14.251 JupyterHub app:1934] Not using allowed_users. Any authenticated user will be allowed.
[W 2022-10-10 14:15:14.264 JupyterHub app:2312] Service binder sets `admin: True`, which is deprecated in JupyterHub 2.0. You can assign now assign roles via `JupyterHub.load_roles` configuration. If you specify services in the admin role configuration, the Service admin flag will be ignored.
[I 2022-10-10 14:15:14.265 JupyterHub roles:238] Adding role admin for Service: binder
[E 2022-10-10 14:15:14.268 JupyterHub app:3297]
    Traceback (most recent call last):
      File "/usr/local/lib/python3.9/site-packages/jupyterhub/app.py", line 3294, in launch_instance_async
        await self.initialize(argv)
      File "/usr/local/lib/python3.9/site-packages/jupyterhub/app.py", line 2824, in initialize
        self.init_services()
      File "/usr/local/lib/python3.9/site-packages/jupyterhub/app.py", line 2338, in init_services
        setattr(service, key, value)
      File "/usr/local/lib/python3.9/site-packages/traitlets/traitlets.py", line 715, in __set__
        self.set(obj, value)
      File "/usr/local/lib/python3.9/site-packages/traitlets/traitlets.py", line 689, in set
        new_value = self._validate(obj, value)
      File "/usr/local/lib/python3.9/site-packages/traitlets/traitlets.py", line 723, in _validate
        value = self._cross_validate(obj, value)
      File "/usr/local/lib/python3.9/site-packages/traitlets/traitlets.py", line 729, in _cross_validate
        value = obj._trait_validators[self.name](obj, proposal)
      File "/usr/local/lib/python3.9/site-packages/traitlets/traitlets.py", line 1132, in __call__
        return self.func(*args, **kwargs)
      File "/usr/local/lib/python3.9/site-packages/jupyterhub/services/service.py", line 322, in _validate_client_id
        raise ValueError(
    ValueError: service  has oauth_client_id='binder-oauth-client-test'. Service oauth client ids must start with 'service-'

[D 2022-10-10 14:15:14.270 JupyterHub application:961] Exiting application: jupyterhub

And failures following trialing prefixing with service-. Feel free to push commits to resolve this!

JupyterHub logs of high relevance
[E 2022-10-10 14:34:49.702 JupyterHub auth:271] User <User(dummy 0/1 running)> not allowed to access JupyterHub service binder
[W 2022-10-10 14:34:49.703 JupyterHub web:[179](https://github.com/jupyterhub/binderhub/actions/runs/2987255039/jobs/4789548250#step:28:182)6] 403 GET /hub/api/oauth2/authorize?client_id=service-binder&redirect_uri=http%3A%2F%2F<IP_ADDRESS>%3A8585%2Foauth_callback&response_type=code&state=eyJ1dWlkIjogIjE2MmM1NzNjMDJmMDRlYmE4OGQ4ZjNiODM1NTZlZTM5IiwgIm5leHRfdXJsIjogIi8ifQ (::ffff:<IP_ADDRESS>): You do not have permission to access JupyterHub service binder

Additional log lines for more context
[I 2022-10-10 14:34:49.605 JupyterHub log:186] 302 GET /hub/api/oauth2/authorize?client_id=service-binder&redirect_uri=http%3A%2F%2F<IP_ADDRESS>%3A8585%2Foauth_callback&response_type=code&state=[secret] -> /hub/login?next=%2Fhub%2Fapi%2Foauth2%2Fauthorize%3Fclient_id%3Dservice-binder%26redirect_uri%3Dhttp%253A%252F%252F<IP_ADDRESS>%253A8585%252Foauth_callback%26response_type%3Dcode%26state%3DeyJ1dWlkIjogIjE2MmM1NzNjMDJmMDRlYmE4OGQ4ZjNiODM1NTZlZTM5IiwgIm5leHRfdXJsIjogIi8ifQ (@::ffff:<IP_ADDRESS>) 1.39ms
[I 2022-10-10 14:34:49.650 JupyterHub log:186] 200 GET /hub/login?next=%2Fhub%2Fapi%2Foauth2%2Fauthorize%3Fclient_id%3Dservice-binder%26redirect_uri%3Dhttp%253A%252F%252F<IP_ADDRESS>%253A8585%252Foauth_callback%26response_type%3Dcode%26state%3DeyJ1dWlkIjogIjE2MmM1NzNjMDJmMDRlYmE4OGQ4ZjNiODM1NTZlZTM5IiwgIm5leHRfdXJsIjogIi8ifQ (@::ffff:<IP_ADDRESS>) 33.09ms
[D 2022-10-10 14:34:49.662 JupyterHub roles:281] Assigning default role to User dummy
[I 2022-10-10 14:34:49.667 JupyterHub roles:238] Adding role user for User: dummy
[D 2022-10-10 14:34:49.672 JupyterHub roles:281] Assigning default role to User dummy
[D 2022-10-10 14:34:49.676 JupyterHub base:559] Setting cookie jupyterhub-session-id: {'httponly': True, 'path': '/'}
[D 2022-10-10 14:34:49.676 JupyterHub base:563] Setting cookie for dummy: jupyterhub-hub-login
[D 2022-10-10 14:34:49.676 JupyterHub base:559] Setting cookie jupyterhub-hub-login: {'httponly': True, 'path': '/hub/'}
[I 2022-10-10 14:34:49.677 JupyterHub base:810] User logged in: dummy
[I 2022-10-10 14:34:49.677 JupyterHub log:186] 302 POST /hub/login?next=%2Fhub%2Fapi%2Foauth2%2Fauthorize%3Fclient_id%3Dservice-binder%26redirect_uri%3Dhttp%253A%252F%252F<IP_ADDRESS>%253A8585%252Foauth_callback%26response_type%3Dcode%26state%3DeyJ1dWlkIjogIjE2MmM1NzNjMDJmMDRlYmE4OGQ4ZjNiODM1NTZlZTM5IiwgIm5leHRfdXJsIjogIi8ifQ -> /hub/api/oauth2/authorize?client_id=service-binder&redirect_uri=http%3A%2F%2F<IP_ADDRESS>%3A8585%2Foauth_callback&response_type=code&state=[secret] (dummy@::ffff:<IP_ADDRESS>) 18.70ms
[D 2022-10-10 14:34:49.690 JupyterHub base:275] Recording first activity for <User(dummy 0/1 running)>
[D 2022-10-10 14:34:49.694 JupyterHub provider:415] Validating client id service-binder
[D 2022-10-10 14:34:49.695 oauthlib.oauth2.rfc6749.grant_types.authorization_code authorization_code:363] Validating redirection uri http://<IP_ADDRESS>:8585/oauth_callback for client service-binder.
[D 2022-10-10 14:34:49.695 oauthlib.oauth2.rfc6749.grant_types.base base:230] Using provided redirect_uri http://<IP_ADDRESS>:8585/oauth_callback
[D 2022-10-10 14:34:49.700 JupyterHub provider:490] validate_redirect_uri: client_id=service-binder, redirect_uri=http://<IP_ADDRESS>:8585/oauth_callback
[D 2022-10-10 14:34:49.701 oauthlib.oauth2.rfc6749.grant_types.base base:171] Validating access to scopes ['access:services!service=binder', 'read:users:name!user', 'read:users:groups!user'] for client 'service-binder' (<OAuthClient(identifier='service-binder')>).
[D 2022-10-10 14:34:49.702 JupyterHub provider:614] Allowing request for scope(s) for service-binder:  read:users:groups!user,access:services!service=binder,read:users:name!user
[E 2022-10-10 14:34:49.702 JupyterHub auth:271] User <User(dummy 0/1 running)> not allowed to access JupyterHub service binder
[W 2022-10-10 14:34:49.703 JupyterHub web:[179](https://github.com/jupyterhub/binderhub/actions/runs/2987255039/jobs/4789548250#step:28:182)6] 403 GET /hub/api/oauth2/authorize?client_id=service-binder&redirect_uri=http%3A%2F%2F<IP_ADDRESS>%3A8585%2Foauth_callback&response_type=code&state=eyJ1dWlkIjogIjE2MmM1NzNjMDJmMDRlYmE4OGQ4ZjNiODM1NTZlZTM5IiwgIm5leHRfdXJsIjogIi8ifQ (::ffff:<IP_ADDRESS>): You do not have permission to access JupyterHub service binder

I think I've pinpointed the differences of relevance here.
The different outcome is determined in the GET webrequest handler for JupyterHub's /api/oauth2/authorize path, specifically this code segment from jupyterhub 3.0.0 and this code segment from jupyterhub 1.5.0.
In 3.0.0 we get User <User(dummy 0/1 running)> not allowed to access JupyterHub service binder, while in 1.5.0 we get Skipping oauth confirmation for <User(dummy 0/1 running)> accessing JupyterHub service binder. The JupyterHub registered service binder is configured with oauth_no_confirm: true, and that is why we observe the "Skipping oauth confirmation" message. Should we do that also for 3.0.0? If so, that logic maybe needs to be given higher priority in JupyterHub.
With z2jh 2.0.0 and JupyterHub 3.0.0
[I 2022-10-10 14:34:49.677 JupyterHub base:810] User logged in: dummy
[I 2022-10-10 14:34:49.677 JupyterHub log:186] 302 POST /hub/login?next=%2Fhub%2Fapi%2Foauth2%2Fauthorize%3Fclient_id%3Dservice-binder%26redirect_uri%3Dhttp%253A%252F%252F<IP_ADDRESS>%253A8585%252Foauth_callback%26response_type%3Dcode%26state%3DeyJ1dWlkIjogIjE2MmM1NzNjMDJmMDRlYmE4OGQ4ZjNiODM1NTZlZTM5IiwgIm5leHRfdXJsIjogIi8ifQ -> /hub/api/oauth2/authorize?client_id=service-binder&redirect_uri=http%3A%2F%2F<IP_ADDRESS>%3A8585%2Foauth_callback&response_type=code&state=[secret] (dummy@::ffff:<IP_ADDRESS>) 18.70ms
[D 2022-10-10 14:34:49.690 JupyterHub base:275] Recording first activity for <User(dummy 0/1 running)>
[D 2022-10-10 14:34:49.694 JupyterHub provider:415] Validating client id service-binder
[D 2022-10-10 14:34:49.695 oauthlib.oauth2.rfc6749.grant_types.authorization_code authorization_code:363] Validating redirection uri http://<IP_ADDRESS>:8585/oauth_callback for client service-binder.
[D 2022-10-10 14:34:49.695 oauthlib.oauth2.rfc6749.grant_types.base base:230] Using provided redirect_uri http://<IP_ADDRESS>:8585/oauth_callback
[D 2022-10-10 14:34:49.700 JupyterHub provider:490] validate_redirect_uri: client_id=service-binder, redirect_uri=http://<IP_ADDRESS>:8585/oauth_callback
[D 2022-10-10 14:34:49.701 oauthlib.oauth2.rfc6749.grant_types.base base:171] Validating access to scopes ['access:services!service=binder', 'read:users:name!user', 'read:users:groups!user'] for client 'service-binder' (<OAuthClient(identifier='service-binder')>).
[D 2022-10-10 14:34:49.702 JupyterHub provider:614] Allowing request for scope(s) for service-binder:  read:users:groups!user,access:services!service=binder,read:users:name!user
[E 2022-10-10 14:34:49.702 JupyterHub auth:271] User <User(dummy 0/1 running)> not allowed to access JupyterHub service binder
[W 2022-10-10 14:34:49.703 JupyterHub web:[179](https://github.com/jupyterhub/binderhub/actions/runs/2987255039/jobs/4789548250#step:28:182)6] 403 GET /hub/api/oauth2/authorize?client_id=service-binder&redirect_uri=http%3A%2F%2F<IP_ADDRESS>%3A8585%2Foauth_callback&response_type=code&state=eyJ1dWlkIjogIjE2MmM1NzNjMDJmMDRlYmE4OGQ4ZjNiODM1NTZlZTM5IiwgIm5leHRfdXJsIjogIi8ifQ (::ffff:<IP_ADDRESS>): You do not have permission to access JupyterHub service binder

With z2jh 1.2.0 and JupyterHub 1.5.0
[I 2022-10-12 10:31:27.419 JupyterHub base:762] User logged in: dummy
[I 2022-10-12 10:31:27.419 JupyterHub log:189] 302 POST /hub/login?next=%2Fhub%2Fapi%2Foauth2%2Fauthorize%3Fclient_id%3Dbinder-oauth-client-test%26redirect_uri%3Dhttp%253A%252F%252F<IP_ADDRESS>%253A8585%252Foauth_callback%26response_type%3Dcode%26state%3DeyJ1dWlkIjogIjZlYmM2YzgyZDk1ODQ2MjNhMmU4ZGNhOWFjYjJhNTg2IiwgIm5leHRfdXJsIjogIi8ifQ -> /hub/api/oauth2/authorize?client_id=binder-oauth-client-test&redirect_uri=http%3A%2F%2F<IP_ADDRESS>%3A8585%2Foauth_callback&response_type=code&state=[secret] (dummy@::ffff:<IP_ADDRESS>) 16.90ms
[D 2022-10-12 10:31:27.429 JupyterHub base:283] Recording first activity for <User(dummy 0/1 running)>
[D 2022-10-12 10:31:27.431 JupyterHub provider:409] Validating client id binder-oauth-client-test
[D 2022-10-12 10:31:27.437 JupyterHub provider:484] validate_redirect_uri: client_id=binder-oauth-client-test, redirect_uri=http://<IP_ADDRESS>:8585/oauth_callback
[D 2022-10-12 10:31:27.439 JupyterHub auth:252] Skipping oauth confirmation for <User(dummy 0/1 running)> accessing JupyterHub service binder
[D 2022-10-12 10:31:27.439 JupyterHub provider:409] Validating client id binder-oauth-client-test
[D 2022-10-12 10:31:27.440 JupyterHub provider:484] validate_redirect_uri: client_id=binder-oauth-client-test, redirect_uri=http://<IP_ADDRESS>:8585/oauth_callback
[D 2022-10-12 10:31:27.440 JupyterHub provider:231] Saving authorization code binder-oauth-client-test, uPo..., (), {}
[I 2022-10-12 10:31:27.444 JupyterHub log:189] 302 GET /hub/api/oauth2/authorize?client_id=binder-oauth-client-test&redirect_uri=http%3A%2F%2F<IP_ADDRESS>%3A8585%2Foauth_callback&response_type=code&state=[secret] -> http://<IP_ADDRESS>:8585/oauth_callback?code=[secret]&state=[secret] (dummy@::ffff:<IP_ADDRESS>) 15.75ms

:tada: wiee nice @minrk I see the tests passing with your changes!
Sorry for missing to bump the jupyterhub version, we even had a note about it... DOH!

I believe the missing bit is that users must be granted access to services explicitly via load_roles.
That's the
User <User(dummy 0/1 running)> not allowed to access JupyterHub service binder

message, which translates to "user dummy does not have scope access:services!binder." Granting users access to services via loadRoles should get past this step, at least. I added access:services to the user role.
JupyterHub in the binderhub image also needs to be updated to match, which I added as well.
The binder service also should not need to be admin, we should define Binder's own permissions in a role. It needs:

servers to read, start, and stop user servers
admin:users  (if not using auth)

It may make sense to define the role(s) dynamically in Python, because of the logic involved:

include admin:users if not using auth

Or we could define two roles statically in config, and then assign the role dynamically, depending on if auth is enabled.
Alternately, it could get no permissions at all in the auth case, and we could perform the launch requests with the user's own token. That might be better! It would mean specifying the permission servers!user in the services.binder.oauth_client_allowed_scopes config.

@minrk I opened https://github.com/jupyterhub/binderhub/issues/1553 to represent your comments suggestions on how to tighten the requested permissions needed.

Do we need to update repo2docker to match the JupyterHub bump?
https://github.com/jupyterhub/repo2docker/blob/d7be04efb590a2a1227614ccaf9b504ad9333470/repo2docker/buildpacks/conda/environment.yml#L11

Yepp, we need a new jupyterhub version for compatibility i think :/

I think we should make one last release before bumping it: https://github.com/jupyterhub/repo2docker/pull/1194


Can't eval big numbers

When I enter big numbers to get evaluated for example :
1111111111111111111111111111111111+1
the evaluator gets blocked and don't evaluate expression.

Possible duplicate of #114?

I checked the issue before posting I'm using big precision (128)  :
class ExpressionFactory {
    companion object {
        fun createWith(
            expression: String,
            mathContext: MathContext = MathContext(128,RoundingMode.UNNECESSARY)
        ): Expression {
            return Expression(expression.toText(), mathContext).addCustomOperations(mathContext)
        }
    }
}

I see. I can't check right now, but could you set the rounding mode to something different, like HALF_UP. And if that changes nothing, what are you doing in addCustomOperations?

I discovered the problem. the expression I give to eval is converted from Latex to text seems like the function I use for conversion is the reason why I have this problem.

What kind of pipeline do you have over there? Are you solving equations inside Latex documents?
Also you can close this issue on your own, if you're not familiar with that.

I'm currently building a calculator.
the expression I have is fully latex so I need to convert it to normal expression. The solution I used is to spam .replace either regex or normal String until I get the behavior I want. I know it's really not optimized and I need to solve it in another way but I didn't think that it was the reason I couldn't eval big numbers.
and yeah thanks I will close the issue. Thanks again for your great library and support.

My bad. well thank you both @uklimaschewski for creating this library and @RobertZenz for contributing.
Thanks for the suggestion. I will try mXparser.


Lack of license

Hi,
I consider using this library in commercial project, but I cannot find any note about how this library is licensed.
Could you please add information about license to the project so it is clear for me if I'm safe to freely use it in my project or not?
Thanks a lot!

Thank you very much!