Implement cbuild-pack.yml support

Fixes #1122
Contributed by STMicroelectronics

@Torbjorn-Svensson @ErikMallbergSTM Can you please explain the algorithm being implemented here? I see some pack resolution stuff that I wouldn't expect. My expectation would be to store in cbuild-pack.yml the information about processed packs similarly to what is already collected and stored in cbuild.yml files.
I don't care about internal implementation specific names, but externally in yml files and schemas the naming convention must be consistent, if possible please do not mix terms such as cbuild-pack and lockfile.

@Torbjorn-Svensson @ErikMallbergSTM Can you please explain the algorithm being implemented here? I see some pack resolution stuff that I wouldn't expect. My expectation would be to store in cbuild-pack.yml the information about processed packs similarly to what is already collected and stored in cbuild.yml files. I don't care about internal implementation specific names, but externally in yml files and schemas the naming convention must be consistent, if possible please do not mix terms such as cbuild-pack and lockfile.

Thanks for your input.
We have tried to address your comments in the last update.
Documentation of the algorithm is on the way and will be shared soon.

We are working on improving the documentation and addressing the remaining comments pr and in https://github.com/Open-CMSIS-Pack/cmsis-toolbox/pull/76.

Hi, @soumeh01 were you suppose to do merges into this branch or some other branch? Otherwise, we will just rebase when we do the next push since there are still a few changes left.

Hi, @soumeh01 were you suppose to do merges into this branch or some other branch? Otherwise, we will just rebase when we do the next push since there are still a few changes left.

Ok, I was not aware there were still changes left and had updated the branch.
No worries we can wait for the leftover changes and then you can rebase it with main.

Some tests remain to be created to verify usage of context selection.

@jkrech @brondani This PR is now updated with the additional test. Please review it and see if there is anything left before this PR can be merged.

@jkrech Can you fix the coverage job that failed for some reason?

I triggered the coverage action again and it completed successfully now.

@jkrech Looks like the coverage failed again. Can someone at Arm look into why this job appears to fail repeatedly?
For reference: https://github.com/Open-CMSIS-Pack/devtools/actions/runs/6942633876/job/18885984864?pr=1143

@jkrech Looks like the coverage failed again. Can someone at Arm look into why this job appears to fail repeatedly? For reference: https://github.com/Open-CMSIS-Pack/devtools/actions/runs/6942633876/job/18885984864?pr=1143

@Torbjorn-Svensson, it appears there's a Codecov server outage. Despite 3 attempts to upload coverage data, the job has failed. We'll need to wait for all the jobs to complete before I can retrigger the coverage job.

@jkrech Looks like the coverage failed again. Can someone at Arm look into why this job appears to fail repeatedly? For reference: https://github.com/Open-CMSIS-Pack/devtools/actions/runs/6942633876/job/18885984864?pr=1143

@Torbjorn-Svensson, it appears there's a Codecov server outage. Despite 3 attempts to upload coverage data, the job has failed. We'll need to wait for all the jobs to complete before I can retrigger the coverage job. Issue: codecov/codecov-action#598

As the same problem have happened a few times in a row now, would it be possible to give me the power to be able to retrigger the failed jobs?

@Torbjorn-Svensson can you try to see whether you can see the re-run action now?

@Torbjorn-Svensson can you try to see whether you can see the re-run action now?

I think I have what's needed now. I'll verify next time I see a broken build if I can retrigger.


Convert the Table components to FC/Hooks

Overview
Table and all sub components converted to use hooks and memo.
Screenshots

Testing

[x] Updated Typescript types and/or component PropTypes

Gonna split this up into separate PRs for the different sub components of Table


New litd installation streaming endless errors (L402 token invoice & did not get response before timeout)

