ci(ios): add iOS github actions

Signed-off-by: pingkai<EMAIL_ADDRESS>

Codecov Report

Merging #306 into develop will decrease coverage by 3.86%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #306      +/-   ##
===========================================
- Coverage    66.32%   62.46%   -3.87%
===========================================
  Files          209      209
  Lines        11439    11439
===========================================
- Hits          7587     7145     -442
- Misses        3852     4294     +442

Impacted Files
Coverage Δ

framework/tests/dataSource/ipList.h
0.00% <0.00%> (-100.00%)
:arrow_down:

framework/tests/demuxer/demuxerUnitTest.cpp
0.00% <0.00%> (-100.00%)
:arrow_down:

framework/tests/decoder/decoderUnitTest.cpp
0.00% <0.00%> (-93.62%)
:arrow_down:

framework/tests/dataSource/dataSourceUnitTest.cpp
0.00% <0.00%> (-93.39%)
:arrow_down:

framework/tests/demuxer/demuxerUtils.cpp
0.00% <0.00%> (-76.00%)
:arrow_down:

framework/base/OptionOwner.h
33.33% <0.00%> (-66.67%)
:arrow_down:

framework/data_source/ffmpeg_data_source.cpp
7.50% <0.00%> (-57.50%)
:arrow_down:

framework/demuxer/AVBSF.cpp
23.07% <0.00%> (-45.06%)
:arrow_down:

framework/data_source/curl/CURLShareInstance.cpp
69.44% <0.00%> (-27.78%)
:arrow_down:

framework/data_source/curl/CURLConnection.cpp
55.81% <0.00%> (-11.34%)
:arrow_down:

... and 17 more

Continue to review full report at Codecov.

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


Docker Build for EDC Data-Plane with Hashicorp Vault fails (Release version 0.7.3.)

Describe the bug
When trying to build the docker image for the EDC Data-Plane with Hashicorp Vault in release version 0.7.3, a failure occurs (see below)
To Reproduce

clone the tractusx-edc project
git switch release/0.7.3
build docker image via commandline as described here

Expected behavior
The image build should finish without errors
Screenshots/Error Messages
Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':edc-dataplane:edc-dataplane-hashicorp-vault:shadowJar'.
> Could not resolve all dependencies for configuration ':edc-dataplane:edc-dataplane-hashicorp-vault:runtimeClasspath'.
   > Could not find org.eclipse.edc:control-plane-spi:0.7.1-SNAPSHOT.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/org/eclipse/edc/control-plane-spi/0.7.1-SNAPSHOT/maven-metadata.xml
       - https://repo.maven.apache.org/maven2/org/eclipse/edc/control-plane-spi/0.7.1-SNAPSHOT/control-plane-spi-0.7.1-SNAPSHOT.pom
       - file:/home/schrewe/.m2/repository/org/eclipse/edc/control-plane-spi/0.7.1-SNAPSHOT/maven-metadata.xml
       - file:/home/schrewe/.m2/repository/org/eclipse/edc/control-plane-spi/0.7.1-SNAPSHOT/control-plane-spi-0.7.1-SNAPSHOT.pom
       - https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/edc/control-plane-spi/0.7.1-SNAPSHOT/maven-metadata.xml
       - https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/edc/control-plane-spi/0.7.1-SNAPSHOT/control-plane-spi-0.7.1-SNAPSHOT.pom
     Required by:
         project :edc-dataplane:edc-dataplane-hashicorp-vault > project :edc-dataplane:edc-dataplane-base > org.eclipse.edc.azure:data-plane-azure-storage:0.7.1 > org.eclipse.edc.azure:azure-blob-core:0.7.1

* Try:
> The project declares repositories, effectively ignoring the repositories you have declared in the settings.
   You can figure out how project repositories are declared by configuring your build to fail on project repositories.
   For more information, please refer to https://docs.gradle.org/8.5/userguide/declaring_repositories.html#sub:fail_build_on_project_repositories in the Gradle documentation.
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 24s

Context Information

Used tx-version: release/0.7.3
OS: Ubuntu 22.04.5 LTS
Docker Version: 27.2.1, build 9e34c9b
java --version: java 21.0.3 2024-04-16 LTS
Java(TM) SE Runtime Environment (build 21.0.3+7-LTS-152)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.3+7-LTS-152, mixed mode, sharing)

0.7.3 has already been patched to 0.7.4 and 0.7.5, please use the latter and everything should be ok

I just tried the bugfix/0.7.4 and bugfix 0.7.5.
The docker image builds are indeed working under these versions. But when running these images in my test environment, there are other problems.
My test environment has been running stable with the 0.7.3 versions of the tx-edc connector, using the images on dockerhub.
My intention is now, to customize the 0.7.3 version with two self-created extensions (one on the control plane and the data-plane each)
On the control plane side, that worked already quite well, i.e. I added my own control plane extension to the build.gradle, built it and used it in my test environment.
So I would really appreciate it, if I could do the same with the 0.7.3 version of the dataplane.
I already saw, that the build.gradle of the above mentioned data-plane has not changed from version 0.7.3. to 0.74 or 0.7.5
I would be really grateful, if you could perhaps give me some hints, how I could fix the 0.7.3 version on my own....
Thanks in advance!
Best regards
Ernst

the issue in 0.7.3 cannot be fixed easily, the issue was that it relied on EDC (upstream modules) 0.7.1 that unfortunately had an issue in the released artifact that some of them were dependent to a snapshot version (as you can see from the error you got by gradle: 0.7.1-SNAPSHOT). The solution was to re-release EDC upstream to 0.7.2 (with some additional fixed).
You could just try to update upstream edc to 0.7.2 and see if that works.
But, really, just upgrade to the new bugfix version (0.7.5), never trust older versions that are bugged anyway.

we cannot re-release a version that was already published. 0.7.4 and 0.7.5 only contain incremental fixes (no new features), so updating should be no problem.
If you encounter bugs with 0.7.5 please report them in the proper channels.
It is the Tractus-X EDC Team's recommendation to upgrade to 0.7.5.
If you want to somehow "customize" (= hack) an earlier version of the data plane image, that is your prerogative, but be advised that you are on your own. You will receive no support for this, nor will we provide any recommendations.
From my perspective, this issue is resolved, and I will thus close it.

the issue in 0.7.3 cannot be fixed easily, the issue was that it relied on EDC (upstream modules) 0.7.1 that unfortunately had an issue in the released artifact that some of them were dependent to a snapshot version (as you can see from the error you got by gradle: 0.7.1-SNAPSHOT). The solution was to re-release EDC upstream to 0.7.2 (with some additional fixes). You could just try to update upstream edc to 0.7.2 and see if that works.
But, really, just upgrade to the new bugfix version (0.7.5), never trust older versions that are bugged anyway.

I set the upstream to 0.7.2 and it seems to work as I hoped, thanks very much @ndr-brt  :)

We cannot re-release a version that was already published. That would also go against every software practice known to man. 0.7.4 and 0.7.5 only contain incremental fixes (no new features), so updating should be no problem.
If you encounter bugs with 0.7.5 please report them in the proper channels.
It is the Tractus-X EDC Team's recommendation to upgrade to 0.7.5.
If you want to somehow "customize" (= hack) an earlier version of the (already published) data plane image, that is your prerogative, but be advised that you are on your own. You will receive no support for this, nor will we provide any recommendations.
From my perspective, this issue is resolved, and I will thus close it.

I see ... thank you for taking the time to respond anyways ...

I set the upstream to 0.7.2 and it seems to work as I hoped, thanks very much @ndr-brt :)

You are intentionally creating technical debt. We explicitly advise against doing that.


Show medication history in a calendar view

Hello, I started using the app to track and remember pills for a time-constrained treatment (only 15-20 days of pills), e.g. flu/sore throat related.
Now I should stop taking them and come back to take my regular supplements (like Vitamin D or other vitamins/minerals) but it seems the app doesn't consider time constrained treatments.

How can I stop reminders for the pills I don't have to take anymore? (I haven't found a Delete button in the reminders screen of every medicine) Should I remove the medicine completely?
I would like to keep notes about taken medicine, if I remove them from the list do they disappear also from the history?

