Add argument to client script to follow symlinks

Checked for duplicates
Yes - I've already checked
🧑🔬 User Persona(s)
The current behavior of the pds-ingress-client.py script is to ignore an symbolic links encountered when traversing paths to be uploaded. Going forward, it could be useful to add a command-line option to instruct the client to follow encountered symlinks, rather than ignore them by default.
💪 Motivation
Would allow pds-ingress-client.py to be used with datasets that are compiled from pre-existing data via symlink to avoid data duplication.
📖 Additional Details
No response
Acceptance Criteria
Given
When I perform
Then I expect
⚙ Engineering Details
No response

Closing this ticket, as the default behavior for the DUM client is now to resolve all encountered symlinks.


Remove use of Python requests library in jbossnetwork API interaction

The interaction with the jbossnetwork API makes use of the Python requests library.
Ansible modules includes libraries for interacting with URL based targets and would eliminate the need to include external dependencies.
Migrate jbossnetwork api modules from requests to native Ansible module_utils to interact with HTTP/HTTPS based queries

Thanks for the PR


Feat: Use modern an maintained library for pdf generation instead of pypdf2

We currently get many trouble with pypdf2:

https://github.com/algoo/preview-generator/issues/80
https://github.com/algoo/preview-generator/issues/54
https://github.com/algoo/preview-generator/issues/23
https://github.com/algoo/preview-generator/issues/23#issuecomment-659836263

This library is not properly maintained (now a new project pypdf4 exist)
We should find a pdf library that can handle properly those use case and recreate a new pdf builder.
Poppler seems the way to go : https://en.wikipedia.org/wiki/Poppler_(software) (used by libreoffice, evince, inkscape, etc...)

Note: I see two alternative project for a modern and correctly maintenained pdf builder:

https://pypi.org/project/python-poppler/ python binding for poppler, need python 3.7 or more.
https://pypi.org/project/pikepdf/ based on qpdf, usable with python 3.5, qpdf is already what we used for decryption.

have a look at: https://github.com/pymupdf/PyMuPDF

Another solution may be simply use poppler-utils : https://packages.debian.org/fr/bullseye/poppler-utils instead of python-poppler lib, this avoid license issues (poppler is gpl) and having weak connection has some benefit (seems easier to make timeout for example).

fixed by the poppler based builder #275


fix docs of taskdump_tree()

To wait for running tasks, the wait_for_running_tasks argument must be true.

