[Bug]: followUserLocation and onRegionDidChange not working as expected

Mapbox Implementation
Mapbox
Mapbox Version
default
Platform
Android
@rnmapbox/maps version
10.0.0-beta.74
Standalone component to reproduce
import React from 'react';
import {
  MapView,
  Camera,
UserLocation
} from '@rnmapbox/maps';

class BugReportExample extends React.Component {
  render() {
    return (
      <MapView style={{flex: 1}} onRegionDidChange={() => console.log('onRegionDidChange')}>
        <Camera centerCoordinate={[-74.00597, 40.71427]} zoomLevel={14} followUserLocation />
        <UserLocation visible minDisplacement={100} />
      </MapView>
    );
  }
}

Observed behavior and steps to reproduce
https://user-images.githubusercontent.com/66957698/223635896-be24ec9b-ede2-473a-8d38-28ef34b7be00.mp4
When you have followUserLocation set to true, and <UserLocation /> component is visible, the marker says stationery to the position it was before.
minDisplacement value is doesn't have any affect. The marker moves constantly as with the location change. And with that onRegionDidChange is triggered every second.
Expected behavior

The marker should update with the user location.
minDisplacement value should be have an affect on how often the marker moves with the change in user location.
onRegionDidChange should be triggered based on minDisplacement value of the <UserLocation /> component.

https://user-images.githubusercontent.com/66957698/223637301-738a2aea-3c5e-4b83-aac9-c159f2b65f36.mp4
Notes / preliminary analysis
No response
Additional links and references
No response

@sagarshakya Thanks for the report, but please post a compact but complete component to reproduce. I don't see minDisplacement in the code you've provided.
Also note that onRegionDidChange (to be deprecated in favour of onMapIdle) has nothing to do with location tracking. It'll be called when mapbox has finished rendering.

@mfazekas Apologies, a markdown error was causing the code to not display properly. I have updated it.
Regarding onMapIdle, on the docs, it actually says this iOS, v10 only, deprecated will be removed in next version - please use onRegionDidChange.

When we have to make an API request while the user location is being tracked, it will be ideal to make that request every x distance travelled, instead of every small change in user location.

@sagarshakya for that please don't use onRegionDidChange, and minDisplacement, use locationManager#addListener or UserLocation#onUpdate and calculate distance with truft for example.


Machine Learning Script

Please outline steps needed in the machine learning script

Need:
-One Hot Encoding pipeline.
-Hyperparameter tuning using RandomSearchCV. Scoring should include f1, recall, precision. Should optimize using f1 as we have class imbalance.
-Feature selection using RFECV.


Update estimator_helpers.py

fixed a small bug

Hello Yuchen,
This bug has been fixed in the latest commit. Please check it out and put up an issue if you run into any other trouble.


improve user experience when token lacks a scope

flowpipe pipeline run post_message --arg message="hello world" --arg channel="random"
If my token lacks the needed scope, here's the experience in Flowpipe.
[post_message] Output message = Unable to calculate output message: Internal Error: output: Unsupported attribute: This object does not have an attribute named "message".
(/home/jon/flowpipe-mod-slack/pipelines/chat/post_message.fp:59,55-63)

In Postman.
{
    "ok": false,
    "error": "missing_scope",
    "needed": "chat:write:bot",
    "provided": "channels:read"
}

@judell Thanks for raising the issue. This should now be fixed.
$ flowpipe pipeline run post_message --arg text="hello there" --arg channel="test-slack-channel"
[flowpipe] Execution ID: exec_clujdf7ljat7k2o2eu20
[post_message] Starting pipeline
[post_message.post_message] Starting http: POST https://slack.com/api/chat.postMessage
[post_message.post_message] User Defined: missing_scope
[post_message.post_message] Failed 351ms
[post_message] User Defined: missing_scope
[post_message] Failed 365ms

Further, using the  --verbose flag gives you information similar to what you saw on postman with the scopes needed and provided.

$ flowpipe pipeline run post_message --arg text="hello there" --arg channel="test-slack-channel" --verbose
[flowpipe] Execution ID: exec_clujdgvljat7k65l6okg
[post_message] Starting pipeline
[post_message] Arg channel = test-slack-channel
[post_message] Arg text = hello there
[post_message.post_message] Starting http: POST https://slack.com/api/chat.postMessage
[post_message.post_message] Arg method = post
[post_message.post_message] Arg request_body = {"channel":"test-slack-channel","text":"hello there"}
[post_message.post_message] Arg request_headers = {
  "Authorization": "Bearer REDACTED",
  "Content-Type": "application/json; charset=utf-8"
}
[post_message.post_message] Arg step_name = post_message
[post_message.post_message] Arg url = https://slack.com/api/chat.postMessage
[post_message.post_message] Output finished_at = 2023-12-16T05:33:55.75557Z
[post_message.post_message] Output response_body = {
  "error": "missing_scope",
  "needed": "chat:write:bot",
  "ok": false,
  "provided": "identify,channels:read,im:read,users:read,users.profile:read,channels:write,im:write,identity.basic"
}
[post_message.post_message] Output response_headers = {
  "Access-Control-Allow-Headers": "slack-route, x-slack-version-ts, x-b3-traceid, x-b3-spanid, x-b3-parentspanid, x-b3-sampled, x-b3-flags",
  "Access-Control-Allow-Origin": "*",
  "Access-Control-Expose-Headers": "x-slack-req-id, retry-after",
  "Cache-Control": "private, no-cache, no-store, must-revalidate",
  "Content-Type": "application/json; charset=utf-8",
  "Date": "Sat, 16 Dec 2023 05:33:55 GMT",
  "Expires": "Sat, 26 Jul 1997 05:00:00 GMT",
  "Pragma": "no-cache",
  "Referrer-Policy": "no-referrer",
  "Server": "Apache",
  "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload",
  "Vary": "Accept-Encoding",
  "Via": "1.1 slack-prod.tinyspeck.com, envoy-www-iad-usewkwbf, envoy-edge-bom-esdoyisr",
  "X-Accepted-Oauth-Scopes": "chat:write:bot",
  "X-Backend": "main_normal main_canary_with_overflow main_control_with_overflow",
  "X-Content-Type-Options": "nosniff",
  "X-Edge-Backend": "envoy-www",
  "X-Envoy-Attempt-Count": "1",
  "X-Envoy-Upstream-Service-Time": "196",
  "X-Oauth-Scopes": "identify,channels:read,im:read,users:read,users.profile:read,channels:write,im:write,identity.basic",
  "X-Server": "slack-www-hhvm-main-iad-qsjg",
  "X-Slack-Backend": "r",
  "X-Slack-Edge-Shared-Secret-Outcome": "no-match",
  "X-Slack-Req-Id": "5ffd3b4b14a05e1a59e6efc9dc0c4716",
  "X-Slack-Shared-Secret-Outcome": "no-match",
  "X-Slack-Unique-Id": "ZX02wy61eYWnTNFxxXh6hwAAEAg",
  "X-Xss-Protection": "0"
}
[post_message.post_message] Output started_at = 2023-12-16T05:33:55.44014Z
[post_message.post_message] Output status = 200 OK
[post_message.post_message] Output status_code = 200
[post_message.post_message] User Defined: missing_scope
[post_message.post_message] Failed 318ms
[post_message] User Defined: missing_scope
[post_message] Failed 331ms


Ignore some cases that no need to progress.

Ⅰ. Describe what this PR does
If generation == status.observedGeneration && status.replicas==status.updatedReplicas,  just ignore

Codecov Report

Merging #46 (e700197) into master (8efe94f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #46   +/-   ##
=======================================
  Coverage   19.83%   19.83%
=======================================
  Files          21       21
  Lines        2425     2425
=======================================
  Hits          481      481
  Misses       1872     1872
  Partials       72       72

Flag
Coverage Δ

unittests
19.83% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out 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 8efe94f...e700197. Read the comment docs.

/lgtm

/approve


CentOS hostnames

Hi,
after deployment the hostname is still "localhost.localdomain"
labbuildr showed success on changing it:
==>running sed -i -- '/HOSTNAME/c\HOSTNAME=CentosCentos1' /etc/sysconfig/network on: Centos1[success]
/etc/sysconfig/network is empty.
Maybe hostnamectl is a better way: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/sec_Configuring_Host_Names_Using_hostnamectl.html
Marcel

hostnamectl, for whatever reason, does not work remotely :-( vi vix from centos .
however, this as already been addressed and fixed in testing branch by using nmcli.


Right congruence can be proved

If I have understood everything correctly (nothing is less sure, I never read Agda code before this afternoon): +right-congruence  is considered as an axiom, but one can prove +right-congruence from +left-congruence using commutativity.
I also tried to prove the equivalent for *right-congruence , but my agda's skills are not good at all ^^. The idea is to use that transpose is an injection.
So to prove *right-congruence, I can prove ∀ {x y z : Graph A} -> x ≡ y -> transpose (z * x) ≡ transpose (z * y)
and in fact that transpose (x * y) = transpose y * transpose x
and here I can use *left-congruence to obtain what I want.

@nobrakal Thanks, that's a good observation!

I also tried to prove the equivalent for *right-congruence, but my agda's skills are not good at all ^^. The idea is to use that transpose is an injection.

I don't understand how a derived concept transpose can help in proving such a foundational law. If you can prove it with transpose then surely you can prove it simply from the axioms :)

Of course, just did it !

If you can prove it with transpose then surely you can prove it simply from the axioms :)

Maybe I was to confident here ^^

Oh, wait, does it actually work? The CI actually seem to fail:
https://travis-ci.org/algebraic-graphs/agda/builds/395791450
Looks like your change broke some other theorems? Could you please have a look?

Sorry, I have sent another PR: #4
And do you think the +right-congruence can be proved for Dioid the same way ?

Thanks! Yes, I guess left congruence plus commutativity always implies right congruence.


cordova platform add android fails

Command fails:
Scotts-MBP:mobile scottda$ cordova platform add android
-bash: cordova: command not found

Does Cordova need to be installed globally for this to work? That needs to be documented explicitly, and the link to Cordova should point to https://cordova.apache.org/docs/en/latest/guide/cli/index.html
where this is stated, instead of the platform page

@scottdangelo Cordova and Node.JS is mentioned in the Using manually-installed dependencies, that hyperlinks also redirects to the Installing the Cordova CLI and NodeJS download respectively. Let me know if we still have to mention it explicitly.

Closing this issue since Cordova and Node.JS is mentioned as pre-requisites in the doc Using manually-installed dependencies.


Could not detect abi for version 14.0.0 and runtime electron

See https://github.com/electron/electron-rebuild/issues/845

This was resolved in<EMAIL_ADDRESS>You can update the transitive dependency by running one of the following, depending on which package manager you use:

yarn upgrade @electron-forge/cli
npm update @electron-forge/cli


pin notebook version <7 #371

Reference Issues/PRs
#371
Pins Jupyternotebook to version <7 for compatibility with extensions.
What does this implement/fix? Explain your changes
What testing did you do to verify the changes in this PR?
Pull Request Checklist

