OS X El Capitan OpenCL Error

I'm developing this project https://github.com/RocketChat/Rocket.Chat.Electron and I receive this error when I run the project, all works, except by render of tray icon.
This problem don't happen in another developer machine running Yosemite.
The full log is here https://gist.github.com/rodrigok/0c5058daabdb3c31d5dc
A little part of the log:
18:19:21 Rocket.Chat.Electron master ➜ npm start

> @ start /Development/Projects/Rocket.Chat.Electron
> node ./tasks/start

[18:25:29] Using gulpfile /Development/Projects/Rocket.Chat.Electron/gulpfile.js
[18:25:29] Starting 'clean'...
[18:25:29] Finished 'clean' after 22 ms
[18:25:29] Starting 'transpile'...
[18:25:29] Starting 'less'...
[18:25:29] Starting 'coffee'...
[18:25:29] Starting 'copy'...
[18:25:29] Starting 'finalize'...
[18:25:29] Finished 'finalize' after 2.24 ms
[18:25:29] Finished 'coffee' after 362 ms
[18:25:29] Finished 'less' after 381 ms
[18:25:29] Finished 'transpile' after 390 ms
[18:25:29] Finished 'copy' after 590 ms
[18:25:29] Starting 'build'...
[18:25:29] Finished 'build' after 5.89 μs
[81229:0716/182530:INFO:renderer_main.cc(200)] Renderer process started
[81230:0716/182530:INFO:renderer_main.cc(200)] Renderer process started
[81231:0716/182530:INFO:renderer_main.cc(200)] Renderer process started
** OpenCL Error Notification: [CL_DEVICE_NOT_AVAILABLE] : OpenCL Error : Error: build program driver returned (-2) **
** OpenCL Error Notification: OpenCL Warning : clBuildProgram failed: could not build program for 0xffffffff (Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz) (err:-2) **
** OpenCL Error Notification: [CL_BUILD_ERROR] : OpenCL Build Error : Compiler build log:
<program source>:24:33: error: too many elements in vector initialization (expected 3 elements, have 4)
  float3 pp = mat_vec3_multiply((float3)(destCoord(_dc), 1,000000e+00f), m);
                                ^
<program source>:29:63: error: too many elements in vector initialization (expected 3 elements, have 4)
  return read_imagef(image, sampler_image, (mat_vec3_multiply((float3)(c, 1,000000e+00f), m)).xy);
                                                              ^
<program source>:37:10: error: no matching function for call to 'clamp'
  return clamp(s, 0,000000e+00f, s.w);
         ^~~~~
/System/Library/Frameworks/OpenCL.framework/Versions/A/lib/clang/3.2/include/cl_kernel.h:4963:23: note: candidate function not viable: requires 3 arguments, but 4 were provided
double16 __OVERLOAD__ clamp(double16 x, double minval, double maxval);
                      ^
/System/Library/Frameworks/OpenCL.framework/Versions/A/lib/clang/3.2/include/cl_kernel.h:4962:22: note: candidate function not viable: requires 3 arguments, but 4 were provided
double8 __OVERLOAD__ clamp(double8 x, double minval, double maxval);
                     ^
/System/Library/Frameworks/OpenCL.framework/Versions/A/lib/clang/3.2/include/cl_kernel.h:4961:22: note: candidate function not viable: requires 3 arguments, but 4 were provided
double4 __OVERLOAD__ clamp(double4 x, double minval, double maxval);
                     ^
/System/Library/Frameworks/OpenCL.framework/Versions/A/lib/clang/3.2/include/cl_kernel.h:4960:22: note: candidate function not viable: requires 3 arguments, but 4 were provided
double3 __OVERLOAD__ clamp(double3 x, double minval, double maxval);
                     ^

Related: https://code.google.com/p/chromium/issues/detail?id=508935

Does it still occur on 0.31.0?

It's fixed. Thanks!


how to deobfuscate this?

i need to deobf or get old code. pls

You can't. That's the whole point of obfuscation!

You can't. That's the whole point of obfuscation!

yes you can and its easy af

Any update on this? Having the same issue @davidteather


Create Pool workflow: replicas field should not show when EC selected

@cloudbehl @gnehapk
For the Create Pool workflow, if user selects EC and 2+1, why do we still see the Replicas field?  Replicas is only applicable when Standard/Replicated is selected.

@julienlim @sankarshanmukhopadhyay I Just had a look at the create pool workflow and saw the UX[1] for EC type. I can see the replicas field being there EC pool UX design[1]. That's why it has been implemented in the UI.
@julienlim @mcarrano Please confirm that replicas field needs it to be removed from UI.
[1].https://redhat.invisionapp.com/share/2T9LPMEEB#/screens/209774648

Yes, that's an error in the design.  I will correct it and repost.  But yes, when the user changes the Type to Erasure Coded, the Replicas field should be hidden.

@julienlim @Tendrl/qe The bug is fixed from UI team. Please verify on the new build[1] available.
[1]. tendrl-dashboard-1.2.1-04_17_2017_17_24_12.noarch.rpm

Closing this as this is already fixed


Dynamically adjust the cpu and cachelookup slots on master in distributed builds

Master is configured to do nothing when a remote worker is connected due to some overhead. However, there are some queues with only 2 workers and minimal distribution overhead; which turns out to be 1-worker builds. If we do not set masterCpuMultiplier or masterCacheLookupMultiplier to 0, the master slots will be adjusted automatically based on the number of available workers. For instance, if there are 4 available workers, the master cpu slots will be maxProcs/4.
Fixes AB#1492499
@olkononenko WDG will benefit from this change because in their 4-worker builds, the master can concurrently execute cpuSlots/4 pips instead of doing nothing.

Are our queues with lots of workers already passing the /master*Multiplier args to 0 or will they just effectively be 0 based on letting the dymanic configuration apply?

Are our queues with lots of workers already passing the /master*Multiplier args to 0 or will they just effectively be 0 based on letting the dymanic configuration apply?

The latter. For instance, if you have 15 workers, the master will just execute a few process pips, which is perfectly fine.


Please restart master branch builds

After the icu69 merge, I see the master branch builds hit a transient conda issue.  Could they please be restarted so to get icu69 builds available :)

I triggered the failing builds again.

Linux aarch64 doesn't build on CIs because it times out (which was already mentioned in https://github.com/conda-forge/qt-main-feedstock/pull/2#issuecomment-989279471).
@conda-forge/core, how that case should be handled so that people don't get the impression the build is failing?

Hi @ccordoba12, indeed thanks.  I was referencing the others builds that failed due to the transient conda=4.10.3 issue.  I am interested in your question too.

