chore(deps): :arrow_up: update dependency eslint-plugin-unused-imports to v3

This PR contains the following updates:

Package
Change
Age
Adoption
Passing
Confidence

eslint-plugin-unused-imports
2.0.0 -> 3.0.0

Release Notes

sweepline/eslint-plugin-unused-imports (eslint-plugin-unused-imports)
v3.0.0
Compare Source

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/@angular/animations
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   peerOptional<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@angular/platform-browser
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!     peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!     node_modules/@angular/forms
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!     2 more (@angular/router, @angular/platform-browser-dynamic)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/@angular/core
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@angular/animations
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /tmp/renovate/cache/others/npm/_logs/2023-07-25T08_23_17_409Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2023-07-25T08_23_17_409Z-debug-0.log

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


feat: update to use sbs and seq

Resolves #87

This PR is a collection of prototypes and functions for history implementation

Closing this as it can be used for reference but it will never be merged


Round Shape

Hi and thank you for this module.
Just a quick question, Is it possible to make a round cardview? I tried the following but it  doesn't seem to work
<CardView width="40" height="40" borderRadius="50%" elevation="10" radius="1">
    <GridLayout
            width="40"
            height="40"
            borderRadius="50%">

    </GridLayout>
</CardView>

Thank you in advance

Oh I didn't notice the radius property.
Sorry for the false alarm. Here is my final example in case someone else needs it.
<CardView width="40" height="40" radius="60" elevation="10" >
    <GridLayout
            width="40"
            height="40"
            borderRadius="50%">

    </GridLayout>
</CardView>


Dashboard translation

Many Tesla owners use teslamate in Korea.
Need Teslamate dashboard translation.
I can help translate to Korean.
A better way is a translation system that supports multiple languages.

I want it too.
I want the Korean version.
I really wish.

Does anybody know, whether Grafana allows localisation at all? I cannot find anything.

I want it too.
I want the Korean version.
I really wish.

Wow.  There is already ko text in the source.  I'll have to update and see.  Thank you.

find. *.po files.

Does anybody know, whether Grafana allows localisation at all? I cannot find anything.

Find *.po files.

@dongbum, I saw your comment in the Grafana feature request thread (grafana/grafana/issues/448) but as long as Grafana does not provide such a feature, we cannot implement it.
As soon as this feature is available, I will open this issue again.


[Enhancement] duplicated properties is not reported

Search before asking

[X] I had searched in the issues and found no similar issues.

Description
When we create a table in doris with two below properties, doris reports an unknown property error, however it should report a duplicated properties or if duplicated properties have same value, doris should just ignore it.
"replication_allocation" = "tag.location.default: 3",
"replication_num" = "3",
Solution
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I will try

hello, I'm a beginer, can I try it ?

please assign to me


JN-525 site content save

The "save" button now works on the website editor so you can save changes made in the UX.  Hitting save creates a new version of the site content, and then also updates the environment to point to the new version.  As we've talked about before, we eventually may want some 'save as draft' capability, but that's outside the scope of this PR.
In testing, I found that we were missing non-null constraints on siteContent stableId&version.  So that's fixed :)
This also does some drive-by cleanup of environment diffing routes so that the portal environment controller namespace was clearer for the new controller methods needed
TO TEST:

go to  https://localhost:3000/ourhealth/studies/ourheart/env/sandbox/siteContent
make some changes to the site content
hit 'save'
confirm the changes are saved as a new version, and you see success notifications telling you the version was created and the environment was updated
reload the page, confirm your changes persist
go to https://localhost:3000/ourhealth/studies/ourheart/publishing
confirm you see your latest version as the sandbox version

(force push was a rebase of development to avoid merge conflicts)


Improve histogram

ddf.getVectorHistogram is now using implementation getVectorHistogramImp inside file BinningHandler.scala

ok to test

it passed many unit tests, including DDF with missing values and/or invalid data. Please merge.


Request: add to tag stack when using ALEGoToDefinition OR add a ALEGoBackFromDefinition

Vim shortcuts pair <C-]> and <C-t> nicely. With ALEGoToDefinition, there isn't a nice equivalent jump back command (e.g. <C-t> ALEGoBackFromDefinition or <C-t>) which would be nice to have.

You can use <C-o>. See :help jump-motions.

@chaucerbao Yup. That's actually why i mentioned this issue.
@w0rp  Is it possible for ALEGoToDefinition to increment the tag stack so we can use C-t to jump back?

Okay, what is a tag stack, and how do I increment it?

h tag && h tagstack.
I'm not an expert on vim so you may want to get a second opinion before implementing this feature. Maybe this isn't a good idea for some reason we don't know about, or maybe there is a nice solution we don't know about.

On second thought, I am considering that better possible solution would be to have the existing ALEGoToDefinition, add a new ALEGoBackFromDefinition (or some other name), and have some optional way to seamlessly integrate Ale with the C-t and C-] shortcuts. This way we don't force any unexpected behaviour upon the tags system, while giving vim users the option of using the tags stack.

As @chaucerbao said, C-o is not the same as C-t. vim help menus will tell you more about them
I was thinking that ale would use its own internal stack that has the information required for ALEGoBackFromDefinition to work.

I think the right thing to do is to update the tag stack, and add an option for disabling that behaviour. That will probably make everyone happy.


pod install failed

[!] The RNToasty pod failed to validate due to 1 error:
- ERROR | attributes: Missing required attribute homepage.
- WARN  | source: The version should be included in the Git tag.
- WARN  | description: The description is equal to the summary.
RN 60.4
IOS 9

Pod::Spec.new do |s|
s.name         = "RNToasty"
s.version      = "1.0.0"
s.summary      = "RNToasty"
s.description  = <<-DESC
RNToasty
DESC
s.homepage     = ""
s.license      = "MIT"
s.license      = { :type => "MIT", :file => "FILE_LICENSE" }
s.author             = { "author" =><EMAIL_ADDRESS>}
s.platform     = :ios, "7.0"
s.source       = { :git => "https://github.com/author/RNToasty.git", :tag => "master" }
s.source_files  = "RNToasty/**/*.{h,m}"
s.requires_arc = true
s.dependency "React"
#s.dependency "others"
end

Missing homepage when install using yarn

Same here, adding anything inside the homepage allows me to build, but I'd like not to do this myself :)

@dineshmm23
Nevermind, just found out that this repo is updated but not published to npm.
Replace "react-native-toasty": "0.0.4" with "react-native-toasty": "git+https://github.com/prscX/react-native-toasty.git"
Then you can run pod install without issue.
Still I don't understand why the npm version is not updated anymore.

Replace pod 'RNToasty', :path => '../node_modules/react-native-toasty with pod 'RNToasty', :path => '../node_modules/react-native-toasty/ios' in your proj_name/ios/Podfile


automate GI symlink

If you have a program which is broken, you have two choices:

tell your users that the thing is broken and give them an elaborate rationale as to why it's broken because you're a huge nerd
fix it

As a huge nerd I can appreciate the appeal of the first option there, but usually the first one is a better choice :).
As such, rather than putting an "ln ..." command in the README, why not just include the workaround inside toga itself? Try the import, if it fails, try to set up the symlink and then try again.  Since the symlink is only necessary in virtualenvs, there should not be a permission problem with doing this.

Also, as I said on Twitter: there is a "right" answer to this problem involving setuptools metadata and pip features. Ignore that. Just literally call os.symlink as you're telling the users to.
(Or maybe I mean "I will do this", someone is free to hassle me to produce a PR…)

That's a neat idea - I hadn't considered that since you're in a venv, there aren't any permission or "contaminating global install" problems... Just need to do enough to identify the OS + version, and make sure you symlink the right package. +1.


Adds /api/v2/islanding/mode documentation (on/off grid operation)

Hi!
I've added some documentation around one of the undocumented endpoints, and would love some feedback (or to have it brought into the trunk of the repo!).
This API endpoint is significant to me, as I'd love the ability to programmatically turn my "on-/off-grid" setting.
Please let me know if there's anything else you'd like to see in here!
P.S. thanks for the great resource, it made debugging the powerwall local API not such a daunting task!

Nice work!  Thanks!


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/968 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target.git

Docs Build status updates of commit f79d4b7:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch Release_Archive_master_2021-07-19-07-12-40 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Persistent data structures by im-rs

There has been a long standing "TODO: We should switch to persistent hash maps if we can" in the resolver. This PR introduces a dependency on im-rs to provide persistent hash maps. It then uses im_rc::OrdSet to store the priority list of dependencies, instead of std::BinaryHeap, as cloning the Heap was one of the most expensive things we did. In Big O terms these changes are very big wins, in practice the improvement is small. This is do to a number of factors like, std::collections are very fast, N is usually only in the hundreds, we only clone when the borrow checker insists on it, and we use RC and other tricks to avoid cloning.
I would advocate that we accept this PR, as:

Things are only going to get more complicated in the future. It would be nice to have Big O on our side.
When developing a new feature finding each place to add RC should be an afterthought not absolutely required before merge. (cc #6129 witch is stuck on this kind of per tick performance problem as well as other things).
As the code gets more complex, making sure we never break any of the tricks becomes harder. It would be easier to work on this if such mistakes are marginal instead of show stoppers. (cc #5130 a bug report of one of these bing removed and affecting ./x.py build enough to trigger an investigation).
The resolver is already very complicated with a lot of moving parts to keep in your head at the same time, this will only get worse as we add  features. There are a long list of tricks that are critical before and ~5%  after, it would be nice to consider if each one is worth the code complexity. (I can list some of the ones I have tried to remove but are still small wins, if that would help the discussion).

Overall, I think it is worth doing now, but can see that if is not a slam dunk.

I added some comments, and some variable names. Does that help?

Yeah, it does, thank you!
I had assumed that the increment was relevant to the ordering.  If it's just a question of not making elements disappear, why not just have a wrapper with a custom Eq that's never true?  Say we call it NeverEqDepsFrame that would re-simplify RemainingDeps  to RemainingDeps(im_rc::OrdSet<NeverEqDepsFrame>).

Outside of that, I'm convinced by your arguments so I'm happy to land this. 😄

... let me try that. BRB.

That is what I remembered, lots of the test fail to pass. According to Ord "Implementations of PartialEq, PartialOrd, and Ord must agree with each other." So I changed PartialEq to false and added .then_with(|| Ordering::Less) to Ord. I don't know why that did not work, but it dose not. Not with im_rc::OrdSet nor with std::BTreeSet. I think it may brake the antisymmetry definition of PartialOrd.

Yeah im_rc::OrdSet requires a total Ord, so use my idea.  I agree with you it's probably breaking the antisymmetry law that's breaking it.

It also needs to be deterministic, so we can't use the memory address to duplicate.

This looks pretty awesome to me, having drop-in replacements is indeed really nice!
Out of curiosity, have you taken a look at the perf as-is today? (just to make sure we're not accidentally having a regression)

According to the discussion in https://github.com/bodil/im-rs/issues/26 I have had a version of this branch since Jun 21. I have at various times done detailed analysis of micro benchmark performance and experiments with cargo performance. Overall both std and im-rs are very fast. Definitively saying witch is the better for a given situation is hard and very dependent on exactly what you are bench-marking. There is a large range where there performance are functionally identical. This PR only includes the changes where it was a measurable improvement, when I last seriously tested on the benchmarks I happened to be using. I seriously doubt there is a big change in perf as-is today
However I have not rerun the perf recently, if you have something you would like me to try let me know. (Servo is ridiculously slow on my computer, so not that.)

@bors: r+
Ok that sounds reasonable to me! I definitely looks like you've been far more thorough here than I would have been :)

:pushpin: Commit 1699a5b1ce197596dae286fd39d48e7b91b3ed5f has been approved by alexcrichton

:hourglass: Testing commit 1699a5b1ce197596dae286fd39d48e7b91b3ed5f with merge c93e84716d279cdff11304cef627f8eb72dd7e9a...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing c93e84716d279cdff11304cef627f8eb72dd7e9a to master...


Hue API 1.19.0

Yesterday the official Philips Hue App updated my hue bridge (v2) to firmware<PHONE_NUMBER>, which brought API Version 1.19.0. With this API Version i cannot control my light groups anymore. When i turn on a group with iOS build-in Home App, the light group goes on and in about 2-3 seconds they automatically turn off. I tried this serveral times, but no chance to keep them on. Controlling my Osram Gardenspot RBG light, which is also exposed to HomeKit with Homebridge-hue, still works without problems. With the iConnectHue App controlling the light group works flawless.
Homebridge log:
[2017-5-31 21:26:56] [Hue] xxx: warning: api version 1.19.0

I just got the same update - I'll have a look at the new firmware and API version.  Once again, Philips has provided no release notes and no change log...
Having said that, I've yet to see a Hue API update which breaks homebridge-hue.  Just for my understanding, when you control a light group from HomeKit, do you mean a group created in HomeKit or a Hue bridge group, exposed to HomeKit by homebridge-hue as a light, using the "groups": true setting in config.json.  What happens when you control an individual light from the group from HomeKit?
  Powering off the light for a couple of seconds seems to cure this.
Could you attach the output of homebridge -D (see Troubleshooting in the README).

I created 2 light groups each with 4 blubs on hue bridge with the iOS App iConnectHue. i expose this two groups to homekit using "groups": true in config.json. I also expose  "group0": true. Every time i switch on 1 of the 2 light groups on, equal if using iOS Home-App or iConnectHue, the lights turn automatically off in 1-3 seconds. Even if i switch a single bulb which is in 1 of the 2 light group, it turns off automatically in 1-3 seconds. When running homebridge i have no possibillty to keep them on. If i stop homebridge and switch the light groups or a single light with iConnectHue, they behave normal and stay on. The behaviour is similar, if i turn on all light using group0 (which means all connected light). All lights turn on for 1-3 seconds and after 1-3 seconds all lights turn off automatically.
I have restarted the hue bridge and homebridge, but nothing changed. I will try to get a debug log, but i'm not very good in linux.

Just a hunch: did you set "wallSwitch": true in config.json?
In that case, homebridge-hue forces the lights to off when the Hue bridge reports them as unreachable (under the assumption that you turned them off using the wall switch).  However, when they're actually reachable and only being reported unreachable, the lights turn off.  The 2-3 seconds is probably homebridge-hue's heartrate.  You should see messages in the homebridge log like:

6/1/2017, 7:13:28 AM] [Hue] Bedroom 3: not reachable: set homekit power from 1 to 0

Homebridge-hue sets Status Fault when a light is reported unreachable (regardless of the wallSwitch setting), but the iOS built-in Home app ignores that.  You need another HomeKit app, like Eve, to see that.  Alternatively, you can check in the Hue app (easiest under Light Setup in Settings) whether the bridge reports lights as unreachable.

Didn't set "wallSwitch": true, but yes, that is exactly what i see in the log. They are stated as "not reachable" and then power turns off, after power changes from 0 to 1. In fact they are reachable and they turn on. The Hue app or iConnectHue don't report a problem with reachability of the light. Coud it be, that homebridge receives a missleading information from the hue bridge due to API change, when fetching light group information?
This is the log:

[2017-6-2 08:41:14] [Hue] Wohnzimmerwand: homekit power changed from 0 to 1
[2017-6-2 08:41:14] [Hue] Wohnzimmerwand: not reachable: set homekit power from 1 to 0
[2017-6-2 08:41:14] [Hue] Wohnzimmerwand: set homekit any on from 0 to 1
[2017-6-2 08:41:14] [Hue] Group 0: set homekit any on from 0 to 1
[2017-6-2 08:41:16] [Hue] Wohnzimmerwand: set homekit any on from 1 to 0
[2017-6-2 08:41:16] [Hue] Group 0: set homekit any on from 1 to 0

I can't explain this bevahiour.

[2017-6-2 08:41:14] [Hue] Wohnzimmerwand: not reachable: set homekit power from 1 to 0

This is a bug in homebridge-hue, probably introduced in v0.4.6: groups don't have a reachable attribute, so it shouldn't apply this logic, irrespective of the config.json wallSwitch setting.  I don't see how this would be related to the new bridge firmware, however.
Anyway, v0.4.8 should solve this.

Yes, i updated from v0.3.9 to 0.4.7 exactly the same time as firmware on bridge updated. So i thought, it could be due to API change. Anyway, it works perfect now, many thanks :-)


Summary of Redactions - Redline

As a Ministry executive
I want a summary document of redactions applied
so that I can better focus my review of records for sign-off

Assumptions & Scope
This story comes out of user feedback around having easier tools for Ministry approvers to review packages more quickly. Being able to identify more quickly pages that are being withheld vs disclosed can be helpful to focus the sign-off approvers time in reviewing a large package of records.
This will be included alongside the redline, as a standalone PDF
What is IN scope?
A summary document of redactions to be included when a redline is created
What is NOT in scope?
Summary document of redactions for a response package (story # )
Ad-Hoc summary document of redactions (story # )
Acceptance Criteria
Scenario 1: Create Redline - Summary Document

GIVEN an IAO user has completed the review of records in the redaction app
WHEN they activate the 'Create Redline PDF'
THEN the redline will be created
AND a summary of redactions will also be produced (see design: XXXX)

Scenario 2: Download Redline for Ministry Sign-Off

GIVEN a user is on the records tab and has the download drop down activated
WHEN they click on 'Download Redline for Sign-Off'
THEN the redline package will automatically be downloaded as configured by the specific Ministry
AND a summary of redactions will also be available as a single PDF

Scenario 3: xxxxxx
...
Dependencies? What is the impact of this dependency? (If so, link dependency in the ticket, make it visible in a team´s backlog)
Validation Rules? (If yes, list here)
Design
@xxx - please link the Design here
Definition of Ready

[ ] Is there a well articulated User Story?
[ ] Is there Acceptance Criteria that covers all scenarios (happy/sad paths)?
[ ] If there is a user interface, is there a design?
[ ] Does the user story need user research/validation?
[ ] Does this User Story needs stakeholder approval?
[ ] Design / Solution accepted by Product Owner
[ ] Is this user story small enough to be completed in a Sprint? Should it be split?
[ ] Are the dependencies known/ understood? (technical, business, regulatory/policy)
[ ] Has the story been estimated?

Definition of Done

[ ] Passes developer unit tests
[ ] Passes peer code review
[ ] If there's a user interface, passes UX assurance
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Confirm Test cases built and succeeding
[ ] No regression test failures
[ ] Test coverage acceptable by Product Owner
[ ] Ticket ready to be merged to master or story branch
[ ] Developer to list Config changes/ Update documents and designs
[ ] Can be demoed in Sprint Review
[ ] Tagged as part of a Release
[ ] Feature flagged if required
[ ] Change Management activities done?

cc: @JHarrietha-AOT @lmullane - just flagging we have an incomplete store for this

Design for Summary Pages for Redline (Response Package Summary Page looks different - will wait for that ticket to upload)
Ministry.pdf


Deprecate $(name) syntax

Workaround
Write $(XA name) or "${name}" instead.
Timeline

Warning has been in place for a while.
Removal in v0.2.0.

https://github.com/fildesh/fildesh/commit/61e0e5feab2c40ca67987aecfeeb59a17c84d802


docs: remove API reference; reorganize iOS links

After thinking about it some more, the majority of "see the API reference"-type things will be in platform-specific doc, so I can just link to the relevant platform. Any other (hopefully/probably rare) cases can be handled with (iOS | Android) links or something directly in the text.

:tada: This PR is included in version 1.0.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


included basic slider viz work, not yet integrated into Jekyll

Merged into Dev so we can all see how it works. Thanks!!


Unhandled java.lang.NoClassDefFoundError: Could not initialize class: org.apache.http.impl.conn.ManagedHttpClientConnectionFactory

I was working on a Sesame wrapper for Clojure and I am now migrating my code to use RDF4J m2. Everything went fine which means that all my unit test passed except two related to the ManagedHttpClientConnectionFactory class that can't be found.
Here is my depencies:
> lein deps :tree
 [cider/cider-nrepl "0.12.0"]
   [org.tcrawley/dynapath "0.2.3" :exclusions [[org.clojure/clojure]]]
 [clojure-complete "0.2.3" :exclusions [[org.clojure/clojure]]]
 [org.clojure/clojure "1.7.0"]
 [org.clojure/tools.nrepl "0.2.12"]
 [org.eclipse.rdf4j/rdf4j-runtime "2.0M1"]
   [org.eclipse.rdf4j/rdf4j-http-client "2.0M1"]
     [commons-codec "1.10"]
     [org.apache.httpcomponents/httpclient "4.5.2" :exclusions [[commons-logging] [commons-codec]]]
       [org.apache.httpcomponents/httpcore "4.4.4"]
   [org.eclipse.rdf4j/rdf4j-http-protocol "2.0M1"]
   [org.eclipse.rdf4j/rdf4j-model "2.0M1"]
     [org.eclipse.rdf4j/rdf4j-util "2.0M1"]
       [com.google.guava/guava "18.0"]
   [org.eclipse.rdf4j/rdf4j-queryparser-api "2.0M1"]
   [org.eclipse.rdf4j/rdf4j-queryparser-serql "2.0M1" :scope "runtime"]
   [org.eclipse.rdf4j/rdf4j-queryparser-sparql "2.0M1"]
   [org.eclipse.rdf4j/rdf4j-queryresultio-api "2.0M1"]
   [org.eclipse.rdf4j/rdf4j-queryresultio-binary "2.0M1" :scope "runtime"]
   [org.eclipse.rdf4j/rdf4j-queryresultio-sparqljson "2.0M1" :scope "runtime"]
     [com.fasterxml.jackson.core/jackson-core "2.6.2" :scope "runtime"]
   [org.eclipse.rdf4j/rdf4j-queryresultio-sparqlxml "2.0M1"]
   [org.eclipse.rdf4j/rdf4j-queryresultio-text "2.0M1" :scope "runtime"]
     [com.opencsv/opencsv "3.2" :scope "runtime"]
       [org.apache.commons/commons-lang3 "3.3.2" :scope "runtime"]
   [org.eclipse.rdf4j/rdf4j-repository-api "2.0M1"]
     [org.eclipse.rdf4j/rdf4j-query "2.0M1"]
   [org.eclipse.rdf4j/rdf4j-repository-contextaware "2.0M1"]
   [org.eclipse.rdf4j/rdf4j-repository-dataset "2.0M1" :scope "runtime"]
   [org.eclipse.rdf4j/rdf4j-repository-http "2.0M1"]
   [org.eclipse.rdf4j/rdf4j-repository-manager "2.0M1"]
     [org.eclipse.rdf4j/rdf4j-repository-event "2.0M1"]
   [org.eclipse.rdf4j/rdf4j-repository-sail "2.0M1"]
     [org.eclipse.rdf4j/rdf4j-queryalgebra-evaluation "2.0M1"]
       [org.mapdb/mapdb "1.0.8"]
     [org.eclipse.rdf4j/rdf4j-queryalgebra-model "2.0M1"]
   [org.eclipse.rdf4j/rdf4j-repository-sparql "2.0M1"]
   [org.eclipse.rdf4j/rdf4j-rio-api "2.0M1"]
   [org.eclipse.rdf4j/rdf4j-rio-binary "2.0M1" :scope "runtime"]
   [org.eclipse.rdf4j/rdf4j-rio-datatypes "2.0M1" :scope "runtime"]
   [org.eclipse.rdf4j/rdf4j-rio-jsonld "2.0M1" :scope "runtime"]
     [com.github.jsonld-java/jsonld-java "0.7.0" :scope "runtime"]
       [com.fasterxml.jackson.core/jackson-databind "2.3.3" :scope "runtime"]
         [com.fasterxml.jackson.core/jackson-annotations "2.3.0" :scope "runtime"]
       [org.apache.httpcomponents/httpclient-osgi "4.2.5" :scope "runtime" :exclusions [[commons-logging]]]
         [org.apache.httpcomponents/fluent-hc "4.2.5" :scope "runtime"]
         [org.apache.httpcomponents/httpclient-cache "4.2.5" :scope "runtime"]
         [org.apache.httpcomponents/httpmime "4.2.5" :scope "runtime"]
       [org.apache.httpcomponents/httpcore-osgi "4.2.5" :scope "runtime"]
         [org.apache.httpcomponents/httpcore-nio "4.2.5" :scope "runtime"]
       [org.slf4j/jcl-over-slf4j "1.7.9" :scope "runtime"]
     [commons-io "2.4"]
   [org.eclipse.rdf4j/rdf4j-rio-languages "2.0M1" :scope "runtime"]
   [org.eclipse.rdf4j/rdf4j-rio-n3 "2.0M1" :scope "runtime"]
   [org.eclipse.rdf4j/rdf4j-rio-nquads "2.0M1" :scope "runtime"]
   [org.eclipse.rdf4j/rdf4j-rio-ntriples "2.0M1"]
   [org.eclipse.rdf4j/rdf4j-rio-rdfjson "2.0M1" :scope "runtime"]
   [org.eclipse.rdf4j/rdf4j-rio-rdfxml "2.0M1" :scope "runtime"]
   [org.eclipse.rdf4j/rdf4j-rio-trig "2.0M1"]
   [org.eclipse.rdf4j/rdf4j-rio-trix "2.0M1" :scope "runtime"]
   [org.eclipse.rdf4j/rdf4j-rio-turtle "2.0M1"]
   [org.eclipse.rdf4j/rdf4j-sail-api "2.0M1"]
   [org.eclipse.rdf4j/rdf4j-sail-federation "2.0M1"]
   [org.eclipse.rdf4j/rdf4j-sail-inferencer "2.0M1"]
     [org.eclipse.rdf4j/rdf4j-sail-model "2.0M1"]
   [org.eclipse.rdf4j/rdf4j-sail-lucene "2.0M1" :scope "runtime"]
     [org.apache.lucene/lucene-analyzers-common "5.2.1" :scope "runtime"]
     [org.apache.lucene/lucene-core "5.2.1" :scope "runtime"]
     [org.apache.lucene/lucene-highlighter "5.2.1" :scope "runtime"]
       [org.apache.lucene/lucene-join "5.2.1" :scope "runtime" :exclusions [[org.apache.lucene/lucene-core] [org.apache.lucene/lucene-grouping]]]
       [org.apache.lucene/lucene-memory "5.2.1" :scope "runtime" :exclusions [[org.apache.lucene/lucene-core]]]
     [org.apache.lucene/lucene-queries "5.2.1" :scope "runtime"]
     [org.apache.lucene/lucene-queryparser "5.2.1" :scope "runtime"]
       [org.apache.lucene/lucene-sandbox "5.2.1" :scope "runtime" :exclusions [[org.apache.lucene/lucene-core] [jakarta-regexp]]]
     [org.apache.lucene/lucene-spatial "5.2.1" :scope "runtime"]
       [org.apache.lucene/lucene-misc "5.2.1" :scope "runtime" :exclusions [[org.apache.lucene/lucene-core]]]
     [org.codehaus.mojo/animal-sniffer-annotations "1.14" :scope "runtime"]
     [org.eclipse.rdf4j/rdf4j-sail-lucene-api "2.0M1" :scope "runtime"]
       [com.spatial4j/spatial4j "0.4.1" :scope "runtime"]
   [org.eclipse.rdf4j/rdf4j-sail-memory "2.0M1"]
     [org.eclipse.rdf4j/rdf4j-sail-base "2.0M1"]
   [org.eclipse.rdf4j/rdf4j-sail-nativerdf "2.0M1" :scope "runtime"]
   [org.eclipse.rdf4j/rdf4j-sail-spin "2.0M1" :scope "runtime"]
     [org.eclipse.rdf4j/rdf4j-spin "2.0M1" :scope "runtime"]
       [commons-lang "2.6" :scope "runtime"]
       [org.eclipse.rdf4j/rdf4j-queryrender "2.0M1" :scope "runtime"]
   [org.slf4j/slf4j-api "1.7.10"]
 [virt-sesame "4.0.0"]
 [virtjdbc "4.0.0"]

As we can see, it uses org.apache.httpcomponents/httpclient "4.5.2" and doesn't appears to be any conflict with previous version of httpclient.
Then the next step I did is to try to find what Jar is currently loaded. I can easily check that with the following code:
(.getResource (.getClassLoader org.apache.http.impl.conn.CPool) "org/apache/http/impl/conn/CPool.class")
Which returns:
#object[java.net.URL 0x15195826 "jar:file:/C:/Users/Proprietaire/.m2/repository/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar!/org/apache/http/impl/conn/CPool.class"]
As we can see, it is using the right version of the Jar.
Then when I do the same for the ManagedHttpClientConnectionFactory class:
(.getResource (.getClassLoader org.apache.http.impl.conn.ManagedHttpClientConnectionFactory) "org/apache/http/impl/conn/ManagedHttpClientConnectionFactory.class")
I am getting this exception:
CompilerException java.lang.NoClassDefFoundError: Could not initialize class org.apache.http.impl.conn.ManagedHttpClientConnectionFactory, compiling:(*cider-repl cognonto-rdf*:120:20)

The stack trace I am getting when performing my unit tests is:
1. Unhandled java.lang.NoClassDefFoundError
   Could not initialize class
   org.apache.http.impl.conn.ManagedHttpClientConnectionFactory

PoolingHttpClientConnectionManager.java:  572  org.apache.http.impl.conn.PoolingHttpClientConnectionManager$InternalConnectionFactory/<init>
PoolingHttpClientConnectionManager.java:  174  org.apache.http.impl.conn.PoolingHttpClientConnectionManager/<init>
PoolingHttpClientConnectionManager.java:  158  org.apache.http.impl.conn.PoolingHttpClientConnectionManager/<init>
    HttpClientBuilder.java:  973  org.apache.http.impl.client.HttpClientBuilder/build
          HttpClients.java:   66  org.apache.http.impl.client.HttpClients/createSystem
     SesameClientImpl.java:   87  org.eclipse.rdf4j.http.client.SesameClientImpl/createHttpClient
     SesameClientImpl.java:   58  org.eclipse.rdf4j.http.client.SesameClientImpl/getHttpClient
     SesameClientImpl.java:   92  org.eclipse.rdf4j.http.client.SesameClientImpl/createSparqlSession
     SPARQLRepository.java:  119  org.eclipse.rdf4j.repository.sparql.SPARQLRepository/createHTTPClient
     SPARQLRepository.java:  135  org.eclipse.rdf4j.repository.sparql.SPARQLRepository/getConnection

This only happens with the SPARQLRepository as far as I can see.
Any ideas of what may be going on here? Looking at httpclient, I can find that class for the tagged version 4.5.2 (at least on GitHub).

Updating JSONLD-Java to the most recent version in your maven build may fix the error. Apache HTTPClient libraries must be matched as they change (including removing classes) on the public API every version, and you have 4.2.5 being pulled in by JSONLD-Java.

Would simply excluding those deps solve the issue? That is: can the 0.7.0 code run with httpclient 4.5.2?

I'll expedite the upgrade to jsonld-java on our side (see #138 ), but given that Eclipse legal are currently buried in making the Neon release happen, it may be little while before we get the ok to update.

No, unfortunately 0.7.0 depends on HttpClient 4.2.5 APIs, the upgrade on the JSONLD-Java side to support 4.4/4.5 was done in 0.8.0.

@ansell @jeenbroekstra thanks guys! I didn't notice the JSONLD dependency so this is fine.
So, if I understand, I should make sure that I use JSON-LD 0.8.3 in my application until 2.0M3 is release (which I don't know when it will happen at this moment), right?

@ansell @jeenbroekstra working as expecter with jsonld-java 0.8.3! All tests pass now.
Maybe another thing to check that may want to check after this update:
> lein deps :tree
Possibly confusing dependencies found:
[org.eclipse.rdf4j/rdf4j-runtime "2.0M1"] -> [org.slf4j/slf4j-api "1.7.10"]
 overrides
[com.github.jsonld-java/jsonld-java "0.8.3"] -> [org.slf4j/jcl-over-slf4j "1.7.21"] -> [org.slf4j/slf4j-api "1.7.21"]
 and
[com.github.jsonld-java/jsonld-java "0.8.3"] -> [org.slf4j/slf4j-api "1.7.21"]

Consider using these exclusions:
[com.github.jsonld-java/jsonld-java "0.8.3" :exclusions [org.slf4j/slf4j-api]]
[com.github.jsonld-java/jsonld-java "0.8.3" :exclusions [org.slf4j/slf4j-api]]

@fgiasson yes, if you explicitly set jsonld version to be 0.8.3 (or latest version in future) it should continue to work. There are some delays on each new jsonld version with eclipse foundation wanting to review each of my jsonld-java releases (and all other dependency bumps).
The SLF4J-API versions are usually fairly consistent within minor versions (1.7.x), although there were incompatibilities between 1.5 and 1.6 so they aren't perfect between minor versions. 1.7.10 up to 1.7.21 shouldn't have API incompatibilities as far as I know. If you use either 1.7.10 or 1.7.21 in your build you should be fine, but make sure that all of the SLF4J dependencies are managed to the same version.

@ansell good thanks for the information about the process.

jsonld version has been set to 0.8.3, which resolves this issue as well.


Where is rosbag demo for your annotation tool?

Thanks for your excellent work！But could you please provide a rosbag demo file if it is convenient?
And do we need to provide a rosbag in the same format as yours If using your tool？

Hello, @earlysleepearlyup
I appreciate your interest in our work.
Actually, we do not provide example rosbag files, but if you need the file, we will provide it.
Thank you.

Thanks for your wonderful work~. I was wondering if you could provide the BAG and release the code for BAG online reasoning


[tray icon] not displaying checkboxes

Hi,
first of all, I'm not sure whether this is a sway/waybar or wayland issue and I'm sorry if this is the wrong location to report. There will be three related issues, and I guess the same remark goes for all of them.
To the point: check boxes in the tray menu are currently not displayed; neither the box nor the check mark if checked.
Minimal example:
Using Gtk/AppIndicator3:
from gi import require_version
require_version('Gtk', '3.0')
require_version('AppIndicator3', '0.1')

import signal
from gi.repository import Gtk
from gi.repository import AppIndicator3

def main():
    indicator = AppIndicator3.Indicator.new(
        'checkbox-test-app', 'dialog-error',
        AppIndicator3.IndicatorCategory.OTHER)
    indicator.set_status(AppIndicator3.IndicatorStatus.ACTIVE)
    indicator.set_menu(build_menu())
    signal.signal(signal.SIGINT, signal.SIG_DFL)
    Gtk.main()

def build_menu():
    check = Gtk.CheckMenuItem('CheckMenuItem')
    check.connect('activate', on_menuitem_check)

    quit = Gtk.MenuItem('Quit')
    quit.connect('activate', lambda _: Gtk.main_quit())

    menu = Gtk.Menu()
    menu.append(check)
    menu.append(quit)
    menu.show_all()
    return menu

def on_menuitem_check(item):
    print("active:", item.get_active())

if __name__ == '__main__':
    main()

But it's not a problem in AppIndicator, since the same problem occurs using Qt/QSystemTrayIcon:
from PyQt5.QtWidgets import QAction, QApplication, QMenu, QSystemTrayIcon

import signal
import sys

def main():
    app = QApplication(sys.argv)
    style = app.style()
    signal.signal(signal.SIGINT, signal.SIG_DFL)
    trayicon = QSystemTrayIcon(style.standardIcon(style.SP_MessageBoxCritical))
    trayicon.setVisible(True)
    trayicon.setContextMenu(build_menu(trayicon))
    trayicon.show()
    app.exec_()

def build_menu(parent, menu=None):
    check = QAction('CheckMenuItem', parent)
    check.setCheckable(True)
    check.triggered.connect(on_menuitem_check)

    quit = QAction('&Quit', parent)
    quit.setMenuRole(QAction.QuitRole)
    quit.triggered.connect(QApplication.quit)

    menu = menu or QMenu()
    menu.addAction(check)
    menu.addAction(quit)
    return menu

def on_menuitem_check(checked):
    print("active:", checked)

if __name__ == '__main__':
    main()

FWIW, I also checked that it isn't a problem in all menus: checkmenuitems in window menus are shown correctly, as can be verified by inserting the following in the qt main:
    window = QMainWindow()
    build_menu(window, window.menuBar().addMenu('&File'))
    window.show()

So far I'm using successfully using an ImageMenuItem with checkbox icons as a workaround, but it would be nice if this were to be fixed upstream.
Same code works fine in my X session.
(Issue from https://github.com/coldfix/udiskie/issues/215)
Best, Thomas

This is because of:
* {
    border: none;
    border-radius: 0;
    // ...
    min-height: 0;
}

in style.css.

@pocek is absolutely right. I ended up moving those three lines to a section that only applies to the "workspaces" widget, as I imagine that's where it was intended to take effect.

Cool! Will you create a PR with this changge @mvdan ?

@coldfix @pocek see https://github.com/Alexays/Waybar/pull/1385 :)


Investigate hanging Travis builds

DO NOT MERGE: This is only to investigate Travis failures.
Hopefully I can trigger this failure and have a wild coredump appear.
See #756.
This technique is from https://jsteemann.github.io/blog/2014/10/30/getting-core-dumps-of-failed-travisci-builds/.

Codecov Report

Merging #761 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #761      +/-   ##
==========================================
- Coverage   56.48%   56.44%   -0.04%
==========================================
  Files          42       42
  Lines       10771    10771
==========================================
- Hits         6084     6080       -4
- Misses       3602     3605       +3
- Partials     1085     1086       +1

Impacted Files
Coverage Δ

msg.go
77.52% <0%> (-0.66%)
:arrow_down:

Continue to review full report at Codecov.

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


Implements asynchronous access to 5

In true Node fashion:
five.async(function(err, five) {
	// five === 5
});

+1

I like this, good work!


Improve device notification settings

-> refactor GCMRegistrationManager to see the differences between GCM and Matrix servers registration
-> the registration was not properly set when the GCM registration key was cleared on GCM servers (the registration key was retrieved but the matrix server registration was not done)
-> Should fix https://github.com/vector-im/vector-android/issues/255
make "turn the screen on for 3 seconds when a notification is received" configurable

Remarks:

GCMHelper

getRegisrationToken(): update Logs message with "getRegisrationToken"

GcmRegistrationManager

onThirdPartyRegistered(): rename to DispatchOnThirdPartyRegistered() to distinguish from ThirdPartyRegistrationListener interface

onThirdPartyRegistrationFailed(): rename to DispatchOnThirdPartyRegistrationFailed() to distinguish from ThirdPartyRegistrationListener interface

onThirdPartyUnregistered(): rename to DispatchOnThirdPartyUnregistered() to distinguish from ThirdPartyRegistrationListener interface

onThirdPartyUnregistrationFailed(): rename to DispatchOnThirdPartyUnregistrationFailed() to distinguish from ThirdPartyRegistrationListener interface

GCMRegistrationManager(): can not mRegistrationTokenPreferenceKey  be only set to PREFS_KEY_REG_ID_PREFIX?

GCMRegistrationManager() - onNetworkConnectionUpdate: change mRegistrationState == RegistrationState.GCM_REGISTRED condition to mRegistrationState <= RegistrationState.GCM_REGISTRED ?

GCMRegistrationManager() - onNetworkConnectionUpdate: change mRegistrationState == RegistrationState.SERVER_REGISTERED condition to mRegistrationState >= RegistrationState.SERVER_REGISTRATING ?

checkRegistrations(): update Logs message with "checkRegistrations"

registerToGCM() new code proposal: simplify state conditions, test if(mRegistrationState < RegistrationState.GCM_REGISTRATING) to perform the register

registerToGCM() line 312:  change to if (useGCM() && areDeviceNotificationsAllowed())?

registerToGCM(): update Logs message with "registerToGCM"

registerToGCM() line 261: update Logs to indicate the registration failed due to GCM no being supported

registerToGCM(): why gcmRegistrationListener.onGCMRegistrationFailed() is surrounded by a try catch?

register(): update Logs message with "register"

register(): update header javadoc; this method does a bit more than registering on the 3d party server (Cf. when mRegistrationState = UNREGISTRATED)

doNotificationsTurnScreenOn(): renaming to areNotificationsTurnScreenOn() ?

setAreDeviceNotificationsAllowed(): renaming to setDeviceNotificationsAllowed() ?

setIsBackgroundSyncAllowed(): renaming to setBackgroundSyncAllowed() ?

setIsBackgroundSyncAllowed() - Note: when isAlowed = true, we must be sure that CommonActivityUtils.onGcmUpdate(mContext); will set the Service in startForeground()

PREFS_PUSHER_APP_ID_KEY: seems not used

line 221: what's the point in calling  registerToGCM(null);?

registerToThirdPartyServer() line 431: empty catch() block

registerToThirdPartyServer() line 385:  header java doc is missing some @param definition

forceSessionsRegistration() line 509: empty catch() block

unregister() line 694, 706: empty catch() block

PREFS_GCM: rename in GCM_PREFS_FILE ?

getSharedPreferences: rename in getGcmSharedPreferences ?

onThirdPartyUnregistrationFailed() line 1005: empty catch() block

usePollingThread() : could it no be simplified by only testting mRegistrationState<RegistrationState.GCM_REGISTRED ?

isServerUnRegistred() : sould not it be rather mRegistrationState<RegistrationState.SERVER_REGISTERED ? mRegistrationState == RegistrationState.GCM_REGISTRED condition seems to not addres all the possible cases

VectorSettingsPreferencesFragment: :+1:

GcmRegistrationManager
doNotificationsTurnScreenOn(): renaming to isTurnScreenOn() ?

LGTM after Pedro's review


Firebase feature

Provide connection to Firebase features.
Added Authentication integration, provides user sign up by e-mail and password, sign in functionality.
Added Cloud Functions integration from this repo

closed reference to issue #6


Does not work

Choosing a specified folder path anywhere does not work. there is no file being written or parsed out on any website(pandora, youtube, etc.)

You are not the first to have this problem, but I haven't heard back from the other people and therefore I haven't been able to figure it out. Let's start with this two questions and see if we can find the problem.
1. Once you select the desired folder in CurrentSong's options, does its path appear next to the "Browse ..." button like shown in this image?

2. When you go to a YouTube video (a video, not just the YouTube page), does an alert window like the one in the following image appear?

No alerts. The browse button is there, and I have set and tested different
folders.
On Mon, Mar 7, 2016 at 3:31 PM, Paco Hobi<EMAIL_ADDRESS>wrote:

You are not the first to have this problem, but I haven't heard back from
the other people and therefore I haven't been able to figure it out. Let's
start with this two questions and see if we can find the problem.
1. Once you select the desired folder in CurrentSong's options, does
its path appear next to the "Browse ..." button like shown in this image?
https://cloud.githubusercontent.com/assets/5880993/13057185/5fcdb9aa-d412-11e5-96f0-90933e484156.png
2. When you go to a YouTube video (a video, not just the YouTube page),
does an alert window like the one in the following image appear?
[image: alert]
https://cloud.githubusercontent.com/assets/5880993/13582236/815cc6de-e4ab-11e5-98ec-77ef8ee1e14c.png
—
Reply to this email directly or view it on GitHub
https://github.com/PacoHobi/CurrentSong/issues/12#issuecomment-193436327
.

But when you click Browse and then select a folder, does the path to the folder appear next to the Browse button (the part marked with red in the image above)?

Yes.
On Mon, Mar 7, 2016 at 3:37 PM, Paco Hobi<EMAIL_ADDRESS>wrote:

But when you click Browse and then select a folder, does the path to the
folder appear next to the Browse button (the part marked with red in the
image above)?
—
Reply to this email directly or view it on GitHub
https://github.com/PacoHobi/CurrentSong/issues/12#issuecomment-193438706
.

Ok, go to CurrentSong's options and enable the Notifications option. Now go to a YouTube video, does a desktop notification appear?
If you could also tell me watch operating system you use and your Firefox version.

I am using Windows 10 Pro x64bit. There is no notification when that option
is ticked. By the way I apologise for calling your app a rip-off. I
appreciate the troubleshooting and the well mannered responses.
On Mon, Mar 7, 2016 at 4:00 PM, Paco Hobi<EMAIL_ADDRESS>wrote:

Ok, go to CurrentSong's options and enable the Notifications option. Now
go to a YouTube video, does a desktop notification appear?
If you could also tell me watch operating system you use and your Firefox
version.
—
Reply to this email directly or view it on GitHub
https://github.com/PacoHobi/CurrentSong/issues/12#issuecomment-193446518
.

Firefox is most updated version.
On Mon, Mar 7, 2016 at 6:34 PM, Geo Wu<EMAIL_ADDRESS>wrote:

I am using Windows 10 Pro x64bit. There is no notification when that
option is ticked. By the way I apologise for calling your app a rip-off. I
appreciate the troubleshooting and the well mannered responses.
On Mon, Mar 7, 2016 at 4:00 PM, Paco Hobi<EMAIL_ADDRESS>wrote:

Ok, go to CurrentSong's options and enable the Notifications option. Now
go to a YouTube video, does a desktop notification appear?
If you could also tell me watch operating system you use and your Firefox
version.
—
Reply to this email directly or view it on GitHub
https://github.com/PacoHobi/CurrentSong/issues/12#issuecomment-193446518
.

I'm working on a version with debug messages. Tomorrow I will upload it and hopefully when you run it and give me the debug messages I will see in what part of the code the problem is.

Here is the debug version: debug.xpi.zip.
Please download this version and follow the steps in the following video, then post here the resulting debug messages.
https://www.youtube.com/watch?v=cI9YGuFFI_Q

It seems to work on my other laptop that I tested that on. There are no
generated log on my desktop computer. But I have solved the issue by
reinstalling Firefox. It must be some settings with Firefox
rerouting/history/cookies modifying that I've done(computer science
networking coding). Cheers for the help, and I highly appreciate the
debugging. =D
On Tue, Mar 8, 2016 at 10:57 AM, Paco Hobi<EMAIL_ADDRESS>wrote:

Here is the debug version: debug.xpi.zip
https://github.com/PacoHobi/CurrentSong/files/163452/debug.xpi.zip.
Please download this version and follow the steps in the following video,
then post here the resulting debug messages.
https://www.youtube.com/watch?v=cI9YGuFFI_Q
—
Reply to this email directly or view it on GitHub
https://github.com/PacoHobi/CurrentSong/issues/12#issuecomment-193837234
.

That's great. I now know to suggest a Firefox reinstall for this type of issues.
If you have any other issue or suggestion, please open an issue or shoot me an email :+1:


Unable to supress warnings

When trying to suppress some of the warnings (using the method suggested here: http://stackoverflow.com/questions/32130632/visual-studio-2015-turn-off-private-modifier-is-redundant-intellisense-war), I get an error "Access to the path 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\Rule Sets\MinimumRecommendedRules.ruleset' is denied." (Strange as well since I'm running VS2015, of course).

12.0? VS 2015 is 14.0, so there is something weird going on.

I cannot explain the 12.0 thing, but the in-built rulesets are read-only (regardless of VS version).

So this not a valid way to suppress warnings? It has to be done at a project level like with GlobalSupress.cs?

If you save it to a custom location, modifying an existing ruleset is ok.


Cannot validate argument on parameter 'WslInstanceName'

When I follow the Module Activation section in README to  activate in static mode, I got this error.
My command:
Install-WslIpHandler -WslInstanceName Ubuntu-20.04 -GatewayIpAddress <IP_ADDRESS>

And the output:
Install-WslIpHandler: Cannot validate argument on parameter 'WslInstanceName'. Valid values generator return a null value.

Would you mind help me out there?
Thanks!

This seems to be a duplicate of #25.
Could you please update to the latest version and try again?

As you see, I just reinstalled it minutes ago, and error kept there.
Just check my actions and the output:
PS C:\Users> wsl -l -v
  NAME            STATE           VERSION
* Ubuntu-20.04    Running         2
PS C:\Users> [Console]::InputEncoding, [Console]::OutputEncoding | select -Exp EncodingName
Chinese Simplified (GB2312)
Chinese Simplified (GB2312)
PS C:\Users> wsl.exe --status
默认分发：Ubuntu-20.04
默认版本：2

适用于 Linux 的 Windows 子系统最后更新于 2022/6/16
WSL 自动更新启用。
Windows 更新已暂停。

内核版本： 5.10.16
PS C:\Users> ipmo Wsl-IpHandler -Force
PS C:\Users> . (join-path (split-path (gmo Wsl-IpHandler).Path) 'Scripts/Powershell/FunctionsArgumentCompleters.ps1')
PS C:\Users> wsl.exe -l | Convert-CommandOutput -SourceEncoding 'ibm850'
?u?N Linux ?v Windows P[1|?~RDSHr:

Ubuntu-20.04 (?×??)

PS C:\Users> wsl.exe -l | Convert-CommandOutput -DestinationEncoding 'ibm850'
?? Linux ???????? ?????:
Ubuntu-20.04 (?)
PS C:\Users> Install-WslIpHandler -WslInstanceName Ubuntu-20.04 -GatewayIpAddress <IP_ADDRESS>
Install-WslIpHandler: Cannot validate argument on parameter 'WslInstanceName'. Valid values generator return a null value.
PS C:\Users> Install-WslIpHandler -WslInstanceName   Ubuntu-20.04 -GatewayIpAddress <IP_ADDRESS>
Install-WslIpHandler: Cannot validate argument on parameter 'WslInstanceName'. Valid values generator return a null value.
PS C:\Users>

But while i do this:
ipmo Wsl-IpHandler; . (join-path (split-path (gmo Wsl-IpHandler).Path) 'Scripts/Powershell/FunctionsArgumentCompleters.ps1'); Get-WslInstancesNames

the console was flushed....
   at System.Management.Automation.PSModuleInfo.GetExportedTypeDefinitions()
   at System.Management.Automation.PSModuleInfo.GetExportedTypeDefinitions()
   at System.Management.Automation.AnalysisCache.CacheModuleExports(System.Management.Automation.PSModuleInfo, System.Management.Automation.ExecutionContext)
   at Microsoft.PowerShell.Commands.ModuleCmdletBase.LoadUsingModulePath(System.Management.Automation.PSModuleInfo, Boolean, System.Collections.Generic.IEnumerable`1<System.String>, System.String, System.Management.Automation.SessionState, ImportModuleOptions, ManifestProcessingFlags, System.Management.Automation.PSModuleInfo ByRef)
   at Microsoft.PowerShell.Commands.ImportModuleCommand.ImportModule_LocallyViaName(ImportModuleOptions, System.String)
   at Microsoft.PowerShell.Commands.ImportModuleCommand.ImportModule_LocallyViaName_WithTelemetry(ImportModuleOptions, System.String)
   at Microsoft.PowerShell.Commands.ImportModuleCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()
   at System.Management.Automation.CommandProcessorBase.DoExecute()
   at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(System.Object)
   at System.Management.Automation.PipelineOps.InvokePipeline(System.Object, Boolean, System.Management.Automation.CommandParameterInternal[][], System.Management.Automation.Language.CommandBaseAst[], System.Management.Automation.CommandRedirection[][], System.Management.Automation.Language.FunctionContext)
   at System.Management.Automation.Interpreter.ActionCallInstruction`6[[System.__Canon, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Boolean, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Run(System.Management.Automation.Interpreter.InterpretedFrame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(System.Management.Automation.Interpreter.InterpretedFrame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(System.Management.Automation.Interpreter.InterpretedFrame)
   at System.Management.Automation.Interpreter.Interpreter.Run(System.Management.Automation.Interpreter.InterpretedFrame)
   at System.Management.Automation.Interpreter.LightLambda.RunVoid1[[System.__Canon, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon)
   at System.Management.Automation.DlrScriptCommandProcessor.RunClause(System.Action`1<System.Management.Automation.Language.FunctionContext>, System.Object, System.Object)
   at System.Management.Automation.DlrScriptCommandProcessor.Complete()
   at System.Management.Automation.CommandProcessorBase.DoComplete()
   at System.Management.Automation.Internal.PipelineProcessor.DoCompleteCore(System.Management.Automation.CommandProcessorBase)
   at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(System.Object)
   at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper()
   at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc()
   at System.Management.Automation.Runspaces.PipelineThread.WorkerProc()
   at System.Threading.Thread+StartHelper.Callback(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.Thread.StartCallback()

[process exited with code<PHONE_NUMBER> (0xc00000fd)]

As you can see, the terminal is terminated...lol
I've uninstalled and reinstalled it before all the struglings above.

After checked the Beta UTF-8 option, the error disapeared.

But get new error

Finally there!!!
Note here to help others:

Checked the Beta UTF-8 option in regin settings to solve the Cannot validate argument on parameter 'WslInstanceName' problem.

Removed the $_ in the /path/to/Wsl-IpHandler/Scripts/Powershell/FunctionsHostsFile.ps1 Line265,  to solve the null-valued expression problem.

Execute below command with Administrator in powershell:

New-NetFirewallRule -DisplayName "WSL" -Direction Inbound  -InterfaceAlias "vEthernet (WSL)"  -Action Allow

to add a filewall rule to solve the PING-failed problem.
Hope to help others. That's all.

Thanks for sharing your findings.
However:
Last error that you showed regarding Get-IpAddressHostsCommentTuple failing when $null is passed was fixed in #28.
So removing $_ from the source file as you suggested will mean that you have to manage your hosts file manually.
As far as I am aware normally (i.e. "out-of-the-box") WSL2 has no blocking inbound firewall rules so ping error at the end indicates exactly what it means - that there was a problem with installation - which is to be expected if hosts file was not edited properly.

If you read the error you might notice that this is actually a different error, that was previously reported and fixed: #22
Can you show output of the following command:
ipmo Wsl-IpHandler -Pass | gmo | select -exp Version

So the error is gone, correct?
Can you post output of the following two commands:
Get-WslStatus
Get-WslInstanceStatus -WslInstanceName Ubuntu-20.04

Sorry, I was very busy recent days. I will close this issue for now.
Thanks for your help.


Feature request: Specify both source and destination locations

Feature Request:
The plugin currently allows us to specify only one location - at least for Google Maps (I think), it would be possible to specify a start address, too, which would enable us to open the app showing directions from a given location to a given destination.

I'd like to give this a try

Moving all feature requests to https://github.com/xamarin/Essentials as that is the replacement for this and already improves it vastly.


Update Zendesk ticket scraping script

What
Update the code on the Zendesk support ticket scraping script so that it includes the body of the ticket.
Zendesk script is here: https://github.com/alphagov/design-system-support/blob/main/src/zendesk/getTagsFromTicket.js
Explanation of how we pull support data is here: https://docs.google.com/document/d/1G-TN0uXeKchwhHZnmPveX5YteXi3uSl0Rf5vtg-J5l4/edit#
Why
So we can use this in the support ticket analysis meeting next Tuesday (21 Dec)
Who needs to work on this
Dev
Who needs to review this
Dev, PA
Done when

[ ] Code has been updated
[ ] PA understands how to do the thing
[ ] Ticket data has been collected

Close for now. Reopen if we still want to do this.


Add jdk 17

Lets delay this until 2021-09-14 when JDK 17 reaches General Availability

Also, the jdl 17 can be updated as the new LTS version.


python311Packages.hpp-fcl: 2.4.1 -> 2.4.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/humanoid-path-planner/hpp-fcl/releases.
meta.description for python311Packages.hpp-fcl is: An extension of the Flexible Collision Library
meta.homepage for python311Packages.hpp-fcl is: https://github.com/humanoid-path-planner/hpp-fcl
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.4.2 with grep in /nix/store/sfj3vah9nv9fns4rcj8z3n7hp0nj6pr1-hpp-fcl-2.4.2
found 2.4.2 in filename of file in /nix/store/sfj3vah9nv9fns4rcj8z3n7hp0nj6pr1-hpp-fcl-2.4.2

Rebuild report (if merged into master) (click to expand)

7 total rebuild path(s)

7 package rebuild(s)

First fifty rebuilds by attrpath
crocoddyl
hpp-fcl
pinocchio
python311Packages.crocoddyl
python311Packages.example-robot-data
python311Packages.hpp-fcl
python311Packages.pinocchio

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/sfj3vah9nv9fns4rcj8z3n7hp0nj6pr1-hpp-fcl-2.4.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.hpp-fcl https://github.com/r-ryantm/nixpkgs/archive/de43bafda8fcccdff7a7410d4d7dc265d82bc20c.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/de43bafda8fcccdff7a7410d4d7dc265d82bc20c#python311Packages.hpp-fcl

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/sfj3vah9nv9fns4rcj8z3n7hp0nj6pr1-hpp-fcl-2.4.2
ls -la /nix/store/sfj3vah9nv9fns4rcj8z3n7hp0nj6pr1-hpp-fcl-2.4.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

7 packages built:

crocoddyl
hpp-fcl
pinocchio
python311Packages.crocoddyl
python311Packages.example-robot-data
python311Packages.hpp-fcl
python311Packages.pinocchio

Maintainer pings
cc @nim65s for testing.

Hum, actually, 2.4.3 is on its way.


Minor tweaks to simplify sample configuration.

Looks like it's trying to launch Firefox. Strange because I configured it to use the "karma-detect-browsers" plugin, which should only run against PhantomJS on Travis.
I think the "fix" would be to explicitly declare the phantomjs runner https://github.com/karma-runner/karma-phantomjs-launcher and maybe have commented out Chrome, Firefox, Safari, etc. for local testing.

Oh, looks like I don't extract a key.js file in .travis.yml, either. I think I meant to do that when I created the repo, but forgot.


[storage] Fix 'storage blob update' content settings bug

Fix #9888
This checklist is used to make sure that common guidelines for a pull request are followed.

[X] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[ ] I adhere to the Command Guidelines.

@Juliehzl, please review. If all fine, please approve and merge.


Development: Screenshots

[x] https://github.com/ls1intum/artemis-ios/pull/39

See https://github.com/ls1intum/artemis-ios-core-modules/pull/24#issuecomment-2118859516


Coexistence goal real resource valueAt cannot be assigned to real parameters

Executing the following goal:
  export default () => Goal.CoexistenceGoal({
    forEach: ActivityExpression.ofType(ActivityTypes.GrowBanana),
    activityTemplate: (growBananaActivity) => ActivityTemplates.BiteBanana({biteSize: Real.Resource("/fruit").valueAt(growBananaActivity.span().starts())}),
    startsAt: TimingConstraint.singleton(WindowProperty.START).minus(Temporal.Duration.from({ minutes : 5}))
  })

leads to the following error during the ts parsing step
TypeError: TS2322 Type 'Discrete<number>' is not assignable to type 'number | Real'.\n  Type 'Discrete<number>' is missing the following properties from type 'Real': rate, times, plus, minus, and 6 more.
We want to assign the value of /fruit at some time to the real parameter biteSize. To do that, we use the valueAt operator. But the return of this operator is a Discrete<number> when the parameter expects either a number of a Real.
Possible fix
We could provide a
static toReal(discreteProfile: Discrete<number>): Real

method in the Real class. We'd convert the number profile into its equivalent real profile via a  newRealProfileFromDiscrete constraint tree element (values would be the same, rates would be 0).

@JoelCourtney, what do you think ?


cases: Fast and Secure Data Caching

Closes https://github.com/iterative/dvc.org/issues/654#issuecomment-738557458
Closes #820 (last item)

[x] Consider comments from https://discuss.dvc.org/t/multiple-users-in-one-repo/746 (common file permission questions)

TODOs:

[x] Get concept and scope right
[x] Iterate on content
[ ] Finalize name (see https://github.com/iterative/dvc.org/pull/2587#issuecomment-892240166)
[ ] https://github.com/iterative/dvc.org/issues/2677

@shcheklein gave an OK here too (please approve if possible) so on our side just the use case's naming is left to finalize (I'll work on the figures with @jendefig). Summary:
Key ideas: DS-specific storage best practices; Speed up/ minimizing data transfers; Prevent data storage duplication; Fast/cheap dataset storage outside the local env; Bringing mass cloud storage closer; Securing data in a single location.
Concepts: Data caching (in general, not .dvc/cache); Separate data management from DS workflow with dedicated infrastructure (and DVC); Primary (warm) vs. secondary (coldish) storage; Easy sharing storage access
Some possible titles:

Data (and Models) Storage Cache
Data(sets) Cache Layer
Global/Common Data Cache
Fast Data Storage/Caching Layer  <-- current (with "Storage")
Layered (Data) Storage Architecture
Fast and Secure Data Caching

Other possible keywords to mix-and-match: Intermediate, Near, Common, Warm, Neighboring, Adjacent
@dberenbaum @iesahin @casperdcl thanks

Oops I forgot to mention a similar solution found in MinIO Gateway. Maybe we can use some of that terminology (bolded below) and/or write another special example using this.

MinIO S3 Gateway adds MinIO features like MinIO Console and disk caching to AWS S3...
MinIO Caching
MinIO edge caching allows storing content closer to the applications. Frequently accessed objects are stored in a local disk based cache.

From this SO question involving setting "min.io as hub between AWS.S3 and DVC".

based purely upon % of readers who stand a chance of understanding what we mean, "Intermediate Cache" is the only viable option to me. It is universally understood to mean a) special and b) "in-between". And we don't need to include "data" or "models" since it seems needlessly verbose...

AFAIK this article is specifically about something which is not fast/high-perf nor slow, but in-between?

I would still vote for Fast and Secure Data Caching or Fast and Secure Data Cache ... (I hope that we included some note about security at the moment)

Thanks for all the feedback! So I think "Caching" is definitely wanted at least. ("Intermediate" could be implied in "cache" here?)
Agree about "data/models" or even "storage" making it verbose but we want use cases to be landing pages, so on the search result title probably need some general terms for context (see all the other use case titles).

Edge computing, this is essentially what's happening

That typically involves some kind of server (proxy) running things and DVC is actually working locally. From the MinIO example I like "gateway" or similar ("hub, bridge") somewhat.

this article is specifically about something which is not fast/high-perf nor slow, but in-between?

The remote/external layer is optional actually so the global cache doesn't have to be in between, just nearby. Maybe I still need to clarify the text if that is not clear?
Performance is key but "high performance" sounds like the software itself is especially fast or that the network throughput is improved ("fast" may have the same problem BTW). Maybe "Optimized" instead?
Optimized Data Caching Layer/Bridge
Data Storage Gateway
Using Fast and Secure Data Caching for now. And yes there's a note on security:

I think:

"Cache" needs to be in the title

also some adjective needs to appear before "Cache" to signify that it's a special case. The best I can think of is "Intermediate Cache"
alternatively, a verb: "Optimi[z]ing Cache"

"Edge Computing" should be mentioned with a citation in the text
maybe include "Edge" in the title?

"Optimi[z]ing and Securing Caches with Edge Computing Principles" seems a bit of a mouthful though.

I agree with @casperdcl that "Cache" is better in the title.
The word "optimize" has MBA connotations for me. Whether this is good or bad is up to the audience.
When we say "secure", it brings a whole new set of expectations. I'm not sure if we can meet those in the text.
I'd propose "Fast Intermediate [Data] Cache" or "Fast Intermediate Caching Hub." (It can also be a model cache, so I'm not sure about "Data" being in the title.)

"Edge Computing" should be mentioned with a citation in the text
maybe include "Edge" in the title?

I do like the concept of Edge Storage but I'm not sure it's 100% appropriate or whether we want to complicate the text with such specialized jargon. Maybe

MBA connotations

Master of Business Administration?

When we say "secure", it brings a whole new set of expectations

It's a bit forced but required by @shcheklein due to strategic needs.

title based on probable search wording

No need to limit it that way too much. Search engines will look at the whole contents. We'd need a SEO specialist to do this properly anyway. OK to coin our own terms for now I think. We do consider what we remember from user support cases when writing use cases though (like the MinIO example).

So how about
Secure Data and Model Caching Hub
("and Model" skipped in nav entry)
?

[x] emphasis on security
[x] "Caching" implies intermediate and fast/cheap
[x] "Data and Model" provides context for landing page purpose
[x] "Hub" implies it can serve multiple projects and makes it seem special/intriguing (hopefully)

what would they type into Google?

exactly. I'd type "DVC remote slow speed up fast cache optimise"

Secure Data and Model Caching Hub

I like this! Nailed it! Present participle for the win! 🎉 🙌

I'd type "DVC remote slow speed up fast cache optimise" or "DVC secure cache"

We're not necessarily targeting existing DVC users but rather new users. DS/ML people looking to improve their data storage and transferring processes in general.

@shcheklein @iesahin @casperdcl please if you can take a look at the 3 newly produced figures in https://dvc-org-cases-mgn-dsets-fbikyq.herokuapp.com/doc/use-cases/secure-data-caching-hub (thanks @jendefig).

Figures look great @jorgeorpinel @jendefig

Are we all agreed on the following?

there are 2 categories of target audience. To catch both,

title requires "Secure" or synonym
title requires "Speed/Optimise" or synonym

Also IMHO this is not about SEO (whether it shows up in my search results). It is purely about being misleading (would I bother clicking on it assuming it was top of my search results).

ii. title requires "Speed/Optimise" or synonym

I don't agree on this. I think "Caching" implies speed.

BTW all the images are updated now! Will show during meeting

After @shcheklein 's review, for the title: "Fast and Secure Data Cache"?

Caching Hub vs Cache
No strong opinion on this one - I see pros and cons for both, I think it's fine to go with Hub.

UPDATE: FYI we're still finalizing the images but they're pretty close already. See https://dvc-org-cases-mgn-dsets-fbikyq.herokuapp.com/doc/use-cases/fast-data-caching-hub:

UPDATE: FYI we're still finalizing the images but they're pretty close already. See https://dvc-org-cases-mgn-dsets-fbikyq.herokuapp.com/doc/use-cases/fast-data-caching-hub:

There needs to be a party parrot/blob in Github. 😉

I vote for a "run for your life parrot"

So this was approved and the images have been worked on so I merged it! Please see the final result in https://dvc.org/doc/use-cases/fast-data-caching-hub and let me know if you have additional feedback. Thanks


gem install alfi error

Hi ：
$ sudo gem install alfi
Building native extensions.  This could take a while...
ERROR:  Error installing alfi:
ERROR: Failed to build gem native extension.
    /usr/bin/ruby1.9.1 extconf.rb

/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require': cannot load such file -- mkmf (LoadError) 	from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require'
from extconf.rb:1:in `'
Gem files will remain installed in /var/lib/gems/1.9.1/gems/json-2.0.3 for inspection.

The min ruby required is 2.0.0 spec.required_ruby_version = '>= 2.0.0'
Please update your ruby (I don't know how rubygems let's you install a gem that's below the requirements)


logical NOT of v:true and v:false should make a value of bool.

Current Vim script is that logical NOT of v:true and v:false make a value of number:
!v:true -> 0
!v:false -> 1

I think that logical NOT of v:true and v:false should make a value of bool:
!v:true -> v:false
!v:false -> v:true

@brammool What do you think about this?

This causes a small subtle change in the result of the expression:
call assert_equal(0, !v:true)
call assert_equal(1, !v:false)
These will fail after the change.
The evaluation will change in Vim9 script.

This causes a small subtle change in the result of the expression:
call assert_equal(0, !v:true)
call assert_equal(1, !v:false)
These will fail after the change.
The evaluation will change in Vim9 script.

I got it. Thanks you for commenting.

I actually found that "false" and "true" were not handled correctly, so fixed that anyway.


system installation failure

Hi, there!
Faced with failure while installing system (any drivers) on my huawei matebook WRT-W19. Installer crashes after clicking "Install Now".
Dist: manjaro-sway-22.0.1-230129-linux515.iso
Bootable usb done by etcher and rufus (same error)

2023-02-09 13:12:37 - (swaybg-1.2.0/main.c: 293] Found config * for output eDP-1 (Chimei Innolux Corporation P130ZFA-BA1)
sed: can't read /usr/share/sway/templates/help.man: No such file or directory
grep:/home/manjaro/.config/sway/config.d/x.conf:No such file or directoru

VISIBILITY SIGNAL=30
QUIT SIGNAL=31
"[
--toggle
pkill -f-31 nug-wrapper
** swaymsg -t get_outputs --raw
++ ja -r
• [1. name
failed to open file /home/manjaro/.config/kanshi/config: No such file or directory
info: main.c:421: version: 1.13.1 +pgo +ime +graphemes -assertions
info: main.c:428: arch: Linux ×86_64/64-bit
info: main.c:440: locale: en US.UTF-8
info: config.c:3003: loading configuration from /usr/share/sway/templates/foot.ini
info: fcft.c:338: foft: 3.1.5 +graphemes +runs +svg(nanosvg) -assertions
info: fcft.c:377: fontconfig: 2.14.1, freetype: 2.12.1, harfbuzz: 6.0.0, utf8proc: 2.8.0 (Unicode 15.0.0)
for output in $(swaymsg -t get_outputs
-rau I ja -r
aCl.name")
nwg-wrapper
-0 eDP-1 -sv 30 -sq 31 -s help.sh -p left
-a end
info: feft.c:838: /usr/share/fonts/TTF/Roboto Mono Nerd Font Complete Mono.ttf: size=D.00pt/Bpx, dpi=75.00
info: wayland.c:1353: eDP-1: 2168x1440+2x0@60Hz P138ZFA-BA1 13.10" scale=2 PPI=196x205 (physical) PPI=98x102 (logical), DPI=198.09
info: server.c:572: accepting connections on /run/user/1800/foot-wayland-1.sock
info: main.c:546: running as server; launch terminals by running footclient
longitude: 37.6171 latitude: 55.7483
{"alt": "off". "tooltip": "no gamma correction"]
registru: adding output 44
calculated sun trajectory: dawn 07:28, sunrise 08:34, sunset 16:52, dusk '17:58
setting temperature to 6500 K
Exception ignored in: ‹_io.TextIOWrapper name-'(stdout). mode='w
encoding='utf-g'›
BrokenPipeError: [Errno 32] Broken pipe
[2023-02-09 13:12:40.222] [infol Using configuration file /usr/share/sway/templates/waybar/config. jsonc
[2023-02-09 13:12:40.275] [info] Using CSS file /usr/share/sway/templates/waybar/style.css
QStandardPaths: runtime directory
/run/user/1000°
QStandardPaths: runtime directory
is not owned by UID D, but a directory permissions 0700 owned by UID 1000 GID 1000
Event. WINDOW subscribed
/run/user/1000° is not owned by UID @, but a directory permissions D7DD owned by UID 1800: GID 1000
Event. MODE subscribed
sh: line 1: gh: command not found
No players found
[2023-02-09 13:12:41.136] Iwarning] As using a timezone, some format args may be missing as the date library haven't got a release sinc
e 2018.
2023/02/09 13:12:41 error in "list": opening db: please store something first
13:12:41 [6]: Calamares: :Settings: Settings(const QString&, bool)
Using Calamares settings file at "/etc/calamares/settings.conf"
Required settings.conf key hide-back-and-next-during-exec is missing.
13:12:41 [6] void Logger: :setupLogfile()
Summary widget is larger than viewport, enlarge by 13 to QSize (B90, 671) éviceInfo›&)outl*)ing&, const QStringList&, const QString
HUAWEI

Manjaro Cinnamon works fine
Looking forward for your replay!

hi there! I tried installing using the latest "unstable" image in a Gnome Boxes machine. Seems to work just fine.

please try with the most recent image version, report back if it didn't work out.


WIP: feat: display spendable amount on Send page

Display spendable amount on the Send page.
Gotchas:

Some utxos can be auto-frozen by jm. These are not spendable and cannot be "unfrozen" via the api at the moment.
How should this be displayed to the user?

Still todo:

reload available balances after payment

I'll review and test this PR as soon as the conflict is resolved.

I'll review and test this PR as soon as the conflict is resolved.

I am not happy with the approach here.
The thing is.. should we even try to determine the "spendable" amount in the ui?
It'd be good to get this value from the server, as any changes in the mechanism would make our calculations obsolete, maybe plain wrong.

It'd be good to get this value from the server, as any changes in the mechanism would make our calculations obsolete, maybe plain wrong.

Agree, let's not do it client-side.

It'd be good to get this value from the server, as any changes in the mechanism would make our calculations obsolete, maybe plain wrong.

Yeah that probably make sense! I'm closing this PR then, feel free to reopen if needed.


Memory usage mismatch

Activity monitor memory usage vs neohthop

@AleksandrZhukov the cached result is not really calculated, @laciferin2024 I think we should just remove it

Your cache is too low. in my case its calculated

@AleksandrZhukov the cached result is not really calculated, @laciferin2024 I think we should just remove it

Well its calculated @AleksandrZhukov , its just that ur cache is too low. If u had a 8gb m1, u could have seen higher numbers. Cache calculation alg just like rest of metrics needs some of error correction. If u can bump up the cached files to 4GB you should start seeing 1GB+ cache

@Abdenasser @AleksandrZhukov i think there seems to be a similar issue for Stats: https://github.com/exelban/stats/ which is written swift.
I tried it, and i see 1GB+ memory difference between it and activity monitor.

we can show virtual memory as well


Revisit settings/configuration Timeout type naming

Hi there, was skimming the APIs a little bit and found the configuration type names a bit weird.
Specifically, the fields of Configuration using short names looks fun, but is also quite confusing imho, e.g. Timeout:
        var config = HTTPClient.Configuration()
        config.timeout = HTTPClient.Timeout() // this is not "a" Timeout, but configuration

        // a) rename? TimeoutConfiguration
        let t = HTTPClient.TimeoutConfiguration()
        // b) move?
        let t = HTTPClient.Configuration.Timeout()

The types are nested in HTTPClient which makes it read like "this is the http client timeout", which it is not, it is just the settings what time timeouts shall be.
Looking at types:
public struct Configuration {
    public var tlsConfiguration: TLSConfiguration?
    public var followRedirects: Bool
    public var timeout: Timeout
    public var proxy: Proxy?
}

Timeout should likely be called TimeoutConfiguration; WDYT?
Proxy is likely fine, since that indeed is the value of the proxy to be used... though tbh future proof would be to make it a Configuration as well IMHO (in case it'd get per destination proxying or not etc)

HTTPClient.Configuration.Timeout is fine by me.


【Feature request】!include ${variable}

Details
error when run !include ${variable}.
I want you to be able to run it.
run
!include : ${file_path}

error
error: ${filepath} (no such file)

Hello, @t-kazu
Maybe, you can use some alternative ways.
Please take a look https://github.com/treasure-data/digdag/issues/990#issuecomment-463544061

Hello, @t-kazu
Maybe, you can use some alternative ways.
Please take a look https://github.com/treasure-data/digdag/issues/990#issuecomment-463544061

@hiroyuki-sato
Thanks for the reply.
I think pattern. That is digdag secrets with _env.
For example
+task1:
  if>: ${pattarn='A'}
  _do:
    _env:
       HOGE: ${secrets:hoge}
   sh>: hogehoge
  _else_do:
    if>: ${pattarn='B'}
    _do:
      _env:
         HOGE: ${secrets:hoge2}
      sh>: hogehoge

I want to put a different value in HOGE.
What should I do?

@hiroyuki-sato
Thanks for the reply.
I think pattern. That is digdag secrets with _env.
For example
+task1:
  if>: ${pattarn='A'}
  _do:
    _env:
       HOGE: ${secrets:hoge}
   sh>: hogehoge
  _else_do:
    if>: ${pattarn='B'}
    _do:
      _env:
         HOGE: ${secrets:hoge2}
      sh>: hogehoge

I want to put a different value in HOGE.
What should I do?

Hello, @t-kazu
Maybe I don't understand your use case completely.
What do you think the following?
digdag secrets --project hoge --set foo1=FOO1
digdag secrets --project hoge --set foo2=FOO2

+task1:
  sh>: ./test.sh
  _env:
    FOO: ${secret:foo${val}}

#!/bin/sh

echo "FOO ==> $FOO"

digdag start hoge hoge --session now -p val=2

FOO ==> FOO2

digdag start hoge hoge --session now -p val=1

FOO ==> FOO1

I tested it in digdag 0.10.0

thank you. this is good idea.
I can use variables when call secrets,  solve it.


Remove old transaction from locked-tokens.mdx

create_admin_collection does not exist any more
Closes: #???
https://github.com/onflow/flow-core-contracts/issues/338
Description
This page on dev portal:
https://developers.flow.com/flow/core-contracts/locked-tokens
references this transaction that no longer exists in github.  https://github.com/onflow/flow-core-contracts/blob/master/transactions/lockedTokens/admin/create_admin_collection.cdc

For contributor use:

[x] Targeted PR against master branch
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[x] Updated relevant documentation
[x] Re-reviewed Files changed in the Github PR explorer
[x] Added appropriate labels

@joshuahannan @janezpodhostnik I have no idea what that ID along transactions actually is, so I just fixed the numeration, can you confirm that it is not tied to anything?

Merging so I can get an accurate count of broken links from newest scan.


Need a provision to switch back to editor from terminal & vice-versa.

VSCode Version: 1.2.1
OS Version: Ubuntu 14.04

Steps to Reproduce:

Open terminal & there is no way you can switch to editor. ( Need a key-binding for this)

ctrl+` toggles the terminal
ctrl+1 focus first editor
ctrl+2 focus second editor
ctrl+3 focus third editor

A focus terminal command is coming in v1.3.0 which will allow you to toggle the terminal without dismissing it first.


LibCore+LibTimeZone+LibWebView: Create a system time zone cache

Getting the system time zone from disk can be expensive when it is hammered frequently by web pages. We can instead cache the time zone, and only go to disk after we detect a system time zone change.
This contains a handful of fixes to Core::FileWatcher to be able to monitor symbolic links (/etc/localtime is usually a link). Then creates a platform-dependent time zone watcher to monitor for time zone changes from the OS, and IPC to propagate that notification over to WebContent.
The following benchmark previously took ~0.8s on Linux and ~2.5s on macOS, and now takes 0ms on both:
BENCHMARK_CASE(bench_current_time_zone)
{
    for (size_t i = 0; i < 100'000; ++i)
        (void)Unicode::current_time_zone();
}

And a small demo showing we respond to time zone changes:
https://github.com/user-attachments/assets/1776ca07-8d65-43bc-ab74-a096cca1f24e

awesome! 🎉


Fixes issue 4

I tried this out locally, and when I first loaded the page I did not see any forecasts displayed.

It seems like we need to update the init function to set the appropriate data in the store to the temporary variables that were updated by calls to the fetch.
We should also do a search to make sure there aren't any other lurking data fetch calls we haven't updated
Please test out your changes locally. Thanks!


Support Testnet4 Network

This PR adapts bp-wallet to the changes made in bp-invoice for Testnet4 support.
Additionally, it introduces support for the mempool Indexer (or Resolver), ensuring compatibility with the any-network.
If you have any suggestions, please leave your valuable comments, I will actively cooperate with the revision, thank you very much

Thank you!
One small thing: can you pls here and in the other PRs use [patch.crates-io] section in the Cargo.toml instead of changing the dependencies right in place?

Thank you!
One small thing: can you pls here and in the other PRs use [patch.crates-io] section in the Cargo.toml instead of changing the dependencies right in place?

Thank you for your advice. I will make timely changes through [patch.crates-io]

Since 80% of the code is duplicated with esplora, I think this should be re-factored just as a wrapper around explora client re-using it

Understood, the code looks like it can be reused a lot, I try to make a wrapper, streamline the code

The refactored code now reuses most of the esplora code and removes unnecessary dependencies. Additionally, I've updated the [patch.crates-io] section. If have any further suggestions, please let me know : )

We also need to fix broken cli feature build: https://github.com/BP-WG/bp-wallet/actions/runs/9937214077/job/27448310034?pr=50

I like it! One small addition - and from my side we are good to go.
Added @zoedberg to review as well
PS. Can you also pls run cargo +nightly fmt --all?

Thanks for your suggestion, I will execute 'fmt' simultaneously.
When I execute 'fmt' during development, it will automatically 'fmt' other code, I am worried that it will cause inconvenience to the repo, so fmt is very cautious

https://github.com/BP-WG/bp-wallet/actions/runs/9937214077/job/27448310034?pr=50

I've located the problem. I'll fix it

When I try to use either explore or mempool I somehow get no process-level CryptoProvider available -- call CryptoProvider::install_default() before this point which wasn't happening before. Any idea why this happens?
For instance, it happens when running /bp create -n testnet4 --mempool --tr-key-only "[a181fad6/86h/1h/0h]tpubDC8SnPn5p7kso1Wp2wYyziUgisECwdFQQyVUu2viNttcxUFzuHcW1E1UXiETHBCD3YKmoB2oXMkGUnmKsehWtzTK1DhQXmyQ8RoaCDjW3Zc/<0;1>/*" testTrKeyonly command

no process-level CryptoProvider available

I tried to run the following command in my local, and the output is as follows
Loading descriptor from command-line argument
SyncingSyncing keychain 0 .......... keychain 1 .......... success
Saving the wallet as 'testTrKeyonly' ... success

You can try cargo clean  and retrieve the latest branch and perform compilation
I see that this error is coming from rustls , but our dependency tree does not have this dependency, I am afraid that it may have been introduced by the original reqwest , try cargo clean and get the latest branch expected no problem.
I hope this can solves problem

https://github.com/rustls/rustls/issues/1938#issuecomment-2118801598
Find a solution because a local library is missing, usually due to developers using a new test environment.
I'll try and see what else I can find

Thank you for your help. I know it is unrelated to your PR. Strange it wasn't happening before with explora...

Thank you for your help. I know it is unrelated to your PR. Strange it wasn't happening before with esplora...

I think I may have found the reason, because bp-esplora's dependency ureq was upgraded 9 days ago. After its upgrade it relies on rustls 0.23, currently only rustls 0.23 has this error.
And before we rely on  ureq relies on the rustls https://github.com/algesten/ureq/blob/2.9.7/Cargo.lock#L562 0.22, will not appear this error.

Perfect, thank you! After cargo update -p ureq --precise 2.9.7 everything Is back to normal

Perfect, thank you! After cargo update -p ureq --precise 2.9.7 everything Is back to normal

Very excited, it's all coming back! :)


[feature request] Local multiplayer

It would be nice if there was also pvp mode in addition to pve, so that e.g. 2 people could play on 1 phone.

I'm not currently planning on implementing this feature.


Upgrade to Angular 6

Just filing as a placeholder, let's see when we can tackle this
@seanforyou23 feel free to take over and try whenever you get a chance!

I made a quick try and hit this issue, got Unknown option: '--reporters' from ng test
angular/angular-cli#10834

I created a separate branch to test Angular 6 here
https://github.com/atlasmap/atlasmap/tree/angular6
Let's play around there and merge it back to upstream once it gets working.

just removed --reporters. The next wall - dherges/ng-packagr#767

Just got an alert regarding this. My two (well, 3 actually) cents are:

Check https://update.angular.io and follow the steps pointed out by the wizard.
Upgrade the CLI and let it carry out all the heavylifting for you. Some peer dependencies such as RxJs will have to be upgraded in regards of implementation. I already introduced lettable operators in my latests implementations, butall the legacy ones still observe the (now deprecated) legacy chainable interface. Loiane Groner wrote a very useful walkthrough about how to handle the upgrade, available at https://loiane.com/2018/05/upgrading-to-angular-v6/
With the new Angular CLI in place, now you can build component libraries as JS artifacts by executing ng generate library atlasmap. This would allow you to phase out ng-packagr should you guys do not want to keep taking advantage of it. Please refer to the official docs and the CLI changelog (hint: The "Hamilton" release):https://github.com/angular/angular-cli/releases

Hmm, it seems ng generate library @atlasmap/atlasmap.data.mapper is not allowed,
Project name<EMAIL_ADDRESS>is invalid.

So it doesn't match with current NPM package name to be published.

Problem here is that NPM package name has been always wrong I'm afraid (package names should not contain dots, but dashes). Perhaps this would be a good time to fix that, now that AtlasMap is mostly used solely on Syndesis. Otherwise this might become a bigger issue in the future.
;)

Ah OK, changing package name to dash-connected one is fine. The project name in the angular.json is already using dash, so we'd want to align sooner than later.


Do not use storage for SupportsInterface implementation

A contract that currently implements ERC165 extends from SupportsInterfaceWithLookup, which defines a mapping in storage where all the interface identifiers are stored. While this provides O(1) lookup, it involves a high gas cost in terms of saving all the IDs in storage.
An alternative implementation could be to simply check the interface ID subsequently against the set of hardcoded identifiers (especially since these values are constants). This implementation was used in the ZeppelinOS fork of OpenZeppelin, for instance.
The gas usage limit should not be an issue, as a call with 10 interface id checks costs ~700 gas, way under the 30K limit.

The lookup implementation of supportsInterface costs 616 gas. Given that this cost is constant, and surpassed by the proposed alternative with only 10 interface ids, I think the lookup wins cost-wise.
Additionally, I consider the internal API of lookup to be way better and safer. It's a call to _registerInterface, whereas hardcoding the ids requires overloading the supportsInterface function and manually calling super.
All this considered, my vote is to keep the lookup implementation.

CLOSED ALL ACCOUNT BIGCRYPTO001

While this could eventually become an issue with contracts that have a large amount of identifiers, the current implementation is fine as-is.