Related to this....I think there should be an easier way to navigate history apart from Tabular View (maybe it's better to open another issue for this)

Thank you very much for your work! The app is really useful 💯 🤩

Hey estux, thanks a lot for your feedback.
You can delete reminders or medicines by swiping them to the left. So you can delete all reminders for a medicine if you want to keep it or maybe take it again at a later time.
The history will stay as it is no matter what you do with the medicines (renaming, changing colors, deleting etc.).
I am considering adding a calendar view where you can select days and see the medicine taken on that day - would that help or would you think this is an easier way of navigating instead of the tabular view?

Thanks for your fast reply!
I honestly didn't know I could delete reminders swiping left. Maybe adding some visual indications you could act with gestures or a first start guide could help with this.
Yes, calendar view (maybe together with list view ordered by day, like calendars app) could help a lot!
Thank you again, your app is great and was really needed in the open source world!

The calendar view should not only include past reminder events, but also show the future one (especially useful for cyclic reminders).


Update to 7.2pr2

Some (many) textures seem broken at the moment, I'll look into fixing that.

Already been updated behind the scenes, but I appreciate it!


User SOON amounts and staked status appear incorrectly.

Many users report incorrect or missing information on profile page despite active SOON staking status:
Example 1: https://soonaverse.com/member/0x111c9eadca33b552499466f231b6e4ed7848e50a
User has active stake but profile page shows zero.

Example 2:  SOON staking status shows a negative amount despite active stake

I am old mifer, they told me to got o github and I se my case my file is alreay there, so i ma not a tech guy, but please i need help
I stekd more than 15 k no idea where they are and i think also my builder rewards amountis not correct . Please what to do?


Add com.snowplowanalytics.snowplow.storage/postgresql_config/jsonschema/1-1-0

With nullable tunnelConfig object. https://github.com/snowplow/snowplow-rdb-loader/issues/22

Renamed ticket to reflect that this is revision bump, not addition (due password change)


dependencies update & adding a common style through activity theme

updated Android Support Library
added an option to use a common style for all stepper through a theme

Please update library version.


Cargo apk doesn't respect workspace default-members

Given a top-level Cargo.toml containing the a single value in the default-members key, then invoking cargo run will build and run that crate in place of the top-level crate.
[workspace]
members = ["foo", "bar"]
default-members = ["foo"]

Invoking cargo apk run currently tries to build and run the top-level crate (i.e. the workspace itself), which in my case doesn't actually contain any executables.
Is it possible for cargo apk to take note of default-members in the future?

I guess this is an issue for https://github.com/dvc94ch/cargo-subcommand/, if anyone feels like picking this up and implementing it :)

I guess this is an issue for https://github.com/dvc94ch/cargo-subcommand/, if anyone feels like picking this up and implementing it :)


Messes up the ordering of articles

M icroposts seem to mess up the ordering of the articles list passed to the templating engine. Use dates instead (which is sorted by date)?

hint here? https://stackoverflow.com/questions/18520046/how-can-i-control-the-order-of-pages-from-within-a-pelican-article-category


rops-design-improvements-ci-page-redesign

What and why?
As part of the rOps redesign, the add and view CI EQ selection page needed to be updated. This required the following:

Removal of the 'Link collection button' on the surveys page
Move the link collection functionality to the add CI EQ section with additional error handling.
Make alterations to the way selected CIs are shown when selected and unselected. Also including a tally
Update the button to redirect to the CE overview page when CIs are successfully added or removed. Includes additional error handling
Updated and moved tests

How to test?

Follow the instructions on the trello ticket to ensure that everything looks correct.
Run unit tests
Run acceptance tests.

Trello
https://trello.com/c/ELDnXWO2/2344-rops-design-improvements-ci-page-redesign
Jira
https://jira.ons.gov.uk/browse/RAS-266

/deploy scorfs

 rOps design improvements - CI page redesign

 rOps design improvements - CI page redesign

/deploy scorfs

/deploy scorfs

/deploy scorfs

/deploy scorfs

/deploy scorfs

/deploy scorfs

/deploy scorfs

/deploy harrisonj

/deploy harrisonj

/deploy scorfs


SwiftFormat warning message "SwiftFormat not installed, download from https://github.com/nicklockwood/SwiftFormat"

When running make test the following warning message was displayed.
[AlphaWallet] Running script Swift Format
⚠ SwiftFormat not installed, download from https://github.com/nicklockwood/SwiftFormat

The build phase in Xcode is
if which swiftformat >/dev/null; then
  #swiftformat .
    echo "warning: SwiftFormat is disable for now"
else
    echo "warning: SwiftFormat not installed, download from https://github.com/nicklockwood/SwiftFormat"
fi

which cannot detect the presence of swiftformat unless the pod file directory is included in the shell search path.
The SwiftFormat install page suggests:
"${PODS_ROOT}/SwiftFormat/CommandLineTool/swiftformat" "$SRCROOT"
However, this command changes a lot of files (over 1200). @hboon

@eviltofu would  you help check if this is still reproducible?

@eviltofu would you help check if this is still reproducible?

@hboon does not seem to be reproducible.

Thanks


On AWS, the workers should belong to a private subnet

This way the workers won't have any public IP

Note that: Instances in the Public subnet inside a VPC can send outbound traffic directly to the internet, whereas private subnet can’t. We can overcome the same by using a NETWORK ADDRESS TRANSLATION (NAT) gateway that resides in the public subnet.

https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-comparison.html

It looks like it is also possible now on OVH and Scaleway


release: provide sha256 checksums in machine readable format

Hi,
Correct me if I'm wrong, but it seems it's not possible to get the checksums of Go downloads without actually parsing a whole HTML page?
My expected behavior to download Go and it's checksum would be:
wget https://storage.googleapis.com/golang/go1.6.linux-amd64.tar.gz
wget https://storage.googleapis.com/golang/go1.6.linux-amd64.tar.gz.sha256sum

But the checksum is not there, the only place I can find it is hardcoded into the HTML of the download page (probably autogenerated during a build I assume).
I would like to do this download from a script and that's why manually copying the checksum is a bit tedious.
Here is an example of how it's possible to download and verify Dart's SDK download:
# Example of how to download and verify the Dart SDK
mkdir /tmp/download
cd /tmp/download
wget https://storage.googleapis.com/dart-archive/channels/stable/release/1.14.2/sdk/dartsdk-linux-x64-release.zip
wget https://storage.googleapis.com/dart-archive/channels/stable/release/1.14.2/sdk/dartsdk-linux-x64-release.zip.sha256sum
sha256sum -c dartsdk-linux-x64-release.zip.sha256sum
cd -

Would it be possible to add so that checksums are served up in the golang storage bucket?

This is somewhat related to #13220. Presumably some API to download the release binaries would also provide checksums for them.

CC @adg @broady

Would an API for golang.org/dl be sufficient? Perhaps some kind of JSON output?

You can get a CRC32 and MD5 hash through the Google Storage API:
https://www.googleapis.com/storage/v1/b/golang/o/go1.6.linux-amd64.tar.gz
No SHA hash, though.

We could just upload a .sha256 file alongside each binary, and then make the SHA256 on the downloads page be a link to that file.

Hi, thanks for all the replies.
I think a quick and easy solution would be:

Enable directory listing on the bucket (this effectively allows the user to parse out what versions are available)
Upload a .sha256 file alongside each binary as @adg suggested.

To get a better idea here is a sample of how I parse out Dart versions currently from their storage bucket:
$ STABLE_VERSIONS=$(gsutil ls gs://dart-archive/channels/stable/release/1.*/sdk/dartsdk-linux-x64-release.zip | sed 's|gs://dart-archive/channels/stable/release/||g' | sed  's|/sdk/dartsdk-linux-x64-release.zip||g')
$ echo $STABLE_VERSIONS

After you have that list it's easy to just add start and end strings for the final url's (if a sha256 upload exists). The start and end of url I think is okay to hardcode as they are unlikely to change and trivial to update.
Even better than the bucket listing would be a REST endpoint that simply returned the equivalent of $STABLE_VERSIONS above, that would indeed be convenient, it does not need to be that complicated, just a list of versions and the url pattern can be described on the download page.
As a reference, the manual SDK download page of Dart looks like this, the last section "Direct download URLs" is a nice adition I think (code for that page).

I made the bucket world-readable (so it can be listed) and the fix above modifies the release tool to upload a .sha256 file alongside each release binary.

Great Andrew, I tried listing the versions and it works great. For people wanting to listing versions, I provide some samples below.
Here is a sample of how to listing all Linux 64 bit releases (with raw gs:// urls):
gsutil ls gs://golang | grep "linux-amd64"

Here is a sample of parsing out stable release version numbers:
gsutil ls gs://golang | grep "linux-amd64" | sed 's|gs://golang/go||g' | sed  's|.linux-amd64.tar.gz||g' | grep -v "beta" | grep -v "rc"

Here is a sample of getting download links for all stable releases (https:// urls):
gsutil ls gs://golang | grep "linux-amd64" | sed 's|gs://golang/|https://storage.googleapis.com/golang/|g' | grep -v "beta" | grep -v "rc"

When the .sha256 files have been uploaded I think it's okay to close this issue, leaving it open until then. Thanks again for the quick replies and fixes.


added github actions workflow for find division by zero errors

#35
What is done:

added new workflow run to validate C code
added several steps to this workflow:

pull c2eo docker image
copy c2eo library for transpiled EO file compilation
run c2eo
removing goto from translated EO file
start Polystat check to find devision by zero
create an artifact with results

Right now we can't find zero division in C file. Looks like because of FaR weaknesses. The next step will be to find out why does it happened.

@yegor256 Could you please take a look and give some feedback?


Question, is common positive or negative from power supply?

Question, is common positive or negative from power supply?  If I understand correctly it does not matter since the values work either way?

If you're talking about the AC power supply, either wire is fine.  They are technically both positive and negative.

Yup, for AC.


Text emojis

@gdpelican This is a WIP for adding support for text emojis.

Admins can add text emojis as custom emojis (display is 80x20, so ideal image size is 160x40)
Admins can add text emojis to the list of allowed emojis using the qualifier ':text'
Users can select text emojis as a retort from a delineated list of text emojis in the retort picker
Users can select text emojis in the standard list of emojis when composing or editing a post (basically, I've attempted the route of supporting them as removing them entirely from the standard list is tricker)

Interested in your thoughts

Hey @angusmcleod ,
I'm not very interested in adding this particular set of features to retort, as it adds a decent amount of complexity, and isn't a feature that's offered by most things of this ilk (Slack, Facebook, Discourse itself, etc...)
The workaround I'd suggest for your client is to design an image (which can have text in it) of the size, font and shape they'd prefer, then use the css suggested here to overcome the 20px square size limitations of emojis. These custom emojis would be useable in the existing 'limited emoji set' as well, if that's what they're looking to use.


local dev optional env var to lengthen polling interval for cleaner network debugging

Is your feature request related to a problem? Please describe.
While developing locally, I often get frustrated trying to look at network requests in the browser dev tools because there are so many, given our frequent polling interval for notifications, me, etc. Usually I'm looking for a certain request, but since all URLs are /api/graphql, you can't easily filter the network requests.
Describe the solution you'd like
Supporting an optional env var(s) like NOTES_POLLING_INTERVAL, ME_POLLING_INTERVAL that are only honored in local dev would be an easy way to improve this developer experience without risking accidentally changing how this polling works in prod.
Describe alternatives you've considered
In the past, I've often modified the polling interval in code, and just carried around an unstaged change to solve this problem. That isn't the cleanest approach, and is also prone to accidentally checking in an unwanted change.
Additional context
N/A
I am posing this question/enhancement suggestion to see if it would be useful to others. If we think it's not useful, I'll squash the idea. Open to feedback :)

I often get frustrated trying to look at network requests in the browser dev tools because there are so many

Same here!

In the past, I've often modified the polling interval in code, and just carried around an unstaged change to solve this problem.

I started to live with simply stopping recording network requests except when I want to and then immediately stop to make the search space smaller, lol.
But having the poll interval in an env variable as you suggest would decrease the amount of magic numbers we use and allow different configs for local dev.
I support this ticket.

I think the better solution would be to make it mandatory but set a default in .env.sample. Would be more straightforward than different code running in prod vs dev

I agree, I like this better for minimizing diff between dev and prod. Good idea.

I support this ticket.

Hooray!

It's one of those tickets where I got so used to my workflow that I don't think about improvements anymore :)

Here's a list of all the polling intervals I've found in the UI:

block height: 30000
fee button: 1000
footer rewards: 60000
invoice: 1000
lightning auth: 1000
me: 1000
price: 30000
sub select: 300000
has new notes: 30000
full invoice: 1000
rewards page: 1000
ln qr withdrawal from wallet page: 1000
ln withdrawal from withdrawal page: 1000

Only some of these are targets of my original intent for this ticket, like me and has new notes. But, for consistency, we could move all of them to env vars.
Also, I think it might be nice to consolidate them in the existing constants file, as well. So really, this would entail:

Define a constant for each of these polling intervals in lib/constants.js
Source the value for each of these constants from the corresponding env var

Thoughts?

Maybe we can have QUICK_POLL, NORMAL_POLL and LONG_POLL. I see a lot of duplicate values. It's also closer to intent: we care about how fast we poll, not about what we poll

What is the process to introduce new env variables such that they are made available in production. Does it use .env.sample as a baseline? For some reason I was thinking it was only used on local dev, but I don't see anything else in the repo related to exposing env vars for production.

I think @huumn manages the environment in prod via AWS Copilot. So every new env var has to be set once.
I think this means it makes sense to add another check in the PR template checklist for this:

[ ] new environment variables added?

I can do that in my PR for this issue if you like.

Can confirm, I add new env vars manually. Sometimes in copilot. Sometimes in elasticbeanstalk.


feat(ui): add --host option

$ vue ui --host <IP_ADDRESS>
🚀  Starting GUI...
🌠  Ready on http://localhost:8000

Currently vue ui can not connect from outside. This is because it is bound to localhost.
In this Pull Request, an option is added so that it can be changed to host other than localhost.

Unfortunately, if graphql versions do not match, you get an error :cry:

Thanks for the PR! Could you remove the unrelated dependency changes from it please? Thanks!

done!

rebased

It's best to change -h to -H, because -h is use for  -h, --help         output usage information
option('-h, --host <host>', 'Host used for the UI server (default: localhost)')


[Wyscout v3] Use publicly available wyscout v3 event data

Update the test raw events file to contain the actual events of a real match, found at: https://footballdata.wyscout.com/wp-content/uploads/2021/01/V3Events.txt, instead of a dummy file and update the tests accordingly.

Can you resolve merge conflicts please?

So many merges so another one. Sorry

resolved the conflicts


reports are truncated

I run urcli certs and I get the start of the report, but it doesn't show the whole thing.
see my attached screen.
It shows me 2 projects, but in reality I have 8(ish) that I'm certified for.
Also I get similar behavior for urcli revenue , part of the report shows up -- but not all of it.  Sometimes I can get around that one by resizing my window and making it really big.
How can the urcli team reproduce the problem?
I'm not sure you can...

supporting information:

[ x] node -v prints:
6.0.0
[x ] urcli -V prints:
4.0.8
[x ] Windows, OS X/macOS, or Linux?:
os X 10.12.6

Hi, @giladgressel. Thanks for reporting. Let me try to understand it. How many projects should be showing on the certs table?
Also, could you update to the last version and test it?

sure I'll update, hang on, will do updates on node and urcli

Could you check if the file .urcli/config.json in your home directory contains just these two projects or if it has all of them?

it's got all of them
9 total

Looks like it might be an issue with the terminal. You could try installing iTerm2 to check if that fixes the problem: https://www.iterm2.com/.

sigh, unfortunately it's not a terminal problem.  iterm2 has the exact same behavior 😞

Yeah, I'm stumped. Could you try upgrading node? Looks like you are on 6.0.0. That might be the issue. You should probably upgrade to version 8, but at least version v6.11.2.

HEY!
brew upgrade node  got me to version 8 and it's fixed!
nice
WOW it even fixed my esc key problem from way back when.!

Awesome! Glad to hear it.


macho: require codesign! call to be done explicitly.

As explained in https://github.com/Homebrew/brew/pull/9040#issuecomment-723888003 I think it's more desirable to have the codesign! calls happen inside Homebrew/brew instead of inside macho/tools methods.
This makes it easier for Homebrew to turn this functionality on/off, change what platforms are affected, etc. without needing to tag and vendor a new release each time.

Thanks both!

I'll cut another release this evening 🙂

@woodruffw Yes, a new release would be nice so work on https://github.com/Homebrew/brew/pull/9040 can continue.

Opened and will merge #288 with the release momentarily.


fix of bug corrupting array argument to some TriMesh methods

Codecov Report
Patch coverage: 100.00% and project coverage change: -0.02 :warning:

Comparison is base (0a399fd) 80.82% compared to head (c06d937) 80.81%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #711      +/-   ##
==========================================
- Coverage   80.82%   80.81%   -0.02%
==========================================
  Files         189      189
  Lines       32231    32192      -39
==========================================
- Hits        26051    26016      -35
+ Misses       6180     6176       -4

Impacted Files
Coverage Δ

resqpy/surface/_tri_mesh.py
83.77% <100.00%> (ø)

... and 28 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Fix Lanelet Utilities Bug

Transferred from GitLab. See original PR for details:
https://gitlab.com/autowarefoundation/autoware.ai/common/-/merge_requests/89

/assign @mitsudome-r


Asar.js error with module

Tried to test with the latest atom-shell with this module and added a code var jazz = require('jazz-midi');
https://www.npmjs.com/package/jazz-midi
I get an error
c:\Users\joe\Desktop\atom-shell-win32-ia32\resources\atom\common\lib\asar.js:422 Uncaught Error: %1 is not a valid Win32 application.
c:\Users\joe\Desktop\atom-shell-win32-ia32\node_modules\jazz-midi\bin\win32\jazz.node

It seems there is a bug in asar.js or Jazz problem?

You have to follow the tutorial to install native Node modules.


cockroach demo now supports --listening-url-file

Closes https://github.com/cockroachdb/docs/issues/11528

This change is


Docusaurus V3 upgrade with restructuring the menu

Description

Docusaurus V3 upgrade with Restructuring the menu
Related Issues

Checklist

[ ] Is this code covered by new or existing unit tests or integration tests?
[ ] Did you run make test successfully?
[ ] Do new classes, functions, methods and parameters all have docstrings?
[ ] Were existing docstrings updated, if necessary?
[ ] Was external documentation updated, if necessary?

Additional Notes or Comments

Codecov Report
Attention: 177 lines in your changes are missing coverage. Please review.

Comparison is base (34830a7) 80.33% compared to head (1484bd6) 79.14%.
 Consider uploading reports for the commit 36b376b to get more accurate results

Files
Patch %
Lines

superduperdb/components/stack.py
0.00%
65 Missing :warning:

superduperdb/backends/ibis/query.py
74.05%
41 Missing :warning:

superduperdb/backends/mongodb/query.py
83.33%
10 Missing :warning:

superduperdb/base/datalayer.py
76.19%
10 Missing :warning:

superduperdb/cli/stack.py
0.00%
9 Missing :warning:

superduperdb/backends/sqlalchemy/metadata.py
46.66%
8 Missing :warning:

superduperdb/cdc/cdc.py
64.70%
6 Missing :warning:

superduperdb/cli/serve.py
40.00%
6 Missing :warning:

superduperdb/base/build.py
71.42%
4 Missing :warning:

superduperdb/backends/base/query.py
85.00%
3 Missing :warning:

... and 9 more

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1350      +/-   ##
==========================================
- Coverage   80.33%   79.14%   -1.20%
==========================================
  Files          95      100       +5
  Lines        6602     7207     +605
==========================================
+ Hits         5304     5704     +400
- Misses       1298     1503     +205

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Properly ensure no 2 game hosts may exist at the same time.

We may want this to be optional for certain unit tests (e.g. IPC), but in the general case we should be making sure.

Why?

Because we rely on the fact that only one game host exists when doing performance counting via FrameStatistics. I don't think it's a good idea to pass a reference to the host to almost every component of the game that might want to increment performance counters, and I also don't think there is ever a good reason to have 2 game hosts within the same application domain except for unit tests where we want to not start 2 applications for convenience. We may be able to use AppDomain, though, in such unit tests.

Do you have anything against my idea of passing the relevant Host instance into FrameStatistics rather than making BasicGameHost static (which I'm still mostly against)?

I think that's actually the best idea so far. That way we're keeping a high amount of encapsulation.

i think public BasicGameHost Target; would work well

How would that help? I was thinking more along the lines of
public static BasicGameHost Target { set; private get; }

static, yes!


Remove version: Pidgin.Pidgin version 2.14.1

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/pidgin/files/Pidgin/2.14.1/pidgin-2.14.1.exe/download
Status Code: 200
(Automated message - build 896)

Close with reason: Package still available.;


Kryo serialization fails when the service is both a provider and a consumer（Help  Help!!!!）

[ ] I have searched the issues of this repository and believe that this is not a duplicate.
[ ] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.6.2
Operating System version:Red Hat Enterprise Linux Server release 6.6 (Santiago)
Java version: 1.8

Step to reproduce this issue
The execution method is as follows:

mvn install all the project.

testissue2116\summary-server  run   TestSummaryServer   to start summary-server service

testissue2116\dubbo-kryo-server run TestServer to start dubbo-kryo-server service

testissue2116\dubbo-kryo-client run SimpleClient to call dubbo-kryo-server

Pls. provide [GitHub address] to reproduce this issue.
git@github.com:llx206/testKryo.git
Expected Result
What do you expected from the above steps？
Actual Result
What is actually happen?
If there is an exception, please attach the exception trace:

Just put your stack trace here!

I found the problem to be the case when serializing using the kryo protocol. The above exception occurs when the service is both a provider and a consumer. Please help me to see it, thank you very much!

step2. is not necessary, the key is there are two optimizers are registered on step3, one for provider and the other for consumer. I will look into it.

建议你还是升级dubbo吧，因为在2.6.1版本中，创建KryoObjectInput这个的Kryo对象会把SerializableClassRegistry里的registrations里采用的是Set集合来缓存类，全都注册进Kryo对象中，所以导致在DefaultClassResolver里的idToRegistration无法和客户端idToRegistration无法对齐。
在2.6.3里采用registrations用了Map<>来缓存类 了。

非常感谢，我试一下看看！
在 2018-09-05 02:10:57，"Muxin"<EMAIL_ADDRESS>写道：
建议你还是升级dubbo吧，因为在2.6.1版本中，创建KryoObjectInput这个的Kryo对象会把SerializableClassRegistry里的registrations里采用的是Set集合来缓存类，全都注册进Kryo对象中，所以导致在DefaultClassResolver里的idToRegistration无法和客户端idToRegistration无法对齐。
在2.6.3里采用registrations用了Map<>来缓存类 了。
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@ZhuoSiChen ，升级到2.6.3后，使用kryo序列化协议，客户端调用还是会出现
，请帮忙看下吧，多谢！

能否给个github 的demo我本地运行下。

@ZhuoSiChen ,gitHub地址：https://github.com/llx206/testKryo
操作步骤见最开始处：https://github.com/apache/incubator-dubbo/issues/2179#issue-347287850
大神帮忙看下是什么问题吧，非常感谢！！！

When serializing kryo in my project, the consumer call will also report an error.
No provider available for the service com.lewanwuxian.service.AccountService:1.0 from registry <IP_ADDRESS>:2181 on the consumer <IP_ADDRESS> using the dubbo version 2.6.3. Please check if the providers have been started and registered.
My provider and consumer version of dubbo is 2.6.3.

[ ]  I have searched the issues of this repository and believe that this is not a duplicate.
[ ]  I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.6.2
Operating System version:Red Hat Enterprise Linux Server release 6.6 (Santiago)
Java version: 1.8

Step to reproduce this issue
The execution method is as follows:

mvn install all the project.
testissue2116\summary-server  run   TestSummaryServer   to start summary-server service

testissue2116\dubbo-kryo-server run TestServer to start dubbo-kryo-server service

testissue2116\dubbo-kryo-client run SimpleClient to call dubbo-kryo-server

Pls. provide [GitHub address] to reproduce this issue.
git@github.com:llx206/testKryo.git
Expected Result
What do you expected from the above steps？
Actual Result
What is actually happen?
If there is an exception, please attach the exception trace:

Just put your stack trace here!

I found the problem to be the case when serializing using the kryo protocol. The above exception occurs when the service is both a provider and a consumer. Please help me to see it, thank you very much!


Nginx proxy manager

Hi I am having issues running synclounge/synclounge:5.1.113 docker container and setting up a reverse proxy using nginx reverse proxy manager.
I can't seem to get it to link. I have reverse proxies setup for other services just fine and they work outside my network but synclounge seems to be the outlier that doesn't work with the same settings. Going to my synclounge reverse proxy URL just brings me to the Nginx default page.
I have tried checking/asking discord, looking at the docs and searching around issues but I can't find any info if anyone else is experiencing this issue.

Well I fixed it. I guess complaining about it fixed it.
Although I think the real solution is check if no VPNs are on and try a private browsing window.


Support audio-only calls

In some cases people don't want to do video chat but perhaps want to do audio chat - we could allow audio-only calls and present some ball-of-light type avatar to represent their presence.

The real issue here is that if a user doesn't share their webcam, everything breaks with no explanation.  This has screwed up a few of my demos.  At least warning when this happens would be good - better would be to go the full hog and support audio calls.

I have a small modification to the matrix-js-sdk that enables receiving audio and video even if gUM returns a MediaStream with only an audio track. This will allow users who do not have a camera to invite people to / answer video calls while only sending audio themselves. Application UI/UX may need work (and indeed I'll have to do something to make it work well in VR.)
If a user has a camera, or has one embedded in their device however, they will need to explicitly not request video from gUM while still requesting to receive audio/video when creating their offer / answer. I have also implemented the necessary machinery in the JS SDK locally to do this but would need to hook it up to some user input in the VR demo to choose whether to make a call with audio and video, or only audio.

the important scenarios are: the user has no webcam, or the user has a webcam but explicitly denies it access to the site.
the user who has a camera but wants to do a recv-only video call without being prompted for permission to use the webcam is an edge case we don't care that much about.
hope this helps :S

OK. I'll push up those changes on top of the branch we have against the JS SDK and bump the commit used in package.json. Thanks.

What remains to be done for this is to make sure the audio-only case is presented sensibly in the UI.

The left-side is Chrome configured to disallow camera access to any page and so it only offers to send audio but receive audio/video. The right-side is Firefox Dev Edition (54 currently - aurora channel IIRC) sending audio/video and receiving only audio. I have checked and that is actually what is happening.
It seems that on the left side the loadedmetadata on the remote video element has fired, which made the call become active, which triggered the rendering of the video planes in the ConferenceView. The local camera view is black because camera access is disallowed. We can either present a black plane or present something else.
The loadedmetadata event has not been fired on the right side however so it seems it is not fired for audio only streams on a video element.
I wrangled a bit with the internals of MatrixCall to try to get it to assign the audio stream to the remote video element but the various things I had time to try today seemed to degrade the experience from where it is. More next week.

i think the solution here is probably to split audio & video paths into entirely separate <audio/> and <video/> elements (which is something I had to do in riot-web at some point, to let the video element bounce around the DOM without interrupting audio).

They already are on separate paths. There's a weird cross-over if the remote stream contains only audio tracks where the type gets switched to voice. If you then haven't set any remote audio element, other code paths based on the call type break a bit. I'm looking into more solutions.

Fixed in:

https://github.com/matrix-org/matrix-js-sdk/commits/rob/audio-only-video
#55

Now looks like:


Counter for number of improvements done

This counter is added to aid with evaluating the rate at which improvements are
being made to implementations. This might be useful for determining speed-up improvements for Cozy.
Right now it is incremented every time step #1 of the
improve loop finishes.

squash your changes and address conflicts when you feel ready


Fix error in struct example

The current struct example is not valid because the fmt.Println functions are misspelled (fmt.PrintLn). In addition to that, the file should definitely be reformatted.

I can fix errors in example

Hi! Regarding this problem there is already pull request #20, but thanks for your commitment.

Pull request #20 was merged into the master branch. Therefore, this issue is resolved and can be closed.


Add myself to the contributors list

Addresses https://github.com/darribas/contextily/issues/1#issuecomment-250388432
Thanks @darribas!

Coverage remained the same at 91.765% when pulling 6eb69b2f572a426cf0e5ed006260c3e950b17172 on ocefpaf:add_contrib into c221c530f44a99a3834db978a07580be747dca5e on darribas:master.


export X as Y syntax

Currently export tostring = -> compiles to:
local _module_0 = { }
local tostring
tostring = function() end
_module_0["tostring"] = tostring
return _module_0

The problem is it shadows the global tostring function.
I propose adding syntax export tostring as my_tostring = -> which will compile to:
local _module_0 = { }
local my_tostring
my_tostring = function() end
_module_0["tostring"] = my_tostring
return _module_0

This way I can export the custom functions in modules which may have the same names as global variables.

why not do something like:
my_tostring = ->
  "string"

export default {
    tostring: my_tostring
}

That's just a proposal. There is a import X as Y syntax, why not have something similar for export.

Or you may prevent shadowing global variables by place the export statement in last lines of the file?
my_tostring = ->
  "string"

print tostring 123

export tostring = my_tostring


build.sh fails with RUNTIME ERROR: couldn't open import "kube-prometheus/main.libsonnet"

What happened?
Using the v0.7.0 release I'm not longer able to use the build.sh script. Attempting to build against any jsonnet file results in the following error:
root@prod-k8s-master-01:/opt/kube-prometheus/ingress# ../build.sh ingress.jsonnet
+ set -o pipefail
++ pwd
+ PATH=/opt/kube-prometheus/ingress/tmp/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/root/go/bin
+ rm -rf manifests
+ mkdir -p manifests/setup
+ jsonnet -J vendor -m manifests ingress.jsonnet
+ xargs '-I{}' sh -c 'cat {} | gojsontoyaml > {}.yaml' -- '{}'
RUNTIME ERROR: couldn't open import "kube-prometheus/main.libsonnet": no match locally or in the Jsonnet library paths
        ingress.jsonnet:17:4-43 thunk <kp> from <$>
        ingress.jsonnet:118:70-72
        <std>:1383:24-25        thunk from <function <anonymous>>
        <std>:1383:5-33 function <anonymous>
        ingress.jsonnet:118:53-81       $
        ingress.jsonnet:118:1-83
        ingress.jsonnet:118:1-83
        During evaluation

How to reproduce it?
Seems that any attempt to build manifests is failing at this point.
Environment
Kubernetes 1.19.5
kube-prometheus v0.7.0 (due to refactor work warning)

Seems like you are still trying to use master instead of release-0.7. Maybe some dependency is pinned to master?

Closing as I believe this is the same issue as #902 (downloaded master version either directly or via some dependency). If you think this issue is different please reopen.


Allow height of inline image to be set to line height

Allow the height of an inline image to be set to the line height (or some multiple of it, such as 1.5). This is often a lot simpler than trying to figure out which width to use.
Since we prefer to control image size by width, let's just use something like the fit attribute to control this, similar to what we do for the running content.
Support fit=contain and fit=scale-down. The former forces the height to match the line height. The latter only reduces the height to fit the line height.

I think what makes most sense is fit=line. It's not standard, but really the only value that makes sense in this context.


migrate to node-canvas-prebuilt

https://github.com/node-gfx/node-canvas-prebuilt

Good idea, could you propose a pull request?

Because of this https://github.com/node-gfx/node-canvas-prebuilt/issues/15<EMAIL_ADDRESS>can not be used for now.


Use kernel-slim OL images for outer loop deployments

Signed-off-by: Scott Kurz<EMAIL_ADDRESS>Fixes #31

Merging without approval


Question: how to best represent interdependent record members?

Is there an idiomatic way to create a record primitive/generator situation where one of the member's values is dependent on another member value.
For example, let's say I have a record that looks like this:
jsc.record({ n: jsc.nat(100) })

I want to add another member b that is:

a boolean
false if n is less than 50
true if n is greater than or equal to 50

Here's a more complex example.  Let's assume the same record as above.  But this time I want to add another member s that is:

jsc.nestring if n is less than 50
jsc.constant(null) if n is greater than or equal to 50

I know I can wrap the generation of these in a function or a custom generator, but as the number of these types of conditional members grows, it becomes unwieldy to write generators that way.  Is there a more idiomatic way to do this?  I was looking at jsc.suchthat, but I'm not sure if that's what I'm looking for.

@JayAndCatchFire
Regarding your first example, that is a mapping of a generator where the b prop is entirely dependent on the a prop. The high-level tool for this is smap:
.smap(f: a -> b, g: b -> a, newShow: (b -> string)?): arbitrary b

const recWithBool =
    jsc.record({ n: jsc.nat(100) })
    .smap(
        ({ n }) => ({ n, b: n < 50 }), // f: a -> b
        ({ n, b }) => ({ n }) // g: b -> a
    )

(Note that you don't actually have to explicitly destructure the b prop in the g function param above; I included it there to make it more obvious that we are "removing" the b.)

Your second example is significantly harder. You want an arbitrary value which depends on the results of other arbitrary values. Sequencing/chaining like this is what monad flatmap is for, but jsverify only provides flatmap for generators – not full arbitraries. That means you need to figure out the logic for your shrink manually.
.flatmap(f: a -> generator b): generator b

For the example you give of adding an s that is a either an nestring or a constant(null), the generator part of the arbitrary would probably look something close to this (note I haven't tested this code, very possible there are errors especially w.r.t. JSVerify's namespacing / API method organization):
const customArb = jsc.bless({
    generator: recWithBool.generator.flatmap(
        ({ n, b }) => {
            const newGen = n < 50 ? jsc.nestring.generator : jsc.generator.constant(null)
            return newGen.flatmap(
                (s) => jsc.generator.constant({ n, b, s })
            )
        },
    ),
    shrink: jsc.shrink.bless(({ n, b, s }) => {/* ... implementation ... */})
})

Writing the shrink is a bunch more work on top of that, though you could probably use some more smap to handle it.


Add support for sending custom actions from cells

So we don't have to use delegate approach for cells.

Let me know what you think.

Just found out it works just that way, nevermind :)

Hi @zdenektopic
Yeah) It's already supported. I have to add it to the docs and update an example.

Also it would be great to add supporting method to ConfigurableCell so you don't have to create TableCellAction object yourself and call invoke on it every time.

@zdenektopic good idea! I'll consider this improvement for a next release.
Thank you!

btw, userInfo in TableCellAction is still in progress.


data.cfg file

@allanglen Would you be willing to share your data config file for reference? I cannot figure out how to adjust the TAS indicator with the encoder. I did get it moving erratically with the "laminar/c172/knob_TAS" custom ref, but not correctly. Did you get yours to move correctly?

Did you get the 7 segment transponder to work? Mine comes up all 8s

@mccluress I'm using saitek radios, so I don't really have that issue.

Hello allanglen
. I'm asking for help
I am a computer engineer from Iran. I want to create a 172 Sesena simulator.
If you start from start to build.
I need your help. Thanks
<EMAIL_ADDRESS>00989156957768
afshin zabihi moghadam

Apologies for the very slow response on this. I have moved and all of my equipment and the simulator are currently in storage.
I didn't have any problems with the encoder moving erratically but that may depend on which version or ArdSimX you are using as there have been several changes to how encoder acceleration and smoothing are handled.

So for erratic encoder movement you need to add a 10k resistors to the 5v and signal wire on the multiplexer

So for erratic encoder movement you need to add a 10k resistors to the 5v and signal wire on the multiplexer

That really depends on your system, wire lengths, etc. For anyone reading this in the future, it's best just to read all the documentation on SimVim's website.


Misclassified language statistics

My project, Canvas, is a Laravel application primarily written in PHP. The GitHub statistics however show CSS as being 49% of the project even though I've manually vendored the files in question in .gitattributes. Is there something else I should be doing to show PHP as the primary language of the repository? Thanks!

Include these as vendored in your .gitattributes file too.
There're only three CSS files, but the combined weight of them is what's skewing the language stats.

I'd say the results might be cached... If you push an update to any of the vendored directories, it might force a refresh.
Otherwise, it should be excluded.

@Alhadis Thanks, I'll try and push an update to one of those directories and close this out as soon as the change happens.

Hm, still no changes when I push or try to force refresh GitHub's cache.

Hm, still no changes when I push or try to force refresh GitHub's cache.

This usually 'fixes' itself in < 24 hours. Let's wait this out a little longer 😄

@arfon Any idea why 24 hours would not have been enough to clear GitHub's statistics cache? Repo still showing CSS as the primary language when the specific files have been vendored.

We have a similar issue with this project, also a Laravel project. There are only three small JavaScript files but it is shown as 87%, also adding a *.js filter to .gitattributes doesn't seem to exclude the files from the statistics.

Ended up deleting the .gitattributes file, adding it again, and everything started working properly.

@Moberstein Only the .gitattributes on the master branch will impact statistics. And statistics are only computed for the master branch anyway.

Well, thanks! Didn't thought about that, updating the correct '.gitattributes' helped.

Adding *.sql linguist-detectable=true in .gitattributes solved this issue for me!


v4.9.1

@j0tunn, @sipayRT, @eGavr, @tormozz48, @DudaGod

ok

ok

Coverage decreased (-0.3%) to 83.333% when pulling 99ef842287da3b7459a0a674974d6cff9914cb7a on v4.9.1 into ec51ffffae23050c36599898a5ee82b7e2d3bb3f on master.

Coverage decreased (-0.3%) to 83.333% when pulling 99ef842287da3b7459a0a674974d6cff9914cb7a on v4.9.1 into ec51ffffae23050c36599898a5ee82b7e2d3bb3f on master.


feat(UserProfilePage): add home indicator(grey handler) on the top of user profile bottom sheet -UL-138

Description
Add home indicator(grey handler) on the top of user profile bottom sheet
https://user-images.githubusercontent.com/14248245/181079075-d2ff1d05-3795-4b93-8d60-538f96f3dcc3.mov
Please check this link for more detail of User profile page
https://deepspaceshipping.getoutline.com/share/6f8ef144-f8eb-4859-be28-e25f7f24edbf
Type of Change

[x] ✨ New feature (non-breaking change which adds functionality)

Works good! Only little thing I noticed was I can only view a persons profile if I am in the "blocked" list. Profile won't open if I try to view someone on my friends list. Is that intended?
https://user-images.githubusercontent.com/93608357/181262224-3888a2fd-60db-4aac-9bb6-bf19390b6264.mov

Works good! Only little thing I noticed was I can only view a persons profile if I am in the "blocked" list. Profile won't open if I try to view someone on my friends list. Is that intended?

Yes, right now I implement the user profile page only in the blocked list as an entry point to test how the user profile will look like. Because some designs(like friend list animation in the bottom sheet , how friend list navigate back to user profile) of this page haven't fully confirmed, it will change in the future, so currently I just make one entry point as an example to test current design.   If you want test the user profile of different user's state, you can go to 'blocked_page.dart' and temporary change(do not commit) the user  property to see different user profile page base on different scenarios.

Here is the original PR which shows how the user profile will look like in different scenarios.
https://github.com/Satellite-im/Uplink/pull/58

thanks for clarifying 🔨

Awesome, thank you!


EarthCoin Does not work

2015-02-13 06:31:16,685 [MonitorNetwork_EarthCoin] [ERROR] Block failed to submit to the server <IP_ADDRESS>:5121!
Traceback (most recent call last):
File "/home/crackers/www/pools/simple/simplecode/powerpool/powerpool/jobmanagers/monitor_network.py", line 180, in submit_block
res = conn.submitblock(block)
File "/home/crackers/www/pools/simple/simplecode/cryptokit1/cryptokit/rpc.py", line 194, in call
return self._get_response(response)
File "/home/crackers/www/pools/simple/simplecode/cryptokit1/cryptokit/rpc.py", line 222, in _get_response
raise CoinRPCException(response['error'])
CoinRPCException: Block decode failed
2015-02-13 06:31:16,685 [MonitorNetwork_EarthCoin] [ERROR] {u'message': u'Block decode failed', u'code': -22}
2015-02-13 06:31:16,688 [MonitorNetworkMulti_SWITCH-SHA256] [WARNING] Unable to grab profit info for FFC!
2015-02-13 06:31:16,689 [MonitorNetwork_EarthCoin] [ERROR] Block failed to submit to the server <IP_ADDRESS>:5121!
Traceback (most recent call last):
File "/home/crackers/www/pools/simple/simplecode/powerpool/powerpool/jobmanagers/monitor_network.py", line 190, in submit_block
res = conn.getblocktemplate(block)
File "/home/crackers/www/pools/simple/simplecode/cryptokit1/cryptokit/rpc.py", line 194, in call
return self._get_response(response)
File "/home/crackers/www/pools/simple/simplecode/cryptokit1/cryptokit/rpc.py", line 222, in _get_response
raise CoinRPCException(response['error'])
CoinRPCException: value is type str, expected obj
2015-02-13 06:31:16,689 [MonitorNetwork_EarthCoin] [ERROR] {u'message': u'Invalid mode', u'code': -8}
2015-02-13 06:31:16,689 [MonitorNetwork_EarthCoin] [ERROR] Block failed to submit to the server <IP_ADDRESS>:5121, server returned failed!
Traceback (most recent call last):
File "/home/crackers/www/pools/simple/simplecode/powerpool/powerpool/jobmanagers/monitor_network.py", line 190, in submit_block
res = conn.getblocktemplate(block)
File "/home/crackers/www/pools/simple/simplecode/cryptokit1/cryptokit/rpc.py", line 194, in call
return self._get_response(response)
File "/home/crackers/www/pools/simple/simplecode/cryptokit1/cryptokit/rpc.py", line 222, in _get_response
raise CoinRPCException(response['error'])
CoinRPCException: value is type str, expected obj
2015-02-13 06:31:16,893 [StratumServer_SHA256_STRAT] [INFO] VARDIFF: Moving to D128 from D256 on XtMVSeB6S89A7SBP4T2mz1nNpU732C6mfS.blizzen
2015-02-13 06:31:16,893 [StratumServer_SHA256_STRAT] [INFO] Pushing diff update 256 -> 128 before job for XtMVSeB6S89A7SBP4T2mz1nNpU732C6mfS.blizzen
2015-02-13 06:31:17,690 [MonitorNetwork_EarthCoin] [INFO] Retry 1 for connection <IP_ADDRESS>:5121
2015-02-13 06:31:17,692 [MonitorNetwork_EarthCoin] [ERROR] Block failed to submit to the server <IP_ADDRESS>:5121!
Traceback (most recent call last):
File "/home/crackers/www/pools/simple/simplecode/powerpool/powerpool/jobmanagers/monitor_network.py", line 180, in submit_block
res = conn.submitblock(block)
File "/home/crackers/www/pools/simple/simplecode/cryptokit1/cryptokit/rpc.py", line 194, in call
return self._get_response(response)
File "/home/crackers/www/pools/simple/simplecode/cryptokit1/cryptokit/rpc.py", line 222, in _get_response
raise CoinRPCException(response['error'])
CoinRPCException: Block decode failed
2015-02-13 06:31:17,692 [MonitorNetwork_EarthCoin] [ERROR] {u'message': u'Block decode failed', u'code': -22}
2015-02-13 06:31:17,695 [MonitorNetwork_EarthCoin] [ERROR] Block failed to submit to the server <IP_ADDRESS>:5121!
Traceback (most recent call last):
File "/home/crackers/www/pools/simple/simplecode/powerpool/powerpool/jobmanagers/monitor_network.py", line 190, in submit_block
res = conn.getblocktemplate(block)
File "/home/crackers/www/pools/simple/simplecode/cryptokit1/cryptokit/rpc.py", line 194, in call
return self._get_response(response)
File "/home/crackers/www/pools/simple/simplecode/cryptokit1/cryptokit/rpc.py", line 222, in _get_response
raise CoinRPCException(response['error'])
CoinRPCException: value is type str, expected obj
2015-02-13 06:31:17,695 [MonitorNetwork_EarthCoin] [ERROR] {u'message': u'Invalid mode', u'code': -8}
2015-02-13 06:31:17,695 [MonitorNetwork_EarthCoin] [ERROR] Block failed to submit to the server <IP_ADDRESS>:5121, server returned failed!
Traceback (most recent call last):
File "/home/crackers/www/pools/simple/simplecode/powerpool/powerpool/jobmanagers/monitor_network.py", line 190, in submit_block
res = conn.getblocktemplate(block)
File "/home/crackers/www/pools/simple/simplecode/cryptokit1/cryptokit/rpc.py", line 194, in call
return self._get_response(response)
File "/home/crackers/www/pools/simple/simplecode/cryptokit1/cryptokit/rpc.py", line 222, in _get_response
raise CoinRPCException(response['error'])
CoinRPCException: value is type str, expected obj
2015-02-13 06:31:18,695 [MonitorNetwork_EarthCoin] [INFO] Retry 2 for connection <IP_ADDRESS>:5121
2015-02-13 06:31:18,697 [MonitorNetwork_EarthCoin] [ERROR] Block failed to submit to the server <IP_ADDRESS>:5121!
Traceback (most recent call last):
File "/home/crackers/www/pools/simple/simplecode/powerpool/powerpool/jobmanagers/monitor_network.py", line 180, in submit_block
res = conn.submitblock(block)
File "/home/crackers/www/pools/simple/simplecode/cryptokit1/cryptokit/rpc.py", line 194, in call
return self._get_response(response)
File "/home/crackers/www/pools/simple/simplecode/cryptokit1/cryptokit/rpc.py", line 222, in _get_response
raise CoinRPCException(response['error'])
CoinRPCException: Block decode failed
2015-02-13 06:31:18,697 [MonitorNetwork_EarthCoin] [ERROR] {u'message': u'Block decode failed', u'code': -22}
2015-02-13 06:31:18,700 [MonitorNetwork_EarthCoin] [ERROR] Block failed to submit to the server <IP_ADDRESS>:5121!
Traceback (most recent call last):
File "/home/crackers/www/pools/simple/simplecode/powerpool/powerpool/jobmanagers/monitor_network.py", line 190, in submit_block
res = conn.getblocktemplate(block)
File "/home/crackers/www/pools/simple/simplecode/cryptokit1/cryptokit/rpc.py", line 194, in call
return self._get_response(response)
File "/home/crackers/www/pools/simple/simplecode/cryptokit1/cryptokit/rpc.py", line 222, in _get_response
raise CoinRPCException(response['error'])
CoinRPCException: value is type str, expected obj
2015-02-13 06:31:18,700 [MonitorNetwork_EarthCoin] [ERROR] {u'message': u'Invalid mode', u'code': -8}
2015-02-13 06:31:18,700 [MonitorNetwork_EarthCoin] [ERROR] Block failed to submit to the server <IP_ADDRESS>:5121, server returned failed!
Traceback (most recent call last):
File "/home/crackers/www/pools/simple/simplecode/powerpool/powerpool/jobmanagers/monitor_network.py", line 190, in submit_block
res = conn.getblocktemplate(block)
File "/home/crackers/www/pools/simple/simplecode/cryptokit1/cryptokit/rpc.py", line 194, in call
return self._get_response(response)
File "/home/crackers/www/pools/simple/simplecode/cryptokit1/cryptokit/rpc.py", line 222, in _get_response
raise CoinRPCException(response['error'])
CoinRPCException: value is type str, expected obj

EarthCoin requires TX messages (https://bitcointalk.org/index.php?topic=379236.0). TX messages are not currently supported


Cannot connect to OpenAI

I installed the plugin in VS Code, my config is for VSCode and env is
Version: 1.91.1 (user setup)
Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729
Date: 2024-07-09T22:06:49.809Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.22631 (Windows 11)
At first I connected my account using Google Auth it says i am connected showing my avatar in the plugin upper right. I try to select OpenAI as the provider, it asked me for my key and then Paste button and ctrl-v didnt work at all. I clear the editor history, uninstall the plugin, install again and now it appears as "connected" but when trying to "/Explain" it says I am not connected and appears a button for disconnect, when i press nothing happen.

Hi @diegoandresdiazespinoza , I'm sorry to hear that you're having trouble with the connection. Let's try to troubleshoot this issue.
First, please ensure that you have the correct API key from OpenAI. You can find this by logging into your OpenAI account and navigating to the API Keys page.
Once you have your API key, follow these steps:
-Go to VSCode and choose OpenAI as Provider.
-Click on the provider's button to set the connection.
-Paste your API key in the provided field and click on Connect.
There is no need to log in with a CodeGPT account to use other providers aside from CodeGPT Plus.

Same issue here.
Where do I choose OpenAI as Provider?
MacBook 2021 Pro

On the home page, you will find a dropdown menu where a list of providers is displayed. If you use the scroll bar, you can scroll down until you find the OpenAI provider.
In addition, the image you attached refers to the autocomplete function, which aims to complete your code by providing you with suggestions on how to continue on each line. This function allows you to select AI models, but it is not the same as using them as a provider for your chat conversations. I hope this information is useful to you. If you have any questions or queries, do not hesitate to get in touch with us.

Same, gpt 4o is not on the list of autocompletion. Also trying to install gpt 4o from the marketplace fails to install.


Inspector should aware of rule filters

When using the inspector, and X-ray mode is turned OFF:
For each Feature revealed by the inspector, the popup should also list all Rules with data layers and filters that match the Feature. It should display the name or id property if present on the Rule, and otherwise display the index of the Rule in the list of PaintRules or LabelRules.

make queryFeature in general respect min/maxzoom and filters.

Removing inspector, x-ray and queryFeature completely in 2.0, as applications needing those features are better off using MapLibre GL JS instead. https://github.com/protomaps/protomaps-leaflet/pull/129


Bug fix -  ImportRedlist.R

Why have changes been made?
The importRedList function returned errors, due to encoding problems. This has been fixed.
What changes have been made?
-functions/importRedList.R We (I and @samaperrin ) have made the default encoder to be "UTF-8".

This change returns error on my end. specifically, the edit changes the column name in
data <- jsonlite::fromJSON(charChange, flatten = TRUE)
from: data$AcceptedNameUsage$ScientificName
to: data$AcceptedNameUsage.ScientificName
I'm not sure if I should change the column name to use ".", or if that would trigger the original issue with other systems...

Kwaku Peprah Adjei
PhD candidate,
Norwegian university of science and technology

From: Ron Togunov @.>
Sent: Friday, January 12, 2024 2:20:56 PM
To: gjearevoll/BioDivMapping @.>
Cc: Peprah94 @.>; Author @.>
Subject: Re: [gjearevoll/BioDivMapping] Bug fix - ImportRedlist.R (PR #89)
This change returns error on my end. specifically, the edit changes the column name in
data <- jsonlite::fromJSON(charChange, flatten = TRUE)
from: data$AcceptedNameUsage$ScientificName
to: data$AcceptedNameUsage.ScientificName
I'm not sure if I should change the column name to use ".", or if that would trigger the original issue with other systems...
—
Reply to this email directly, view it on GitHubhttps://github.com/gjearevoll/BioDivMapping/pull/89#issuecomment-1889189412, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHQDCGVAFMXQ3SNSCT7D7DTYOE2DRAVCNFSM6AAAAABBS3ANNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBZGE4DSNBRGI.
You are receiving this because you authored the thread.Message ID: @.***>

This change returns error on my end. specifically, the edit changes the column name in data <- jsonlite::fromJSON(charChange, flatten = TRUE) from: data$AcceptedNameUsage$ScientificName to: data$AcceptedNameUsage.ScientificName I'm not sure if I should change the column name to use ".", or if that would trigger the original issue with other systems...

Yeah this is a typo on our end - fixing now

Ugh yeah this was a silly error that I clearly didn't check properly, as @Peprah94 says, if you remove the  "flatten" argument the function works again. Fixing now.


Consider closed form solution for lnorm and potentially other distributions

Advantages faster and avoids optimization engine failing
Disadvantages requires additional code to handle special case.

Another disadvantage is that closed form doesn't work with censored data.


Loss of domain classification part

Hi, I am trying to understand GRL effect. While training should i expect to see the domain classification loss decrease to some extent or should it stay around random guess( so that it makes possible domain generalization)
Thanks!

The domain classification and label classification affect each other during the training, so how the classification loss decreases will depend on the adversarial relationship between two domains, it actually decreases to some value when domain loss reaches convergence.


Bootstrap looking for wrong version of module

Ran into an issue the other day, where a VM generated from my config, had version <IP_ADDRESS> of the xNetworking module installed, but the .mof expected version <IP_ADDRESS>.
I had version <IP_ADDRESS> of the module installed on my host (where I authored and ran my config) but <IP_ADDRESS> ended up inside the VM. I assume (but am not sure) that it downloaded <IP_ADDRESS> to the ModuleCache folder, and grabbed it from there.
The DSCResource part of the NonNodeData section in the .psd1 was grabbed from the TestLabGuide.psd1 example.
I suppose I could have worked around the issue by using RequiredVersion instead of MinimumVersion to ensure it matched the module version on the host. It does raise a question with me though - how do we easily ensure, that the host has the same version of the module, as those that will be injected into the VM - and vice versa. To that end I wonder if we should have a function to install modules on the host, based on the info in a .psd1 file (or do we already have that, and I am missing the obvious?)
I'm not sure if this is to be considered as a bug, but thought I would log it anyway 😄

@csandfeld Yes - I've run into this before, but is only an issue where you're compiling the MOFs on the host machine.  You have 2 options:

Remove the DSCResources definition from your configuration data.
You will need to install the required DSC resources on the host where you're compiling the mofs
Lability will then just copy all the DSC resources registered on the box (as was the old behaviour).
Set a RequiredVersion of all modules in configuration document.
Lability will always copy this version of the DSC resources into the VHDX, but
You will need to install the required DSC resources on the host where you're compiling the mofs
You could still end up with a version mismatch with this method 😞

As for the "we should have a function to install modules on the host" comment, have you looked at the LabilityBootstrap module or the Install-LabModule function in particular? 😉. I would be interested to see if you think this should be moved into this module instead.

Had not had a look at LabilityBootstrap. Haven't tested, but Install-LabModule looks promissing. I would not mind having everything Lability in one mode, but from your perspective, what would be the pros/cons of maintaining two modules, versus combining into one?

@csandfeld It's certainly a fine line and Lability was never intended to be used to compile configurations.
However, I have some code that will compile configurations in parallel and this certainly should not be in the LabilityBootstrap module either. Does that mean I need a 3rd module?!

Install and compile configurations
Deploy configurations (Lability)
Create bootstrap ISO/manually bootstrap existing VMs, e.g. VMware (LabilityBootstrap)

Do you think that 1 and 2 could/should be merged? Thoughts?

I normaly write/compile configs on the same system I use to deploy them (my own client PC), and from that perspective it would be fine to have everything in one module. On the other hand, if configurations are used on other systems, and mofs are precompiled, it would not be necessary.
As I think of it now, having it in separate modules might actually be a good thing, as the "Lab Creator" module might not need  "#Requires -RunAsAdministrator". But then again, it might also mean having to maintain identical helper functions in both modules (assuming some operations might be similar accross both modules)

Closing this out as #153 has been added.


FIX-#2976: Update pandas to 1.2.4

Signed-off-by: Igoshev, Yaroslav<EMAIL_ADDRESS>
What do these changes do?

I know the original author is going to be away for a few days, so I decided to step in and do the requested to speed up the things. I hope it's fine for everyone 😄

@vnlitvinov It is ok with me, but we have some failures because xfail should always fail in our tests.
It looks like there are conditions where it still works.

For reference: link to relevant Pandas issue - https://github.com/pandas-dev/pandas/issues/41074
I would suggest waiting for @YarShev to step up then, as I cannot locally reproduce the issues he was marking as skipif/xfail - if I update pandas to 1.2.4, take his branch and remove this xfail the tests pass... but he did mark those for some reason.

@devin-petersohn , @vnlitvinov , I got rid of xfail/skipif marks in the tests but it had to make some changes in the code to match pandas behavior.


scim-schema should be included as a dependency, not copied

(This is half an issue, half a question)
It's unclear why the scim-schema project's code is copied into this one and not included as a dependency.
Unless it's the case that the scim-schema project is being retired (which doesn't appear to be true), then it seems like the osiam server is an ideal place to showcase it's use.
If I'm missing something, please do point me in the right direction!

(nevermind, noticed the depreciated message at the top of the proiect. Please do close this issue)

Hello @tkent,
maybe some explanation is in order: We started out with the scim-schema as a common view on scim resources as java objects for both the java client and the OSIAM servers. It turned out that while this was not a bad idea to get OSIAM off the ground, it is not that smart in the long run for several reasons, for instance that server and client do have slightly different ideas about how scim resources should be represented in java or the immutable schema is a very good thing to have in the connector (the client) but makes it use clunky and cumbersome in the server. Also the only consumer of the scim-schema known to  us is actually our client. For that reason we decided to copy the scim-schema into the connector and the server for the upcoming 3.0 release.
I hope I could shed some light.
Florian

@Florian
Thanks! That's a very helpful explanation.
The clunky use problem in the server isn't immediately obvious to me, but I'm quite sure that'll become clear as I work with it more.
Thanks again.


--private-dns-zone does not exist with the latest version of AzureCLI cant run your example

I cant run the option --private-dns-zone none or system the option does not exist?  Am I missing something?
I have the latest version of azure cli and az.aks
The page https://docs.microsoft.com/en-us/cli/azure/aks?view=azure-cli-latest#az_aks_create also does not show this as an option?

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

ID: 0b68f2c4-bb6c-11a2-6c61-8af4057a2438
Version Independent ID: e3498bed-1447-6841-8353-9f1b5d3dc8df
Content: Create a private Azure Kubernetes Service cluster - Azure Kubernetes Service
Content Source: articles/aks/private-clusters.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

@MikeForster100, Thanks for the feedback! We are taking a look into this and will get back to you soon.

@MikeForster100, Thanks for the feedback! We are taking a look into this and will get back to you soon.

@mlearned Can you please check and add your comments on this doc update request as applicable

@mlearned Can you please check and add your comments on this doc update request as applicable

Ok figured it out the option is available with the AKS preview extension - i have a question on this if i select none i can manually create the zone in a different resource group and it pops the records in the zone as cluster creating!  As i get the GUID for the cluster while creating.  Is that how the none option is supposed to function?  You create the zone matching the GUID?  If i point it to a pre-created zone it fails

Ok figured it out the option is available with the AKS preview extension - i have a question on this if i select none i can manually create the zone in a different resource group and it pops the records in the zone as cluster creating!  As i get the GUID for the cluster while creating.  Is that how the none option is supposed to function?  You create the zone matching the GUID?  If i point it to a pre-created zone it fails

Thank you @MikeForster100 for the feedback!
The CLI reference now shows --private-dns-zone parameter: https://docs.microsoft.com/cli/azure/aks?view=azure-cli-latest#az_aks_create
Also, the following section of the article describes the options for setting up a private dns zone:
https://docs.microsoft.com/azure/aks/private-clusters#configure-private-dns-zone
If you still feel the document is missing details, please let us know.
#please-close


Refactor and add test case

Great. Thanks
Just 2 small problems to discuss:
I think hdrForwardedFor := strings.Replace(hdr.Get("X-Forwarded-For"), " ", "", -1) is less clear than strings.TrimSpace(p) after split. might be even less efficiency.
And also len(hdrForwardedFor)+len(hdrRealIP) <= 0 vs len(hdrForwardedFor) == 0 && len(hdrRealIP) == 0, seems also less clear and less efficiency.

Yes you are right on this issue. I've already updated the code accordingly


Whitelist from external source such as Google Sheets (clan events such as bingos)

Checklist

[X] I've searched the issues and pull requests for similar looking suggestions.
[X] I've checked the Unreleased section of the changelog for newly added features that sound like my suggestion.

Describe your Suggestion
It would be nice to allow for an external whitelist, such as a Google Sheet with a column of different items that would be posted and nothing else. Potentially also listing the source of the drop so that for example and Elite Clue dropped from "King Black Dragon" would drop but not an Elite Clue from Kraken or any other source not listed.
The source of the item would not be super critical for the basic functionality but i believe it would be a nice feature to have.
Example:

Obviously only 1 item can be list per row and multiple sources can drop it, so splitting on commas, or any other delimiter and then turning it all lowercase and trimming it to make sure nothing funky is happening. If no source is given, post the item no matter what if you receive it from any source.
I know there are limits to how often you can query a Google API key so perhaps limiting it to once per 5 or 10 minutes would be ideal to prevent it sending tons of event each time you hop world or logout trying to avoid a pker and then logging back in 5 seconds later. The list does not really have to update that often since its very unlikely it will be actively changing once an event has started.
Reasoning
It would be great when organizing larger bingos such as clan vs clan bingos with hundreds of people who need the same whitelist of items that are supposed to post to a specific discord channel for review by the event team.
Then two hours into the bingo one of the moderators notice they made a typo and suddenly everyone have to manually update it. With this feature the event team can simply update the Google Sheet and upon the next login/manual from the user they receive the new list of items.
Ive seen other plugins with similar features such as the Clan Event plugin where they fetch standings from a Google Sheet. But it seems more fitting here because a lot of the time you have a bingo board of items you need to obtain and post to a Discord chat where the event team will verify the screenshot and source.

If you're able to get the data from the google sheet into json (such as with appscript), and you pack that together with the full Dink config, you could achieve this right now with the "Dynamic Config URL" option.
My initial vibe is that we'd prefer that to be used, rather than adding something as platform-locked as google sheet support.
If you need any help achieving this through the "Dynamic Config URL" option we're happy to help

If you're able to get the data from the google sheet into json (such as with appscript), and you pack that together with the other bingo-related Dink config, you could achieve this right now with the "Dynamic Config URL" option.
My initial vibe is that we'd prefer that to be used, rather than adding something as platform-locked as google sheet support. If you need any help achieving this through the "Dynamic Config URL" option we're happy to help
For item allowlist from a specific source, that's not something we support. If it's something that would be required, that'd be best as a separate feature request.

Thanks for the reply, i will have a look at that right away!

Hello again, i was able to add a list of items to the whitelist field and get all the settings set up as i wanted them. I then exported the file and uploaded it to my web server and made the file accessible and it works like a charm. My friend who is helping me test it was able to get the exact same settings working for him with no effort. This really is all we could have asked for. Thanks for pointing me in the right direction!
As for the the source of the drop it would be really cool to only post the specific items for specific sources that are "whitelisted" but its not the end of the world if they post from other places as well because it actually says the source in Discord when the image is posted.
In most cases we wont be using generic items such as "Bones" so its very unlikely it will spam a ton, most likely it would overlap in places like a Dragon Axe that can drop from the 3 DKs + Wintertodt. In a skilling bingo for example only the one from Wintertodt would be interesting but its also not that big of a concern if someone would do their DKs task during bingo and pull one as it would be easy to tell the difference as well as seeing the source be posted alongside the item.
We are also having a little bit of a "clan point" system which we manually distribute points to items based on the source, so using the Dragon Axe example again it would be worth more points from Wintertodt than DKs because it way more rare from there. However since the Discord message that is sent says the source of the item im pretty confident we can set up a Discord bot to automate most of this process for us and simply ignore the rest if any slip through.
I am quite new to Dink and it comes with a ton of features which is amazing, for the most part Dynamic Config URL does everything we want and i simply did not realize it could be used like this. Thanks for all your hard work to everyone working on this project!

You actually could write a custom webhook handler that automates point calculation since the loot notification metadata does have a field for the source: https://github.com/pajlads/DinkPlugin/blob/master/docs/json-examples.md#loot
e.g. you can host it for free with cloudflare workers (and persist the points in their D1 sql product)
here's an example for an unrelated use case: https://gist.github.com/iProdigy/53654691a76679221a74fd442dea068a


Observation reset

This commit resets the observations when they hit a timeout, and also prevents duplicate state changes. Also observations are cancelled whenever possible instead of erroring out.

Whenever the light or socket already contains a specific state (ie. the light is on and is dimmed at 20%), and a change is requested, a filter will be applied and only the changed states will be send to the device.
Observations are reset whenever no state change was received for a limited amount of time. This is dependent on the first change, because Tradfri does not send a successful callback back to us, when no change was applied.
Cancelling observations instead of erroring out will create less error logging. There is still some error logging left, but this is because of the aiocoap library.

This was tested for more than a week on my own production installation and the first fix, makes the pytradfri lib about 4 times more stable for me. The second change resets the observations when something bad happens and works wonderfully for me.
There is still something odd happening with observation cancellation which must be errored out instead of cancelled, because otherwise no new observation will be launched by Home Assistant. This is because the aiocoap library does not report when a cancellation happened, but it does on errors.
I and some others have tested these changes from: https://github.com/alex3305/hass-components debug and reception has generally been positive.
References:

alex3305/hass-components-debug#3
home-assistant/home-assistant#9822
home-assistant/home-assistant#14386
cc. @mitsumaui, @morberg

Thank you for your continued effort on this issue!

Thanks for the PR, and for continuing to look at stability.
I'm concerned about the second point, and the time you've set - 15 seconds? Do all observations receive a payload within that window? Looking at this PR I fear it may be more appropriate to switch problematic installations to polling rather than aggressively closing sockets.

Thank you @alex3305 for addressing the concerns of @lwis. Given the previously closed PRs and your further analysis of the questions that have arisen, it seems there has been comprehensive testing. Albeit for one user only, but that is not anything unique for this PR. Pushing this to Home Assistant's beta branch will quite quickly give us more test user data, while also leaving room to pull the update back.
That said, it's @lwis who's done most of the work on the API and knows what's going on under the hood, so let's hear his views.
Given his approval, please also make sure the tests pass.

@ggravlingen I didn't notice the tests failing. I've fixed that.
I know my previous PR's weren't the best regarding this solution, initially I was looking for a more pragmatic approach. Since than I've moved on and searched for a good and stable solution. Coming up with this one.
I would love to have this integrated into Home Assistant. I had multiple users test this within my own repo and the issue on Home Assistant. See also:

alex3305/hass-components-debug#3
home-assistant/home-assistant#14386
@morberg, @mitsumaui

Coverage decreased (-1.6%) to 77.384% when pulling b099b7a8b30041ef3403f349288b44bb14de139c on alex3305:observation-reset into 685027bf18cbfe9ad79c64283fa6ea81abd5281b on ggravlingen:master.

Coverage decreased (-1.6%) to 77.384% when pulling b099b7a8b30041ef3403f349288b44bb14de139c on alex3305:observation-reset into 685027bf18cbfe9ad79c64283fa6ea81abd5281b on ggravlingen:master.

Thank you! When I talked to Lwis the other day he indicated he's quite busy at the moment but will revert asap. As I mentioned above, for the sake of stability, no changes to the api'a core will be merged without his approval.

Thanks for the feedback. It seems that home-assistant/home-assistant#19222 also had a positive impact on Home Assistant and Tradfri stability. I am currently quite busy myself regarding the holidays. So I understand 😄.
Happy holidays!


Compatibility

Having issues compiling 10.3 Rio, what version of Delphi is TensorFlow.Delphi compatible with? Please specify in the [README]

Compatible with all delphi versions that support inline variable(10.3 and higher).


[14.0] ISPN-15227 SIFS expiration compation writes WARN message for concurre…

…nt write to logFile when
https://issues.redhat.com/browse/ISPN-15227

Thanks @wburns


Colors for statistics and points don't match with dark mode

Hi @ismailoezcan ,
thanks for the quick response and good catch! I fixed this issue with #66 .
Fabian


incompatible sync service for 1.50.1

I'm using settings sync to have the same settings between the stable and the insiders builds of vsc, however, the latest stable build throws an error when I want to enable sync.

Settings sync cannot be turned on because the current version (1.50.1, d2e414d9e4239a252d1ab117bd7067f125afd80a) is not compatible with the sync service. Please update before turning on sync.

I uninstalled and reinstalled both versions: stable and insiders and the problem still occurs. Also, insiders doesn't seem to have the Settings Sync: Select Service... command anymore, the service selection is only available when turning on sync.

VSCode Version: 1.50.1
OS Version: MacOS 10.15.7

Steps to Reproduce:

Launch vscode-stable
Try to go through the "Turn on Settings Sync..." flow

Does this issue occur when all extensions are disabled?: Yes

Yeah this is expected because your insiders is now incompatible with your stable version. You can sync with stable again when stable is updated to 1.51

Is it because I have Insiders use the Stable sync channel (and that breaks Stable with some incompatible format)?

Yes. Recently we added a new feature - Sync extensions global state https://github.com/microsoft/vscode/issues/95209. This changes the format of extensions data. This feature is already available in insiders and not in stable yet. Hence you got into incompatible state.
This will get fixed automatically when we release stable and you update to it/

Is there an ETA for the update?

Mostly by end of this week.


Adapt virtual cache.

https://skywalking.apache.org/docs/main/next/en/setup/service-agent/virtual-cache/

@heyanlong Please help to review.


[ASTGen] Don’t map sendingArgsAndResults

Companion of https://github.com/swiftlang/swift-syntax/pull/2835.

The corresponding evolution proposal has been accepted and the experimental feature no longer exists in swift-syntax.

https://github.com/swiftlang/swift-syntax/pull/2835
@swift-ci Please smoke test


fix bug #128: post request works with arbitrary binary content

Posting of octet-stream and other custom content-types are now supported by not logging them.
By not logging response content the decode(utf-8) is not made.

Hi @tarvohimanen ,
Thanks for the PR. For some reason the tests are broken.

@tarvohimanen cheers. The test for binary data is failing now

Noticed the build error and now fixed. Was my error not to run the full test stack before committing.

@tarvohimanen all good. Thanks for fixing.


Change mobile verifier to read heartbeat and speedtest ingest reports

This LGTM, you just need to change the file_list that is passed to the  GatheredShares::from_stream function to one that takes in FileType::CellHeartbeatIngestReport and FileType::CellSpeedtestIngestReport


provide an easy way to diagnose CI / CD pipeline failures

we've been finding some builds sometimes fail inside a CI / CD pipeline but not on a users laptop. So it'd be nice if folks had a way to try diagnose build failures a little easier.
Ideally long term we'd turn a build pod into a Che Workspace that folks could just open. Though there's the issue that build pods tend to be composed (maven + clients + jnlp) whereas Che workspaces tend to be one single docker image with all the CLI tools there.
Possible ideas:
fork the pipeline to add a pause
We could provide a way to let folks fork a failing pipeline and add a dummy input step into the pipeline before the failure line; then re-run that pipeline; then let folks kubectl exec -it nameOfPod -c containerName bash then they can cd into the folder and run whatever commands they need etc.
I wonder if we can improve on this somewhat? e.g. automatically generating the PR for the build failure with the input added? Automating the CLI commands to ssh into the paused build pod, cd to the right folder and run the last failing command?
Pause / Resume / Retry of pipelines
I think CloudBees has a pause/resume/retry thingy but its not available in the OSS version AFAIK
Create a Pod YAML for a build pod
we could create a Pod YAML by default and add it to the Jenkins build as an artefact thats based on the Jenkins pipeline build pods; then make the pod do the git clone on startup (via an init-container) & then wait; so that folks could kubectl exec into it?
here's an example init-container to do a git clone on startup to a volume (which can be mounted into all the containers in the pod)
https://github.com/fabric8io/fabric8-platform/blob/master/apps/keycloak/src/main/fabric8/deploymentConfig.yml#L12-L29
so that whether you work in the 'maven' container of the Pod or the clients container - the same git clone is visible?
then to test out a build, folks could just run this pod YAML then kubectl exec into the pod? if we put this YAML at a canonical place in Jenkins we could then write a gofabric8 CLI to run a command in the latest build's Pod YAML or something?

One issue could be only admins usually have kubectl exec as anyone that can does would be able to see mounted secrets in the build pod.

ah yeah good point! I guess folks could always run the build pod on any kubernetes cluster? Maybe we remove the secrets for doing git / docker / nexus pushes?
Or we only let folks run the build pod in their own tenant?


When filter returns empty list then filter is unmounted and remounted

Hey,
When my filter returns false for all entries the filter is being unmounted. This is causing issues as i am losing my search fields as I have a custom filter which stores it in state.
Any ideas why this is happening?

Are you able to produce a minimal repro of this? The project's Storybook is a good mechanism for proving defects.

Hello @dahlbyk ,
I put together a small project on codepen. To reproduce this:

Type Anything into Filter
Open the Test Dropdown and Click Action
Filter is empty (because the Layout Component unmounts)

I added a componentWillUnmount method to Layout's prototype to show that it unmounts. This behavior isn't particularly desirable.


refactor: update blas/ext/base/ssumors  to follow current project conventions

Resolves #1543 .
Description
This pull request refactors blas/ext/base/ssumors to follow current project conventions.
Related Issues
Related issues #788  , #1152
This pull request:

resolves #1543
progresses #1152

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

Let's get this in once CI passes; thanks for your contribution, @lovelindhoni!

Apologies @Planeshifter, I was going to fix my silly indentation issue. Thanks for sparing your time.


Excess CPU load by Pixi.js Layers

When running intersection component with PIXI layers computer CPU load is quite high, even when user is not interacting with the component.
The excess load seems to stem from Pixi.Application game loop rerendering the Pixi layers on every requestAnimationFrame. It seems fairly straight forward to implement our own render controller to trigger rendering only on data updates and zoom/pan interactions by users.

Related CPU improvement work: stop PIXI requestAnimationFrame render loop https://github.com/equinor/esv-intersection/pull/475

Solved by https://github.com/equinor/esv-intersection/pull/475


error when creating "test1": Internal error occurred: failed calling webhook "webhook.cert-manager.io": failed to call webhook: Post "https://cert-manager-webhook.cert-manager.svc:443/mutate?timeout=10s": EOF

Describe the bug:
When create new certificates, got below error:
Error from server (InternalError): error when creating "test1": Internal error occurred: failed calling webhook "webhook.cert-manager.io": failed to call webhook: Post "https://cert-manager-webhook.cert-manager.svc:443/mutate?timeout=10s": EOF
The logs from webhook pod:
I0303 02:55:28.259166       1 logs.go:59] http: TLS handshake error from <IP_ADDRESS>:57282: EOF
I0303 02:58:40.170490       1 logs.go:59] http: TLS handshake error from <IP_ADDRESS>:24108: EOF
I0306 03:19:15.623237       1 logs.go:59] http: TLS handshake error from <IP_ADDRESS>:40462: EOF
I0306 03:19:15.625800       1 logs.go:59] http: TLS handshake error from <IP_ADDRESS>:39672: EOF
I0306 03:19:15.631995       1 logs.go:59] http: TLS handshake error from <IP_ADDRESS>:40468: EOF
I0306 03:19:15.649874       1 logs.go:59] http: TLS handshake error from <IP_ADDRESS>:40482: EOF
I0306 03:19:16.009029       1 logs.go:59] http: TLS handshake error from <IP_ADDRESS>:40488: EOF
I0306 03:19:16.080735       1 logs.go:59] http: TLS handshake error from <IP_ADDRESS>:39676: EOF
I0306 04:00:54.816144       1 logs.go:59] http: TLS handshake error from <IP_ADDRESS>:52224: EOF
Environment details::