In the past I uploaded the qt package for aarch somewhere (alongside build logs), and someone from core then uploaded it to the conda-forge channel (see https://github.com/conda-forge/qt-feedstock/pull/181).
@andfoy already offered to build the aarch packages this time around (see https://github.com/conda-forge/qt-main-feedstock/pull/2).
So the failing build in CI is fine as far as I understand, as the package will be uploaded manually.

linux-64 built successfully so closing here - feel free to open a separate issue re aarch


Sweden-England predictions missing

world-cup-2018/wc-matches.csv seems to be missing the row for the upcoming Sweden-England game. Could you kindly add it?

added

That nice


Documentation Link Rot

Hi, the links at the bottom of the documentation page https://github.com/awaitility/awaitility/wiki/Usage has a few links that no longer have a valid endpoint.

Awaitility test case
Field supplier test case

Thank you for Awaitiliy. We use it extensively!

Thanks for pointing out, I'll try to fix soon :)


revert(filter_changes): adding the filter function was causing nested…

Reverts changes previously made to the way variables were being hydrated. Needs a test

more context around what was reverted: https://github.com/influxdata/influxdb/pull/18651

Here's the follow-up:
#18732


dragPrecision : Possibility to change the drag precision

This pull request allow to change drag's precision on X axis or Y axis

+1

Thanks!


chore: Remove unneccesary build step in travis.yml

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@2af4430). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #11   +/-   ##
=========================================
  Coverage          ?   67.13%
=========================================
  Files             ?       23
  Lines             ?      423
  Branches          ?       14
=========================================
  Hits              ?      284
  Misses            ?      135
  Partials          ?        4

Continue to review full report at Codecov.

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


[4.0.0-beta.11] remove console.debug

Ionic Info
Ionic Angular v4.0.0-beta.11
Describe the Bug
v4.0.0-beta.11 contains a couple of console.debug like console.debug('Input: enableInputBlurring'); etc.
Expected Behavior
Remove any console outputs

I had a look and actually there are many of them, I guess you are happy to use them, therefore I close this request


Navigator - add access to route stack

To be able to reuse already opened pages, access to the Navigator stack would be helpful. For example:
int depth = peek( String namedRoute ); // Returns -1 if 'namedRoute' not in stack. Returns [0..n] if found
boolean found = remove( String namedRoute ); // 'true' if found and removed from stack
Method 'remove' would help in reusing routes. The removed route can be pushed again.

You will be able to manage the route stack yourself with the new Navigator/Router proposed in https://flutter.dev/go/navigator-with-router.

If you need this you can now use the routing API.


[1.16.3] When used with Forge 1.16.3-34.1.27+ causes crash when also loading mods that register custom particles

Issue Description:
Installing Thut's Elevators along with any mod that registers custom particles (example: SimplyJetpacks 2, Powah) game crashes with the following error:
java.lang.IllegalStateException: Failed to load description for particle simplyjetpacks:rainbow
This can be reproduced by creating a 34.1.27+ instance and adding Thut's Elevators and SimplyJetpacks 2, Powah or really any mod that registers custom particles.
Crashlog
What happens:
Game crashes
What you expected to happen:
Game loads
Steps to reproduce:

Create a 34.1.27+ instance
Install Thutcore + Thuttech
Install any mod that registers custom particles ex: SimplyJetpacks 2, Powah

Affected Versions (Do not use "latest"): Replace with a list of all mods you have in.

Thutcore: 1.16.3-8.0.0
Thuttech: 1.16.3-9.0.0
Minecraft: 1.16.3
Forge: 34.1.27+

As a follow-up, this issue also occurs in Immersive Engineering where I posted a similar issue.  Blu just responded with this:
"Yeah, we know. Forge decided to pull a breaking change. Downgrade to 34.1.25 for now. The next release will fix this."

Thanks for the report and the pull request, I will see about getting this tested and compiled shortly, hopefully today if I have the time after work. I will close the issue once the fix is actually released.

Thanks Thut!  For the record, I modeled the PR off the BluSunrize fix for IE.


Added jsx-no-comment-textnodes lint rule.

Added a lint rule that prevents writing comment strings (both // ... and /* ... */) in a JSXText node. It hints to put the comments between braces. I guess it's safe to add as CRA warns about this rule by default.
I guess it's possible to provide a fixable hint for this rule, haven't yet figured this out but I'll add it once I do.
I'm new to AST & writing lint rules, comments are more than welcome! :)

Looks good! I think ideally we'd want to point to the exact location of the comment inside of JSXText but this is good enough for now since that would be quite tricky. Thanks for the implementation! This rule was fairly safe to add but I think we'll want to have a better idea of other lint rules we want supported which we can discuss in #341.

Thank you!


License, and GitHub discoverability features

Thanks as always for providing these epic resources!
The repository is lacking some GitHub-specific features, such as a description, website, and labels. These are surprisingly important for organic discovery (assuming the goal is to get lots of people using the assets :P)
On top of that, the license isn't clear to me. The readme says these are 'open  source', so I assume the license is permissive, but it would be awesome if you would clarify with a license file. Even permissive licenses like MIT or CC0 have some subtle differences/restrictions.
I actually checked your website and I think it might be this one? https://creativecommons.org/licenses/by/4.0/, which requires attribution (that's fine, but it's just good to be clear about these things).

Thanks for the heads up. I added these yesterday, the license is MIT for everything right now. GitHub doesn't really support dual licenses, I was looking to do MIT/CC0 for code and art respectively but I think we'll just use MIT from there on for simplicity.


Tag and release - tracking issue

@apoelstra this is ready to be tagged and released. In future I'll follow your suggestion and open a PR bumping the version as the release tracking issue, for this release please consider this the 'release tracking issue' since the version bump and release notes have already been done.
Thanks

Ok, I'll see if I can figure out submodules enough to publish a release..

Does anyone know a series of commands that will download the missing data from the depend/ directory?
The README says I need to re-clone the repo, and then presumably recreate all my worktrees. That does not seem reasonable.

What data is missing? I've been managing the submodule, anytime something shows up in git status (run in the repo root directory), by just cd'ing into it and using git checkout, using the hash that shows up in the output of git status. Then when I was updating the submodule (https://github.com/rust-bitcoin/rust-bitcoinconsensus/pull/42) I did a bunch of things in depend, documented on the PR.
Does that help?

No need to respond in depth, I'm tackling the submodules issue and learning the pain :)

No dice.
12:40:41 -bash@camus ~/code/rust-bitcoin/rust-bitcoinconsensus/master b00bd50$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

The depend/bitcoin directory is completely empty, I can't find any way to get git to acknowledge that maybe something should be there, and none of the git submodule incantations the Internet have suggested have helped.

Can we move to sub trees? https://github.com/rust-bitcoin/rust-bitcoinconsensus/pull/49

Release was done already.


Refactor board mechanism

I think the notion of board that we are currently using does not actually suite our purposes. What we currently call boards should be called something like buffers. Just buffers that contain some data essential for rendering and tracking and should not contain any wraparound logic.
Also I think it would be good to introduce a level object. It will be just a plist that groups together:

level size (width and height)
the player state
the list of ghosts
the list of walls
the list of pills
the render and the track buffers

And all the functions that do the wraparound should accept the level object as an argument and perform the wraparound logic based on the info from that level.

For the level stuff we need a separate issue.

This issue could be useful for #126


Unable to do EIP712 signatures

Hi, I'm working on a project an I need to do a EIP712 signature for a permit function on an ERC721 token.
I achieved to do so on Javascript using the eth_signTypedData method and domains.
To do it in swift, I tried to use the Web3Signer.signEIP712 function. Because there is no documentation on this, I tried to copy the LocalTest of EIP712 and replaced all the EIP712.UInt256 by BigUInt, this seems to work.
However, when I try to call the SafeTx function to convert all my information (the exact information as the localtest for now) into the function, I get this error "'SafeTx' initializer is inaccessible due to 'internal' protection level".
But SafeTx is public in the EIP712 file.
Any idea on what to do to get EIP712 to work?

This is a bug. While the struct is public, it relies on the default memberwise initializer. The problem with that is the default initializer is given "internal" access regardless of that of the struct.
Will issue a PR shortly to address this

This is a bug. While the struct is public, it relies on the default memberwise initializer. The problem with that is the default initializer is given "internal" access regardless of that of the struct.
Will issue a PR shortly to address this

`func testWithChainId() {
    let to = EthereumAddress("0x3F06bAAdA68bB997daB03d91DBD0B73e196c5A4d")!

    let value = BigUInt(0)

    let amount = 1000

    let function = ABI.Element.Function(
        name: "approveAndMint",
        inputs: [
            .init(name: "cToken", type: .address),
            .init(name: "mintAmount", type: .uint(bits: 256))],
        outputs: [.init(name: "", type: .bool)],
        constant: false,
        payable: false)

    let object = ABI.Element.function(function)

    let safeTxData = object.encodeParameters([
        EthereumAddress("0x41B5844f4680a8C38fBb695b7F9CFd1F64474a72")! as AnyObject,
        amount as AnyObject
    ])!

    let operation = UInt8(1)

    let safeTxGas = BigUInt(250000)

    let baseGas = BigUInt(60000)

    let gasPrice = BigUInt("20000000000")

    let gasToken = EthereumAddress("0x0000000000000000000000000000000000000000")!

    let refundReceiver = EthereumAddress("0x7c07D32e18D6495eFDC487A32F8D20daFBa53A5e")!

    let nonce = BigUInt(0)

    let safeTX = SafeTx(
        to: to,
        value: value,
        data: safeTxData,
        operation: operation,
        safeTxGas: safeTxGas,
        baseGas: baseGas,
        gasPrice: gasPrice,
        gasToken: gasToken,
        refundReceiver: refundReceiver,
        nonce: nonce)

    let mnemonic = "normal dune pole key case cradle unfold require tornado mercy hospital buyer"
    let keystore = try! BIP32Keystore(mnemonics: mnemonic, password: "", mnemonicsPassword: "")!

    let verifyingContract = EthereumAddress("0x76106814dc6150b0fe510fbda4d2d877ac221270")!

    let account = keystore.addresses?[0]
    let password  = ""
    let chainId: BigUInt? = BigUInt(42)

    let signature = try! Web3Signer.signEIP712(
        safeTx: safeTX,
        keystore: keystore,
        verifyingContract: verifyingContract,
        account: account!,
        password: password,
        chainId: chainId)

    print(signature as NSData)
}`

Here is my code. Copied Web3Signer and EIP712 code so that I can use SafeTx. But I don't get the same hash as the test so I have something bad in my code.
But I'm still not sure how to use this code for my own function.

please retry with the PR I just posted. (see previous response for directions if you need them)

Please retry with the PR I just posted. (see previous response for directions if you need them)

Thanks, it works perfectly now, I get the correct hash!


Linux install can't change ownerhsip of '/etc/wireguard': operation not permitted

I can follow all the instructions up to this point when trying to install wireguard on the actual device itself. For some reason I get this error?

@RGhadamian just passing by but it'd help if you gave screenshots or snippets of output to know when you got this error.

Thanks @neutronscott good point. I've attached a screenshot

This is the XY problem, you are asking about the attempted solution Y

Linux install can't change ownerhsip of '/etc/wireguard': operation not permitted

instead of the actual problem X

it doesn't allow me to actually browse...just timesout...

By the way I'm closing this as not following the issue template, reopen after you have provided such details.

PiVPN Issue Template
PLEASE READ THIS TEMPLATE CAREFULLY BEFORE OPENING AN ISSUE!
Any Issue opened that doesn't follow this template will be removed.


How to share host dir with docker

Hey guys, i'm new on this docker/gradle stuff and i need to share my /foo/ files with my docker /foo/ but i'm not able to do that... Can you guys help me?

Don´t really think this is related to this plugin, but some Docker basic around volumes.
https://docs.docker.com/engine/tutorials/dockervolumes/#mount-a-host-directory-as-a-data-volume


readability-api

update to last version which use requests_oauthlib to be python3 compliant - need to update my_readability.py to be able to connect to the readability service again.

6e12fb3b437980bac4b12361616dc950a9cd4faa


Cannot dynamically show or hide columns

Griddle version
1.3.1
Expected Behavior
Changing the visible prop on ColumnDefinition should cause columns to be hidden or shown appropriately.
Actual Behavior
The column is only shown/hidden based on visible prop on first render.  Subsequent updates don't get taken into consideration
Steps to reproduce
In render method:
    <Griddle
      data={data}
      plugins={[plugins.LocalPlugin]}
    >
      <RowDefinition>
        <ColumnDefinition id="name" title="Name" />
        <ColumnDefinition id="state" title="Location" order={1} width={400} />
        <ColumnDefinition id="company" title="Organization" visible={this.state.companyVisible} />
      </RowDefinition>
    </Griddle>

Now toggle this.state.companyVisible

Just tried this on 1.6.0 and the same behaviour is experienced

Try setting <Griddle key={...}> based on companyVisible, e.g.
<Griddle key={`visible:${this.state.companyVisible}`} data={data} ...>

Yes this works and is what I am presently doing.  However there are potentially a lot of things I have to monitor the changes of and maintaining this is cumbersome.  I have worked around this for now using key but it would be nice if the library responded to prop changes.

Currently the row/column definitions are only parsed on initial load. I wonder if we should refresh them on componentWillReceiveProps?

Sounds like a good idea to me

The other thing I was thinking is that we could make the column definitions update the store for their own properties instead of Griddle top component managing the column settings (it just passes them to the store anyhow).
What I'm envisioning this looking like is the column definitions would also connect and have an action that fires off it's properties. Right now it's Griddle that does all that interaction. Thoughts? (I'm not opposed to any of the other routes either :D)

@ryanlanciaux I'd be happy to take a shot at this. Your approach sounds like it might be the correct. Would you be able to point me in the right direction?

Another thing to consider related to dynamic Row/Column definitions: I've run into a situation where it would have been nice to connect() a custom ColumnDefinition to an external store, specifically to load in a column visibility preference. I wasn't able to get it to work, though.

Is it possible we have a solution to this issue yet? I'm working on implementing check boxes to all the columns and need to show/hide columns dynamically. Griddle only parses ColumnDefinition at the initialization.

<Griddle
        storeKey="griddleStore"
        data={data}
        plugins={[plugins.LocalPlugin]}
        styleConfig={styleConfig}
        sortProperties={sortProperties}
        pageProperties={{
          currentPage: 1,
          pageSize: Number.MAX_SAFE_INTEGER,
        }}
        components={{
          Layout: newLayout,
        }}
      >
        {listingConfig && (
          <RowDefinition>
            {listingConfig.map((column, i) => {
              const { centerAligned } = this.props;
              return (
                <ColumnDefinition
                  id={column.id}
                  title={column.title}
                  key={column.id}
                  cssClassName={centerAligned && i !== 0 ? 'force-text-center' : ''}
                  headerCssClassName={`${
                    centerAligned && i !== 0 ? 'force-text-center' : ''
                  } ${column.headerClassName || ''}`}
                  customComponent={getFieldComponent(column)}
                  customHeadingComponent={column.customHeadingComponent}
                  sortMethod={column.sortMethod}
                  sortable={column.sortable !== undefined ? column.sortable : true}
                />
              );
            })}
          </RowDefinition>
        )}
      </Griddle>

In the following code, listingConfig is being read from the props. But when they change still the griddle table isn't updated.
Any suggestions or fixes on the same?

@anmol5varma I don't think any progress was made on a fix or work-around for this issue.


Getting LockPersistenceException in distributed env. What is the best lock strategy to use to avoid this exception.

Describe the bug
MONGOCK ERROR:
We have a service that is deployed over 20 VMs and each VM has 2 instances. During deployment, we used to run mongock migration on each instance. Service is not getting up on Some of the VMs due to this exception.
Caused by: io.changock.driver.api.lock.LockCheckException: MaxTries(3) reached due to LockPersistenceException:
The average deployment time to bring service up is 10min.
As per the error, the application is not able to acquire a lock for mongock to start migration.
Currently, we have a default lock mechanism.
SpringDataMongo3Driver driver = SpringDataMongo3Driver.withDefaultLock(new MongoTemplate(mongoClient, database));
What is the best lock strategy to use to avoid this exception?
mongock-spring-v5 : 4.1.19
mongodb-springdata-v3-driver : 4.1.13
mongock-bom: 4.0.2.alpha
Logs:
ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'changockSpring5' defined in class path resource [.class]: Invocation of init method failed; nested exception is io.changock.migration.api.exception.ChangockException: io.changock.driver.api.lock.LockCheckException: MaxTries(3) reached due to LockPersistenceException:
current lock:  io.changock.driver.core.lock.LockEntry@401d83ce
new lock: Document{{$set=Document{{key=DEFAULT_LOCK, status=LOCK_HELD, owner=a30673e3-3f34-4d02-b923-6da93406fc2d, expiresAt=Mon Feb 22 04:11:23 UTC 2021}}}}
acquireLockQuery: And Filter{filters=[Filter{fieldName='key', value=DEFAULT_LOCK}, Filter{fieldName='status', value=LOCK_HELD}, Or Filter{filters=[Operator Filter{fieldName='expiresAt', operator='$lt', value=Mon Feb 22 04:08:23 UTC 2021}, Filter{fieldName='owner', value=}]}]}
db error detail: WriteError{code=11000, message='E11000 duplicate key error collection: reports.mongobeelock index: mongobeelock_key_idx dup key: { : "DEFAULT_LOCK" }', details={}}

Hello @manishpurohit92 ,
I am afraid the information provided is not enough to diagnose your issue. Please follow this template to raise an issue, so we can help you 😃

@dieppa  I updated the ticket as per format. please guide me if something is missed.

Thanks,
I see the versions of Mongock you are bringing are not right. There may be other issues too, but please, first update your project to use mongock-bom:4.3.7 and don't need to specify the version for the runner and driver, as the bom set up the versions for them. Please te a look to our tutorial. and let me know if your issue remains.

Thanks, for the quick reply.  and what about this
SpringDataMongo3Driver driver = SpringDataMongo3Driver.withDefaultLock(new MongoTemplate(mongoClient, database));
what lock strategy would you suggest for multiple instances?

In general, the recommended "lock strategy" is the default. If you want to tune it, please a look to this part of the documentation that explain the lock configuration.
PD: I don't understand We have a service that is deployed over 20 VMs and each VM has 2 instances. Does that mean you have a service replicated around 40 times , 20 VMs x 2 instances? Or you have 20 services in replicated twice(2 instances) in a VM each?

@dieppa  It means 20 VMs x 2 instances, 40 instances of a single service. So each instance is waiting to get a lock. and as default maxWaitingForLockMinutes is 4min. after that time, the service is throwing this exception.  So I think, I would need to tune it.

OK, so I can assume that you will have one instance performing the migration agains 39 idle instances, right?
Can you afford deploy those 39 instances, and ready, while the migration is still on going? If so, I would set the field throwExceptionIfCannotObtainLock to false, so the 39 instances doesn't wait for the lock.
If not, I would increase the field maxWaitingForLockMinutes, more or less matching the time taken but your migration, setting maxTries to two(worthy re-trying, but no reason for trying 3 times, in this case).
Play around with those properties according the size of your migration and let me know how it goes.

@dieppa  will do. Thanks for support


Add Food Restriction Form Field

Closed as of last commit, food restriction added to backend-api and front-end form


Bug Report: if NPS is enabled but Accuracy is disabled, only Score will show

What version of the game are you using? Look in the bottom left corner of the main menu.
1.5.2 + #840 + #842
Have you identified any steps to reproduce the bug? If so, please describe them below. Use images if possible.
go into settings enable NPS and disable Accuracy
Please describe your issue. Provide extensive detail and images if possible.
if NPS is enabled but Accuracy is disabled, only Score will show

I just noticed I shouldn't close these issues manually.
(copied)


Modify CookbookSearchByInventoryIngredientsCommand

Current implementation simply return recipes that have any ingredients that the inventory has, regardless of quantity.
The intended implementation is to return recipes sorted by the % of ingredients available for the requirements of the recipe.
We could implement a divide function in MixedFraction, and use it to calculate the % complete. If a recipe requires 10 a, 5 b, and the inventory has 5 a, and 4 b:

For a: 50%
For b: 80%
For the recipe perhaps a simple algorithm to calculate the overall % complete would be to add all the % together and divide by the number of types of ingredients
In this case: (50+80)/2 = 65%

The command can then make use of % complete to sort the cookbook. Recipes with 0% would not be shown.

Looks like a good implementation direction for this function.
Maybe we can display this calculated % complete (to nearest integer) on the UI if possible?
So that the user will be more aware of the search result.

Looks like a good implementation direction for this function.
Maybe we can display this calculated % complete (to nearest integer) on the UI if possible?
So that the user will be more aware of the search result.

Sounds good. This will minimize on-the-fly calculations.


PHP7.4 - clean up tests

part of https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/6288

Coverage remained the same at 93.153% when pulling f6265db915da391802fdf258c23da3d6b9c78a77 on SpacePossum:master_74_tests into ae4246674e99ed21373609ba289c21b555969b09 on FriendsOfPHP:master.


Converted CIAB ORT script into more manageable package

What does this PR do?
Fixes #(issue_number)
Which TC components are affected by this PR?

[ ] Documentation
[ ] Grove
[ ] Traffic Analytics
[ ] Traffic Monitor
[ ] Traffic Ops
[ ] Traffic Ops ORT
[ ] Traffic Portal
[ ] Traffic Router
[ ] Traffic Stats
[ ] Traffic Vault
[ ] Other _________

What is the best way to verify this PR?
Check all that apply

[ ] This PR includes tests
[ ] This PR includes documentation updates
[ ] This PR includes an update to CHANGELOG.md
[x] This PR includes all required license headers
[ ] This PR includes a database migration (ensure that migration sequence is correct)
[ ] This PR fixes a serious security flaw. Read more: www.apache.org/security

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2596/
Test FAILed.

That should fix it

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2600/
Test PASSed.


Internal components theme overrides

Problem description
At VMWare we would like to customize some Backstage's internal components styles that are not using the material-ui theme, an example of this is the Backstage internal Header component box-shadow property which value is hard-coded.
For these cases (a css rule that isn't affected by the theme) material-ui provides "overrides" so any needed styles can be applied.
However, for overrides to work a component name must be provided to material-ui withStyles or makeStyles functions and Backstage  internal components like Header are not passing this information.
When name is not passed to these function no overrides would be applied and classnames generation for production environments doesn't add any constant value we can reference from the overrides level since it would be entirely generated and this means that we don't have a consistent way to override the component styles.
Possible solution
Provide a component name from Backstage internal components to material-ui style functions, this would improve the library flexibility with no harm to it.
How to review
The first two commits are a little noisy since they add a name to components under "components" and "layout" domains therefore reviewing those commits indiviadully will make the changes easier to read.
Open discussions

Maybe the @backstage/theme package should be the one responsible to export the overridableComponents, but that would required to add the @backstage/core-components package as dependency.
A more automated way to achieve this would be ideal, probably some kind of script to extract the types from the components and export the overrides.

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
 Tests for new functionality and regression tests for bug fixes
 Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Overall this looks great. Really nice addition, knew this was possible but wasn't sure how to enable it! Thanks for this!
Question about the exported XClassKey types, how do you expect end users to use those? Maybe you could add a brief entry to the documentation under theming about how to import and override some header props or something from an end users point of view? Maybe that would clear up why they're exported?
Thanks again 🙏

Hi @benjdlambert, thanks for taking a look!!
That's a really good observation, I added a small example in the PR description, but I will definitely add some notes to the documentation for the end consumer.

Hi @benjdlambert, I added the documentation, could you give that a look?

I fixed a typo in the documentation that was breaking the CI and regenerated the api reports.

@danielortizlira sorry I've not been receiving notifications for this PR! We've added it to our board to have a look through, will see if we can get a review done soon! Documentation looks great, thanks for being thorough!

Hey @danielortizlira!
Again, thanks for this contribution! It's great!
Just a comment on the documentation and wondered if we could write the documentation so that we just have a sample file that we can copy and paste into peoples create-app repo rather than it being split up amongst code blocks?
And also if we could maybe rely on existing backstage theme, so maybe just grab the palette from the lightTheme rather than using the THEME_OPTIONS from the other documentation and creating an entirely new theme? :pray:

Good to merge, just needs a yarn build:api-reports

Oh, that's on me. I missed that when rebasing to master.
It should be ready now, thanks for all the time and feedback here @Rugvip @benjdlambert, I appreciate it!!

Hi @dehamzah, I think we should be able to do it.
Checking the material-ui code I found that styled is also expecting a name that it then passes to the makeStyles function and eventually used by getStylesCreator.


Aggregate variables with different units

If I have an IamDataFrame df with two variables, 'Primary Energy|Gas' with unit 'TWh/yr' and 'Emission Factor|Gas' with unit 'Mt/TWh'. If I want to aggregate both variables to 'Emissions|Gas' doing the following:
df.aggregate('Emissions|Gas', components=['Primary Energy|Gas', 'Emission Factor|Gas'], method=np.prod)
instead of getting the unit 'Mt/yr' I get two entries with units 'TWh/yr' and 'Mt/TWh'.
I'd like to have either

automatic unit conversion or
manual unit conversion like
df.aggregate('Emissions|Gas', components=['Primary Energy|Gas', 'Emission Factor|Gas'], method=np.prod, unit='Mt/TWh)

Currently as a workaround I'm doing something like
temp_df = df.convert_unit('Mt/TWh', to='Mt/yr', factor=1)
temp_df = temp_df.convert_unit('TWh/yr', to='Mt/yr', factor=1)
temp_df.aggregate('Emissions|Gas', components=['Primary Energy|Gas', 'Emission Factor|Gas'], method=np.prod)

Thanks @pjuergens for raising this issue!
You are trying to do something that's going beyond the intent of the aggregation-function. But you actually found a nice workaround using standard pyam functions, so kudos!
Anyway, @gaurav-ganti started a similar issue (see #332) and in response @gidden started a PR a few months ago (see #333) that implemented basic operations (multiplication, division, addition, subtraction). Unfortunately, this development didn't quite make it into the master branch, but if you feel up to the task, you could look into this and bring it to completion! What do you think?


suggestion for locking

w2form has a lock function for the whole form. Is it possible to add separate lock functions for each tab?
...Rolf

This is something interesting to have, and I'm also in the need of other kind of locking.
What I'm needing (that right now I'm implementing outside W2UI but hope to make a pull request soon) is the possibility to disable all the form fields so in that way, if you have a form with tabs for example you can still visit each tab, view the content of the whole form and not being able to modify it.
Maybe this solution could be extended to the tab locking feature requested here, so you can disable (or enable) just some tabs of a form.
Just my two cents 😃

implememtend in PR #1704 - this issue can be closed


viz helper

This is a little visualization helper class to look at a docutils AST. It is a class that acts like a function, because that seemed like the best way to make it degrade gracefully if it was invoked outside of a Jupyter environment.
It basically takes an AST, converts it into a dictionary, and then uses the IPython JSON display function on it. If it's in a text environment, it just prettyprints the object.
No tests yet but I can write one if this is a reasonable addition...it's a little bit hacky so I'm not sure if it's useful or not...

(correct me if you disagree, but after having used docutils a bit more now, I don't think this would actually be that useful...I'm gonna close this)


Issue: RuntimeError: LoadImage cannot find a suitable reader for file

I encountered a RuntimeError while trying to load a dataset using MONAI transforms in the train.py script of the AortaSeg24-main project. The error indicates that LoadImage cannot find a suitable reader for the file format used in my dataset. Specifically, the error message states that it cannot find a suitable reader for the file data/images/subject001_CTA.mha.
`Namespace(root_dir='./data/', saved_model_dir='./best_model/', output_csv='training_info.csv', num_classes=24, max_iterations=2, eval_num=2, num_train_images=1, patch_size=128, spatial_dims=3, feature_size=96, num_samples=1)

Loading dataset:   0%|                                                                                | 0/1 [00:00<?, ?it/s]
Traceback (most recent call last):
File "/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/transform.py", line 141, in apply_transform
return _apply_transform(transform, data, unpack_items, lazy, overrides, log_stats)
File "/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/transform.py", line 98, in _apply_transform
return transform(data, lazy=lazy) if isinstance(transform, LazyTrait) else transform(data)
File "/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/io/dictionary.py", line 162, in call
data = self._loader(d[key], reader)
File "/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/io/array.py", line 274, in call
raise RuntimeError(
RuntimeError: LoadImage cannot find a suitable reader for file: data/images/subject001_CTA.mha.
Please install the reader libraries, see also the installation instructions:
https://docs.monai.io/en/latest/installation.html#installing-the-recommended-dependencies.
The current registered: [<monai.data.image_reader.NumpyReader object at 0x7cdeb5608670>, <monai.data.image_reader.PILReader object at 0x7cdeb56086d0>].
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/ayman/SwinUNetR/AortaSeg24-main/training/train.py", line 104, in
main(args)
File "/home/ayman/SwinUNetR/AortaSeg24-main/training/train.py", line 48, in main
train_ds = CacheDataset(data=train_files, transform=train_transforms, cache_num=len(train_files), cache_rate=1.0, num_workers=num_cpus)
File "/home/ayman/venv/lib/python3.10/site-packages/monai/data/dataset.py", line 823, in init
self.set_data(data)
File "/home/ayman/venv/lib/python3.10/site-packages/monai/data/dataset.py", line 850, in set_data
self._cache = self._fill_cache(indices)
File "/home/ayman/venv/lib/python3.10/site-packages/monai/data/dataset.py", line 879, in _fill_cache
return list(tqdm(p.imap(self._load_cache_item, indices), total=len(indices), desc="Loading dataset"))
File "/home/ayman/venv/lib/python3.10/site-packages/tqdm/std.py", line 1181, in iter
for obj in iterable:
File "/usr/lib/python3.10/multiprocessing/pool.py", line 873, in next
raise value
File "/usr/lib/python3.10/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/home/ayman/venv/lib/python3.10/site-packages/monai/data/dataset.py", line 892, in _load_cache_item
item = self.transform(item, end=first_random, threading=True)
File "/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/compose.py", line 335, in call
result = execute_compose(
File "/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/compose.py", line 111, in execute_compose
data = apply_transform(
File "/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/transform.py", line 171, in apply_transform
`
Steps to Reproduce
Prepare the dataset with .mha files.
Configure the train.py script with the provided parameters.
Run the train.py script.
Any help in resolving this issue would be greatly appreciated. Thank you!

This error mostly occurs due to memory issues. Please try again with fewer
number of images in the training folder; let's say try with 2 images inside
the training folder instead of 50. Let me know if it works?
Kind Regards
M. Imran
LinkedIn http://www.linkedin.com/in/muhammad-imran-b7865495 | GitHub
https://github.com/ImranNust
On Mon, Jun 3, 2024 at 4:13 PM AymanAbaid @.***> wrote:

I encountered a RuntimeError while trying to load a dataset using MONAI
transforms in the train.py script of the AortaSeg24-main project. The error
indicates that LoadImage cannot find a suitable reader for the file format
used in my dataset. Specifically, the error message states that it cannot
find a suitable reader for the file data/images/subject001_CTA.mha.
`Namespace(root_dir='./data/', saved_model_dir='./best_model/',
output_csv='training_info.csv', num_classes=24, max_iterations=2,
eval_num=2, num_train_images=1, patch_size=128, spatial_dims=3,
feature_size=96, num_samples=1)
Loading dataset: 0%| | 0/1 [00:00<?, ?it/s]
Traceback (most recent call last):
File
"/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/transform.py",
line 141, in apply_transform
return _apply_transform(transform, data, unpack_items, lazy, overrides,
log_stats)
File
"/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/transform.py",
line 98, in _apply_transform
return transform(data, lazy=lazy) if isinstance(transform, LazyTrait) else
transform(data)
File
"/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/io/dictionary.py",
line 162, in call
data = self._loader(d[key], reader)
File
"/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/io/array.py",
line 274, in call
raise RuntimeError(
RuntimeError: LoadImage cannot find a suitable reader for file:
data/images/subject001_CTA.mha.
Please install the reader libraries, see also the installation
instructions:
https://docs.monai.io/en/latest/installation.html#installing-the-recommended-dependencies
.
The current registered: [<monai.data.image_reader.NumpyReader object at
0x7cdeb5608670>, <monai.data.image_reader.PILReader object at
0x7cdeb56086d0>].
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/ayman/SwinUNetR/AortaSeg24-main/training/train.py", line 104,
in
main(args)
File "/home/ayman/SwinUNetR/AortaSeg24-main/training/train.py", line 48,
in main
train_ds = CacheDataset(data=train_files, transform=train_transforms,
cache_num=len(train_files), cache_rate=1.0, num_workers=num_cpus)
File
"/home/ayman/venv/lib/python3.10/site-packages/monai/data/dataset.py", line
823, in init
self.set_data(data)
File
"/home/ayman/venv/lib/python3.10/site-packages/monai/data/dataset.py", line
850, in set_data
self._cache = self._fill_cache(indices)
File
"/home/ayman/venv/lib/python3.10/site-packages/monai/data/dataset.py", line
879, in _fill_cache
return list(tqdm(p.imap(self._load_cache_item, indices),
total=len(indices), desc="Loading dataset"))
File "/home/ayman/venv/lib/python3.10/site-packages/tqdm/std.py", line
1181, in iter
for obj in iterable:
File "/usr/lib/python3.10/multiprocessing/pool.py", line 873, in next
raise value
File "/usr/lib/python3.10/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File
"/home/ayman/venv/lib/python3.10/site-packages/monai/data/dataset.py", line
892, in _load_cache_item
item = self.transform(item, end=first_random, threading=True)
File
"/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/compose.py",
line 335, in call
result = execute_compose(
File
"/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/compose.py",
line 111, in execute_compose
data = apply_transform(
File
"/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/transform.py",
line 171, in apply_transform
`
Steps to Reproduce
Prepare the dataset with .mha files.
Configure the train.py script with the provided parameters.
Run the train.py script.
—
Reply to this email directly, view it on GitHub
https://github.com/ImranNust/AortaSeg24/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIIGJN5QQAZHSD5UWXA36JDZFTFABAVCNFSM6AAAAABIXFTOPCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZTCOJWGA3TKMQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

This error mostly occurs due to memory issues. Please try again with fewer number of images in the training folder; let's say try with 2 images inside the training folder instead of 50. Let me know if it works? Kind Regards M. Imran LinkedIn http://www.linkedin.com/in/muhammad-imran-b7865495 | GitHub https://github.com/ImranNust
…
On Mon, Jun 3, 2024 at 4:13 PM AymanAbaid @.> wrote: I encountered a RuntimeError while trying to load a dataset using MONAI transforms in the train.py script of the AortaSeg24-main project. The error indicates that LoadImage cannot find a suitable reader for the file format used in my dataset. Specifically, the error message states that it cannot find a suitable reader for the file data/images/subject001_CTA.mha. Namespace(root_dir='./data/', saved_model_dir='./best_model/', output_csv='training_info.csv', num_classes=24, max_iterations=2, eval_num=2, num_train_images=1, patch_size=128, spatial_dims=3, feature_size=96, num_samples=1) ------------------------------ Loading dataset: 0%| | 0/1 [00:00<?, ?it/s] Traceback (most recent call last): File "/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/transform.py", line 141, in apply_transform return _apply_transform(transform, data, unpack_items, lazy, overrides, log_stats) File "/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/transform.py", line 98, in _apply_transform return transform(data, lazy=lazy) if isinstance(transform, LazyTrait) else transform(data) File "/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/io/dictionary.py", line 162, in *call* data = self._loader(d[key], reader) File "/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/io/array.py", line 274, in *call* raise RuntimeError( RuntimeError: LoadImage cannot find a suitable reader for file: data/images/subject001_CTA.mha. Please install the reader libraries, see also the installation instructions: https://docs.monai.io/en/latest/installation.html#installing-the-recommended-dependencies . The current registered: [<monai.data.image_reader.NumpyReader object at 0x7cdeb5608670>, <monai.data.image_reader.PILReader object at 0x7cdeb56086d0>]. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/ayman/SwinUNetR/AortaSeg24-main/training/train.py", line 104, in main(args) File "/home/ayman/SwinUNetR/AortaSeg24-main/training/train.py", line 48, in main train_ds = CacheDataset(data=train_files, transform=train_transforms, cache_num=len(train_files), cache_rate=1.0, num_workers=num_cpus) File "/home/ayman/venv/lib/python3.10/site-packages/monai/data/dataset.py", line 823, in *init* self.set_data(data) File "/home/ayman/venv/lib/python3.10/site-packages/monai/data/dataset.py", line 850, in set_data self._cache = self._fill_cache(indices) File "/home/ayman/venv/lib/python3.10/site-packages/monai/data/dataset.py", line 879, in _fill_cache return list(tqdm(p.imap(self._load_cache_item, indices), total=len(indices), desc="Loading dataset")) File "/home/ayman/venv/lib/python3.10/site-packages/tqdm/std.py", line 1181, in *iter* for obj in iterable: File "/usr/lib/python3.10/multiprocessing/pool.py", line 873, in next raise value File "/usr/lib/python3.10/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, **kwds)) File "/home/ayman/venv/lib/python3.10/site-packages/monai/data/dataset.py", line 892, in _load_cache_item item = self.transform(item, end=first_random, threading=True) File "/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/compose.py", line 335, in *call* result = execute_compose( File "/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/compose.py", line 111, in execute_compose data = apply_transform( File "/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/transform.py", line 171, in apply_transform  Steps to Reproduce Prepare the dataset with .mha files. Configure the train.py script with the provided parameters. Run the train.py script. — Reply to this email directly, view it on GitHub <#1>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIIGJN5QQAZHSD5UWXA36JDZFTFABAVCNFSM6AAAAABIXFTOPCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZTCOJWGA3TKMQ . You are receiving this because you are subscribed to this thread.Message ID: @.>

my data folder has only 2 .mha files in images and masks directory
Also i am using following command to run train.py
python3 train.py --root_dir "./data/" --saved_model_dir "./best_model/"   --output_csv "training_info.csv"  --num_classes 24 --max_iterations 2  --eval_num 2  --num_samples 1 --num_train_images 1

make num_workers = 0
and reduce the patch_size to let's say 48 and then try
Kind Regards
M. Imran
LinkedIn http://www.linkedin.com/in/muhammad-imran-b7865495 | GitHub
https://github.com/ImranNust
On Mon, Jun 3, 2024 at 4:13 PM AymanAbaid @.***> wrote:

I encountered a RuntimeError while trying to load a dataset using MONAI
transforms in the train.py script of the AortaSeg24-main project. The error
indicates that LoadImage cannot find a suitable reader for the file format
used in my dataset. Specifically, the error message states that it cannot
find a suitable reader for the file data/images/subject001_CTA.mha.
`Namespace(root_dir='./data/', saved_model_dir='./best_model/',
output_csv='training_info.csv', num_classes=24, max_iterations=2,
eval_num=2, num_train_images=1, patch_size=128, spatial_dims=3,
feature_size=96, num_samples=1)
Loading dataset: 0%| | 0/1 [00:00<?, ?it/s]
Traceback (most recent call last):
File
"/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/transform.py",
line 141, in apply_transform
return _apply_transform(transform, data, unpack_items, lazy, overrides,
log_stats)
File
"/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/transform.py",
line 98, in _apply_transform
return transform(data, lazy=lazy) if isinstance(transform, LazyTrait) else
transform(data)
File
"/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/io/dictionary.py",
line 162, in call
data = self._loader(d[key], reader)
File
"/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/io/array.py",
line 274, in call
raise RuntimeError(
RuntimeError: LoadImage cannot find a suitable reader for file:
data/images/subject001_CTA.mha.
Please install the reader libraries, see also the installation
instructions:
https://docs.monai.io/en/latest/installation.html#installing-the-recommended-dependencies
.
The current registered: [<monai.data.image_reader.NumpyReader object at
0x7cdeb5608670>, <monai.data.image_reader.PILReader object at
0x7cdeb56086d0>].
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/ayman/SwinUNetR/AortaSeg24-main/training/train.py", line 104,
in
main(args)
File "/home/ayman/SwinUNetR/AortaSeg24-main/training/train.py", line 48,
in main
train_ds = CacheDataset(data=train_files, transform=train_transforms,
cache_num=len(train_files), cache_rate=1.0, num_workers=num_cpus)
File
"/home/ayman/venv/lib/python3.10/site-packages/monai/data/dataset.py", line
823, in init
self.set_data(data)
File
"/home/ayman/venv/lib/python3.10/site-packages/monai/data/dataset.py", line
850, in set_data
self._cache = self._fill_cache(indices)
File
"/home/ayman/venv/lib/python3.10/site-packages/monai/data/dataset.py", line
879, in _fill_cache
return list(tqdm(p.imap(self._load_cache_item, indices),
total=len(indices), desc="Loading dataset"))
File "/home/ayman/venv/lib/python3.10/site-packages/tqdm/std.py", line
1181, in iter
for obj in iterable:
File "/usr/lib/python3.10/multiprocessing/pool.py", line 873, in next
raise value
File "/usr/lib/python3.10/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File
"/home/ayman/venv/lib/python3.10/site-packages/monai/data/dataset.py", line
892, in _load_cache_item
item = self.transform(item, end=first_random, threading=True)
File
"/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/compose.py",
line 335, in call
result = execute_compose(
File
"/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/compose.py",
line 111, in execute_compose
data = apply_transform(
File
"/home/ayman/venv/lib/python3.10/site-packages/monai/transforms/transform.py",
line 171, in apply_transform
`
Steps to Reproduce
Prepare the dataset with .mha files.
Configure the train.py script with the provided parameters.
Run the train.py script.
—
Reply to this email directly, view it on GitHub
https://github.com/ImranNust/AortaSeg24/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIIGJN5QQAZHSD5UWXA36JDZFTFABAVCNFSM6AAAAABIXFTOPCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZTCOJWGA3TKMQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Wrong, this is not a memory issue. You are missing dependencies for monai. In the special case the missing dependency is itk. You can add the dependency via:
pip install monai[itk]==1.3.0

But probably want to add all dependencies
pip install monai[all]==1.3.0

We had issues with install all because of failing fire dependency

Thanks for the suggestions! Yes,
pip install monai[all]

will install all the dependencies.


Version 2.24.0 not available in Nuget Gallery

I see you updated to 2.24.0 21 days ago but it's not available.

@CodeWorldIndustries Thanks for pointing out. The package has been published here https://www.nuget.org/packages/Square.Connect/2.24.0. Thanks again.


Rename to nodes.containments.children

implements https://github.com/LionWeb-io/specification/issues/206

Fixed through https://github.com/LionWeb-io/lionweb-java/commit/6f755694d17a349fce9b6c5e47ab0f26946cc7d7


Don't compress.  Reduce!

Rather than trying to do compression for streaming data -- which seems to be nigh impossible with the built-in Java stuff -- we can get a lot of bang for our buck by reducing the number of property values we send to the browser.  A lot of them don't show up at all in the UI, and are purely informational and otherwise duplicate information you could get by simply looking at the configuration you have for the commands/thread pools themselves.
In the future, we could potentially use something like Protocol Buffers/Thrift which have a rigid schema and don't require key name, letting us get down to literally just the data being expressed.  I don't think we'll get much better than that, including with compression, if we want to stream real-time.

This basically takes care of #4 but it's not actually using compression: we aggressively removed values we weren't using and shortened the name of some of the one we do depend on.


[Issue 617] Upgrade to scikit-learn version 0.22

The interfaces for OneHotEncoder and Imputer have changed in the latest scikit-learn

Thank you @voganrc for the PR, just a small note that I will take a look at this this week. Thank you!

@lucagiovagnoli @ancasarb Bumping this

taking a look @voganrc

Hi all, any updates on when this will be merged? Scikit is broken for me when installed from master but works when I installed from the above PR. Also, mleap is awesome! Thank you!

@ancasarb I took another look at this PR and responded to your review feedback.
I think it should be ready to go now.


[Bug]: rules_webpack doesn't parse pnpm lockfile v6 (which writes version as string)

What happened?

pnpm install webpack webpack-cli
bazel build examples

Expect: Success
See:
$ bazel build models:all
INFO: Repository npm instantiated at:
  /Users/p/Code/ergatta/arm2/WORKSPACE:494:19: in <toplevel>
  /private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/aspect_rules_js/npm/npm_import.bzl:434:24: in npm_translate_lock
Repository rule npm_translate_lock defined at:
  /private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/aspect_rules_js/npm/private/npm_translate_lock.bzl:101:37: in <toplevel>
ERROR: An error occurred during the fetch of repository 'npm':
   Traceback (most recent call last):
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/aspect_rules_js/npm/private/npm_translate_lock.bzl", line 57, column 41, in _impl
		state = npm_translate_lock_state.new(rctx)
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/aspect_rules_js/npm/private/npm_translate_lock_state.bzl", line 538, column 10, in _new
		_init(priv, rctx, label_store)
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/aspect_rules_js/npm/private/npm_translate_lock_state.bzl", line 57, column 23, in _init
		_load_lockfile(priv, rctx, label_store)
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/aspect_rules_js/npm/private/npm_translate_lock_state.bzl", line 449, column 70, in _load_lockfile
		importers, packages, patched_dependencies = utils.parse_pnpm_lock(rctx.read(label_store.path("pnpm_lock")))
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/aspect_rules_js/npm/private/utils.bzl", line 76, column 29, in _parse_pnpm_lock
		_assert_lockfile_version(parsed["lockfileVersion"])
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/aspect_rules_js/npm/private/utils.bzl", line 95, column 13, in _assert_lockfile_version
		fail("version should be passed as a float")
Error in fail: version should be passed as a float
ERROR: /Users/p/Code/ergatta/arm2/WORKSPACE:494:19: fetching npm_translate_lock rule //external:npm: Traceback (most recent call last):
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/aspect_rules_js/npm/private/npm_translate_lock.bzl", line 57, column 41, in _impl
		state = npm_translate_lock_state.new(rctx)
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/aspect_rules_js/npm/private/npm_translate_lock_state.bzl", line 538, column 10, in _new
		_init(priv, rctx, label_store)
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/aspect_rules_js/npm/private/npm_translate_lock_state.bzl", line 57, column 23, in _init
		_load_lockfile(priv, rctx, label_store)
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/aspect_rules_js/npm/private/npm_translate_lock_state.bzl", line 449, column 70, in _load_lockfile
		importers, packages, patched_dependencies = utils.parse_pnpm_lock(rctx.read(label_store.path("pnpm_lock")))
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/aspect_rules_js/npm/private/utils.bzl", line 76, column 29, in _parse_pnpm_lock
		_assert_lockfile_version(parsed["lockfileVersion"])
	File "/private/var/tmp/_bazel_p/5462d161dadab65df3f9fb5a8ecf08b9/external/aspect_rules_js/npm/private/utils.bzl", line 95, column 13, in _assert_lockfile_version
		fail("version should be passed as a float")
Error in fail: version should be passed as a float
ERROR: Error computing the main repository mapping: no such package '@npm//': version should be passed as a float
Loading:

Looking in the examples, I see
lockfileVersion: 5.4

Looking in my lock, I see:
$ head -n 1 pnpm-lock.yaml
lockfileVersion: '6.0'

Version
Development host: macOS Ventura 13.3.1
Output of bazel --version:
Aspect CLI version: 5.2.0
Build label: 6.1.1
Build target: bazel-out/darwin_arm64-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Wed Mar 15 15:45:56 2023<PHONE_NUMBER>)
Build timestamp:<PHONE_NUMBER>
Build timestamp as int:<PHONE_NUMBER>

Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file: 0.12.0
How to reproduce
Install latest version of pnpm and try basic steps in example.

Any other information?
No response

This is a rules_js issue fixed in v1.24: https://github.com/aspect-build/rules_js/commit/002397780d51735f1a98b362fca7018df31e85ac

Whoops, I should have checked rules_js—it was right there in the traceback. Thanks for flagging!


Added UAA and CredHub ops files and more

A bundle of changes made:

Updated cluster/concourse.yml: made azs configurable;
Updated versions.yml: added uua, credhub info
Added cluster/concourse-params.yml: used as example and simplified the command line
Updated cluster/operations/basic-auth.yml: added corresponding variables
Added cluster/operations/static-db.yml: added ops file for static db ip
Updated cluster/operations/tls.yml: added corresponding variables
Added cluster/operations/uaa.yml: added ops file for UAA
Added cluster/operations/credhub.yml: added ops file for CredHub
Updated cluster/README.md: updated with more info while using more ops files

Complete outside here with a question - I know when setting up a bosh director with credhub, the order of operations files is important (uaa.yml first, then credhub.yml) - here it's reversed.  Is credhub first, then uaa important, or is the order unimportant here?

Different stories and this really depends on how we define the roles of these components.
You may have a look at the ops files and I believe you can find that there might be dependent by one to another.

There are a lot of unrelated changes in here which is gonna make this take a long time to review. (I was scared away by how big it was and am only just now able to get to it...)
Could you please make this PR a bit smaller, perhaps by submitting smaller, more focused ones with only the necessary changes? There's a lot of unnecessary renaming/reorganizing of all the YAML which is gonna make git blame annoying to sift through, plus a bunch of other changes snuck in (e.g. https://github.com/concourse/concourse-bosh-deployment/pull/54/commits/b4d187eed5754ef9dd2bcad89199ba3ebb1e6512#diff-23170bda1e960c5279ebaeca97776fa3R18).
Thanks for taking the time to submit this, though. I just don't have time to review it as-is. Sorry for the delay!

@brightzheng100 I hope you submit these as smaller PRs. They would definitely be useful operators!

@vito @z4ce looks too ambitious maybe:)
As all these came from a real DOJO engagement and I thought each of them was reasonable for making a change.
Will try to break them down to smaller PRs as what you requested, if time allows, so that the team is easier to review and approve.

@vito @z4c, now please refer to #68 for a smaller PR for UAA + CredHub integration


Github Action : Documentation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

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 85.514%

Totals

Change from base Build<PHONE_NUMBER>9:
0.0%

Covered Lines:
183

Relevant Lines:
214

💛  - Coveralls


Connections API Create Invitation Bug

Currently the create_invitation function specifies optional parameters public and multi_use. Both inputs are specified as String values.
This is not in line with the Swagger and while it works if I pass in a string public="true" they should be boolean values.
@kaysiz if you are going through the API anyway be good to pick this up along the way.

I also see this optional body in the Swagger docs which we are not tracking at all:
{
  "mediation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "metadata": {},
  "recipient_keys": [
    "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"
  ],
  "routing_keys": [
    "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"
  ],
  "service_endpoint": "http://<IP_ADDRESS>:8020"
}

Also can we review accept_connection(). This is a helper function combining receive_invitation and accept_invitation. However in doing so we lose ability to pass arguments into these functions.
Suggest we add arguments from both the this function. Not sure. Perhaps we shouldn't even have this helper method as it might confuse people?

receive_invitation() also seems to use string boolean values instead of actual bool for auto_accept

There also seems to be some funny behavior going on with the create_invitation auto_accept argument. This actually is a bool. But for some reason it only works if False is passed in. If I set this to True I get the following error msg:
TypeError: Invalid variable type: value should be str, int or float, got True of type <class 'bool'>
Seems weird. Also if I set it to "true" it works. Thinking possible its because we define this as auto_accept: bool: None?
Not sure. Otherwise could even be an ACA-Py bug. Worth exploring

Similarly happens with the receive_invitation auto accept argument hmm.

Ah I think I might know whats going on. See controllers/base.py the admin_request function. I think we need to make sure the params is a JSON serialized object.
Not actually confident what this line does but don't think it does that.
        params = {k: v for (k, v) in (params or {}).items() if v is not None}

Currently the create_invitation function specifies optional parameters public and multi_use. Both inputs are specified as String values.
This is not in line with the Swagger and while it works if I pass in a string public="true" they should be boolean values.
@kaysiz if you are going through the API anyway be good to pick this up along the way.

@wip-abramson I've just had a look at that. I'm not sure whether there is possibly some confusion. Whilst I agree that in the python function it makes more sense to pass True or False the python way, in swagger/JSON it is actually "true" and "false" as booleans see also. But maybe that's what you mean or I'm misunderstanding?

Yeah so I think we pass bools to the python function. Then need to serialize the params to turn True into true.
I think we are missing that serialization step in our code.

ah alright, thanks for clarifying

Also can we review accept_connection(). This is a helper function combining receive_invitation and accept_invitation. However in doing so we lose ability to pass arguments into these functions.
Suggest we add arguments from both the this function. Not sure. Perhaps we shouldn't even have this helper method as it might confuse people?

That is an interesting question. WYT we should do? Happy to implement either, but am pretty impartial with a tendency towards taking away the fct altogether might be good because less is more sometimes. However, i do see how that is convenient to have🤷♂

I also have a tendency to remove altogether. Lets do that.
Think it's not this libraries job to simplify.


error command not found cli for --on-done

for debug info
npm version : 2.15.9
webtorrent-hybrid  version : 1.6.0 (0.97.2)
error : --on-done: command not found
I also installed the webtorrent cli
command used : webtorrent-hybrid magnet:?xt=urn:btih:6a9759bffd5c0af65319979fb7832189f4f3c35d&dn=sintel.mp4&tr=wss%3A%2F%2Ftracker.btorrent.xyz&tr=wss%3A%2F%2Ftracker.fastcast.nz&tr=wss%3A%2F%2Ftracker.openwebtorrent.com&tr=wss%3A%2F%2Ftracker.webtorrent.io&ws=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2Fsintel-1024-surround.mp4 --on-done node.js
here i used simple node js script saying console.log("This is node js");
Here once the torrent has been downloaded, I'm trying to run my own script. Here torrent file is downloaded but the script is excecuted. I don't n know what is the issue here. cli shows --on-done: command not found.
I also installed the webtorrent cli. Same problem exists.

The command you pass to --on-done has to be a valid command that you could run on the command line.
So, try this instead: --on-done="node node.js"


DLL clash when using com.unity.collections because it uses an internal Newtonsoft JSON package

Expected behavior
No clashing DLLs
Actual behavior
Error caused by 2 same DLLs. One coming from this package and the other from Unity's internal Newtonsoft JSON package.
Steps to reproduce

New project
Import jillejr.newtonsoft.json-for-unity via UPM
Import Collections package via the package manager (tick show preview packages)
Clash!

Details
Unity has an internal Netwonsoft JSON package, which is used by com.unity.test-framework.performance. Meanwhile, Unity Collections depend on that performance testing framework package, and hence will use the internal Newtonsoft JSON. It is impossible to decouple those, therefore it is not possible to use advanced DOTS collections with this repo in the same project.
As Unity has it's own Newtonsoft JSON package, they for sure will use this in the future. Is it possible to change/rename the dlls in this repo so they don't clash with the Unity's own Newtonsoft JSON package?

Hi @nothke! Thanks for reporting this!
It's a bit complicated but generally, no, I won't release a separate package with a renamed assembly. It would be more to maintain for me and in these cases if you could use their internal package instead by adding a reference to "com.unity.nuget.newtonsoft-json": "2.0.1-preview.1"
I think this is better to be reported to Unity though. Unity is fighting some DLL hell, which NuGet has already fought and has so far done pretty good for itself, while Unity is facing all these issues again.
What would be nice here is if their Unity package was not tightly locked to using any Newtonsoft.Json package, but instead let you as a user configure which one to use. Like if you could override com.unity.test-framework.performance to use my package instead.

For their own internal package that you linked, from v2.0.1-preview.1 they actually just copied my v12.0.101 release, so it should work quite alright as-is. It's missing some bug fixes I've added since, but nothing too major. Don't know if they've worked on it past that.
I had a discussion with a Unity developer before about this whole case. The discussion was about:

should they take over the repo, or
should they fork it and have their own copy while I have mine.

Only relying on my package could sadly not be decided, because I'm still just a third-party to them, and it would be a huge security hole for them to blindly just forward my package's binaries to all Unity users.
At the time of that discussion, which for now is around 1-1.5 years ago I think, we decided that they will try to fork my repo, analyse it, and republish it, and then maintain their own copy totally separate from mine. When their package has surpassed mine in features and can support the same range of Unity versions that I do now, then I will mark this repo as "archived" and simply refer to their package instead.
Even though they're a big company, they do not have enough resources to put into such a package, so they've not maintained it as well as one might expect from them. Today that "archive" deadline is moving further and further away because I sometimes get back to this project and add more stuff to it to enhance the compatability with everyones builds.
I'll see if that same contact I had before within Unity still works there and is still keen to resolving these Unity vs Newtonsoft.Json issues. This Unity Collections indirect dependency is quite annoying to work around, maybe we can come up with some good solution.
So to summarize, currently my package vs theirs are still competing, which is unoptimal for you Unity consumers. I do not see this change in the near future, but will make another effort in trying to resolve this.

Hi @jilleJr, thanks for a quick response.
The reason why I was really relying on your solution is because of the additional Unity Converters package which provides Vector3 and other Unity struct serializers which I need.
Well, yesterday I needed a solution quickly, so instead of messing with packages, I created my own NativeList implementation, so I could avoid using Unity Collections (> Performance Testing Package > Unity's Newtonsoft JSON) package completely.
After reading your message today that their package "should work allright as-is", I tried installing your conversion extension with Unity's Newtonsoft JSON, and.. Well, it works! I didn't really need to implement my own NativeList if I just tried replacing your Newtonsoft JSON package with Unity's. 🤦♂ I just assumed there would be some dependencies between your 2 packages.
So, yes, your Unity Converters are compatible with Unity's Newtonsoft JSON package.

Unity's package problems are everywhere, and getting a new version of any gives me sweaty palms. Unity Collections' dependency on Performance package was not there from the start, it was introduced in a recent version. After posting this, I saw this post on the forums. I have a feeling they are trying to fix problems in a wrong way. I am not familiar with NuGet and its problems you mention, but maybe they should be 😄

I specifically ensured to not reference my own package in the converters package just because I know there are so many Newtonsoft.Json variants here and there around the internet. Glad that it actually found a use case :)
I'll edit the converters readme to be more clear that it hasn't a hard dependency.
Don't know if I can add anything to that forum thread, but I have not seen that thread before so thanks for shredding light on it. Reading christophera_unity's lengthy answer is awesome to head that they still discuss the topic.

Hi, we had the same issue.
As @nothke thought, we expected dlls to not be duplicated.
However, I was confused at first because a duplicate error occurred.
So, we solved this by removing Newtonsoft.Json.dll.
Our env is below
Unity : 2020.3.21f1
Os : macOS Bigsur 11.6
Newtonsoft Version : 2.0.0

Our error code is like

How we solved this issue
First of all, we tried to remove Newtonsoft.Json.dll in
"Your Project<EMAIL_ADDRESS>But it didn't work.
Second, we tried to remove another Newtonsoft.Json.dll
We removed Newtonsoft.Json.dll and Newtonsoft.Json.dll.Meta in Assets/JsonDotNet/Assemblies/Standalone/Newtonsoft.Json.dll.
Then the error disappeared and it worked fine!
I wish you refer to that.


Testing

Hi guys,
I found a way to get the test work. You can take a look at changes in this branch. If you agree, Peter can merge.
Here is what I did:
I saved the token to an RDS file (in two locations * I will explain the reason later) and get_token reads the RDS. So, we are not really using environment anymore.

the reason why I save the RDS in two different locations is as follows. The first one at the project root directory for to be used when we call a function in user_cred.R. However, when running the test, the token cannot be read from RDS. To work this around, I also saved the file in test/testthat/ folder. It seems to work.

However, there are still THINGS to be done before TRAVIS. please take a look at this link:
https://discuss.ropensci.org/t/test-api-wrapping-r-packages-with-oauth-tokens/157
Thanks,

I see. thank you for the detailed update @hntek . We can hold off on Travis until we are closer to completion then.

@joesdesk @amygoldlist  any inputs? I want to hear your thoughts on how to handle the tokens 😃

I think this works, but I'll wait for Joe to comment, he's been trying to figure out the environ thing


add deprecation warning for backwards compatib

Coverage increased (+0.05%) to 94.214% when pulling ad0c2d97e057da40f46bd74da145c88524e2d168 on depr into 035ea2a4c06a5051589858d3a0a7c5260ffa3e1e on master.


Buy/long Sell/Short buttons greyed out and do not work

Hi. I recently updated to the newest version. The Buy/Sell buttons are now greyed out and cannot be clicked. Any idea why? Thank you for the software, I really enjoy it. Hoping to use the new features.

Node was outdated. Thanks.

Tried updating node, still no go.

So I got it to work flawlessly in non-chrome browsers. It does not work in Chrome. I am on OS X.

Cleared cache and now it works on chrome. Thanks!


default sort on page load ignores direction

A descent sorting on page load seems impossible because of the check for a different column.
The sort function with direction 'desc' still sorts the column in ascending order:
$('table.sortable').tablesort().data('tablesort').sort($("th.default-sort"), 'desc');
Changing the following line fixed that issue for me:
https://github.com/kylefox/jquery-tablesort/blob/master/jquery.tablesort.js#L42
from if (this.index !== th.index()) {
to if (this.index !== null && this.index !== th.index()) {

Thanks for pointing this out — a CodePen demonstrating the issue would be helpful, and a pull request would be even better because I likely will never have time to patch this myself 😁

Thanks for your answer.
I'm trying to make both in the coming days ...

I made a demo on CodePen: http://codepen.io/anon/pen/ozyVXY
In the JS on line 139 is the init for descent sorting, but the table is "wrong" sorted.
The fix is in line 42/43 on JS.
If my assumption is correct I will make a pull request.

I noticed this too and your fix did fix it! Thanks.

Experienced the same problem, the proposed code-change fixed it 👍

The proposed solution creates a new bug: tablesort.index returns null always.

The proposed solution creates a new bug: tablesort.index returns null always.

Can you be a bit more specific?

With the proposed solution, this code stop working: tablesort.index is allways null:
$('#userList').on('tablesort:complete', function(event, tablesort) {
orderByColumn = tablesort.index;
direction = tablesort.direction;
});

Sorry, but I can't reproduce your problem.
If I add your code to my CodePen demo, the tablesort.index is switching between 0 and 1 after sorting the columns.
Can you provide a CodePen demo for this issue?

I added my code to your CodePend demo, please check it here:
https://codepen.io/anon/pen/VOyWjZ

You are right! I think this should solve the problem:
https://codepen.io/anon/pen/wbpqER
I split the [if/else if] in two if-blocks at line 48 and reset the if-statement on line 43 to it's original version.

Ok, it's working. But now, when you click on a column, the default sort is DESC, before was ASC.
Thank you for your help.

Just rename the "asc" to "desc" on line 44.

Your solution is working now. Thank you.

You'r welcome.


No Stop.msg file, cannot use Hover.py

Hello,
I am trying to run the demo for just Hovering a crazyflie and the Hover.py script is importing a message from the crazyflie_driver msg directory called Stop.msg that doesn't exist currently in this repo. I have the Stop.srv file but I don't want to assume what lines were in the msg file. Please help!
Respectfully,
Falon Ortega

If you simply want to hover, I recommend using the new high-level interface instead, see https://github.com/whoenig/crazyflie_ros/blob/master/crazyflie_demo/scripts/test_high_level.py#L11-L21 for an example. I'll take a look at Hover.py, but this currently demonstrates on how to use low-level commands.

I also have this issue. There is a Stop.srv file, but not a Stop.msg file.


net: scripts: Make test runner script fully generic

Move actual test cases from the run-sample-tests.sh script to
the network samples directory that are supported by Docker based
testing. Each network sample directory that supports Docker testing,
will contain docker-test.sh script that is sourced by the runner
script. The docker-test.sh script will run the test as needed and
then return return value to the runner script.
Signed-off-by: Jukka Rissanen<EMAIL_ADDRESS>

Updated to latest master. Verified that the coap-server test works as expected.

Fixed the tests so that they all pass now. Also added TLS tests to http-client and dumb-http-server-mt samples.


OCM-6515 | fix: Removed output flag from rosa token command

Changed

Removed output flag from rosa token command since we only have string output in this case

https://issues.redhat.com/browse/OCM-6515

/ok-to-test


feat(app): #38 update posts from instagram API

This might break at any time if instagram changes the query_id. But the alternative is setting up an OAuth app which I couldn't get to work and might not be worth the hassle (at the moment).
Closes: #38

Still needs updates to the tests


Revise spacing For "Buildings for Boinking" Article

I can't seem to double the spacing between the bolded sections and the intro, but that would make this guide a lot cleaner

Closed with 44ed84b186e35dead8a7fec24028a7ea37df9e16


Add some docstrings

Is your feature request related to a problem? Please describe.
Add some docstrings to places they're missing to improve the documentation for this repo.
Describe the solution you'd like
Docstrings in numpy style

Hi,
I went through the several python files and I noticed the docstrings were already present in most of them. Where exactly are do you want me to add docstrings? I don't suppose class methods / internal functions would require them.

Hey @abhisht51! Thanks for asking, quick fixes you could check out are

landing_page.py
login_and_signup.py
http_error_page.py
it looks like the docstrings on those were leftovers from copying and pasting from profile.py and I forgot to indicate they aren't Profile objects lol

Otherwise you can take a look at jsontools.py, there are some methods in there that haven't been included in their respective classes Methods section of the docstring (i.e. JSONScraper.to_dict)
Basically anywhere you think a docstring would improve the documentation or add something that isn't already there (examples, better wording, better formatting, etc)

can you please, what is the docstring, in short, I am new in with it, it looks intresting

can you please, what is the docstring, in short, I am new in with it, it looks intresting

They are used for documenting Python code! Check out this link for more information :smile:


Add rel="noopener" to external links

This is probably going to be in webmention comments
See https://jakearchibald.com/2016/performance-benefits-of-rel-noopener

We need to wait for HTML Purifier to add this


Simplify output

Features:

Output is now only the top file records affected by last commit, the ones you might want to test.
Script checks for top level directories affected by last commit and looks if top file records have matching states. Changing nginx/something.sls will put any record with a salt state starting with nginx in script output, even if it is "nginx.otherthing".
Plain text output option
Replace asterisks with any string for proper hostname generation

+1


Set text on Cancel and Okay button

Hello,
Thanks for your work on the date picker, it's really cool.
By default the text for the cancel button is "ANNULER" and the accept button is "OK". Presumably via the initial parameters, would you let a developer set their own text for these buttons when initialising the date-picker?
I can create a PR if need be.
Thank you

It's done !
I've added two new parameters :
cancelText : Text for the cancel button. By default it's Cancel
okText : Text for the okay button. By default it's Ok

Stunning, thank you.

Hi there! T00rk this is an awesome datepicker, thanks so much.
Is there any chance you can add this commit to the /peterzen/bootstrap-material-datepicker repository?

Hi.
I don't undersand why. Peterzen's datepicker is a fork from mine.

Peterzen's datepicker is used on our project and is 15 commits behind yours. There must be substantial differences because when I tried to use your repository it didn't work as intended. I could make the pull request if that is easier.

Yes if you want

I've changed the bower repository.
When Peterzen initialy did it he's set he's repository as the main repository.
Now you can use it with bower with bower install bootstrap-material-datetimepicker

So you won't add the commit to peterzens repository? My project doesn't work with your repository, there must be differences as I said before. Ok, I will create a pull request on his repository. Thank you.

Have you tried to change the name of the files.
As shown on the readme file, the js abd css files have been renamed to
bootstrap-material-datetimepicker.(js|css).
If that does not resolve your issue, let me know what the error is.
Le Lun 25 Mai 2015 20:35, Nayan Bhana<EMAIL_ADDRESS>a écrit :

So you won't add the commit to peterzens repository? My project doesn't
work with your repository, there must be differences as I said before. Ok,
I will create a pull request on his repository. Thank you.
—
Reply to this email directly or view it on GitHub
https://github.com/T00rk/bootstrap-material-datetimepicker/issues/9#issuecomment-105286328
.

It was my mistake T00rk. Thank you for your help. I was pulling master instead of gh-pages branch.

Bonjour T00rk/bootstrap-material-datetimepicker,
AMERICA Romain vous a laissé un message sur IQ Elite
Cliquez ici a.iqelite.com/j/nLFvxO/q0p/?hg=hnoVL8pHxY pour lire votre message
L'équipe d'IQ Elite

Ce message est destiné à<EMAIL_ADDRESS>Si vous ne souhaitez pas recevoir d'autres messages de la part de IQ Elite, veuillez cliquer sur ce lien<EMAIL_ADDRESS>IQ Elite est un service de IQ Elite S.L., dont le siège se trouve à : C/ Gran De Gràcia 15, 1a 1a, 08012 Barcelone, Espagne.

Bonjour T00rk/bootstrap-material-datetimepicker,
AMERICA Romain vous a laissé un message sur IQ Elite
Cliquez ici a.iqelite.com/j/nLFvxO/q0p/?hg=68kWBovefX pour lire votre message
L'équipe d'IQ Elite

Ce message est destiné à<EMAIL_ADDRESS>Si vous ne souhaitez pas recevoir d'autres messages de la part de IQ Elite, veuillez cliquer sur ce lien<EMAIL_ADDRESS>IQ Elite est un service de IQ Elite S.L., dont le siège se trouve à : C/ Gran De Gràcia 15, 1a 1a, 08012 Barcelone, Espagne.


Firefox - Inputfields in details with value won't initialize right

If you put an input field into an detail with a value before ui() is called, the borderline will be calculated wrong.
Codepen Example: https://codepen.io/AlTrAugsburg/pen/PoQqLry
Steps to replicate:

Put an input with label into a detail (not the summary).
Give it a value to start, which is not empty.
Then call the function ui().
Open the detail and the border of the input was not calculated right and the borderline will go through the label text.

My fix:
Open all details, call ui() and then close them again. But it's not the most pretty fix.
Maybe this fix or a better one could be included into the ui() function.
Thanks in advance.

Hi @AlTrAugsburg, thanks for the catch. But I can't reproduce this issue. Someone else here?

Is that the issue ?

I could get it both in Chrome and Firefox, but I cannot really tell how. I had to focus the input and refresh the codepen page. But sometimes it would work...

Jep, that's the one.
When I created this issue, I only tested it in Firefox on Android (Version 100.1.1) and Linux (Version 99.0), because it's the browser I daily drive. I tested it now in Chrome on Android  (Version 101) and Chromium on Linux (also Version 101) and there it seems to be rendered right. Maybe it's a Firefox only issue.

I edited my comment. I couldn’t reproduce it in Chrome. So yes maybe it’s a Firefox issue.
By the way as I’m not using Beercss JavaScript functions (in this case I’m using padding-inline: 5rem and directly set background-color in my framework) so I cannot tell for my app...

@laurentpayot and @AlTrAugsburg, thanks for help. I will investigate how we can fix it on Firefox. We decided to clip the input field instead to change the background-color of label, because the background of container can be an image, a gradient color or any mix of color, rather than a solid color. We will try to fix this on Firefox soon.

@laurentpayot thanks for your help, but I'll stick to ui(). I don't have that much experience in web development, so I'm happy, when my application does, what is it meant to do 😅 But I appreciate it.
@leonardorafael that sounds good. Thank you for your help and time 👍🏼 Happy to help, when there's something I can contribute

@AlTrAugsburg I do things in a special way because of my framework (Elm).  ui() is just great :slightly_smiling_face:
@leonardorafael

We decided to clip the input field instead to change the background-color of label, because the background of container can be an image, a gradient color or any mix of color, rather than a solid color.

I was wondering. That totaly makes sense now :+1:

Because of the new implementation of the ui()-function in version 2.1.0, I tested the example again, and it seems, that the issue doesn't occur anymore, probably it renders it automatically, when it gets visible (my best guess).
Made a simple codepen to show it with the version 2.1.0: https://codepen.io/AlTrAugsburg/pen/YzaXEJM
Would be great, if someone could double check, because then this issue could be closed.

I double checked here, seems ok. I will close this issue right now. Thanks @AlTrAugsburg


Ontop Protégé blank nodes syntax

Hello,
What is the syntax for blank nodes in Protégé Maping Manager ? I would like to use the BIO ontology to declare the date of birth of someone and tried the following:
:person{id} a :Person ; foaf:name {nom_usuel_forme_orthographique_1}^^xsd:string; bio:birth :_birth.
_:birth a bio:Birth; bio:date {annee_naissance}.

But I have an error: No match found.

I also tried the following without success:
:person{id} a :Person ; foaf:name {nom_usuel_forme_orthographique_1}^^xsd:string; bio:birth [a bio:Birth; bio:date {annee_naissance}].

Thanks,

Hi,
Blank node works similarly as for IRIs, the difference is that you need to use _: as prefix. You can construct a BNODE with syntax :{column1}{column2}.
Note that you have to supply a label to BNode, unlabelled BNode [] is not supported by Ontop.
You also need to be careful about the semantics of BNode. It works very similarly to IRI, so you do want your columns to identify the BNode with a RDF Graph.  The difference with IRI is that such identifiers are internal to the Graph. When you query the graph, the identifiers are not preserved.
In your example, as far as I understood, id is enough for identify a birth. So you can write a mapping like:
:person{id} a :Person ; bio:birth _:birth_{id} .
_:birth_{id} a bio:Birth; bio:date {annee_naissance}.


[Feature Request] URP shader with specular - Env Reflections and SRP batcher support?

it would be great if exists URP shader with specular - Env Reflections and SRP batcher support ...
thanks.

I just add Shader Graph Example
https://github.com/sugi-cho/Animation-Texture-Baker/tree/master/Assets/ShaderGraph


Usefulness Analysis for the Tool's Usage: Scalability

Considering only taxonomies that do not have inconsistencies and divergences, and
for each execution mode (ac and an),

plot 3 line graphs (i.e., 6 line graphs are going to be created a1, a2, b1, b2, c1, c2) with error bars (standard error?):
a) using 10% of known classes as input
b) using 50% of known classes as input
c) using 90% of known classes as input
Axis:

Y axis: execution time in ms
X axis: number of classes the taxonomy has (use all taxonomies that comply with 1)

Plotted Series:

Series A: average execution time for all rules (total_time of Times csv file)

Calculate:

The line/curve function for evidencing that the software is polynomial

Reevaluate this issue after analyzing the taxonomies.csv file to be created (Tester's https://github.com/unibz-core/OntCatOWL-Tester/issues/20).

@mozzherina, you can perform this analysis in February.