@jswrenn I think that the clippy and other build errors are not related to my change.  I can open another PR to fix the clippy error if you want, but it isn't immediately obvious to me how to resolve the other errors, e.g.:
error: package `csv v1.2.1` cannot be built because it requires rustc 1.60 or newer, while the currently active rustc version is 1.59.0
[13](https://github.com/tokio-rs/async-backtrace/actions/runs/4440284360/jobs/7875539067?pr=15#step:8:14)

and the errors in concurrent-queue:
error[E0433]: failed to resolve: use of undeclared crate or module `loom`
[81](https://github.com/tokio-rs/async-backtrace/actions/runs/4440284360/jobs/7875539985?pr=15#step:10:82)
  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/concurrent-queue-2.1.0/src/sync.rs:37:24
[82](https://github.com/tokio-rs/async-backtrace/actions/runs/4440284360/jobs/7875539985?pr=15#step:10:83)
   |
[83](https://github.com/tokio-rs/async-backtrace/actions/runs/4440284360/jobs/7875539985?pr=15#step:10:84)
37 |         pub(crate) use loom::sync::atomic::*;
[84](https://github.com/tokio-rs/async-backtrace/actions/runs/4440284360/jobs/7875539985?pr=15#step:10:85)
   |                        ^^^^ use of undeclared crate or module `loom`
[85](https://github.com/tokio-rs/async-backtrace/actions/runs/4440284360/jobs/7875539985?pr=15#step:10:86)
...
error[E0392]: parameter `T` is never used
[228](https://github.com/tokio-rs/async-backtrace/actions/runs/4440284360/jobs/7875539985?pr=15#step:10:229)
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/concurrent-queue-2.1.0/src/unbounded.rs:142:22
[229](https://github.com/tokio-rs/async-backtrace/actions/runs/4440284360/jobs/7875539985?pr=15#step:10:230)
    |
[230](https://github.com/tokio-rs/async-backtrace/actions/runs/4440284360/jobs/7875539985?pr=15#step:10:231)
142 | pub struct Unbounded<T> {
[231](https://github.com/tokio-rs/async-backtrace/actions/runs/4440284360/jobs/7875539985?pr=15#step:10:232)
    |                      ^ unused parameter
[232](https://github.com/tokio-rs/async-backtrace/actions/runs/4440284360/jobs/7875539985?pr=15#step:10:233)
    |
[233](https://github.com/tokio-rs/async-backtrace/actions/runs/4440284360/jobs/7875539985?pr=15#step:10:234)
    = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
[234](https://github.com/tokio-rs/async-backtrace/actions/runs/4440284360/jobs/7875539985?pr=15#step:10:235)
    = help: if you intended `T` to be a const parameter, use `const T: usize` instead
[235](https://github.com/tokio-rs/async-backtrace/actions/runs/4440284360/jobs/7875539985?pr=15#step:10:236)

Thanks for the PR! I've fixed the build errors. I wonder if bors will accept your PR without you rebasing — let's see!
bors r+


AA0248 Add 'this' qualification. - Missing Runtime version check

Please include the following with each issue:
1. Describe the bug
The CodeCop should check for  the runtime specified in the app.json and only trigger the warning AA0248 then.
2. To Reproduce
Steps to reproduce the behavior:
    procedure SaveContactSync(CurrUserSecurityID: Guid; var Contact: Record Contact; NewID: Text)
    var
        RecordRef: RecordRef;
    begin
        RecordRef.GetTable(Contact);
        SaveSync(CurrUserSecurityID, RecordRef, Enum::"PTE Entity"::Contact, NewID); // Wrong warning for this
    end;

    procedure SaveSync(CurrUserSecurityID: Guid; var RecordRef: RecordRef; MgEntity: Enum "PTE Entity"; NewID: Text)
    var

    begin
        // Magic
    end;

.
3. Expected behavior
Similiar to other properties the CodeCop should respect the runtime version.
4. Actual behavior
The runtime is ignored.
5. Versions:

AL Language: v14.0.1002061 (pre-release)

Internal work item: AB#534070

This has been fixed.


Opt parallel

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
Closes #364
What are the significant changes in functionality due to this change request?
Modifies some behaviors of the Optimizer:

Whenever a new opt candidate is decided on, the gradient perturbation point(s) for that candidate is simultaneously identified, and all runs for both the candidate and perturbations are queued immediately, with priority given the opt point.
If an opt point is rejected, all other runs relating to the point are cancelled.
If an opt point is rejected, the gradient direction is no longer re-sampled; the old one is retained. This should probably be changed in the future, as it can lead to undesirable behaviors.
The gradient magnitude is no longer retained (instead only the verser is used), and so is no longer available as a solution export value or convergence value.
Adds a high-utilization analytic model "stress.py" for keeping processes at full utilization for a given interval, for testing purposes.
Solution export entries now include both accepted and rejected points at each iteration instead of exclusively accepted points. The optimal solution discovered is always appended to the end of the solutionExport.
Adds "accepted" as a solution export optional variable to indicate whether a point was accepted or rejected in the optimization path.
Changes the difficult-to-understand "A, a, alpha, c, gamma" SPSA parameters to the more generic "initialStepSize" and "perturbationDistance" parameters.

Job Handler:

Implements a method for terminating all running and/or queued jobs with an identifier matching those provided in a list.

Samplers:

Adds a jobsToEnd parameter to collect identifiers for jobs that are no longer needed and should be terminated.

MultiRun Step:

Now queries Samplers for any jobs to terminate, and passes this information to the JobHandler.

TODO

Remove MultiLevel operations

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?

@PaulTalbot-INL failing tests

Job Mingw Test on c548410 : invalidated by @PaulTalbot-INL
Checking timeout due to ongoing processes

Some of the job killing wasn't working, and I did some timing checks to check performance.
In test cases, with the simplest practical problem, we can maintain high usage in parallel depending on the length of time the model takes to run:

Model takes 1 second, we can utilize 30 processors.
Model takes 10 seconds, we can utilize 100 processors.

It's not clear how well a linear fit of these points continues to longer jobs, but for now, an estimate is N=8t + 22, where N is the number of processors that can be used and t is the time (in seconds) a single model evaluation takes. This will especially break down for very fast models.

It looks like there's still some inconsistency in variable ordering in the finite difference optimizer. Working on it.

Job Test qsubs on 25e64d6 : invalidated by @milljm
killing all falcon clients...

Probably due to the increased number of job submissions as a result of doing gradient evaluations in parallel, the Optimizer.RrR test is taking longer than previously, and much longer on Windows than other machines. It's unclear what we can do about this.

@PaulTalbot-INL is it ready for the review?

Yes; however, as noted in the comment above, the Windows test machine is too slow to pass the Optimizer.RrR test. I don't have a solution for this.


fix(deploy/w3c): allow publishing multiple times a day

Fixes https://github.com/w3c/spec-prod/issues/41

I'm not fully convinced this is the right fix. I'll go through https://github.com/w3c/specberus/blob/3a69061a8a70943201577d03df1d77d2a09fd63e/lib/rules/headers/dl.js to make sure...


[IO] Extra character added to EDF header keys

A curly bracket is added to the HeaderID key of EDF files.
That can already be seen with silx view. The HeaderID key is usually shown as {HeaderID.
The problem is that it is also reflected using silx convert.

A possible patch:
diff --git a/silx/io/fabioh5.py b/silx/io/fabioh5.py
index 95eef23..d9a87f3 100644
--- a/silx/io/fabioh5.py
+++ b/silx/io/fabioh5.py
@@ -173,6 +173,7 @@ class MetadataGroup(commonh5.LazyLoadableGroup):
         keys = self.__metadata_reader.get_keys(self.__kind)
         for name in keys:
             data = self.__metadata_reader.get_value(self.__kind, name)
+            name = name.lstrip("{\n")
             dataset = commonh5.Dataset(name, data)
             self.add_node(dataset)

That's if we want to fix the issue in silx. We should first discuss whether or not it should be fixed at a lower level.

It has been fixed in the master branch of fabio in february:  https://github.com/silx-kit/fabio/pull/196/files

Or a bug fix release of fabio, which would also fix the issue with already released code.

@kif ?

A bug fix release of fabio seems to me overkill if it is just made because of that bug...

If there is a release of fabio before there is one of silx, then the issue will be fixed.
Otherwise, to me if it is just for the display, it can wait for a fix in fabio, but if it ends up producing erroneous hdf5 files we can have a workaround in silx (with an issue opened to remove it).

The problem has been reported by a user that was silx converting EDF stacks to hdf5. If it only affects HeaderID is not critical, but I guess it can affect any key found at the first position in the header.

I send a mail on the silx mailing list a long time ago. Here is the issue on fabio: https://github.com/silx-kit/fabio/issues/195. It is fixed but not yet released.
I guess we could release a version of fabio before the comming silx release. I am clearly not very happy with this bug in the last release of fabio.

Assigned the milestone 0.8 just to be sure we decide something (PiRK patch and/or do nothing and wait))

Requirement to fabio 0.7 have to be updated.


[opt](inverted index) mow supports index optimization

Proposed changes
https://github.com/apache/doris/pull/37428
https://github.com/apache/doris/pull/37429

run buildall

run buildall


Adjusting labels that don't interact with telemetry-framework

Changed CRD to have "subresources.status" like in telemetry-framework repo

Fixes "the server could not find the requested resource"

Removed label based node affinity
Removed "colored" affinity (blue/green/white)
Standardized on app: smart-gateway
Removed some other confusing labels

ServiceMonitor 'smartgateway: white' label stays for now
Will handle in a seperate PR because co-ordinating change required here:
https://github.com/redhat-service-assurance/telemetry-framework/blob/3562d4492a22fdd784c7689fd06cc50835d0a779/deploy/service-assurance/prometheus/prometheus.yaml#L35

Added some build and test docs
Fixed markdownlint problems in existing docs
Minor doc cleanups

Testing
I tested this by following the instructions I added to the README.md. After deploying it alongside SAF, I confirmed that it passed the smoke tests, and then I confirmed that the new labelling had actually been applied as expected to the pod, service, and servicemonitor resources:
$ oc get po white-smartgateway-1-c27gt -o jsonpath='{.metadata.labels}'
map[app:smart-gateway deployment:white-smartgateway-1 deploymentconfig:white-smartgateway]

$ oc get svc white-smartgateway -o jsonpath='{.metadata.labels}'
map[app:smart-gateway]

$ oc get servicemonitor white-smartgateway -o jsonpath='{.metadata.labels}'
map[smartgateway:white app:smart-gateway]

 [SAF] Resolve issues with smoketest not completing when running downstream vs upstream image imports

I'm going through this again now checking on a couple points, and I think there is a critical step missing; will push another commit before I'm ready to merge this.

Ready to merge this now

Starting review


clients

Urgent:

[x] sshkey
[ ] sshagent
[x] sshclient (that uses remote executor)
[x] currency_layer
[x] sonic (sonic-client) @Omarabdul3ziz
[x] redis (forwarding to underlyin client)? should be more explicit?
[x] git
[x] github @omarelsheekh
[x] gdrive @kirolosessam
[ ] digital_ocean @abom
[x] gedis

Nice to have

[x] sendgrid
[x] twilio
[x] s3
[x] trello
[ ] btc_alpha
[ ] google_compute
[ ] packet.net
[ ] grafana
[ ] influx
[ ] itsyou.online
[ ] etcd
[ ] syncthing

Blocked by #16.

Too old, was opened for the first release (before sdk..etc)

Too old, was opened for the first release (before sdk..etc)


small fixes for unit tests

One of the tests were failing for me on Windows (stupid line feeds).
While looking at the unit tests. PhpStorm was flagging various things with warnings. So I added definitions for private properties and fix a couple of grammars.
I noticed that there aren't any units for the widgets. Can widgets be tested? How would that be done?

never mind, I found the widget tests from cakephp. Doesn't look hard. I'll see if I can add a few.

am I suppose to post a comment to say I did the changes or does GitHub somehow notify people that I made the changes? Just wondering how automated this PR stuff is.

GH doesn't notify when new commits are added to PR. So a comment is fine.


[WIP] emoji: Fix some issues related to realm emojis.

Fixes: #5769.

@HarshitOnGitHub this PR looks good, but I notice it's still tagged WIP; is it ready from your perspective?

@timabbott Yeah this PR is ready. The reason it is still tagged as a WIP is that I was thinking of merging the two tips that we display on the custom emojis page:

But I think that probably belongs to a different PR. Removing WIP.

@HarshitOnGitHub I think that is actually a regression in this PR, so maybe worth fixing before we merge, since it's likely quick.

@timabbott Fixed it. It was not a regression in this PR. :)

Ahh, you're right.  But I'm not sure that's the correct fix.  We'd prefer to display just the more specific notice for this page.

Merged the first 3 commits, since that turned out not to be a regression.  But we might as well keep this PR open until we've fixed that last one properly.

@HarshitOnGitHub can your rebase this and resolve it?

@timabbott Updated! :+1:

I tweaked the language and merged this, thanks @HarshitOnGitHub!


The browser Safari indicated that there is a missing image

Describe the bug
In the editor at the point of editing a post or page, there is a missing image displayed top left.
This only seems to happen in Safari on MAC
To Reproduce
Use Safari Version 14.1 (166<IP_ADDRESS>.6) on MAC 11.3.1

Safari does not support :: before :: after. This is the cause of this issue.

So I put
*:before, *:after {   display: none; }
in my responsive css and that seems to fix it. Did it break anything else?

No, everything else works as expected. It looks like the issue has been resolved.

I figured out that the SVG code need to be encoded before using it in pseudo CSS. Use URL-encoder to encode the svg, I had a try and it is displayed correctly. Can this fix be applied?

Maybe this issue has beend fixed ? @erezrokah


TorchTensor deepcopy raises error when dtype is not float32

Initial Checks

[X] I have read and followed the docs and still think this is a bug

Description
when calling copy.deepcopy() over TorchTensor, it fails when tensor.dtype != torch.float32.
The problem is that TorchTensor.new_empty() will create a float32 tensor no matter what, regardless of self.dtype

Example Code
import torch
from docarray.typing.tensor.torch_tensor import TorchTensor
import copy

x = TorchTensor(torch.randn(2,3))
y = copy.deepcopy(x)    # this works

xx = TorchTensor(torch.randint(0,100,(2,3)))
yy = copy.deepcopy(xx)  # RuntimeError: Expected a Storage of type float or an UntypedStorage, but got type Long for argument 1 'storage'

Python, DocArray & OS Version
0.39.1

Affected Components

[ ] Vector Database / Index
[X] Representing
[ ] Sending
[X] storing
[ ] multi modal data type

Hey @igamenovoer,
Thanms for reporting the issue. Since you spotted the problem, would you like to contribute the fix?

I think we need to add a custom implementation of deepcopy for TorchTensor to avoid storage-sharing issues.
@JoanFM could you please help me to contribute in this

what do u mean by a deepcopy class for that?

what do u mean by a deepcopy class for that?

Oh I am sorry I was mentioning method, It's was a typing mistake.

the approach seems to make sense indeed

yws

yws

@JoanFM would you mind having a look at the PR, please?


WIP More performance improvements for metadata

Save service_index in instance data field as it never changes; and
lets us save on one sql join when populate metadata

Closing; it got merged as a part of separate PR


Fix TimerRateU32 and TimerRateU64 to be Rate instead of Duration

Likely a typo
Fixes #31

Could you have a look at adding a test and fixing the failing CI build?

Sure, I'll take a stab at it.

Is this the kind of test you're looking for?


second Neato Botvac does not show up properly

Hi!
I have 2 Neatos, but only one shows up properly in ioBroker.
The other one does not have the subfolders and all the triggers. There is only an empty state with the name of the robot.
Any idea?
Thomas

Hi again!
For whatever reason, it now works. I didn't change anything, but now the subfolders appear and everything works as expected.


Add cargo-deny to CI

cargo-deny is a tool that scans the dependency tree and checks for:

RustSec security vulnerabilities
unmaintained/yanked crates
crates from non-approved registries (e.g. Git dependencies)
incompatible/disallowed licenses
banned crates

It's not something that we absolutely need. If it negatively affects CI, we can also not add it or remove it again in the future.
Possible alternatives:

cargo-audit -- seems to have less functionality than cargo-deny
GitHub's dependabot -- checks for updates. While it partially overlaps with cargo-deny, I think the two complement each other.

I've set the rules rather strict for now (see 2nd commit), because a CI passing with warnings will never be noticed. If it limits us, we can continuously add exceptions or soften the rules.

bors try

bors try

bors r+


Show which schedules a node is part of

This likely requires making schedules part of the branches.

I don't think we should do this until schedules are implemented within version controlled project.

Closing in favour of https://github.com/dataform-co/dataform-co/issues/847


New dataset

Will this work only on spider dataset, I mean what if new data comes in?

Thank you for the question, I'm sorry I'm just now seeing this!
I've been prioritizing some other projects, so I haven't done as much building out as I would have hoped. But this process should work with any sqlite database. It really just works to pull the schema information. As long as that schemea doesn't change it would be able to write the query and run against the database.
I just used the spider dataset as a test because it was publicly available data with a lot of diverse structures.
I will say - the big limit will be if you have another type of database. That's something I'd love to be able to explore with time, but in the meantime I'd checkout langchain. I struggled to adapt some of the out-of-the-box agents, but they have a really adaptable flow for dealing with different types of databases!


Add unit test to complete coverage of server code

Add unit test for issue #63

Thank you for your contribution
Please fix conflicts


ui.position = "cursor" jumps around screen when closing buffers

Noticing that the window jumps around a lot with any action that keeps the window open because it opens with the new cursor position. For actions like that it would make sense for the window to stay in the current position

I am having trouble understanding when this happens ? could you give an example so I can try to reproduce it ?

https://github.com/user-attachments/assets/af340c36-cc2b-4478-a3e9-af523fa04200
Sorry, looking back my explanation was not that great. Here is a video showing what happens when you are using the 'cursor' position and you delete buffers from the list.

WezTerm.2024-11-<IP_ADDRESS>.mp4
Sorry, looking back my explanation was not that great. Here is a video showing what happens when you are using the 'cursor' position and you delete buffers from the list.

Ohh that is definitely not right, I see the issue now !

Hopefully this solves it, from my brief testing it seems to do the trick

Thanks for pointing this out!


Add tracing to the virtualdom for devtools

Specific Demand
It'd be great to get a timeline view of events in the virtualdom and know which async tasks and component renders are taking a log time.
Implement Suggestion
Tracing + a custom subscriber seems like the ideal solution here. Specifically, we can enter spans and hop around async frames with little hassle.
A future devtool would be able to leverage a dedicated subscriber and show the logging over time.

this really leads us into a visualizer/flamegraph/tracing system for the entire dom. there's a decent bit of tracing in now thanks to many different PRs, but none yet that satisfy the long term goal (which is tracked elsewhere)


[GLUTEN-1632][CH]Daily Update Clickhouse Version (20230707)

Auto commit by gluten daily build, please check the build status and merge it if it's green.

see

see following getConfigRef implementation
const Poco::Util::AbstractConfiguration & Context::getConfigRef() const
{
    auto lock = getLock();
    return shared->config ? *shared->config : Poco::Util::Application::instance().config();
}

gluten doesn't create applicaiton intance.


[next] TODO: Replace script context="module" attribute with module

There has been a breaking change in Svelte v5.
To summarise:
-<script context="module">
+<script module>

Reference: https://github.com/sveltejs/svelte/pull/12948

[x] Update documentation
[x] Update AST parser/transformer

:rocket: Issue was released in v5.0.0-next.7 :rocket:


🌱 Uplift CAPI to v1.1.6

What this PR does / why we need it:
and gomod.sh script under hack folder

/test golangci-lint
/test unit

/cc @smoshiur1237 @Rozzii


Completion of mnemonics

Fixes #196
Like the title says, a simple autocomplete of mnemonics (aka assembly keywords). The implementation became very concise and simple with the help of strum, which made it possible to simply reuse the Mnemonics enum used during parsing 🙂 Tested with unit tests and manually in Emacs.
Should be easy enough to extend to support other built-in keywords later.

You're on fire! Thanks again :)


DNS problem

Hi, I'm a student trying to reproduce your scalability results and learn more about nmos.
I'm running the nmos-mininet on Ubuntu-Server 14.04 as a VM in VirtualBox and Ubuntu 18.04 as host. I have a bunch of issues which are somehow related to each other I guess:
After setting up the NMOS extention I tried h1 ping -c1 "h2" to confirm DNS is working within the virtual network.
But > >unknown host h2 << is all I get
After that I tried:

sudo bin/nmos-mn
A simple network will be created, almost as before.
Type mdnsd h1 h4 to run mdnsd for all hosts (h1 to h4).
Type start_registry h1 to start up a registry on host h1.
Type start_node h2 h4 to start up nodes on hosts h2, h3 and h4.
Type query_nodes h1 to print a list of the registered nodes.

The commands are working fine, except  query_nodes h1. I get this error message:
Error: No JSON object could be decoded
Unable to find Query API from host: h1

For that reason I checked whether nmos-cpp is working fine.
I ran the nmos-cpp-test script:

nmos-cpp-test is a Catch v1.10.0 host application.
Run with -? for options

-------------------------------------------------------------------------------
testMdnsAdvertiseAddress
-------------------------------------------------------------------------------
/home/mininet/nmos-cpp/Development/mdns/test/mdns_test.cpp:76
...............................................................................

/home/mininet/nmos-cpp/Development/mdns/test/mdns_test.cpp:85: FAILED:
  CATCH_CHECK( advertiser.register_address("test-mdns-advertise-address", "<IP_ADDRESS>", {}).get() )
with expansion:
  false

/home/mininet/nmos-cpp/Development/mdns/test/mdns_test.cpp:87: FAILED:
  CATCH_REQUIRE( gate.hasLogMessage("Registered address: <IP_ADDRESS> for hostname: test-mdns-advertise-address") )
with expansion:
  false

-------------------------------------------------------------------------------
testMdnsAdvertiseAPIs
-------------------------------------------------------------------------------
/home/mininet/nmos-cpp/Development/mdns/test/mdns_test.cpp:93
...............................................................................

/home/mininet/nmos-cpp/Development/mdns/test/mdns_test.cpp:109: FAILED:
  CATCH_CHECK( advertiser.register_service("test-mdns-advertise-1", "_sea-lion-test1._tcp", testPort1, {}, {}, textRecords).get() )
with expansion:
  false

/home/mininet/nmos-cpp/Development/mdns/test/mdns_test.cpp:110: FAILED:
  CATCH_CHECK( advertiser.register_service("test-mdns-advertise-2", "_sea-lion-test1._tcp", testPort2, {}, {}, textRecords).get() )
with expansion:
  false

/home/mininet/nmos-cpp/Development/mdns/test/mdns_test.cpp:111: FAILED:
  CATCH_CHECK( advertiser.register_service("test-mdns-advertise-3", "_sea-lion-test2._tcp", testPort3, {}, {}, textRecords).get() )
with expansion:
  false

/home/mininet/nmos-cpp/Development/mdns/test/mdns_test.cpp:113: FAILED:
  CATCH_REQUIRE( gate.hasLogMessage("Registered advertisement for: test-mdns-advertise-1._sea-lion-test1._tcp") )
with expansion:
  false

-------------------------------------------------------------------------------
testMdnsBrowseAPIs
-------------------------------------------------------------------------------
/home/mininet/nmos-cpp/Development/mdns/test/mdns_test.cpp:121
...............................................................................

/home/mininet/nmos-cpp/Development/mdns/test/mdns_test.cpp:137: FAILED:
  CATCH_CHECK( advertiser.register_service("test-mdns-browse-1", "_sea-lion-test1._tcp", testPort1, {}, {}, textRecords).get() )
with expansion:
  false

/home/mininet/nmos-cpp/Development/mdns/test/mdns_test.cpp:138: FAILED:
  CATCH_CHECK( advertiser.register_service("test-mdns-browse-2", "_sea-lion-test1._tcp", testPort2, {}, {}, textRecords).get() )
with expansion:
  false

/home/mininet/nmos-cpp/Development/mdns/test/mdns_test.cpp:139: FAILED:
  CATCH_CHECK( advertiser.register_service("test-mdns-browse-3", "_sea-lion-test2._tcp", testPort3, {}, {}, textRecords).get() )
with expansion:
  false

/home/mininet/nmos-cpp/Development/mdns/test/mdns_test.cpp:141: FAILED:
  CATCH_REQUIRE( gate.hasLogMessage("Registered advertisement for: test-mdns-browse-1._sea-lion-test1._tcp") )
with expansion:
  false

-------------------------------------------------------------------------------
testMdnsResolveAPIs
-------------------------------------------------------------------------------
/home/mininet/nmos-cpp/Development/mdns/test/mdns_test.cpp:200
...............................................................................

/home/mininet/nmos-cpp/Development/mdns/test/mdns_test.cpp:229: FAILED:
  CATCH_CHECK( advertiser.register_service("test-mdns-resolve-1", "_sea-lion-test1._tcp", testPort1, {}, {}, textRecords).get() )
with expansion:
  false

/home/mininet/nmos-cpp/Development/mdns/test/mdns_test.cpp:233: FAILED:
  CATCH_REQUIRE( gate.hasLogMessage("Registered advertisement for: test-mdns-resolve-1._sea-lion-test1._tcp") )
with expansion:
  false

===============================================================================
test cases:  49 |  45 passed |  4 failed
assertions: 449 | 437 passed | 12 failed

Did I missed something during installation or setup?
Thanks very much

Within Mininet CLI, h1 ping - c1 h2 should work as it doesn't require DNS, etc.
If that works, but h1 ping -c1 "h2" doesn't, that does suggest a DNS problem.
Basic DNS within Mininet can be configured using dnsmasq. The install directory has scripts to build it, as well as a Patch script to configure it to be used, and the simple mn-hosts script to generate a simple additional hosts file.
Did you use those as part of the installation?
The later errors are related to multicast DNS-SD. To start the mDNS daemon, there's an mdnsd command in the nmos-mn additions.

Within Mininet CLI, h1 ping - c1 h2 should work as it doesn't require DNS

h1 ping - c1 h2 works but  but h1 ping -c1 "h2" doesn't

Did you use those as part of the installation?

Yes, I ran the BuildDnsmasq.sh script within the SetupPart2.sh script.
I tried to build dnsmasq again. It is installed and up to date.

Hey,
I happen to have the same issue even as I ran the cpp-test. I'm running VBox on Mac. Is there something specific I could configure or check in dnsmasq to activate DNS? Is there something else to check first? thank you already!


Alert doesn't fit into modal window

Describe the bug
Error alert doesn't fit to "Add Source" modal window.
To Reproduce
Steps to reproduce the behavior:

Go to "Cost Management" / "Overview"
Click on "Add Source"
Add some incorrect data
Alert will popup in the modal window, but it seems it doesn't fit to the window.

Expected behavior
Alert width should be smaller or it should go out of the modal window.
Screenshots

Desktop (please complete the following information):

OS: openSUSE 15.0
Browser: Firefox
Version: 65

FYI, we're in the process of replacing this modal. When the AWS functionality is complete, we will turn it on. See https://github.com/project-koku/koku-ui/issues/201
@boaz0 Can you please confirm that the new modal does not have this issue and close.


⚠ Bofrost.at has degraded performance

In 257fc48, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2281 ms

Resolved: Bofrost.at performance has improved in b504c21 after 13 minutes.


Modifying depth_evaluation_utils for a custom dataset

I'd like to test the pretrained networks you provide on a custom, 82-frame dataset with just no scene changes. I looked at the code in stillbox_eval/depth_evaluation_utils.py, however much remains unclear. For instance:

What is the code's understanding of scene, ref_imgs and tgt?
Is the first frame of my sequence as the tgt and the rest sequentially listed in ref_imgs?
What if I don't have any depth map to provide? I just want to test the pretrained dataset, not train the network myself

In short, could you provide a simple overview of the steps needed to load a custom dataset?

Alright, I think I understand it now. I'll put my code and explain it here if anyone else has the same problem. Please correct me if I'm wrong! ref_imgs are the frames around the current frame (eg at frame t, frames t-1 and t+1).
def read_scene_data(data_root, test_list, seq_length=3, step=1):
    config = configparser.ConfigParser()
    config.read(os.path.join(data_root, 'seqinfo.ini'))

    im_files = []
    # how many frames around the current (tgt) frame should be taken into account by the network
    demi_length = (seq_length - 1) // 2
    # by default 1 frame before and 1 after: [-1, 1]
    shift_range = [step*i for i in list(range(-demi_length, 0)) + list(range(1, demi_length + 1))]

    for index, sample in enumerate(tqdm(test_list)):
        if os.path.isfile(sample):
            # clamp indices between 1 and the maximum number of frames in the scene
            capped_indices_range = list(map(lambda x: min(max(0, index + x), int(config['Sequence']['seqLength']) - 1), shift_range))
            ref_imgs_path = [test_list[ref_index] for ref_index in capped_indices_range]
            im_files.append([sample, ref_imgs_path])
        else:
            print('{} missing'.format(sample))

    return None, im_files, None


Cannot use Model first() and update() in table without primary key

Describe the bug
When using a table without primary key, it's not possible to use first() command.
I found the reason is 'ORDER BY <tablename>.<primary key>' is always appended to the end of the query.
Emptying the $primaryKey does not fix the problem.
Similiar problem with update(). It works fine with insert().
I'm using the query builder for workaround for now.
CodeIgniter 4 version
CodeIgniter 4.0.0 alpha.2
Context

OS: Windows 10
Web server XAMPP 3.2.2
PHP version 7.2

My pr#1325 should solve your issue about update([col => 2, bar => [1,3]]) method.
You could pass an array of fields for your updates WHERE to get where col =2 and bar in(1,3)

table without primary key is not good idea.

I cannot agree with you. It depends what you are storing in it.

@lonnieezell I had in my mind that we could have complex primary keys and then it is important to specified it easy in the update query like:  WHERE X = 1 and y = 4 and that is what PR#1325 or PR#1560 is doing well :).
However you ask about use case:.... I don't use primary keys in "storage-like" tables like login attempts when I am sure I won't need it sometimes I've got at max 3-4 tables like that in database which contains 60-70 tables.

You can write like this.
$this->where(['key1'=>1,'key2'=>2])->update($array);

Or like this.
$this->where(['key1'=>1,'key'=>2])->save($array);

@nowackipawel I guess that makes sense. I've always still put a primary key in there because otherwise it will do a full table scan whenever you search and if those tables starting getting big, which a login attempts table likely will, that query is going to keep getting slower when I need to get there. Sounds like they are tables you don't access very much so likely not a pain point for you.

This particular issue sounds like it's simple enough to fix, though, by checking to see if primary key is empty or not before adding the order by into the query.

Not directly related to the report (OUT OF TOPIC)
It seems that I encountered another issue because of not using primary key. It seems that the new CodeIgniter's design is built around primary key system?
I supposed to have '5' results from my query.
I want to count how many result for pagination so I used $query->countAllResults() to count it, the result was '2', I don't know where '2' came from.
I then tried to view the result using $query->getResult(), it shows '5' results correctly.  $query->paginate() shows correct result as well.
Here's the test code I used
$query = $this->select('name, SUM(ctr_choose) as total_choose');
$query->join('food', 'user_answer.id_food=food.id');
$query->groupBy('id_food');
$compiled = $query->getCompiledSelect();
print_r($compiled);
echo '|';
$this->resetQuery();
$query = $this->select('name, SUM(ctr_choose) as total_choose');
$query->join('food', 'user_answer.id_food=food.id');
$query->groupBy('id_food');
print_r($query->countAllResults()); //result: 2 (incorrect)

echo '|';
$query = $this->query($compiled);
print_r(count($query->getResult())); //result: 5 (correct)

$link = mysqli_connect("localhost", "root", "", "battermod");
$result = mysqli_query($link, $compiled);
$num_rows = mysqli_num_rows($result);
echo "\n <$num_rows Rows>\n"; //result: 5 (correct)

Because there's no $this->db->last_query();, I don't know what kind of query countAllResults produced.

@titounnes
It doesn't work, the query always append this at the end of query. Same problem with first()
AND .idIN (<id>)'

$this->model->set('name', $input['name']);
$this->model->where('id', $input['id']);
$this->model->update();


Pollard p-1 not attempting

I have a public key that I know is susceptible to the pollard p-1 attack. Attempting it however it seems to not even attempt the attack, without doing any iterations, or timing out. Running --tests says that it works just fine.
publickey.txt

I fixed it in the above pull request. However, in order to factorize your key, you need to increment the number of primes used (line 21 in attack/single_key/pollard_p_1.py). I used 6543 in order to generate primes up to 0x10001 (I'm not sure if this makes sense, I don't understand this attack enough to tell, but it works).


[Issue#352] Introducing class mappings input json file

A temporary workaround to fix duplicate test executions when bundles are split (https://github.com/linkedin/bluepill/issues/352)
\cc @ob @vaibhav-shah @nanwang1101

All tests passed locally. @ob, Please review.

Discarding this workaround in favor of a long term solution.


OSM map reloads in tab view

Hi, I am using a BottomNavigationBar with 4 tabs, As I move on from other tabs and come back to HomeTabPage OSM Flutter map will reload
Earlier in previous versions, I would use AutomaticKeepAliveClientMixin and it works fine but now with the recent update the reloading causes reload and I lose a lot of functionality like tracking vehicles, etc.
Here is a stripped-down version of the code, How can I fix this?
void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
          primarySwatch: Colors.blue,
        ),
        home: MainScreen()
  }
}

The MainScreen
import 'package:drivers_app/tabPages/earnings_tab_page.dart';
import 'package:drivers_app/tabPages/home_tab_page.dart';

import 'package:drivers_app/tabPages/profile_tab_page.dart';
import 'package:drivers_app/tabPages/rating_tab_page.dart';
import 'package:flutter/material.dart';

class MainScreen extends StatefulWidget {
  //const MainScreen({ Key? key }) : super(key: key);
  static const String idScreen = "mainScreen";

  @override
  _MainScreenState createState() => _MainScreenState();
}

class _MainScreenState extends State<MainScreen>
    with SingleTickerProviderStateMixin {
  TabController tabController;
  int selectedIndex = 0;
  void onItemClicked(int index) {
    setState(() {
      selectedIndex = index;
      tabController.index = selectedIndex;
    });
  }

  @override
  void initState() {
    super.initState();
    tabController = TabController(length: 4, vsync: this);
  }

  @override
  void dispose() {
    super.dispose();
    tabController.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: TabBarView(
        physics: NeverScrollableScrollPhysics(),
        controller: tabController,
        children: [
          HomeTabPage(),
          EarningTabPage(),
          RatingTabPage(),
          ProfileTabPage(),
        ],
      ),
      bottomNavigationBar: BottomNavigationBar(
        items: [
          BottomNavigationBarItem(icon: Icon(Icons.home), label: "Home"),
          BottomNavigationBarItem(
              icon: Icon(Icons.credit_card), label: "Earnings"),
          BottomNavigationBarItem(icon: Icon(Icons.star), label: "Ratings"),
          BottomNavigationBarItem(icon: Icon(Icons.person), label: "Account"),
        ],
        unselectedItemColor: Colors.black54,
        selectedItemColor: Colors.yellow,
        type: BottomNavigationBarType.fixed,
        selectedLabelStyle: TextStyle(fontSize: 12.0),
        showUnselectedLabels: true,
        currentIndex: selectedIndex,
        onTap: onItemClicked,
      ),
    );
  }
}

This is the HomeTabPage
import 'package:drivers_app/configMaps.dart';
import 'package:flutter/material.dart';
import 'package:flutter_osm_plugin/flutter_osm_plugin.dart';
import 'package:geolocator/geolocator.dart';

class HomeTabPage extends StatefulWidget {
  const HomeTabPage({Key key}) : super(key: key);

  @override
  _HomeTabPageState createState() => _HomeTabPageState();
}

class _HomeTabPageState extends State<HomeTabPage>
    with AutomaticKeepAliveClientMixin, OSMMixinObserver {
  @override
  bool get wantKeepAlive => true;
  Position initPositionPoint;
  GeoPoint initPosition;

  @override
  void initState() {
    super.initState();

    osmController = MapController(initMapWithUserPosition: true);
  }

  @override
  Future<void> mapIsReady(bool isReady) async {
    if (isReady) {
      await osmController.rotateMapCamera(45.0);
      await osmController.currentLocation();
      await osmController.rotateMapCamera(0);
      locatePosition();
    }
  }

  void locatePosition() async {
    initPositionPoint = await Geolocator.getCurrentPosition(
        desiredAccuracy: LocationAccuracy.high);
    print("This is your Position:: " + initPositionPoint.toString());

    GeoPoint initPos = GeoPoint(
        latitude: initPositionPoint.latitude,
        longitude: initPositionPoint.longitude);
    initPosition = initPos;
    currentPosition = initPos;
  }

  MapController osmController;
  final GlobalKey _mapKey = GlobalKey();
  @override
  Widget build(BuildContext context) {
    return Stack(children: [
      OSMFlutter(
        key: _mapKey,
        controller: osmController,
        trackMyPosition: true,
        initZoom: 18,
        minZoomLevel: 8,
        maxZoomLevel: 18,
        stepZoom: 1.0,
        userLocationMarker: UserLocationMaker(
          personMarker: MarkerIcon(
            image: AssetImage("images/images/car-ios.png"),
          ),
          directionArrowMarker: MarkerIcon(
            image: AssetImage("images/images/car-ios.png"),
          ),
        ),
        road: Road(
          startIcon: MarkerIcon(
            icon: Icon(
              Icons.person,
              size: 64,
              color: Colors.brown,
            ),
          ),
          roadColor: Colors.yellowAccent,
        ),
        markerOption: MarkerOption(
            defaultMarker: MarkerIcon(
          icon: Icon(
            Icons.star_half_rounded,
            color: Colors.blue,
            size: 56,
          ),
        )),
      )
    ]);
  }
}

i will give example how to fix that

i will give example how to fix that

Hey hi! Any update on this?

i'm sorry for being late
i will work on that this night and tomorrow, i didn't forget you

i have small question when you navigate to another page and you come back to the map
the map doesn't reload from the start, just for example if you're activated the tracking, it's doesn't reactivated that the problem ?

At this point, I don't even know what's happening. The map will just freeze on the main osm screen without zooming into the location, So, I cleaned the HomeTabPage to check if the problem is with the other plugin?  I am using  background_location plugin and I think it is the problem. However, with the clean HomeTabPage the map will flicker like it is taking a screenshot. It doesn't reload from start though.
If you have time I could share my project in your email and maybe you could take a look?  I tried almost everything :(

the flicking because the map is restared(that problem only in android),
I have small idea, i will try it and i will told if I need to see your project or not

Okay sounds good! Yes, the log says like the map is paused, resumed etc..

can you try to passe HomeTabPage to mainscreen like this
class MainScreen extends StatefulWidget {
 final Widget map;
  const MainScreen({ Key? key,this.map }) : super(key: key);
  static const String idScreen = "mainScreen";

  @override
  _MainScreenState createState() => _MainScreenState();
}
...

build method of mainscreen  become like this
 @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: TabBarView(
        physics: NeverScrollableScrollPhysics(),
        controller: tabController,
        children: [
          widget.map,
          EarningTabPage(),
          RatingTabPage(),
          ProfileTabPage(),
        ],
      ),
   ...
  );
 }

when you call mainscreen
 MainScreen(map:HomeTabPage());

and in build method of homepage you should add
super.build(context); before the statement return
 @override
  Widget build(BuildContext context) {
    super.build(context)
    return Stack ...
    }

I don't understand this part where do I put this ?
 MainScreen(map:HomeTabPage());

in MaterialApp or routing Map
it's depend how the structure of your app
for example if you have route setting or in home attribute in MaterialApp
you should make
routes : {
"":(ctx) => MainScreen(map:HomeTabPage())
}
or
home : MainScreen(map:HomeTabPage())

Sorry I don't understand, I am not calling HomeTabpage() from any where , it is here only in mainScreen
It is here as shown in the full code above.
 @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: TabBarView(
        physics: NeverScrollableScrollPhysics(),
        controller: tabController,
        children: [
          HomeTabPage(),
          EarningTabPage(),
          RatingTabPage(),
          ProfileTabPage(),
        ],
      ),

I tried this but ofcourse it wont work
 @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: TabBarView(
        physics: NeverScrollableScrollPhysics(),
        controller: tabController,
        children: [
          widget.map,
          MainScreen(map: HomeTabPage()),
          EarningTabPage(),
          RatingTabPage(),
          ProfileTabPage(),
        ],
      ),

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
          primarySwatch: Colors.blue,
        ),
        home: MainScreen(map: HomeTabPage())
  }
}

The MainScreen
import 'package:drivers_app/tabPages/earnings_tab_page.dart';
import 'package:drivers_app/tabPages/home_tab_page.dart';

import 'package:drivers_app/tabPages/profile_tab_page.dart';
import 'package:drivers_app/tabPages/rating_tab_page.dart';
import 'package:flutter/material.dart';

class MainScreen extends StatefulWidget {
final Widget map;
  const MainScreen({ Key? key,this.map }) : super(key: key);
  static const String idScreen = "mainScreen";

  @override
  _MainScreenState createState() => _MainScreenState();
}

class _MainScreenState extends State<MainScreen>
    with SingleTickerProviderStateMixin {
  TabController tabController;
  int selectedIndex = 0;
  void onItemClicked(int index) {
    setState(() {
      selectedIndex = index;
      tabController.index = selectedIndex;
    });
  }

  @override
  void initState() {
    super.initState();
    tabController = TabController(length: 4, vsync: this);
  }

  @override
  void dispose() {
    super.dispose();
    tabController.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: TabBarView(
        physics: NeverScrollableScrollPhysics(),
        controller: tabController,
        children: [
          widget.map,
          EarningTabPage(),
          RatingTabPage(),
          ProfileTabPage(),
        ],
      ),
      bottomNavigationBar: BottomNavigationBar(
        items: [
          BottomNavigationBarItem(icon: Icon(Icons.home), label: "Home"),
          BottomNavigationBarItem(
              icon: Icon(Icons.credit_card), label: "Earnings"),
          BottomNavigationBarItem(icon: Icon(Icons.star), label: "Ratings"),
          BottomNavigationBarItem(icon: Icon(Icons.person), label: "Account"),
        ],
        unselectedItemColor: Colors.black54,
        selectedItemColor: Colors.yellow,
        type: BottomNavigationBarType.fixed,
        selectedLabelStyle: TextStyle(fontSize: 12.0),
        showUnselectedLabels: true,
        currentIndex: selectedIndex,
        onTap: onItemClicked,
      ),
    );
  }
}

just you told me the behaviour, did you notice any other behaviour

Bravo! works now :)

just you told me the behaviour, did you notice any other behaviour

Sorry to bother you again, but since 3 hours stuck on this, This code works okay
void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
          primarySwatch: Colors.blue,
        ),
        home: MainScreen(map: HomeTabPage())
  }
}
but how do I get it to work with firebase auth code?

class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return ChangeNotifierProvider(
create: (context) => AppData(),
child: MaterialApp(
title: `Driver',
theme: ThemeData(
//  fontFamily: "Brand Bold",
primarySwatch: Colors.blue,
visualDensity: VisualDensity.adaptivePlatformDensity,
),
initialRoute: FirebaseAuth.instance.currentUser == null
? LoginScreen.idScreen
: MainScreen(map: HomeTabPage()),
      // home: MainScreen(map: HomeTabPage()),
      routes: {
        RegistrationScreen.idScreen: (context) => RegistrationScreen(),
        LoginScreen.idScreen: (context) => LoginScreen(),
        MainScreen.idScreen: (context) => MainScreen(),
        CarInfoScreen.idScreen: (context) => CarInfoScreen()
      }),
);

}
}
There is no error on the code before running,  but after running I get `type 'MainScreen' is not a subtype of type 'String?'
:(

you cannot make initialRoute widget
you should give MainScreen.idScreen

just to know,
when parent rebuild , all their child rebuild again,
so we use that to prevent our map widget from rebuilding when we assotiated to another parent
but i already add it new attribute for activate hotreload in android androidHotReloadSupport
i will make release tomorrow

Oh yes I wanted to knw why you r doing this and what is its use. But I think I am asking too much help. But its new thing for me. I have learned a lot from you thank u so much.

you're welcome, you should ask no problem with that at all
your questions will help to improve the library

I have one more question. When we draw roads how can we get all the GeoPoints ? This can help in TURN BY TURN navigation as I have done it before.
The road is drawn from the server but do u knw if we can draw it from the app itself ? Most garmin watch that use osm map can draw road without internet connection. Its very accurate. I use it all the time. Wondering if its possible ? I read u need to get nodes of roads etc..

in roadInfo ,I already add it attribute route to get all points
i planned to add instructions to it also, it will be add it in next year


[Doc Improvement][Add a link to Licensing and payment]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/graph-api/import-messages/import-external-messages-to-teams.md
92
9
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 6dd5f71:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/graph-api/import-messages/import-external-messages-to-teams.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
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.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Improve registry.storage interface

The current method of using custom named storage pools is clunky and some interfaces like emplace_or_replace are unavailable.
// nice
reg.emplace<int>(e, 123);
reg.view<int>();

// wat
reg.storage<int>("myint"_hs).emplace(e, 123);
entt::basic_view{ reg.storage<int>("myint"_hs) };

Some kind of storage pool identifier that could be used by the registry like any other type would be so much better:
using myint = entt::storage_id<int, "myint"_hs>;

// nice
reg.emplace<myint>(e, 123);
reg.view<myint>();

I've made an example, and it works as you'd expect:
template<typename T, entt::id_type ID = entt::type_hash<T>::value()>
struct storage_id{
	using type = T;
	static auto constexpr id{ ID };
};

template<typename T, typename... Args>
void emplace(entt::registry& reg, entt::entity e, Args&&... args) {
	reg.storage<typename T::type>(T::id).emplace(e, std::forward<Args>(args)...);
}

static void BM_emplace_myint(benchmark::State& state) {
	using myint = storage_id<int, "ok"_hs>;

	entt::registry reg;
	for (auto _ : state) {
		emplace<myint>(reg, reg.create(), 0);
	}
}

And it performs identically to reg.emplace<T>(), is it really invalid?
-------------------------------------------------------------------------
Benchmark                               Time             CPU   Iterations
-------------------------------------------------------------------------
BM_emplace_int                       23.3 ns         23.0 ns     29866667
BM_emplace_int_storage               17.9 ns         18.0 ns     37333333
BM_emplace_int_storage_with_id       17.9 ns         18.0 ns     37333333
BM_emplace_myint                     23.3 ns         23.0 ns     29866667

is it really invalid?

I mean, this doesn't work with runtime identifiers. Therefore, it would only solve the problem in a specific case. 🤷♂

Because your solution will only work on compile time ids,  which renders the string ids of the storages to be less useful, so maybe just cut the middle man (the registry) and just store variables to the storages. IMHO this is safer and more compile time friendly.
entt:storage myint;
entt:storage myfloat;
auto e = reg.create();
myint.emplace(e, 1);
myfloat.emplace(e, 1.0f);
entt::basic_view{ myint,  myfloat};

This is already possible in fact. The long term goal is exactly to support a registry-less model.
As for your last comment, what do you mean with your solution will only work on compile time ids?
Currently, the registry make you use runtime ids if you like/need, that is exactly at the opposite. 🤔

I think we can close this one as invalid. Feel free to reopen it if you feel I didn't get the point. Thanks. 👍


it can work for only current 3 years.

It can't be get some xbrl, for example, "jpfr-asr-E00457-000-2009-03-31-01-2009-06-26.xbrl" that is a report of 2897:Nissin (from H20.4.1 to H21.3.31), and/or "jpcrp030000-asr-001_E00457-000_2014-03-31_01_2014-06-26.xbrl" that is a report of 2897:Nissin (from H25.4.1 to H26.3.31).

@pakapon-peace thx, i'll check my codes...

I experience the same issue. No xbrl older than 3 years back is downloaded.

@pakapon-peace @KaixiRen31  this module using ufocatch api. and the api support last 3 years only.


Fix block vacancy bug

CHANGELOG:

Fix bug in calculating next_era_gas_price for non-validating nodes
Fix bug in migrating of contract and packages
Fix bug in global state update during protocol upgrade

Closes #4695
Closes #4696
Closes #4698

bors r+

bors r+

bors r+

bors r+

bors r+


chore(changelog): remove empty releases

These were triggered by bots doing dependency updates.

:tada: This PR is included in version 1.0.24 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Full linkability

It'd be nice to be able to produce a link with selected regions and type.

Fixed in https://github.com/zbraniecki/covid19-timeseries/commit/1de9573d5d9118043cd9e70d08482fc125841810


Wrong capture agents selected in the admin UI for new events

Describe the bug
When creating a new event in the admin UI, the capture agent dropdown in the scheduling tab appears to be broken:

Sometimes the capture agent you pick out isn't the one that's actually set.
Sometimes a capture agent can't be picked, instead there's an error in the console: "Uncaught TypeError: this.form_field.options[a.options_index] is undefined". This appears to be the case if you pick the last capture agent in the list.

Both errors only occur if you change your mind after you've already picked a capture agent once; the first time works just fine.
This seems to be a similar error as #1357 and can most likely be fixed in a similar way.
To reproduce

Add a new event via the admin UI
Choose "Schedule Single" or "Schedule Multiple" in the source tab
In the scheduling tab, change capture agent selection more than once (!) via the dropdown menu
Watch the conflicts requests in the network tab of your developer tools to see which capture agent is actually chosen
Or watch the console for errors
You need to have at least two capture agents available to reproduce this bug

Not affected

The scheduling tab in Event Details is not affected, most likely because the dropdown menu seems to be reset after each selection.
Edit Scheduled Events is likewise not affected - though there is another bug that makes this tricky to test (see #1847).

Environment Information

OS: Ubuntu 20.04
Browser: Firefox
Only 8.x and develop are affected, this bug does not exist in 7.x

Fixed with 7054d34


Typo

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@hyoshioka0128 Thank you for fixing these unnecessary brackets! #sign-off


No "transaction_ids" in the block?

No "transaction_ids" in the block?

See https://steemit.com/bitshares/@xeroc/python-bitshares-how-to-derive-transaction-ids .
See also #35.

TL;DR
from bitshares.block import Block
from bitsharesbase.signedtransactions import Signed_Transaction
block = Block(23743383)
tx = Signed_Transaction(**block["transactions"][2])
print(tx.id)


extend ci support for py310

🚀 Pull Request
Description
This PR extends our CI tests GHA workflow coverage for py310.
So now we have active test coverage of py38, py39 and py310.

Consult Iris pull request check list

There's an outage on GHA at the moment, and as a result the CI workflows haven't run for this PR.
I'll move it to draft and wait for the GH services to resume

It looks like the latest docs build failed with py 3.10: https://readthedocs.org/projects/scitools-iris/builds/17321543/

It looks like the latest docs build failed with py 3.10: https://readthedocs.org/projects/scitools-iris/builds/17321543/

That error looks familiar 🤔 SciTools/cf-units#258

Essentially, for py310 on rtd we need a release of cf-units... which has been ready for months. It seems to be doing a pip install -e . under the hood to install the iris src, and is then attempting to check and install all the package deps in the mamba/conda environment using PyPI.
I may be able to work around it, by injecting a --no-deps, if possible. Worst case I'll release cf-units myself


Add new formula for the Instant Client Basic.

I added formula for the Instant Client Basic.
It depends on instantclient-basiclite formula.
The difference of basic and basic lite is only NLS data.
This formula installs NLS data only. All other files are provided by instantclient-basiclite.
Firstly, Oracle instant client tries to load libociei.dylib (NLS data provided by the basic package).
If it fails, it tries to load libociicus.dylib (NLS data provided by the basiclite pacakge).
So just adding libociei.dylib changes the basiclite package to the basic package.

The first PR! \o/
Did the other packages successfully install for you?
Thank you for the great input!


Find Reference doesn't find all references

@LittleLittleCloud commented on Tue May 21 2019

Environment data

VS Code version: 1.33
Extension version (available under the Extensions sidebar): latest
OS and version: windows 10
Python version (& distribution if applicable, e.g. Anaconda): 3.6.6
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A

Steps to reproduce:
Python language server is being used.

Clone Repo from https://msasg.visualstudio.com/OpenMind Studio/_git/OpenMindVSCode?path=%2FFlaskServers&version=GBmaster

Open that folder in vscode, then goto amlflask/common/utils.py

Do a "Find all reference" on function extract_from_workspace_uri

it should show all references in the left pane, instead only part of references are shown

Logs
clean

@karrtikr commented on Tue May 21 2019
Please provide a sample repository so we can reproduce the issue. The repo is not accessible.

you can find a sample repository here

Turns out it's a Jedi problem, language server works fine! Thank you @karrtikr


"Range"/"Partial Content" support for Chrome: Part 2

Hi,
See the prehistory at #92.
Today I've tested the version 0.7.0_2.
Browser: Chromium (version 52.0.2743.116 Built on Ubuntu).
Update (2016 Oct 10):
-- The same results as described below are found for Chrome 53.0.2785.143 (64-bit)
-- But none of issues described below encounter on Firefox: on FF all files play and seek correctly.
Here are the results.
:one: I can correctly seek audio files that are played with the help of the <audio ...> tag and with size at least not more than 3.1 MB.
:red_circle: But if I use <audio preload="auto" ...> I encounter cases when the file starts playing, then suddenly resets and restarts from the 32768-th byte. In such cases the browser request contains Range=32768-, and the server indicates in its response that it sends range from 32768 to the end of the file. But in fact the player plays the file from the start (from the 0-th byte), and then stops playing not exactly at the end of the audio file but at the end minus 32768 bytes, in other words, it cut the file.
:two: There are problems with seeking if the file size is about 16MB. If I move the slider, the player always plays from the start of the file, not from the position indicated by the slider. Checking the console, I see that after every change of the slider position the browser sends a new request with Range=[NewPosition]- (e.g., Range=123547-). The server answers with headers that indicate that [NewPosition]-[EndOfFile] bytes are sent. But actually it looks like the player gets 0-[EndOfFile-NewPosition] bytes.
Moreover, the listing of such a file loading (size = 15,964,411 bytes, playing time = 33m : 11s, no seeking, no transformation of the initial file) looks like that:

Initial request-response:

First portion:

Next portions:

It fails with the error:

After that the player doesn't stop playing, it sends a new request:

*... and new portions of bytes are (giving in sum the total file size):

Then it reaches the end time (33:11) and stops.

Some thoughts
:white_check_mark: Two ideas come to my mind after that testing.

There could be something quite easy that leads to sending bytes from 0, not from a required position
There could be some other reason for the fail net::ERR_CONTENT_LENGTH_MISMATCH

If some other info could be useful and necessary, I'll be glad to provide it.

@seabrus All my apologies, I forgot to really "cut" the stream and return the needed part... it involed some changes on store plugins, however I can only maintain the LocalStore and the GridFSStore, other stores are not from me and they must implement the stream range option.

@jalik sorry, I didn't mentioned that I used GridFS. So yes, GridFSStore is the most important for me.
Thanks for changes, I'll test them today!


Add info about node names and node details

It would be nice to not only display the node count (displayed at first line output of !health) but also display the names/details of those nodes.
Maybe for better readability as an own listing in another command like !nodes ?
If possible, also display extended information. Some devices provide GPS coordinates, some devices like T-Echo provide also pressure.
Thank you!

Thanks for sharing your idea - can you provide a mock output example ?

I am not sure what data can be optained or what data you are able to get from the device, whatever data can be shown could be interesting. Maybe something like that:

Nodes: $nodecount
$shortname $longname / $devicemodel / $battery $voltage / $rssi $snr / $lastseen [ / $optional telemetry data like gps, temperature, pressure, whatever the device provides]

for example:
input:

@botname: !nodes

bot output:

Nodes: 5
2f8d CHiLtastic_2f8d / t-echo / 92% 4,07V / 6,0 / now / 48.24425 16.36195 / 24,6°C / 39% 991,6hPa
641c hei76tastic_641c / t-beam v1.1 / 98% 4,13V / -50 7,0 / 2 min
a212 Solartastic_a212 / rak4631 / 73% 3,96V / -52 6,0 / 12 min
b38c hei76rooftastic_b38c / t-beam v0.7 / 55% 3,82V / -77 6,5 / now / 48.24453 16.36211
ec6d Meshtastic_ec6d / rak4631 / 98% 4,13V / -76 6,5 / 3 min

Thank you!

Cool ! I'm thinking of pushing this up and iterating over it

The challenge with this rendering is that mobile doesn't support tables. Is the ended use case for desktop or mobile? If the target use case is mobile, tables are not a good fit. Your example above is a better choice I think

What do you think of

I didn't even know that tables are possible. How does a table look like on mobile if tables are not supported?
I would see the target use case generic for every device. Depending if the table on mobile is somewhat readable, you could implement it as table and wait for the table-implementation on mobile. Or implement it as simple text and optimize as table as soon as table is supported on mobile.
Your screenshot looks nice, just that I would put every device in an own line.

👍 great! Maybe add some description, either add V to battery and dB to snr to know what the values mean :)

I've pushed up an initial implementation that is available in 0.3.22
There are some missing data points like GPS location. I'm not jazzed about sharing that private detail in public locations but perhaps owners know best. I'm happy to discuss further

Thank-you for your idea submission!

Thank you for the update, I tried using the source from the repo, but for some reason it does not work. I wondered why it does not work and to be sure I downloaded the release you mentioned and installed it again from scratch, but still it does not work. When I send @botname: !help or @botname: !nodes in the matrix room the bot just sends this as typical message over to meshtastic.

Ah, sorry, I didn't know you implemented that as plugins and expected the functionality to be enabled already. After I added them to the config, it works perfectly!
Thank you very much! Works really great!
Maybe you want to add the plugins to the sample_config.yaml ?


Make storeShape available for importing

Hello, would it be possible to make the store shape available for importing (or requiring, etc.)? Right now it is only possible through react-redux/lib/storeShape or react-redux/src/storeShape, but it would be so much nicer to be able to write:
import { Provider, storeShape } from 'react-redux';

react-router does something like this, i.e. routerShape and locationShape are exported at top level too additionally to react-router/lib/PropTypes.

If you want to access Provider's context directly, that's not really supported behavior at the moment. It's best to use connect, as it provides a number of performance improvements over vanilla access.

No, that's not what I wanted to do. Why the assumption?
IIRC I had a top level component which needed the store to be passed so that it could render the Provider component with it. The linter was complaining about prop types, because in this situation the store was the provider's provider prop.
I honestly don't remember the details, but that's the gist of it. Now, wouldn't an easy access to the store shape be good in this situation?

@timdorr Could you please reply?


User should not have to use hexdump or od before running the disassembler

Currently, the user is expected to run the disassembler on a hex representation of the binary. Instead, the hexdump step should be abstracted away so that the user can run the disassembler directly on the binary.
Possible solutions:

Add a simple script that runs od on the input binary.
Change the interface of emulate.rs to allow for either a binary, or a hexadecimal representation, and write our own hexdump (or find a rust crate for this).

Resolved with commit 86095a2e29c49d33ff662d1d2e841166e108d244
Chose option 1:

Add a simple script that runs od on the input binary.


does not work

i put in a gorilla tag file and it does not work

Hello
uTinyRipper has been abandoned, but AssetRipper is actively being developed with the intent to recover games as best as possible. I encourage you to help out if you're able and willing. Code contributions can be submitted via pull requests.
Development Progress
These are some of the notable things I've implemented since taking over development.

2020 - 2022 support
APK, XAPK, and IPA reading with SharpZipLib
Dummy shaders (so everything isn't pink when you open the project)
IL2Cpp support via an integration of Cpp2IL
Better game platform support
Full script decompilation with the ILSpy decompiler
Cross-platform support
Multiple configuration options
Numerous performance improvements
Support for all asset types
Lightmap Recovery
High-quality 3D model export with SharpGltf (including static meshes)
Prefab Outlining
Hybrid Script Export

This is not (at all) a comprehensive list. There are so many other things that could not be included here. They have all been made possible with the support of my generous sponsors.
Future Plans
This is a list of notable improvements planned for the future.

2023+ Support
Asset Deduplication
Mesh preview
Scene preview
Child State Machines
Dynamic Zip File Loading
Static Mesh Separation

As time has gone on, reality has forced me to focus my attention away from AssetRipper. These improvements (and any not listed here) can only happen with your financial support.
Development is slow when sponsorship is low.
Sponsorship
If you like the work I've done and want to see it continue, please consider sponsoring me. It really helps with development, more than you know.

GitHub Sponsors
Patreon
Paypal


Set position:relative on scroll-wrapper to prevent reflow when sticky…

…fill is used

Why does this help? Does stickyfill look to the nearest position parent or something?

I think so. I was looking at the UI responsiveness report on IE11, and setting the d2l-scroll-wrapper position: relative was doing a reflow. Setting position: relative seems to avoid this.

Ah okay, so it's going to update it itself, so we're setting it preemptively. Can you add a comment in the CSS that it's for stickyfill?


serve command should run ngrok

That way you can access your site not only from the local network, but from the entire interweb!

Note: If you submit a PR, do it against the v3.0.0 branch please!

Done in 94487c8


DLL deemed trojan malware

VirusTotal deems the .dll file malware.
obv. a false positive, as previously with NorthstarLauncher.exe
i've contacted MaxSecure about whitelisting the file, so i'll wait for an email response.

Will probably never get whitelisted due to the usage of windows api to overwrite stuff.


helm chart wrong version for index

(I don´t know how works a helm registry)
trying to show value for trino-gateway does not work, because the version tagged does not exist. Indeed, the registry looks for version 12.0.0 instead of 0.12.0
helm show values trino/trino-gateway
Error: failed to fetch https://github.com/trinodb/charts/releases/download/trino-gateway-12.0.0/trino-gateway-12.0.0.tgz : 404 Not Found

helm show values trino/trino-gateway --version 0.12.0

# Default values for trino.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
...

Thanks for reporting this, I switched the versioning scheme after doing the initial release and I haven't checked the contents of the index.

Fixed in https://github.com/trinodb/charts/commit/9bacf090ed839efaeba6c518f8f85ab75fd6cb7f and verified with:
% helm repo update trino
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "trino" chart repository
Update Complete. ⎈Happy Helming!⎈
% helm search repo trino-gateway --versions
NAME               	CHART VERSION	APP VERSION	DESCRIPTION
trino/trino-gateway	0.12.0       	12         	A Helm chart for Trino Gateway


Implement Curved Boosters

These were implemented for quite a bit. The non-dream variant won't allow you to go through walls. This branch also does some refactoring with the CustomBooster & DreamBooster classes.

Need to add GravityHelper support to curved boosters. They don't work with inverted gravity.


No support for other devices

I was looking through code and saw no support for light modules. I have one installed at my residence and determined looking at Attributes in the JSON file the device ID is 3. I cobbled it into my code along with the option to use ./myq-garage status [device ID] to check individual device statuses. I am NOT an expert coder so take anything I've done with a grain of salt and try not to laugh....I'm learning as I go....I attached my code.
myq-garage_rev.txt

Yes, the light module is ID 3, and you simply send 1 or 0 to turn on or off. I have one working perfectly with the SmartThings integration: https://github.com/brbeaird/SmartThings_MyQ


TypeError: Cannot read properties of null (reading 'json')

Describe the bug
When working with the studio and pasting/typing the below spec, the site crashes (complete white screen) with the following error in the Browser Console
TypeError: Cannot read properties of null (reading 'json')
    at 2.8b4994d8.chunk.js:2:3484977
    at Array.reduce (<anonymous>)
    at Function.e.parametersToSchema (2.8b4994d8.chunk.js:2:3484898)
    at Ne (2.8b4994d8.chunk.js:2:3514599)
    at sa (2.8b4994d8.chunk.js:2:2790402)
    at Gs (2.8b4994d8.chunk.js:2:2842702)
    at Au (2.8b4994d8.chunk.js:2:2829943)
    at Du (2.8b4994d8.chunk.js:2:2829871)
    at Ou (2.8b4994d8.chunk.js:2:2829734)
    at bu (2.8b4994d8.chunk.js:2:2826700)
cs @ react-dom.production.min.js:216

How to Reproduce

Start with a private browsing session and go to https://studio.asyncapi.com/
Replace the given spec from Streetlights Kafka API with

asyncapi: 2.3.0
info:
  title: Account Service
  version: 1.0.0
  description: This service is in charge of processing user signups
channels:
  oms/t/xyz/oms/place_orders/{country}:
    subscribe:
      message:
        $ref: '#/components/messages/UserSignedUp'
    parameters:
      country:
        description: ISO code of the country to place an order for
components:
  messages:
    UserSignedUp:
      payload:
        type: object
        properties:
          displayName:
            type: string
            description: Name of the user
          email:
            type: string
            format: email
            description: Email of the user

This spec is for sure incomplete, however the studio should not crash...
Expected behavior
Show a proper parsing error instead of crashing the studio

Tested with MS Edge Version 98.0.1108.56  and Firefox 91.6.1esr

@andreas-habel Hello! Sorry for such a long delay! I was on a little vacation two weeks ago and when I came in I most likely missed it in the notifications I was looking through while I was gone. However, the problem is fixed and I apologize again!


Question: why does a developer have to set MqttMessage.id explicitly?

Paho generates an ID for every Message. Why is a developer responsible for this in your API?

Hi,
Sorry it has taken me a while to look at this! You are quite correct as having read the Paho docs a bit more carefully I can see that there is no point in setting message ID at publish time as this will be ignored.
I am thinking about splitting publish and subscribe messages into separate classes and not having message ID at all on publish messages. Any thoughts?

I've committed some changes that effectively split messages that you publish from messages that you receive. For publish messages, you no longer need to provide an id - in fact you can't - there's no point, as Paho will ignore it anyhow. If you have any thoughts let me know. Plan to push out a release 1.2.0 with this change as soon as I can.

FYI Version 1.2.0.RELEASE has just been released which addresses this.


Landsat 8 and 5 download raises exception

When downloading Landsat 8 data using the script below the following exception is raised:
['B1.TIF', 'B2.TIF', 'B3.TIF', 'B4.TIF', 'B5.TIF', 'B6.TIF', 'B7.TIF', 'B8.TIF', 'B9.TIF', 'B10.TIF', 'B11.TIF', 'BQA.TIF', 'MTL.txt', 'ANG.txt', 'README.GTF']
Traceback (most recent call last):
  File "test.py", line 11, in <module>
    product.download(out_dir=target_dir, progressbar=True)
  File "/users/wiel_mc/Source/miniconda3/envs/proc_s2_flood/lib/python3.6/site-packages/pylandsat/download.py", line 69, in download
    download_file(url, dst_dir, progressbar=progressbar, verify=True)
  File "/users/wiel_mc/Source/miniconda3/envs/proc_s2_flood/lib/python3.6/site-packages/pylandsat/utils.py", line 79, in download_file
    raise requests.exceptions.HTTPError(str(r.status_code))
requests.exceptions.HTTPError: 404

It seems that the file "README.GTF" is missing and therefore the exception is raised. All other files are downloaded correctly. This problem is present for all Landsat 8 images (at least the ones I tried) and can also be reported for Landsat 5. Landsat 7 seems to download without exceptions. In all cases it seems that there is a mismatch between what product.available returns and what actually is available for download.
from pylandsat import Product

product_srcid = "LC08_L1TP_193027_20200712_20200722_01_T1"
target_dir = "/download"

product = Product(product_srcid)
print(product.available)
product.download(out_dir=target_dir, progressbar=True)

pylandsat 0.4, python 3.6, ubuntu 18.4

Is it still an issue? I could not reproduce this error.

Thanks for looking into this. I just tried it again with a clean conda environment and pip install pylandsat on another machine. Running above example produces the same issue again. Anything I may miss regarding the setup?
pylandsat 0.5, python 3.7, ubuntu 20.4

I got the same error while downloading Landsat-8 data in Google Colab with pylandsat-0.5.
!pylandsat download 'LC08_L1TP_089078_20191106_20191115_01_T1'
Here's the output in case you couldn't reproduce the error.

All the other files were downloaded correctly though.

The error is that there is no README.GTF file for Landsat-8 data. This can be confirmed by browsing the directories in this AWS Bucket: Landsat-8 Data on AWS or GCP Bucket: Landsat-8 Data on GCP. Hope this helps in fixing the bug.

Thanks! This helps

Should be solved in v0.6.0. Thanks @jha-vineet69 :+1:

Just tested it with v0.6.0 - works like a charm. Many thanks for the fix.


Larger column count with Acrylic enabled causes input lag

Environment
Windows build number:[Version 10.0.18922.1000]
Windows Terminal version: <IP_ADDRESS> (Commit 66cb7c4b 6/20/2019 12:20:49 PM)
Built with VS 2019 (latest version as of June 20, 2019)

Dell Inspiron 7559
4K display with scaling at 200%
i7-6700HQ
Intel HD 530
GTX 960m (with Nvidia Optimus)

Steps to reproduce
Make sure acrylic is enabled for your profile. Resize with window to more than ~160-180 columns.
Type.
Expected behavior
The window is larger and imputing text acts the same.
Actual behavior
Input lag increases significantly. Before resizing the window, there is minimal input lag, barely or not noticeable. After resizing (or starting with a column count > ~160-180), it is easy to type faster than the characters will appear on screen. This happens for WSL Ubuntu 18.04, 18.10, 19.04, CMD and Powershell. I'm not sure if this is specific to using a 4k display with integrated graphics or if this is a Windows bug with acrylic.

Can confirm this on Surface Book 2 13 with enabled acrylic and fullscreen window. There is noticable lag.
Version 0.2.1715

This should be helped by #778


possible error averted

Codecov Report

Merging #51 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #51   +/-   ##
=======================================
  Coverage   99.64%   99.64%
=======================================
  Files           4        4
  Lines         280      280
=======================================
  Hits          279      279
  Misses          1        1

Impacted Files
Coverage Δ

f8a_utils/versions.py
98.95% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@yzainee Your image is available in the registry: docker pull MISSING_REGISTRY_NAME/MISSING_IMAGE_NAME:SNAPSHOT-PR-51


feat(rules): support $payload as a dependency

This PR allows passing $payload as a parameter to the static rules method from a Data object. It's a follow-up of #114.
This is very useful when needing to conditionally apply rules based on the data you get. This is already possible by injecting Request in the method, but this only works when working in the context of the request.
For instance, when using SongData::validate(['name' => 'Wasted Youth']), a Request object will not contain the name.
Instead, you can now do the following:
class PaymentData extends Data
{
    public function __construct(
        public string $payment_method,
        public ?string $paypal_email,
    ) {
    }

    public static function rules(array $payload): array
    {
        return [
            'payment_method' => ['required'],
            'paypal_email' => Rule::requiredIf($payload['payment_method'] === 'paypal'),
        ];
    }
}

Note that the $payload variable name is important, it's a named parameter. It can obviously be omitted too.

Thanks!


Similarly with triggers, we had same issues when checking if the element is the pop itself.

TSIA.

LGTM!


bugfix/action path

Add path to actions script
Fix github context secret key definition

Hello tcarmet,
My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.
Status report is not available.


Should be support element query selector

Thanks for awesome work!
I saw on the to-do list "Create wrappers for Angular, Vue and React".
Maybe we will have to wait very long.
If you now support the element query selector then driver.js easy integrate with any other library.
driver.highlight({
    element: document.querySelector("#container"),
    stageBackground: 'blue'
});

See https://github.com/kamranahmedse/driver.js/pull/42

You can do that since 0.4.0. Thank you for reporting.


[DDW-897] Rust node integration

This PR:

Changes the default Cardano node implementation to be Rust node to facilitate the incentivized testnet
Updates the V2 API importer to be Rust node style, not http-bridge
Adds the nodeImplementation and isIncentivizedTestnet to the relevent stores

My thoughts are that incentivized testnet features moving forward can be driven from
const { networkStatus } = stores
networkStatus.isIncentivizedTestnet

@tomothespian this branch has moved us to the Edge version (for the short term) of cardano-wallet. You might want to sanity check this branch to see if things that were working are broken. I expect this might be the case, but I'm not sure what state you had the branch in.
@cleverca22 I kept the config in the launcher.dhall after our conversation because it felt to me like each node should have a configuration file, and baking the value into the compiled JS wouldn't be ideal. I think this is a slightly more future proof approach as well. If we ever want to change out nodes implementation in realtime, then we will already expect to read and set the implementation from the LauncherConfig, instead of a single baked in ENV var

Ah yes I did see that @nikolaglumac, but wasn't sure if it was due to an unstable feature @tomothespian had worked on. Now that I know that it isn't, I will investigate

Nope @Sam-Jeston - the v2-integration branch should be fully functional as far as the wallet handling is concerned.

@nikolaglumac this is resolved.
When we go to start Jormungandr, we check to see if a secret file exists in the state directory, as this is required to run the node. If it doesn't, we create it and create the block0.bin from a default testnet genesis.yml. This yml references the public key of the private key stored in the secret file, hence the string interpolation prior to writing the custom genesis.yml to disk.


Drift when the robot make some steps

Hi, when I tried a LIPM Walking controller, the observed value and control value increase the error for any walking step. The robot look like drift. It happen with HRP4 and with JVRC1.
I was thinking that maybe there is a value that has not been considered in the xml model of the robot that allows a more real behavior, maybe damping? stiffness? because these parameters are usually considered in any XML in the default mujoco robot
I tried different things for example.
noslip_iterations="50"  in the xml file
I tried too with a damping value:
<joint limited="true" damping="20" />
I understand that this drift does not occur in choreonoid but I don't know if that reduces the "realism" of a smooth surface.
In the case of the real HRP4 robot, I don't know how much should be tolerable.
I will apprecite your support for improve the simulation.

Hi @N1ckfm
Sorry for the late response.
I talked with @mehdi-benallegue and he too agrees with what I told you via email.
The KinematicInertial state estimation of the floating base is not perfect due to slipping between feet-floor contacts.
If we were to use extereceptive measurements (say SLAM), it could be improved.
That is, mc-rtc has imperfect knowledge of where the real robot is in the world.
In mc-mujoco what you see is the real robot. But the feet markers are drawn relative to the control robot.
Hence, the apparent minor discrepancy after a few steps.
I think we won't see this effect if we set BodySensor update to true.
Unfortunately, I can't seem to make the robot walk using the BodySensor for now.

Hi, I changed in the controller from KinematicInertial to BodySensor, using the LIPMWalking Controller. I see some improvement. But the robot falls in some steps.
In my code using mc_mujoco I use:
  auto & real = controller.realRobot();
  real.posW(robot.bodySensor("FloatingBase").position());

one reason could be that both in my code and in the controller the FloatingBase body sensor is being used and that is why the drift is reduced? The problem is that under these conditions the robot falls. What would happen if in both cases I used KinematicInertial instead bodySensor?

Why are you changing the controller code? You shouldn’t have to change your code to use the simulator ground-truth measurements. It can be changed by modifying the observer pipeline in your controller config file. You can find more information here: https://jrl-umi3218.github.io/mc_rtc/tutorials/recipes/observers.html
In my case too, the robot falls if I use BodySensor updates with LIPMWalking. I discussed this with @mehdi-benallegue . He thinks it’s because some controller parameters are tuned to work with estimated state and not the ground-truth state. I may try to solve this problem with his help soon.
What do you mean by “in both cases”?

I have a reinforcement learning code so in this code I use mc_mujoco and the controller. And yes I modified the observe pipeline by type for BodySensor.
My doubt is if that drift will impact the training with Reinforcement Learning because I use the error between the realRobot() and robot() and if it will make an error sim to real transfer.
Both cases: In my reinforcement learning code (using bodySensor) and the controller (Observers type KinematicInertial)

Okay I see. It would be great if we’re able to make the robot walk with BodySensor + LIPMwalking.

What would happen if in both cases I used KinematicInertial instead bodySensor?

I don’t know what your RL controller is doing. If you’re making the robot walk using KI, there will be some accumulated drift in the robot’s position in any case.

My doubt is if that drift will impact the training with Reinforcement Learning because I use the error between the realRobot() and robot() and if it will make an error sim to real transfer.

That depends on what exactly you’re trying to do :) If you’re trying to minimize the error between 3D position of real and control robots, it should affect the training IMO. Maybe you can perform your optimization over smaller distances?

I think we won't see this effect if we set BodySensor update to true.
Unfortunately, I can't seem to make the robot walk using the BodySensor for now.

I was able to make BodySensor work. But contrary to what I wrote above, I saw the robot still drifts away from the footsteps.
As I realized later, this is not unexpected. The footsteps are still with respect to the controlRobot, which is still not at the same position/orientation as the realRobot.
One way to avoid the drift is to reduce the slip between the feet-floor contacts. You can try playing with the solref + solimp, and/or noslip_iterations + friction parameters in the mujoco XML. I am not looking into this currently but I'm confident it is possible and not so hard.

Hi, I changed in the controller from KinematicInertial to BodySensor, using the LIPMWalking Controller. I see some improvement. But the robot falls in some steps.

I investigated this a bit today. Turns out this is an old issue and we must get to the bottom of this ASAP.

I was trying with differents value of solref + solimp + noslip_iterations + friction + codim ever I see this drift.


refactor(shallowCompare) changed to use reacts internal func

Description
Removed the peer dependency on react-addons-shallow-compare in favour of reacts internal shallowCompare. Suggested here: https://github.com/ubilabs/react-geosuggest/pull/200#issuecomment-254677912
Checklist

[x] All tests passing
[x] Created tests which fail without the change (if possible): not possible
[x] Extended the README / documentation, if necessary
[x] Commits and PR follow conventions

Thanks a lot!

I think we should revert this per...
https://github.com/facebook/react/issues/7770
The TL;DR is that the react internals are really going to be internal soon and this won't work in the near future.


Easier to reflect

Simple getters for hasInterval, hasGrouping etc

also for discovering a list of all query manipulation methods
e.g. keen-query is a very empty object to begin with, but is decorated with methdos whicg are defined in a config object, containing their signatores, description etc


Ubuntu 22.04 - Cannot find models submodule

Ubuntu 22.04
import oakutils.blobs.models does not work as intended.
Requirements for compiler installed, but the error comes from the paths formed in the init.py file.
Blobs files themselves are also not copied correctly using the MANIFEST.in
Urgent!

Resolved on sdk branch. Awaiting merge


chore: update organization and repo for go module

Description
This updates the go module name to github.com/openshift/oc-mirror
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[X] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[X] This change requires a documentation update

How Has This Been Tested?
Existing tests and unit test
Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

/label tide/merge-method-squash