[ ] Added a note about the modification or contribution to the ./CHANGELOG.md file (if applicable)
[ ] Added appropriate unit test functions in the ./graphein/tests/* directories (if applicable)
[ ] Modify documentation in the corresponding Jupyter Notebook under ./notebooks/ (if applicable)
[ ] Ran python -m py.test tests/ and make sure that all unit tests pass (for small modifications, it might be sufficient to only run the specific test file, e.g., python -m py.test tests/protein/test_graphs.py)
[ ] Checked for style issues by running black . and isort .

@avivko would you be able to check this out & confirm it resolves your issue?

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 44.68%. Comparing base (8123f42) to head (4bfde54).
 Consider uploading reports for the commit 08c9c04 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #372      +/-   ##
==========================================
+ Coverage   40.27%   44.68%   +4.41%
==========================================
  Files          48      113      +65
  Lines        2811     7908    +5097
==========================================
+ Hits         1132     3534    +2402
- Misses       1679     4374    +2695

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


Crystals indicating refinement past 100% purity, invalid character in place of Strength, Efficiency

Please see the attached screenshot. The valve was not allowing any liquids through when set to filter at 100% which caused some liquids to refine past a 100% purity. Some sort of ceiling issue perhaps?

More info please? Version of MC? Version of Deep Resonance? ElecCore?

Sorry for that!
ElecCore: 1.10.2-1.6.360
McjtyLib 1.1x-2.3.10
Deep Resonance 1.1.x-1.4.2
The One Probe 1.10-1.3.3
Minecraft 1.10.2, forge <IP_ADDRESS>5

Was the crystal generated with those versions? How was the liquid before you generated a crystal from this?

Liquid was showing the same bizarre values in the post-purification step. I will collect more screenshots,

It is possible that your version of ElecCore is too old. There were some fixes in that mod

But for the already generated crystals it is possibly too late

They started out generating just fine, I even got some 100/100/100 crystals. Then I left the area chunkloaded and came back and it got all broken. I'm just messing around with this so I have no issues blowing up the existing crystals (it is just a game afterall!)
Looks like things are starting off during the ore smelting phase with a bonkers value now:

and then it is getting purified into an even higher value:

I'll update my eleccore and try again. It takes about 2-3 days of chunkloaded processing to get to this point (which is why I'm thinking there might be some sort of overflow issue here?)

It should not allow overflow so that seems unlikely

I think what causes this is when I set valve to only allow 100% strength/efficiency through it never allows anything to pass... (Maybe things never actually get to 100% due to floating point values?) In order to prevent the lasers from destroying my liquid crystal I was running one nether star and multiple emerald lasers against the fluid than over time all the tanks showed weird values.

It is possible that they never get to 100% yes. But that shouldn't cause these corrupt numbers. Then the fluid should simply not pass

Blew up all the tanks/valves Updated to ElecCore 1.10.2-1.6.379 and started smelting ore again and recreated the issue with corrupt values for strength and efficiency when I had emerald lasers and purifiers working together on the same set of tanks.
Blew everything up again and have not enabled the emerald lasers on my first set of purification tanks going to see if the fluid can pass through my refinement steps properly.

once I cleared out my entire setup to get rid of any crystal fluid that had been generated with the old version of ElecCore I did not see any more crystal get generated with purities over 100%. Closing out the issue, thanks for the help.


[RESTEASY-2642] Add doPrivs to sys prop checks

This PR wraps calls to System.getProperty(...) and Integer.getInteger(...) in doPriv blocks to ensure that they will work with a Java 2 security manager enabled.

Besides that, as this would be your first contribution, we require that all contributions are made under the terms of the ASL 2.0 License: http://www.apache.org/licenses/LICENSE-2.0 . Can you explicitly agree to that here?

Now I'm wondering if, for performance sake, you would consider checking the availability of the security manager (System.getSecurityManager() != null) to avoid creating the privileged actions when not needed. WDYT?

No problem.

Besides that, as this would be your first contribution, we require that all contributions are made under the terms of the ASL 2.0 License: http://www.apache.org/licenses/LICENSE-2.0 . Can you explicitly agree to that here?

I agree to contribute under the terms of the ASL 2.0 license.
Please let me know if there is anything else I need to do in order to contribute.  I'm glad to know that RESTEasy uses ASL 2.0 - I've always been a fan of the Apache license.  Thanks!


Escape quote characters (")

Quotes need to be escaped before passing the tags to xgettext, otherwise the string will be cut when pushed to translate.mycroft.ai
This results in the following block for email.body.dialog in the fallback-wolfram-alpha skill:
#: tags/skills/fallback-wolfram-alpha.mycroftai/email.body.dialog:1
msgid ""
"You asked

<tt>'{{query}}'</tt>

 and were told

<tt>'{{answer}}'</tt>

 For more details and the information "
"sources used to generate the answer visit:
www.wolframalpha.com"
msgstr ""

Tested this in development environment and can confirm the quotes are now escaped correctly. I have some work to do in applying the .pot files to Pootle once they are generated by extract.py, but that is beyond the scope of this PR.
tack så mycket, @forslund


Update main.js

Patch (fix use Controller 3.3.x)

cool, tell when ready please

ready for issue: log warnings after update js-Controller to 3.3.x #108


CORGI-508: Fix related url bugs

@RedHatProductSecurity/corgi-devs I think this is ready for review. But of course it's late on Friday and I just found another last-minute bug, so who knows :shrug: I'll look this over again first thing Monday morning, so there's no rush to review if you're busy. This fixes:

Links for any component type that were broken due to internal identifiers (release, namespace) not being removed correctly / in all cases
Generic links that wouldn't update after they were first added
Github links that didn't include the namespace (user name) by mistake
Golang links that failed to generate properly due to some incorrect code copied from upstream, or that pointed to the repo's about page instead of a downloadable binary artifact
Maven links that were broken due to a trailing slash, missing data in the purl, or pointing to the wrong Maven server

After this is merged, we need to call .save() again for all remote-source component types, then reload all containers. I'll start that reloading in stage next week if we think that's OK. Or I can wait for others to debug the performance issues first, so I don't muddy the waters with a massive load.
Have a good weekend!

thx for this -  I noticed a few data inconsistencies, for example, there is an xstream component with a version={pom.version}
https://corgi-stage.prodsec.redhat.com/api/v1/components?purl=pkg%3Amaven%2Fxstream%2Fxstream%40%24%7Bpom.version%7D

does this PR address that and is the data 'fix' just reingesting them or will we have to generate a data report ?

I see alot of error messages in stage like this:
django.db.utils.IntegrityError: null value in column "related_url" of relation "core_component" violates not-null constraint

Might be something we can include in this PR? At least something we should look into before the next mass data update.


[Draft] Add upgrade lock file and healthcheck to the container

Should fix #59
dont have time to test it but should work.

Awesome!  I'll take a look at this over the next few days.
CI seems to be failing atm, but it probably won't be hard to get things working the way we want. :smile:

good catch, i changed the script name and missed this

Interestingly, it looks like the CI checks aren't functional when the PR is created in a different repo.  I'll re-create this PR with the commits in branch of our repo, so we can see the actual CI check results. :smile:

Actually, lets close this PR and continue the development in #63.  If changes do need to be made, then we'll need to do them in that PR anyway. :smile:


support classic nsg for az network watcher flow-log configure & show

Is your feature request related to a problem? Please describe.
Currently, classic resources are not supported in Azure CLI 2.0.  Currently, Azure Network Watcher is trying to launch the feature to "enable flowlog for classic nsg " in Ignite and having CLI support would be desirable.
Describe the solution you'd like

if the NSG name is passed in, a new parameter to indicate which the NSG is a Classic Nsg will be desired. The default value could be false.
if the NSG Resource ID is passed in, CLI should be able to understand whether the NSG is a Classic or Nrp NSG since they have different provider:  Microsoft.ClassicNetwork vs Microsoft.Network

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

If we are able to support this, we would only allow Classic NSG to be supported via ID. The main technical question is whether we can retrieve the classic NSG to retrieve its location given there is 0 Python SDK support for Classic Azure resources.

PR merged. Will be in Ignite release.


Add a visual confirmation of recording deletion

After pressing the "Delete Recording" button in the voicemail task UI, there is no visual confirmation that the recording has been successfully deleted.

This is a great point. Also, I love the label.  😄


Added WithStaticCredentialsLogin+WithStaticCredentialsPassword

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Other information

Codecov Report
Attention: Patch coverage is 0% with 20 lines in your changes missing coverage. Please review.

Project coverage is 43.56%. Comparing base (b774138) to head (7694274).
Report is 6 commits behind head on master.

Files with missing lines
Patch %
Lines

options.go
0.00%
20 Missing :warning:

:exclamation:  There is a different number of reports uploaded between BASE (b774138) and HEAD (7694274). Click for more details.
HEAD has 529 uploads less than BASE

Flag
BASE (b774138)
HEAD (7694274)

macOS
24
1

unit
72
1

go-1.21.x
48
1

ubuntu
103
0

go-1.22.x
48
0

go-1.23.x
55
0

windows
24
0

integration
72
0

ydb-23.3
24
0

ydb-24.1
24
0

ydb-24.2
24
0

ydb-nightly
7
0

experiment
7
0

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #1572       +/-   ##
===========================================
- Coverage   71.12%   43.56%   -27.56%
===========================================
  Files         363      296       -67
  Lines       37665    31867     -5798
===========================================
- Hits        26788    13884    -12904
- Misses       9799    17509     +7710
+ Partials     1078      474      -604

Flag
Coverage Δ

experiment
?

go-1.21.x
43.56% <0.00%> (-26.97%)
:arrow_down:

go-1.22.x
?

go-1.23.x
?

integration
?

macOS
43.56% <0.00%> (+2.44%)
:arrow_up:

ubuntu
?

unit
43.56% <0.00%> (+2.44%)
:arrow_up:

windows
?

ydb-23.3
?

ydb-24.1
?

ydb-24.2
?

ydb-nightly
?

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

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


Svelte error when using axis

The error message says Uncaught TypeError: Cannot read properties of undefined (reading 'config')
This seems to only happen when using VisAxis components when the whole component is getting destroyed, typically due to a page navigation.
Package versions:

"@sveltejs/kit": "^1.0.0",
"svelte": "^3.54.0",
"vite": "^4.0.0"
"@unovis/svelte": "^1.0.1",
"@unovis/ts": "^1.0.1",

I have a local reproduction repo here: https://github.com/vpanyushenko/unovis-svelte-repo and a live version here: https://unovis-svelte-repo-panyushenko.vercel.app/
To reproduce the issue:

Click on the "chart" tab in the header which should successfully load the demo chart.
Click back to the "home" tab and you'll notice it doesn't load. If you open the console, you'll see the error
Refresh the home page
Click on the "chart without axis" tab
Click back to home. This one loads successfully, the only difference is that VisAxis is not being used.

@vpanyushenko Thanks for the detailed bug report! We'll look into it.

@vpanyushenko (cc @reb-dev )
I've just published version 1.0.2-beta.0 of the libraries that should fix the issue. Can you please check if it works on your end?

It's working on my end. Thank you for the quick turnaround! I've updated the live link and repo with the new updates as well: https://unovis-svelte-repo-panyushenko.vercel.app/

@vpanyushenko Great, thanks for the quick check!


Added expandIconColor property on ExpansionPanelList Widget

Fixes #95011
Adds a expandIconColor property to ExpansionPanelList widget,
Pre-launch Checklist

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

@HansMuller Please check this PR.
Thank you.

@HansMuller reminder :)

Thank you guys.


too many files when using multiprocessing with pytorch dataloader and decode

i noticed after training for a while i was getting an OSError that there were too many files created. i think i narrowed this down to be an issue with .decode and the following script shows the behavior:
import os
import webdataset as wds
import torch

num_workers = 4
decode = False

if __name__ == "__main__":
    tar_path = "test_image.tar"
    writer = wds.TarWriter(tar_path)

    for i in range(100):
        writer.write({"__key__": str(i), "input.pyd": i, "output.pyd": i})

    writer.close()

    dataset = wds.WebDataset(tar_path)
    if decode:
        dataset = dataset.decode()
    dataset = dataset.to_tuple("input.pyd")

    dl = torch.utils.data.DataLoader(
        dataset, batch_size=10, num_workers=num_workers
    )
    for _ in range(10):
        os.system(
            f"lsof -p {os.getpid()} -a -d ^mem -d ^cwd -d ^rtd -d ^txt -d ^DEL -w | wc -l"
        )
        for x in dl:
            pass

Running this gives output like
 4 5 5 5 ...

i.e. the number of files doesn't grow after each iteration through dl.
however, changing decode to True gives output like
4 6 7 8 ...

so new files are being created after every epoch. however, changing num_workers to 0 does not have this problem.
i'm on macos with webdataset==0.2.57 and torch==2.0.1

@tmbdev has anyone found a solution to this?


Added count param to rpop and lpop methods

Description
Please describe your pull request.
NOTE: All patches should be made against master!
If it fixes a bug or resolves a feature request be sure to link to that issue.
It is appreciated if you can make an issue before making a pull request.

Closing this in favour of the updates on master which include the new arguments.


Animation which was working in 1.2 is no longer working in 1.3 in Firefox when using ng-repeat and ng-show together

We have an ng-repeat directive which uses ng-hide to do an animated show and hide based on a selected index. The animations work correctly in all browsers except Firefox.
In Firefox the animation for .ng-hide-remove is not working. You can see it move a little bit and stop. I am using Firefox Version 33.0 But I tried with 32.0 as well.
This problem only occurs with Angular 1.3 the same code works in Firefox using angular version 1.2.
Here is the repeat code
 <div class="item" ng-repeat="item in items" ng-show="$index == selectedItem" >
  Item: {{item}}
</div>

Here are the css styles:
.item {
  position:absolute;
  top:50px;
  left:200px;
  border:solid 1px black;
  padding:10px;
  background-color:#f5f5f5;
  width:100px;
}

.item.ng-hide-add {
  -webkit-animation: fadeInLeft 1.5s;
  animation: fadeInLeft 1.5s;
}

.item.ng-hide-remove {
  -webkit-animation: fadeOutRight 1.5s;
  animation: fadeOutRight 1.5s;
}

Here is a plunker that contains the full demo:
http://plnkr.co/edit/UFI6eWqfnDcCkpIe6d1i?p=preview
I have asked about this on stack overflow, and someone there suggested it may be a bug.
Here is a link to the stack overflow post:
http://stackoverflow.com/questions/26494833/angular-1-3-animation-not-working-in-firefox

I can't repro any bug with FF41 and angular 1.3.19


Chrstphr

the actually tho

All looks good functionally. Note: my branch's test data uses games being 0-indexed, but this one uses 1-indexed. Will break things if we merge them both together. Can we change to 0-indexed?

LGTM


Wallet Balance Functionality

This PR depends on #16
Added functionality to automatically check address balance once connected.

balance updates when wallet address changed on wallet / metamask
button to manually update balance on active wallet

Closed in favor of #79


fixes omitted word in README.md

the first sentence of the README is missing the word 'that' (or 'which') after the 4th word, 'service'

*facepalm* Thank you!


ReadMe with improvements

Image 2.5 is updated with color and Blog is updated with the correct URL

呼呼哈哈


Visualization styles changed to default ones

Steps I did to check the problem :
The visualization affected.

Change visualization from unlock to lock state.
Visit visualization
Go to map tab.
Checked that custom styles were changed.

Annotations:

SQL applied? No
Custom styles? Yes, described below.
Number of layers? 2 (table_50m_rivers_lake_centerlines_with_scale_r and australia_postcodes).
No JS errors in the console.

After visit the visualization map I've noticed that styles changed without "touching" them.
Checking them, seems like only "colors" changed to default in the 2 layers* of the visualization:
Lines dataset style:
#table_50m_rivers_lake_centerlines_with_scale_r{
  line-color: #c9ddea;
  line-width: 2;
  line-opacity: 0.7;
}

changed to:
#table_50m_rivers_lake_centerlines_with_scale_r{
  line-color: #ff6600;
  line-width: 2;
  line-opacity: 0.7;
}

And the polygons dataset style:
#australia_postcodes{
  polygon-fill: #CCCCCC;
  polygon-opacity: 0.7;
  line-width: 1;
  line-color: #FFF;
  line-opacity: 1;
}

changed to:
#australia_postcodes{
  polygon-fill: #FF6600;
  polygon-opacity: 0.7;
  line-color: #FFF;
  line-width: 1;
  line-opacity: 1;
}

Finding the problem in visualizations with lines or polygons layer on top of it.

steps to reproduce:

import a polygon table
apply a sql that changes geometry type, like select st_centroid(the_geom_webmercator) as the_geom_webmercator from table
apply a style diferent than default
reload

the style is reset

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


[IMPROVEMENT] Clean up backup target in IM-R pod if the backup target setting is unset

Is your improvement request related to a feature? Please describe (? if you like this request)
When the user creates a volume and makes a backup, there is a mount point in IM-R for the replica to do the backup.
If the user unsets the backup target, longhorn won't unmount the mount point in IM-R and might introduce system instability such as high CPU loading when the backup server is gone.
We have tickets related
#5391: every time when LH tries to mount the mount point, it will unmount other mount points first and then mount the current setting Target.
#5655: backup-target-controller will unmount mount points in longhorn-manager pods when the URL is unset.
We would like to handle IM-R pod mount points left issue later when we implement multiple backup target support feature in #5411
Describe the solution you'd like
When the user unset the backup target, the mount point in IM-R pod should also be unmounted.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
We might need to consider adding a new grpc service in IM-R for IM-R to do the cleanup in the pod.
Currently, there are only ProxyEngineService and ProcessManagerService these two services which are not appropriate for this general task.  (see #5655)

Verified pass on longhorn master (longhorn-manager 16c09f, longhorn-instance-manager 29b7a7) with test steps

When a nfs backup store set in backup target, can see nfs mount in instance-manager pod

instance-manager-eea46f9cb64945896dda10fccdcc7a4f:/ # mount | grep "nfs"
longhorn-test-nfs-svc.default:/opt/backupstore on /var/lib/longhorn-backupstore-mounts/longhorn-test-nfs-svc_default/opt/backupstore type nfs4 (rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,acregmin=1,acregmax=1,acdirmin=1,acdirmax=1,soft,proto=tcp,timeo=300,retrans=2,sec=sys,clientaddr=<IP_ADDRESS>,local_lock=none,addr=<IP_ADDRESS>)

Unset the backup target, the nfs mount disappeared

instance-manager-eea46f9cb64945896dda10fccdcc7a4f:/ # mount | grep "nfs"
instance-manager-eea46f9cb64945896dda10fccdcc7a4f:/ #

Set the nfs backup store as backup target again, the backup worked well


Signoperation unit test

📝 Description

Add unit tests for the calculation of the chainId for the signOperation in the ethereum family

❓ Context

Impacted projects: LLC
Linked resource(s): https://ledgerhq.atlassian.net/browse/LIVE-4755

✅ Checklist

[x] Test coverage
[x] Atomic delivery
[x] No breaking changes

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

Something to be aware of: tests are only successful is type 2 tests is before type 0 tests


Considering agg. growth rate in checkGICInd

"checkGICInd" in ConsIndShockModel should also take into account aggregate growth as given by parameter PermGroFacAgg. Discussed this with Chris yesterday, who suggested issuing a pull request with a potential fix.
Please ensure your pull request adheres to the following guidelines:

[ ] Tests for new functionality/models or Tests to reproduce the bug-fix in code.
[ ] Updated documentation of features that add new functionality.
[ ] Update CHANGELOG.md with major/minor changes.

No, this is correct as is, but the notation isn't great because I used
PermGroFacAgg inconsistently between ConsIndShockModel and
ConsAggShockModel.
In this file, PermGroFacAgg is often (invisibly) set to 1.0 and ignored.
Here, it represents the portion of idiosyncratic permanent income growth
that's attributable to (constant, universal) aggregate productivity
growth.  This is irrelevant to the individual's problem and cannot affect
their consumption function nor whether the GIC fails.  The individual
doesn't care whether their expected income growth comes from their own
increasing skill over time, technology changes in their workplace, or
increased gamma rays from outer space.
It is relevant in simulation when there are multiple cohorts and we want
to to aggregate them and calculate something about the population.  If
PermGroFac is 1.02 and PermGroFacAgg is 1.01, then the permanent income of
"one year olds" in the population is only about 1% higher than "newborns"
in the population; this will lead to a different distribution of income
(and wealth) than if PermGroFacAgg were 1.0.  This is relevant whether
we're in an infinite horizon / perpetual youth model or a lifecycle model
with OLG.
On Tue, Aug 18, 2020 at 8:38 AM frankovici<EMAIL_ADDRESS>wrote:

"checkGICInd" in ConsIndShockModel should also take into account aggregate
growth as given by parameter PermGroFacAgg. Discussed this with Chris
yesterday, who suggested issuing a pull request with a potential fix.
Please ensure your pull request adheres to the following guidelines:

Tests for new functionality/models or Tests to reproduce the bug-fix
in code.
Updated documentation of features that add new functionality.
Update CHANGELOG.md with major/minor changes.

You can view, comment on, or merge this pull request online at:
https://github.com/econ-ark/HARK/pull/801
Commit Summary

checkGICInd in ConsIndShockModel should also take into account
aggregate growth as given by parameter PermGroFacAgg. Discussed this with
Chris yesterday, who suggested to issue a pull request with potential fix.

File Changes

M HARK/ConsumptionSaving/ConsIndShockModel.py
https://github.com/econ-ark/HARK/pull/801/files#diff-8580e741847787987b1f64bc570e5156
(2)

Patch Links:

https://github.com/econ-ark/HARK/pull/801.patch
https://github.com/econ-ark/HARK/pull/801.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/econ-ark/HARK/pull/801, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADKRAFPN2DR7NLG7KBO7FITSBJY4ZANCNFSM4QDMXHVQ
.

Whoops, hit send too fast.
In ConsAggShockModel, by contrast, PermGroFacAgg is a totally separate
thing from PermGroFac, because it is separately relevant in the agent's
decision-making process (in the presence of uncertainty).  It thus also
enters differently in simulation in ConsAggShockModel, where we have
something like:
pLvlNow = pLvlPrev*PermGroFac*PermGroFacAgg*PermShkNow*PermAggShkNow
Roughly, PermGroFacAgg is a component of PermGroFac in ConsIndShockModel,
but not in ConsAggShockModel.
On Tue, Aug 18, 2020 at 9:16 AM Matthew White<EMAIL_ADDRESS>wrote:

No, this is correct as is, but the notation isn't great because I used
PermGroFacAgg inconsistently between ConsIndShockModel and
ConsAggShockModel.
In this file, PermGroFacAgg is often (invisibly) set to 1.0 and ignored.
Here, it represents the portion of idiosyncratic permanent income growth
that's attributable to (constant, universal) aggregate productivity
growth.  This is irrelevant to the individual's problem and cannot affect
their consumption function nor whether the GIC fails.  The individual
doesn't care whether their expected income growth comes from their own
increasing skill over time, technology changes in their workplace, or
increased gamma rays from outer space.
It is relevant in simulation when there are multiple cohorts and we want
to to aggregate them and calculate something about the population.  If
PermGroFac is 1.02 and PermGroFacAgg is 1.01, then the permanent income of
"one year olds" in the population is only about 1% higher than "newborns"
in the population; this will lead to a different distribution of income
(and wealth) than if PermGroFacAgg were 1.0.  This is relevant whether
we're in an infinite horizon / perpetual youth model or a lifecycle model
with OLG.
On Tue, Aug 18, 2020 at 8:38 AM frankovici<EMAIL_ADDRESS>wrote:

"checkGICInd" in ConsIndShockModel should also take into account
aggregate growth as given by parameter PermGroFacAgg. Discussed this with
Chris yesterday, who suggested issuing a pull request with a potential fix.
Please ensure your pull request adheres to the following guidelines:

Tests for new functionality/models or Tests to reproduce the
bug-fix in code.
Updated documentation of features that add new functionality.
Update CHANGELOG.md with major/minor changes.

You can view, comment on, or merge this pull request online at:
https://github.com/econ-ark/HARK/pull/801
Commit Summary

checkGICInd in ConsIndShockModel should also take into account
aggregate growth as given by parameter PermGroFacAgg. Discussed this with
Chris yesterday, who suggested to issue a pull request with potential fix.

File Changes

M HARK/ConsumptionSaving/ConsIndShockModel.py
https://github.com/econ-ark/HARK/pull/801/files#diff-8580e741847787987b1f64bc570e5156
(2)

Patch Links:

https://github.com/econ-ark/HARK/pull/801.patch
https://github.com/econ-ark/HARK/pull/801.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/econ-ark/HARK/pull/801, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADKRAFPN2DR7NLG7KBO7FITSBJY4ZANCNFSM4QDMXHVQ
.

@frankovici, @mnwhite:
OK, this is definitely confusing (since Ivan was confused and I didn't know enough to set him straight).
@frankovici, do you understand what Matt is saying?  If so, it would be great if you could modify the PR just to add a bit of explanation in the form of comments in the code.
@mnwhite,
My sense is that we ought to change the way this works for a future release, to make the usages consistent.  I'd propose that we have PermGroFacInd and PermGroFacAgg and then define PermGroFac = PermGroFacInd \times PermGroFacAgg.
You're right that in the end all that matters in the ConsIndShockModel case is PermGroFac, so we might not even have to change anything in the core code; just define a new variable PermGroFacInd and set PermGroFac to the product?

@mnwhite  Thanks! I was not aware of the meaning of PermGroFac and PermGroFacAgg in the context of ConsIndShockModel. In my current simulation, PermGroFac is set to 1, while PermGroFacAgg is at 1.015. According to your example, this is nonsensical as PermGroFacAgg is supposed to be a component of and thus smaller than PermGroFac. Correct?
@llorracc I assume we want to set PermGroFac to 1.5 % in our simulation when matching Agg MPCx for Norway rather than PermGroFacAgg. Whether PermGroFacAgg is set to 1 or 1.5% probably won't then matter much. Do you agree?
Not sure whether I understand what you want me to do regarding the PR. Do you want me to add explanations to the meaning of PermGroFac / PermGroFacAgg to ConsIndShockModel?

@llorracc https://github.com/llorracc I assume we want to set
PermGroFac to 1.5 % in our simulation when matching Agg MPCx for Norway
rather than PermGroFacAgg. Whether PermGroFacAgg is set to 1 or 1.5%
probably won't then matter much. Do you agree?

Yes, that's right.

Not sure whether I understand what you want me to do regarding the PR. Do
you want me to add explanations to the meaning of PermGroFac /
PermGroFacAgg to ConsIndShockModel?

Yes, we've made it a principle to request that when someone has had trouble
understanding something in our code, and we have cleared it up for them, to
ask that person to add sufficient code coments or docstring edits or
whatever such that, if their own t-1 self had encountered and read those
comments, the t-1 self would not have made the mistake.
This has the virtue of helping us get an outsider's perspective on the
code.  We are so familiar with it that it may not occur to us to document
some things, and even if we do we might not guess correctly where in the
code a judicious comment would have prevented someone from going astray.
On Wed, Aug 19, 2020 at 9:10 AM frankovici<EMAIL_ADDRESS>wrote:

@mnwhite https://github.com/mnwhite Thanks! I was not aware of the
meaning of PermGroFac and PermGroFacAgg in the context of
ConsIndShockModel. In my current simulation, PermGroFac is set to 1, while
PermGroFacAgg is at 1.015. According to your example, this is nonsensical
as PermGroFacAgg is supposed to be a component of and thus smaller than
PermGroFac. Correct?
Not sure whether I understand what you want me to do regarding the PR. Do
you want me to add explanations to the meaning of PermGroFac /
PermGroFacAgg to ConsIndShockModel?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/econ-ark/HARK/pull/801#issuecomment-676330800, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKCK7ZTNUYIYYTH3ESEV6LSBPFMPANCNFSM4QDMXHVQ
.

--

Chris Carroll

Makes sense! I made a new PR with a comment on PermGroFacAgg, explaining that the latter should be understood as being a portion of PermGroFac. I think that's the information that was missing to avoid this mistake.

@llorracc will try to unify the treatments


FIX-#3915: Add pandas==1.4.0rc0 release candidate to conda env

Signed-off-by: jeffreykennethli<EMAIL_ADDRESS>
What do these changes do?
Modifies pandas version to the pre-release version pandas==1.4.0rc0 to test compatibility.

[ ] commit message follows format outlined here
[ ] passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
[ ] passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
[ ] signed commit with git commit -s
[ ] Resolves #3915 ?
[ ] tests added and passing
[ ] module layout described at docs/developer/architecture.rst is up-to-date

The conda install method seems to work better, but there's a conflict with the tests that are configured with python 3.7.
log: - pandas==1.4.0rc0 -> python[version='>=3.10,<3.11.0a0|>=3.9,<3.10.0a0|>=3.8,<3.9.0a0']
I'm going to try a push with just python 3.8.

I would recommend us waiting for an actual pandas release to test it because I remember when I spent a lot of time in testing a pandas release candidate and searching issues but it happened pandas threw most functionality that I was digging in to get Modin passes CI.

pandas 1.4.0 is available on conda-forge.

I am going to close this and track a new issue for 1.4.
In the future I think it is worth working with the release candidates just so that we don't have to have a long time between pandas and Modin releases.


Ability to override dictionary variable items

We have a use case where we load a large dictionary into a test suite (using Variables   defaults.yaml), and we want to give the user an ability to overwrite specific keys/values within the dictionary.
Ex: defaults.yaml would contain something like the below (in practice this file defines several hundred of values in the dict):
defaults:
  var1: 1
  subvar1:
    var2: 2

The ask for our use case is to overwrite specific values (rather than to augment the dict), i.e. through something like
robot --variable defaults.subvar1.var2:999 testsuite.robot
to set ${defaults}[subvar1][var2] to 999?
I understand that this could be problematic as I would not know how to handle such a overwriting behaviour using --variablefile as we DO want to retain the ability to overwrite the complete defaults top-level dict using --variablefile, so we would have a somewhat inconsistent behaviour?

This looks too complicated to me. I believe you should handle this in your variable files somehow. Possibly you could use a dynamic Python variable file that makes the needed adjustments. Or perhaps you can use the *reference syntax supported by YAML itself.


v2.6 to v3.x upgrade guide links are broken

On this page, for example:
https://docs.projectcalico.org/archive/v3.4/getting-started/kubernetes/upgrade/
Expected Behavior

The links near the bottom "Install and configure calico-upgrade" etc should land on a v3.4 page;
Current Behavior

Instead they get redirected to https://docs.projectcalico.org/maintenance/upgrading.
Possible Solution

Fix the urls of the links to be relative.
Steps to Reproduce (for bugs)

Go to https://docs.projectcalico.org/archive/v3.4/getting-started/kubernetes/upgrade/
Click "Install and configure calico-upgrade"

Context

Your Environment

Calico version
Orchestrator version (e.g. kubernetes, mesos, rkt):
Operating System and version:
Link to your project (optional):

+1

I have already upgraded calico from v2.6.12 -> v3.5.8 yesterday with the follow pages:

For old versions pages, there are many wrong links to latest，but not affect upgrade.


Remove path from right side naviation

When generating the documentation the path and module are displayed as path/module in the right side navigation.
Is there a way to not show the path so that the right side navigation only show module?

Hi, sorry, but currently you cannot do that. But the handling of modules will change in the near future there are already multiple issues discussing this. See #68, #98, #111 and #117. Both the first and and the last issue reminds me of your request.

any progress on this? I like typedoc a lot but this is uglyfing it :)

any news about this issue?

This can be done using the typedoc-plugin-external-module-name plugin, still no built in way to do it. It could also be done by modifying the theme (I believe typedoc-neo-theme does this)


Add whisper-set-xfilesfactor.py

Add setXFilesFactor function which changes the XFilesFactor
without modifying the aggregation method.
Refactor setAggregationMethod, split out the writing of header
metadata.
Add validation for writing header medatadat.
test_whisper.py: force rereading header when simulating a
corrupt whisper file

Coverage decreased (-0.3%) to 88.032% when pulling 38a891e1219d474c4cf7d78b1ae5eaeab96d1ec1 on piotr1212:set_xff into b783ab3f577f3f60db607adda241e29b7242bcf4 on graphite-project:master.

Coverage decreased (-0.3%) to 88.032% when pulling 38a891e1219d474c4cf7d78b1ae5eaeab96d1ec1 on piotr1212:set_xff into b783ab3f577f3f60db607adda241e29b7242bcf4 on graphite-project:master.

Coverage decreased (-0.3%) to 88.032% when pulling 38a891e1219d474c4cf7d78b1ae5eaeab96d1ec1 on piotr1212:set_xff into b783ab3f577f3f60db607adda241e29b7242bcf4 on graphite-project:master.

Thanks, looks good, but maybe it will be good to have another pair of eye co check it.
/cc @graphite-project/committers

Coverage increased (+0.1%) to 88.426% when pulling bdc6a7d2bca6b003d596eb859a7675159618d2a5 on piotr1212:set_xff into b783ab3f577f3f60db607adda241e29b7242bcf4 on graphite-project:master.

Are my changes good enough or do I need to refactor more?

LGTM

cool thanks


Update Documentation Navigator Links

Description:
Update the links in [1] so that they point to the pages with the relevant content.
[1] https://github.com/wso2/docs-choreo-dev/blob/main/en/mkdocs.yml
Suggested Labels:
Suggested Assignees:
RukshiW
Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Visit https://choreo.docs.wso2.com/en/test/. The navigator links point to dummy pages.

This issue is obsolete


go bindings for substrait

Adding go bindings into here as discussed in https://github.com/substrait-io/substrait/pull/168
Will update the submodule commit hash here after that is merged, so that the submodule contains the updated buf.gen.yaml for generating the Go code.

@cpcloud I used the submodule rather than directly copy the .proto files into this repo so that it ensures we can easily keep the proto files in sync between the two repos. I figured that was easier than using buf and then manually copying the resulting files.

@cpcloud it looks like it's possible to have buf point at remote .proto files (https://docs.buf.build/tour/list-all-protobuf-files) So i can definitely look into a follow-up to this that can put a buf.gen.yaml here which uses this remote functionality to remove the need for the submodule

Thanks @zeroshade !


[orchestrator] continuous stop start and toggle between active and passive mode.

Orchestration bug
Step to reproduces. 3 dappnodes. 2 synch 1 not synch but maybe not linked to orchestration bug.
Toggle active passive :

Toggle active passive :

logs

2020-03-16 10:58:51 Idle (2 peers), best: #10205 (0x7822…c1e3), finalized #10204 (0x2859…51e7), ⬇ 10.5kiB/s ⬆ 10.8kiB/s
--------------- Chain node network state and health ----------------
Peer ID: QmPbUzfJTYHFmSWez35okK7p6JrcsiY3HHGHXszSfTysag
Peer number: 2
Is syncing?: false
--------------------------------------------------------------------
2020-03-16 10:58:54 Imported #10206 (0xdf6a…f12b)
Orchestrating service...
Checking if Archipel chain node can receive transactions...
Checking if service was not suspended...
Checking is service is ready to start...
isServiceReadyToStart function start
Service not ready. Enforcing 'passive' service mode...
copy polkadot-node-id-2 file in polkadot container folder /polkadot/keys/
Container network mode: container:b1404b10143d...
Polkadot will use volume 'archipelpublicdappnodeeth_service'...
Stopping kusama-data-polkadot-validator container...
Deleting container kusama-data-polkadot-validator...
Starting kusama-data-polkadot-sync container...
Pulling parity/polkadot:latest image...
Image was successfully pulled.
Creating and starting container...
2020-03-16 10:58:56 Idle (2 peers), best: #10206 (0xdf6a…f12b), finalized #10205 (0x7822…c1e3), ⬇ 10.0kiB/s ⬆ 10.6kiB/s
2020-03-16 10:58:58 Discovered new external address for our node: /ip4/<IP_ADDRESS>/tcp/30334/p2p/QmPbUzfJTYHFmSWez35okK7p6JrcsiY3HHGHXszSfTysag
2020-03-16 10:58:59 Discovered new external address for our node: /ip4/<IP_ADDRESS>/tcp/30334/p2p/QmPbUzfJTYHFmSWez35okK7p6JrcsiY3HHGHXszSfTysag
2020-03-16 10:59:00 Starting consensus session on top of parent 0xdf6a8205ac494d7a0caee6b3f5c19c8e52d6874ab007b5d29d58fe498d49f12b
2020-03-16 10:59:00 Prepared block for proposing at 10207 [hash: 0x23742cd465b08ed36feb5538c254c8a80a4700a1a5ab2acbe5898a7a9dc356bd; parent_hash: 0xdf6a…f12b; extrinsics: [0x1ad2…0b25]]
2020-03-16 10:59:00 Pre-sealed block for proposal at 10207. Hash now 0x3d8eb34df116aae75fa3af1a58e3b6349c7121ed5d2bc54317430e553499cbed, previously 0x23742cd465b08ed36feb5538c254c8a80a4700a1a5ab2acbe5898a7a9dc356bd.
2020-03-16 10:59:00 Imported #10207 (0x3d8e…cbed)
2020-03-16 10:59:01 Idle (2 peers), best: #10207 (0x3d8e…cbed), finalized #10206 (0xdf6a…f12b), ⬇ 7.7kiB/s ⬆ 9.0kiB/s
--------------- Chain node network state and health ----------------
Peer ID: QmPbUzfJTYHFmSWez35okK7p6JrcsiY3HHGHXszSfTysag
Peer number: 2
Is syncing?: false
--------------------------------------------------------------------
Archipel node has some peers and is synchronized so adding metrics...
2020-03-16 10:59:06 Imported #10208 (0x3453…ab71)
Orchestrating service...
Checking if Archipel chain node can receive transactions...
Checking if service was not suspended...
Checking is service is ready to start...
isServiceReadyToStart function start
Checking is anyone in federation is alive...
Checking node leadership...
Current node is leader...
All checks passed. Launching service in active mode...
copy polkadot-node-id-2 file in polkadot container folder /polkadot/keys/
Container network mode: container:b1404b10143d...
Polkadot will use volume 'archipelpublicdappnodeeth_service'...
Stopping kusama-data-polkadot-sync container...
Deleting container kusama-data-polkadot-sync...
Starting kusama-data-polkadot-validator container...
2020-03-16 10:59:06 Idle (2 peers), best: #10208 (0x3453…ab71), finalized #10206 (0xdf6a…f12b), ⬇ 7.5kiB/s ⬆ 7.8kiB/s
Pulling parity/polkadot:latest image...
Image was successfully pulled.
Creating and starting container...
2020-03-16 10:59:11 Idle (2 peers), best: #10208 (0x3453…ab71), finalized #10207 (0x3d8e…cbed), ⬇ 7.4kiB/s ⬆ 8.4kiB/s
2020-03-16 10:59:12 Imported #10209 (0x4e97…765a)
--------------- Chain node network state and health ----------------
Peer ID: QmPbUzfJTYHFmSWez35okK7p6JrcsiY3HHGHXszSfTysag
Peer number: 2
Is syncing?: false
--------------------------------------------------------------------
2020-03-16 10:59:16 Idle (2 peers), best: #10209 (0x4e97…765a), finalized #10208 (0x3453…ab71), ⬇ 7.5kiB/s ⬆ 7.3kiB/s
2020-03-16 10:59:18 Starting consensus session on top of parent 0x4e97bbdf1fb9a132e4a47dee36947ff443885df925e7d77ab46b7ee474ea765a
2020-03-16 10:59:18 Prepared block for proposing at 10210 [hash: 0x8cd171d91c08a338f6887e9a3a6b1c7062741f70845d9acea5f134f1edd77e6a; parent_hash: 0x4e97…765a; extrinsics: [0x78fa…098a, 0x6e50…319c, 0x3171…dab3]]
2020-03-16 10:59:18 Pre-sealed block for proposal at 10210. Hash now 0x2159b953a140c460162a74bb73746987372973507593044004ddd9f6481ce593, previously 0x8cd171d91c08a338f6887e9a3a6b1c7062741f70845d9acea5f134f1edd77e6a.
2020-03-16 10:59:18 Imported #10210 (0x2159…e593)
Archipel node has some peers and is synchronized so adding metrics...
2020-03-16 10:59:18 Discovered new external address for our node: /ip4/<IP_ADDRESS>/tcp/30334/p2p/QmPbUzfJTYHFmSWez35okK7p6JrcsiY3HHGHXszSfTysag
2020-03-16 10:59:21 Idle (2 peers), best: #10210 (0x2159…e593), finalized #10209 (0x4e97…765a), ⬇ 10.1kiB/s ⬆ 9.7kiB/s
--------------- Chain node network state and health ----------------
Peer ID: QmPbUzfJTYHFmSWez35okK7p6JrcsiY3HHGHXszSfTysag
Peer number: 2
Is syncing?: false
--------------------------------------------------------------------
2020-03-16 10:59:24 Imported #10211 (0x46a5…605c)
Orchestrating service...
Checking if Archipel chain node can receive transactions...
Checking if service was not suspended...
Checking is service is ready to start...
isServiceReadyToStart function start
Service not ready. Enforcing 'passive' service mode...
copy polkadot-node-id-2 file in polkadot container folder /polkadot/keys/
Container network mode: container:b1404b10143d...
Polkadot will use volume 'archipelpublicdappnodeeth_service'...
Stopping kusama-data-polkadot-validator container...
Deleting container kusama-data-polkadot-validator...
Starting kusama-data-polkadot-sync container...
Pulling parity/polkadot:latest image...
Image was successfully pulled.
Creating and starting container...
2020-03-16 10:59:26 Idle (2 peers), best: #10211 (0x46a5…605c), finalized #10210 (0x2159…e593), ⬇ 11.0kiB/s ⬆ 9.9kiB/s
2020-03-16 10:59:30 Imported #10212 (0xb1e8…8189)
2020-03-16 10:59:31 Idle (2 peers), best: #10212 (0xb1e8…8189), finalized #10211 (0x46a5…605c), ⬇ 7.4kiB/s ⬆ 8.4kiB/s
--------------- Chain node network state and health ----------------
Peer ID: QmPbUzfJTYHFmSWez35okK7p6JrcsiY3HHGHXszSfTysag
Peer number: 2
Is syncing?: false
--------------------------------------------------------------------
Archipel node has some peers and is synchronized so adding metrics...
2020-03-16 10:59:36 Starting consensus session on top of parent 0xb1e80a1e1b8a384eaef180cbea2953e35595744728739ce1346fbe38870e8189
2020-03-16 10:59:36 Prepared block for proposing at 10213 [hash: 0xb85938f7092c5e1d0aa2cbd050de0f50b25447e92b31f1f69df90b7eda80f31b; parent_hash: 0xb1e8…8189; extrinsics: [0x5548…6186, 0xe75d…969c]]
2020-03-16 10:59:36 Pre-sealed block for proposal at 10213. Hash now 0xe79fa61bfafabc5dd56ba1c0a6a230d7909111cc96a22a77c83f6e90d8b9ea47, previously 0xb85938f7092c5e1d0aa2cbd050de0f50b25447e92b31f1f69df90b7eda80f31b.
2020-03-16 10:59:36 Imported #10213 (0xe79f…ea47)
Orchestrating service...
Checking if Archipel chain node can receive transactions...
Checking if service was not suspended...
Checking is service is ready to start...
isServiceReadyToStart function start
Checking is anyone in federation is alive...
Checking node leadership...
Current node is leader...
All checks passed. Launching service in active mode...
copy polkadot-node-id-2 file in polkadot container folder /polkadot/keys/
Container network mode: container:b1404b10143d...
Polkadot will use volume 'archipelpublicdappnodeeth_service'...
Stopping kusama-data-polkadot-sync container...
Deleting container kusama-data-polkadot-sync...
Starting kusama-data-polkadot-validator container...
2020-03-16 10:59:36 Idle (2 peers), best: #10213 (0xe79f…ea47), finalized #10211 (0x46a5…605c), ⬇ 6.5kiB/s ⬆ 7.3kiB/s
Pulling parity/polkadot:latest image...
Image was successfully pulled.
Creating and starting container...
2020-03-16 10:59:41 Idle (2 peers), best: #10213 (0xe79f…ea47), finalized #10212 (0xb1e8…8189), ⬇ 7.2kiB/s ⬆ 8.0kiB/s
2020-03-16 10:59:42 Imported #10214 (0xebb1…f2c1)
--------------- Chain node network state and health ----------------
Peer ID: QmPbUzfJTYHFmSWez35okK7p6JrcsiY3HHGHXszSfTysag
Peer number: 2
Is syncing?: false
--------------------------------------------------------------------
2020-03-16 10:59:46 Idle (2 peers), best: #10214 (0xebb1…f2c1), finalized #10213 (0xe79f…ea47), ⬇ 8.8kiB/s ⬆ 7.9kiB/s
Archipel node has some peers and is synchronized so adding metrics...
2020-03-16 10:59:48 Imported #10215 (0x99e7…e3f3)
2020-03-16 10:59:51 Discovered new external address for our node: /ip4/<IP_ADDRESS>/tcp/30334/p2p/QmPbUzfJTYHFmSWez35okK7p6JrcsiY3HHGHXszSfTysag
2020-03-16 10:59:51 Idle (2 peers), best: #10215 (0x99e7…e3f3), finalized #10214 (0xebb1…f2c1), ⬇ 8.3kiB/s ⬆ 8.1kiB/s
--------------- Chain node network state and health ----------------
Peer ID: QmPbUzfJTYHFmSWez35okK7p6JrcsiY3HHGHXszSfTysag
Peer number: 2
Is syncing?: false
--------------------------------------------------------------------
2020-03-16 10:59:54 Starting consensus session on top of parent 0x99e75fdf791e962899782e8c1c0ccd9d29da562476b0e86bb6fabf386b7be3f3
2020-03-16 10:59:54 Prepared block for proposing at 10216 [hash: 0xe5c8722e52e1f181dbe368371c46ed8f1b1e1548655efbfc31bc9ac20a88608b; parent_hash: 0x99e7…e3f3; extrinsics: [0x046a…b417, 0x3f15…5447, 0x5b41…3465, 0x57e6…8be6]]
2020-03-16 10:59:54 Pre-sealed block for proposal at 10216. Hash now 0xbd29116c4f2004134a2c3658bf3c57b942836a010cb7adbd22f27403126028fa, previously 0xe5c8722e52e1f181dbe368371c46ed8f1b1e1548655efbfc31bc9ac20a88608b.
2020-03-16 10:59:54 Imported #10216 (0xbd29…28fa)
Orchestrating service...
Checking if Archipel chain node can receive transactions...
Checking if service was not suspended...
Checking is service is ready to start...
isServiceReadyToStart function start
Service not ready. Enforcing 'passive' service mode...
copy polkadot-node-id-2 file in polkadot container folder /polkadot/keys/
Container network mode: container:b1404b10143d...
Polkadot will use volume 'archipelpublicdappnodeeth_service'...
Stopping kusama-data-polkadot-validator container...
Deleting container kusama-data-polkadot-validator...
Starting kusama-data-polkadot-sync container...
Pulling parity/polkadot:latest image...
Image was successfully pulled.
Creating and starting container...
2020-03-16 10:59:56 Idle (2 peers), best: #10216 (0xbd29…28fa), finalized #10215 (0x99e7…e3f3), ⬇ 11.7kiB/s ⬆ 10.4kiB/s
2020-03-16 11:00:00 Imported #10217 (0xfd65…b21b)
2020-03-16 11:00:01 Idle (2 peers), best: #10217 (0xfd65…b21b), finalized #10216 (0xbd29…28fa), ⬇ 8.6kiB/s ⬆ 8.9kiB/s
--------------- Chain node network state and health ----------------
Peer ID: QmPbUzfJTYHFmSWez35okK7p6JrcsiY3HHGHXszSfTysag
Peer number: 2
Is syncing?: false
--------------------------------------------------------------------
Archipel node has some peers and is synchronized so adding metrics...
2020-03-16 11:00:06 Imported #10218 (0x314d…8189)
Orchestrating service...
Checking if Archipel chain node can receive transactions...
Checking if service was not suspended...
Checking is service is ready to start...
isServiceReadyToStart function start
Checking is anyone in federation is alive...
Checking node leadership...
Current node is leader...
All checks passed. Launching service in active mode...
copy polkadot-node-id-2 file in polkadot container folder /polkadot/keys/
Container network mode: container:b1404b10143d...
Polkadot will use volume 'archipelpublicdappnodeeth_service'...
Stopping kusama-data-polkadot-sync container...
Deleting container kusama-data-polkadot-sync...
Starting kusama-data-polkadot-validator container...
2020-03-16 11:00:06 Idle (2 peers), best: #10218 (0x314d…8189), finalized #10216 (0xbd29…28fa), ⬇ 9.8kiB/s ⬆ 9.8kiB/s
Pulling parity/polkadot:latest image...
Image was successfully pulled.
Creating and starting container...
2020-03-16 11:00:08 Discovered new external address for our node: /ip4/<IP_ADDRESS>/tcp/30334/p2p/QmPbUzfJTYHFmSWez35okK7p6JrcsiY3HHGHXszSfTysag
2020-03-16 11:00:11 Idle (2 peers), best: #10218 (0x314d…8189), finalized #10217 (0xfd65…b21b), ⬇ 20.3kiB/s ⬆ 14.4kiB/s
2020-03-16 11:00:12 Starting consensus session on top of parent 0x314db04ed3b416a77cf1f30a352ba573e41362a810be7a35fdd95b0194138189
2020-03-16 11:00:12 Prepared block for proposing at 10219 [hash: 0xd91412dc683d09098227a0b984bab36f0b9dde09cf1160ce7ede012c93935726; parent_hash: 0x314d…8189; extrinsics: [0xa2cd…5211]]
2020-03-16 11:00:12 Pre-sealed block for proposal at 10219. Hash now 0x895b0e5a8195965cf45488533d2c1910bbb994a09fe3ee833b1f3aba52b24714, previously 0xd91412dc683d09098227a0b984bab36f0b9dde09cf1160ce7ede012c93935726.
2020-03-16 11:00:12 Imported #10219 (0x895b…4714)
--------------- Chain node network state and health ----------------
Peer ID: QmPbUzfJTYHFmSWez35okK7p6JrcsiY3HHGHXszSfTysag
Peer number: 2
Is syncing?: false
------------------------------------------------

fixed by #94


Rouge - Handling empty last line of prediction file

Hi,
What's the best way to handle mismatched lines in source and target. Currently, the code fails on line 111:
# Check whether num_targets < num_predictions
if next(pred_gen, None) is not None or next(pred_gen, None) is not None:
  raise ValueError("Must have equal number of lines across target and "
                   "prediction files. Mismatch between files: %s, %s." %
                   (target_filename, prediction_filename))

My predictions files have more sentences than the target and the pyrouge package which is built on the PERL rouge handles this without breaking. Should I be pre-processing my target files to have same no: of lines as the prediction?
Can this be handled the rouge package level instead similar to the perl one?
Commenting out this check leads to 10 points lower in all metrics as compares to the pyrouge outputs.
Let me know if any additional code/output files are required to better understand this issue.

May I ask how do you mean by "each line in the targets needs to align with each line in the predictions". Does it mean that for every system summary there should be only one gold summary. The rouge measure can essentially evaluate a system summary against multiple gold summaries. Does it mean that your package only support single gold summary?!
I am wondering if it is possible to provide more detail information on using your rouge package ?  ( I have copied the highlights below)

"To automatically match a system summary with the corresponding model summaries, pyrouge uses regular expressions. For example, let’s assume your system summaries are named with a combination of a fixed name and a variable numeric ID like this:
some_name.001.txt
some_name.002.txt
some_name.003.txt
…
and the model summaries like this, with uppercase letters identifying multiple model summaries for a given document:
some_name.A.001.txt
some_name.B.001.txt
some_name.C.001.txt
some_name.A.002.txt
some_name.B.002.txt
…
The group in the system_filename_pattern tells pyrouge which part of the filename is the ID – in this case (\d+). You have to use round brackets to indicate a group, or else pyrouge won’t be able to tell apart the ID from the rest of the filename. pyrouge then uses that ID to find all matching model summaries. The special placeholder #ID# tells pyrouge where it should expect the ID in the model_filename_pattern. The [A-Z] part matches multiple model summaries for that ID."


Filters based on the current list of entries

Overview
I don't think this is a bug and maybe it's an implementation help, I'm sorry for that.
I spent quite a few hours trying to figure it out on my own and searching on the proposed channels but I couldn't find the answer to my problem so I'm trying here.

What I am trying to get:
Filters based on the current items that are listed.
So, for example, if I select a filter to be applied, I'd like to have the other filters to have their contents also affected by the filter that IS applied.
Let's say I have a dropdown with statuses: enabled, disabled.
And then another dropdown that shows clients A, B and C.
The list items related to client B are all disabled, so when I select the status -> enabled, I'd like to have the clients' dropdown to show ONLY the clients A and C
is there any known solution for that?
Apart from the above, this 👇 looks like a bug:
The date filter cannot be cleared. When I select a date that date stays there even after I click on the Remove Filters button.
I'd expect to click on the X within the date filter and have the filtered date removed but that's not happening.
What I've already tried to fix it:
Tried to use the $this->crud->getEntries() to play around bu that doesn't work and break my page.
Searched a lot here on the repo's issues and also Google and StackOverflow, no success though, perhaps I'm typing the wrong questions.
Thanks for your help!
Backpack, Laravel, PHP, DB version:
backpack/crud 4.0.12
laravel/framework v6.4.1
PHP 7.3.11

Closing this. Check my comment on gitter.
BR

Thank you for taking care of this @pxpm .
Haven't followed your discussion on Gitter, but if I were you @maxacarvalho I'd use the select2 filter. It allows you to return whatever values you want for the filter, in the second parameter, inside the closure. So you could return a filtered set of options for that filter, depending on GET variables of the other filters.
Hope it helps!


generalize the read sender factory

read(cpo) is a sender that fetches the value of the query cpo from the receiver's environment and sends it through the value channel. Here are two ideas for making it more general:

[ ] Support reading multiple CPOs at a time; e.g., read(cpo1, cpo2, cpo3) would read three values from the receiver and send them all through the value channel.
[ ] Support a way to specify a default value to use if the receiver's environment doesn't implement the CPO; e.g., read(with(cpo, value)).

See also #539, #540

That feels like a monadic interface. would value and value_or fit here?

Maybe :
when_all(value(cpo1), value_or(cpo2, default))

?


Annotations generators: Add linter covarage

What this PR does
PRs #12558 and #12710 introduced the following packages without linter covarage:

pkg/network/pod/annotations
pkg/storage/pod/annotations

Add linter coverage for both packages.

Fixes #
Why we need it and why it was done in this way
The following tradeoffs were made:
The following alternatives were considered:
Links to places where the discussion took place:
Special notes for your reviewer

Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[X] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[X] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note

None

Change: Answered @EdDev's comment.


Subscribing to keypresses doesn't work in Firefox

Using Firefox on Linux, subscribing to keypresses using the presses function always gives a keycode of 0. This issue is demonstrated in using the code below. Subscribing to downs or ups gives the expected keycodes.
import Html exposing (..)
import Html.App exposing (program)
import Char exposing (fromCode,toCode)
import Keyboard exposing (..)

type alias Model = List KeyCode

type Msg = KeyMsg KeyCode

init : (Model, Cmd Msg)
init = ([], Cmd.none)

update : Msg -> Model -> (Model, Cmd Msg)
update (KeyMsg msg) m = (msg::m, Cmd.none)

subscriptions : Model -> Sub Msg
subscriptions _ = presses KeyMsg

view : Model -> Html Msg
view m = text (toString m)

main = program {
           init = init,
           update = update,
           view = view,
           subscriptions = subscriptions
         }

#3


Data previews

Might be nice to have a notebook or something showing the first few rows of each dataset to get an idea of what they look like - particularly useful for parquet files as they are not directly inspectable

In particular it might be nice to generate these here for inclusion in Splink docs - downside of doing it on the Splink side is that we would need to download the data when building the docs.


Removes references to node and grunt as this is Go's example

Thank you I just copied my scripts from the other project


[Bug]: Permission denied: '/chroma/chroma.log'

What happened?
I try to start a project named CLAIRe using chroma, but I cannot start the server.
This error looks like:  PermissionError: [Errno 13] Permission denied: '/chroma/chroma.log'
It looks like I don't have the right to write this log file. However, I already use the administrator mode when using cmd. How can I solve this?

ready started server on <IP_ADDRESS>:3000, url: http://localhost:3000
2023-08-14 16:57:46 claire-claire-1  | - info Loaded env from /app/.env.local
2023-08-14 16:58:25 claire-claire-1  | Error: Chroma getOrCreateCollection error: Error: TypeError: fetch failed
2023-08-14 16:58:25 claire-claire-1  |     at Chroma.ensureCollection (/app/node_modules/langchain/dist/vectorstores/chroma.cjs:96:23)
2023-08-14 16:57:45 claire-server-1  | PermissionError: [Errno 13] Permission denied: '/chroma/chroma.log'
2023-08-14 16:57:45 claire-server-1  |
2023-08-14 16:57:45 claire-server-1  | The above exception was the direct cause of the following exception:
2023-08-14 16:57:45 claire-server-1  |
2023-08-14 16:57:45 claire-server-1  | Traceback (most recent call last):
2023-08-14 16:57:45 claire-server-1  |   File "/usr/local/bin/uvicorn", line 8, in
2023-08-14 16:57:45 claire-server-1  |     sys.exit(main())
2023-08-14 16:57:45 claire-server-1  |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1157, in call
2023-08-14 16:58:25 claire-claire-1  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-08-14 16:58:25 claire-claire-1  |     at async ChromaEntityStore.create (/app/.next/server/chunks/329.js:176:28)
2023-08-14 16:58:25 claire-claire-1  |     at async ClaireMemory.create (/app/.next/server/chunks/329.js:613:51)
2023-08-14 16:58:25 claire-claire-1  |     at async getMemory (/app/.next/server/chunks/329.js:778:20)
2023-08-14 16:58:25 claire-claire-1  |     at async handler (/app/.next/server/pages/api/scheduled.js:120:24)
2023-08-14 16:59:26 claire-claire-1  | Error: Chroma getOrCreateCollection error: Error: TypeError: fetch failed
2023-08-14 16:57:45 claire-server-1  |     return self.main(*args, **kwargs)
2023-08-14 16:59:26 claire-claire-1  |     at Chroma.ensureCollection (/app/node_modules/langchain/dist/vectorstores/chroma.cjs:96:23)
2023-08-14 16:59:26 claire-claire-1  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-08-14 16:59:26 claire-claire-1  |     at async ChromaEntityStore.create (/app/.next/server/chunks/329.js:176:28)
2023-08-14 16:59:26 claire-claire-1  |     at async ClaireMemory.create (/app/.next/server/chunks/329.js:613:51)
2023-08-14 16:57:45 claire-server-1  |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1078, in main
2023-08-14 16:57:45 claire-server-1  |     rv = self.invoke(ctx)
2023-08-14 16:57:45 claire-server-1  |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
2023-08-14 16:57:45 claire-server-1  |     return ctx.invoke(self.callback, **ctx.params)
2023-08-14 16:57:45 claire-server-1  |   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 783, in invoke
2023-08-14 16:59:26 claire-claire-1  |     at async getMemory (/app/.next/server/chunks/329.js:778:20)
2023-08-14 16:59:26 claire-claire-1  |     at async handler (/app/.next/server/pages/api/scheduled.js:120:24)
2023-08-14 16:57:45 claire-server-1  |     return __callback(*args, **kwargs)
2023-08-14 17:00:27 claire-claire-1  | Error: Chroma getOrCreateCollection error: Error: TypeError: fetch failed
2023-08-14 16:57:45 claire-server-1  |   File "/usr/local/lib/python3.10/site-packages/uvicorn/main.py", line 408, in main
2023-08-14 17:00:27 claire-claire-1  |     at Chroma.ensureCollection (/app/node_modules/langchain/dist/vectorstores/chroma.cjs:96:23)
2023-08-14 16:57:45 claire-server-1  |     run(
2023-08-14 16:57:45 claire-server-1  |   File "/usr/local/lib/python3.10/site-packages/uvicorn/main.py", line 512, in run
2023-08-14 17:00:27 claire-claire-1  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-08-14 16:57:45 claire-server-1  |     config = Config(
2023-08-14 16:57:45 claire-server-1  |   File "/usr/local/lib/python3.10/site-packages/uvicorn/config.py", line 305, in init
2023-08-14 17:00:27 claire-claire-1  |     at async ChromaEntityStore.create (/app/.next/server/chunks/329.js:176:28)
2023-08-14 16:57:45 claire-server-1  |     self.configure_logging()
2023-08-14 16:57:45 claire-server-1  |   File "/usr/local/lib/python3.10/site-packages/uvicorn/config.py", line 417, in configure_logging
2023-08-14 17:00:27 claire-claire-1  |     at async ClaireMemory.create (/app/.next/server/chunks/329.js:613:51)
2023-08-14 17:00:27 claire-claire-1  |     at async getMemory (/app/.next/server/chunks/329.js:778:20)
2023-08-14 17:00:27 claire-claire-1  |     at async handler (/app/.next/server/pages/api/scheduled.js:120:24)
2023-08-14 17:01:28 claire-claire-1  | Error: Chroma getOrCreateCollection error: Error: TypeError: fetch failed
2023-08-14 16:57:45 claire-server-1  |     logging.config.dictConfig(loaded_config)
2023-08-14 16:57:45 claire-server-1  |   File "/usr/local/lib/python3.10/logging/config.py", line 811, in dictConfig
2023-08-14 16:57:45 claire-server-1  |     dictConfigClass(config).configure()
2023-08-14 17:01:28 claire-claire-1  |     at Chroma.ensureCollection (/app/node_modules/langchain/dist/vectorstores/chroma.cjs:96:23)
2023-08-14 17:01:28 claire-claire-1  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-08-14 16:57:45 claire-server-1  |   File "/usr/local/lib/python3.10/logging/config.py", line 572, in configure
2023-08-14 17:01:28 claire-claire-1  |     at async ChromaEntityStore.create (/app/.next/server/chunks/329.js:176:28)
2023-08-14 17:01:28 claire-claire-1  |     at async ClaireMemory.create (/app/.next/server/chunks/329.js:613:51)
2023-08-14 17:01:28 claire-claire-1  |     at async getMemory (/app/.next/server/chunks/329.js:778:20)
2023-08-14 17:01:28 claire-claire-1  |     at async handler (/app/.next/server/pages/api/scheduled.js:120:24)
2023-08-14 16:57:45 claire-server-1  |     raise ValueError('Unable to configure handler '
2023-08-14 16:57:45 claire-server-1  | ValueError: Unable to configure handler 'file'
2023-08-14 16:57:57 claire-server-1  | Traceback (most recent call last):
2023-08-14 16:57:57 claire-server-1  |   File "/usr/local/lib/python3.10/logging/config.py", line 565, in configure
2023-08-14 16:57:57 claire-server-1  |     handler = self.configure_handler(handlers[name])
2023-08-14 16:57:57 claire-server-1  |   File "/usr/local/lib/python3.10/logging/config.py", line 746, in configure_handler
2023-08-14 16:57:57 claire-server-1  |     result = factory(**kwargs)
2023-08-14 16:57:57 claire-server-1  |   File "/usr/local/lib/python3.10/logging/handlers.py", line 155, in init
2023-08-14 16:57:57 claire-server-1  |     BaseRotatingHandler.init(self, filename, mode, encoding=encoding,
2023-08-14 16:57:57 claire-server-1  |   File "/usr/local/lib/python3.10/logging/handlers.py", line 58, in init
2023-08-14 16:57:57 claire-server-1  |     logging.FileHandler.init(self, filename, mode=mode,
2023-08-14 16:57:57 claire-server-1  |   File "/usr/local/lib/python3.10/logging/init.py", line 1169, in init
2023-08-14 16:57:57 claire-server-1  |     StreamHandler.init(self, self._open())
2023-08-14 16:57:57 claire-server-1  |   File "/usr/local/lib/python3.10/logging/init.py", line 1201, in _open
2023-08-14 16:57:57 claire-server-1  |     return open_func(self.baseFilename, self.mode,
2023-08-14 16:57:57 claire-server-1  | PermissionError: [Errno 13] Permission denied: '/chroma/chroma.log'

Versions
python 3.10,  chroma(latest version)
Relevant log output
No response

Hey, @wcw1996119 can you elaborate on how your server gets started? Is it local or in Docker or docker-compose?

@wcw1996119 any more info you can provide here would be great!

Closing this as stale, likely the process did not have permissions to write in this directory or for this specific file. I might check and modify the permissions.


Embed media content

Should we embed a page preview of blogposts? like this
We could also embed videos if they're hosted by youtube or vimeo with the iframe -tag. In yt replace watch?v= with embed in url, in vimeo add player (as in player.vimeo.com) and add /video/ before video id in url.

Yes! I was thinking the same, but not for this version. Maybe the next one, if the customer wants it too?

This is on on backlog and sprint log.


Incompatible with Home Assistant 2024.6.1 due to python request library version

HA 2024.6.1 updates the python requests library to 2.23.3. This causes the Unifi Access integration to be unable to load
Logger: homeassistant.util.package
Source: util/package.py:123
First occurred: 2:57:17 PM (3 occurrences)
Last logged: 2:57:35 PM

Unable to install package requests==2.31.0: ERROR: Cannot install requests==2.31.0 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts}

Same issue here.

I don't know if this is what you would want to do to fix it @imhotep, but I removed requests from the manifest file and it seems to work with the latest update.

Hi Garth, I’m quote new to Python but where do I find the manifest to remove the request

Hi Imothep/Garth,
I found the manifest and I did it a bit differently..
I change the
"requirements": ["websocket-client==1.6.4", "requests==2.31.0"],
To
"requirements": ["websocket-client==1.6.4", "requests>=2.31.0"],
Equal or greather than… and that also seems to work..
I think (with my little programming knowledge) that the reuests requirement will be loaded, but as I don’t know where it is used for, I don’t know if I’m doing good with it 😉
Anyway, it looks likes it’s loading now…
Filip Heens
ICT Consultant
Tel: +3224865090
[Patronale Life b.png]
Patronale Life N.V.
Verzekeringsonderneming toegelaten onder code 9081, onder toezicht van de NBB
Entreprise d’assurance agréée sous le code 1642 - Sous la surveillance de la Banque Nationale Belge
Bld. Bischoffsheimlaan 33, B-1000 Brussel / Bruxelles
www.patronale-life.be
This e-mail and any attached files are confidential and may contain information which is protected by intellectual property rights. If you are not the addressee named above any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication (including any attachment) is prohibited. If you have received this e-mail in error, please notify the sender immediately and destroy this e-mail and any copies from your system. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, and shall have no liability for any loss or damage suffered by the user, which arise as a result of e-mail transmission. The sender is validly committed only if the content of this e-mail has been accepted in writing and signed by an authorized representative, in accordance with the applicable rules on the delegation of powers.
From: Filip Heens Github @.>
Sent: zaterdag 8 juni 2024 8:42
To: imhotep/hass-unifi-access @.>
Cc: Filip Heens @.>; Your activity @.>
Subject: Re: [imhotep/hass-unifi-access] Incompatible with Home Assistant 2024.6.1 due to python request library version (Issue #39)
External mail
Hi Garth, I’m quote new to Python but where do I find the manifest to remove the request
—
Reply to this email directly, view it on GitHubhttps://github.com/imhotep/hass-unifi-access/issues/39#issuecomment-2155839403, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXJWG4WZ7H4ZNKBHCQ6QZSDZGKRUFAVCNFSM6AAAAABI7HUYR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJVHAZTSNBQGM.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Changing to "requirements": ["websocket-client==1.6.4", "requests>=2.31.0"], works great on my system. Thanks

Please download the latest v1.1.5 version from HACS. It has an updated version of the requests and websocket-client libraries which are required for this integration to function. It has support websocket door updates (which should be quicker than before) and also hardware doorbells connected to REN terminal (this may need testing as I don't have one personally).
@GarthDB the requests library is used for initial authentication so removing it will cause some issues in case you add/delete the integration.
Also I'd advise against using "requests>=2.31.0" as the requests library may have some breaking changes.
Let me know if there are any issues with this new version.

I believe the issue is requests is bundled with home assistant anyway, so there's no control over the version. It's probably better to use >= and risk an unlikely breaking change rather than using == guaranteeing the integration won't load when HA updates it, IMHO

The latest Unifi Access update above seemed to make it incompatible with home assistant core versions < 2024.6.1. FYI

@maximuswallis thanks. v1.1.6 should work with older versions as well.

I noticed my UA integration was broken today for the same reason (requests version incompatibility) after a HA upgrade. And then I found the new version of this that fixed it. Thanks for updating it!

Closing this issue due to this being fixed in the latest version


adding styles to slider to look better on mobile

Codecov Report

Merging #81 (b0315bf) into main (fa0d0a3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #81   +/-   ##
=======================================
  Coverage   91.64%   91.64%
=======================================
  Files          64       64
  Lines         945      945
  Branches      196      196
=======================================
  Hits          866      866
  Misses         79       79

Impacted Files
Coverage Δ

client/src/components/Slider.tsx
100.00% <ø> (ø)

client/src/utils/LedStyleEngineClass.ts
100.00% <ø> (ø)

Continue to review full report at Codecov.

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


"invalid selection" when using DDNS URL

Hi.
I have the following problem:
I want to configure Wireguard ipv4 in this script with my DDNS URL shown in the screenshot of the console. (vpn.kylerianhd-private.cc)
The problem I have now is, that it says: "invalid selection".
Why is that the case and how can I configure it with my DDNS URL?
Here is some additional information. :
As DDNS service I use Cloudflare with DDClient (https://github.com/ddclient/ddclient).
This DDNS Record is changed to my public IP every time my public IP changes.
PortForwarding is active for Wireguard and it's Port 51820 (which shouldn't affect this script but mention it anyways if this piece of information is needed).
Also, as it can be seen in the screenshot of my Cloudflare DNS Records, the DDNS subdomain is proxied.
How to use this script for this purpose is shown in this video: https://youtu.be/rtUl7BfCNMY. But It seems that it is a little outdated and the dude runs his Server behind a NAT (which I don't really know if it severely changes anything in this script or at least its behaviour).
Currently running all this on my RaspberryPI 4B (8GB RAM).
Console Screenshot:

Cloudflare Screenshot:

It would be nice if you could help me.
Until then I wish you a nice day.
~KylerianHD

Thanks for your answer @KaeTuuN.
I'll try and edit the script to make it less annoying to create an automatic Wireguard config if I need it again. ;)
However, I'm not a good bash scripter myself (currently learning to create bash scripts), so if you could give me a push in the right direction I would heavily appreciate it.
It would be nice to leave it all as is and add the FQDN functionality.
This probably means that I would have to make a new variable and function and check if the input has the correct syntax given by the user. Would I have to do it that way (is this at least easier to implement) or could I implement it in the lines 189 to 202 combined with the already existing check? The last method I described is what I would prefer but if there is an easier way to do this then I would prefer this instead of course.
Thanks again for your help! :)

If you want a clean implementation I recommend to copy and paste the mentioned lines and Edit them to accept an FQDN. After that you should implement a new If statement  like "Do you want to use your IP or FQDN for Wireguard?" If IP is selected it jumps to the already implemented code and if FQDN is selected it would enter your new path.
And if you get it working you might create a merge request and maybe @Nyr will expand the script with your function. ;-)


Change java-gradle incompatibility error for jdk 18 and above to not link to docs.flutter.dev/go/android-java-gradle-error

This PR changes the error message we print for java-gradle incompatibility in the case that JDK 18 or above is being used, to be the one that is currently printed on stable.
The reason I chose 18 as the break point is that the docs on the website are specifically targeted to fix this error when a user upgrades to the latest stable Android Studio, which comes bundled with Java 17. Our instructions on the website work for that case, but the previous message (the one in stable) was better for other cases, and we are guaranteed it is not from Android Studio Flamingo when the java version in use is >=18.
Fixes https://github.com/flutter/flutter/issues/130808.
Pre-launch Checklist

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

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

Closing this, as I've decided I want to avoid landing any branching here. I'm going to make a simple update to the message itself, keeping it all in one case.


Plugin erroneously reporting 'Nested animations are forbidden'

When trying to stop and restart the animation, the state machine thinks it's still running and refuses to rerun.
Usage:

Run :CellularAutomaton game_of_life
quit (:q)
Run :CellularAutomaton game_of_life
Error message prints:
Error executing Lua callback: ...llular-automaton.nvim/lua/cellular-automaton/manager.lua:33: Nested animations are forbidden

Ha I missed that. I confirm that I can reproduce it. I'll fix it soon, but for now you can quit the animation simply by typing 'q' without ':'

Forget to mention issue in commit, but this is now fixed. here


The explanation of activeDeadlineSeconds is inaccurate and misleading

This is a Bug Report

Problem:
The init-containers documentation includes:
Use activeDeadlineSeconds on the Pod and livenessProbe on the container to
prevent init containers from failing forever. The active deadline includes init
containers.
This explanation is inaccurate and misleading.
The activeDeadlineSeconds can be used to interrupt init container. However, it also affects the container after the initContainers are successful.
The combination of the Pod's activeDeadlineSeconds and the container's livenessProbe is an effective means when the container is terminated like batch, though it cannot be used in a container that continue to process.
In other words, the activeDeadlineSeconds are inconsistent in case of restartPolicy=Always.
Proposed Solution:
Update the explanation as following.
Use activeDeadlineSeconds on the Pod to prevent init containers from failing forever. The active deadline includes init containers.
The pod will be killed even if the restartPolicy on the pod is Always after the period specified in activeDeadlineSeconds.
Therefore, activeDeadlineSeconds should only be used when container will complete like batch.
Page to Update:
https://kubernetes.io/docs/concepts/workloads/pods/init-containers/

Additional Information:
/kind bug
/language en
/assign

/triage accepted

PR to fix the issue https://github.com/kubernetes/website/pull/28363

/close
I close this issue because PR#28363 was fixed.


test result should be gathered in a log file

Used master (2016-09-25T03:56:22):
make check

results in
============================================
2 of 47 tests failed
Please report to<EMAIL_ADDRESS>============================================

But I see no log file at all. Most projects auto-create a testsuite.log with the important parts of configure.log and the testsuite results. Does gperftools has this already and I'm just not seeing it?
The message above just says "report", not "how", and I didn't found a reference how to do so in README or INSTALL - again: do I miss something here?
The 2.4 release produced a nice summary and test-suite.log ?!?
============================================================================
Testsuite summary for gperftools 2.4
============================================================================
# TOTAL: 47
# PASS:  45
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to<EMAIL_ADDRESS>============================================================================

I just tested gperftools-2.5.tar.gz from releases page and it creates all logs as expected


Add at least one course to the Firebase Database and Design the structure of the data in the database

Make sure data related to atleast one section of one course is added to the Firebase database.

If we are given access to the Concordia API, we should figure out how to import the data into Firebase

If we can only add one course, it should be a SOEN course (preferably SOEN 341)

We need to figure out the way the data will be structured in the Firebase database ( i.e. figure out what type of data each node level on the data tree will contain)

Draft model of the database: https://codeshare.io/soen341-1
It is easier to do it in JSON and import it to Firebase than doing it directly on Firebase. They do not allow to add a child to a parent if it is already added to the database.

Hours Spent : 12

Hours: 8

Hours: 10


Shutdown from console locking up occasionally

When performing a console 'shutdown' the program does not always fully shut down, it intermittently gets stuck on the 'Finishing asynchronous tasks...' message and goes no further.  This only seems to be a problem when data is being generated by the simulator.  I didn't notice it happening when I had disabled data generation, and it was happening all the time when data generation was very fast.

Thanks for raising this one. I was vaguely aware there was an issue, but I was procrastinating looking at it because it was only on shutdown, and when I was patient enough to wait it always eventually shutdown cleanly.
It's fixed it in commit 2c962f2d80b1865ee51404a33ede0658f76c74f6 . See the commit text for details if you're interested.


Create agent jar as docker image

current Elastic APM agent is published as a docker image, which allows:

avoid having to download binary from a central repository
allows to use multi-stage docker images and copy the binary

We should do the same with this agent, in addition to publish it to a central repository like maven central.

yes, I needed it for my upcoming blog. tested, it includes all expected artifacts


Fix the connection leak and user options sync.

fix the lack of closing the cursor for the query that returned no
rows.
fix syncing of the user options, as previously those were not
fetched from the database.

Coverage decreased (-0.03%) to 8.132% when pulling 1ffe98ba9f0350c844354b899a3ac09e6a3c5bd7 on bugfix/connection_leak_and_sync_role_options into 68bb3cd52d2c021dcac28c38fb18c17d11ec8f69 on master.

👍

:+1:

:+1:

👍


the loss keeping nan, and the accuracy is 0.0

i use u code and what should i change

had fix.
here