Hi, after 9+ years of running a bitcoind node I finally decided to give LND a shot! However, without much luck :( I need help.
Debian 12
Bitcoin Core 27.1
Lightning Terminal v0.13.5-alpha
The installation is bone stock. Debian 12, Bitcoind & RPC all works perfectly fine. Litd not so much... see logs. I'm not even sure if the system was compromised and/or hacked up during the installation of those google/go packages. it's multi-tasking invoices payments and other stuff. Not sure what to make of this.
Anyone seen this before and perhaps be able to decipher this log trace?
Litd_log.txt
bitcoin.conf
prune=550
rpcuser=rpcuser
rpcpassword=123456789
zmqpubrawblock=tcp://<IP_ADDRESS>:28332
zmqpubrawtx=tcp://<IP_ADDRESS>:28333
lit.conf
uipassword=123456789
lnd-mode=integrated
lnd.alias=mecanix_dev
lnd.color=#00ff00
lnd.wallet-unlock-password-file=/home/cnc/.lit/wp
lnd.wallet-unlock-allow-create=true
lnd.bitcoin.mainnet=1
lnd.bitcoin.node=bitcoind
lnd.bitcoind.rpchost=<IP_ADDRESS>
lnd.bitcoind.rpcuser=rpcuser
lnd.bitcoind.rpcpass=123456789
lnd.bitcoind.zmqpubrawblock=tcp://<IP_ADDRESS>:28332
lnd.bitcoind.zmqpubrawtx=tcp://<IP_ADDRESS>:28333

bitcoin.conf
prune=550
rpcuser=rpcuser
rpcpassword=123456789
zmqpubrawblock=tcp://<IP_ADDRESS>:28332
zmqpubrawtx=tcp://<IP_ADDRESS>:28333
lit.conf
uipassword=123456789
lnd-mode=integrated
lnd.alias=mecanix_dev
lnd.color=#00ff00
lnd.wallet-unlock-password-file=/home/cnc/.lit/wp
lnd.wallet-unlock-allow-create=true
lnd.bitcoin.mainnet=1
lnd.bitcoin.node=bitcoind
lnd.bitcoind.rpchost=<IP_ADDRESS>
lnd.bitcoind.rpcuser=rpcuser
lnd.bitcoind.rpcpass=123456789
lnd.bitcoind.zmqpubrawblock=tcp://<IP_ADDRESS>:28332
lnd.bitcoind.zmqpubrawtx=tcp://<IP_ADDRESS>:28333

@sputn1ck Thanks for letting us know what to expect. Quite frightening given the financial context; not everyday that a fin soft installation auto-process invoices and tries to pay them on its own lol Honestly thought the system had exploits and/or got compromised in the install process, and therefore grabbed the log trace above, pulled the cat6 out and closed the whole system down.
That said, I weren't able to notice anything (else) not working. Apart from the endless stream of [ERR] on those timed out queries ofc. Are those timeouts also to be expected?
Thx

@GTCLive  - it looks like you are not connected to reliable peers potentially?

Guys. I was perhaps mislead to believe that LND was compatible with a pruned bitcoind node. My understanding is; what is not found locally get fetched from my connected bitcoind seeds/peers (at a higher bandwidth cost & lower speed ofc). If that assumption is correct, then LND doesn't seem to work at all - it's looping into a persistent timeout state rather. Bug?
I've put a 2Tb hdd on order and should receive this today. I'll copy over the blockchain and indexes from my full node onto that new hdd and hook it up to this LND test-laptop. If everything works out then my question will be answered, and it'll be fair to assume the pruned lnd feature does not work.
I'll update on progress.

LND was compatible with a pruned bitcoind node

LND does support operating on a pruned bitcoind node, and even without local access to a bitcoin node by connecting to Neutrino nodes.  See educational docs here:
https://docs.lightning.engineering/community-resources/glossary#neutrino
https://docs.lightning.engineering/lightning-network-tools/lnd/run-lnd?q=pruned
Pruning nodes can result in brittle operational performance due to the need to obtain transaction / block data.  An node operator should weigh the balance of costs between the capex of disk space and the opex of debugging / maintenance.

Feedback on the logging messaging is appreciated.  An improvement to avoid this behavior, in the future, is in progress: https://github.com/lightninglabs/loop/pull/841

@dstadulis That would be correct. Seems to be functioning up to spec and quite well with a full local blocks/indexes stored locally. Epic failure when/if pruned. Lesson learnt. Thanks.
Awesome amendment on #841 👍💯
Closing this.


issues

some issues

(1)

(2) wrong order history

(3) WC wrong theme

(4) Position not shown after data load
Connect to a network with owned position, Positions: empty. (EXPECT: the postion will be shown after loading)
Switch the tab to History and back to Positions: the owned position is shown now.

(5) Close Position dialog: input width (not sure how new build have it)

(6) Compound PnL must be calculated incremental based on linear PnL

The Compound value above must be: (-0.0893) -  (-0.0997) = +0.0104 (green text for positive PnL)

(7) Text

(8) Spinning symbol on mobile layout

(9) Add loading / spinning indicator for Positions why being loaded

(10) Positions error when both Balance and Show all position options are enabled

(11) allow user to open slippage settings directly from "High Market Spread and Slippage" message. Both in open and close dialog.

(12) positions are disapeared and will never load after changing index

(13) input value to curves chart is in correct

(14) remove Max Slippage line, move it to a tooltip of Slippage value

Value => Reserve
Pool Reserve => actual R value
---- above the Pool Reserve => actual R' value
if quote token = stablecoin: insert prefix $ into all price value
if quote token != stablecoin: ARB => ARB/QUOTETOKEN

(16) fee display as zero, eventhough the tx shown in MM still have $0.014 tx fee


Fix bug that settings are not properly saved when app is exiting

Discussion at https://github.com/whyboris/Video-Hub-App/issues/675.

This seems like a pretty important fix we should probably merge - logic from the bug is sound too. 🐛

I intend to clean up the PR queue before releasing the next (bugfix) release 😅
Hoping to find time for it in the coming months 🤞

ps - brief summary: I moved to a new state (in the US) and bought a house; it's been great fun doing house work (doing some electrical stuff, wood/drywall, etc; currently building a kitchen bought from IKEA but have to first upgrade the circuit breaker panel to a larger on and then run new electrical through the crawlspace).
tl;dr - have been super-eager to get back to VHA but have been busy 😅

😓 sorry I've still not gotten back to serious VHA development this year -- this winter I'll get to it 🤞
Thank you again for your contribution 🙇

🤞 seems like it should work 😅
I'm eager to release -- so I'm 🚀 merging in 🤞


Empty property list for qudt:SystemOfQuantityKinds

Checked for 1.4.1 and nightly.
Following up on #656 I tried some more with the Stardog import and with Brick+imports.ttl I got one "real" error:

The causing construct seems to be
qudt:SystemOfQuantityKinds a rdfs:Class,
        sh:NodeShape ;
    rdfs:label "System of Quantity Kinds"^^xsd:string ;
    rdfs:comment "A system of quantity kinds is a set of one or more quantity kinds together with a set of zero or more algebraic equations that define relationships between quantity kinds in the set. In the physical sciences, the equations relating quantity kinds are typically physical laws and definitional relations, and constants of proportionality. Examples include Newton’s First Law of Motion, Coulomb’s Law, and the definition of velocity as the instantaneous change in position.  In almost all cases, the system identifies a subset of base quantity kinds. The base set is chosen so that all other quantity kinds of interest can be derived from the base quantity kinds and the algebraic equations. If the unit system is explicitly associated with a quantity kind system, then the unit system must define at least one unit for each quantity kind.  From a scientific point of view, the division of quantities into base quantities and derived quantities is a matter of convention."^^rdf:HTML ;
    rdfs:isDefinedBy <http://qudt.org/2.1/schema/shacl/qudt> ;
    rdfs:subClassOf qudt:Concept,
        qudt:Verifiable ;
    sh:property [ ],
        qudt:SystemOfQuantityKinds-baseDimensionEnumeration,
        qudt:SystemOfQuantityKinds-hasBaseQuantityKind,
        qudt:SystemOfQuantityKinds-hasQuantityKind,
        qudt:SystemOfQuantityKinds-hasUnitSystem,
        qudt:SystemOfQuantityKinds-systemDerivedQuantityKind .

The empty list at sh:property [ ], seems to be the cause. Removing it allows for an error-free import. Is that something that can be fixed at Brick?

I can look into this next week; the +imports file is produced automatically so tracking down this serialization error might be an issue. You can always handle the imports yourself (they are packaged in imports.zip in the release)

Hi. I manage the QUDT ontology, and I don't see that empty list in our repository, although you are correct that it seems to be there in Version 2.1.37 that was imported into Brick, so this is on us (QUDT). I will create a PR with Version 2.1.42 of QUDT imported. I would have to dig deeper to figure out why that empty list somehow made it into 2.1.37...


Update CODEOWNERS to remove jonathangiles as catch-all codeowner

Removing myself as a code owner so that I can be more effective in responding to actual communication intended for me (And to prevent it getting lost in a barrage of unrelated repo chatter).

/check-enforcer override


meta-tegra-support: add vpi1-tests recipe

for automating test runs of the VPI samples.
Signed-off-by: Ilies CHERGUI<EMAIL_ADDRESS>

Tests were done on Jetson TX2, I will continue testing the VPI samples on other Jetson's platform.

Here is the result when doing tests on Jetson TX2

root@jetson-tx2-devkit:~# run-vpi1-tests
...
Tests run:     23
Tests passed:  21
Tests skipped: 1
Tests failed:  1
root@jetson-tx2-devkit:~#

More tests were done using Jetson TX2 and Jetson Nano (eMMC version)

Jetson TX2

root@jetson-tx2-devkit:~# run-vpi1-tests
=== BEGIN: convolve_2d ===
...
Tests run:     30
Tests passed:  21
Tests skipped: 7
Tests failed:  2
root@jetson-tx2-devkit:~#

Jetson Nano (eMMC version)

root@jetson-nano-devkit-emmc:~# run-vpi1-tests
=== BEGIN: convolve_2d ===
...
Tests run:     30
Tests passed:  21
Tests skipped: 7
Tests failed:  2
root@jetson-nano-devkit-emmc:~#


Added ping reducer

Added ping reducer / fake ping that allows to target a specific ping.

and no i didn't fix fakelag voicechat

check if ur using the voicechat and reduce the fakelag amount to 7 ticks ezpz

funny man


Add the IntoFieldError trait

I want to use my own type ApiResult<T> = std::result::Result<T, ApiError> instead of async-graphql::FieldResult. This allows me to avoid calls like .map_err(ApiError::from) inside resolvers. The ? will do it automatically. Something like here via Juniper.
Could you add this feature? I think this approach helps to make the application API cleaner.

In fact, you don't need to map the error type yourself, you should use the ? operator, as shown below.
fn create_recommandation(ctx: &Ctx, new: NewRecommandation) -> FieldResult<Recommandation> {
      let db = ctx.0.get()?;
      let new_todo = Recommandation {
            id: db.new_id(),
            name: new.name,
            link: new.link,
            created_by: "paul".to_string(), // TODO: use user id passed by authentificationx
            media: new.media.to_u8().unwrap(),
        };
        db.create_recommandation(&new_todo)?;
        Ok(new_todo)
}

It's okay for a simple case. What if I have the two modules store and database with appropriate results:
pub enum ApiError {
    StoreError(StoreError),
    DatabaseError(DatabaseError),
}

impl From<StoreError> for ApiError ...
impl From<DatabaseError> for ApiError ...

pub enum StoreError {
    EngineError(rusqlite::Error),
    PoolError(r2d2::Error),
}

pub enum DatabaseError {
    EngineError(mysql::error::Error),
}

pub type StoreResult<T> = std::result::Result<T, StoreError>;
pub type DatabaseResult<T> = std::result::Result<T, DatabaseError>;

I need to convert a special module error to generic ApiError via .map_err(ApiError::from) for every call to a module method.
fn create_topic(ctx: &Ctx, topic: Topic) -> FieldResult<Topic> {
     let store = ctx.data::<Arc<Store>>();
     let database = ctx.data::<Arc<Database>>();

     // here `has_topic` returns `DatabaseResult<bool>`
     let exists: bool = database.has_topic(&topic).map_err(ApiError::from)?;

     // ... some logic

     // here `create_topic` returns `StoreResult<Topic>`
     Ok(store
         .create_topic(&topic)
         .map_err(ApiError::from)?);
}

I made some attempts, because of other reasons, it is more difficult to add this function.

Okay. Thanks anyway for your attempts.


Make supporting multiple elasticsearch versions easier than it is now

Right now we have multiple branches that are non-source compatible. We want to put everything into a single branch.

Congrats for releasing 3.0.0!


Create repo structure

The following structure is based on known proposed contributions.
Common Actions:

All contributions must include Apache v2 License headers. This must be enforced by global checks.
All contributions must be linted. This must be enforced by global checks.
All contributions must have unit & bdd / integration tests. This must be enforced by global checks.
Checks should only be run on changed (or new) modules for a particular commit.

Open Questions

Name of parent folder. Based on a prior aries presentation, I am thinking "component".
Do we have any common code in this repo contained within the top-level module?
How do we handle codecov?

Structure:

README
LICENSE
.github (workflow definitions)
go.mod (empty for now)
Makefile (global checks enforcement)
component (or ... module | mod | addon | ext) ("plugin" would be confused for go plugins)

storage

couchdb

go.mod
go sources (or under pkg directory if needed) - example: store.go, store_test.go
Makefile
README
test

mysql | sql (does it make sense to combine several variations of sql)

go.mod and other files (see above)

postgres (see above)

go.mod and other files (see above)

mongodb

go.mod and other files (see above)

vdr

indy

go.mod and other files (see above)

trustbloc

go.mod and other files (see above)

crypto (future)
kms (future)
credential | cred (future)
protocol (future)

scripts (common scripts - e.g., checks enforcement).
test (common test support - if applicable).
pkg (TBD: do we have any extension common code - most common code be in the framework repo).
cmd (TBD: do we have any binaries generated here - initial thought is no).

The two extensions that we plan to submit do not share any common code.
Everything else (structure, component, etc) looks good to me.


DNM, test test

Describe the behavior changes introduced in this PR
Linked Issues?
resolves # <-- Use this if merging should auto-close an issue
related to # <-- Use this if it shouldn't
Testing Instructions
Please include any additional commands or pointers in addition to our standard PR testing process.
@redhat-cop/mdt

Test worked!

Hang on, perhaps what we saw was the prow tests taking a while to run. Let me check again.

/retest

/approve cancel


fix Fix migrate tablets between backends back and forth

BUG: cloud rebalancer migrates tablets back and forth: move from A to B, then B to A, then A to B, ...
The reason is that the tabletToInfightTask map tracking in-flight tasks ignored the multi-cluster scenario, and in the statRouteInfo function, the cluster information was lost, which led to inaccurate tablets statistics.
Proposed changes
Issue Number: close #xxx

run buildall

run buildall

run buildall

run buildall

run buildall


PR: Add new options for font size and bottom edge for inline plot

Description of Changes

[x] Wrote at least one-line docstrings (for any new functions)
[x] Added unit test(s) covering the changes (if testable)

[x] Included a screenshot or animation (if affecting the UI, see Licecap)

Add two new options, for the font size and the position of the bottom edge, for inline plots in the IPython console. The reason for this was discussed in issue #19672. Send these options to the Spyder kernels, where they will be used in a partner PR (I hope I'm doing that right, I have never done this before).
When writing the code, I noticed that the (?) icons for the tooltips of some spinboxes (resolution, width, height) was missing, so I added these as well.
The Preferences page now looks like this:

For comparison, this is what it looks before the PR:

Issue(s) Resolved

Fixes #19672
Depends on spyder-ide/spyder-kernels#477
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: Jitse Niesen

Small small code style suggestions for you, the rest looks good to me.
Also, please resync our subrepo now that I merged your PR there.

Done, this should be good to go now if the tests pass.


Instrumentation throws on new.target at top level in CommonJS files or in eval()

new.target is legal anywhere in CommonJS files (as they're in a function wrapper).
Instrumentation throws when parsing such code:
SyntaxError: `new.target` can only be used in functions or class properties.

Ditto in code in eval() which is nested in a function e.g.:
function f() {
  return eval('new.target');
}
f();

Can only be fixed once https://github.com/babel/babel/pull/15114 is merged.

Can only be fixed once babel/babel#15114 is merged.

errorRecovery can be enabled, which will allow you to ignore this error.
https://astexplorer.net/#/gist/98fb8d9b7576f17dd25833a501d5ffc2/888a4d9d492797d45cef8a76f319f8d86498d7d3

I wasn't aware of the errorRecovery option. Thanks loads for your help @liuxingbaoyu.

https://github.com/babel/babel/pull/15114 has now been merged, adding a allowNewTargetOutsideFunction option for parser. So can remove the errorRecovery workaround once new release of Babel drops.

allowNewTargetOutsideFunction option is in Babel v7.21.0.


make config should create the ~/.pick directory if it doesn't exist yet

We can't use install -D, as it will not set the correct permissions for created folders.

LGTM


Addition of Hamburger Menu

Hey, I would like to open this issue under JWOC. I'll add an animated hamburger menu with the help of JavaScript on all the pages which will replace the whole navbar in the mobile view.

Since, this issue has already been resolved in some another issue, I am closing this one


executor: limit returns nothing if offset is out of bound

Currently it returns no chunks. If instead an empty chunk is returned, the table header can be shown, which is more user-friendly. (I think this can be a good-first-issue 😄

I think a better solution is to make header part of the query result (instead of part of the data chunk), so that the caller can:

.run(sql: &str) -> (ColumnDesc, Vec<DataChunk>)
where the first parameter is the description of columns
and the data chunk don't have to add a header field.

I agree! Then do we rename this issue or.create a new issue？

I agree! Then do we rename this issue or.create a new issue？

We already have one 🥳😇 https://github.com/risinglightdb/risinglight/issues/435


Login Succeeded but return IdentityToken is ""

I have deployed a registry in <IP_ADDRESS>.
My docker  server is <IP_ADDRESS> and has publish the port of 2375.
Follow is my request:
POST http://<IP_ADDRESS>:2375/auth

{
"username": "admin",
"password": "admin123",
"email"<EMAIL_ADDRESS>"serveraddress": "<IP_ADDRESS>"
}

and the reponse:
{
	"IdentityToken": "",
	"Status": "Login Succeeded"
}

Can you tell me why IdentityToken is ""?

The response is from Docker, I think you need to check the code of docker or ask in docker's repo...

Close due to inactivity.


Add more method codes

Should at least support these verbs:
https://github.com/nodejs/node-v0.x-archive/blob/v0.10.29/deps/http_parser/http_parser.h#L87-119

switched to strings


Don't Remove Coroutine Functionality In 2.0

Hi @atteneder , I noticed on your 2.0 preview package that you remove the coroutine functionality and switch to solely using the async. Our team uses GLTFUtility with DracoUnity on WebGL which needs Coroutine Compatability (WebGL is single-threaded and has issues with async + multithreading). Could you leave the coroutine functionality in place and then add the async option as well?

Hi @DerrickBarra,
Thanks for your patience. Do you have actual troubles with async or is it just that you'd prefer a coroutine based API?
To my knowledge async on WebGL is only a problem if you use it in a threaded way. I'd have to make sure this is not the case for DracoUnity.
I could provide a coroutine wrapper around the async method, but I don't see much of a benefit (other than convenience to users).
Let me know what you think

@atteneder It would be for convenience and not having to break plugin compatability. The GLTFUtility plugin version our team is using is all on coroutines, so having access to a coroutine version of DracoUnity is needed for us to upgrade to the latest.

@DerrickBarra You can use the great UnitTask plugin. "UniTask.ToCoroutine" bridges async/await to coroutine.

@Blocovin good to know about UniTask. I'm trying to keep my build size down for WebGL export as much as possible, but I'm happy to know there's an alternative solution if it comes down to it!

Fair enough.
I'll provide legacy Coroutine wrappers to not break anything in the 2.x release.
Thanks for the feedback!

Since I didn't have time for convenience stuff the last month, I reconsidered to not fix this.
Please wrap it yourself or use glTFast.


Update CameraTraps Batch API to utilize Megadetector V5

Changes

Pulled changes from base (microsoft/CameraTraps. NOTE that pulled before they archived CameraTraps in favor of PyTorch Wildlife. Megadetector and CameraTraps are still being supported via agentmorris. https://github.com/agentmorris/MegaDetector)
Update Dockerfile to base off of Pytorch (MD v5 utilizes YOLOV5 [for object detection and image classification] and Pytorch)
create a pytorch_detector.py based on detection/pytorch_detector.py and https://github.com/agentmorris/MegaDetector/blob/main/detection/pytorch_detector.py

@zwolf  Feel free to do a full review of PR if you want (most of the file changes are pulled from microsoft cameratraps main repo). What I really need a review on is the GH action that replaces the jenkinsfile.
GH Action
https://github.com/zooniverse/CameraTraps/pull/14/files#diff-53c24665441c6f14455ff3980322a41913e7c3bc35572986213fe21b9167734d
JenkinsFile
https://github.com/zooniverse/CameraTraps/pull/14/files#diff-e6ffa5dc854b843b3ee3c3c28f8eae2f436c2df2b1ca299cca1fa5982e390cf8


Run a presubmit for a periodic

https://issues.redhat.com/browse/DPTP-3845
/cc @openshift/test-platform @bparees
/hold
Requiring https://github.com/openshift/ci-tools/pull/3918

/hold cancel

/hold
My acceptance test did not get thro.
Digging ...

/hold cancel

/lgtm


Encoded SupportedAppProtocolReq seems corrupt and cannot be decoded

Describe the bug
Generated Hex stream from cbexigen cannot be decoded neither with openV2G, nor with EXIficient, nor with cbexigen itself. Worked when encoding with openV2G.
To Reproduce
SupportedAppProtocolReq:
urn:din:70121:2012:MsgDef2033urn:iso:15118:2:2013:MsgDef2022urn:iso:std:iso:15118:-20:DC1012](http://www.w3.org/2001/XMLSchema%22%3E%3CAppProtocol%3E%3CProtocolNamespace%3Eurn:din:70121:2012:MsgDef%3C/ProtocolNamespace%3E%3CVersionNumberMajor%3E2%3C/VersionNumberMajor%3E%3CVersionNumberMinor%3E0%3C/VersionNumberMinor%3E%3CSchemaID%3E3%3C/SchemaID%3E%3CPriority%3E3%3C/Priority%3E%3C/AppProtocol%3E%3CAppProtocol%3E%3CProtocolNamespace%3Eurn:iso:15118:2:2013:MsgDef%3C/ProtocolNamespace%3E%3CVersionNumberMajor%3E2%3C/VersionNumberMajor%3E%3CVersionNumberMinor%3E0%3C/VersionNumberMinor%3E%3CSchemaID%3E2%3C/SchemaID%3E%3CPriority%3E2%3C/Priority%3E%3C/AppProtocol%3E%3CAppProtocol%3E%3CProtocolNamespace%3Eurn:iso:std:iso:15118:-20:DC%3C/ProtocolNamespace%3E%3CVersionNumberMajor%3E1%3C/VersionNumberMajor%3E%3CVersionNumberMinor%3E0%3C/VersionNumberMinor%3E%3CSchemaID%3E1%3C/SchemaID%3E%3CPriority%3E2%3C/Priority%3E%3C/AppProtocol%3E%3C/ns4:supportedAppProtocolReq%3E)
Hex stream generated from cbexigen:
8000f3ab9371d34b9b79d39ba321d34b9b79d189a98989c1d1699181d22218010000040001d75726e3a69736f3a31353131383a323a323031333a4d736744656600400001008036eae4dc74c8d2dc746e606264627464606264749ae6ce88cacc008000030
Hex stream generated from openv2g:
8000dbab9371d3234b71d1b981899189d191818991d26b9b3a232b300200000c0801d75726e3a69736f3a31353131383a323a323031333a4d73674465660040000100803ceae4dc74d2e6de74e6e8c874d2e6de74626a626270745a646074888600400001011
Anything else?
No response

I have successfully decoded the hex sream from openv2g with cbv2g.
{"AppProtocol":[     {"ProtocolNamespace":"urn:din:70121:2012:MsgDef","VersionNumberMajor":2,"VersionNumberMinor":0,"SchemaID":3,"Priority":3},     {"ProtocolNamespace":"urn:iso:15118:2:2013:MsgDef","VersionNumberMajor":2,"VersionNumberMinor":0,"SchemaID":2,"Priority":2},     "{"ProtocolNamespace":"urn:iso:std:iso:15118:-20:DC","VersionNumberMajor":1,"VersionNumberMinor":0,"SchemaID":1,"Priority":2}]};
I have also successfully encoded this JSON string again with cbv2g.
Generated: 8000DBAB9371D3234B71D1B981899189D191818991D26B9B3A232B300200000C0801D75726E3A69736F3A31353131383A323A323031333A4D73674465660040000100803CEAE4DC74D2E6DE74E6E8C874D2E6DE74626A626270745A646074888600400001011"
The result is identical to that of openv2g.
You should check your input in the cbv2g encoder again.
Feel free to share your code here 😊

C:\Users\karl-heinz.sadler\Downloads
supportedAppProtocol_code.cpp.txt
Thanks for the fast response! Attached my code.

Thanks for the code. First an observation:

Hex stream generated from cbexigen: 8000f3ab9371d34b9b79d39ba321d34b9b79d189a98989c1d1699181d22218010000040001d75726e3a69736f3a31353131383a323a323031333a4d736744656600400001008036eae4dc74c8d2dc746e606264627464606264749ae6ce88cacc008000030
Hex stream generated from openv2g: 8000dbab9371d3234b71d1b981899189d191818991d26b9b3a232b300200000c0801d75726e3a69736f3a31353131383a323a323031333a4d73674465660040000100803ceae4dc74d2e6de74e6e8c874d2e6de74626a626270745a646074888600400001011

You are apparently encoding two different messages, with a different order of protocols, therefore two different results. (cbV2G: -20, -2, DIN; OpenV2G: DIN, -2, -20).
The hex stream you posted from cbV2G/cbExiGen is largely correct, but you are missing the final byte. Here is the correct stream, which should decode correctly:
8000f3ab9371d34b9b79d39ba321d34b9b79d189a98989c1d1699181d22218010000040001d75726e3a69736f3a31353131383a323a323031333a4d736744656600400001008036eae4dc74c8d2dc746e606264627464606264749ae6ce88cacc00800003021
You need to take care that cbV2G counts bytes differently than OpenV2G. Instead of calculating the length of the payload with exi_bitstream->byte_pos - V2GTP_HEADER_LENGTH, you should use the function exi_bitstream_get_length(). (Background: There may be extra bits which are not taken into account in byte_pos.)
Further observations regarding your code:
    exi_bitstream_init(exi_bitstream, data, nbytes, 0, nullptr);
    exi_bitstream->byte_pos = V2GTP_HEADER_LENGTH;

You could initialize this directly:
    exi_bitstream_init(exi_bitstream, data, nbytes, V2GTP_HEADER_LENGTH, nullptr);

Furthermore:
    memcpy(exidoc->supportedAppProtocolReq.AppProtocol.array[idx].ProtocolNamespace.characters, iso_20_scheme.c_str() , iso_20_scheme.size());

While it works in this particular case, you need to be careful that the size given in the third argument does not exceed the size of the target memory area. (Use something like std::min().)
Let us know if this works for you.

By the way, you could have observed in the decoder that it returns an error EXI_ERROR__BITSTREAM_OVERFLOW, which means that the decoder is trying to read more data than it was given. This could have hinted at a "good", but short stream.

Thank you again for your quick feedback! I adapted now the length and now encoding is working fine!
I get following Hex stream:
8000f3ab9371d34b9b79d39ba321d34b9b79d189a98989c1d1699181d22218010000040001d75726e3a69736f3a31353131383a323a323031333a4d736744656600400001008036eae4dc74c8d2dc746e606264627464606264749ae6ce88cacc00800003021
But when decoding that message I still get an error, I receive Response code "EXI_ERROR__STRINGVALUES_NOT_SUPPORTED".
My encodig code is the sae as above https://github.com/EVerest/cbexigen/files/14719657/supportedAppProtocol_code.cpp.txt

Decodes perfectly here. Please fix your code:

You should not V2GTP20_ReadHeader() or subtract V2GTP_HEADER_LENGTH, you never added such a header.
You are passing a std::string, probably the hexadecimal string representation quoted above ("8000f3ab..."). You need to convert that back to binary.

If we change that, even your code snippet works.

Many thanks for your support! It turned out that a parameter was not correctly initialized. Now also decoding works fine. Please close this issue.


Configurable ETAG field on Document model

I just saw that documents takes etags into account when serving.  However, it assumes etags are stored in a field called "file_hash"
My documents model uses an etag field named "etag" along with many other models so it would be inconvenient to change.  It would be handy if the document model had an attr like wagtail_serve_etag_field that was set to 'file_hash' by default instead of hardcoding 'file_hash'.

Hello, I'm a Django/Wagtail beginner looking to implement ETag support. I was wondering if there's a library for it (can't seem to find one, though). Also, with regards to the file_hash field mentioned in the above comment, is the calculation and storage (save) of the hash up to us? If so, it seems we might need to tap into Wagtail hooks and perform the calculations every time the page is published?

Hi @ankush981 - are you talking about ETags on documents, or pages? For documents, file_hash is populated automatically by Wagtail and used as standard as the ETag header - this issue is about making that customisable.
ETags on pages are an altogther different subject, and one that's out of scope for this issue. A large part of the problem is that you can't guarantee that the HTML will only ever change on publishing that page - a page might be a listing pulling content from child pages, for example. The frontend cache module deals with a lot of similar issues, so it probably makes sense to see what's been done there.


Print generated command for debugging

I'm trying to wrap the twilio cli to experiment with Crescendo, but I'm not getting the expected output, nor an error to help me figure out what's wrong.
Is there a way to print out the fully built command?
For example, I built Get-PhoneNumber cmdlet using Crescendo, but the output is
Unleash the power of Twilio from your command prompt. Visit https://twil.io/cli for documentation.

VERSION
  twilio-cli/3.1.0 darwin-x64 node-v16.14.0

USAGE
  $ twilio [COMMAND]
...

Which is the default output if you run twilio without arguments.
It would be helpful to see the output'd command for Get-PhoneNumber which should be twilio phone-numbers -o=json but I don't know what it is.

Aha, it looks like using the -Verbose flag will print the output, this is exactly what I needed!


Playstore downloaded location?

Where is the play store data kept on Windows 11? Files downloaded via Playstore? Regards,

I think it's all in "userdata.vhdx".

no, i downloaded a file app like a spotify. Downloaded with app  offline music. Where are they kept? If I want to check with file explorer. Keeping it encrypted doesn't matter at all. I just couldn't find where it is.
Regards

Open WSA and click files.


Added PolyMath to the title of README

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
To ensure accuracy in future PRs, please see these guidelines.
A quick fix for this PR: rebase it; your next report should be accurate.

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 73.906%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
473

Relevant Lines:
640

💛  - Coveralls


Update EKS-D README

What do we need to update?

Actually I think this was left over as a subtask from the last release and I just converted it to an issue. I'll close it out.


publish event wraps event as payload in a envelope

In what area(s)?

/area runtime

/area operator
/area placement
/area docs
/area test-and-release

What version of Dapr?

0.3.x

Expected Behavior

When using client.publishEvent(topic.getTopicName(), event).doOnError(onError) where event is a Object and conforms to CloudEvent, no extra envelope should be wrapped arround.
Maybe it would be sufficient to have two flavours for publishing. One by only publish the payload, second by publish full fletched event, where no wrapping is necessary.
Actual Behavior

As can be seen in screenshot, event beeing published by the service is stored in data field. It is not possible, to customize type

Steps to Reproduce the Problem

publish event with DaprClient.

Moved it to java-sdk

Would it be enough for you to be able to change the CloudEvent.Type field or do you also need to set other cloud event attributes, maybe extension attributes?
See CloudEvents - Context Attributes for reference.

CloudEvent.Type would be the most important one, beside of that, we've also designed events using the CloudEvent.Time attribute as well. Currently we don't see any need for also using additional extension attributes`.

I believe This would need a change in dapr runtime dapr runtime wraps all events for pubsub in cloudevent.

@yaron2 as discussed during the community call please move to https://github.com/dapr/dapr and let's rename it to the general request of "Enable the manipulation of PubSub CloudEvent context attributes"
Request from community call:

Are there plans to allow for adding custom meta data to topics such as CorrelationID?
the ability to add a correlation id to a published message


Comparator not updating container when Chute attached

If you have a chest with a comparator measuring the output the comparator stays on and doesn't de-power until you update it, ie click subtract mode. This also is directional; if the comparator is facing east, it works as intended.
This doesn't happen with smart chutes, it works correctly.

Tested Modern Industrialization, and this is not unique to Create. I think it's a vanilla bug that hoppers hide. When extracted from, only one half of the chest is marked as changed, so only half of it gets comparator updates. The updated half is not guaranteed to be the same half that stuff is extracted from.

FAPI fixed this


add apache proxy timeout variable to be able to manage it

@davidjudl .. https://github.com/SugarFactory/puppet-sugarcrmstack_ng/pull/91/commits/d87d0757f6a7e3430149c2606a693779fb5e1cf7.. now we're testing against devel branch .. (in rpec tests suites)


Replace module name check linear scan with map lookup

The check in module initialization to ensure a uniqueness of a module name in a a namespace does a linear scan of a string slice. Because the namespace needs to be fully locked during this check it means module initializations slows down as you have more active modules. This change replaces the linear scan with a map lookup. I've added a benchmark to track the performance of having multiple simiultainus module instances.
Before:
❯ go test -benchmem -memprofile memprofile.out -cpuprofile profile.out -blockprofile blockprofile.out -run=^$ -bench ^BenchmarkInitialization github.com/tetratelabs/wazero/internal/integration_test/bench
goos: darwin
goarch: amd64
pkg: github.com/tetratelabs/wazero/internal/integration_test/bench
cpu: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
BenchmarkInitialization/interpreter-12             29836             40640 ns/op          142743 B/op        144 allocs/op
BenchmarkInitialization/interpreter-multiple-12    25544             83117 ns/op          143663 B/op        150 allocs/op
BenchmarkInitialization/compiler-12                31640             38680 ns/op          145935 B/op        128 allocs/op
BenchmarkInitialization/compiler-multiple-12       28410             72372 ns/op          146676 B/op        134 allocs/op
PASS
ok      github.com/tetratelabs/wazero/internal/integration_test/bench   8.945s

After:
❯ go test -benchmem -memprofile memprofile.out -cpuprofile profile.out -blockprofile blockprofile.out -run=^$ -bench ^BenchmarkInitialization github.com/tetratelabs/wazero/internal/integration_test/bench
goos: darwin
goarch: amd64
pkg: github.com/tetratelabs/wazero/internal/integration_test/bench
cpu: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
BenchmarkInitialization/interpreter-12             29815             40490 ns/op          142742 B/op        144 allocs/op
BenchmarkInitialization/interpreter-multiple-12    49501             27282 ns/op          143808 B/op        150 allocs/op
BenchmarkInitialization/compiler-12                25664             39947 ns/op          145934 B/op        128 allocs/op
BenchmarkInitialization/compiler-multiple-12       48870             39809 ns/op          146652 B/op        134 allocs/op
PASS
ok      github.com/tetratelabs/wazero/internal/integration_test/bench   7.726s

I've batched in a few other micro optimizations but I don't expect any of them to make much of a meaningful difference.

thanks again!


Add Vue support to ESLint Fixer beautifier

What does this implement/fix? Explain your changes.
just add an Eslint Fixer beautifier option to support Vue language.
...
Does this close any currently open issues?
#2026
...
Any other comments?
Eslint can not only support *.js files but also *.vue files using plugins such as eslint-plugin-vue.
The users can use Eslint Fixer beautifier for vue by setting eslint can handle vue files.
...
Checklist
Check all those that are applicable and complete.

[x] Merged with latest master branch
[x] Regenerate documentation with npm run docs
[x] Add change details to CHANGELOG.md under "Next" section
[ ] Added examples for testing to examples/ directory
[ ] Travis CI passes (Mac support)
[ ] AppVeyor passes (Windows support)

Please add examples for testing to examples/ directory.

I guess the beautify-languages-spec tests to 'examples/' directory only use default atom-beautify.#{language}.default_beautifier.
Currently, atom-beautify has two beautifier for Vue: "Vue Beautifier" and "ESLint Fixer".
Default atom-beautify.vue.default_beautifier is "Vue Beautifier".
I tried to set default_beautifier to "ESLint Fixer" by .jsbeautifyrc, but it's not respected ( #1570 )
Do you have any other way to run the test using non default "ESLint Fixer" beautifier ?
or I should wait for Unibeautify ( #1174 ) ?

Published to v0.32.0


How do I use a custom server?

I have a docker instance running successfully.
CONTAINER ID   IMAGE                      COMMAND                  CREATED         STATUS         PORTS     NAMES
ba6c70cc0f12   ghcr.io/ellie/atuin:main   "/usr/local/bin/atui…"   7 seconds ago   Up 6 seconds             vigorous_leavitt

How do I configure atuin to use this for registrations and logins? Do I have to edit the sync address in some way?

@ellie @conradludgate what do I set the sync address as? I have tried the host:port as I have set it in my server.toml, but I get something like this:
Error: error sending request for url (http://<IP_ADDRESS>:8888/sync/count): connection error: Connection reset by peer (os error 104)

Caused by:
   0: connection error: Connection reset by peer (os error 104)
   1: Connection reset by peer (os error 104)

Location:
    /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/result.rs:1914:27

How do I use my custom server?

This is how I start my server
docker run -v "$HOME/.config/atuin:/config" ghcr.io/ellie/atuin:main server start

I'm sure that my database is connected properly as I see a few empty tables created called users, history, session, etc.

When running in docker, make sure that the host address is set to <IP_ADDRESS>. Then when you run the image, you'll need to expose the correct port, eg
docker run -v "$HOME/.config/atuin:/config" -p 8888:8888 ghcr.io/ellie/atuin:main server start

Wow! Thanks for your response! It works now 🎉🎉🎉
Can I send in a PR explicitly mentioning the port exposing and setting the client side config for the sync address in the docs?

@Syzygianinfern0 Glad you got it sorted! And yes, a PR would be greatly appreciated 😊


Failed at the<EMAIL_ADDRESS>postinstall script 'node install.js'.

Electron version: "electron-prebuilt": "1.4.10"
Operating system: Ubuntu 16.04.1 LTS
Node version: v7.2.0

I get this error when I try to install electron-prebuilt:
Error: read ECONNRESET
    at exports._errnoException (util.js:1022:11)
    at TLSWrap.onread (net.js:572:26)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/7zip-bin/node_modules/7zip-bin-win):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"win32","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/7zip-bin/node_modules/7zip-bin-mac):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! Linux 4.4.0-47-generic
npm ERR! argv "/home/alex/.nvm/versions/node/v7.2.0/bin/node" "/home/alex/.nvm/versions/node/v7.2.0/bin/npm" "install"<EMAIL_ADDRESS>npm ERR! node v7.2.0
npm ERR! npm  v3.10.9
npm ERR! code ELIFECYCLE

getting same error with Windows 10

Same on Linux Mint 18 with node 7.2.0

Same on Linux Mint 18 with node 7.2.0 and node 6.9.1

same on Windows 10 with node 6.9..2 and npm  3.10.9

ECONNRESET is a network error. Installing again should take care of it:
npm install electron

Same on Mac yosemite with node 6.92 and npm 4.x

ECONNRESET is a network error. Installing again should take care of it:

@zeke how to understand "network error " ?  so much people found this issue . people's network error ?or electron backend service network error ? what I care is how to Fix it .

Electron is Amazing!
but I can not write a simple HelloWorld. cause I cannot install it . Ahh...

@ikitty sorry you're having trouble. Please provide your operating system, node version, and the output you're seeing when you try to install electron.

os: Mac yosemite
node:6.9.2
npm: 4.0.5
here are all info:
electron-quick-start [master●] % sudo npm i electron-prebuilt -g
/usr/local/bin/electron -> /usr/local/lib/node_modules/electron-prebuilt/cli.js

><EMAIL_ADDRESS>postinstall /usr/local/lib/node_modules/electron-prebuilt
> node install.js

/usr/local/lib/node_modules/electron-prebuilt/install.js:22
  throw err
  ^

Error: EACCES: permission denied, link '/usr/local/lib/node_modules/electron-prebuilt/electron-tmp-download-22952-1481855062873/electron-v1.4.12-darwin-x64.zip' -> '/Users/Kty/.electron/electron-v1.4.12-darwin-x64.zip'
    at Error (native)
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "i" "electron-prebuilt" "-g"
npm ERR! node v6.9.2
npm ERR! npm  v4.0.5
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the electron-prebuilt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs electron-prebuilt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls electron-prebuilt
npm ERR! There is likely additional logging output above.

"/usr/local/lib/node_modules/electron-prebuilt/electron-tmp-download-22952-1481855062873/electron-v1.4.12-darwin-x64.zip" , I checked this folder, the electron-prebuild folder is not exist in node_modules.

Give this a try:
sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}

via https://docs.npmjs.com/getting-started/fixing-npm-permissions

@zeke
Just now I use another package manager to install it successfully. the tool is cnpm
I will try your sulotion later . thank u all the same.

This looks like a duplicate of #212 (ECONNRESET) errors, closing this out.
If you are still experiencing this, please confirm whether you are able to download directly from https://github.com/electron/electron/releases as that is the location where the npm package downloads from.


Fix torch exporter compile

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

Comparison is base (c3f0592) 65.18% compared to head (2248bd7) 65.50%.

Files
Patch %
Lines

experimental_experiment/torch_exp/graph_builder.py
64.17%
24 Missing :warning:

experimental_experiment/torch_exp/interpreter.py
57.14%
6 Missing :warning:

...perimental_experiment/torch_exp/_aten_functions.py
0.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #19      +/-   ##
==========================================
+ Coverage   65.18%   65.50%   +0.31%
==========================================
  Files          15       16       +1
  Lines        1712     1774      +62
==========================================
+ Hits         1116     1162      +46
- Misses        596      612      +16

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


Hey can u help me with how to upload my dataset for finetuning iam using this notebook: https://colab.research.google.com/drive/1eRTPn37ltBbYsISy9Aw2NuI2Aq5CQrD9?usp=sharing

Hey can u help me with how to upload my dataset for finetuning iam using this notebook: https://colab.research.google.com/drive/1eRTPn37ltBbYsISy9Aw2NuI2Aq5CQrD9?usp=sharing

Read https://github.com/hiyouga/LLaMA-Factory?tab=readme-ov-file#data-preparation and use the upload button in the Colab notebook sidebar to fine-tune on your dataset


Replay crashes on startup if db[-1] fails

Sitting here on 28id and I tried to start replay.  The stacktrace i got appears at the end of this issue.  It would appear that there is a bad tiff file being written to filestore?? cc @danielballan @tacaswell
(ophyd)xf28id1@xf28id1-ws2:/nfs/xf28id1/ipython_ophyd/profile_xf28id1$ replay
/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/matplotlib/backends/backend_qt5agg.py:210: MatplotlibDeprecationWarning: This class has been deprecated in 1.4 as it has no additional functionality over `NavigationToolbar2QT`.  Please change your code to use `NavigationToolbar2QT` instead
  mplDeprecation)
/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/enaml/qt/docking/dock_manager.py:184: DockLayoutWarning: child SplitLayout has same orientation as parent
  DockLayoutValidator(available)(layout)
Traceback (most recent call last):
  File "/nfs/xf28id1/mc/envs/ophyd/bin/replay", line 6, in <module>
    sys.exit(main())
  File "/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/dataportal/replay/replay.py", line 161, in main
    ui.muxer_model.header = db[-1]
  File "/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/dataportal/replay/muxer/model.py", line 209, in _run_header_changed
    self.get_new_data()
  File "/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/dataportal/replay/muxer/model.py", line 226, in get_new_data
    self.event_queue.update()
  File "/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/dataportal/broker/simple_broker.py", line 267, in update
    [fill_event(event) for event in new_events]
  File "/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/dataportal/broker/simple_broker.py", line 327, in fill_event
    event.data[data_key] = retrieve(value)
  File "/home/xf28id1/Repos/filestore/filestore/commands.py", line 21, in inner
    return func(*args, **kwargs)
  File "/home/xf28id1/Repos/filestore/filestore/commands.py", line 120, in retrieve
    return _get_data(edoc)
  File "/home/xf28id1/Repos/filestore/filestore/retrieve.py", line 222, in get_data
    handler = get_spec_handler(datum.resource, handle_registry)
  File "/home/xf28id1/Repos/filestore/filestore/retrieve.py", line 195, in get_spec_handler
    return handle_registry[spec](rpath, **kwargs)
  File "/home/xf28id1/Repos/filestore/filestore/handlers.py", line 60, in __init__
    self._image_sequence = pims.ImageSequence(self._filename)
  File "build/bdist.linux-x86_64/egg/pims/image_sequence.py", line 96, in __init__
  File "/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/skimage/io/_io.py", line 100, in imread
    img = call_plugin('imread', fname, plugin=plugin, **plugin_args)
  File "/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/skimage/io/manage_plugins.py", line 207, in call_plugin
    return func(*args, **kwargs)
  File "/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/skimage/io/_plugins/pil_plugin.py", line 44, in imread
    return tif_imread(fname, **kwargs)
  File "/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/tifffile.py", line 693, in imread
    with TiffFile(files, **kwargs_file) as tif:
  File "/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/tifffile.py", line 775, in __init__
    self._fromfile()
  File "/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/tifffile.py", line 802, in _fromfile
    raise ValueError("not a valid TIFF file")
ValueError: not a valid TIFF file
(ophyd)xf28id1@xf28id1-ws2:/nfs/xf28id1/ipython_ophyd/profile_xf28id1$

Also, see this:
In [1]: from dataportal import StepScan as ss

In [2]: ss[-1]
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-2-8a57fde91ba0> in <module>()
----> 1 ss[-1]

/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/dataportal/scans/stepscan.pyc in __getitem__(self, val)
     12     def __getitem__(self, val):
     13         headers = DataBroker[val]
---> 14         return _step_scan_df(headers)
     15
     16     def find_headers(cls, **kwargs):

/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/dataportal/scans/stepscan.pyc in _step_scan_df(headers)
     96                                  repr(header), repr(headers[0])))
     97     events = DataBroker.fetch_events(headers)
---> 98     dm = DataMuxer.from_events(events)
     99     return dm.to_sparse_dataframe()

/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/dataportal/muxer/data_muxer.pyc in from_events(cls, events)
    334         """
    335         instance = cls()
--> 336         instance.append_events(events)
    337         return instance
    338

/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/dataportal/muxer/data_muxer.pyc in append_events(self, events)
    345             list of Events (any objects with the expected attributes will do)
    346         """
--> 347         for event in events:
    348             self.append_event(event)
    349

/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/dataportal/broker/simple_broker.pyc in fetch_events(cls, headers, fill)
    120                 for event in find_events(descriptor=descriptor):
    121                     if fill:
--> 122                         fill_event(event)
    123                     yield event
    124

/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/dataportal/broker/simple_broker.pyc in fill_event(event)
    325         if is_external[data_key]:
    326             # Retrieve a numpy array from filestore
--> 327             event.data[data_key] = retrieve(value)
    328
    329

/home/xf28id1/Repos/filestore/filestore/commands.pyc in inner(*args, **kwargs)
     19         port = conf.connection_config['port']
     20         db_connect(database=database, host=host, port=port)
---> 21         return func(*args, **kwargs)
     22     return inner
     23

/home/xf28id1/Repos/filestore/filestore/commands.pyc in retrieve(eid)
    118     """
    119     edoc = Datum.objects.get(datum_id=eid)
--> 120     return _get_data(edoc)

/home/xf28id1/Repos/filestore/filestore/retrieve.pyc in get_data(datum, handle_registry)
    220
    221     kwargs = datum.datum_kwargs
--> 222     handler = get_spec_handler(datum.resource, handle_registry)
    223     return handler(**kwargs)

/home/xf28id1/Repos/filestore/filestore/retrieve.pyc in get_spec_handler(resource, handle_registry)
    193     kwargs = resource.resource_kwargs
    194     rpath = resource.resource_path
--> 195     return handle_registry[spec](rpath, **kwargs)
    196
    197

/home/xf28id1/Repos/filestore/filestore/handlers.pyc in __init__(self, fpath, template, filename, frame_per_point)
     58         self._filename = self._template % (self._path,
     59                                            filename)
---> 60         self._image_sequence = pims.ImageSequence(self._filename)
     61
     62     def __call__(self, point_number):

/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/PIMS-0.2.0-py2.7-linux-x86_64.egg/pims/image_sequence.pyc in __init__(self, pathname, process_func, dtype, as_grey, plugin)
     94         self._as_grey(as_grey, process_func)
     95
---> 96         tmp = imread(self._filepaths[0], **self.kwargs)
     97
     98         self._first_frame_shape = tmp.shape

/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/skimage/io/_io.pyc in imread(fname, as_grey, plugin, flatten, **plugin_args)
     98
     99     with file_or_url_context(fname) as fname:
--> 100         img = call_plugin('imread', fname, plugin=plugin, **plugin_args)
    101
    102     if as_grey and getattr(img, 'ndim', 0) >= 3:

/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/skimage/io/manage_plugins.pyc in call_plugin(kind, *args, **kwargs)
    205                                (plugin, kind))
    206
--> 207     return func(*args, **kwargs)
    208
    209

/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/skimage/io/_plugins/pil_plugin.pyc in imread(fname, dtype, img_num, **kwargs)
     42         kwargs.setdefault('key', img_num)
     43         if fname.lower().endswith(('.tiff', '.tif')):
---> 44             return tif_imread(fname, **kwargs)
     45
     46     im = Image.open(fname)

/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/tifffile.pyc in imread(files, **kwargs)
    691
    692     if isinstance(files, basestring):
--> 693         with TiffFile(files, **kwargs_file) as tif:
    694             return tif.asarray(**kwargs)
    695     else:

/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/tifffile.pyc in __init__(self, arg, name, offset, size, multifile, multifile_close)
    773         self._files = {self._fh.name: self}  # cache of TiffFiles
    774         try:
--> 775             self._fromfile()
    776         except Exception:
    777             self._fh.close()

/nfs/xf28id1/mc/envs/ophyd/lib/python2.7/site-packages/tifffile.pyc in _fromfile(self)
    800             self.byteorder = {b'II': '<', b'MM': '>'}[self._fh.read(2)]
    801         except KeyError:
--> 802             raise ValueError("not a valid TIFF file")
    803         version = struct.unpack(self.byteorder+'H', self._fh.read(2))[0]
    804         if version == 43:  # BigTiff

ValueError: not a valid TIFF file

it is a bad tiff being written to disk.  If there are invalid tiffs on disk I believe that is an AD problem (as FS does not get involved in that process, just records where AD was told to write files to).

Dealing with the pre-summing will require a minor tweak to how things get written out, but not too badly.
This is being read via tifffile which is a rather forgiving reader (the primary reason it exists is to support optical microscopy and those vendors abuse tiff rather badly).

tcaswell@xf28id1-ws2:/XF28IDC/XF28ID1/pe1_data/2015/4/9$ ls -la
total 49540
drwxr-xr-x 2 xf28id1 xf28id1    4096 Apr 10 15:07 .
drwxr-xr-x 3 xf28id1 xf28id1      14 Apr  9 11:15 ..
-rwxrwxr-x 1 xf28id1 xf28id1       0 Apr  9 11:19 8551ffd6-1e14-442b-a7bc-a3cf2aed0ee7_000000.tiff
-rwxrwxr-x 1 xf28id1 xf28id1 8388814 Apr 10 14:52 8551ffd6-1e14-442b-a7bc-a3cf2aed0ee7_000001.tiff
-rwxrwxr-x 1 xf28id1 xf28id1 8388814 Apr 10 14:55 8551ffd6-1e14-442b-a7bc-a3cf2aed0ee7_000002.tiff
-rwxrwxr-x 1 xf28id1 xf28id1 8388814 Apr 10 14:55 8551ffd6-1e14-442b-a7bc-a3cf2aed0ee7_000003.tiff
-rwxrwxr-x 1 xf28id1 xf28id1 8388814 Apr 10 14:56 8551ffd6-1e14-442b-a7bc-a3cf2aed0ee7_000004.tiff
-rwxrwxr-x 1 xf28id1 xf28id1 8388814 Apr 10 14:57 8551ffd6-1e14-442b-a7bc-a3cf2aed0ee7_000005.tiff
-rwxrwxr-x 1 xf28id1 xf28id1 8388814 Apr 10 15:07 8551ffd6-1e14-442b-a7bc-a3cf2aed0ee7_000006.tiff
-rwxrwxr-x 1 xf28id1 xf28id1       0 Apr  9 11:18 e5e43ddf-5f38-4da7-82ec-52ebace82e85_000000.tiff

Something funny was going on...
I know that on the 9th there were issues with AD writing out empty files.  My guess is that the non-empty tiffs were from someone poking the 'take a picture' button in the AD css screen as they are in the wrong day's folder and if these had been triggered through a scan then the folder and file pattern should have been reset.

Moved to nsls-ii/replay#24


Add file layout utilities

Port FileLayout utilities from Metals (https://github.com/scalameta/metals/blob/e2320b5b4d7f365c6064ccc3ecb2a105b579a109/tests/unit/src/main/scala/tests/FileLayout.scala#L9)
I had to add a few nio methods to make this work in JS.
Also, I had to change the split regex to make it work in Scala Native (due to https://github.com/scala-native/scala-native/issues/620)

@olafurpg I'll add some docs before merging once we're happy with the code

@olafurpg ok, I've reworked this a bit:

FileLayout is now a class with a write method and a few useful methods in the companion object (fromString and write, which creates a FileLayout and writes it to disk)
the API meant to be used is munit.FileLayout.write or munit.FileLayout.fromString, so no more trait mixed in FunSuite: I agree that if we start polluting the FunSuite is becomes a slippery slope
I would like to add fromPath, but it requires porting some more cross-target file IO for JS and native, so I'd defer it to a future PR

Added some docs too (it probably needs another pass, but it's a start to see whether we like the examples and the structure)


[Request] Implement a configurable cut-off for signal strength (min_rssi)

Is your feature request related to a problem? Please describe.
I track my cat, and I find that she is often reported to be a location when she is actually outside but still near to the BLE receiver, eg sitting on the fence or in a tree near to the house.
Describe the solution you'd like
I would like a configurable minimum signal strength setting, in order to tune detection accuracy.
This would be very similar to the ESPHome min_rssi setting of the ble_presence binary sensor
This value would need to be configurable per device being tracked, as different use-cases would require different values to be considered home vs away.
Describe alternatives you've considered
I cannot think of any alternatives
Additional context
When she is outside, the Nearest RSSI value reported is around -94, as opposed to -81 when she is inside in the same room. My cut-off value would likely be around -88 in this instance.

I've just solved a similar problem by placing some sort of faraday cage behind the scanner. In my case I had 2 scanners on either side of a thin wall, this caused my recievers to hop from one area to the other. Now as a test I placed some aluminum foil behind 1 scanner and everything seems stable. This might also help you block your cat's signal outside.
Alternatively, you could also possibly play around a bit with the max radius.

Thanks for the suggestion, the max radius is a functional equivalent and I have overlooked that.
I will experiment with numbers and see how I go.
I believe you can Close as not planned at this stage (I can only Close with comment)

Downside of course is that max_radius is global, but it might do what you need.
I am hopeful we'll have full trilateration "soon", which will ultimately give you much better options, but that's not a lot of help in the interim :-)
I'll probably close as not planned as you suggest, but you've definitely planted a seed in my mind. I think your use-case is a solid one, but I'm not sure I'd want to solve it by ignoring by signal level (or a single range measurement). I'll let the idea rattle about in my head for a bit before I do. Your issue has won the creation of a new status label: cogitating ! 😅
I LOVE @Rembock's faraday cage solution! 🤣 It's a clever physical work-around!

Your issue has won the creation of a new status label: cogitating !

Yay! (?)
Everything's died on my side, I'm getting no data and seeing no devices - am currently pulling diag data and debug logs but this does not look good:

@jeremysherriff yikes! Someone else seems to have seen the same thing happen on theirs, reported at #235.
Can you see if doing a reload integration restores the sensors?
If you could also do a download diagnostics while it's working, and then if it stops working do another one, and send me both files, so I get a before-and-after picture of things?
If you could join in on #235 with that so I can track it there that would be great.
After a little cogitation((!) I've decided that I will close this issue, as I think that for the moment the max_radius setting is probably the best way to address the use-case until we have trilateration sorted out.


typo

The wording on step three is a little odd.  Bold for emphasis:

Scan your network
The accounts your follow got scanned already. Optionally, you can scan accounts on lists and followers for fediverse handles.

Thanks for noticing and opening the issue. Just pushed the fix and should already be live.


fix(concurrency): change u32 to usize

This change is

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

Project coverage is 75.17%. Comparing base (a622952) to head (4782a17).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1740   +/-   ##
=======================================
  Coverage   75.17%   75.17%
=======================================
  Files          59       59
  Lines        8548     8548
  Branches     8548     8548
=======================================
  Hits         6426     6426
  Misses       1698     1698
  Partials      424      424

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


updated v1.11.0

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@charlesbvll Thanks for this but I was able to fix the one generated by the bot: https://github.com/conda-forge/flwr-feedstock/pull/20


[runtime, bash.vim] add shDblParen to shLoopList

This should allow code such as:
declare -i i j
for i in foo bar
do ((j = 1 << j))
done

to parse correctly

Thanks,
does that need to be in an condition  exists('b:is_bash')? Or in other words, is this plain posix shell syntax or only valid for kornshell/bash?

Thanks, does that need to be in an condition exists('b:is_bash')? Or in other words, is this plain posix shell syntax or only valid for kornshell/bash?

Not sure.
The following script:
for i in 1 2 3
do
   ((j = 1 << i))
   echo $j
done

seems to work fine when bash is given the --posix option, so my guess is it's fine.  I suppose to be sure we'd have to consurt IEEE 1003.1

Well, it seems dash doesn't know (( expression )) but only $(( expression ))

Well, it seems dash doesn't know (( expression )) but only $(( expression ))

Better safe than sorry, then.  I'll add an other commit.

thanks


[Release Radar Request] Python-TUF reaches 1.0

Open Source Project name
Python-TUF
What is your project?
Python-TUF is a framework for secure content delivery and updates. It protects against various types of supply chain attacks and provides resilience to compromise. Python-TUF is the reference implementation of The Update Framework specification.
Version
1.0.0
Date
February 21, 2022
Description of breaking changes
Two new stable APIs are introduced:

ngclient: A client API that offers a robust internal design providing implementation safety and flexibility to application developers.
Metadata API: A low-level interface for both consuming and creating TUF metadata. Metadata API is a flexible and easy-to-use building block for any higher level tool or library.

The release is the result of a comprehensive rewrite of the project, removing several hard to maintain modules and replacing them with safer and easier to use APIs:

The project was reduced from 4700 lines of hard to maintain code to 1400 lines of modern, maintainable code
The implementation details are now easier to reason about, which should accelerate future improvements on the project
Metadata API provides a solid base to build other tools on top of – as proven by the ngclient implementation and the repository code examples
Both new APIs are highly extensible and allow application developers to include custom network stacks, storage systems or public-key cryptography algorithms, while providing easy-to-use default implementations

GitHub Repo
https://github.com/theupdateframework/python-tuf
Website
https://theupdateframework.io/
Link to changelog
https://ssl.engineering.nyu.edu/blog/2022-02-21-tuf-1_0_0
Social media
https://twitter.com/jku/status/1496065647733792768
Anything else to add?
Thanks for considering Python-TUF: if you require images to go with the post, we can try to come up with something... Icons are available in https://github.com/cncf/artwork/tree/master/projects/tuf/ at least.

Congrats on being featured in the February 2022 Release Radar 🥳

Read the blog here
Feel free to retweet Mish's tweet featuring you


Withdraw all bonding

Refs: https://github.com/keep-network/keep-core/issues/1812
Adding functionality to withdraw all available bonds (aka unbondedValue) in the bonding section.

Tested by:

withdrawing funds as an owner of operator. Eth were transferred to the beneficiary address.
withdrawing funds as an operator. Eth were transferred to the beneficiary address.

Tested:

^ paths above,
withdrawing founds as an operator of the stake created by ManagedGrant. Eth were transferred to the beneficiary address.

@r-czajkowski your changes look good to me. I've addressed your comments above and if you accept them, let's merge this guy!


Count doesn't work?

The following code snippet prints 10 to the console:
Observable.range(1,10).count().subscribe( x => console.log(x));

However it seems it doesn't work with FirebaseListObservable:
this.af.database.list('/client/posts').count().subscribe( x => console.log(x));

This line of code doesn't log anything, so the method in the subscribe is never called. The count method supposed to work on FirebaseListObservable as well, right?
Note: The client/posts sub-tree has posts in it.

If I'm not mistaken, this.af.database.list('/client/posts') returns an array. That being said, I don't think using count() is an option here.
If all you need is the amount of posts in a sub-tree, you can do this
this.af.database.list('/client/posts').map(list=>list.length).subscribe(length=>console.log(length))

@lf-alves i guess ur proposition is not very good cuz if we have a great data more than 50000 items for example, need more times to load all

Both of the approaches mentioned here can also be applied to fetching a count: http://stackoverflow.com/questions/41947218/firebase-check-if-a-value-exists-without-reading-a-snapshot-or-trying-a-write-f/41947777#41947777
But the simplest and most efficient answer is still to store and increment the count when adding new records.

@katowulf For incrementing a count, it would be useful if angularfire2 would support transactions. Otherwise we still need to access the underlaying firebase sdk.

And how exactly would that work? Would you first synchronize an object or list, and then call .transaction on it? I don't think you've really thought this through.
The differences here are purely semantics:
// works now
firebase.database().ref(...).transaction(...);
angularFire.$ref.child(...).transaction(...)

// what you're asking for
angularFire.object(...).transaction(...)

// or maybe this
angularFire.$transaction( angularFire.$ref(...), ... )

In the future, please start your discussions by opening a fresh issues rather than responding to closed ones.


Package testing data with OpenFermion

Data was moved out of the package with the expectation that users
would using this data if they were working on a development branch.
Thus far we have found it useful to have this data available when
developing chemistry programs and techniques.
Therefore the correct place for this data is in testing.
We also explore other options like including this as package_data.
Generally, package_data wasn't originally designed with this particular
usecase in mind.
Overall, though this adds a bit of data to the sdist it makes testing
and using OpenFermion as a development platform easier.

well that's confusing....I wonder why it can't see that file...


Sharing specific element sets

It would be cool if you could share a link with some url parameters to set what elements are available in the menu. This means you could customise what your menu looks like a bit, and you could show specific elements to friends.

Sound like a cool Idea!


Fix aspect ratio open collective sponsors

Some sponsors on the homepage have stretched logos. This PR fixes this by using max-height instead of height. Images are also aligned in the middle for a more natural look. I've also limited the width of platinum & gold members, this has no effect at the moment but is just a fix just in case someone has a superwide logo in the future.
Before

After

The difference is most noticeable in the intracto and TEKHATTAN logos (Bronze sponsors).

Hi @MartijnCuppens
Can you please include screenshots of the before/after state in the description

Sure, done.

Thanks!


Feature egm

Hello, I have a YuMi robot and I'm trying to make the grippers work so I think that your files would be very helpful. I am new to this platform and I still don't know how to work with it.

Hi,
it is probably best to do any pull requests on the kth fork of this repository, as we are not actively developing here at the moment.


Disconnect connected ETH key

In Console V2 (and consequently from anything that uses the shared ETH connection component) it is not possible to disconnect from an eth wallet Via the app. (a user could of corse revoke permission from metamask etc, but the convention in other dApps is to have a button that allows you to connect to a different wallet.=).
This to implement a way of disconnecting from a given key.
Here are the UX designs for the connect to eth component.

to clarify, This ticket to only implement the ability to disconnect from the current connected eth key (so that a user can use a different one).
The designs in the link above contain some elements that are not required for this.
So for this...
When connected...

the connected key displays as a select box (not a text input)
hitting opens a Eth wallet modal
Shows the key you are connected with + a button to disconnect
hitting disconnect puts the app back into a state where there is no connected eth wallet
so instead of a connected key, you'll see the button to connect a eth wallet

notes:

in the future the button to connect will always appear in context of the form (not as a guard for the whole form)
the Eth key select modal will contain an ability to switch between different ETH keys


Downloading assets

Hello,
the download of the assets has no instructions, how can we do?

Hey, haven't heard from you in a while, The Assets are currently inside the crates so there should be no Problems or Erros

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Import("Unable to open file \"E:\\Github\\Vent-Engine\\crates\\vent-runtime/assets/models/test/Sponza/sponza.obj\".")', E:\Github\Vent-Engine\crates\vent-common\src\render\model\model_loader.rs:25:10
I can't download the assets

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Import("Unable to open file \"E:\\Github\\Vent-Engine\\crates\\vent-runtime/assets/models/test/Sponza/sponza.obj\".")', E:\Github\Vent-Engine\crates\vent-common\src\render\model\model_loader.rs:25:10
I can't download the assets

Upsi Unix File Seperator, Ye ah the Code is in a really hard development the The Error should be gone if your replace / to \\ how its in the other Paths behind, The Model will be currently test loaded in app_renderer

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Import("Unable to open file \"E:\\Github\\Vent-Engine\\crates\\vent-runtime/assets/models/test/Sponza/sponza.obj\".")', E:\Github\Vent-Engine\crates\vent-common\src\render\model\model_loader.rs:25:10
I can't download the assets

Upsi Unix File Seperator, Ye ah the Code is in a really hard development the The Error should be gone if your replace / to \\ how its in the other Paths behind, The Model will be currently test loaded in app_renderer

The folder where the 3D model should be is just empty

Ye, Dont like for some reason that i put in models :c just put in this https://github.com/jimmiebergmann/Sponza

But be warned that Model Loading is not really working because i fucked up with parsing


df.to_parquet throws TypeError: makedirs() got an unexpected keyword argument 'exist_ok'

HI,
I have a dask data-frame which I am trying to convert to parquet.
import os, datetime
def createNewDir(basePath=PARQUET_FILES):
    parquet_dir = os.path.join(basePath, datetime.datetime.now().strftime('%Y-%m-%d_%H-%M-%S'))
    os.makedirs(parquet_dir)
    return parquet_dir

X_df.to_parquet(parquet_dir, compression='SNAPPY')
I am using python 2.7 and this is the stack trace:

TypeError                                 Traceback (most recent call last)
 in ()
4 # fastparquet.write(parquet_dir, X_df, file_scheme='hive',compression="SNAPPY")
5
----> 6 X_df.to_parquet('.', compression='SNAPPY')
/usr/local/lib/python2.7/dist-packages/dask/dataframe/core.pyc in to_parquet(self, path, *args, **kwargs)
944         """ See dd.to_parquet docstring for more information """
945         from .io import to_parquet
--> 946         return to_parquet(path, self, *args, **kwargs)
947
948     def to_csv(self, filename, **kwargs):
/usr/local/lib/python2.7/dist-packages/dask/dataframe/io/parquet.pyc in to_parquet(path, df, compression, write_index, has_nulls, fixed_text, object_encoding, storage_options, append, ignore_divisions)
223     myopen = OpenFileCreator(path, compression=None, text=False,
224                              **(storage_options or {}))
--> 225     myopen.fs.mkdirs(path)
226     sep = myopen.fs.sep
227     metadata_fn = sep.join([path, '_metadata'])
/usr/local/lib/python2.7/dist-packages/dask/bytes/local.pyc in mkdirs(self, path)
42         if path.startswith('file://'):
43             path = path[len('file://'):]
---> 44         return os.makedirs(path, exist_ok=True)
45
46     def open(self, path, mode='rb', **kwargs):
TypeError: makedirs() got an unexpected keyword argument 'exist_ok'

cc @martindurant

I see this is not py2 compatible. Fix coming.

Question: do we not test parquet on py2? It should work from now.

See
https://github.com/dask/dask/blob/master/continuous_integration/travis/install.sh
On Mon, Mar 6, 2017 at 9:39 AM, Martin Durant<EMAIL_ADDRESS>wrote:

Question: do we not test parquet on py2? It should work from now.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/2047#issuecomment-284413862, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AASszMR97xa31B1UbE-Sg1-zlUzI8hUVks5rjBqZgaJpZM4MT4q3
.

So we could add it, but I'm not sure how much effort we want to put into py2 maintenance across the libraries.

It shouldn't be hard to add.  I would move fastparquet from the py35 only
section and into the base conda install section.
On Mon, Mar 6, 2017 at 9:42 AM, Martin Durant<EMAIL_ADDRESS>wrote:

So we could add it, but I'm not sure how much effort we want to put into
py2 maintenance across the libraries.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/2047#issuecomment-284414765, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AASszJ-Z9VytK1KbwOm4n4B08TTIA70Cks5rjBtWgaJpZM4MT4q3
.

OK, trying it in #2050, we see if this throws up any additional issue.

Hi :)
How can I get the fixed version? tried pulling from master but the same error is thrown.

You can pull from the branch or wait until it is merged into master (probably today).

I tried ! pip install --upgrade git+https://github.com/dask/dask.git
Still the same issue.


Refactor DistinctFromTransformFunctionTest.

Refactor DistinctFromTransformFunctionTest.
This PR makes the following changes:

Tests behaviors (i.e. IsDistinctFrom, IsNotDistinctFrom) separately.
Removes the tests where we disable null handling in the table config and enable null in the query.

We will enable null handling in the table config first and then enable null in the query, so the above scenario should not exist.

Codecov Report

Merging #10582 (a2fd55a) into master (7f4c4d2) will decrease coverage by 36.84%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master   #10582       +/-   ##
=============================================
- Coverage     69.01%   32.17%   -36.84%
+ Complexity     6489      453     -6036
=============================================
  Files          2106     2106
  Lines        112972   112970        -2
  Branches      17014    17014
=============================================
- Hits          77968    36353    -41615
- Misses        29519    73328    +43809
+ Partials       5485     3289     -2196

Flag
Coverage Δ

integration1
24.58% <ø> (?)

integration2
?

unittests1
?

unittests2
13.88% <ø> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1400 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Extends 'spo term set add' command with support for adding a site-level term set or a tenant-level term set without SPO Admin privileges. Closes #4839

Extends spo term set add command with support for adding a site-level term set or a tenant-level term set without SPO Admin privileges. Closes #4839

Can someone please help to re-run the test cases?

The tests are running again

Merged manually. Thanks 👏


x/sys/windows/svc/mgr: Documentation of args argument to CreateService incorrect.

The "args" passed to Mgr.CreateService are distinct from the arguments passed to Service.Start (or  via the "Start parameters" field in the service's Properties dialog box). The documentation implies they are the same. The args passed to Service.Start appear as the args on Svc.Handler.Execute, but the args passed to CreateService end up as command line arguments (os.Args).
I have a doc fix which I plan to submit as a way to learn the contribution process.

The "args" passed to Mgr.CreateService are distinct from the arguments passed to Service.Start (or via the "Start parameters" field in the service's Properties dialog box).

Distinct in what way? And so what? Why should we care?

The documentation implies they are the same.

Both args are passed to svc.Handler.Execute. That is the only "same" thing. Is that a problem?

The args passed to Service.Start appear as the args on Svc.Handler.Execute,

Correct.

... but the args passed to CreateService end up as command line arguments (os.Args).

Maybe. I did not check.
I do not understand what is the problem here. I suspect you are unhappy about some documentation. Which documentation is invalid and why? Thank you.
Alex

Hi Alex,
(I've submitted a small doc fix CL which Brad has merged.)
The windows API call StartService takes some arguments, and these are passed to the windows API callback ServiceMain. (This is what the Go package makes available as the args parameter to svc.Handler.Execute.)
When you register a service with the windows API call CreateService, you are allowed to include in lpBinaryPathName some command-line arguments. These get passed to the service's executable program as standard command line args, e.g. as argv to main().
These two things are distinct.
The Go package's Mgr.CreateService()'s args parameter ends up in the second, i.e. they are string appended to lpBinaryPathName.
        s := syscall.EscapeArg(exepath)
        for _, v := range args {
                s += " " + syscall.EscapeArg(v)
        }

This caught me out because the doc comment for Mgr.CreateService said they will end up as the arguments to svc.Handler.Execute, but, they will not.
Hope it's clear what I mean, it took me a good while to work out what was happening yesterday while trying to pass some args to a service.
thanks
Piers

"... args will be passed to svc.Handler.Execute". But, they won't be. (They're in os.Args.)

I was mistaken about that. Thank you for explaining.
Alex

No problem - this was a pretty minor thing overall. That the svc package exists and functions so well has been a huge boost to our project. Cheers.


CMake libraries' config - POSTFIX

TODO - use CMake to add appropriate POSTFIX according to config
Some libraries don't have adjusted postfixes to the config and it may lead to helll when using Nabla as an external project.

External Project or dependency via add_subdirectory ?

External Project or dependency via add_subdirectory ?

Added via External Project, but it doesn't matter afaik. It is due to not set postfixes of targets correctly

probably a good idea to fix as part of #143


Time Series File Type

Ready for review

@hyi Can you review? It's a big PR.

I will be resolving the conflicts as part of addressing the review comments.

Build finished.

@hyi See if you can +1


How to use this styling without editting core css file

Hello, I just want to let you know how to use this styling without editting core css file.
You can just include this css file into your core localization module.
Here's how to make localization module.
It is pretty simple. just add one line to your module.json - "coreTranslation":true
In that way, you can apply css to your core application.
Anyways, thank you for your hard work!

Hi @jbblily, sorry for the late response. Would you mind elaborating further on this? As far as I am aware, modules can only inject CSS or JS in the game session and not on setup or login pages.

Cool, I don't mind. It's actually not a big deal.. I just found it out when I make my own translation module.
The problem is, if a user's preferred language is not English (and this person is using core translation module), this will not work.
In that case, the only way is to manually add css file to the module.
If you don't mind this, I can help with you, probably...

Hey I made a simple module for this, so if you are interested in this, you can first try and then comment to me. I will contribute on your project by pull request.
https://github.com/jbblily/Foundry-VTT-Prettier-Login-Screen/tree/jbblily-patch-1

Ah, thanks, I see what you mean by localisation module now. This is indeed an interesting workaround for getting this applied and have it unaffected by a coreupdate. I can see that in your most recent commits you include only the "text title version" of the CSS, I would suggest having the module really only act as a wrapper for the standard file, and then have the user edit the login CSS as normal to decide which version they want to use. However, feel free to open a PR and we can discuss/adjust files there.

I deleted title image version on purpose (to show you how it works immediately)
I'm not native to English... Thank you for being generous to some communication mistakes 😄
I'll give you a PR then. Take it free.


Enhance the website with various animations using Framer motion

Add various animations to components using the framer motion library
References :
https://www.framer.com/motion/
https://www.youtube.com/watch?v=31y7-k3ZG0g

Sure! Go ahead, Happy hacktoberfest!


Simplifying InvalidCnpjCpfClassifier implementation

The InvalidCnpjCpfClassifier was doing unnecessary copy of
the whole dataset and also converting one of the dataframe columns
for no apparent reason. This change should improve running time for
the classifier as well as its memory footprint.
Signed-off-by: Luiz Carlos Cavalcanti<EMAIL_ADDRESS>

Coverage decreased (-0.06%) to 92.913% when pulling 82620aeca23df5a454ac3f6e886e322be594ac42 on luizcavalcanti:luizcavalcanti-memory-footprint-improvements into 16c762086e2635944d2bdd4aaf5eefb3f33ac675 on datasciencebr:master.


Suggestion: add instructions for connecting private repository

Via command
Run following command:
docker exec -it dokemon docker login {URL} -u {USERNAME}
# OR
docker exec -it dokemon-agent docker login {URL} -u {USERNAME}

Enter Password:
Password:
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded

Via volume mapping
Add config.json mapping to compose.yml:
    volumes:
      - /path/to/.docker/config.json:/root/.docker/config.json

The config.json located in home path by default (e.g., /home/ubuntu/.docker/config.json)

Thank you, I will also add an option in the UI to add registries.


Don't create a new cluster in Assisted Installer if it already exists

Feature description
It is a common problem that not all prerequisites are fulfilled in clients and so the deploy_cluster.yml playbook fails at some step.
It would be nice if the playbook checked the Assisted Installer API to look for clusters with the same name as the one being installed from the inventory and to check the status.
Perhaps there could be a prompt asking the user if they want to erase the cluster and start again or continue the installation where it failed (I'm getting timeout failures because the image download speed is slow).
Since I didn't know much about Assisted Installer or Crucible at one point I had 20 clusters created in Assisted Installer because I had to execute the deploy_cluster.yml playbook many times.
Thanks
Required statements

[X] I acknowledge that Red Hat does not provide commercial support for the content of this repository.
[X] I acknowledge that any assistance is offered purely on a best-effort basis, as resource permits.

The issue here is the effort it requires to check if all the variables are the same so that we can re-use this id is quite large. And some variables are required at creation.
We could perhaps make a helper playbook to go an tidy up any orphaned entries.

Yes, but what about warning the user?
Checking if there exists a cluster with the same name and prompting the user to abort everything or to delete the cluster and start over?
I'm asking because when I started with all this I wasn't aware of how everything worked and ended up with 20 clusters in Assisted Installer until I discovered the UI.

The process shouldn't be interrupted if possible. I'll have a think on how we can provide the info to the user without breaking the flow.
Thanks for the feedback :)

No, thank you.
The playbooks are very useful.
But there should be a way to tell the user that the Assisted Installer UI is accesible, perhaps in the documentation is enough.
And also to warn about the creation of multiple clusters.
Thanks!

The process shouldn't be interrupted if possible.

@nocturnalastro sorry to bother you with this, but I think this is an important thing enough to interrrupt the process so the users checks what is going on.
Just my 2 cents, best regards.


Project member cannot install catalog app that creates role/role binding

What kind of request is this (question/bug/enhancement/feature request):
question
Steps to reproduce (least amount of steps as possible):
User is given the project member role. He tries to install a simple custom helm app from custom catalog.
App is setting up a service account and its binding in the namespace.
apiVersion: v1
kind: ServiceAccount
metadata:
  name: ci-integrator
  namespace: {{ .Release.Namespace }}
---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: ci-integrator-manager
  namespace: {{ .Release.Namespace }}
rules:
- apiGroups: ["", "batch", "extensions", "apps"]
  resources: ["*"]
  verbs: ["*"]
- apiGroups: ["rbac.authorization.k8s.io"]
  resources: ["rolebindings", "roles"]
  verbs: ["*"]
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: ci-integrator-binding
  namespace: {{ .Release.Namespace }}
subjects:
- kind: ServiceAccount
  name: ci-integrator
  namespace: {{ .Release.Namespace }}
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: ci-integrator-manager

Result:
Failed to install app ci-integrator-sta. Error: release ci-integrator-sta failed: roles.rbac.authorization.k8s.io is forbidden: User "u-xxxx" cannot create roles.rbac.authorization.k8s.io in the namespace "xxx-sta"
What are the required permissions that I should add to the Project Member role to be able to do this?
Environment information

Rancher version: 2.2.5

Cluster owner; Your "simple" app is giving itself effectively full root control over everything in the cluster.
Creating a role and rolebinding is itself a cluster level action which only an owner can do.  This specific role goes one step beyond that and gives the service account the ability to define and apply arbitrary new roles (which can have any permissions) and apply them to anyone (which can be itself).

You're certainly right and these permissions are way beyond what the service account actually requires.
I've actually removed most of it to keep only what's required and added roles and rolebindings creation to my project members role so that the "simple" application can be deployed from the catalog as a standard user.
Sorry for the noise!


[AMBARI-25050] Create Ambari Setting to Control VDF Filesystem Access

What changes were proposed in this pull request?
Create an entry in ambari.properties to control whether to allow reading filesystem VDF.  Default false for this access.
How was this patch tested?
Manual cluster testing.  Automated pending

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4760/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4761/
Test PASSed.


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1176 ms

Resolved: Bofrost.at performance has improved in ec371b2.


optimize result printing && add command: getTransactionIDs

Codecov Report

Merging #75 into release-rc4 will decrease coverage by 0.15%.
The diff coverage is 0.00%.

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


Update up-triangle style from dropdown menu

Updated the size and alignment of the up-triangle on the dropdown menus from landing page.
I tried removing the triangle, but it just looked odd having the floating menu. I guess this could work for now :)
Fixes: #23247

Screenshots and screen captures:

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Thanks for working on this @manzha ! We are now planning a broader redesign of the website menus, so I'm closing out the issue and the PR.

Thanks for letting me know! I've been a bit busy this week but I'll try to find a different issue in the near future :D


facebook oauth login exception

I'm running into an exception using the FacebookClient oauth class as it is currently implemented in saleor.  I've set up the app access on facebook and using the facebook authenticate method from /login/ correctly produces the facebook dialogue requesting permission. However, the response isn't what's expected:
Django Version:	1.8.3
Exception Type:	KeyError
Exception Value:
'verified'
Exception Location:	[..]/saleor/registration/utils.py in get_user_info, line 186
I've gone through the code and I can't tell if the facebook API has changed or if there's some misconfiguration on the facebook side.
The request URL that facebook returns is:
Request URL:	http://localhost:5000/account/oauth_callback/facebook/?code=AQCDRZbizgMZ6bMjcUwk5_yRsvW4Ix10hrJsuqpJ_Ce5PVjoXyOpnBG27jSijFCD6kascY0NbhtSA3t1oQWyAjNwRser48t6oAQGxr-P7a_toXE-a96ctooe7BQ0vb_1_er5CVCa3E10w_rFQn-OkGgHpNPdrgMhe-XtRKrIx5kyEdUAP_dw1ndg3PBd3mxrvDU1W35ntqIZCZ_fNHM4Vj8pH-eONj6VljH9HTzZELpzJuRi81sklVnrr-K8Z0OnLksmf4erzixyIEhPBs_C2n_f4Shx_DDjfHvzKO-f5RkhgXq3mMw4LgEBZmlN0HM2AdU
Can someone advise on how I might rectify this?  Thanks.

Thanks, @paweltin will look into this shortly.

I'm not sure if this commit was considered sufficient, but the response object doesn't pass the conditional check.  In my case, here's what response in line 186 names:
{u'name': u'Dummy Name', u'id': u'10102280833422211'}

@o1lo01ol1o This was fixed in https://github.com/paweltin/saleor/commit/2fc112c055186b9cdacae69e858919819fc08b32. The latest facebook api returns only name and id fields by default.

@bogdal Sweet, thanks!