Kubernetes version: 1.23.9
Cloud-provider/provisioner:  Azure/aks

/kind bug

I'd recommend that you take a look at https://cert-manager.io/docs/troubleshooting/webhook/ and update the issue description with any relevant findings.

Although I don't think my solution may help you, I will still add it here for reference.
I faced a similar issue when deploying an on-premise Kubernetes cluster using kubeadm. The cert-manager API check (cmctl check api) always resulted in the following error:
Not ready: Internal error occurred: failed calling webhook "webhook.cert-manager.io": failed to call webhook: Post "https://cert-manager-webhook.cert-manager.svc:443/mutate?timeout=10s": context deadline exceeded

After investigating the kube-apiserver pod, I discovered the root cause. It turned out that I had set the http_proxy environment variable during the cluster deployment, causing the pod IPs to be proxied within kube-apiserver. Consequently, all requests from the API server to the webhook endpoint were not reaching their destination, and when using tcpdump with a cluster IP filter, no traffic was captured.
To resolve this issue, either add the Pod CIDR to the no_proxy variable in the manifests located under /etc/kubernetes/manifests/*.yaml, or completely remove all proxy environment variables from these files.


Create compile autocommand even if the first compile fails

Also removed the compile_live() function and instead added another parameter to the compile() function.
Addresses #14

Thanks for the kind words. I am glad you like it. Feel free to open other issues if you feel there is other functionality missing.


Changes for #175 to return a Location object for diagnostic related information

This will change the return of the DiagnosticRelatedInformation.Location property from string to Location.

Fixes #175

Thanks for the help @drsoran !


Fix mistake on external link alert

Mistake in the word "change".

checked.
app version: Testnet 3.1.6


Need an ISR analysis metapackage that includes eiger-io

This manually patched in their current conda env.

This should happen before we deploy.